Documentation ¶
Overview ¶
Package elb provides the client and types for making API requests to Elastic Load Balancing.
A load balancer can distribute incoming traffic across your EC2 instances. This enables you to increase the availability of your application. The load balancer also monitors the health of its registered instances and ensures that it routes traffic only to healthy instances. 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 and a protocol and port number for connections from the load balancer to the instances.
Elastic Load Balancing supports three types of load balancers: Application Load Balancers, Network Load Balancers, and Classic Load Balancers. You can select a load balancer based on your application needs. For more information, see the Elastic Load Balancing User Guide (http://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/).
This reference covers the 2012-06-01 API, which supports Classic Load Balancers. The 2015-12-01 API supports Application Load Balancers and Network Load Balancers.
To get started, create a load balancer with one or more listeners using CreateLoadBalancer. Register your instances with the load balancer using RegisterInstancesWithLoadBalancer.
All Elastic Load Balancing operations are idempotent, which means that they complete at most one time. If you repeat an operation, it succeeds with a 200 OK response code.
See https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01 for more information on this service.
See elb package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/elb/
Using the Client ¶
To 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 ELB for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/elb/#New
Index ¶
- Constants
- type AccessLog
- type AddTagsInput
- type AddTagsOutput
- type AddTagsRequest
- type AdditionalAttribute
- type AppCookieStickinessPolicy
- type ApplySecurityGroupsToLoadBalancerInput
- type ApplySecurityGroupsToLoadBalancerOutput
- type ApplySecurityGroupsToLoadBalancerRequest
- type AttachLoadBalancerToSubnetsInput
- type AttachLoadBalancerToSubnetsOutput
- type AttachLoadBalancerToSubnetsRequest
- type BackendServerDescription
- type ConfigureHealthCheckInput
- type ConfigureHealthCheckOutput
- type ConfigureHealthCheckRequest
- type ConnectionDraining
- type ConnectionSettings
- type CreateAppCookieStickinessPolicyInput
- type CreateAppCookieStickinessPolicyOutput
- type CreateAppCookieStickinessPolicyRequest
- type CreateLBCookieStickinessPolicyInput
- type CreateLBCookieStickinessPolicyOutput
- type CreateLBCookieStickinessPolicyRequest
- type CreateLoadBalancerInput
- type CreateLoadBalancerListenersInput
- type CreateLoadBalancerListenersOutput
- type CreateLoadBalancerListenersRequest
- type CreateLoadBalancerOutput
- type CreateLoadBalancerPolicyInput
- type CreateLoadBalancerPolicyOutput
- type CreateLoadBalancerPolicyRequest
- type CreateLoadBalancerRequest
- type CrossZoneLoadBalancing
- type DeleteLoadBalancerInput
- type DeleteLoadBalancerListenersInput
- type DeleteLoadBalancerListenersOutput
- type DeleteLoadBalancerListenersRequest
- type DeleteLoadBalancerOutput
- type DeleteLoadBalancerPolicyInput
- type DeleteLoadBalancerPolicyOutput
- type DeleteLoadBalancerPolicyRequest
- type DeleteLoadBalancerRequest
- type DeregisterInstancesFromLoadBalancerInput
- type DeregisterInstancesFromLoadBalancerOutput
- type DeregisterInstancesFromLoadBalancerRequest
- type DescribeAccountLimitsInput
- type DescribeAccountLimitsOutput
- type DescribeAccountLimitsRequest
- type DescribeInstanceHealthInput
- type DescribeInstanceHealthOutput
- type DescribeInstanceHealthRequest
- type DescribeLoadBalancerAttributesInput
- type DescribeLoadBalancerAttributesOutput
- type DescribeLoadBalancerAttributesRequest
- type DescribeLoadBalancerPoliciesInput
- type DescribeLoadBalancerPoliciesOutput
- type DescribeLoadBalancerPoliciesRequest
- type DescribeLoadBalancerPolicyTypesInput
- type DescribeLoadBalancerPolicyTypesOutput
- type DescribeLoadBalancerPolicyTypesRequest
- type DescribeLoadBalancersInput
- type DescribeLoadBalancersOutput
- type DescribeLoadBalancersPager
- type DescribeLoadBalancersRequest
- type DescribeTagsInput
- type DescribeTagsOutput
- type DescribeTagsRequest
- type DetachLoadBalancerFromSubnetsInput
- type DetachLoadBalancerFromSubnetsOutput
- type DetachLoadBalancerFromSubnetsRequest
- type DisableAvailabilityZonesForLoadBalancerInput
- type DisableAvailabilityZonesForLoadBalancerOutput
- type DisableAvailabilityZonesForLoadBalancerRequest
- type ELB
- func (c *ELB) AddTagsRequest(input *AddTagsInput) AddTagsRequest
- func (c *ELB) ApplySecurityGroupsToLoadBalancerRequest(input *ApplySecurityGroupsToLoadBalancerInput) ApplySecurityGroupsToLoadBalancerRequest
- func (c *ELB) AttachLoadBalancerToSubnetsRequest(input *AttachLoadBalancerToSubnetsInput) AttachLoadBalancerToSubnetsRequest
- func (c *ELB) ConfigureHealthCheckRequest(input *ConfigureHealthCheckInput) ConfigureHealthCheckRequest
- func (c *ELB) CreateAppCookieStickinessPolicyRequest(input *CreateAppCookieStickinessPolicyInput) CreateAppCookieStickinessPolicyRequest
- func (c *ELB) CreateLBCookieStickinessPolicyRequest(input *CreateLBCookieStickinessPolicyInput) CreateLBCookieStickinessPolicyRequest
- func (c *ELB) CreateLoadBalancerListenersRequest(input *CreateLoadBalancerListenersInput) CreateLoadBalancerListenersRequest
- func (c *ELB) CreateLoadBalancerPolicyRequest(input *CreateLoadBalancerPolicyInput) CreateLoadBalancerPolicyRequest
- func (c *ELB) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) CreateLoadBalancerRequest
- func (c *ELB) DeleteLoadBalancerListenersRequest(input *DeleteLoadBalancerListenersInput) DeleteLoadBalancerListenersRequest
- func (c *ELB) DeleteLoadBalancerPolicyRequest(input *DeleteLoadBalancerPolicyInput) DeleteLoadBalancerPolicyRequest
- func (c *ELB) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) DeleteLoadBalancerRequest
- func (c *ELB) DeregisterInstancesFromLoadBalancerRequest(input *DeregisterInstancesFromLoadBalancerInput) DeregisterInstancesFromLoadBalancerRequest
- func (c *ELB) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput) DescribeAccountLimitsRequest
- func (c *ELB) DescribeInstanceHealthRequest(input *DescribeInstanceHealthInput) DescribeInstanceHealthRequest
- func (c *ELB) DescribeLoadBalancerAttributesRequest(input *DescribeLoadBalancerAttributesInput) DescribeLoadBalancerAttributesRequest
- func (c *ELB) DescribeLoadBalancerPoliciesRequest(input *DescribeLoadBalancerPoliciesInput) DescribeLoadBalancerPoliciesRequest
- func (c *ELB) DescribeLoadBalancerPolicyTypesRequest(input *DescribeLoadBalancerPolicyTypesInput) DescribeLoadBalancerPolicyTypesRequest
- func (c *ELB) DescribeLoadBalancersRequest(input *DescribeLoadBalancersInput) DescribeLoadBalancersRequest
- func (c *ELB) DescribeTagsRequest(input *DescribeTagsInput) DescribeTagsRequest
- func (c *ELB) DetachLoadBalancerFromSubnetsRequest(input *DetachLoadBalancerFromSubnetsInput) DetachLoadBalancerFromSubnetsRequest
- func (c *ELB) DisableAvailabilityZonesForLoadBalancerRequest(input *DisableAvailabilityZonesForLoadBalancerInput) DisableAvailabilityZonesForLoadBalancerRequest
- func (c *ELB) EnableAvailabilityZonesForLoadBalancerRequest(input *EnableAvailabilityZonesForLoadBalancerInput) EnableAvailabilityZonesForLoadBalancerRequest
- func (c *ELB) ModifyLoadBalancerAttributesRequest(input *ModifyLoadBalancerAttributesInput) ModifyLoadBalancerAttributesRequest
- func (c *ELB) RegisterInstancesWithLoadBalancerRequest(input *RegisterInstancesWithLoadBalancerInput) RegisterInstancesWithLoadBalancerRequest
- func (c *ELB) RemoveTagsRequest(input *RemoveTagsInput) RemoveTagsRequest
- func (c *ELB) SetLoadBalancerListenerSSLCertificateRequest(input *SetLoadBalancerListenerSSLCertificateInput) SetLoadBalancerListenerSSLCertificateRequest
- func (c *ELB) SetLoadBalancerPoliciesForBackendServerRequest(input *SetLoadBalancerPoliciesForBackendServerInput) SetLoadBalancerPoliciesForBackendServerRequest
- func (c *ELB) SetLoadBalancerPoliciesOfListenerRequest(input *SetLoadBalancerPoliciesOfListenerInput) SetLoadBalancerPoliciesOfListenerRequest
- func (c *ELB) WaitUntilAnyInstanceInService(ctx context.Context, input *DescribeInstanceHealthInput, ...) error
- func (c *ELB) WaitUntilInstanceDeregistered(ctx context.Context, input *DescribeInstanceHealthInput, ...) error
- func (c *ELB) WaitUntilInstanceInService(ctx context.Context, input *DescribeInstanceHealthInput, ...) error
- type EnableAvailabilityZonesForLoadBalancerInput
- type EnableAvailabilityZonesForLoadBalancerOutput
- type EnableAvailabilityZonesForLoadBalancerRequest
- type HealthCheck
- type Instance
- type InstanceState
- type LBCookieStickinessPolicy
- type Limit
- type Listener
- type ListenerDescription
- type LoadBalancerAttributes
- type LoadBalancerDescription
- type ModifyLoadBalancerAttributesInput
- type ModifyLoadBalancerAttributesOutput
- type ModifyLoadBalancerAttributesRequest
- type Policies
- type PolicyAttribute
- type PolicyAttributeDescription
- type PolicyAttributeTypeDescription
- type PolicyDescription
- type PolicyTypeDescription
- type RegisterInstancesWithLoadBalancerInput
- type RegisterInstancesWithLoadBalancerOutput
- type RegisterInstancesWithLoadBalancerRequest
- type RemoveTagsInput
- type RemoveTagsOutput
- type RemoveTagsRequest
- type SetLoadBalancerListenerSSLCertificateInput
- type SetLoadBalancerListenerSSLCertificateOutput
- type SetLoadBalancerListenerSSLCertificateRequest
- type SetLoadBalancerPoliciesForBackendServerInput
- type SetLoadBalancerPoliciesForBackendServerOutput
- type SetLoadBalancerPoliciesForBackendServerRequest
- type SetLoadBalancerPoliciesOfListenerInput
- type SetLoadBalancerPoliciesOfListenerOutput
- type SetLoadBalancerPoliciesOfListenerRequest
- type SourceSecurityGroup
- type Tag
- type TagDescription
- type TagKeyOnly
Examples ¶
- ELB.AddTagsRequest (Shared00)
- ELB.ApplySecurityGroupsToLoadBalancerRequest (Shared00)
- ELB.AttachLoadBalancerToSubnetsRequest (Shared00)
- ELB.ConfigureHealthCheckRequest (Shared00)
- ELB.CreateAppCookieStickinessPolicyRequest (Shared00)
- ELB.CreateLBCookieStickinessPolicyRequest (Shared00)
- ELB.CreateLoadBalancerListenersRequest (Shared00)
- ELB.CreateLoadBalancerListenersRequest (Shared01)
- ELB.CreateLoadBalancerPolicyRequest (Shared00)
- ELB.CreateLoadBalancerPolicyRequest (Shared01)
- ELB.CreateLoadBalancerPolicyRequest (Shared02)
- ELB.CreateLoadBalancerRequest (Shared00)
- ELB.CreateLoadBalancerRequest (Shared01)
- ELB.CreateLoadBalancerRequest (Shared02)
- ELB.CreateLoadBalancerRequest (Shared03)
- ELB.CreateLoadBalancerRequest (Shared04)
- ELB.DeleteLoadBalancerListenersRequest (Shared00)
- ELB.DeleteLoadBalancerPolicyRequest (Shared00)
- ELB.DeleteLoadBalancerRequest (Shared00)
- ELB.DeregisterInstancesFromLoadBalancerRequest (Shared00)
- ELB.DescribeInstanceHealthRequest (Shared00)
- ELB.DescribeLoadBalancerAttributesRequest (Shared00)
- ELB.DescribeLoadBalancerPoliciesRequest (Shared00)
- ELB.DescribeLoadBalancerPolicyTypesRequest (Shared00)
- ELB.DescribeLoadBalancersRequest (Shared00)
- ELB.DescribeTagsRequest (Shared00)
- ELB.DetachLoadBalancerFromSubnetsRequest (Shared00)
- ELB.DisableAvailabilityZonesForLoadBalancerRequest (Shared00)
- ELB.EnableAvailabilityZonesForLoadBalancerRequest (Shared00)
- ELB.ModifyLoadBalancerAttributesRequest (Shared00)
- ELB.ModifyLoadBalancerAttributesRequest (Shared01)
- ELB.RegisterInstancesWithLoadBalancerRequest (Shared00)
- ELB.RemoveTagsRequest (Shared00)
- ELB.SetLoadBalancerListenerSSLCertificateRequest (Shared00)
- ELB.SetLoadBalancerPoliciesForBackendServerRequest (Shared00)
- ELB.SetLoadBalancerPoliciesOfListenerRequest (Shared00)
Constants ¶
const ( // ErrCodeAccessPointNotFoundException for service response error code // "LoadBalancerNotFound". // // The specified load balancer does not exist. ErrCodeAccessPointNotFoundException = "LoadBalancerNotFound" // ErrCodeCertificateNotFoundException for service response error code // "CertificateNotFound". // // The specified ARN does not refer to a valid SSL certificate in AWS Identity // and Access Management (IAM) or AWS Certificate Manager (ACM). Note that if // you recently uploaded the certificate to IAM, this error might indicate that // the certificate is not fully available yet. ErrCodeCertificateNotFoundException = "CertificateNotFound" // ErrCodeDependencyThrottleException for service response error code // "DependencyThrottle". // // A request made by Elastic Load Balancing to another service exceeds the maximum // request rate permitted for your account. ErrCodeDependencyThrottleException = "DependencyThrottle" // ErrCodeDuplicateAccessPointNameException for service response error code // "DuplicateLoadBalancerName". // // The specified load balancer name already exists for this account. ErrCodeDuplicateAccessPointNameException = "DuplicateLoadBalancerName" // ErrCodeDuplicateListenerException for service response error code // "DuplicateListener". // // A listener already exists for the specified load balancer name and port, // but with a different instance port, protocol, or SSL certificate. ErrCodeDuplicateListenerException = "DuplicateListener" // ErrCodeDuplicatePolicyNameException for service response error code // "DuplicatePolicyName". // // A policy with the specified name already exists for this load balancer. ErrCodeDuplicatePolicyNameException = "DuplicatePolicyName" // ErrCodeDuplicateTagKeysException for service response error code // "DuplicateTagKeys". // // A tag key was specified more than once. ErrCodeDuplicateTagKeysException = "DuplicateTagKeys" // ErrCodeInvalidConfigurationRequestException for service response error code // "InvalidConfigurationRequest". // // The requested configuration change is not valid. ErrCodeInvalidConfigurationRequestException = "InvalidConfigurationRequest" // ErrCodeInvalidEndPointException for service response error code // "InvalidInstance". // // The specified endpoint is not valid. ErrCodeInvalidEndPointException = "InvalidInstance" // ErrCodeInvalidSchemeException for service response error code // "InvalidScheme". // // The specified value for the schema is not valid. You can only specify a scheme // for load balancers in a VPC. ErrCodeInvalidSchemeException = "InvalidScheme" // ErrCodeInvalidSecurityGroupException for service response error code // "InvalidSecurityGroup". // // One or more of the specified security groups do not exist. ErrCodeInvalidSecurityGroupException = "InvalidSecurityGroup" // ErrCodeInvalidSubnetException for service response error code // "InvalidSubnet". // // The specified VPC has no associated Internet gateway. ErrCodeInvalidSubnetException = "InvalidSubnet" // ErrCodeListenerNotFoundException for service response error code // "ListenerNotFound". // // The load balancer does not have a listener configured at the specified port. ErrCodeListenerNotFoundException = "ListenerNotFound" // ErrCodeLoadBalancerAttributeNotFoundException for service response error code // "LoadBalancerAttributeNotFound". // // The specified load balancer attribute does not exist. ErrCodeLoadBalancerAttributeNotFoundException = "LoadBalancerAttributeNotFound" // ErrCodeOperationNotPermittedException for service response error code // "OperationNotPermitted". // // This operation is not allowed. ErrCodeOperationNotPermittedException = "OperationNotPermitted" // ErrCodePolicyNotFoundException for service response error code // "PolicyNotFound". // // One or more of the specified policies do not exist. ErrCodePolicyNotFoundException = "PolicyNotFound" // ErrCodePolicyTypeNotFoundException for service response error code // "PolicyTypeNotFound". // // One or more of the specified policy types do not exist. ErrCodePolicyTypeNotFoundException = "PolicyTypeNotFound" // ErrCodeSubnetNotFoundException for service response error code // "SubnetNotFound". // // One or more of the specified subnets do not exist. ErrCodeSubnetNotFoundException = "SubnetNotFound" // ErrCodeTooManyAccessPointsException for service response error code // "TooManyLoadBalancers". // // The quota for the number of load balancers has been reached. ErrCodeTooManyAccessPointsException = "TooManyLoadBalancers" // ErrCodeTooManyPoliciesException for service response error code // "TooManyPolicies". // // The quota for the number of policies for this load balancer has been reached. ErrCodeTooManyPoliciesException = "TooManyPolicies" // ErrCodeTooManyTagsException for service response error code // "TooManyTags". // // The quota for the number of tags that can be assigned to a load balancer // has been reached. ErrCodeTooManyTagsException = "TooManyTags" // ErrCodeUnsupportedProtocolException for service response error code // "UnsupportedProtocol". // // The specified protocol or signature version is not supported. ErrCodeUnsupportedProtocolException = "UnsupportedProtocol" )
const ( ServiceName = "elasticloadbalancing" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessLog ¶
type AccessLog struct { // The interval for publishing the access logs. You can specify an interval // of either 5 minutes or 60 minutes. // // Default: 60 minutes EmitInterval *int64 `type:"integer"` // Specifies whether access logs are enabled for the load balancer. // // Enabled is a required field Enabled *bool `type:"boolean" required:"true"` // The name of the Amazon S3 bucket where the access logs are stored. S3BucketName *string `type:"string"` // The logical hierarchy you created for your Amazon S3 bucket, for example // my-bucket-prefix/prod. If the prefix is not provided, the log is placed at // the root level of the bucket. S3BucketPrefix *string `type:"string"` // contains filtered or unexported fields }
Information about the AccessLog attribute. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AccessLog
type AddTagsInput ¶
type AddTagsInput struct { // The name of the load balancer. You can specify one load balancer only. // // LoadBalancerNames is a required field LoadBalancerNames []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 }
Contains the parameters for AddTags. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTagsInput
func (AddTagsInput) GoString ¶
func (s AddTagsInput) GoString() string
GoString returns the string representation
func (AddTagsInput) String ¶
func (s AddTagsInput) String() string
String returns the string representation
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
}
Contains the output of AddTags. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTagsOutput
func (AddTagsOutput) GoString ¶
func (s AddTagsOutput) GoString() string
GoString returns the string representation
func (AddTagsOutput) SDKResponseMetadata ¶
func (s AddTagsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (AddTagsOutput) String ¶
func (s AddTagsOutput) String() string
String returns the string representation
type AddTagsRequest ¶
type AddTagsRequest struct { *aws.Request Input *AddTagsInput Copy func(*AddTagsInput) AddTagsRequest }
AddTagsRequest is a API request type for the AddTags API operation.
func (AddTagsRequest) Send ¶
func (r AddTagsRequest) Send(ctx context.Context) (*AddTagsOutput, error)
Send marshals and sends the AddTags API request.
type AdditionalAttribute ¶
type AdditionalAttribute struct { // This parameter is reserved. Key *string `type:"string"` // This parameter is reserved. Value *string `type:"string"` // contains filtered or unexported fields }
This data type is reserved. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AdditionalAttribute
func (AdditionalAttribute) GoString ¶
func (s AdditionalAttribute) GoString() string
GoString returns the string representation
func (AdditionalAttribute) String ¶
func (s AdditionalAttribute) String() string
String returns the string representation
type AppCookieStickinessPolicy ¶
type AppCookieStickinessPolicy struct { // The name of the application cookie used for stickiness. CookieName *string `type:"string"` // The mnemonic name for the policy being created. The name must be unique within // a set of policies for this load balancer. PolicyName *string `type:"string"` // contains filtered or unexported fields }
Information about a policy for application-controlled session stickiness. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AppCookieStickinessPolicy
func (AppCookieStickinessPolicy) GoString ¶
func (s AppCookieStickinessPolicy) GoString() string
GoString returns the string representation
func (AppCookieStickinessPolicy) String ¶
func (s AppCookieStickinessPolicy) String() string
String returns the string representation
type ApplySecurityGroupsToLoadBalancerInput ¶
type ApplySecurityGroupsToLoadBalancerInput struct { // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The IDs of the security groups to associate with the load balancer. Note // that you cannot specify the name of the security group. // // SecurityGroups is a required field SecurityGroups []string `type:"list" required:"true"` // contains filtered or unexported fields }
Contains the parameters for ApplySecurityGroupsToLoadBalancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancerInput
func (ApplySecurityGroupsToLoadBalancerInput) GoString ¶
func (s ApplySecurityGroupsToLoadBalancerInput) GoString() string
GoString returns the string representation
func (ApplySecurityGroupsToLoadBalancerInput) String ¶
func (s ApplySecurityGroupsToLoadBalancerInput) String() string
String returns the string representation
func (*ApplySecurityGroupsToLoadBalancerInput) Validate ¶
func (s *ApplySecurityGroupsToLoadBalancerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ApplySecurityGroupsToLoadBalancerOutput ¶
type ApplySecurityGroupsToLoadBalancerOutput struct { // The IDs of the security groups associated with the load balancer. SecurityGroups []string `type:"list"` // contains filtered or unexported fields }
Contains the output of ApplySecurityGroupsToLoadBalancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancerOutput
func (ApplySecurityGroupsToLoadBalancerOutput) GoString ¶
func (s ApplySecurityGroupsToLoadBalancerOutput) GoString() string
GoString returns the string representation
func (ApplySecurityGroupsToLoadBalancerOutput) SDKResponseMetadata ¶
func (s ApplySecurityGroupsToLoadBalancerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ApplySecurityGroupsToLoadBalancerOutput) String ¶
func (s ApplySecurityGroupsToLoadBalancerOutput) String() string
String returns the string representation
type ApplySecurityGroupsToLoadBalancerRequest ¶
type ApplySecurityGroupsToLoadBalancerRequest struct { *aws.Request Input *ApplySecurityGroupsToLoadBalancerInput Copy func(*ApplySecurityGroupsToLoadBalancerInput) ApplySecurityGroupsToLoadBalancerRequest }
ApplySecurityGroupsToLoadBalancerRequest is a API request type for the ApplySecurityGroupsToLoadBalancer API operation.
func (ApplySecurityGroupsToLoadBalancerRequest) Send ¶
func (r ApplySecurityGroupsToLoadBalancerRequest) Send(ctx context.Context) (*ApplySecurityGroupsToLoadBalancerOutput, error)
Send marshals and sends the ApplySecurityGroupsToLoadBalancer API request.
type AttachLoadBalancerToSubnetsInput ¶
type AttachLoadBalancerToSubnetsInput struct { // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The IDs of the subnets to add. You can add only one subnet per Availability // Zone. // // Subnets is a required field Subnets []string `type:"list" required:"true"` // contains filtered or unexported fields }
Contains the parameters for AttachLoaBalancerToSubnets. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnetsInput
func (AttachLoadBalancerToSubnetsInput) GoString ¶
func (s AttachLoadBalancerToSubnetsInput) GoString() string
GoString returns the string representation
func (AttachLoadBalancerToSubnetsInput) String ¶
func (s AttachLoadBalancerToSubnetsInput) String() string
String returns the string representation
func (*AttachLoadBalancerToSubnetsInput) Validate ¶
func (s *AttachLoadBalancerToSubnetsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AttachLoadBalancerToSubnetsOutput ¶
type AttachLoadBalancerToSubnetsOutput struct { // The IDs of the subnets attached to the load balancer. Subnets []string `type:"list"` // contains filtered or unexported fields }
Contains the output of AttachLoadBalancerToSubnets. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnetsOutput
func (AttachLoadBalancerToSubnetsOutput) GoString ¶
func (s AttachLoadBalancerToSubnetsOutput) GoString() string
GoString returns the string representation
func (AttachLoadBalancerToSubnetsOutput) SDKResponseMetadata ¶
func (s AttachLoadBalancerToSubnetsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (AttachLoadBalancerToSubnetsOutput) String ¶
func (s AttachLoadBalancerToSubnetsOutput) String() string
String returns the string representation
type AttachLoadBalancerToSubnetsRequest ¶
type AttachLoadBalancerToSubnetsRequest struct { *aws.Request Input *AttachLoadBalancerToSubnetsInput Copy func(*AttachLoadBalancerToSubnetsInput) AttachLoadBalancerToSubnetsRequest }
AttachLoadBalancerToSubnetsRequest is a API request type for the AttachLoadBalancerToSubnets API operation.
func (AttachLoadBalancerToSubnetsRequest) Send ¶
func (r AttachLoadBalancerToSubnetsRequest) Send(ctx context.Context) (*AttachLoadBalancerToSubnetsOutput, error)
Send marshals and sends the AttachLoadBalancerToSubnets API request.
type BackendServerDescription ¶
type BackendServerDescription struct { // The port on which the EC2 instance is listening. InstancePort *int64 `min:"1" type:"integer"` // The names of the policies enabled for the EC2 instance. PolicyNames []string `type:"list"` // contains filtered or unexported fields }
Information about the configuration of an EC2 instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/BackendServerDescription
func (BackendServerDescription) GoString ¶
func (s BackendServerDescription) GoString() string
GoString returns the string representation
func (BackendServerDescription) String ¶
func (s BackendServerDescription) String() string
String returns the string representation
type ConfigureHealthCheckInput ¶
type ConfigureHealthCheckInput struct { // The configuration information. // // HealthCheck is a required field HealthCheck *HealthCheck `type:"structure" required:"true"` // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for ConfigureHealthCheck. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheckInput
func (ConfigureHealthCheckInput) GoString ¶
func (s ConfigureHealthCheckInput) GoString() string
GoString returns the string representation
func (ConfigureHealthCheckInput) String ¶
func (s ConfigureHealthCheckInput) String() string
String returns the string representation
func (*ConfigureHealthCheckInput) Validate ¶
func (s *ConfigureHealthCheckInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ConfigureHealthCheckOutput ¶
type ConfigureHealthCheckOutput struct { // The updated health check. HealthCheck *HealthCheck `type:"structure"` // contains filtered or unexported fields }
Contains the output of ConfigureHealthCheck. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheckOutput
func (ConfigureHealthCheckOutput) GoString ¶
func (s ConfigureHealthCheckOutput) GoString() string
GoString returns the string representation
func (ConfigureHealthCheckOutput) SDKResponseMetadata ¶
func (s ConfigureHealthCheckOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ConfigureHealthCheckOutput) String ¶
func (s ConfigureHealthCheckOutput) String() string
String returns the string representation
type ConfigureHealthCheckRequest ¶
type ConfigureHealthCheckRequest struct { *aws.Request Input *ConfigureHealthCheckInput Copy func(*ConfigureHealthCheckInput) ConfigureHealthCheckRequest }
ConfigureHealthCheckRequest is a API request type for the ConfigureHealthCheck API operation.
func (ConfigureHealthCheckRequest) Send ¶
func (r ConfigureHealthCheckRequest) Send(ctx context.Context) (*ConfigureHealthCheckOutput, error)
Send marshals and sends the ConfigureHealthCheck API request.
type ConnectionDraining ¶
type ConnectionDraining struct { // Specifies whether connection draining is enabled for the load balancer. // // Enabled is a required field Enabled *bool `type:"boolean" required:"true"` // The maximum time, in seconds, to keep the existing connections open before // deregistering the instances. Timeout *int64 `type:"integer"` // contains filtered or unexported fields }
Information about the ConnectionDraining attribute. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConnectionDraining
func (ConnectionDraining) GoString ¶
func (s ConnectionDraining) GoString() string
GoString returns the string representation
func (ConnectionDraining) String ¶
func (s ConnectionDraining) String() string
String returns the string representation
func (*ConnectionDraining) Validate ¶
func (s *ConnectionDraining) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ConnectionSettings ¶
type ConnectionSettings struct { // The time, in seconds, that the connection is allowed to be idle (no data // has been sent over the connection) before it is closed by the load balancer. // // IdleTimeout is a required field IdleTimeout *int64 `min:"1" type:"integer" required:"true"` // contains filtered or unexported fields }
Information about the ConnectionSettings attribute. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConnectionSettings
func (ConnectionSettings) GoString ¶
func (s ConnectionSettings) GoString() string
GoString returns the string representation
func (ConnectionSettings) String ¶
func (s ConnectionSettings) String() string
String returns the string representation
func (*ConnectionSettings) Validate ¶
func (s *ConnectionSettings) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAppCookieStickinessPolicyInput ¶
type CreateAppCookieStickinessPolicyInput struct { // The name of the application cookie used for stickiness. // // CookieName is a required field CookieName *string `type:"string" required:"true"` // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The name of the policy being created. Policy names must consist of alphanumeric // characters and dashes (-). This name must be unique within the set of policies // for this load balancer. // // PolicyName is a required field PolicyName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for CreateAppCookieStickinessPolicy. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicyInput
func (CreateAppCookieStickinessPolicyInput) GoString ¶
func (s CreateAppCookieStickinessPolicyInput) GoString() string
GoString returns the string representation
func (CreateAppCookieStickinessPolicyInput) String ¶
func (s CreateAppCookieStickinessPolicyInput) String() string
String returns the string representation
func (*CreateAppCookieStickinessPolicyInput) Validate ¶
func (s *CreateAppCookieStickinessPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAppCookieStickinessPolicyOutput ¶
type CreateAppCookieStickinessPolicyOutput struct {
// contains filtered or unexported fields
}
Contains the output for CreateAppCookieStickinessPolicy. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicyOutput
func (CreateAppCookieStickinessPolicyOutput) GoString ¶
func (s CreateAppCookieStickinessPolicyOutput) GoString() string
GoString returns the string representation
func (CreateAppCookieStickinessPolicyOutput) SDKResponseMetadata ¶
func (s CreateAppCookieStickinessPolicyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateAppCookieStickinessPolicyOutput) String ¶
func (s CreateAppCookieStickinessPolicyOutput) String() string
String returns the string representation
type CreateAppCookieStickinessPolicyRequest ¶
type CreateAppCookieStickinessPolicyRequest struct { *aws.Request Input *CreateAppCookieStickinessPolicyInput Copy func(*CreateAppCookieStickinessPolicyInput) CreateAppCookieStickinessPolicyRequest }
CreateAppCookieStickinessPolicyRequest is a API request type for the CreateAppCookieStickinessPolicy API operation.
func (CreateAppCookieStickinessPolicyRequest) Send ¶
func (r CreateAppCookieStickinessPolicyRequest) Send(ctx context.Context) (*CreateAppCookieStickinessPolicyOutput, error)
Send marshals and sends the CreateAppCookieStickinessPolicy API request.
type CreateLBCookieStickinessPolicyInput ¶
type CreateLBCookieStickinessPolicyInput struct { // The time period, in seconds, after which the cookie should be considered // stale. If you do not specify this parameter, the default value is 0, which // indicates that the sticky session should last for the duration of the browser // session. CookieExpirationPeriod *int64 `type:"long"` // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The name of the policy being created. Policy names must consist of alphanumeric // characters and dashes (-). This name must be unique within the set of policies // for this load balancer. // // PolicyName is a required field PolicyName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for CreateLBCookieStickinessPolicy. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicyInput
func (CreateLBCookieStickinessPolicyInput) GoString ¶
func (s CreateLBCookieStickinessPolicyInput) GoString() string
GoString returns the string representation
func (CreateLBCookieStickinessPolicyInput) String ¶
func (s CreateLBCookieStickinessPolicyInput) String() string
String returns the string representation
func (*CreateLBCookieStickinessPolicyInput) Validate ¶
func (s *CreateLBCookieStickinessPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLBCookieStickinessPolicyOutput ¶
type CreateLBCookieStickinessPolicyOutput struct {
// contains filtered or unexported fields
}
Contains the output for CreateLBCookieStickinessPolicy. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicyOutput
func (CreateLBCookieStickinessPolicyOutput) GoString ¶
func (s CreateLBCookieStickinessPolicyOutput) GoString() string
GoString returns the string representation
func (CreateLBCookieStickinessPolicyOutput) SDKResponseMetadata ¶
func (s CreateLBCookieStickinessPolicyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateLBCookieStickinessPolicyOutput) String ¶
func (s CreateLBCookieStickinessPolicyOutput) String() string
String returns the string representation
type CreateLBCookieStickinessPolicyRequest ¶
type CreateLBCookieStickinessPolicyRequest struct { *aws.Request Input *CreateLBCookieStickinessPolicyInput Copy func(*CreateLBCookieStickinessPolicyInput) CreateLBCookieStickinessPolicyRequest }
CreateLBCookieStickinessPolicyRequest is a API request type for the CreateLBCookieStickinessPolicy API operation.
func (CreateLBCookieStickinessPolicyRequest) Send ¶
func (r CreateLBCookieStickinessPolicyRequest) Send(ctx context.Context) (*CreateLBCookieStickinessPolicyOutput, error)
Send marshals and sends the CreateLBCookieStickinessPolicy API request.
type CreateLoadBalancerInput ¶
type CreateLoadBalancerInput struct { // One or more Availability Zones from the same region as the load balancer. // // You must specify at least one Availability Zone. // // You can add more Availability Zones after you create the load balancer using // EnableAvailabilityZonesForLoadBalancer. AvailabilityZones []string `type:"list"` // The listeners. // // For more information, see Listeners for Your Classic Load Balancer (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-listener-config.html) // in the Classic Load Balancers Guide. // // Listeners is a required field Listeners []Listener `type:"list" required:"true"` // The name of the load balancer. // // This name must be unique within your set of load balancers for the region, // must have a maximum of 32 characters, must contain only alphanumeric characters // or hyphens, and cannot begin or end with a hyphen. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The type of a load balancer. Valid only for load balancers in a VPC. // // By default, Elastic Load Balancing creates an Internet-facing load balancer // with a DNS name that resolves to public IP addresses. For more information // about Internet-facing and Internal load balancers, see Load Balancer Scheme // (http://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/how-elastic-load-balancing-works.html#load-balancer-scheme) // in the Elastic Load Balancing User Guide. // // Specify internal to create a load balancer with a DNS name that resolves // to private IP addresses. Scheme *string `type:"string"` // The IDs of the security groups to assign to the load balancer. SecurityGroups []string `type:"list"` // The IDs of the subnets in your VPC to attach to the load balancer. Specify // one subnet per Availability Zone specified in AvailabilityZones. Subnets []string `type:"list"` // A list of tags to assign to the load balancer. // // For more information about tagging your load balancer, see Tag Your Classic // Load Balancer (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/add-remove-tags.html) // in the Classic Load Balancers Guide. Tags []Tag `min:"1" type:"list"` // contains filtered or unexported fields }
Contains the parameters for CreateLoadBalancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAccessPointInput
func (CreateLoadBalancerInput) GoString ¶
func (s CreateLoadBalancerInput) GoString() string
GoString returns the string representation
func (CreateLoadBalancerInput) String ¶
func (s CreateLoadBalancerInput) String() string
String returns the string representation
func (*CreateLoadBalancerInput) Validate ¶
func (s *CreateLoadBalancerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLoadBalancerListenersInput ¶
type CreateLoadBalancerListenersInput struct { // The listeners. // // Listeners is a required field Listeners []Listener `type:"list" required:"true"` // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for CreateLoadBalancerListeners. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListenerInput
func (CreateLoadBalancerListenersInput) GoString ¶
func (s CreateLoadBalancerListenersInput) GoString() string
GoString returns the string representation
func (CreateLoadBalancerListenersInput) String ¶
func (s CreateLoadBalancerListenersInput) String() string
String returns the string representation
func (*CreateLoadBalancerListenersInput) Validate ¶
func (s *CreateLoadBalancerListenersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLoadBalancerListenersOutput ¶
type CreateLoadBalancerListenersOutput struct {
// contains filtered or unexported fields
}
Contains the parameters for CreateLoadBalancerListener. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListenerOutput
func (CreateLoadBalancerListenersOutput) GoString ¶
func (s CreateLoadBalancerListenersOutput) GoString() string
GoString returns the string representation
func (CreateLoadBalancerListenersOutput) SDKResponseMetadata ¶
func (s CreateLoadBalancerListenersOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateLoadBalancerListenersOutput) String ¶
func (s CreateLoadBalancerListenersOutput) String() string
String returns the string representation
type CreateLoadBalancerListenersRequest ¶
type CreateLoadBalancerListenersRequest struct { *aws.Request Input *CreateLoadBalancerListenersInput Copy func(*CreateLoadBalancerListenersInput) CreateLoadBalancerListenersRequest }
CreateLoadBalancerListenersRequest is a API request type for the CreateLoadBalancerListeners API operation.
func (CreateLoadBalancerListenersRequest) Send ¶
func (r CreateLoadBalancerListenersRequest) Send(ctx context.Context) (*CreateLoadBalancerListenersOutput, error)
Send marshals and sends the CreateLoadBalancerListeners API request.
type CreateLoadBalancerOutput ¶
type CreateLoadBalancerOutput struct { // The DNS name of the load balancer. DNSName *string `type:"string"` // contains filtered or unexported fields }
Contains the output for CreateLoadBalancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAccessPointOutput
func (CreateLoadBalancerOutput) GoString ¶
func (s CreateLoadBalancerOutput) GoString() string
GoString returns the string representation
func (CreateLoadBalancerOutput) SDKResponseMetadata ¶
func (s CreateLoadBalancerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateLoadBalancerOutput) String ¶
func (s CreateLoadBalancerOutput) String() string
String returns the string representation
type CreateLoadBalancerPolicyInput ¶
type CreateLoadBalancerPolicyInput struct { // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The policy attributes. PolicyAttributes []PolicyAttribute `type:"list"` // The name of the load balancer policy to be created. This name must be unique // within the set of policies for this load balancer. // // PolicyName is a required field PolicyName *string `type:"string" required:"true"` // The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes. // // PolicyTypeName is a required field PolicyTypeName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for CreateLoadBalancerPolicy. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicyInput
func (CreateLoadBalancerPolicyInput) GoString ¶
func (s CreateLoadBalancerPolicyInput) GoString() string
GoString returns the string representation
func (CreateLoadBalancerPolicyInput) String ¶
func (s CreateLoadBalancerPolicyInput) String() string
String returns the string representation
func (*CreateLoadBalancerPolicyInput) Validate ¶
func (s *CreateLoadBalancerPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLoadBalancerPolicyOutput ¶
type CreateLoadBalancerPolicyOutput struct {
// contains filtered or unexported fields
}
Contains the output of CreateLoadBalancerPolicy. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicyOutput
func (CreateLoadBalancerPolicyOutput) GoString ¶
func (s CreateLoadBalancerPolicyOutput) GoString() string
GoString returns the string representation
func (CreateLoadBalancerPolicyOutput) SDKResponseMetadata ¶
func (s CreateLoadBalancerPolicyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (CreateLoadBalancerPolicyOutput) String ¶
func (s CreateLoadBalancerPolicyOutput) String() string
String returns the string representation
type CreateLoadBalancerPolicyRequest ¶
type CreateLoadBalancerPolicyRequest struct { *aws.Request Input *CreateLoadBalancerPolicyInput Copy func(*CreateLoadBalancerPolicyInput) CreateLoadBalancerPolicyRequest }
CreateLoadBalancerPolicyRequest is a API request type for the CreateLoadBalancerPolicy API operation.
func (CreateLoadBalancerPolicyRequest) Send ¶
func (r CreateLoadBalancerPolicyRequest) Send(ctx context.Context) (*CreateLoadBalancerPolicyOutput, error)
Send marshals and sends the CreateLoadBalancerPolicy API request.
type CreateLoadBalancerRequest ¶
type CreateLoadBalancerRequest struct { *aws.Request Input *CreateLoadBalancerInput Copy func(*CreateLoadBalancerInput) CreateLoadBalancerRequest }
CreateLoadBalancerRequest is a API request type for the CreateLoadBalancer API operation.
func (CreateLoadBalancerRequest) Send ¶
func (r CreateLoadBalancerRequest) Send(ctx context.Context) (*CreateLoadBalancerOutput, error)
Send marshals and sends the CreateLoadBalancer API request.
type CrossZoneLoadBalancing ¶
type CrossZoneLoadBalancing struct { // Specifies whether cross-zone load balancing is enabled for the load balancer. // // Enabled is a required field Enabled *bool `type:"boolean" required:"true"` // contains filtered or unexported fields }
Information about the CrossZoneLoadBalancing attribute. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CrossZoneLoadBalancing
func (CrossZoneLoadBalancing) GoString ¶
func (s CrossZoneLoadBalancing) GoString() string
GoString returns the string representation
func (CrossZoneLoadBalancing) String ¶
func (s CrossZoneLoadBalancing) String() string
String returns the string representation
func (*CrossZoneLoadBalancing) Validate ¶
func (s *CrossZoneLoadBalancing) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteLoadBalancerInput ¶
type DeleteLoadBalancerInput struct { // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DeleteLoadBalancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteAccessPointInput
func (DeleteLoadBalancerInput) GoString ¶
func (s DeleteLoadBalancerInput) GoString() string
GoString returns the string representation
func (DeleteLoadBalancerInput) String ¶
func (s DeleteLoadBalancerInput) String() string
String returns the string representation
func (*DeleteLoadBalancerInput) Validate ¶
func (s *DeleteLoadBalancerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteLoadBalancerListenersInput ¶
type DeleteLoadBalancerListenersInput struct { // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The client port numbers of the listeners. // // LoadBalancerPorts is a required field LoadBalancerPorts []int64 `type:"list" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DeleteLoadBalancerListeners. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListenerInput
func (DeleteLoadBalancerListenersInput) GoString ¶
func (s DeleteLoadBalancerListenersInput) GoString() string
GoString returns the string representation
func (DeleteLoadBalancerListenersInput) String ¶
func (s DeleteLoadBalancerListenersInput) String() string
String returns the string representation
func (*DeleteLoadBalancerListenersInput) Validate ¶
func (s *DeleteLoadBalancerListenersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteLoadBalancerListenersOutput ¶
type DeleteLoadBalancerListenersOutput struct {
// contains filtered or unexported fields
}
Contains the output of DeleteLoadBalancerListeners. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListenerOutput
func (DeleteLoadBalancerListenersOutput) GoString ¶
func (s DeleteLoadBalancerListenersOutput) GoString() string
GoString returns the string representation
func (DeleteLoadBalancerListenersOutput) SDKResponseMetadata ¶
func (s DeleteLoadBalancerListenersOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteLoadBalancerListenersOutput) String ¶
func (s DeleteLoadBalancerListenersOutput) String() string
String returns the string representation
type DeleteLoadBalancerListenersRequest ¶
type DeleteLoadBalancerListenersRequest struct { *aws.Request Input *DeleteLoadBalancerListenersInput Copy func(*DeleteLoadBalancerListenersInput) DeleteLoadBalancerListenersRequest }
DeleteLoadBalancerListenersRequest is a API request type for the DeleteLoadBalancerListeners API operation.
func (DeleteLoadBalancerListenersRequest) Send ¶
func (r DeleteLoadBalancerListenersRequest) Send(ctx context.Context) (*DeleteLoadBalancerListenersOutput, error)
Send marshals and sends the DeleteLoadBalancerListeners API request.
type DeleteLoadBalancerOutput ¶
type DeleteLoadBalancerOutput struct {
// contains filtered or unexported fields
}
Contains the output of DeleteLoadBalancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteAccessPointOutput
func (DeleteLoadBalancerOutput) GoString ¶
func (s DeleteLoadBalancerOutput) GoString() string
GoString returns the string representation
func (DeleteLoadBalancerOutput) SDKResponseMetadata ¶
func (s DeleteLoadBalancerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteLoadBalancerOutput) String ¶
func (s DeleteLoadBalancerOutput) String() string
String returns the string representation
type DeleteLoadBalancerPolicyInput ¶
type DeleteLoadBalancerPolicyInput struct { // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The name of the policy. // // PolicyName is a required field PolicyName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DeleteLoadBalancerPolicy. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicyInput
func (DeleteLoadBalancerPolicyInput) GoString ¶
func (s DeleteLoadBalancerPolicyInput) GoString() string
GoString returns the string representation
func (DeleteLoadBalancerPolicyInput) String ¶
func (s DeleteLoadBalancerPolicyInput) String() string
String returns the string representation
func (*DeleteLoadBalancerPolicyInput) Validate ¶
func (s *DeleteLoadBalancerPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteLoadBalancerPolicyOutput ¶
type DeleteLoadBalancerPolicyOutput struct {
// contains filtered or unexported fields
}
Contains the output of DeleteLoadBalancerPolicy. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicyOutput
func (DeleteLoadBalancerPolicyOutput) GoString ¶
func (s DeleteLoadBalancerPolicyOutput) GoString() string
GoString returns the string representation
func (DeleteLoadBalancerPolicyOutput) SDKResponseMetadata ¶
func (s DeleteLoadBalancerPolicyOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteLoadBalancerPolicyOutput) String ¶
func (s DeleteLoadBalancerPolicyOutput) String() string
String returns the string representation
type DeleteLoadBalancerPolicyRequest ¶
type DeleteLoadBalancerPolicyRequest struct { *aws.Request Input *DeleteLoadBalancerPolicyInput Copy func(*DeleteLoadBalancerPolicyInput) DeleteLoadBalancerPolicyRequest }
DeleteLoadBalancerPolicyRequest is a API request type for the DeleteLoadBalancerPolicy API operation.
func (DeleteLoadBalancerPolicyRequest) Send ¶
func (r DeleteLoadBalancerPolicyRequest) Send(ctx context.Context) (*DeleteLoadBalancerPolicyOutput, error)
Send marshals and sends the DeleteLoadBalancerPolicy API request.
type DeleteLoadBalancerRequest ¶
type DeleteLoadBalancerRequest struct { *aws.Request Input *DeleteLoadBalancerInput Copy func(*DeleteLoadBalancerInput) DeleteLoadBalancerRequest }
DeleteLoadBalancerRequest is a API request type for the DeleteLoadBalancer API operation.
func (DeleteLoadBalancerRequest) Send ¶
func (r DeleteLoadBalancerRequest) Send(ctx context.Context) (*DeleteLoadBalancerOutput, error)
Send marshals and sends the DeleteLoadBalancer API request.
type DeregisterInstancesFromLoadBalancerInput ¶
type DeregisterInstancesFromLoadBalancerInput struct { // The IDs of the instances. // // Instances is a required field Instances []Instance `type:"list" required:"true"` // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DeregisterInstancesFromLoadBalancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterEndPointsInput
func (DeregisterInstancesFromLoadBalancerInput) GoString ¶
func (s DeregisterInstancesFromLoadBalancerInput) GoString() string
GoString returns the string representation
func (DeregisterInstancesFromLoadBalancerInput) String ¶
func (s DeregisterInstancesFromLoadBalancerInput) String() string
String returns the string representation
func (*DeregisterInstancesFromLoadBalancerInput) Validate ¶
func (s *DeregisterInstancesFromLoadBalancerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeregisterInstancesFromLoadBalancerOutput ¶
type DeregisterInstancesFromLoadBalancerOutput struct { // The remaining instances registered with the load balancer. Instances []Instance `type:"list"` // contains filtered or unexported fields }
Contains the output of DeregisterInstancesFromLoadBalancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterEndPointsOutput
func (DeregisterInstancesFromLoadBalancerOutput) GoString ¶
func (s DeregisterInstancesFromLoadBalancerOutput) GoString() string
GoString returns the string representation
func (DeregisterInstancesFromLoadBalancerOutput) SDKResponseMetadata ¶
func (s DeregisterInstancesFromLoadBalancerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeregisterInstancesFromLoadBalancerOutput) String ¶
func (s DeregisterInstancesFromLoadBalancerOutput) String() string
String returns the string representation
type DeregisterInstancesFromLoadBalancerRequest ¶
type DeregisterInstancesFromLoadBalancerRequest struct { *aws.Request Input *DeregisterInstancesFromLoadBalancerInput Copy func(*DeregisterInstancesFromLoadBalancerInput) DeregisterInstancesFromLoadBalancerRequest }
DeregisterInstancesFromLoadBalancerRequest is a API request type for the DeregisterInstancesFromLoadBalancer API operation.
func (DeregisterInstancesFromLoadBalancerRequest) Send ¶
func (r DeregisterInstancesFromLoadBalancerRequest) Send(ctx context.Context) (*DeregisterInstancesFromLoadBalancerOutput, error)
Send marshals and sends the DeregisterInstancesFromLoadBalancer API request.
type DescribeAccountLimitsInput ¶
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccountLimitsInput
func (DescribeAccountLimitsInput) GoString ¶
func (s DescribeAccountLimitsInput) GoString() string
GoString returns the string representation
func (DescribeAccountLimitsInput) String ¶
func (s DescribeAccountLimitsInput) String() string
String returns the string representation
func (*DescribeAccountLimitsInput) Validate ¶
func (s *DescribeAccountLimitsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeAccountLimitsOutput ¶
type DescribeAccountLimitsOutput struct { // Information about the limits. Limits []Limit `type:"list"` // The marker to use when requesting the next set of results. If there are no // additional results, the string is empty. NextMarker *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccountLimitsOutput
func (DescribeAccountLimitsOutput) GoString ¶
func (s DescribeAccountLimitsOutput) GoString() string
GoString returns the string representation
func (DescribeAccountLimitsOutput) SDKResponseMetadata ¶
func (s DescribeAccountLimitsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeAccountLimitsOutput) String ¶
func (s DescribeAccountLimitsOutput) String() string
String returns the string representation
type DescribeAccountLimitsRequest ¶
type DescribeAccountLimitsRequest struct { *aws.Request Input *DescribeAccountLimitsInput Copy func(*DescribeAccountLimitsInput) DescribeAccountLimitsRequest }
DescribeAccountLimitsRequest is a API request type for the DescribeAccountLimits API operation.
func (DescribeAccountLimitsRequest) Send ¶
func (r DescribeAccountLimitsRequest) Send(ctx context.Context) (*DescribeAccountLimitsOutput, error)
Send marshals and sends the DescribeAccountLimits API request.
type DescribeInstanceHealthInput ¶
type DescribeInstanceHealthInput struct { // The IDs of the instances. Instances []Instance `type:"list"` // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DescribeInstanceHealth. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeEndPointStateInput
func (DescribeInstanceHealthInput) GoString ¶
func (s DescribeInstanceHealthInput) GoString() string
GoString returns the string representation
func (DescribeInstanceHealthInput) String ¶
func (s DescribeInstanceHealthInput) String() string
String returns the string representation
func (*DescribeInstanceHealthInput) Validate ¶
func (s *DescribeInstanceHealthInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeInstanceHealthOutput ¶
type DescribeInstanceHealthOutput struct { // Information about the health of the instances. InstanceStates []InstanceState `type:"list"` // contains filtered or unexported fields }
Contains the output for DescribeInstanceHealth. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeEndPointStateOutput
func (DescribeInstanceHealthOutput) GoString ¶
func (s DescribeInstanceHealthOutput) GoString() string
GoString returns the string representation
func (DescribeInstanceHealthOutput) SDKResponseMetadata ¶
func (s DescribeInstanceHealthOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeInstanceHealthOutput) String ¶
func (s DescribeInstanceHealthOutput) String() string
String returns the string representation
type DescribeInstanceHealthRequest ¶
type DescribeInstanceHealthRequest struct { *aws.Request Input *DescribeInstanceHealthInput Copy func(*DescribeInstanceHealthInput) DescribeInstanceHealthRequest }
DescribeInstanceHealthRequest is a API request type for the DescribeInstanceHealth API operation.
func (DescribeInstanceHealthRequest) Send ¶
func (r DescribeInstanceHealthRequest) Send(ctx context.Context) (*DescribeInstanceHealthOutput, error)
Send marshals and sends the DescribeInstanceHealth API request.
type DescribeLoadBalancerAttributesInput ¶
type DescribeLoadBalancerAttributesInput struct { // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DescribeLoadBalancerAttributes. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributesInput
func (DescribeLoadBalancerAttributesInput) GoString ¶
func (s DescribeLoadBalancerAttributesInput) GoString() string
GoString returns the string representation
func (DescribeLoadBalancerAttributesInput) String ¶
func (s DescribeLoadBalancerAttributesInput) String() string
String returns the string representation
func (*DescribeLoadBalancerAttributesInput) Validate ¶
func (s *DescribeLoadBalancerAttributesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeLoadBalancerAttributesOutput ¶
type DescribeLoadBalancerAttributesOutput struct { // Information about the load balancer attributes. LoadBalancerAttributes *LoadBalancerAttributes `type:"structure"` // contains filtered or unexported fields }
Contains the output of DescribeLoadBalancerAttributes. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributesOutput
func (DescribeLoadBalancerAttributesOutput) GoString ¶
func (s DescribeLoadBalancerAttributesOutput) GoString() string
GoString returns the string representation
func (DescribeLoadBalancerAttributesOutput) SDKResponseMetadata ¶
func (s DescribeLoadBalancerAttributesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeLoadBalancerAttributesOutput) String ¶
func (s DescribeLoadBalancerAttributesOutput) String() string
String returns the string representation
type DescribeLoadBalancerAttributesRequest ¶
type DescribeLoadBalancerAttributesRequest struct { *aws.Request Input *DescribeLoadBalancerAttributesInput Copy func(*DescribeLoadBalancerAttributesInput) DescribeLoadBalancerAttributesRequest }
DescribeLoadBalancerAttributesRequest is a API request type for the DescribeLoadBalancerAttributes API operation.
func (DescribeLoadBalancerAttributesRequest) Send ¶
func (r DescribeLoadBalancerAttributesRequest) Send(ctx context.Context) (*DescribeLoadBalancerAttributesOutput, error)
Send marshals and sends the DescribeLoadBalancerAttributes API request.
type DescribeLoadBalancerPoliciesInput ¶
type DescribeLoadBalancerPoliciesInput struct { // The name of the load balancer. LoadBalancerName *string `type:"string"` // The names of the policies. PolicyNames []string `type:"list"` // contains filtered or unexported fields }
Contains the parameters for DescribeLoadBalancerPolicies. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPoliciesInput
func (DescribeLoadBalancerPoliciesInput) GoString ¶
func (s DescribeLoadBalancerPoliciesInput) GoString() string
GoString returns the string representation
func (DescribeLoadBalancerPoliciesInput) String ¶
func (s DescribeLoadBalancerPoliciesInput) String() string
String returns the string representation
type DescribeLoadBalancerPoliciesOutput ¶
type DescribeLoadBalancerPoliciesOutput struct { // Information about the policies. PolicyDescriptions []PolicyDescription `type:"list"` // contains filtered or unexported fields }
Contains the output of DescribeLoadBalancerPolicies. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPoliciesOutput
func (DescribeLoadBalancerPoliciesOutput) GoString ¶
func (s DescribeLoadBalancerPoliciesOutput) GoString() string
GoString returns the string representation
func (DescribeLoadBalancerPoliciesOutput) SDKResponseMetadata ¶
func (s DescribeLoadBalancerPoliciesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeLoadBalancerPoliciesOutput) String ¶
func (s DescribeLoadBalancerPoliciesOutput) String() string
String returns the string representation
type DescribeLoadBalancerPoliciesRequest ¶
type DescribeLoadBalancerPoliciesRequest struct { *aws.Request Input *DescribeLoadBalancerPoliciesInput Copy func(*DescribeLoadBalancerPoliciesInput) DescribeLoadBalancerPoliciesRequest }
DescribeLoadBalancerPoliciesRequest is a API request type for the DescribeLoadBalancerPolicies API operation.
func (DescribeLoadBalancerPoliciesRequest) Send ¶
func (r DescribeLoadBalancerPoliciesRequest) Send(ctx context.Context) (*DescribeLoadBalancerPoliciesOutput, error)
Send marshals and sends the DescribeLoadBalancerPolicies API request.
type DescribeLoadBalancerPolicyTypesInput ¶
type DescribeLoadBalancerPolicyTypesInput struct { // The names of the policy types. If no names are specified, describes all policy // types defined by Elastic Load Balancing. PolicyTypeNames []string `type:"list"` // contains filtered or unexported fields }
Contains the parameters for DescribeLoadBalancerPolicyTypes. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypesInput
func (DescribeLoadBalancerPolicyTypesInput) GoString ¶
func (s DescribeLoadBalancerPolicyTypesInput) GoString() string
GoString returns the string representation
func (DescribeLoadBalancerPolicyTypesInput) String ¶
func (s DescribeLoadBalancerPolicyTypesInput) String() string
String returns the string representation
type DescribeLoadBalancerPolicyTypesOutput ¶
type DescribeLoadBalancerPolicyTypesOutput struct { // Information about the policy types. PolicyTypeDescriptions []PolicyTypeDescription `type:"list"` // contains filtered or unexported fields }
Contains the output of DescribeLoadBalancerPolicyTypes. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypesOutput
func (DescribeLoadBalancerPolicyTypesOutput) GoString ¶
func (s DescribeLoadBalancerPolicyTypesOutput) GoString() string
GoString returns the string representation
func (DescribeLoadBalancerPolicyTypesOutput) SDKResponseMetadata ¶
func (s DescribeLoadBalancerPolicyTypesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeLoadBalancerPolicyTypesOutput) String ¶
func (s DescribeLoadBalancerPolicyTypesOutput) String() string
String returns the string representation
type DescribeLoadBalancerPolicyTypesRequest ¶
type DescribeLoadBalancerPolicyTypesRequest struct { *aws.Request Input *DescribeLoadBalancerPolicyTypesInput Copy func(*DescribeLoadBalancerPolicyTypesInput) DescribeLoadBalancerPolicyTypesRequest }
DescribeLoadBalancerPolicyTypesRequest is a API request type for the DescribeLoadBalancerPolicyTypes API operation.
func (DescribeLoadBalancerPolicyTypesRequest) Send ¶
func (r DescribeLoadBalancerPolicyTypesRequest) Send(ctx context.Context) (*DescribeLoadBalancerPolicyTypesOutput, error)
Send marshals and sends the DescribeLoadBalancerPolicyTypes API request.
type DescribeLoadBalancersInput ¶
type DescribeLoadBalancersInput struct { // The names of the load balancers. LoadBalancerNames []string `type:"list"` // 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 (a number from 1 to // 400). The default is 400. PageSize *int64 `min:"1" type:"integer"` // contains filtered or unexported fields }
Contains the parameters for DescribeLoadBalancers. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccessPointsInput
func (DescribeLoadBalancersInput) GoString ¶
func (s DescribeLoadBalancersInput) GoString() string
GoString returns the string representation
func (DescribeLoadBalancersInput) String ¶
func (s DescribeLoadBalancersInput) String() string
String returns the string representation
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. LoadBalancerDescriptions []LoadBalancerDescription `type:"list"` // The marker to use when requesting the next set of results. If there are no // additional results, the string is empty. NextMarker *string `type:"string"` // contains filtered or unexported fields }
Contains the parameters for DescribeLoadBalancers. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccessPointsOutput
func (DescribeLoadBalancersOutput) GoString ¶
func (s DescribeLoadBalancersOutput) GoString() string
GoString returns the string representation
func (DescribeLoadBalancersOutput) SDKResponseMetadata ¶
func (s DescribeLoadBalancersOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeLoadBalancersOutput) String ¶
func (s DescribeLoadBalancersOutput) String() string
String returns the string representation
type DescribeLoadBalancersPager ¶ added in v0.3.0
DescribeLoadBalancersPager is used to paginate the request. This can be done by calling Next and CurrentPage.
func (*DescribeLoadBalancersPager) CurrentPage ¶ added in v0.3.0
func (p *DescribeLoadBalancersPager) CurrentPage() *DescribeLoadBalancersOutput
type DescribeLoadBalancersRequest ¶
type DescribeLoadBalancersRequest struct { *aws.Request Input *DescribeLoadBalancersInput Copy func(*DescribeLoadBalancersInput) DescribeLoadBalancersRequest }
DescribeLoadBalancersRequest is a API request type for the DescribeLoadBalancers API operation.
func (*DescribeLoadBalancersRequest) Paginate ¶ added in v0.3.0
func (p *DescribeLoadBalancersRequest) Paginate(opts ...aws.Option) DescribeLoadBalancersPager
Paginate pages iterates over the pages of a DescribeLoadBalancersRequest operation, calling the Next method for each page. Using the paginators Next method will depict whether or not there are more pages.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeLoadBalancers operation. req := client.DescribeLoadBalancersRequest(input) p := req.Paginate() for p.Next() { page := p.CurrentPage() } if err := p.Err(); err != nil { return err }
func (DescribeLoadBalancersRequest) Send ¶
func (r DescribeLoadBalancersRequest) Send(ctx context.Context) (*DescribeLoadBalancersOutput, error)
Send marshals and sends the DescribeLoadBalancers API request.
type DescribeTagsInput ¶
type DescribeTagsInput struct { // The names of the load balancers. // // LoadBalancerNames is a required field LoadBalancerNames []string `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DescribeTags. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTagsInput
func (DescribeTagsInput) GoString ¶
func (s DescribeTagsInput) GoString() string
GoString returns the string representation
func (DescribeTagsInput) String ¶
func (s DescribeTagsInput) String() string
String returns the string representation
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 }
Contains the output for DescribeTags. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTagsOutput
func (DescribeTagsOutput) GoString ¶
func (s DescribeTagsOutput) GoString() string
GoString returns the string representation
func (DescribeTagsOutput) SDKResponseMetadata ¶
func (s DescribeTagsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DescribeTagsOutput) String ¶
func (s DescribeTagsOutput) String() string
String returns the string representation
type DescribeTagsRequest ¶
type DescribeTagsRequest struct { *aws.Request Input *DescribeTagsInput Copy func(*DescribeTagsInput) DescribeTagsRequest }
DescribeTagsRequest is a API request type for the DescribeTags API operation.
func (DescribeTagsRequest) Send ¶
func (r DescribeTagsRequest) Send(ctx context.Context) (*DescribeTagsOutput, error)
Send marshals and sends the DescribeTags API request.
type DetachLoadBalancerFromSubnetsInput ¶
type DetachLoadBalancerFromSubnetsInput struct { // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The IDs of the subnets. // // Subnets is a required field Subnets []string `type:"list" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DetachLoadBalancerFromSubnets. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnetsInput
func (DetachLoadBalancerFromSubnetsInput) GoString ¶
func (s DetachLoadBalancerFromSubnetsInput) GoString() string
GoString returns the string representation
func (DetachLoadBalancerFromSubnetsInput) String ¶
func (s DetachLoadBalancerFromSubnetsInput) String() string
String returns the string representation
func (*DetachLoadBalancerFromSubnetsInput) Validate ¶
func (s *DetachLoadBalancerFromSubnetsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DetachLoadBalancerFromSubnetsOutput ¶
type DetachLoadBalancerFromSubnetsOutput struct { // The IDs of the remaining subnets for the load balancer. Subnets []string `type:"list"` // contains filtered or unexported fields }
Contains the output of DetachLoadBalancerFromSubnets. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnetsOutput
func (DetachLoadBalancerFromSubnetsOutput) GoString ¶
func (s DetachLoadBalancerFromSubnetsOutput) GoString() string
GoString returns the string representation
func (DetachLoadBalancerFromSubnetsOutput) SDKResponseMetadata ¶
func (s DetachLoadBalancerFromSubnetsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DetachLoadBalancerFromSubnetsOutput) String ¶
func (s DetachLoadBalancerFromSubnetsOutput) String() string
String returns the string representation
type DetachLoadBalancerFromSubnetsRequest ¶
type DetachLoadBalancerFromSubnetsRequest struct { *aws.Request Input *DetachLoadBalancerFromSubnetsInput Copy func(*DetachLoadBalancerFromSubnetsInput) DetachLoadBalancerFromSubnetsRequest }
DetachLoadBalancerFromSubnetsRequest is a API request type for the DetachLoadBalancerFromSubnets API operation.
func (DetachLoadBalancerFromSubnetsRequest) Send ¶
func (r DetachLoadBalancerFromSubnetsRequest) Send(ctx context.Context) (*DetachLoadBalancerFromSubnetsOutput, error)
Send marshals and sends the DetachLoadBalancerFromSubnets API request.
type DisableAvailabilityZonesForLoadBalancerInput ¶
type DisableAvailabilityZonesForLoadBalancerInput struct { // The Availability Zones. // // AvailabilityZones is a required field AvailabilityZones []string `type:"list" required:"true"` // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for DisableAvailabilityZonesForLoadBalancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveAvailabilityZonesInput
func (DisableAvailabilityZonesForLoadBalancerInput) GoString ¶
func (s DisableAvailabilityZonesForLoadBalancerInput) GoString() string
GoString returns the string representation
func (DisableAvailabilityZonesForLoadBalancerInput) String ¶
func (s DisableAvailabilityZonesForLoadBalancerInput) String() string
String returns the string representation
func (*DisableAvailabilityZonesForLoadBalancerInput) Validate ¶
func (s *DisableAvailabilityZonesForLoadBalancerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisableAvailabilityZonesForLoadBalancerOutput ¶
type DisableAvailabilityZonesForLoadBalancerOutput struct { // The remaining Availability Zones for the load balancer. AvailabilityZones []string `type:"list"` // contains filtered or unexported fields }
Contains the output for DisableAvailabilityZonesForLoadBalancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveAvailabilityZonesOutput
func (DisableAvailabilityZonesForLoadBalancerOutput) GoString ¶
func (s DisableAvailabilityZonesForLoadBalancerOutput) GoString() string
GoString returns the string representation
func (DisableAvailabilityZonesForLoadBalancerOutput) SDKResponseMetadata ¶
func (s DisableAvailabilityZonesForLoadBalancerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DisableAvailabilityZonesForLoadBalancerOutput) String ¶
func (s DisableAvailabilityZonesForLoadBalancerOutput) String() string
String returns the string representation
type DisableAvailabilityZonesForLoadBalancerRequest ¶
type DisableAvailabilityZonesForLoadBalancerRequest struct { *aws.Request Input *DisableAvailabilityZonesForLoadBalancerInput Copy func(*DisableAvailabilityZonesForLoadBalancerInput) DisableAvailabilityZonesForLoadBalancerRequest }
DisableAvailabilityZonesForLoadBalancerRequest is a API request type for the DisableAvailabilityZonesForLoadBalancer API operation.
func (DisableAvailabilityZonesForLoadBalancerRequest) Send ¶
func (r DisableAvailabilityZonesForLoadBalancerRequest) Send(ctx context.Context) (*DisableAvailabilityZonesForLoadBalancerOutput, error)
Send marshals and sends the DisableAvailabilityZonesForLoadBalancer API request.
type ELB ¶
ELB provides the API operation methods for making requests to Elastic Load Balancing. See this package's package overview docs for details on the service.
ELB methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the ELB client with a config.
Example:
// Create a ELB client from just a config. svc := elb.New(myConfig)
func (*ELB) AddTagsRequest ¶
func (c *ELB) AddTagsRequest(input *AddTagsInput) AddTagsRequest
AddTagsRequest returns a request value for making API operation for Elastic Load Balancing.
Adds the specified tags to the specified load balancer. Each load balancer can have a maximum of 10 tags.
Each tag consists of a key and an optional value. If a tag with the same key is already associated with the load balancer, AddTags updates its value.
For more information, see Tag Your Classic Load Balancer (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/add-remove-tags.html) in the Classic Load Balancers Guide.
// Example sending a request using the AddTagsRequest method. req := client.AddTagsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTags
func (*ELB) ApplySecurityGroupsToLoadBalancerRequest ¶
func (c *ELB) ApplySecurityGroupsToLoadBalancerRequest(input *ApplySecurityGroupsToLoadBalancerInput) ApplySecurityGroupsToLoadBalancerRequest
ApplySecurityGroupsToLoadBalancerRequest returns a request value for making API operation for Elastic Load Balancing.
Associates one or more security groups with your load balancer in a virtual private cloud (VPC). The specified security groups override the previously associated security groups.
For more information, see Security Groups for Load Balancers in a VPC (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-security-groups.html#elb-vpc-security-groups) in the Classic Load Balancers Guide.
// Example sending a request using the ApplySecurityGroupsToLoadBalancerRequest method. req := client.ApplySecurityGroupsToLoadBalancerRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancer
func (*ELB) AttachLoadBalancerToSubnetsRequest ¶
func (c *ELB) AttachLoadBalancerToSubnetsRequest(input *AttachLoadBalancerToSubnetsInput) AttachLoadBalancerToSubnetsRequest
AttachLoadBalancerToSubnetsRequest returns a request value for making API operation for Elastic Load Balancing.
Adds one or more subnets to the set of configured subnets for the specified load balancer.
The load balancer evenly distributes requests across all registered subnets. For more information, see Add or Remove Subnets for Your Load Balancer in a VPC (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-manage-subnets.html) in the Classic Load Balancers Guide.
// Example sending a request using the AttachLoadBalancerToSubnetsRequest method. req := client.AttachLoadBalancerToSubnetsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnets
func (*ELB) ConfigureHealthCheckRequest ¶
func (c *ELB) ConfigureHealthCheckRequest(input *ConfigureHealthCheckInput) ConfigureHealthCheckRequest
ConfigureHealthCheckRequest returns a request value for making API operation for Elastic Load Balancing.
Specifies the health check settings to use when evaluating the health state of your EC2 instances.
For more information, see Configure Health Checks for Your Load Balancer (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-healthchecks.html) in the Classic Load Balancers Guide.
// Example sending a request using the ConfigureHealthCheckRequest method. req := client.ConfigureHealthCheckRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheck
func (*ELB) CreateAppCookieStickinessPolicyRequest ¶
func (c *ELB) CreateAppCookieStickinessPolicyRequest(input *CreateAppCookieStickinessPolicyInput) CreateAppCookieStickinessPolicyRequest
CreateAppCookieStickinessPolicyRequest returns a request value for making API operation for Elastic Load Balancing.
Generates a stickiness policy with sticky session lifetimes that follow that of an application-generated cookie. This policy can be associated only with HTTP/HTTPS listeners.
This policy is similar to the policy created by CreateLBCookieStickinessPolicy, except that the lifetime of the special Elastic Load Balancing cookie, AWSELB, follows the lifetime of the application-generated cookie specified in the policy configuration. The load balancer only inserts a new stickiness cookie when the application response includes a new application cookie.
If the application cookie is explicitly removed or expires, the session stops being sticky until a new application cookie is issued.
For more information, see Application-Controlled Session Stickiness (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html#enable-sticky-sessions-application) in the Classic Load Balancers Guide.
// Example sending a request using the CreateAppCookieStickinessPolicyRequest method. req := client.CreateAppCookieStickinessPolicyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicy
func (*ELB) CreateLBCookieStickinessPolicyRequest ¶
func (c *ELB) CreateLBCookieStickinessPolicyRequest(input *CreateLBCookieStickinessPolicyInput) CreateLBCookieStickinessPolicyRequest
CreateLBCookieStickinessPolicyRequest returns a request value for making API operation for Elastic Load Balancing.
Generates a stickiness policy with sticky session lifetimes controlled by the lifetime of the browser (user-agent) or a specified expiration period. This policy can be associated only with HTTP/HTTPS listeners.
When a load balancer implements this policy, the load balancer uses a special cookie to track the instance for each request. When the load balancer receives a request, it first checks to see if this cookie is present in the request. If so, the load balancer sends the request to the application server specified in the cookie. If not, the load balancer sends the request to a server that is chosen based on the existing load-balancing algorithm.
A cookie is inserted into the response for binding subsequent requests from the same user to that server. The validity of the cookie is based on the cookie expiration time, which is specified in the policy configuration.
For more information, see Duration-Based Session Stickiness (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html#enable-sticky-sessions-duration) in the Classic Load Balancers Guide.
// Example sending a request using the CreateLBCookieStickinessPolicyRequest method. req := client.CreateLBCookieStickinessPolicyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicy
func (*ELB) CreateLoadBalancerListenersRequest ¶
func (c *ELB) CreateLoadBalancerListenersRequest(input *CreateLoadBalancerListenersInput) CreateLoadBalancerListenersRequest
CreateLoadBalancerListenersRequest returns a request value for making API operation for Elastic Load Balancing.
Creates one or more listeners for the specified load balancer. If a listener with the specified port does not already exist, it is created; otherwise, the properties of the new listener must match the properties of the existing listener.
For more information, see Listeners for Your Classic Load Balancer (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-listener-config.html) in the Classic Load Balancers Guide.
// Example sending a request using the CreateLoadBalancerListenersRequest method. req := client.CreateLoadBalancerListenersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListeners
func (*ELB) CreateLoadBalancerPolicyRequest ¶
func (c *ELB) CreateLoadBalancerPolicyRequest(input *CreateLoadBalancerPolicyInput) CreateLoadBalancerPolicyRequest
CreateLoadBalancerPolicyRequest returns a request value for making API operation for Elastic Load Balancing.
Creates a policy with the specified attributes for the specified load balancer.
Policies are settings that are saved for your load balancer and that can be applied to the listener or the application server, depending on the policy type.
// Example sending a request using the CreateLoadBalancerPolicyRequest method. req := client.CreateLoadBalancerPolicyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicy
func (*ELB) CreateLoadBalancerRequest ¶
func (c *ELB) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) CreateLoadBalancerRequest
CreateLoadBalancerRequest returns a request value for making API operation for Elastic Load Balancing.
Creates a Classic Load Balancer.
You can add listeners, security groups, subnets, and tags when you create your load balancer, or you can add them later using CreateLoadBalancerListeners, ApplySecurityGroupsToLoadBalancer, AttachLoadBalancerToSubnets, and AddTags.
To describe your current load balancers, see DescribeLoadBalancers. When you are finished with a load balancer, you can delete it using DeleteLoadBalancer.
You can create up to 20 load balancers per region per account. You can request an increase for the number of load balancers for your account. For more information, see Limits for Your Classic Load Balancer (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-limits.html) in the Classic Load Balancers Guide.
// Example sending a request using the CreateLoadBalancerRequest method. req := client.CreateLoadBalancerRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancer
func (*ELB) DeleteLoadBalancerListenersRequest ¶
func (c *ELB) DeleteLoadBalancerListenersRequest(input *DeleteLoadBalancerListenersInput) DeleteLoadBalancerListenersRequest
DeleteLoadBalancerListenersRequest returns a request value for making API operation for Elastic Load Balancing.
Deletes the specified listeners from the specified load balancer.
// Example sending a request using the DeleteLoadBalancerListenersRequest method. req := client.DeleteLoadBalancerListenersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListeners
func (*ELB) DeleteLoadBalancerPolicyRequest ¶
func (c *ELB) DeleteLoadBalancerPolicyRequest(input *DeleteLoadBalancerPolicyInput) DeleteLoadBalancerPolicyRequest
DeleteLoadBalancerPolicyRequest returns a request value for making API operation for Elastic Load Balancing.
Deletes the specified policy from the specified load balancer. This policy must not be enabled for any listeners.
// Example sending a request using the DeleteLoadBalancerPolicyRequest method. req := client.DeleteLoadBalancerPolicyRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicy
func (*ELB) DeleteLoadBalancerRequest ¶
func (c *ELB) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) DeleteLoadBalancerRequest
DeleteLoadBalancerRequest returns a request value for making API operation for Elastic Load Balancing.
Deletes the specified load balancer.
If you are attempting to recreate a load balancer, you must reconfigure all settings. The DNS name associated with a deleted load balancer are no longer usable. The name and associated DNS record of the deleted load balancer no longer exist and traffic sent to any of its IP addresses is no longer delivered to your instances.
If the load balancer does not exist or has already been deleted, the call to DeleteLoadBalancer still succeeds.
// Example sending a request using the DeleteLoadBalancerRequest method. req := client.DeleteLoadBalancerRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancer
func (*ELB) DeregisterInstancesFromLoadBalancerRequest ¶
func (c *ELB) DeregisterInstancesFromLoadBalancerRequest(input *DeregisterInstancesFromLoadBalancerInput) DeregisterInstancesFromLoadBalancerRequest
DeregisterInstancesFromLoadBalancerRequest returns a request value for making API operation for Elastic Load Balancing.
Deregisters the specified instances from the specified load balancer. After the instance is deregistered, it no longer receives traffic from the load balancer.
You can use DescribeLoadBalancers to verify that the instance is deregistered from the load balancer.
For more information, see Register or De-Register EC2 Instances (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-deregister-register-instances.html) in the Classic Load Balancers Guide.
// Example sending a request using the DeregisterInstancesFromLoadBalancerRequest method. req := client.DeregisterInstancesFromLoadBalancerRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterInstancesFromLoadBalancer
func (*ELB) DescribeAccountLimitsRequest ¶
func (c *ELB) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput) DescribeAccountLimitsRequest
DescribeAccountLimitsRequest returns a request value for making API operation for Elastic Load Balancing.
Describes the current Elastic Load Balancing resource limits for your AWS account.
For more information, see Limits for Your Classic Load Balancer (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-limits.html) in the Classic Load Balancers Guide.
// Example sending a request using the DescribeAccountLimitsRequest method. req := client.DescribeAccountLimitsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccountLimits
func (*ELB) DescribeInstanceHealthRequest ¶
func (c *ELB) DescribeInstanceHealthRequest(input *DescribeInstanceHealthInput) DescribeInstanceHealthRequest
DescribeInstanceHealthRequest returns a request value for making API operation for Elastic Load Balancing.
Describes the state of the specified instances with respect to the specified load balancer. If no instances are specified, the call describes the state of all instances that are currently registered with the load balancer. If instances are specified, their state is returned even if they are no longer registered with the load balancer. The state of terminated instances is not returned.
// Example sending a request using the DescribeInstanceHealthRequest method. req := client.DescribeInstanceHealthRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeInstanceHealth
func (*ELB) DescribeLoadBalancerAttributesRequest ¶
func (c *ELB) DescribeLoadBalancerAttributesRequest(input *DescribeLoadBalancerAttributesInput) DescribeLoadBalancerAttributesRequest
DescribeLoadBalancerAttributesRequest returns a request value for making API operation for Elastic Load Balancing.
Describes the attributes for the specified load balancer.
// Example sending a request using the DescribeLoadBalancerAttributesRequest method. req := client.DescribeLoadBalancerAttributesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributes
func (*ELB) DescribeLoadBalancerPoliciesRequest ¶
func (c *ELB) DescribeLoadBalancerPoliciesRequest(input *DescribeLoadBalancerPoliciesInput) DescribeLoadBalancerPoliciesRequest
DescribeLoadBalancerPoliciesRequest returns a request value for making API operation for Elastic Load Balancing.
Describes the specified policies.
If you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer. If you specify a policy name associated with your load balancer, the action returns the description of that policy. If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies. The names of the sample policies have the ELBSample- prefix.
// Example sending a request using the DescribeLoadBalancerPoliciesRequest method. req := client.DescribeLoadBalancerPoliciesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicies
func (*ELB) DescribeLoadBalancerPolicyTypesRequest ¶
func (c *ELB) DescribeLoadBalancerPolicyTypesRequest(input *DescribeLoadBalancerPolicyTypesInput) DescribeLoadBalancerPolicyTypesRequest
DescribeLoadBalancerPolicyTypesRequest returns a request value for making API operation for Elastic Load Balancing.
Describes the specified load balancer policy types or all load balancer policy types.
The description of each type indicates how it can be used. For example, some policies can be used only with layer 7 listeners, some policies can be used only with layer 4 listeners, and some policies can be used only with your EC2 instances.
You can use CreateLoadBalancerPolicy to create a policy configuration for any of these policy types. Then, depending on the policy type, use either SetLoadBalancerPoliciesOfListener or SetLoadBalancerPoliciesForBackendServer to set the policy.
// Example sending a request using the DescribeLoadBalancerPolicyTypesRequest method. req := client.DescribeLoadBalancerPolicyTypesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypes
func (*ELB) DescribeLoadBalancersRequest ¶
func (c *ELB) DescribeLoadBalancersRequest(input *DescribeLoadBalancersInput) DescribeLoadBalancersRequest
DescribeLoadBalancersRequest returns a request value for making API operation for Elastic Load Balancing.
Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers.
// Example sending a request using the DescribeLoadBalancersRequest method. req := client.DescribeLoadBalancersRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancers
func (*ELB) DescribeTagsRequest ¶
func (c *ELB) DescribeTagsRequest(input *DescribeTagsInput) DescribeTagsRequest
DescribeTagsRequest returns a request value for making API operation for Elastic Load Balancing.
Describes the tags associated with the specified load balancers.
// Example sending a request using the DescribeTagsRequest method. req := client.DescribeTagsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTags
func (*ELB) DetachLoadBalancerFromSubnetsRequest ¶
func (c *ELB) DetachLoadBalancerFromSubnetsRequest(input *DetachLoadBalancerFromSubnetsInput) DetachLoadBalancerFromSubnetsRequest
DetachLoadBalancerFromSubnetsRequest returns a request value for making API operation for Elastic Load Balancing.
Removes the specified subnets from the set of configured subnets for the load balancer.
After a subnet is removed, all EC2 instances registered with the load balancer in the removed subnet go into the OutOfService state. Then, the load balancer balances the traffic among the remaining routable subnets.
// Example sending a request using the DetachLoadBalancerFromSubnetsRequest method. req := client.DetachLoadBalancerFromSubnetsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnets
func (*ELB) DisableAvailabilityZonesForLoadBalancerRequest ¶
func (c *ELB) DisableAvailabilityZonesForLoadBalancerRequest(input *DisableAvailabilityZonesForLoadBalancerInput) DisableAvailabilityZonesForLoadBalancerRequest
DisableAvailabilityZonesForLoadBalancerRequest returns a request value for making API operation for Elastic Load Balancing.
Removes the specified Availability Zones from the set of Availability Zones for the specified load balancer in EC2-Classic or a default VPC.
For load balancers in a non-default VPC, use DetachLoadBalancerFromSubnets.
There must be at least one Availability Zone registered with a load balancer at all times. After an Availability Zone is removed, all instances registered with the load balancer that are in the removed Availability Zone go into the OutOfService state. Then, the load balancer attempts to equally balance the traffic among its remaining Availability Zones.
For more information, see Add or Remove Availability Zones (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-disable-az.html) in the Classic Load Balancers Guide.
// Example sending a request using the DisableAvailabilityZonesForLoadBalancerRequest method. req := client.DisableAvailabilityZonesForLoadBalancerRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DisableAvailabilityZonesForLoadBalancer
func (*ELB) EnableAvailabilityZonesForLoadBalancerRequest ¶
func (c *ELB) EnableAvailabilityZonesForLoadBalancerRequest(input *EnableAvailabilityZonesForLoadBalancerInput) EnableAvailabilityZonesForLoadBalancerRequest
EnableAvailabilityZonesForLoadBalancerRequest returns a request value for making API operation for Elastic Load Balancing.
Adds the specified Availability Zones to the set of Availability Zones for the specified load balancer in EC2-Classic or a default VPC.
For load balancers in a non-default VPC, use AttachLoadBalancerToSubnets.
The load balancer evenly distributes requests across all its registered Availability Zones that contain instances. For more information, see Add or Remove Availability Zones (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-disable-az.html) in the Classic Load Balancers Guide.
// Example sending a request using the EnableAvailabilityZonesForLoadBalancerRequest method. req := client.EnableAvailabilityZonesForLoadBalancerRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/EnableAvailabilityZonesForLoadBalancer
func (*ELB) ModifyLoadBalancerAttributesRequest ¶
func (c *ELB) ModifyLoadBalancerAttributesRequest(input *ModifyLoadBalancerAttributesInput) ModifyLoadBalancerAttributesRequest
ModifyLoadBalancerAttributesRequest returns a request value for making API operation for Elastic Load Balancing.
Modifies the attributes of the specified load balancer.
You can modify the load balancer attributes, such as AccessLogs, ConnectionDraining, and CrossZoneLoadBalancing by either enabling or disabling them. Or, you can modify the load balancer attribute ConnectionSettings by specifying an idle connection timeout value for your load balancer.
For more information, see the following in the Classic Load Balancers Guide:
Cross-Zone Load Balancing (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-disable-crosszone-lb.html)
Connection Draining (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-conn-drain.html)
Access Logs (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/access-log-collection.html)
Idle Connection Timeout (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-idle-timeout.html)
// Example sending a request using the ModifyLoadBalancerAttributesRequest method. req := client.ModifyLoadBalancerAttributesRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributes
func (*ELB) RegisterInstancesWithLoadBalancerRequest ¶
func (c *ELB) RegisterInstancesWithLoadBalancerRequest(input *RegisterInstancesWithLoadBalancerInput) RegisterInstancesWithLoadBalancerRequest
RegisterInstancesWithLoadBalancerRequest returns a request value for making API operation for Elastic Load Balancing.
Adds the specified instances to the specified load balancer.
The instance must be a running instance in the same network as the load balancer (EC2-Classic or the same VPC). If you have EC2-Classic instances and a load balancer in a VPC with ClassicLink enabled, you can link the EC2-Classic instances to that VPC and then register the linked EC2-Classic instances with the load balancer in the VPC.
Note that RegisterInstanceWithLoadBalancer completes when the request has been registered. Instance registration takes a little time to complete. To check the state of the registered instances, use DescribeLoadBalancers or DescribeInstanceHealth.
After the instance is registered, it starts receiving traffic and requests from the load balancer. Any instance that is not in one of the Availability Zones registered for the load balancer is moved to the OutOfService state. If an Availability Zone is added to the load balancer later, any instances registered with the load balancer move to the InService state.
To deregister instances from a load balancer, use DeregisterInstancesFromLoadBalancer.
For more information, see Register or De-Register EC2 Instances (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-deregister-register-instances.html) in the Classic Load Balancers Guide.
// Example sending a request using the RegisterInstancesWithLoadBalancerRequest method. req := client.RegisterInstancesWithLoadBalancerRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterInstancesWithLoadBalancer
func (*ELB) RemoveTagsRequest ¶
func (c *ELB) RemoveTagsRequest(input *RemoveTagsInput) RemoveTagsRequest
RemoveTagsRequest returns a request value for making API operation for Elastic Load Balancing.
Removes one or more tags from the specified load balancer.
// Example sending a request using the RemoveTagsRequest method. req := client.RemoveTagsRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTags
func (*ELB) SetLoadBalancerListenerSSLCertificateRequest ¶
func (c *ELB) SetLoadBalancerListenerSSLCertificateRequest(input *SetLoadBalancerListenerSSLCertificateInput) SetLoadBalancerListenerSSLCertificateRequest
SetLoadBalancerListenerSSLCertificateRequest returns a request value for making API operation for Elastic Load Balancing.
Sets the certificate that terminates the specified listener's SSL connections. The specified certificate replaces any prior certificate that was used on the same load balancer and port.
For more information about updating your SSL certificate, see Replace the SSL Certificate for Your Load Balancer (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-update-ssl-cert.html) in the Classic Load Balancers Guide.
// Example sending a request using the SetLoadBalancerListenerSSLCertificateRequest method. req := client.SetLoadBalancerListenerSSLCertificateRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificate
func (*ELB) SetLoadBalancerPoliciesForBackendServerRequest ¶
func (c *ELB) SetLoadBalancerPoliciesForBackendServerRequest(input *SetLoadBalancerPoliciesForBackendServerInput) SetLoadBalancerPoliciesForBackendServerRequest
SetLoadBalancerPoliciesForBackendServerRequest returns a request value for making API operation for Elastic Load Balancing.
Replaces the set of policies associated with the specified port on which the EC2 instance is listening with a new set of policies. At this time, only the back-end server authentication policy type can be applied to the instance ports; this policy type is composed of multiple public key policies.
Each time you use SetLoadBalancerPoliciesForBackendServer to enable the policies, use the PolicyNames parameter to list the policies that you want to enable.
You can use DescribeLoadBalancers or DescribeLoadBalancerPolicies to verify that the policy is associated with the EC2 instance.
For more information about enabling back-end instance authentication, see Configure Back-end Instance Authentication (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-create-https-ssl-load-balancer.html#configure_backendauth_clt) in the Classic Load Balancers Guide. For more information about Proxy Protocol, see Configure Proxy Protocol Support (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-proxy-protocol.html) in the Classic Load Balancers Guide.
// Example sending a request using the SetLoadBalancerPoliciesForBackendServerRequest method. req := client.SetLoadBalancerPoliciesForBackendServerRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServer
func (*ELB) SetLoadBalancerPoliciesOfListenerRequest ¶
func (c *ELB) SetLoadBalancerPoliciesOfListenerRequest(input *SetLoadBalancerPoliciesOfListenerInput) SetLoadBalancerPoliciesOfListenerRequest
SetLoadBalancerPoliciesOfListenerRequest returns a request value for making API operation for Elastic Load Balancing.
Replaces the current set of policies for the specified load balancer port with the specified set of policies.
To enable back-end server authentication, use SetLoadBalancerPoliciesForBackendServer.
For more information about setting policies, see Update the SSL Negotiation Configuration (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/ssl-config-update.html), Duration-Based Session Stickiness (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html#enable-sticky-sessions-duration), and Application-Controlled Session Stickiness (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html#enable-sticky-sessions-application) in the Classic Load Balancers Guide.
// Example sending a request using the SetLoadBalancerPoliciesOfListenerRequest method. req := client.SetLoadBalancerPoliciesOfListenerRequest(params) resp, err := req.Send(context.TODO()) if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListener
func (*ELB) WaitUntilAnyInstanceInService ¶
func (c *ELB) WaitUntilAnyInstanceInService(ctx context.Context, input *DescribeInstanceHealthInput, opts ...aws.WaiterOption) error
WaitUntilAnyInstanceInService uses the Elastic Load Balancing API operation DescribeInstanceHealth to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
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 (*ELB) WaitUntilInstanceDeregistered ¶
func (c *ELB) WaitUntilInstanceDeregistered(ctx context.Context, input *DescribeInstanceHealthInput, opts ...aws.WaiterOption) error
WaitUntilInstanceDeregistered uses the Elastic Load Balancing API operation DescribeInstanceHealth to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
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 (*ELB) WaitUntilInstanceInService ¶
func (c *ELB) WaitUntilInstanceInService(ctx context.Context, input *DescribeInstanceHealthInput, opts ...aws.WaiterOption) error
WaitUntilInstanceInService uses the Elastic Load Balancing API operation DescribeInstanceHealth to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
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.
type EnableAvailabilityZonesForLoadBalancerInput ¶
type EnableAvailabilityZonesForLoadBalancerInput struct { // The Availability Zones. These must be in the same region as the load balancer. // // AvailabilityZones is a required field AvailabilityZones []string `type:"list" required:"true"` // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for EnableAvailabilityZonesForLoadBalancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddAvailabilityZonesInput
func (EnableAvailabilityZonesForLoadBalancerInput) GoString ¶
func (s EnableAvailabilityZonesForLoadBalancerInput) GoString() string
GoString returns the string representation
func (EnableAvailabilityZonesForLoadBalancerInput) String ¶
func (s EnableAvailabilityZonesForLoadBalancerInput) String() string
String returns the string representation
func (*EnableAvailabilityZonesForLoadBalancerInput) Validate ¶
func (s *EnableAvailabilityZonesForLoadBalancerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EnableAvailabilityZonesForLoadBalancerOutput ¶
type EnableAvailabilityZonesForLoadBalancerOutput struct { // The updated list of Availability Zones for the load balancer. AvailabilityZones []string `type:"list"` // contains filtered or unexported fields }
Contains the output of EnableAvailabilityZonesForLoadBalancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddAvailabilityZonesOutput
func (EnableAvailabilityZonesForLoadBalancerOutput) GoString ¶
func (s EnableAvailabilityZonesForLoadBalancerOutput) GoString() string
GoString returns the string representation
func (EnableAvailabilityZonesForLoadBalancerOutput) SDKResponseMetadata ¶
func (s EnableAvailabilityZonesForLoadBalancerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (EnableAvailabilityZonesForLoadBalancerOutput) String ¶
func (s EnableAvailabilityZonesForLoadBalancerOutput) String() string
String returns the string representation
type EnableAvailabilityZonesForLoadBalancerRequest ¶
type EnableAvailabilityZonesForLoadBalancerRequest struct { *aws.Request Input *EnableAvailabilityZonesForLoadBalancerInput Copy func(*EnableAvailabilityZonesForLoadBalancerInput) EnableAvailabilityZonesForLoadBalancerRequest }
EnableAvailabilityZonesForLoadBalancerRequest is a API request type for the EnableAvailabilityZonesForLoadBalancer API operation.
func (EnableAvailabilityZonesForLoadBalancerRequest) Send ¶
func (r EnableAvailabilityZonesForLoadBalancerRequest) Send(ctx context.Context) (*EnableAvailabilityZonesForLoadBalancerOutput, error)
Send marshals and sends the EnableAvailabilityZonesForLoadBalancer API request.
type HealthCheck ¶
type HealthCheck struct { // The number of consecutive health checks successes required before moving // the instance to the Healthy state. // // HealthyThreshold is a required field HealthyThreshold *int64 `min:"2" type:"integer" required:"true"` // The approximate interval, in seconds, between health checks of an individual // instance. // // Interval is a required field Interval *int64 `min:"5" type:"integer" required:"true"` // The instance being checked. The protocol is either TCP, HTTP, HTTPS, or SSL. // The range of valid ports is one (1) through 65535. // // TCP is the default, specified as a TCP: port pair, for example "TCP:5000". // In this case, a health check simply attempts to open a TCP connection to // the instance on the specified port. Failure to connect within the configured // timeout is considered unhealthy. // // SSL is also specified as SSL: port pair, for example, SSL:5000. // // For HTTP/HTTPS, you must include a ping path in the string. HTTP is specified // as a HTTP:port;/;PathToPing; grouping, for example "HTTP:80/weather/us/wa/seattle". // In this case, a HTTP GET request is issued to the instance on the given port // and path. Any answer other than "200 OK" within the timeout period is considered // unhealthy. // // The total length of the HTTP ping target must be 1024 16-bit Unicode characters // or less. // // Target is a required field Target *string `type:"string" required:"true"` // The amount of time, in seconds, during which no response means a failed health // check. // // This value must be less than the Interval value. // // Timeout is a required field Timeout *int64 `min:"2" type:"integer" required:"true"` // The number of consecutive health check failures required before moving the // instance to the Unhealthy state. // // UnhealthyThreshold is a required field UnhealthyThreshold *int64 `min:"2" type:"integer" required:"true"` // contains filtered or unexported fields }
Information about a health check. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/HealthCheck
func (HealthCheck) GoString ¶
func (s HealthCheck) GoString() string
GoString returns the string representation
func (HealthCheck) String ¶
func (s HealthCheck) String() string
String returns the string representation
func (*HealthCheck) Validate ¶
func (s *HealthCheck) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Instance ¶
type Instance struct { // The instance ID. InstanceId *string `type:"string"` // contains filtered or unexported fields }
The ID of an EC2 instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Instance
type InstanceState ¶
type InstanceState struct { // A description of the instance state. This string can contain one or more // of the following messages. // // * N/A // // * A transient error occurred. Please try again later. // // * Instance has failed at least the UnhealthyThreshold number of health // checks consecutively. // // * Instance has not passed the configured HealthyThreshold number of health // checks consecutively. // // * Instance registration is still in progress. // // * Instance is in the EC2 Availability Zone for which LoadBalancer is not // configured to route traffic to. // // * Instance is not currently registered with the LoadBalancer. // // * Instance deregistration currently in progress. // // * Disable Availability Zone is currently in progress. // // * Instance is in pending state. // // * Instance is in stopped state. // // * Instance is in terminated state. Description *string `type:"string"` // The ID of the instance. InstanceId *string `type:"string"` // Information about the cause of OutOfService instances. Specifically, whether // the cause is Elastic Load Balancing or the instance. // // Valid values: ELB | Instance | N/A ReasonCode *string `type:"string"` // The current state of the instance. // // Valid values: InService | OutOfService | Unknown State *string `type:"string"` // contains filtered or unexported fields }
Information about the state of an EC2 instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/InstanceState
func (InstanceState) GoString ¶
func (s InstanceState) GoString() string
GoString returns the string representation
func (InstanceState) String ¶
func (s InstanceState) String() string
String returns the string representation
type LBCookieStickinessPolicy ¶
type LBCookieStickinessPolicy struct { // The time period, in seconds, after which the cookie should be considered // stale. If this parameter is not specified, the stickiness session lasts for // the duration of the browser session. CookieExpirationPeriod *int64 `type:"long"` // The name of the policy. This name must be unique within the set of policies // for this load balancer. PolicyName *string `type:"string"` // contains filtered or unexported fields }
Information about a policy for duration-based session stickiness. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LBCookieStickinessPolicy
func (LBCookieStickinessPolicy) GoString ¶
func (s LBCookieStickinessPolicy) GoString() string
GoString returns the string representation
func (LBCookieStickinessPolicy) String ¶
func (s LBCookieStickinessPolicy) String() string
String returns the string representation
type Limit ¶
type Limit struct { // The maximum value of the limit. Max *string `type:"string"` // The name of the limit. The possible values are: // // * classic-listeners // // * classic-load-balancers // // * classic-registered-instances Name *string `type:"string"` // contains filtered or unexported fields }
Information about an Elastic Load Balancing resource limit for your AWS account. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Limit
type Listener ¶
type Listener struct { // The port on which the instance is listening. // // InstancePort is a required field InstancePort *int64 `min:"1" type:"integer" required:"true"` // The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, or // SSL. // // If the front-end protocol is HTTP, HTTPS, TCP, or SSL, InstanceProtocol must // be at the same protocol. // // If there is another listener with the same InstancePort whose InstanceProtocol // is secure, (HTTPS or SSL), the listener's InstanceProtocol must also be secure. // // If there is another listener with the same InstancePort whose InstanceProtocol // is HTTP or TCP, the listener's InstanceProtocol must be HTTP or TCP. InstanceProtocol *string `type:"string"` // The port on which the load balancer is listening. On EC2-VPC, you can specify // any port from the range 1-65535. On EC2-Classic, you can specify any port // from the following list: 25, 80, 443, 465, 587, 1024-65535. // // LoadBalancerPort is a required field LoadBalancerPort *int64 `type:"integer" required:"true"` // The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, // or SSL. // // Protocol is a required field Protocol *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of the server certificate. SSLCertificateId *string `type:"string"` // contains filtered or unexported fields }
Information about a listener.
For information about the protocols and the ports supported by Elastic Load Balancing, see Listeners for Your Classic Load Balancer (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-listener-config.html) in the Classic Load Balancers Guide. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Listener
type ListenerDescription ¶
type ListenerDescription struct { // The listener. Listener *Listener `type:"structure"` // The policies. If there are no policies enabled, the list is empty. PolicyNames []string `type:"list"` // contains filtered or unexported fields }
The policies enabled for a listener. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ListenerDescription
func (ListenerDescription) GoString ¶
func (s ListenerDescription) GoString() string
GoString returns the string representation
func (ListenerDescription) String ¶
func (s ListenerDescription) String() string
String returns the string representation
type LoadBalancerAttributes ¶
type LoadBalancerAttributes struct { // If enabled, the load balancer captures detailed information of all requests // and delivers the information to the Amazon S3 bucket that you specify. // // For more information, see Enable Access Logs (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-access-logs.html) // in the Classic Load Balancers Guide. AccessLog *AccessLog `type:"structure"` // This parameter is reserved. AdditionalAttributes []AdditionalAttribute `type:"list"` // If enabled, the load balancer allows existing requests to complete before // the load balancer shifts traffic away from a deregistered or unhealthy instance. // // For more information, see Configure Connection Draining (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-conn-drain.html) // in the Classic Load Balancers Guide. ConnectionDraining *ConnectionDraining `type:"structure"` // If enabled, the load balancer allows the connections to remain idle (no data // is sent over the connection) for the specified duration. // // By default, Elastic Load Balancing maintains a 60-second idle connection // timeout for both front-end and back-end connections of your load balancer. // For more information, see Configure Idle Connection Timeout (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-idle-timeout.html) // in the Classic Load Balancers Guide. ConnectionSettings *ConnectionSettings `type:"structure"` // If enabled, the load balancer routes the request traffic evenly across all // instances regardless of the Availability Zones. // // For more information, see Configure Cross-Zone Load Balancing (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-disable-crosszone-lb.html) // in the Classic Load Balancers Guide. CrossZoneLoadBalancing *CrossZoneLoadBalancing `type:"structure"` // contains filtered or unexported fields }
The attributes for a load balancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LoadBalancerAttributes
func (LoadBalancerAttributes) GoString ¶
func (s LoadBalancerAttributes) GoString() string
GoString returns the string representation
func (LoadBalancerAttributes) String ¶
func (s LoadBalancerAttributes) String() string
String returns the string representation
func (*LoadBalancerAttributes) Validate ¶
func (s *LoadBalancerAttributes) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LoadBalancerDescription ¶
type LoadBalancerDescription struct { // The Availability Zones for the load balancer. AvailabilityZones []string `type:"list"` // Information about your EC2 instances. BackendServerDescriptions []BackendServerDescription `type:"list"` // The DNS name of the load balancer. // // For more information, see Configure a Custom Domain Name (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/using-domain-names-with-elb.html) // in the Classic Load Balancers Guide. CanonicalHostedZoneName *string `type:"string"` // The ID of the Amazon Route 53 hosted zone for the load balancer. CanonicalHostedZoneNameID *string `type:"string"` // The date and time the load balancer was created. CreatedTime *time.Time `type:"timestamp" timestampFormat:"iso8601"` // The DNS name of the load balancer. DNSName *string `type:"string"` // Information about the health checks conducted on the load balancer. HealthCheck *HealthCheck `type:"structure"` // The IDs of the instances for the load balancer. Instances []Instance `type:"list"` // The listeners for the load balancer. ListenerDescriptions []ListenerDescription `type:"list"` // The name of the load balancer. LoadBalancerName *string `type:"string"` // The policies defined for the load balancer. Policies *Policies `type:"structure"` // The type of load balancer. Valid only for load balancers in a VPC. // // If Scheme is internet-facing, the load balancer has a public DNS name that // resolves to a public IP address. // // If Scheme is internal, the load balancer has a public DNS name that resolves // to a private IP address. Scheme *string `type:"string"` // The security groups for the load balancer. Valid only for load balancers // in a VPC. SecurityGroups []string `type:"list"` // The security group for the load balancer, which you can use as part of your // inbound rules for your registered instances. To only allow traffic from load // balancers, add a security group rule that specifies this source security // group as the inbound source. SourceSecurityGroup *SourceSecurityGroup `type:"structure"` // The IDs of the subnets for the load balancer. Subnets []string `type:"list"` // The ID of the VPC for the load balancer. VPCId *string `type:"string"` // contains filtered or unexported fields }
Information about a load balancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/LoadBalancerDescription
func (LoadBalancerDescription) GoString ¶
func (s LoadBalancerDescription) GoString() string
GoString returns the string representation
func (LoadBalancerDescription) String ¶
func (s LoadBalancerDescription) String() string
String returns the string representation
type ModifyLoadBalancerAttributesInput ¶
type ModifyLoadBalancerAttributesInput struct { // The attributes for the load balancer. // // LoadBalancerAttributes is a required field LoadBalancerAttributes *LoadBalancerAttributes `type:"structure" required:"true"` // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for ModifyLoadBalancerAttributes. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributesInput
func (ModifyLoadBalancerAttributesInput) GoString ¶
func (s ModifyLoadBalancerAttributesInput) GoString() string
GoString returns the string representation
func (ModifyLoadBalancerAttributesInput) String ¶
func (s ModifyLoadBalancerAttributesInput) String() string
String returns the string representation
func (*ModifyLoadBalancerAttributesInput) Validate ¶
func (s *ModifyLoadBalancerAttributesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ModifyLoadBalancerAttributesOutput ¶
type ModifyLoadBalancerAttributesOutput struct { // Information about the load balancer attributes. LoadBalancerAttributes *LoadBalancerAttributes `type:"structure"` // The name of the load balancer. LoadBalancerName *string `type:"string"` // contains filtered or unexported fields }
Contains the output of ModifyLoadBalancerAttributes. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributesOutput
func (ModifyLoadBalancerAttributesOutput) GoString ¶
func (s ModifyLoadBalancerAttributesOutput) GoString() string
GoString returns the string representation
func (ModifyLoadBalancerAttributesOutput) SDKResponseMetadata ¶
func (s ModifyLoadBalancerAttributesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (ModifyLoadBalancerAttributesOutput) String ¶
func (s ModifyLoadBalancerAttributesOutput) String() string
String returns the string representation
type ModifyLoadBalancerAttributesRequest ¶
type ModifyLoadBalancerAttributesRequest struct { *aws.Request Input *ModifyLoadBalancerAttributesInput Copy func(*ModifyLoadBalancerAttributesInput) ModifyLoadBalancerAttributesRequest }
ModifyLoadBalancerAttributesRequest is a API request type for the ModifyLoadBalancerAttributes API operation.
func (ModifyLoadBalancerAttributesRequest) Send ¶
func (r ModifyLoadBalancerAttributesRequest) Send(ctx context.Context) (*ModifyLoadBalancerAttributesOutput, error)
Send marshals and sends the ModifyLoadBalancerAttributes API request.
type Policies ¶
type Policies struct { // The stickiness policies created using CreateAppCookieStickinessPolicy. AppCookieStickinessPolicies []AppCookieStickinessPolicy `type:"list"` // The stickiness policies created using CreateLBCookieStickinessPolicy. LBCookieStickinessPolicies []LBCookieStickinessPolicy `type:"list"` // The policies other than the stickiness policies. OtherPolicies []string `type:"list"` // contains filtered or unexported fields }
The policies for a load balancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Policies
type PolicyAttribute ¶
type PolicyAttribute struct { // The name of the attribute. AttributeName *string `type:"string"` // The value of the attribute. AttributeValue *string `type:"string"` // contains filtered or unexported fields }
Information about a policy attribute. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyAttribute
func (PolicyAttribute) GoString ¶
func (s PolicyAttribute) GoString() string
GoString returns the string representation
func (PolicyAttribute) String ¶
func (s PolicyAttribute) String() string
String returns the string representation
type PolicyAttributeDescription ¶
type PolicyAttributeDescription struct { // The name of the attribute. AttributeName *string `type:"string"` // The value of the attribute. AttributeValue *string `type:"string"` // contains filtered or unexported fields }
Information about a policy attribute. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyAttributeDescription
func (PolicyAttributeDescription) GoString ¶
func (s PolicyAttributeDescription) GoString() string
GoString returns the string representation
func (PolicyAttributeDescription) String ¶
func (s PolicyAttributeDescription) String() string
String returns the string representation
type PolicyAttributeTypeDescription ¶
type PolicyAttributeTypeDescription struct { // The name of the attribute. AttributeName *string `type:"string"` // The type of the attribute. For example, Boolean or Integer. AttributeType *string `type:"string"` // The cardinality of the attribute. // // Valid values: // // * ONE(1) : Single value required // // * ZERO_OR_ONE(0..1) : Up to one value is allowed // // * ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed // // * ONE_OR_MORE(1..*0) : Required. Multiple values are allowed Cardinality *string `type:"string"` // The default value of the attribute, if applicable. DefaultValue *string `type:"string"` // A description of the attribute. Description *string `type:"string"` // contains filtered or unexported fields }
Information about a policy attribute type. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyAttributeTypeDescription
func (PolicyAttributeTypeDescription) GoString ¶
func (s PolicyAttributeTypeDescription) GoString() string
GoString returns the string representation
func (PolicyAttributeTypeDescription) String ¶
func (s PolicyAttributeTypeDescription) String() string
String returns the string representation
type PolicyDescription ¶
type PolicyDescription struct { // The policy attributes. PolicyAttributeDescriptions []PolicyAttributeDescription `type:"list"` // The name of the policy. PolicyName *string `type:"string"` // The name of the policy type. PolicyTypeName *string `type:"string"` // contains filtered or unexported fields }
Information about a policy. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyDescription
func (PolicyDescription) GoString ¶
func (s PolicyDescription) GoString() string
GoString returns the string representation
func (PolicyDescription) String ¶
func (s PolicyDescription) String() string
String returns the string representation
type PolicyTypeDescription ¶
type PolicyTypeDescription struct { // A description of the policy type. Description *string `type:"string"` // The description of the policy attributes associated with the policies defined // by Elastic Load Balancing. PolicyAttributeTypeDescriptions []PolicyAttributeTypeDescription `type:"list"` // The name of the policy type. PolicyTypeName *string `type:"string"` // contains filtered or unexported fields }
Information about a policy type. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/PolicyTypeDescription
func (PolicyTypeDescription) GoString ¶
func (s PolicyTypeDescription) GoString() string
GoString returns the string representation
func (PolicyTypeDescription) String ¶
func (s PolicyTypeDescription) String() string
String returns the string representation
type RegisterInstancesWithLoadBalancerInput ¶
type RegisterInstancesWithLoadBalancerInput struct { // The IDs of the instances. // // Instances is a required field Instances []Instance `type:"list" required:"true"` // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for RegisterInstancesWithLoadBalancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterEndPointsInput
func (RegisterInstancesWithLoadBalancerInput) GoString ¶
func (s RegisterInstancesWithLoadBalancerInput) GoString() string
GoString returns the string representation
func (RegisterInstancesWithLoadBalancerInput) String ¶
func (s RegisterInstancesWithLoadBalancerInput) String() string
String returns the string representation
func (*RegisterInstancesWithLoadBalancerInput) Validate ¶
func (s *RegisterInstancesWithLoadBalancerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RegisterInstancesWithLoadBalancerOutput ¶
type RegisterInstancesWithLoadBalancerOutput struct { // The updated list of instances for the load balancer. Instances []Instance `type:"list"` // contains filtered or unexported fields }
Contains the output of RegisterInstancesWithLoadBalancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterEndPointsOutput
func (RegisterInstancesWithLoadBalancerOutput) GoString ¶
func (s RegisterInstancesWithLoadBalancerOutput) GoString() string
GoString returns the string representation
func (RegisterInstancesWithLoadBalancerOutput) SDKResponseMetadata ¶
func (s RegisterInstancesWithLoadBalancerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (RegisterInstancesWithLoadBalancerOutput) String ¶
func (s RegisterInstancesWithLoadBalancerOutput) String() string
String returns the string representation
type RegisterInstancesWithLoadBalancerRequest ¶
type RegisterInstancesWithLoadBalancerRequest struct { *aws.Request Input *RegisterInstancesWithLoadBalancerInput Copy func(*RegisterInstancesWithLoadBalancerInput) RegisterInstancesWithLoadBalancerRequest }
RegisterInstancesWithLoadBalancerRequest is a API request type for the RegisterInstancesWithLoadBalancer API operation.
func (RegisterInstancesWithLoadBalancerRequest) Send ¶
func (r RegisterInstancesWithLoadBalancerRequest) Send(ctx context.Context) (*RegisterInstancesWithLoadBalancerOutput, error)
Send marshals and sends the RegisterInstancesWithLoadBalancer API request.
type RemoveTagsInput ¶
type RemoveTagsInput struct { // The name of the load balancer. You can specify a maximum of one load balancer // name. // // LoadBalancerNames is a required field LoadBalancerNames []string `type:"list" required:"true"` // The list of tag keys to remove. // // Tags is a required field Tags []TagKeyOnly `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
Contains the parameters for RemoveTags. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTagsInput
func (RemoveTagsInput) GoString ¶
func (s RemoveTagsInput) GoString() string
GoString returns the string representation
func (RemoveTagsInput) String ¶
func (s RemoveTagsInput) String() string
String returns the string representation
func (*RemoveTagsInput) Validate ¶
func (s *RemoveTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemoveTagsOutput ¶
type RemoveTagsOutput struct {
// contains filtered or unexported fields
}
Contains the output of RemoveTags. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTagsOutput
func (RemoveTagsOutput) GoString ¶
func (s RemoveTagsOutput) GoString() string
GoString returns the string representation
func (RemoveTagsOutput) SDKResponseMetadata ¶
func (s RemoveTagsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (RemoveTagsOutput) String ¶
func (s RemoveTagsOutput) String() string
String returns the string representation
type RemoveTagsRequest ¶
type RemoveTagsRequest struct { *aws.Request Input *RemoveTagsInput Copy func(*RemoveTagsInput) RemoveTagsRequest }
RemoveTagsRequest is a API request type for the RemoveTags API operation.
func (RemoveTagsRequest) Send ¶
func (r RemoveTagsRequest) Send(ctx context.Context) (*RemoveTagsOutput, error)
Send marshals and sends the RemoveTags API request.
type SetLoadBalancerListenerSSLCertificateInput ¶
type SetLoadBalancerListenerSSLCertificateInput struct { // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The port that uses the specified SSL certificate. // // LoadBalancerPort is a required field LoadBalancerPort *int64 `type:"integer" required:"true"` // The Amazon Resource Name (ARN) of the SSL certificate. // // SSLCertificateId is a required field SSLCertificateId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Contains the parameters for SetLoadBalancerListenerSSLCertificate. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificateInput
func (SetLoadBalancerListenerSSLCertificateInput) GoString ¶
func (s SetLoadBalancerListenerSSLCertificateInput) GoString() string
GoString returns the string representation
func (SetLoadBalancerListenerSSLCertificateInput) String ¶
func (s SetLoadBalancerListenerSSLCertificateInput) String() string
String returns the string representation
func (*SetLoadBalancerListenerSSLCertificateInput) Validate ¶
func (s *SetLoadBalancerListenerSSLCertificateInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetLoadBalancerListenerSSLCertificateOutput ¶
type SetLoadBalancerListenerSSLCertificateOutput struct {
// contains filtered or unexported fields
}
Contains the output of SetLoadBalancerListenerSSLCertificate. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificateOutput
func (SetLoadBalancerListenerSSLCertificateOutput) GoString ¶
func (s SetLoadBalancerListenerSSLCertificateOutput) GoString() string
GoString returns the string representation
func (SetLoadBalancerListenerSSLCertificateOutput) SDKResponseMetadata ¶
func (s SetLoadBalancerListenerSSLCertificateOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (SetLoadBalancerListenerSSLCertificateOutput) String ¶
func (s SetLoadBalancerListenerSSLCertificateOutput) String() string
String returns the string representation
type SetLoadBalancerListenerSSLCertificateRequest ¶
type SetLoadBalancerListenerSSLCertificateRequest struct { *aws.Request Input *SetLoadBalancerListenerSSLCertificateInput Copy func(*SetLoadBalancerListenerSSLCertificateInput) SetLoadBalancerListenerSSLCertificateRequest }
SetLoadBalancerListenerSSLCertificateRequest is a API request type for the SetLoadBalancerListenerSSLCertificate API operation.
func (SetLoadBalancerListenerSSLCertificateRequest) Send ¶
func (r SetLoadBalancerListenerSSLCertificateRequest) Send(ctx context.Context) (*SetLoadBalancerListenerSSLCertificateOutput, error)
Send marshals and sends the SetLoadBalancerListenerSSLCertificate API request.
type SetLoadBalancerPoliciesForBackendServerInput ¶
type SetLoadBalancerPoliciesForBackendServerInput struct { // The port number associated with the EC2 instance. // // InstancePort is a required field InstancePort *int64 `type:"integer" required:"true"` // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The names of the policies. If the list is empty, then all current polices // are removed from the EC2 instance. // // PolicyNames is a required field PolicyNames []string `type:"list" required:"true"` // contains filtered or unexported fields }
Contains the parameters for SetLoadBalancerPoliciesForBackendServer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServerInput
func (SetLoadBalancerPoliciesForBackendServerInput) GoString ¶
func (s SetLoadBalancerPoliciesForBackendServerInput) GoString() string
GoString returns the string representation
func (SetLoadBalancerPoliciesForBackendServerInput) String ¶
func (s SetLoadBalancerPoliciesForBackendServerInput) String() string
String returns the string representation
func (*SetLoadBalancerPoliciesForBackendServerInput) Validate ¶
func (s *SetLoadBalancerPoliciesForBackendServerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetLoadBalancerPoliciesForBackendServerOutput ¶
type SetLoadBalancerPoliciesForBackendServerOutput struct {
// contains filtered or unexported fields
}
Contains the output of SetLoadBalancerPoliciesForBackendServer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServerOutput
func (SetLoadBalancerPoliciesForBackendServerOutput) GoString ¶
func (s SetLoadBalancerPoliciesForBackendServerOutput) GoString() string
GoString returns the string representation
func (SetLoadBalancerPoliciesForBackendServerOutput) SDKResponseMetadata ¶
func (s SetLoadBalancerPoliciesForBackendServerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (SetLoadBalancerPoliciesForBackendServerOutput) String ¶
func (s SetLoadBalancerPoliciesForBackendServerOutput) String() string
String returns the string representation
type SetLoadBalancerPoliciesForBackendServerRequest ¶
type SetLoadBalancerPoliciesForBackendServerRequest struct { *aws.Request Input *SetLoadBalancerPoliciesForBackendServerInput Copy func(*SetLoadBalancerPoliciesForBackendServerInput) SetLoadBalancerPoliciesForBackendServerRequest }
SetLoadBalancerPoliciesForBackendServerRequest is a API request type for the SetLoadBalancerPoliciesForBackendServer API operation.
func (SetLoadBalancerPoliciesForBackendServerRequest) Send ¶
func (r SetLoadBalancerPoliciesForBackendServerRequest) Send(ctx context.Context) (*SetLoadBalancerPoliciesForBackendServerOutput, error)
Send marshals and sends the SetLoadBalancerPoliciesForBackendServer API request.
type SetLoadBalancerPoliciesOfListenerInput ¶
type SetLoadBalancerPoliciesOfListenerInput struct { // The name of the load balancer. // // LoadBalancerName is a required field LoadBalancerName *string `type:"string" required:"true"` // The external port of the load balancer. // // LoadBalancerPort is a required field LoadBalancerPort *int64 `type:"integer" required:"true"` // The names of the policies. This list must include all policies to be enabled. // If you omit a policy that is currently enabled, it is disabled. If the list // is empty, all current policies are disabled. // // PolicyNames is a required field PolicyNames []string `type:"list" required:"true"` // contains filtered or unexported fields }
Contains the parameters for SetLoadBalancePoliciesOfListener. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListenerInput
func (SetLoadBalancerPoliciesOfListenerInput) GoString ¶
func (s SetLoadBalancerPoliciesOfListenerInput) GoString() string
GoString returns the string representation
func (SetLoadBalancerPoliciesOfListenerInput) String ¶
func (s SetLoadBalancerPoliciesOfListenerInput) String() string
String returns the string representation
func (*SetLoadBalancerPoliciesOfListenerInput) Validate ¶
func (s *SetLoadBalancerPoliciesOfListenerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetLoadBalancerPoliciesOfListenerOutput ¶
type SetLoadBalancerPoliciesOfListenerOutput struct {
// contains filtered or unexported fields
}
Contains the output of SetLoadBalancePoliciesOfListener. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListenerOutput
func (SetLoadBalancerPoliciesOfListenerOutput) GoString ¶
func (s SetLoadBalancerPoliciesOfListenerOutput) GoString() string
GoString returns the string representation
func (SetLoadBalancerPoliciesOfListenerOutput) SDKResponseMetadata ¶
func (s SetLoadBalancerPoliciesOfListenerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (SetLoadBalancerPoliciesOfListenerOutput) String ¶
func (s SetLoadBalancerPoliciesOfListenerOutput) String() string
String returns the string representation
type SetLoadBalancerPoliciesOfListenerRequest ¶
type SetLoadBalancerPoliciesOfListenerRequest struct { *aws.Request Input *SetLoadBalancerPoliciesOfListenerInput Copy func(*SetLoadBalancerPoliciesOfListenerInput) SetLoadBalancerPoliciesOfListenerRequest }
SetLoadBalancerPoliciesOfListenerRequest is a API request type for the SetLoadBalancerPoliciesOfListener API operation.
func (SetLoadBalancerPoliciesOfListenerRequest) Send ¶
func (r SetLoadBalancerPoliciesOfListenerRequest) Send(ctx context.Context) (*SetLoadBalancerPoliciesOfListenerOutput, error)
Send marshals and sends the SetLoadBalancerPoliciesOfListener API request.
type SourceSecurityGroup ¶
type SourceSecurityGroup struct { // The name of the security group. GroupName *string `type:"string"` // The owner of the security group. OwnerAlias *string `type:"string"` // contains filtered or unexported fields }
Information about a source security group. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SourceSecurityGroup
func (SourceSecurityGroup) GoString ¶
func (s SourceSecurityGroup) GoString() string
GoString returns the string representation
func (SourceSecurityGroup) String ¶
func (s SourceSecurityGroup) String() string
String returns the string representation
type Tag ¶
type Tag struct { // The key of the tag. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // The value of the tag. Value *string `type:"string"` // contains filtered or unexported fields }
Information about a tag. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/Tag
type TagDescription ¶
type TagDescription struct { // The name of the load balancer. LoadBalancerName *string `type:"string"` // The tags. Tags []Tag `min:"1" type:"list"` // contains filtered or unexported fields }
The tags associated with a load balancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/TagDescription
func (TagDescription) GoString ¶
func (s TagDescription) GoString() string
GoString returns the string representation
func (TagDescription) String ¶
func (s TagDescription) String() string
String returns the string representation
type TagKeyOnly ¶
type TagKeyOnly struct { // The name of the key. Key *string `min:"1" type:"string"` // contains filtered or unexported fields }
The key of a tag. Please also see https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/TagKeyOnly
func (TagKeyOnly) GoString ¶
func (s TagKeyOnly) GoString() string
GoString returns the string representation
func (TagKeyOnly) String ¶
func (s TagKeyOnly) String() string
String returns the string representation
func (*TagKeyOnly) Validate ¶
func (s *TagKeyOnly) Validate() error
Validate inspects the fields of the type to determine if they are valid.