globalaccelerator

package
v1.51.32 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 10 Imported by: 54

Documentation

Overview

Package globalaccelerator provides the client and types for making API requests to AWS Global Accelerator.

This is the Global Accelerator API Reference. This guide is for developers who need detailed information about Global Accelerator API actions, data types, and errors. For more information about Global Accelerator features, see the Global Accelerator Developer Guide (https://docs.aws.amazon.com/global-accelerator/latest/dg/what-is-global-accelerator.html).

Global Accelerator is a service in which you create accelerators to improve the performance of your applications for local and global users. Depending on the type of accelerator you choose, you can gain additional benefits.

  • By using a standard accelerator, you can improve availability of your internet applications that are used by a global audience. With a standard accelerator, Global Accelerator directs traffic to optimal endpoints over the Amazon Web Services global network.

  • For other scenarios, you might choose a custom routing accelerator. With a custom routing accelerator, you can use application logic to directly map one or more users to a specific endpoint among many endpoints.

Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2 on Amazon Web Services CLI commands.

By default, Global Accelerator provides you with static IP addresses that you associate with your accelerator. The static IP addresses are anycast from the Amazon Web Services edge network. For IPv4, Global Accelerator provides two static IPv4 addresses. For dual-stack, Global Accelerator provides a total of four addresses: two static IPv4 addresses and two static IPv6 addresses. With a standard accelerator for IPv4, instead of using the 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 (BYOIP).

For a standard accelerator, they distribute incoming application traffic across multiple endpoint resources in multiple Amazon Web Services Regions , which increases the availability of your applications. Endpoints for standard accelerators can be Network Load Balancers, Application Load Balancers, Amazon EC2 instances, or Elastic IP addresses that are located in one Amazon Web Services Region or multiple Amazon Web Services Regions. For custom routing accelerators, you map traffic that arrives to the static IP addresses to specific Amazon EC2 servers in endpoints that are virtual private cloud (VPC) subnets.

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 like tag-based permissions with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information, see Tag-based policies (https://docs.aws.amazon.com/global-accelerator/latest/dg/access-control-manage-access-tag-policies.html).

For standard accelerators, Global Accelerator uses the Amazon Web Services 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 always directed to healthy endpoints.

For more information about understanding and using Global Accelerator, see the Global Accelerator Developer Guide (https://docs.aws.amazon.com/global-accelerator/latest/dg/what-is-global-accelerator.html).

See https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08 for more information on this service.

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

Using the Client

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

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

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

See the AWS Global Accelerator client GlobalAccelerator for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/globalaccelerator/#New

Index

Constants

View Source
const (
	// AcceleratorStatusDeployed is a AcceleratorStatus enum value
	AcceleratorStatusDeployed = "DEPLOYED"

	// AcceleratorStatusInProgress is a AcceleratorStatus enum value
	AcceleratorStatusInProgress = "IN_PROGRESS"
)
View Source
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"
)
View Source
const (
	// ClientAffinityNone is a ClientAffinity enum value
	ClientAffinityNone = "NONE"

	// ClientAffinitySourceIp is a ClientAffinity enum value
	ClientAffinitySourceIp = "SOURCE_IP"
)
View Source
const (
	// CustomRoutingAcceleratorStatusDeployed is a CustomRoutingAcceleratorStatus enum value
	CustomRoutingAcceleratorStatusDeployed = "DEPLOYED"

	// CustomRoutingAcceleratorStatusInProgress is a CustomRoutingAcceleratorStatus enum value
	CustomRoutingAcceleratorStatusInProgress = "IN_PROGRESS"
)
View Source
const (
	// CustomRoutingDestinationTrafficStateAllow is a CustomRoutingDestinationTrafficState enum value
	CustomRoutingDestinationTrafficStateAllow = "ALLOW"

	// CustomRoutingDestinationTrafficStateDeny is a CustomRoutingDestinationTrafficState enum value
	CustomRoutingDestinationTrafficStateDeny = "DENY"
)
View Source
const (
	// CustomRoutingProtocolTcp is a CustomRoutingProtocol enum value
	CustomRoutingProtocolTcp = "TCP"

	// CustomRoutingProtocolUdp is a CustomRoutingProtocol enum value
	CustomRoutingProtocolUdp = "UDP"
)
View Source
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"
)
View Source
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"
)
View Source
const (
	// IpAddressFamilyIpv4 is a IpAddressFamily enum value
	IpAddressFamilyIpv4 = "IPv4"

	// IpAddressFamilyIpv6 is a IpAddressFamily enum value
	IpAddressFamilyIpv6 = "IPv6"
)
View Source
const (
	// IpAddressTypeIpv4 is a IpAddressType enum value
	IpAddressTypeIpv4 = "IPV4"

	// IpAddressTypeDualStack is a IpAddressType enum value
	IpAddressTypeDualStack = "DUAL_STACK"
)
View Source
const (
	// ProtocolTcp is a Protocol enum value
	ProtocolTcp = "TCP"

	// ProtocolUdp is a Protocol enum value
	ProtocolUdp = "UDP"
)
View Source
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"

	// ErrCodeAttachmentNotFoundException for service response error code
	// "AttachmentNotFoundException".
	//
	// No cross-account attachment was found.
	ErrCodeAttachmentNotFoundException = "AttachmentNotFoundException"

	// ErrCodeByoipCidrNotFoundException for service response error code
	// "ByoipCidrNotFoundException".
	//
	// The CIDR that you specified was not found or is incorrect.
	ErrCodeByoipCidrNotFoundException = "ByoipCidrNotFoundException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// You can't use both of those options.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeEndpointAlreadyExistsException for service response error code
	// "EndpointAlreadyExistsException".
	//
	// The endpoint that you specified doesn't exist.
	ErrCodeEndpointAlreadyExistsException = "EndpointAlreadyExistsException"

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

	// ErrCodeEndpointNotFoundException for service response error code
	// "EndpointNotFoundException".
	//
	// The endpoint that you specified doesn't exist.
	ErrCodeEndpointNotFoundException = "EndpointNotFoundException"

	// 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 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 Global Accelerator limit.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodeListenerNotFoundException for service response error code
	// "ListenerNotFoundException".
	//
	// The listener that you specified doesn't exist.
	ErrCodeListenerNotFoundException = "ListenerNotFoundException"

	// ErrCodeTransactionInProgressException for service response error code
	// "TransactionInProgressException".
	//
	// There's already a transaction in progress. Another transaction can't be processed.
	ErrCodeTransactionInProgressException = "TransactionInProgressException"
)
View Source
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

Variables

This section is empty.

Functions

func AcceleratorStatus_Values added in v1.34.3

func AcceleratorStatus_Values() []string

AcceleratorStatus_Values returns all elements of the AcceleratorStatus enum

func ByoipCidrState_Values added in v1.34.3

func ByoipCidrState_Values() []string

ByoipCidrState_Values returns all elements of the ByoipCidrState enum

func ClientAffinity_Values added in v1.34.3

func ClientAffinity_Values() []string

ClientAffinity_Values returns all elements of the ClientAffinity enum

func CustomRoutingAcceleratorStatus_Values added in v1.36.5

func CustomRoutingAcceleratorStatus_Values() []string

CustomRoutingAcceleratorStatus_Values returns all elements of the CustomRoutingAcceleratorStatus enum

func CustomRoutingDestinationTrafficState_Values added in v1.36.5

func CustomRoutingDestinationTrafficState_Values() []string

CustomRoutingDestinationTrafficState_Values returns all elements of the CustomRoutingDestinationTrafficState enum

func CustomRoutingProtocol_Values added in v1.36.5

func CustomRoutingProtocol_Values() []string

CustomRoutingProtocol_Values returns all elements of the CustomRoutingProtocol enum

func HealthCheckProtocol_Values added in v1.34.3

func HealthCheckProtocol_Values() []string

HealthCheckProtocol_Values returns all elements of the HealthCheckProtocol enum

func HealthState_Values added in v1.34.3

func HealthState_Values() []string

HealthState_Values returns all elements of the HealthState enum

func IpAddressFamily_Values added in v1.44.64

func IpAddressFamily_Values() []string

IpAddressFamily_Values returns all elements of the IpAddressFamily enum

func IpAddressType_Values added in v1.34.3

func IpAddressType_Values() []string

IpAddressType_Values returns all elements of the IpAddressType enum

func Protocol_Values added in v1.34.3

func Protocol_Values() []string

Protocol_Values returns all elements of the Protocol enum

Types

type Accelerator

type Accelerator struct {

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

	// The date and time that the accelerator was created.
	CreatedTime *time.Time `type:"timestamp"`

	// The Domain Name System (DNS) name that Global Accelerator creates that points
	// to an accelerator's static IPv4 addresses.
	//
	// The naming convention for the DNS name for an accelerator is the following:
	// A lowercase letter a, followed by a 16-bit random hex string, followed by
	// .awsglobalaccelerator.com. For example: a1234567890abcdef.awsglobalaccelerator.com.
	//
	// If you have a dual-stack accelerator, you also have a second DNS name, DualStackDnsName,
	// that points to both the A record and the AAAA record for all four static
	// addresses for the accelerator: two IPv4 addresses and two IPv6 addresses.
	//
	// 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/dns-addressing-custom-domains.dns-addressing.html)
	// in the Global Accelerator Developer Guide.
	DnsName *string `type:"string"`

	// The Domain Name System (DNS) name that Global Accelerator creates that points
	// to a dual-stack accelerator's four static IP addresses: two IPv4 addresses
	// and two IPv6 addresses.
	//
	// The naming convention for the dual-stack DNS name is the following: A lowercase
	// letter a, followed by a 16-bit random hex string, followed by .dualstack.awsglobalaccelerator.com.
	// For example: a1234567890abcdef.dualstack.awsglobalaccelerator.com.
	//
	// Note: Global Accelerator also assigns a default DNS name, DnsName, to your
	// accelerator that points just to the static IPv4 addresses.
	//
	// For more information, 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 Global Accelerator Developer Guide.
	DualStackDnsName *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"`

	// A history of changes that you make to an accelerator in Global Accelerator.
	Events []*AcceleratorEvent `type:"list"`

	// The IP address type that an accelerator supports. For a standard accelerator,
	// the value can be IPV4 or DUAL_STACK.
	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.

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

func (*Accelerator) SetAcceleratorArn

func (s *Accelerator) SetAcceleratorArn(v string) *Accelerator

SetAcceleratorArn sets the AcceleratorArn field's value.

func (*Accelerator) SetCreatedTime

func (s *Accelerator) SetCreatedTime(v time.Time) *Accelerator

SetCreatedTime sets the CreatedTime field's value.

func (*Accelerator) SetDnsName added in v1.24.6

func (s *Accelerator) SetDnsName(v string) *Accelerator

SetDnsName sets the DnsName field's value.

func (*Accelerator) SetDualStackDnsName added in v1.44.64

func (s *Accelerator) SetDualStackDnsName(v string) *Accelerator

SetDualStackDnsName sets the DualStackDnsName field's value.

func (*Accelerator) SetEnabled

func (s *Accelerator) SetEnabled(v bool) *Accelerator

SetEnabled sets the Enabled field's value.

func (*Accelerator) SetEvents added in v1.44.64

func (s *Accelerator) SetEvents(v []*AcceleratorEvent) *Accelerator

SetEvents sets the Events 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.

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

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

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

func (*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.

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

type AcceleratorEvent added in v1.44.64

type AcceleratorEvent struct {

	// A string that contains an Event message describing changes or errors when
	// you update an accelerator in Global Accelerator from IPv4 to dual-stack,
	// or dual-stack to IPv4.
	Message *string `type:"string"`

	// A timestamp for when you update an accelerator in Global Accelerator from
	// IPv4 to dual-stack, or dual-stack to IPv4.
	Timestamp *time.Time `type:"timestamp"`
	// contains filtered or unexported fields
}

A complex type that contains a Timestamp value and Message for changes that you make to an accelerator in Global Accelerator. Messages stored here provide progress or error information when you update an accelerator from IPv4 to dual-stack, or from dual-stack to IPv4. Global Accelerator stores a maximum of ten event messages.

func (AcceleratorEvent) GoString added in v1.44.64

func (s AcceleratorEvent) GoString() string

GoString returns the string representation.

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

func (*AcceleratorEvent) SetMessage added in v1.44.64

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

SetMessage sets the Message field's value.

func (*AcceleratorEvent) SetTimestamp added in v1.44.64

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

SetTimestamp sets the Timestamp field's value.

func (AcceleratorEvent) String added in v1.44.64

func (s AcceleratorEvent) String() string

String returns the string representation.

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

type AcceleratorNotDisabledException added in v1.28.0

type AcceleratorNotDisabledException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The accelerator that you specified could not be disabled.

func (*AcceleratorNotDisabledException) Code added in v1.28.0

Code returns the exception type name.

func (*AcceleratorNotDisabledException) Error added in v1.28.0

func (AcceleratorNotDisabledException) GoString added in v1.28.0

GoString returns the string representation.

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

func (*AcceleratorNotDisabledException) Message added in v1.28.0

Message returns the exception's message.

func (*AcceleratorNotDisabledException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AcceleratorNotDisabledException) RequestID added in v1.28.0

func (s *AcceleratorNotDisabledException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AcceleratorNotDisabledException) StatusCode added in v1.28.0

func (s *AcceleratorNotDisabledException) StatusCode() int

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

func (AcceleratorNotDisabledException) String added in v1.28.0

String returns the string representation.

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

type AcceleratorNotFoundException added in v1.28.0

type AcceleratorNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The accelerator that you specified doesn't exist.

func (*AcceleratorNotFoundException) Code added in v1.28.0

Code returns the exception type name.

func (*AcceleratorNotFoundException) Error added in v1.28.0

func (AcceleratorNotFoundException) GoString added in v1.28.0

func (s AcceleratorNotFoundException) GoString() string

GoString returns the string representation.

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

func (*AcceleratorNotFoundException) Message added in v1.28.0

func (s *AcceleratorNotFoundException) Message() string

Message returns the exception's message.

func (*AcceleratorNotFoundException) OrigErr added in v1.28.0

func (s *AcceleratorNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AcceleratorNotFoundException) RequestID added in v1.28.0

func (s *AcceleratorNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AcceleratorNotFoundException) StatusCode added in v1.28.0

func (s *AcceleratorNotFoundException) StatusCode() int

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

func (AcceleratorNotFoundException) String added in v1.28.0

String returns the string representation.

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

type AccessDeniedException added in v1.28.0

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

You don't have access permission.

func (*AccessDeniedException) Code added in v1.28.0

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error added in v1.28.0

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString added in v1.28.0

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

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

func (*AccessDeniedException) Message added in v1.28.0

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr added in v1.28.0

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID added in v1.28.0

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode added in v1.28.0

func (s *AccessDeniedException) StatusCode() int

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

func (AccessDeniedException) String added in v1.28.0

func (s AccessDeniedException) String() string

String returns the string representation.

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

type AddCustomRoutingEndpointsInput added in v1.36.5

type AddCustomRoutingEndpointsInput struct {

	// The list of endpoint objects to add to a custom routing accelerator.
	//
	// EndpointConfigurations is a required field
	EndpointConfigurations []*CustomRoutingEndpointConfiguration `min:"1" type:"list" required:"true"`

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

func (AddCustomRoutingEndpointsInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*AddCustomRoutingEndpointsInput) SetEndpointConfigurations added in v1.36.5

SetEndpointConfigurations sets the EndpointConfigurations field's value.

func (*AddCustomRoutingEndpointsInput) SetEndpointGroupArn added in v1.36.5

SetEndpointGroupArn sets the EndpointGroupArn field's value.

func (AddCustomRoutingEndpointsInput) String added in v1.36.5

String returns the string representation.

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

func (*AddCustomRoutingEndpointsInput) Validate added in v1.36.5

func (s *AddCustomRoutingEndpointsInput) Validate() error

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

type AddCustomRoutingEndpointsOutput added in v1.36.5

type AddCustomRoutingEndpointsOutput struct {

	// The endpoint objects added to the custom routing accelerator.
	EndpointDescriptions []*CustomRoutingEndpointDescription `type:"list"`

	// The Amazon Resource Name (ARN) of the endpoint group for the custom routing
	// endpoint.
	EndpointGroupArn *string `type:"string"`
	// contains filtered or unexported fields
}

func (AddCustomRoutingEndpointsOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*AddCustomRoutingEndpointsOutput) SetEndpointDescriptions added in v1.36.5

SetEndpointDescriptions sets the EndpointDescriptions field's value.

func (*AddCustomRoutingEndpointsOutput) SetEndpointGroupArn added in v1.36.5

SetEndpointGroupArn sets the EndpointGroupArn field's value.

func (AddCustomRoutingEndpointsOutput) String added in v1.36.5

String returns the string representation.

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

type AddEndpointsInput added in v1.44.120

type AddEndpointsInput struct {

	// The list of endpoint objects.
	//
	// EndpointConfigurations is a required field
	EndpointConfigurations []*EndpointConfiguration `type:"list" required:"true"`

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

func (AddEndpointsInput) GoString added in v1.44.120

func (s AddEndpointsInput) GoString() string

GoString returns the string representation.

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

func (*AddEndpointsInput) SetEndpointConfigurations added in v1.44.120

func (s *AddEndpointsInput) SetEndpointConfigurations(v []*EndpointConfiguration) *AddEndpointsInput

SetEndpointConfigurations sets the EndpointConfigurations field's value.

func (*AddEndpointsInput) SetEndpointGroupArn added in v1.44.120

func (s *AddEndpointsInput) SetEndpointGroupArn(v string) *AddEndpointsInput

SetEndpointGroupArn sets the EndpointGroupArn field's value.

func (AddEndpointsInput) String added in v1.44.120

func (s AddEndpointsInput) String() string

String returns the string representation.

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

func (*AddEndpointsInput) Validate added in v1.44.120

func (s *AddEndpointsInput) Validate() error

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

type AddEndpointsOutput added in v1.44.120

type AddEndpointsOutput struct {

	// The list of endpoint objects.
	EndpointDescriptions []*EndpointDescription `type:"list"`

	// The Amazon Resource Name (ARN) of the endpoint group.
	EndpointGroupArn *string `type:"string"`
	// contains filtered or unexported fields
}

func (AddEndpointsOutput) GoString added in v1.44.120

func (s AddEndpointsOutput) GoString() string

GoString returns the string representation.

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

func (*AddEndpointsOutput) SetEndpointDescriptions added in v1.44.120

func (s *AddEndpointsOutput) SetEndpointDescriptions(v []*EndpointDescription) *AddEndpointsOutput

SetEndpointDescriptions sets the EndpointDescriptions field's value.

func (*AddEndpointsOutput) SetEndpointGroupArn added in v1.44.120

func (s *AddEndpointsOutput) SetEndpointGroupArn(v string) *AddEndpointsOutput

SetEndpointGroupArn sets the EndpointGroupArn field's value.

func (AddEndpointsOutput) String added in v1.44.120

func (s AddEndpointsOutput) String() string

String returns the string representation.

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

type AdvertiseByoipCidrInput added in v1.29.12

type AdvertiseByoipCidrInput struct {

	// The address range, in CIDR notation. This must be the exact range that you
	// provisioned. You can't advertise only a portion of the provisioned range.
	//
	// For more information, see Bring your own IP addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html)
	// in the Global Accelerator Developer Guide.
	//
	// Cidr is a required field
	Cidr *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AdvertiseByoipCidrInput) GoString added in v1.29.12

func (s AdvertiseByoipCidrInput) GoString() string

GoString returns the string representation.

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

func (*AdvertiseByoipCidrInput) SetCidr added in v1.29.12

SetCidr sets the Cidr field's value.

func (AdvertiseByoipCidrInput) String added in v1.29.12

func (s AdvertiseByoipCidrInput) String() string

String returns the string representation.

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

func (*AdvertiseByoipCidrInput) Validate added in v1.29.12

func (s *AdvertiseByoipCidrInput) Validate() error

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

type AdvertiseByoipCidrOutput added in v1.29.12

type AdvertiseByoipCidrOutput struct {

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

func (AdvertiseByoipCidrOutput) GoString added in v1.29.12

func (s AdvertiseByoipCidrOutput) GoString() string

GoString returns the string representation.

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

func (*AdvertiseByoipCidrOutput) SetByoipCidr added in v1.29.12

SetByoipCidr sets the ByoipCidr field's value.

func (AdvertiseByoipCidrOutput) String added in v1.29.12

func (s AdvertiseByoipCidrOutput) String() string

String returns the string representation.

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

type AllowCustomRoutingTrafficInput added in v1.36.5

type AllowCustomRoutingTrafficInput struct {

	// Indicates whether all destination IP addresses and ports for a specified
	// VPC subnet endpoint can receive traffic from a custom routing accelerator.
	// The value is TRUE or FALSE.
	//
	// When set to TRUE, all destinations in the custom routing VPC subnet can receive
	// traffic. Note that you cannot specify destination IP addresses and ports
	// when the value is set to TRUE.
	//
	// When set to FALSE (or not specified), you must specify a list of destination
	// IP addresses that are allowed to receive traffic. A list of ports is optional.
	// If you don't specify a list of ports, the ports that can accept traffic is
	// the same as the ports configured for the endpoint group.
	//
	// The default value is FALSE.
	AllowAllTrafficToEndpoint *bool `type:"boolean"`

	// A list of specific Amazon EC2 instance IP addresses (destination addresses)
	// in a subnet that you want to allow to receive traffic. The IP addresses must
	// be a subset of the IP addresses that you specified for the endpoint group.
	//
	// DestinationAddresses is required if AllowAllTrafficToEndpoint is FALSE or
	// is not specified.
	DestinationAddresses []*string `type:"list"`

	// A list of specific Amazon EC2 instance ports (destination ports) that you
	// want to allow to receive traffic.
	DestinationPorts []*int64 `type:"list"`

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

	// An ID for the endpoint. For custom routing accelerators, this is the virtual
	// private cloud (VPC) subnet ID.
	//
	// EndpointId is a required field
	EndpointId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AllowCustomRoutingTrafficInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*AllowCustomRoutingTrafficInput) SetAllowAllTrafficToEndpoint added in v1.36.5

func (s *AllowCustomRoutingTrafficInput) SetAllowAllTrafficToEndpoint(v bool) *AllowCustomRoutingTrafficInput

SetAllowAllTrafficToEndpoint sets the AllowAllTrafficToEndpoint field's value.

func (*AllowCustomRoutingTrafficInput) SetDestinationAddresses added in v1.36.5

func (s *AllowCustomRoutingTrafficInput) SetDestinationAddresses(v []*string) *AllowCustomRoutingTrafficInput

SetDestinationAddresses sets the DestinationAddresses field's value.

func (*AllowCustomRoutingTrafficInput) SetDestinationPorts added in v1.36.5

SetDestinationPorts sets the DestinationPorts field's value.

func (*AllowCustomRoutingTrafficInput) SetEndpointGroupArn added in v1.36.5

SetEndpointGroupArn sets the EndpointGroupArn field's value.

func (*AllowCustomRoutingTrafficInput) SetEndpointId added in v1.36.5

SetEndpointId sets the EndpointId field's value.

func (AllowCustomRoutingTrafficInput) String added in v1.36.5

String returns the string representation.

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

func (*AllowCustomRoutingTrafficInput) Validate added in v1.36.5

func (s *AllowCustomRoutingTrafficInput) Validate() error

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

type AllowCustomRoutingTrafficOutput added in v1.36.5

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

func (AllowCustomRoutingTrafficOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (AllowCustomRoutingTrafficOutput) String added in v1.36.5

String returns the string representation.

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

type AssociatedEndpointGroupFoundException added in v1.28.0

type AssociatedEndpointGroupFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The listener that you specified has an endpoint group associated with it. You must remove all dependent resources from a listener before you can delete it.

func (*AssociatedEndpointGroupFoundException) Code added in v1.28.0

Code returns the exception type name.

func (*AssociatedEndpointGroupFoundException) Error added in v1.28.0

func (AssociatedEndpointGroupFoundException) GoString added in v1.28.0

GoString returns the string representation.

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

func (*AssociatedEndpointGroupFoundException) Message added in v1.28.0

Message returns the exception's message.

func (*AssociatedEndpointGroupFoundException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AssociatedEndpointGroupFoundException) RequestID added in v1.28.0

RequestID returns the service's response RequestID for request.

func (*AssociatedEndpointGroupFoundException) StatusCode added in v1.28.0

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

func (AssociatedEndpointGroupFoundException) String added in v1.28.0

String returns the string representation.

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

type AssociatedListenerFoundException added in v1.28.0

type AssociatedListenerFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The accelerator that you specified has a listener associated with it. You must remove all dependent resources from an accelerator before you can delete it.

func (*AssociatedListenerFoundException) Code added in v1.28.0

Code returns the exception type name.

func (*AssociatedListenerFoundException) Error added in v1.28.0

func (AssociatedListenerFoundException) GoString added in v1.28.0

GoString returns the string representation.

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

func (*AssociatedListenerFoundException) Message added in v1.28.0

Message returns the exception's message.

func (*AssociatedListenerFoundException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AssociatedListenerFoundException) RequestID added in v1.28.0

RequestID returns the service's response RequestID for request.

func (*AssociatedListenerFoundException) StatusCode added in v1.28.0

func (s *AssociatedListenerFoundException) StatusCode() int

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

func (AssociatedListenerFoundException) String added in v1.28.0

String returns the string representation.

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

type Attachment added in v1.47.1

type Attachment struct {

	// The Amazon Resource Name (ARN) of the cross-account attachment.
	AttachmentArn *string `type:"string"`

	// The date and time that the cross-account attachment was created.
	CreatedTime *time.Time `type:"timestamp"`

	// The date and time that the cross-account attachment was last modified.
	LastModifiedTime *time.Time `type:"timestamp"`

	// The name of the cross-account attachment.
	Name *string `type:"string"`

	// The principals included in the cross-account attachment.
	Principals []*string `type:"list"`

	// The resources included in the cross-account attachment.
	Resources []*Resource `type:"list"`
	// contains filtered or unexported fields
}

A cross-account attachment in Global Accelerator. A cross-account attachment specifies the principals who have permission to work with resources in your account, which you also list in the attachment.

func (Attachment) GoString added in v1.47.1

func (s Attachment) GoString() string

GoString returns the string representation.

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

func (*Attachment) SetAttachmentArn added in v1.47.1

func (s *Attachment) SetAttachmentArn(v string) *Attachment

SetAttachmentArn sets the AttachmentArn field's value.

func (*Attachment) SetCreatedTime added in v1.47.1

func (s *Attachment) SetCreatedTime(v time.Time) *Attachment

SetCreatedTime sets the CreatedTime field's value.

func (*Attachment) SetLastModifiedTime added in v1.47.1

func (s *Attachment) SetLastModifiedTime(v time.Time) *Attachment

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*Attachment) SetName added in v1.47.1

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

SetName sets the Name field's value.

func (*Attachment) SetPrincipals added in v1.47.1

func (s *Attachment) SetPrincipals(v []*string) *Attachment

SetPrincipals sets the Principals field's value.

func (*Attachment) SetResources added in v1.47.1

func (s *Attachment) SetResources(v []*Resource) *Attachment

SetResources sets the Resources field's value.

func (Attachment) String added in v1.47.1

func (s Attachment) String() string

String returns the string representation.

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

type AttachmentNotFoundException added in v1.47.1

type AttachmentNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

No cross-account attachment was found.

func (*AttachmentNotFoundException) Code added in v1.47.1

Code returns the exception type name.

func (*AttachmentNotFoundException) Error added in v1.47.1

func (AttachmentNotFoundException) GoString added in v1.47.1

func (s AttachmentNotFoundException) GoString() string

GoString returns the string representation.

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

func (*AttachmentNotFoundException) Message added in v1.47.1

func (s *AttachmentNotFoundException) Message() string

Message returns the exception's message.

func (*AttachmentNotFoundException) OrigErr added in v1.47.1

func (s *AttachmentNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AttachmentNotFoundException) RequestID added in v1.47.1

func (s *AttachmentNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AttachmentNotFoundException) StatusCode added in v1.47.1

func (s *AttachmentNotFoundException) StatusCode() int

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

func (AttachmentNotFoundException) String added in v1.47.1

String returns the string representation.

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

type ByoipCidr added in v1.29.12

type ByoipCidr struct {

	// The address range, in CIDR notation.
	//
	// For more information, see Bring your own IP addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html)
	// in the Global Accelerator Developer Guide.
	Cidr *string `type:"string"`

	// A history of status changes for an IP address range that you bring to 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 Amazon Web Services 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 Global Accelerator.

  • READY — The address range is provisioned with Global Accelerator and can be advertised.

  • PENDING_ADVERTISING — You’ve submitted a request for Global Accelerator to advertise an address range but it is not yet being advertised.

  • ADVERTISING — The address range is being advertised by Global Accelerator.

  • PENDING_WITHDRAWING — You’ve submitted a request to withdraw an address range from being advertised but it is still being advertised by Global Accelerator.

  • PENDING_DEPROVISIONING — You’ve submitted a request to deprovision an address range from Global Accelerator but it is still provisioned.

  • DEPROVISIONED — The address range is deprovisioned from Global Accelerator.

  • FAILED_PROVISION — The request to provision the address range from 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 Amazon Web Services support.

  • FAILED_ADVERTISING — The request for 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 Amazon Web Services support.

  • FAILED_WITHDRAW — The request to withdraw the address range from advertising by 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 Amazon Web Services support.

  • FAILED_DEPROVISION — The request to deprovision the address range from 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 Amazon Web Services support.

func (ByoipCidr) GoString added in v1.29.12

func (s ByoipCidr) GoString() string

GoString returns the string representation.

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

func (*ByoipCidr) SetCidr added in v1.29.12

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

SetCidr sets the Cidr field's value.

func (*ByoipCidr) SetEvents added in v1.29.34

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

SetEvents sets the Events field's value.

func (*ByoipCidr) SetState added in v1.29.12

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

SetState sets the State field's value.

func (ByoipCidr) String added in v1.29.12

func (s ByoipCidr) String() string

String returns the string representation.

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

type ByoipCidrEvent added in v1.29.34

type ByoipCidrEvent struct {

	// A string that contains an Event message describing changes that you make
	// in the status of an IP address range that you bring to Global Accelerator
	// through bring your own IP address (BYOIP).
	Message *string `type:"string"`

	// A timestamp for when you make a status change for an IP address range that
	// you bring to 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 of an IP address range that you bring to Global Accelerator through bring your own IP address (BYOIP).

func (ByoipCidrEvent) GoString added in v1.29.34

func (s ByoipCidrEvent) GoString() string

GoString returns the string representation.

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

func (*ByoipCidrEvent) SetMessage added in v1.29.34

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

SetMessage sets the Message field's value.

func (*ByoipCidrEvent) SetTimestamp added in v1.29.34

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

SetTimestamp sets the Timestamp field's value.

func (ByoipCidrEvent) String added in v1.29.34

func (s ByoipCidrEvent) String() string

String returns the string representation.

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

type ByoipCidrNotFoundException added in v1.29.12

type ByoipCidrNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The CIDR that you specified was not found or is incorrect.

func (*ByoipCidrNotFoundException) Code added in v1.29.12

Code returns the exception type name.

func (*ByoipCidrNotFoundException) Error added in v1.29.12

func (ByoipCidrNotFoundException) GoString added in v1.29.12

func (s ByoipCidrNotFoundException) GoString() string

GoString returns the string representation.

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

func (*ByoipCidrNotFoundException) Message added in v1.29.12

func (s *ByoipCidrNotFoundException) Message() string

Message returns the exception's message.

func (*ByoipCidrNotFoundException) OrigErr added in v1.29.12

func (s *ByoipCidrNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ByoipCidrNotFoundException) RequestID added in v1.29.12

func (s *ByoipCidrNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ByoipCidrNotFoundException) StatusCode added in v1.29.12

func (s *ByoipCidrNotFoundException) StatusCode() int

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

func (ByoipCidrNotFoundException) String added in v1.29.12

String returns the string representation.

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

type CidrAuthorizationContext added in v1.29.12

type CidrAuthorizationContext struct {

	// The plain-text authorization message for the prefix and account.
	//
	// Message is a required field
	Message *string `type:"string" required:"true"`

	// The signed authorization message for the prefix and account.
	//
	// Signature is a required field
	Signature *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Provides authorization for Amazon to bring a specific IP address range to a specific Amazon Web Services 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 Global Accelerator Developer Guide.

func (CidrAuthorizationContext) GoString added in v1.29.12

func (s CidrAuthorizationContext) GoString() string

GoString returns the string representation.

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

func (*CidrAuthorizationContext) SetMessage added in v1.29.12

SetMessage sets the Message field's value.

func (*CidrAuthorizationContext) SetSignature added in v1.29.12

SetSignature sets the Signature field's value.

func (CidrAuthorizationContext) String added in v1.29.12

func (s CidrAuthorizationContext) String() string

String returns the string representation.

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

func (*CidrAuthorizationContext) Validate added in v1.29.12

func (s *CidrAuthorizationContext) Validate() error

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

type ConflictException added in v1.36.5

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

You can't use both of those options.

func (*ConflictException) Code added in v1.36.5

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error added in v1.36.5

func (s *ConflictException) Error() string

func (ConflictException) GoString added in v1.36.5

func (s ConflictException) GoString() string

GoString returns the string representation.

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

func (*ConflictException) Message added in v1.36.5

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr added in v1.36.5

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID added in v1.36.5

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode added in v1.36.5

func (s *ConflictException) StatusCode() int

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

func (ConflictException) String added in v1.36.5

func (s ConflictException) String() string

String returns the string representation.

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

type 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 IP address type that an accelerator supports. For a standard accelerator,
	// the value can be IPV4 or DUAL_STACK.
	IpAddressType *string `type:"string" enum:"IpAddressType"`

	// Optionally, if you've added your own IP address pool to Global Accelerator
	// (BYOIP), you can choose an IPv4 address from your own pool to use for the
	// accelerator's static IPv4 address when you create an accelerator.
	//
	// After you bring an address range to Amazon Web Services, it appears in your
	// account as an address pool. When you create an accelerator, you can assign
	// one IPv4 address from your range to it. Global Accelerator assigns you a
	// second static IPv4 address from an Amazon IP address range. If you bring
	// two IPv4 address ranges to Amazon Web Services, you can assign one IPv4 address
	// from each range to your accelerator. This restriction is because Global Accelerator
	// assigns each address range to a different network zone, for high availability.
	//
	// You can specify one or two addresses, separated by a space. Do not include
	// the /32 suffix.
	//
	// Note that you can't update IP addresses for an existing accelerator. To change
	// them, you must create a new accelerator with the new addresses.
	//
	// For more information, see Bring your own IP addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html)
	// in the Global Accelerator Developer Guide.
	IpAddresses []*string `type:"list"`

	// The name of the accelerator. The name can have a maximum of 64 characters,
	// must contain only alphanumeric characters, periods (.), or hyphens (-), and
	// must not begin or end with a hyphen or period.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// Create tags for an accelerator.
	//
	// For more information, see Tagging in Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html)
	// in the 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.

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

func (*CreateAcceleratorInput) SetEnabled

SetEnabled sets the Enabled field's value.

func (*CreateAcceleratorInput) SetIdempotencyToken

func (s *CreateAcceleratorInput) SetIdempotencyToken(v string) *CreateAcceleratorInput

SetIdempotencyToken sets the IdempotencyToken field's value.

func (*CreateAcceleratorInput) SetIpAddressType

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

SetIpAddressType sets the IpAddressType field's value.

func (*CreateAcceleratorInput) SetIpAddresses added in v1.29.12

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

SetIpAddresses sets the IpAddresses field's value.

func (*CreateAcceleratorInput) SetName

SetName sets the Name field's value.

func (*CreateAcceleratorInput) SetTags added in v1.29.12

SetTags sets the Tags field's value.

func (CreateAcceleratorInput) String

func (s CreateAcceleratorInput) String() string

String returns the string representation.

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

func (*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.

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

func (*CreateAcceleratorOutput) SetAccelerator

SetAccelerator sets the Accelerator field's value.

func (CreateAcceleratorOutput) String

func (s CreateAcceleratorOutput) String() string

String returns the string representation.

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

type CreateCrossAccountAttachmentInput added in v1.47.1

type CreateCrossAccountAttachmentInput struct {

	// 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 name of the cross-account attachment.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// The principals to include in the cross-account attachment. A principal can
	// be an Amazon Web Services account number or the Amazon Resource Name (ARN)
	// for an accelerator.
	Principals []*string `type:"list"`

	// The Amazon Resource Names (ARNs) for the resources to include in the cross-account
	// attachment. A resource can be any supported Amazon Web Services resource
	// type for Global Accelerator or a CIDR range for a bring your own IP address
	// (BYOIP) address pool.
	Resources []*Resource `type:"list"`

	// Add tags for a cross-account attachment.
	//
	// For more information, see Tagging in Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html)
	// in the Global Accelerator Developer Guide.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateCrossAccountAttachmentInput) GoString added in v1.47.1

GoString returns the string representation.

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

func (*CreateCrossAccountAttachmentInput) SetIdempotencyToken added in v1.47.1

SetIdempotencyToken sets the IdempotencyToken field's value.

func (*CreateCrossAccountAttachmentInput) SetName added in v1.47.1

SetName sets the Name field's value.

func (*CreateCrossAccountAttachmentInput) SetPrincipals added in v1.47.1

SetPrincipals sets the Principals field's value.

func (*CreateCrossAccountAttachmentInput) SetResources added in v1.47.1

SetResources sets the Resources field's value.

func (*CreateCrossAccountAttachmentInput) SetTags added in v1.47.1

SetTags sets the Tags field's value.

func (CreateCrossAccountAttachmentInput) String added in v1.47.1

String returns the string representation.

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

func (*CreateCrossAccountAttachmentInput) Validate added in v1.47.1

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

type CreateCrossAccountAttachmentOutput added in v1.47.1

type CreateCrossAccountAttachmentOutput struct {

	// Information about the cross-account attachment.
	CrossAccountAttachment *Attachment `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateCrossAccountAttachmentOutput) GoString added in v1.47.1

GoString returns the string representation.

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

func (*CreateCrossAccountAttachmentOutput) SetCrossAccountAttachment added in v1.47.1

SetCrossAccountAttachment sets the CrossAccountAttachment field's value.

func (CreateCrossAccountAttachmentOutput) String added in v1.47.1

String returns the string representation.

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

type CreateCustomRoutingAcceleratorInput added in v1.36.5

type CreateCustomRoutingAcceleratorInput 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 the request.
	IdempotencyToken *string `type:"string" idempotencyToken:"true"`

	// The IP address type that an accelerator supports. For a custom routing accelerator,
	// the value must be IPV4.
	IpAddressType *string `type:"string" enum:"IpAddressType"`

	// Optionally, if you've added your own IP address pool to Global Accelerator
	// (BYOIP), you can choose an IPv4 address from your own pool to use for the
	// accelerator's static IPv4 address when you create an accelerator.
	//
	// After you bring an address range to Amazon Web Services, it appears in your
	// account as an address pool. When you create an accelerator, you can assign
	// one IPv4 address from your range to it. Global Accelerator assigns you a
	// second static IPv4 address from an Amazon IP address range. If you bring
	// two IPv4 address ranges to Amazon Web Services, you can assign one IPv4 address
	// from each range to your accelerator. This restriction is because Global Accelerator
	// assigns each address range to a different network zone, for high availability.
	//
	// You can specify one or two addresses, separated by a space. Do not include
	// the /32 suffix.
	//
	// Note that you can't update IP addresses for an existing accelerator. To change
	// them, you must create a new accelerator with the new addresses.
	//
	// For more information, see Bring your own IP addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html)
	// in the Global Accelerator Developer Guide.
	IpAddresses []*string `type:"list"`

	// The name of a custom routing accelerator. The name can have a maximum of
	// 64 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 Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html)
	// in the Global Accelerator Developer Guide.
	Tags []*Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateCustomRoutingAcceleratorInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*CreateCustomRoutingAcceleratorInput) SetEnabled added in v1.36.5

SetEnabled sets the Enabled field's value.

func (*CreateCustomRoutingAcceleratorInput) SetIdempotencyToken added in v1.36.5

SetIdempotencyToken sets the IdempotencyToken field's value.

func (*CreateCustomRoutingAcceleratorInput) SetIpAddressType added in v1.36.5

SetIpAddressType sets the IpAddressType field's value.

func (*CreateCustomRoutingAcceleratorInput) SetIpAddresses added in v1.37.7

SetIpAddresses sets the IpAddresses field's value.

func (*CreateCustomRoutingAcceleratorInput) SetName added in v1.36.5

SetName sets the Name field's value.

func (*CreateCustomRoutingAcceleratorInput) SetTags added in v1.36.5

SetTags sets the Tags field's value.

func (CreateCustomRoutingAcceleratorInput) String added in v1.36.5

String returns the string representation.

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

func (*CreateCustomRoutingAcceleratorInput) Validate added in v1.36.5

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

type CreateCustomRoutingAcceleratorOutput added in v1.36.5

type CreateCustomRoutingAcceleratorOutput struct {

	// The accelerator that is created.
	Accelerator *CustomRoutingAccelerator `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateCustomRoutingAcceleratorOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*CreateCustomRoutingAcceleratorOutput) SetAccelerator added in v1.36.5

SetAccelerator sets the Accelerator field's value.

func (CreateCustomRoutingAcceleratorOutput) String added in v1.36.5

String returns the string representation.

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

type CreateCustomRoutingEndpointGroupInput added in v1.36.5

type CreateCustomRoutingEndpointGroupInput struct {

	// Sets the port range and protocol for all endpoints (virtual private cloud
	// subnets) in a custom routing endpoint group to accept client traffic on.
	//
	// DestinationConfigurations is a required field
	DestinationConfigurations []*CustomRoutingDestinationConfiguration `min:"1" type:"list" required:"true"`

	// The Amazon Web Services 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"`

	// 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 for a custom routing endpoint.
	//
	// ListenerArn is a required field
	ListenerArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateCustomRoutingEndpointGroupInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*CreateCustomRoutingEndpointGroupInput) SetDestinationConfigurations added in v1.36.5

SetDestinationConfigurations sets the DestinationConfigurations field's value.

func (*CreateCustomRoutingEndpointGroupInput) SetEndpointGroupRegion added in v1.36.5

SetEndpointGroupRegion sets the EndpointGroupRegion field's value.

func (*CreateCustomRoutingEndpointGroupInput) SetIdempotencyToken added in v1.36.5

SetIdempotencyToken sets the IdempotencyToken field's value.

func (*CreateCustomRoutingEndpointGroupInput) SetListenerArn added in v1.36.5

SetListenerArn sets the ListenerArn field's value.

func (CreateCustomRoutingEndpointGroupInput) String added in v1.36.5

String returns the string representation.

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

func (*CreateCustomRoutingEndpointGroupInput) Validate added in v1.36.5

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

type CreateCustomRoutingEndpointGroupOutput added in v1.36.5

type CreateCustomRoutingEndpointGroupOutput struct {

	// The information about the endpoint group created for a custom routing accelerator.
	EndpointGroup *CustomRoutingEndpointGroup `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateCustomRoutingEndpointGroupOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*CreateCustomRoutingEndpointGroupOutput) SetEndpointGroup added in v1.36.5

SetEndpointGroup sets the EndpointGroup field's value.

func (CreateCustomRoutingEndpointGroupOutput) String added in v1.36.5

String returns the string representation.

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

type CreateCustomRoutingListenerInput added in v1.36.5

type CreateCustomRoutingListenerInput struct {

	// The Amazon Resource Name (ARN) of the accelerator for a custom routing listener.
	//
	// AcceleratorArn is a required field
	AcceleratorArn *string `type:"string" required:"true"`

	// 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 port range to support for connections from clients to your accelerator.
	//
	// Separately, you set port ranges for endpoints. For more information, see
	// About endpoints for custom routing accelerators (https://docs.aws.amazon.com/global-accelerator/latest/dg/about-custom-routing-endpoints.html).
	//
	// PortRanges is a required field
	PortRanges []*PortRange `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (CreateCustomRoutingListenerInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*CreateCustomRoutingListenerInput) SetAcceleratorArn added in v1.36.5

SetAcceleratorArn sets the AcceleratorArn field's value.

func (*CreateCustomRoutingListenerInput) SetIdempotencyToken added in v1.36.5

SetIdempotencyToken sets the IdempotencyToken field's value.

func (*CreateCustomRoutingListenerInput) SetPortRanges added in v1.36.5

SetPortRanges sets the PortRanges field's value.

func (CreateCustomRoutingListenerInput) String added in v1.36.5

String returns the string representation.

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

func (*CreateCustomRoutingListenerInput) Validate added in v1.36.5

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

type CreateCustomRoutingListenerOutput added in v1.36.5

type CreateCustomRoutingListenerOutput struct {

	// The listener that you've created for a custom routing accelerator.
	Listener *CustomRoutingListener `type:"structure"`
	// contains filtered or unexported fields
}

func (CreateCustomRoutingListenerOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*CreateCustomRoutingListenerOutput) SetListener added in v1.36.5

SetListener sets the Listener field's value.

func (CreateCustomRoutingListenerOutput) String added in v1.36.5

String returns the string representation.

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

type CreateEndpointGroupInput

type CreateEndpointGroupInput struct {

	// The list of endpoint objects.
	EndpointConfigurations []*EndpointConfiguration `type:"list"`

	// The Amazon Web Services 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 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 Global Accelerator uses to check the health of endpoints
	// that are part of this endpoint group. The default value is TCP.
	HealthCheckProtocol *string `type:"string" enum:"HealthCheckProtocol"`

	// A unique, case-sensitive identifier that you provide to ensure the idempotency—that
	// is, the uniqueness—of the request.
	IdempotencyToken *string `type:"string" idempotencyToken:"true"`

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

	// Override specific listener ports used to route traffic to endpoints that
	// are part of this endpoint group. For example, you can create a port override
	// in which the listener receives user traffic on ports 80 and 443, but your
	// accelerator routes that traffic to ports 1080 and 1443, respectively, on
	// the endpoints.
	//
	// For more information, see Overriding listener ports (https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html)
	// in the Global Accelerator Developer Guide.
	PortOverrides []*PortOverride `type:"list"`

	// The number of consecutive health checks required to set the state of a healthy
	// endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default
	// value is 3.
	ThresholdCount *int64 `min:"1" type:"integer"`

	// The percentage of traffic to send to an Amazon Web Services 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.

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

func (*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

SetListenerArn sets the ListenerArn field's value.

func (*CreateEndpointGroupInput) SetPortOverrides added in v1.35.12

SetPortOverrides sets the PortOverrides field's value.

func (*CreateEndpointGroupInput) SetThresholdCount

func (s *CreateEndpointGroupInput) SetThresholdCount(v int64) *CreateEndpointGroupInput

SetThresholdCount sets the ThresholdCount field's value.

func (*CreateEndpointGroupInput) SetTrafficDialPercentage

func (s *CreateEndpointGroupInput) SetTrafficDialPercentage(v float64) *CreateEndpointGroupInput

SetTrafficDialPercentage sets the TrafficDialPercentage field's value.

func (CreateEndpointGroupInput) String

func (s CreateEndpointGroupInput) String() string

String returns the string representation.

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

func (*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.

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

func (*CreateEndpointGroupOutput) SetEndpointGroup

SetEndpointGroup sets the EndpointGroup field's value.

func (CreateEndpointGroupOutput) String

func (s CreateEndpointGroupOutput) String() string

String returns the string representation.

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

type CreateListenerInput

type CreateListenerInput struct {

	// The Amazon Resource Name (ARN) of your accelerator.
	//
	// AcceleratorArn is a required field
	AcceleratorArn *string `type:"string" required:"true"`

	// Client affinity lets you direct all requests from a user to the same endpoint,
	// if you have stateful applications, regardless of the port and protocol of
	// the client request. Client affinity gives you control over whether to always
	// route each client to the same specific endpoint.
	//
	// 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.

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

func (*CreateListenerInput) 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.

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

func (*CreateListenerInput) Validate

func (s *CreateListenerInput) Validate() error

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

type CreateListenerOutput

type CreateListenerOutput struct {

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

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

func (*CreateListenerOutput) SetListener

SetListener sets the Listener field's value.

func (CreateListenerOutput) String

func (s CreateListenerOutput) String() string

String returns the string representation.

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

type CrossAccountResource added in v1.47.1

type CrossAccountResource struct {

	// The Amazon Resource Name (ARN) of the cross-account attachment that specifies
	// the resources (endpoints or CIDR range) that can be added to accelerators
	// and principals that have permission to add them.
	AttachmentArn *string `type:"string"`

	// An IP address range, in CIDR format, that is specified as an Amazon Web Services
	// resource. The address must be provisioned and advertised in Global Accelerator
	// by following the bring your own IP address (BYOIP) process for Global Accelerator.
	//
	// For more information, see Bring your own IP addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html)
	// in the Global Accelerator Developer Guide.
	Cidr *string `type:"string"`

	// The endpoint ID for the endpoint that is listed in a cross-account attachment
	// and can be added to an accelerator by specified principals.
	EndpointId *string `type:"string"`
	// contains filtered or unexported fields
}

An endpoint (Amazon Web Services resource) or an IP address range, in CIDR format, that is listed in a cross-account attachment. A cross-account resource can be added to an accelerator by specified principals, which are also listed in the attachment.

For more information, see Working with cross-account attachments and resources in Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html) in the Global Accelerator Developer Guide.

func (CrossAccountResource) GoString added in v1.47.1

func (s CrossAccountResource) GoString() string

GoString returns the string representation.

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

func (*CrossAccountResource) SetAttachmentArn added in v1.47.1

func (s *CrossAccountResource) SetAttachmentArn(v string) *CrossAccountResource

SetAttachmentArn sets the AttachmentArn field's value.

func (*CrossAccountResource) SetCidr added in v1.51.7

SetCidr sets the Cidr field's value.

func (*CrossAccountResource) SetEndpointId added in v1.47.1

func (s *CrossAccountResource) SetEndpointId(v string) *CrossAccountResource

SetEndpointId sets the EndpointId field's value.

func (CrossAccountResource) String added in v1.47.1

func (s CrossAccountResource) String() string

String returns the string representation.

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

type CustomRoutingAccelerator added in v1.36.5

type CustomRoutingAccelerator struct {

	// The Amazon Resource Name (ARN) of the custom routing 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 an accelerator's static IPv4 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.
	//
	// If you have a dual-stack accelerator, you also have a second DNS name, DualStackDnsName,
	// that points to both the A record and the AAAA record for all four static
	// addresses for the accelerator: two IPv4 addresses and two IPv6 addresses.
	//
	// 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/dns-addressing-custom-domains.dns-addressing.html)
	// in the 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 IP address type that an accelerator supports. For a custom routing accelerator,
	// the value 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:"CustomRoutingAcceleratorStatus"`
	// contains filtered or unexported fields
}

Attributes of a custom routing accelerator.

func (CustomRoutingAccelerator) GoString added in v1.36.5

func (s CustomRoutingAccelerator) GoString() string

GoString returns the string representation.

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

func (*CustomRoutingAccelerator) SetAcceleratorArn added in v1.36.5

func (s *CustomRoutingAccelerator) SetAcceleratorArn(v string) *CustomRoutingAccelerator

SetAcceleratorArn sets the AcceleratorArn field's value.

func (*CustomRoutingAccelerator) SetCreatedTime added in v1.36.5

SetCreatedTime sets the CreatedTime field's value.

func (*CustomRoutingAccelerator) SetDnsName added in v1.36.5

SetDnsName sets the DnsName field's value.

func (*CustomRoutingAccelerator) SetEnabled added in v1.36.5

SetEnabled sets the Enabled field's value.

func (*CustomRoutingAccelerator) SetIpAddressType added in v1.36.5

SetIpAddressType sets the IpAddressType field's value.

func (*CustomRoutingAccelerator) SetIpSets added in v1.36.5

SetIpSets sets the IpSets field's value.

func (*CustomRoutingAccelerator) SetLastModifiedTime added in v1.36.5

func (s *CustomRoutingAccelerator) SetLastModifiedTime(v time.Time) *CustomRoutingAccelerator

SetLastModifiedTime sets the LastModifiedTime field's value.

func (*CustomRoutingAccelerator) SetName added in v1.36.5

SetName sets the Name field's value.

func (*CustomRoutingAccelerator) SetStatus added in v1.36.5

SetStatus sets the Status field's value.

func (CustomRoutingAccelerator) String added in v1.36.5

func (s CustomRoutingAccelerator) String() string

String returns the string representation.

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

type CustomRoutingAcceleratorAttributes added in v1.36.5

type CustomRoutingAcceleratorAttributes 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 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 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:
	//
	// DOC-EXAMPLE-BUCKET//AWSLogs/aws_account_id
	FlowLogsS3Prefix *string `type:"string"`
	// contains filtered or unexported fields
}

Attributes of a custom routing accelerator.

func (CustomRoutingAcceleratorAttributes) GoString added in v1.36.5

GoString returns the string representation.

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

func (*CustomRoutingAcceleratorAttributes) SetFlowLogsEnabled added in v1.36.5

SetFlowLogsEnabled sets the FlowLogsEnabled field's value.

func (*CustomRoutingAcceleratorAttributes) SetFlowLogsS3Bucket added in v1.36.5

SetFlowLogsS3Bucket sets the FlowLogsS3Bucket field's value.

func (*CustomRoutingAcceleratorAttributes) SetFlowLogsS3Prefix added in v1.36.5

SetFlowLogsS3Prefix sets the FlowLogsS3Prefix field's value.

func (CustomRoutingAcceleratorAttributes) String added in v1.36.5

String returns the string representation.

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

type CustomRoutingDestinationConfiguration added in v1.36.5

type CustomRoutingDestinationConfiguration struct {

	// The first port, inclusive, in the range of ports for the endpoint group that
	// is associated with a custom routing accelerator.
	//
	// FromPort is a required field
	FromPort *int64 `min:"1" type:"integer" required:"true"`

	// The protocol for the endpoint group that is associated with a custom routing
	// accelerator. The protocol can be either TCP or UDP.
	//
	// Protocols is a required field
	Protocols []*string `min:"1" type:"list" required:"true" enum:"CustomRoutingProtocol"`

	// The last port, inclusive, in the range of ports for the endpoint group that
	// is associated with a custom routing accelerator.
	//
	// ToPort is a required field
	ToPort *int64 `min:"1" type:"integer" required:"true"`
	// contains filtered or unexported fields
}

For a custom routing accelerator, sets the port range and protocol for all endpoints (virtual private cloud subnets) in an endpoint group to accept client traffic on.

func (CustomRoutingDestinationConfiguration) GoString added in v1.36.5

GoString returns the string representation.

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

func (*CustomRoutingDestinationConfiguration) SetFromPort added in v1.36.5

SetFromPort sets the FromPort field's value.

func (*CustomRoutingDestinationConfiguration) SetProtocols added in v1.36.5

SetProtocols sets the Protocols field's value.

func (*CustomRoutingDestinationConfiguration) SetToPort added in v1.36.5

SetToPort sets the ToPort field's value.

func (CustomRoutingDestinationConfiguration) String added in v1.36.5

String returns the string representation.

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

func (*CustomRoutingDestinationConfiguration) Validate added in v1.36.5

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

type CustomRoutingDestinationDescription added in v1.36.5

type CustomRoutingDestinationDescription struct {

	// The first port, inclusive, in the range of ports for the endpoint group that
	// is associated with a custom routing accelerator.
	FromPort *int64 `min:"1" type:"integer"`

	// The protocol for the endpoint group that is associated with a custom routing
	// accelerator. The protocol can be either TCP or UDP.
	Protocols []*string `type:"list" enum:"Protocol"`

	// The last port, inclusive, in the range of ports for the endpoint group that
	// is associated with a custom routing accelerator.
	ToPort *int64 `min:"1" type:"integer"`
	// contains filtered or unexported fields
}

For a custom routing accelerator, describes the port range and protocol for all endpoints (virtual private cloud subnets) in an endpoint group to accept client traffic on.

func (CustomRoutingDestinationDescription) GoString added in v1.36.5

GoString returns the string representation.

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

func (*CustomRoutingDestinationDescription) SetFromPort added in v1.36.5

SetFromPort sets the FromPort field's value.

func (*CustomRoutingDestinationDescription) SetProtocols added in v1.36.5

SetProtocols sets the Protocols field's value.

func (*CustomRoutingDestinationDescription) SetToPort added in v1.36.5

SetToPort sets the ToPort field's value.

func (CustomRoutingDestinationDescription) String added in v1.36.5

String returns the string representation.

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

type CustomRoutingEndpointConfiguration added in v1.36.5

type CustomRoutingEndpointConfiguration struct {

	// The Amazon Resource Name (ARN) of the cross-account attachment that specifies
	// the endpoints (resources) that can be added to accelerators and principals
	// that have permission to add the endpoints.
	AttachmentArn *string `type:"string"`

	// An ID for the endpoint. For custom routing accelerators, this is the virtual
	// private cloud (VPC) subnet ID.
	EndpointId *string `type:"string"`
	// contains filtered or unexported fields
}

The list of endpoint objects. For custom routing, this is a list of virtual private cloud (VPC) subnet IDs.

func (CustomRoutingEndpointConfiguration) GoString added in v1.36.5

GoString returns the string representation.

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

func (*CustomRoutingEndpointConfiguration) SetAttachmentArn added in v1.47.1

SetAttachmentArn sets the AttachmentArn field's value.

func (*CustomRoutingEndpointConfiguration) SetEndpointId added in v1.36.5

SetEndpointId sets the EndpointId field's value.

func (CustomRoutingEndpointConfiguration) String added in v1.36.5

String returns the string representation.

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

type CustomRoutingEndpointDescription added in v1.36.5

type CustomRoutingEndpointDescription struct {

	// An ID for the endpoint. For custom routing accelerators, this is the virtual
	// private cloud (VPC) subnet ID.
	EndpointId *string `type:"string"`
	// contains filtered or unexported fields
}

A complex type for an endpoint for a custom routing accelerator. Each endpoint group can include one or more endpoints, which are virtual private cloud (VPC) subnets.

func (CustomRoutingEndpointDescription) GoString added in v1.36.5

GoString returns the string representation.

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

func (*CustomRoutingEndpointDescription) SetEndpointId added in v1.36.5

SetEndpointId sets the EndpointId field's value.

func (CustomRoutingEndpointDescription) String added in v1.36.5

String returns the string representation.

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

type CustomRoutingEndpointGroup added in v1.36.5

type CustomRoutingEndpointGroup struct {

	// For a custom routing accelerator, describes the port range and protocol for
	// all endpoints (virtual private cloud subnets) in an endpoint group to accept
	// client traffic on.
	DestinationDescriptions []*CustomRoutingDestinationDescription `type:"list"`

	// For a custom routing accelerator, describes the endpoints (virtual private
	// cloud subnets) in an endpoint group to accept client traffic on.
	EndpointDescriptions []*CustomRoutingEndpointDescription `type:"list"`

	// The Amazon Resource Name (ARN) of the endpoint group.
	EndpointGroupArn *string `type:"string"`

	// The Amazon Web Services Region where the endpoint group is located.
	EndpointGroupRegion *string `type:"string"`
	// contains filtered or unexported fields
}

A complex type for the endpoint group for a custom routing accelerator. An Amazon Web Services Region can have only one endpoint group for a specific listener.

func (CustomRoutingEndpointGroup) GoString added in v1.36.5

func (s CustomRoutingEndpointGroup) GoString() string

GoString returns the string representation.

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

func (*CustomRoutingEndpointGroup) SetDestinationDescriptions added in v1.36.5

SetDestinationDescriptions sets the DestinationDescriptions field's value.

func (*CustomRoutingEndpointGroup) SetEndpointDescriptions added in v1.36.5

SetEndpointDescriptions sets the EndpointDescriptions field's value.

func (*CustomRoutingEndpointGroup) SetEndpointGroupArn added in v1.36.5

SetEndpointGroupArn sets the EndpointGroupArn field's value.

func (*CustomRoutingEndpointGroup) SetEndpointGroupRegion added in v1.36.5

func (s *CustomRoutingEndpointGroup) SetEndpointGroupRegion(v string) *CustomRoutingEndpointGroup

SetEndpointGroupRegion sets the EndpointGroupRegion field's value.

func (CustomRoutingEndpointGroup) String added in v1.36.5

String returns the string representation.

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

type CustomRoutingListener added in v1.36.5

type CustomRoutingListener struct {

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

	// The port range to support for connections from clients to your accelerator.
	//
	// Separately, you set port ranges for endpoints. For more information, see
	// About endpoints for custom routing accelerators (https://docs.aws.amazon.com/global-accelerator/latest/dg/about-custom-routing-endpoints.html).
	PortRanges []*PortRange `min:"1" type:"list"`
	// contains filtered or unexported fields
}

A complex type for a listener for a custom routing accelerator.

func (CustomRoutingListener) GoString added in v1.36.5

func (s CustomRoutingListener) GoString() string

GoString returns the string representation.

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

func (*CustomRoutingListener) SetListenerArn added in v1.36.5

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

SetListenerArn sets the ListenerArn field's value.

func (*CustomRoutingListener) SetPortRanges added in v1.36.5

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

SetPortRanges sets the PortRanges field's value.

func (CustomRoutingListener) String added in v1.36.5

func (s CustomRoutingListener) String() string

String returns the string representation.

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

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

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

func (*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.

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

func (*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.

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

func (DeleteAcceleratorOutput) String

func (s DeleteAcceleratorOutput) String() string

String returns the string representation.

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

type DeleteCrossAccountAttachmentInput added in v1.47.1

type DeleteCrossAccountAttachmentInput struct {

	// The Amazon Resource Name (ARN) for the cross-account attachment to delete.
	//
	// AttachmentArn is a required field
	AttachmentArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteCrossAccountAttachmentInput) GoString added in v1.47.1

GoString returns the string representation.

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

func (*DeleteCrossAccountAttachmentInput) SetAttachmentArn added in v1.47.1

SetAttachmentArn sets the AttachmentArn field's value.

func (DeleteCrossAccountAttachmentInput) String added in v1.47.1

String returns the string representation.

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

func (*DeleteCrossAccountAttachmentInput) Validate added in v1.47.1

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

type DeleteCrossAccountAttachmentOutput added in v1.47.1

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

func (DeleteCrossAccountAttachmentOutput) GoString added in v1.47.1

GoString returns the string representation.

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

func (DeleteCrossAccountAttachmentOutput) String added in v1.47.1

String returns the string representation.

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

type DeleteCustomRoutingAcceleratorInput added in v1.36.5

type DeleteCustomRoutingAcceleratorInput struct {

	// The Amazon Resource Name (ARN) of the custom routing accelerator to delete.
	//
	// AcceleratorArn is a required field
	AcceleratorArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteCustomRoutingAcceleratorInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*DeleteCustomRoutingAcceleratorInput) SetAcceleratorArn added in v1.36.5

SetAcceleratorArn sets the AcceleratorArn field's value.

func (DeleteCustomRoutingAcceleratorInput) String added in v1.36.5

String returns the string representation.

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

func (*DeleteCustomRoutingAcceleratorInput) Validate added in v1.36.5

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

type DeleteCustomRoutingAcceleratorOutput added in v1.36.5

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

func (DeleteCustomRoutingAcceleratorOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (DeleteCustomRoutingAcceleratorOutput) String added in v1.36.5

String returns the string representation.

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

type DeleteCustomRoutingEndpointGroupInput added in v1.36.5

type DeleteCustomRoutingEndpointGroupInput 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 (DeleteCustomRoutingEndpointGroupInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*DeleteCustomRoutingEndpointGroupInput) SetEndpointGroupArn added in v1.36.5

SetEndpointGroupArn sets the EndpointGroupArn field's value.

func (DeleteCustomRoutingEndpointGroupInput) String added in v1.36.5

String returns the string representation.

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

func (*DeleteCustomRoutingEndpointGroupInput) Validate added in v1.36.5

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

type DeleteCustomRoutingEndpointGroupOutput added in v1.36.5

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

func (DeleteCustomRoutingEndpointGroupOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (DeleteCustomRoutingEndpointGroupOutput) String added in v1.36.5

String returns the string representation.

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

type DeleteCustomRoutingListenerInput added in v1.36.5

type DeleteCustomRoutingListenerInput struct {

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

func (DeleteCustomRoutingListenerInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*DeleteCustomRoutingListenerInput) SetListenerArn added in v1.36.5

SetListenerArn sets the ListenerArn field's value.

func (DeleteCustomRoutingListenerInput) String added in v1.36.5

String returns the string representation.

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

func (*DeleteCustomRoutingListenerInput) Validate added in v1.36.5

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

type DeleteCustomRoutingListenerOutput added in v1.36.5

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

func (DeleteCustomRoutingListenerOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (DeleteCustomRoutingListenerOutput) String added in v1.36.5

String returns the string representation.

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

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

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

func (*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.

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

func (*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.

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

func (DeleteEndpointGroupOutput) String

func (s DeleteEndpointGroupOutput) String() string

String returns the string representation.

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

type DeleteListenerInput

type DeleteListenerInput struct {

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

func (DeleteListenerInput) GoString

func (s DeleteListenerInput) GoString() string

GoString returns the string representation.

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

func (*DeleteListenerInput) SetListenerArn

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

SetListenerArn sets the ListenerArn field's value.

func (DeleteListenerInput) String

func (s DeleteListenerInput) String() string

String returns the string representation.

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

func (*DeleteListenerInput) Validate

func (s *DeleteListenerInput) Validate() error

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

type DeleteListenerOutput

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

func (DeleteListenerOutput) GoString

func (s DeleteListenerOutput) GoString() string

GoString returns the string representation.

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

func (DeleteListenerOutput) String

func (s DeleteListenerOutput) String() string

String returns the string representation.

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

type DenyCustomRoutingTrafficInput added in v1.36.5

type DenyCustomRoutingTrafficInput struct {

	// Indicates whether all destination IP addresses and ports for a specified
	// VPC subnet endpoint cannot receive traffic from a custom routing accelerator.
	// The value is TRUE or FALSE.
	//
	// When set to TRUE, no destinations in the custom routing VPC subnet can receive
	// traffic. Note that you cannot specify destination IP addresses and ports
	// when the value is set to TRUE.
	//
	// When set to FALSE (or not specified), you must specify a list of destination
	// IP addresses that cannot receive traffic. A list of ports is optional. If
	// you don't specify a list of ports, the ports that can accept traffic is the
	// same as the ports configured for the endpoint group.
	//
	// The default value is FALSE.
	DenyAllTrafficToEndpoint *bool `type:"boolean"`

	// A list of specific Amazon EC2 instance IP addresses (destination addresses)
	// in a subnet that you want to prevent from receiving traffic. The IP addresses
	// must be a subset of the IP addresses allowed for the VPC subnet associated
	// with the endpoint group.
	DestinationAddresses []*string `type:"list"`

	// A list of specific Amazon EC2 instance ports (destination ports) in a subnet
	// endpoint that you want to prevent from receiving traffic.
	DestinationPorts []*int64 `type:"list"`

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

	// An ID for the endpoint. For custom routing accelerators, this is the virtual
	// private cloud (VPC) subnet ID.
	//
	// EndpointId is a required field
	EndpointId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DenyCustomRoutingTrafficInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*DenyCustomRoutingTrafficInput) SetDenyAllTrafficToEndpoint added in v1.36.5

func (s *DenyCustomRoutingTrafficInput) SetDenyAllTrafficToEndpoint(v bool) *DenyCustomRoutingTrafficInput

SetDenyAllTrafficToEndpoint sets the DenyAllTrafficToEndpoint field's value.

func (*DenyCustomRoutingTrafficInput) SetDestinationAddresses added in v1.36.5

func (s *DenyCustomRoutingTrafficInput) SetDestinationAddresses(v []*string) *DenyCustomRoutingTrafficInput

SetDestinationAddresses sets the DestinationAddresses field's value.

func (*DenyCustomRoutingTrafficInput) SetDestinationPorts added in v1.36.5

SetDestinationPorts sets the DestinationPorts field's value.

func (*DenyCustomRoutingTrafficInput) SetEndpointGroupArn added in v1.36.5

SetEndpointGroupArn sets the EndpointGroupArn field's value.

func (*DenyCustomRoutingTrafficInput) SetEndpointId added in v1.36.5

SetEndpointId sets the EndpointId field's value.

func (DenyCustomRoutingTrafficInput) String added in v1.36.5

String returns the string representation.

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

func (*DenyCustomRoutingTrafficInput) Validate added in v1.36.5

func (s *DenyCustomRoutingTrafficInput) Validate() error

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

type DenyCustomRoutingTrafficOutput added in v1.36.5

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

func (DenyCustomRoutingTrafficOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (DenyCustomRoutingTrafficOutput) String added in v1.36.5

String returns the string representation.

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

type DeprovisionByoipCidrInput added in v1.29.12

type DeprovisionByoipCidrInput struct {

	// The address range, in CIDR notation. The prefix must be the same prefix that
	// you specified when you provisioned the address range.
	//
	// For more information, see Bring your own IP addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html)
	// in the Global Accelerator Developer Guide.
	//
	// Cidr is a required field
	Cidr *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeprovisionByoipCidrInput) GoString added in v1.29.12

func (s DeprovisionByoipCidrInput) GoString() string

GoString returns the string representation.

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

func (*DeprovisionByoipCidrInput) SetCidr added in v1.29.12

SetCidr sets the Cidr field's value.

func (DeprovisionByoipCidrInput) String added in v1.29.12

func (s DeprovisionByoipCidrInput) String() string

String returns the string representation.

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

func (*DeprovisionByoipCidrInput) Validate added in v1.29.12

func (s *DeprovisionByoipCidrInput) Validate() error

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

type DeprovisionByoipCidrOutput added in v1.29.12

type DeprovisionByoipCidrOutput struct {

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

func (DeprovisionByoipCidrOutput) GoString added in v1.29.12

func (s DeprovisionByoipCidrOutput) GoString() string

GoString returns the string representation.

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

func (*DeprovisionByoipCidrOutput) SetByoipCidr added in v1.29.12

SetByoipCidr sets the ByoipCidr field's value.

func (DeprovisionByoipCidrOutput) String added in v1.29.12

String returns the string representation.

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

type 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

GoString returns the string representation.

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

func (*DescribeAcceleratorAttributesInput) SetAcceleratorArn

SetAcceleratorArn sets the AcceleratorArn field's value.

func (DescribeAcceleratorAttributesInput) String

String returns the string representation.

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

func (*DescribeAcceleratorAttributesInput) Validate added in v1.23.11

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

GoString returns the string representation.

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

func (*DescribeAcceleratorAttributesOutput) SetAcceleratorAttributes

SetAcceleratorAttributes sets the AcceleratorAttributes field's value.

func (DescribeAcceleratorAttributesOutput) String

String returns the string representation.

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

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

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

func (*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.

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

func (*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.

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

func (*DescribeAcceleratorOutput) SetAccelerator

SetAccelerator sets the Accelerator field's value.

func (DescribeAcceleratorOutput) String

func (s DescribeAcceleratorOutput) String() string

String returns the string representation.

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

type DescribeCrossAccountAttachmentInput added in v1.47.1

type DescribeCrossAccountAttachmentInput struct {

	// The Amazon Resource Name (ARN) for the cross-account attachment to describe.
	//
	// AttachmentArn is a required field
	AttachmentArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeCrossAccountAttachmentInput) GoString added in v1.47.1

GoString returns the string representation.

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

func (*DescribeCrossAccountAttachmentInput) SetAttachmentArn added in v1.47.1

SetAttachmentArn sets the AttachmentArn field's value.

func (DescribeCrossAccountAttachmentInput) String added in v1.47.1

String returns the string representation.

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

func (*DescribeCrossAccountAttachmentInput) Validate added in v1.47.1

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

type DescribeCrossAccountAttachmentOutput added in v1.47.1

type DescribeCrossAccountAttachmentOutput struct {

	// Information about the cross-account attachment.
	CrossAccountAttachment *Attachment `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeCrossAccountAttachmentOutput) GoString added in v1.47.1

GoString returns the string representation.

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

func (*DescribeCrossAccountAttachmentOutput) SetCrossAccountAttachment added in v1.47.1

SetCrossAccountAttachment sets the CrossAccountAttachment field's value.

func (DescribeCrossAccountAttachmentOutput) String added in v1.47.1

String returns the string representation.

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

type DescribeCustomRoutingAcceleratorAttributesInput added in v1.36.5

type DescribeCustomRoutingAcceleratorAttributesInput struct {

	// The Amazon Resource Name (ARN) of the custom routing accelerator to describe
	// the attributes for.
	//
	// AcceleratorArn is a required field
	AcceleratorArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeCustomRoutingAcceleratorAttributesInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*DescribeCustomRoutingAcceleratorAttributesInput) SetAcceleratorArn added in v1.36.5

SetAcceleratorArn sets the AcceleratorArn field's value.

func (DescribeCustomRoutingAcceleratorAttributesInput) String added in v1.36.5

String returns the string representation.

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

func (*DescribeCustomRoutingAcceleratorAttributesInput) Validate added in v1.36.5

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

type DescribeCustomRoutingAcceleratorAttributesOutput added in v1.36.5

type DescribeCustomRoutingAcceleratorAttributesOutput struct {

	// The attributes of the custom routing accelerator.
	AcceleratorAttributes *CustomRoutingAcceleratorAttributes `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeCustomRoutingAcceleratorAttributesOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*DescribeCustomRoutingAcceleratorAttributesOutput) SetAcceleratorAttributes added in v1.36.5

SetAcceleratorAttributes sets the AcceleratorAttributes field's value.

func (DescribeCustomRoutingAcceleratorAttributesOutput) String added in v1.36.5

String returns the string representation.

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

type DescribeCustomRoutingAcceleratorInput added in v1.36.5

type DescribeCustomRoutingAcceleratorInput 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 (DescribeCustomRoutingAcceleratorInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*DescribeCustomRoutingAcceleratorInput) SetAcceleratorArn added in v1.36.5

SetAcceleratorArn sets the AcceleratorArn field's value.

func (DescribeCustomRoutingAcceleratorInput) String added in v1.36.5

String returns the string representation.

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

func (*DescribeCustomRoutingAcceleratorInput) Validate added in v1.36.5

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

type DescribeCustomRoutingAcceleratorOutput added in v1.36.5

type DescribeCustomRoutingAcceleratorOutput struct {

	// The description of the custom routing accelerator.
	Accelerator *CustomRoutingAccelerator `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeCustomRoutingAcceleratorOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*DescribeCustomRoutingAcceleratorOutput) SetAccelerator added in v1.36.5

SetAccelerator sets the Accelerator field's value.

func (DescribeCustomRoutingAcceleratorOutput) String added in v1.36.5

String returns the string representation.

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

type DescribeCustomRoutingEndpointGroupInput added in v1.36.5

type DescribeCustomRoutingEndpointGroupInput 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 (DescribeCustomRoutingEndpointGroupInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*DescribeCustomRoutingEndpointGroupInput) SetEndpointGroupArn added in v1.36.5

SetEndpointGroupArn sets the EndpointGroupArn field's value.

func (DescribeCustomRoutingEndpointGroupInput) String added in v1.36.5

String returns the string representation.

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

func (*DescribeCustomRoutingEndpointGroupInput) Validate added in v1.36.5

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

type DescribeCustomRoutingEndpointGroupOutput added in v1.36.5

type DescribeCustomRoutingEndpointGroupOutput struct {

	// The description of an endpoint group for a custom routing accelerator.
	EndpointGroup *CustomRoutingEndpointGroup `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeCustomRoutingEndpointGroupOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*DescribeCustomRoutingEndpointGroupOutput) SetEndpointGroup added in v1.36.5

SetEndpointGroup sets the EndpointGroup field's value.

func (DescribeCustomRoutingEndpointGroupOutput) String added in v1.36.5

String returns the string representation.

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

type DescribeCustomRoutingListenerInput added in v1.36.5

type DescribeCustomRoutingListenerInput 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 (DescribeCustomRoutingListenerInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*DescribeCustomRoutingListenerInput) SetListenerArn added in v1.36.5

SetListenerArn sets the ListenerArn field's value.

func (DescribeCustomRoutingListenerInput) String added in v1.36.5

String returns the string representation.

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

func (*DescribeCustomRoutingListenerInput) Validate added in v1.36.5

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

type DescribeCustomRoutingListenerOutput added in v1.36.5

type DescribeCustomRoutingListenerOutput struct {

	// The description of a listener for a custom routing accelerator.
	Listener *CustomRoutingListener `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeCustomRoutingListenerOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*DescribeCustomRoutingListenerOutput) SetListener added in v1.36.5

SetListener sets the Listener field's value.

func (DescribeCustomRoutingListenerOutput) String added in v1.36.5

String returns the string representation.

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

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

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

func (*DescribeEndpointGroupInput) SetEndpointGroupArn

SetEndpointGroupArn sets the EndpointGroupArn field's value.

func (DescribeEndpointGroupInput) String

String returns the string representation.

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

func (*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.

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

func (*DescribeEndpointGroupOutput) SetEndpointGroup

SetEndpointGroup sets the EndpointGroup field's value.

func (DescribeEndpointGroupOutput) String

String returns the string representation.

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

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

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

func (*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.

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

func (*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.

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

func (*DescribeListenerOutput) SetListener

SetListener sets the Listener field's value.

func (DescribeListenerOutput) String

func (s DescribeListenerOutput) String() string

String returns the string representation.

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

type DestinationPortMapping added in v1.36.5

type DestinationPortMapping struct {

	// The Amazon Resource Name (ARN) of the custom routing accelerator that you
	// have port mappings for.
	AcceleratorArn *string `type:"string"`

	// The IP address/port combinations (sockets) that map to a given destination
	// socket address.
	AcceleratorSocketAddresses []*SocketAddress `type:"list"`

	// The endpoint IP address/port combination for traffic received on the accelerator
	// socket address.
	DestinationSocketAddress *SocketAddress `type:"structure"`

	// Indicates whether or not a port mapping destination can receive traffic.
	// The value is either ALLOW, if traffic is allowed to the destination, or DENY,
	// if traffic is not allowed to the destination.
	DestinationTrafficState *string `type:"string" enum:"CustomRoutingDestinationTrafficState"`

	// The Amazon Resource Name (ARN) of the endpoint group.
	EndpointGroupArn *string `type:"string"`

	// The Amazon Web Services Region for the endpoint group.
	EndpointGroupRegion *string `type:"string"`

	// The ID for the virtual private cloud (VPC) subnet.
	EndpointId *string `type:"string"`

	// The IP address type that an accelerator supports. For a custom routing accelerator,
	// the value must be IPV4.
	IpAddressType *string `type:"string" enum:"IpAddressType"`
	// contains filtered or unexported fields
}

The port mappings for a specified endpoint IP address (destination).

func (DestinationPortMapping) GoString added in v1.36.5

func (s DestinationPortMapping) GoString() string

GoString returns the string representation.

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

func (*DestinationPortMapping) SetAcceleratorArn added in v1.36.5

func (s *DestinationPortMapping) SetAcceleratorArn(v string) *DestinationPortMapping

SetAcceleratorArn sets the AcceleratorArn field's value.

func (*DestinationPortMapping) SetAcceleratorSocketAddresses added in v1.36.5

func (s *DestinationPortMapping) SetAcceleratorSocketAddresses(v []*SocketAddress) *DestinationPortMapping

SetAcceleratorSocketAddresses sets the AcceleratorSocketAddresses field's value.

func (*DestinationPortMapping) SetDestinationSocketAddress added in v1.36.5

func (s *DestinationPortMapping) SetDestinationSocketAddress(v *SocketAddress) *DestinationPortMapping

SetDestinationSocketAddress sets the DestinationSocketAddress field's value.

func (*DestinationPortMapping) SetDestinationTrafficState added in v1.36.5

func (s *DestinationPortMapping) SetDestinationTrafficState(v string) *DestinationPortMapping

SetDestinationTrafficState sets the DestinationTrafficState field's value.

func (*DestinationPortMapping) SetEndpointGroupArn added in v1.36.5

func (s *DestinationPortMapping) SetEndpointGroupArn(v string) *DestinationPortMapping

SetEndpointGroupArn sets the EndpointGroupArn field's value.

func (*DestinationPortMapping) SetEndpointGroupRegion added in v1.36.5

func (s *DestinationPortMapping) SetEndpointGroupRegion(v string) *DestinationPortMapping

SetEndpointGroupRegion sets the EndpointGroupRegion field's value.

func (*DestinationPortMapping) SetEndpointId added in v1.36.5

SetEndpointId sets the EndpointId field's value.

func (*DestinationPortMapping) SetIpAddressType added in v1.36.5

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

SetIpAddressType sets the IpAddressType field's value.

func (DestinationPortMapping) String added in v1.36.5

func (s DestinationPortMapping) String() string

String returns the string representation.

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

type EndpointAlreadyExistsException added in v1.36.5

type EndpointAlreadyExistsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The endpoint that you specified doesn't exist.

func (*EndpointAlreadyExistsException) Code added in v1.36.5

Code returns the exception type name.

func (*EndpointAlreadyExistsException) Error added in v1.36.5

func (EndpointAlreadyExistsException) GoString added in v1.36.5

GoString returns the string representation.

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

func (*EndpointAlreadyExistsException) Message added in v1.36.5

Message returns the exception's message.

func (*EndpointAlreadyExistsException) OrigErr added in v1.36.5

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EndpointAlreadyExistsException) RequestID added in v1.36.5

func (s *EndpointAlreadyExistsException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*EndpointAlreadyExistsException) StatusCode added in v1.36.5

func (s *EndpointAlreadyExistsException) StatusCode() int

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

func (EndpointAlreadyExistsException) String added in v1.36.5

String returns the string representation.

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

type EndpointConfiguration

type EndpointConfiguration struct {

	// The Amazon Resource Name (ARN) of the cross-account attachment that specifies
	// the endpoints (resources) that can be added to accelerators and principals
	// that have permission to add the endpoints.
	AttachmentArn *string `type:"string"`

	// Indicates whether client IP address preservation is enabled for an endpoint.
	// The value is true or false. The default value is true for Application Load
	// Balancer endpoints.
	//
	// 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
	// endpoint fronted by the accelerator.
	//
	// Client IP address preservation is supported, in specific Amazon Web Services
	// Regions, for endpoints that are Application Load Balancers, Amazon EC2 instances,
	// and Network Load Balancers with security groups. IMPORTANT: You cannot use
	// client IP address preservation with Network Load Balancers with TLS listeners.
	//
	// For more information, see Preserve client IP addresses in Global Accelerator
	// (https://docs.aws.amazon.com/global-accelerator/latest/dg/preserve-client-ip-address.html)
	// in the Global Accelerator Developer Guide.
	ClientIPPreservationEnabled *bool `type:"boolean"`

	// An ID for the endpoint. If the endpoint is a Network Load Balancer or Application
	// Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If
	// the endpoint is an Elastic IP address, this is the Elastic IP address allocation
	// ID. For Amazon EC2 instances, this is the EC2 instance ID. A resource must
	// be valid and active when you add it as an endpoint.
	//
	// For cross-account endpoints, this must be the ARN of the resource.
	EndpointId *string `type:"string"`

	// The weight associated with the endpoint. When you add weights to endpoints,
	// you configure 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 Global Accelerator Developer Guide.
	Weight *int64 `type:"integer"`
	// contains filtered or unexported fields
}

A complex type for endpoints. A resource must be valid and active when you add it as an endpoint.

func (EndpointConfiguration) GoString

func (s EndpointConfiguration) GoString() string

GoString returns the string representation.

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

func (*EndpointConfiguration) SetAttachmentArn added in v1.47.1

func (s *EndpointConfiguration) SetAttachmentArn(v string) *EndpointConfiguration

SetAttachmentArn sets the AttachmentArn field's value.

func (*EndpointConfiguration) SetClientIPPreservationEnabled added in v1.23.11

func (s *EndpointConfiguration) SetClientIPPreservationEnabled(v bool) *EndpointConfiguration

SetClientIPPreservationEnabled sets the ClientIPPreservationEnabled field's value.

func (*EndpointConfiguration) SetEndpointId

func (s *EndpointConfiguration) SetEndpointId(v string) *EndpointConfiguration

SetEndpointId sets the EndpointId field's value.

func (*EndpointConfiguration) SetWeight

SetWeight sets the Weight field's value.

func (EndpointConfiguration) String

func (s EndpointConfiguration) String() string

String returns the string representation.

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

type EndpointDescription

type EndpointDescription struct {

	// Indicates whether client IP address preservation is enabled for an endpoint.
	// The value is true or false. The default value is true for Application Load
	// Balancers endpoints.
	//
	// 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
	// endpoint fronted by the accelerator.
	//
	// Client IP address preservation is supported, in specific Amazon Web Services
	// Regions, for endpoints that are Application Load Balancers, Amazon EC2 instances,
	// and Network Load Balancers with security groups. IMPORTANT: You cannot use
	// client IP address preservation with Network Load Balancers with TLS listeners.
	//
	// For more information, see Preserve client IP addresses in Global Accelerator
	// (https://docs.aws.amazon.com/global-accelerator/latest/dg/preserve-client-ip-address.html)
	// in the Global Accelerator Developer Guide.
	ClientIPPreservationEnabled *bool `type:"boolean"`

	// An ID for the endpoint. If the endpoint is a Network Load Balancer or Application
	// Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If
	// the endpoint is an Elastic IP address, this is the Elastic IP address allocation
	// ID. For Amazon EC2 instances, this is the EC2 instance ID.
	//
	// An Application Load Balancer can be either internal or internet-facing.
	EndpointId *string `type:"string"`

	// Returns a null result.
	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 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 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.

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

func (*EndpointDescription) SetClientIPPreservationEnabled added in v1.23.11

func (s *EndpointDescription) SetClientIPPreservationEnabled(v bool) *EndpointDescription

SetClientIPPreservationEnabled sets the ClientIPPreservationEnabled field's value.

func (*EndpointDescription) SetEndpointId

func (s *EndpointDescription) SetEndpointId(v string) *EndpointDescription

SetEndpointId sets the EndpointId field's value.

func (*EndpointDescription) SetHealthReason

func (s *EndpointDescription) SetHealthReason(v string) *EndpointDescription

SetHealthReason sets the HealthReason field's value.

func (*EndpointDescription) SetHealthState

func (s *EndpointDescription) SetHealthState(v string) *EndpointDescription

SetHealthState sets the HealthState field's value.

func (*EndpointDescription) SetWeight

SetWeight sets the Weight field's value.

func (EndpointDescription) String

func (s EndpointDescription) String() string

String returns the string representation.

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

type 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 Amazon Web Services Region where the endpoint group is located.
	EndpointGroupRegion *string `type:"string"`

	// The time—10 seconds or 30 seconds—between health checks for each endpoint.
	// The default value is 30.
	HealthCheckIntervalSeconds *int64 `min:"10" type:"integer"`

	// If the protocol is HTTP/S, then this value provides the ping path that Global
	// Accelerator uses for the destination on the endpoints for health checks.
	// The default is slash (/).
	HealthCheckPath *string `type:"string"`

	// The port that Global Accelerator uses to perform health checks on endpoints
	// that are part of this endpoint group.
	//
	// The default port is the port for the listener that this endpoint group is
	// associated with. If the listener port is a list, Global Accelerator uses
	// the first specified port in the list of ports.
	HealthCheckPort *int64 `min:"1" type:"integer"`

	// The protocol that Global Accelerator uses to perform health checks on endpoints
	// that are part of this endpoint group. The default value is TCP.
	HealthCheckProtocol *string `type:"string" enum:"HealthCheckProtocol"`

	// Allows you to override the destination ports used to route traffic to an
	// endpoint. Using a port override lets you map a list of external destination
	// ports (that your users send traffic to) to a list of internal destination
	// ports that you want an application endpoint to receive traffic on.
	PortOverrides []*PortOverride `type:"list"`

	// The number of consecutive health checks required to set the state of a healthy
	// endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default
	// value is 3.
	ThresholdCount *int64 `min:"1" type:"integer"`

	// The percentage of traffic to send to an Amazon Web Services 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 Amazon Web Services Region can have only one endpoint group for a specific listener.

func (EndpointGroup) GoString

func (s EndpointGroup) GoString() string

GoString returns the string representation.

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

func (*EndpointGroup) SetEndpointDescriptions

func (s *EndpointGroup) SetEndpointDescriptions(v []*EndpointDescription) *EndpointGroup

SetEndpointDescriptions sets the EndpointDescriptions field's value.

func (*EndpointGroup) SetEndpointGroupArn

func (s *EndpointGroup) SetEndpointGroupArn(v string) *EndpointGroup

SetEndpointGroupArn sets the EndpointGroupArn field's value.

func (*EndpointGroup) SetEndpointGroupRegion

func (s *EndpointGroup) SetEndpointGroupRegion(v string) *EndpointGroup

SetEndpointGroupRegion sets the EndpointGroupRegion field's value.

func (*EndpointGroup) SetHealthCheckIntervalSeconds

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

SetHealthCheckIntervalSeconds sets the HealthCheckIntervalSeconds field's value.

func (*EndpointGroup) SetHealthCheckPath

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

SetHealthCheckPath sets the HealthCheckPath field's value.

func (*EndpointGroup) SetHealthCheckPort

func (s *EndpointGroup) SetHealthCheckPort(v int64) *EndpointGroup

SetHealthCheckPort sets the HealthCheckPort field's value.

func (*EndpointGroup) SetHealthCheckProtocol

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

SetHealthCheckProtocol sets the HealthCheckProtocol field's value.

func (*EndpointGroup) SetPortOverrides added in v1.35.12

func (s *EndpointGroup) SetPortOverrides(v []*PortOverride) *EndpointGroup

SetPortOverrides sets the PortOverrides field's value.

func (*EndpointGroup) SetThresholdCount

func (s *EndpointGroup) SetThresholdCount(v int64) *EndpointGroup

SetThresholdCount sets the ThresholdCount field's value.

func (*EndpointGroup) SetTrafficDialPercentage

func (s *EndpointGroup) SetTrafficDialPercentage(v float64) *EndpointGroup

SetTrafficDialPercentage sets the TrafficDialPercentage field's value.

func (EndpointGroup) String

func (s EndpointGroup) String() string

String returns the string representation.

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

type EndpointGroupAlreadyExistsException added in v1.28.0

type EndpointGroupAlreadyExistsException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The endpoint group that you specified already exists.

func (*EndpointGroupAlreadyExistsException) Code added in v1.28.0

Code returns the exception type name.

func (*EndpointGroupAlreadyExistsException) Error added in v1.28.0

func (EndpointGroupAlreadyExistsException) GoString added in v1.28.0

GoString returns the string representation.

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

func (*EndpointGroupAlreadyExistsException) Message added in v1.28.0

Message returns the exception's message.

func (*EndpointGroupAlreadyExistsException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EndpointGroupAlreadyExistsException) RequestID added in v1.28.0

RequestID returns the service's response RequestID for request.

func (*EndpointGroupAlreadyExistsException) StatusCode added in v1.28.0

func (s *EndpointGroupAlreadyExistsException) StatusCode() int

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

func (EndpointGroupAlreadyExistsException) String added in v1.28.0

String returns the string representation.

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

type EndpointGroupNotFoundException added in v1.28.0

type EndpointGroupNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The endpoint group that you specified doesn't exist.

func (*EndpointGroupNotFoundException) Code added in v1.28.0

Code returns the exception type name.

func (*EndpointGroupNotFoundException) Error added in v1.28.0

func (EndpointGroupNotFoundException) GoString added in v1.28.0

GoString returns the string representation.

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

func (*EndpointGroupNotFoundException) Message added in v1.28.0

Message returns the exception's message.

func (*EndpointGroupNotFoundException) OrigErr added in v1.28.0

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EndpointGroupNotFoundException) RequestID added in v1.28.0

func (s *EndpointGroupNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*EndpointGroupNotFoundException) StatusCode added in v1.28.0

func (s *EndpointGroupNotFoundException) StatusCode() int

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

func (EndpointGroupNotFoundException) String added in v1.28.0

String returns the string representation.

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

type EndpointIdentifier added in v1.44.120

type EndpointIdentifier struct {

	// Indicates whether client IP address preservation is enabled for an endpoint.
	// The value is true or false.
	//
	// 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
	// endpoint fronted by the accelerator.
	ClientIPPreservationEnabled *bool `type:"boolean"`

	// An ID for the endpoint. If the endpoint is a Network Load Balancer or Application
	// Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If
	// the endpoint is an Elastic IP address, this is the Elastic IP address allocation
	// ID. For Amazon EC2 instances, this is the EC2 instance ID.
	//
	// An Application Load Balancer can be either internal or internet-facing.
	//
	// EndpointId is a required field
	EndpointId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

A complex type for an endpoint. Specifies information about the endpoint to remove from the endpoint group.

func (EndpointIdentifier) GoString added in v1.44.120

func (s EndpointIdentifier) GoString() string

GoString returns the string representation.

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

func (*EndpointIdentifier) SetClientIPPreservationEnabled added in v1.44.120

func (s *EndpointIdentifier) SetClientIPPreservationEnabled(v bool) *EndpointIdentifier

SetClientIPPreservationEnabled sets the ClientIPPreservationEnabled field's value.

func (*EndpointIdentifier) SetEndpointId added in v1.44.120

func (s *EndpointIdentifier) SetEndpointId(v string) *EndpointIdentifier

SetEndpointId sets the EndpointId field's value.

func (EndpointIdentifier) String added in v1.44.120

func (s EndpointIdentifier) String() string

String returns the string representation.

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

func (*EndpointIdentifier) Validate added in v1.44.120

func (s *EndpointIdentifier) Validate() error

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

type EndpointNotFoundException added in v1.36.5

type EndpointNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The endpoint that you specified doesn't exist.

func (*EndpointNotFoundException) Code added in v1.36.5

Code returns the exception type name.

func (*EndpointNotFoundException) Error added in v1.36.5

func (s *EndpointNotFoundException) Error() string

func (EndpointNotFoundException) GoString added in v1.36.5

func (s EndpointNotFoundException) GoString() string

GoString returns the string representation.

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

func (*EndpointNotFoundException) Message added in v1.36.5

func (s *EndpointNotFoundException) Message() string

Message returns the exception's message.

func (*EndpointNotFoundException) OrigErr added in v1.36.5

func (s *EndpointNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*EndpointNotFoundException) RequestID added in v1.36.5

func (s *EndpointNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*EndpointNotFoundException) StatusCode added in v1.36.5

func (s *EndpointNotFoundException) StatusCode() int

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

func (EndpointNotFoundException) String added in v1.36.5

func (s EndpointNotFoundException) String() string

String returns the string representation.

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

type 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

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) AddCustomRoutingEndpoints added in v1.36.5

AddCustomRoutingEndpoints API operation for AWS Global Accelerator.

Associate a virtual private cloud (VPC) subnet endpoint with your custom routing accelerator.

The listener port range must be large enough to support the number of IP addresses that can be specified in your subnet. The number of ports required is: subnet size times the number of ports per destination EC2 instances. For example, a subnet defined as /24 requires a listener port range of at least 255 ports.

Note: You must have enough remaining listener ports available to map to the subnet ports, or the call will fail with a LimitExceededException.

By default, all destinations in a subnet in a custom routing accelerator cannot receive traffic. To enable all destinations to receive traffic, or to specify individual port mappings that can receive traffic, see the AllowCustomRoutingTraffic (https://docs.aws.amazon.com/global-accelerator/latest/api/API_AllowCustomRoutingTraffic.html) operation.

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 AddCustomRoutingEndpoints for usage and error information.

Returned Error Types:

  • EndpointAlreadyExistsException The endpoint that you specified doesn't exist.

  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.

  • InternalServiceErrorException There was an internal error for Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit.

  • AccessDeniedException You don't have access permission.

  • ConflictException You can't use both of those options.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AddCustomRoutingEndpoints

func (*GlobalAccelerator) AddCustomRoutingEndpointsRequest added in v1.36.5

func (c *GlobalAccelerator) AddCustomRoutingEndpointsRequest(input *AddCustomRoutingEndpointsInput) (req *request.Request, output *AddCustomRoutingEndpointsOutput)

AddCustomRoutingEndpointsRequest generates a "aws/request.Request" representing the client's request for the AddCustomRoutingEndpoints 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 AddCustomRoutingEndpoints for more information on using the AddCustomRoutingEndpoints 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 AddCustomRoutingEndpointsRequest method.
req, resp := client.AddCustomRoutingEndpointsRequest(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/AddCustomRoutingEndpoints

func (*GlobalAccelerator) AddCustomRoutingEndpointsWithContext added in v1.36.5

func (c *GlobalAccelerator) AddCustomRoutingEndpointsWithContext(ctx aws.Context, input *AddCustomRoutingEndpointsInput, opts ...request.Option) (*AddCustomRoutingEndpointsOutput, error)

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

See AddCustomRoutingEndpoints 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) AddEndpoints added in v1.44.120

func (c *GlobalAccelerator) AddEndpoints(input *AddEndpointsInput) (*AddEndpointsOutput, error)

AddEndpoints API operation for AWS Global Accelerator.

Add endpoints to an endpoint group. The AddEndpoints API operation is the recommended option for adding endpoints. The alternative options are to add endpoints when you create an endpoint group (with the CreateEndpointGroup (https://docs.aws.amazon.com/global-accelerator/latest/api/API_CreateEndpointGroup.html) API) or when you update an endpoint group (with the UpdateEndpointGroup (https://docs.aws.amazon.com/global-accelerator/latest/api/API_UpdateEndpointGroup.html) API).

There are two advantages to using AddEndpoints to add endpoints in Global Accelerator:

  • It's faster, because Global Accelerator only has to resolve the new endpoints that you're adding, rather than resolving new and existing endpoints.

  • It's more convenient, because you don't need to specify the current endpoints that are already in the endpoint group, in addition to the new endpoints that you want to add.

For information about endpoint types and requirements for endpoints that you can add to Global Accelerator, see Endpoints for standard accelerators (https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoints.html) in the 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 AddEndpoints for usage and error information.

Returned Error Types:

  • TransactionInProgressException There's already a transaction in progress. Another transaction can't be processed.

  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.

  • InternalServiceErrorException There was an internal error for Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit.

  • AccessDeniedException You don't have access permission.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AddEndpoints

func (*GlobalAccelerator) AddEndpointsRequest added in v1.44.120

func (c *GlobalAccelerator) AddEndpointsRequest(input *AddEndpointsInput) (req *request.Request, output *AddEndpointsOutput)

AddEndpointsRequest generates a "aws/request.Request" representing the client's request for the AddEndpoints 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 AddEndpoints for more information on using the AddEndpoints 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 AddEndpointsRequest method.
req, resp := client.AddEndpointsRequest(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/AddEndpoints

func (*GlobalAccelerator) AddEndpointsWithContext added in v1.44.120

func (c *GlobalAccelerator) AddEndpointsWithContext(ctx aws.Context, input *AddEndpointsInput, opts ...request.Option) (*AddEndpointsOutput, error)

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

See AddEndpoints 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) AdvertiseByoipCidr added in v1.29.12

func (c *GlobalAccelerator) AdvertiseByoipCidr(input *AdvertiseByoipCidrInput) (*AdvertiseByoipCidrOutput, error)

AdvertiseByoipCidr API operation for AWS Global Accelerator.

Advertises an IPv4 address range that is provisioned for use with your Amazon Web Services resources through bring your own IP addresses (BYOIP). It can take a few minutes before traffic to the specified addresses starts routing to Amazon Web Services because of propagation delays.

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

  • InvalidArgumentException An argument that you specified is invalid.

  • AccessDeniedException You don't have access permission.

  • ByoipCidrNotFoundException The CIDR that you specified was not found or is incorrect.

  • IncorrectCidrStateException The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be incorrect for this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AdvertiseByoipCidr

func (*GlobalAccelerator) AdvertiseByoipCidrRequest added in v1.29.12

func (c *GlobalAccelerator) AdvertiseByoipCidrRequest(input *AdvertiseByoipCidrInput) (req *request.Request, output *AdvertiseByoipCidrOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AdvertiseByoipCidr

func (*GlobalAccelerator) AdvertiseByoipCidrWithContext added in v1.29.12

func (c *GlobalAccelerator) AdvertiseByoipCidrWithContext(ctx aws.Context, input *AdvertiseByoipCidrInput, opts ...request.Option) (*AdvertiseByoipCidrOutput, error)

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

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

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

func (*GlobalAccelerator) AllowCustomRoutingTraffic added in v1.36.5

AllowCustomRoutingTraffic API operation for AWS Global Accelerator.

Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that can receive traffic for a custom routing accelerator. You can allow traffic to all destinations in the subnet endpoint, or allow traffic to a specified list of destination IP addresses and ports in the subnet. Note that you cannot specify IP addresses or ports outside of the range that you configured for the endpoint group.

After you make changes, you can verify that the updates are complete by checking the status of your accelerator: the status changes from IN_PROGRESS to DEPLOYED.

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 AllowCustomRoutingTraffic for usage and error information.

Returned Error Types:

  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.

  • InvalidArgumentException An argument that you specified is invalid.

  • InternalServiceErrorException There was an internal error for Global Accelerator.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AllowCustomRoutingTraffic

func (*GlobalAccelerator) AllowCustomRoutingTrafficRequest added in v1.36.5

func (c *GlobalAccelerator) AllowCustomRoutingTrafficRequest(input *AllowCustomRoutingTrafficInput) (req *request.Request, output *AllowCustomRoutingTrafficOutput)

AllowCustomRoutingTrafficRequest generates a "aws/request.Request" representing the client's request for the AllowCustomRoutingTraffic 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 AllowCustomRoutingTraffic for more information on using the AllowCustomRoutingTraffic 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 AllowCustomRoutingTrafficRequest method.
req, resp := client.AllowCustomRoutingTrafficRequest(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/AllowCustomRoutingTraffic

func (*GlobalAccelerator) AllowCustomRoutingTrafficWithContext added in v1.36.5

func (c *GlobalAccelerator) AllowCustomRoutingTrafficWithContext(ctx aws.Context, input *AllowCustomRoutingTrafficInput, opts ...request.Option) (*AllowCustomRoutingTrafficOutput, error)

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

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

Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2 on Amazon Web Services CLI commands.

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

  • InvalidArgumentException An argument that you specified is invalid.

  • LimitExceededException Processing your request would cause you to exceed an 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) CreateCrossAccountAttachment added in v1.47.1

CreateCrossAccountAttachment API operation for AWS Global Accelerator.

Create a cross-account attachment in Global Accelerator. You create a cross-account attachment to specify the principals who have permission to work with resources in accelerators in their own account. You specify, in the same attachment, the resources that are shared.

A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator. For account numbers that are listed as principals, to work with a resource listed in the attachment, you must sign in to an account specified as a principal. Then, you can work with resources that are listed, with any of your accelerators. If an accelerator ARN is listed in the cross-account attachment as a principal, anyone with permission to make updates to the accelerator can work with resources that are listed in the attachment.

Specify each principal and resource separately. To specify two CIDR address pools, list them individually under Resources, and so on. For a command line operation, for example, you might use a statement like the following:

"Resources": [{"Cidr": "169.254.60.0/24"},{"Cidr": "169.254.59.0/24"}]

For more information, see Working with cross-account attachments and resources in Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html) in the 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 CreateCrossAccountAttachment for usage and error information.

Returned Error Types:

  • InternalServiceErrorException There was an internal error for Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit.

  • AccessDeniedException You don't have access permission.

  • TransactionInProgressException There's already a transaction in progress. Another transaction can't be processed.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateCrossAccountAttachment

func (*GlobalAccelerator) CreateCrossAccountAttachmentRequest added in v1.47.1

func (c *GlobalAccelerator) CreateCrossAccountAttachmentRequest(input *CreateCrossAccountAttachmentInput) (req *request.Request, output *CreateCrossAccountAttachmentOutput)

CreateCrossAccountAttachmentRequest generates a "aws/request.Request" representing the client's request for the CreateCrossAccountAttachment 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 CreateCrossAccountAttachment for more information on using the CreateCrossAccountAttachment 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 CreateCrossAccountAttachmentRequest method.
req, resp := client.CreateCrossAccountAttachmentRequest(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/CreateCrossAccountAttachment

func (*GlobalAccelerator) CreateCrossAccountAttachmentWithContext added in v1.47.1

func (c *GlobalAccelerator) CreateCrossAccountAttachmentWithContext(ctx aws.Context, input *CreateCrossAccountAttachmentInput, opts ...request.Option) (*CreateCrossAccountAttachmentOutput, error)

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

See CreateCrossAccountAttachment 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) CreateCustomRoutingAccelerator added in v1.36.5

CreateCustomRoutingAccelerator API operation for AWS Global Accelerator.

Create a custom routing accelerator. A custom routing accelerator directs traffic to one of possibly thousands of Amazon EC2 instance destinations running in a single or multiple virtual private clouds (VPC) subnet endpoints.

Be aware that, by default, all destination EC2 instances in a VPC subnet endpoint cannot receive traffic. To enable all destinations to receive traffic, or to specify individual port mappings that can receive traffic, see the AllowCustomRoutingTraffic (https://docs.aws.amazon.com/global-accelerator/latest/api/API_AllowCustomRoutingTraffic.html) operation.

Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2 on Amazon Web Services CLI commands.

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 CreateCustomRoutingAccelerator for usage and error information.

Returned Error Types:

  • InternalServiceErrorException There was an internal error for Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit.

  • AccessDeniedException You don't have access permission.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateCustomRoutingAccelerator

func (*GlobalAccelerator) CreateCustomRoutingAcceleratorRequest added in v1.36.5

func (c *GlobalAccelerator) CreateCustomRoutingAcceleratorRequest(input *CreateCustomRoutingAcceleratorInput) (req *request.Request, output *CreateCustomRoutingAcceleratorOutput)

CreateCustomRoutingAcceleratorRequest generates a "aws/request.Request" representing the client's request for the CreateCustomRoutingAccelerator 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 CreateCustomRoutingAccelerator for more information on using the CreateCustomRoutingAccelerator 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 CreateCustomRoutingAcceleratorRequest method.
req, resp := client.CreateCustomRoutingAcceleratorRequest(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/CreateCustomRoutingAccelerator

func (*GlobalAccelerator) CreateCustomRoutingAcceleratorWithContext added in v1.36.5

func (c *GlobalAccelerator) CreateCustomRoutingAcceleratorWithContext(ctx aws.Context, input *CreateCustomRoutingAcceleratorInput, opts ...request.Option) (*CreateCustomRoutingAcceleratorOutput, error)

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

See CreateCustomRoutingAccelerator 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) CreateCustomRoutingEndpointGroup added in v1.36.5

CreateCustomRoutingEndpointGroup API operation for AWS Global Accelerator.

Create an endpoint group for the specified listener for a custom routing accelerator. An endpoint group is a collection of endpoints in one Amazon Web Services Region.

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 CreateCustomRoutingEndpointGroup 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 Global Accelerator.

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

  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit.

  • AccessDeniedException You don't have access permission.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateCustomRoutingEndpointGroup

func (*GlobalAccelerator) CreateCustomRoutingEndpointGroupRequest added in v1.36.5

func (c *GlobalAccelerator) CreateCustomRoutingEndpointGroupRequest(input *CreateCustomRoutingEndpointGroupInput) (req *request.Request, output *CreateCustomRoutingEndpointGroupOutput)

CreateCustomRoutingEndpointGroupRequest generates a "aws/request.Request" representing the client's request for the CreateCustomRoutingEndpointGroup 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 CreateCustomRoutingEndpointGroup for more information on using the CreateCustomRoutingEndpointGroup 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 CreateCustomRoutingEndpointGroupRequest method.
req, resp := client.CreateCustomRoutingEndpointGroupRequest(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/CreateCustomRoutingEndpointGroup

func (*GlobalAccelerator) CreateCustomRoutingEndpointGroupWithContext added in v1.36.5

func (c *GlobalAccelerator) CreateCustomRoutingEndpointGroupWithContext(ctx aws.Context, input *CreateCustomRoutingEndpointGroupInput, opts ...request.Option) (*CreateCustomRoutingEndpointGroupOutput, error)

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

See CreateCustomRoutingEndpointGroup 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) CreateCustomRoutingListener added in v1.36.5

CreateCustomRoutingListener API operation for AWS Global Accelerator.

Create a listener to process inbound connections from clients to a custom routing accelerator. Connections arrive to assigned static IP addresses on the port range that you specify.

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 CreateCustomRoutingListener 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 Global Accelerator.

  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateCustomRoutingListener

func (*GlobalAccelerator) CreateCustomRoutingListenerRequest added in v1.36.5

func (c *GlobalAccelerator) CreateCustomRoutingListenerRequest(input *CreateCustomRoutingListenerInput) (req *request.Request, output *CreateCustomRoutingListenerOutput)

CreateCustomRoutingListenerRequest generates a "aws/request.Request" representing the client's request for the CreateCustomRoutingListener 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 CreateCustomRoutingListener for more information on using the CreateCustomRoutingListener 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 CreateCustomRoutingListenerRequest method.
req, resp := client.CreateCustomRoutingListenerRequest(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/CreateCustomRoutingListener

func (*GlobalAccelerator) CreateCustomRoutingListenerWithContext added in v1.36.5

func (c *GlobalAccelerator) CreateCustomRoutingListenerWithContext(ctx aws.Context, input *CreateCustomRoutingListenerInput, opts ...request.Option) (*CreateCustomRoutingListenerOutput, error)

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

See CreateCustomRoutingListener 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

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 Amazon Web Services Region. A resource must be valid and active when you add it as an endpoint.

For more information about endpoint types and requirements for endpoints that you can add to Global Accelerator, see Endpoints for standard accelerators (https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoints.html) in the 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 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 Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

  • LimitExceededException Processing your request would cause you to exceed an 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.

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

  • LimitExceededException Processing your request would cause you to exceed an 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 Identity and access management (https://docs.aws.amazon.com/global-accelerator/latest/dg/auth-and-access-control.html) in the 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 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) DeleteCrossAccountAttachment added in v1.47.1

DeleteCrossAccountAttachment API operation for AWS Global Accelerator.

Delete a cross-account attachment. When you delete an attachment, Global Accelerator revokes the permission to use the resources in the attachment from all principals in the list of principals. Global Accelerator revokes the permission for specific resources.

For more information, see Working with cross-account attachments and resources in Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html) in the 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 DeleteCrossAccountAttachment for usage and error information.

Returned Error Types:

  • AttachmentNotFoundException No cross-account attachment was found.

  • AccessDeniedException You don't have access permission.

  • InternalServiceErrorException There was an internal error for Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

  • TransactionInProgressException There's already a transaction in progress. Another transaction can't be processed.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteCrossAccountAttachment

func (*GlobalAccelerator) DeleteCrossAccountAttachmentRequest added in v1.47.1

func (c *GlobalAccelerator) DeleteCrossAccountAttachmentRequest(input *DeleteCrossAccountAttachmentInput) (req *request.Request, output *DeleteCrossAccountAttachmentOutput)

DeleteCrossAccountAttachmentRequest generates a "aws/request.Request" representing the client's request for the DeleteCrossAccountAttachment 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 DeleteCrossAccountAttachment for more information on using the DeleteCrossAccountAttachment 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 DeleteCrossAccountAttachmentRequest method.
req, resp := client.DeleteCrossAccountAttachmentRequest(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/DeleteCrossAccountAttachment

func (*GlobalAccelerator) DeleteCrossAccountAttachmentWithContext added in v1.47.1

func (c *GlobalAccelerator) DeleteCrossAccountAttachmentWithContext(ctx aws.Context, input *DeleteCrossAccountAttachmentInput, opts ...request.Option) (*DeleteCrossAccountAttachmentOutput, error)

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

See DeleteCrossAccountAttachment 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) DeleteCustomRoutingAccelerator added in v1.36.5

DeleteCustomRoutingAccelerator API operation for AWS Global Accelerator.

Delete a custom routing 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 a custom routing accelerator, by default, Global Accelerator provides you with a set of two static IP addresses.

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 Identity and access management (https://docs.aws.amazon.com/global-accelerator/latest/dg/auth-and-access-control.html) in the 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 DeleteCustomRoutingAccelerator 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 Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteCustomRoutingAccelerator

func (*GlobalAccelerator) DeleteCustomRoutingAcceleratorRequest added in v1.36.5

func (c *GlobalAccelerator) DeleteCustomRoutingAcceleratorRequest(input *DeleteCustomRoutingAcceleratorInput) (req *request.Request, output *DeleteCustomRoutingAcceleratorOutput)

DeleteCustomRoutingAcceleratorRequest generates a "aws/request.Request" representing the client's request for the DeleteCustomRoutingAccelerator 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 DeleteCustomRoutingAccelerator for more information on using the DeleteCustomRoutingAccelerator 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 DeleteCustomRoutingAcceleratorRequest method.
req, resp := client.DeleteCustomRoutingAcceleratorRequest(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/DeleteCustomRoutingAccelerator

func (*GlobalAccelerator) DeleteCustomRoutingAcceleratorWithContext added in v1.36.5

func (c *GlobalAccelerator) DeleteCustomRoutingAcceleratorWithContext(ctx aws.Context, input *DeleteCustomRoutingAcceleratorInput, opts ...request.Option) (*DeleteCustomRoutingAcceleratorOutput, error)

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

See DeleteCustomRoutingAccelerator 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) DeleteCustomRoutingEndpointGroup added in v1.36.5

DeleteCustomRoutingEndpointGroup API operation for AWS Global Accelerator.

Delete an endpoint group from a listener for a custom routing 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 DeleteCustomRoutingEndpointGroup 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 Global Accelerator.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteCustomRoutingEndpointGroup

func (*GlobalAccelerator) DeleteCustomRoutingEndpointGroupRequest added in v1.36.5

func (c *GlobalAccelerator) DeleteCustomRoutingEndpointGroupRequest(input *DeleteCustomRoutingEndpointGroupInput) (req *request.Request, output *DeleteCustomRoutingEndpointGroupOutput)

DeleteCustomRoutingEndpointGroupRequest generates a "aws/request.Request" representing the client's request for the DeleteCustomRoutingEndpointGroup 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 DeleteCustomRoutingEndpointGroup for more information on using the DeleteCustomRoutingEndpointGroup 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 DeleteCustomRoutingEndpointGroupRequest method.
req, resp := client.DeleteCustomRoutingEndpointGroupRequest(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/DeleteCustomRoutingEndpointGroup

func (*GlobalAccelerator) DeleteCustomRoutingEndpointGroupWithContext added in v1.36.5

func (c *GlobalAccelerator) DeleteCustomRoutingEndpointGroupWithContext(ctx aws.Context, input *DeleteCustomRoutingEndpointGroupInput, opts ...request.Option) (*DeleteCustomRoutingEndpointGroupOutput, error)

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

See DeleteCustomRoutingEndpointGroup 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) DeleteCustomRoutingListener added in v1.36.5

DeleteCustomRoutingListener API operation for AWS Global Accelerator.

Delete a listener for a custom routing 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 DeleteCustomRoutingListener 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 Global Accelerator.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteCustomRoutingListener

func (*GlobalAccelerator) DeleteCustomRoutingListenerRequest added in v1.36.5

func (c *GlobalAccelerator) DeleteCustomRoutingListenerRequest(input *DeleteCustomRoutingListenerInput) (req *request.Request, output *DeleteCustomRoutingListenerOutput)

DeleteCustomRoutingListenerRequest generates a "aws/request.Request" representing the client's request for the DeleteCustomRoutingListener 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 DeleteCustomRoutingListener for more information on using the DeleteCustomRoutingListener 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 DeleteCustomRoutingListenerRequest method.
req, resp := client.DeleteCustomRoutingListenerRequest(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/DeleteCustomRoutingListener

func (*GlobalAccelerator) DeleteCustomRoutingListenerWithContext added in v1.36.5

func (c *GlobalAccelerator) DeleteCustomRoutingListenerWithContext(ctx aws.Context, input *DeleteCustomRoutingListenerInput, opts ...request.Option) (*DeleteCustomRoutingListenerOutput, error)

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

See DeleteCustomRoutingListener 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

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 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 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) DenyCustomRoutingTraffic added in v1.36.5

DenyCustomRoutingTraffic API operation for AWS Global Accelerator.

Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that cannot receive traffic for a custom routing accelerator. You can deny traffic to all destinations in the VPC endpoint, or deny traffic to a specified list of destination IP addresses and ports. Note that you cannot specify IP addresses or ports outside of the range that you configured for the endpoint group.

After you make changes, you can verify that the updates are complete by checking the status of your accelerator: the status changes from IN_PROGRESS to DEPLOYED.

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 DenyCustomRoutingTraffic for usage and error information.

Returned Error Types:

  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.

  • InvalidArgumentException An argument that you specified is invalid.

  • InternalServiceErrorException There was an internal error for Global Accelerator.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DenyCustomRoutingTraffic

func (*GlobalAccelerator) DenyCustomRoutingTrafficRequest added in v1.36.5

func (c *GlobalAccelerator) DenyCustomRoutingTrafficRequest(input *DenyCustomRoutingTrafficInput) (req *request.Request, output *DenyCustomRoutingTrafficOutput)

DenyCustomRoutingTrafficRequest generates a "aws/request.Request" representing the client's request for the DenyCustomRoutingTraffic 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 DenyCustomRoutingTraffic for more information on using the DenyCustomRoutingTraffic 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 DenyCustomRoutingTrafficRequest method.
req, resp := client.DenyCustomRoutingTrafficRequest(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/DenyCustomRoutingTraffic

func (*GlobalAccelerator) DenyCustomRoutingTrafficWithContext added in v1.36.5

func (c *GlobalAccelerator) DenyCustomRoutingTrafficWithContext(ctx aws.Context, input *DenyCustomRoutingTrafficInput, opts ...request.Option) (*DenyCustomRoutingTrafficOutput, error)

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

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

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

func (*GlobalAccelerator) DeprovisionByoipCidr added in v1.29.12

DeprovisionByoipCidr API operation for AWS Global Accelerator.

Releases the specified address range that you provisioned to use with your Amazon Web Services resources through bring your own IP addresses (BYOIP) and deletes the corresponding address pool.

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

  • InvalidArgumentException An argument that you specified is invalid.

  • AccessDeniedException You don't have access permission.

  • ByoipCidrNotFoundException The CIDR that you specified was not found or is incorrect.

  • IncorrectCidrStateException The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be incorrect for this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeprovisionByoipCidr

func (*GlobalAccelerator) DeprovisionByoipCidrRequest added in v1.29.12

func (c *GlobalAccelerator) DeprovisionByoipCidrRequest(input *DeprovisionByoipCidrInput) (req *request.Request, output *DeprovisionByoipCidrOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeprovisionByoipCidr

func (*GlobalAccelerator) DeprovisionByoipCidrWithContext added in v1.29.12

func (c *GlobalAccelerator) DeprovisionByoipCidrWithContext(ctx aws.Context, input *DeprovisionByoipCidrInput, opts ...request.Option) (*DeprovisionByoipCidrOutput, error)

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

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

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

func (*GlobalAccelerator) DescribeAccelerator

DescribeAccelerator API operation for AWS Global Accelerator.

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

DescribeAcceleratorAttributes API operation for AWS Global Accelerator.

Describe the attributes of 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 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 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) DescribeCrossAccountAttachment added in v1.47.1

DescribeCrossAccountAttachment API operation for AWS Global Accelerator.

Gets configuration information about a cross-account attachment.

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 DescribeCrossAccountAttachment for usage and error information.

Returned Error Types:

  • AttachmentNotFoundException No cross-account attachment was found.

  • AccessDeniedException You don't have access permission.

  • InternalServiceErrorException There was an internal error for Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeCrossAccountAttachment

func (*GlobalAccelerator) DescribeCrossAccountAttachmentRequest added in v1.47.1

func (c *GlobalAccelerator) DescribeCrossAccountAttachmentRequest(input *DescribeCrossAccountAttachmentInput) (req *request.Request, output *DescribeCrossAccountAttachmentOutput)

DescribeCrossAccountAttachmentRequest generates a "aws/request.Request" representing the client's request for the DescribeCrossAccountAttachment 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 DescribeCrossAccountAttachment for more information on using the DescribeCrossAccountAttachment 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 DescribeCrossAccountAttachmentRequest method.
req, resp := client.DescribeCrossAccountAttachmentRequest(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/DescribeCrossAccountAttachment

func (*GlobalAccelerator) DescribeCrossAccountAttachmentWithContext added in v1.47.1

func (c *GlobalAccelerator) DescribeCrossAccountAttachmentWithContext(ctx aws.Context, input *DescribeCrossAccountAttachmentInput, opts ...request.Option) (*DescribeCrossAccountAttachmentOutput, error)

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

See DescribeCrossAccountAttachment 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) DescribeCustomRoutingAccelerator added in v1.36.5

DescribeCustomRoutingAccelerator API operation for AWS Global Accelerator.

Describe a custom routing 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 DescribeCustomRoutingAccelerator for usage and error information.

Returned Error Types:

  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.

  • InternalServiceErrorException There was an internal error for Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeCustomRoutingAccelerator

func (*GlobalAccelerator) DescribeCustomRoutingAcceleratorAttributes added in v1.36.5

DescribeCustomRoutingAcceleratorAttributes API operation for AWS Global Accelerator.

Describe the attributes of a custom routing 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 DescribeCustomRoutingAcceleratorAttributes for usage and error information.

Returned Error Types:

  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.

  • InternalServiceErrorException There was an internal error for Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeCustomRoutingAcceleratorAttributes

func (*GlobalAccelerator) DescribeCustomRoutingAcceleratorAttributesRequest added in v1.36.5

func (c *GlobalAccelerator) DescribeCustomRoutingAcceleratorAttributesRequest(input *DescribeCustomRoutingAcceleratorAttributesInput) (req *request.Request, output *DescribeCustomRoutingAcceleratorAttributesOutput)

DescribeCustomRoutingAcceleratorAttributesRequest generates a "aws/request.Request" representing the client's request for the DescribeCustomRoutingAcceleratorAttributes 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 DescribeCustomRoutingAcceleratorAttributes for more information on using the DescribeCustomRoutingAcceleratorAttributes 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 DescribeCustomRoutingAcceleratorAttributesRequest method.
req, resp := client.DescribeCustomRoutingAcceleratorAttributesRequest(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/DescribeCustomRoutingAcceleratorAttributes

func (*GlobalAccelerator) DescribeCustomRoutingAcceleratorAttributesWithContext added in v1.36.5

func (c *GlobalAccelerator) DescribeCustomRoutingAcceleratorAttributesWithContext(ctx aws.Context, input *DescribeCustomRoutingAcceleratorAttributesInput, opts ...request.Option) (*DescribeCustomRoutingAcceleratorAttributesOutput, error)

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

See DescribeCustomRoutingAcceleratorAttributes 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) DescribeCustomRoutingAcceleratorRequest added in v1.36.5

func (c *GlobalAccelerator) DescribeCustomRoutingAcceleratorRequest(input *DescribeCustomRoutingAcceleratorInput) (req *request.Request, output *DescribeCustomRoutingAcceleratorOutput)

DescribeCustomRoutingAcceleratorRequest generates a "aws/request.Request" representing the client's request for the DescribeCustomRoutingAccelerator 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 DescribeCustomRoutingAccelerator for more information on using the DescribeCustomRoutingAccelerator 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 DescribeCustomRoutingAcceleratorRequest method.
req, resp := client.DescribeCustomRoutingAcceleratorRequest(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/DescribeCustomRoutingAccelerator

func (*GlobalAccelerator) DescribeCustomRoutingAcceleratorWithContext added in v1.36.5

func (c *GlobalAccelerator) DescribeCustomRoutingAcceleratorWithContext(ctx aws.Context, input *DescribeCustomRoutingAcceleratorInput, opts ...request.Option) (*DescribeCustomRoutingAcceleratorOutput, error)

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

See DescribeCustomRoutingAccelerator 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) DescribeCustomRoutingEndpointGroup added in v1.36.5

DescribeCustomRoutingEndpointGroup API operation for AWS Global Accelerator.

Describe an endpoint group for a custom routing 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 DescribeCustomRoutingEndpointGroup 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 Global Accelerator.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeCustomRoutingEndpointGroup

func (*GlobalAccelerator) DescribeCustomRoutingEndpointGroupRequest added in v1.36.5

func (c *GlobalAccelerator) DescribeCustomRoutingEndpointGroupRequest(input *DescribeCustomRoutingEndpointGroupInput) (req *request.Request, output *DescribeCustomRoutingEndpointGroupOutput)

DescribeCustomRoutingEndpointGroupRequest generates a "aws/request.Request" representing the client's request for the DescribeCustomRoutingEndpointGroup 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 DescribeCustomRoutingEndpointGroup for more information on using the DescribeCustomRoutingEndpointGroup 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 DescribeCustomRoutingEndpointGroupRequest method.
req, resp := client.DescribeCustomRoutingEndpointGroupRequest(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/DescribeCustomRoutingEndpointGroup

func (*GlobalAccelerator) DescribeCustomRoutingEndpointGroupWithContext added in v1.36.5

func (c *GlobalAccelerator) DescribeCustomRoutingEndpointGroupWithContext(ctx aws.Context, input *DescribeCustomRoutingEndpointGroupInput, opts ...request.Option) (*DescribeCustomRoutingEndpointGroupOutput, error)

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

See DescribeCustomRoutingEndpointGroup 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) DescribeCustomRoutingListener added in v1.36.5

DescribeCustomRoutingListener API operation for AWS Global Accelerator.

The description of a listener for a custom routing 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 DescribeCustomRoutingListener 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 Global Accelerator.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeCustomRoutingListener

func (*GlobalAccelerator) DescribeCustomRoutingListenerRequest added in v1.36.5

func (c *GlobalAccelerator) DescribeCustomRoutingListenerRequest(input *DescribeCustomRoutingListenerInput) (req *request.Request, output *DescribeCustomRoutingListenerOutput)

DescribeCustomRoutingListenerRequest generates a "aws/request.Request" representing the client's request for the DescribeCustomRoutingListener 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 DescribeCustomRoutingListener for more information on using the DescribeCustomRoutingListener 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 DescribeCustomRoutingListenerRequest method.
req, resp := client.DescribeCustomRoutingListenerRequest(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/DescribeCustomRoutingListener

func (*GlobalAccelerator) DescribeCustomRoutingListenerWithContext added in v1.36.5

func (c *GlobalAccelerator) DescribeCustomRoutingListenerWithContext(ctx aws.Context, input *DescribeCustomRoutingListenerInput, opts ...request.Option) (*DescribeCustomRoutingListenerOutput, error)

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

See DescribeCustomRoutingListener 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

DescribeEndpointGroup API operation for AWS Global Accelerator.

Describe an endpoint group.

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

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 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 Amazon Web Services account.

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

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListAccelerators

func (*GlobalAccelerator) ListAcceleratorsPages added in v1.36.5

func (c *GlobalAccelerator) ListAcceleratorsPages(input *ListAcceleratorsInput, fn func(*ListAcceleratorsOutput, bool) bool) error

ListAcceleratorsPages iterates over the pages of a ListAccelerators operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListAccelerators method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListAccelerators operation.
pageNum := 0
err := client.ListAcceleratorsPages(params,
    func(page *globalaccelerator.ListAcceleratorsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*GlobalAccelerator) ListAcceleratorsPagesWithContext added in v1.36.5

func (c *GlobalAccelerator) ListAcceleratorsPagesWithContext(ctx aws.Context, input *ListAcceleratorsInput, fn func(*ListAcceleratorsOutput, bool) bool, opts ...request.Option) error

ListAcceleratorsPagesWithContext same as ListAcceleratorsPages except it takes a Context and allows setting request options on the pages.

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

func (c *GlobalAccelerator) ListAcceleratorsRequest(input *ListAcceleratorsInput) (req *request.Request, output *ListAcceleratorsOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListAccelerators

func (*GlobalAccelerator) ListAcceleratorsWithContext

func (c *GlobalAccelerator) ListAcceleratorsWithContext(ctx aws.Context, input *ListAcceleratorsInput, opts ...request.Option) (*ListAcceleratorsOutput, error)

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

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

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

func (*GlobalAccelerator) ListByoipCidrs added in v1.29.12

func (c *GlobalAccelerator) ListByoipCidrs(input *ListByoipCidrsInput) (*ListByoipCidrsOutput, error)

ListByoipCidrs API operation for AWS Global Accelerator.

Lists the IP address ranges that were specified in calls to ProvisionByoipCidr (https://docs.aws.amazon.com/global-accelerator/latest/api/ProvisionByoipCidr.html), including the current state and a history of state changes.

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 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) ListByoipCidrsPages added in v1.36.8

func (c *GlobalAccelerator) ListByoipCidrsPages(input *ListByoipCidrsInput, fn func(*ListByoipCidrsOutput, bool) bool) error

ListByoipCidrsPages iterates over the pages of a ListByoipCidrs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListByoipCidrs method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListByoipCidrs operation.
pageNum := 0
err := client.ListByoipCidrsPages(params,
    func(page *globalaccelerator.ListByoipCidrsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*GlobalAccelerator) ListByoipCidrsPagesWithContext added in v1.36.8

func (c *GlobalAccelerator) ListByoipCidrsPagesWithContext(ctx aws.Context, input *ListByoipCidrsInput, fn func(*ListByoipCidrsOutput, bool) bool, opts ...request.Option) error

ListByoipCidrsPagesWithContext same as ListByoipCidrsPages except it takes a Context and allows setting request options on the pages.

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) ListByoipCidrsRequest added in v1.29.12

func (c *GlobalAccelerator) ListByoipCidrsRequest(input *ListByoipCidrsInput) (req *request.Request, output *ListByoipCidrsOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListByoipCidrs

func (*GlobalAccelerator) ListByoipCidrsWithContext added in v1.29.12

func (c *GlobalAccelerator) ListByoipCidrsWithContext(ctx aws.Context, input *ListByoipCidrsInput, opts ...request.Option) (*ListByoipCidrsOutput, error)

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

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

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

func (*GlobalAccelerator) ListCrossAccountAttachments added in v1.47.1

ListCrossAccountAttachments API operation for AWS Global Accelerator.

List the cross-account attachments that have been created in Global 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 ListCrossAccountAttachments for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have access permission.

  • InvalidArgumentException An argument that you specified is invalid.

  • InvalidNextTokenException There isn't another item to return.

  • InternalServiceErrorException There was an internal error for Global Accelerator.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCrossAccountAttachments

func (*GlobalAccelerator) ListCrossAccountAttachmentsPages added in v1.47.1

func (c *GlobalAccelerator) ListCrossAccountAttachmentsPages(input *ListCrossAccountAttachmentsInput, fn func(*ListCrossAccountAttachmentsOutput, bool) bool) error

ListCrossAccountAttachmentsPages iterates over the pages of a ListCrossAccountAttachments operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCrossAccountAttachments method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListCrossAccountAttachments operation.
pageNum := 0
err := client.ListCrossAccountAttachmentsPages(params,
    func(page *globalaccelerator.ListCrossAccountAttachmentsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*GlobalAccelerator) ListCrossAccountAttachmentsPagesWithContext added in v1.47.1

func (c *GlobalAccelerator) ListCrossAccountAttachmentsPagesWithContext(ctx aws.Context, input *ListCrossAccountAttachmentsInput, fn func(*ListCrossAccountAttachmentsOutput, bool) bool, opts ...request.Option) error

ListCrossAccountAttachmentsPagesWithContext same as ListCrossAccountAttachmentsPages except it takes a Context and allows setting request options on the pages.

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) ListCrossAccountAttachmentsRequest added in v1.47.1

func (c *GlobalAccelerator) ListCrossAccountAttachmentsRequest(input *ListCrossAccountAttachmentsInput) (req *request.Request, output *ListCrossAccountAttachmentsOutput)

ListCrossAccountAttachmentsRequest generates a "aws/request.Request" representing the client's request for the ListCrossAccountAttachments 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 ListCrossAccountAttachments for more information on using the ListCrossAccountAttachments 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 ListCrossAccountAttachmentsRequest method.
req, resp := client.ListCrossAccountAttachmentsRequest(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/ListCrossAccountAttachments

func (*GlobalAccelerator) ListCrossAccountAttachmentsWithContext added in v1.47.1

func (c *GlobalAccelerator) ListCrossAccountAttachmentsWithContext(ctx aws.Context, input *ListCrossAccountAttachmentsInput, opts ...request.Option) (*ListCrossAccountAttachmentsOutput, error)

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

See ListCrossAccountAttachments 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) ListCrossAccountResourceAccounts added in v1.47.1

ListCrossAccountResourceAccounts API operation for AWS Global Accelerator.

List the accounts that have cross-account resources.

For more information, see Working with cross-account attachments and resources in Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html) in the 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 ListCrossAccountResourceAccounts for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have access permission.

  • InternalServiceErrorException There was an internal error for Global Accelerator.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCrossAccountResourceAccounts

func (*GlobalAccelerator) ListCrossAccountResourceAccountsRequest added in v1.47.1

func (c *GlobalAccelerator) ListCrossAccountResourceAccountsRequest(input *ListCrossAccountResourceAccountsInput) (req *request.Request, output *ListCrossAccountResourceAccountsOutput)

ListCrossAccountResourceAccountsRequest generates a "aws/request.Request" representing the client's request for the ListCrossAccountResourceAccounts 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 ListCrossAccountResourceAccounts for more information on using the ListCrossAccountResourceAccounts 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 ListCrossAccountResourceAccountsRequest method.
req, resp := client.ListCrossAccountResourceAccountsRequest(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/ListCrossAccountResourceAccounts

func (*GlobalAccelerator) ListCrossAccountResourceAccountsWithContext added in v1.47.1

func (c *GlobalAccelerator) ListCrossAccountResourceAccountsWithContext(ctx aws.Context, input *ListCrossAccountResourceAccountsInput, opts ...request.Option) (*ListCrossAccountResourceAccountsOutput, error)

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

See ListCrossAccountResourceAccounts 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) ListCrossAccountResources added in v1.47.1

ListCrossAccountResources API operation for AWS Global Accelerator.

List the cross-account resources available to work with.

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 ListCrossAccountResources for usage and error information.

Returned Error Types:

  • InternalServiceErrorException There was an internal error for Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

  • InvalidNextTokenException There isn't another item to return.

  • AccessDeniedException You don't have access permission.

  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCrossAccountResources

func (*GlobalAccelerator) ListCrossAccountResourcesPages added in v1.47.1

func (c *GlobalAccelerator) ListCrossAccountResourcesPages(input *ListCrossAccountResourcesInput, fn func(*ListCrossAccountResourcesOutput, bool) bool) error

ListCrossAccountResourcesPages iterates over the pages of a ListCrossAccountResources operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCrossAccountResources method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListCrossAccountResources operation.
pageNum := 0
err := client.ListCrossAccountResourcesPages(params,
    func(page *globalaccelerator.ListCrossAccountResourcesOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*GlobalAccelerator) ListCrossAccountResourcesPagesWithContext added in v1.47.1

func (c *GlobalAccelerator) ListCrossAccountResourcesPagesWithContext(ctx aws.Context, input *ListCrossAccountResourcesInput, fn func(*ListCrossAccountResourcesOutput, bool) bool, opts ...request.Option) error

ListCrossAccountResourcesPagesWithContext same as ListCrossAccountResourcesPages except it takes a Context and allows setting request options on the pages.

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) ListCrossAccountResourcesRequest added in v1.47.1

func (c *GlobalAccelerator) ListCrossAccountResourcesRequest(input *ListCrossAccountResourcesInput) (req *request.Request, output *ListCrossAccountResourcesOutput)

ListCrossAccountResourcesRequest generates a "aws/request.Request" representing the client's request for the ListCrossAccountResources 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 ListCrossAccountResources for more information on using the ListCrossAccountResources 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 ListCrossAccountResourcesRequest method.
req, resp := client.ListCrossAccountResourcesRequest(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/ListCrossAccountResources

func (*GlobalAccelerator) ListCrossAccountResourcesWithContext added in v1.47.1

func (c *GlobalAccelerator) ListCrossAccountResourcesWithContext(ctx aws.Context, input *ListCrossAccountResourcesInput, opts ...request.Option) (*ListCrossAccountResourcesOutput, error)

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

See ListCrossAccountResources 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) ListCustomRoutingAccelerators added in v1.36.5

ListCustomRoutingAccelerators API operation for AWS Global Accelerator.

List the custom routing accelerators for an Amazon Web Services account.

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 ListCustomRoutingAccelerators 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 Global Accelerator.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingAccelerators

func (*GlobalAccelerator) ListCustomRoutingAcceleratorsPages added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingAcceleratorsPages(input *ListCustomRoutingAcceleratorsInput, fn func(*ListCustomRoutingAcceleratorsOutput, bool) bool) error

ListCustomRoutingAcceleratorsPages iterates over the pages of a ListCustomRoutingAccelerators operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCustomRoutingAccelerators method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListCustomRoutingAccelerators operation.
pageNum := 0
err := client.ListCustomRoutingAcceleratorsPages(params,
    func(page *globalaccelerator.ListCustomRoutingAcceleratorsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*GlobalAccelerator) ListCustomRoutingAcceleratorsPagesWithContext added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingAcceleratorsPagesWithContext(ctx aws.Context, input *ListCustomRoutingAcceleratorsInput, fn func(*ListCustomRoutingAcceleratorsOutput, bool) bool, opts ...request.Option) error

ListCustomRoutingAcceleratorsPagesWithContext same as ListCustomRoutingAcceleratorsPages except it takes a Context and allows setting request options on the pages.

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) ListCustomRoutingAcceleratorsRequest added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingAcceleratorsRequest(input *ListCustomRoutingAcceleratorsInput) (req *request.Request, output *ListCustomRoutingAcceleratorsOutput)

ListCustomRoutingAcceleratorsRequest generates a "aws/request.Request" representing the client's request for the ListCustomRoutingAccelerators 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 ListCustomRoutingAccelerators for more information on using the ListCustomRoutingAccelerators 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 ListCustomRoutingAcceleratorsRequest method.
req, resp := client.ListCustomRoutingAcceleratorsRequest(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/ListCustomRoutingAccelerators

func (*GlobalAccelerator) ListCustomRoutingAcceleratorsWithContext added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingAcceleratorsWithContext(ctx aws.Context, input *ListCustomRoutingAcceleratorsInput, opts ...request.Option) (*ListCustomRoutingAcceleratorsOutput, error)

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

See ListCustomRoutingAccelerators 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) ListCustomRoutingEndpointGroups added in v1.36.5

ListCustomRoutingEndpointGroups API operation for AWS Global Accelerator.

List the endpoint groups that are associated with a listener for a custom routing 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 ListCustomRoutingEndpointGroups 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 Global Accelerator.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingEndpointGroups

func (*GlobalAccelerator) ListCustomRoutingEndpointGroupsPages added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingEndpointGroupsPages(input *ListCustomRoutingEndpointGroupsInput, fn func(*ListCustomRoutingEndpointGroupsOutput, bool) bool) error

ListCustomRoutingEndpointGroupsPages iterates over the pages of a ListCustomRoutingEndpointGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCustomRoutingEndpointGroups method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListCustomRoutingEndpointGroups operation.
pageNum := 0
err := client.ListCustomRoutingEndpointGroupsPages(params,
    func(page *globalaccelerator.ListCustomRoutingEndpointGroupsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*GlobalAccelerator) ListCustomRoutingEndpointGroupsPagesWithContext added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingEndpointGroupsPagesWithContext(ctx aws.Context, input *ListCustomRoutingEndpointGroupsInput, fn func(*ListCustomRoutingEndpointGroupsOutput, bool) bool, opts ...request.Option) error

ListCustomRoutingEndpointGroupsPagesWithContext same as ListCustomRoutingEndpointGroupsPages except it takes a Context and allows setting request options on the pages.

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) ListCustomRoutingEndpointGroupsRequest added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingEndpointGroupsRequest(input *ListCustomRoutingEndpointGroupsInput) (req *request.Request, output *ListCustomRoutingEndpointGroupsOutput)

ListCustomRoutingEndpointGroupsRequest generates a "aws/request.Request" representing the client's request for the ListCustomRoutingEndpointGroups 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 ListCustomRoutingEndpointGroups for more information on using the ListCustomRoutingEndpointGroups 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 ListCustomRoutingEndpointGroupsRequest method.
req, resp := client.ListCustomRoutingEndpointGroupsRequest(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/ListCustomRoutingEndpointGroups

func (*GlobalAccelerator) ListCustomRoutingEndpointGroupsWithContext added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingEndpointGroupsWithContext(ctx aws.Context, input *ListCustomRoutingEndpointGroupsInput, opts ...request.Option) (*ListCustomRoutingEndpointGroupsOutput, error)

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

See ListCustomRoutingEndpointGroups 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) ListCustomRoutingListeners added in v1.36.5

ListCustomRoutingListeners API operation for AWS Global Accelerator.

List the listeners for a custom routing 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 ListCustomRoutingListeners 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 Global Accelerator.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingListeners

func (*GlobalAccelerator) ListCustomRoutingListenersPages added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingListenersPages(input *ListCustomRoutingListenersInput, fn func(*ListCustomRoutingListenersOutput, bool) bool) error

ListCustomRoutingListenersPages iterates over the pages of a ListCustomRoutingListeners operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCustomRoutingListeners method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListCustomRoutingListeners operation.
pageNum := 0
err := client.ListCustomRoutingListenersPages(params,
    func(page *globalaccelerator.ListCustomRoutingListenersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*GlobalAccelerator) ListCustomRoutingListenersPagesWithContext added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingListenersPagesWithContext(ctx aws.Context, input *ListCustomRoutingListenersInput, fn func(*ListCustomRoutingListenersOutput, bool) bool, opts ...request.Option) error

ListCustomRoutingListenersPagesWithContext same as ListCustomRoutingListenersPages except it takes a Context and allows setting request options on the pages.

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) ListCustomRoutingListenersRequest added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingListenersRequest(input *ListCustomRoutingListenersInput) (req *request.Request, output *ListCustomRoutingListenersOutput)

ListCustomRoutingListenersRequest generates a "aws/request.Request" representing the client's request for the ListCustomRoutingListeners 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 ListCustomRoutingListeners for more information on using the ListCustomRoutingListeners 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 ListCustomRoutingListenersRequest method.
req, resp := client.ListCustomRoutingListenersRequest(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/ListCustomRoutingListeners

func (*GlobalAccelerator) ListCustomRoutingListenersWithContext added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingListenersWithContext(ctx aws.Context, input *ListCustomRoutingListenersInput, opts ...request.Option) (*ListCustomRoutingListenersOutput, error)

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

See ListCustomRoutingListeners 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) ListCustomRoutingPortMappings added in v1.36.5

ListCustomRoutingPortMappings API operation for AWS Global Accelerator.

Provides a complete mapping from the public accelerator IP address and port to destination EC2 instance IP addresses and ports in the virtual public cloud (VPC) subnet endpoint for a custom routing accelerator. For each subnet endpoint that you add, Global Accelerator creates a new static port mapping for the accelerator. The port mappings don't change after Global Accelerator generates them, so you can retrieve and cache the full mapping on your servers.

If you remove a subnet from your accelerator, Global Accelerator removes (reclaims) the port mappings. If you add a subnet to your accelerator, Global Accelerator creates new port mappings (the existing ones don't change). If you add or remove EC2 instances in your subnet, the port mappings don't change, because the mappings are created when you add the subnet to Global Accelerator.

The mappings also include a flag for each destination denoting which destination IP addresses and ports are allowed or denied traffic.

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 ListCustomRoutingPortMappings for usage and error information.

Returned Error Types:

  • InvalidArgumentException An argument that you specified is invalid.

  • InvalidNextTokenException There isn't another item to return.

  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.

  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.

  • InternalServiceErrorException There was an internal error for Global Accelerator.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingPortMappings

func (*GlobalAccelerator) ListCustomRoutingPortMappingsByDestination added in v1.36.5

ListCustomRoutingPortMappingsByDestination API operation for AWS Global Accelerator.

List the port mappings for a specific EC2 instance (destination) in a VPC subnet endpoint. The response is the mappings for one destination IP address. This is useful when your subnet endpoint has mappings that span multiple custom routing accelerators in your account, or for scenarios where you only want to list the port mappings for a specific destination instance.

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 ListCustomRoutingPortMappingsByDestination for usage and error information.

Returned Error Types:

  • InvalidArgumentException An argument that you specified is invalid.

  • InvalidNextTokenException There isn't another item to return.

  • EndpointNotFoundException The endpoint that you specified doesn't exist.

  • InternalServiceErrorException There was an internal error for Global Accelerator.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingPortMappingsByDestination

func (*GlobalAccelerator) ListCustomRoutingPortMappingsByDestinationPages added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingPortMappingsByDestinationPages(input *ListCustomRoutingPortMappingsByDestinationInput, fn func(*ListCustomRoutingPortMappingsByDestinationOutput, bool) bool) error

ListCustomRoutingPortMappingsByDestinationPages iterates over the pages of a ListCustomRoutingPortMappingsByDestination operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCustomRoutingPortMappingsByDestination method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListCustomRoutingPortMappingsByDestination operation.
pageNum := 0
err := client.ListCustomRoutingPortMappingsByDestinationPages(params,
    func(page *globalaccelerator.ListCustomRoutingPortMappingsByDestinationOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*GlobalAccelerator) ListCustomRoutingPortMappingsByDestinationPagesWithContext added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingPortMappingsByDestinationPagesWithContext(ctx aws.Context, input *ListCustomRoutingPortMappingsByDestinationInput, fn func(*ListCustomRoutingPortMappingsByDestinationOutput, bool) bool, opts ...request.Option) error

ListCustomRoutingPortMappingsByDestinationPagesWithContext same as ListCustomRoutingPortMappingsByDestinationPages except it takes a Context and allows setting request options on the pages.

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) ListCustomRoutingPortMappingsByDestinationRequest added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingPortMappingsByDestinationRequest(input *ListCustomRoutingPortMappingsByDestinationInput) (req *request.Request, output *ListCustomRoutingPortMappingsByDestinationOutput)

ListCustomRoutingPortMappingsByDestinationRequest generates a "aws/request.Request" representing the client's request for the ListCustomRoutingPortMappingsByDestination 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 ListCustomRoutingPortMappingsByDestination for more information on using the ListCustomRoutingPortMappingsByDestination 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 ListCustomRoutingPortMappingsByDestinationRequest method.
req, resp := client.ListCustomRoutingPortMappingsByDestinationRequest(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/ListCustomRoutingPortMappingsByDestination

func (*GlobalAccelerator) ListCustomRoutingPortMappingsByDestinationWithContext added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingPortMappingsByDestinationWithContext(ctx aws.Context, input *ListCustomRoutingPortMappingsByDestinationInput, opts ...request.Option) (*ListCustomRoutingPortMappingsByDestinationOutput, error)

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

See ListCustomRoutingPortMappingsByDestination 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) ListCustomRoutingPortMappingsPages added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingPortMappingsPages(input *ListCustomRoutingPortMappingsInput, fn func(*ListCustomRoutingPortMappingsOutput, bool) bool) error

ListCustomRoutingPortMappingsPages iterates over the pages of a ListCustomRoutingPortMappings operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListCustomRoutingPortMappings method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListCustomRoutingPortMappings operation.
pageNum := 0
err := client.ListCustomRoutingPortMappingsPages(params,
    func(page *globalaccelerator.ListCustomRoutingPortMappingsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*GlobalAccelerator) ListCustomRoutingPortMappingsPagesWithContext added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingPortMappingsPagesWithContext(ctx aws.Context, input *ListCustomRoutingPortMappingsInput, fn func(*ListCustomRoutingPortMappingsOutput, bool) bool, opts ...request.Option) error

ListCustomRoutingPortMappingsPagesWithContext same as ListCustomRoutingPortMappingsPages except it takes a Context and allows setting request options on the pages.

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) ListCustomRoutingPortMappingsRequest added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingPortMappingsRequest(input *ListCustomRoutingPortMappingsInput) (req *request.Request, output *ListCustomRoutingPortMappingsOutput)

ListCustomRoutingPortMappingsRequest generates a "aws/request.Request" representing the client's request for the ListCustomRoutingPortMappings 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 ListCustomRoutingPortMappings for more information on using the ListCustomRoutingPortMappings 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 ListCustomRoutingPortMappingsRequest method.
req, resp := client.ListCustomRoutingPortMappingsRequest(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/ListCustomRoutingPortMappings

func (*GlobalAccelerator) ListCustomRoutingPortMappingsWithContext added in v1.36.5

func (c *GlobalAccelerator) ListCustomRoutingPortMappingsWithContext(ctx aws.Context, input *ListCustomRoutingPortMappingsInput, opts ...request.Option) (*ListCustomRoutingPortMappingsOutput, error)

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListEndpointGroups

func (*GlobalAccelerator) ListEndpointGroupsPages added in v1.36.5

func (c *GlobalAccelerator) ListEndpointGroupsPages(input *ListEndpointGroupsInput, fn func(*ListEndpointGroupsOutput, bool) bool) error

ListEndpointGroupsPages iterates over the pages of a ListEndpointGroups operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListEndpointGroups method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListEndpointGroups operation.
pageNum := 0
err := client.ListEndpointGroupsPages(params,
    func(page *globalaccelerator.ListEndpointGroupsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*GlobalAccelerator) ListEndpointGroupsPagesWithContext added in v1.36.5

func (c *GlobalAccelerator) ListEndpointGroupsPagesWithContext(ctx aws.Context, input *ListEndpointGroupsInput, fn func(*ListEndpointGroupsOutput, bool) bool, opts ...request.Option) error

ListEndpointGroupsPagesWithContext same as ListEndpointGroupsPages except it takes a Context and allows setting request options on the pages.

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListListeners

func (*GlobalAccelerator) ListListenersPages added in v1.36.5

func (c *GlobalAccelerator) ListListenersPages(input *ListListenersInput, fn func(*ListListenersOutput, bool) bool) error

ListListenersPages iterates over the pages of a ListListeners operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListListeners method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListListeners operation.
pageNum := 0
err := client.ListListenersPages(params,
    func(page *globalaccelerator.ListListenersOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*GlobalAccelerator) ListListenersPagesWithContext added in v1.36.5

func (c *GlobalAccelerator) ListListenersPagesWithContext(ctx aws.Context, input *ListListenersInput, fn func(*ListListenersOutput, bool) bool, opts ...request.Option) error

ListListenersPagesWithContext same as ListListenersPages except it takes a Context and allows setting request options on the pages.

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

func (c *GlobalAccelerator) ListListenersRequest(input *ListListenersInput) (req *request.Request, output *ListListenersOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListListeners

func (*GlobalAccelerator) ListListenersWithContext

func (c *GlobalAccelerator) ListListenersWithContext(ctx aws.Context, input *ListListenersInput, opts ...request.Option) (*ListListenersOutput, error)

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

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

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

func (*GlobalAccelerator) ListTagsForResource added in v1.29.12

ListTagsForResource API operation for AWS Global Accelerator.

List all tags for an accelerator.

For more information, see Tagging in Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html) in the 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 Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListTagsForResource

func (*GlobalAccelerator) ListTagsForResourceRequest added in v1.29.12

func (c *GlobalAccelerator) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListTagsForResource

func (*GlobalAccelerator) ListTagsForResourceWithContext added in v1.29.12

func (c *GlobalAccelerator) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)

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

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

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

func (*GlobalAccelerator) ProvisionByoipCidr added in v1.29.12

func (c *GlobalAccelerator) ProvisionByoipCidr(input *ProvisionByoipCidrInput) (*ProvisionByoipCidrOutput, error)

ProvisionByoipCidr API operation for AWS Global Accelerator.

Provisions an IP address range to use with your Amazon Web Services 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).

For more information, see Bring your own IP addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html) in the 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 Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit.

  • AccessDeniedException You don't have access permission.

  • IncorrectCidrStateException The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be incorrect for this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ProvisionByoipCidr

func (*GlobalAccelerator) ProvisionByoipCidrRequest added in v1.29.12

func (c *GlobalAccelerator) ProvisionByoipCidrRequest(input *ProvisionByoipCidrInput) (req *request.Request, output *ProvisionByoipCidrOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ProvisionByoipCidr

func (*GlobalAccelerator) ProvisionByoipCidrWithContext added in v1.29.12

func (c *GlobalAccelerator) ProvisionByoipCidrWithContext(ctx aws.Context, input *ProvisionByoipCidrInput, opts ...request.Option) (*ProvisionByoipCidrOutput, error)

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

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

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

func (*GlobalAccelerator) RemoveCustomRoutingEndpoints added in v1.36.5

RemoveCustomRoutingEndpoints API operation for AWS Global Accelerator.

Remove endpoints from a custom routing 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 RemoveCustomRoutingEndpoints for usage and error information.

Returned Error Types:

  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.

  • EndpointNotFoundException The endpoint that you specified doesn't exist.

  • InternalServiceErrorException There was an internal error for Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

  • AccessDeniedException You don't have access permission.

  • ConflictException You can't use both of those options.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/RemoveCustomRoutingEndpoints

func (*GlobalAccelerator) RemoveCustomRoutingEndpointsRequest added in v1.36.5

func (c *GlobalAccelerator) RemoveCustomRoutingEndpointsRequest(input *RemoveCustomRoutingEndpointsInput) (req *request.Request, output *RemoveCustomRoutingEndpointsOutput)

RemoveCustomRoutingEndpointsRequest generates a "aws/request.Request" representing the client's request for the RemoveCustomRoutingEndpoints 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 RemoveCustomRoutingEndpoints for more information on using the RemoveCustomRoutingEndpoints 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 RemoveCustomRoutingEndpointsRequest method.
req, resp := client.RemoveCustomRoutingEndpointsRequest(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/RemoveCustomRoutingEndpoints

func (*GlobalAccelerator) RemoveCustomRoutingEndpointsWithContext added in v1.36.5

func (c *GlobalAccelerator) RemoveCustomRoutingEndpointsWithContext(ctx aws.Context, input *RemoveCustomRoutingEndpointsInput, opts ...request.Option) (*RemoveCustomRoutingEndpointsOutput, error)

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

See RemoveCustomRoutingEndpoints 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) RemoveEndpoints added in v1.44.120

func (c *GlobalAccelerator) RemoveEndpoints(input *RemoveEndpointsInput) (*RemoveEndpointsOutput, error)

RemoveEndpoints API operation for AWS Global Accelerator.

Remove endpoints from an endpoint group.

The RemoveEndpoints API operation is the recommended option for removing endpoints. The alternative is to remove endpoints by updating an endpoint group by using the UpdateEndpointGroup (https://docs.aws.amazon.com/global-accelerator/latest/api/API_UpdateEndpointGroup.html) API operation. There are two advantages to using AddEndpoints to remove endpoints instead:

  • It's more convenient, because you only need to specify the endpoints that you want to remove. With the UpdateEndpointGroup API operation, you must specify all of the endpoints in the endpoint group except the ones that you want to remove from the group.

  • It's faster, because Global Accelerator doesn't need to resolve any endpoints. With the UpdateEndpointGroup API operation, Global Accelerator must resolve all of the endpoints that remain in the group.

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 RemoveEndpoints for usage and error information.

Returned Error Types:

  • EndpointGroupNotFoundException The endpoint group that you specified doesn't exist.

  • InternalServiceErrorException There was an internal error for Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

  • AccessDeniedException You don't have access permission.

  • TransactionInProgressException There's already a transaction in progress. Another transaction can't be processed.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/RemoveEndpoints

func (*GlobalAccelerator) RemoveEndpointsRequest added in v1.44.120

func (c *GlobalAccelerator) RemoveEndpointsRequest(input *RemoveEndpointsInput) (req *request.Request, output *RemoveEndpointsOutput)

RemoveEndpointsRequest generates a "aws/request.Request" representing the client's request for the RemoveEndpoints 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 RemoveEndpoints for more information on using the RemoveEndpoints 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 RemoveEndpointsRequest method.
req, resp := client.RemoveEndpointsRequest(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/RemoveEndpoints

func (*GlobalAccelerator) RemoveEndpointsWithContext added in v1.44.120

func (c *GlobalAccelerator) RemoveEndpointsWithContext(ctx aws.Context, input *RemoveEndpointsInput, opts ...request.Option) (*RemoveEndpointsOutput, error)

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

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

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

func (*GlobalAccelerator) TagResource added in v1.29.12

func (c *GlobalAccelerator) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWS Global Accelerator.

Add tags to an accelerator resource.

For more information, see Tagging in Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html) in the 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 Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/TagResource

func (*GlobalAccelerator) TagResourceRequest added in v1.29.12

func (c *GlobalAccelerator) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/TagResource

func (*GlobalAccelerator) TagResourceWithContext added in v1.29.12

func (c *GlobalAccelerator) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

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

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

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

func (*GlobalAccelerator) UntagResource added in v1.29.12

func (c *GlobalAccelerator) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWS Global Accelerator.

Remove tags from a Global Accelerator resource. When you specify a tag key, the action removes both that key and its associated value. The operation succeeds even if you attempt to remove tags from an accelerator that was already removed.

For more information, see Tagging in Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html) in the 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 Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UntagResource

func (*GlobalAccelerator) UntagResourceRequest added in v1.29.12

func (c *GlobalAccelerator) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UntagResource

func (*GlobalAccelerator) UntagResourceWithContext added in v1.29.12

func (c *GlobalAccelerator) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

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

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

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

func (*GlobalAccelerator) UpdateAccelerator

func (c *GlobalAccelerator) UpdateAccelerator(input *UpdateAcceleratorInput) (*UpdateAcceleratorOutput, error)

UpdateAccelerator API operation for AWS Global Accelerator.

Update an accelerator to make changes, such as the following:

  • Change the name of the accelerator.

  • Disable the accelerator so that it no longer accepts or routes traffic, or so that you can delete it.

  • Enable the accelerator, if it is disabled.

  • Change the IP address type to dual-stack if it is IPv4, or change the IP address type to IPv4 if it's dual-stack.

Be aware that 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 the accelerator, you lose the static IP addresses that are assigned to it, so you can no longer route traffic by using them.

Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2 on Amazon Web Services CLI commands.

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.

  • AccessDeniedException You don't have access permission.

  • InternalServiceErrorException There was an internal error for 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

UpdateAcceleratorAttributes API operation for AWS Global Accelerator.

Update the attributes for 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 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 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) UpdateCrossAccountAttachment added in v1.47.1

UpdateCrossAccountAttachment API operation for AWS Global Accelerator.

Update a cross-account attachment to add or remove principals or resources. When you update an attachment to remove a principal (account ID or accelerator) or a resource, Global Accelerator revokes the permission for specific resources.

For more information, see Working with cross-account attachments and resources in Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html) in the 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 UpdateCrossAccountAttachment for usage and error information.

Returned Error Types:

  • AttachmentNotFoundException No cross-account attachment was found.

  • AccessDeniedException You don't have access permission.

  • InternalServiceErrorException There was an internal error for Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit.

  • TransactionInProgressException There's already a transaction in progress. Another transaction can't be processed.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCrossAccountAttachment

func (*GlobalAccelerator) UpdateCrossAccountAttachmentRequest added in v1.47.1

func (c *GlobalAccelerator) UpdateCrossAccountAttachmentRequest(input *UpdateCrossAccountAttachmentInput) (req *request.Request, output *UpdateCrossAccountAttachmentOutput)

UpdateCrossAccountAttachmentRequest generates a "aws/request.Request" representing the client's request for the UpdateCrossAccountAttachment 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 UpdateCrossAccountAttachment for more information on using the UpdateCrossAccountAttachment 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 UpdateCrossAccountAttachmentRequest method.
req, resp := client.UpdateCrossAccountAttachmentRequest(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/UpdateCrossAccountAttachment

func (*GlobalAccelerator) UpdateCrossAccountAttachmentWithContext added in v1.47.1

func (c *GlobalAccelerator) UpdateCrossAccountAttachmentWithContext(ctx aws.Context, input *UpdateCrossAccountAttachmentInput, opts ...request.Option) (*UpdateCrossAccountAttachmentOutput, error)

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

See UpdateCrossAccountAttachment 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) UpdateCustomRoutingAccelerator added in v1.36.5

UpdateCustomRoutingAccelerator API operation for AWS Global Accelerator.

Update a custom routing 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 UpdateCustomRoutingAccelerator for usage and error information.

Returned Error Types:

  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.

  • InternalServiceErrorException There was an internal error for Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCustomRoutingAccelerator

func (*GlobalAccelerator) UpdateCustomRoutingAcceleratorAttributes added in v1.36.5

UpdateCustomRoutingAcceleratorAttributes API operation for AWS Global Accelerator.

Update the attributes for a custom routing 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 UpdateCustomRoutingAcceleratorAttributes for usage and error information.

Returned Error Types:

  • AcceleratorNotFoundException The accelerator that you specified doesn't exist.

  • InternalServiceErrorException There was an internal error for 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/UpdateCustomRoutingAcceleratorAttributes

func (*GlobalAccelerator) UpdateCustomRoutingAcceleratorAttributesRequest added in v1.36.5

func (c *GlobalAccelerator) UpdateCustomRoutingAcceleratorAttributesRequest(input *UpdateCustomRoutingAcceleratorAttributesInput) (req *request.Request, output *UpdateCustomRoutingAcceleratorAttributesOutput)

UpdateCustomRoutingAcceleratorAttributesRequest generates a "aws/request.Request" representing the client's request for the UpdateCustomRoutingAcceleratorAttributes 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 UpdateCustomRoutingAcceleratorAttributes for more information on using the UpdateCustomRoutingAcceleratorAttributes 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 UpdateCustomRoutingAcceleratorAttributesRequest method.
req, resp := client.UpdateCustomRoutingAcceleratorAttributesRequest(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/UpdateCustomRoutingAcceleratorAttributes

func (*GlobalAccelerator) UpdateCustomRoutingAcceleratorAttributesWithContext added in v1.36.5

func (c *GlobalAccelerator) UpdateCustomRoutingAcceleratorAttributesWithContext(ctx aws.Context, input *UpdateCustomRoutingAcceleratorAttributesInput, opts ...request.Option) (*UpdateCustomRoutingAcceleratorAttributesOutput, error)

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

See UpdateCustomRoutingAcceleratorAttributes 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) UpdateCustomRoutingAcceleratorRequest added in v1.36.5

func (c *GlobalAccelerator) UpdateCustomRoutingAcceleratorRequest(input *UpdateCustomRoutingAcceleratorInput) (req *request.Request, output *UpdateCustomRoutingAcceleratorOutput)

UpdateCustomRoutingAcceleratorRequest generates a "aws/request.Request" representing the client's request for the UpdateCustomRoutingAccelerator 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 UpdateCustomRoutingAccelerator for more information on using the UpdateCustomRoutingAccelerator 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 UpdateCustomRoutingAcceleratorRequest method.
req, resp := client.UpdateCustomRoutingAcceleratorRequest(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/UpdateCustomRoutingAccelerator

func (*GlobalAccelerator) UpdateCustomRoutingAcceleratorWithContext added in v1.36.5

func (c *GlobalAccelerator) UpdateCustomRoutingAcceleratorWithContext(ctx aws.Context, input *UpdateCustomRoutingAcceleratorInput, opts ...request.Option) (*UpdateCustomRoutingAcceleratorOutput, error)

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

See UpdateCustomRoutingAccelerator 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) UpdateCustomRoutingListener added in v1.36.5

UpdateCustomRoutingListener API operation for AWS Global Accelerator.

Update a listener for a custom routing 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 UpdateCustomRoutingListener 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 Global Accelerator.

  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCustomRoutingListener

func (*GlobalAccelerator) UpdateCustomRoutingListenerRequest added in v1.36.5

func (c *GlobalAccelerator) UpdateCustomRoutingListenerRequest(input *UpdateCustomRoutingListenerInput) (req *request.Request, output *UpdateCustomRoutingListenerOutput)

UpdateCustomRoutingListenerRequest generates a "aws/request.Request" representing the client's request for the UpdateCustomRoutingListener 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 UpdateCustomRoutingListener for more information on using the UpdateCustomRoutingListener 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 UpdateCustomRoutingListenerRequest method.
req, resp := client.UpdateCustomRoutingListenerRequest(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/UpdateCustomRoutingListener

func (*GlobalAccelerator) UpdateCustomRoutingListenerWithContext added in v1.36.5

func (c *GlobalAccelerator) UpdateCustomRoutingListenerWithContext(ctx aws.Context, input *UpdateCustomRoutingListenerInput, opts ...request.Option) (*UpdateCustomRoutingListenerOutput, error)

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

See UpdateCustomRoutingListener 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

UpdateEndpointGroup API operation for AWS Global Accelerator.

Update an endpoint group. A resource must be valid and active when you add it as an endpoint.

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

  • LimitExceededException Processing your request would cause you to exceed an 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.

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

  • LimitExceededException Processing your request would cause you to exceed an Global Accelerator limit.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateListener

func (*GlobalAccelerator) UpdateListenerRequest

func (c *GlobalAccelerator) UpdateListenerRequest(input *UpdateListenerInput) (req *request.Request, output *UpdateListenerOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateListener

func (*GlobalAccelerator) UpdateListenerWithContext

func (c *GlobalAccelerator) UpdateListenerWithContext(ctx aws.Context, input *UpdateListenerInput, opts ...request.Option) (*UpdateListenerOutput, error)

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

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

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

func (*GlobalAccelerator) WithdrawByoipCidr added in v1.29.12

func (c *GlobalAccelerator) WithdrawByoipCidr(input *WithdrawByoipCidrInput) (*WithdrawByoipCidrOutput, error)

WithdrawByoipCidr API operation for AWS Global Accelerator.

Stops advertising an address range that is provisioned as an address pool. You can perform this operation at most once every 10 seconds, even if you specify different address ranges each time.

It can take a few minutes before traffic to the specified addresses stops routing to Amazon Web Services 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 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 Global Accelerator.

  • InvalidArgumentException An argument that you specified is invalid.

  • AccessDeniedException You don't have access permission.

  • ByoipCidrNotFoundException The CIDR that you specified was not found or is incorrect.

  • IncorrectCidrStateException The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be incorrect for this action.

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/WithdrawByoipCidr

func (*GlobalAccelerator) WithdrawByoipCidrRequest added in v1.29.12

func (c *GlobalAccelerator) WithdrawByoipCidrRequest(input *WithdrawByoipCidrInput) (req *request.Request, output *WithdrawByoipCidrOutput)

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

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

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

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

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

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

See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/WithdrawByoipCidr

func (*GlobalAccelerator) WithdrawByoipCidrWithContext added in v1.29.12

func (c *GlobalAccelerator) WithdrawByoipCidrWithContext(ctx aws.Context, input *WithdrawByoipCidrInput, opts ...request.Option) (*WithdrawByoipCidrOutput, error)

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

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

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

type IncorrectCidrStateException added in v1.29.12

type IncorrectCidrStateException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The CIDR that you specified is not valid for this action. For example, the state of the CIDR might be incorrect for this action.

func (*IncorrectCidrStateException) Code added in v1.29.12

Code returns the exception type name.

func (*IncorrectCidrStateException) Error added in v1.29.12

func (IncorrectCidrStateException) GoString added in v1.29.12

func (s IncorrectCidrStateException) GoString() string

GoString returns the string representation.

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

func (*IncorrectCidrStateException) Message added in v1.29.12

func (s *IncorrectCidrStateException) Message() string

Message returns the exception's message.

func (*IncorrectCidrStateException) OrigErr added in v1.29.12

func (s *IncorrectCidrStateException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*IncorrectCidrStateException) RequestID added in v1.29.12

func (s *IncorrectCidrStateException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*IncorrectCidrStateException) StatusCode added in v1.29.12

func (s *IncorrectCidrStateException) StatusCode() int

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

func (IncorrectCidrStateException) String added in v1.29.12

String returns the string representation.

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

type InternalServiceErrorException added in v1.28.0

type InternalServiceErrorException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

There was an internal error for Global Accelerator.

func (*InternalServiceErrorException) Code added in v1.28.0

Code returns the exception type name.

func (*InternalServiceErrorException) Error added in v1.28.0

func (InternalServiceErrorException) GoString added in v1.28.0

GoString returns the string representation.

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

func (*InternalServiceErrorException) Message added in v1.28.0

Message returns the exception's message.

func (*InternalServiceErrorException) OrigErr added in v1.28.0

func (s *InternalServiceErrorException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServiceErrorException) RequestID added in v1.28.0

func (s *InternalServiceErrorException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServiceErrorException) StatusCode added in v1.28.0

func (s *InternalServiceErrorException) StatusCode() int

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

func (InternalServiceErrorException) String added in v1.28.0

String returns the string representation.

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

type InvalidArgumentException added in v1.28.0

type InvalidArgumentException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

An argument that you specified is invalid.

func (*InvalidArgumentException) Code added in v1.28.0

func (s *InvalidArgumentException) Code() string

Code returns the exception type name.

func (*InvalidArgumentException) Error added in v1.28.0

func (s *InvalidArgumentException) Error() string

func (InvalidArgumentException) GoString added in v1.28.0

func (s InvalidArgumentException) GoString() string

GoString returns the string representation.

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

func (*InvalidArgumentException) Message added in v1.28.0

func (s *InvalidArgumentException) Message() string

Message returns the exception's message.

func (*InvalidArgumentException) OrigErr added in v1.28.0

func (s *InvalidArgumentException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidArgumentException) RequestID added in v1.28.0

func (s *InvalidArgumentException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidArgumentException) StatusCode added in v1.28.0

func (s *InvalidArgumentException) StatusCode() int

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

func (InvalidArgumentException) String added in v1.28.0

func (s InvalidArgumentException) String() string

String returns the string representation.

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

type InvalidNextTokenException added in v1.28.0

type InvalidNextTokenException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

There isn't another item to return.

func (*InvalidNextTokenException) Code added in v1.28.0

Code returns the exception type name.

func (*InvalidNextTokenException) Error added in v1.28.0

func (s *InvalidNextTokenException) Error() string

func (InvalidNextTokenException) GoString added in v1.28.0

func (s InvalidNextTokenException) GoString() string

GoString returns the string representation.

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

func (*InvalidNextTokenException) Message added in v1.28.0

func (s *InvalidNextTokenException) Message() string

Message returns the exception's message.

func (*InvalidNextTokenException) OrigErr added in v1.28.0

func (s *InvalidNextTokenException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidNextTokenException) RequestID added in v1.28.0

func (s *InvalidNextTokenException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidNextTokenException) StatusCode added in v1.28.0

func (s *InvalidNextTokenException) StatusCode() int

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

func (InvalidNextTokenException) String added in v1.28.0

func (s InvalidNextTokenException) String() string

String returns the string representation.

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

type InvalidPortRangeException added in v1.28.0

type InvalidPortRangeException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The port numbers that you specified are not valid numbers or are not unique for this accelerator.

func (*InvalidPortRangeException) Code added in v1.28.0

Code returns the exception type name.

func (*InvalidPortRangeException) Error added in v1.28.0

func (s *InvalidPortRangeException) Error() string

func (InvalidPortRangeException) GoString added in v1.28.0

func (s InvalidPortRangeException) GoString() string

GoString returns the string representation.

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

func (*InvalidPortRangeException) Message added in v1.28.0

func (s *InvalidPortRangeException) Message() string

Message returns the exception's message.

func (*InvalidPortRangeException) OrigErr added in v1.28.0

func (s *InvalidPortRangeException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InvalidPortRangeException) RequestID added in v1.28.0

func (s *InvalidPortRangeException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InvalidPortRangeException) StatusCode added in v1.28.0

func (s *InvalidPortRangeException) StatusCode() int

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

func (InvalidPortRangeException) String added in v1.28.0

func (s InvalidPortRangeException) String() string

String returns the string representation.

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

type IpSet

type IpSet struct {

	// The types of IP addresses included in this IP set.
	IpAddressFamily *string `type:"string" enum:"IpAddressFamily"`

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

	// IpFamily is deprecated and has been replaced by IpAddressFamily.
	//
	// Deprecated: IpFamily has been replaced by IpAddressFamily
	IpFamily *string `deprecated:"true" 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.

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

func (*IpSet) SetIpAddressFamily added in v1.44.64

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

SetIpAddressFamily sets the IpAddressFamily field's value.

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.

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

type LimitExceededException added in v1.28.0

type LimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

Processing your request would cause you to exceed an Global Accelerator limit.

func (*LimitExceededException) Code added in v1.28.0

func (s *LimitExceededException) Code() string

Code returns the exception type name.

func (*LimitExceededException) Error added in v1.28.0

func (s *LimitExceededException) Error() string

func (LimitExceededException) GoString added in v1.28.0

func (s LimitExceededException) GoString() string

GoString returns the string representation.

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

func (*LimitExceededException) Message added in v1.28.0

func (s *LimitExceededException) Message() string

Message returns the exception's message.

func (*LimitExceededException) OrigErr added in v1.28.0

func (s *LimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*LimitExceededException) RequestID added in v1.28.0

func (s *LimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*LimitExceededException) StatusCode added in v1.28.0

func (s *LimitExceededException) StatusCode() int

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

func (LimitExceededException) String added in v1.28.0

func (s LimitExceededException) String() string

String returns the string representation.

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

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

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

func (*ListAcceleratorsInput) SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

func (*ListAcceleratorsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAcceleratorsInput) String

func (s ListAcceleratorsInput) String() string

String returns the string representation.

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

func (*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.

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

func (*ListAcceleratorsOutput) SetAccelerators

func (s *ListAcceleratorsOutput) SetAccelerators(v []*Accelerator) *ListAcceleratorsOutput

SetAccelerators sets the Accelerators field's value.

func (*ListAcceleratorsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListAcceleratorsOutput) String

func (s ListAcceleratorsOutput) String() string

String returns the string representation.

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

type ListByoipCidrsInput added in v1.29.12

type ListByoipCidrsInput struct {

	// The maximum number of results to return with a single call. To retrieve the
	// remaining results, make another call with the returned nextToken value.
	MaxResults *int64 `min:"1" type:"integer"`

	// The token for the next page of results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListByoipCidrsInput) GoString added in v1.29.12

func (s ListByoipCidrsInput) GoString() string

GoString returns the string representation.

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

func (*ListByoipCidrsInput) SetMaxResults added in v1.29.12

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

SetMaxResults sets the MaxResults field's value.

func (*ListByoipCidrsInput) SetNextToken added in v1.29.12

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

SetNextToken sets the NextToken field's value.

func (ListByoipCidrsInput) String added in v1.29.12

func (s ListByoipCidrsInput) String() string

String returns the string representation.

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

func (*ListByoipCidrsInput) Validate added in v1.29.12

func (s *ListByoipCidrsInput) Validate() error

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

type ListByoipCidrsOutput added in v1.29.12

type ListByoipCidrsOutput struct {

	// Information about your address ranges.
	ByoipCidrs []*ByoipCidr `type:"list"`

	// The token for the next page of results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListByoipCidrsOutput) GoString added in v1.29.12

func (s ListByoipCidrsOutput) GoString() string

GoString returns the string representation.

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

func (*ListByoipCidrsOutput) SetByoipCidrs added in v1.29.12

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

SetByoipCidrs sets the ByoipCidrs field's value.

func (*ListByoipCidrsOutput) SetNextToken added in v1.29.12

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

SetNextToken sets the NextToken field's value.

func (ListByoipCidrsOutput) String added in v1.29.12

func (s ListByoipCidrsOutput) String() string

String returns the string representation.

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

type ListCrossAccountAttachmentsInput added in v1.47.1

type ListCrossAccountAttachmentsInput struct {

	// The number of cross-account attachment 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 (ListCrossAccountAttachmentsInput) GoString added in v1.47.1

GoString returns the string representation.

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

func (*ListCrossAccountAttachmentsInput) SetMaxResults added in v1.47.1

SetMaxResults sets the MaxResults field's value.

func (*ListCrossAccountAttachmentsInput) SetNextToken added in v1.47.1

SetNextToken sets the NextToken field's value.

func (ListCrossAccountAttachmentsInput) String added in v1.47.1

String returns the string representation.

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

func (*ListCrossAccountAttachmentsInput) Validate added in v1.47.1

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

type ListCrossAccountAttachmentsOutput added in v1.47.1

type ListCrossAccountAttachmentsOutput struct {

	// Information about the cross-account attachments.
	CrossAccountAttachments []*Attachment `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 (ListCrossAccountAttachmentsOutput) GoString added in v1.47.1

GoString returns the string representation.

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

func (*ListCrossAccountAttachmentsOutput) SetCrossAccountAttachments added in v1.47.1

SetCrossAccountAttachments sets the CrossAccountAttachments field's value.

func (*ListCrossAccountAttachmentsOutput) SetNextToken added in v1.47.1

SetNextToken sets the NextToken field's value.

func (ListCrossAccountAttachmentsOutput) String added in v1.47.1

String returns the string representation.

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

type ListCrossAccountResourceAccountsInput added in v1.47.1

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

func (ListCrossAccountResourceAccountsInput) GoString added in v1.47.1

GoString returns the string representation.

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

func (ListCrossAccountResourceAccountsInput) String added in v1.47.1

String returns the string representation.

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

type ListCrossAccountResourceAccountsOutput added in v1.47.1

type ListCrossAccountResourceAccountsOutput struct {

	// The account IDs of principals (resource owners) in a cross-account attachment
	// who can work with resources listed in the same attachment.
	ResourceOwnerAwsAccountIds []*string `type:"list"`
	// contains filtered or unexported fields
}

func (ListCrossAccountResourceAccountsOutput) GoString added in v1.47.1

GoString returns the string representation.

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

func (*ListCrossAccountResourceAccountsOutput) SetResourceOwnerAwsAccountIds added in v1.47.1

SetResourceOwnerAwsAccountIds sets the ResourceOwnerAwsAccountIds field's value.

func (ListCrossAccountResourceAccountsOutput) String added in v1.47.1

String returns the string representation.

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

type ListCrossAccountResourcesInput added in v1.47.1

type ListCrossAccountResourcesInput struct {

	// The Amazon Resource Name (ARN) of an accelerator in a cross-account attachment.
	AcceleratorArn *string `type:"string"`

	// The number of cross-account resource 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"`

	// The account ID of a resource owner in a cross-account attachment.
	//
	// ResourceOwnerAwsAccountId is a required field
	ResourceOwnerAwsAccountId *string `min:"12" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListCrossAccountResourcesInput) GoString added in v1.47.1

GoString returns the string representation.

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

func (*ListCrossAccountResourcesInput) SetAcceleratorArn added in v1.47.1

SetAcceleratorArn sets the AcceleratorArn field's value.

func (*ListCrossAccountResourcesInput) SetMaxResults added in v1.47.1

SetMaxResults sets the MaxResults field's value.

func (*ListCrossAccountResourcesInput) SetNextToken added in v1.47.1

SetNextToken sets the NextToken field's value.

func (*ListCrossAccountResourcesInput) SetResourceOwnerAwsAccountId added in v1.47.1

func (s *ListCrossAccountResourcesInput) SetResourceOwnerAwsAccountId(v string) *ListCrossAccountResourcesInput

SetResourceOwnerAwsAccountId sets the ResourceOwnerAwsAccountId field's value.

func (ListCrossAccountResourcesInput) String added in v1.47.1

String returns the string representation.

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

func (*ListCrossAccountResourcesInput) Validate added in v1.47.1

func (s *ListCrossAccountResourcesInput) Validate() error

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

type ListCrossAccountResourcesOutput added in v1.47.1

type ListCrossAccountResourcesOutput struct {

	// The cross-account resources used with an accelerator.
	CrossAccountResources []*CrossAccountResource `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 (ListCrossAccountResourcesOutput) GoString added in v1.47.1

GoString returns the string representation.

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

func (*ListCrossAccountResourcesOutput) SetCrossAccountResources added in v1.47.1

SetCrossAccountResources sets the CrossAccountResources field's value.

func (*ListCrossAccountResourcesOutput) SetNextToken added in v1.47.1

SetNextToken sets the NextToken field's value.

func (ListCrossAccountResourcesOutput) String added in v1.47.1

String returns the string representation.

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

type ListCustomRoutingAcceleratorsInput added in v1.36.5

type ListCustomRoutingAcceleratorsInput struct {

	// The number of custom routing 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 (ListCustomRoutingAcceleratorsInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*ListCustomRoutingAcceleratorsInput) SetMaxResults added in v1.36.5

SetMaxResults sets the MaxResults field's value.

func (*ListCustomRoutingAcceleratorsInput) SetNextToken added in v1.36.5

SetNextToken sets the NextToken field's value.

func (ListCustomRoutingAcceleratorsInput) String added in v1.36.5

String returns the string representation.

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

func (*ListCustomRoutingAcceleratorsInput) Validate added in v1.36.5

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

type ListCustomRoutingAcceleratorsOutput added in v1.36.5

type ListCustomRoutingAcceleratorsOutput struct {

	// The list of custom routing accelerators for a customer account.
	Accelerators []*CustomRoutingAccelerator `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 (ListCustomRoutingAcceleratorsOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*ListCustomRoutingAcceleratorsOutput) SetAccelerators added in v1.36.5

SetAccelerators sets the Accelerators field's value.

func (*ListCustomRoutingAcceleratorsOutput) SetNextToken added in v1.36.5

SetNextToken sets the NextToken field's value.

func (ListCustomRoutingAcceleratorsOutput) String added in v1.36.5

String returns the string representation.

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

type ListCustomRoutingEndpointGroupsInput added in v1.36.5

type ListCustomRoutingEndpointGroupsInput struct {

	// The Amazon Resource Name (ARN) of the listener to list endpoint groups for.
	//
	// 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 (ListCustomRoutingEndpointGroupsInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*ListCustomRoutingEndpointGroupsInput) SetListenerArn added in v1.36.5

SetListenerArn sets the ListenerArn field's value.

func (*ListCustomRoutingEndpointGroupsInput) SetMaxResults added in v1.36.5

SetMaxResults sets the MaxResults field's value.

func (*ListCustomRoutingEndpointGroupsInput) SetNextToken added in v1.36.5

SetNextToken sets the NextToken field's value.

func (ListCustomRoutingEndpointGroupsInput) String added in v1.36.5

String returns the string representation.

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

func (*ListCustomRoutingEndpointGroupsInput) Validate added in v1.36.5

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

type ListCustomRoutingEndpointGroupsOutput added in v1.36.5

type ListCustomRoutingEndpointGroupsOutput struct {

	// The list of the endpoint groups associated with a listener for a custom routing
	// accelerator.
	EndpointGroups []*CustomRoutingEndpointGroup `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 (ListCustomRoutingEndpointGroupsOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*ListCustomRoutingEndpointGroupsOutput) SetEndpointGroups added in v1.36.5

SetEndpointGroups sets the EndpointGroups field's value.

func (*ListCustomRoutingEndpointGroupsOutput) SetNextToken added in v1.36.5

SetNextToken sets the NextToken field's value.

func (ListCustomRoutingEndpointGroupsOutput) String added in v1.36.5

String returns the string representation.

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

type ListCustomRoutingListenersInput added in v1.36.5

type ListCustomRoutingListenersInput struct {

	// The Amazon Resource Name (ARN) of the accelerator to list listeners for.
	//
	// 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 (ListCustomRoutingListenersInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*ListCustomRoutingListenersInput) SetAcceleratorArn added in v1.36.5

SetAcceleratorArn sets the AcceleratorArn field's value.

func (*ListCustomRoutingListenersInput) SetMaxResults added in v1.36.5

SetMaxResults sets the MaxResults field's value.

func (*ListCustomRoutingListenersInput) SetNextToken added in v1.36.5

SetNextToken sets the NextToken field's value.

func (ListCustomRoutingListenersInput) String added in v1.36.5

String returns the string representation.

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

func (*ListCustomRoutingListenersInput) Validate added in v1.36.5

func (s *ListCustomRoutingListenersInput) Validate() error

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

type ListCustomRoutingListenersOutput added in v1.36.5

type ListCustomRoutingListenersOutput struct {

	// The list of listeners for a custom routing accelerator.
	Listeners []*CustomRoutingListener `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 (ListCustomRoutingListenersOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*ListCustomRoutingListenersOutput) SetListeners added in v1.36.5

SetListeners sets the Listeners field's value.

func (*ListCustomRoutingListenersOutput) SetNextToken added in v1.36.5

SetNextToken sets the NextToken field's value.

func (ListCustomRoutingListenersOutput) String added in v1.36.5

String returns the string representation.

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

type ListCustomRoutingPortMappingsByDestinationInput added in v1.36.5

type ListCustomRoutingPortMappingsByDestinationInput struct {

	// The endpoint IP address in a virtual private cloud (VPC) subnet for which
	// you want to receive back port mappings.
	//
	// DestinationAddress is a required field
	DestinationAddress *string `type:"string" required:"true"`

	// The ID for the virtual private cloud (VPC) subnet.
	//
	// EndpointId is a required field
	EndpointId *string `type:"string" required:"true"`

	// The number of destination port mappings 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 (ListCustomRoutingPortMappingsByDestinationInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*ListCustomRoutingPortMappingsByDestinationInput) SetDestinationAddress added in v1.36.5

SetDestinationAddress sets the DestinationAddress field's value.

func (*ListCustomRoutingPortMappingsByDestinationInput) SetEndpointId added in v1.36.5

SetEndpointId sets the EndpointId field's value.

func (*ListCustomRoutingPortMappingsByDestinationInput) SetMaxResults added in v1.36.5

SetMaxResults sets the MaxResults field's value.

func (*ListCustomRoutingPortMappingsByDestinationInput) SetNextToken added in v1.36.5

SetNextToken sets the NextToken field's value.

func (ListCustomRoutingPortMappingsByDestinationInput) String added in v1.36.5

String returns the string representation.

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

func (*ListCustomRoutingPortMappingsByDestinationInput) Validate added in v1.36.5

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

type ListCustomRoutingPortMappingsByDestinationOutput added in v1.36.5

type ListCustomRoutingPortMappingsByDestinationOutput struct {

	// The port mappings for the endpoint IP address that you specified in the request.
	DestinationPortMappings []*DestinationPortMapping `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 (ListCustomRoutingPortMappingsByDestinationOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*ListCustomRoutingPortMappingsByDestinationOutput) SetDestinationPortMappings added in v1.36.5

SetDestinationPortMappings sets the DestinationPortMappings field's value.

func (*ListCustomRoutingPortMappingsByDestinationOutput) SetNextToken added in v1.36.5

SetNextToken sets the NextToken field's value.

func (ListCustomRoutingPortMappingsByDestinationOutput) String added in v1.36.5

String returns the string representation.

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

type ListCustomRoutingPortMappingsInput added in v1.36.5

type ListCustomRoutingPortMappingsInput struct {

	// The Amazon Resource Name (ARN) of the accelerator to list the custom routing
	// port mappings for.
	//
	// AcceleratorArn is a required field
	AcceleratorArn *string `type:"string" required:"true"`

	// The Amazon Resource Name (ARN) of the endpoint group to list the custom routing
	// port mappings for.
	EndpointGroupArn *string `type:"string"`

	// The number of destination port mappings 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 (ListCustomRoutingPortMappingsInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*ListCustomRoutingPortMappingsInput) SetAcceleratorArn added in v1.36.5

SetAcceleratorArn sets the AcceleratorArn field's value.

func (*ListCustomRoutingPortMappingsInput) SetEndpointGroupArn added in v1.36.5

SetEndpointGroupArn sets the EndpointGroupArn field's value.

func (*ListCustomRoutingPortMappingsInput) SetMaxResults added in v1.36.5

SetMaxResults sets the MaxResults field's value.

func (*ListCustomRoutingPortMappingsInput) SetNextToken added in v1.36.5

SetNextToken sets the NextToken field's value.

func (ListCustomRoutingPortMappingsInput) String added in v1.36.5

String returns the string representation.

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

func (*ListCustomRoutingPortMappingsInput) Validate added in v1.36.5

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

type ListCustomRoutingPortMappingsOutput added in v1.36.5

type ListCustomRoutingPortMappingsOutput struct {

	// The token for the next set of results. You receive this token from a previous
	// call.
	NextToken *string `type:"string"`

	// The port mappings for a custom routing accelerator.
	PortMappings []*PortMapping `type:"list"`
	// contains filtered or unexported fields
}

func (ListCustomRoutingPortMappingsOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*ListCustomRoutingPortMappingsOutput) SetNextToken added in v1.36.5

SetNextToken sets the NextToken field's value.

func (*ListCustomRoutingPortMappingsOutput) SetPortMappings added in v1.36.5

SetPortMappings sets the PortMappings field's value.

func (ListCustomRoutingPortMappingsOutput) String added in v1.36.5

String returns the string representation.

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

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

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

func (*ListEndpointGroupsInput) SetListenerArn

SetListenerArn sets the ListenerArn field's value.

func (*ListEndpointGroupsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListEndpointGroupsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListEndpointGroupsInput) String

func (s ListEndpointGroupsInput) String() string

String returns the string representation.

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

func (*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.

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

func (*ListEndpointGroupsOutput) SetEndpointGroups

SetEndpointGroups sets the EndpointGroups field's value.

func (*ListEndpointGroupsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListEndpointGroupsOutput) String

func (s ListEndpointGroupsOutput) String() string

String returns the string representation.

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

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

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

func (*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.

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

func (*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.

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

func (*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.

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

type ListTagsForResourceInput added in v1.29.12

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) of the accelerator to list tags for. An ARN
	// uniquely identifies an accelerator.
	//
	// ResourceArn is a required field
	ResourceArn *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString added in v1.29.12

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation.

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

func (*ListTagsForResourceInput) SetResourceArn added in v1.29.12

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String added in v1.29.12

func (s ListTagsForResourceInput) String() string

String returns the string representation.

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

func (*ListTagsForResourceInput) Validate added in v1.29.12

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput added in v1.29.12

type ListTagsForResourceOutput struct {

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

func (ListTagsForResourceOutput) GoString added in v1.29.12

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation.

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

func (*ListTagsForResourceOutput) SetTags added in v1.29.12

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String added in v1.29.12

func (s ListTagsForResourceOutput) String() string

String returns the string representation.

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

type Listener

type Listener struct {

	// Client affinity lets you direct all requests from a user to the same endpoint,
	// if you have stateful applications, regardless of the port and protocol of
	// the client request. Client affinity gives you control over whether to always
	// route each client to the same specific endpoint.
	//
	// 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.

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

func (*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.

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

type ListenerNotFoundException added in v1.28.0

type ListenerNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The listener that you specified doesn't exist.

func (*ListenerNotFoundException) Code added in v1.28.0

Code returns the exception type name.

func (*ListenerNotFoundException) Error added in v1.28.0

func (s *ListenerNotFoundException) Error() string

func (ListenerNotFoundException) GoString added in v1.28.0

func (s ListenerNotFoundException) GoString() string

GoString returns the string representation.

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

func (*ListenerNotFoundException) Message added in v1.28.0

func (s *ListenerNotFoundException) Message() string

Message returns the exception's message.

func (*ListenerNotFoundException) OrigErr added in v1.28.0

func (s *ListenerNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ListenerNotFoundException) RequestID added in v1.28.0

func (s *ListenerNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ListenerNotFoundException) StatusCode added in v1.28.0

func (s *ListenerNotFoundException) StatusCode() int

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

func (ListenerNotFoundException) String added in v1.28.0

func (s ListenerNotFoundException) String() string

String returns the string representation.

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

type PortMapping added in v1.36.5

type PortMapping struct {

	// The accelerator port.
	AcceleratorPort *int64 `min:"1" type:"integer"`

	// The EC2 instance IP address and port number in the virtual private cloud
	// (VPC) subnet.
	DestinationSocketAddress *SocketAddress `type:"structure"`

	// Indicates whether or not a port mapping destination can receive traffic.
	// The value is either ALLOW, if traffic is allowed to the destination, or DENY,
	// if traffic is not allowed to the destination.
	DestinationTrafficState *string `type:"string" enum:"CustomRoutingDestinationTrafficState"`

	// The Amazon Resource Name (ARN) of the endpoint group.
	EndpointGroupArn *string `type:"string"`

	// The IP address of the VPC subnet (the subnet ID).
	EndpointId *string `type:"string"`

	// The protocols supported by the endpoint group.
	Protocols []*string `min:"1" type:"list" enum:"CustomRoutingProtocol"`
	// contains filtered or unexported fields
}

Returns the ports and associated IP addresses and ports of Amazon EC2 instances in your virtual private cloud (VPC) subnets. Custom routing is a port mapping protocol in Global Accelerator that statically associates port ranges with VPC subnets, which allows Global Accelerator to route to specific instances and ports within one or more subnets.

func (PortMapping) GoString added in v1.36.5

func (s PortMapping) GoString() string

GoString returns the string representation.

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

func (*PortMapping) SetAcceleratorPort added in v1.36.5

func (s *PortMapping) SetAcceleratorPort(v int64) *PortMapping

SetAcceleratorPort sets the AcceleratorPort field's value.

func (*PortMapping) SetDestinationSocketAddress added in v1.36.5

func (s *PortMapping) SetDestinationSocketAddress(v *SocketAddress) *PortMapping

SetDestinationSocketAddress sets the DestinationSocketAddress field's value.

func (*PortMapping) SetDestinationTrafficState added in v1.36.5

func (s *PortMapping) SetDestinationTrafficState(v string) *PortMapping

SetDestinationTrafficState sets the DestinationTrafficState field's value.

func (*PortMapping) SetEndpointGroupArn added in v1.36.5

func (s *PortMapping) SetEndpointGroupArn(v string) *PortMapping

SetEndpointGroupArn sets the EndpointGroupArn field's value.

func (*PortMapping) SetEndpointId added in v1.36.5

func (s *PortMapping) SetEndpointId(v string) *PortMapping

SetEndpointId sets the EndpointId field's value.

func (*PortMapping) SetProtocols added in v1.36.5

func (s *PortMapping) SetProtocols(v []*string) *PortMapping

SetProtocols sets the Protocols field's value.

func (PortMapping) String added in v1.36.5

func (s PortMapping) String() string

String returns the string representation.

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

type PortOverride added in v1.35.12

type PortOverride struct {

	// The endpoint port that you want a listener port to be mapped to. This is
	// the port on the endpoint, such as the Application Load Balancer or Amazon
	// EC2 instance.
	EndpointPort *int64 `min:"1" type:"integer"`

	// The listener port that you want to map to a specific endpoint port. This
	// is the port that user traffic arrives to the Global Accelerator on.
	ListenerPort *int64 `min:"1" type:"integer"`
	// contains filtered or unexported fields
}

Override specific listener ports used to route traffic to endpoints that are part of an endpoint group. For example, you can create a port override in which the listener receives user traffic on ports 80 and 443, but your accelerator routes that traffic to ports 1080 and 1443, respectively, on the endpoints.

For more information, see Overriding listener ports (https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html) in the Global Accelerator Developer Guide.

func (PortOverride) GoString added in v1.35.12

func (s PortOverride) GoString() string

GoString returns the string representation.

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

func (*PortOverride) SetEndpointPort added in v1.35.12

func (s *PortOverride) SetEndpointPort(v int64) *PortOverride

SetEndpointPort sets the EndpointPort field's value.

func (*PortOverride) SetListenerPort added in v1.35.12

func (s *PortOverride) SetListenerPort(v int64) *PortOverride

SetListenerPort sets the ListenerPort field's value.

func (PortOverride) String added in v1.35.12

func (s PortOverride) String() string

String returns the string representation.

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

func (*PortOverride) Validate added in v1.35.12

func (s *PortOverride) Validate() error

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

type PortRange

type PortRange struct {

	// The first port in the range of ports, inclusive.
	FromPort *int64 `min:"1" type:"integer"`

	// The last port in the range of ports, inclusive.
	ToPort *int64 `min:"1" type:"integer"`
	// contains filtered or unexported fields
}

A complex type for a range of ports for a listener.

func (PortRange) GoString

func (s PortRange) GoString() string

GoString returns the string representation.

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

func (*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.

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

func (*PortRange) Validate

func (s *PortRange) Validate() error

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

type ProvisionByoipCidrInput added in v1.29.12

type ProvisionByoipCidrInput struct {

	// The public IPv4 address range, in CIDR notation. The most specific IP prefix
	// that you can specify is /24. The address range cannot overlap with another
	// address range that you've brought to this Amazon Web Services Region or another
	// Region.
	//
	// For more information, see Bring your own IP addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html)
	// in the Global Accelerator Developer Guide.
	//
	// Cidr is a required field
	Cidr *string `type:"string" required:"true"`

	// A signed document that proves that you are authorized to bring the specified
	// IP address range to Amazon using BYOIP.
	//
	// CidrAuthorizationContext is a required field
	CidrAuthorizationContext *CidrAuthorizationContext `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (ProvisionByoipCidrInput) GoString added in v1.29.12

func (s ProvisionByoipCidrInput) GoString() string

GoString returns the string representation.

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

func (*ProvisionByoipCidrInput) SetCidr added in v1.29.12

SetCidr sets the Cidr field's value.

func (*ProvisionByoipCidrInput) SetCidrAuthorizationContext added in v1.29.12

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

SetCidrAuthorizationContext sets the CidrAuthorizationContext field's value.

func (ProvisionByoipCidrInput) String added in v1.29.12

func (s ProvisionByoipCidrInput) String() string

String returns the string representation.

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

func (*ProvisionByoipCidrInput) Validate added in v1.29.12

func (s *ProvisionByoipCidrInput) Validate() error

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

type ProvisionByoipCidrOutput added in v1.29.12

type ProvisionByoipCidrOutput struct {

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

func (ProvisionByoipCidrOutput) GoString added in v1.29.12

func (s ProvisionByoipCidrOutput) GoString() string

GoString returns the string representation.

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

func (*ProvisionByoipCidrOutput) SetByoipCidr added in v1.29.12

SetByoipCidr sets the ByoipCidr field's value.

func (ProvisionByoipCidrOutput) String added in v1.29.12

func (s ProvisionByoipCidrOutput) String() string

String returns the string representation.

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

type RemoveCustomRoutingEndpointsInput added in v1.36.5

type RemoveCustomRoutingEndpointsInput struct {

	// The Amazon Resource Name (ARN) of the endpoint group to remove endpoints
	// from.
	//
	// EndpointGroupArn is a required field
	EndpointGroupArn *string `type:"string" required:"true"`

	// The IDs for the endpoints. For custom routing accelerators, endpoint IDs
	// are the virtual private cloud (VPC) subnet IDs.
	//
	// EndpointIds is a required field
	EndpointIds []*string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (RemoveCustomRoutingEndpointsInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*RemoveCustomRoutingEndpointsInput) SetEndpointGroupArn added in v1.36.5

SetEndpointGroupArn sets the EndpointGroupArn field's value.

func (*RemoveCustomRoutingEndpointsInput) SetEndpointIds added in v1.36.5

SetEndpointIds sets the EndpointIds field's value.

func (RemoveCustomRoutingEndpointsInput) String added in v1.36.5

String returns the string representation.

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

func (*RemoveCustomRoutingEndpointsInput) Validate added in v1.36.5

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

type RemoveCustomRoutingEndpointsOutput added in v1.36.5

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

func (RemoveCustomRoutingEndpointsOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (RemoveCustomRoutingEndpointsOutput) String added in v1.36.5

String returns the string representation.

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

type RemoveEndpointsInput added in v1.44.120

type RemoveEndpointsInput struct {

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

	// The identifiers of the endpoints that you want to remove.
	//
	// EndpointIdentifiers is a required field
	EndpointIdentifiers []*EndpointIdentifier `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (RemoveEndpointsInput) GoString added in v1.44.120

func (s RemoveEndpointsInput) GoString() string

GoString returns the string representation.

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

func (*RemoveEndpointsInput) SetEndpointGroupArn added in v1.44.120

func (s *RemoveEndpointsInput) SetEndpointGroupArn(v string) *RemoveEndpointsInput

SetEndpointGroupArn sets the EndpointGroupArn field's value.

func (*RemoveEndpointsInput) SetEndpointIdentifiers added in v1.44.120

func (s *RemoveEndpointsInput) SetEndpointIdentifiers(v []*EndpointIdentifier) *RemoveEndpointsInput

SetEndpointIdentifiers sets the EndpointIdentifiers field's value.

func (RemoveEndpointsInput) String added in v1.44.120

func (s RemoveEndpointsInput) String() string

String returns the string representation.

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

func (*RemoveEndpointsInput) Validate added in v1.44.120

func (s *RemoveEndpointsInput) Validate() error

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

type RemoveEndpointsOutput added in v1.44.120

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

func (RemoveEndpointsOutput) GoString added in v1.44.120

func (s RemoveEndpointsOutput) GoString() string

GoString returns the string representation.

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

func (RemoveEndpointsOutput) String added in v1.44.120

func (s RemoveEndpointsOutput) String() string

String returns the string representation.

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

type Resource added in v1.47.1

type Resource struct {

	// An IP address range, in CIDR format, that is specified as resource. The address
	// must be provisioned and advertised in Global Accelerator by following the
	// bring your own IP address (BYOIP) process for Global Accelerator
	//
	// For more information, see Bring your own IP addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html)
	// in the Global Accelerator Developer Guide.
	Cidr *string `type:"string"`

	// The endpoint ID for the endpoint that is specified as a Amazon Web Services
	// resource.
	//
	// An endpoint ID for the cross-account feature is the ARN of an Amazon Web
	// Services resource, such as a Network Load Balancer, that Global Accelerator
	// supports as an endpoint for an accelerator.
	EndpointId *string `type:"string"`

	// The Amazon Web Services Region where a shared endpoint resource is located.
	Region *string `type:"string"`
	// contains filtered or unexported fields
}

A resource is one of the following: the ARN for an Amazon Web Services resource that is supported by Global Accelerator to be added as an endpoint, or a CIDR range that specifies a bring your own IP (BYOIP) address pool.

func (Resource) GoString added in v1.47.1

func (s Resource) GoString() string

GoString returns the string representation.

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

func (*Resource) SetCidr added in v1.51.7

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

SetCidr sets the Cidr field's value.

func (*Resource) SetEndpointId added in v1.47.1

func (s *Resource) SetEndpointId(v string) *Resource

SetEndpointId sets the EndpointId field's value.

func (*Resource) SetRegion added in v1.47.1

func (s *Resource) SetRegion(v string) *Resource

SetRegion sets the Region field's value.

func (Resource) String added in v1.47.1

func (s Resource) String() string

String returns the string representation.

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

type SocketAddress added in v1.36.5

type SocketAddress struct {

	// The IP address for the socket address.
	IpAddress *string `type:"string"`

	// The port for the socket address.
	Port *int64 `min:"1" type:"integer"`
	// contains filtered or unexported fields
}

An IP address/port combination.

func (SocketAddress) GoString added in v1.36.5

func (s SocketAddress) GoString() string

GoString returns the string representation.

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

func (*SocketAddress) SetIpAddress added in v1.36.5

func (s *SocketAddress) SetIpAddress(v string) *SocketAddress

SetIpAddress sets the IpAddress field's value.

func (*SocketAddress) SetPort added in v1.36.5

func (s *SocketAddress) SetPort(v int64) *SocketAddress

SetPort sets the Port field's value.

func (SocketAddress) String added in v1.36.5

func (s SocketAddress) String() string

String returns the string representation.

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

type Tag added in v1.29.12

type Tag struct {

	// A string that contains a Tag key.
	//
	// Key is a required field
	Key *string `min:"1" type:"string" required:"true"`

	// A string that contains a Tag value.
	//
	// Value is a required field
	Value *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

A complex type that contains a Tag key and Tag value.

func (Tag) GoString added in v1.29.12

func (s Tag) GoString() string

GoString returns the string representation.

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

func (*Tag) SetKey added in v1.29.12

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

SetKey sets the Key field's value.

func (*Tag) SetValue added in v1.29.12

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

SetValue sets the Value field's value.

func (Tag) String added in v1.29.12

func (s Tag) String() string

String returns the string representation.

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

func (*Tag) Validate added in v1.29.12

func (s *Tag) Validate() error

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

type TagResourceInput added in v1.29.12

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the Global Accelerator resource to add
	// tags to. An ARN uniquely identifies a resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `min:"1" type:"string" required:"true"`

	// The tags to add to a resource. A tag consists of a key and a value that you
	// define.
	//
	// Tags is a required field
	Tags []*Tag `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString added in v1.29.12

func (s TagResourceInput) GoString() string

GoString returns the string representation.

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

func (*TagResourceInput) SetResourceArn added in v1.29.12

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

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags added in v1.29.12

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

SetTags sets the Tags field's value.

func (TagResourceInput) String added in v1.29.12

func (s TagResourceInput) String() string

String returns the string representation.

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

func (*TagResourceInput) Validate added in v1.29.12

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput added in v1.29.12

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

func (TagResourceOutput) GoString added in v1.29.12

func (s TagResourceOutput) GoString() string

GoString returns the string representation.

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

func (TagResourceOutput) String added in v1.29.12

func (s TagResourceOutput) String() string

String returns the string representation.

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

type TransactionInProgressException added in v1.44.120

type TransactionInProgressException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

There's already a transaction in progress. Another transaction can't be processed.

func (*TransactionInProgressException) Code added in v1.44.120

Code returns the exception type name.

func (*TransactionInProgressException) Error added in v1.44.120

func (TransactionInProgressException) GoString added in v1.44.120

GoString returns the string representation.

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

func (*TransactionInProgressException) Message added in v1.44.120

Message returns the exception's message.

func (*TransactionInProgressException) OrigErr added in v1.44.120

OrigErr always returns nil, satisfies awserr.Error interface.

func (*TransactionInProgressException) RequestID added in v1.44.120

func (s *TransactionInProgressException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*TransactionInProgressException) StatusCode added in v1.44.120

func (s *TransactionInProgressException) StatusCode() int

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

func (TransactionInProgressException) String added in v1.44.120

String returns the string representation.

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

type UntagResourceInput added in v1.29.12

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the Global Accelerator resource to remove
	// tags from. An ARN uniquely identifies a resource.
	//
	// ResourceArn is a required field
	ResourceArn *string `min:"1" type:"string" required:"true"`

	// The tag key pairs that you want to remove from the specified resources.
	//
	// TagKeys is a required field
	TagKeys []*string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString added in v1.29.12

func (s UntagResourceInput) GoString() string

GoString returns the string representation.

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

func (*UntagResourceInput) SetResourceArn added in v1.29.12

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

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys added in v1.29.12

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

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String added in v1.29.12

func (s UntagResourceInput) String() string

String returns the string representation.

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

func (*UntagResourceInput) Validate added in v1.29.12

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput added in v1.29.12

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

func (UntagResourceOutput) GoString added in v1.29.12

func (s UntagResourceOutput) GoString() string

GoString returns the string representation.

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

func (UntagResourceOutput) String added in v1.29.12

func (s UntagResourceOutput) String() string

String returns the string representation.

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

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

GoString returns the string representation.

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

func (*UpdateAcceleratorAttributesInput) SetAcceleratorArn

SetAcceleratorArn sets the AcceleratorArn field's value.

func (*UpdateAcceleratorAttributesInput) SetFlowLogsEnabled

SetFlowLogsEnabled sets the FlowLogsEnabled field's value.

func (*UpdateAcceleratorAttributesInput) SetFlowLogsS3Bucket

SetFlowLogsS3Bucket sets the FlowLogsS3Bucket field's value.

func (*UpdateAcceleratorAttributesInput) SetFlowLogsS3Prefix

SetFlowLogsS3Prefix sets the FlowLogsS3Prefix field's value.

func (UpdateAcceleratorAttributesInput) String

String returns the string representation.

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

func (*UpdateAcceleratorAttributesInput) Validate added in v1.23.11

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

GoString returns the string representation.

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

func (*UpdateAcceleratorAttributesOutput) SetAcceleratorAttributes

SetAcceleratorAttributes sets the AcceleratorAttributes field's value.

func (UpdateAcceleratorAttributesOutput) String

String returns the string representation.

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

type 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 IP address type that an accelerator supports. For a standard accelerator,
	// the value can be IPV4 or DUAL_STACK.
	IpAddressType *string `type:"string" enum:"IpAddressType"`

	// The name of the accelerator. The name can have a maximum of 64 characters,
	// must contain only alphanumeric characters, periods (.), or hyphens (-), and
	// must not begin or end with a hyphen or period.
	Name *string `type:"string"`
	// contains filtered or unexported fields
}

func (UpdateAcceleratorInput) GoString

func (s UpdateAcceleratorInput) GoString() string

GoString returns the string representation.

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

func (*UpdateAcceleratorInput) SetAcceleratorArn

func (s *UpdateAcceleratorInput) SetAcceleratorArn(v string) *UpdateAcceleratorInput

SetAcceleratorArn sets the AcceleratorArn field's value.

func (*UpdateAcceleratorInput) SetEnabled

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

SetName sets the Name field's value.

func (UpdateAcceleratorInput) String

func (s UpdateAcceleratorInput) String() string

String returns the string representation.

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

func (*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.

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

func (*UpdateAcceleratorOutput) SetAccelerator

SetAccelerator sets the Accelerator field's value.

func (UpdateAcceleratorOutput) String

func (s UpdateAcceleratorOutput) String() string

String returns the string representation.

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

type UpdateCrossAccountAttachmentInput added in v1.47.1

type UpdateCrossAccountAttachmentInput struct {

	// The principals to add to the cross-account attachment. A principal is an
	// account or the Amazon Resource Name (ARN) of an accelerator that the attachment
	// gives permission to work with resources from another account. The resources
	// are also listed in the attachment.
	//
	// To add more than one principal, separate the account numbers or accelerator
	// ARNs, or both, with commas.
	AddPrincipals []*string `type:"list"`

	// The resources to add to the cross-account attachment. A resource listed in
	// a cross-account attachment can be used with an accelerator by the principals
	// that are listed in the attachment.
	//
	// To add more than one resource, separate the resource ARNs with commas.
	AddResources []*Resource `type:"list"`

	// The Amazon Resource Name (ARN) of the cross-account attachment to update.
	//
	// AttachmentArn is a required field
	AttachmentArn *string `type:"string" required:"true"`

	// The name of the cross-account attachment.
	Name *string `type:"string"`

	// The principals to remove from the cross-account attachment. A principal is
	// an account or the Amazon Resource Name (ARN) of an accelerator that the attachment
	// gives permission to work with resources from another account. The resources
	// are also listed in the attachment.
	//
	// To remove more than one principal, separate the account numbers or accelerator
	// ARNs, or both, with commas.
	RemovePrincipals []*string `type:"list"`

	// The resources to remove from the cross-account attachment. A resource listed
	// in a cross-account attachment can be used with an accelerator by the principals
	// that are listed in the attachment.
	//
	// To remove more than one resource, separate the resource ARNs with commas.
	RemoveResources []*Resource `type:"list"`
	// contains filtered or unexported fields
}

func (UpdateCrossAccountAttachmentInput) GoString added in v1.47.1

GoString returns the string representation.

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

func (*UpdateCrossAccountAttachmentInput) SetAddPrincipals added in v1.47.1

SetAddPrincipals sets the AddPrincipals field's value.

func (*UpdateCrossAccountAttachmentInput) SetAddResources added in v1.47.1

SetAddResources sets the AddResources field's value.

func (*UpdateCrossAccountAttachmentInput) SetAttachmentArn added in v1.47.1

SetAttachmentArn sets the AttachmentArn field's value.

func (*UpdateCrossAccountAttachmentInput) SetName added in v1.47.1

SetName sets the Name field's value.

func (*UpdateCrossAccountAttachmentInput) SetRemovePrincipals added in v1.47.1

SetRemovePrincipals sets the RemovePrincipals field's value.

func (*UpdateCrossAccountAttachmentInput) SetRemoveResources added in v1.47.1

SetRemoveResources sets the RemoveResources field's value.

func (UpdateCrossAccountAttachmentInput) String added in v1.47.1

String returns the string representation.

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

func (*UpdateCrossAccountAttachmentInput) Validate added in v1.47.1

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

type UpdateCrossAccountAttachmentOutput added in v1.47.1

type UpdateCrossAccountAttachmentOutput struct {

	// Information about the updated cross-account attachment.
	CrossAccountAttachment *Attachment `type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateCrossAccountAttachmentOutput) GoString added in v1.47.1

GoString returns the string representation.

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

func (*UpdateCrossAccountAttachmentOutput) SetCrossAccountAttachment added in v1.47.1

SetCrossAccountAttachment sets the CrossAccountAttachment field's value.

func (UpdateCrossAccountAttachmentOutput) String added in v1.47.1

String returns the string representation.

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

type UpdateCustomRoutingAcceleratorAttributesInput added in v1.36.5

type UpdateCustomRoutingAcceleratorAttributesInput struct {

	// The Amazon Resource Name (ARN) of the custom routing accelerator to update
	// attributes for.
	//
	// 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 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 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:
	//
	// DOC-EXAMPLE-BUCKET//AWSLogs/aws_account_id
	FlowLogsS3Prefix *string `type:"string"`
	// contains filtered or unexported fields
}

func (UpdateCustomRoutingAcceleratorAttributesInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*UpdateCustomRoutingAcceleratorAttributesInput) SetAcceleratorArn added in v1.36.5

SetAcceleratorArn sets the AcceleratorArn field's value.

func (*UpdateCustomRoutingAcceleratorAttributesInput) SetFlowLogsEnabled added in v1.36.5

SetFlowLogsEnabled sets the FlowLogsEnabled field's value.

func (*UpdateCustomRoutingAcceleratorAttributesInput) SetFlowLogsS3Bucket added in v1.36.5

SetFlowLogsS3Bucket sets the FlowLogsS3Bucket field's value.

func (*UpdateCustomRoutingAcceleratorAttributesInput) SetFlowLogsS3Prefix added in v1.36.5

SetFlowLogsS3Prefix sets the FlowLogsS3Prefix field's value.

func (UpdateCustomRoutingAcceleratorAttributesInput) String added in v1.36.5

String returns the string representation.

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

func (*UpdateCustomRoutingAcceleratorAttributesInput) Validate added in v1.36.5

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

type UpdateCustomRoutingAcceleratorAttributesOutput added in v1.36.5

type UpdateCustomRoutingAcceleratorAttributesOutput struct {

	// Updated custom routing accelerator.
	AcceleratorAttributes *CustomRoutingAcceleratorAttributes `type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateCustomRoutingAcceleratorAttributesOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*UpdateCustomRoutingAcceleratorAttributesOutput) SetAcceleratorAttributes added in v1.36.5

SetAcceleratorAttributes sets the AcceleratorAttributes field's value.

func (UpdateCustomRoutingAcceleratorAttributesOutput) String added in v1.36.5

String returns the string representation.

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

type UpdateCustomRoutingAcceleratorInput added in v1.36.5

type UpdateCustomRoutingAcceleratorInput 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 IP address type that an accelerator supports. For a custom routing accelerator,
	// the value must be IPV4.
	IpAddressType *string `type:"string" enum:"IpAddressType"`

	// The name of the accelerator. The name can have a maximum of 64 characters,
	// must contain only alphanumeric characters, periods (.), or hyphens (-), and
	// must not begin or end with a hyphen or period.
	Name *string `type:"string"`
	// contains filtered or unexported fields
}

func (UpdateCustomRoutingAcceleratorInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*UpdateCustomRoutingAcceleratorInput) SetAcceleratorArn added in v1.36.5

SetAcceleratorArn sets the AcceleratorArn field's value.

func (*UpdateCustomRoutingAcceleratorInput) SetEnabled added in v1.36.5

SetEnabled sets the Enabled field's value.

func (*UpdateCustomRoutingAcceleratorInput) SetIpAddressType added in v1.36.5

SetIpAddressType sets the IpAddressType field's value.

func (*UpdateCustomRoutingAcceleratorInput) SetName added in v1.36.5

SetName sets the Name field's value.

func (UpdateCustomRoutingAcceleratorInput) String added in v1.36.5

String returns the string representation.

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

func (*UpdateCustomRoutingAcceleratorInput) Validate added in v1.36.5

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

type UpdateCustomRoutingAcceleratorOutput added in v1.36.5

type UpdateCustomRoutingAcceleratorOutput struct {

	// Information about the updated custom routing accelerator.
	Accelerator *CustomRoutingAccelerator `type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateCustomRoutingAcceleratorOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*UpdateCustomRoutingAcceleratorOutput) SetAccelerator added in v1.36.5

SetAccelerator sets the Accelerator field's value.

func (UpdateCustomRoutingAcceleratorOutput) String added in v1.36.5

String returns the string representation.

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

type UpdateCustomRoutingListenerInput added in v1.36.5

type UpdateCustomRoutingListenerInput struct {

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

	// The updated port range to support for connections from clients to your accelerator.
	// If you remove ports that are currently being used by a subnet endpoint, the
	// call fails.
	//
	// Separately, you set port ranges for endpoints. For more information, see
	// About endpoints for custom routing accelerators (https://docs.aws.amazon.com/global-accelerator/latest/dg/about-custom-routing-endpoints.html).
	//
	// PortRanges is a required field
	PortRanges []*PortRange `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateCustomRoutingListenerInput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*UpdateCustomRoutingListenerInput) SetListenerArn added in v1.36.5

SetListenerArn sets the ListenerArn field's value.

func (*UpdateCustomRoutingListenerInput) SetPortRanges added in v1.36.5

SetPortRanges sets the PortRanges field's value.

func (UpdateCustomRoutingListenerInput) String added in v1.36.5

String returns the string representation.

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

func (*UpdateCustomRoutingListenerInput) Validate added in v1.36.5

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

type UpdateCustomRoutingListenerOutput added in v1.36.5

type UpdateCustomRoutingListenerOutput struct {

	// Information for the updated listener for a custom routing accelerator.
	Listener *CustomRoutingListener `type:"structure"`
	// contains filtered or unexported fields
}

func (UpdateCustomRoutingListenerOutput) GoString added in v1.36.5

GoString returns the string representation.

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

func (*UpdateCustomRoutingListenerOutput) SetListener added in v1.36.5

SetListener sets the Listener field's value.

func (UpdateCustomRoutingListenerOutput) String added in v1.36.5

String returns the string representation.

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

type UpdateEndpointGroupInput

type UpdateEndpointGroupInput struct {

	// The list of endpoint objects. A resource must be valid and active when you
	// add it as an endpoint.
	EndpointConfigurations []*EndpointConfiguration `type:"list"`

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

	// The time—10 seconds or 30 seconds—between each health check for an endpoint.
	// The default value is 30.
	HealthCheckIntervalSeconds *int64 `min:"10" type:"integer"`

	// If the protocol is HTTP/S, then this specifies the path that is the destination
	// for health check targets. The default value is slash (/).
	HealthCheckPath *string `type:"string"`

	// The port that 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 Global Accelerator uses to check the health of endpoints
	// that are part of this endpoint group. The default value is TCP.
	HealthCheckProtocol *string `type:"string" enum:"HealthCheckProtocol"`

	// Override specific listener ports used to route traffic to endpoints that
	// are part of this endpoint group. For example, you can create a port override
	// in which the listener receives user traffic on ports 80 and 443, but your
	// accelerator routes that traffic to ports 1080 and 1443, respectively, on
	// the endpoints.
	//
	// For more information, see Overriding listener ports (https://docs.aws.amazon.com/global-accelerator/latest/dg/about-endpoint-groups-port-override.html)
	// in the Global Accelerator Developer Guide.
	PortOverrides []*PortOverride `type:"list"`

	// The number of consecutive health checks required to set the state of a healthy
	// endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default
	// value is 3.
	ThresholdCount *int64 `min:"1" type:"integer"`

	// The percentage of traffic to send to an Amazon Web Services 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.

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

func (*UpdateEndpointGroupInput) SetEndpointConfigurations

func (s *UpdateEndpointGroupInput) SetEndpointConfigurations(v []*EndpointConfiguration) *UpdateEndpointGroupInput

SetEndpointConfigurations sets the EndpointConfigurations field's value.

func (*UpdateEndpointGroupInput) SetEndpointGroupArn

func (s *UpdateEndpointGroupInput) SetEndpointGroupArn(v string) *UpdateEndpointGroupInput

SetEndpointGroupArn sets the EndpointGroupArn field's value.

func (*UpdateEndpointGroupInput) SetHealthCheckIntervalSeconds

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

SetHealthCheckIntervalSeconds sets the HealthCheckIntervalSeconds field's value.

func (*UpdateEndpointGroupInput) SetHealthCheckPath

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

SetHealthCheckPath sets the HealthCheckPath field's value.

func (*UpdateEndpointGroupInput) SetHealthCheckPort

func (s *UpdateEndpointGroupInput) SetHealthCheckPort(v int64) *UpdateEndpointGroupInput

SetHealthCheckPort sets the HealthCheckPort field's value.

func (*UpdateEndpointGroupInput) SetHealthCheckProtocol

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

SetHealthCheckProtocol sets the HealthCheckProtocol field's value.

func (*UpdateEndpointGroupInput) SetPortOverrides added in v1.35.12

SetPortOverrides sets the PortOverrides field's value.

func (*UpdateEndpointGroupInput) SetThresholdCount

func (s *UpdateEndpointGroupInput) SetThresholdCount(v int64) *UpdateEndpointGroupInput

SetThresholdCount sets the ThresholdCount field's value.

func (*UpdateEndpointGroupInput) SetTrafficDialPercentage

func (s *UpdateEndpointGroupInput) SetTrafficDialPercentage(v float64) *UpdateEndpointGroupInput

SetTrafficDialPercentage sets the TrafficDialPercentage field's value.

func (UpdateEndpointGroupInput) String

func (s UpdateEndpointGroupInput) String() string

String returns the string representation.

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

func (*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.

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

func (*UpdateEndpointGroupOutput) SetEndpointGroup

SetEndpointGroup sets the EndpointGroup field's value.

func (UpdateEndpointGroupOutput) String

func (s UpdateEndpointGroupOutput) String() string

String returns the string representation.

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

type UpdateListenerInput

type UpdateListenerInput struct {

	// Client affinity lets you direct all requests from a user to the same endpoint,
	// if you have stateful applications, regardless of the port and protocol of
	// the client request. Client affinity gives you control over whether to always
	// route each client to the same specific endpoint.
	//
	// 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.

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

func (*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.

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

func (*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.

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

func (*UpdateListenerOutput) SetListener

SetListener sets the Listener field's value.

func (UpdateListenerOutput) String

func (s UpdateListenerOutput) String() string

String returns the string representation.

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

type WithdrawByoipCidrInput added in v1.29.12

type WithdrawByoipCidrInput struct {

	// The address range, in CIDR notation.
	//
	// For more information, see Bring your own IP addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html)
	// in the Global Accelerator Developer Guide.
	//
	// Cidr is a required field
	Cidr *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (WithdrawByoipCidrInput) GoString added in v1.29.12

func (s WithdrawByoipCidrInput) GoString() string

GoString returns the string representation.

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

func (*WithdrawByoipCidrInput) SetCidr added in v1.29.12

SetCidr sets the Cidr field's value.

func (WithdrawByoipCidrInput) String added in v1.29.12

func (s WithdrawByoipCidrInput) String() string

String returns the string representation.

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

func (*WithdrawByoipCidrInput) Validate added in v1.29.12

func (s *WithdrawByoipCidrInput) Validate() error

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

type WithdrawByoipCidrOutput added in v1.29.12

type WithdrawByoipCidrOutput struct {

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

func (WithdrawByoipCidrOutput) GoString added in v1.29.12

func (s WithdrawByoipCidrOutput) GoString() string

GoString returns the string representation.

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

func (*WithdrawByoipCidrOutput) SetByoipCidr added in v1.29.12

SetByoipCidr sets the ByoipCidr field's value.

func (WithdrawByoipCidrOutput) String added in v1.29.12

func (s WithdrawByoipCidrOutput) String() string

String returns the string representation.

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

Directories

Path Synopsis
Package globalacceleratoriface provides an interface to enable mocking the AWS Global Accelerator service client for testing your code.
Package globalacceleratoriface provides an interface to enable mocking the AWS Global Accelerator service client for testing your code.

Jump to

Keyboard shortcuts

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