...
AWS SDK for Go API Reference
import "github.com/aws/aws-sdk-go/service/globalaccelerator"
Overview
Constants

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.

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

The stub package, globalacceleratoriface, can be used to provide alternative implementations of service clients, such as mocking the client for testing.

Types ▾

type GlobalAccelerator
func New(p client.ConfigProvider, cfgs ...*aws.Config) *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, opts ...request.Option) (*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, opts ...request.Option) (*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 Accelerator
type AcceleratorAttributes
type AcceleratorNotDisabledException
type AcceleratorNotFoundException
type AccessDeniedException
type AdvertiseByoipCidrInput
type AdvertiseByoipCidrOutput
type AssociatedEndpointGroupFoundException
type AssociatedListenerFoundException
type ByoipCidr
type ByoipCidrEvent
type ByoipCidrNotFoundException
type CidrAuthorizationContext
type CreateAcceleratorInput
type CreateAcceleratorOutput
type CreateEndpointGroupInput
type CreateEndpointGroupOutput
type CreateListenerInput
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
type EndpointDescription
type EndpointGroup
type EndpointGroupAlreadyExistsException
type EndpointGroupNotFoundException
type IncorrectCidrStateException
type InternalServiceErrorException
type InvalidArgumentException
type InvalidNextTokenException
type InvalidPortRangeException
type IpSet
type LimitExceededException
type ListAcceleratorsInput
type ListAcceleratorsOutput
type ListByoipCidrsInput
type ListByoipCidrsOutput
type ListEndpointGroupsInput
type ListEndpointGroupsOutput
type ListListenersInput
type ListListenersOutput
type ListTagsForResourceInput
type ListTagsForResourceOutput
type Listener
type ListenerNotFoundException
type PortRange
type ProvisionByoipCidrInput
type ProvisionByoipCidrOutput
type Tag
type TagResourceInput
type TagResourceOutput
type UntagResourceInput
type UntagResourceOutput
type UpdateAcceleratorAttributesInput
type UpdateAcceleratorAttributesOutput
type UpdateAcceleratorInput
type UpdateAcceleratorOutput
type UpdateEndpointGroupInput
type UpdateEndpointGroupOutput
type UpdateListenerInput
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"
)

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

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

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

func (s *AcceleratorNotDisabledException) Code() string

Code returns the exception type name.

func (*AcceleratorNotDisabledException) Error

func (s *AcceleratorNotDisabledException) Error() string

func (AcceleratorNotDisabledException) GoString

func (s AcceleratorNotDisabledException) GoString() string

GoString returns the string representation

func (*AcceleratorNotDisabledException) Message

func (s *AcceleratorNotDisabledException) Message() string

Message returns the exception's message.

func (*AcceleratorNotDisabledException) OrigErr

func (s *AcceleratorNotDisabledException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AcceleratorNotDisabledException) RequestID

func (s *AcceleratorNotDisabledException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AcceleratorNotDisabledException) StatusCode

func (s *AcceleratorNotDisabledException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AcceleratorNotDisabledException) String

func (s AcceleratorNotDisabledException) String() string

String returns the string representation

type AcceleratorNotFoundException

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

func (s *AcceleratorNotFoundException) Code() string

Code returns the exception type name.

func (*AcceleratorNotFoundException) Error

func (s *AcceleratorNotFoundException) Error() string

func (AcceleratorNotFoundException) GoString

func (s AcceleratorNotFoundException) GoString() string

GoString returns the string representation

func (*AcceleratorNotFoundException) Message

func (s *AcceleratorNotFoundException) Message() string

Message returns the exception's message.

func (*AcceleratorNotFoundException) OrigErr

func (s *AcceleratorNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AcceleratorNotFoundException) RequestID

func (s *AcceleratorNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AcceleratorNotFoundException) StatusCode

func (s *AcceleratorNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AcceleratorNotFoundException) String

func (s AcceleratorNotFoundException) String() string

String returns the string representation

type AccessDeniedException

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

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation

type AdvertiseByoipCidrInput

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

func (s AdvertiseByoipCidrInput) GoString() string

GoString returns the string representation

func (*AdvertiseByoipCidrInput) SetCidr

func (s *AdvertiseByoipCidrInput) SetCidr(v string) *AdvertiseByoipCidrInput

SetCidr sets the Cidr field's value.

func (AdvertiseByoipCidrInput) String

func (s AdvertiseByoipCidrInput) String() string

String returns the string representation

func (*AdvertiseByoipCidrInput) Validate

func (s *AdvertiseByoipCidrInput) Validate() error

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

type AdvertiseByoipCidrOutput

type AdvertiseByoipCidrOutput struct {

    // Information about the address range.
    ByoipCidr *ByoipCidr `type:"structure"`
    // contains filtered or unexported fields
}

func (AdvertiseByoipCidrOutput) GoString

func (s AdvertiseByoipCidrOutput) GoString() string

GoString returns the string representation

func (*AdvertiseByoipCidrOutput) SetByoipCidr

func (s *AdvertiseByoipCidrOutput) SetByoipCidr(v *ByoipCidr) *AdvertiseByoipCidrOutput

SetByoipCidr sets the ByoipCidr field's value.

func (AdvertiseByoipCidrOutput) String

func (s AdvertiseByoipCidrOutput) String() string

String returns the string representation

type AssociatedEndpointGroupFoundException

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

func (s *AssociatedEndpointGroupFoundException) Code() string

Code returns the exception type name.

func (*AssociatedEndpointGroupFoundException) Error

func (s *AssociatedEndpointGroupFoundException) Error() string

func (AssociatedEndpointGroupFoundException) GoString

func (s AssociatedEndpointGroupFoundException) GoString() string

GoString returns the string representation

func (*AssociatedEndpointGroupFoundException) Message

func (s *AssociatedEndpointGroupFoundException) Message() string

Message returns the exception's message.

func (*AssociatedEndpointGroupFoundException) OrigErr

func (s *AssociatedEndpointGroupFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AssociatedEndpointGroupFoundException) RequestID

func (s *AssociatedEndpointGroupFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AssociatedEndpointGroupFoundException) StatusCode

func (s *AssociatedEndpointGroupFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AssociatedEndpointGroupFoundException) String

func (s AssociatedEndpointGroupFoundException) String() string

String returns the string representation

type AssociatedListenerFoundException

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

func (s *AssociatedListenerFoundException) Code() string

Code returns the exception type name.

func (*AssociatedListenerFoundException) Error

func (s *AssociatedListenerFoundException) Error() string

func (AssociatedListenerFoundException) GoString

func (s AssociatedListenerFoundException) GoString() string

GoString returns the string representation

func (*AssociatedListenerFoundException) Message

func (s *AssociatedListenerFoundException) Message() string

Message returns the exception's message.

func (*AssociatedListenerFoundException) OrigErr

func (s *AssociatedListenerFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AssociatedListenerFoundException) RequestID

func (s *AssociatedListenerFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AssociatedListenerFoundException) StatusCode

func (s *AssociatedListenerFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AssociatedListenerFoundException) String

func (s AssociatedListenerFoundException) String() string

String returns the string representation

type ByoipCidr

type ByoipCidr struct {

    // The address range, in CIDR notation.
    Cidr *string `type:"string"`

    // A history of status changes for an IP address range that 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) GoString

func (s ByoipCidr) GoString() string

GoString returns the string representation

func (*ByoipCidr) SetCidr

func (s *ByoipCidr) SetCidr(v string) *ByoipCidr

SetCidr sets the Cidr field's value.

func (*ByoipCidr) SetEvents

func (s *ByoipCidr) SetEvents(v []*ByoipCidrEvent) *ByoipCidr

SetEvents sets the Events field's value.

func (*ByoipCidr) SetState

func (s *ByoipCidr) SetState(v string) *ByoipCidr

SetState sets the State field's value.

func (ByoipCidr) String

func (s ByoipCidr) String() string

String returns the string representation

type ByoipCidrEvent

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

func (s ByoipCidrEvent) GoString() string

GoString returns the string representation

func (*ByoipCidrEvent) SetMessage

func (s *ByoipCidrEvent) SetMessage(v string) *ByoipCidrEvent

SetMessage sets the Message field's value.

func (*ByoipCidrEvent) SetTimestamp

func (s *ByoipCidrEvent) SetTimestamp(v time.Time) *ByoipCidrEvent

SetTimestamp sets the Timestamp field's value.

func (ByoipCidrEvent) String

func (s ByoipCidrEvent) String() string

String returns the string representation

type ByoipCidrNotFoundException

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

func (s *ByoipCidrNotFoundException) Code() string

Code returns the exception type name.

func (*ByoipCidrNotFoundException) Error

func (s *ByoipCidrNotFoundException) Error() string

func (ByoipCidrNotFoundException) GoString

func (s ByoipCidrNotFoundException) GoString() string

GoString returns the string representation

func (*ByoipCidrNotFoundException) Message

func (s *ByoipCidrNotFoundException) Message() string

Message returns the exception's message.

func (*ByoipCidrNotFoundException) OrigErr

func (s *ByoipCidrNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ByoipCidrNotFoundException) RequestID

func (s *ByoipCidrNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ByoipCidrNotFoundException) StatusCode

func (s *ByoipCidrNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ByoipCidrNotFoundException) String

func (s ByoipCidrNotFoundException) String() string

String returns the string representation

type CidrAuthorizationContext

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

func (s CidrAuthorizationContext) GoString() string

GoString returns the string representation

func (*CidrAuthorizationContext) SetMessage

func (s *CidrAuthorizationContext) SetMessage(v string) *CidrAuthorizationContext

SetMessage sets the Message field's value.

func (*CidrAuthorizationContext) SetSignature

func (s *CidrAuthorizationContext) SetSignature(v string) *CidrAuthorizationContext

SetSignature sets the Signature field's value.

func (CidrAuthorizationContext) String

func (s CidrAuthorizationContext) String() string

String returns the string representation

func (*CidrAuthorizationContext) Validate

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,
    // you can choose IP addresses from your own pool to use for the accelerator's
    // static IP addresses. You can specify one or two addresses, separated by a
    // comma. Do not include the /32 suffix.
    //
    // 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.
    //
    // 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

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

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 name of 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"`

    // 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) 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. Clienty 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

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

func (s DeprovisionByoipCidrInput) GoString() string

GoString returns the string representation

func (*DeprovisionByoipCidrInput) SetCidr

func (s *DeprovisionByoipCidrInput) SetCidr(v string) *DeprovisionByoipCidrInput

SetCidr sets the Cidr field's value.

func (DeprovisionByoipCidrInput) String

func (s DeprovisionByoipCidrInput) String() string

String returns the string representation

func (*DeprovisionByoipCidrInput) Validate

func (s *DeprovisionByoipCidrInput) Validate() error

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

type DeprovisionByoipCidrOutput

type DeprovisionByoipCidrOutput struct {

    // Information about the address range.
    ByoipCidr *ByoipCidr `type:"structure"`
    // contains filtered or unexported fields
}

func (DeprovisionByoipCidrOutput) GoString

func (s DeprovisionByoipCidrOutput) GoString() string

GoString returns the string representation

func (*DeprovisionByoipCidrOutput) SetByoipCidr

func (s *DeprovisionByoipCidrOutput) SetByoipCidr(v *ByoipCidr) *DeprovisionByoipCidrOutput

SetByoipCidr sets the ByoipCidr field's value.

func (DeprovisionByoipCidrOutput) String

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

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 EC2 instances, this is the EC2 instance ID.
    //
    // 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.

func (EndpointConfiguration) GoString

func (s EndpointConfiguration) GoString() string

GoString returns the string representation

func (*EndpointConfiguration) SetClientIPPreservationEnabled

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

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 that this endpoint group belongs.
    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"`

    // 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) 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

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

func (s *EndpointGroupAlreadyExistsException) Code() string

Code returns the exception type name.

func (*EndpointGroupAlreadyExistsException) Error

func (s *EndpointGroupAlreadyExistsException) Error() string

func (EndpointGroupAlreadyExistsException) GoString

func (s EndpointGroupAlreadyExistsException) GoString() string

GoString returns the string representation

func (*EndpointGroupAlreadyExistsException) Message

func (s *EndpointGroupAlreadyExistsException) Message() string

Message returns the exception's message.

func (*EndpointGroupAlreadyExistsException) OrigErr

func (s *EndpointGroupAlreadyExistsException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EndpointGroupAlreadyExistsException) RequestID

func (s *EndpointGroupAlreadyExistsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*EndpointGroupAlreadyExistsException) StatusCode

func (s *EndpointGroupAlreadyExistsException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (EndpointGroupAlreadyExistsException) String

func (s EndpointGroupAlreadyExistsException) String() string

String returns the string representation

type EndpointGroupNotFoundException

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

func (s *EndpointGroupNotFoundException) Code() string

Code returns the exception type name.

func (*EndpointGroupNotFoundException) Error

func (s *EndpointGroupNotFoundException) Error() string

func (EndpointGroupNotFoundException) GoString

func (s EndpointGroupNotFoundException) GoString() string

GoString returns the string representation

func (*EndpointGroupNotFoundException) Message

func (s *EndpointGroupNotFoundException) Message() string

Message returns the exception's message.

func (*EndpointGroupNotFoundException) OrigErr

func (s *EndpointGroupNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EndpointGroupNotFoundException) RequestID

func (s *EndpointGroupNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*EndpointGroupNotFoundException) StatusCode

func (s *EndpointGroupNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (EndpointGroupNotFoundException) String

func (s EndpointGroupNotFoundException) String() string

String returns the string representation

type GlobalAccelerator

type GlobalAccelerator struct {
    *client.Client
}

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

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

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

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.

If you bring your own IP address ranges to AWS Global Accelerator (BYOIP), you can assign IP addresses from your own pool to your accelerator as the static IP address entry points. Only one IP address from each of your IP address ranges can be used for each accelerator.

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. 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

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. 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

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

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

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

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

func (s *IncorrectCidrStateException) Code() string

Code returns the exception type name.

func (*IncorrectCidrStateException) Error

func (s *IncorrectCidrStateException) Error() string

func (IncorrectCidrStateException) GoString

func (s IncorrectCidrStateException) GoString() string

GoString returns the string representation

func (*IncorrectCidrStateException) Message

func (s *IncorrectCidrStateException) Message() string

Message returns the exception's message.

func (*IncorrectCidrStateException) OrigErr

func (s *IncorrectCidrStateException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*IncorrectCidrStateException) RequestID

func (s *IncorrectCidrStateException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*IncorrectCidrStateException) StatusCode

func (s *IncorrectCidrStateException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (IncorrectCidrStateException) String

func (s IncorrectCidrStateException) String() string

String returns the string representation

type InternalServiceErrorException

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

func (s *InternalServiceErrorException) Code() string

Code returns the exception type name.

func (*InternalServiceErrorException) Error

func (s *InternalServiceErrorException) Error() string

func (InternalServiceErrorException) GoString

func (s InternalServiceErrorException) GoString() string

GoString returns the string representation

func (*InternalServiceErrorException) Message

func (s *InternalServiceErrorException) Message() string

Message returns the exception's message.

func (*InternalServiceErrorException) OrigErr

func (s *InternalServiceErrorException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServiceErrorException) RequestID

func (s *InternalServiceErrorException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServiceErrorException) StatusCode

func (s *InternalServiceErrorException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServiceErrorException) String

func (s InternalServiceErrorException) String() string

String returns the string representation

type InvalidArgumentException

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

func (s *InvalidArgumentException) Code() string

Code returns the exception type name.

func (*InvalidArgumentException) Error

func (s *InvalidArgumentException) Error() string

func (InvalidArgumentException) GoString

func (s InvalidArgumentException) GoString() string

GoString returns the string representation

func (*InvalidArgumentException) Message

func (s *InvalidArgumentException) Message() string

Message returns the exception's message.

func (*InvalidArgumentException) OrigErr

func (s *InvalidArgumentException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidArgumentException) RequestID

func (s *InvalidArgumentException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidArgumentException) StatusCode

func (s *InvalidArgumentException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidArgumentException) String

func (s InvalidArgumentException) String() string

String returns the string representation

type InvalidNextTokenException

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

func (s *InvalidNextTokenException) Code() string

Code returns the exception type name.

func (*InvalidNextTokenException) Error

func (s *InvalidNextTokenException) Error() string

func (InvalidNextTokenException) GoString

func (s InvalidNextTokenException) GoString() string

GoString returns the string representation

func (*InvalidNextTokenException) Message

func (s *InvalidNextTokenException) Message() string

Message returns the exception's message.

func (*InvalidNextTokenException) OrigErr

func (s *InvalidNextTokenException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidNextTokenException) RequestID

func (s *InvalidNextTokenException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidNextTokenException) StatusCode

func (s *InvalidNextTokenException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidNextTokenException) String

func (s InvalidNextTokenException) String() string

String returns the string representation

type InvalidPortRangeException

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

func (s *InvalidPortRangeException) Code() string

Code returns the exception type name.

func (*InvalidPortRangeException) Error

func (s *InvalidPortRangeException) Error() string

func (InvalidPortRangeException) GoString

func (s InvalidPortRangeException) GoString() string

GoString returns the string representation

func (*InvalidPortRangeException) Message

func (s *InvalidPortRangeException) Message() string

Message returns the exception's message.

func (*InvalidPortRangeException) OrigErr

func (s *InvalidPortRangeException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidPortRangeException) RequestID

func (s *InvalidPortRangeException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidPortRangeException) StatusCode

func (s *InvalidPortRangeException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InvalidPortRangeException) String

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) GoString

func (s IpSet) GoString() string

GoString returns the string representation

func (*IpSet) SetIpAddresses

func (s *IpSet) SetIpAddresses(v []*string) *IpSet

SetIpAddresses sets the IpAddresses field's value.

func (*IpSet) SetIpFamily

func (s *IpSet) SetIpFamily(v string) *IpSet

SetIpFamily sets the IpFamily field's value.

func (IpSet) String

func (s IpSet) String() string

String returns the string representation

type LimitExceededException

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

func (s *LimitExceededException) Code() string

Code returns the exception type name.

func (*LimitExceededException) Error

func (s *LimitExceededException) Error() string

func (LimitExceededException) GoString

func (s LimitExceededException) GoString() string

GoString returns the string representation

func (*LimitExceededException) Message

func (s *LimitExceededException) Message() string

Message returns the exception's message.

func (*LimitExceededException) OrigErr

func (s *LimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LimitExceededException) RequestID

func (s *LimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LimitExceededException) StatusCode

func (s *LimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (LimitExceededException) String

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

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

func (s ListByoipCidrsInput) GoString() string

GoString returns the string representation

func (*ListByoipCidrsInput) SetMaxResults

func (s *ListByoipCidrsInput) SetMaxResults(v int64) *ListByoipCidrsInput

SetMaxResults sets the MaxResults field's value.

func (*ListByoipCidrsInput) SetNextToken

func (s *ListByoipCidrsInput) SetNextToken(v string) *ListByoipCidrsInput

SetNextToken sets the NextToken field's value.

func (ListByoipCidrsInput) String

func (s ListByoipCidrsInput) String() string

String returns the string representation

func (*ListByoipCidrsInput) Validate

func (s *ListByoipCidrsInput) Validate() error

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

type ListByoipCidrsOutput

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

func (s ListByoipCidrsOutput) GoString() string

GoString returns the string representation

func (*ListByoipCidrsOutput) SetByoipCidrs

func (s *ListByoipCidrsOutput) SetByoipCidrs(v []*ByoipCidr) *ListByoipCidrsOutput

SetByoipCidrs sets the ByoipCidrs field's value.

func (*ListByoipCidrsOutput) SetNextToken

func (s *ListByoipCidrsOutput) SetNextToken(v string) *ListByoipCidrsOutput

SetNextToken sets the NextToken field's value.

func (ListByoipCidrsOutput) String

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

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

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn

func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

    // Root level tag for the Tags parameters.
    Tags []*Tag `type:"list"`
    // contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags

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

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

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. Clienty 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) GoString

func (s Listener) GoString() string

GoString returns the string representation

func (*Listener) SetClientAffinity

func (s *Listener) SetClientAffinity(v string) *Listener

SetClientAffinity sets the ClientAffinity field's value.

func (*Listener) SetListenerArn

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

SetListenerArn sets the ListenerArn field's value.

func (*Listener) SetPortRanges

func (s *Listener) SetPortRanges(v []*PortRange) *Listener

SetPortRanges sets the PortRanges field's value.

func (*Listener) SetProtocol

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

SetProtocol sets the Protocol field's value.

func (Listener) String

func (s Listener) String() string

String returns the string representation

type ListenerNotFoundException

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

func (s *ListenerNotFoundException) Code() string

Code returns the exception type name.

func (*ListenerNotFoundException) Error

func (s *ListenerNotFoundException) Error() string

func (ListenerNotFoundException) GoString

func (s ListenerNotFoundException) GoString() string

GoString returns the string representation

func (*ListenerNotFoundException) Message

func (s *ListenerNotFoundException) Message() string

Message returns the exception's message.

func (*ListenerNotFoundException) OrigErr

func (s *ListenerNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ListenerNotFoundException) RequestID

func (s *ListenerNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ListenerNotFoundException) StatusCode

func (s *ListenerNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ListenerNotFoundException) String

func (s ListenerNotFoundException) String() string

String returns the string representation

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) GoString

func (s PortRange) GoString() string

GoString returns the string representation

func (*PortRange) SetFromPort

func (s *PortRange) SetFromPort(v int64) *PortRange

SetFromPort sets the FromPort field's value.

func (*PortRange) SetToPort

func (s *PortRange) SetToPort(v int64) *PortRange

SetToPort sets the ToPort field's value.

func (PortRange) String

func (s PortRange) String() string

String returns the string representation

func (*PortRange) Validate

func (s *PortRange) Validate() error

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

type ProvisionByoipCidrInput

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

func (s ProvisionByoipCidrInput) GoString() string

GoString returns the string representation

func (*ProvisionByoipCidrInput) SetCidr

func (s *ProvisionByoipCidrInput) SetCidr(v string) *ProvisionByoipCidrInput

SetCidr sets the Cidr field's value.

func (*ProvisionByoipCidrInput) SetCidrAuthorizationContext

func (s *ProvisionByoipCidrInput) SetCidrAuthorizationContext(v *CidrAuthorizationContext) *ProvisionByoipCidrInput

SetCidrAuthorizationContext sets the CidrAuthorizationContext field's value.

func (ProvisionByoipCidrInput) String

func (s ProvisionByoipCidrInput) String() string

String returns the string representation

func (*ProvisionByoipCidrInput) Validate

func (s *ProvisionByoipCidrInput) Validate() error

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

type ProvisionByoipCidrOutput

type ProvisionByoipCidrOutput struct {

    // Information about the address range.
    ByoipCidr *ByoipCidr `type:"structure"`
    // contains filtered or unexported fields
}

func (ProvisionByoipCidrOutput) GoString

func (s ProvisionByoipCidrOutput) GoString() string

GoString returns the string representation

func (*ProvisionByoipCidrOutput) SetByoipCidr

func (s *ProvisionByoipCidrOutput) SetByoipCidr(v *ByoipCidr) *ProvisionByoipCidrOutput

SetByoipCidr sets the ByoipCidr field's value.

func (ProvisionByoipCidrOutput) String

func (s ProvisionByoipCidrOutput) String() string

String returns the string representation

type Tag

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.

func (Tag) GoString

func (s Tag) GoString() string

GoString returns the string representation

func (*Tag) SetKey

func (s *Tag) SetKey(v string) *Tag

SetKey sets the Key field's value.

func (*Tag) SetValue

func (s *Tag) SetValue(v string) *Tag

SetValue sets the Value field's value.

func (Tag) String

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate

func (s *Tag) Validate() error

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

type TagResourceInput

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

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

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

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

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

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type UntagResourceInput

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

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

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

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String

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

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.
    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"`

    // 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) 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. Clienty 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

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

func (s WithdrawByoipCidrInput) GoString() string

GoString returns the string representation

func (*WithdrawByoipCidrInput) SetCidr

func (s *WithdrawByoipCidrInput) SetCidr(v string) *WithdrawByoipCidrInput

SetCidr sets the Cidr field's value.

func (WithdrawByoipCidrInput) String

func (s WithdrawByoipCidrInput) String() string

String returns the string representation

func (*WithdrawByoipCidrInput) Validate

func (s *WithdrawByoipCidrInput) Validate() error

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

type WithdrawByoipCidrOutput

type WithdrawByoipCidrOutput struct {

    // Information about the address pool.
    ByoipCidr *ByoipCidr `type:"structure"`
    // contains filtered or unexported fields
}

func (WithdrawByoipCidrOutput) GoString

func (s WithdrawByoipCidrOutput) GoString() string

GoString returns the string representation

func (*WithdrawByoipCidrOutput) SetByoipCidr

func (s *WithdrawByoipCidrOutput) SetByoipCidr(v *ByoipCidr) *WithdrawByoipCidrOutput

SetByoipCidr sets the ByoipCidr field's value.

func (WithdrawByoipCidrOutput) String

func (s WithdrawByoipCidrOutput) String() string

String returns the string representation