Skip to content

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

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.

Usage example
client = boto3.client("globalaccelerator")

try:
    do_something(client)
except (
    client.AcceleratorNotDisabledException,
    client.AcceleratorNotFoundException,
    client.AccessDeniedException,
    client.AssociatedEndpointGroupFoundException,
    client.AssociatedListenerFoundException,
    client.ByoipCidrNotFoundException,
    client.ClientError,
    client.ConflictException,
    client.EndpointAlreadyExistsException,
    client.EndpointGroupAlreadyExistsException,
    client.EndpointGroupNotFoundException,
    client.EndpointNotFoundException,
    client.IncorrectCidrStateException,
    client.InternalServiceErrorException,
    client.InvalidArgumentException,
    client.InvalidNextTokenException,
    client.InvalidPortRangeException,
    client.LimitExceededException,
    client.ListenerNotFoundException,
) as e:
    print(e)
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

Method definition
def add_custom_routing_endpoints(
    self,
    *,
    EndpointConfigurations: Sequence[CustomRoutingEndpointConfigurationTypeDef],  # (1)
    EndpointGroupArn: str,
) -> AddCustomRoutingEndpointsResponseTypeDef:  # (2)
    ...
  1. See CustomRoutingEndpointConfigurationTypeDef
  2. See AddCustomRoutingEndpointsResponseTypeDef
Usage example with kwargs
kwargs: AddCustomRoutingEndpointsRequestRequestTypeDef = {  # (1)
    "EndpointConfigurations": ...,
    "EndpointGroupArn": ...,
}

parent.add_custom_routing_endpoints(**kwargs)
  1. See AddCustomRoutingEndpointsRequestRequestTypeDef

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

Method definition
def advertise_byoip_cidr(
    self,
    *,
    Cidr: str,
) -> AdvertiseByoipCidrResponseTypeDef:  # (1)
    ...
  1. See AdvertiseByoipCidrResponseTypeDef
Usage example with kwargs
kwargs: AdvertiseByoipCidrRequestRequestTypeDef = {  # (1)
    "Cidr": ...,
}

parent.advertise_byoip_cidr(**kwargs)
  1. See AdvertiseByoipCidrRequestRequestTypeDef

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

Method definition
def allow_custom_routing_traffic(
    self,
    *,
    EndpointGroupArn: str,
    EndpointId: str,
    DestinationAddresses: Sequence[str] = ...,
    DestinationPorts: Sequence[int] = ...,
    AllowAllTrafficToEndpoint: bool = ...,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: AllowCustomRoutingTrafficRequestRequestTypeDef = {  # (1)
    "EndpointGroupArn": ...,
    "EndpointId": ...,
}

parent.allow_custom_routing_traffic(**kwargs)
  1. See AllowCustomRoutingTrafficRequestRequestTypeDef

can_paginate

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("globalaccelerator").can_paginate method. boto3 documentation

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

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

Method definition
def create_accelerator(
    self,
    *,
    Name: str,
    IdempotencyToken: str,
    IpAddressType: IpAddressTypeType = ...,  # (1)
    IpAddresses: Sequence[str] = ...,
    Enabled: bool = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateAcceleratorResponseTypeDef:  # (3)
    ...
  1. See IpAddressTypeType
  2. See TagTypeDef
  3. See CreateAcceleratorResponseTypeDef
Usage example with kwargs
kwargs: CreateAcceleratorRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "IdempotencyToken": ...,
}

parent.create_accelerator(**kwargs)
  1. See CreateAcceleratorRequestRequestTypeDef

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

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)
    ...
  1. See IpAddressTypeType
  2. See TagTypeDef
  3. See CreateCustomRoutingAcceleratorResponseTypeDef
Usage example with kwargs
kwargs: CreateCustomRoutingAcceleratorRequestRequestTypeDef = {  # (1)
    "Name": ...,
    "IdempotencyToken": ...,
}

parent.create_custom_routing_accelerator(**kwargs)
  1. See CreateCustomRoutingAcceleratorRequestRequestTypeDef

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

Method definition
def create_custom_routing_endpoint_group(
    self,
    *,
    ListenerArn: str,
    EndpointGroupRegion: str,
    DestinationConfigurations: Sequence[CustomRoutingDestinationConfigurationTypeDef],  # (1)
    IdempotencyToken: str,
) -> CreateCustomRoutingEndpointGroupResponseTypeDef:  # (2)
    ...
  1. See CustomRoutingDestinationConfigurationTypeDef
  2. See CreateCustomRoutingEndpointGroupResponseTypeDef
Usage example with kwargs
kwargs: CreateCustomRoutingEndpointGroupRequestRequestTypeDef = {  # (1)
    "ListenerArn": ...,
    "EndpointGroupRegion": ...,
    "DestinationConfigurations": ...,
    "IdempotencyToken": ...,
}

parent.create_custom_routing_endpoint_group(**kwargs)
  1. See CreateCustomRoutingEndpointGroupRequestRequestTypeDef

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

Method definition
def create_custom_routing_listener(
    self,
    *,
    AcceleratorArn: str,
    PortRanges: Sequence[PortRangeTypeDef],  # (1)
    IdempotencyToken: str,
) -> CreateCustomRoutingListenerResponseTypeDef:  # (2)
    ...
  1. See PortRangeTypeDef
  2. See CreateCustomRoutingListenerResponseTypeDef
Usage example with kwargs
kwargs: CreateCustomRoutingListenerRequestRequestTypeDef = {  # (1)
    "AcceleratorArn": ...,
    "PortRanges": ...,
    "IdempotencyToken": ...,
}

parent.create_custom_routing_listener(**kwargs)
  1. See CreateCustomRoutingListenerRequestRequestTypeDef

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

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)
    ...
  1. See EndpointConfigurationTypeDef
  2. See HealthCheckProtocolType
  3. See PortOverrideTypeDef
  4. See CreateEndpointGroupResponseTypeDef
Usage example with kwargs
kwargs: CreateEndpointGroupRequestRequestTypeDef = {  # (1)
    "ListenerArn": ...,
    "EndpointGroupRegion": ...,
    "IdempotencyToken": ...,
}

parent.create_endpoint_group(**kwargs)
  1. See CreateEndpointGroupRequestRequestTypeDef

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

Method definition
def create_listener(
    self,
    *,
    AcceleratorArn: str,
    PortRanges: Sequence[PortRangeTypeDef],  # (1)
    Protocol: ProtocolType,  # (2)
    IdempotencyToken: str,
    ClientAffinity: ClientAffinityType = ...,  # (3)
) -> CreateListenerResponseTypeDef:  # (4)
    ...
  1. See PortRangeTypeDef
  2. See ProtocolType
  3. See ClientAffinityType
  4. See CreateListenerResponseTypeDef
Usage example with kwargs
kwargs: CreateListenerRequestRequestTypeDef = {  # (1)
    "AcceleratorArn": ...,
    "PortRanges": ...,
    "Protocol": ...,
    "IdempotencyToken": ...,
}

parent.create_listener(**kwargs)
  1. See CreateListenerRequestRequestTypeDef

delete_accelerator

Delete an accelerator.

Type annotations and code completion for boto3.client("globalaccelerator").delete_accelerator method. boto3 documentation

Method definition
def delete_accelerator(
    self,
    *,
    AcceleratorArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: DeleteAcceleratorRequestRequestTypeDef = {  # (1)
    "AcceleratorArn": ...,
}

parent.delete_accelerator(**kwargs)
  1. See DeleteAcceleratorRequestRequestTypeDef

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

Method definition
def delete_custom_routing_accelerator(
    self,
    *,
    AcceleratorArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: DeleteCustomRoutingAcceleratorRequestRequestTypeDef = {  # (1)
    "AcceleratorArn": ...,
}

parent.delete_custom_routing_accelerator(**kwargs)
  1. See DeleteCustomRoutingAcceleratorRequestRequestTypeDef

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

Method definition
def delete_custom_routing_endpoint_group(
    self,
    *,
    EndpointGroupArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: DeleteCustomRoutingEndpointGroupRequestRequestTypeDef = {  # (1)
    "EndpointGroupArn": ...,
}

parent.delete_custom_routing_endpoint_group(**kwargs)
  1. See DeleteCustomRoutingEndpointGroupRequestRequestTypeDef

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

Method definition
def delete_custom_routing_listener(
    self,
    *,
    ListenerArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: DeleteCustomRoutingListenerRequestRequestTypeDef = {  # (1)
    "ListenerArn": ...,
}

parent.delete_custom_routing_listener(**kwargs)
  1. See DeleteCustomRoutingListenerRequestRequestTypeDef

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

Method definition
def delete_endpoint_group(
    self,
    *,
    EndpointGroupArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: DeleteEndpointGroupRequestRequestTypeDef = {  # (1)
    "EndpointGroupArn": ...,
}

parent.delete_endpoint_group(**kwargs)
  1. See DeleteEndpointGroupRequestRequestTypeDef

delete_listener

Delete a listener from an accelerator.

Type annotations and code completion for boto3.client("globalaccelerator").delete_listener method. boto3 documentation

Method definition
def delete_listener(
    self,
    *,
    ListenerArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: DeleteListenerRequestRequestTypeDef = {  # (1)
    "ListenerArn": ...,
}

parent.delete_listener(**kwargs)
  1. See DeleteListenerRequestRequestTypeDef

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

Method definition
def deny_custom_routing_traffic(
    self,
    *,
    EndpointGroupArn: str,
    EndpointId: str,
    DestinationAddresses: Sequence[str] = ...,
    DestinationPorts: Sequence[int] = ...,
    DenyAllTrafficToEndpoint: bool = ...,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: DenyCustomRoutingTrafficRequestRequestTypeDef = {  # (1)
    "EndpointGroupArn": ...,
    "EndpointId": ...,
}

parent.deny_custom_routing_traffic(**kwargs)
  1. See DenyCustomRoutingTrafficRequestRequestTypeDef

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

Method definition
def deprovision_byoip_cidr(
    self,
    *,
    Cidr: str,
) -> DeprovisionByoipCidrResponseTypeDef:  # (1)
    ...
  1. See DeprovisionByoipCidrResponseTypeDef
Usage example with kwargs
kwargs: DeprovisionByoipCidrRequestRequestTypeDef = {  # (1)
    "Cidr": ...,
}

parent.deprovision_byoip_cidr(**kwargs)
  1. See DeprovisionByoipCidrRequestRequestTypeDef

describe_accelerator

Describe an accelerator.

Type annotations and code completion for boto3.client("globalaccelerator").describe_accelerator method. boto3 documentation

Method definition
def describe_accelerator(
    self,
    *,
    AcceleratorArn: str,
) -> DescribeAcceleratorResponseTypeDef:  # (1)
    ...
  1. See DescribeAcceleratorResponseTypeDef
Usage example with kwargs
kwargs: DescribeAcceleratorRequestRequestTypeDef = {  # (1)
    "AcceleratorArn": ...,
}

parent.describe_accelerator(**kwargs)
  1. See DescribeAcceleratorRequestRequestTypeDef

describe_accelerator_attributes

Describe the attributes of an accelerator.

Type annotations and code completion for boto3.client("globalaccelerator").describe_accelerator_attributes method. boto3 documentation

Method definition
def describe_accelerator_attributes(
    self,
    *,
    AcceleratorArn: str,
) -> DescribeAcceleratorAttributesResponseTypeDef:  # (1)
    ...
  1. See DescribeAcceleratorAttributesResponseTypeDef
Usage example with kwargs
kwargs: DescribeAcceleratorAttributesRequestRequestTypeDef = {  # (1)
    "AcceleratorArn": ...,
}

parent.describe_accelerator_attributes(**kwargs)
  1. See DescribeAcceleratorAttributesRequestRequestTypeDef

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

Method definition
def describe_custom_routing_accelerator(
    self,
    *,
    AcceleratorArn: str,
) -> DescribeCustomRoutingAcceleratorResponseTypeDef:  # (1)
    ...
  1. See DescribeCustomRoutingAcceleratorResponseTypeDef
Usage example with kwargs
kwargs: DescribeCustomRoutingAcceleratorRequestRequestTypeDef = {  # (1)
    "AcceleratorArn": ...,
}

parent.describe_custom_routing_accelerator(**kwargs)
  1. See DescribeCustomRoutingAcceleratorRequestRequestTypeDef

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

Method definition
def describe_custom_routing_accelerator_attributes(
    self,
    *,
    AcceleratorArn: str,
) -> DescribeCustomRoutingAcceleratorAttributesResponseTypeDef:  # (1)
    ...
  1. See DescribeCustomRoutingAcceleratorAttributesResponseTypeDef
Usage example with kwargs
kwargs: DescribeCustomRoutingAcceleratorAttributesRequestRequestTypeDef = {  # (1)
    "AcceleratorArn": ...,
}

parent.describe_custom_routing_accelerator_attributes(**kwargs)
  1. See DescribeCustomRoutingAcceleratorAttributesRequestRequestTypeDef

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

Method definition
def describe_custom_routing_endpoint_group(
    self,
    *,
    EndpointGroupArn: str,
) -> DescribeCustomRoutingEndpointGroupResponseTypeDef:  # (1)
    ...
  1. See DescribeCustomRoutingEndpointGroupResponseTypeDef
Usage example with kwargs
kwargs: DescribeCustomRoutingEndpointGroupRequestRequestTypeDef = {  # (1)
    "EndpointGroupArn": ...,
}

parent.describe_custom_routing_endpoint_group(**kwargs)
  1. See DescribeCustomRoutingEndpointGroupRequestRequestTypeDef

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

Method definition
def describe_custom_routing_listener(
    self,
    *,
    ListenerArn: str,
) -> DescribeCustomRoutingListenerResponseTypeDef:  # (1)
    ...
  1. See DescribeCustomRoutingListenerResponseTypeDef
Usage example with kwargs
kwargs: DescribeCustomRoutingListenerRequestRequestTypeDef = {  # (1)
    "ListenerArn": ...,
}

parent.describe_custom_routing_listener(**kwargs)
  1. See DescribeCustomRoutingListenerRequestRequestTypeDef

describe_endpoint_group

Describe an endpoint group.

Type annotations and code completion for boto3.client("globalaccelerator").describe_endpoint_group method. boto3 documentation

Method definition
def describe_endpoint_group(
    self,
    *,
    EndpointGroupArn: str,
) -> DescribeEndpointGroupResponseTypeDef:  # (1)
    ...
  1. See DescribeEndpointGroupResponseTypeDef
Usage example with kwargs
kwargs: DescribeEndpointGroupRequestRequestTypeDef = {  # (1)
    "EndpointGroupArn": ...,
}

parent.describe_endpoint_group(**kwargs)
  1. See DescribeEndpointGroupRequestRequestTypeDef

describe_listener

Describe a listener.

Type annotations and code completion for boto3.client("globalaccelerator").describe_listener method. boto3 documentation

Method definition
def describe_listener(
    self,
    *,
    ListenerArn: str,
) -> DescribeListenerResponseTypeDef:  # (1)
    ...
  1. See DescribeListenerResponseTypeDef
Usage example with kwargs
kwargs: DescribeListenerRequestRequestTypeDef = {  # (1)
    "ListenerArn": ...,
}

parent.describe_listener(**kwargs)
  1. See DescribeListenerRequestRequestTypeDef

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

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

Method definition
def list_accelerators(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListAcceleratorsResponseTypeDef:  # (1)
    ...
  1. See ListAcceleratorsResponseTypeDef
Usage example with kwargs
kwargs: ListAcceleratorsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_accelerators(**kwargs)
  1. See ListAcceleratorsRequestRequestTypeDef

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

Method definition
def list_byoip_cidrs(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListByoipCidrsResponseTypeDef:  # (1)
    ...
  1. See ListByoipCidrsResponseTypeDef
Usage example with kwargs
kwargs: ListByoipCidrsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_byoip_cidrs(**kwargs)
  1. See ListByoipCidrsRequestRequestTypeDef

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

Method definition
def list_custom_routing_accelerators(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListCustomRoutingAcceleratorsResponseTypeDef:  # (1)
    ...
  1. See ListCustomRoutingAcceleratorsResponseTypeDef
Usage example with kwargs
kwargs: ListCustomRoutingAcceleratorsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_custom_routing_accelerators(**kwargs)
  1. See ListCustomRoutingAcceleratorsRequestRequestTypeDef

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

Method definition
def list_custom_routing_endpoint_groups(
    self,
    *,
    ListenerArn: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListCustomRoutingEndpointGroupsResponseTypeDef:  # (1)
    ...
  1. See ListCustomRoutingEndpointGroupsResponseTypeDef
Usage example with kwargs
kwargs: ListCustomRoutingEndpointGroupsRequestRequestTypeDef = {  # (1)
    "ListenerArn": ...,
}

parent.list_custom_routing_endpoint_groups(**kwargs)
  1. See ListCustomRoutingEndpointGroupsRequestRequestTypeDef

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

Method definition
def list_custom_routing_listeners(
    self,
    *,
    AcceleratorArn: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListCustomRoutingListenersResponseTypeDef:  # (1)
    ...
  1. See ListCustomRoutingListenersResponseTypeDef
Usage example with kwargs
kwargs: ListCustomRoutingListenersRequestRequestTypeDef = {  # (1)
    "AcceleratorArn": ...,
}

parent.list_custom_routing_listeners(**kwargs)
  1. See ListCustomRoutingListenersRequestRequestTypeDef

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

Method definition
def list_custom_routing_port_mappings(
    self,
    *,
    AcceleratorArn: str,
    EndpointGroupArn: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListCustomRoutingPortMappingsResponseTypeDef:  # (1)
    ...
  1. See ListCustomRoutingPortMappingsResponseTypeDef
Usage example with kwargs
kwargs: ListCustomRoutingPortMappingsRequestRequestTypeDef = {  # (1)
    "AcceleratorArn": ...,
}

parent.list_custom_routing_port_mappings(**kwargs)
  1. See ListCustomRoutingPortMappingsRequestRequestTypeDef

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

Method definition
def list_custom_routing_port_mappings_by_destination(
    self,
    *,
    EndpointId: str,
    DestinationAddress: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListCustomRoutingPortMappingsByDestinationResponseTypeDef:  # (1)
    ...
  1. See ListCustomRoutingPortMappingsByDestinationResponseTypeDef
Usage example with kwargs
kwargs: ListCustomRoutingPortMappingsByDestinationRequestRequestTypeDef = {  # (1)
    "EndpointId": ...,
    "DestinationAddress": ...,
}

parent.list_custom_routing_port_mappings_by_destination(**kwargs)
  1. See ListCustomRoutingPortMappingsByDestinationRequestRequestTypeDef

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

Method definition
def list_endpoint_groups(
    self,
    *,
    ListenerArn: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListEndpointGroupsResponseTypeDef:  # (1)
    ...
  1. See ListEndpointGroupsResponseTypeDef
Usage example with kwargs
kwargs: ListEndpointGroupsRequestRequestTypeDef = {  # (1)
    "ListenerArn": ...,
}

parent.list_endpoint_groups(**kwargs)
  1. See ListEndpointGroupsRequestRequestTypeDef

list_listeners

List the listeners for an accelerator.

Type annotations and code completion for boto3.client("globalaccelerator").list_listeners method. boto3 documentation

Method definition
def list_listeners(
    self,
    *,
    AcceleratorArn: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListListenersResponseTypeDef:  # (1)
    ...
  1. See ListListenersResponseTypeDef
Usage example with kwargs
kwargs: ListListenersRequestRequestTypeDef = {  # (1)
    "AcceleratorArn": ...,
}

parent.list_listeners(**kwargs)
  1. See ListListenersRequestRequestTypeDef

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

Method definition
def list_tags_for_resource(
    self,
    *,
    ResourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
Usage example with kwargs
kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

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

Method definition
def provision_byoip_cidr(
    self,
    *,
    Cidr: str,
    CidrAuthorizationContext: CidrAuthorizationContextTypeDef,  # (1)
) -> ProvisionByoipCidrResponseTypeDef:  # (2)
    ...
  1. See CidrAuthorizationContextTypeDef
  2. See ProvisionByoipCidrResponseTypeDef
Usage example with kwargs
kwargs: ProvisionByoipCidrRequestRequestTypeDef = {  # (1)
    "Cidr": ...,
    "CidrAuthorizationContext": ...,
}

parent.provision_byoip_cidr(**kwargs)
  1. See ProvisionByoipCidrRequestRequestTypeDef

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

Method definition
def remove_custom_routing_endpoints(
    self,
    *,
    EndpointIds: Sequence[str],
    EndpointGroupArn: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
Usage example with kwargs
kwargs: RemoveCustomRoutingEndpointsRequestRequestTypeDef = {  # (1)
    "EndpointIds": ...,
    "EndpointGroupArn": ...,
}

parent.remove_custom_routing_endpoints(**kwargs)
  1. See RemoveCustomRoutingEndpointsRequestRequestTypeDef

tag_resource

Add tags to an accelerator resource.

Type annotations and code completion for boto3.client("globalaccelerator").tag_resource method. boto3 documentation

Method definition
def tag_resource(
    self,
    *,
    ResourceArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
) -> Dict[str, Any]:
    ...
  1. See TagTypeDef
Usage example with kwargs
kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "Tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

untag_resource

Remove tags from a Global Accelerator resource.

Type annotations and code completion for boto3.client("globalaccelerator").untag_resource method. boto3 documentation

Method definition
def untag_resource(
    self,
    *,
    ResourceArn: str,
    TagKeys: Sequence[str],
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "TagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef

update_accelerator

Update an accelerator.

Type annotations and code completion for boto3.client("globalaccelerator").update_accelerator method. boto3 documentation

Method definition
def update_accelerator(
    self,
    *,
    AcceleratorArn: str,
    Name: str = ...,
    IpAddressType: IpAddressTypeType = ...,  # (1)
    Enabled: bool = ...,
) -> UpdateAcceleratorResponseTypeDef:  # (2)
    ...
  1. See IpAddressTypeType
  2. See UpdateAcceleratorResponseTypeDef
Usage example with kwargs
kwargs: UpdateAcceleratorRequestRequestTypeDef = {  # (1)
    "AcceleratorArn": ...,
}

parent.update_accelerator(**kwargs)
  1. See UpdateAcceleratorRequestRequestTypeDef

update_accelerator_attributes

Update the attributes for an accelerator.

Type annotations and code completion for boto3.client("globalaccelerator").update_accelerator_attributes method. boto3 documentation

Method definition
def update_accelerator_attributes(
    self,
    *,
    AcceleratorArn: str,
    FlowLogsEnabled: bool = ...,
    FlowLogsS3Bucket: str = ...,
    FlowLogsS3Prefix: str = ...,
) -> UpdateAcceleratorAttributesResponseTypeDef:  # (1)
    ...
  1. See UpdateAcceleratorAttributesResponseTypeDef
Usage example with kwargs
kwargs: UpdateAcceleratorAttributesRequestRequestTypeDef = {  # (1)
    "AcceleratorArn": ...,
}

parent.update_accelerator_attributes(**kwargs)
  1. See UpdateAcceleratorAttributesRequestRequestTypeDef

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

Method definition
def update_custom_routing_accelerator(
    self,
    *,
    AcceleratorArn: str,
    Name: str = ...,
    IpAddressType: IpAddressTypeType = ...,  # (1)
    Enabled: bool = ...,
) -> UpdateCustomRoutingAcceleratorResponseTypeDef:  # (2)
    ...
  1. See IpAddressTypeType
  2. See UpdateCustomRoutingAcceleratorResponseTypeDef
Usage example with kwargs
kwargs: UpdateCustomRoutingAcceleratorRequestRequestTypeDef = {  # (1)
    "AcceleratorArn": ...,
}

parent.update_custom_routing_accelerator(**kwargs)
  1. See UpdateCustomRoutingAcceleratorRequestRequestTypeDef

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

Method definition
def update_custom_routing_accelerator_attributes(
    self,
    *,
    AcceleratorArn: str,
    FlowLogsEnabled: bool = ...,
    FlowLogsS3Bucket: str = ...,
    FlowLogsS3Prefix: str = ...,
) -> UpdateCustomRoutingAcceleratorAttributesResponseTypeDef:  # (1)
    ...
  1. See UpdateCustomRoutingAcceleratorAttributesResponseTypeDef
Usage example with kwargs
kwargs: UpdateCustomRoutingAcceleratorAttributesRequestRequestTypeDef = {  # (1)
    "AcceleratorArn": ...,
}

parent.update_custom_routing_accelerator_attributes(**kwargs)
  1. See UpdateCustomRoutingAcceleratorAttributesRequestRequestTypeDef

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

Method definition
def update_custom_routing_listener(
    self,
    *,
    ListenerArn: str,
    PortRanges: Sequence[PortRangeTypeDef],  # (1)
) -> UpdateCustomRoutingListenerResponseTypeDef:  # (2)
    ...
  1. See PortRangeTypeDef
  2. See UpdateCustomRoutingListenerResponseTypeDef
Usage example with kwargs
kwargs: UpdateCustomRoutingListenerRequestRequestTypeDef = {  # (1)
    "ListenerArn": ...,
    "PortRanges": ...,
}

parent.update_custom_routing_listener(**kwargs)
  1. See UpdateCustomRoutingListenerRequestRequestTypeDef

update_endpoint_group

Update an endpoint group.

Type annotations and code completion for boto3.client("globalaccelerator").update_endpoint_group method. boto3 documentation

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)
    ...
  1. See EndpointConfigurationTypeDef
  2. See HealthCheckProtocolType
  3. See PortOverrideTypeDef
  4. See UpdateEndpointGroupResponseTypeDef
Usage example with kwargs
kwargs: UpdateEndpointGroupRequestRequestTypeDef = {  # (1)
    "EndpointGroupArn": ...,
}

parent.update_endpoint_group(**kwargs)
  1. See UpdateEndpointGroupRequestRequestTypeDef

update_listener

Update a listener.

Type annotations and code completion for boto3.client("globalaccelerator").update_listener method. boto3 documentation

Method definition
def update_listener(
    self,
    *,
    ListenerArn: str,
    PortRanges: Sequence[PortRangeTypeDef] = ...,  # (1)
    Protocol: ProtocolType = ...,  # (2)
    ClientAffinity: ClientAffinityType = ...,  # (3)
) -> UpdateListenerResponseTypeDef:  # (4)
    ...
  1. See PortRangeTypeDef
  2. See ProtocolType
  3. See ClientAffinityType
  4. See UpdateListenerResponseTypeDef
Usage example with kwargs
kwargs: UpdateListenerRequestRequestTypeDef = {  # (1)
    "ListenerArn": ...,
}

parent.update_listener(**kwargs)
  1. See UpdateListenerRequestRequestTypeDef

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

Method definition
def withdraw_byoip_cidr(
    self,
    *,
    Cidr: str,
) -> WithdrawByoipCidrResponseTypeDef:  # (1)
    ...
  1. See WithdrawByoipCidrResponseTypeDef
Usage example with kwargs
kwargs: WithdrawByoipCidrRequestRequestTypeDef = {  # (1)
    "Cidr": ...,
}

parent.withdraw_byoip_cidr(**kwargs)
  1. See WithdrawByoipCidrRequestRequestTypeDef

get_paginator

Type annotations and code completion for boto3.client("globalaccelerator").get_paginator method with overloads.