Skip to content

Type definitions#

Index > GlobalAccelerator > Type definitions

Auto-generated documentation for GlobalAccelerator type annotations stubs module mypy-boto3-globalaccelerator.

AcceleratorAttributesTypeDef#

# AcceleratorAttributesTypeDef definition

class AcceleratorAttributesTypeDef(TypedDict):
    FlowLogsEnabled: NotRequired[bool],
    FlowLogsS3Bucket: NotRequired[str],
    FlowLogsS3Prefix: NotRequired[str],

AcceleratorEventTypeDef#

# AcceleratorEventTypeDef definition

class AcceleratorEventTypeDef(TypedDict):
    Message: NotRequired[str],
    Timestamp: NotRequired[datetime],

IpSetTypeDef#

# IpSetTypeDef definition

class IpSetTypeDef(TypedDict):
    IpFamily: NotRequired[str],
    IpAddresses: NotRequired[List[str]],
    IpAddressFamily: NotRequired[IpAddressFamilyType],  # (1)
  1. See IpAddressFamilyType

CustomRoutingEndpointConfigurationTypeDef#

# CustomRoutingEndpointConfigurationTypeDef definition

class CustomRoutingEndpointConfigurationTypeDef(TypedDict):
    EndpointId: NotRequired[str],
    AttachmentArn: NotRequired[str],

CustomRoutingEndpointDescriptionTypeDef#

# CustomRoutingEndpointDescriptionTypeDef definition

class CustomRoutingEndpointDescriptionTypeDef(TypedDict):
    EndpointId: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

EndpointConfigurationTypeDef#

# EndpointConfigurationTypeDef definition

class EndpointConfigurationTypeDef(TypedDict):
    EndpointId: NotRequired[str],
    Weight: NotRequired[int],
    ClientIPPreservationEnabled: NotRequired[bool],
    AttachmentArn: NotRequired[str],

EndpointDescriptionTypeDef#

# EndpointDescriptionTypeDef definition

class EndpointDescriptionTypeDef(TypedDict):
    EndpointId: NotRequired[str],
    Weight: NotRequired[int],
    HealthState: NotRequired[HealthStateType],  # (1)
    HealthReason: NotRequired[str],
    ClientIPPreservationEnabled: NotRequired[bool],
  1. See HealthStateType

AdvertiseByoipCidrRequestRequestTypeDef#

# AdvertiseByoipCidrRequestRequestTypeDef definition

class AdvertiseByoipCidrRequestRequestTypeDef(TypedDict):
    Cidr: str,

AllowCustomRoutingTrafficRequestRequestTypeDef#

# AllowCustomRoutingTrafficRequestRequestTypeDef definition

class AllowCustomRoutingTrafficRequestRequestTypeDef(TypedDict):
    EndpointGroupArn: str,
    EndpointId: str,
    DestinationAddresses: NotRequired[Sequence[str]],
    DestinationPorts: NotRequired[Sequence[int]],
    AllowAllTrafficToEndpoint: NotRequired[bool],

ResourceTypeDef#

# ResourceTypeDef definition

class ResourceTypeDef(TypedDict):
    EndpointId: str,
    Region: NotRequired[str],

ByoipCidrEventTypeDef#

# ByoipCidrEventTypeDef definition

class ByoipCidrEventTypeDef(TypedDict):
    Message: NotRequired[str],
    Timestamp: NotRequired[datetime],

CidrAuthorizationContextTypeDef#

# CidrAuthorizationContextTypeDef definition

class CidrAuthorizationContextTypeDef(TypedDict):
    Message: str,
    Signature: str,

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

CustomRoutingDestinationConfigurationTypeDef#

# CustomRoutingDestinationConfigurationTypeDef definition

class CustomRoutingDestinationConfigurationTypeDef(TypedDict):
    FromPort: int,
    ToPort: int,
    Protocols: Sequence[CustomRoutingProtocolType],  # (1)
  1. See CustomRoutingProtocolType

PortRangeTypeDef#

# PortRangeTypeDef definition

class PortRangeTypeDef(TypedDict):
    FromPort: NotRequired[int],
    ToPort: NotRequired[int],

PortOverrideTypeDef#

# PortOverrideTypeDef definition

class PortOverrideTypeDef(TypedDict):
    ListenerPort: NotRequired[int],
    EndpointPort: NotRequired[int],

CrossAccountResourceTypeDef#

# CrossAccountResourceTypeDef definition

class CrossAccountResourceTypeDef(TypedDict):
    EndpointId: NotRequired[str],
    AttachmentArn: NotRequired[str],

CustomRoutingAcceleratorAttributesTypeDef#

# CustomRoutingAcceleratorAttributesTypeDef definition

class CustomRoutingAcceleratorAttributesTypeDef(TypedDict):
    FlowLogsEnabled: NotRequired[bool],
    FlowLogsS3Bucket: NotRequired[str],
    FlowLogsS3Prefix: NotRequired[str],

CustomRoutingDestinationDescriptionTypeDef#

# CustomRoutingDestinationDescriptionTypeDef definition

class CustomRoutingDestinationDescriptionTypeDef(TypedDict):
    FromPort: NotRequired[int],
    ToPort: NotRequired[int],
    Protocols: NotRequired[List[ProtocolType]],  # (1)
  1. See ProtocolType

DeleteAcceleratorRequestRequestTypeDef#

# DeleteAcceleratorRequestRequestTypeDef definition

class DeleteAcceleratorRequestRequestTypeDef(TypedDict):
    AcceleratorArn: str,

DeleteCrossAccountAttachmentRequestRequestTypeDef#

# DeleteCrossAccountAttachmentRequestRequestTypeDef definition

class DeleteCrossAccountAttachmentRequestRequestTypeDef(TypedDict):
    AttachmentArn: str,

DeleteCustomRoutingAcceleratorRequestRequestTypeDef#

# DeleteCustomRoutingAcceleratorRequestRequestTypeDef definition

class DeleteCustomRoutingAcceleratorRequestRequestTypeDef(TypedDict):
    AcceleratorArn: str,

DeleteCustomRoutingEndpointGroupRequestRequestTypeDef#

# DeleteCustomRoutingEndpointGroupRequestRequestTypeDef definition

class DeleteCustomRoutingEndpointGroupRequestRequestTypeDef(TypedDict):
    EndpointGroupArn: str,

DeleteCustomRoutingListenerRequestRequestTypeDef#

# DeleteCustomRoutingListenerRequestRequestTypeDef definition

class DeleteCustomRoutingListenerRequestRequestTypeDef(TypedDict):
    ListenerArn: str,

DeleteEndpointGroupRequestRequestTypeDef#

# DeleteEndpointGroupRequestRequestTypeDef definition

class DeleteEndpointGroupRequestRequestTypeDef(TypedDict):
    EndpointGroupArn: str,

DeleteListenerRequestRequestTypeDef#

# DeleteListenerRequestRequestTypeDef definition

class DeleteListenerRequestRequestTypeDef(TypedDict):
    ListenerArn: str,

DenyCustomRoutingTrafficRequestRequestTypeDef#

# DenyCustomRoutingTrafficRequestRequestTypeDef definition

class DenyCustomRoutingTrafficRequestRequestTypeDef(TypedDict):
    EndpointGroupArn: str,
    EndpointId: str,
    DestinationAddresses: NotRequired[Sequence[str]],
    DestinationPorts: NotRequired[Sequence[int]],
    DenyAllTrafficToEndpoint: NotRequired[bool],

DeprovisionByoipCidrRequestRequestTypeDef#

# DeprovisionByoipCidrRequestRequestTypeDef definition

class DeprovisionByoipCidrRequestRequestTypeDef(TypedDict):
    Cidr: str,

DescribeAcceleratorAttributesRequestRequestTypeDef#

# DescribeAcceleratorAttributesRequestRequestTypeDef definition

class DescribeAcceleratorAttributesRequestRequestTypeDef(TypedDict):
    AcceleratorArn: str,

DescribeAcceleratorRequestRequestTypeDef#

# DescribeAcceleratorRequestRequestTypeDef definition

class DescribeAcceleratorRequestRequestTypeDef(TypedDict):
    AcceleratorArn: str,

DescribeCrossAccountAttachmentRequestRequestTypeDef#

# DescribeCrossAccountAttachmentRequestRequestTypeDef definition

class DescribeCrossAccountAttachmentRequestRequestTypeDef(TypedDict):
    AttachmentArn: str,

DescribeCustomRoutingAcceleratorAttributesRequestRequestTypeDef#

# DescribeCustomRoutingAcceleratorAttributesRequestRequestTypeDef definition

class DescribeCustomRoutingAcceleratorAttributesRequestRequestTypeDef(TypedDict):
    AcceleratorArn: str,

DescribeCustomRoutingAcceleratorRequestRequestTypeDef#

# DescribeCustomRoutingAcceleratorRequestRequestTypeDef definition

class DescribeCustomRoutingAcceleratorRequestRequestTypeDef(TypedDict):
    AcceleratorArn: str,

DescribeCustomRoutingEndpointGroupRequestRequestTypeDef#

# DescribeCustomRoutingEndpointGroupRequestRequestTypeDef definition

class DescribeCustomRoutingEndpointGroupRequestRequestTypeDef(TypedDict):
    EndpointGroupArn: str,

DescribeCustomRoutingListenerRequestRequestTypeDef#

# DescribeCustomRoutingListenerRequestRequestTypeDef definition

class DescribeCustomRoutingListenerRequestRequestTypeDef(TypedDict):
    ListenerArn: str,

DescribeEndpointGroupRequestRequestTypeDef#

# DescribeEndpointGroupRequestRequestTypeDef definition

class DescribeEndpointGroupRequestRequestTypeDef(TypedDict):
    EndpointGroupArn: str,

DescribeListenerRequestRequestTypeDef#

# DescribeListenerRequestRequestTypeDef definition

class DescribeListenerRequestRequestTypeDef(TypedDict):
    ListenerArn: str,

SocketAddressTypeDef#

# SocketAddressTypeDef definition

class SocketAddressTypeDef(TypedDict):
    IpAddress: NotRequired[str],
    Port: NotRequired[int],

EndpointIdentifierTypeDef#

# EndpointIdentifierTypeDef definition

class EndpointIdentifierTypeDef(TypedDict):
    EndpointId: str,
    ClientIPPreservationEnabled: NotRequired[bool],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListAcceleratorsRequestRequestTypeDef#

# ListAcceleratorsRequestRequestTypeDef definition

class ListAcceleratorsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListByoipCidrsRequestRequestTypeDef#

# ListByoipCidrsRequestRequestTypeDef definition

class ListByoipCidrsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListCrossAccountAttachmentsRequestRequestTypeDef#

# ListCrossAccountAttachmentsRequestRequestTypeDef definition

class ListCrossAccountAttachmentsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListCrossAccountResourcesRequestRequestTypeDef#

# ListCrossAccountResourcesRequestRequestTypeDef definition

class ListCrossAccountResourcesRequestRequestTypeDef(TypedDict):
    ResourceOwnerAwsAccountId: str,
    AcceleratorArn: NotRequired[str],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListCustomRoutingAcceleratorsRequestRequestTypeDef#

# ListCustomRoutingAcceleratorsRequestRequestTypeDef definition

class ListCustomRoutingAcceleratorsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListCustomRoutingEndpointGroupsRequestRequestTypeDef#

# ListCustomRoutingEndpointGroupsRequestRequestTypeDef definition

class ListCustomRoutingEndpointGroupsRequestRequestTypeDef(TypedDict):
    ListenerArn: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListCustomRoutingListenersRequestRequestTypeDef#

# ListCustomRoutingListenersRequestRequestTypeDef definition

class ListCustomRoutingListenersRequestRequestTypeDef(TypedDict):
    AcceleratorArn: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListCustomRoutingPortMappingsByDestinationRequestRequestTypeDef#

# ListCustomRoutingPortMappingsByDestinationRequestRequestTypeDef definition

class ListCustomRoutingPortMappingsByDestinationRequestRequestTypeDef(TypedDict):
    EndpointId: str,
    DestinationAddress: str,