elbv2

package
v1.54.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2024 License: Apache-2.0 Imports: 10 Imported by: 826

Documentation

Overview

Package elbv2 provides the client and types for making API requests to Elastic Load Balancing.

A load balancer distributes incoming traffic across targets, such as your EC2 instances. This enables you to increase the availability of your application. The load balancer also monitors the health of its registered targets and ensures that it routes traffic only to healthy targets. You configure your load balancer to accept incoming traffic by specifying one or more listeners, which are configured with a protocol and port number for connections from clients to the load balancer. You configure a target group with a protocol and port number for connections from the load balancer to the targets, and with health check settings to be used when checking the health status of the targets.

Elastic Load Balancing supports the following types of load balancers: Application Load Balancers, Network Load Balancers, Gateway Load Balancers, and Classic Load Balancers. This reference covers the following load balancer types:

  • Application Load Balancer - Operates at the application layer (layer 7) and supports HTTP and HTTPS.

  • Network Load Balancer - Operates at the transport layer (layer 4) and supports TCP, TLS, and UDP.

  • Gateway Load Balancer - Operates at the network layer (layer 3).

For more information, see the Elastic Load Balancing User Guide (https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/).

All Elastic Load Balancing operations are idempotent, which means that they complete at most one time. If you repeat an operation, it succeeds.

See https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01 for more information on this service.

See elbv2 package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/elbv2/

Using the Client

To contact Elastic Load Balancing with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the Elastic Load Balancing client ELBV2 for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/elbv2/#New

Index

Examples

Constants

View Source
const (
	// ActionTypeEnumForward is a ActionTypeEnum enum value
	ActionTypeEnumForward = "forward"

	// ActionTypeEnumAuthenticateOidc is a ActionTypeEnum enum value
	ActionTypeEnumAuthenticateOidc = "authenticate-oidc"

	// ActionTypeEnumAuthenticateCognito is a ActionTypeEnum enum value
	ActionTypeEnumAuthenticateCognito = "authenticate-cognito"

	// ActionTypeEnumRedirect is a ActionTypeEnum enum value
	ActionTypeEnumRedirect = "redirect"

	// ActionTypeEnumFixedResponse is a ActionTypeEnum enum value
	ActionTypeEnumFixedResponse = "fixed-response"
)
View Source
const (
	// AnomalyResultEnumAnomalous is a AnomalyResultEnum enum value
	AnomalyResultEnumAnomalous = "anomalous"

	// AnomalyResultEnumNormal is a AnomalyResultEnum enum value
	AnomalyResultEnumNormal = "normal"
)
View Source
const (
	// AuthenticateCognitoActionConditionalBehaviorEnumDeny is a AuthenticateCognitoActionConditionalBehaviorEnum enum value
	AuthenticateCognitoActionConditionalBehaviorEnumDeny = "deny"

	// AuthenticateCognitoActionConditionalBehaviorEnumAllow is a AuthenticateCognitoActionConditionalBehaviorEnum enum value
	AuthenticateCognitoActionConditionalBehaviorEnumAllow = "allow"

	// AuthenticateCognitoActionConditionalBehaviorEnumAuthenticate is a AuthenticateCognitoActionConditionalBehaviorEnum enum value
	AuthenticateCognitoActionConditionalBehaviorEnumAuthenticate = "authenticate"
)
View Source
const (
	// AuthenticateOidcActionConditionalBehaviorEnumDeny is a AuthenticateOidcActionConditionalBehaviorEnum enum value
	AuthenticateOidcActionConditionalBehaviorEnumDeny = "deny"

	// AuthenticateOidcActionConditionalBehaviorEnumAllow is a AuthenticateOidcActionConditionalBehaviorEnum enum value
	AuthenticateOidcActionConditionalBehaviorEnumAllow = "allow"

	// AuthenticateOidcActionConditionalBehaviorEnumAuthenticate is a AuthenticateOidcActionConditionalBehaviorEnum enum value
	AuthenticateOidcActionConditionalBehaviorEnumAuthenticate = "authenticate"
)
View Source
const (
	// DescribeTargetHealthInputIncludeEnumAnomalyDetection is a DescribeTargetHealthInputIncludeEnum enum value
	DescribeTargetHealthInputIncludeEnumAnomalyDetection = "AnomalyDetection"

	// DescribeTargetHealthInputIncludeEnumAll is a DescribeTargetHealthInputIncludeEnum enum value
	DescribeTargetHealthInputIncludeEnumAll = "All"
)
View Source
const (
	// EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumOn is a EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum enum value
	EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumOn = "on"

	// EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumOff is a EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum enum value
	EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumOff = "off"
)
View Source
const (
	// IpAddressTypeIpv4 is a IpAddressType enum value
	IpAddressTypeIpv4 = "ipv4"

	// IpAddressTypeDualstack is a IpAddressType enum value
	IpAddressTypeDualstack = "dualstack"

	// IpAddressTypeDualstackWithoutPublicIpv4 is a IpAddressType enum value
	IpAddressTypeDualstackWithoutPublicIpv4 = "dualstack-without-public-ipv4"
)
View Source
const (
	// LoadBalancerSchemeEnumInternetFacing is a LoadBalancerSchemeEnum enum value
	LoadBalancerSchemeEnumInternetFacing = "internet-facing"

	// LoadBalancerSchemeEnumInternal is a LoadBalancerSchemeEnum enum value
	LoadBalancerSchemeEnumInternal = "internal"
)
View Source
const (
	// LoadBalancerStateEnumActive is a LoadBalancerStateEnum enum value
	LoadBalancerStateEnumActive = "active"

	// LoadBalancerStateEnumProvisioning is a LoadBalancerStateEnum enum value
	LoadBalancerStateEnumProvisioning = "provisioning"

	// LoadBalancerStateEnumActiveImpaired is a LoadBalancerStateEnum enum value
	LoadBalancerStateEnumActiveImpaired = "active_impaired"

	// LoadBalancerStateEnumFailed is a LoadBalancerStateEnum enum value
	LoadBalancerStateEnumFailed = "failed"
)
View Source
const (
	// LoadBalancerTypeEnumApplication is a LoadBalancerTypeEnum enum value
	LoadBalancerTypeEnumApplication = "application"

	// LoadBalancerTypeEnumNetwork is a LoadBalancerTypeEnum enum value
	LoadBalancerTypeEnumNetwork = "network"

	// LoadBalancerTypeEnumGateway is a LoadBalancerTypeEnum enum value
	LoadBalancerTypeEnumGateway = "gateway"
)
View Source
const (
	// MitigationInEffectEnumYes is a MitigationInEffectEnum enum value
	MitigationInEffectEnumYes = "yes"

	// MitigationInEffectEnumNo is a MitigationInEffectEnum enum value
	MitigationInEffectEnumNo = "no"
)
View Source
const (
	// ProtocolEnumHttp is a ProtocolEnum enum value
	ProtocolEnumHttp = "HTTP"

	// ProtocolEnumHttps is a ProtocolEnum enum value
	ProtocolEnumHttps = "HTTPS"

	// ProtocolEnumTcp is a ProtocolEnum enum value
	ProtocolEnumTcp = "TCP"

	// ProtocolEnumTls is a ProtocolEnum enum value
	ProtocolEnumTls = "TLS"

	// ProtocolEnumUdp is a ProtocolEnum enum value
	ProtocolEnumUdp = "UDP"

	// ProtocolEnumTcpUdp is a ProtocolEnum enum value
	ProtocolEnumTcpUdp = "TCP_UDP"

	// ProtocolEnumGeneve is a ProtocolEnum enum value
	ProtocolEnumGeneve = "GENEVE"
)
View Source
const (
	// RedirectActionStatusCodeEnumHttp301 is a RedirectActionStatusCodeEnum enum value
	RedirectActionStatusCodeEnumHttp301 = "HTTP_301"

	// RedirectActionStatusCodeEnumHttp302 is a RedirectActionStatusCodeEnum enum value
	RedirectActionStatusCodeEnumHttp302 = "HTTP_302"
)
View Source
const (
	// TargetGroupIpAddressTypeEnumIpv4 is a TargetGroupIpAddressTypeEnum enum value
	TargetGroupIpAddressTypeEnumIpv4 = "ipv4"

	// TargetGroupIpAddressTypeEnumIpv6 is a TargetGroupIpAddressTypeEnum enum value
	TargetGroupIpAddressTypeEnumIpv6 = "ipv6"
)
View Source
const (
	// TargetHealthReasonEnumElbRegistrationInProgress is a TargetHealthReasonEnum enum value
	TargetHealthReasonEnumElbRegistrationInProgress = "Elb.RegistrationInProgress"

	// TargetHealthReasonEnumElbInitialHealthChecking is a TargetHealthReasonEnum enum value
	TargetHealthReasonEnumElbInitialHealthChecking = "Elb.InitialHealthChecking"

	// TargetHealthReasonEnumTargetResponseCodeMismatch is a TargetHealthReasonEnum enum value
	TargetHealthReasonEnumTargetResponseCodeMismatch = "Target.ResponseCodeMismatch"

	// TargetHealthReasonEnumTargetTimeout is a TargetHealthReasonEnum enum value
	TargetHealthReasonEnumTargetTimeout = "Target.Timeout"

	// TargetHealthReasonEnumTargetFailedHealthChecks is a TargetHealthReasonEnum enum value
	TargetHealthReasonEnumTargetFailedHealthChecks = "Target.FailedHealthChecks"

	// TargetHealthReasonEnumTargetNotRegistered is a TargetHealthReasonEnum enum value
	TargetHealthReasonEnumTargetNotRegistered = "Target.NotRegistered"

	// TargetHealthReasonEnumTargetNotInUse is a TargetHealthReasonEnum enum value
	TargetHealthReasonEnumTargetNotInUse = "Target.NotInUse"

	// TargetHealthReasonEnumTargetDeregistrationInProgress is a TargetHealthReasonEnum enum value
	TargetHealthReasonEnumTargetDeregistrationInProgress = "Target.DeregistrationInProgress"

	// TargetHealthReasonEnumTargetInvalidState is a TargetHealthReasonEnum enum value
	TargetHealthReasonEnumTargetInvalidState = "Target.InvalidState"

	// TargetHealthReasonEnumTargetIpUnusable is a TargetHealthReasonEnum enum value
	TargetHealthReasonEnumTargetIpUnusable = "Target.IpUnusable"

	// TargetHealthReasonEnumTargetHealthCheckDisabled is a TargetHealthReasonEnum enum value
	TargetHealthReasonEnumTargetHealthCheckDisabled = "Target.HealthCheckDisabled"

	// TargetHealthReasonEnumElbInternalError is a TargetHealthReasonEnum enum value
	TargetHealthReasonEnumElbInternalError = "Elb.InternalError"
)
View Source
const (
	// TargetHealthStateEnumInitial is a TargetHealthStateEnum enum value
	TargetHealthStateEnumInitial = "initial"

	// TargetHealthStateEnumHealthy is a TargetHealthStateEnum enum value
	TargetHealthStateEnumHealthy = "healthy"

	// TargetHealthStateEnumUnhealthy is a TargetHealthStateEnum enum value
	TargetHealthStateEnumUnhealthy = "unhealthy"

	// TargetHealthStateEnumUnhealthyDraining is a TargetHealthStateEnum enum value
	TargetHealthStateEnumUnhealthyDraining = "unhealthy.draining"

	// TargetHealthStateEnumUnused is a TargetHealthStateEnum enum value
	TargetHealthStateEnumUnused = "unused"

	// TargetHealthStateEnumDraining is a TargetHealthStateEnum enum value
	TargetHealthStateEnumDraining = "draining"

	// TargetHealthStateEnumUnavailable is a TargetHealthStateEnum enum value
	TargetHealthStateEnumUnavailable = "unavailable"
)
View Source
const (
	// TargetTypeEnumInstance is a TargetTypeEnum enum value
	TargetTypeEnumInstance = "instance"

	// TargetTypeEnumIp is a TargetTypeEnum enum value
	TargetTypeEnumIp = "ip"

	// TargetTypeEnumLambda is a TargetTypeEnum enum value
	TargetTypeEnumLambda = "lambda"

	// TargetTypeEnumAlb is a TargetTypeEnum enum value
	TargetTypeEnumAlb = "alb"
)
View Source
const (
	// TrustStoreStatusActive is a TrustStoreStatus enum value
	TrustStoreStatusActive = "ACTIVE"

	// TrustStoreStatusCreating is a TrustStoreStatus enum value
	TrustStoreStatusCreating = "CREATING"
)
View Source
const (

	// ErrCodeALPNPolicyNotSupportedException for service response error code
	// "ALPNPolicyNotFound".
	//
	// The specified ALPN policy is not supported.
	ErrCodeALPNPolicyNotSupportedException = "ALPNPolicyNotFound"

	// ErrCodeAllocationIdNotFoundException for service response error code
	// "AllocationIdNotFound".
	//
	// The specified allocation ID does not exist.
	ErrCodeAllocationIdNotFoundException = "AllocationIdNotFound"

	// ErrCodeAvailabilityZoneNotSupportedException for service response error code
	// "AvailabilityZoneNotSupported".
	//
	// The specified Availability Zone is not supported.
	ErrCodeAvailabilityZoneNotSupportedException = "AvailabilityZoneNotSupported"

	// ErrCodeCaCertificatesBundleNotFoundException for service response error code
	// "CaCertificatesBundleNotFound".
	//
	// The specified ca certificate bundle does not exist.
	ErrCodeCaCertificatesBundleNotFoundException = "CaCertificatesBundleNotFound"

	// ErrCodeCertificateNotFoundException for service response error code
	// "CertificateNotFound".
	//
	// The specified certificate does not exist.
	ErrCodeCertificateNotFoundException = "CertificateNotFound"

	// ErrCodeDuplicateListenerException for service response error code
	// "DuplicateListener".
	//
	// A listener with the specified port already exists.
	ErrCodeDuplicateListenerException = "DuplicateListener"

	// ErrCodeDuplicateLoadBalancerNameException for service response error code
	// "DuplicateLoadBalancerName".
	//
	// A load balancer with the specified name already exists.
	ErrCodeDuplicateLoadBalancerNameException = "DuplicateLoadBalancerName"

	// ErrCodeDuplicateTagKeysException for service response error code
	// "DuplicateTagKeys".
	//
	// A tag key was specified more than once.
	ErrCodeDuplicateTagKeysException = "DuplicateTagKeys"

	// ErrCodeDuplicateTargetGroupNameException for service response error code
	// "DuplicateTargetGroupName".
	//
	// A target group with the specified name already exists.
	ErrCodeDuplicateTargetGroupNameException = "DuplicateTargetGroupName"

	// ErrCodeDuplicateTrustStoreNameException for service response error code
	// "DuplicateTrustStoreName".
	//
	// A trust store with the specified name already exists.
	ErrCodeDuplicateTrustStoreNameException = "DuplicateTrustStoreName"

	// ErrCodeHealthUnavailableException for service response error code
	// "HealthUnavailable".
	//
	// The health of the specified targets could not be retrieved due to an internal
	// error.
	ErrCodeHealthUnavailableException = "HealthUnavailable"

	// ErrCodeIncompatibleProtocolsException for service response error code
	// "IncompatibleProtocols".
	//
	// The specified configuration is not valid with this protocol.
	ErrCodeIncompatibleProtocolsException = "IncompatibleProtocols"

	// ErrCodeInvalidCaCertificatesBundleException for service response error code
	// "InvalidCaCertificatesBundle".
	//
	// The specified ca certificate bundle is in an invalid format, or corrupt.
	ErrCodeInvalidCaCertificatesBundleException = "InvalidCaCertificatesBundle"

	// ErrCodeInvalidConfigurationRequestException for service response error code
	// "InvalidConfigurationRequest".
	//
	// The requested configuration is not valid.
	ErrCodeInvalidConfigurationRequestException = "InvalidConfigurationRequest"

	// ErrCodeInvalidLoadBalancerActionException for service response error code
	// "InvalidLoadBalancerAction".
	//
	// The requested action is not valid.
	ErrCodeInvalidLoadBalancerActionException = "InvalidLoadBalancerAction"

	// ErrCodeInvalidRevocationContentException for service response error code
	// "InvalidRevocationContent".
	//
	// The provided revocation file is an invalid format, or uses an incorrect algorithm.
	ErrCodeInvalidRevocationContentException = "InvalidRevocationContent"

	// ErrCodeInvalidSchemeException for service response error code
	// "InvalidScheme".
	//
	// The requested scheme is not valid.
	ErrCodeInvalidSchemeException = "InvalidScheme"

	// ErrCodeInvalidSecurityGroupException for service response error code
	// "InvalidSecurityGroup".
	//
	// The specified security group does not exist.
	ErrCodeInvalidSecurityGroupException = "InvalidSecurityGroup"

	// ErrCodeInvalidSubnetException for service response error code
	// "InvalidSubnet".
	//
	// The specified subnet is out of available addresses.
	ErrCodeInvalidSubnetException = "InvalidSubnet"

	// ErrCodeInvalidTargetException for service response error code
	// "InvalidTarget".
	//
	// The specified target does not exist, is not in the same VPC as the target
	// group, or has an unsupported instance type.
	ErrCodeInvalidTargetException = "InvalidTarget"

	// ErrCodeListenerNotFoundException for service response error code
	// "ListenerNotFound".
	//
	// The specified listener does not exist.
	ErrCodeListenerNotFoundException = "ListenerNotFound"

	// ErrCodeLoadBalancerNotFoundException for service response error code
	// "LoadBalancerNotFound".
	//
	// The specified load balancer does not exist.
	ErrCodeLoadBalancerNotFoundException = "LoadBalancerNotFound"

	// ErrCodeOperationNotPermittedException for service response error code
	// "OperationNotPermitted".
	//
	// This operation is not allowed.
	ErrCodeOperationNotPermittedException = "OperationNotPermitted"

	// ErrCodePriorityInUseException for service response error code
	// "PriorityInUse".
	//
	// The specified priority is in use.
	ErrCodePriorityInUseException = "PriorityInUse"

	// ErrCodeResourceInUseException for service response error code
	// "ResourceInUse".
	//
	// A specified resource is in use.
	ErrCodeResourceInUseException = "ResourceInUse"

	// ErrCodeRevocationContentNotFoundException for service response error code
	// "RevocationContentNotFound".
	//
	// The specified revocation file does not exist.
	ErrCodeRevocationContentNotFoundException = "RevocationContentNotFound"

	// ErrCodeRevocationIdNotFoundException for service response error code
	// "RevocationIdNotFound".
	//
	// The specified revocation ID does not exist.
	ErrCodeRevocationIdNotFoundException = "RevocationIdNotFound"

	// ErrCodeRuleNotFoundException for service response error code
	// "RuleNotFound".
	//
	// The specified rule does not exist.
	ErrCodeRuleNotFoundException = "RuleNotFound"

	// ErrCodeSSLPolicyNotFoundException for service response error code
	// "SSLPolicyNotFound".
	//
	// The specified SSL policy does not exist.
	ErrCodeSSLPolicyNotFoundException = "SSLPolicyNotFound"

	// ErrCodeSubnetNotFoundException for service response error code
	// "SubnetNotFound".
	//
	// The specified subnet does not exist.
	ErrCodeSubnetNotFoundException = "SubnetNotFound"

	// ErrCodeTargetGroupAssociationLimitException for service response error code
	// "TargetGroupAssociationLimit".
	//
	// You've reached the limit on the number of load balancers per target group.
	ErrCodeTargetGroupAssociationLimitException = "TargetGroupAssociationLimit"

	// ErrCodeTargetGroupNotFoundException for service response error code
	// "TargetGroupNotFound".
	//
	// The specified target group does not exist.
	ErrCodeTargetGroupNotFoundException = "TargetGroupNotFound"

	// ErrCodeTooManyActionsException for service response error code
	// "TooManyActions".
	//
	// You've reached the limit on the number of actions per rule.
	ErrCodeTooManyActionsException = "TooManyActions"

	// ErrCodeTooManyCertificatesException for service response error code
	// "TooManyCertificates".
	//
	// You've reached the limit on the number of certificates per load balancer.
	ErrCodeTooManyCertificatesException = "TooManyCertificates"

	// ErrCodeTooManyListenersException for service response error code
	// "TooManyListeners".
	//
	// You've reached the limit on the number of listeners per load balancer.
	ErrCodeTooManyListenersException = "TooManyListeners"

	// ErrCodeTooManyLoadBalancersException for service response error code
	// "TooManyLoadBalancers".
	//
	// You've reached the limit on the number of load balancers for your Amazon
	// Web Services account.
	ErrCodeTooManyLoadBalancersException = "TooManyLoadBalancers"

	// ErrCodeTooManyRegistrationsForTargetIdException for service response error code
	// "TooManyRegistrationsForTargetId".
	//
	// You've reached the limit on the number of times a target can be registered
	// with a load balancer.
	ErrCodeTooManyRegistrationsForTargetIdException = "TooManyRegistrationsForTargetId"

	// ErrCodeTooManyRulesException for service response error code
	// "TooManyRules".
	//
	// You've reached the limit on the number of rules per load balancer.
	ErrCodeTooManyRulesException = "TooManyRules"

	// ErrCodeTooManyTagsException for service response error code
	// "TooManyTags".
	//
	// You've reached the limit on the number of tags for this resource.
	ErrCodeTooManyTagsException = "TooManyTags"

	// ErrCodeTooManyTargetGroupsException for service response error code
	// "TooManyTargetGroups".
	//
	// You've reached the limit on the number of target groups for your Amazon Web
	// Services account.
	ErrCodeTooManyTargetGroupsException = "TooManyTargetGroups"

	// ErrCodeTooManyTargetsException for service response error code
	// "TooManyTargets".
	//
	// You've reached the limit on the number of targets.
	ErrCodeTooManyTargetsException = "TooManyTargets"

	// ErrCodeTooManyTrustStoreRevocationEntriesException for service response error code
	// "TooManyTrustStoreRevocationEntries".
	//
	// The specified trust store has too many revocation entries.
	ErrCodeTooManyTrustStoreRevocationEntriesException = "TooManyTrustStoreRevocationEntries"

	// ErrCodeTooManyTrustStoresException for service response error code
	// "TooManyTrustStores".
	//
	// You've reached the limit on the number of trust stores for your Amazon Web
	// Services account.
	ErrCodeTooManyTrustStoresException = "TooManyTrustStores"

	// ErrCodeTooManyUniqueTargetGroupsPerLoadBalancerException for service response error code
	// "TooManyUniqueTargetGroupsPerLoadBalancer".
	//
	// You've reached the limit on the number of unique target groups per load balancer
	// across all listeners. If a target group is used by multiple actions for a
	// load balancer, it is counted as only one use.
	ErrCodeTooManyUniqueTargetGroupsPerLoadBalancerException = "TooManyUniqueTargetGroupsPerLoadBalancer"

	// ErrCodeTrustStoreInUseException for service response error code
	// "TrustStoreInUse".
	//
	// The specified trust store is currently in use.
	ErrCodeTrustStoreInUseException = "TrustStoreInUse"

	// ErrCodeTrustStoreNotFoundException for service response error code
	// "TrustStoreNotFound".
	//
	// The specified trust store does not exist.
	ErrCodeTrustStoreNotFoundException = "TrustStoreNotFound"

	// ErrCodeTrustStoreNotReadyException for service response error code
	// "TrustStoreNotReady".
	//
	// The specified trust store is not active.
	ErrCodeTrustStoreNotReadyException = "TrustStoreNotReady"

	// ErrCodeUnsupportedProtocolException for service response error code
	// "UnsupportedProtocol".
	//
	// The specified protocol is not supported.
	ErrCodeUnsupportedProtocolException = "UnsupportedProtocol"
)
View Source
const (
	ServiceName = "elasticloadbalancing"      // Name of service.
	EndpointsID = ServiceName                 // ID to lookup a service endpoint with.
	ServiceID   = "Elastic Load Balancing v2" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// RevocationTypeCrl is a RevocationType enum value
	RevocationTypeCrl = "CRL"
)

Variables

This section is empty.

Functions

func ActionTypeEnum_Values added in v1.34.3

func ActionTypeEnum_Values() []string

ActionTypeEnum_Values returns all elements of the ActionTypeEnum enum

func AnomalyResultEnum_Values added in v1.48.4

func AnomalyResultEnum_Values() []string

AnomalyResultEnum_Values returns all elements of the AnomalyResultEnum enum

func AuthenticateCognitoActionConditionalBehaviorEnum_Values added in v1.34.3

func AuthenticateCognitoActionConditionalBehaviorEnum_Values() []string

AuthenticateCognitoActionConditionalBehaviorEnum_Values returns all elements of the AuthenticateCognitoActionConditionalBehaviorEnum enum

func AuthenticateOidcActionConditionalBehaviorEnum_Values added in v1.34.3

func AuthenticateOidcActionConditionalBehaviorEnum_Values() []string

AuthenticateOidcActionConditionalBehaviorEnum_Values returns all elements of the AuthenticateOidcActionConditionalBehaviorEnum enum

func DescribeTargetHealthInputIncludeEnum_Values added in v1.48.4

func DescribeTargetHealthInputIncludeEnum_Values() []string

DescribeTargetHealthInputIncludeEnum_Values returns all elements of the DescribeTargetHealthInputIncludeEnum enum

func EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum_Values added in v1.44.321

func EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum_Values() []string

EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum_Values returns all elements of the EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum enum

func IpAddressType_Values added in v1.34.3

func IpAddressType_Values() []string

IpAddressType_Values returns all elements of the IpAddressType enum

func LoadBalancerSchemeEnum_Values added in v1.34.3

func LoadBalancerSchemeEnum_Values() []string

LoadBalancerSchemeEnum_Values returns all elements of the LoadBalancerSchemeEnum enum

func LoadBalancerStateEnum_Values added in v1.34.3

func LoadBalancerStateEnum_Values() []string

LoadBalancerStateEnum_Values returns all elements of the LoadBalancerStateEnum enum

func LoadBalancerTypeEnum_Values added in v1.34.3

func LoadBalancerTypeEnum_Values() []string

LoadBalancerTypeEnum_Values returns all elements of the LoadBalancerTypeEnum enum

func MitigationInEffectEnum_Values added in v1.48.4

func MitigationInEffectEnum_Values() []string

MitigationInEffectEnum_Values returns all elements of the MitigationInEffectEnum enum

func ProtocolEnum_Values added in v1.34.3

func ProtocolEnum_Values() []string

ProtocolEnum_Values returns all elements of the ProtocolEnum enum

func RedirectActionStatusCodeEnum_Values added in v1.34.3

func RedirectActionStatusCodeEnum_Values() []string

RedirectActionStatusCodeEnum_Values returns all elements of the RedirectActionStatusCodeEnum enum

func RevocationType_Values added in v1.48.4

func RevocationType_Values() []string

RevocationType_Values returns all elements of the RevocationType enum

func TargetGroupIpAddressTypeEnum_Values added in v1.41.0

func TargetGroupIpAddressTypeEnum_Values() []string

TargetGroupIpAddressTypeEnum_Values returns all elements of the TargetGroupIpAddressTypeEnum enum

func TargetHealthReasonEnum_Values added in v1.34.3

func TargetHealthReasonEnum_Values() []string

TargetHealthReasonEnum_Values returns all elements of the TargetHealthReasonEnum enum

func TargetHealthStateEnum_Values added in v1.34.3

func TargetHealthStateEnum_Values() []string

TargetHealthStateEnum_Values returns all elements of the TargetHealthStateEnum enum

func TargetTypeEnum_Values added in v1.34.3

func TargetTypeEnum_Values() []string

TargetTypeEnum_Values returns all elements of the TargetTypeEnum enum

func TrustStoreStatus_Values added in v1.48.4

func TrustStoreStatus_Values() []string

TrustStoreStatus_Values returns all elements of the TrustStoreStatus enum

Types

type Action

type Action struct {

	// [HTTPS listeners] Information for using Amazon Cognito to authenticate users.
	// Specify only when Type is authenticate-cognito.
	AuthenticateCognitoConfig *AuthenticateCognitoActionConfig `type:"structure"`

	// [HTTPS listeners] Information about an identity provider that is compliant
	// with OpenID Connect (OIDC). Specify only when Type is authenticate-oidc.
	AuthenticateOidcConfig *AuthenticateOidcActionConfig `type:"structure"`

	// [Application Load Balancer] Information for creating an action that returns
	// a custom HTTP response. Specify only when Type is fixed-response.
	FixedResponseConfig *FixedResponseActionConfig `type:"structure"`

	// Information for creating an action that distributes requests among one or
	// more target groups. For Network Load Balancers, you can specify a single
	// target group. Specify only when Type is forward. If you specify both ForwardConfig
	// and TargetGroupArn, you can specify only one target group using ForwardConfig
	// and it must be the same target group specified in TargetGroupArn.
	ForwardConfig *ForwardActionConfig `type:"structure"`

	// The order for the action. This value is required for rules with multiple
	// actions. The action with the lowest value for order is performed first.
	Order *int64 `min:"1" type:"integer"`

	// [Application Load Balancer] Information for creating a redirect action. Specify
	// only when Type is redirect.
	RedirectConfig *RedirectActionConfig `type:"structure"`

	// The Amazon Resource Name (ARN) of the target group. Specify only when Type
	// is forward and you want to route to a single target group. To route to one
	// or more target groups, use ForwardConfig instead.
	TargetGroupArn *string `type:"string"`

	// The type of action.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"ActionTypeEnum"`
	// contains filtered or unexported fields
}

Information about an action.

Each rule must include exactly one of the following types of actions: forward, fixed-response, or redirect, and it must be the last action to be performed.

func (Action) GoString

func (s Action) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Action) SetAuthenticateCognitoConfig added in v1.13.58

func (s *Action) SetAuthenticateCognitoConfig(v *AuthenticateCognitoActionConfig) *Action

SetAuthenticateCognitoConfig sets the AuthenticateCognitoConfig field's value.

func (*Action) SetAuthenticateOidcConfig added in v1.13.58

func (s *Action) SetAuthenticateOidcConfig(v *AuthenticateOidcActionConfig) *Action

SetAuthenticateOidcConfig sets the AuthenticateOidcConfig field's value.

func (*Action) SetFixedResponseConfig added in v1.14.33

func (s *Action) SetFixedResponseConfig(v *FixedResponseActionConfig) *Action

SetFixedResponseConfig sets the FixedResponseConfig field's value.

func (*Action) SetForwardConfig added in v1.25.38

func (s *Action) SetForwardConfig(v *ForwardActionConfig) *Action

SetForwardConfig sets the ForwardConfig field's value.

func (*Action) SetOrder added in v1.13.58

func (s *Action) SetOrder(v int64) *Action

SetOrder sets the Order field's value.

func (*Action) SetRedirectConfig added in v1.14.33

func (s *Action) SetRedirectConfig(v *RedirectActionConfig) *Action

SetRedirectConfig sets the RedirectConfig field's value.

func (*Action) SetTargetGroupArn added in v1.5.0

func (s *Action) SetTargetGroupArn(v string) *Action

SetTargetGroupArn sets the TargetGroupArn field's value.

func (*Action) SetType added in v1.5.0

func (s *Action) SetType(v string) *Action

SetType sets the Type field's value.

func (Action) String

func (s Action) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Action) Validate

func (s *Action) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddListenerCertificatesInput added in v1.12.8

type AddListenerCertificatesInput struct {

	// The certificate to add. You can specify one certificate per call. Set CertificateArn
	// to the certificate ARN but do not set IsDefault.
	//
	// Certificates is a required field
	Certificates []*Certificate `type:"list" required:"true"`

	// The Amazon Resource Name (ARN) of the listener.
	//
	// ListenerArn is a required field
	ListenerArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AddListenerCertificatesInput) GoString added in v1.12.8

func (s AddListenerCertificatesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddListenerCertificatesInput) SetCertificates added in v1.12.8

SetCertificates sets the Certificates field's value.

func (*AddListenerCertificatesInput) SetListenerArn added in v1.12.8

SetListenerArn sets the ListenerArn field's value.

func (AddListenerCertificatesInput) String added in v1.12.8

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddListenerCertificatesInput) Validate added in v1.12.8

func (s *AddListenerCertificatesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddListenerCertificatesOutput added in v1.12.8

type AddListenerCertificatesOutput struct {

	// Information about the certificates in the certificate list.
	Certificates []*Certificate `type:"list"`
	// contains filtered or unexported fields
}

func (AddListenerCertificatesOutput) GoString added in v1.12.8

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddListenerCertificatesOutput) SetCertificates added in v1.12.8

SetCertificates sets the Certificates field's value.

func (AddListenerCertificatesOutput) String added in v1.12.8

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AddTagsInput

type AddTagsInput struct {

	// The Amazon Resource Name (ARN) of the resource.
	//
	// ResourceArns is a required field
	ResourceArns []*string `type:"list" required:"true"`

	// The tags.
	//
	// Tags is a required field
	Tags []*Tag `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (AddTagsInput) GoString

func (s AddTagsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddTagsInput) SetResourceArns added in v1.5.0

func (s *AddTagsInput) SetResourceArns(v []*string) *AddTagsInput

SetResourceArns sets the ResourceArns field's value.

func (*AddTagsInput) SetTags added in v1.5.0

func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput

SetTags sets the Tags field's value.

func (AddTagsInput) String

func (s AddTagsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddTagsInput) Validate

func (s *AddTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddTagsOutput

type AddTagsOutput struct {
	// contains filtered or unexported fields
}

func (AddTagsOutput) GoString

func (s AddTagsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (AddTagsOutput) String

func (s AddTagsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AddTrustStoreRevocationsInput added in v1.48.4

type AddTrustStoreRevocationsInput struct {

	// The revocation file to add.
	RevocationContents []*RevocationContent `type:"list"`

	// The Amazon Resource Name (ARN) of the trust store.
	//
	// TrustStoreArn is a required field
	TrustStoreArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AddTrustStoreRevocationsInput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddTrustStoreRevocationsInput) SetRevocationContents added in v1.48.4

SetRevocationContents sets the RevocationContents field's value.

func (*AddTrustStoreRevocationsInput) SetTrustStoreArn added in v1.48.4

SetTrustStoreArn sets the TrustStoreArn field's value.

func (AddTrustStoreRevocationsInput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddTrustStoreRevocationsInput) Validate added in v1.48.4

func (s *AddTrustStoreRevocationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AddTrustStoreRevocationsOutput added in v1.48.4

type AddTrustStoreRevocationsOutput struct {

	// Information about the revocation file added to the trust store.
	TrustStoreRevocations []*TrustStoreRevocation `type:"list"`
	// contains filtered or unexported fields
}

func (AddTrustStoreRevocationsOutput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AddTrustStoreRevocationsOutput) SetTrustStoreRevocations added in v1.48.4

SetTrustStoreRevocations sets the TrustStoreRevocations field's value.

func (AddTrustStoreRevocationsOutput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AnomalyDetection added in v1.48.4

type AnomalyDetection struct {

	// Indicates whether anomaly mitigation is in progress.
	MitigationInEffect *string `type:"string" enum:"MitigationInEffectEnum"`

	// The latest anomaly detection result.
	Result *string `type:"string" enum:"AnomalyResultEnum"`
	// contains filtered or unexported fields
}

Information about anomaly detection and mitigation.

func (AnomalyDetection) GoString added in v1.48.4

func (s AnomalyDetection) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AnomalyDetection) SetMitigationInEffect added in v1.48.4

func (s *AnomalyDetection) SetMitigationInEffect(v string) *AnomalyDetection

SetMitigationInEffect sets the MitigationInEffect field's value.

func (*AnomalyDetection) SetResult added in v1.48.4

func (s *AnomalyDetection) SetResult(v string) *AnomalyDetection

SetResult sets the Result field's value.

func (AnomalyDetection) String added in v1.48.4

func (s AnomalyDetection) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type AuthenticateCognitoActionConfig added in v1.13.58

type AuthenticateCognitoActionConfig struct {

	// The query parameters (up to 10) to include in the redirect request to the
	// authorization endpoint.
	AuthenticationRequestExtraParams map[string]*string `type:"map"`

	// The behavior if the user is not authenticated. The following are possible
	// values:
	//
	//    * deny - Return an HTTP 401 Unauthorized error.
	//
	//    * allow - Allow the request to be forwarded to the target.
	//
	//    * authenticate - Redirect the request to the IdP authorization endpoint.
	//    This is the default value.
	OnUnauthenticatedRequest *string `type:"string" enum:"AuthenticateCognitoActionConditionalBehaviorEnum"`

	// The set of user claims to be requested from the IdP. The default is openid.
	//
	// To verify which scope values your IdP supports and how to separate multiple
	// values, see the documentation for your IdP.
	Scope *string `type:"string"`

	// The name of the cookie used to maintain session information. The default
	// is AWSELBAuthSessionCookie.
	SessionCookieName *string `type:"string"`

	// The maximum duration of the authentication session, in seconds. The default
	// is 604800 seconds (7 days).
	SessionTimeout *int64 `type:"long"`

	// The Amazon Resource Name (ARN) of the Amazon Cognito user pool.
	//
	// UserPoolArn is a required field
	UserPoolArn *string `type:"string" required:"true"`

	// The ID of the Amazon Cognito user pool client.
	//
	// UserPoolClientId is a required field
	UserPoolClientId *string `type:"string" required:"true"`

	// The domain prefix or fully-qualified domain name of the Amazon Cognito user
	// pool.
	//
	// UserPoolDomain is a required field
	UserPoolDomain *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request parameters to use when integrating with Amazon Cognito to authenticate users.

func (AuthenticateCognitoActionConfig) GoString added in v1.13.58

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AuthenticateCognitoActionConfig) SetAuthenticationRequestExtraParams added in v1.13.58

func (s *AuthenticateCognitoActionConfig) SetAuthenticationRequestExtraParams(v map[string]*string) *AuthenticateCognitoActionConfig

SetAuthenticationRequestExtraParams sets the AuthenticationRequestExtraParams field's value.

func (*AuthenticateCognitoActionConfig) SetOnUnauthenticatedRequest added in v1.13.58

func (s *AuthenticateCognitoActionConfig) SetOnUnauthenticatedRequest(v string) *AuthenticateCognitoActionConfig

SetOnUnauthenticatedRequest sets the OnUnauthenticatedRequest field's value.

func (*AuthenticateCognitoActionConfig) SetScope added in v1.13.58

SetScope sets the Scope field's value.

func (*AuthenticateCognitoActionConfig) SetSessionCookieName added in v1.13.58

SetSessionCookieName sets the SessionCookieName field's value.

func (*AuthenticateCognitoActionConfig) SetSessionTimeout added in v1.13.58

SetSessionTimeout sets the SessionTimeout field's value.

func (*AuthenticateCognitoActionConfig) SetUserPoolArn added in v1.13.58

SetUserPoolArn sets the UserPoolArn field's value.

func (*AuthenticateCognitoActionConfig) SetUserPoolClientId added in v1.13.58

SetUserPoolClientId sets the UserPoolClientId field's value.

func (*AuthenticateCognitoActionConfig) SetUserPoolDomain added in v1.13.58

SetUserPoolDomain sets the UserPoolDomain field's value.

func (AuthenticateCognitoActionConfig) String added in v1.13.58

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AuthenticateCognitoActionConfig) Validate added in v1.13.58

func (s *AuthenticateCognitoActionConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AuthenticateOidcActionConfig added in v1.13.58

type AuthenticateOidcActionConfig struct {

	// The query parameters (up to 10) to include in the redirect request to the
	// authorization endpoint.
	AuthenticationRequestExtraParams map[string]*string `type:"map"`

	// The authorization endpoint of the IdP. This must be a full URL, including
	// the HTTPS protocol, the domain, and the path.
	//
	// AuthorizationEndpoint is a required field
	AuthorizationEndpoint *string `type:"string" required:"true"`

	// The OAuth 2.0 client identifier.
	//
	// ClientId is a required field
	ClientId *string `type:"string" required:"true"`

	// The OAuth 2.0 client secret. This parameter is required if you are creating
	// a rule. If you are modifying a rule, you can omit this parameter if you set
	// UseExistingClientSecret to true.
	ClientSecret *string `type:"string"`

	// The OIDC issuer identifier of the IdP. This must be a full URL, including
	// the HTTPS protocol, the domain, and the path.
	//
	// Issuer is a required field
	Issuer *string `type:"string" required:"true"`

	// The behavior if the user is not authenticated. The following are possible
	// values:
	//
	//    * deny - Return an HTTP 401 Unauthorized error.
	//
	//    * allow - Allow the request to be forwarded to the target.
	//
	//    * authenticate - Redirect the request to the IdP authorization endpoint.
	//    This is the default value.
	OnUnauthenticatedRequest *string `type:"string" enum:"AuthenticateOidcActionConditionalBehaviorEnum"`

	// The set of user claims to be requested from the IdP. The default is openid.
	//
	// To verify which scope values your IdP supports and how to separate multiple
	// values, see the documentation for your IdP.
	Scope *string `type:"string"`

	// The name of the cookie used to maintain session information. The default
	// is AWSELBAuthSessionCookie.
	SessionCookieName *string `type:"string"`

	// The maximum duration of the authentication session, in seconds. The default
	// is 604800 seconds (7 days).
	SessionTimeout *int64 `type:"long"`

	// The token endpoint of the IdP. This must be a full URL, including the HTTPS
	// protocol, the domain, and the path.
	//
	// TokenEndpoint is a required field
	TokenEndpoint *string `type:"string" required:"true"`

	// Indicates whether to use the existing client secret when modifying a rule.
	// If you are creating a rule, you can omit this parameter or set it to false.
	UseExistingClientSecret *bool `type:"boolean"`

	// The user info endpoint of the IdP. This must be a full URL, including the
	// HTTPS protocol, the domain, and the path.
	//
	// UserInfoEndpoint is a required field
	UserInfoEndpoint *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Request parameters when using an identity provider (IdP) that is compliant with OpenID Connect (OIDC) to authenticate users.

func (AuthenticateOidcActionConfig) GoString added in v1.13.58

func (s AuthenticateOidcActionConfig) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AuthenticateOidcActionConfig) SetAuthenticationRequestExtraParams added in v1.13.58

func (s *AuthenticateOidcActionConfig) SetAuthenticationRequestExtraParams(v map[string]*string) *AuthenticateOidcActionConfig

SetAuthenticationRequestExtraParams sets the AuthenticationRequestExtraParams field's value.

func (*AuthenticateOidcActionConfig) SetAuthorizationEndpoint added in v1.13.58

func (s *AuthenticateOidcActionConfig) SetAuthorizationEndpoint(v string) *AuthenticateOidcActionConfig

SetAuthorizationEndpoint sets the AuthorizationEndpoint field's value.

func (*AuthenticateOidcActionConfig) SetClientId added in v1.13.58

SetClientId sets the ClientId field's value.

func (*AuthenticateOidcActionConfig) SetClientSecret added in v1.13.58

SetClientSecret sets the ClientSecret field's value.

func (*AuthenticateOidcActionConfig) SetIssuer added in v1.13.58

SetIssuer sets the Issuer field's value.

func (*AuthenticateOidcActionConfig) SetOnUnauthenticatedRequest added in v1.13.58

func (s *AuthenticateOidcActionConfig) SetOnUnauthenticatedRequest(v string) *AuthenticateOidcActionConfig

SetOnUnauthenticatedRequest sets the OnUnauthenticatedRequest field's value.

func (*AuthenticateOidcActionConfig) SetScope added in v1.13.58

SetScope sets the Scope field's value.

func (*AuthenticateOidcActionConfig) SetSessionCookieName added in v1.13.58

SetSessionCookieName sets the SessionCookieName field's value.

func (*AuthenticateOidcActionConfig) SetSessionTimeout added in v1.13.58

SetSessionTimeout sets the SessionTimeout field's value.

func (*AuthenticateOidcActionConfig) SetTokenEndpoint added in v1.13.58

SetTokenEndpoint sets the TokenEndpoint field's value.

func (*AuthenticateOidcActionConfig) SetUseExistingClientSecret added in v1.15.87

func (s *AuthenticateOidcActionConfig) SetUseExistingClientSecret(v bool) *AuthenticateOidcActionConfig

SetUseExistingClientSecret sets the UseExistingClientSecret field's value.

func (*AuthenticateOidcActionConfig) SetUserInfoEndpoint added in v1.13.58

SetUserInfoEndpoint sets the UserInfoEndpoint field's value.

func (AuthenticateOidcActionConfig) String added in v1.13.58

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AuthenticateOidcActionConfig) Validate added in v1.13.58

func (s *AuthenticateOidcActionConfig) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AvailabilityZone

type AvailabilityZone struct {

	// [Network Load Balancers] If you need static IP addresses for your load balancer,
	// you can specify one Elastic IP address per Availability Zone when you create
	// an internal-facing load balancer. For internal load balancers, you can specify
	// a private IP address from the IPv4 range of the subnet.
	LoadBalancerAddresses []*LoadBalancerAddress `type:"list"`

	// [Application Load Balancers on Outposts] The ID of the Outpost.
	OutpostId *string `type:"string"`

	// The ID of the subnet. You can specify one subnet per Availability Zone.
	SubnetId *string `type:"string"`

	// The name of the Availability Zone.
	ZoneName *string `type:"string"`
	// contains filtered or unexported fields
}

Information about an Availability Zone.

func (AvailabilityZone) GoString

func (s AvailabilityZone) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AvailabilityZone) SetLoadBalancerAddresses added in v1.10.40

func (s *AvailabilityZone) SetLoadBalancerAddresses(v []*LoadBalancerAddress) *AvailabilityZone

SetLoadBalancerAddresses sets the LoadBalancerAddresses field's value.

func (*AvailabilityZone) SetOutpostId added in v1.34.19

func (s *AvailabilityZone) SetOutpostId(v string) *AvailabilityZone

SetOutpostId sets the OutpostId field's value.

func (*AvailabilityZone) SetSubnetId added in v1.5.0

func (s *AvailabilityZone) SetSubnetId(v string) *AvailabilityZone

SetSubnetId sets the SubnetId field's value.

func (*AvailabilityZone) SetZoneName added in v1.5.0

func (s *AvailabilityZone) SetZoneName(v string) *AvailabilityZone

SetZoneName sets the ZoneName field's value.

func (AvailabilityZone) String

func (s AvailabilityZone) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Certificate

type Certificate struct {

	// The Amazon Resource Name (ARN) of the certificate.
	CertificateArn *string `type:"string"`

	// Indicates whether the certificate is the default certificate. Do not set
	// this value when specifying a certificate as an input. This value is not included
	// in the output when describing a listener, but is included when describing
	// listener certificates.
	IsDefault *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Information about an SSL server certificate.

func (Certificate) GoString

func (s Certificate) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Certificate) SetCertificateArn added in v1.5.0

func (s *Certificate) SetCertificateArn(v string) *Certificate

SetCertificateArn sets the CertificateArn field's value.

func (*Certificate) SetIsDefault added in v1.12.8

func (s *Certificate) SetIsDefault(v bool) *Certificate

SetIsDefault sets the IsDefault field's value.

func (Certificate) String

func (s Certificate) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type Cipher

type Cipher struct {

	// The name of the cipher.
	Name *string `type:"string"`

	// The priority of the cipher.
	Priority *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Information about a cipher used in a policy.

func (Cipher) GoString

func (s Cipher) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*Cipher) SetName added in v1.5.0

func (s *Cipher) SetName(v string) *Cipher

SetName sets the Name field's value.

func (*Cipher) SetPriority added in v1.5.0

func (s *Cipher) SetPriority(v int64) *Cipher

SetPriority sets the Priority field's value.

func (Cipher) String

func (s Cipher) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateListenerInput

type CreateListenerInput struct {

	// [TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN)
	// policy. You can specify one policy name. The following are the possible values:
	//
	//    * HTTP1Only
	//
	//    * HTTP2Only
	//
	//    * HTTP2Optional
	//
	//    * HTTP2Preferred
	//
	//    * None
	//
	// For more information, see ALPN policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#alpn-policies)
	// in the Network Load Balancers Guide.
	AlpnPolicy []*string `type:"list"`

	// [HTTPS and TLS listeners] The default certificate for the listener. You must
	// provide exactly one certificate. Set CertificateArn to the certificate ARN
	// but do not set IsDefault.
	Certificates []*Certificate `type:"list"`

	// The actions for the default rule.
	//
	// DefaultActions is a required field
	DefaultActions []*Action `type:"list" required:"true"`

	// The Amazon Resource Name (ARN) of the load balancer.
	//
	// LoadBalancerArn is a required field
	LoadBalancerArn *string `type:"string" required:"true"`

	// The mutual authentication configuration information.
	MutualAuthentication *MutualAuthenticationAttributes `type:"structure"`

	// The port on which the load balancer is listening. You cannot specify a port
	// for a Gateway Load Balancer.
	Port *int64 `min:"1" type:"integer"`

	// The protocol for connections from clients to the load balancer. For Application
	// Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load
	// Balancers, the supported protocols are TCP, TLS, UDP, and TCP_UDP. You can’t
	// specify the UDP or TCP_UDP protocol if dual-stack mode is enabled. You cannot
	// specify a protocol for a Gateway Load Balancer.
	Protocol *string `type:"string" enum:"ProtocolEnum"`

	// [HTTPS and TLS listeners] The security policy that defines which protocols
	// and ciphers are supported.
	//
	// For more information, see Security policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies)
	// in the Application Load Balancers Guide and Security policies (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#describe-ssl-policies)
	// in the Network Load Balancers Guide.
	SslPolicy *string `type:"string"`

	// The tags to assign to the listener.
	Tags []*Tag `min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (CreateListenerInput) GoString

func (s CreateListenerInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateListenerInput) SetAlpnPolicy added in v1.31.6

func (s *CreateListenerInput) SetAlpnPolicy(v []*string) *CreateListenerInput

SetAlpnPolicy sets the AlpnPolicy field's value.

func (*CreateListenerInput) SetCertificates added in v1.5.0

func (s *CreateListenerInput) SetCertificates(v []*Certificate) *CreateListenerInput

SetCertificates sets the Certificates field's value.

func (*CreateListenerInput) SetDefaultActions added in v1.5.0

func (s *CreateListenerInput) SetDefaultActions(v []*Action) *CreateListenerInput

SetDefaultActions sets the DefaultActions field's value.

func (*CreateListenerInput) SetLoadBalancerArn added in v1.5.0

func (s *CreateListenerInput) SetLoadBalancerArn(v string) *CreateListenerInput

SetLoadBalancerArn sets the LoadBalancerArn field's value.

func (*CreateListenerInput) SetMutualAuthentication added in v1.48.4

SetMutualAuthentication sets the MutualAuthentication field's value.

func (*CreateListenerInput) SetPort added in v1.5.0

SetPort sets the Port field's value.

func (*CreateListenerInput) SetProtocol added in v1.5.0

func (s *CreateListenerInput) SetProtocol(v string) *CreateListenerInput

SetProtocol sets the Protocol field's value.

func (*CreateListenerInput) SetSslPolicy added in v1.5.0

func (s *CreateListenerInput) SetSslPolicy(v string) *CreateListenerInput

SetSslPolicy sets the SslPolicy field's value.

func (*CreateListenerInput) SetTags added in v1.35.2

func (s *CreateListenerInput) SetTags(v []*Tag) *CreateListenerInput

SetTags sets the Tags field's value.

func (CreateListenerInput) String

func (s CreateListenerInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateListenerInput) Validate

func (s *CreateListenerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateListenerOutput

type CreateListenerOutput struct {

	// Information about the listener.
	Listeners []*Listener `type:"list"`
	// contains filtered or unexported fields
}

func (CreateListenerOutput) GoString

func (s CreateListenerOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateListenerOutput) SetListeners added in v1.5.0

func (s *CreateListenerOutput) SetListeners(v []*Listener) *CreateListenerOutput

SetListeners sets the Listeners field's value.

func (CreateListenerOutput) String

func (s CreateListenerOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateLoadBalancerInput

type CreateLoadBalancerInput struct {

	// [Application Load Balancers on Outposts] The ID of the customer-owned address
	// pool (CoIP pool).
	CustomerOwnedIpv4Pool *string `type:"string"`

	// Note: Internal load balancers must use the ipv4 IP address type.
	//
	// [Application Load Balancers] The IP address type. The possible values are
	// ipv4 (for only IPv4 addresses), dualstack (for IPv4 and IPv6 addresses),
	// and dualstack-without-public-ipv4 (for IPv6 only public addresses, with private
	// IPv4 and IPv6 addresses).
	//
	// [Network Load Balancers] The IP address type. The possible values are ipv4
	// (for only IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). You
	// can’t specify dualstack for a load balancer with a UDP or TCP_UDP listener.
	//
	// [Gateway Load Balancers] The IP address type. The possible values are ipv4
	// (for only IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).
	IpAddressType *string `type:"string" enum:"IpAddressType"`

	// The name of the load balancer.
	//
	// This name must be unique per region per account, can have a maximum of 32
	// characters, must contain only alphanumeric characters or hyphens, must not
	// begin or end with a hyphen, and must not begin with "internal-".
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// The nodes of an Internet-facing load balancer have public IP addresses. The
	// DNS name of an Internet-facing load balancer is publicly resolvable to the
	// public IP addresses of the nodes. Therefore, Internet-facing load balancers
	// can route requests from clients over the internet.
	//
	// The nodes of an internal load balancer have only private IP addresses. The
	// DNS name of an internal load balancer is publicly resolvable to the private
	// IP addresses of the nodes. Therefore, internal load balancers can route requests
	// only from clients with access to the VPC for the load balancer.
	//
	// The default is an Internet-facing load balancer.
	//
	// You cannot specify a scheme for a Gateway Load Balancer.
	Scheme *string `type:"string" enum:"LoadBalancerSchemeEnum"`

	// [Application Load Balancers and Network Load Balancers] The IDs of the security
	// groups for the load balancer.
	SecurityGroups []*string `type:"list"`

	// The IDs of the subnets. You can specify only one subnet per Availability
	// Zone. You must specify either subnets or subnet mappings, but not both.
	//
	// [Application Load Balancers] You must specify subnets from at least two Availability
	// Zones. You cannot specify Elastic IP addresses for your subnets.
	//
	// [Application Load Balancers on Outposts] You must specify one Outpost subnet.
	//
	// [Application Load Balancers on Local Zones] You can specify subnets from
	// one or more Local Zones.
	//
	// [Network Load Balancers] You can specify subnets from one or more Availability
	// Zones. You can specify one Elastic IP address per subnet if you need static
	// IP addresses for your internet-facing load balancer. For internal load balancers,
	// you can specify one private IP address per subnet from the IPv4 range of
	// the subnet. For internet-facing load balancer, you can specify one IPv6 address
	// per subnet.
	//
	// [Gateway Load Balancers] You can specify subnets from one or more Availability
	// Zones. You cannot specify Elastic IP addresses for your subnets.
	SubnetMappings []*SubnetMapping `type:"list"`

	// The IDs of the subnets. You can specify only one subnet per Availability
	// Zone. You must specify either subnets or subnet mappings, but not both. To
	// specify an Elastic IP address, specify subnet mappings instead of subnets.
	//
	// [Application Load Balancers] You must specify subnets from at least two Availability
	// Zones.
	//
	// [Application Load Balancers on Outposts] You must specify one Outpost subnet.
	//
	// [Application Load Balancers on Local Zones] You can specify subnets from
	// one or more Local Zones.
	//
	// [Network Load Balancers] You can specify subnets from one or more Availability
	// Zones.
	//
	// [Gateway Load Balancers] You can specify subnets from one or more Availability
	// Zones.
	Subnets []*string `type:"list"`

	// The tags to assign to the load balancer.
	Tags []*Tag `min:"1" type:"list"`

	// The type of load balancer. The default is application.
	Type *string `type:"string" enum:"LoadBalancerTypeEnum"`
	// contains filtered or unexported fields
}

func (CreateLoadBalancerInput) GoString

func (s CreateLoadBalancerInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateLoadBalancerInput) SetCustomerOwnedIpv4Pool added in v1.34.19

func (s *CreateLoadBalancerInput) SetCustomerOwnedIpv4Pool(v string) *CreateLoadBalancerInput

SetCustomerOwnedIpv4Pool sets the CustomerOwnedIpv4Pool field's value.

func (*CreateLoadBalancerInput) SetIpAddressType added in v1.6.17

func (s *CreateLoadBalancerInput) SetIpAddressType(v string) *CreateLoadBalancerInput

SetIpAddressType sets the IpAddressType field's value.

func (*CreateLoadBalancerInput) SetName added in v1.5.0

SetName sets the Name field's value.

func (*CreateLoadBalancerInput) SetScheme added in v1.5.0

SetScheme sets the Scheme field's value.

func (*CreateLoadBalancerInput) SetSecurityGroups added in v1.5.0

func (s *CreateLoadBalancerInput) SetSecurityGroups(v []*string) *CreateLoadBalancerInput

SetSecurityGroups sets the SecurityGroups field's value.

func (*CreateLoadBalancerInput) SetSubnetMappings added in v1.10.40

SetSubnetMappings sets the SubnetMappings field's value.

func (*CreateLoadBalancerInput) SetSubnets added in v1.5.0

SetSubnets sets the Subnets field's value.

func (*CreateLoadBalancerInput) SetTags added in v1.5.0

SetTags sets the Tags field's value.

func (*CreateLoadBalancerInput) SetType added in v1.10.40

SetType sets the Type field's value.

func (CreateLoadBalancerInput) String

func (s CreateLoadBalancerInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateLoadBalancerInput) Validate

func (s *CreateLoadBalancerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateLoadBalancerOutput

type CreateLoadBalancerOutput struct {

	// Information about the load balancer.
	LoadBalancers []*LoadBalancer `type:"list"`
	// contains filtered or unexported fields
}

func (CreateLoadBalancerOutput) GoString

func (s CreateLoadBalancerOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateLoadBalancerOutput) SetLoadBalancers added in v1.5.0

SetLoadBalancers sets the LoadBalancers field's value.

func (CreateLoadBalancerOutput) String

func (s CreateLoadBalancerOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateRuleInput

type CreateRuleInput struct {

	// The actions.
	//
	// Actions is a required field
	Actions []*Action `type:"list" required:"true"`

	// The conditions.
	//
	// Conditions is a required field
	Conditions []*RuleCondition `type:"list" required:"true"`

	// The Amazon Resource Name (ARN) of the listener.
	//
	// ListenerArn is a required field
	ListenerArn *string `type:"string" required:"true"`

	// The rule priority. A listener can't have multiple rules with the same priority.
	//
	// Priority is a required field
	Priority *int64 `min:"1" type:"integer" required:"true"`

	// The tags to assign to the rule.
	Tags []*Tag `min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (CreateRuleInput) GoString

func (s CreateRuleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRuleInput) SetActions added in v1.5.0

func (s *CreateRuleInput) SetActions(v []*Action) *CreateRuleInput

SetActions sets the Actions field's value.

func (*CreateRuleInput) SetConditions added in v1.5.0

func (s *CreateRuleInput) SetConditions(v []*RuleCondition) *CreateRuleInput

SetConditions sets the Conditions field's value.

func (*CreateRuleInput) SetListenerArn added in v1.5.0

func (s *CreateRuleInput) SetListenerArn(v string) *CreateRuleInput

SetListenerArn sets the ListenerArn field's value.

func (*CreateRuleInput) SetPriority added in v1.5.0

func (s *CreateRuleInput) SetPriority(v int64) *CreateRuleInput

SetPriority sets the Priority field's value.

func (*CreateRuleInput) SetTags added in v1.35.2

func (s *CreateRuleInput) SetTags(v []*Tag) *CreateRuleInput

SetTags sets the Tags field's value.

func (CreateRuleInput) String

func (s CreateRuleInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRuleInput) Validate

func (s *CreateRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateRuleOutput

type CreateRuleOutput struct {

	// Information about the rule.
	Rules []*Rule `type:"list"`
	// contains filtered or unexported fields
}

func (CreateRuleOutput) GoString

func (s CreateRuleOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateRuleOutput) SetRules added in v1.5.0

func (s *CreateRuleOutput) SetRules(v []*Rule) *CreateRuleOutput

SetRules sets the Rules field's value.

func (CreateRuleOutput) String

func (s CreateRuleOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateTargetGroupInput

type CreateTargetGroupInput struct {

	// Indicates whether health checks are enabled. If the target type is lambda,
	// health checks are disabled by default but can be enabled. If the target type
	// is instance, ip, or alb, health checks are always enabled and cannot be disabled.
	HealthCheckEnabled *bool `type:"boolean"`

	// The approximate amount of time, in seconds, between health checks of an individual
	// target. The range is 5-300. If the target group protocol is TCP, TLS, UDP,
	// TCP_UDP, HTTP or HTTPS, the default is 30 seconds. If the target group protocol
	// is GENEVE, the default is 10 seconds. If the target type is lambda, the default
	// is 35 seconds.
	HealthCheckIntervalSeconds *int64 `min:"5" type:"integer"`

	// [HTTP/HTTPS health checks] The destination for health checks on the targets.
	//
	// [HTTP1 or HTTP2 protocol version] The ping path. The default is /.
	//
	// [GRPC protocol version] The path of a custom health check method with the
	// format /package.service/method. The default is /Amazon Web Services.ALB/healthcheck.
	HealthCheckPath *string `min:"1" type:"string"`

	// The port the load balancer uses when performing health checks on targets.
	// If the protocol is HTTP, HTTPS, TCP, TLS, UDP, or TCP_UDP, the default is
	// traffic-port, which is the port on which each target receives traffic from
	// the load balancer. If the protocol is GENEVE, the default is port 80.
	HealthCheckPort *string `type:"string"`

	// The protocol the load balancer uses when performing health checks on targets.
	// For Application Load Balancers, the default is HTTP. For Network Load Balancers
	// and Gateway Load Balancers, the default is TCP. The TCP protocol is not supported
	// for health checks if the protocol of the target group is HTTP or HTTPS. The
	// GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.
	HealthCheckProtocol *string `type:"string" enum:"ProtocolEnum"`

	// The amount of time, in seconds, during which no response from a target means
	// a failed health check. The range is 2–120 seconds. For target groups with
	// a protocol of HTTP, the default is 6 seconds. For target groups with a protocol
	// of TCP, TLS or HTTPS, the default is 10 seconds. For target groups with a
	// protocol of GENEVE, the default is 5 seconds. If the target type is lambda,
	// the default is 30 seconds.
	HealthCheckTimeoutSeconds *int64 `min:"2" type:"integer"`

	// The number of consecutive health check successes required before considering
	// a target healthy. The range is 2-10. If the target group protocol is TCP,
	// TCP_UDP, UDP, TLS, HTTP or HTTPS, the default is 5. For target groups with
	// a protocol of GENEVE, the default is 5. If the target type is lambda, the
	// default is 5.
	HealthyThresholdCount *int64 `min:"2" type:"integer"`

	// The type of IP address used for this target group. The possible values are
	// ipv4 and ipv6. This is an optional parameter. If not specified, the IP address
	// type defaults to ipv4.
	IpAddressType *string `type:"string" enum:"TargetGroupIpAddressTypeEnum"`

	// [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for
	// a successful response from a target. For target groups with a protocol of
	// TCP, TCP_UDP, UDP or TLS the range is 200-599. For target groups with a protocol
	// of HTTP or HTTPS, the range is 200-499. For target groups with a protocol
	// of GENEVE, the range is 200-399.
	Matcher *Matcher `type:"structure"`

	// The name of the target group.
	//
	// This name must be unique per region per account, can have a maximum of 32
	// characters, must contain only alphanumeric characters or hyphens, and must
	// not begin or end with a hyphen.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// The port on which the targets receive traffic. This port is used unless you
	// specify a port override when registering the target. If the target is a Lambda
	// function, this parameter does not apply. If the protocol is GENEVE, the supported
	// port is 6081.
	Port *int64 `min:"1" type:"integer"`

	// The protocol to use for routing traffic to the targets. For Application Load
	// Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers,
	// the supported protocols are TCP, TLS, UDP, or TCP_UDP. For Gateway Load Balancers,
	// the supported protocol is GENEVE. A TCP_UDP listener must be associated with
	// a TCP_UDP target group. If the target is a Lambda function, this parameter
	// does not apply.
	Protocol *string `type:"string" enum:"ProtocolEnum"`

	// [HTTP/HTTPS protocol] The protocol version. Specify GRPC to send requests
	// to targets using gRPC. Specify HTTP2 to send requests to targets using HTTP/2.
	// The default is HTTP1, which sends requests to targets using HTTP/1.1.
	ProtocolVersion *string `type:"string"`

	// The tags to assign to the target group.
	Tags []*Tag `min:"1" type:"list"`

	// The type of target that you must specify when registering targets with this
	// target group. You can't specify targets for a target group using more than
	// one target type.
	//
	//    * instance - Register targets by instance ID. This is the default value.
	//
	//    * ip - Register targets by IP address. You can specify IP addresses from
	//    the subnets of the virtual private cloud (VPC) for the target group, the
	//    RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the
	//    RFC 6598 range (100.64.0.0/10). You can't specify publicly routable IP
	//    addresses.
	//
	//    * lambda - Register a single Lambda function as a target.
	//
	//    * alb - Register a single Application Load Balancer as a target.
	TargetType *string `type:"string" enum:"TargetTypeEnum"`

	// The number of consecutive health check failures required before considering
	// a target unhealthy. The range is 2-10. If the target group protocol is TCP,
	// TCP_UDP, UDP, TLS, HTTP or HTTPS, the default is 2. For target groups with
	// a protocol of GENEVE, the default is 2. If the target type is lambda, the
	// default is 5.
	UnhealthyThresholdCount *int64 `min:"2" type:"integer"`

	// The identifier of the virtual private cloud (VPC). If the target is a Lambda
	// function, this parameter does not apply. Otherwise, this parameter is required.
	VpcId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateTargetGroupInput) GoString

func (s CreateTargetGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateTargetGroupInput) SetHealthCheckEnabled added in v1.15.87

func (s *CreateTargetGroupInput) SetHealthCheckEnabled(v bool) *CreateTargetGroupInput

SetHealthCheckEnabled sets the HealthCheckEnabled field's value.

func (*CreateTargetGroupInput) SetHealthCheckIntervalSeconds added in v1.5.0

func (s *CreateTargetGroupInput) SetHealthCheckIntervalSeconds(v int64) *CreateTargetGroupInput

SetHealthCheckIntervalSeconds sets the HealthCheckIntervalSeconds field's value.

func (*CreateTargetGroupInput) SetHealthCheckPath added in v1.5.0

func (s *CreateTargetGroupInput) SetHealthCheckPath(v string) *CreateTargetGroupInput

SetHealthCheckPath sets the HealthCheckPath field's value.

func (*CreateTargetGroupInput) SetHealthCheckPort added in v1.5.0

func (s *CreateTargetGroupInput) SetHealthCheckPort(v string) *CreateTargetGroupInput

SetHealthCheckPort sets the HealthCheckPort field's value.

func (*CreateTargetGroupInput) SetHealthCheckProtocol added in v1.5.0

func (s *CreateTargetGroupInput) SetHealthCheckProtocol(v string) *CreateTargetGroupInput

SetHealthCheckProtocol sets the HealthCheckProtocol field's value.

func (*CreateTargetGroupInput) SetHealthCheckTimeoutSeconds added in v1.5.0

func (s *CreateTargetGroupInput) SetHealthCheckTimeoutSeconds(v int64) *CreateTargetGroupInput

SetHealthCheckTimeoutSeconds sets the HealthCheckTimeoutSeconds field's value.

func (*CreateTargetGroupInput) SetHealthyThresholdCount added in v1.5.0

func (s *CreateTargetGroupInput) SetHealthyThresholdCount(v int64) *CreateTargetGroupInput

SetHealthyThresholdCount sets the HealthyThresholdCount field's value.

func (*CreateTargetGroupInput) SetIpAddressType added in v1.41.0

func (s *CreateTargetGroupInput) SetIpAddressType(v string) *CreateTargetGroupInput

SetIpAddressType sets the IpAddressType field's value.

func (*CreateTargetGroupInput) SetMatcher added in v1.5.0

SetMatcher sets the Matcher field's value.

func (*CreateTargetGroupInput) SetName added in v1.5.0

SetName sets the Name field's value.

func (*CreateTargetGroupInput) SetPort added in v1.5.0

SetPort sets the Port field's value.

func (*CreateTargetGroupInput) SetProtocol added in v1.5.0

SetProtocol sets the Protocol field's value.

func (*CreateTargetGroupInput) SetProtocolVersion added in v1.35.18

func (s *CreateTargetGroupInput) SetProtocolVersion(v string) *CreateTargetGroupInput

SetProtocolVersion sets the ProtocolVersion field's value.

func (*CreateTargetGroupInput) SetTags added in v1.35.2

SetTags sets the Tags field's value.

func (*CreateTargetGroupInput) SetTargetType added in v1.10.36

SetTargetType sets the TargetType field's value.

func (*CreateTargetGroupInput) SetUnhealthyThresholdCount added in v1.5.0

func (s *CreateTargetGroupInput) SetUnhealthyThresholdCount(v int64) *CreateTargetGroupInput

SetUnhealthyThresholdCount sets the UnhealthyThresholdCount field's value.

func (*CreateTargetGroupInput) SetVpcId added in v1.5.0

SetVpcId sets the VpcId field's value.

func (CreateTargetGroupInput) String

func (s CreateTargetGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateTargetGroupInput) Validate

func (s *CreateTargetGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateTargetGroupOutput

type CreateTargetGroupOutput struct {

	// Information about the target group.
	TargetGroups []*TargetGroup `type:"list"`
	// contains filtered or unexported fields
}

func (CreateTargetGroupOutput) GoString

func (s CreateTargetGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateTargetGroupOutput) SetTargetGroups added in v1.5.0

SetTargetGroups sets the TargetGroups field's value.

func (CreateTargetGroupOutput) String

func (s CreateTargetGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateTrustStoreInput added in v1.48.4

type CreateTrustStoreInput struct {

	// The Amazon S3 bucket for the ca certificates bundle.
	//
	// CaCertificatesBundleS3Bucket is a required field
	CaCertificatesBundleS3Bucket *string `type:"string" required:"true"`

	// The Amazon S3 path for the ca certificates bundle.
	//
	// CaCertificatesBundleS3Key is a required field
	CaCertificatesBundleS3Key *string `type:"string" required:"true"`

	// The Amazon S3 object version for the ca certificates bundle. If undefined
	// the current version is used.
	CaCertificatesBundleS3ObjectVersion *string `type:"string"`

	// The name of the trust store.
	//
	// This name must be unique per region and cannot be changed after creation.
	//
	// Name is a required field
	Name *string `min:"1" type:"string" required:"true"`

	// The tags to assign to the trust store.
	Tags []*Tag `min:"1" type:"list"`
	// contains filtered or unexported fields
}

func (CreateTrustStoreInput) GoString added in v1.48.4

func (s CreateTrustStoreInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateTrustStoreInput) SetCaCertificatesBundleS3Bucket added in v1.48.4

func (s *CreateTrustStoreInput) SetCaCertificatesBundleS3Bucket(v string) *CreateTrustStoreInput

SetCaCertificatesBundleS3Bucket sets the CaCertificatesBundleS3Bucket field's value.

func (*CreateTrustStoreInput) SetCaCertificatesBundleS3Key added in v1.48.4

func (s *CreateTrustStoreInput) SetCaCertificatesBundleS3Key(v string) *CreateTrustStoreInput

SetCaCertificatesBundleS3Key sets the CaCertificatesBundleS3Key field's value.

func (*CreateTrustStoreInput) SetCaCertificatesBundleS3ObjectVersion added in v1.48.4

func (s *CreateTrustStoreInput) SetCaCertificatesBundleS3ObjectVersion(v string) *CreateTrustStoreInput

SetCaCertificatesBundleS3ObjectVersion sets the CaCertificatesBundleS3ObjectVersion field's value.

func (*CreateTrustStoreInput) SetName added in v1.48.4

SetName sets the Name field's value.

func (*CreateTrustStoreInput) SetTags added in v1.48.4

SetTags sets the Tags field's value.

func (CreateTrustStoreInput) String added in v1.48.4

func (s CreateTrustStoreInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateTrustStoreInput) Validate added in v1.48.4

func (s *CreateTrustStoreInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateTrustStoreOutput added in v1.48.4

type CreateTrustStoreOutput struct {

	// Information about the trust store created.
	TrustStores []*TrustStore `type:"list"`
	// contains filtered or unexported fields
}

func (CreateTrustStoreOutput) GoString added in v1.48.4

func (s CreateTrustStoreOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateTrustStoreOutput) SetTrustStores added in v1.48.4

func (s *CreateTrustStoreOutput) SetTrustStores(v []*TrustStore) *CreateTrustStoreOutput

SetTrustStores sets the TrustStores field's value.

func (CreateTrustStoreOutput) String added in v1.48.4

func (s CreateTrustStoreOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteListenerInput

type DeleteListenerInput struct {

	// The Amazon Resource Name (ARN) of the listener.
	//
	// ListenerArn is a required field
	ListenerArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteListenerInput) GoString

func (s DeleteListenerInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteListenerInput) SetListenerArn added in v1.5.0

func (s *DeleteListenerInput) SetListenerArn(v string) *DeleteListenerInput

SetListenerArn sets the ListenerArn field's value.

func (DeleteListenerInput) String

func (s DeleteListenerInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteListenerInput) Validate

func (s *DeleteListenerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteListenerOutput

type DeleteListenerOutput struct {
	// contains filtered or unexported fields
}

func (DeleteListenerOutput) GoString

func (s DeleteListenerOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteListenerOutput) String

func (s DeleteListenerOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteLoadBalancerInput

type DeleteLoadBalancerInput struct {

	// The Amazon Resource Name (ARN) of the load balancer.
	//
	// LoadBalancerArn is a required field
	LoadBalancerArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteLoadBalancerInput) GoString

func (s DeleteLoadBalancerInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteLoadBalancerInput) SetLoadBalancerArn added in v1.5.0

func (s *DeleteLoadBalancerInput) SetLoadBalancerArn(v string) *DeleteLoadBalancerInput

SetLoadBalancerArn sets the LoadBalancerArn field's value.

func (DeleteLoadBalancerInput) String

func (s DeleteLoadBalancerInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteLoadBalancerInput) Validate

func (s *DeleteLoadBalancerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteLoadBalancerOutput

type DeleteLoadBalancerOutput struct {
	// contains filtered or unexported fields
}

func (DeleteLoadBalancerOutput) GoString

func (s DeleteLoadBalancerOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteLoadBalancerOutput) String

func (s DeleteLoadBalancerOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteRuleInput

type DeleteRuleInput struct {

	// The Amazon Resource Name (ARN) of the rule.
	//
	// RuleArn is a required field
	RuleArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRuleInput) GoString

func (s DeleteRuleInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRuleInput) SetRuleArn added in v1.5.0

func (s *DeleteRuleInput) SetRuleArn(v string) *DeleteRuleInput

SetRuleArn sets the RuleArn field's value.

func (DeleteRuleInput) String

func (s DeleteRuleInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteRuleInput) Validate

func (s *DeleteRuleInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRuleOutput

type DeleteRuleOutput struct {
	// contains filtered or unexported fields
}

func (DeleteRuleOutput) GoString

func (s DeleteRuleOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteRuleOutput) String

func (s DeleteRuleOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteTargetGroupInput

type DeleteTargetGroupInput struct {

	// The Amazon Resource Name (ARN) of the target group.
	//
	// TargetGroupArn is a required field
	TargetGroupArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteTargetGroupInput) GoString

func (s DeleteTargetGroupInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteTargetGroupInput) SetTargetGroupArn added in v1.5.0

func (s *DeleteTargetGroupInput) SetTargetGroupArn(v string) *DeleteTargetGroupInput

SetTargetGroupArn sets the TargetGroupArn field's value.

func (DeleteTargetGroupInput) String

func (s DeleteTargetGroupInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteTargetGroupInput) Validate

func (s *DeleteTargetGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteTargetGroupOutput

type DeleteTargetGroupOutput struct {
	// contains filtered or unexported fields
}

func (DeleteTargetGroupOutput) GoString

func (s DeleteTargetGroupOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteTargetGroupOutput) String

func (s DeleteTargetGroupOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteTrustStoreInput added in v1.48.4

type DeleteTrustStoreInput struct {

	// The Amazon Resource Name (ARN) of the trust store.
	//
	// TrustStoreArn is a required field
	TrustStoreArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteTrustStoreInput) GoString added in v1.48.4

func (s DeleteTrustStoreInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteTrustStoreInput) SetTrustStoreArn added in v1.48.4

func (s *DeleteTrustStoreInput) SetTrustStoreArn(v string) *DeleteTrustStoreInput

SetTrustStoreArn sets the TrustStoreArn field's value.

func (DeleteTrustStoreInput) String added in v1.48.4

func (s DeleteTrustStoreInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteTrustStoreInput) Validate added in v1.48.4

func (s *DeleteTrustStoreInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteTrustStoreOutput added in v1.48.4

type DeleteTrustStoreOutput struct {
	// contains filtered or unexported fields
}

func (DeleteTrustStoreOutput) GoString added in v1.48.4

func (s DeleteTrustStoreOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteTrustStoreOutput) String added in v1.48.4

func (s DeleteTrustStoreOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeregisterTargetsInput

type DeregisterTargetsInput struct {

	// The Amazon Resource Name (ARN) of the target group.
	//
	// TargetGroupArn is a required field
	TargetGroupArn *string `type:"string" required:"true"`

	// The targets. If you specified a port override when you registered a target,
	// you must specify both the target ID and the port when you deregister it.
	//
	// Targets is a required field
	Targets []*TargetDescription `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DeregisterTargetsInput) GoString

func (s DeregisterTargetsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeregisterTargetsInput) SetTargetGroupArn added in v1.5.0

func (s *DeregisterTargetsInput) SetTargetGroupArn(v string) *DeregisterTargetsInput

SetTargetGroupArn sets the TargetGroupArn field's value.

func (*DeregisterTargetsInput) SetTargets added in v1.5.0

SetTargets sets the Targets field's value.

func (DeregisterTargetsInput) String

func (s DeregisterTargetsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeregisterTargetsInput) Validate

func (s *DeregisterTargetsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeregisterTargetsOutput

type DeregisterTargetsOutput struct {
	// contains filtered or unexported fields
}

func (DeregisterTargetsOutput) GoString

func (s DeregisterTargetsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeregisterTargetsOutput) String

func (s DeregisterTargetsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeAccountLimitsInput added in v1.8.22

type DescribeAccountLimitsInput struct {

	// The marker for the next set of results. (You received this marker from a
	// previous call.)
	Marker *string `type:"string"`

	// The maximum number of results to return with this call.
	PageSize *int64 `min:"1" type:"integer"`
	// contains filtered or unexported fields
}

func (DescribeAccountLimitsInput) GoString added in v1.8.22

func (s DescribeAccountLimitsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeAccountLimitsInput) SetMarker added in v1.8.22

SetMarker sets the Marker field's value.

func (*DescribeAccountLimitsInput) SetPageSize added in v1.8.22

SetPageSize sets the PageSize field's value.

func (DescribeAccountLimitsInput) String added in v1.8.22

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeAccountLimitsInput) Validate added in v1.8.22

func (s *DescribeAccountLimitsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeAccountLimitsOutput added in v1.8.22

type DescribeAccountLimitsOutput struct {

	// Information about the limits.
	Limits []*Limit `type:"list"`

	// If there are additional results, this is the marker for the next set of results.
	// Otherwise, this is null.
	NextMarker *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeAccountLimitsOutput) GoString added in v1.8.22

func (s DescribeAccountLimitsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeAccountLimitsOutput) SetLimits added in v1.8.22

SetLimits sets the Limits field's value.

func (*DescribeAccountLimitsOutput) SetNextMarker added in v1.8.22

SetNextMarker sets the NextMarker field's value.

func (DescribeAccountLimitsOutput) String added in v1.8.22

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeListenerCertificatesInput added in v1.12.8

type DescribeListenerCertificatesInput struct {

	// The Amazon Resource Names (ARN) of the listener.
	//
	// ListenerArn is a required field
	ListenerArn *string `type:"string" required:"true"`

	// The marker for the next set of results. (You received this marker from a
	// previous call.)
	Marker *string `type:"string"`

	// The maximum number of results to return with this call.
	PageSize *int64 `min:"1" type:"integer"`
	// contains filtered or unexported fields
}

func (DescribeListenerCertificatesInput) GoString added in v1.12.8

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeListenerCertificatesInput) SetListenerArn added in v1.12.8

SetListenerArn sets the ListenerArn field's value.

func (*DescribeListenerCertificatesInput) SetMarker added in v1.12.8

SetMarker sets the Marker field's value.

func (*DescribeListenerCertificatesInput) SetPageSize added in v1.12.8

SetPageSize sets the PageSize field's value.

func (DescribeListenerCertificatesInput) String added in v1.12.8

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeListenerCertificatesInput) Validate added in v1.12.8

Validate inspects the fields of the type to determine if they are valid.

type DescribeListenerCertificatesOutput added in v1.12.8

type DescribeListenerCertificatesOutput struct {

	// Information about the certificates.
	Certificates []*Certificate `type:"list"`

	// If there are additional results, this is the marker for the next set of results.
	// Otherwise, this is null.
	NextMarker *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeListenerCertificatesOutput) GoString added in v1.12.8

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeListenerCertificatesOutput) SetCertificates added in v1.12.8

SetCertificates sets the Certificates field's value.

func (*DescribeListenerCertificatesOutput) SetNextMarker added in v1.12.8

SetNextMarker sets the NextMarker field's value.

func (DescribeListenerCertificatesOutput) String added in v1.12.8

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeListenersInput

type DescribeListenersInput struct {

	// The Amazon Resource Names (ARN) of the listeners.
	ListenerArns []*string `type:"list"`

	// The Amazon Resource Name (ARN) of the load balancer.
	LoadBalancerArn *string `type:"string"`

	// The marker for the next set of results. (You received this marker from a
	// previous call.)
	Marker *string `type:"string"`

	// The maximum number of results to return with this call.
	PageSize *int64 `min:"1" type:"integer"`
	// contains filtered or unexported fields
}

func (DescribeListenersInput) GoString

func (s DescribeListenersInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeListenersInput) SetListenerArns added in v1.5.0

func (s *DescribeListenersInput) SetListenerArns(v []*string) *DescribeListenersInput

SetListenerArns sets the ListenerArns field's value.

func (*DescribeListenersInput) SetLoadBalancerArn added in v1.5.0

func (s *DescribeListenersInput) SetLoadBalancerArn(v string) *DescribeListenersInput

SetLoadBalancerArn sets the LoadBalancerArn field's value.

func (*DescribeListenersInput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (*DescribeListenersInput) SetPageSize added in v1.5.0

SetPageSize sets the PageSize field's value.

func (DescribeListenersInput) String

func (s DescribeListenersInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeListenersInput) Validate

func (s *DescribeListenersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeListenersOutput

type DescribeListenersOutput struct {

	// Information about the listeners.
	Listeners []*Listener `type:"list"`

	// If there are additional results, this is the marker for the next set of results.
	// Otherwise, this is null.
	NextMarker *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeListenersOutput) GoString

func (s DescribeListenersOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeListenersOutput) SetListeners added in v1.5.0

SetListeners sets the Listeners field's value.

func (*DescribeListenersOutput) SetNextMarker added in v1.5.0

SetNextMarker sets the NextMarker field's value.

func (DescribeListenersOutput) String

func (s DescribeListenersOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeLoadBalancerAttributesInput

type DescribeLoadBalancerAttributesInput struct {

	// The Amazon Resource Name (ARN) of the load balancer.
	//
	// LoadBalancerArn is a required field
	LoadBalancerArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeLoadBalancerAttributesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeLoadBalancerAttributesInput) SetLoadBalancerArn added in v1.5.0

SetLoadBalancerArn sets the LoadBalancerArn field's value.

func (DescribeLoadBalancerAttributesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeLoadBalancerAttributesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeLoadBalancerAttributesOutput

type DescribeLoadBalancerAttributesOutput struct {

	// Information about the load balancer attributes.
	Attributes []*LoadBalancerAttribute `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeLoadBalancerAttributesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeLoadBalancerAttributesOutput) SetAttributes added in v1.5.0

SetAttributes sets the Attributes field's value.

func (DescribeLoadBalancerAttributesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeLoadBalancersInput

type DescribeLoadBalancersInput struct {

	// The Amazon Resource Names (ARN) of the load balancers. You can specify up
	// to 20 load balancers in a single call.
	LoadBalancerArns []*string `type:"list"`

	// The marker for the next set of results. (You received this marker from a
	// previous call.)
	Marker *string `type:"string"`

	// The names of the load balancers.
	Names []*string `type:"list"`

	// The maximum number of results to return with this call.
	PageSize *int64 `min:"1" type:"integer"`
	// contains filtered or unexported fields
}

func (DescribeLoadBalancersInput) GoString

func (s DescribeLoadBalancersInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeLoadBalancersInput) SetLoadBalancerArns added in v1.5.0

func (s *DescribeLoadBalancersInput) SetLoadBalancerArns(v []*string) *DescribeLoadBalancersInput

SetLoadBalancerArns sets the LoadBalancerArns field's value.

func (*DescribeLoadBalancersInput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (*DescribeLoadBalancersInput) SetNames added in v1.5.0

SetNames sets the Names field's value.

func (*DescribeLoadBalancersInput) SetPageSize added in v1.5.0

SetPageSize sets the PageSize field's value.

func (DescribeLoadBalancersInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeLoadBalancersInput) Validate

func (s *DescribeLoadBalancersInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeLoadBalancersOutput

type DescribeLoadBalancersOutput struct {

	// Information about the load balancers.
	LoadBalancers []*LoadBalancer `type:"list"`

	// If there are additional results, this is the marker for the next set of results.
	// Otherwise, this is null.
	NextMarker *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeLoadBalancersOutput) GoString

func (s DescribeLoadBalancersOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeLoadBalancersOutput) SetLoadBalancers added in v1.5.0

SetLoadBalancers sets the LoadBalancers field's value.

func (*DescribeLoadBalancersOutput) SetNextMarker added in v1.5.0

SetNextMarker sets the NextMarker field's value.

func (DescribeLoadBalancersOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeRulesInput

type DescribeRulesInput struct {

	// The Amazon Resource Name (ARN) of the listener.
	ListenerArn *string `type:"string"`

	// The marker for the next set of results. (You received this marker from a
	// previous call.)
	Marker *string `type:"string"`

	// The maximum number of results to return with this call.
	PageSize *int64 `min:"1" type:"integer"`

	// The Amazon Resource Names (ARN) of the rules.
	RuleArns []*string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeRulesInput) GoString

func (s DescribeRulesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRulesInput) SetListenerArn added in v1.5.0

func (s *DescribeRulesInput) SetListenerArn(v string) *DescribeRulesInput

SetListenerArn sets the ListenerArn field's value.

func (*DescribeRulesInput) SetMarker added in v1.8.33

func (s *DescribeRulesInput) SetMarker(v string) *DescribeRulesInput

SetMarker sets the Marker field's value.

func (*DescribeRulesInput) SetPageSize added in v1.8.33

func (s *DescribeRulesInput) SetPageSize(v int64) *DescribeRulesInput

SetPageSize sets the PageSize field's value.

func (*DescribeRulesInput) SetRuleArns added in v1.5.0

func (s *DescribeRulesInput) SetRuleArns(v []*string) *DescribeRulesInput

SetRuleArns sets the RuleArns field's value.

func (DescribeRulesInput) String

func (s DescribeRulesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRulesInput) Validate added in v1.8.33

func (s *DescribeRulesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeRulesOutput

type DescribeRulesOutput struct {

	// If there are additional results, this is the marker for the next set of results.
	// Otherwise, this is null.
	NextMarker *string `type:"string"`

	// Information about the rules.
	Rules []*Rule `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeRulesOutput) GoString

func (s DescribeRulesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeRulesOutput) SetNextMarker added in v1.8.33

func (s *DescribeRulesOutput) SetNextMarker(v string) *DescribeRulesOutput

SetNextMarker sets the NextMarker field's value.

func (*DescribeRulesOutput) SetRules added in v1.5.0

func (s *DescribeRulesOutput) SetRules(v []*Rule) *DescribeRulesOutput

SetRules sets the Rules field's value.

func (DescribeRulesOutput) String

func (s DescribeRulesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeSSLPoliciesInput

type DescribeSSLPoliciesInput struct {

	// The type of load balancer. The default lists the SSL policies for all load
	// balancers.
	LoadBalancerType *string `type:"string" enum:"LoadBalancerTypeEnum"`

	// The marker for the next set of results. (You received this marker from a
	// previous call.)
	Marker *string `type:"string"`

	// The names of the policies.
	Names []*string `type:"list"`

	// The maximum number of results to return with this call.
	PageSize *int64 `min:"1" type:"integer"`
	// contains filtered or unexported fields
}

func (DescribeSSLPoliciesInput) GoString

func (s DescribeSSLPoliciesInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeSSLPoliciesInput) SetLoadBalancerType added in v1.41.3

func (s *DescribeSSLPoliciesInput) SetLoadBalancerType(v string) *DescribeSSLPoliciesInput

SetLoadBalancerType sets the LoadBalancerType field's value.

func (*DescribeSSLPoliciesInput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (*DescribeSSLPoliciesInput) SetNames added in v1.5.0

SetNames sets the Names field's value.

func (*DescribeSSLPoliciesInput) SetPageSize added in v1.5.0

SetPageSize sets the PageSize field's value.

func (DescribeSSLPoliciesInput) String

func (s DescribeSSLPoliciesInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeSSLPoliciesInput) Validate

func (s *DescribeSSLPoliciesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeSSLPoliciesOutput

type DescribeSSLPoliciesOutput struct {

	// If there are additional results, this is the marker for the next set of results.
	// Otherwise, this is null.
	NextMarker *string `type:"string"`

	// Information about the security policies.
	SslPolicies []*SslPolicy `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeSSLPoliciesOutput) GoString

func (s DescribeSSLPoliciesOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeSSLPoliciesOutput) SetNextMarker added in v1.5.0

SetNextMarker sets the NextMarker field's value.

func (*DescribeSSLPoliciesOutput) SetSslPolicies added in v1.5.0

SetSslPolicies sets the SslPolicies field's value.

func (DescribeSSLPoliciesOutput) String

func (s DescribeSSLPoliciesOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeTagsInput

type DescribeTagsInput struct {

	// The Amazon Resource Names (ARN) of the resources. You can specify up to 20
	// resources in a single call.
	//
	// ResourceArns is a required field
	ResourceArns []*string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeTagsInput) GoString

func (s DescribeTagsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTagsInput) SetResourceArns added in v1.5.0

func (s *DescribeTagsInput) SetResourceArns(v []*string) *DescribeTagsInput

SetResourceArns sets the ResourceArns field's value.

func (DescribeTagsInput) String

func (s DescribeTagsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTagsInput) Validate

func (s *DescribeTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeTagsOutput

type DescribeTagsOutput struct {

	// Information about the tags.
	TagDescriptions []*TagDescription `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeTagsOutput) GoString

func (s DescribeTagsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTagsOutput) SetTagDescriptions added in v1.5.0

func (s *DescribeTagsOutput) SetTagDescriptions(v []*TagDescription) *DescribeTagsOutput

SetTagDescriptions sets the TagDescriptions field's value.

func (DescribeTagsOutput) String

func (s DescribeTagsOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeTargetGroupAttributesInput

type DescribeTargetGroupAttributesInput struct {

	// The Amazon Resource Name (ARN) of the target group.
	//
	// TargetGroupArn is a required field
	TargetGroupArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeTargetGroupAttributesInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTargetGroupAttributesInput) SetTargetGroupArn added in v1.5.0

SetTargetGroupArn sets the TargetGroupArn field's value.

func (DescribeTargetGroupAttributesInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTargetGroupAttributesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeTargetGroupAttributesOutput

type DescribeTargetGroupAttributesOutput struct {

	// Information about the target group attributes
	Attributes []*TargetGroupAttribute `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeTargetGroupAttributesOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTargetGroupAttributesOutput) SetAttributes added in v1.5.0

SetAttributes sets the Attributes field's value.

func (DescribeTargetGroupAttributesOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeTargetGroupsInput

type DescribeTargetGroupsInput struct {

	// The Amazon Resource Name (ARN) of the load balancer.
	LoadBalancerArn *string `type:"string"`

	// The marker for the next set of results. (You received this marker from a
	// previous call.)
	Marker *string `type:"string"`

	// The names of the target groups.
	Names []*string `type:"list"`

	// The maximum number of results to return with this call.
	PageSize *int64 `min:"1" type:"integer"`

	// The Amazon Resource Names (ARN) of the target groups.
	TargetGroupArns []*string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeTargetGroupsInput) GoString

func (s DescribeTargetGroupsInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTargetGroupsInput) SetLoadBalancerArn added in v1.5.0

SetLoadBalancerArn sets the LoadBalancerArn field's value.

func (*DescribeTargetGroupsInput) SetMarker added in v1.5.0

SetMarker sets the Marker field's value.

func (*DescribeTargetGroupsInput) SetNames added in v1.5.0

SetNames sets the Names field's value.

func (*DescribeTargetGroupsInput) SetPageSize added in v1.5.0

SetPageSize sets the PageSize field's value.

func (*DescribeTargetGroupsInput) SetTargetGroupArns added in v1.5.0

func (s *DescribeTargetGroupsInput) SetTargetGroupArns(v []*string) *DescribeTargetGroupsInput

SetTargetGroupArns sets the TargetGroupArns field's value.

func (DescribeTargetGroupsInput) String

func (s DescribeTargetGroupsInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTargetGroupsInput) Validate

func (s *DescribeTargetGroupsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeTargetGroupsOutput

type DescribeTargetGroupsOutput struct {

	// If there are additional results, this is the marker for the next set of results.
	// Otherwise, this is null.
	NextMarker *string `type:"string"`

	// Information about the target groups.
	TargetGroups []*TargetGroup `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeTargetGroupsOutput) GoString

func (s DescribeTargetGroupsOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTargetGroupsOutput) SetNextMarker added in v1.5.0

SetNextMarker sets the NextMarker field's value.

func (*DescribeTargetGroupsOutput) SetTargetGroups added in v1.5.0

SetTargetGroups sets the TargetGroups field's value.

func (DescribeTargetGroupsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeTargetHealthInput

type DescribeTargetHealthInput struct {

	// Used to inclue anomaly detection information.
	Include []*string `type:"list" enum:"DescribeTargetHealthInputIncludeEnum"`

	// The Amazon Resource Name (ARN) of the target group.
	//
	// TargetGroupArn is a required field
	TargetGroupArn *string `type:"string" required:"true"`

	// The targets.
	Targets []*TargetDescription `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeTargetHealthInput) GoString

func (s DescribeTargetHealthInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTargetHealthInput) SetInclude added in v1.48.4

SetInclude sets the Include field's value.

func (*DescribeTargetHealthInput) SetTargetGroupArn added in v1.5.0

SetTargetGroupArn sets the TargetGroupArn field's value.

func (*DescribeTargetHealthInput) SetTargets added in v1.5.0

SetTargets sets the Targets field's value.

func (DescribeTargetHealthInput) String

func (s DescribeTargetHealthInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTargetHealthInput) Validate

func (s *DescribeTargetHealthInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeTargetHealthOutput

type DescribeTargetHealthOutput struct {

	// Information about the health of the targets.
	TargetHealthDescriptions []*TargetHealthDescription `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeTargetHealthOutput) GoString

func (s DescribeTargetHealthOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTargetHealthOutput) SetTargetHealthDescriptions added in v1.5.0

SetTargetHealthDescriptions sets the TargetHealthDescriptions field's value.

func (DescribeTargetHealthOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeTrustStoreAssociationsInput added in v1.48.4

type DescribeTrustStoreAssociationsInput struct {

	// The marker for the next set of results. (You received this marker from a
	// previous call.)
	Marker *string `type:"string"`

	// The maximum number of results to return with this call.
	PageSize *int64 `min:"1" type:"integer"`

	// The Amazon Resource Name (ARN) of the trust store.
	//
	// TrustStoreArn is a required field
	TrustStoreArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeTrustStoreAssociationsInput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTrustStoreAssociationsInput) SetMarker added in v1.48.4

SetMarker sets the Marker field's value.

func (*DescribeTrustStoreAssociationsInput) SetPageSize added in v1.48.4

SetPageSize sets the PageSize field's value.

func (*DescribeTrustStoreAssociationsInput) SetTrustStoreArn added in v1.48.4

SetTrustStoreArn sets the TrustStoreArn field's value.

func (DescribeTrustStoreAssociationsInput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTrustStoreAssociationsInput) Validate added in v1.48.4

Validate inspects the fields of the type to determine if they are valid.

type DescribeTrustStoreAssociationsOutput added in v1.48.4

type DescribeTrustStoreAssociationsOutput struct {

	// If there are additional results, this is the marker for the next set of results.
	// Otherwise, this is null.
	NextMarker *string `type:"string"`

	// Information about the resources the trust store is associated to.
	TrustStoreAssociations []*TrustStoreAssociation `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeTrustStoreAssociationsOutput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTrustStoreAssociationsOutput) SetNextMarker added in v1.48.4

SetNextMarker sets the NextMarker field's value.

func (*DescribeTrustStoreAssociationsOutput) SetTrustStoreAssociations added in v1.48.4

SetTrustStoreAssociations sets the TrustStoreAssociations field's value.

func (DescribeTrustStoreAssociationsOutput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeTrustStoreRevocation added in v1.48.4

type DescribeTrustStoreRevocation struct {

	// The number of revoked certificates.
	NumberOfRevokedEntries *int64 `type:"long"`

	// The revocation ID of a revocation file in use.
	RevocationId *int64 `type:"long"`

	// The type of revocation file.
	RevocationType *string `type:"string" enum:"RevocationType"`

	// The Amazon Resource Name (ARN) of the trust store.
	TrustStoreArn *string `type:"string"`
	// contains filtered or unexported fields
}

Information about the revocations used by a trust store.

func (DescribeTrustStoreRevocation) GoString added in v1.48.4

func (s DescribeTrustStoreRevocation) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTrustStoreRevocation) SetNumberOfRevokedEntries added in v1.48.4

func (s *DescribeTrustStoreRevocation) SetNumberOfRevokedEntries(v int64) *DescribeTrustStoreRevocation

SetNumberOfRevokedEntries sets the NumberOfRevokedEntries field's value.

func (*DescribeTrustStoreRevocation) SetRevocationId added in v1.48.4

SetRevocationId sets the RevocationId field's value.

func (*DescribeTrustStoreRevocation) SetRevocationType added in v1.48.4

SetRevocationType sets the RevocationType field's value.

func (*DescribeTrustStoreRevocation) SetTrustStoreArn added in v1.48.4

SetTrustStoreArn sets the TrustStoreArn field's value.

func (DescribeTrustStoreRevocation) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeTrustStoreRevocationsInput added in v1.48.4

type DescribeTrustStoreRevocationsInput struct {

	// The marker for the next set of results. (You received this marker from a
	// previous call.)
	Marker *string `type:"string"`

	// The maximum number of results to return with this call.
	PageSize *int64 `min:"1" type:"integer"`

	// The revocation IDs of the revocation files you want to describe.
	RevocationIds []*int64 `type:"list"`

	// The Amazon Resource Name (ARN) of the trust store.
	//
	// TrustStoreArn is a required field
	TrustStoreArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeTrustStoreRevocationsInput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTrustStoreRevocationsInput) SetMarker added in v1.48.4

SetMarker sets the Marker field's value.

func (*DescribeTrustStoreRevocationsInput) SetPageSize added in v1.48.4

SetPageSize sets the PageSize field's value.

func (*DescribeTrustStoreRevocationsInput) SetRevocationIds added in v1.48.4

SetRevocationIds sets the RevocationIds field's value.

func (*DescribeTrustStoreRevocationsInput) SetTrustStoreArn added in v1.48.4

SetTrustStoreArn sets the TrustStoreArn field's value.

func (DescribeTrustStoreRevocationsInput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTrustStoreRevocationsInput) Validate added in v1.48.4

Validate inspects the fields of the type to determine if they are valid.

type DescribeTrustStoreRevocationsOutput added in v1.48.4

type DescribeTrustStoreRevocationsOutput struct {

	// If there are additional results, this is the marker for the next set of results.
	// Otherwise, this is null.
	NextMarker *string `type:"string"`

	// Information about the revocation file in the trust store.
	TrustStoreRevocations []*DescribeTrustStoreRevocation `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeTrustStoreRevocationsOutput) GoString added in v1.48.4

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTrustStoreRevocationsOutput) SetNextMarker added in v1.48.4

SetNextMarker sets the NextMarker field's value.

func (*DescribeTrustStoreRevocationsOutput) SetTrustStoreRevocations added in v1.48.4

SetTrustStoreRevocations sets the TrustStoreRevocations field's value.

func (DescribeTrustStoreRevocationsOutput) String added in v1.48.4

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DescribeTrustStoresInput added in v1.48.4

type DescribeTrustStoresInput struct {

	// The marker for the next set of results. (You received this marker from a
	// previous call.)
	Marker *string `type:"string"`

	// The names of the trust stores.
	Names []*string `type:"list"`

	// The maximum number of results to return with this call.
	PageSize *int64 `min:"1" type:"integer"`

	// The Amazon Resource Name (ARN) of the trust store.
	TrustStoreArns []*string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeTrustStoresInput) GoString added in v1.48.4

func (s DescribeTrustStoresInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTrustStoresInput) SetMarker added in v1.48.4

SetMarker sets the Marker field's value.

func (*DescribeTrustStoresInput) SetNames added in v1.48.4

SetNames sets the Names field's value.

func (*DescribeTrustStoresInput) SetPageSize added in v1.48.4

SetPageSize sets the PageSize field's value.

func (*DescribeTrustStoresInput) SetTrustStoreArns added in v1.48.4

func (s *DescribeTrustStoresInput) SetTrustStoreArns(v []*string) *DescribeTrustStoresInput

SetTrustStoreArns sets the TrustStoreArns field's value.

func (DescribeTrustStoresInput) String added in v1.48.4

func (s DescribeTrustStoresInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTrustStoresInput) Validate added in v1.48.4

func (s *DescribeTrustStoresInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeTrustStoresOutput added in v1.48.4

type DescribeTrustStoresOutput struct {

	// If there are additional results, this is the marker for the next set of results.
	// Otherwise, this is null.
	NextMarker *string `type:"string"`

	// Information about the trust stores.
	TrustStores []*TrustStore `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeTrustStoresOutput) GoString added in v1.48.4

func (s DescribeTrustStoresOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DescribeTrustStoresOutput) SetNextMarker added in v1.48.4

SetNextMarker sets the NextMarker field's value.

func (*DescribeTrustStoresOutput) SetTrustStores added in v1.48.4

SetTrustStores sets the TrustStores field's value.

func (DescribeTrustStoresOutput) String added in v1.48.4

func (s DescribeTrustStoresOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ELBV2

type ELBV2 struct {
	*client.Client
}

ELBV2 provides the API operation methods for making requests to Elastic Load Balancing. See this package's package overview docs for details on the service.

ELBV2 methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *ELBV2

New creates a new instance of the ELBV2 client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a ELBV2 client from just a session.
svc := elbv2.New(mySession)

// Create a ELBV2 client with additional configuration
svc := elbv2.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*ELBV2) AddListenerCertificates added in v1.12.8

func (c *ELBV2) AddListenerCertificates(input *AddListenerCertificatesInput) (*AddListenerCertificatesOutput, error)

AddListenerCertificates API operation for Elastic Load Balancing.

Adds the specified SSL server certificate to the certificate list for the specified HTTPS or TLS listener.

If the certificate in already in the certificate list, the call is successful but the certificate is not added again.

For more information, see HTTPS listeners (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html) in the Application Load Balancers Guide or TLS listeners (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html) in the Network Load Balancers Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Elastic Load Balancing's API operation AddListenerCertificates for usage and error information.

Returned Error Codes:

  • ErrCodeListenerNotFoundException "ListenerNotFound" The specified listener does not exist.

  • ErrCodeTooManyCertificatesException "TooManyCertificates" You've reached the limit on the number of certificates per load balancer.

  • ErrCodeCertificateNotFoundException "CertificateNotFound" The specified certificate does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddListenerCertificates

func (*ELBV2) AddListenerCertificatesRequest added in v1.12.8

func (c *ELBV2) AddListenerCertificatesRequest(input *AddListenerCertificatesInput) (req *request.Request, output *AddListenerCertificatesOutput)

AddListenerCertificatesRequest generates a "aws/request.Request" representing the client's request for the AddListenerCertificates operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AddListenerCertificates for more information on using the AddListenerCertificates API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AddListenerCertificatesRequest method.
req, resp := client.AddListenerCertificatesRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddListenerCertificates

func (*ELBV2) AddListenerCertificatesWithContext added in v1.12.8

func (c *ELBV2) AddListenerCertificatesWithContext(ctx aws.Context, input *AddListenerCertificatesInput, opts ...request.Option) (*AddListenerCertificatesOutput, error)

AddListenerCertificatesWithContext is the same as AddListenerCertificates with the addition of the ability to pass a context and additional request options.

See AddListenerCertificates for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ELBV2) AddTags

func (c *ELBV2) AddTags(input *AddTagsInput) (*AddTagsOutput, error)

AddTags API operation for Elastic Load Balancing.

Adds the specified tags to the specified Elastic Load Balancing resource. You can tag your Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups, trust stores, listeners, and rules.

Each tag consists of a key and an optional value. If a resource already has a tag with the same key, AddTags updates its value.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Elastic Load Balancing's API operation AddTags for usage and error information.

Returned Error Codes:

  • ErrCodeDuplicateTagKeysException "DuplicateTagKeys" A tag key was specified more than once.

  • ErrCodeTooManyTagsException "TooManyTags" You've reached the limit on the number of tags for this resource.

  • ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" The specified load balancer does not exist.

  • ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" The specified target group does not exist.

  • ErrCodeListenerNotFoundException "ListenerNotFound" The specified listener does not exist.

  • ErrCodeRuleNotFoundException "RuleNotFound" The specified rule does not exist.

  • ErrCodeTrustStoreNotFoundException "TrustStoreNotFound" The specified trust store does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTags

Example (Shared00)

To add tags to a load balancer This example adds the specified tags to the specified load balancer.

package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/awserr"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/elbv2"
)

func main() {
	svc := elbv2.New(session.New())
	input := &elbv2.AddTagsInput{
		ResourceArns: []*string{
			aws.String("arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"),
		},
		Tags: []*elbv2.Tag{
			{
				Key:   aws.String("project"),
				Value: aws.String("lima"),
			},
			{
				Key:   aws.String("department"),
				Value: aws.String("digital-media"),
			},
		},
	}

	result, err := svc.AddTags(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elbv2.ErrCodeDuplicateTagKeysException:
				fmt.Println(elbv2.ErrCodeDuplicateTagKeysException, aerr.Error())
			case elbv2.ErrCodeTooManyTagsException:
				fmt.Println(elbv2.ErrCodeTooManyTagsException, aerr.Error())
			case elbv2.ErrCodeLoadBalancerNotFoundException:
				fmt.Println(elbv2.ErrCodeLoadBalancerNotFoundException, aerr.Error())
			case elbv2.ErrCodeTargetGroupNotFoundException:
				fmt.Println(elbv2.ErrCodeTargetGroupNotFoundException, aerr.Error())
			case elbv2.ErrCodeListenerNotFoundException:
				fmt.Println(elbv2.ErrCodeListenerNotFoundException, aerr.Error())
			case elbv2.ErrCodeRuleNotFoundException:
				fmt.Println(elbv2.ErrCodeRuleNotFoundException, aerr.Error())
			case elbv2.ErrCodeTrustStoreNotFoundException:
				fmt.Println(elbv2.ErrCodeTrustStoreNotFoundException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

func (*ELBV2) AddTagsRequest

func (c *ELBV2) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput)

AddTagsRequest generates a "aws/request.Request" representing the client's request for the AddTags operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AddTags for more information on using the AddTags API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AddTagsRequest method.
req, resp := client.AddTagsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTags

func (*ELBV2) AddTagsWithContext added in v1.8.0

func (c *ELBV2) AddTagsWithContext(ctx aws.Context, input *AddTagsInput, opts ...request.Option) (*AddTagsOutput, error)

AddTagsWithContext is the same as AddTags with the addition of the ability to pass a context and additional request options.

See AddTags for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ELBV2) AddTrustStoreRevocations added in v1.48.4

func (c *ELBV2) AddTrustStoreRevocations(input *AddTrustStoreRevocationsInput) (*AddTrustStoreRevocationsOutput, error)

AddTrustStoreRevocations API operation for Elastic Load Balancing.

Adds the specified revocation file to the specified trust store.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Elastic Load Balancing's API operation AddTrustStoreRevocations for usage and error information.

Returned Error Codes:

  • ErrCodeTrustStoreNotFoundException "TrustStoreNotFound" The specified trust store does not exist.

  • ErrCodeInvalidRevocationContentException "InvalidRevocationContent" The provided revocation file is an invalid format, or uses an incorrect algorithm.

  • ErrCodeTooManyTrustStoreRevocationEntriesException "TooManyTrustStoreRevocationEntries" The specified trust store has too many revocation entries.

  • ErrCodeRevocationContentNotFoundException "RevocationContentNotFound" The specified revocation file does not exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTrustStoreRevocations

func (*ELBV2) AddTrustStoreRevocationsRequest added in v1.48.4

func (c *ELBV2) AddTrustStoreRevocationsRequest(input *AddTrustStoreRevocationsInput) (req *request.Request, output *AddTrustStoreRevocationsOutput)

AddTrustStoreRevocationsRequest generates a "aws/request.Request" representing the client's request for the AddTrustStoreRevocations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AddTrustStoreRevocations for more information on using the AddTrustStoreRevocations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AddTrustStoreRevocationsRequest method.
req, resp := client.AddTrustStoreRevocationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTrustStoreRevocations

func (*ELBV2) AddTrustStoreRevocationsWithContext added in v1.48.4

func (c *ELBV2) AddTrustStoreRevocationsWithContext(ctx aws.Context, input *AddTrustStoreRevocationsInput, opts ...request.Option) (*AddTrustStoreRevocationsOutput, error)

AddTrustStoreRevocationsWithContext is the same as AddTrustStoreRevocations with the addition of the ability to pass a context and additional request options.

See AddTrustStoreRevocations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ELBV2) CreateListener

func (c *ELBV2) CreateListener(input *CreateListenerInput) (*CreateListenerOutput, error)

CreateListener API operation for Elastic Load Balancing.

Creates a listener for the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.

For more information, see the following:

This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple listeners with the same settings, each call succeeds.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for Elastic Load Balancing's API operation CreateListener for usage and error information.

Returned Error Codes:

  • ErrCodeDuplicateListenerException "DuplicateListener" A listener with the specified port already exists.

  • ErrCodeTooManyListenersException "TooManyListeners" You've reached the limit on the number of listeners per load balancer.

  • ErrCodeTooManyCertificatesException "TooManyCertificates" You've reached the limit on the number of certificates per load balancer.

  • ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" The specified load balancer does not exist.

  • ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" The specified target group does not exist.

  • ErrCodeTargetGroupAssociationLimitException "TargetGroupAssociationLimit" You've reached the limit on the number of load balancers per target group.

  • ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" The requested configuration is not valid.

  • ErrCodeIncompatibleProtocolsException "IncompatibleProtocols" The specified configuration is not valid with this protocol.

  • ErrCodeSSLPolicyNotFoundException "SSLPolicyNotFound" The specified SSL policy does not exist.

  • ErrCodeCertificateNotFoundException "CertificateNotFound" The specified certificate does not exist.

  • ErrCodeUnsupportedProtocolException "UnsupportedProtocol" The specified protocol is not supported.

  • ErrCodeTooManyRegistrationsForTargetIdException "TooManyRegistrationsForTargetId" You've reached the limit on the number of times a target can be registered with a load balancer.

  • ErrCodeTooManyTargetsException "TooManyTargets" You've reached the limit on the number of targets.

  • ErrCodeTooManyActionsException "TooManyActions" You've reached the limit on the number of actions per rule.

  • ErrCodeInvalidLoadBalancerActionException "InvalidLoadBalancerAction" The requested action is not valid.

  • ErrCodeTooManyUniqueTargetGroupsPerLoadBalancerException "TooManyUniqueTargetGroupsPerLoadBalancer" You've reached the limit on the number of unique target groups per load balancer across all listeners. If a target group is used by multiple actions for a load balancer, it is counted as only one use.

  • ErrCodeALPNPolicyNotSupportedException "ALPNPolicyNotFound" The specified ALPN policy is not supported.

  • ErrCodeTooManyTagsException "TooManyTags" You've reached the limit on the number of tags for this resource.

  • ErrCodeTrustStoreNotFoundException "TrustStoreNotFound" The specified trust store does not exist.

  • ErrCodeTrustStoreNotReadyException "TrustStoreNotReady" The specified trust store is not active.

See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListener

Example (Shared00)

To create an HTTP listener This example creates an HTTP listener for the specified load balancer that forwards requests to the specified target group.

package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/awserr"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/elbv2"
)

func main() {
	svc := elbv2.New(session.New())
	input := &elbv2.CreateListenerInput{
		DefaultActions: []*elbv2.Action{
			{
				TargetGroupArn: aws.String("arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"),
				Type:           aws.String("forward"),
			},
		},
		LoadBalancerArn: aws.String("arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"),
		Port:            aws.Int64(80),
		Protocol:        aws.String("HTTP"),
	}

	result, err := svc.CreateListener(input)
	if err != nil {
		if aerr, ok := err.(awserr.Error); ok {
			switch aerr.Code() {
			case elbv2.ErrCodeDuplicateListenerException:
				fmt.Println(elbv2.ErrCodeDuplicateListenerException, aerr.Error())
			case elbv2.ErrCodeTooManyListenersException:
				fmt.Println(elbv2.ErrCodeTooManyListenersException, aerr.Error())
			case elbv2.ErrCodeTooManyCertificatesException:
				fmt.Println(elbv2.ErrCodeTooManyCertificatesException, aerr.Error())
			case elbv2.ErrCodeLoadBalancerNotFoundException:
				fmt.Println(elbv2.ErrCodeLoadBalancerNotFoundException, aerr.Error())
			case elbv2.ErrCodeTargetGroupNotFoundException:
				fmt.Println(elbv2.ErrCodeTargetGroupNotFoundException, aerr.Error())
			case elbv2.ErrCodeTargetGroupAssociationLimitException:
				fmt.Println(elbv2.ErrCodeTargetGroupAssociationLimitException, aerr.Error())
			case elbv2.ErrCodeInvalidConfigurationRequestException:
				fmt.Println(elbv2.ErrCodeInvalidConfigurationRequestException, aerr.Error())
			case elbv2.ErrCodeIncompatibleProtocolsException:
				fmt.Println(elbv2.ErrCodeIncompatibleProtocolsException, aerr.Error())
			case elbv2.ErrCodeSSLPolicyNotFoundException:
				fmt.Println(elbv2.ErrCodeSSLPolicyNotFoundException, aerr.Error())
			case elbv2.ErrCodeCertificateNotFoundException:
				fmt.Println(elbv2.ErrCodeCertificateNotFoundException, aerr.Error())
			case elbv2.ErrCodeUnsupportedProtocolException:
				fmt.Println(elbv2.ErrCodeUnsupportedProtocolException, aerr.Error())
			case elbv2.ErrCodeTooManyRegistrationsForTargetIdException:
				fmt.Println(elbv2.ErrCodeTooManyRegistrationsForTargetIdException, aerr.Error())
			case elbv2.ErrCodeTooManyTargetsException:
				fmt.Println(elbv2.ErrCodeTooManyTargetsException, aerr.Error())
			case elbv2.ErrCodeTooManyActionsException:
				fmt.Println(elbv2.ErrCodeTooManyActionsException, aerr.Error())
			case elbv2.ErrCodeInvalidLoadBalancerActionException:
				fmt.Println(elbv2.ErrCodeInvalidLoadBalancerActionException, aerr.Error())
			case elbv2.ErrCodeTooManyUniqueTargetGroupsPerLoadBalancerException:
				fmt.Println(elbv2.ErrCodeTooManyUniqueTargetGroupsPerLoadBalancerException, aerr.Error())
			case elbv2.ErrCodeALPNPolicyNotSupportedException:
				fmt.Println(elbv2.ErrCodeALPNPolicyNotSupportedException, aerr.Error())
			case elbv2.ErrCodeTooManyTagsException:
				fmt.Println(elbv2.ErrCodeTooManyTagsException, aerr.Error())
			case elbv2.ErrCodeTrustStoreNotFoundException:
				fmt.Println(elbv2.ErrCodeTrustStoreNotFoundException, aerr.Error())
			case elbv2.ErrCodeTrustStoreNotReadyException:
				fmt.Println(elbv2.ErrCodeTrustStoreNotReadyException, aerr.Error())
			default:
				fmt.Println(aerr.Error())
			}
		} else {
			// Print the error, cast err to awserr.Error to get the Code and
			// Message from an error.
			fmt.Println(err.Error())
		}
		return
	}

	fmt.Println(result)
}
Output:

Example (Shared01)

To create an HTTPS listener This example creates an HTTPS listener for the specified load balancer that forwards requests to the specified target group. Note that you must specify an SSL certificate for an HTTPS listener. You can create and manage certificates using AWS Certificate Manager (ACM). Alternatively, you can create a certificate using SSL/TLS tools, get the certificate signed by a certificate authority (CA), and upload the certificate to AWS Identity and Access Management (IAM).

package main

import (
	"fmt"

	"github.com/aws/aws-sdk-go/aws"
	"github.com/aws/aws-sdk-go/aws/awserr"
	"github.com/aws/aws-sdk-go/aws/session"
	"github.com/aws/aws-sdk-go/service/elbv2"
)

func main() {
	svc := elbv2.New(session.New())
	input := &elbv2.CreateListenerInput{
		Certificates: []*elbv2.Certificate{
			{
				CertificateArn: aws.String("arn:aws:iam::123456789012:server-certificate/my-server-cert"),
			},
		},
		DefaultActions: []*elbv2.Action{
			{
				TargetGroupArn: aws.String("arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"),
				Type:           aws.String("forward"),
			},
		},
		LoadBalancerArn: aws.String("arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"),
		Port:            aws.Int64(443),
		Protocol:        aws.String("HTTPS"),
		SslPolicy: