elasticloadbalancingv2

package module
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceAPIVersion = "2015-12-01"
View Source
const ServiceID = "Elastic Load Balancing v2"

Variables

This section is empty.

Functions

func AddResolveEndpointMiddleware

func AddResolveEndpointMiddleware(stack *middleware.Stack, options ResolveEndpointMiddlewareOptions)

func NewDefaultEndpointResolver

func NewDefaultEndpointResolver() *internalendpoints.Resolver

NewDefaultEndpointResolver constructs a new service endpoint resolver

func RemoveResolveEndpointMiddleware

func RemoveResolveEndpointMiddleware(stack *middleware.Stack) error

Types

type AddListenerCertificatesInput

type AddListenerCertificatesInput struct {
	// The Amazon Resource Name (ARN) of the listener.
	ListenerArn *string
	// The certificate to add. You can specify one certificate per call. Set
	// CertificateArn to the certificate ARN but do not set IsDefault.
	Certificates []*types.Certificate
}

type AddListenerCertificatesOutput

type AddListenerCertificatesOutput struct {
	// Information about the certificates in the certificate list.
	Certificates []*types.Certificate

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type AddTagsInput

type AddTagsInput struct {
	// The tags.
	Tags []*types.Tag
	// The Amazon Resource Name (ARN) of the resource.
	ResourceArns []*string
}

type AddTagsOutput

type AddTagsOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type Client

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

Elastic Load Balancing <p>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.</p> <p>Elastic Load Balancing supports the following types of load balancers: Application Load Balancers, Network Load Balancers, and Classic Load Balancers. This reference covers Application Load Balancers and Network Load Balancers.</p> <p>An Application Load Balancer makes routing and load balancing decisions at the application layer (HTTP/HTTPS). A Network Load Balancer makes routing and load balancing decisions at the transport layer (TCP/TLS). Both Application Load Balancers and Network Load Balancers can route requests to one or more ports on each EC2 instance or container instance in your virtual private cloud (VPC). For more information, see the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/">Elastic Load Balancing User Guide</a>.</p> <p>All Elastic Load Balancing operations are idempotent, which means that they complete at most one time. If you repeat an operation, it succeeds.</p>

func New

func New(options Options, optFns ...func(*Options)) *Client

New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.

func NewFromConfig

func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client

NewFromConfig returns a new client from the provided config.

func (*Client) AddListenerCertificates

func (c *Client) AddListenerCertificates(ctx context.Context, params *AddListenerCertificatesInput, optFns ...func(*Options)) (*AddListenerCertificatesOutput, error)

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. To get the certificate list for a listener, use DescribeListenerCertificates (). To remove certificates from the certificate list for a listener, use RemoveListenerCertificates (). To replace the default certificate for a listener, use ModifyListener (). For more information, see SSL Certificates (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#https-listener-certificates) in the Application Load Balancers Guide.

func (*Client) AddTags

func (c *Client) AddTags(ctx context.Context, params *AddTagsInput, optFns ...func(*Options)) (*AddTagsOutput, error)

Adds the specified tags to the specified Elastic Load Balancing resource. You can tag your Application Load Balancers, Network Load Balancers, and your target groups. 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. To list the current tags for your resources, use DescribeTags (). To remove tags from your resources, use RemoveTags ().

func (*Client) CreateListener

func (c *Client) CreateListener(ctx context.Context, params *CreateListenerInput, optFns ...func(*Options)) (*CreateListenerOutput, error)

Creates a listener for the specified Application Load Balancer or Network Load Balancer. To update a listener, use ModifyListener (). When you are finished with a listener, you can delete it using DeleteListener (). If you are finished with both the listener and the load balancer, you can delete them both using DeleteLoadBalancer (). 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. For more information, see Listeners for Your Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html) in the Application Load Balancers Guide and Listeners for Your Network Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-listeners.html) in the Network Load Balancers Guide.

func (*Client) CreateLoadBalancer

func (c *Client) CreateLoadBalancer(ctx context.Context, params *CreateLoadBalancerInput, optFns ...func(*Options)) (*CreateLoadBalancerOutput, error)

Creates an Application Load Balancer or a Network Load Balancer. When you create a load balancer, you can specify security groups, public subnets, IP address type, and tags. Otherwise, you could do so later using SetSecurityGroups (), SetSubnets (), SetIpAddressType (), and AddTags (). To create listeners for your load balancer, use CreateListener (). To describe your current load balancers, see DescribeLoadBalancers (). When you are finished with a load balancer, you can delete it using DeleteLoadBalancer (). For limit information, see Limits for Your Application Load Balancer (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html) in the Application Load Balancers Guide and Limits for Your Network Load Balancer (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-limits.html) in the Network Load Balancers Guide. This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple load balancers with the same settings, each call succeeds. For more information, see Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html) in the Application Load Balancers Guide and Network Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html) in the Network Load Balancers Guide.

func (*Client) CreateRule

func (c *Client) CreateRule(ctx context.Context, params *CreateRuleInput, optFns ...func(*Options)) (*CreateRuleOutput, error)

Creates a rule for the specified listener. The listener must be associated with an Application Load Balancer. Rules are evaluated in priority order, from the lowest value to the highest value. When the conditions for a rule are met, its actions are performed. If the conditions for no rules are met, the actions for the default rule are performed. For more information, see Listener Rules (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#listener-rules) in the Application Load Balancers Guide. To view your current rules, use DescribeRules (). To update a rule, use ModifyRule (). To set the priorities of your rules, use SetRulePriorities (). To delete a rule, use DeleteRule ().

func (*Client) CreateTargetGroup

func (c *Client) CreateTargetGroup(ctx context.Context, params *CreateTargetGroupInput, optFns ...func(*Options)) (*CreateTargetGroupOutput, error)

Creates a target group. To register targets with the target group, use RegisterTargets (). To update the health check settings for the target group, use ModifyTargetGroup (). To monitor the health of targets in the target group, use DescribeTargetHealth (). To route traffic to the targets in a target group, specify the target group in an action using CreateListener () or CreateRule (). To delete a target group, use DeleteTargetGroup (). This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple target groups with the same settings, each call succeeds. For more information, see Target Groups for Your Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html) in the Application Load Balancers Guide or Target Groups for Your Network Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html) in the Network Load Balancers Guide.

func (*Client) DeleteListener

func (c *Client) DeleteListener(ctx context.Context, params *DeleteListenerInput, optFns ...func(*Options)) (*DeleteListenerOutput, error)

Deletes the specified listener. Alternatively, your listener is deleted when you delete the load balancer to which it is attached, using DeleteLoadBalancer ().

func (*Client) DeleteLoadBalancer

func (c *Client) DeleteLoadBalancer(ctx context.Context, params *DeleteLoadBalancerInput, optFns ...func(*Options)) (*DeleteLoadBalancerOutput, error)

Deletes the specified Application Load Balancer or Network Load Balancer and its attached listeners. You can't delete a load balancer if deletion protection is enabled. If the load balancer does not exist or has already been deleted, the call succeeds. Deleting a load balancer does not affect its registered targets. For example, your EC2 instances continue to run and are still registered to their target groups. If you no longer need these EC2 instances, you can stop or terminate them.

func (*Client) DeleteRule

func (c *Client) DeleteRule(ctx context.Context, params *DeleteRuleInput, optFns ...func(*Options)) (*DeleteRuleOutput, error)

Deletes the specified rule.

func (*Client) DeleteTargetGroup

func (c *Client) DeleteTargetGroup(ctx context.Context, params *DeleteTargetGroupInput, optFns ...func(*Options)) (*DeleteTargetGroupOutput, error)

Deletes the specified target group. You can delete a target group if it is not referenced by any actions. Deleting a target group also deletes any associated health checks.

func (*Client) DeregisterTargets

func (c *Client) DeregisterTargets(ctx context.Context, params *DeregisterTargetsInput, optFns ...func(*Options)) (*DeregisterTargetsOutput, error)

Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.

func (*Client) DescribeAccountLimits

func (c *Client) DescribeAccountLimits(ctx context.Context, params *DescribeAccountLimitsInput, optFns ...func(*Options)) (*DescribeAccountLimitsOutput, error)

Describes the current Elastic Load Balancing resource limits for your AWS account. For more information, see Limits for Your Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html) in the Application Load Balancer Guide or Limits for Your Network Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-limits.html) in the Network Load Balancers Guide.

func (*Client) DescribeListenerCertificates

func (c *Client) DescribeListenerCertificates(ctx context.Context, params *DescribeListenerCertificatesInput, optFns ...func(*Options)) (*DescribeListenerCertificatesOutput, error)

Describes the default certificate and the certificate list for the specified HTTPS or TLS listener. If the default certificate is also in the certificate list, it appears twice in the results (once with IsDefault set to true and once with IsDefault set to false). For more information, see SSL Certificates (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#https-listener-certificates) in the Application Load Balancers Guide.

func (*Client) DescribeListeners

func (c *Client) DescribeListeners(ctx context.Context, params *DescribeListenersInput, optFns ...func(*Options)) (*DescribeListenersOutput, error)

Describes the specified listeners or the listeners for the specified Application Load Balancer or Network Load Balancer. You must specify either a load balancer or one or more listeners. For an HTTPS or TLS listener, the output includes the default certificate for the listener. To describe the certificate list for the listener, use DescribeListenerCertificates ().

func (*Client) DescribeLoadBalancerAttributes

func (c *Client) DescribeLoadBalancerAttributes(ctx context.Context, params *DescribeLoadBalancerAttributesInput, optFns ...func(*Options)) (*DescribeLoadBalancerAttributesOutput, error)

Describes the attributes for the specified Application Load Balancer or Network Load Balancer. For more information, see Load Balancer Attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html#load-balancer-attributes) in the Application Load Balancers Guide or Load Balancer Attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#load-balancer-attributes) in the Network Load Balancers Guide.

func (*Client) DescribeLoadBalancers

func (c *Client) DescribeLoadBalancers(ctx context.Context, params *DescribeLoadBalancersInput, optFns ...func(*Options)) (*DescribeLoadBalancersOutput, error)

Describes the specified load balancers or all of your load balancers. To describe the listeners for a load balancer, use DescribeListeners (). To describe the attributes for a load balancer, use DescribeLoadBalancerAttributes ().

func (*Client) DescribeRules

func (c *Client) DescribeRules(ctx context.Context, params *DescribeRulesInput, optFns ...func(*Options)) (*DescribeRulesOutput, error)

Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules.

func (*Client) DescribeSSLPolicies

func (c *Client) DescribeSSLPolicies(ctx context.Context, params *DescribeSSLPoliciesInput, optFns ...func(*Options)) (*DescribeSSLPoliciesOutput, error)

Describes the specified policies or all policies used for SSL negotiation. 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.

func (*Client) DescribeTags

func (c *Client) DescribeTags(ctx context.Context, params *DescribeTagsInput, optFns ...func(*Options)) (*DescribeTagsOutput, error)

Describes the tags for the specified resources. You can describe the tags for one or more Application Load Balancers, Network Load Balancers, and target groups.

func (*Client) DescribeTargetGroupAttributes

func (c *Client) DescribeTargetGroupAttributes(ctx context.Context, params *DescribeTargetGroupAttributesInput, optFns ...func(*Options)) (*DescribeTargetGroupAttributesOutput, error)

Describes the attributes for the specified target group. For more information, see Target Group Attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#target-group-attributes) in the Application Load Balancers Guide or Target Group Attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#target-group-attributes) in the Network Load Balancers Guide.

func (*Client) DescribeTargetGroups

func (c *Client) DescribeTargetGroups(ctx context.Context, params *DescribeTargetGroupsInput, optFns ...func(*Options)) (*DescribeTargetGroupsOutput, error)

Describes the specified target groups or all of your target groups. By default, all target groups are described. Alternatively, you can specify one of the following to filter the results: the ARN of the load balancer, the names of one or more target groups, or the ARNs of one or more target groups. To describe the targets for a target group, use DescribeTargetHealth (). To describe the attributes of a target group, use DescribeTargetGroupAttributes ().

func (*Client) DescribeTargetHealth

func (c *Client) DescribeTargetHealth(ctx context.Context, params *DescribeTargetHealthInput, optFns ...func(*Options)) (*DescribeTargetHealthOutput, error)

Describes the health of the specified targets or all of your targets.

func (*Client) ModifyListener

func (c *Client) ModifyListener(ctx context.Context, params *ModifyListenerInput, optFns ...func(*Options)) (*ModifyListenerOutput, error)

Replaces the specified properties of the specified listener. Any properties that you do not specify remain unchanged. Changing the protocol from HTTPS to HTTP, or from TLS to TCP, removes the security policy and default certificate properties. If you change the protocol from HTTP to HTTPS, or from TCP to TLS, you must add the security policy and default certificate properties. To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire list. For example, to add an action, specify a list with the current actions plus the new action.

func (*Client) ModifyLoadBalancerAttributes

func (c *Client) ModifyLoadBalancerAttributes(ctx context.Context, params *ModifyLoadBalancerAttributesInput, optFns ...func(*Options)) (*ModifyLoadBalancerAttributesOutput, error)

Modifies the specified attributes of the specified Application Load Balancer or Network Load Balancer. If any of the specified attributes can't be modified as requested, the call fails. Any existing attributes that you do not modify retain their current values.

func (*Client) ModifyRule

func (c *Client) ModifyRule(ctx context.Context, params *ModifyRuleInput, optFns ...func(*Options)) (*ModifyRuleOutput, error)

Replaces the specified properties of the specified rule. Any properties that you do not specify are unchanged. To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire list. For example, to add an action, specify a list with the current actions plus the new action. To modify the actions for the default rule, use ModifyListener ().

func (*Client) ModifyTargetGroup

func (c *Client) ModifyTargetGroup(ctx context.Context, params *ModifyTargetGroupInput, optFns ...func(*Options)) (*ModifyTargetGroupOutput, error)

Modifies the health checks used when evaluating the health state of the targets in the specified target group. To monitor the health of the targets, use DescribeTargetHealth ().

func (*Client) ModifyTargetGroupAttributes

func (c *Client) ModifyTargetGroupAttributes(ctx context.Context, params *ModifyTargetGroupAttributesInput, optFns ...func(*Options)) (*ModifyTargetGroupAttributesOutput, error)

Modifies the specified attributes of the specified target group.

func (*Client) RegisterTargets

func (c *Client) RegisterTargets(ctx context.Context, params *RegisterTargetsInput, optFns ...func(*Options)) (*RegisterTargetsOutput, error)

Registers the specified targets with the specified target group. <p>If the target is an EC2 instance, it must be in the <code>running</code> state when you register it.</p> <p>By default, the load balancer routes requests to registered targets using the protocol and port for the target group. Alternatively, you can override the port for a target when you register it. You can register each EC2 instance or IP address with the same target group multiple times using different ports.</p> <p>With a Network Load Balancer, you cannot register instances by instance ID if they have the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1. You can register instances of these types by IP address.</p> <p>To remove a target from a target group, use <a>DeregisterTargets</a>.</p>

func (*Client) RemoveListenerCertificates

func (c *Client) RemoveListenerCertificates(ctx context.Context, params *RemoveListenerCertificatesInput, optFns ...func(*Options)) (*RemoveListenerCertificatesOutput, error)

Removes the specified certificate from the certificate list for the specified HTTPS or TLS listener. You can't remove the default certificate for a listener. To replace the default certificate, call ModifyListener (). To list the certificates for your listener, use DescribeListenerCertificates ().

func (*Client) RemoveTags

func (c *Client) RemoveTags(ctx context.Context, params *RemoveTagsInput, optFns ...func(*Options)) (*RemoveTagsOutput, error)

Removes the specified tags from the specified Elastic Load Balancing resource. To list the current tags for your resources, use DescribeTags ().

func (*Client) SetIpAddressType

func (c *Client) SetIpAddressType(ctx context.Context, params *SetIpAddressTypeInput, optFns ...func(*Options)) (*SetIpAddressTypeOutput, error)

Sets the type of IP addresses used by the subnets of the specified Application Load Balancer or Network Load Balancer.

func (*Client) SetRulePriorities

func (c *Client) SetRulePriorities(ctx context.Context, params *SetRulePrioritiesInput, optFns ...func(*Options)) (*SetRulePrioritiesOutput, error)

Sets the priorities of the specified rules. You can reorder the rules as long as there are no priority conflicts in the new order. Any existing rules that you do not specify retain their current priority.

func (*Client) SetSecurityGroups

func (c *Client) SetSecurityGroups(ctx context.Context, params *SetSecurityGroupsInput, optFns ...func(*Options)) (*SetSecurityGroupsOutput, error)

Associates the specified security groups with the specified Application Load Balancer. The specified security groups override the previously associated security groups. You can't specify a security group for a Network Load Balancer.

func (*Client) SetSubnets

func (c *Client) SetSubnets(ctx context.Context, params *SetSubnetsInput, optFns ...func(*Options)) (*SetSubnetsOutput, error)

Enables the Availability Zones for the specified public subnets for the specified load balancer. The specified subnets replace the previously enabled subnets. When you specify subnets for a Network Load Balancer, you must include all subnets that were enabled previously, with their existing configurations, plus any additional subnets.

type CreateListenerInput

type CreateListenerInput struct {
	// The Amazon Resource Name (ARN) of the load balancer.
	LoadBalancerArn *string
	// [HTTPS and TLS listeners] The security policy that defines which protocols and
	// ciphers are supported. The following are the possible values:
	//
	//     *
	// ELBSecurityPolicy-2016-08
	//
	//     * ELBSecurityPolicy-TLS-1-0-2015-04
	//
	//     *
	// ELBSecurityPolicy-TLS-1-1-2017-01
	//
	//     * ELBSecurityPolicy-TLS-1-2-2017-01
	//
	//
	// * ELBSecurityPolicy-TLS-1-2-Ext-2018-06
	//
	//     * ELBSecurityPolicy-FS-2018-06
	//
	//
	// * ELBSecurityPolicy-FS-1-1-2019-08
	//
	//     * ELBSecurityPolicy-FS-1-2-2019-08
	//
	//
	// * ELBSecurityPolicy-FS-1-2-Res-2019-08
	//
	// 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
	// The port on which the load balancer is listening.
	Port *int32
	// The actions for the default rule. The rule must include one forward action or
	// one or more fixed-response actions. If the action type is forward, you specify
	// one or more target groups. The protocol of the target group must be HTTP or
	// HTTPS for an Application Load Balancer. The protocol of the target group must be
	// TCP, TLS, UDP, or TCP_UDP for a Network Load Balancer. [HTTPS listeners] If the
	// action type is authenticate-oidc, you authenticate users through an identity
	// provider that is OpenID Connect (OIDC) compliant. [HTTPS listeners] If the
	// action type is authenticate-cognito, you authenticate users through the user
	// pools supported by Amazon Cognito. [Application Load Balancer] If the action
	// type is redirect, you redirect specified client requests from one URL to
	// another. [Application Load Balancer] If the action type is fixed-response, you
	// drop specified client requests and return a custom HTTP response.
	DefaultActions []*types.Action
	// [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
	// 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.
	Protocol types.ProtocolEnum
	// [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. To create a certificate list for the listener, use
	// AddListenerCertificates ().
	Certificates []*types.Certificate
}

type CreateListenerOutput

type CreateListenerOutput struct {
	// Information about the listener.
	Listeners []*types.Listener

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateLoadBalancerInput

type CreateLoadBalancerInput struct {
	// [Application Load Balancers] The type of IP addresses used by the subnets for
	// your load balancer. The possible values are ipv4 (for IPv4 addresses) and
	// dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use ipv4.
	IpAddressType types.IpAddressType
	// One or more tags to assign to the load balancer.
	Tags []*types.Tag
	// The type of load balancer. The default is application.
	Type types.LoadBalancerTypeEnum
	// [Application Load Balancers] The IDs of the security groups for the load
	// balancer.
	SecurityGroups []*string
	// 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.
	Scheme types.LoadBalancerSchemeEnum
	// The IDs of the public subnets. You can specify only one subnet per Availability
	// Zone. You must specify either subnets or subnet mappings. [Application Load
	// Balancers] You must specify subnets from at least two Availability Zones.
	// [Network Load Balancers] You can specify subnets from one or more Availability
	// Zones.
	Subnets []*string
	// The IDs of the public subnets. You can specify only one subnet per Availability
	// Zone. You must specify either subnets or subnet mappings. [Application Load
	// Balancers] You must specify subnets from at least two Availability Zones. You
	// cannot specify Elastic IP addresses for your subnets. [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.
	SubnetMappings []*types.SubnetMapping
	// 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 *string
}

type CreateLoadBalancerOutput

type CreateLoadBalancerOutput struct {
	// Information about the load balancer.
	LoadBalancers []*types.LoadBalancer

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateRuleInput

type CreateRuleInput struct {
	// The actions. 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. If the action type is forward, you specify one or more target
	// groups. The protocol of the target group must be HTTP or HTTPS for an
	// Application Load Balancer. The protocol of the target group must be TCP, TLS,
	// UDP, or TCP_UDP for a Network Load Balancer. [HTTPS listeners] If the action
	// type is authenticate-oidc, you authenticate users through an identity provider
	// that is OpenID Connect (OIDC) compliant. [HTTPS listeners] If the action type is
	// authenticate-cognito, you authenticate users through the user pools supported by
	// Amazon Cognito. [Application Load Balancer] If the action type is redirect, you
	// redirect specified client requests from one URL to another. [Application Load
	// Balancer] If the action type is fixed-response, you drop specified client
	// requests and return a custom HTTP response.
	Actions []*types.Action
	// The conditions. Each rule can include zero or one of the following conditions:
	// http-request-method, host-header, path-pattern, and source-ip, and zero or more
	// of the following conditions: http-header and query-string.
	Conditions []*types.RuleCondition
	// The rule priority. A listener can't have multiple rules with the same priority.
	Priority *int32
	// The Amazon Resource Name (ARN) of the listener.
	ListenerArn *string
}

type CreateRuleOutput

type CreateRuleOutput struct {
	// Information about the rule.
	Rules []*types.Rule

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type CreateTargetGroupInput

type CreateTargetGroupInput struct {
	// [HTTP/HTTPS health checks] The HTTP codes to use when checking for a successful
	// response from a target.
	Matcher *types.Matcher
	// 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 or ip, health checks are always enabled and cannot be disabled.
	HealthCheckEnabled *bool
	// 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 - Targets are specified by instance ID. This is the
	// default value. If the target group protocol is UDP or TCP_UDP, the target type
	// must be instance.
	//
	//     * ip - Targets are specified 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 - The target groups contains a
	// single Lambda function.
	TargetType types.TargetTypeEnum
	// The number of consecutive health check failures required before considering a
	// target unhealthy. For target groups with a protocol of HTTP or HTTPS, the
	// default is 2. For target groups with a protocol of TCP or TLS, this value must
	// be the same as the healthy threshold count. If the target type is lambda, the
	// default is 2.
	UnhealthyThresholdCount *int32
	// The approximate amount of time, in seconds, between health checks of an
	// individual target. For HTTP and HTTPS health checks, the range is 5–300 seconds.
	// For TCP health checks, the supported values are 10 and 30 seconds. If the target
	// type is instance or ip, the default is 30 seconds. If the target type is lambda,
	// the default is 35 seconds.
	HealthCheckIntervalSeconds *int32
	// The port the load balancer uses when performing health checks on targets. The
	// default is traffic-port, which is the port on which each target receives traffic
	// from the load balancer.
	HealthCheckPort *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,
	// the default is TCP. The TCP protocol is supported for health checks only if the
	// protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The TLS, UDP, and
	// TCP_UDP protocols are not supported for health checks.
	HealthCheckProtocol types.ProtocolEnum
	// [HTTP/HTTPS health checks] The ping path that is the destination on the targets
	// for health checks. The default is /.
	HealthCheckPath *string
	// 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.
	Port *int32
	// 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. 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 types.ProtocolEnum
	// The amount of time, in seconds, during which no response from a target means a
	// failed health check. For target groups with a protocol of HTTP or HTTPS, the
	// default is 5 seconds. For target groups with a protocol of TCP or TLS, this
	// value must be 6 seconds for HTTP health checks and 10 seconds for TCP and HTTPS
	// health checks. If the target type is lambda, the default is 30 seconds.
	HealthCheckTimeoutSeconds *int32
	// 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 *string
	// The number of consecutive health checks successes required before considering an
	// unhealthy target healthy. For target groups with a protocol of HTTP or HTTPS,
	// the default is 5. For target groups with a protocol of TCP or TLS, the default
	// is 3. If the target type is lambda, the default is 5.
	HealthyThresholdCount *int32
	// 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 CreateTargetGroupOutput

type CreateTargetGroupOutput struct {
	// Information about the target group.
	TargetGroups []*types.TargetGroup

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteListenerInput

type DeleteListenerInput struct {
	// The Amazon Resource Name (ARN) of the listener.
	ListenerArn *string
}

type DeleteListenerOutput

type DeleteListenerOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteLoadBalancerInput

type DeleteLoadBalancerInput struct {
	// The Amazon Resource Name (ARN) of the load balancer.
	LoadBalancerArn *string
}

type DeleteLoadBalancerOutput

type DeleteLoadBalancerOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteRuleInput

type DeleteRuleInput struct {
	// The Amazon Resource Name (ARN) of the rule.
	RuleArn *string
}

type DeleteRuleOutput

type DeleteRuleOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeleteTargetGroupInput

type DeleteTargetGroupInput struct {
	// The Amazon Resource Name (ARN) of the target group.
	TargetGroupArn *string
}

type DeleteTargetGroupOutput

type DeleteTargetGroupOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DeregisterTargetsInput

type DeregisterTargetsInput struct {
	// 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 []*types.TargetDescription
	// The Amazon Resource Name (ARN) of the target group.
	TargetGroupArn *string
}

type DeregisterTargetsOutput

type DeregisterTargetsOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeAccountLimitsInput

type DescribeAccountLimitsInput struct {
	// The marker for the next set of results. (You received this marker from a
	// previous call.)
	Marker *string
	// The maximum number of results to return with this call.
	PageSize *int32
}

type DescribeAccountLimitsOutput

type DescribeAccountLimitsOutput struct {
	// Information about the limits.
	Limits []*types.Limit
	// If there are additional results, this is the marker for the next set of results.
	// Otherwise, this is null.
	NextMarker *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeListenerCertificatesInput

type DescribeListenerCertificatesInput struct {
	// The marker for the next set of results. (You received this marker from a
	// previous call.)
	Marker *string
	// The maximum number of results to return with this call.
	PageSize *int32
	// The Amazon Resource Names (ARN) of the listener.
	ListenerArn *string
}

type DescribeListenerCertificatesOutput

type DescribeListenerCertificatesOutput struct {
	// Information about the certificates.
	Certificates []*types.Certificate
	// If there are additional results, this is the marker for the next set of results.
	// Otherwise, this is null.
	NextMarker *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeListenersInput

type DescribeListenersInput struct {
	// The marker for the next set of results. (You received this marker from a
	// previous call.)
	Marker *string
	// The Amazon Resource Names (ARN) of the listeners.
	ListenerArns []*string
	// The maximum number of results to return with this call.
	PageSize *int32
	// The Amazon Resource Name (ARN) of the load balancer.
	LoadBalancerArn *string
}

type DescribeListenersOutput

type DescribeListenersOutput struct {
	// Information about the listeners.
	Listeners []*types.Listener
	// If there are additional results, this is the marker for the next set of results.
	// Otherwise, this is null.
	NextMarker *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeLoadBalancerAttributesInput

type DescribeLoadBalancerAttributesInput struct {
	// The Amazon Resource Name (ARN) of the load balancer.
	LoadBalancerArn *string
}

type DescribeLoadBalancerAttributesOutput

type DescribeLoadBalancerAttributesOutput struct {
	// Information about the load balancer attributes.
	Attributes []*types.LoadBalancerAttribute

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeLoadBalancersInput

type DescribeLoadBalancersInput struct {
	// The marker for the next set of results. (You received this marker from a
	// previous call.)
	Marker *string
	// The maximum number of results to return with this call.
	PageSize *int32
	// The names of the load balancers.
	Names []*string
	// The Amazon Resource Names (ARN) of the load balancers. You can specify up to 20
	// load balancers in a single call.
	LoadBalancerArns []*string
}

type DescribeLoadBalancersOutput

type DescribeLoadBalancersOutput struct {
	// Information about the load balancers.
	LoadBalancers []*types.LoadBalancer
	// If there are additional results, this is the marker for the next set of results.
	// Otherwise, this is null.
	NextMarker *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeRulesInput

type DescribeRulesInput struct {
	// The marker for the next set of results. (You received this marker from a
	// previous call.)
	Marker *string
	// The maximum number of results to return with this call.
	PageSize *int32
	// The Amazon Resource Names (ARN) of the rules.
	RuleArns []*string
	// The Amazon Resource Name (ARN) of the listener.
	ListenerArn *string
}

type DescribeRulesOutput

type DescribeRulesOutput struct {
	// Information about the rules.
	Rules []*types.Rule
	// If there are additional results, this is the marker for the next set of results.
	// Otherwise, this is null.
	NextMarker *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeSSLPoliciesInput

type DescribeSSLPoliciesInput struct {
	// The marker for the next set of results. (You received this marker from a
	// previous call.)
	Marker *string
	// The maximum number of results to return with this call.
	PageSize *int32
	// The names of the policies.
	Names []*string
}

type DescribeSSLPoliciesOutput

type DescribeSSLPoliciesOutput struct {
	// Information about the security policies.
	SslPolicies []*types.SslPolicy
	// If there are additional results, this is the marker for the next set of results.
	// Otherwise, this is null.
	NextMarker *string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

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 []*string
}

type DescribeTagsOutput

type DescribeTagsOutput struct {
	// Information about the tags.
	TagDescriptions []*types.TagDescription

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeTargetGroupAttributesInput

type DescribeTargetGroupAttributesInput struct {
	// The Amazon Resource Name (ARN) of the target group.
	TargetGroupArn *string
}

type DescribeTargetGroupAttributesOutput

type DescribeTargetGroupAttributesOutput struct {
	// Information about the target group attributes
	Attributes []*types.TargetGroupAttribute

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeTargetGroupsInput

type DescribeTargetGroupsInput struct {
	// The marker for the next set of results. (You received this marker from a
	// previous call.)
	Marker *string
	// The names of the target groups.
	Names []*string
	// The Amazon Resource Name (ARN) of the load balancer.
	LoadBalancerArn *string
	// The maximum number of results to return with this call.
	PageSize *int32
	// The Amazon Resource Names (ARN) of the target groups.
	TargetGroupArns []*string
}

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
	// Information about the target groups.
	TargetGroups []*types.TargetGroup

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type DescribeTargetHealthInput

type DescribeTargetHealthInput struct {
	// The targets.
	Targets []*types.TargetDescription
	// The Amazon Resource Name (ARN) of the target group.
	TargetGroupArn *string
}

type DescribeTargetHealthOutput

type DescribeTargetHealthOutput struct {
	// Information about the health of the targets.
	TargetHealthDescriptions []*types.TargetHealthDescription

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type EndpointResolver

type EndpointResolver interface {
	ResolveEndpoint(region string, options ResolverOptions) (aws.Endpoint, error)
}

EndpointResolver interface for resolving service endpoints.

func WithEndpointResolver

func WithEndpointResolver(awsResolver aws.EndpointResolver, fallbackResolver EndpointResolver) EndpointResolver

WithEndpointResolver returns an EndpointResolver that first delegates endpoint resolution to the awsResolver. If awsResolver returns aws.EndpointNotFoundError error, the resolver will use the the provided fallbackResolver for resolution. awsResolver and fallbackResolver must not be nil

type EndpointResolverFunc

type EndpointResolverFunc func(region string, options ResolverOptions) (aws.Endpoint, error)

EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.

func (EndpointResolverFunc) ResolveEndpoint

func (fn EndpointResolverFunc) ResolveEndpoint(region string, options ResolverOptions) (endpoint aws.Endpoint, err error)

type HTTPClient

type HTTPClient interface {
	Do(*http.Request) (*http.Response, error)
}

type HTTPSignerV4

type HTTPSignerV4 interface {
	SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time) error
}

type ModifyListenerInput

type ModifyListenerInput struct {
	// The port for connections from clients to the load balancer.
	Port *int32
	// The actions for the default rule. The rule must include one forward action or
	// one or more fixed-response actions. If the action type is forward, you specify
	// one or more target groups. The protocol of the target group must be HTTP or
	// HTTPS for an Application Load Balancer. The protocol of the target group must be
	// TCP, TLS, UDP, or TCP_UDP for a Network Load Balancer. [HTTPS listeners] If the
	// action type is authenticate-oidc, you authenticate users through an identity
	// provider that is OpenID Connect (OIDC) compliant. [HTTPS listeners] If the
	// action type is authenticate-cognito, you authenticate users through the user
	// pools supported by Amazon Cognito. [Application Load Balancer] If the action
	// type is redirect, you redirect specified client requests from one URL to
	// another. [Application Load Balancer] If the action type is fixed-response, you
	// drop specified client requests and return a custom HTTP response.
	DefaultActions []*types.Action
	// [HTTPS and TLS listeners] The security policy that defines which protocols and
	// ciphers are supported. The following are the possible values:
	//
	//     *
	// ELBSecurityPolicy-2016-08
	//
	//     * ELBSecurityPolicy-TLS-1-0-2015-04
	//
	//     *
	// ELBSecurityPolicy-TLS-1-1-2017-01
	//
	//     * ELBSecurityPolicy-TLS-1-2-2017-01
	//
	//
	// * ELBSecurityPolicy-TLS-1-2-Ext-2018-06
	//
	//     * ELBSecurityPolicy-FS-2018-06
	//
	//
	// * ELBSecurityPolicy-FS-1-1-2019-08
	//
	//     * ELBSecurityPolicy-FS-1-2-2019-08
	//
	//
	// * ELBSecurityPolicy-FS-1-2-Res-2019-08
	//
	// 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
	// The protocol for connections from clients to the load balancer. Application Load
	// Balancers support the HTTP and HTTPS protocols. Network Load Balancers support
	// the TCP, TLS, UDP, and TCP_UDP protocols.
	Protocol types.ProtocolEnum
	// [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
	// The Amazon Resource Name (ARN) of the listener.
	ListenerArn *string
	// [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. To create a certificate list, use AddListenerCertificates
	// ().
	Certificates []*types.Certificate
}

type ModifyListenerOutput

type ModifyListenerOutput struct {
	// Information about the modified listener.
	Listeners []*types.Listener

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ModifyLoadBalancerAttributesInput

type ModifyLoadBalancerAttributesInput struct {
	// The load balancer attributes.
	Attributes []*types.LoadBalancerAttribute
	// The Amazon Resource Name (ARN) of the load balancer.
	LoadBalancerArn *string
}

type ModifyLoadBalancerAttributesOutput

type ModifyLoadBalancerAttributesOutput struct {
	// Information about the load balancer attributes.
	Attributes []*types.LoadBalancerAttribute

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ModifyRuleInput

type ModifyRuleInput struct {
	// The Amazon Resource Name (ARN) of the rule.
	RuleArn *string
	// The conditions. Each rule can include zero or one of the following conditions:
	// http-request-method, host-header, path-pattern, and source-ip, and zero or more
	// of the following conditions: http-header and query-string.
	Conditions []*types.RuleCondition
	// The actions. 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. If the action type is forward, you specify one or more target
	// groups. The protocol of the target group must be HTTP or HTTPS for an
	// Application Load Balancer. The protocol of the target group must be TCP, TLS,
	// UDP, or TCP_UDP for a Network Load Balancer. [HTTPS listeners] If the action
	// type is authenticate-oidc, you authenticate users through an identity provider
	// that is OpenID Connect (OIDC) compliant. [HTTPS listeners] If the action type is
	// authenticate-cognito, you authenticate users through the user pools supported by
	// Amazon Cognito. [Application Load Balancer] If the action type is redirect, you
	// redirect specified client requests from one URL to another. [Application Load
	// Balancer] If the action type is fixed-response, you drop specified client
	// requests and return a custom HTTP response.
	Actions []*types.Action
}

type ModifyRuleOutput

type ModifyRuleOutput struct {
	// Information about the modified rule.
	Rules []*types.Rule

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ModifyTargetGroupAttributesInput

type ModifyTargetGroupAttributesInput struct {
	// The Amazon Resource Name (ARN) of the target group.
	TargetGroupArn *string
	// The attributes.
	Attributes []*types.TargetGroupAttribute
}

type ModifyTargetGroupAttributesOutput

type ModifyTargetGroupAttributesOutput struct {
	// Information about the attributes.
	Attributes []*types.TargetGroupAttribute

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ModifyTargetGroupInput

type ModifyTargetGroupInput struct {
	// The number of consecutive health check failures required before considering the
	// target unhealthy. For Network Load Balancers, this value must be the same as the
	// healthy threshold count.
	UnhealthyThresholdCount *int32
	// [HTTP/HTTPS health checks] The amount of time, in seconds, during which no
	// response means a failed health check. With Network Load Balancers, you can't
	// modify this setting.
	HealthCheckTimeoutSeconds *int32
	// The approximate amount of time, in seconds, between health checks of an
	// individual target. For Application Load Balancers, the range is 5 to 300
	// seconds. For Network Load Balancers, the supported values are 10 or 30 seconds.
	// With Network Load Balancers, you can't modify this setting.
	HealthCheckIntervalSeconds *int32
	// Indicates whether health checks are enabled.
	HealthCheckEnabled *bool
	// [HTTP/HTTPS health checks] The HTTP codes to use when checking for a successful
	// response from a target. With Network Load Balancers, you can't modify this
	// setting.
	Matcher *types.Matcher
	// The number of consecutive health checks successes required before considering an
	// unhealthy target healthy.
	HealthyThresholdCount *int32
	// [HTTP/HTTPS health checks] The ping path that is the destination for the health
	// check request.
	HealthCheckPath *string
	// The Amazon Resource Name (ARN) of the target group.
	TargetGroupArn *string
	// The protocol the load balancer uses when performing health checks on targets.
	// The TCP protocol is supported for health checks only if the protocol of the
	// target group is TCP, TLS, UDP, or TCP_UDP. The TLS, UDP, and TCP_UDP protocols
	// are not supported for health checks. With Network Load Balancers, you can't
	// modify this setting.
	HealthCheckProtocol types.ProtocolEnum
	// The port the load balancer uses when performing health checks on targets.
	HealthCheckPort *string
}

type ModifyTargetGroupOutput

type ModifyTargetGroupOutput struct {
	// Information about the modified target group.
	TargetGroups []*types.TargetGroup

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type Options

type Options struct {
	// Set of options to modify how an operation is invoked. These apply to all
	// operations invoked for this client. Use functional options on operation call to
	// modify this list for per operation behavior.
	APIOptions []func(*middleware.Stack) error

	// The credentials object to use when signing requests.
	Credentials aws.CredentialsProvider

	// The endpoint options to be used when attempting to resolve an endpoint.
	EndpointOptions ResolverOptions

	// The service endpoint resolver.
	EndpointResolver EndpointResolver

	// Signature Version 4 (SigV4) Signer
	HTTPSignerV4 HTTPSignerV4

	// The region to send requests to. (Required)
	Region string

	// Retryer guides how HTTP requests should be retried in case of recoverable
	// failures. When nil the API client will use a default retryer.
	Retryer retry.Retryer

	// The HTTP client to invoke API calls with. Defaults to client's default HTTP
	// implementation if nil.
	HTTPClient HTTPClient
}

func (Options) Copy

func (o Options) Copy() Options

Copy creates a clone where the APIOptions list is deep copied.

func (Options) GetCredentials

func (o Options) GetCredentials() aws.CredentialsProvider

func (Options) GetEndpointOptions

func (o Options) GetEndpointOptions() ResolverOptions

func (Options) GetEndpointResolver

func (o Options) GetEndpointResolver() EndpointResolver

func (Options) GetHTTPSignerV4

func (o Options) GetHTTPSignerV4() HTTPSignerV4

func (Options) GetRegion

func (o Options) GetRegion() string

func (Options) GetRetryer

func (o Options) GetRetryer() retry.Retryer

type RegisterTargetsInput

type RegisterTargetsInput struct {
	// The targets. To register a target by instance ID, specify the instance ID. To
	// register a target by IP address, specify the IP address. To register a Lambda
	// function, specify the ARN of the Lambda function.
	Targets []*types.TargetDescription
	// The Amazon Resource Name (ARN) of the target group.
	TargetGroupArn *string
}

type RegisterTargetsOutput

type RegisterTargetsOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type RemoveListenerCertificatesInput

type RemoveListenerCertificatesInput struct {
	// The certificate to remove. You can specify one certificate per call. Set
	// CertificateArn to the certificate ARN but do not set IsDefault.
	Certificates []*types.Certificate
	// The Amazon Resource Name (ARN) of the listener.
	ListenerArn *string
}

type RemoveListenerCertificatesOutput

type RemoveListenerCertificatesOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type RemoveTagsInput

type RemoveTagsInput struct {
	// The tag keys for the tags to remove.
	TagKeys []*string
	// The Amazon Resource Name (ARN) of the resource.
	ResourceArns []*string
}

type RemoveTagsOutput

type RemoveTagsOutput struct {
	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type ResolveEndpoint

type ResolveEndpoint struct {
	Resolver EndpointResolver
	Options  ResolverOptions
}

func (*ResolveEndpoint) HandleSerialize

func (*ResolveEndpoint) ID

func (*ResolveEndpoint) ID() string

type ResolveEndpointMiddlewareOptions

type ResolveEndpointMiddlewareOptions interface {
	GetEndpointResolver() EndpointResolver
	GetEndpointOptions() ResolverOptions
}

type ResolverOptions

type ResolverOptions = internalendpoints.Options

ResolverOptions is the service endpoint resolver options

type SetIpAddressTypeInput

type SetIpAddressTypeInput struct {
	// The Amazon Resource Name (ARN) of the load balancer.
	LoadBalancerArn *string
	// The IP address type. The possible values are ipv4 (for IPv4 addresses) and
	// dualstack (for IPv4 and IPv6 addresses). Internal load balancers must use ipv4.
	// Network Load Balancers must use ipv4.
	IpAddressType types.IpAddressType
}

type SetIpAddressTypeOutput

type SetIpAddressTypeOutput struct {
	// The IP address type.
	IpAddressType types.IpAddressType

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type SetRulePrioritiesInput

type SetRulePrioritiesInput struct {
	// The rule priorities.
	RulePriorities []*types.RulePriorityPair
}

type SetRulePrioritiesOutput

type SetRulePrioritiesOutput struct {
	// Information about the rules.
	Rules []*types.Rule

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type SetSecurityGroupsInput

type SetSecurityGroupsInput struct {
	// The Amazon Resource Name (ARN) of the load balancer.
	LoadBalancerArn *string
	// The IDs of the security groups.
	SecurityGroups []*string
}

type SetSecurityGroupsOutput

type SetSecurityGroupsOutput struct {
	// The IDs of the security groups associated with the load balancer.
	SecurityGroupIds []*string

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

type SetSubnetsInput

type SetSubnetsInput struct {
	// The Amazon Resource Name (ARN) of the load balancer.
	LoadBalancerArn *string
	// The IDs of the public subnets. You must specify subnets from at least two
	// Availability Zones. You can specify only one subnet per Availability Zone. You
	// must specify either subnets or subnet mappings.
	Subnets []*string
	// The IDs of the public subnets. You can specify only one subnet per Availability
	// Zone. You must specify either subnets or subnet mappings. [Application Load
	// Balancers] You must specify subnets from at least two Availability Zones. You
	// cannot specify Elastic IP addresses for your subnets. [Network Load Balancers]
	// You can specify subnets from one or more Availability Zones. If you need static
	// IP addresses for your internet-facing load balancer, you can specify one Elastic
	// IP address per subnet. For internal load balancers, you can specify one private
	// IP address per subnet from the IPv4 range of the subnet.
	SubnetMappings []*types.SubnetMapping
}

type SetSubnetsOutput

type SetSubnetsOutput struct {
	// Information about the subnet and Availability Zone.
	AvailabilityZones []*types.AvailabilityZone

	// Metadata pertaining to the operation's result.
	ResultMetadata middleware.Metadata
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL