GlobalAcceleratorClient#
Index > GlobalAccelerator > GlobalAcceleratorClient
Auto-generated documentation for GlobalAccelerator type annotations stubs module mypy-boto3-globalaccelerator.
GlobalAcceleratorClient#
Type annotations and code completion for boto3.client("globalaccelerator")
.
boto3 documentation
# GlobalAcceleratorClient usage example
from boto3.session import Session
from mypy_boto3_globalaccelerator.client import GlobalAcceleratorClient
def get_globalaccelerator_client() -> GlobalAcceleratorClient:
return Session().client("globalaccelerator")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("globalaccelerator").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("globalaccelerator")
try:
do_something(client)
except (
client.exceptions.AcceleratorNotDisabledException,
client.exceptions.AcceleratorNotFoundException,
client.exceptions.AccessDeniedException,
client.exceptions.AssociatedEndpointGroupFoundException,
client.exceptions.AssociatedListenerFoundException,
client.exceptions.AttachmentNotFoundException,
client.exceptions.ByoipCidrNotFoundException,
client.exceptions.ClientError,
client.exceptions.ConflictException,
client.exceptions.EndpointAlreadyExistsException,
client.exceptions.EndpointGroupAlreadyExistsException,
client.exceptions.EndpointGroupNotFoundException,
client.exceptions.EndpointNotFoundException,
client.exceptions.IncorrectCidrStateException,
client.exceptions.InternalServiceErrorException,
client.exceptions.InvalidArgumentException,
client.exceptions.InvalidNextTokenException,
client.exceptions.InvalidPortRangeException,
client.exceptions.LimitExceededException,
client.exceptions.ListenerNotFoundException,
client.exceptions.TransactionInProgressException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_globalaccelerator.client import Exceptions
def handle_error(exc: Exceptions.AcceleratorNotDisabledException) -> None:
...
Methods#
add_custom_routing_endpoints#
Associate a virtual private cloud (VPC) subnet endpoint with your custom routing accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").add_custom_routing_endpoints
method.
boto3 documentation
# add_custom_routing_endpoints method definition
def add_custom_routing_endpoints(
self,
*,
EndpointConfigurations: Sequence[CustomRoutingEndpointConfigurationTypeDef], # (1)
EndpointGroupArn: str,
) -> AddCustomRoutingEndpointsResponseTypeDef: # (2)
...
# add_custom_routing_endpoints method usage example with argument unpacking
kwargs: AddCustomRoutingEndpointsRequestRequestTypeDef = { # (1)
"EndpointConfigurations": ...,
"EndpointGroupArn": ...,
}
parent.add_custom_routing_endpoints(**kwargs)
add_endpoints#
Add endpoints to an endpoint group.
Type annotations and code completion for boto3.client("globalaccelerator").add_endpoints
method.
boto3 documentation
# add_endpoints method definition
def add_endpoints(
self,
*,
EndpointConfigurations: Sequence[EndpointConfigurationTypeDef], # (1)
EndpointGroupArn: str,
) -> AddEndpointsResponseTypeDef: # (2)
...
# add_endpoints method usage example with argument unpacking
kwargs: AddEndpointsRequestRequestTypeDef = { # (1)
"EndpointConfigurations": ...,
"EndpointGroupArn": ...,
}
parent.add_endpoints(**kwargs)
advertise_byoip_cidr#
Advertises an IPv4 address range that is provisioned for use with your Amazon Web Services resources through bring your own IP addresses (BYOIP).
Type annotations and code completion for boto3.client("globalaccelerator").advertise_byoip_cidr
method.
boto3 documentation
# advertise_byoip_cidr method definition
def advertise_byoip_cidr(
self,
*,
Cidr: str,
) -> AdvertiseByoipCidrResponseTypeDef: # (1)
...
# advertise_byoip_cidr method usage example with argument unpacking
kwargs: AdvertiseByoipCidrRequestRequestTypeDef = { # (1)
"Cidr": ...,
}
parent.advertise_byoip_cidr(**kwargs)
allow_custom_routing_traffic#
Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that can receive traffic for a custom routing accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").allow_custom_routing_traffic
method.
boto3 documentation
# allow_custom_routing_traffic method definition
def allow_custom_routing_traffic(
self,
*,
EndpointGroupArn: str,
EndpointId: str,
DestinationAddresses: Sequence[str] = ...,
DestinationPorts: Sequence[int] = ...,
AllowAllTrafficToEndpoint: bool = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# allow_custom_routing_traffic method usage example with argument unpacking
kwargs: AllowCustomRoutingTrafficRequestRequestTypeDef = { # (1)
"EndpointGroupArn": ...,
"EndpointId": ...,
}
parent.allow_custom_routing_traffic(**kwargs)
can_paginate#
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("globalaccelerator").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
close#
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("globalaccelerator").close
method.
boto3 documentation
# close method definition
def close(
self,
) -> None:
...
create_accelerator#
Create an accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").create_accelerator
method.
boto3 documentation
# create_accelerator method definition
def create_accelerator(
self,
*,
Name: str,
IdempotencyToken: str,
IpAddressType: IpAddressTypeType = ..., # (1)
IpAddresses: Sequence[str] = ...,
Enabled: bool = ...,
Tags: Sequence[TagTypeDef] = ..., # (2)
) -> CreateAcceleratorResponseTypeDef: # (3)
...
# create_accelerator method usage example with argument unpacking
kwargs: CreateAcceleratorRequestRequestTypeDef = { # (1)
"Name": ...,
"IdempotencyToken": ...,
}
parent.create_accelerator(**kwargs)
create_cross_account_attachment#
Create a cross-account attachment in Global Accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").create_cross_account_attachment
method.
boto3 documentation
# create_cross_account_attachment method definition
def create_cross_account_attachment(
self,
*,
Name: str,
IdempotencyToken: str,
Principals: Sequence[str] = ...,
Resources: Sequence[ResourceTypeDef] = ..., # (1)
Tags: Sequence[TagTypeDef] = ..., # (2)
) -> CreateCrossAccountAttachmentResponseTypeDef: # (3)
...
# create_cross_account_attachment method usage example with argument unpacking
kwargs: CreateCrossAccountAttachmentRequestRequestTypeDef = { # (1)
"Name": ...,
"IdempotencyToken": ...,
}
parent.create_cross_account_attachment(**kwargs)
create_custom_routing_accelerator#
Create a custom routing accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").create_custom_routing_accelerator
method.
boto3 documentation
# create_custom_routing_accelerator method definition
def create_custom_routing_accelerator(
self,
*,
Name: str,
IdempotencyToken: str,
IpAddressType: IpAddressTypeType = ..., # (1)
IpAddresses: Sequence[str] = ...,
Enabled: bool = ...,
Tags: Sequence[TagTypeDef] = ..., # (2)
) -> CreateCustomRoutingAcceleratorResponseTypeDef: # (3)
...
# create_custom_routing_accelerator method usage example with argument unpacking
kwargs: CreateCustomRoutingAcceleratorRequestRequestTypeDef = { # (1)
"Name": ...,
"IdempotencyToken": ...,
}
parent.create_custom_routing_accelerator(**kwargs)
create_custom_routing_endpoint_group#
Create an endpoint group for the specified listener for a custom routing accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").create_custom_routing_endpoint_group
method.
boto3 documentation
# create_custom_routing_endpoint_group method definition
def create_custom_routing_endpoint_group(
self,
*,
ListenerArn: str,
EndpointGroupRegion: str,
DestinationConfigurations: Sequence[CustomRoutingDestinationConfigurationTypeDef], # (1)
IdempotencyToken: str,
) -> CreateCustomRoutingEndpointGroupResponseTypeDef: # (2)
...
- See CustomRoutingDestinationConfigurationTypeDef
- See CreateCustomRoutingEndpointGroupResponseTypeDef
# create_custom_routing_endpoint_group method usage example with argument unpacking
kwargs: CreateCustomRoutingEndpointGroupRequestRequestTypeDef = { # (1)
"ListenerArn": ...,
"EndpointGroupRegion": ...,
"DestinationConfigurations": ...,
"IdempotencyToken": ...,
}
parent.create_custom_routing_endpoint_group(**kwargs)
create_custom_routing_listener#
Create a listener to process inbound connections from clients to a custom routing accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").create_custom_routing_listener
method.
boto3 documentation
# create_custom_routing_listener method definition
def create_custom_routing_listener(
self,
*,
AcceleratorArn: str,
PortRanges: Sequence[PortRangeTypeDef], # (1)
IdempotencyToken: str,
) -> CreateCustomRoutingListenerResponseTypeDef: # (2)
...
# create_custom_routing_listener method usage example with argument unpacking
kwargs: CreateCustomRoutingListenerRequestRequestTypeDef = { # (1)
"AcceleratorArn": ...,
"PortRanges": ...,
"IdempotencyToken": ...,
}
parent.create_custom_routing_listener(**kwargs)
create_endpoint_group#
Create an endpoint group for the specified listener.
Type annotations and code completion for boto3.client("globalaccelerator").create_endpoint_group
method.
boto3 documentation
# create_endpoint_group method definition
def create_endpoint_group(
self,
*,
ListenerArn: str,
EndpointGroupRegion: str,
IdempotencyToken: str,
EndpointConfigurations: Sequence[EndpointConfigurationTypeDef] = ..., # (1)
TrafficDialPercentage: float = ...,
HealthCheckPort: int = ...,
HealthCheckProtocol: HealthCheckProtocolType = ..., # (2)
HealthCheckPath: str = ...,
HealthCheckIntervalSeconds: int = ...,
ThresholdCount: int = ...,
PortOverrides: Sequence[PortOverrideTypeDef] = ..., # (3)
) -> CreateEndpointGroupResponseTypeDef: # (4)
...
- See EndpointConfigurationTypeDef
- See HealthCheckProtocolType
- See PortOverrideTypeDef
- See CreateEndpointGroupResponseTypeDef
# create_endpoint_group method usage example with argument unpacking
kwargs: CreateEndpointGroupRequestRequestTypeDef = { # (1)
"ListenerArn": ...,
"EndpointGroupRegion": ...,
"IdempotencyToken": ...,
}
parent.create_endpoint_group(**kwargs)
create_listener#
Create a listener to process inbound connections from clients to an accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").create_listener
method.
boto3 documentation
# create_listener method definition
def create_listener(
self,
*,
AcceleratorArn: str,
PortRanges: Sequence[PortRangeTypeDef], # (1)
Protocol: ProtocolType, # (2)
IdempotencyToken: str,
ClientAffinity: ClientAffinityType = ..., # (3)
) -> CreateListenerResponseTypeDef: # (4)
...
- See PortRangeTypeDef
- See ProtocolType
- See ClientAffinityType
- See CreateListenerResponseTypeDef
# create_listener method usage example with argument unpacking
kwargs: CreateListenerRequestRequestTypeDef = { # (1)
"AcceleratorArn": ...,
"PortRanges": ...,
"Protocol": ...,
"IdempotencyToken": ...,
}
parent.create_listener(**kwargs)
delete_accelerator#
Delete an accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").delete_accelerator
method.
boto3 documentation
# delete_accelerator method definition
def delete_accelerator(
self,
*,
AcceleratorArn: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_accelerator method usage example with argument unpacking
kwargs: DeleteAcceleratorRequestRequestTypeDef = { # (1)
"AcceleratorArn": ...,
}
parent.delete_accelerator(**kwargs)
delete_cross_account_attachment#
Delete a cross-account attachment.
Type annotations and code completion for boto3.client("globalaccelerator").delete_cross_account_attachment
method.
boto3 documentation
# delete_cross_account_attachment method definition
def delete_cross_account_attachment(
self,
*,
AttachmentArn: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_cross_account_attachment method usage example with argument unpacking
kwargs: DeleteCrossAccountAttachmentRequestRequestTypeDef = { # (1)
"AttachmentArn": ...,
}
parent.delete_cross_account_attachment(**kwargs)
delete_custom_routing_accelerator#
Delete a custom routing accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").delete_custom_routing_accelerator
method.
boto3 documentation
# delete_custom_routing_accelerator method definition
def delete_custom_routing_accelerator(
self,
*,
AcceleratorArn: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_custom_routing_accelerator method usage example with argument unpacking
kwargs: DeleteCustomRoutingAcceleratorRequestRequestTypeDef = { # (1)
"AcceleratorArn": ...,
}
parent.delete_custom_routing_accelerator(**kwargs)
delete_custom_routing_endpoint_group#
Delete an endpoint group from a listener for a custom routing accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").delete_custom_routing_endpoint_group
method.
boto3 documentation
# delete_custom_routing_endpoint_group method definition
def delete_custom_routing_endpoint_group(
self,
*,
EndpointGroupArn: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_custom_routing_endpoint_group method usage example with argument unpacking
kwargs: DeleteCustomRoutingEndpointGroupRequestRequestTypeDef = { # (1)
"EndpointGroupArn": ...,
}
parent.delete_custom_routing_endpoint_group(**kwargs)
delete_custom_routing_listener#
Delete a listener for a custom routing accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").delete_custom_routing_listener
method.
boto3 documentation
# delete_custom_routing_listener method definition
def delete_custom_routing_listener(
self,
*,
ListenerArn: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_custom_routing_listener method usage example with argument unpacking
kwargs: DeleteCustomRoutingListenerRequestRequestTypeDef = { # (1)
"ListenerArn": ...,
}
parent.delete_custom_routing_listener(**kwargs)
delete_endpoint_group#
Delete an endpoint group from a listener.
Type annotations and code completion for boto3.client("globalaccelerator").delete_endpoint_group
method.
boto3 documentation
# delete_endpoint_group method definition
def delete_endpoint_group(
self,
*,
EndpointGroupArn: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_endpoint_group method usage example with argument unpacking
kwargs: DeleteEndpointGroupRequestRequestTypeDef = { # (1)
"EndpointGroupArn": ...,
}
parent.delete_endpoint_group(**kwargs)
delete_listener#
Delete a listener from an accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").delete_listener
method.
boto3 documentation
# delete_listener method definition
def delete_listener(
self,
*,
ListenerArn: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_listener method usage example with argument unpacking
kwargs: DeleteListenerRequestRequestTypeDef = { # (1)
"ListenerArn": ...,
}
parent.delete_listener(**kwargs)
deny_custom_routing_traffic#
Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that cannot receive traffic for a custom routing accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").deny_custom_routing_traffic
method.
boto3 documentation
# deny_custom_routing_traffic method definition
def deny_custom_routing_traffic(
self,
*,
EndpointGroupArn: str,
EndpointId: str,
DestinationAddresses: Sequence[str] = ...,
DestinationPorts: Sequence[int] = ...,
DenyAllTrafficToEndpoint: bool = ...,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# deny_custom_routing_traffic method usage example with argument unpacking
kwargs: DenyCustomRoutingTrafficRequestRequestTypeDef = { # (1)
"EndpointGroupArn": ...,
"EndpointId": ...,
}
parent.deny_custom_routing_traffic(**kwargs)
deprovision_byoip_cidr#
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.
Type annotations and code completion for boto3.client("globalaccelerator").deprovision_byoip_cidr
method.
boto3 documentation
# deprovision_byoip_cidr method definition
def deprovision_byoip_cidr(
self,
*,
Cidr: str,
) -> DeprovisionByoipCidrResponseTypeDef: # (1)
...
# deprovision_byoip_cidr method usage example with argument unpacking
kwargs: DeprovisionByoipCidrRequestRequestTypeDef = { # (1)
"Cidr": ...,
}
parent.deprovision_byoip_cidr(**kwargs)
describe_accelerator#
Describe an accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").describe_accelerator
method.
boto3 documentation
# describe_accelerator method definition
def describe_accelerator(
self,
*,
AcceleratorArn: str,
) -> DescribeAcceleratorResponseTypeDef: # (1)
...
# describe_accelerator method usage example with argument unpacking
kwargs: DescribeAcceleratorRequestRequestTypeDef = { # (1)
"AcceleratorArn": ...,
}
parent.describe_accelerator(**kwargs)
describe_accelerator_attributes#
Describe the attributes of an accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").describe_accelerator_attributes
method.
boto3 documentation
# describe_accelerator_attributes method definition
def describe_accelerator_attributes(
self,
*,
AcceleratorArn: str,
) -> DescribeAcceleratorAttributesResponseTypeDef: # (1)
...
# describe_accelerator_attributes method usage example with argument unpacking
kwargs: DescribeAcceleratorAttributesRequestRequestTypeDef = { # (1)
"AcceleratorArn": ...,
}
parent.describe_accelerator_attributes(**kwargs)
describe_cross_account_attachment#
Gets configuration information about a cross-account attachment.
Type annotations and code completion for boto3.client("globalaccelerator").describe_cross_account_attachment
method.
boto3 documentation
# describe_cross_account_attachment method definition
def describe_cross_account_attachment(
self,
*,
AttachmentArn: str,
) -> DescribeCrossAccountAttachmentResponseTypeDef: # (1)
...
# describe_cross_account_attachment method usage example with argument unpacking
kwargs: DescribeCrossAccountAttachmentRequestRequestTypeDef = { # (1)
"AttachmentArn": ...,
}
parent.describe_cross_account_attachment(**kwargs)
describe_custom_routing_accelerator#
Describe a custom routing accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").describe_custom_routing_accelerator
method.
boto3 documentation
# describe_custom_routing_accelerator method definition
def describe_custom_routing_accelerator(
self,
*,
AcceleratorArn: str,
) -> DescribeCustomRoutingAcceleratorResponseTypeDef: # (1)
...
# describe_custom_routing_accelerator method usage example with argument unpacking
kwargs: DescribeCustomRoutingAcceleratorRequestRequestTypeDef = { # (1)
"AcceleratorArn": ...,
}
parent.describe_custom_routing_accelerator(**kwargs)
describe_custom_routing_accelerator_attributes#
Describe the attributes of a custom routing accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").describe_custom_routing_accelerator_attributes
method.
boto3 documentation
# describe_custom_routing_accelerator_attributes method definition
def describe_custom_routing_accelerator_attributes(
self,
*,
AcceleratorArn: str,
) -> DescribeCustomRoutingAcceleratorAttributesResponseTypeDef: # (1)
...
# describe_custom_routing_accelerator_attributes method usage example with argument unpacking
kwargs: DescribeCustomRoutingAcceleratorAttributesRequestRequestTypeDef = { # (1)
"AcceleratorArn": ...,
}
parent.describe_custom_routing_accelerator_attributes(**kwargs)
describe_custom_routing_endpoint_group#
Describe an endpoint group for a custom routing accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").describe_custom_routing_endpoint_group
method.
boto3 documentation
# describe_custom_routing_endpoint_group method definition
def describe_custom_routing_endpoint_group(
self,
*,
EndpointGroupArn: str,
) -> DescribeCustomRoutingEndpointGroupResponseTypeDef: # (1)
...
# describe_custom_routing_endpoint_group method usage example with argument unpacking
kwargs: DescribeCustomRoutingEndpointGroupRequestRequestTypeDef = { # (1)
"EndpointGroupArn": ...,
}
parent.describe_custom_routing_endpoint_group(**kwargs)
describe_custom_routing_listener#
The description of a listener for a custom routing accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").describe_custom_routing_listener
method.
boto3 documentation
# describe_custom_routing_listener method definition
def describe_custom_routing_listener(
self,
*,
ListenerArn: str,
) -> DescribeCustomRoutingListenerResponseTypeDef: # (1)
...
# describe_custom_routing_listener method usage example with argument unpacking
kwargs: DescribeCustomRoutingListenerRequestRequestTypeDef = { # (1)
"ListenerArn": ...,
}
parent.describe_custom_routing_listener(**kwargs)
describe_endpoint_group#
Describe an endpoint group.
Type annotations and code completion for boto3.client("globalaccelerator").describe_endpoint_group
method.
boto3 documentation
# describe_endpoint_group method definition
def describe_endpoint_group(
self,
*,
EndpointGroupArn: str,
) -> DescribeEndpointGroupResponseTypeDef: # (1)
...
# describe_endpoint_group method usage example with argument unpacking
kwargs: DescribeEndpointGroupRequestRequestTypeDef = { # (1)
"EndpointGroupArn": ...,
}
parent.describe_endpoint_group(**kwargs)
describe_listener#
Describe a listener.
Type annotations and code completion for boto3.client("globalaccelerator").describe_listener
method.
boto3 documentation
# describe_listener method definition
def describe_listener(
self,
*,
ListenerArn: str,
) -> DescribeListenerResponseTypeDef: # (1)
...
# describe_listener method usage example with argument unpacking
kwargs: DescribeListenerRequestRequestTypeDef = { # (1)
"ListenerArn": ...,
}
parent.describe_listener(**kwargs)
generate_presigned_url#
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("globalaccelerator").generate_presigned_url
method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
list_accelerators#
List the accelerators for an Amazon Web Services account.
Type annotations and code completion for boto3.client("globalaccelerator").list_accelerators
method.
boto3 documentation
# list_accelerators method definition
def list_accelerators(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListAcceleratorsResponseTypeDef: # (1)
...
# list_accelerators method usage example with argument unpacking
kwargs: ListAcceleratorsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_accelerators(**kwargs)
list_byoip_cidrs#
Lists the IP address ranges that were specified in calls to ProvisionByoipCidr, including the current state and a history of state changes.
Type annotations and code completion for boto3.client("globalaccelerator").list_byoip_cidrs
method.
boto3 documentation
# list_byoip_cidrs method definition
def list_byoip_cidrs(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListByoipCidrsResponseTypeDef: # (1)
...
# list_byoip_cidrs method usage example with argument unpacking
kwargs: ListByoipCidrsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_byoip_cidrs(**kwargs)
list_cross_account_attachments#
List the cross-account attachments that have been created in Global Accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").list_cross_account_attachments
method.
boto3 documentation
# list_cross_account_attachments method definition
def list_cross_account_attachments(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListCrossAccountAttachmentsResponseTypeDef: # (1)
...
# list_cross_account_attachments method usage example with argument unpacking
kwargs: ListCrossAccountAttachmentsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_cross_account_attachments(**kwargs)
list_cross_account_resource_accounts#
List the accounts that have cross-account resources.
Type annotations and code completion for boto3.client("globalaccelerator").list_cross_account_resource_accounts
method.
boto3 documentation
# list_cross_account_resource_accounts method definition
def list_cross_account_resource_accounts(
self,
) -> ListCrossAccountResourceAccountsResponseTypeDef: # (1)
...
list_cross_account_resources#
List the cross-account resources available to work with.
Type annotations and code completion for boto3.client("globalaccelerator").list_cross_account_resources
method.
boto3 documentation
# list_cross_account_resources method definition
def list_cross_account_resources(
self,
*,
ResourceOwnerAwsAccountId: str,
AcceleratorArn: str = ...,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListCrossAccountResourcesResponseTypeDef: # (1)
...
# list_cross_account_resources method usage example with argument unpacking
kwargs: ListCrossAccountResourcesRequestRequestTypeDef = { # (1)
"ResourceOwnerAwsAccountId": ...,
}
parent.list_cross_account_resources(**kwargs)
list_custom_routing_accelerators#
List the custom routing accelerators for an Amazon Web Services account.
Type annotations and code completion for boto3.client("globalaccelerator").list_custom_routing_accelerators
method.
boto3 documentation
# list_custom_routing_accelerators method definition
def list_custom_routing_accelerators(
self,
*,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListCustomRoutingAcceleratorsResponseTypeDef: # (1)
...
# list_custom_routing_accelerators method usage example with argument unpacking
kwargs: ListCustomRoutingAcceleratorsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_custom_routing_accelerators(**kwargs)
list_custom_routing_endpoint_groups#
List the endpoint groups that are associated with a listener for a custom routing accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").list_custom_routing_endpoint_groups
method.
boto3 documentation
# list_custom_routing_endpoint_groups method definition
def list_custom_routing_endpoint_groups(
self,
*,
ListenerArn: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListCustomRoutingEndpointGroupsResponseTypeDef: # (1)
...
# list_custom_routing_endpoint_groups method usage example with argument unpacking
kwargs: ListCustomRoutingEndpointGroupsRequestRequestTypeDef = { # (1)
"ListenerArn": ...,
}
parent.list_custom_routing_endpoint_groups(**kwargs)
list_custom_routing_listeners#
List the listeners for a custom routing accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").list_custom_routing_listeners
method.
boto3 documentation
# list_custom_routing_listeners method definition
def list_custom_routing_listeners(
self,
*,
AcceleratorArn: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListCustomRoutingListenersResponseTypeDef: # (1)
...
# list_custom_routing_listeners method usage example with argument unpacking
kwargs: ListCustomRoutingListenersRequestRequestTypeDef = { # (1)
"AcceleratorArn": ...,
}
parent.list_custom_routing_listeners(**kwargs)
list_custom_routing_port_mappings#
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.
Type annotations and code completion for boto3.client("globalaccelerator").list_custom_routing_port_mappings
method.
boto3 documentation
# list_custom_routing_port_mappings method definition
def list_custom_routing_port_mappings(
self,
*,
AcceleratorArn: str,
EndpointGroupArn: str = ...,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListCustomRoutingPortMappingsResponseTypeDef: # (1)
...
# list_custom_routing_port_mappings method usage example with argument unpacking
kwargs: ListCustomRoutingPortMappingsRequestRequestTypeDef = { # (1)
"AcceleratorArn": ...,
}
parent.list_custom_routing_port_mappings(**kwargs)
list_custom_routing_port_mappings_by_destination#
List the port mappings for a specific EC2 instance (destination) in a VPC subnet endpoint.
Type annotations and code completion for boto3.client("globalaccelerator").list_custom_routing_port_mappings_by_destination
method.
boto3 documentation
# list_custom_routing_port_mappings_by_destination method definition
def list_custom_routing_port_mappings_by_destination(
self,
*,
EndpointId: str,
DestinationAddress: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListCustomRoutingPortMappingsByDestinationResponseTypeDef: # (1)
...
# list_custom_routing_port_mappings_by_destination method usage example with argument unpacking
kwargs: ListCustomRoutingPortMappingsByDestinationRequestRequestTypeDef = { # (1)
"EndpointId": ...,
"DestinationAddress": ...,
}
parent.list_custom_routing_port_mappings_by_destination(**kwargs)
list_endpoint_groups#
List the endpoint groups that are associated with a listener.
Type annotations and code completion for boto3.client("globalaccelerator").list_endpoint_groups
method.
boto3 documentation
# list_endpoint_groups method definition
def list_endpoint_groups(
self,
*,
ListenerArn: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListEndpointGroupsResponseTypeDef: # (1)
...
# list_endpoint_groups method usage example with argument unpacking
kwargs: ListEndpointGroupsRequestRequestTypeDef = { # (1)
"ListenerArn": ...,
}
parent.list_endpoint_groups(**kwargs)
list_listeners#
List the listeners for an accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").list_listeners
method.
boto3 documentation
# list_listeners method definition
def list_listeners(
self,
*,
AcceleratorArn: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListListenersResponseTypeDef: # (1)
...
# list_listeners method usage example with argument unpacking
kwargs: ListListenersRequestRequestTypeDef = { # (1)
"AcceleratorArn": ...,
}
parent.list_listeners(**kwargs)
list_tags_for_resource#
List all tags for an accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").list_tags_for_resource
method.
boto3 documentation
# list_tags_for_resource method definition
def list_tags_for_resource(
self,
*,
ResourceArn: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
provision_byoip_cidr#
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.
Type annotations and code completion for boto3.client("globalaccelerator").provision_byoip_cidr
method.
boto3 documentation
# provision_byoip_cidr method definition
def provision_byoip_cidr(
self,
*,
Cidr: str,
CidrAuthorizationContext: CidrAuthorizationContextTypeDef, # (1)
) -> ProvisionByoipCidrResponseTypeDef: # (2)
...
# provision_byoip_cidr method usage example with argument unpacking
kwargs: ProvisionByoipCidrRequestRequestTypeDef = { # (1)
"Cidr": ...,
"CidrAuthorizationContext": ...,
}
parent.provision_byoip_cidr(**kwargs)
remove_custom_routing_endpoints#
Remove endpoints from a custom routing accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").remove_custom_routing_endpoints
method.
boto3 documentation
# remove_custom_routing_endpoints method definition
def remove_custom_routing_endpoints(
self,
*,
EndpointIds: Sequence[str],
EndpointGroupArn: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# remove_custom_routing_endpoints method usage example with argument unpacking
kwargs: RemoveCustomRoutingEndpointsRequestRequestTypeDef = { # (1)
"EndpointIds": ...,
"EndpointGroupArn": ...,
}
parent.remove_custom_routing_endpoints(**kwargs)
remove_endpoints#
Remove endpoints from an endpoint group.
Type annotations and code completion for boto3.client("globalaccelerator").remove_endpoints
method.
boto3 documentation
# remove_endpoints method definition
def remove_endpoints(
self,
*,
EndpointIdentifiers: Sequence[EndpointIdentifierTypeDef], # (1)
EndpointGroupArn: str,
) -> EmptyResponseMetadataTypeDef: # (2)
...
# remove_endpoints method usage example with argument unpacking
kwargs: RemoveEndpointsRequestRequestTypeDef = { # (1)
"EndpointIdentifiers": ...,
"EndpointGroupArn": ...,
}
parent.remove_endpoints(**kwargs)
tag_resource#
Add tags to an accelerator resource.
Type annotations and code completion for boto3.client("globalaccelerator").tag_resource
method.
boto3 documentation
# tag_resource method definition
def tag_resource(
self,
*,
ResourceArn: str,
Tags: Sequence[TagTypeDef], # (1)
) -> Dict[str, Any]:
...
- See TagTypeDef
# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"Tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource#
Remove tags from a Global Accelerator resource.
Type annotations and code completion for boto3.client("globalaccelerator").untag_resource
method.
boto3 documentation
# untag_resource method definition
def untag_resource(
self,
*,
ResourceArn: str,
TagKeys: Sequence[str],
) -> Dict[str, Any]:
...
# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"TagKeys": ...,
}
parent.untag_resource(**kwargs)
update_accelerator#
Update an accelerator to make changes, such as the following: * Change the name of the accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").update_accelerator
method.
boto3 documentation
# update_accelerator method definition
def update_accelerator(
self,
*,
AcceleratorArn: str,
Name: str = ...,
IpAddressType: IpAddressTypeType = ..., # (1)
IpAddresses: Sequence[str] = ...,
Enabled: bool = ...,
) -> UpdateAcceleratorResponseTypeDef: # (2)
...
# update_accelerator method usage example with argument unpacking
kwargs: UpdateAcceleratorRequestRequestTypeDef = { # (1)
"AcceleratorArn": ...,
}
parent.update_accelerator(**kwargs)
update_accelerator_attributes#
Update the attributes for an accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").update_accelerator_attributes
method.
boto3 documentation
# update_accelerator_attributes method definition
def update_accelerator_attributes(
self,
*,
AcceleratorArn: str,
FlowLogsEnabled: bool = ...,
FlowLogsS3Bucket: str = ...,
FlowLogsS3Prefix: str = ...,
) -> UpdateAcceleratorAttributesResponseTypeDef: # (1)
...
# update_accelerator_attributes method usage example with argument unpacking
kwargs: UpdateAcceleratorAttributesRequestRequestTypeDef = { # (1)
"AcceleratorArn": ...,
}
parent.update_accelerator_attributes(**kwargs)
update_cross_account_attachment#
Update a cross-account attachment to add or remove principals or resources.
Type annotations and code completion for boto3.client("globalaccelerator").update_cross_account_attachment
method.
boto3 documentation
# update_cross_account_attachment method definition
def update_cross_account_attachment(
self,
*,
AttachmentArn: str,
Name: str = ...,
AddPrincipals: Sequence[str] = ...,
RemovePrincipals: Sequence[str] = ...,
AddResources: Sequence[ResourceTypeDef] = ..., # (1)
RemoveResources: Sequence[ResourceTypeDef] = ..., # (1)
) -> UpdateCrossAccountAttachmentResponseTypeDef: # (3)
...
# update_cross_account_attachment method usage example with argument unpacking
kwargs: UpdateCrossAccountAttachmentRequestRequestTypeDef = { # (1)
"AttachmentArn": ...,
}
parent.update_cross_account_attachment(**kwargs)
update_custom_routing_accelerator#
Update a custom routing accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").update_custom_routing_accelerator
method.
boto3 documentation
# update_custom_routing_accelerator method definition
def update_custom_routing_accelerator(
self,
*,
AcceleratorArn: str,
Name: str = ...,
IpAddressType: IpAddressTypeType = ..., # (1)
IpAddresses: Sequence[str] = ...,
Enabled: bool = ...,
) -> UpdateCustomRoutingAcceleratorResponseTypeDef: # (2)
...
# update_custom_routing_accelerator method usage example with argument unpacking
kwargs: UpdateCustomRoutingAcceleratorRequestRequestTypeDef = { # (1)
"AcceleratorArn": ...,
}
parent.update_custom_routing_accelerator(**kwargs)
update_custom_routing_accelerator_attributes#
Update the attributes for a custom routing accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").update_custom_routing_accelerator_attributes
method.
boto3 documentation
# update_custom_routing_accelerator_attributes method definition
def update_custom_routing_accelerator_attributes(
self,
*,
AcceleratorArn: str,
FlowLogsEnabled: bool = ...,
FlowLogsS3Bucket: str = ...,
FlowLogsS3Prefix: str = ...,
) -> UpdateCustomRoutingAcceleratorAttributesResponseTypeDef: # (1)
...
# update_custom_routing_accelerator_attributes method usage example with argument unpacking
kwargs: UpdateCustomRoutingAcceleratorAttributesRequestRequestTypeDef = { # (1)
"AcceleratorArn": ...,
}
parent.update_custom_routing_accelerator_attributes(**kwargs)
update_custom_routing_listener#
Update a listener for a custom routing accelerator.
Type annotations and code completion for boto3.client("globalaccelerator").update_custom_routing_listener
method.
boto3 documentation
# update_custom_routing_listener method definition
def update_custom_routing_listener(
self,
*,
ListenerArn: str,
PortRanges: Sequence[PortRangeTypeDef], # (1)
) -> UpdateCustomRoutingListenerResponseTypeDef: # (2)
...
# update_custom_routing_listener method usage example with argument unpacking
kwargs: UpdateCustomRoutingListenerRequestRequestTypeDef = { # (1)
"ListenerArn": ...,
"PortRanges": ...,
}
parent.update_custom_routing_listener(**kwargs)
update_endpoint_group#
Update an endpoint group.
Type annotations and code completion for boto3.client("globalaccelerator").update_endpoint_group
method.
boto3 documentation
# update_endpoint_group method definition
def update_endpoint_group(
self,
*,
EndpointGroupArn: str,
EndpointConfigurations: Sequence[EndpointConfigurationTypeDef] = ..., # (1)
TrafficDialPercentage: float = ...,
HealthCheckPort: int = ...,
HealthCheckProtocol: HealthCheckProtocolType = ..., # (2)
HealthCheckPath: str = ...,
HealthCheckIntervalSeconds: int = ...,
ThresholdCount: int = ...,
PortOverrides: Sequence[PortOverrideTypeDef] = ..., # (3)
) -> UpdateEndpointGroupResponseTypeDef: # (4)
...
- See EndpointConfigurationTypeDef
- See HealthCheckProtocolType
- See PortOverrideTypeDef
- See UpdateEndpointGroupResponseTypeDef
# update_endpoint_group method usage example with argument unpacking
kwargs: UpdateEndpointGroupRequestRequestTypeDef = { # (1)
"EndpointGroupArn": ...,
}
parent.update_endpoint_group(**kwargs)
update_listener#
Update a listener.
Type annotations and code completion for boto3.client("globalaccelerator").update_listener
method.
boto3 documentation
# update_listener method definition
def update_listener(
self,
*,
ListenerArn: str,
PortRanges: Sequence[PortRangeTypeDef] = ..., # (1)
Protocol: ProtocolType = ..., # (2)
ClientAffinity: ClientAffinityType = ..., # (3)
) -> UpdateListenerResponseTypeDef: # (4)
...
- See PortRangeTypeDef
- See ProtocolType
- See ClientAffinityType
- See UpdateListenerResponseTypeDef
# update_listener method usage example with argument unpacking
kwargs: UpdateListenerRequestRequestTypeDef = { # (1)
"ListenerArn": ...,
}
parent.update_listener(**kwargs)
withdraw_byoip_cidr#
Stops advertising an address range that is provisioned as an address pool.
Type annotations and code completion for boto3.client("globalaccelerator").withdraw_byoip_cidr
method.
boto3 documentation
# withdraw_byoip_cidr method definition
def withdraw_byoip_cidr(
self,
*,
Cidr: str,
) -> WithdrawByoipCidrResponseTypeDef: # (1)
...
# withdraw_byoip_cidr method usage example with argument unpacking
kwargs: WithdrawByoipCidrRequestRequestTypeDef = { # (1)
"Cidr": ...,
}
parent.withdraw_byoip_cidr(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("globalaccelerator").get_paginator
method with overloads.
client.get_paginator("list_accelerators")
-> ListAcceleratorsPaginatorclient.get_paginator("list_byoip_cidrs")
-> ListByoipCidrsPaginatorclient.get_paginator("list_cross_account_attachments")
-> ListCrossAccountAttachmentsPaginatorclient.get_paginator("list_cross_account_resources")
-> ListCrossAccountResourcesPaginatorclient.get_paginator("list_custom_routing_accelerators")
-> ListCustomRoutingAcceleratorsPaginatorclient.get_paginator("list_custom_routing_endpoint_groups")
-> ListCustomRoutingEndpointGroupsPaginatorclient.get_paginator("list_custom_routing_listeners")
-> ListCustomRoutingListenersPaginatorclient.get_paginator("list_custom_routing_port_mappings_by_destination")
-> ListCustomRoutingPortMappingsByDestinationPaginatorclient.get_paginator("list_custom_routing_port_mappings")
-> ListCustomRoutingPortMappingsPaginatorclient.get_paginator("list_endpoint_groups")
-> ListEndpointGroupsPaginatorclient.get_paginator("list_listeners")
-> ListListenersPaginator