Skip to content

Type definitions#

Index > DirectConnect > Type definitions

Auto-generated documentation for DirectConnect type annotations stubs module mypy-boto3-directconnect.

RouteFilterPrefixTypeDef#

# RouteFilterPrefixTypeDef definition

class RouteFilterPrefixTypeDef(TypedDict):
    cidr: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

AllocateConnectionOnInterconnectRequestRequestTypeDef#

# AllocateConnectionOnInterconnectRequestRequestTypeDef definition

class AllocateConnectionOnInterconnectRequestRequestTypeDef(TypedDict):
    bandwidth: str,
    connectionName: str,
    ownerAccount: str,
    interconnectId: str,
    vlan: int,

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    key: str,
    value: NotRequired[str],

AssociateConnectionWithLagRequestRequestTypeDef#

# AssociateConnectionWithLagRequestRequestTypeDef definition

class AssociateConnectionWithLagRequestRequestTypeDef(TypedDict):
    connectionId: str,
    lagId: str,

AssociateHostedConnectionRequestRequestTypeDef#

# AssociateHostedConnectionRequestRequestTypeDef definition

class AssociateHostedConnectionRequestRequestTypeDef(TypedDict):
    connectionId: str,
    parentConnectionId: str,

AssociateMacSecKeyRequestRequestTypeDef#

# AssociateMacSecKeyRequestRequestTypeDef definition

class AssociateMacSecKeyRequestRequestTypeDef(TypedDict):
    connectionId: str,
    secretARN: NotRequired[str],
    ckn: NotRequired[str],
    cak: NotRequired[str],

MacSecKeyTypeDef#

# MacSecKeyTypeDef definition

class MacSecKeyTypeDef(TypedDict):
    secretARN: NotRequired[str],
    ckn: NotRequired[str],
    state: NotRequired[str],
    startOn: NotRequired[str],

AssociateVirtualInterfaceRequestRequestTypeDef#

# AssociateVirtualInterfaceRequestRequestTypeDef definition

class AssociateVirtualInterfaceRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,
    connectionId: str,

AssociatedGatewayTypeDef#

# AssociatedGatewayTypeDef definition

class AssociatedGatewayTypeDef(TypedDict):
    id: NotRequired[str],
    type: NotRequired[GatewayTypeType],  # (1)
    ownerAccount: NotRequired[str],
    region: NotRequired[str],
  1. See GatewayTypeType

BGPPeerTypeDef#

# BGPPeerTypeDef definition

class BGPPeerTypeDef(TypedDict):
    bgpPeerId: NotRequired[str],
    asn: NotRequired[int],
    authKey: NotRequired[str],
    addressFamily: NotRequired[AddressFamilyType],  # (1)
    amazonAddress: NotRequired[str],
    customerAddress: NotRequired[str],
    bgpPeerState: NotRequired[BGPPeerStateType],  # (2)
    bgpStatus: NotRequired[BGPStatusType],  # (3)
    awsDeviceV2: NotRequired[str],
    awsLogicalDeviceId: NotRequired[str],
  1. See AddressFamilyType
  2. See BGPPeerStateType
  3. See BGPStatusType

ConfirmConnectionRequestRequestTypeDef#

# ConfirmConnectionRequestRequestTypeDef definition

class ConfirmConnectionRequestRequestTypeDef(TypedDict):
    connectionId: str,

ConfirmCustomerAgreementRequestRequestTypeDef#

# ConfirmCustomerAgreementRequestRequestTypeDef definition

class ConfirmCustomerAgreementRequestRequestTypeDef(TypedDict):
    agreementName: NotRequired[str],

ConfirmPrivateVirtualInterfaceRequestRequestTypeDef#

# ConfirmPrivateVirtualInterfaceRequestRequestTypeDef definition

class ConfirmPrivateVirtualInterfaceRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,
    virtualGatewayId: NotRequired[str],
    directConnectGatewayId: NotRequired[str],

ConfirmPublicVirtualInterfaceRequestRequestTypeDef#

# ConfirmPublicVirtualInterfaceRequestRequestTypeDef definition

class ConfirmPublicVirtualInterfaceRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,

ConfirmTransitVirtualInterfaceRequestRequestTypeDef#

# ConfirmTransitVirtualInterfaceRequestRequestTypeDef definition

class ConfirmTransitVirtualInterfaceRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,
    directConnectGatewayId: str,

NewBGPPeerTypeDef#

# NewBGPPeerTypeDef definition

class NewBGPPeerTypeDef(TypedDict):
    asn: NotRequired[int],
    authKey: NotRequired[str],
    addressFamily: NotRequired[AddressFamilyType],  # (1)
    amazonAddress: NotRequired[str],
    customerAddress: NotRequired[str],
  1. See AddressFamilyType

CreateDirectConnectGatewayRequestRequestTypeDef#

# CreateDirectConnectGatewayRequestRequestTypeDef definition

class CreateDirectConnectGatewayRequestRequestTypeDef(TypedDict):
    directConnectGatewayName: str,
    amazonSideAsn: NotRequired[int],

DirectConnectGatewayTypeDef#

# DirectConnectGatewayTypeDef definition

class DirectConnectGatewayTypeDef(TypedDict):
    directConnectGatewayId: NotRequired[str],
    directConnectGatewayName: NotRequired[str],
    amazonSideAsn: NotRequired[int],
    ownerAccount: NotRequired[str],
    directConnectGatewayState: NotRequired[DirectConnectGatewayStateType],  # (1)
    stateChangeError: NotRequired[str],
  1. See DirectConnectGatewayStateType

CustomerAgreementTypeDef#

# CustomerAgreementTypeDef definition

class CustomerAgreementTypeDef(TypedDict):
    agreementName: NotRequired[str],
    status: NotRequired[str],

DeleteBGPPeerRequestRequestTypeDef#

# DeleteBGPPeerRequestRequestTypeDef definition

class DeleteBGPPeerRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: NotRequired[str],
    asn: NotRequired[int],
    customerAddress: NotRequired[str],
    bgpPeerId: NotRequired[str],

DeleteConnectionRequestRequestTypeDef#

# DeleteConnectionRequestRequestTypeDef definition

class DeleteConnectionRequestRequestTypeDef(TypedDict):
    connectionId: str,

DeleteDirectConnectGatewayAssociationProposalRequestRequestTypeDef#

# DeleteDirectConnectGatewayAssociationProposalRequestRequestTypeDef definition

class DeleteDirectConnectGatewayAssociationProposalRequestRequestTypeDef(TypedDict):
    proposalId: str,

DeleteDirectConnectGatewayAssociationRequestRequestTypeDef#

# DeleteDirectConnectGatewayAssociationRequestRequestTypeDef definition

class DeleteDirectConnectGatewayAssociationRequestRequestTypeDef(TypedDict):
    associationId: NotRequired[str],
    directConnectGatewayId: NotRequired[str],
    virtualGatewayId: NotRequired[str],

DeleteDirectConnectGatewayRequestRequestTypeDef#

# DeleteDirectConnectGatewayRequestRequestTypeDef definition

class DeleteDirectConnectGatewayRequestRequestTypeDef(TypedDict):
    directConnectGatewayId: str,

DeleteInterconnectRequestRequestTypeDef#

# DeleteInterconnectRequestRequestTypeDef definition

class DeleteInterconnectRequestRequestTypeDef(TypedDict):
    interconnectId: str,

DeleteLagRequestRequestTypeDef#

# DeleteLagRequestRequestTypeDef definition

class DeleteLagRequestRequestTypeDef(TypedDict):
    lagId: str,

DeleteVirtualInterfaceRequestRequestTypeDef#

# DeleteVirtualInterfaceRequestRequestTypeDef definition

class DeleteVirtualInterfaceRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,

DescribeConnectionLoaRequestRequestTypeDef#

# DescribeConnectionLoaRequestRequestTypeDef definition

class DescribeConnectionLoaRequestRequestTypeDef(TypedDict):
    connectionId: str,
    providerName: NotRequired[str],
    loaContentType: NotRequired[LoaContentTypeType],  # (1)
  1. See LoaContentTypeType

LoaTypeDef#

# LoaTypeDef definition

class LoaTypeDef(TypedDict):
    loaContent: NotRequired[bytes],
    loaContentType: NotRequired[LoaContentTypeType],  # (1)
  1. See LoaContentTypeType

DescribeConnectionsOnInterconnectRequestRequestTypeDef#

# DescribeConnectionsOnInterconnectRequestRequestTypeDef definition

class DescribeConnectionsOnInterconnectRequestRequestTypeDef(TypedDict):
    interconnectId: str,

DescribeConnectionsRequestRequestTypeDef#

# DescribeConnectionsRequestRequestTypeDef definition

class DescribeConnectionsRequestRequestTypeDef(TypedDict):
    connectionId: NotRequired[str],

DescribeDirectConnectGatewayAssociationProposalsRequestRequestTypeDef#

# DescribeDirectConnectGatewayAssociationProposalsRequestRequestTypeDef definition

class DescribeDirectConnectGatewayAssociationProposalsRequestRequestTypeDef(TypedDict):
    directConnectGatewayId: NotRequired[str],
    proposalId: NotRequired[str],
    associatedGatewayId: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

DescribeDirectConnectGatewayAssociationsRequestRequestTypeDef#

# DescribeDirectConnectGatewayAssociationsRequestRequestTypeDef definition

class DescribeDirectConnectGatewayAssociationsRequestRequestTypeDef(TypedDict):
    associationId: NotRequired[str],
    associatedGatewayId: NotRequired[str],
    directConnectGatewayId: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    virtualGatewayId: NotRequired[str],

DescribeDirectConnectGatewayAttachmentsRequestRequestTypeDef#

# DescribeDirectConnectGatewayAttachmentsRequestRequestTypeDef definition

class DescribeDirectConnectGatewayAttachmentsRequestRequestTypeDef(TypedDict):
    directConnectGatewayId: NotRequired[str],
    virtualInterfaceId: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

DirectConnectGatewayAttachmentTypeDef#

# DirectConnectGatewayAttachmentTypeDef definition

class DirectConnectGatewayAttachmentTypeDef(TypedDict):
    directConnectGatewayId: NotRequired[str],
    virtualInterfaceId: NotRequired[str],
    virtualInterfaceRegion: NotRequired[str],
    virtualInterfaceOwnerAccount: NotRequired[str],
    attachmentState: NotRequired[DirectConnectGatewayAttachmentStateType],  # (1)
    attachmentType: NotRequired[DirectConnectGatewayAttachmentTypeType],  # (2)
    stateChangeError: NotRequired[str],
  1. See DirectConnectGatewayAttachmentStateType
  2. See DirectConnectGatewayAttachmentTypeType

DescribeDirectConnectGatewaysRequestRequestTypeDef#

# DescribeDirectConnectGatewaysRequestRequestTypeDef definition

class DescribeDirectConnectGatewaysRequestRequestTypeDef(TypedDict):
    directConnectGatewayId: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

DescribeHostedConnectionsRequestRequestTypeDef#

# DescribeHostedConnectionsRequestRequestTypeDef definition

class DescribeHostedConnectionsRequestRequestTypeDef(TypedDict):
    connectionId: str,

DescribeInterconnectLoaRequestRequestTypeDef#

# DescribeInterconnectLoaRequestRequestTypeDef definition

class DescribeInterconnectLoaRequestRequestTypeDef(TypedDict):
    interconnectId: str,
    providerName: NotRequired[str],
    loaContentType: NotRequired[LoaContentTypeType],  # (1)
  1. See LoaContentTypeType

DescribeInterconnectsRequestRequestTypeDef#

# DescribeInterconnectsRequestRequestTypeDef definition

class DescribeInterconnectsRequestRequestTypeDef(TypedDict):
    interconnectId: NotRequired[str],

DescribeLagsRequestRequestTypeDef#

# DescribeLagsRequestRequestTypeDef definition

class DescribeLagsRequestRequestTypeDef(TypedDict):
    lagId: NotRequired[str],

DescribeLoaRequestRequestTypeDef#

# DescribeLoaRequestRequestTypeDef definition

class DescribeLoaRequestRequestTypeDef(TypedDict):
    connectionId: str,
    providerName: NotRequired[str],
    loaContentType: NotRequired[LoaContentTypeType],  # (1)
  1. See LoaContentTypeType

DescribeRouterConfigurationRequestRequestTypeDef#

# DescribeRouterConfigurationRequestRequestTypeDef definition

class DescribeRouterConfigurationRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,
    routerTypeIdentifier: NotRequired[str],

RouterTypeTypeDef#

# RouterTypeTypeDef definition

class RouterTypeTypeDef(TypedDict):
    vendor: NotRequired[str],
    platform: NotRequired[str],
    software: NotRequired[str],
    xsltTemplateName: NotRequired[str],
    xsltTemplateNameForMacSec: NotRequired[str],
    routerTypeIdentifier: NotRequired[str],

DescribeTagsRequestRequestTypeDef#

# DescribeTagsRequestRequestTypeDef definition

class DescribeTagsRequestRequestTypeDef(TypedDict):
    resourceArns: Sequence[str],

DescribeVirtualInterfacesRequestRequestTypeDef#

# DescribeVirtualInterfacesRequestRequestTypeDef definition

class DescribeVirtualInterfacesRequestRequestTypeDef(TypedDict):
    connectionId: NotRequired[str],
    virtualInterfaceId: NotRequired[str],

DisassociateConnectionFromLagRequestRequestTypeDef#

# DisassociateConnectionFromLagRequestRequestTypeDef definition

class DisassociateConnectionFromLagRequestRequestTypeDef(TypedDict):
    connectionId: str,
    lagId: str,

DisassociateMacSecKeyRequestRequestTypeDef#

# DisassociateMacSecKeyRequestRequestTypeDef definition

class DisassociateMacSecKeyRequestRequestTypeDef(TypedDict):
    connectionId: str,
    secretARN: str,

ListVirtualInterfaceTestHistoryRequestRequestTypeDef#

# ListVirtualInterfaceTestHistoryRequestRequestTypeDef definition

class ListVirtualInterfaceTestHistoryRequestRequestTypeDef(TypedDict):
    testId: NotRequired[str],
    virtualInterfaceId: NotRequired[str],
    bgpPeers: NotRequired[Sequence[str]],
    status: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

VirtualInterfaceTestHistoryTypeDef#

# VirtualInterfaceTestHistoryTypeDef definition

class VirtualInterfaceTestHistoryTypeDef(TypedDict):
    testId: NotRequired[str],
    virtualInterfaceId: NotRequired[str],
    bgpPeers: NotRequired[List[str]],
    status: NotRequired[str],
    ownerAccount: NotRequired[str],
    testDurationInMinutes: NotRequired[int],
    startTime: NotRequired[datetime],
    endTime: NotRequired[datetime],

LocationTypeDef#

# LocationTypeDef definition

class LocationTypeDef(TypedDict):
    locationCode: NotRequired[str],
    locationName: NotRequired[str],
    region: NotRequired[str],
    availablePortSpeeds: NotRequired[List[str]],
    availableProviders: NotRequired[List[str]],
    availableMacSecPortSpeeds: NotRequired[List[str]],

StartBgpFailoverTestRequestRequestTypeDef#

# StartBgpFailoverTestRequestRequestTypeDef definition

class StartBgpFailoverTestRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,
    bgpPeers: NotRequired[Sequence[str]],
    testDurationInMinutes: NotRequired[int],

StopBgpFailoverTestRequestRequestTypeDef#

# StopBgpFailoverTestRequestRequestTypeDef definition

class StopBgpFailoverTestRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

UpdateConnectionRequestRequestTypeDef#

# UpdateConnectionRequestRequestTypeDef definition

class UpdateConnectionRequestRequestTypeDef(TypedDict):
    connectionId: str,
    connectionName: NotRequired[str],
    encryptionMode: NotRequired[str],

UpdateDirectConnectGatewayRequestRequestTypeDef#

# UpdateDirectConnectGatewayRequestRequestTypeDef definition

class UpdateDirectConnectGatewayRequestRequestTypeDef(TypedDict):
    directConnectGatewayId: str,
    newDirectConnectGatewayName: str,

UpdateLagRequestRequestTypeDef#

# UpdateLagRequestRequestTypeDef definition

class UpdateLagRequestRequestTypeDef(TypedDict):
    lagId: str,
    lagName: NotRequired[str],
    minimumLinks: NotRequired[int],
    encryptionMode: NotRequired[str],

UpdateVirtualInterfaceAttributesRequestRequestTypeDef#

# UpdateVirtualInterfaceAttributesRequestRequestTypeDef definition

class UpdateVirtualInterfaceAttributesRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,
    mtu: NotRequired[int],
    enableSiteLink: NotRequired[bool],
    virtualInterfaceName: NotRequired[str],

VirtualGatewayTypeDef#

# VirtualGatewayTypeDef definition

class VirtualGatewayTypeDef(TypedDict):
    virtualGatewayId: NotRequired[str],
    virtualGatewayState: NotRequired[str],

AcceptDirectConnectGatewayAssociationProposalRequestRequestTypeDef#

# AcceptDirectConnectGatewayAssociationProposalRequestRequestTypeDef definition

class AcceptDirectConnectGatewayAssociationProposalRequestRequestTypeDef(TypedDict):
    directConnectGatewayId: str,
    proposalId: str,
    associatedGatewayOwnerAccount: str,
    overrideAllowedPrefixesToDirectConnectGateway: NotRequired[Sequence[RouteFilterPrefixTypeDef]],  # (1)
  1. See RouteFilterPrefixTypeDef

CreateDirectConnectGatewayAssociationProposalRequestRequestTypeDef#

# CreateDirectConnectGatewayAssociationProposalRequestRequestTypeDef definition

class CreateDirectConnectGatewayAssociationProposalRequestRequestTypeDef(TypedDict):
    directConnectGatewayId: str,
    directConnectGatewayOwnerAccount: str,
    gatewayId: str,
    addAllowedPrefixesToDirectConnectGateway: NotRequired[Sequence[RouteFilterPrefixTypeDef]],  # (1)
    removeAllowedPrefixesToDirectConnectGateway: NotRequired[Sequence[RouteFilterPrefixTypeDef]],  # (1)
  1. See RouteFilterPrefixTypeDef
  2. See RouteFilterPrefixTypeDef

CreateDirectConnectGatewayAssociationRequestRequestTypeDef#

# CreateDirectConnectGatewayAssociationRequestRequestTypeDef definition

class CreateDirectConnectGatewayAssociationRequestRequestTypeDef(TypedDict):
    directConnectGatewayId: str,
    gatewayId: NotRequired[str],
    addAllowedPrefixesToDirectConnectGateway: NotRequired[Sequence[RouteFilterPrefixTypeDef]],  # (1)
    virtualGatewayId: NotRequired[str],
  1. See RouteFilterPrefixTypeDef

UpdateDirectConnectGatewayAssociationRequestRequestTypeDef#

# UpdateDirectConnectGatewayAssociationRequestRequestTypeDef definition

class UpdateDirectConnectGatewayAssociationRequestRequestTypeDef(TypedDict):
    associationId: NotRequired[str],
    addAllowedPrefixesToDirectConnectGateway: NotRequired[Sequence[RouteFilterPrefixTypeDef]],  # (1)
    removeAllowedPrefixesToDirectConnectGateway: NotRequired[Sequence[RouteFilterPrefixTypeDef]],  # (1)
  1. See RouteFilterPrefixTypeDef
  2. See RouteFilterPrefixTypeDef

ConfirmConnectionResponseTypeDef#

# ConfirmConnectionResponseTypeDef definition

class ConfirmConnectionResponseTypeDef(TypedDict):
    connectionState: ConnectionStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ConnectionStateType
  2. See ResponseMetadataTypeDef

ConfirmCustomerAgreementResponseTypeDef#

# ConfirmCustomerAgreementResponseTypeDef definition

class ConfirmCustomerAgreementResponseTypeDef(TypedDict):
    status: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ConfirmPrivateVirtualInterfaceResponseTypeDef#

# ConfirmPrivateVirtualInterfaceResponseTypeDef definition

class ConfirmPrivateVirtualInterfaceResponseTypeDef(TypedDict):
    virtualInterfaceState: VirtualInterfaceStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceStateType
  2. See ResponseMetadataTypeDef

ConfirmPublicVirtualInterfaceResponseTypeDef#

# ConfirmPublicVirtualInterfaceResponseTypeDef definition

class ConfirmPublicVirtualInterfaceResponseTypeDef(TypedDict):
    virtualInterfaceState: VirtualInterfaceStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceStateType
  2. See ResponseMetadataTypeDef

ConfirmTransitVirtualInterfaceResponseTypeDef#

# ConfirmTransitVirtualInterfaceResponseTypeDef definition

class ConfirmTransitVirtualInterfaceResponseTypeDef(TypedDict):
    virtualInterfaceState: VirtualInterfaceStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceStateType
  2. See ResponseMetadataTypeDef

DeleteInterconnectResponseTypeDef#

# DeleteInterconnectResponseTypeDef definition

class DeleteInterconnectResponseTypeDef(TypedDict):
    interconnectState: InterconnectStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InterconnectStateType
  2. See ResponseMetadataTypeDef

DeleteVirtualInterfaceResponseTypeDef#

# DeleteVirtualInterfaceResponseTypeDef definition

class DeleteVirtualInterfaceResponseTypeDef(TypedDict):
    virtualInterfaceState: VirtualInterfaceStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceStateType
  2. See ResponseMetadataTypeDef

LoaResponseTypeDef#

# LoaResponseTypeDef definition

class LoaResponseTypeDef(TypedDict):
    loaContent: bytes,
    loaContentType: LoaContentTypeType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoaContentTypeType
  2. See ResponseMetadataTypeDef

AllocateHostedConnectionRequestRequestTypeDef#

# AllocateHostedConnectionRequestRequestTypeDef definition

class AllocateHostedConnectionRequestRequestTypeDef(TypedDict):
    connectionId: str,
    ownerAccount: str,
    bandwidth: str,
    connectionName: str,
    vlan: int,
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

CreateConnectionRequestRequestTypeDef#

# CreateConnectionRequestRequestTypeDef definition

class CreateConnectionRequestRequestTypeDef(TypedDict):
    location: str,
    bandwidth: str,
    connectionName: str,
    lagId: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
    providerName: NotRequired[str],
    requestMACSec: NotRequired[bool],
  1. See TagTypeDef

CreateInterconnectRequestRequestTypeDef#

# CreateInterconnectRequestRequestTypeDef definition

class CreateInterconnectRequestRequestTypeDef(TypedDict):
    interconnectName: str,
    bandwidth: str,
    location: str,
    lagId: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
    providerName: NotRequired[str],
  1. See TagTypeDef

CreateLagRequestRequestTypeDef#

# CreateLagRequestRequestTypeDef definition

class CreateLagRequestRequestTypeDef(TypedDict):
    numberOfConnections: int,
    location: str,
    connectionsBandwidth: str,
    lagName: str,
    connectionId: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
    childConnectionTags: NotRequired[Sequence[TagTypeDef]],  # (1)
    providerName: NotRequired[str],
    requestMACSec: NotRequired[bool],
  1. See TagTypeDef
  2. See TagTypeDef

InterconnectResponseTypeDef#

# InterconnectResponseTypeDef definition

class InterconnectResponseTypeDef(TypedDict):
    interconnectId: str,
    interconnectName: str,
    interconnectState: InterconnectStateType,  # (1)
    region: str,
    location: str,
    bandwidth: str,
    loaIssueTime: datetime,
    lagId: str,
    awsDevice: str,
    jumboFrameCapable: bool,
    awsDeviceV2: str,
    awsLogicalDeviceId: str,
    hasLogicalRedundancy: HasLogicalRedundancyType,  # (2)
    tags: List[TagTypeDef],  # (3)
    providerName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See InterconnectStateType
  2. See HasLogicalRedundancyType
  3. See TagTypeDef
  4. See ResponseMetadataTypeDef

InterconnectTypeDef#

# InterconnectTypeDef definition

class InterconnectTypeDef(TypedDict):
    interconnectId: NotRequired[str],
    interconnectName: NotRequired[str],
    interconnectState: NotRequired[InterconnectStateType],  # (1)
    region: NotRequired[str],
    location: NotRequired[str],
    bandwidth: NotRequired[str],
    loaIssueTime: NotRequired[datetime],
    lagId: NotRequired[str],
    awsDevice: NotRequired[str],
    jumboFrameCapable: NotRequired[bool],
    awsDeviceV2: NotRequired[str],
    awsLogicalDeviceId: NotRequired[str],
    hasLogicalRedundancy: NotRequired[HasLogicalRedundancyType],  # (2)
    tags: NotRequired[List[TagTypeDef]],  # (3)
    providerName: NotRequired[str],
  1. See InterconnectStateType
  2. See HasLogicalRedundancyType
  3. See TagTypeDef

NewPrivateVirtualInterfaceAllocationTypeDef#

# NewPrivateVirtualInterfaceAllocationTypeDef definition

class NewPrivateVirtualInterfaceAllocationTypeDef(TypedDict):
    virtualInterfaceName: str,
    vlan: int,
    asn: int,
    mtu: NotRequired[int],
    authKey: NotRequired[str],
    amazonAddress: NotRequired[str],
    addressFamily: NotRequired[AddressFamilyType],  # (1)
    customerAddress: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See AddressFamilyType
  2. See TagTypeDef

NewPrivateVirtualInterfaceTypeDef#

# NewPrivateVirtualInterfaceTypeDef definition

class NewPrivateVirtualInterfaceTypeDef(TypedDict):
    virtualInterfaceName: str,
    vlan: int,
    asn: int,
    mtu: NotRequired[int],
    authKey: NotRequired[str],
    amazonAddress: NotRequired[str],
    customerAddress: NotRequired[str],
    addressFamily: NotRequired[AddressFamilyType],  # (1)
    virtualGatewayId: NotRequired[str],
    directConnectGatewayId: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (2)
    enableSiteLink: NotRequired[bool],
  1. See AddressFamilyType
  2. See TagTypeDef

NewPublicVirtualInterfaceAllocationTypeDef#

# NewPublicVirtualInterfaceAllocationTypeDef definition

class NewPublicVirtualInterfaceAllocationTypeDef(TypedDict):
    virtualInterfaceName: str,
    vlan: int,
    asn: int,
    authKey: NotRequired[str],
    amazonAddress: NotRequired[str],
    customerAddress: NotRequired[str],
    addressFamily: NotRequired[AddressFamilyType],  # (1)
    routeFilterPrefixes: NotRequired[Sequence[RouteFilterPrefixTypeDef]],  # (2)
    tags: NotRequired[Sequence[TagTypeDef]],  # (3)
  1. See AddressFamilyType
  2. See RouteFilterPrefixTypeDef
  3. See TagTypeDef

NewPublicVirtualInterfaceTypeDef#

# NewPublicVirtualInterfaceTypeDef definition

class NewPublicVirtualInterfaceTypeDef(TypedDict):
    virtualInterfaceName: str,
    vlan: int,
    asn: int,
    authKey: NotRequired[str],
    amazonAddress: NotRequired[str],
    customerAddress: NotRequired[str],
    addressFamily: NotRequired[AddressFamilyType],  # (1)
    routeFilterPrefixes: NotRequired[Sequence[RouteFilterPrefixTypeDef]],  # (2)
    tags: NotRequired[Sequence[TagTypeDef]],  # (3)
  1. See AddressFamilyType
  2. See RouteFilterPrefixTypeDef
  3. See TagTypeDef

NewTransitVirtualInterfaceAllocationTypeDef#

# NewTransitVirtualInterfaceAllocationTypeDef definition

class NewTransitVirtualInterfaceAllocationTypeDef(TypedDict):
    virtualInterfaceName: NotRequired[str],
    vlan: NotRequired[int],
    asn: NotRequired[int],
    mtu: NotRequired[int],
    authKey: NotRequired[str],
    amazonAddress: NotRequired[str],
    customerAddress: NotRequired[str],
    addressFamily: NotRequired[AddressFamilyType],  # (1)
    tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See AddressFamilyType
  2. See TagTypeDef

NewTransitVirtualInterfaceTypeDef#

# NewTransitVirtualInterfaceTypeDef definition

class NewTransitVirtualInterfaceTypeDef(TypedDict):
    virtualInterfaceName: NotRequired[str],
    vlan: NotRequired[int],
    asn: NotRequired[int],
    mtu: NotRequired[int],
    authKey: NotRequired[str],
    amazonAddress: NotRequired[str],
    customerAddress: NotRequired[str],
    addressFamily: NotRequired[AddressFamilyType],  # (1)
    directConnectGatewayId: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (2)
    enableSiteLink: NotRequired[bool],
  1. See AddressFamilyType
  2. See TagTypeDef

ResourceTagTypeDef#

# ResourceTagTypeDef definition

class ResourceTagTypeDef(TypedDict):
    resourceArn: NotRequired[str],
    tags: NotRequired[List[TagTypeDef]],  # (1)
  1. See TagTypeDef

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

AssociateMacSecKeyResponseTypeDef#

# AssociateMacSecKeyResponseTypeDef definition

class AssociateMacSecKeyResponseTypeDef(TypedDict):
    connectionId: str,
    macSecKeys: List[MacSecKeyTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See MacSecKeyTypeDef
  2. See ResponseMetadataTypeDef

ConnectionResponseTypeDef#

# ConnectionResponseTypeDef definition

class ConnectionResponseTypeDef(TypedDict):
    ownerAccount: str,
    connectionId: str,
    connectionName: str,
    connectionState: ConnectionStateType,  # (1)
    region: str,
    location: str,
    bandwidth: str,
    vlan: int,
    partnerName: str,
    loaIssueTime: datetime,
    lagId: str,
    awsDevice: str,
    jumboFrameCapable: bool,
    awsDeviceV2: str,
    awsLogicalDeviceId: str,
    hasLogicalRedundancy: HasLogicalRedundancyType,  # (2)
    tags: List[TagTypeDef],  # (3)
    providerName: str,
    macSecCapable: bool,
    portEncryptionStatus: str,
    encryptionMode: str,
    macSecKeys: List[MacSecKeyTypeDef],  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See ConnectionStateType
  2. See HasLogicalRedundancyType
  3. See TagTypeDef
  4. See MacSecKeyTypeDef
  5. See ResponseMetadataTypeDef

ConnectionTypeDef#

# ConnectionTypeDef definition

class ConnectionTypeDef(TypedDict):
    ownerAccount: NotRequired[str],
    connectionId: NotRequired[str],
    connectionName: NotRequired[str],
    connectionState: NotRequired[ConnectionStateType],  # (1)
    region: NotRequired[str],
    location: NotRequired[str],
    bandwidth: NotRequired[str],
    vlan: NotRequired[int],
    partnerName: NotRequired[str],
    loaIssueTime: NotRequired[datetime],
    lagId: NotRequired[str],
    awsDevice: NotRequired[str],
    jumboFrameCapable: NotRequired[bool],
    awsDeviceV2: NotRequired[str],
    awsLogicalDeviceId: NotRequired[str],
    hasLogicalRedundancy: NotRequired[HasLogicalRedundancyType],  # (2)
    tags: NotRequired[List[TagTypeDef]],  # (3)
    providerName: NotRequired[str],
    macSecCapable: NotRequired[bool],
    portEncryptionStatus: NotRequired[str],
    encryptionMode: NotRequired[str],
    macSecKeys: NotRequired[List[MacSecKeyTypeDef]],  # (4)
  1. See ConnectionStateType
  2. See HasLogicalRedundancyType
  3. See TagTypeDef
  4. See MacSecKeyTypeDef

DisassociateMacSecKeyResponseTypeDef#

# DisassociateMacSecKeyResponseTypeDef definition

class DisassociateMacSecKeyResponseTypeDef(TypedDict):
    connectionId: str,
    macSecKeys: List[MacSecKeyTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See MacSecKeyTypeDef
  2. See ResponseMetadataTypeDef

DirectConnectGatewayAssociationProposalTypeDef#

# DirectConnectGatewayAssociationProposalTypeDef definition

class DirectConnectGatewayAssociationProposalTypeDef(TypedDict):
    proposalId: NotRequired[str],
    directConnectGatewayId: NotRequired[str],
    directConnectGatewayOwnerAccount: NotRequired[str],
    proposalState: NotRequired[DirectConnectGatewayAssociationProposalStateType],  # (1)
    associatedGateway: NotRequired[AssociatedGatewayTypeDef],  # (2)
    existingAllowedPrefixesToDirectConnectGateway: NotRequired[List[RouteFilterPrefixTypeDef]],  # (3)
    requestedAllowedPrefixesToDirectConnectGateway: NotRequired[List[RouteFilterPrefixTypeDef]],  # (3)
  1. See DirectConnectGatewayAssociationProposalStateType
  2. See AssociatedGatewayTypeDef
  3. See RouteFilterPrefixTypeDef
  4. See RouteFilterPrefixTypeDef

DirectConnectGatewayAssociationTypeDef#

# DirectConnectGatewayAssociationTypeDef definition

class DirectConnectGatewayAssociationTypeDef(TypedDict):
    directConnectGatewayId: NotRequired[str],
    directConnectGatewayOwnerAccount: NotRequired[str],
    associationState: NotRequired[DirectConnectGatewayAssociationStateType],  # (1)
    stateChangeError: NotRequired[str],
    associatedGateway: NotRequired[AssociatedGatewayTypeDef],  # (2)
    associationId: NotRequired[str],
    allowedPrefixesToDirectConnectGateway: NotRequired[List[RouteFilterPrefixTypeDef]],  # (3)
    virtualGatewayId: NotRequired[str],
    virtualGatewayRegion: NotRequired[str],
    virtualGatewayOwnerAccount: NotRequired[str],
  1. See DirectConnectGatewayAssociationStateType
  2. See AssociatedGatewayTypeDef
  3. See RouteFilterPrefixTypeDef

VirtualInterfaceResponseTypeDef#

# VirtualInterfaceResponseTypeDef definition

class VirtualInterfaceResponseTypeDef(TypedDict):
    ownerAccount: str,
    virtualInterfaceId: str,
    location: str,
    connectionId: str,
    virtualInterfaceType: str,
    virtualInterfaceName: str,
    vlan: int,
    asn: int,
    amazonSideAsn: int,
    authKey: str,
    amazonAddress: str,
    customerAddress: str,
    addressFamily: AddressFamilyType,  # (1)
    virtualInterfaceState: VirtualInterfaceStateType,  # (2)
    customerRouterConfig: str,
    mtu: int,
    jumboFrameCapable: bool,
    virtualGatewayId: str,
    directConnectGatewayId: str,
    routeFilterPrefixes: List[RouteFilterPrefixTypeDef],  # (3)
    bgpPeers: List[BGPPeerTypeDef],  # (4)
    region: str,
    awsDeviceV2: str,
    awsLogicalDeviceId: str,
    tags: List[TagTypeDef],  # (5)
    siteLinkEnabled: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See AddressFamilyType
  2. See VirtualInterfaceStateType
  3. See RouteFilterPrefixTypeDef
  4. See BGPPeerTypeDef
  5. See TagTypeDef
  6. See ResponseMetadataTypeDef

VirtualInterfaceTypeDef#

# VirtualInterfaceTypeDef definition

class VirtualInterfaceTypeDef(TypedDict):
    ownerAccount: NotRequired[str],
    virtualInterfaceId: NotRequired[str],
    location: NotRequired[str],
    connectionId: NotRequired[str],
    virtualInterfaceType: NotRequired[str],
    virtualInterfaceName: NotRequired[str],
    vlan: NotRequired[int],
    asn: NotRequired[int],
    amazonSideAsn: NotRequired[int],
    authKey: NotRequired[str],
    amazonAddress: NotRequired[str],
    customerAddress: NotRequired[str],
    addressFamily: NotRequired[AddressFamilyType],  # (1)
    virtualInterfaceState: NotRequired[VirtualInterfaceStateType],  # (2)
    customerRouterConfig: NotRequired[str],
    mtu: NotRequired[int],
    jumboFrameCapable: NotRequired[bool],
    virtualGatewayId: NotRequired[str],
    directConnectGatewayId: NotRequired[str],
    routeFilterPrefixes: NotRequired[List[RouteFilterPrefixTypeDef]],  # (3)
    bgpPeers: NotRequired[List[BGPPeerTypeDef]],  # (4)
    region: NotRequired[str],
    awsDeviceV2: NotRequired[str],
    awsLogicalDeviceId: NotRequired[str],
    tags: NotRequired[List[TagTypeDef]],  # (5)
    siteLinkEnabled: NotRequired[bool],
  1. See AddressFamilyType
  2. See VirtualInterfaceStateType
  3. See RouteFilterPrefixTypeDef
  4. See BGPPeerTypeDef
  5. See TagTypeDef

CreateBGPPeerRequestRequestTypeDef#

# CreateBGPPeerRequestRequestTypeDef definition

class CreateBGPPeerRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: NotRequired[str],
    newBGPPeer: NotRequired[NewBGPPeerTypeDef],  # (1)
  1. See NewBGPPeerTypeDef

CreateDirectConnectGatewayResultTypeDef#

# CreateDirectConnectGatewayResultTypeDef definition

class CreateDirectConnectGatewayResultTypeDef(TypedDict):
    directConnectGateway: DirectConnectGatewayTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayTypeDef
  2. See ResponseMetadataTypeDef

DeleteDirectConnectGatewayResultTypeDef#

# DeleteDirectConnectGatewayResultTypeDef definition

class DeleteDirectConnectGatewayResultTypeDef(TypedDict):
    directConnectGateway: DirectConnectGatewayTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayTypeDef
  2. See ResponseMetadataTypeDef

DescribeDirectConnectGatewaysResultTypeDef#

# DescribeDirectConnectGatewaysResultTypeDef definition

class DescribeDirectConnectGatewaysResultTypeDef(TypedDict):
    directConnectGateways: List[DirectConnectGatewayTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayTypeDef
  2. See ResponseMetadataTypeDef

UpdateDirectConnectGatewayResponseTypeDef#

# UpdateDirectConnectGatewayResponseTypeDef definition

class UpdateDirectConnectGatewayResponseTypeDef(TypedDict):
    directConnectGateway: DirectConnectGatewayTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayTypeDef
  2. See ResponseMetadataTypeDef

DescribeCustomerMetadataResponseTypeDef#

# DescribeCustomerMetadataResponseTypeDef definition

class DescribeCustomerMetadataResponseTypeDef(TypedDict):
    agreements: List[CustomerAgreementTypeDef],  # (1)
    nniPartnerType: NniPartnerTypeType,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See CustomerAgreementTypeDef
  2. See NniPartnerTypeType
  3. See ResponseMetadataTypeDef

DescribeConnectionLoaResponseTypeDef#

# DescribeConnectionLoaResponseTypeDef definition

class DescribeConnectionLoaResponseTypeDef(TypedDict):
    loa: LoaTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoaTypeDef
  2. See ResponseMetadataTypeDef

DescribeInterconnectLoaResponseTypeDef#

# DescribeInterconnectLoaResponseTypeDef definition

class DescribeInterconnectLoaResponseTypeDef(TypedDict):
    loa: LoaTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoaTypeDef
  2. See ResponseMetadataTypeDef

DescribeDirectConnectGatewayAssociationsRequestDescribeDirectConnectGatewayAssociationsPaginateTypeDef#

# DescribeDirectConnectGatewayAssociationsRequestDescribeDirectConnectGatewayAssociationsPaginateTypeDef definition

class DescribeDirectConnectGatewayAssociationsRequestDescribeDirectConnectGatewayAssociationsPaginateTypeDef(TypedDict):
    associationId: NotRequired[str],
    associatedGatewayId: NotRequired[str],
    directConnectGatewayId: NotRequired[str],
    virtualGatewayId: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeDirectConnectGatewayAttachmentsRequestDescribeDirectConnectGatewayAttachmentsPaginateTypeDef#

# DescribeDirectConnectGatewayAttachmentsRequestDescribeDirectConnectGatewayAttachmentsPaginateTypeDef definition

class DescribeDirectConnectGatewayAttachmentsRequestDescribeDirectConnectGatewayAttachmentsPaginateTypeDef(TypedDict):
    directConnectGatewayId: NotRequired[str],
    virtualInterfaceId: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeDirectConnectGatewaysRequestDescribeDirectConnectGatewaysPaginateTypeDef#

# DescribeDirectConnectGatewaysRequestDescribeDirectConnectGatewaysPaginateTypeDef definition

class DescribeDirectConnectGatewaysRequestDescribeDirectConnectGatewaysPaginateTypeDef(TypedDict):
    directConnectGatewayId: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeDirectConnectGatewayAttachmentsResultTypeDef#

# DescribeDirectConnectGatewayAttachmentsResultTypeDef definition

class DescribeDirectConnectGatewayAttachmentsResultTypeDef(TypedDict):
    directConnectGatewayAttachments: List[DirectConnectGatewayAttachmentTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayAttachmentTypeDef
  2. See ResponseMetadataTypeDef

DescribeRouterConfigurationResponseTypeDef#

# DescribeRouterConfigurationResponseTypeDef definition

class DescribeRouterConfigurationResponseTypeDef(TypedDict):
    customerRouterConfig: str,
    router: RouterTypeTypeDef,  # (1)
    virtualInterfaceId: str,
    virtualInterfaceName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RouterTypeTypeDef
  2. See ResponseMetadataTypeDef

ListVirtualInterfaceTestHistoryResponseTypeDef#

# ListVirtualInterfaceTestHistoryResponseTypeDef definition

class ListVirtualInterfaceTestHistoryResponseTypeDef(TypedDict):
    virtualInterfaceTestHistory: List[VirtualInterfaceTestHistoryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceTestHistoryTypeDef
  2. See ResponseMetadataTypeDef

StartBgpFailoverTestResponseTypeDef#

# StartBgpFailoverTestResponseTypeDef definition

class StartBgpFailoverTestResponseTypeDef(TypedDict):
    virtualInterfaceTest: VirtualInterfaceTestHistoryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceTestHistoryTypeDef
  2. See ResponseMetadataTypeDef

StopBgpFailoverTestResponseTypeDef#

# StopBgpFailoverTestResponseTypeDef definition

class StopBgpFailoverTestResponseTypeDef(TypedDict):
    virtualInterfaceTest: VirtualInterfaceTestHistoryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceTestHistoryTypeDef
  2. See ResponseMetadataTypeDef

LocationsTypeDef#

# LocationsTypeDef definition

class LocationsTypeDef(TypedDict):
    locations: List[LocationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LocationTypeDef
  2. See ResponseMetadataTypeDef

VirtualGatewaysTypeDef#

# VirtualGatewaysTypeDef definition

class VirtualGatewaysTypeDef(TypedDict):
    virtualGateways: List[VirtualGatewayTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualGatewayTypeDef
  2. See ResponseMetadataTypeDef

InterconnectsTypeDef#

# InterconnectsTypeDef definition

class InterconnectsTypeDef(TypedDict):
    interconnects: List[InterconnectTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InterconnectTypeDef
  2. See ResponseMetadataTypeDef

AllocatePrivateVirtualInterfaceRequestRequestTypeDef#

# AllocatePrivateVirtualInterfaceRequestRequestTypeDef definition

class AllocatePrivateVirtualInterfaceRequestRequestTypeDef(TypedDict):
    connectionId: str,
    ownerAccount: str,
    newPrivateVirtualInterfaceAllocation: NewPrivateVirtualInterfaceAllocationTypeDef,  # (1)
  1. See NewPrivateVirtualInterfaceAllocationTypeDef

CreatePrivateVirtualInterfaceRequestRequestTypeDef#

# CreatePrivateVirtualInterfaceRequestRequestTypeDef definition

class CreatePrivateVirtualInterfaceRequestRequestTypeDef(TypedDict):
    connectionId: str,
    newPrivateVirtualInterface: NewPrivateVirtualInterfaceTypeDef,  # (1)
  1. See NewPrivateVirtualInterfaceTypeDef

AllocatePublicVirtualInterfaceRequestRequestTypeDef#

# AllocatePublicVirtualInterfaceRequestRequestTypeDef definition

class AllocatePublicVirtualInterfaceRequestRequestTypeDef(TypedDict):
    connectionId: str,
    ownerAccount: str,
    newPublicVirtualInterfaceAllocation: NewPublicVirtualInterfaceAllocationTypeDef,  # (1)
  1. See NewPublicVirtualInterfaceAllocationTypeDef

CreatePublicVirtualInterfaceRequestRequestTypeDef#

# CreatePublicVirtualInterfaceRequestRequestTypeDef definition

class CreatePublicVirtualInterfaceRequestRequestTypeDef(TypedDict):
    connectionId: str,
    newPublicVirtualInterface: NewPublicVirtualInterfaceTypeDef,  # (1)
  1. See NewPublicVirtualInterfaceTypeDef

AllocateTransitVirtualInterfaceRequestRequestTypeDef#

# AllocateTransitVirtualInterfaceRequestRequestTypeDef definition

class AllocateTransitVirtualInterfaceRequestRequestTypeDef(TypedDict):
    connectionId: str,
    ownerAccount: str,
    newTransitVirtualInterfaceAllocation: NewTransitVirtualInterfaceAllocationTypeDef,  # (1)
  1. See NewTransitVirtualInterfaceAllocationTypeDef

CreateTransitVirtualInterfaceRequestRequestTypeDef#

# CreateTransitVirtualInterfaceRequestRequestTypeDef definition

class CreateTransitVirtualInterfaceRequestRequestTypeDef(TypedDict):
    connectionId: str,
    newTransitVirtualInterface: NewTransitVirtualInterfaceTypeDef,  # (1)
  1. See NewTransitVirtualInterfaceTypeDef

DescribeTagsResponseTypeDef#

# DescribeTagsResponseTypeDef definition

class DescribeTagsResponseTypeDef(TypedDict):
    resourceTags: List[ResourceTagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourceTagTypeDef
  2. See ResponseMetadataTypeDef

ConnectionsTypeDef#

# ConnectionsTypeDef definition

class ConnectionsTypeDef(TypedDict):
    connections: List[ConnectionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ConnectionTypeDef
  2. See ResponseMetadataTypeDef

LagResponseTypeDef#

# LagResponseTypeDef definition

class LagResponseTypeDef(TypedDict):
    connectionsBandwidth: str,
    numberOfConnections: int,
    lagId: str,
    ownerAccount: str,
    lagName: str,
    lagState: LagStateType,  # (1)
    location: str,
    region: str,
    minimumLinks: int,
    awsDevice: str,
    awsDeviceV2: str,
    awsLogicalDeviceId: str,
    connections: List[ConnectionTypeDef],  # (2)
    allowsHostedConnections: bool,
    jumboFrameCapable: bool,
    hasLogicalRedundancy: HasLogicalRedundancyType,  # (3)
    tags: List[TagTypeDef],  # (4)
    providerName: str,
    macSecCapable: bool,
    encryptionMode: str,
    macSecKeys: List[MacSecKeyTypeDef],  # (5)
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See LagStateType
  2. See ConnectionTypeDef
  3. See HasLogicalRedundancyType
  4. See TagTypeDef
  5. See MacSecKeyTypeDef
  6. See ResponseMetadataTypeDef

LagTypeDef#

# LagTypeDef definition

class LagTypeDef(TypedDict):
    connectionsBandwidth: NotRequired[str],
    numberOfConnections: NotRequired[int],
    lagId: NotRequired[str],
    ownerAccount: NotRequired[str],
    lagName: NotRequired[str],
    lagState: NotRequired[LagStateType],  # (1)
    location: NotRequired[str],
    region: NotRequired[str],
    minimumLinks: NotRequired[int],
    awsDevice: NotRequired[str],
    awsDeviceV2: NotRequired[str],
    awsLogicalDeviceId: NotRequired[str],
    connections: NotRequired[List[ConnectionTypeDef]],  # (2)
    allowsHostedConnections: NotRequired[bool],
    jumboFrameCapable: NotRequired[bool],
    hasLogicalRedundancy: NotRequired[HasLogicalRedundancyType],  # (3)
    tags: NotRequired[List[TagTypeDef]],  # (4)
    providerName: NotRequired[str],
    macSecCapable: NotRequired[bool],
    encryptionMode: NotRequired[str],
    macSecKeys: NotRequired[List[MacSecKeyTypeDef]],  # (5)
  1. See LagStateType
  2. See ConnectionTypeDef
  3. See HasLogicalRedundancyType
  4. See TagTypeDef
  5. See MacSecKeyTypeDef

CreateDirectConnectGatewayAssociationProposalResultTypeDef#

# CreateDirectConnectGatewayAssociationProposalResultTypeDef definition

class CreateDirectConnectGatewayAssociationProposalResultTypeDef(TypedDict):
    directConnectGatewayAssociationProposal: DirectConnectGatewayAssociationProposalTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayAssociationProposalTypeDef
  2. See ResponseMetadataTypeDef

DeleteDirectConnectGatewayAssociationProposalResultTypeDef#

# DeleteDirectConnectGatewayAssociationProposalResultTypeDef definition

class DeleteDirectConnectGatewayAssociationProposalResultTypeDef(TypedDict):
    directConnectGatewayAssociationProposal: DirectConnectGatewayAssociationProposalTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayAssociationProposalTypeDef
  2. See ResponseMetadataTypeDef

DescribeDirectConnectGatewayAssociationProposalsResultTypeDef#

# DescribeDirectConnectGatewayAssociationProposalsResultTypeDef definition

class DescribeDirectConnectGatewayAssociationProposalsResultTypeDef(TypedDict):
    directConnectGatewayAssociationProposals: List[DirectConnectGatewayAssociationProposalTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayAssociationProposalTypeDef
  2. See ResponseMetadataTypeDef

AcceptDirectConnectGatewayAssociationProposalResultTypeDef#

# AcceptDirectConnectGatewayAssociationProposalResultTypeDef definition

class AcceptDirectConnectGatewayAssociationProposalResultTypeDef(TypedDict):
    directConnectGatewayAssociation: DirectConnectGatewayAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayAssociationTypeDef
  2. See ResponseMetadataTypeDef

CreateDirectConnectGatewayAssociationResultTypeDef#

# CreateDirectConnectGatewayAssociationResultTypeDef definition

class CreateDirectConnectGatewayAssociationResultTypeDef(TypedDict):
    directConnectGatewayAssociation: DirectConnectGatewayAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayAssociationTypeDef
  2. See ResponseMetadataTypeDef

DeleteDirectConnectGatewayAssociationResultTypeDef#

# DeleteDirectConnectGatewayAssociationResultTypeDef definition

class DeleteDirectConnectGatewayAssociationResultTypeDef(TypedDict):
    directConnectGatewayAssociation: DirectConnectGatewayAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayAssociationTypeDef
  2. See ResponseMetadataTypeDef

DescribeDirectConnectGatewayAssociationsResultTypeDef#

# DescribeDirectConnectGatewayAssociationsResultTypeDef definition

class DescribeDirectConnectGatewayAssociationsResultTypeDef(TypedDict):
    directConnectGatewayAssociations: List[DirectConnectGatewayAssociationTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayAssociationTypeDef
  2. See ResponseMetadataTypeDef

UpdateDirectConnectGatewayAssociationResultTypeDef#

# UpdateDirectConnectGatewayAssociationResultTypeDef definition

class UpdateDirectConnectGatewayAssociationResultTypeDef(TypedDict):
    directConnectGatewayAssociation: DirectConnectGatewayAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayAssociationTypeDef
  2. See ResponseMetadataTypeDef

AllocateTransitVirtualInterfaceResultTypeDef#

# AllocateTransitVirtualInterfaceResultTypeDef definition

class AllocateTransitVirtualInterfaceResultTypeDef(TypedDict):
    virtualInterface: VirtualInterfaceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceTypeDef
  2. See ResponseMetadataTypeDef

CreateBGPPeerResponseTypeDef#

# CreateBGPPeerResponseTypeDef definition

class CreateBGPPeerResponseTypeDef(TypedDict):
    virtualInterface: VirtualInterfaceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceTypeDef
  2. See ResponseMetadataTypeDef

CreateTransitVirtualInterfaceResultTypeDef#

# CreateTransitVirtualInterfaceResultTypeDef definition

class CreateTransitVirtualInterfaceResultTypeDef(TypedDict):
    virtualInterface: VirtualInterfaceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceTypeDef
  2. See ResponseMetadataTypeDef

DeleteBGPPeerResponseTypeDef#

# DeleteBGPPeerResponseTypeDef definition

class DeleteBGPPeerResponseTypeDef(TypedDict):
    virtualInterface: VirtualInterfaceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceTypeDef
  2. See ResponseMetadataTypeDef

VirtualInterfacesTypeDef#

# VirtualInterfacesTypeDef definition

class VirtualInterfacesTypeDef(TypedDict):
    virtualInterfaces: List[VirtualInterfaceTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceTypeDef
  2. See ResponseMetadataTypeDef

LagsTypeDef#

# LagsTypeDef definition

class LagsTypeDef(TypedDict):
    lags: List[LagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LagTypeDef
  2. See ResponseMetadataTypeDef