Documentation ¶
Overview ¶
Package globalaccelerator provides the client and types for making API requests to AWS Global Accelerator.
This is the AWS Global Accelerator API Reference. This guide is for developers who need detailed information about AWS Global Accelerator API actions, data types, and errors. For more information about Global Accelerator features, see the AWS Global Accelerator Developer Guide (https://docs.aws.amazon.com/global-accelerator/latest/dg/Welcome.html).
AWS Global Accelerator is a service in which you create accelerators to improve availability and performance of your applications for local and global users. Global Accelerator directs traffic to optimal endpoints over the AWS global network. This improves the availability and performance of your internet applications that are used by a global audience. Global Accelerator is a global service that supports endpoints in multiple AWS Regions, which are listed in the AWS Region Table (https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/).
Global Accelerator is a global service that supports endpoints in multiple AWS Regions but you must specify the US West (Oregon) Region to create or update accelerators.
By default, Global Accelerator provides you with static IP addresses that you associate with your accelerator. (Instead of using the IP addresses that Global Accelerator provides, you can configure these entry points to be IPv4 addresses from your own IP address ranges that you bring to Global Accelerator.) The static IP addresses are anycast from the AWS edge network and distribute incoming application traffic across multiple endpoint resources in multiple AWS Regions, which increases the availability of your applications. Endpoints can be Network Load Balancers, Application Load Balancers, EC2 instances, or Elastic IP addresses that are located in one AWS Region or multiple Regions.
Global Accelerator uses the AWS global network to route traffic to the optimal regional endpoint based on health, client location, and policies that you configure. The service reacts instantly to changes in health or configuration to ensure that internet traffic from clients is directed to only healthy endpoints.
Global Accelerator includes components that work together to help you improve performance and availability for your applications:
Static IP address ¶
By default, AWS Global Accelerator provides you with a set of static IP addresses that are anycast from the AWS edge network and serve as the single fixed entry points for your clients. Or you can configure these entry points to be IPv4 addresses from your own IP address ranges that you bring to Global Accelerator (BYOIP). For more information, see Bring Your Own IP Addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html) in the AWS Global Accelerator Developer Guide. If you already have load balancers, EC2 instances, or Elastic IP addresses set up for your applications, you can easily add those to Global Accelerator to allow the resources to be accessed by the static IP addresses.
The static IP addresses remain assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static IP addresses that are assigned to it, so you can no longer route traffic by using them. You can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information, see Authentication and Access Control (https://docs.aws.amazon.com/global-accelerator/latest/dg/auth-and-access-control.html) in the AWS Global Accelerator Developer Guide.
Accelerator ¶
An accelerator directs traffic to optimal endpoints over the AWS global network to improve availability and performance for your internet applications that have a global audience. Each accelerator includes one or more listeners.
DNS name ¶
Global Accelerator assigns each accelerator a default Domain Name System (DNS) name, similar to a1234567890abcdef.awsglobalaccelerator.com, that points to your Global Accelerator static IP addresses. Depending on the use case, you can use your accelerator's static IP addresses or DNS name to route traffic to your accelerator, or set up DNS records to route traffic using your own custom domain name.
Network zone ¶
A network zone services the static IP addresses for your accelerator from a unique IP subnet. Similar to an AWS Availability Zone, a network zone is an isolated unit with its own set of physical infrastructure. When you configure an accelerator, by default, Global Accelerator allocates two IPv4 addresses for it. If one IP address from a network zone becomes unavailable due to IP address blocking by certain client networks, or network disruptions, then client applications can retry on the healthy static IP address from the other isolated network zone.
Listener ¶
A listener processes inbound connections from clients to Global Accelerator, based on the protocol and port that you configure. Each listener has one or more endpoint groups associated with it, and traffic is forwarded to endpoints in one of the groups. You associate endpoint groups with listeners by specifying the Regions that you want to distribute traffic to. Traffic is distributed to optimal endpoints within the endpoint groups associated with a listener.
Endpoint group ¶
Each endpoint group is associated with a specific AWS Region. Endpoint groups include one or more endpoints in the Region. You can increase or reduce the percentage of traffic that would be otherwise directed to an endpoint group by adjusting a setting called a traffic dial. The traffic dial lets you easily do performance testing or blue/green deployment testing for new releases across different AWS Regions, for example.
Endpoint ¶
An endpoint is a Network Load Balancer, Application Load Balancer, EC2 instance, or Elastic IP address. Traffic is routed to endpoints based on several factors, including the geo-proximity to the user, the health of the endpoint, and the configuration options that you choose, such as endpoint weights. For each endpoint, you can configure weights, which are numbers that you can use to specify the proportion of traffic to route to each one. This can be useful, for example, to do performance testing within a Region.
See https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08 for more information on this service.
See globalaccelerator package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/globalaccelerator/
Using the Client ¶
To contact AWS Global Accelerator 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 AWS Global Accelerator client GlobalAccelerator for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/globalaccelerator/#New
Index ¶
- Constants
- func AcceleratorStatus_Values() []string
- func ByoipCidrState_Values() []string
- func ClientAffinity_Values() []string
- func HealthCheckProtocol_Values() []string
- func HealthState_Values() []string
- func IpAddressType_Values() []string
- func Protocol_Values() []string
- type Accelerator
- func (s Accelerator) GoString() string
- func (s *Accelerator) SetAcceleratorArn(v string) *Accelerator
- func (s *Accelerator) SetCreatedTime(v time.Time) *Accelerator
- func (s *Accelerator) SetDnsName(v string) *Accelerator
- func (s *Accelerator) SetEnabled(v bool) *Accelerator
- func (s *Accelerator) SetIpAddressType(v string) *Accelerator
- func (s *Accelerator) SetIpSets(v []*IpSet) *Accelerator
- func (s *Accelerator) SetLastModifiedTime(v time.Time) *Accelerator
- func (s *Accelerator) SetName(v string) *Accelerator
- func (s *Accelerator) SetStatus(v string) *Accelerator
- func (s Accelerator) String() string
- type AcceleratorAttributes
- func (s AcceleratorAttributes) GoString() string
- func (s *AcceleratorAttributes) SetFlowLogsEnabled(v bool) *AcceleratorAttributes
- func (s *AcceleratorAttributes) SetFlowLogsS3Bucket(v string) *AcceleratorAttributes
- func (s *AcceleratorAttributes) SetFlowLogsS3Prefix(v string) *AcceleratorAttributes
- func (s AcceleratorAttributes) String() string
- type AcceleratorNotDisabledException
- func (s *AcceleratorNotDisabledException) Code() string
- func (s *AcceleratorNotDisabledException) Error() string
- func (s AcceleratorNotDisabledException) GoString() string
- func (s *AcceleratorNotDisabledException) Message() string
- func (s *AcceleratorNotDisabledException) OrigErr() error
- func (s *AcceleratorNotDisabledException) RequestID() string
- func (s *AcceleratorNotDisabledException) StatusCode() int
- func (s AcceleratorNotDisabledException) String() string
- type AcceleratorNotFoundException
- func (s *AcceleratorNotFoundException) Code() string
- func (s *AcceleratorNotFoundException) Error() string
- func (s AcceleratorNotFoundException) GoString() string
- func (s *AcceleratorNotFoundException) Message() string
- func (s *AcceleratorNotFoundException) OrigErr() error
- func (s *AcceleratorNotFoundException) RequestID() string
- func (s *AcceleratorNotFoundException) StatusCode() int
- func (s AcceleratorNotFoundException) String() string
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type AdvertiseByoipCidrInput
- type AdvertiseByoipCidrOutput
- type AssociatedEndpointGroupFoundException
- func (s *AssociatedEndpointGroupFoundException) Code() string
- func (s *AssociatedEndpointGroupFoundException) Error() string
- func (s AssociatedEndpointGroupFoundException) GoString() string
- func (s *AssociatedEndpointGroupFoundException) Message() string
- func (s *AssociatedEndpointGroupFoundException) OrigErr() error
- func (s *AssociatedEndpointGroupFoundException) RequestID() string
- func (s *AssociatedEndpointGroupFoundException) StatusCode() int
- func (s AssociatedEndpointGroupFoundException) String() string
- type AssociatedListenerFoundException
- func (s *AssociatedListenerFoundException) Code() string
- func (s *AssociatedListenerFoundException) Error() string
- func (s AssociatedListenerFoundException) GoString() string
- func (s *AssociatedListenerFoundException) Message() string
- func (s *AssociatedListenerFoundException) OrigErr() error
- func (s *AssociatedListenerFoundException) RequestID() string
- func (s *AssociatedListenerFoundException) StatusCode() int
- func (s AssociatedListenerFoundException) String() string
- type ByoipCidr
- type ByoipCidrEvent
- type ByoipCidrNotFoundException
- func (s *ByoipCidrNotFoundException) Code() string
- func (s *ByoipCidrNotFoundException) Error() string
- func (s ByoipCidrNotFoundException) GoString() string
- func (s *ByoipCidrNotFoundException) Message() string
- func (s *ByoipCidrNotFoundException) OrigErr() error
- func (s *ByoipCidrNotFoundException) RequestID() string
- func (s *ByoipCidrNotFoundException) StatusCode() int
- func (s ByoipCidrNotFoundException) String() string
- type CidrAuthorizationContext
- func (s CidrAuthorizationContext) GoString() string
- func (s *CidrAuthorizationContext) SetMessage(v string) *CidrAuthorizationContext
- func (s *CidrAuthorizationContext) SetSignature(v string) *CidrAuthorizationContext
- func (s CidrAuthorizationContext) String() string
- func (s *CidrAuthorizationContext) Validate() error
- type CreateAcceleratorInput
- func (s CreateAcceleratorInput) GoString() string
- func (s *CreateAcceleratorInput) SetEnabled(v bool) *CreateAcceleratorInput
- func (s *CreateAcceleratorInput) SetIdempotencyToken(v string) *CreateAcceleratorInput
- func (s *CreateAcceleratorInput) SetIpAddressType(v string) *CreateAcceleratorInput
- func (s *CreateAcceleratorInput) SetIpAddresses(v []*string) *CreateAcceleratorInput
- func (s *CreateAcceleratorInput) SetName(v string) *CreateAcceleratorInput
- func (s *CreateAcceleratorInput) SetTags(v []*Tag) *CreateAcceleratorInput
- func (s CreateAcceleratorInput) String() string
- func (s *CreateAcceleratorInput) Validate() error
- type CreateAcceleratorOutput
- type CreateEndpointGroupInput
- func (s CreateEndpointGroupInput) GoString() string
- func (s *CreateEndpointGroupInput) SetEndpointConfigurations(v []*EndpointConfiguration) *CreateEndpointGroupInput
- func (s *CreateEndpointGroupInput) SetEndpointGroupRegion(v string) *CreateEndpointGroupInput
- func (s *CreateEndpointGroupInput) SetHealthCheckIntervalSeconds(v int64) *CreateEndpointGroupInput
- func (s *CreateEndpointGroupInput) SetHealthCheckPath(v string) *CreateEndpointGroupInput
- func (s *CreateEndpointGroupInput) SetHealthCheckPort(v int64) *CreateEndpointGroupInput
- func (s *CreateEndpointGroupInput) SetHealthCheckProtocol(v string) *CreateEndpointGroupInput
- func (s *CreateEndpointGroupInput) SetIdempotencyToken(v string) *CreateEndpointGroupInput
- func (s *CreateEndpointGroupInput) SetListenerArn(v string) *CreateEndpointGroupInput
- func (s *CreateEndpointGroupInput) SetPortOverrides(v []*PortOverride) *CreateEndpointGroupInput
- func (s *CreateEndpointGroupInput) SetThresholdCount(v int64) *CreateEndpointGroupInput
- func (s *CreateEndpointGroupInput) SetTrafficDialPercentage(v float64) *CreateEndpointGroupInput
- func (s CreateEndpointGroupInput) String() string
- func (s *CreateEndpointGroupInput) Validate() error
- type CreateEndpointGroupOutput
- type CreateListenerInput
- func (s CreateListenerInput) GoString() string
- func (s *CreateListenerInput) SetAcceleratorArn(v string) *CreateListenerInput
- func (s *CreateListenerInput) SetClientAffinity(v string) *CreateListenerInput
- func (s *CreateListenerInput) SetIdempotencyToken(v string) *CreateListenerInput
- func (s *CreateListenerInput) SetPortRanges(v []*PortRange) *CreateListenerInput
- func (s *CreateListenerInput) SetProtocol(v string) *CreateListenerInput
- func (s CreateListenerInput) String() string
- func (s *CreateListenerInput) Validate() error
- type CreateListenerOutput
- type DeleteAcceleratorInput
- type DeleteAcceleratorOutput
- type DeleteEndpointGroupInput
- type DeleteEndpointGroupOutput
- type DeleteListenerInput
- type DeleteListenerOutput
- type DeprovisionByoipCidrInput
- type DeprovisionByoipCidrOutput
- type DescribeAcceleratorAttributesInput
- type DescribeAcceleratorAttributesOutput
- type DescribeAcceleratorInput
- type DescribeAcceleratorOutput
- type DescribeEndpointGroupInput
- type DescribeEndpointGroupOutput
- type DescribeListenerInput
- type DescribeListenerOutput
- type EndpointConfiguration
- func (s EndpointConfiguration) GoString() string
- func (s *EndpointConfiguration) SetClientIPPreservationEnabled(v bool) *EndpointConfiguration
- func (s *EndpointConfiguration) SetEndpointId(v string) *EndpointConfiguration
- func (s *EndpointConfiguration) SetWeight(v int64) *EndpointConfiguration
- func (s EndpointConfiguration) String() string
- type EndpointDescription
- func (s EndpointDescription) GoString() string
- func (s *EndpointDescription) SetClientIPPreservationEnabled(v bool) *EndpointDescription
- func (s *EndpointDescription) SetEndpointId(v string) *EndpointDescription
- func (s *EndpointDescription) SetHealthReason(v string) *EndpointDescription
- func (s *EndpointDescription) SetHealthState(v string) *EndpointDescription
- func (s *EndpointDescription) SetWeight(v int64) *EndpointDescription
- func (s EndpointDescription) String() string
- type EndpointGroup
- func (s EndpointGroup) GoString() string
- func (s *EndpointGroup) SetEndpointDescriptions(v []*EndpointDescription) *EndpointGroup
- func (s *EndpointGroup) SetEndpointGroupArn(v string) *EndpointGroup
- func (s *EndpointGroup) SetEndpointGroupRegion(v string) *EndpointGroup
- func (s *EndpointGroup) SetHealthCheckIntervalSeconds(v int64) *EndpointGroup
- func (s *EndpointGroup) SetHealthCheckPath(v string) *EndpointGroup
- func (s *EndpointGroup) SetHealthCheckPort(v int64) *EndpointGroup
- func (s *EndpointGroup) SetHealthCheckProtocol(v string) *EndpointGroup
- func (s *EndpointGroup) SetPortOverrides(v []*PortOverride) *EndpointGroup
- func (s *EndpointGroup) SetThresholdCount(v int64) *EndpointGroup
- func (s *EndpointGroup) SetTrafficDialPercentage(v float64) *EndpointGroup
- func (s EndpointGroup) String() string
- type EndpointGroupAlreadyExistsException
- func (s *EndpointGroupAlreadyExistsException) Code() string
- func (s *EndpointGroupAlreadyExistsException) Error() string
- func (s EndpointGroupAlreadyExistsException) GoString() string
- func (s *EndpointGroupAlreadyExistsException) Message() string
- func (s *EndpointGroupAlreadyExistsException) OrigErr() error
- func (s *EndpointGroupAlreadyExistsException) RequestID() string
- func (s *EndpointGroupAlreadyExistsException) StatusCode() int
- func (s EndpointGroupAlreadyExistsException) String() string
- type EndpointGroupNotFoundException
- func (s *EndpointGroupNotFoundException) Code() string
- func (s *EndpointGroupNotFoundException) Error() string
- func (s EndpointGroupNotFoundException) GoString() string
- func (s *EndpointGroupNotFoundException) Message() string
- func (s *EndpointGroupNotFoundException) OrigErr() error
- func (s *EndpointGroupNotFoundException) RequestID() string
- func (s *EndpointGroupNotFoundException) StatusCode() int
- func (s EndpointGroupNotFoundException) String() string
- type GlobalAccelerator
- func (c *GlobalAccelerator) AdvertiseByoipCidr(input *AdvertiseByoipCidrInput) (*AdvertiseByoipCidrOutput, error)
- func (c *GlobalAccelerator) AdvertiseByoipCidrRequest(input *AdvertiseByoipCidrInput) (req *request.Request, output *AdvertiseByoipCidrOutput)
- func (c *GlobalAccelerator) AdvertiseByoipCidrWithContext(ctx aws.Context, input *AdvertiseByoipCidrInput, opts ...request.Option) (*AdvertiseByoipCidrOutput, error)
- func (c *GlobalAccelerator) CreateAccelerator(input *CreateAcceleratorInput) (*CreateAcceleratorOutput, error)
- func (c *GlobalAccelerator) CreateAcceleratorRequest(input *CreateAcceleratorInput) (req *request.Request, output *CreateAcceleratorOutput)
- func (c *GlobalAccelerator) CreateAcceleratorWithContext(ctx aws.Context, input *CreateAcceleratorInput, opts ...request.Option) (*CreateAcceleratorOutput, error)
- func (c *GlobalAccelerator) CreateEndpointGroup(input *CreateEndpointGroupInput) (*CreateEndpointGroupOutput, error)
- func (c *GlobalAccelerator) CreateEndpointGroupRequest(input *CreateEndpointGroupInput) (req *request.Request, output *CreateEndpointGroupOutput)
- func (c *GlobalAccelerator) CreateEndpointGroupWithContext(ctx aws.Context, input *CreateEndpointGroupInput, opts ...request.Option) (*CreateEndpointGroupOutput, error)
- func (c *GlobalAccelerator) CreateListener(input *CreateListenerInput) (*CreateListenerOutput, error)
- func (c *GlobalAccelerator) CreateListenerRequest(input *CreateListenerInput) (req *request.Request, output *CreateListenerOutput)
- func (c *GlobalAccelerator) CreateListenerWithContext(ctx aws.Context, input *CreateListenerInput, opts ...request.Option) (*CreateListenerOutput, error)
- func (c *GlobalAccelerator) DeleteAccelerator(input *DeleteAcceleratorInput) (*DeleteAcceleratorOutput, error)
- func (c *GlobalAccelerator) DeleteAcceleratorRequest(input *DeleteAcceleratorInput) (req *request.Request, output *DeleteAcceleratorOutput)
- func (c *GlobalAccelerator) DeleteAcceleratorWithContext(ctx aws.Context, input *DeleteAcceleratorInput, opts ...request.Option) (*DeleteAcceleratorOutput, error)
- func (c *GlobalAccelerator) DeleteEndpointGroup(input *DeleteEndpointGroupInput) (*DeleteEndpointGroupOutput, error)
- func (c *GlobalAccelerator) DeleteEndpointGroupRequest(input *DeleteEndpointGroupInput) (req *request.Request, output *DeleteEndpointGroupOutput)
- func (c *GlobalAccelerator) DeleteEndpointGroupWithContext(ctx aws.Context, input *DeleteEndpointGroupInput, opts ...request.Option) (*DeleteEndpointGroupOutput, error)
- func (c *GlobalAccelerator) DeleteListener(input *DeleteListenerInput) (*DeleteListenerOutput, error)
- func (c *GlobalAccelerator) DeleteListenerRequest(input *DeleteListenerInput) (req *request.Request, output *DeleteListenerOutput)
- func (c *GlobalAccelerator) DeleteListenerWithContext(ctx aws.Context, input *DeleteListenerInput, opts ...request.Option) (*DeleteListenerOutput, error)
- func (c *GlobalAccelerator) DeprovisionByoipCidr(input *DeprovisionByoipCidrInput) (*DeprovisionByoipCidrOutput, error)
- func (c *GlobalAccelerator) DeprovisionByoipCidrRequest(input *DeprovisionByoipCidrInput) (req *request.Request, output *DeprovisionByoipCidrOutput)
- func (c *GlobalAccelerator) DeprovisionByoipCidrWithContext(ctx aws.Context, input *DeprovisionByoipCidrInput, opts ...request.Option) (*DeprovisionByoipCidrOutput, error)
- func (c *GlobalAccelerator) DescribeAccelerator(input *DescribeAcceleratorInput) (*DescribeAcceleratorOutput, error)
- func (c *GlobalAccelerator) DescribeAcceleratorAttributes(input *DescribeAcceleratorAttributesInput) (*DescribeAcceleratorAttributesOutput, error)
- func (c *GlobalAccelerator) DescribeAcceleratorAttributesRequest(input *DescribeAcceleratorAttributesInput) (req *request.Request, output *DescribeAcceleratorAttributesOutput)
- func (c *GlobalAccelerator) DescribeAcceleratorAttributesWithContext(ctx aws.Context, input *DescribeAcceleratorAttributesInput, ...) (*DescribeAcceleratorAttributesOutput, error)
- func (c *GlobalAccelerator) DescribeAcceleratorRequest(input *DescribeAcceleratorInput) (req *request.Request, output *DescribeAcceleratorOutput)
- func (c *GlobalAccelerator) DescribeAcceleratorWithContext(ctx aws.Context, input *DescribeAcceleratorInput, opts ...request.Option) (*DescribeAcceleratorOutput, error)
- func (c *GlobalAccelerator) DescribeEndpointGroup(input *DescribeEndpointGroupInput) (*DescribeEndpointGroupOutput, error)
- func (c *GlobalAccelerator) DescribeEndpointGroupRequest(input *DescribeEndpointGroupInput) (req *request.Request, output *DescribeEndpointGroupOutput)
- func (c *GlobalAccelerator) DescribeEndpointGroupWithContext(ctx aws.Context, input *DescribeEndpointGroupInput, opts ...request.Option) (*DescribeEndpointGroupOutput, error)
- func (c *GlobalAccelerator) DescribeListener(input *DescribeListenerInput) (*DescribeListenerOutput, error)
- func (c *GlobalAccelerator) DescribeListenerRequest(input *DescribeListenerInput) (req *request.Request, output *DescribeListenerOutput)
- func (c *GlobalAccelerator) DescribeListenerWithContext(ctx aws.Context, input *DescribeListenerInput, opts ...request.Option) (*DescribeListenerOutput, error)
- func (c *GlobalAccelerator) ListAccelerators(input *ListAcceleratorsInput) (*ListAcceleratorsOutput, error)
- func (c *GlobalAccelerator) ListAcceleratorsRequest(input *ListAcceleratorsInput) (req *request.Request, output *ListAcceleratorsOutput)
- func (c *GlobalAccelerator) ListAcceleratorsWithContext(ctx aws.Context, input *ListAcceleratorsInput, opts ...request.Option) (*ListAcceleratorsOutput, error)
- func (c *GlobalAccelerator) ListByoipCidrs(input *ListByoipCidrsInput) (*ListByoipCidrsOutput, error)
- func (c *GlobalAccelerator) ListByoipCidrsRequest(input *ListByoipCidrsInput) (req *request.Request, output *ListByoipCidrsOutput)
- func (c *GlobalAccelerator) ListByoipCidrsWithContext(ctx aws.Context, input *ListByoipCidrsInput, opts ...request.Option) (*ListByoipCidrsOutput, error)
- func (c *GlobalAccelerator) ListEndpointGroups(input *ListEndpointGroupsInput) (*ListEndpointGroupsOutput, error)
- func (c *GlobalAccelerator) ListEndpointGroupsRequest(input *ListEndpointGroupsInput) (req *request.Request, output *ListEndpointGroupsOutput)
- func (c *GlobalAccelerator) ListEndpointGroupsWithContext(ctx aws.Context, input *ListEndpointGroupsInput, opts ...request.Option) (*ListEndpointGroupsOutput, error)
- func (c *GlobalAccelerator) ListListeners(input *ListListenersInput) (*ListListenersOutput, error)
- func (c *GlobalAccelerator) ListListenersRequest(input *ListListenersInput) (req *request.Request, output *ListListenersOutput)
- func (c *GlobalAccelerator) ListListenersWithContext(ctx aws.Context, input *ListListenersInput, opts ...request.Option) (*ListListenersOutput, error)
- func (c *GlobalAccelerator) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
- func (c *GlobalAccelerator) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
- func (c *GlobalAccelerator) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
- func (c *GlobalAccelerator) ProvisionByoipCidr(input *ProvisionByoipCidrInput) (*ProvisionByoipCidrOutput, error)
- func (c *GlobalAccelerator) ProvisionByoipCidrRequest(input *ProvisionByoipCidrInput) (req *request.Request, output *ProvisionByoipCidrOutput)
- func (c *GlobalAccelerator) ProvisionByoipCidrWithContext(ctx aws.Context, input *ProvisionByoipCidrInput, opts ...request.Option) (*ProvisionByoipCidrOutput, error)
- func (c *GlobalAccelerator) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *GlobalAccelerator) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *GlobalAccelerator) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *GlobalAccelerator) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *GlobalAccelerator) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *GlobalAccelerator) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *GlobalAccelerator) UpdateAccelerator(input *UpdateAcceleratorInput) (*UpdateAcceleratorOutput, error)
- func (c *GlobalAccelerator) UpdateAcceleratorAttributes(input *UpdateAcceleratorAttributesInput) (*UpdateAcceleratorAttributesOutput, error)
- func (c *GlobalAccelerator) UpdateAcceleratorAttributesRequest(input *UpdateAcceleratorAttributesInput) (req *request.Request, output *UpdateAcceleratorAttributesOutput)
- func (c *GlobalAccelerator) UpdateAcceleratorAttributesWithContext(ctx aws.Context, input *UpdateAcceleratorAttributesInput, ...) (*UpdateAcceleratorAttributesOutput, error)
- func (c *GlobalAccelerator) UpdateAcceleratorRequest(input *UpdateAcceleratorInput) (req *request.Request, output *UpdateAcceleratorOutput)
- func (c *GlobalAccelerator) UpdateAcceleratorWithContext(ctx aws.Context, input *UpdateAcceleratorInput, opts ...request.Option) (*UpdateAcceleratorOutput, error)
- func (c *GlobalAccelerator) UpdateEndpointGroup(input *UpdateEndpointGroupInput) (*UpdateEndpointGroupOutput, error)
- func (c *GlobalAccelerator) UpdateEndpointGroupRequest(input *UpdateEndpointGroupInput) (req *request.Request, output *UpdateEndpointGroupOutput)
- func (c *GlobalAccelerator) UpdateEndpointGroupWithContext(ctx aws.Context, input *UpdateEndpointGroupInput, opts ...request.Option) (*UpdateEndpointGroupOutput, error)
- func (c *GlobalAccelerator) UpdateListener(input *UpdateListenerInput) (*UpdateListenerOutput, error)
- func (c *GlobalAccelerator) UpdateListenerRequest(input *UpdateListenerInput) (req *request.Request, output *UpdateListenerOutput)
- func (c *GlobalAccelerator) UpdateListenerWithContext(ctx aws.Context, input *UpdateListenerInput, opts ...request.Option) (*UpdateListenerOutput, error)
- func (c *GlobalAccelerator) WithdrawByoipCidr(input *WithdrawByoipCidrInput) (*WithdrawByoipCidrOutput, error)
- func (c *GlobalAccelerator) WithdrawByoipCidrRequest(input *WithdrawByoipCidrInput) (req *request.Request, output *WithdrawByoipCidrOutput)
- func (c *GlobalAccelerator) WithdrawByoipCidrWithContext(ctx aws.Context, input *WithdrawByoipCidrInput, opts ...request.Option) (*WithdrawByoipCidrOutput, error)
- type IncorrectCidrStateException
- func (s *IncorrectCidrStateException) Code() string
- func (s *IncorrectCidrStateException) Error() string
- func (s IncorrectCidrStateException) GoString() string
- func (s *IncorrectCidrStateException) Message() string
- func (s *IncorrectCidrStateException) OrigErr() error
- func (s *IncorrectCidrStateException) RequestID() string
- func (s *IncorrectCidrStateException) StatusCode() int
- func (s IncorrectCidrStateException) String() string
- type InternalServiceErrorException
- func (s *InternalServiceErrorException) Code() string
- func (s *InternalServiceErrorException) Error() string
- func (s InternalServiceErrorException) GoString() string
- func (s *InternalServiceErrorException) Message() string
- func (s *InternalServiceErrorException) OrigErr() error
- func (s *InternalServiceErrorException) RequestID() string
- func (s *InternalServiceErrorException) StatusCode() int
- func (s InternalServiceErrorException) String() string
- type InvalidArgumentException
- func (s *InvalidArgumentException) Code() string
- func (s *InvalidArgumentException) Error() string
- func (s InvalidArgumentException) GoString() string
- func (s *InvalidArgumentException) Message() string
- func (s *InvalidArgumentException) OrigErr() error
- func (s *InvalidArgumentException) RequestID() string
- func (s *InvalidArgumentException) StatusCode() int
- func (s InvalidArgumentException) String() string
- type InvalidNextTokenException
- func (s *InvalidNextTokenException) Code() string
- func (s *InvalidNextTokenException) Error() string
- func (s InvalidNextTokenException) GoString() string
- func (s *InvalidNextTokenException) Message() string
- func (s *InvalidNextTokenException) OrigErr() error
- func (s *InvalidNextTokenException) RequestID() string
- func (s *InvalidNextTokenException) StatusCode() int
- func (s InvalidNextTokenException) String() string
- type InvalidPortRangeException
- func (s *InvalidPortRangeException) Code() string
- func (s *InvalidPortRangeException) Error() string
- func (s InvalidPortRangeException) GoString() string
- func (s *InvalidPortRangeException) Message() string
- func (s *InvalidPortRangeException) OrigErr() error
- func (s *InvalidPortRangeException) RequestID() string
- func (s *InvalidPortRangeException) StatusCode() int
- func (s InvalidPortRangeException) String() string
- type IpSet
- type LimitExceededException
- func (s *LimitExceededException) Code() string
- func (s *LimitExceededException) Error() string
- func (s LimitExceededException) GoString() string
- func (s *LimitExceededException) Message() string
- func (s *LimitExceededException) OrigErr() error
- func (s *LimitExceededException) RequestID() string
- func (s *LimitExceededException) StatusCode() int
- func (s LimitExceededException) String() string
- type ListAcceleratorsInput
- func (s ListAcceleratorsInput) GoString() string
- func (s *ListAcceleratorsInput) SetMaxResults(v int64) *ListAcceleratorsInput
- func (s *ListAcceleratorsInput) SetNextToken(v string) *ListAcceleratorsInput
- func (s ListAcceleratorsInput) String() string
- func (s *ListAcceleratorsInput) Validate() error
- type ListAcceleratorsOutput
- type ListByoipCidrsInput
- type ListByoipCidrsOutput
- type ListEndpointGroupsInput
- func (s ListEndpointGroupsInput) GoString() string
- func (s *ListEndpointGroupsInput) SetListenerArn(v string) *ListEndpointGroupsInput
- func (s *ListEndpointGroupsInput) SetMaxResults(v int64) *ListEndpointGroupsInput
- func (s *ListEndpointGroupsInput) SetNextToken(v string) *ListEndpointGroupsInput
- func (s ListEndpointGroupsInput) String() string
- func (s *ListEndpointGroupsInput) Validate() error
- type ListEndpointGroupsOutput
- type ListListenersInput
- func (s ListListenersInput) GoString() string
- func (s *ListListenersInput) SetAcceleratorArn(v string) *ListListenersInput
- func (s *ListListenersInput) SetMaxResults(v int64) *ListListenersInput
- func (s *ListListenersInput) SetNextToken(v string) *ListListenersInput
- func (s ListListenersInput) String() string
- func (s *ListListenersInput) Validate() error
- type ListListenersOutput
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Listener
- type ListenerNotFoundException
- func (s *ListenerNotFoundException) Code() string
- func (s *ListenerNotFoundException) Error() string
- func (s ListenerNotFoundException) GoString() string
- func (s *ListenerNotFoundException) Message() string
- func (s *ListenerNotFoundException) OrigErr() error
- func (s *ListenerNotFoundException) RequestID() string
- func (s *ListenerNotFoundException) StatusCode() int
- func (s ListenerNotFoundException) String() string
- type PortOverride
- type PortRange
- type ProvisionByoipCidrInput
- func (s ProvisionByoipCidrInput) GoString() string
- func (s *ProvisionByoipCidrInput) SetCidr(v string) *ProvisionByoipCidrInput
- func (s *ProvisionByoipCidrInput) SetCidrAuthorizationContext(v *CidrAuthorizationContext) *ProvisionByoipCidrInput
- func (s ProvisionByoipCidrInput) String() string
- func (s *ProvisionByoipCidrInput) Validate() error
- type ProvisionByoipCidrOutput
- type Tag
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateAcceleratorAttributesInput
- func (s UpdateAcceleratorAttributesInput) GoString() string
- func (s *UpdateAcceleratorAttributesInput) SetAcceleratorArn(v string) *UpdateAcceleratorAttributesInput
- func (s *UpdateAcceleratorAttributesInput) SetFlowLogsEnabled(v bool) *UpdateAcceleratorAttributesInput
- func (s *UpdateAcceleratorAttributesInput) SetFlowLogsS3Bucket(v string) *UpdateAcceleratorAttributesInput
- func (s *UpdateAcceleratorAttributesInput) SetFlowLogsS3Prefix(v string) *UpdateAcceleratorAttributesInput
- func (s UpdateAcceleratorAttributesInput) String() string
- func (s *UpdateAcceleratorAttributesInput) Validate() error
- type UpdateAcceleratorAttributesOutput
- type UpdateAcceleratorInput
- func (s UpdateAcceleratorInput) GoString() string
- func (s *UpdateAcceleratorInput) SetAcceleratorArn(v string) *UpdateAcceleratorInput
- func (s *UpdateAcceleratorInput) SetEnabled(v bool) *UpdateAcceleratorInput
- func (s *UpdateAcceleratorInput) SetIpAddressType(v string) *UpdateAcceleratorInput
- func (s *UpdateAcceleratorInput) SetName(v string) *UpdateAcceleratorInput
- func (s UpdateAcceleratorInput) String() string
- func (s *UpdateAcceleratorInput) Validate() error
- type UpdateAcceleratorOutput
- type UpdateEndpointGroupInput
- func (s UpdateEndpointGroupInput) GoString() string
- func (s *UpdateEndpointGroupInput) SetEndpointConfigurations(v []*EndpointConfiguration) *UpdateEndpointGroupInput
- func (s *UpdateEndpointGroupInput) SetEndpointGroupArn(v string) *UpdateEndpointGroupInput
- func (s *UpdateEndpointGroupInput) SetHealthCheckIntervalSeconds(v int64) *UpdateEndpointGroupInput
- func (s *UpdateEndpointGroupInput) SetHealthCheckPath(v string) *UpdateEndpointGroupInput
- func (s *UpdateEndpointGroupInput) SetHealthCheckPort(v int64) *UpdateEndpointGroupInput
- func (s *UpdateEndpointGroupInput) SetHealthCheckProtocol(v string) *UpdateEndpointGroupInput
- func (s *UpdateEndpointGroupInput) SetPortOverrides(v []*PortOverride) *UpdateEndpointGroupInput
- func (s *UpdateEndpointGroupInput) SetThresholdCount(v int64) *UpdateEndpointGroupInput
- func (s *UpdateEndpointGroupInput) SetTrafficDialPercentage(v float64) *UpdateEndpointGroupInput
- func (s UpdateEndpointGroupInput) String() string
- func (s *UpdateEndpointGroupInput) Validate() error
- type UpdateEndpointGroupOutput
- type UpdateListenerInput
- func (s UpdateListenerInput) GoString() string
- func (s *UpdateListenerInput) SetClientAffinity(v string) *UpdateListenerInput
- func (s *UpdateListenerInput) SetListenerArn(v string) *UpdateListenerInput
- func (s *UpdateListenerInput) SetPortRanges(v []*PortRange) *UpdateListenerInput
- func (s *UpdateListenerInput) SetProtocol(v string) *UpdateListenerInput
- func (s UpdateListenerInput) String() string
- func (s *UpdateListenerInput) Validate() error
- type UpdateListenerOutput
- type WithdrawByoipCidrInput
- type WithdrawByoipCidrOutput
Constants ¶
const ( // AcceleratorStatusDeployed is a AcceleratorStatus enum value AcceleratorStatusDeployed = "DEPLOYED" // AcceleratorStatusInProgress is a AcceleratorStatus enum value AcceleratorStatusInProgress = "IN_PROGRESS" )
const ( // ByoipCidrStatePendingProvisioning is a ByoipCidrState enum value ByoipCidrStatePendingProvisioning = "PENDING_PROVISIONING" // ByoipCidrStateReady is a ByoipCidrState enum value ByoipCidrStateReady = "READY" // ByoipCidrStatePendingAdvertising is a ByoipCidrState enum value ByoipCidrStatePendingAdvertising = "PENDING_ADVERTISING" // ByoipCidrStateAdvertising is a ByoipCidrState enum value ByoipCidrStateAdvertising = "ADVERTISING" // ByoipCidrStatePendingWithdrawing is a ByoipCidrState enum value ByoipCidrStatePendingWithdrawing = "PENDING_WITHDRAWING" // ByoipCidrStatePendingDeprovisioning is a ByoipCidrState enum value ByoipCidrStatePendingDeprovisioning = "PENDING_DEPROVISIONING" // ByoipCidrStateDeprovisioned is a ByoipCidrState enum value ByoipCidrStateDeprovisioned = "DEPROVISIONED" // ByoipCidrStateFailedProvision is a ByoipCidrState enum value ByoipCidrStateFailedProvision = "FAILED_PROVISION" // ByoipCidrStateFailedAdvertising is a ByoipCidrState enum value ByoipCidrStateFailedAdvertising = "FAILED_ADVERTISING" // ByoipCidrStateFailedWithdraw is a ByoipCidrState enum value ByoipCidrStateFailedWithdraw = "FAILED_WITHDRAW" // ByoipCidrStateFailedDeprovision is a ByoipCidrState enum value ByoipCidrStateFailedDeprovision = "FAILED_DEPROVISION" )
const ( // ClientAffinityNone is a ClientAffinity enum value ClientAffinityNone = "NONE" // ClientAffinitySourceIp is a ClientAffinity enum value ClientAffinitySourceIp = "SOURCE_IP" )
const ( // HealthCheckProtocolTcp is a HealthCheckProtocol enum value HealthCheckProtocolTcp = "TCP" // HealthCheckProtocolHttp is a HealthCheckProtocol enum value HealthCheckProtocolHttp = "HTTP" // HealthCheckProtocolHttps is a HealthCheckProtocol enum value HealthCheckProtocolHttps = "HTTPS" )
const ( // HealthStateInitial is a HealthState enum value HealthStateInitial = "INITIAL" // HealthStateHealthy is a HealthState enum value HealthStateHealthy = "HEALTHY" // HealthStateUnhealthy is a HealthState enum value HealthStateUnhealthy = "UNHEALTHY" )
const ( // ProtocolTcp is a Protocol enum value ProtocolTcp = "TCP" // ProtocolUdp is a Protocol enum value ProtocolUdp = "UDP" )
const ( // ErrCodeAcceleratorNotDisabledException for service response error code // "AcceleratorNotDisabledException". // // The accelerator that you specified could not be disabled. ErrCodeAcceleratorNotDisabledException = "AcceleratorNotDisabledException" // ErrCodeAcceleratorNotFoundException for service response error code // "AcceleratorNotFoundException". // // The accelerator that you specified doesn't exist. ErrCodeAcceleratorNotFoundException = "AcceleratorNotFoundException" // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // You don't have access permission. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeAssociatedEndpointGroupFoundException for service response error code // "AssociatedEndpointGroupFoundException". // // The listener that you specified has an endpoint group associated with it. // You must remove all dependent resources from a listener before you can delete // it. ErrCodeAssociatedEndpointGroupFoundException = "AssociatedEndpointGroupFoundException" // ErrCodeAssociatedListenerFoundException for service response error code // "AssociatedListenerFoundException". // // The accelerator that you specified has a listener associated with it. You // must remove all dependent resources from an accelerator before you can delete // it. ErrCodeAssociatedListenerFoundException = "AssociatedListenerFoundException" // ErrCodeByoipCidrNotFoundException for service response error code // "ByoipCidrNotFoundException". // // The CIDR that you specified was not found or is incorrect. ErrCodeByoipCidrNotFoundException = "ByoipCidrNotFoundException" // ErrCodeEndpointGroupAlreadyExistsException for service response error code // "EndpointGroupAlreadyExistsException". // // The endpoint group that you specified already exists. ErrCodeEndpointGroupAlreadyExistsException = "EndpointGroupAlreadyExistsException" // ErrCodeEndpointGroupNotFoundException for service response error code // "EndpointGroupNotFoundException". // // The endpoint group that you specified doesn't exist. ErrCodeEndpointGroupNotFoundException = "EndpointGroupNotFoundException" // ErrCodeIncorrectCidrStateException for service response error code // "IncorrectCidrStateException". // // The CIDR that you specified is not valid for this action. For example, the // state of the CIDR might be incorrect for this action. ErrCodeIncorrectCidrStateException = "IncorrectCidrStateException" // ErrCodeInternalServiceErrorException for service response error code // "InternalServiceErrorException". // // There was an internal error for AWS Global Accelerator. ErrCodeInternalServiceErrorException = "InternalServiceErrorException" // ErrCodeInvalidArgumentException for service response error code // "InvalidArgumentException". // // An argument that you specified is invalid. ErrCodeInvalidArgumentException = "InvalidArgumentException" // ErrCodeInvalidNextTokenException for service response error code // "InvalidNextTokenException". // // There isn't another item to return. ErrCodeInvalidNextTokenException = "InvalidNextTokenException" // ErrCodeInvalidPortRangeException for service response error code // "InvalidPortRangeException". // // The port numbers that you specified are not valid numbers or are not unique // for this accelerator. ErrCodeInvalidPortRangeException = "InvalidPortRangeException" // ErrCodeLimitExceededException for service response error code // "LimitExceededException". // // Processing your request would cause you to exceed an AWS Global Accelerator // limit. ErrCodeLimitExceededException = "LimitExceededException" // ErrCodeListenerNotFoundException for service response error code // "ListenerNotFoundException". // // The listener that you specified doesn't exist. ErrCodeListenerNotFoundException = "ListenerNotFoundException" )
const ( ServiceName = "Global Accelerator" // Name of service. EndpointsID = "globalaccelerator" // ID to lookup a service endpoint with. ServiceID = "Global Accelerator" // ServiceID is a unique identifier of a specific service. )
Service information constants
const (
// IpAddressTypeIpv4 is a IpAddressType enum value
IpAddressTypeIpv4 = "IPV4"
)
Variables ¶
This section is empty.
Functions ¶
func AcceleratorStatus_Values ¶ added in v1.34.3
func AcceleratorStatus_Values() []string
AcceleratorStatus_Values returns all elements of the AcceleratorStatus enum
func ByoipCidrState_Values ¶ added in v1.34.3
func ByoipCidrState_Values() []string
ByoipCidrState_Values returns all elements of the ByoipCidrState enum
func ClientAffinity_Values ¶ added in v1.34.3
func ClientAffinity_Values() []string
ClientAffinity_Values returns all elements of the ClientAffinity enum
func HealthCheckProtocol_Values ¶ added in v1.34.3
func HealthCheckProtocol_Values() []string
HealthCheckProtocol_Values returns all elements of the HealthCheckProtocol enum
func HealthState_Values ¶ added in v1.34.3
func HealthState_Values() []string
HealthState_Values returns all elements of the HealthState enum
func IpAddressType_Values ¶ added in v1.34.3
func IpAddressType_Values() []string
IpAddressType_Values returns all elements of the IpAddressType enum
func Protocol_Values ¶ added in v1.34.3
func Protocol_Values() []string
Protocol_Values returns all elements of the Protocol enum
Types ¶
type Accelerator ¶
type Accelerator struct { // The Amazon Resource Name (ARN) of the accelerator. AcceleratorArn *string `type:"string"` // The date and time that the accelerator was created. CreatedTime *time.Time `type:"timestamp"` // The Domain Name System (DNS) name that Global Accelerator creates that points // to your accelerator's static IP addresses. // // The naming convention for the DNS name is the following: A lowercase letter // a, followed by a 16-bit random hex string, followed by .awsglobalaccelerator.com. // For example: a1234567890abcdef.awsglobalaccelerator.com. // // For more information about the default DNS name, see Support for DNS Addressing // in Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/about-accelerators.html#about-accelerators.dns-addressing) // in the AWS Global Accelerator Developer Guide. DnsName *string `type:"string"` // Indicates whether the accelerator is enabled. The value is true or false. // The default value is true. // // If the value is set to true, the accelerator cannot be deleted. If set to // false, accelerator can be deleted. Enabled *bool `type:"boolean"` // The value for the address type must be IPv4. IpAddressType *string `type:"string" enum:"IpAddressType"` // The static IP addresses that Global Accelerator associates with the accelerator. IpSets []*IpSet `type:"list"` // The date and time that the accelerator was last modified. LastModifiedTime *time.Time `type:"timestamp"` // The name of the accelerator. The name must contain only alphanumeric characters // or hyphens (-), and must not begin or end with a hyphen. Name *string `type:"string"` // Describes the deployment status of the accelerator. Status *string `type:"string" enum:"AcceleratorStatus"` // contains filtered or unexported fields }
An accelerator is a complex type that includes one or more listeners that process inbound connections and then direct traffic to one or more endpoint groups, each of which includes endpoints, such as load balancers.
func (Accelerator) GoString ¶
func (s Accelerator) GoString() string
GoString returns the string representation
func (*Accelerator) SetAcceleratorArn ¶
func (s *Accelerator) SetAcceleratorArn(v string) *Accelerator
SetAcceleratorArn sets the AcceleratorArn field's value.
func (*Accelerator) SetCreatedTime ¶
func (s *Accelerator) SetCreatedTime(v time.Time) *Accelerator
SetCreatedTime sets the CreatedTime field's value.
func (*Accelerator) SetDnsName ¶ added in v1.24.6
func (s *Accelerator) SetDnsName(v string) *Accelerator
SetDnsName sets the DnsName field's value.
func (*Accelerator) SetEnabled ¶
func (s *Accelerator) SetEnabled(v bool) *Accelerator
SetEnabled sets the Enabled field's value.
func (*Accelerator) SetIpAddressType ¶
func (s *Accelerator) SetIpAddressType(v string) *Accelerator
SetIpAddressType sets the IpAddressType field's value.
func (*Accelerator) SetIpSets ¶
func (s *Accelerator) SetIpSets(v []*IpSet) *Accelerator
SetIpSets sets the IpSets field's value.
func (*Accelerator) SetLastModifiedTime ¶
func (s *Accelerator) SetLastModifiedTime(v time.Time) *Accelerator
SetLastModifiedTime sets the LastModifiedTime field's value.
func (*Accelerator) SetName ¶
func (s *Accelerator) SetName(v string) *Accelerator
SetName sets the Name field's value.
func (*Accelerator) SetStatus ¶
func (s *Accelerator) SetStatus(v string) *Accelerator
SetStatus sets the Status field's value.
func (Accelerator) String ¶
func (s Accelerator) String() string
String returns the string representation
type AcceleratorAttributes ¶
type AcceleratorAttributes struct { // Indicates whether flow logs are enabled. The default value is false. If the // value is true, FlowLogsS3Bucket and FlowLogsS3Prefix must be specified. // // For more information, see Flow Logs (https://docs.aws.amazon.com/global-accelerator/latest/dg/monitoring-global-accelerator.flow-logs.html) // in the AWS Global Accelerator Developer Guide. FlowLogsEnabled *bool `type:"boolean"` // The name of the Amazon S3 bucket for the flow logs. Attribute is required // if FlowLogsEnabled is true. The bucket must exist and have a bucket policy // that grants AWS Global Accelerator permission to write to the bucket. FlowLogsS3Bucket *string `type:"string"` // The prefix for the location in the Amazon S3 bucket for the flow logs. Attribute // is required if FlowLogsEnabled is true. // // If you don’t specify a prefix, the flow logs are stored in the root of // the bucket. If you specify slash (/) for the S3 bucket prefix, the log file // bucket folder structure will include a double slash (//), like the following: // // s3-bucket_name//AWSLogs/aws_account_id FlowLogsS3Prefix *string `type:"string"` // contains filtered or unexported fields }
Attributes of an accelerator.
func (AcceleratorAttributes) GoString ¶
func (s AcceleratorAttributes) GoString() string
GoString returns the string representation
func (*AcceleratorAttributes) SetFlowLogsEnabled ¶
func (s *AcceleratorAttributes) SetFlowLogsEnabled(v bool) *AcceleratorAttributes
SetFlowLogsEnabled sets the FlowLogsEnabled field's value.
func (*AcceleratorAttributes) SetFlowLogsS3Bucket ¶
func (s *AcceleratorAttributes) SetFlowLogsS3Bucket(v string) *AcceleratorAttributes
SetFlowLogsS3Bucket sets the FlowLogsS3Bucket field's value.
func (*AcceleratorAttributes) SetFlowLogsS3Prefix ¶
func (s *AcceleratorAttributes) SetFlowLogsS3Prefix(v string) *AcceleratorAttributes
SetFlowLogsS3Prefix sets the FlowLogsS3Prefix field's value.
func (AcceleratorAttributes) String ¶
func (s AcceleratorAttributes) String() string
String returns the string representation
type AcceleratorNotDisabledException ¶ added in v1.28.0
type AcceleratorNotDisabledException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The accelerator that you specified could not be disabled.
func (*AcceleratorNotDisabledException) Code ¶ added in v1.28.0
func (s *AcceleratorNotDisabledException) Code() string
Code returns the exception type name.
func (*AcceleratorNotDisabledException) Error ¶ added in v1.28.0
func (s *AcceleratorNotDisabledException) Error() string
func (AcceleratorNotDisabledException) GoString ¶ added in v1.28.0
func (s AcceleratorNotDisabledException) GoString() string
GoString returns the string representation
func (*AcceleratorNotDisabledException) Message ¶ added in v1.28.0
func (s *AcceleratorNotDisabledException) Message() string
Message returns the exception's message.
func (*AcceleratorNotDisabledException) OrigErr ¶ added in v1.28.0
func (s *AcceleratorNotDisabledException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AcceleratorNotDisabledException) RequestID ¶ added in v1.28.0
func (s *AcceleratorNotDisabledException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AcceleratorNotDisabledException) StatusCode ¶ added in v1.28.0
func (s *AcceleratorNotDisabledException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AcceleratorNotDisabledException) String ¶ added in v1.28.0
func (s AcceleratorNotDisabledException) String() string
String returns the string representation
type AcceleratorNotFoundException ¶ added in v1.28.0
type AcceleratorNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The accelerator that you specified doesn't exist.
func (*AcceleratorNotFoundException) Code ¶ added in v1.28.0
func (s *AcceleratorNotFoundException) Code() string
Code returns the exception type name.
func (*AcceleratorNotFoundException) Error ¶ added in v1.28.0
func (s *AcceleratorNotFoundException) Error() string
func (AcceleratorNotFoundException) GoString ¶ added in v1.28.0
func (s AcceleratorNotFoundException) GoString() string
GoString returns the string representation
func (*AcceleratorNotFoundException) Message ¶ added in v1.28.0
func (s *AcceleratorNotFoundException) Message() string
Message returns the exception's message.
func (*AcceleratorNotFoundException) OrigErr ¶ added in v1.28.0
func (s *AcceleratorNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AcceleratorNotFoundException) RequestID ¶ added in v1.28.0
func (s *AcceleratorNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AcceleratorNotFoundException) StatusCode ¶ added in v1.28.0
func (s *AcceleratorNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AcceleratorNotFoundException) String ¶ added in v1.28.0
func (s AcceleratorNotFoundException) String() string
String returns the string representation
type AccessDeniedException ¶ added in v1.28.0
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
You don't have access permission.
func (*AccessDeniedException) Code ¶ added in v1.28.0
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (*AccessDeniedException) Error ¶ added in v1.28.0
func (s *AccessDeniedException) Error() string
func (AccessDeniedException) GoString ¶ added in v1.28.0
func (s AccessDeniedException) GoString() string
GoString returns the string representation
func (*AccessDeniedException) Message ¶ added in v1.28.0
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (*AccessDeniedException) OrigErr ¶ added in v1.28.0
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccessDeniedException) RequestID ¶ added in v1.28.0
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccessDeniedException) StatusCode ¶ added in v1.28.0
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccessDeniedException) String ¶ added in v1.28.0
func (s AccessDeniedException) String() string
String returns the string representation
type AdvertiseByoipCidrInput ¶ added in v1.29.12
type AdvertiseByoipCidrInput struct { // The address range, in CIDR notation. This must be the exact range that you // provisioned. You can't advertise only a portion of the provisioned range. // // Cidr is a required field Cidr *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (AdvertiseByoipCidrInput) GoString ¶ added in v1.29.12
func (s AdvertiseByoipCidrInput) GoString() string
GoString returns the string representation
func (*AdvertiseByoipCidrInput) SetCidr ¶ added in v1.29.12
func (s *AdvertiseByoipCidrInput) SetCidr(v string) *AdvertiseByoipCidrInput
SetCidr sets the Cidr field's value.
func (AdvertiseByoipCidrInput) String ¶ added in v1.29.12
func (s AdvertiseByoipCidrInput) String() string
String returns the string representation
func (*AdvertiseByoipCidrInput) Validate ¶ added in v1.29.12
func (s *AdvertiseByoipCidrInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AdvertiseByoipCidrOutput ¶ added in v1.29.12
type AdvertiseByoipCidrOutput struct { // Information about the address range. ByoipCidr *ByoipCidr `type:"structure"` // contains filtered or unexported fields }
func (AdvertiseByoipCidrOutput) GoString ¶ added in v1.29.12
func (s AdvertiseByoipCidrOutput) GoString() string
GoString returns the string representation
func (*AdvertiseByoipCidrOutput) SetByoipCidr ¶ added in v1.29.12
func (s *AdvertiseByoipCidrOutput) SetByoipCidr(v *ByoipCidr) *AdvertiseByoipCidrOutput
SetByoipCidr sets the ByoipCidr field's value.
func (AdvertiseByoipCidrOutput) String ¶ added in v1.29.12
func (s AdvertiseByoipCidrOutput) String() string
String returns the string representation
type AssociatedEndpointGroupFoundException ¶ added in v1.28.0
type AssociatedEndpointGroupFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The listener that you specified has an endpoint group associated with it. You must remove all dependent resources from a listener before you can delete it.
func (*AssociatedEndpointGroupFoundException) Code ¶ added in v1.28.0
func (s *AssociatedEndpointGroupFoundException) Code() string
Code returns the exception type name.
func (*AssociatedEndpointGroupFoundException) Error ¶ added in v1.28.0
func (s *AssociatedEndpointGroupFoundException) Error() string
func (AssociatedEndpointGroupFoundException) GoString ¶ added in v1.28.0
func (s AssociatedEndpointGroupFoundException) GoString() string
GoString returns the string representation
func (*AssociatedEndpointGroupFoundException) Message ¶ added in v1.28.0
func (s *AssociatedEndpointGroupFoundException) Message() string
Message returns the exception's message.
func (*AssociatedEndpointGroupFoundException) OrigErr ¶ added in v1.28.0
func (s *AssociatedEndpointGroupFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AssociatedEndpointGroupFoundException) RequestID ¶ added in v1.28.0
func (s *AssociatedEndpointGroupFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AssociatedEndpointGroupFoundException) StatusCode ¶ added in v1.28.0
func (s *AssociatedEndpointGroupFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AssociatedEndpointGroupFoundException) String ¶ added in v1.28.0
func (s AssociatedEndpointGroupFoundException) String() string
String returns the string representation
type AssociatedListenerFoundException ¶ added in v1.28.0
type AssociatedListenerFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The accelerator that you specified has a listener associated with it. You must remove all dependent resources from an accelerator before you can delete it.
func (*AssociatedListenerFoundException) Code ¶ added in v1.28.0
func (s *AssociatedListenerFoundException) Code() string
Code returns the exception type name.
func (*AssociatedListenerFoundException) Error ¶ added in v1.28.0
func (s *AssociatedListenerFoundException) Error() string
func (AssociatedListenerFoundException) GoString ¶ added in v1.28.0
func (s AssociatedListenerFoundException) GoString() string
GoString returns the string representation
func (*AssociatedListenerFoundException) Message ¶ added in v1.28.0
func (s *AssociatedListenerFoundException) Message() string
Message returns the exception's message.
func (*AssociatedListenerFoundException) OrigErr ¶ added in v1.28.0
func (s *AssociatedListenerFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AssociatedListenerFoundException) RequestID ¶ added in v1.28.0
func (s *AssociatedListenerFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AssociatedListenerFoundException) StatusCode ¶ added in v1.28.0
func (s *AssociatedListenerFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AssociatedListenerFoundException) String ¶ added in v1.28.0
func (s AssociatedListenerFoundException) String() string
String returns the string representation
type ByoipCidr ¶ added in v1.29.12
type ByoipCidr struct { // The address range, in CIDR notation. Cidr *string `type:"string"` // A history of status changes for an IP address range that you bring to AWS // Global Accelerator through bring your own IP address (BYOIP). Events []*ByoipCidrEvent `type:"list"` // The state of the address pool. State *string `type:"string" enum:"ByoipCidrState"` // contains filtered or unexported fields }
Information about an IP address range that is provisioned for use with your AWS resources through bring your own IP address (BYOIP).
The following describes each BYOIP State that your IP address range can be in.
PENDING_PROVISIONING — You’ve submitted a request to provision an IP address range but it is not yet provisioned with AWS Global Accelerator.
READY — The address range is provisioned with AWS Global Accelerator and can be advertised.
PENDING_ADVERTISING — You’ve submitted a request for AWS Global Accelerator to advertise an address range but it is not yet being advertised.
ADVERTISING — The address range is being advertised by AWS Global Accelerator.
PENDING_WITHDRAWING — You’ve submitted a request to withdraw an address range from being advertised but it is still being advertised by AWS Global Accelerator.
PENDING_DEPROVISIONING — You’ve submitted a request to deprovision an address range from AWS Global Accelerator but it is still provisioned.
DEPROVISIONED — The address range is deprovisioned from AWS Global Accelerator.
FAILED_PROVISION — The request to provision the address range from AWS Global Accelerator was not successful. Please make sure that you provide all of the correct information, and try again. If the request fails a second time, contact AWS support.
FAILED_ADVERTISING — The request for AWS Global Accelerator to advertise the address range was not successful. Please make sure that you provide all of the correct information, and try again. If the request fails a second time, contact AWS support.
FAILED_WITHDRAW — The request to withdraw the address range from advertising by AWS Global Accelerator was not successful. Please make sure that you provide all of the correct information, and try again. If the request fails a second time, contact AWS support.
FAILED_DEPROVISION — The request to deprovision the address range from AWS Global Accelerator was not successful. Please make sure that you provide all of the correct information, and try again. If the request fails a second time, contact AWS support.
func (*ByoipCidr) SetEvents ¶ added in v1.29.34
func (s *ByoipCidr) SetEvents(v []*ByoipCidrEvent) *ByoipCidr
SetEvents sets the Events field's value.
type ByoipCidrEvent ¶ added in v1.29.34
type ByoipCidrEvent struct { // A string that contains an Event message describing changes that you make // in the status of an IP address range that you bring to AWS Global Accelerator // through bring your own IP address (BYOIP). Message *string `type:"string"` // A timestamp when you make a status change for an IP address range that you // bring to AWS Global Accelerator through bring your own IP address (BYOIP). Timestamp *time.Time `type:"timestamp"` // contains filtered or unexported fields }
A complex type that contains a Message and a Timestamp value for changes that you make in the status an IP address range that you bring to AWS Global Accelerator through bring your own IP address (BYOIP).
func (ByoipCidrEvent) GoString ¶ added in v1.29.34
func (s ByoipCidrEvent) GoString() string
GoString returns the string representation
func (*ByoipCidrEvent) SetMessage ¶ added in v1.29.34
func (s *ByoipCidrEvent) SetMessage(v string) *ByoipCidrEvent
SetMessage sets the Message field's value.
func (*ByoipCidrEvent) SetTimestamp ¶ added in v1.29.34
func (s *ByoipCidrEvent) SetTimestamp(v time.Time) *ByoipCidrEvent
SetTimestamp sets the Timestamp field's value.
func (ByoipCidrEvent) String ¶ added in v1.29.34
func (s ByoipCidrEvent) String() string
String returns the string representation
type ByoipCidrNotFoundException ¶ added in v1.29.12
type ByoipCidrNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The CIDR that you specified was not found or is incorrect.
func (*ByoipCidrNotFoundException) Code ¶ added in v1.29.12
func (s *ByoipCidrNotFoundException) Code() string
Code returns the exception type name.
func (*ByoipCidrNotFoundException) Error ¶ added in v1.29.12
func (s *ByoipCidrNotFoundException) Error() string
func (ByoipCidrNotFoundException) GoString ¶ added in v1.29.12
func (s ByoipCidrNotFoundException) GoString() string
GoString returns the string representation
func (*ByoipCidrNotFoundException) Message ¶ added in v1.29.12
func (s *ByoipCidrNotFoundException) Message() string
Message returns the exception's message.
func (*ByoipCidrNotFoundException) OrigErr ¶ added in v1.29.12
func (s *ByoipCidrNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ByoipCidrNotFoundException) RequestID ¶ added in v1.29.12
func (s *ByoipCidrNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ByoipCidrNotFoundException) StatusCode ¶ added in v1.29.12
func (s *ByoipCidrNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ByoipCidrNotFoundException) String ¶ added in v1.29.12
func (s ByoipCidrNotFoundException) String() string
String returns the string representation
type CidrAuthorizationContext ¶ added in v1.29.12
type CidrAuthorizationContext struct { // The plain-text authorization message for the prefix and account. // // Message is a required field Message *string `type:"string" required:"true"` // The signed authorization message for the prefix and account. // // Signature is a required field Signature *string `type:"string" required:"true"` // contains filtered or unexported fields }
Provides authorization for Amazon to bring a specific IP address range to a specific AWS account using bring your own IP addresses (BYOIP).
For more information, see Bring Your Own IP Addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html) in the AWS Global Accelerator Developer Guide.
func (CidrAuthorizationContext) GoString ¶ added in v1.29.12
func (s CidrAuthorizationContext) GoString() string
GoString returns the string representation
func (*CidrAuthorizationContext) SetMessage ¶ added in v1.29.12
func (s *CidrAuthorizationContext) SetMessage(v string) *CidrAuthorizationContext
SetMessage sets the Message field's value.
func (*CidrAuthorizationContext) SetSignature ¶ added in v1.29.12
func (s *CidrAuthorizationContext) SetSignature(v string) *CidrAuthorizationContext
SetSignature sets the Signature field's value.
func (CidrAuthorizationContext) String ¶ added in v1.29.12
func (s CidrAuthorizationContext) String() string
String returns the string representation
func (*CidrAuthorizationContext) Validate ¶ added in v1.29.12
func (s *CidrAuthorizationContext) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAcceleratorInput ¶
type CreateAcceleratorInput struct { // Indicates whether an accelerator is enabled. The value is true or false. // The default value is true. // // If the value is set to true, an accelerator cannot be deleted. If set to // false, the accelerator can be deleted. Enabled *bool `type:"boolean"` // A unique, case-sensitive identifier that you provide to ensure the idempotency—that // is, the uniqueness—of an accelerator. IdempotencyToken *string `type:"string" idempotencyToken:"true"` // The value for the address type must be IPv4. IpAddressType *string `type:"string" enum:"IpAddressType"` // Optionally, if you've added your own IP address pool to Global Accelerator // (BYOIP), you can choose IP addresses from your own pool to use for the accelerator's // static IP addresses when you create an accelerator. You can specify one or // two addresses, separated by a comma. Do not include the /32 suffix. // // Only one IP address from each of your IP address ranges can be used for each // accelerator. If you specify only one IP address from your IP address range, // Global Accelerator assigns a second static IP address for the accelerator // from the AWS IP address pool. // // Note that you can't update IP addresses for an existing accelerator. To change // them, you must create a new accelerator with the new addresses. // // For more information, see Bring Your Own IP Addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html) // in the AWS Global Accelerator Developer Guide. IpAddresses []*string `type:"list"` // The name of an accelerator. The name can have a maximum of 32 characters, // must contain only alphanumeric characters or hyphens (-), and must not begin // or end with a hyphen. // // Name is a required field Name *string `type:"string" required:"true"` // Create tags for an accelerator. // // For more information, see Tagging in AWS Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html) // in the AWS Global Accelerator Developer Guide. Tags []*Tag `type:"list"` // contains filtered or unexported fields }
func (CreateAcceleratorInput) GoString ¶
func (s CreateAcceleratorInput) GoString() string
GoString returns the string representation
func (*CreateAcceleratorInput) SetEnabled ¶
func (s *CreateAcceleratorInput) SetEnabled(v bool) *CreateAcceleratorInput
SetEnabled sets the Enabled field's value.
func (*CreateAcceleratorInput) SetIdempotencyToken ¶
func (s *CreateAcceleratorInput) SetIdempotencyToken(v string) *CreateAcceleratorInput
SetIdempotencyToken sets the IdempotencyToken field's value.
func (*CreateAcceleratorInput) SetIpAddressType ¶
func (s *CreateAcceleratorInput) SetIpAddressType(v string) *CreateAcceleratorInput
SetIpAddressType sets the IpAddressType field's value.
func (*CreateAcceleratorInput) SetIpAddresses ¶ added in v1.29.12
func (s *CreateAcceleratorInput) SetIpAddresses(v []*string) *CreateAcceleratorInput
SetIpAddresses sets the IpAddresses field's value.
func (*CreateAcceleratorInput) SetName ¶
func (s *CreateAcceleratorInput) SetName(v string) *CreateAcceleratorInput
SetName sets the Name field's value.
func (*CreateAcceleratorInput) SetTags ¶ added in v1.29.12
func (s *CreateAcceleratorInput) SetTags(v []*Tag) *CreateAcceleratorInput
SetTags sets the Tags field's value.
func (CreateAcceleratorInput) String ¶
func (s CreateAcceleratorInput) String() string
String returns the string representation
func (*CreateAcceleratorInput) Validate ¶
func (s *CreateAcceleratorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAcceleratorOutput ¶
type CreateAcceleratorOutput struct { // The accelerator that is created by specifying a listener and the supported // IP address types. Accelerator *Accelerator `type:"structure"` // contains filtered or unexported fields }
func (CreateAcceleratorOutput) GoString ¶
func (s CreateAcceleratorOutput) GoString() string
GoString returns the string representation
func (*CreateAcceleratorOutput) SetAccelerator ¶
func (s *CreateAcceleratorOutput) SetAccelerator(v *Accelerator) *CreateAcceleratorOutput
SetAccelerator sets the Accelerator field's value.
func (CreateAcceleratorOutput) String ¶
func (s CreateAcceleratorOutput) String() string
String returns the string representation
type CreateEndpointGroupInput ¶
type CreateEndpointGroupInput struct { // The list of endpoint objects. EndpointConfigurations []*EndpointConfiguration `type:"list"` // The AWS Region where the endpoint group is located. A listener can have only // one endpoint group in a specific Region. // // EndpointGroupRegion is a required field EndpointGroupRegion *string `type:"string" required:"true"` // The time—10 seconds or 30 seconds—between each health check for an endpoint. // The default value is 30. HealthCheckIntervalSeconds *int64 `min:"10" type:"integer"` // If the protocol is HTTP/S, then this specifies the path that is the destination // for health check targets. The default value is slash (/). HealthCheckPath *string `type:"string"` // The port that AWS Global Accelerator uses to check the health of endpoints // that are part of this endpoint group. The default port is the listener port // that this endpoint group is associated with. If listener port is a list of // ports, Global Accelerator uses the first port in the list. HealthCheckPort *int64 `min:"1" type:"integer"` // The protocol that AWS Global Accelerator uses to check the health of endpoints // that are part of this endpoint group. The default value is TCP. HealthCheckProtocol *string `type:"string" enum:"HealthCheckProtocol"` // A unique, case-sensitive identifier that you provide to ensure the idempotency—that // is, the uniqueness—of the request. IdempotencyToken *string `type:"string" idempotencyToken:"true"` // The Amazon Resource Name (ARN) of the listener. // // ListenerArn is a required field ListenerArn *string `type:"string" required:"true"` // Override specific listener ports used to route traffic to endpoints that // are part of this endpoint group. For example, you can create a port override // in which the listener receives user traffic on ports 80 and 443, but your // accelerator routes that traffic to ports 1080 and 1443, respectively, on // the endpoints. // // For more information, see Port overrides (https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html) // in the AWS Global Accelerator Developer Guide. PortOverrides []*PortOverride `type:"list"` // The number of consecutive health checks required to set the state of a healthy // endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default // value is 3. ThresholdCount *int64 `min:"1" type:"integer"` // The percentage of traffic to send to an AWS Region. Additional traffic is // distributed to other endpoint groups for this listener. // // Use this action to increase (dial up) or decrease (dial down) traffic to // a specific Region. The percentage is applied to the traffic that would otherwise // have been routed to the Region based on optimal routing. // // The default value is 100. TrafficDialPercentage *float64 `type:"float"` // contains filtered or unexported fields }
func (CreateEndpointGroupInput) GoString ¶
func (s CreateEndpointGroupInput) GoString() string
GoString returns the string representation
func (*CreateEndpointGroupInput) SetEndpointConfigurations ¶
func (s *CreateEndpointGroupInput) SetEndpointConfigurations(v []*EndpointConfiguration) *CreateEndpointGroupInput
SetEndpointConfigurations sets the EndpointConfigurations field's value.
func (*CreateEndpointGroupInput) SetEndpointGroupRegion ¶
func (s *CreateEndpointGroupInput) SetEndpointGroupRegion(v string) *CreateEndpointGroupInput
SetEndpointGroupRegion sets the EndpointGroupRegion field's value.
func (*CreateEndpointGroupInput) SetHealthCheckIntervalSeconds ¶
func (s *CreateEndpointGroupInput) SetHealthCheckIntervalSeconds(v int64) *CreateEndpointGroupInput
SetHealthCheckIntervalSeconds sets the HealthCheckIntervalSeconds field's value.
func (*CreateEndpointGroupInput) SetHealthCheckPath ¶
func (s *CreateEndpointGroupInput) SetHealthCheckPath(v string) *CreateEndpointGroupInput
SetHealthCheckPath sets the HealthCheckPath field's value.
func (*CreateEndpointGroupInput) SetHealthCheckPort ¶
func (s *CreateEndpointGroupInput) SetHealthCheckPort(v int64) *CreateEndpointGroupInput
SetHealthCheckPort sets the HealthCheckPort field's value.
func (*CreateEndpointGroupInput) SetHealthCheckProtocol ¶
func (s *CreateEndpointGroupInput) SetHealthCheckProtocol(v string) *CreateEndpointGroupInput
SetHealthCheckProtocol sets the HealthCheckProtocol field's value.
func (*CreateEndpointGroupInput) SetIdempotencyToken ¶
func (s *CreateEndpointGroupInput) SetIdempotencyToken(v string) *CreateEndpointGroupInput
SetIdempotencyToken sets the IdempotencyToken field's value.
func (*CreateEndpointGroupInput) SetListenerArn ¶
func (s *CreateEndpointGroupInput) SetListenerArn(v string) *CreateEndpointGroupInput
SetListenerArn sets the ListenerArn field's value.
func (*CreateEndpointGroupInput) SetPortOverrides ¶ added in v1.35.12
func (s *CreateEndpointGroupInput) SetPortOverrides(v []*PortOverride) *CreateEndpointGroupInput
SetPortOverrides sets the PortOverrides field's value.
func (*CreateEndpointGroupInput) SetThresholdCount ¶
func (s *CreateEndpointGroupInput) SetThresholdCount(v int64) *CreateEndpointGroupInput
SetThresholdCount sets the ThresholdCount field's value.
func (*CreateEndpointGroupInput) SetTrafficDialPercentage ¶
func (s *CreateEndpointGroupInput) SetTrafficDialPercentage(v float64) *CreateEndpointGroupInput
SetTrafficDialPercentage sets the TrafficDialPercentage field's value.
func (CreateEndpointGroupInput) String ¶
func (s CreateEndpointGroupInput) String() string
String returns the string representation
func (*CreateEndpointGroupInput) Validate ¶
func (s *CreateEndpointGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateEndpointGroupOutput ¶
type CreateEndpointGroupOutput struct { // The information about the endpoint group that was created. EndpointGroup *EndpointGroup `type:"structure"` // contains filtered or unexported fields }
func (CreateEndpointGroupOutput) GoString ¶
func (s CreateEndpointGroupOutput) GoString() string
GoString returns the string representation
func (*CreateEndpointGroupOutput) SetEndpointGroup ¶
func (s *CreateEndpointGroupOutput) SetEndpointGroup(v *EndpointGroup) *CreateEndpointGroupOutput
SetEndpointGroup sets the EndpointGroup field's value.
func (CreateEndpointGroupOutput) String ¶
func (s CreateEndpointGroupOutput) String() string
String returns the string representation
type CreateListenerInput ¶
type CreateListenerInput struct { // The Amazon Resource Name (ARN) of your accelerator. // // AcceleratorArn is a required field AcceleratorArn *string `type:"string" required:"true"` // Client affinity lets you direct all requests from a user to the same endpoint, // if you have stateful applications, regardless of the port and protocol of // the client request. Client affinity gives you control over whether to always // route each client to the same specific endpoint. // // AWS Global Accelerator uses a consistent-flow hashing algorithm to choose // the optimal endpoint for a connection. If client affinity is NONE, Global // Accelerator uses the "five-tuple" (5-tuple) properties—source IP address, // source port, destination IP address, destination port, and protocol—to // select the hash value, and then chooses the best endpoint. However, with // this setting, if someone uses different ports to connect to Global Accelerator, // their connections might not be always routed to the same endpoint because // the hash value changes. // // If you want a given client to always be routed to the same endpoint, set // client affinity to SOURCE_IP instead. When you use the SOURCE_IP setting, // Global Accelerator uses the "two-tuple" (2-tuple) properties— source (client) // IP address and destination IP address—to select the hash value. // // The default value is NONE. ClientAffinity *string `type:"string" enum:"ClientAffinity"` // A unique, case-sensitive identifier that you provide to ensure the idempotency—that // is, the uniqueness—of the request. IdempotencyToken *string `type:"string" idempotencyToken:"true"` // The list of port ranges to support for connections from clients to your accelerator. // // PortRanges is a required field PortRanges []*PortRange `min:"1" type:"list" required:"true"` // The protocol for connections from clients to your accelerator. // // Protocol is a required field Protocol *string `type:"string" required:"true" enum:"Protocol"` // contains filtered or unexported fields }
func (CreateListenerInput) GoString ¶
func (s CreateListenerInput) GoString() string
GoString returns the string representation
func (*CreateListenerInput) SetAcceleratorArn ¶
func (s *CreateListenerInput) SetAcceleratorArn(v string) *CreateListenerInput
SetAcceleratorArn sets the AcceleratorArn field's value.
func (*CreateListenerInput) SetClientAffinity ¶
func (s *CreateListenerInput) SetClientAffinity(v string) *CreateListenerInput
SetClientAffinity sets the ClientAffinity field's value.
func (*CreateListenerInput) SetIdempotencyToken ¶
func (s *CreateListenerInput) SetIdempotencyToken(v string) *CreateListenerInput
SetIdempotencyToken sets the IdempotencyToken field's value.
func (*CreateListenerInput) SetPortRanges ¶
func (s *CreateListenerInput) SetPortRanges(v []*PortRange) *CreateListenerInput
SetPortRanges sets the PortRanges field's value.
func (*CreateListenerInput) SetProtocol ¶
func (s *CreateListenerInput) SetProtocol(v string) *CreateListenerInput
SetProtocol sets the Protocol field's value.
func (CreateListenerInput) String ¶
func (s CreateListenerInput) String() string
String returns the string representation
func (*CreateListenerInput) Validate ¶
func (s *CreateListenerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateListenerOutput ¶
type CreateListenerOutput struct { // The listener that you've created. Listener *Listener `type:"structure"` // contains filtered or unexported fields }
func (CreateListenerOutput) GoString ¶
func (s CreateListenerOutput) GoString() string
GoString returns the string representation
func (*CreateListenerOutput) SetListener ¶
func (s *CreateListenerOutput) SetListener(v *Listener) *CreateListenerOutput
SetListener sets the Listener field's value.
func (CreateListenerOutput) String ¶
func (s CreateListenerOutput) String() string
String returns the string representation
type DeleteAcceleratorInput ¶
type DeleteAcceleratorInput struct { // The Amazon Resource Name (ARN) of an accelerator. // // AcceleratorArn is a required field AcceleratorArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteAcceleratorInput) GoString ¶
func (s DeleteAcceleratorInput) GoString() string
GoString returns the string representation
func (*DeleteAcceleratorInput) SetAcceleratorArn ¶
func (s *DeleteAcceleratorInput) SetAcceleratorArn(v string) *DeleteAcceleratorInput
SetAcceleratorArn sets the AcceleratorArn field's value.
func (DeleteAcceleratorInput) String ¶
func (s DeleteAcceleratorInput) String() string
String returns the string representation
func (*DeleteAcceleratorInput) Validate ¶
func (s *DeleteAcceleratorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAcceleratorOutput ¶
type DeleteAcceleratorOutput struct {
// contains filtered or unexported fields
}
func (DeleteAcceleratorOutput) GoString ¶
func (s DeleteAcceleratorOutput) GoString() string
GoString returns the string representation
func (DeleteAcceleratorOutput) String ¶
func (s DeleteAcceleratorOutput) String() string
String returns the string representation
type DeleteEndpointGroupInput ¶
type DeleteEndpointGroupInput struct { // The Amazon Resource Name (ARN) of the endpoint group to delete. // // EndpointGroupArn is a required field EndpointGroupArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteEndpointGroupInput) GoString ¶
func (s DeleteEndpointGroupInput) GoString() string
GoString returns the string representation
func (*DeleteEndpointGroupInput) SetEndpointGroupArn ¶
func (s *DeleteEndpointGroupInput) SetEndpointGroupArn(v string) *DeleteEndpointGroupInput
SetEndpointGroupArn sets the EndpointGroupArn field's value.
func (DeleteEndpointGroupInput) String ¶
func (s DeleteEndpointGroupInput) String() string
String returns the string representation
func (*DeleteEndpointGroupInput) Validate ¶
func (s *DeleteEndpointGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteEndpointGroupOutput ¶
type DeleteEndpointGroupOutput struct {
// contains filtered or unexported fields
}
func (DeleteEndpointGroupOutput) GoString ¶
func (s DeleteEndpointGroupOutput) GoString() string
GoString returns the string representation
func (DeleteEndpointGroupOutput) String ¶
func (s DeleteEndpointGroupOutput) String() string
String returns the string representation
type DeleteListenerInput ¶
type DeleteListenerInput struct { // The Amazon Resource Name (ARN) of the listener. // // ListenerArn is a required field ListenerArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteListenerInput) GoString ¶
func (s DeleteListenerInput) GoString() string
GoString returns the string representation
func (*DeleteListenerInput) SetListenerArn ¶
func (s *DeleteListenerInput) SetListenerArn(v string) *DeleteListenerInput
SetListenerArn sets the ListenerArn field's value.
func (DeleteListenerInput) String ¶
func (s DeleteListenerInput) String() string
String returns the string representation
func (*DeleteListenerInput) Validate ¶
func (s *DeleteListenerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteListenerOutput ¶
type DeleteListenerOutput struct {
// contains filtered or unexported fields
}
func (DeleteListenerOutput) GoString ¶
func (s DeleteListenerOutput) GoString() string
GoString returns the string representation
func (DeleteListenerOutput) String ¶
func (s DeleteListenerOutput) String() string
String returns the string representation
type DeprovisionByoipCidrInput ¶ added in v1.29.12
type DeprovisionByoipCidrInput struct { // The address range, in CIDR notation. The prefix must be the same prefix that // you specified when you provisioned the address range. // // Cidr is a required field Cidr *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DeprovisionByoipCidrInput) GoString ¶ added in v1.29.12
func (s DeprovisionByoipCidrInput) GoString() string
GoString returns the string representation
func (*DeprovisionByoipCidrInput) SetCidr ¶ added in v1.29.12
func (s *DeprovisionByoipCidrInput) SetCidr(v string) *DeprovisionByoipCidrInput
SetCidr sets the Cidr field's value.
func (DeprovisionByoipCidrInput) String ¶ added in v1.29.12
func (s DeprovisionByoipCidrInput) String() string
String returns the string representation
func (*DeprovisionByoipCidrInput) Validate ¶ added in v1.29.12
func (s *DeprovisionByoipCidrInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeprovisionByoipCidrOutput ¶ added in v1.29.12
type DeprovisionByoipCidrOutput struct { // Information about the address range. ByoipCidr *ByoipCidr `type:"structure"` // contains filtered or unexported fields }
func (DeprovisionByoipCidrOutput) GoString ¶ added in v1.29.12
func (s DeprovisionByoipCidrOutput) GoString() string
GoString returns the string representation
func (*DeprovisionByoipCidrOutput) SetByoipCidr ¶ added in v1.29.12
func (s *DeprovisionByoipCidrOutput) SetByoipCidr(v *ByoipCidr) *DeprovisionByoipCidrOutput
SetByoipCidr sets the ByoipCidr field's value.
func (DeprovisionByoipCidrOutput) String ¶ added in v1.29.12
func (s DeprovisionByoipCidrOutput) String() string
String returns the string representation
type DescribeAcceleratorAttributesInput ¶
type DescribeAcceleratorAttributesInput struct { // The Amazon Resource Name (ARN) of the accelerator with the attributes that // you want to describe. // // AcceleratorArn is a required field AcceleratorArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeAcceleratorAttributesInput) GoString ¶
func (s DescribeAcceleratorAttributesInput) GoString() string
GoString returns the string representation
func (*DescribeAcceleratorAttributesInput) SetAcceleratorArn ¶
func (s *DescribeAcceleratorAttributesInput) SetAcceleratorArn(v string) *DescribeAcceleratorAttributesInput
SetAcceleratorArn sets the AcceleratorArn field's value.
func (DescribeAcceleratorAttributesInput) String ¶
func (s DescribeAcceleratorAttributesInput) String() string
String returns the string representation
func (*DescribeAcceleratorAttributesInput) Validate ¶ added in v1.23.11
func (s *DescribeAcceleratorAttributesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeAcceleratorAttributesOutput ¶
type DescribeAcceleratorAttributesOutput struct { // The attributes of the accelerator. AcceleratorAttributes *AcceleratorAttributes `type:"structure"` // contains filtered or unexported fields }
func (DescribeAcceleratorAttributesOutput) GoString ¶
func (s DescribeAcceleratorAttributesOutput) GoString() string
GoString returns the string representation
func (*DescribeAcceleratorAttributesOutput) SetAcceleratorAttributes ¶
func (s *DescribeAcceleratorAttributesOutput) SetAcceleratorAttributes(v *AcceleratorAttributes) *DescribeAcceleratorAttributesOutput
SetAcceleratorAttributes sets the AcceleratorAttributes field's value.
func (DescribeAcceleratorAttributesOutput) String ¶
func (s DescribeAcceleratorAttributesOutput) String() string
String returns the string representation
type DescribeAcceleratorInput ¶
type DescribeAcceleratorInput struct { // The Amazon Resource Name (ARN) of the accelerator to describe. // // AcceleratorArn is a required field AcceleratorArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeAcceleratorInput) GoString ¶
func (s DescribeAcceleratorInput) GoString() string
GoString returns the string representation
func (*DescribeAcceleratorInput) SetAcceleratorArn ¶
func (s *DescribeAcceleratorInput) SetAcceleratorArn(v string) *DescribeAcceleratorInput
SetAcceleratorArn sets the AcceleratorArn field's value.
func (DescribeAcceleratorInput) String ¶
func (s DescribeAcceleratorInput) String() string
String returns the string representation
func (*DescribeAcceleratorInput) Validate ¶
func (s *DescribeAcceleratorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeAcceleratorOutput ¶
type DescribeAcceleratorOutput struct { // The description of the accelerator. Accelerator *Accelerator `type:"structure"` // contains filtered or unexported fields }
func (DescribeAcceleratorOutput) GoString ¶
func (s DescribeAcceleratorOutput) GoString() string
GoString returns the string representation
func (*DescribeAcceleratorOutput) SetAccelerator ¶
func (s *DescribeAcceleratorOutput) SetAccelerator(v *Accelerator) *DescribeAcceleratorOutput
SetAccelerator sets the Accelerator field's value.
func (DescribeAcceleratorOutput) String ¶
func (s DescribeAcceleratorOutput) String() string
String returns the string representation
type DescribeEndpointGroupInput ¶
type DescribeEndpointGroupInput struct { // The Amazon Resource Name (ARN) of the endpoint group to describe. // // EndpointGroupArn is a required field EndpointGroupArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeEndpointGroupInput) GoString ¶
func (s DescribeEndpointGroupInput) GoString() string
GoString returns the string representation
func (*DescribeEndpointGroupInput) SetEndpointGroupArn ¶
func (s *DescribeEndpointGroupInput) SetEndpointGroupArn(v string) *DescribeEndpointGroupInput
SetEndpointGroupArn sets the EndpointGroupArn field's value.
func (DescribeEndpointGroupInput) String ¶
func (s DescribeEndpointGroupInput) String() string
String returns the string representation
func (*DescribeEndpointGroupInput) Validate ¶
func (s *DescribeEndpointGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeEndpointGroupOutput ¶
type DescribeEndpointGroupOutput struct { // The description of an endpoint group. EndpointGroup *EndpointGroup `type:"structure"` // contains filtered or unexported fields }
func (DescribeEndpointGroupOutput) GoString ¶
func (s DescribeEndpointGroupOutput) GoString() string
GoString returns the string representation
func (*DescribeEndpointGroupOutput) SetEndpointGroup ¶
func (s *DescribeEndpointGroupOutput) SetEndpointGroup(v *EndpointGroup) *DescribeEndpointGroupOutput
SetEndpointGroup sets the EndpointGroup field's value.
func (DescribeEndpointGroupOutput) String ¶
func (s DescribeEndpointGroupOutput) String() string
String returns the string representation
type DescribeListenerInput ¶
type DescribeListenerInput struct { // The Amazon Resource Name (ARN) of the listener to describe. // // ListenerArn is a required field ListenerArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeListenerInput) GoString ¶
func (s DescribeListenerInput) GoString() string
GoString returns the string representation
func (*DescribeListenerInput) SetListenerArn ¶
func (s *DescribeListenerInput) SetListenerArn(v string) *DescribeListenerInput
SetListenerArn sets the ListenerArn field's value.
func (DescribeListenerInput) String ¶
func (s DescribeListenerInput) String() string
String returns the string representation
func (*DescribeListenerInput) Validate ¶
func (s *DescribeListenerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeListenerOutput ¶
type DescribeListenerOutput struct { // The description of a listener. Listener *Listener `type:"structure"` // contains filtered or unexported fields }
func (DescribeListenerOutput) GoString ¶
func (s DescribeListenerOutput) GoString() string
GoString returns the string representation
func (*DescribeListenerOutput) SetListener ¶
func (s *DescribeListenerOutput) SetListener(v *Listener) *DescribeListenerOutput
SetListener sets the Listener field's value.
func (DescribeListenerOutput) String ¶
func (s DescribeListenerOutput) String() string
String returns the string representation
type EndpointConfiguration ¶
type EndpointConfiguration struct { // Indicates whether client IP address preservation is enabled for an Application // Load Balancer endpoint. The value is true or false. The default value is // true for new accelerators. // // If the value is set to true, the client's IP address is preserved in the // X-Forwarded-For request header as traffic travels to applications on the // Application Load Balancer endpoint fronted by the accelerator. // // For more information, see Preserve Client IP Addresses in AWS Global Accelerator // (https://docs.aws.amazon.com/global-accelerator/latest/dg/preserve-client-ip-address.html) // in the AWS Global Accelerator Developer Guide. ClientIPPreservationEnabled *bool `type:"boolean"` // An ID for the endpoint. If the endpoint is a Network Load Balancer or Application // Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If // the endpoint is an Elastic IP address, this is the Elastic IP address allocation // ID. For Amazon EC2 instances, this is the EC2 instance ID. A resource must // be valid and active when you add it as an endpoint. // // An Application Load Balancer can be either internal or internet-facing. EndpointId *string `type:"string"` // The weight associated with the endpoint. When you add weights to endpoints, // you configure AWS Global Accelerator to route traffic based on proportions // that you specify. For example, you might specify endpoint weights of 4, 5, // 5, and 6 (sum=20). The result is that 4/20 of your traffic, on average, is // routed to the first endpoint, 5/20 is routed both to the second and third // endpoints, and 6/20 is routed to the last endpoint. For more information, // see Endpoint Weights (https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoints-endpoint-weights.html) // in the AWS Global Accelerator Developer Guide. Weight *int64 `type:"integer"` // contains filtered or unexported fields }
A complex type for endpoints. A resource must be valid and active when you add it as an endpoint.
func (EndpointConfiguration) GoString ¶
func (s EndpointConfiguration) GoString() string
GoString returns the string representation
func (*EndpointConfiguration) SetClientIPPreservationEnabled ¶ added in v1.23.11
func (s *EndpointConfiguration) SetClientIPPreservationEnabled(v bool) *EndpointConfiguration
SetClientIPPreservationEnabled sets the ClientIPPreservationEnabled field's value.
func (*EndpointConfiguration) SetEndpointId ¶
func (s *EndpointConfiguration) SetEndpointId(v string) *EndpointConfiguration
SetEndpointId sets the EndpointId field's value.
func (*EndpointConfiguration) SetWeight ¶
func (s *EndpointConfiguration) SetWeight(v int64) *EndpointConfiguration
SetWeight sets the Weight field's value.
func (EndpointConfiguration) String ¶
func (s EndpointConfiguration) String() string
String returns the string representation
type EndpointDescription ¶
type EndpointDescription struct { // Indicates whether client IP address preservation is enabled for an Application // Load Balancer endpoint. The value is true or false. The default value is // true for new accelerators. // // If the value is set to true, the client's IP address is preserved in the // X-Forwarded-For request header as traffic travels to applications on the // Application Load Balancer endpoint fronted by the accelerator. // // For more information, see Viewing Client IP Addresses in AWS Global Accelerator // (https://docs.aws.amazon.com/global-accelerator/latest/dg/introduction-how-it-works-client-ip.html) // in the AWS Global Accelerator Developer Guide. ClientIPPreservationEnabled *bool `type:"boolean"` // An ID for the endpoint. If the endpoint is a Network Load Balancer or Application // Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If // the endpoint is an Elastic IP address, this is the Elastic IP address allocation // ID. For EC2 instances, this is the EC2 instance ID. // // An Application Load Balancer can be either internal or internet-facing. EndpointId *string `type:"string"` // The reason code associated with why the endpoint is not healthy. If the endpoint // state is healthy, a reason code is not provided. // // If the endpoint state is unhealthy, the reason code can be one of the following // values: // // * Timeout: The health check requests to the endpoint are timing out before // returning a status. // // * Failed: The health check failed, for example because the endpoint response // was invalid (malformed). // // If the endpoint state is initial, the reason code can be one of the following // values: // // * ProvisioningInProgress: The endpoint is in the process of being provisioned. // // * InitialHealthChecking: Global Accelerator is still setting up the minimum // number of health checks for the endpoint that are required to determine // its health status. HealthReason *string `type:"string"` // The health status of the endpoint. HealthState *string `type:"string" enum:"HealthState"` // The weight associated with the endpoint. When you add weights to endpoints, // you configure AWS Global Accelerator to route traffic based on proportions // that you specify. For example, you might specify endpoint weights of 4, 5, // 5, and 6 (sum=20). The result is that 4/20 of your traffic, on average, is // routed to the first endpoint, 5/20 is routed both to the second and third // endpoints, and 6/20 is routed to the last endpoint. For more information, // see Endpoint Weights (https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoints-endpoint-weights.html) // in the AWS Global Accelerator Developer Guide. Weight *int64 `type:"integer"` // contains filtered or unexported fields }
A complex type for an endpoint. Each endpoint group can include one or more endpoints, such as load balancers.
func (EndpointDescription) GoString ¶
func (s EndpointDescription) GoString() string
GoString returns the string representation
func (*EndpointDescription) SetClientIPPreservationEnabled ¶ added in v1.23.11
func (s *EndpointDescription) SetClientIPPreservationEnabled(v bool) *EndpointDescription
SetClientIPPreservationEnabled sets the ClientIPPreservationEnabled field's value.
func (*EndpointDescription) SetEndpointId ¶
func (s *EndpointDescription) SetEndpointId(v string) *EndpointDescription
SetEndpointId sets the EndpointId field's value.
func (*EndpointDescription) SetHealthReason ¶
func (s *EndpointDescription) SetHealthReason(v string) *EndpointDescription
SetHealthReason sets the HealthReason field's value.
func (*EndpointDescription) SetHealthState ¶
func (s *EndpointDescription) SetHealthState(v string) *EndpointDescription
SetHealthState sets the HealthState field's value.
func (*EndpointDescription) SetWeight ¶
func (s *EndpointDescription) SetWeight(v int64) *EndpointDescription
SetWeight sets the Weight field's value.
func (EndpointDescription) String ¶
func (s EndpointDescription) String() string
String returns the string representation
type EndpointGroup ¶
type EndpointGroup struct { // The list of endpoint objects. EndpointDescriptions []*EndpointDescription `type:"list"` // The Amazon Resource Name (ARN) of the endpoint group. EndpointGroupArn *string `type:"string"` // The AWS Region where the endpoint group is located. EndpointGroupRegion *string `type:"string"` // The time—10 seconds or 30 seconds—between health checks for each endpoint. // The default value is 30. HealthCheckIntervalSeconds *int64 `min:"10" type:"integer"` // If the protocol is HTTP/S, then this value provides the ping path that Global // Accelerator uses for the destination on the endpoints for health checks. // The default is slash (/). HealthCheckPath *string `type:"string"` // The port that Global Accelerator uses to perform health checks on endpoints // that are part of this endpoint group. // // The default port is the port for the listener that this endpoint group is // associated with. If the listener port is a list, Global Accelerator uses // the first specified port in the list of ports. HealthCheckPort *int64 `min:"1" type:"integer"` // The protocol that Global Accelerator uses to perform health checks on endpoints // that are part of this endpoint group. The default value is TCP. HealthCheckProtocol *string `type:"string" enum:"HealthCheckProtocol"` // Allows you to override the destination ports used to route traffic to an // endpoint. Using a port override lets you to map a list of external destination // ports (that your users send traffic to) to a list of internal destination // ports that you want an application endpoint to receive traffic on. PortOverrides []*PortOverride `type:"list"` // The number of consecutive health checks required to set the state of a healthy // endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default // value is 3. ThresholdCount *int64 `min:"1" type:"integer"` // The percentage of traffic to send to an AWS Region. Additional traffic is // distributed to other endpoint groups for this listener. // // Use this action to increase (dial up) or decrease (dial down) traffic to // a specific Region. The percentage is applied to the traffic that would otherwise // have been routed to the Region based on optimal routing. // // The default value is 100. TrafficDialPercentage *float64 `type:"float"` // contains filtered or unexported fields }
A complex type for the endpoint group. An AWS Region can have only one endpoint group for a specific listener.
func (EndpointGroup) GoString ¶
func (s EndpointGroup) GoString() string
GoString returns the string representation
func (*EndpointGroup) SetEndpointDescriptions ¶
func (s *EndpointGroup) SetEndpointDescriptions(v []*EndpointDescription) *EndpointGroup
SetEndpointDescriptions sets the EndpointDescriptions field's value.
func (*EndpointGroup) SetEndpointGroupArn ¶
func (s *EndpointGroup) SetEndpointGroupArn(v string) *EndpointGroup
SetEndpointGroupArn sets the EndpointGroupArn field's value.
func (*EndpointGroup) SetEndpointGroupRegion ¶
func (s *EndpointGroup) SetEndpointGroupRegion(v string) *EndpointGroup
SetEndpointGroupRegion sets the EndpointGroupRegion field's value.
func (*EndpointGroup) SetHealthCheckIntervalSeconds ¶
func (s *EndpointGroup) SetHealthCheckIntervalSeconds(v int64) *EndpointGroup
SetHealthCheckIntervalSeconds sets the HealthCheckIntervalSeconds field's value.
func (*EndpointGroup) SetHealthCheckPath ¶
func (s *EndpointGroup) SetHealthCheckPath(v string) *EndpointGroup
SetHealthCheckPath sets the HealthCheckPath field's value.
func (*EndpointGroup) SetHealthCheckPort ¶
func (s *EndpointGroup) SetHealthCheckPort(v int64) *EndpointGroup
SetHealthCheckPort sets the HealthCheckPort field's value.
func (*EndpointGroup) SetHealthCheckProtocol ¶
func (s *EndpointGroup) SetHealthCheckProtocol(v string) *EndpointGroup
SetHealthCheckProtocol sets the HealthCheckProtocol field's value.
func (*EndpointGroup) SetPortOverrides ¶ added in v1.35.12
func (s *EndpointGroup) SetPortOverrides(v []*PortOverride) *EndpointGroup
SetPortOverrides sets the PortOverrides field's value.
func (*EndpointGroup) SetThresholdCount ¶
func (s *EndpointGroup) SetThresholdCount(v int64) *EndpointGroup
SetThresholdCount sets the ThresholdCount field's value.
func (*EndpointGroup) SetTrafficDialPercentage ¶
func (s *EndpointGroup) SetTrafficDialPercentage(v float64) *EndpointGroup
SetTrafficDialPercentage sets the TrafficDialPercentage field's value.
func (EndpointGroup) String ¶
func (s EndpointGroup) String() string
String returns the string representation
type EndpointGroupAlreadyExistsException ¶ added in v1.28.0
type EndpointGroupAlreadyExistsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The endpoint group that you specified already exists.
func (*EndpointGroupAlreadyExistsException) Code ¶ added in v1.28.0
func (s *EndpointGroupAlreadyExistsException) Code() string
Code returns the exception type name.
func (*EndpointGroupAlreadyExistsException) Error ¶ added in v1.28.0
func (s *EndpointGroupAlreadyExistsException) Error() string
func (EndpointGroupAlreadyExistsException) GoString ¶ added in v1.28.0
func (s EndpointGroupAlreadyExistsException) GoString() string
GoString returns the string representation
func (*EndpointGroupAlreadyExistsException) Message ¶ added in v1.28.0
func (s *EndpointGroupAlreadyExistsException) Message() string
Message returns the exception's message.
func (*EndpointGroupAlreadyExistsException) OrigErr ¶ added in v1.28.0
func (s *EndpointGroupAlreadyExistsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*EndpointGroupAlreadyExistsException) RequestID ¶ added in v1.28.0
func (s *EndpointGroupAlreadyExistsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*EndpointGroupAlreadyExistsException) StatusCode ¶ added in v1.28.0
func (s *EndpointGroupAlreadyExistsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (EndpointGroupAlreadyExistsException) String ¶ added in v1.28.0
func (s EndpointGroupAlreadyExistsException) String() string
String returns the string representation
type EndpointGroupNotFoundException ¶ added in v1.28.0
type EndpointGroupNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The endpoint group that you specified doesn't exist.
func (*EndpointGroupNotFoundException) Code ¶ added in v1.28.0
func (s *EndpointGroupNotFoundException) Code() string
Code returns the exception type name.
func (*EndpointGroupNotFoundException) Error ¶ added in v1.28.0
func (s *EndpointGroupNotFoundException) Error() string
func (EndpointGroupNotFoundException) GoString ¶ added in v1.28.0
func (s EndpointGroupNotFoundException) GoString() string
GoString returns the string representation
func (*EndpointGroupNotFoundException) Message ¶ added in v1.28.0
func (s *EndpointGroupNotFoundException) Message() string
Message returns the exception's message.
func (*EndpointGroupNotFoundException) OrigErr ¶ added in v1.28.0
func (s *EndpointGroupNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*EndpointGroupNotFoundException) RequestID ¶ added in v1.28.0
func (s *EndpointGroupNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*EndpointGroupNotFoundException) StatusCode ¶ added in v1.28.0
func (s *EndpointGroupNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (EndpointGroupNotFoundException) String ¶ added in v1.28.0
func (s EndpointGroupNotFoundException) String() string
String returns the string representation
type GlobalAccelerator ¶
GlobalAccelerator provides the API operation methods for making requests to AWS Global Accelerator. See this package's package overview docs for details on the service.
GlobalAccelerator methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *GlobalAccelerator
New creates a new instance of the GlobalAccelerator client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a GlobalAccelerator client from just a session. svc := globalaccelerator.New(mySession) // Create a GlobalAccelerator client with additional configuration svc := globalaccelerator.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*GlobalAccelerator) AdvertiseByoipCidr ¶ added in v1.29.12
func (c *GlobalAccelerator) AdvertiseByoipCidr(input *AdvertiseByoipCidrInput) (*AdvertiseByoipCidrOutput, error)
AdvertiseByoipCidr API operation for AWS Global Accelerator.
Advertises an IPv4 address range that is provisioned for use with your AWS resources through bring your own IP addresses (BYOIP). It can take a few minutes before traffic to the specified addresses starts routing to AWS because of propagation delays. To see an AWS CLI example of advertising an address range, scroll down to Example.
To stop advertising the BYOIP address range, use WithdrawByoipCidr (https://docs.aws.amazon.com/global-accelerator/latest/api/WithdrawByoipCidr.html).
For more information, see Bring Your Own IP Addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html) in the AWS Global Accelerator Developer Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation AdvertiseByoipCidr for usage and error information.
Returned Error Types:
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
InvalidArgumentException An argument that you specified is invalid.
AccessDeniedException You don't have access permission.
ByoipCidrNotFoundException The CIDR that you specified was not found or is incorrect.
IncorrectCidrStateException The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be incorrect for this action.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AdvertiseByoipCidr
func (*GlobalAccelerator) AdvertiseByoipCidrRequest ¶ added in v1.29.12
func (c *GlobalAccelerator) AdvertiseByoipCidrRequest(input *AdvertiseByoipCidrInput) (req *request.Request, output *AdvertiseByoipCidrOutput)
AdvertiseByoipCidrRequest generates a "aws/request.Request" representing the client's request for the AdvertiseByoipCidr operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AdvertiseByoipCidr for more information on using the AdvertiseByoipCidr API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AdvertiseByoipCidrRequest method. req, resp := client.AdvertiseByoipCidrRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AdvertiseByoipCidr
func (*GlobalAccelerator) AdvertiseByoipCidrWithContext ¶ added in v1.29.12
func (c *GlobalAccelerator) AdvertiseByoipCidrWithContext(ctx aws.Context, input *AdvertiseByoipCidrInput, opts ...request.Option) (*AdvertiseByoipCidrOutput, error)
AdvertiseByoipCidrWithContext is the same as AdvertiseByoipCidr with the addition of the ability to pass a context and additional request options.
See AdvertiseByoipCidr for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) CreateAccelerator ¶
func (c *GlobalAccelerator) CreateAccelerator(input *CreateAcceleratorInput) (*CreateAcceleratorOutput, error)
CreateAccelerator API operation for AWS Global Accelerator.
Create an accelerator. An accelerator includes one or more listeners that process inbound connections and direct traffic to one or more endpoint groups, each of which includes endpoints, such as Network Load Balancers. To see an AWS CLI example of creating an accelerator, scroll down to Example.
Global Accelerator is a global service that supports endpoints in multiple AWS Regions but you must specify the US West (Oregon) Region to create or update accelerators.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation CreateAccelerator for usage and error information.
Returned Error Types:
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
InvalidArgumentException An argument that you specified is invalid.
LimitExceededException Processing your request would cause you to exceed an AWS Global Accelerator limit.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateAccelerator
func (*GlobalAccelerator) CreateAcceleratorRequest ¶
func (c *GlobalAccelerator) CreateAcceleratorRequest(input *CreateAcceleratorInput) (req *request.Request, output *CreateAcceleratorOutput)
CreateAcceleratorRequest generates a "aws/request.Request" representing the client's request for the CreateAccelerator operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateAccelerator for more information on using the CreateAccelerator API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateAcceleratorRequest method. req, resp := client.CreateAcceleratorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateAccelerator
func (*GlobalAccelerator) CreateAcceleratorWithContext ¶
func (c *GlobalAccelerator) CreateAcceleratorWithContext(ctx aws.Context, input *CreateAcceleratorInput, opts ...request.Option) (*CreateAcceleratorOutput, error)
CreateAcceleratorWithContext is the same as CreateAccelerator with the addition of the ability to pass a context and additional request options.
See CreateAccelerator for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) CreateEndpointGroup ¶
func (c *GlobalAccelerator) CreateEndpointGroup(input *CreateEndpointGroupInput) (*CreateEndpointGroupOutput, error)
CreateEndpointGroup API operation for AWS Global Accelerator.
Create an endpoint group for the specified listener. An endpoint group is a collection of endpoints in one AWS Region. A resource must be valid and active when you add it as an endpoint.
To see an AWS CLI example of creating an endpoint group, scroll down to Example.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation CreateEndpointGroup for usage and error information.
Returned Error Types:
AcceleratorNotFoundException The accelerator that you specified doesn't exist.
EndpointGroupAlreadyExistsException The endpoint group that you specified already exists.
ListenerNotFoundException The listener that you specified doesn't exist.
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
InvalidArgumentException An argument that you specified is invalid.
LimitExceededException Processing your request would cause you to exceed an AWS Global Accelerator limit.
AccessDeniedException You don't have access permission.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateEndpointGroup
func (*GlobalAccelerator) CreateEndpointGroupRequest ¶
func (c *GlobalAccelerator) CreateEndpointGroupRequest(input *CreateEndpointGroupInput) (req *request.Request, output *CreateEndpointGroupOutput)
CreateEndpointGroupRequest generates a "aws/request.Request" representing the client's request for the CreateEndpointGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateEndpointGroup for more information on using the CreateEndpointGroup API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateEndpointGroupRequest method. req, resp := client.CreateEndpointGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateEndpointGroup
func (*GlobalAccelerator) CreateEndpointGroupWithContext ¶
func (c *GlobalAccelerator) CreateEndpointGroupWithContext(ctx aws.Context, input *CreateEndpointGroupInput, opts ...request.Option) (*CreateEndpointGroupOutput, error)
CreateEndpointGroupWithContext is the same as CreateEndpointGroup with the addition of the ability to pass a context and additional request options.
See CreateEndpointGroup for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) CreateListener ¶
func (c *GlobalAccelerator) CreateListener(input *CreateListenerInput) (*CreateListenerOutput, error)
CreateListener API operation for AWS Global Accelerator.
Create a listener to process inbound connections from clients to an accelerator. Connections arrive to assigned static IP addresses on a port, port range, or list of port ranges that you specify. To see an AWS CLI example of creating a listener, scroll down to Example.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation CreateListener for usage and error information.
Returned Error Types:
InvalidArgumentException An argument that you specified is invalid.
AcceleratorNotFoundException The accelerator that you specified doesn't exist.
InvalidPortRangeException The port numbers that you specified are not valid numbers or are not unique for this accelerator.
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
LimitExceededException Processing your request would cause you to exceed an AWS Global Accelerator limit.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateListener
func (*GlobalAccelerator) CreateListenerRequest ¶
func (c *GlobalAccelerator) CreateListenerRequest(input *CreateListenerInput) (req *request.Request, output *CreateListenerOutput)
CreateListenerRequest generates a "aws/request.Request" representing the client's request for the CreateListener operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateListener for more information on using the CreateListener API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateListenerRequest method. req, resp := client.CreateListenerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateListener
func (*GlobalAccelerator) CreateListenerWithContext ¶
func (c *GlobalAccelerator) CreateListenerWithContext(ctx aws.Context, input *CreateListenerInput, opts ...request.Option) (*CreateListenerOutput, error)
CreateListenerWithContext is the same as CreateListener with the addition of the ability to pass a context and additional request options.
See CreateListener for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) DeleteAccelerator ¶
func (c *GlobalAccelerator) DeleteAccelerator(input *DeleteAcceleratorInput) (*DeleteAcceleratorOutput, error)
DeleteAccelerator API operation for AWS Global Accelerator.
Delete an accelerator. Before you can delete an accelerator, you must disable it and remove all dependent resources (listeners and endpoint groups). To disable the accelerator, update the accelerator to set Enabled to false.
When you create an accelerator, by default, Global Accelerator provides you with a set of two static IP addresses. Alternatively, you can bring your own IP address ranges to Global Accelerator and assign IP addresses from those ranges.
The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them. As a best practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information, see Authentication and Access Control (https://docs.aws.amazon.com/global-accelerator/latest/dg/auth-and-access-control.html) in the AWS Global Accelerator Developer Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation DeleteAccelerator for usage and error information.
Returned Error Types:
AcceleratorNotFoundException The accelerator that you specified doesn't exist.
AcceleratorNotDisabledException The accelerator that you specified could not be disabled.
AssociatedListenerFoundException The accelerator that you specified has a listener associated with it. You must remove all dependent resources from an accelerator before you can delete it.
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
InvalidArgumentException An argument that you specified is invalid.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteAccelerator
func (*GlobalAccelerator) DeleteAcceleratorRequest ¶
func (c *GlobalAccelerator) DeleteAcceleratorRequest(input *DeleteAcceleratorInput) (req *request.Request, output *DeleteAcceleratorOutput)
DeleteAcceleratorRequest generates a "aws/request.Request" representing the client's request for the DeleteAccelerator operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteAccelerator for more information on using the DeleteAccelerator API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteAcceleratorRequest method. req, resp := client.DeleteAcceleratorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteAccelerator
func (*GlobalAccelerator) DeleteAcceleratorWithContext ¶
func (c *GlobalAccelerator) DeleteAcceleratorWithContext(ctx aws.Context, input *DeleteAcceleratorInput, opts ...request.Option) (*DeleteAcceleratorOutput, error)
DeleteAcceleratorWithContext is the same as DeleteAccelerator with the addition of the ability to pass a context and additional request options.
See DeleteAccelerator for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) DeleteEndpointGroup ¶
func (c *GlobalAccelerator) DeleteEndpointGroup(input *DeleteEndpointGroupInput) (*DeleteEndpointGroupOutput, error)
DeleteEndpointGroup API operation for AWS Global Accelerator.
Delete an endpoint group from a listener.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation DeleteEndpointGroup for usage and error information.
Returned Error Types:
InvalidArgumentException An argument that you specified is invalid.
EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteEndpointGroup
func (*GlobalAccelerator) DeleteEndpointGroupRequest ¶
func (c *GlobalAccelerator) DeleteEndpointGroupRequest(input *DeleteEndpointGroupInput) (req *request.Request, output *DeleteEndpointGroupOutput)
DeleteEndpointGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteEndpointGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteEndpointGroup for more information on using the DeleteEndpointGroup API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteEndpointGroupRequest method. req, resp := client.DeleteEndpointGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteEndpointGroup
func (*GlobalAccelerator) DeleteEndpointGroupWithContext ¶
func (c *GlobalAccelerator) DeleteEndpointGroupWithContext(ctx aws.Context, input *DeleteEndpointGroupInput, opts ...request.Option) (*DeleteEndpointGroupOutput, error)
DeleteEndpointGroupWithContext is the same as DeleteEndpointGroup with the addition of the ability to pass a context and additional request options.
See DeleteEndpointGroup for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) DeleteListener ¶
func (c *GlobalAccelerator) DeleteListener(input *DeleteListenerInput) (*DeleteListenerOutput, error)
DeleteListener API operation for AWS Global Accelerator.
Delete a listener from an accelerator.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation DeleteListener for usage and error information.
Returned Error Types:
InvalidArgumentException An argument that you specified is invalid.
ListenerNotFoundException The listener that you specified doesn't exist.
AssociatedEndpointGroupFoundException The listener that you specified has an endpoint group associated with it. You must remove all dependent resources from a listener before you can delete it.
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteListener
func (*GlobalAccelerator) DeleteListenerRequest ¶
func (c *GlobalAccelerator) DeleteListenerRequest(input *DeleteListenerInput) (req *request.Request, output *DeleteListenerOutput)
DeleteListenerRequest generates a "aws/request.Request" representing the client's request for the DeleteListener operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteListener for more information on using the DeleteListener API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteListenerRequest method. req, resp := client.DeleteListenerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteListener
func (*GlobalAccelerator) DeleteListenerWithContext ¶
func (c *GlobalAccelerator) DeleteListenerWithContext(ctx aws.Context, input *DeleteListenerInput, opts ...request.Option) (*DeleteListenerOutput, error)
DeleteListenerWithContext is the same as DeleteListener with the addition of the ability to pass a context and additional request options.
See DeleteListener for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) DeprovisionByoipCidr ¶ added in v1.29.12
func (c *GlobalAccelerator) DeprovisionByoipCidr(input *DeprovisionByoipCidrInput) (*DeprovisionByoipCidrOutput, error)
DeprovisionByoipCidr API operation for AWS Global Accelerator.
Releases the specified address range that you provisioned to use with your AWS resources through bring your own IP addresses (BYOIP) and deletes the corresponding address pool. To see an AWS CLI example of deprovisioning an address range, scroll down to Example.
Before you can release an address range, you must stop advertising it by using WithdrawByoipCidr (https://docs.aws.amazon.com/global-accelerator/latest/api/WithdrawByoipCidr.html) and you must not have any accelerators that are using static IP addresses allocated from its address range.
For more information, see Bring Your Own IP Addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html) in the AWS Global Accelerator Developer Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation DeprovisionByoipCidr for usage and error information.
Returned Error Types:
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
InvalidArgumentException An argument that you specified is invalid.
AccessDeniedException You don't have access permission.
ByoipCidrNotFoundException The CIDR that you specified was not found or is incorrect.
IncorrectCidrStateException The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be incorrect for this action.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeprovisionByoipCidr
func (*GlobalAccelerator) DeprovisionByoipCidrRequest ¶ added in v1.29.12
func (c *GlobalAccelerator) DeprovisionByoipCidrRequest(input *DeprovisionByoipCidrInput) (req *request.Request, output *DeprovisionByoipCidrOutput)
DeprovisionByoipCidrRequest generates a "aws/request.Request" representing the client's request for the DeprovisionByoipCidr operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeprovisionByoipCidr for more information on using the DeprovisionByoipCidr API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeprovisionByoipCidrRequest method. req, resp := client.DeprovisionByoipCidrRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeprovisionByoipCidr
func (*GlobalAccelerator) DeprovisionByoipCidrWithContext ¶ added in v1.29.12
func (c *GlobalAccelerator) DeprovisionByoipCidrWithContext(ctx aws.Context, input *DeprovisionByoipCidrInput, opts ...request.Option) (*DeprovisionByoipCidrOutput, error)
DeprovisionByoipCidrWithContext is the same as DeprovisionByoipCidr with the addition of the ability to pass a context and additional request options.
See DeprovisionByoipCidr for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) DescribeAccelerator ¶
func (c *GlobalAccelerator) DescribeAccelerator(input *DescribeAcceleratorInput) (*DescribeAcceleratorOutput, error)
DescribeAccelerator API operation for AWS Global Accelerator.
Describe an accelerator. To see an AWS CLI example of describing an accelerator, scroll down to Example.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation DescribeAccelerator for usage and error information.
Returned Error Types:
AcceleratorNotFoundException The accelerator that you specified doesn't exist.
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
InvalidArgumentException An argument that you specified is invalid.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeAccelerator
func (*GlobalAccelerator) DescribeAcceleratorAttributes ¶
func (c *GlobalAccelerator) DescribeAcceleratorAttributes(input *DescribeAcceleratorAttributesInput) (*DescribeAcceleratorAttributesOutput, error)
DescribeAcceleratorAttributes API operation for AWS Global Accelerator.
Describe the attributes of an accelerator. To see an AWS CLI example of describing the attributes of an accelerator, scroll down to Example.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation DescribeAcceleratorAttributes for usage and error information.
Returned Error Types:
AcceleratorNotFoundException The accelerator that you specified doesn't exist.
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
InvalidArgumentException An argument that you specified is invalid.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeAcceleratorAttributes
func (*GlobalAccelerator) DescribeAcceleratorAttributesRequest ¶
func (c *GlobalAccelerator) DescribeAcceleratorAttributesRequest(input *DescribeAcceleratorAttributesInput) (req *request.Request, output *DescribeAcceleratorAttributesOutput)
DescribeAcceleratorAttributesRequest generates a "aws/request.Request" representing the client's request for the DescribeAcceleratorAttributes operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeAcceleratorAttributes for more information on using the DescribeAcceleratorAttributes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeAcceleratorAttributesRequest method. req, resp := client.DescribeAcceleratorAttributesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeAcceleratorAttributes
func (*GlobalAccelerator) DescribeAcceleratorAttributesWithContext ¶
func (c *GlobalAccelerator) DescribeAcceleratorAttributesWithContext(ctx aws.Context, input *DescribeAcceleratorAttributesInput, opts ...request.Option) (*DescribeAcceleratorAttributesOutput, error)
DescribeAcceleratorAttributesWithContext is the same as DescribeAcceleratorAttributes with the addition of the ability to pass a context and additional request options.
See DescribeAcceleratorAttributes for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) DescribeAcceleratorRequest ¶
func (c *GlobalAccelerator) DescribeAcceleratorRequest(input *DescribeAcceleratorInput) (req *request.Request, output *DescribeAcceleratorOutput)
DescribeAcceleratorRequest generates a "aws/request.Request" representing the client's request for the DescribeAccelerator operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeAccelerator for more information on using the DescribeAccelerator API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeAcceleratorRequest method. req, resp := client.DescribeAcceleratorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeAccelerator
func (*GlobalAccelerator) DescribeAcceleratorWithContext ¶
func (c *GlobalAccelerator) DescribeAcceleratorWithContext(ctx aws.Context, input *DescribeAcceleratorInput, opts ...request.Option) (*DescribeAcceleratorOutput, error)
DescribeAcceleratorWithContext is the same as DescribeAccelerator with the addition of the ability to pass a context and additional request options.
See DescribeAccelerator for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) DescribeEndpointGroup ¶
func (c *GlobalAccelerator) DescribeEndpointGroup(input *DescribeEndpointGroupInput) (*DescribeEndpointGroupOutput, error)
DescribeEndpointGroup API operation for AWS Global Accelerator.
Describe an endpoint group. To see an AWS CLI example of describing an endpoint group, scroll down to Example.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation DescribeEndpointGroup for usage and error information.
Returned Error Types:
InvalidArgumentException An argument that you specified is invalid.
EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeEndpointGroup
func (*GlobalAccelerator) DescribeEndpointGroupRequest ¶
func (c *GlobalAccelerator) DescribeEndpointGroupRequest(input *DescribeEndpointGroupInput) (req *request.Request, output *DescribeEndpointGroupOutput)
DescribeEndpointGroupRequest generates a "aws/request.Request" representing the client's request for the DescribeEndpointGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeEndpointGroup for more information on using the DescribeEndpointGroup API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeEndpointGroupRequest method. req, resp := client.DescribeEndpointGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeEndpointGroup
func (*GlobalAccelerator) DescribeEndpointGroupWithContext ¶
func (c *GlobalAccelerator) DescribeEndpointGroupWithContext(ctx aws.Context, input *DescribeEndpointGroupInput, opts ...request.Option) (*DescribeEndpointGroupOutput, error)
DescribeEndpointGroupWithContext is the same as DescribeEndpointGroup with the addition of the ability to pass a context and additional request options.
See DescribeEndpointGroup for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) DescribeListener ¶
func (c *GlobalAccelerator) DescribeListener(input *DescribeListenerInput) (*DescribeListenerOutput, error)
DescribeListener API operation for AWS Global Accelerator.
Describe a listener. To see an AWS CLI example of describing a listener, scroll down to Example.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation DescribeListener for usage and error information.
Returned Error Types:
InvalidArgumentException An argument that you specified is invalid.
ListenerNotFoundException The listener that you specified doesn't exist.
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeListener
func (*GlobalAccelerator) DescribeListenerRequest ¶
func (c *GlobalAccelerator) DescribeListenerRequest(input *DescribeListenerInput) (req *request.Request, output *DescribeListenerOutput)
DescribeListenerRequest generates a "aws/request.Request" representing the client's request for the DescribeListener operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeListener for more information on using the DescribeListener API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeListenerRequest method. req, resp := client.DescribeListenerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeListener
func (*GlobalAccelerator) DescribeListenerWithContext ¶
func (c *GlobalAccelerator) DescribeListenerWithContext(ctx aws.Context, input *DescribeListenerInput, opts ...request.Option) (*DescribeListenerOutput, error)
DescribeListenerWithContext is the same as DescribeListener with the addition of the ability to pass a context and additional request options.
See DescribeListener for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) ListAccelerators ¶
func (c *GlobalAccelerator) ListAccelerators(input *ListAcceleratorsInput) (*ListAcceleratorsOutput, error)
ListAccelerators API operation for AWS Global Accelerator.
List the accelerators for an AWS account. To see an AWS CLI example of listing the accelerators for an AWS account, scroll down to Example.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation ListAccelerators for usage and error information.
Returned Error Types:
InvalidArgumentException An argument that you specified is invalid.
InvalidNextTokenException There isn't another item to return.
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListAccelerators
func (*GlobalAccelerator) ListAcceleratorsRequest ¶
func (c *GlobalAccelerator) ListAcceleratorsRequest(input *ListAcceleratorsInput) (req *request.Request, output *ListAcceleratorsOutput)
ListAcceleratorsRequest generates a "aws/request.Request" representing the client's request for the ListAccelerators operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListAccelerators for more information on using the ListAccelerators API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListAcceleratorsRequest method. req, resp := client.ListAcceleratorsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListAccelerators
func (*GlobalAccelerator) ListAcceleratorsWithContext ¶
func (c *GlobalAccelerator) ListAcceleratorsWithContext(ctx aws.Context, input *ListAcceleratorsInput, opts ...request.Option) (*ListAcceleratorsOutput, error)
ListAcceleratorsWithContext is the same as ListAccelerators with the addition of the ability to pass a context and additional request options.
See ListAccelerators for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) ListByoipCidrs ¶ added in v1.29.12
func (c *GlobalAccelerator) ListByoipCidrs(input *ListByoipCidrsInput) (*ListByoipCidrsOutput, error)
ListByoipCidrs API operation for AWS Global Accelerator.
Lists the IP address ranges that were specified in calls to ProvisionByoipCidr (https://docs.aws.amazon.com/global-accelerator/latest/api/ProvisionByoipCidr.html), including the current state and a history of state changes.
To see an AWS CLI example of listing BYOIP CIDR addresses, scroll down to Example.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation ListByoipCidrs for usage and error information.
Returned Error Types:
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
InvalidArgumentException An argument that you specified is invalid.
AccessDeniedException You don't have access permission.
InvalidNextTokenException There isn't another item to return.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListByoipCidrs
func (*GlobalAccelerator) ListByoipCidrsRequest ¶ added in v1.29.12
func (c *GlobalAccelerator) ListByoipCidrsRequest(input *ListByoipCidrsInput) (req *request.Request, output *ListByoipCidrsOutput)
ListByoipCidrsRequest generates a "aws/request.Request" representing the client's request for the ListByoipCidrs operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListByoipCidrs for more information on using the ListByoipCidrs API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListByoipCidrsRequest method. req, resp := client.ListByoipCidrsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListByoipCidrs
func (*GlobalAccelerator) ListByoipCidrsWithContext ¶ added in v1.29.12
func (c *GlobalAccelerator) ListByoipCidrsWithContext(ctx aws.Context, input *ListByoipCidrsInput, opts ...request.Option) (*ListByoipCidrsOutput, error)
ListByoipCidrsWithContext is the same as ListByoipCidrs with the addition of the ability to pass a context and additional request options.
See ListByoipCidrs for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) ListEndpointGroups ¶
func (c *GlobalAccelerator) ListEndpointGroups(input *ListEndpointGroupsInput) (*ListEndpointGroupsOutput, error)
ListEndpointGroups API operation for AWS Global Accelerator.
List the endpoint groups that are associated with a listener. To see an AWS CLI example of listing the endpoint groups for listener, scroll down to Example.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation ListEndpointGroups for usage and error information.
Returned Error Types:
ListenerNotFoundException The listener that you specified doesn't exist.
InvalidNextTokenException There isn't another item to return.
InvalidArgumentException An argument that you specified is invalid.
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListEndpointGroups
func (*GlobalAccelerator) ListEndpointGroupsRequest ¶
func (c *GlobalAccelerator) ListEndpointGroupsRequest(input *ListEndpointGroupsInput) (req *request.Request, output *ListEndpointGroupsOutput)
ListEndpointGroupsRequest generates a "aws/request.Request" representing the client's request for the ListEndpointGroups operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListEndpointGroups for more information on using the ListEndpointGroups API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListEndpointGroupsRequest method. req, resp := client.ListEndpointGroupsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListEndpointGroups
func (*GlobalAccelerator) ListEndpointGroupsWithContext ¶
func (c *GlobalAccelerator) ListEndpointGroupsWithContext(ctx aws.Context, input *ListEndpointGroupsInput, opts ...request.Option) (*ListEndpointGroupsOutput, error)
ListEndpointGroupsWithContext is the same as ListEndpointGroups with the addition of the ability to pass a context and additional request options.
See ListEndpointGroups for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) ListListeners ¶
func (c *GlobalAccelerator) ListListeners(input *ListListenersInput) (*ListListenersOutput, error)
ListListeners API operation for AWS Global Accelerator.
List the listeners for an accelerator. To see an AWS CLI example of listing the listeners for an accelerator, scroll down to Example.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation ListListeners for usage and error information.
Returned Error Types:
InvalidArgumentException An argument that you specified is invalid.
AcceleratorNotFoundException The accelerator that you specified doesn't exist.
InvalidNextTokenException There isn't another item to return.
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListListeners
func (*GlobalAccelerator) ListListenersRequest ¶
func (c *GlobalAccelerator) ListListenersRequest(input *ListListenersInput) (req *request.Request, output *ListListenersOutput)
ListListenersRequest generates a "aws/request.Request" representing the client's request for the ListListeners operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListListeners for more information on using the ListListeners API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListListenersRequest method. req, resp := client.ListListenersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListListeners
func (*GlobalAccelerator) ListListenersWithContext ¶
func (c *GlobalAccelerator) ListListenersWithContext(ctx aws.Context, input *ListListenersInput, opts ...request.Option) (*ListListenersOutput, error)
ListListenersWithContext is the same as ListListeners with the addition of the ability to pass a context and additional request options.
See ListListeners for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) ListTagsForResource ¶ added in v1.29.12
func (c *GlobalAccelerator) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for AWS Global Accelerator.
List all tags for an accelerator. To see an AWS CLI example of listing tags for an accelerator, scroll down to Example.
For more information, see Tagging in AWS Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html) in the AWS Global Accelerator Developer Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation ListTagsForResource for usage and error information.
Returned Error Types:
AcceleratorNotFoundException The accelerator that you specified doesn't exist.
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
InvalidArgumentException An argument that you specified is invalid.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListTagsForResource
func (*GlobalAccelerator) ListTagsForResourceRequest ¶ added in v1.29.12
func (c *GlobalAccelerator) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListTagsForResource
func (*GlobalAccelerator) ListTagsForResourceWithContext ¶ added in v1.29.12
func (c *GlobalAccelerator) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) ProvisionByoipCidr ¶ added in v1.29.12
func (c *GlobalAccelerator) ProvisionByoipCidr(input *ProvisionByoipCidrInput) (*ProvisionByoipCidrOutput, error)
ProvisionByoipCidr API operation for AWS Global Accelerator.
Provisions an IP address range to use with your AWS resources through bring your own IP addresses (BYOIP) and creates a corresponding address pool. After the address range is provisioned, it is ready to be advertised using AdvertiseByoipCidr (https://docs.aws.amazon.com/global-accelerator/latest/api/AdvertiseByoipCidr.html).
To see an AWS CLI example of provisioning an address range for BYOIP, scroll down to Example.
For more information, see Bring Your Own IP Addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html) in the AWS Global Accelerator Developer Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation ProvisionByoipCidr for usage and error information.
Returned Error Types:
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
InvalidArgumentException An argument that you specified is invalid.
LimitExceededException Processing your request would cause you to exceed an AWS Global Accelerator limit.
AccessDeniedException You don't have access permission.
IncorrectCidrStateException The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be incorrect for this action.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ProvisionByoipCidr
func (*GlobalAccelerator) ProvisionByoipCidrRequest ¶ added in v1.29.12
func (c *GlobalAccelerator) ProvisionByoipCidrRequest(input *ProvisionByoipCidrInput) (req *request.Request, output *ProvisionByoipCidrOutput)
ProvisionByoipCidrRequest generates a "aws/request.Request" representing the client's request for the ProvisionByoipCidr operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ProvisionByoipCidr for more information on using the ProvisionByoipCidr API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ProvisionByoipCidrRequest method. req, resp := client.ProvisionByoipCidrRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ProvisionByoipCidr
func (*GlobalAccelerator) ProvisionByoipCidrWithContext ¶ added in v1.29.12
func (c *GlobalAccelerator) ProvisionByoipCidrWithContext(ctx aws.Context, input *ProvisionByoipCidrInput, opts ...request.Option) (*ProvisionByoipCidrOutput, error)
ProvisionByoipCidrWithContext is the same as ProvisionByoipCidr with the addition of the ability to pass a context and additional request options.
See ProvisionByoipCidr for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) TagResource ¶ added in v1.29.12
func (c *GlobalAccelerator) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for AWS Global Accelerator.
Add tags to an accelerator resource. To see an AWS CLI example of adding tags to an accelerator, scroll down to Example.
For more information, see Tagging in AWS Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html) in the AWS Global Accelerator Developer Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation TagResource for usage and error information.
Returned Error Types:
AcceleratorNotFoundException The accelerator that you specified doesn't exist.
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
InvalidArgumentException An argument that you specified is invalid.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/TagResource
func (*GlobalAccelerator) TagResourceRequest ¶ added in v1.29.12
func (c *GlobalAccelerator) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/TagResource
func (*GlobalAccelerator) TagResourceWithContext ¶ added in v1.29.12
func (c *GlobalAccelerator) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) UntagResource ¶ added in v1.29.12
func (c *GlobalAccelerator) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for AWS Global Accelerator.
Remove tags from a Global Accelerator resource. When you specify a tag key, the action removes both that key and its associated value. To see an AWS CLI example of removing tags from an accelerator, scroll down to Example. The operation succeeds even if you attempt to remove tags from an accelerator that was already removed.
For more information, see Tagging in AWS Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html) in the AWS Global Accelerator Developer Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation UntagResource for usage and error information.
Returned Error Types:
AcceleratorNotFoundException The accelerator that you specified doesn't exist.
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
InvalidArgumentException An argument that you specified is invalid.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UntagResource
func (*GlobalAccelerator) UntagResourceRequest ¶ added in v1.29.12
func (c *GlobalAccelerator) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UntagResource
func (*GlobalAccelerator) UntagResourceWithContext ¶ added in v1.29.12
func (c *GlobalAccelerator) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) UpdateAccelerator ¶
func (c *GlobalAccelerator) UpdateAccelerator(input *UpdateAcceleratorInput) (*UpdateAcceleratorOutput, error)
UpdateAccelerator API operation for AWS Global Accelerator.
Update an accelerator. To see an AWS CLI example of updating an accelerator, scroll down to Example.
Global Accelerator is a global service that supports endpoints in multiple AWS Regions but you must specify the US West (Oregon) Region to create or update accelerators.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation UpdateAccelerator for usage and error information.
Returned Error Types:
AcceleratorNotFoundException The accelerator that you specified doesn't exist.
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
InvalidArgumentException An argument that you specified is invalid.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateAccelerator
func (*GlobalAccelerator) UpdateAcceleratorAttributes ¶
func (c *GlobalAccelerator) UpdateAcceleratorAttributes(input *UpdateAcceleratorAttributesInput) (*UpdateAcceleratorAttributesOutput, error)
UpdateAcceleratorAttributes API operation for AWS Global Accelerator.
Update the attributes for an accelerator. To see an AWS CLI example of updating an accelerator to enable flow logs, scroll down to Example.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation UpdateAcceleratorAttributes for usage and error information.
Returned Error Types:
AcceleratorNotFoundException The accelerator that you specified doesn't exist.
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
InvalidArgumentException An argument that you specified is invalid.
AccessDeniedException You don't have access permission.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateAcceleratorAttributes
func (*GlobalAccelerator) UpdateAcceleratorAttributesRequest ¶
func (c *GlobalAccelerator) UpdateAcceleratorAttributesRequest(input *UpdateAcceleratorAttributesInput) (req *request.Request, output *UpdateAcceleratorAttributesOutput)
UpdateAcceleratorAttributesRequest generates a "aws/request.Request" representing the client's request for the UpdateAcceleratorAttributes operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateAcceleratorAttributes for more information on using the UpdateAcceleratorAttributes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateAcceleratorAttributesRequest method. req, resp := client.UpdateAcceleratorAttributesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateAcceleratorAttributes
func (*GlobalAccelerator) UpdateAcceleratorAttributesWithContext ¶
func (c *GlobalAccelerator) UpdateAcceleratorAttributesWithContext(ctx aws.Context, input *UpdateAcceleratorAttributesInput, opts ...request.Option) (*UpdateAcceleratorAttributesOutput, error)
UpdateAcceleratorAttributesWithContext is the same as UpdateAcceleratorAttributes with the addition of the ability to pass a context and additional request options.
See UpdateAcceleratorAttributes for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) UpdateAcceleratorRequest ¶
func (c *GlobalAccelerator) UpdateAcceleratorRequest(input *UpdateAcceleratorInput) (req *request.Request, output *UpdateAcceleratorOutput)
UpdateAcceleratorRequest generates a "aws/request.Request" representing the client's request for the UpdateAccelerator operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateAccelerator for more information on using the UpdateAccelerator API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateAcceleratorRequest method. req, resp := client.UpdateAcceleratorRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateAccelerator
func (*GlobalAccelerator) UpdateAcceleratorWithContext ¶
func (c *GlobalAccelerator) UpdateAcceleratorWithContext(ctx aws.Context, input *UpdateAcceleratorInput, opts ...request.Option) (*UpdateAcceleratorOutput, error)
UpdateAcceleratorWithContext is the same as UpdateAccelerator with the addition of the ability to pass a context and additional request options.
See UpdateAccelerator for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) UpdateEndpointGroup ¶
func (c *GlobalAccelerator) UpdateEndpointGroup(input *UpdateEndpointGroupInput) (*UpdateEndpointGroupOutput, error)
UpdateEndpointGroup API operation for AWS Global Accelerator.
Update an endpoint group. A resource must be valid and active when you add it as an endpoint.
To see an AWS CLI example of updating an endpoint group, scroll down to Example.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation UpdateEndpointGroup for usage and error information.
Returned Error Types:
InvalidArgumentException An argument that you specified is invalid.
EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
LimitExceededException Processing your request would cause you to exceed an AWS Global Accelerator limit.
AccessDeniedException You don't have access permission.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateEndpointGroup
func (*GlobalAccelerator) UpdateEndpointGroupRequest ¶
func (c *GlobalAccelerator) UpdateEndpointGroupRequest(input *UpdateEndpointGroupInput) (req *request.Request, output *UpdateEndpointGroupOutput)
UpdateEndpointGroupRequest generates a "aws/request.Request" representing the client's request for the UpdateEndpointGroup operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateEndpointGroup for more information on using the UpdateEndpointGroup API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateEndpointGroupRequest method. req, resp := client.UpdateEndpointGroupRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateEndpointGroup
func (*GlobalAccelerator) UpdateEndpointGroupWithContext ¶
func (c *GlobalAccelerator) UpdateEndpointGroupWithContext(ctx aws.Context, input *UpdateEndpointGroupInput, opts ...request.Option) (*UpdateEndpointGroupOutput, error)
UpdateEndpointGroupWithContext is the same as UpdateEndpointGroup with the addition of the ability to pass a context and additional request options.
See UpdateEndpointGroup for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) UpdateListener ¶
func (c *GlobalAccelerator) UpdateListener(input *UpdateListenerInput) (*UpdateListenerOutput, error)
UpdateListener API operation for AWS Global Accelerator.
Update a listener. To see an AWS CLI example of updating listener, scroll down to Example.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation UpdateListener for usage and error information.
Returned Error Types:
InvalidArgumentException An argument that you specified is invalid.
InvalidPortRangeException The port numbers that you specified are not valid numbers or are not unique for this accelerator.
ListenerNotFoundException The listener that you specified doesn't exist.
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
LimitExceededException Processing your request would cause you to exceed an AWS Global Accelerator limit.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateListener
func (*GlobalAccelerator) UpdateListenerRequest ¶
func (c *GlobalAccelerator) UpdateListenerRequest(input *UpdateListenerInput) (req *request.Request, output *UpdateListenerOutput)
UpdateListenerRequest generates a "aws/request.Request" representing the client's request for the UpdateListener operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateListener for more information on using the UpdateListener API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateListenerRequest method. req, resp := client.UpdateListenerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateListener
func (*GlobalAccelerator) UpdateListenerWithContext ¶
func (c *GlobalAccelerator) UpdateListenerWithContext(ctx aws.Context, input *UpdateListenerInput, opts ...request.Option) (*UpdateListenerOutput, error)
UpdateListenerWithContext is the same as UpdateListener with the addition of the ability to pass a context and additional request options.
See UpdateListener for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*GlobalAccelerator) WithdrawByoipCidr ¶ added in v1.29.12
func (c *GlobalAccelerator) WithdrawByoipCidr(input *WithdrawByoipCidrInput) (*WithdrawByoipCidrOutput, error)
WithdrawByoipCidr API operation for AWS Global Accelerator.
Stops advertising an address range that is provisioned as an address pool. You can perform this operation at most once every 10 seconds, even if you specify different address ranges each time. To see an AWS CLI example of withdrawing an address range for BYOIP so it will no longer be advertised by AWS, scroll down to Example.
It can take a few minutes before traffic to the specified addresses stops routing to AWS because of propagation delays.
For more information, see Bring Your Own IP Addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html) in the AWS Global Accelerator Developer Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Global Accelerator's API operation WithdrawByoipCidr for usage and error information.
Returned Error Types:
InternalServiceErrorException There was an internal error for AWS Global Accelerator.
InvalidArgumentException An argument that you specified is invalid.
AccessDeniedException You don't have access permission.
ByoipCidrNotFoundException The CIDR that you specified was not found or is incorrect.
IncorrectCidrStateException The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be incorrect for this action.
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/WithdrawByoipCidr
func (*GlobalAccelerator) WithdrawByoipCidrRequest ¶ added in v1.29.12
func (c *GlobalAccelerator) WithdrawByoipCidrRequest(input *WithdrawByoipCidrInput) (req *request.Request, output *WithdrawByoipCidrOutput)
WithdrawByoipCidrRequest generates a "aws/request.Request" representing the client's request for the WithdrawByoipCidr operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See WithdrawByoipCidr for more information on using the WithdrawByoipCidr API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the WithdrawByoipCidrRequest method. req, resp := client.WithdrawByoipCidrRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/WithdrawByoipCidr
func (*GlobalAccelerator) WithdrawByoipCidrWithContext ¶ added in v1.29.12
func (c *GlobalAccelerator) WithdrawByoipCidrWithContext(ctx aws.Context, input *WithdrawByoipCidrInput, opts ...request.Option) (*WithdrawByoipCidrOutput, error)
WithdrawByoipCidrWithContext is the same as WithdrawByoipCidr with the addition of the ability to pass a context and additional request options.
See WithdrawByoipCidr for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type IncorrectCidrStateException ¶ added in v1.29.12
type IncorrectCidrStateException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be incorrect for this action.
func (*IncorrectCidrStateException) Code ¶ added in v1.29.12
func (s *IncorrectCidrStateException) Code() string
Code returns the exception type name.
func (*IncorrectCidrStateException) Error ¶ added in v1.29.12
func (s *IncorrectCidrStateException) Error() string
func (IncorrectCidrStateException) GoString ¶ added in v1.29.12
func (s IncorrectCidrStateException) GoString() string
GoString returns the string representation
func (*IncorrectCidrStateException) Message ¶ added in v1.29.12
func (s *IncorrectCidrStateException) Message() string
Message returns the exception's message.
func (*IncorrectCidrStateException) OrigErr ¶ added in v1.29.12
func (s *IncorrectCidrStateException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*IncorrectCidrStateException) RequestID ¶ added in v1.29.12
func (s *IncorrectCidrStateException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*IncorrectCidrStateException) StatusCode ¶ added in v1.29.12
func (s *IncorrectCidrStateException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (IncorrectCidrStateException) String ¶ added in v1.29.12
func (s IncorrectCidrStateException) String() string
String returns the string representation
type InternalServiceErrorException ¶ added in v1.28.0
type InternalServiceErrorException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
There was an internal error for AWS Global Accelerator.
func (*InternalServiceErrorException) Code ¶ added in v1.28.0
func (s *InternalServiceErrorException) Code() string
Code returns the exception type name.
func (*InternalServiceErrorException) Error ¶ added in v1.28.0
func (s *InternalServiceErrorException) Error() string
func (InternalServiceErrorException) GoString ¶ added in v1.28.0
func (s InternalServiceErrorException) GoString() string
GoString returns the string representation
func (*InternalServiceErrorException) Message ¶ added in v1.28.0
func (s *InternalServiceErrorException) Message() string
Message returns the exception's message.
func (*InternalServiceErrorException) OrigErr ¶ added in v1.28.0
func (s *InternalServiceErrorException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InternalServiceErrorException) RequestID ¶ added in v1.28.0
func (s *InternalServiceErrorException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InternalServiceErrorException) StatusCode ¶ added in v1.28.0
func (s *InternalServiceErrorException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InternalServiceErrorException) String ¶ added in v1.28.0
func (s InternalServiceErrorException) String() string
String returns the string representation
type InvalidArgumentException ¶ added in v1.28.0
type InvalidArgumentException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
An argument that you specified is invalid.
func (*InvalidArgumentException) Code ¶ added in v1.28.0
func (s *InvalidArgumentException) Code() string
Code returns the exception type name.
func (*InvalidArgumentException) Error ¶ added in v1.28.0
func (s *InvalidArgumentException) Error() string
func (InvalidArgumentException) GoString ¶ added in v1.28.0
func (s InvalidArgumentException) GoString() string
GoString returns the string representation
func (*InvalidArgumentException) Message ¶ added in v1.28.0
func (s *InvalidArgumentException) Message() string
Message returns the exception's message.
func (*InvalidArgumentException) OrigErr ¶ added in v1.28.0
func (s *InvalidArgumentException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidArgumentException) RequestID ¶ added in v1.28.0
func (s *InvalidArgumentException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidArgumentException) StatusCode ¶ added in v1.28.0
func (s *InvalidArgumentException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidArgumentException) String ¶ added in v1.28.0
func (s InvalidArgumentException) String() string
String returns the string representation
type InvalidNextTokenException ¶ added in v1.28.0
type InvalidNextTokenException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
There isn't another item to return.
func (*InvalidNextTokenException) Code ¶ added in v1.28.0
func (s *InvalidNextTokenException) Code() string
Code returns the exception type name.
func (*InvalidNextTokenException) Error ¶ added in v1.28.0
func (s *InvalidNextTokenException) Error() string
func (InvalidNextTokenException) GoString ¶ added in v1.28.0
func (s InvalidNextTokenException) GoString() string
GoString returns the string representation
func (*InvalidNextTokenException) Message ¶ added in v1.28.0
func (s *InvalidNextTokenException) Message() string
Message returns the exception's message.
func (*InvalidNextTokenException) OrigErr ¶ added in v1.28.0
func (s *InvalidNextTokenException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidNextTokenException) RequestID ¶ added in v1.28.0
func (s *InvalidNextTokenException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidNextTokenException) StatusCode ¶ added in v1.28.0
func (s *InvalidNextTokenException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidNextTokenException) String ¶ added in v1.28.0
func (s InvalidNextTokenException) String() string
String returns the string representation
type InvalidPortRangeException ¶ added in v1.28.0
type InvalidPortRangeException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The port numbers that you specified are not valid numbers or are not unique for this accelerator.
func (*InvalidPortRangeException) Code ¶ added in v1.28.0
func (s *InvalidPortRangeException) Code() string
Code returns the exception type name.
func (*InvalidPortRangeException) Error ¶ added in v1.28.0
func (s *InvalidPortRangeException) Error() string
func (InvalidPortRangeException) GoString ¶ added in v1.28.0
func (s InvalidPortRangeException) GoString() string
GoString returns the string representation
func (*InvalidPortRangeException) Message ¶ added in v1.28.0
func (s *InvalidPortRangeException) Message() string
Message returns the exception's message.
func (*InvalidPortRangeException) OrigErr ¶ added in v1.28.0
func (s *InvalidPortRangeException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidPortRangeException) RequestID ¶ added in v1.28.0
func (s *InvalidPortRangeException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidPortRangeException) StatusCode ¶ added in v1.28.0
func (s *InvalidPortRangeException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidPortRangeException) String ¶ added in v1.28.0
func (s InvalidPortRangeException) String() string
String returns the string representation
type IpSet ¶
type IpSet struct { // The array of IP addresses in the IP address set. An IP address set can have // a maximum of two IP addresses. IpAddresses []*string `type:"list"` // The types of IP addresses included in this IP set. IpFamily *string `type:"string"` // contains filtered or unexported fields }
A complex type for the set of IP addresses for an accelerator.
func (*IpSet) SetIpAddresses ¶
SetIpAddresses sets the IpAddresses field's value.
func (*IpSet) SetIpFamily ¶
SetIpFamily sets the IpFamily field's value.
type LimitExceededException ¶ added in v1.28.0
type LimitExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
Processing your request would cause you to exceed an AWS Global Accelerator limit.
func (*LimitExceededException) Code ¶ added in v1.28.0
func (s *LimitExceededException) Code() string
Code returns the exception type name.
func (*LimitExceededException) Error ¶ added in v1.28.0
func (s *LimitExceededException) Error() string
func (LimitExceededException) GoString ¶ added in v1.28.0
func (s LimitExceededException) GoString() string
GoString returns the string representation
func (*LimitExceededException) Message ¶ added in v1.28.0
func (s *LimitExceededException) Message() string
Message returns the exception's message.
func (*LimitExceededException) OrigErr ¶ added in v1.28.0
func (s *LimitExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*LimitExceededException) RequestID ¶ added in v1.28.0
func (s *LimitExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*LimitExceededException) StatusCode ¶ added in v1.28.0
func (s *LimitExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (LimitExceededException) String ¶ added in v1.28.0
func (s LimitExceededException) String() string
String returns the string representation
type ListAcceleratorsInput ¶
type ListAcceleratorsInput struct { // The number of Global Accelerator objects that you want to return with this // call. The default value is 10. MaxResults *int64 `min:"1" type:"integer"` // The token for the next set of results. You receive this token from a previous // call. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListAcceleratorsInput) GoString ¶
func (s ListAcceleratorsInput) GoString() string
GoString returns the string representation
func (*ListAcceleratorsInput) SetMaxResults ¶
func (s *ListAcceleratorsInput) SetMaxResults(v int64) *ListAcceleratorsInput
SetMaxResults sets the MaxResults field's value.
func (*ListAcceleratorsInput) SetNextToken ¶
func (s *ListAcceleratorsInput) SetNextToken(v string) *ListAcceleratorsInput
SetNextToken sets the NextToken field's value.
func (ListAcceleratorsInput) String ¶
func (s ListAcceleratorsInput) String() string
String returns the string representation
func (*ListAcceleratorsInput) Validate ¶
func (s *ListAcceleratorsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAcceleratorsOutput ¶
type ListAcceleratorsOutput struct { // The list of accelerators for a customer account. Accelerators []*Accelerator `type:"list"` // The token for the next set of results. You receive this token from a previous // call. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListAcceleratorsOutput) GoString ¶
func (s ListAcceleratorsOutput) GoString() string
GoString returns the string representation
func (*ListAcceleratorsOutput) SetAccelerators ¶
func (s *ListAcceleratorsOutput) SetAccelerators(v []*Accelerator) *ListAcceleratorsOutput
SetAccelerators sets the Accelerators field's value.
func (*ListAcceleratorsOutput) SetNextToken ¶
func (s *ListAcceleratorsOutput) SetNextToken(v string) *ListAcceleratorsOutput
SetNextToken sets the NextToken field's value.
func (ListAcceleratorsOutput) String ¶
func (s ListAcceleratorsOutput) String() string
String returns the string representation
type ListByoipCidrsInput ¶ added in v1.29.12
type ListByoipCidrsInput struct { // The maximum number of results to return with a single call. To retrieve the // remaining results, make another call with the returned nextToken value. MaxResults *int64 `min:"1" type:"integer"` // The token for the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListByoipCidrsInput) GoString ¶ added in v1.29.12
func (s ListByoipCidrsInput) GoString() string
GoString returns the string representation
func (*ListByoipCidrsInput) SetMaxResults ¶ added in v1.29.12
func (s *ListByoipCidrsInput) SetMaxResults(v int64) *ListByoipCidrsInput
SetMaxResults sets the MaxResults field's value.
func (*ListByoipCidrsInput) SetNextToken ¶ added in v1.29.12
func (s *ListByoipCidrsInput) SetNextToken(v string) *ListByoipCidrsInput
SetNextToken sets the NextToken field's value.
func (ListByoipCidrsInput) String ¶ added in v1.29.12
func (s ListByoipCidrsInput) String() string
String returns the string representation
func (*ListByoipCidrsInput) Validate ¶ added in v1.29.12
func (s *ListByoipCidrsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListByoipCidrsOutput ¶ added in v1.29.12
type ListByoipCidrsOutput struct { // Information about your address ranges. ByoipCidrs []*ByoipCidr `type:"list"` // The token for the next page of results. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListByoipCidrsOutput) GoString ¶ added in v1.29.12
func (s ListByoipCidrsOutput) GoString() string
GoString returns the string representation
func (*ListByoipCidrsOutput) SetByoipCidrs ¶ added in v1.29.12
func (s *ListByoipCidrsOutput) SetByoipCidrs(v []*ByoipCidr) *ListByoipCidrsOutput
SetByoipCidrs sets the ByoipCidrs field's value.
func (*ListByoipCidrsOutput) SetNextToken ¶ added in v1.29.12
func (s *ListByoipCidrsOutput) SetNextToken(v string) *ListByoipCidrsOutput
SetNextToken sets the NextToken field's value.
func (ListByoipCidrsOutput) String ¶ added in v1.29.12
func (s ListByoipCidrsOutput) String() string
String returns the string representation
type ListEndpointGroupsInput ¶
type ListEndpointGroupsInput struct { // The Amazon Resource Name (ARN) of the listener. // // ListenerArn is a required field ListenerArn *string `type:"string" required:"true"` // The number of endpoint group objects that you want to return with this call. // The default value is 10. MaxResults *int64 `min:"1" type:"integer"` // The token for the next set of results. You receive this token from a previous // call. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListEndpointGroupsInput) GoString ¶
func (s ListEndpointGroupsInput) GoString() string
GoString returns the string representation
func (*ListEndpointGroupsInput) SetListenerArn ¶
func (s *ListEndpointGroupsInput) SetListenerArn(v string) *ListEndpointGroupsInput
SetListenerArn sets the ListenerArn field's value.
func (*ListEndpointGroupsInput) SetMaxResults ¶
func (s *ListEndpointGroupsInput) SetMaxResults(v int64) *ListEndpointGroupsInput
SetMaxResults sets the MaxResults field's value.
func (*ListEndpointGroupsInput) SetNextToken ¶
func (s *ListEndpointGroupsInput) SetNextToken(v string) *ListEndpointGroupsInput
SetNextToken sets the NextToken field's value.
func (ListEndpointGroupsInput) String ¶
func (s ListEndpointGroupsInput) String() string
String returns the string representation
func (*ListEndpointGroupsInput) Validate ¶
func (s *ListEndpointGroupsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListEndpointGroupsOutput ¶
type ListEndpointGroupsOutput struct { // The list of the endpoint groups associated with a listener. EndpointGroups []*EndpointGroup `type:"list"` // The token for the next set of results. You receive this token from a previous // call. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListEndpointGroupsOutput) GoString ¶
func (s ListEndpointGroupsOutput) GoString() string
GoString returns the string representation
func (*ListEndpointGroupsOutput) SetEndpointGroups ¶
func (s *ListEndpointGroupsOutput) SetEndpointGroups(v []*EndpointGroup) *ListEndpointGroupsOutput
SetEndpointGroups sets the EndpointGroups field's value.
func (*ListEndpointGroupsOutput) SetNextToken ¶
func (s *ListEndpointGroupsOutput) SetNextToken(v string) *ListEndpointGroupsOutput
SetNextToken sets the NextToken field's value.
func (ListEndpointGroupsOutput) String ¶
func (s ListEndpointGroupsOutput) String() string
String returns the string representation
type ListListenersInput ¶
type ListListenersInput struct { // The Amazon Resource Name (ARN) of the accelerator for which you want to list // listener objects. // // AcceleratorArn is a required field AcceleratorArn *string `type:"string" required:"true"` // The number of listener objects that you want to return with this call. The // default value is 10. MaxResults *int64 `min:"1" type:"integer"` // The token for the next set of results. You receive this token from a previous // call. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListListenersInput) GoString ¶
func (s ListListenersInput) GoString() string
GoString returns the string representation
func (*ListListenersInput) SetAcceleratorArn ¶
func (s *ListListenersInput) SetAcceleratorArn(v string) *ListListenersInput
SetAcceleratorArn sets the AcceleratorArn field's value.
func (*ListListenersInput) SetMaxResults ¶
func (s *ListListenersInput) SetMaxResults(v int64) *ListListenersInput
SetMaxResults sets the MaxResults field's value.
func (*ListListenersInput) SetNextToken ¶
func (s *ListListenersInput) SetNextToken(v string) *ListListenersInput
SetNextToken sets the NextToken field's value.
func (ListListenersInput) String ¶
func (s ListListenersInput) String() string
String returns the string representation
func (*ListListenersInput) Validate ¶
func (s *ListListenersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListListenersOutput ¶
type ListListenersOutput struct { // The list of listeners for an accelerator. Listeners []*Listener `type:"list"` // The token for the next set of results. You receive this token from a previous // call. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (ListListenersOutput) GoString ¶
func (s ListListenersOutput) GoString() string
GoString returns the string representation
func (*ListListenersOutput) SetListeners ¶
func (s *ListListenersOutput) SetListeners(v []*Listener) *ListListenersOutput
SetListeners sets the Listeners field's value.
func (*ListListenersOutput) SetNextToken ¶
func (s *ListListenersOutput) SetNextToken(v string) *ListListenersOutput
SetNextToken sets the NextToken field's value.
func (ListListenersOutput) String ¶
func (s ListListenersOutput) String() string
String returns the string representation
type ListTagsForResourceInput ¶ added in v1.29.12
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the accelerator to list tags for. An ARN // uniquely identifies an accelerator. // // ResourceArn is a required field ResourceArn *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) GoString ¶ added in v1.29.12
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation
func (*ListTagsForResourceInput) SetResourceArn ¶ added in v1.29.12
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (ListTagsForResourceInput) String ¶ added in v1.29.12
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (*ListTagsForResourceInput) Validate ¶ added in v1.29.12
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶ added in v1.29.12
type ListTagsForResourceOutput struct { // Root level tag for the Tags parameters. Tags []*Tag `type:"list"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) GoString ¶ added in v1.29.12
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation
func (*ListTagsForResourceOutput) SetTags ¶ added in v1.29.12
func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (ListTagsForResourceOutput) String ¶ added in v1.29.12
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type Listener ¶
type Listener struct { // Client affinity lets you direct all requests from a user to the same endpoint, // if you have stateful applications, regardless of the port and protocol of // the client request. Client affinity gives you control over whether to always // route each client to the same specific endpoint. // // AWS Global Accelerator uses a consistent-flow hashing algorithm to choose // the optimal endpoint for a connection. If client affinity is NONE, Global // Accelerator uses the "five-tuple" (5-tuple) properties—source IP address, // source port, destination IP address, destination port, and protocol—to // select the hash value, and then chooses the best endpoint. However, with // this setting, if someone uses different ports to connect to Global Accelerator, // their connections might not be always routed to the same endpoint because // the hash value changes. // // If you want a given client to always be routed to the same endpoint, set // client affinity to SOURCE_IP instead. When you use the SOURCE_IP setting, // Global Accelerator uses the "two-tuple" (2-tuple) properties— source (client) // IP address and destination IP address—to select the hash value. // // The default value is NONE. ClientAffinity *string `type:"string" enum:"ClientAffinity"` // The Amazon Resource Name (ARN) of the listener. ListenerArn *string `type:"string"` // The list of port ranges for the connections from clients to the accelerator. PortRanges []*PortRange `min:"1" type:"list"` // The protocol for the connections from clients to the accelerator. Protocol *string `type:"string" enum:"Protocol"` // contains filtered or unexported fields }
A complex type for a listener.
func (*Listener) SetClientAffinity ¶
SetClientAffinity sets the ClientAffinity field's value.
func (*Listener) SetListenerArn ¶
SetListenerArn sets the ListenerArn field's value.
func (*Listener) SetPortRanges ¶
SetPortRanges sets the PortRanges field's value.
func (*Listener) SetProtocol ¶
SetProtocol sets the Protocol field's value.
type ListenerNotFoundException ¶ added in v1.28.0
type ListenerNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The listener that you specified doesn't exist.
func (*ListenerNotFoundException) Code ¶ added in v1.28.0
func (s *ListenerNotFoundException) Code() string
Code returns the exception type name.
func (*ListenerNotFoundException) Error ¶ added in v1.28.0
func (s *ListenerNotFoundException) Error() string
func (ListenerNotFoundException) GoString ¶ added in v1.28.0
func (s ListenerNotFoundException) GoString() string
GoString returns the string representation
func (*ListenerNotFoundException) Message ¶ added in v1.28.0
func (s *ListenerNotFoundException) Message() string
Message returns the exception's message.
func (*ListenerNotFoundException) OrigErr ¶ added in v1.28.0
func (s *ListenerNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ListenerNotFoundException) RequestID ¶ added in v1.28.0
func (s *ListenerNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ListenerNotFoundException) StatusCode ¶ added in v1.28.0
func (s *ListenerNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ListenerNotFoundException) String ¶ added in v1.28.0
func (s ListenerNotFoundException) String() string
String returns the string representation
type PortOverride ¶ added in v1.35.12
type PortOverride struct { // The endpoint port that you want a listener port to be mapped to. This is // the port on the endpoint, such as the Application Load Balancer or Amazon // EC2 instance. EndpointPort *int64 `min:"1" type:"integer"` // The listener port that you want to map to a specific endpoint port. This // is the port that user traffic arrives to the Global Accelerator on. ListenerPort *int64 `min:"1" type:"integer"` // contains filtered or unexported fields }
Override specific listener ports used to route traffic to endpoints that are part of an endpoint group. For example, you can create a port override in which the listener receives user traffic on ports 80 and 443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.
For more information, see Port overrides (https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html) in the AWS Global Accelerator Developer Guide.
func (PortOverride) GoString ¶ added in v1.35.12
func (s PortOverride) GoString() string
GoString returns the string representation
func (*PortOverride) SetEndpointPort ¶ added in v1.35.12
func (s *PortOverride) SetEndpointPort(v int64) *PortOverride
SetEndpointPort sets the EndpointPort field's value.
func (*PortOverride) SetListenerPort ¶ added in v1.35.12
func (s *PortOverride) SetListenerPort(v int64) *PortOverride
SetListenerPort sets the ListenerPort field's value.
func (PortOverride) String ¶ added in v1.35.12
func (s PortOverride) String() string
String returns the string representation
func (*PortOverride) Validate ¶ added in v1.35.12
func (s *PortOverride) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PortRange ¶
type PortRange struct { // The first port in the range of ports, inclusive. FromPort *int64 `min:"1" type:"integer"` // The last port in the range of ports, inclusive. ToPort *int64 `min:"1" type:"integer"` // contains filtered or unexported fields }
A complex type for a range of ports for a listener.
func (*PortRange) SetFromPort ¶
SetFromPort sets the FromPort field's value.
type ProvisionByoipCidrInput ¶ added in v1.29.12
type ProvisionByoipCidrInput struct { // The public IPv4 address range, in CIDR notation. The most specific IP prefix // that you can specify is /24. The address range cannot overlap with another // address range that you've brought to this or another Region. // // Cidr is a required field Cidr *string `type:"string" required:"true"` // A signed document that proves that you are authorized to bring the specified // IP address range to Amazon using BYOIP. // // CidrAuthorizationContext is a required field CidrAuthorizationContext *CidrAuthorizationContext `type:"structure" required:"true"` // contains filtered or unexported fields }
func (ProvisionByoipCidrInput) GoString ¶ added in v1.29.12
func (s ProvisionByoipCidrInput) GoString() string
GoString returns the string representation
func (*ProvisionByoipCidrInput) SetCidr ¶ added in v1.29.12
func (s *ProvisionByoipCidrInput) SetCidr(v string) *ProvisionByoipCidrInput
SetCidr sets the Cidr field's value.
func (*ProvisionByoipCidrInput) SetCidrAuthorizationContext ¶ added in v1.29.12
func (s *ProvisionByoipCidrInput) SetCidrAuthorizationContext(v *CidrAuthorizationContext) *ProvisionByoipCidrInput
SetCidrAuthorizationContext sets the CidrAuthorizationContext field's value.
func (ProvisionByoipCidrInput) String ¶ added in v1.29.12
func (s ProvisionByoipCidrInput) String() string
String returns the string representation
func (*ProvisionByoipCidrInput) Validate ¶ added in v1.29.12
func (s *ProvisionByoipCidrInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ProvisionByoipCidrOutput ¶ added in v1.29.12
type ProvisionByoipCidrOutput struct { // Information about the address range. ByoipCidr *ByoipCidr `type:"structure"` // contains filtered or unexported fields }
func (ProvisionByoipCidrOutput) GoString ¶ added in v1.29.12
func (s ProvisionByoipCidrOutput) GoString() string
GoString returns the string representation
func (*ProvisionByoipCidrOutput) SetByoipCidr ¶ added in v1.29.12
func (s *ProvisionByoipCidrOutput) SetByoipCidr(v *ByoipCidr) *ProvisionByoipCidrOutput
SetByoipCidr sets the ByoipCidr field's value.
func (ProvisionByoipCidrOutput) String ¶ added in v1.29.12
func (s ProvisionByoipCidrOutput) String() string
String returns the string representation
type Tag ¶ added in v1.29.12
type Tag struct { // A string that contains a Tag key. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // A string that contains a Tag value. // // Value is a required field Value *string `type:"string" required:"true"` // contains filtered or unexported fields }
A complex type that contains a Tag key and Tag value.
type TagResourceInput ¶ added in v1.29.12
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the Global Accelerator resource to add // tags to. An ARN uniquely identifies a resource. // // ResourceArn is a required field ResourceArn *string `min:"1" type:"string" required:"true"` // The tags to add to a resource. A tag consists of a key and a value that you // define. // // Tags is a required field Tags []*Tag `type:"list" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) GoString ¶ added in v1.29.12
func (s TagResourceInput) GoString() string
GoString returns the string representation
func (*TagResourceInput) SetResourceArn ¶ added in v1.29.12
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*TagResourceInput) SetTags ¶ added in v1.29.12
func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput
SetTags sets the Tags field's value.
func (TagResourceInput) String ¶ added in v1.29.12
func (s TagResourceInput) String() string
String returns the string representation
func (*TagResourceInput) Validate ¶ added in v1.29.12
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶ added in v1.29.12
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) GoString ¶ added in v1.29.12
func (s TagResourceOutput) GoString() string
GoString returns the string representation
func (TagResourceOutput) String ¶ added in v1.29.12
func (s TagResourceOutput) String() string
String returns the string representation
type UntagResourceInput ¶ added in v1.29.12
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the Global Accelerator resource to remove // tags from. An ARN uniquely identifies a resource. // // ResourceArn is a required field ResourceArn *string `min:"1" type:"string" required:"true"` // The tag key pairs that you want to remove from the specified resources. // // TagKeys is a required field TagKeys []*string `type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) GoString ¶ added in v1.29.12
func (s UntagResourceInput) GoString() string
GoString returns the string representation
func (*UntagResourceInput) SetResourceArn ¶ added in v1.29.12
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*UntagResourceInput) SetTagKeys ¶ added in v1.29.12
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (UntagResourceInput) String ¶ added in v1.29.12
func (s UntagResourceInput) String() string
String returns the string representation
func (*UntagResourceInput) Validate ¶ added in v1.29.12
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶ added in v1.29.12
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) GoString ¶ added in v1.29.12
func (s UntagResourceOutput) GoString() string
GoString returns the string representation
func (UntagResourceOutput) String ¶ added in v1.29.12
func (s UntagResourceOutput) String() string
String returns the string representation
type UpdateAcceleratorAttributesInput ¶
type UpdateAcceleratorAttributesInput struct { // The Amazon Resource Name (ARN) of the accelerator that you want to update. // // AcceleratorArn is a required field AcceleratorArn *string `type:"string" required:"true"` // Update whether flow logs are enabled. The default value is false. If the // value is true, FlowLogsS3Bucket and FlowLogsS3Prefix must be specified. // // For more information, see Flow Logs (https://docs.aws.amazon.com/global-accelerator/latest/dg/monitoring-global-accelerator.flow-logs.html) // in the AWS Global Accelerator Developer Guide. FlowLogsEnabled *bool `type:"boolean"` // The name of the Amazon S3 bucket for the flow logs. Attribute is required // if FlowLogsEnabled is true. The bucket must exist and have a bucket policy // that grants AWS Global Accelerator permission to write to the bucket. FlowLogsS3Bucket *string `type:"string"` // Update the prefix for the location in the Amazon S3 bucket for the flow logs. // Attribute is required if FlowLogsEnabled is true. // // If you don’t specify a prefix, the flow logs are stored in the root of // the bucket. If you specify slash (/) for the S3 bucket prefix, the log file // bucket folder structure will include a double slash (//), like the following: // // s3-bucket_name//AWSLogs/aws_account_id FlowLogsS3Prefix *string `type:"string"` // contains filtered or unexported fields }
func (UpdateAcceleratorAttributesInput) GoString ¶
func (s UpdateAcceleratorAttributesInput) GoString() string
GoString returns the string representation
func (*UpdateAcceleratorAttributesInput) SetAcceleratorArn ¶
func (s *UpdateAcceleratorAttributesInput) SetAcceleratorArn(v string) *UpdateAcceleratorAttributesInput
SetAcceleratorArn sets the AcceleratorArn field's value.
func (*UpdateAcceleratorAttributesInput) SetFlowLogsEnabled ¶
func (s *UpdateAcceleratorAttributesInput) SetFlowLogsEnabled(v bool) *UpdateAcceleratorAttributesInput
SetFlowLogsEnabled sets the FlowLogsEnabled field's value.
func (*UpdateAcceleratorAttributesInput) SetFlowLogsS3Bucket ¶
func (s *UpdateAcceleratorAttributesInput) SetFlowLogsS3Bucket(v string) *UpdateAcceleratorAttributesInput
SetFlowLogsS3Bucket sets the FlowLogsS3Bucket field's value.
func (*UpdateAcceleratorAttributesInput) SetFlowLogsS3Prefix ¶
func (s *UpdateAcceleratorAttributesInput) SetFlowLogsS3Prefix(v string) *UpdateAcceleratorAttributesInput
SetFlowLogsS3Prefix sets the FlowLogsS3Prefix field's value.
func (UpdateAcceleratorAttributesInput) String ¶
func (s UpdateAcceleratorAttributesInput) String() string
String returns the string representation
func (*UpdateAcceleratorAttributesInput) Validate ¶ added in v1.23.11
func (s *UpdateAcceleratorAttributesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateAcceleratorAttributesOutput ¶
type UpdateAcceleratorAttributesOutput struct { // Updated attributes for the accelerator. AcceleratorAttributes *AcceleratorAttributes `type:"structure"` // contains filtered or unexported fields }
func (UpdateAcceleratorAttributesOutput) GoString ¶
func (s UpdateAcceleratorAttributesOutput) GoString() string
GoString returns the string representation
func (*UpdateAcceleratorAttributesOutput) SetAcceleratorAttributes ¶
func (s *UpdateAcceleratorAttributesOutput) SetAcceleratorAttributes(v *AcceleratorAttributes) *UpdateAcceleratorAttributesOutput
SetAcceleratorAttributes sets the AcceleratorAttributes field's value.
func (UpdateAcceleratorAttributesOutput) String ¶
func (s UpdateAcceleratorAttributesOutput) String() string
String returns the string representation
type UpdateAcceleratorInput ¶
type UpdateAcceleratorInput struct { // The Amazon Resource Name (ARN) of the accelerator to update. // // AcceleratorArn is a required field AcceleratorArn *string `type:"string" required:"true"` // Indicates whether an accelerator is enabled. The value is true or false. // The default value is true. // // If the value is set to true, the accelerator cannot be deleted. If set to // false, the accelerator can be deleted. Enabled *bool `type:"boolean"` // The value for the address type must be IPv4. IpAddressType *string `type:"string" enum:"IpAddressType"` // The name of the accelerator. The name can have a maximum of 32 characters, // must contain only alphanumeric characters or hyphens (-), and must not begin // or end with a hyphen. Name *string `type:"string"` // contains filtered or unexported fields }
func (UpdateAcceleratorInput) GoString ¶
func (s UpdateAcceleratorInput) GoString() string
GoString returns the string representation
func (*UpdateAcceleratorInput) SetAcceleratorArn ¶
func (s *UpdateAcceleratorInput) SetAcceleratorArn(v string) *UpdateAcceleratorInput
SetAcceleratorArn sets the AcceleratorArn field's value.
func (*UpdateAcceleratorInput) SetEnabled ¶
func (s *UpdateAcceleratorInput) SetEnabled(v bool) *UpdateAcceleratorInput
SetEnabled sets the Enabled field's value.
func (*UpdateAcceleratorInput) SetIpAddressType ¶
func (s *UpdateAcceleratorInput) SetIpAddressType(v string) *UpdateAcceleratorInput
SetIpAddressType sets the IpAddressType field's value.
func (*UpdateAcceleratorInput) SetName ¶
func (s *UpdateAcceleratorInput) SetName(v string) *UpdateAcceleratorInput
SetName sets the Name field's value.
func (UpdateAcceleratorInput) String ¶
func (s UpdateAcceleratorInput) String() string
String returns the string representation
func (*UpdateAcceleratorInput) Validate ¶
func (s *UpdateAcceleratorInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateAcceleratorOutput ¶
type UpdateAcceleratorOutput struct { // Information about the updated accelerator. Accelerator *Accelerator `type:"structure"` // contains filtered or unexported fields }
func (UpdateAcceleratorOutput) GoString ¶
func (s UpdateAcceleratorOutput) GoString() string
GoString returns the string representation
func (*UpdateAcceleratorOutput) SetAccelerator ¶
func (s *UpdateAcceleratorOutput) SetAccelerator(v *Accelerator) *UpdateAcceleratorOutput
SetAccelerator sets the Accelerator field's value.
func (UpdateAcceleratorOutput) String ¶
func (s UpdateAcceleratorOutput) String() string
String returns the string representation
type UpdateEndpointGroupInput ¶
type UpdateEndpointGroupInput struct { // The list of endpoint objects. A resource must be valid and active when you // add it as an endpoint. EndpointConfigurations []*EndpointConfiguration `type:"list"` // The Amazon Resource Name (ARN) of the endpoint group. // // EndpointGroupArn is a required field EndpointGroupArn *string `type:"string" required:"true"` // The time—10 seconds or 30 seconds—between each health check for an endpoint. // The default value is 30. HealthCheckIntervalSeconds *int64 `min:"10" type:"integer"` // If the protocol is HTTP/S, then this specifies the path that is the destination // for health check targets. The default value is slash (/). HealthCheckPath *string `type:"string"` // The port that AWS Global Accelerator uses to check the health of endpoints // that are part of this endpoint group. The default port is the listener port // that this endpoint group is associated with. If the listener port is a list // of ports, Global Accelerator uses the first port in the list. HealthCheckPort *int64 `min:"1" type:"integer"` // The protocol that AWS Global Accelerator uses to check the health of endpoints // that are part of this endpoint group. The default value is TCP. HealthCheckProtocol *string `type:"string" enum:"HealthCheckProtocol"` // Override specific listener ports used to route traffic to endpoints that // are part of this endpoint group. For example, you can create a port override // in which the listener receives user traffic on ports 80 and 443, but your // accelerator routes that traffic to ports 1080 and 1443, respectively, on // the endpoints. // // For more information, see Port overrides (https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html) // in the AWS Global Accelerator Developer Guide. PortOverrides []*PortOverride `type:"list"` // The number of consecutive health checks required to set the state of a healthy // endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default // value is 3. ThresholdCount *int64 `min:"1" type:"integer"` // The percentage of traffic to send to an AWS Region. Additional traffic is // distributed to other endpoint groups for this listener. // // Use this action to increase (dial up) or decrease (dial down) traffic to // a specific Region. The percentage is applied to the traffic that would otherwise // have been routed to the Region based on optimal routing. // // The default value is 100. TrafficDialPercentage *float64 `type:"float"` // contains filtered or unexported fields }
func (UpdateEndpointGroupInput) GoString ¶
func (s UpdateEndpointGroupInput) GoString() string
GoString returns the string representation
func (*UpdateEndpointGroupInput) SetEndpointConfigurations ¶
func (s *UpdateEndpointGroupInput) SetEndpointConfigurations(v []*EndpointConfiguration) *UpdateEndpointGroupInput
SetEndpointConfigurations sets the EndpointConfigurations field's value.
func (*UpdateEndpointGroupInput) SetEndpointGroupArn ¶
func (s *UpdateEndpointGroupInput) SetEndpointGroupArn(v string) *UpdateEndpointGroupInput
SetEndpointGroupArn sets the EndpointGroupArn field's value.
func (*UpdateEndpointGroupInput) SetHealthCheckIntervalSeconds ¶
func (s *UpdateEndpointGroupInput) SetHealthCheckIntervalSeconds(v int64) *UpdateEndpointGroupInput
SetHealthCheckIntervalSeconds sets the HealthCheckIntervalSeconds field's value.
func (*UpdateEndpointGroupInput) SetHealthCheckPath ¶
func (s *UpdateEndpointGroupInput) SetHealthCheckPath(v string) *UpdateEndpointGroupInput
SetHealthCheckPath sets the HealthCheckPath field's value.
func (*UpdateEndpointGroupInput) SetHealthCheckPort ¶
func (s *UpdateEndpointGroupInput) SetHealthCheckPort(v int64) *UpdateEndpointGroupInput
SetHealthCheckPort sets the HealthCheckPort field's value.
func (*UpdateEndpointGroupInput) SetHealthCheckProtocol ¶
func (s *UpdateEndpointGroupInput) SetHealthCheckProtocol(v string) *UpdateEndpointGroupInput
SetHealthCheckProtocol sets the HealthCheckProtocol field's value.
func (*UpdateEndpointGroupInput) SetPortOverrides ¶ added in v1.35.12
func (s *UpdateEndpointGroupInput) SetPortOverrides(v []*PortOverride) *UpdateEndpointGroupInput
SetPortOverrides sets the PortOverrides field's value.
func (*UpdateEndpointGroupInput) SetThresholdCount ¶
func (s *UpdateEndpointGroupInput) SetThresholdCount(v int64) *UpdateEndpointGroupInput
SetThresholdCount sets the ThresholdCount field's value.
func (*UpdateEndpointGroupInput) SetTrafficDialPercentage ¶
func (s *UpdateEndpointGroupInput) SetTrafficDialPercentage(v float64) *UpdateEndpointGroupInput
SetTrafficDialPercentage sets the TrafficDialPercentage field's value.
func (UpdateEndpointGroupInput) String ¶
func (s UpdateEndpointGroupInput) String() string
String returns the string representation
func (*UpdateEndpointGroupInput) Validate ¶
func (s *UpdateEndpointGroupInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateEndpointGroupOutput ¶
type UpdateEndpointGroupOutput struct { // The information about the endpoint group that was updated. EndpointGroup *EndpointGroup `type:"structure"` // contains filtered or unexported fields }
func (UpdateEndpointGroupOutput) GoString ¶
func (s UpdateEndpointGroupOutput) GoString() string
GoString returns the string representation
func (*UpdateEndpointGroupOutput) SetEndpointGroup ¶
func (s *UpdateEndpointGroupOutput) SetEndpointGroup(v *EndpointGroup) *UpdateEndpointGroupOutput
SetEndpointGroup sets the EndpointGroup field's value.
func (UpdateEndpointGroupOutput) String ¶
func (s UpdateEndpointGroupOutput) String() string
String returns the string representation
type UpdateListenerInput ¶
type UpdateListenerInput struct { // Client affinity lets you direct all requests from a user to the same endpoint, // if you have stateful applications, regardless of the port and protocol of // the client request. Client affinity gives you control over whether to always // route each client to the same specific endpoint. // // AWS Global Accelerator uses a consistent-flow hashing algorithm to choose // the optimal endpoint for a connection. If client affinity is NONE, Global // Accelerator uses the "five-tuple" (5-tuple) properties—source IP address, // source port, destination IP address, destination port, and protocol—to // select the hash value, and then chooses the best endpoint. However, with // this setting, if someone uses different ports to connect to Global Accelerator, // their connections might not be always routed to the same endpoint because // the hash value changes. // // If you want a given client to always be routed to the same endpoint, set // client affinity to SOURCE_IP instead. When you use the SOURCE_IP setting, // Global Accelerator uses the "two-tuple" (2-tuple) properties— source (client) // IP address and destination IP address—to select the hash value. // // The default value is NONE. ClientAffinity *string `type:"string" enum:"ClientAffinity"` // The Amazon Resource Name (ARN) of the listener to update. // // ListenerArn is a required field ListenerArn *string `type:"string" required:"true"` // The updated list of port ranges for the connections from clients to the accelerator. PortRanges []*PortRange `min:"1" type:"list"` // The updated protocol for the connections from clients to the accelerator. Protocol *string `type:"string" enum:"Protocol"` // contains filtered or unexported fields }
func (UpdateListenerInput) GoString ¶
func (s UpdateListenerInput) GoString() string
GoString returns the string representation
func (*UpdateListenerInput) SetClientAffinity ¶
func (s *UpdateListenerInput) SetClientAffinity(v string) *UpdateListenerInput
SetClientAffinity sets the ClientAffinity field's value.
func (*UpdateListenerInput) SetListenerArn ¶
func (s *UpdateListenerInput) SetListenerArn(v string) *UpdateListenerInput
SetListenerArn sets the ListenerArn field's value.
func (*UpdateListenerInput) SetPortRanges ¶
func (s *UpdateListenerInput) SetPortRanges(v []*PortRange) *UpdateListenerInput
SetPortRanges sets the PortRanges field's value.
func (*UpdateListenerInput) SetProtocol ¶
func (s *UpdateListenerInput) SetProtocol(v string) *UpdateListenerInput
SetProtocol sets the Protocol field's value.
func (UpdateListenerInput) String ¶
func (s UpdateListenerInput) String() string
String returns the string representation
func (*UpdateListenerInput) Validate ¶
func (s *UpdateListenerInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateListenerOutput ¶
type UpdateListenerOutput struct { // Information for the updated listener. Listener *Listener `type:"structure"` // contains filtered or unexported fields }
func (UpdateListenerOutput) GoString ¶
func (s UpdateListenerOutput) GoString() string
GoString returns the string representation
func (*UpdateListenerOutput) SetListener ¶
func (s *UpdateListenerOutput) SetListener(v *Listener) *UpdateListenerOutput
SetListener sets the Listener field's value.
func (UpdateListenerOutput) String ¶
func (s UpdateListenerOutput) String() string
String returns the string representation
type WithdrawByoipCidrInput ¶ added in v1.29.12
type WithdrawByoipCidrInput struct { // The address range, in CIDR notation. // // Cidr is a required field Cidr *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (WithdrawByoipCidrInput) GoString ¶ added in v1.29.12
func (s WithdrawByoipCidrInput) GoString() string
GoString returns the string representation
func (*WithdrawByoipCidrInput) SetCidr ¶ added in v1.29.12
func (s *WithdrawByoipCidrInput) SetCidr(v string) *WithdrawByoipCidrInput
SetCidr sets the Cidr field's value.
func (WithdrawByoipCidrInput) String ¶ added in v1.29.12
func (s WithdrawByoipCidrInput) String() string
String returns the string representation
func (*WithdrawByoipCidrInput) Validate ¶ added in v1.29.12
func (s *WithdrawByoipCidrInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type WithdrawByoipCidrOutput ¶ added in v1.29.12
type WithdrawByoipCidrOutput struct { // Information about the address pool. ByoipCidr *ByoipCidr `type:"structure"` // contains filtered or unexported fields }
func (WithdrawByoipCidrOutput) GoString ¶ added in v1.29.12
func (s WithdrawByoipCidrOutput) GoString() string
GoString returns the string representation
func (*WithdrawByoipCidrOutput) SetByoipCidr ¶ added in v1.29.12
func (s *WithdrawByoipCidrOutput) SetByoipCidr(v *ByoipCidr) *WithdrawByoipCidrOutput
SetByoipCidr sets the ByoipCidr field's value.
func (WithdrawByoipCidrOutput) String ¶ added in v1.29.12
func (s WithdrawByoipCidrOutput) String() string
String returns the string representation
Directories ¶
Path | Synopsis |
---|---|
Package globalacceleratoriface provides an interface to enable mocking the AWS Global Accelerator service client for testing your code.
|
Package globalacceleratoriface provides an interface to enable mocking the AWS Global Accelerator service client for testing your code. |