Skip to content

Typed dictionaries#

Index > DirectConnect > Typed dictionaries

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

RouteFilterPrefixTypeDef#

# RouteFilterPrefixTypeDef usage example

from mypy_boto3_directconnect.type_defs import RouteFilterPrefixTypeDef

def get_value() -> RouteFilterPrefixTypeDef:
    return {
        "cidr": ...,
    }
# RouteFilterPrefixTypeDef definition

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

AllocateConnectionOnInterconnectRequestRequestTypeDef#

# AllocateConnectionOnInterconnectRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import AllocateConnectionOnInterconnectRequestRequestTypeDef

def get_value() -> AllocateConnectionOnInterconnectRequestRequestTypeDef:
    return {
        "bandwidth": ...,
        "connectionName": ...,
        "ownerAccount": ...,
        "interconnectId": ...,
        "vlan": ...,
    }
# AllocateConnectionOnInterconnectRequestRequestTypeDef definition

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

TagTypeDef#

# TagTypeDef usage example

from mypy_boto3_directconnect.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "key": ...,
    }
# TagTypeDef definition

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

AssociateConnectionWithLagRequestRequestTypeDef#

# AssociateConnectionWithLagRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import AssociateConnectionWithLagRequestRequestTypeDef

def get_value() -> AssociateConnectionWithLagRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "lagId": ...,
    }
# AssociateConnectionWithLagRequestRequestTypeDef definition

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

AssociateHostedConnectionRequestRequestTypeDef#

# AssociateHostedConnectionRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import AssociateHostedConnectionRequestRequestTypeDef

def get_value() -> AssociateHostedConnectionRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "parentConnectionId": ...,
    }
# AssociateHostedConnectionRequestRequestTypeDef definition

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

AssociateMacSecKeyRequestRequestTypeDef#

# AssociateMacSecKeyRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import AssociateMacSecKeyRequestRequestTypeDef

def get_value() -> AssociateMacSecKeyRequestRequestTypeDef:
    return {
        "connectionId": ...,
    }
# AssociateMacSecKeyRequestRequestTypeDef definition

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

MacSecKeyTypeDef#

# MacSecKeyTypeDef usage example

from mypy_boto3_directconnect.type_defs import MacSecKeyTypeDef

def get_value() -> MacSecKeyTypeDef:
    return {
        "secretARN": ...,
    }
# MacSecKeyTypeDef definition

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

AssociateVirtualInterfaceRequestRequestTypeDef#

# AssociateVirtualInterfaceRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import AssociateVirtualInterfaceRequestRequestTypeDef

def get_value() -> AssociateVirtualInterfaceRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
        "connectionId": ...,
    }
# AssociateVirtualInterfaceRequestRequestTypeDef definition

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

AssociatedGatewayTypeDef#

# AssociatedGatewayTypeDef usage example

from mypy_boto3_directconnect.type_defs import AssociatedGatewayTypeDef

def get_value() -> AssociatedGatewayTypeDef:
    return {
        "id": ...,
    }
# AssociatedGatewayTypeDef definition

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

BGPPeerTypeDef#

# BGPPeerTypeDef usage example

from mypy_boto3_directconnect.type_defs import BGPPeerTypeDef

def get_value() -> BGPPeerTypeDef:
    return {
        "bgpPeerId": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import ConfirmConnectionRequestRequestTypeDef

def get_value() -> ConfirmConnectionRequestRequestTypeDef:
    return {
        "connectionId": ...,
    }
# ConfirmConnectionRequestRequestTypeDef definition

class ConfirmConnectionRequestRequestTypeDef(TypedDict):
    connectionId: str,

ConfirmConnectionResponseTypeDef#

# ConfirmConnectionResponseTypeDef usage example

from mypy_boto3_directconnect.type_defs import ConfirmConnectionResponseTypeDef

def get_value() -> ConfirmConnectionResponseTypeDef:
    return {
        "connectionState": ...,
        "ResponseMetadata": ...,
    }
# ConfirmConnectionResponseTypeDef definition

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

ConfirmCustomerAgreementRequestRequestTypeDef#

# ConfirmCustomerAgreementRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import ConfirmCustomerAgreementRequestRequestTypeDef

def get_value() -> ConfirmCustomerAgreementRequestRequestTypeDef:
    return {
        "agreementName": ...,
    }
# ConfirmCustomerAgreementRequestRequestTypeDef definition

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

ConfirmCustomerAgreementResponseTypeDef#

# ConfirmCustomerAgreementResponseTypeDef usage example

from mypy_boto3_directconnect.type_defs import ConfirmCustomerAgreementResponseTypeDef

def get_value() -> ConfirmCustomerAgreementResponseTypeDef:
    return {
        "status": ...,
        "ResponseMetadata": ...,
    }
# ConfirmCustomerAgreementResponseTypeDef definition

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

ConfirmPrivateVirtualInterfaceRequestRequestTypeDef#

# ConfirmPrivateVirtualInterfaceRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import ConfirmPrivateVirtualInterfaceRequestRequestTypeDef

def get_value() -> ConfirmPrivateVirtualInterfaceRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }
# ConfirmPrivateVirtualInterfaceRequestRequestTypeDef definition

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

ConfirmPrivateVirtualInterfaceResponseTypeDef#

# ConfirmPrivateVirtualInterfaceResponseTypeDef usage example

from mypy_boto3_directconnect.type_defs import ConfirmPrivateVirtualInterfaceResponseTypeDef

def get_value() -> ConfirmPrivateVirtualInterfaceResponseTypeDef:
    return {
        "virtualInterfaceState": ...,
        "ResponseMetadata": ...,
    }
# ConfirmPrivateVirtualInterfaceResponseTypeDef definition

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

ConfirmPublicVirtualInterfaceRequestRequestTypeDef#

# ConfirmPublicVirtualInterfaceRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import ConfirmPublicVirtualInterfaceRequestRequestTypeDef

def get_value() -> ConfirmPublicVirtualInterfaceRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }
# ConfirmPublicVirtualInterfaceRequestRequestTypeDef definition

class ConfirmPublicVirtualInterfaceRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,

ConfirmPublicVirtualInterfaceResponseTypeDef#

# ConfirmPublicVirtualInterfaceResponseTypeDef usage example

from mypy_boto3_directconnect.type_defs import ConfirmPublicVirtualInterfaceResponseTypeDef

def get_value() -> ConfirmPublicVirtualInterfaceResponseTypeDef:
    return {
        "virtualInterfaceState": ...,
        "ResponseMetadata": ...,
    }
# ConfirmPublicVirtualInterfaceResponseTypeDef definition

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

ConfirmTransitVirtualInterfaceRequestRequestTypeDef#

# ConfirmTransitVirtualInterfaceRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import ConfirmTransitVirtualInterfaceRequestRequestTypeDef

def get_value() -> ConfirmTransitVirtualInterfaceRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
        "directConnectGatewayId": ...,
    }
# ConfirmTransitVirtualInterfaceRequestRequestTypeDef definition

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

ConfirmTransitVirtualInterfaceResponseTypeDef#

# ConfirmTransitVirtualInterfaceResponseTypeDef usage example

from mypy_boto3_directconnect.type_defs import ConfirmTransitVirtualInterfaceResponseTypeDef

def get_value() -> ConfirmTransitVirtualInterfaceResponseTypeDef:
    return {
        "virtualInterfaceState": ...,
        "ResponseMetadata": ...,
    }
# ConfirmTransitVirtualInterfaceResponseTypeDef definition

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

NewBGPPeerTypeDef#

# NewBGPPeerTypeDef usage example

from mypy_boto3_directconnect.type_defs import NewBGPPeerTypeDef

def get_value() -> NewBGPPeerTypeDef:
    return {
        "asn": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import CreateDirectConnectGatewayRequestRequestTypeDef

def get_value() -> CreateDirectConnectGatewayRequestRequestTypeDef:
    return {
        "directConnectGatewayName": ...,
    }
# CreateDirectConnectGatewayRequestRequestTypeDef definition

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

DirectConnectGatewayTypeDef#

# DirectConnectGatewayTypeDef usage example

from mypy_boto3_directconnect.type_defs import DirectConnectGatewayTypeDef

def get_value() -> DirectConnectGatewayTypeDef:
    return {
        "directConnectGatewayId": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import CustomerAgreementTypeDef

def get_value() -> CustomerAgreementTypeDef:
    return {
        "agreementName": ...,
    }
# CustomerAgreementTypeDef definition

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

DeleteBGPPeerRequestRequestTypeDef#

# DeleteBGPPeerRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DeleteBGPPeerRequestRequestTypeDef

def get_value() -> DeleteBGPPeerRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }
# DeleteBGPPeerRequestRequestTypeDef definition

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

DeleteConnectionRequestRequestTypeDef#

# DeleteConnectionRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DeleteConnectionRequestRequestTypeDef

def get_value() -> DeleteConnectionRequestRequestTypeDef:
    return {
        "connectionId": ...,
    }
# DeleteConnectionRequestRequestTypeDef definition

class DeleteConnectionRequestRequestTypeDef(TypedDict):
    connectionId: str,

DeleteDirectConnectGatewayAssociationProposalRequestRequestTypeDef#

# DeleteDirectConnectGatewayAssociationProposalRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DeleteDirectConnectGatewayAssociationProposalRequestRequestTypeDef

def get_value() -> DeleteDirectConnectGatewayAssociationProposalRequestRequestTypeDef:
    return {
        "proposalId": ...,
    }
# DeleteDirectConnectGatewayAssociationProposalRequestRequestTypeDef definition

class DeleteDirectConnectGatewayAssociationProposalRequestRequestTypeDef(TypedDict):
    proposalId: str,

DeleteDirectConnectGatewayAssociationRequestRequestTypeDef#

# DeleteDirectConnectGatewayAssociationRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DeleteDirectConnectGatewayAssociationRequestRequestTypeDef

def get_value() -> DeleteDirectConnectGatewayAssociationRequestRequestTypeDef:
    return {
        "associationId": ...,
    }
# DeleteDirectConnectGatewayAssociationRequestRequestTypeDef definition

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

DeleteDirectConnectGatewayRequestRequestTypeDef#

# DeleteDirectConnectGatewayRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DeleteDirectConnectGatewayRequestRequestTypeDef

def get_value() -> DeleteDirectConnectGatewayRequestRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
    }
# DeleteDirectConnectGatewayRequestRequestTypeDef definition

class DeleteDirectConnectGatewayRequestRequestTypeDef(TypedDict):
    directConnectGatewayId: str,

DeleteInterconnectRequestRequestTypeDef#

# DeleteInterconnectRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DeleteInterconnectRequestRequestTypeDef

def get_value() -> DeleteInterconnectRequestRequestTypeDef:
    return {
        "interconnectId": ...,
    }
# DeleteInterconnectRequestRequestTypeDef definition

class DeleteInterconnectRequestRequestTypeDef(TypedDict):
    interconnectId: str,

DeleteInterconnectResponseTypeDef#

# DeleteInterconnectResponseTypeDef usage example

from mypy_boto3_directconnect.type_defs import DeleteInterconnectResponseTypeDef

def get_value() -> DeleteInterconnectResponseTypeDef:
    return {
        "interconnectState": ...,
        "ResponseMetadata": ...,
    }
# DeleteInterconnectResponseTypeDef definition

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

DeleteLagRequestRequestTypeDef#

# DeleteLagRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DeleteLagRequestRequestTypeDef

def get_value() -> DeleteLagRequestRequestTypeDef:
    return {
        "lagId": ...,
    }
# DeleteLagRequestRequestTypeDef definition

class DeleteLagRequestRequestTypeDef(TypedDict):
    lagId: str,

DeleteVirtualInterfaceRequestRequestTypeDef#

# DeleteVirtualInterfaceRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DeleteVirtualInterfaceRequestRequestTypeDef

def get_value() -> DeleteVirtualInterfaceRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }
# DeleteVirtualInterfaceRequestRequestTypeDef definition

class DeleteVirtualInterfaceRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,

DeleteVirtualInterfaceResponseTypeDef#

# DeleteVirtualInterfaceResponseTypeDef usage example

from mypy_boto3_directconnect.type_defs import DeleteVirtualInterfaceResponseTypeDef

def get_value() -> DeleteVirtualInterfaceResponseTypeDef:
    return {
        "virtualInterfaceState": ...,
        "ResponseMetadata": ...,
    }
# DeleteVirtualInterfaceResponseTypeDef definition

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

DescribeConnectionLoaRequestRequestTypeDef#

# DescribeConnectionLoaRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeConnectionLoaRequestRequestTypeDef

def get_value() -> DescribeConnectionLoaRequestRequestTypeDef:
    return {
        "connectionId": ...,
    }
# DescribeConnectionLoaRequestRequestTypeDef definition

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

LoaTypeDef#

# LoaTypeDef usage example

from mypy_boto3_directconnect.type_defs import LoaTypeDef

def get_value() -> LoaTypeDef:
    return {
        "loaContent": ...,
    }
# LoaTypeDef definition

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

DescribeConnectionsOnInterconnectRequestRequestTypeDef#

# DescribeConnectionsOnInterconnectRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeConnectionsOnInterconnectRequestRequestTypeDef

def get_value() -> DescribeConnectionsOnInterconnectRequestRequestTypeDef:
    return {
        "interconnectId": ...,
    }
# DescribeConnectionsOnInterconnectRequestRequestTypeDef definition

class DescribeConnectionsOnInterconnectRequestRequestTypeDef(TypedDict):
    interconnectId: str,

DescribeConnectionsRequestRequestTypeDef#

# DescribeConnectionsRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeConnectionsRequestRequestTypeDef

def get_value() -> DescribeConnectionsRequestRequestTypeDef:
    return {
        "connectionId": ...,
    }
# DescribeConnectionsRequestRequestTypeDef definition

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

DescribeDirectConnectGatewayAssociationProposalsRequestRequestTypeDef#

# DescribeDirectConnectGatewayAssociationProposalsRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAssociationProposalsRequestRequestTypeDef

def get_value() -> DescribeDirectConnectGatewayAssociationProposalsRequestRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
    }
# DescribeDirectConnectGatewayAssociationProposalsRequestRequestTypeDef definition

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

DescribeDirectConnectGatewayAssociationsRequestDescribeDirectConnectGatewayAssociationsPaginateTypeDef#

# DescribeDirectConnectGatewayAssociationsRequestDescribeDirectConnectGatewayAssociationsPaginateTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAssociationsRequestDescribeDirectConnectGatewayAssociationsPaginateTypeDef

def get_value() -> DescribeDirectConnectGatewayAssociationsRequestDescribeDirectConnectGatewayAssociationsPaginateTypeDef:
    return {
        "associationId": ...,
    }
# DescribeDirectConnectGatewayAssociationsRequestDescribeDirectConnectGatewayAssociationsPaginateTypeDef definition

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

DescribeDirectConnectGatewayAssociationsRequestRequestTypeDef#

# DescribeDirectConnectGatewayAssociationsRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAssociationsRequestRequestTypeDef

def get_value() -> DescribeDirectConnectGatewayAssociationsRequestRequestTypeDef:
    return {
        "associationId": ...,
    }
# DescribeDirectConnectGatewayAssociationsRequestRequestTypeDef definition

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

DescribeDirectConnectGatewayAttachmentsRequestDescribeDirectConnectGatewayAttachmentsPaginateTypeDef#

# DescribeDirectConnectGatewayAttachmentsRequestDescribeDirectConnectGatewayAttachmentsPaginateTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAttachmentsRequestDescribeDirectConnectGatewayAttachmentsPaginateTypeDef

def get_value() -> DescribeDirectConnectGatewayAttachmentsRequestDescribeDirectConnectGatewayAttachmentsPaginateTypeDef:
    return {
        "directConnectGatewayId": ...,
    }
# DescribeDirectConnectGatewayAttachmentsRequestDescribeDirectConnectGatewayAttachmentsPaginateTypeDef definition

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

DescribeDirectConnectGatewayAttachmentsRequestRequestTypeDef#

# DescribeDirectConnectGatewayAttachmentsRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAttachmentsRequestRequestTypeDef

def get_value() -> DescribeDirectConnectGatewayAttachmentsRequestRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
    }
# DescribeDirectConnectGatewayAttachmentsRequestRequestTypeDef definition

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

DirectConnectGatewayAttachmentTypeDef#

# DirectConnectGatewayAttachmentTypeDef usage example

from mypy_boto3_directconnect.type_defs import DirectConnectGatewayAttachmentTypeDef

def get_value() -> DirectConnectGatewayAttachmentTypeDef:
    return {
        "directConnectGatewayId": ...,
    }
# 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

DescribeDirectConnectGatewaysRequestDescribeDirectConnectGatewaysPaginateTypeDef#

# DescribeDirectConnectGatewaysRequestDescribeDirectConnectGatewaysPaginateTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewaysRequestDescribeDirectConnectGatewaysPaginateTypeDef

def get_value() -> DescribeDirectConnectGatewaysRequestDescribeDirectConnectGatewaysPaginateTypeDef:
    return {
        "directConnectGatewayId": ...,
    }
# DescribeDirectConnectGatewaysRequestDescribeDirectConnectGatewaysPaginateTypeDef definition

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

DescribeDirectConnectGatewaysRequestRequestTypeDef#

# DescribeDirectConnectGatewaysRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewaysRequestRequestTypeDef

def get_value() -> DescribeDirectConnectGatewaysRequestRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
    }
# DescribeDirectConnectGatewaysRequestRequestTypeDef definition

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

DescribeHostedConnectionsRequestRequestTypeDef#

# DescribeHostedConnectionsRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeHostedConnectionsRequestRequestTypeDef

def get_value() -> DescribeHostedConnectionsRequestRequestTypeDef:
    return {
        "connectionId": ...,
    }
# DescribeHostedConnectionsRequestRequestTypeDef definition

class DescribeHostedConnectionsRequestRequestTypeDef(TypedDict):
    connectionId: str,

DescribeInterconnectLoaRequestRequestTypeDef#

# DescribeInterconnectLoaRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeInterconnectLoaRequestRequestTypeDef

def get_value() -> DescribeInterconnectLoaRequestRequestTypeDef:
    return {
        "interconnectId": ...,
    }
# DescribeInterconnectLoaRequestRequestTypeDef definition

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

DescribeInterconnectsRequestRequestTypeDef#

# DescribeInterconnectsRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeInterconnectsRequestRequestTypeDef

def get_value() -> DescribeInterconnectsRequestRequestTypeDef:
    return {
        "interconnectId": ...,
    }
# DescribeInterconnectsRequestRequestTypeDef definition

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

DescribeLagsRequestRequestTypeDef#

# DescribeLagsRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeLagsRequestRequestTypeDef

def get_value() -> DescribeLagsRequestRequestTypeDef:
    return {
        "lagId": ...,
    }
# DescribeLagsRequestRequestTypeDef definition

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

DescribeLoaRequestRequestTypeDef#

# DescribeLoaRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeLoaRequestRequestTypeDef

def get_value() -> DescribeLoaRequestRequestTypeDef:
    return {
        "connectionId": ...,
    }
# DescribeLoaRequestRequestTypeDef definition

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

DescribeRouterConfigurationRequestRequestTypeDef#

# DescribeRouterConfigurationRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeRouterConfigurationRequestRequestTypeDef

def get_value() -> DescribeRouterConfigurationRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }
# DescribeRouterConfigurationRequestRequestTypeDef definition

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

RouterTypeTypeDef#

# RouterTypeTypeDef usage example

from mypy_boto3_directconnect.type_defs import RouterTypeTypeDef

def get_value() -> RouterTypeTypeDef:
    return {
        "vendor": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import DescribeTagsRequestRequestTypeDef

def get_value() -> DescribeTagsRequestRequestTypeDef:
    return {
        "resourceArns": ...,
    }
# DescribeTagsRequestRequestTypeDef definition

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

DescribeVirtualInterfacesRequestRequestTypeDef#

# DescribeVirtualInterfacesRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeVirtualInterfacesRequestRequestTypeDef

def get_value() -> DescribeVirtualInterfacesRequestRequestTypeDef:
    return {
        "connectionId": ...,
    }
# DescribeVirtualInterfacesRequestRequestTypeDef definition

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

DisassociateConnectionFromLagRequestRequestTypeDef#

# DisassociateConnectionFromLagRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DisassociateConnectionFromLagRequestRequestTypeDef

def get_value() -> DisassociateConnectionFromLagRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "lagId": ...,
    }
# DisassociateConnectionFromLagRequestRequestTypeDef definition

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

DisassociateMacSecKeyRequestRequestTypeDef#

# DisassociateMacSecKeyRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import DisassociateMacSecKeyRequestRequestTypeDef

def get_value() -> DisassociateMacSecKeyRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "secretARN": ...,
    }
# DisassociateMacSecKeyRequestRequestTypeDef definition

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

ListVirtualInterfaceTestHistoryRequestRequestTypeDef#

# ListVirtualInterfaceTestHistoryRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import ListVirtualInterfaceTestHistoryRequestRequestTypeDef

def get_value() -> ListVirtualInterfaceTestHistoryRequestRequestTypeDef:
    return {
        "testId": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import VirtualInterfaceTestHistoryTypeDef

def get_value() -> VirtualInterfaceTestHistoryTypeDef:
    return {
        "testId": ...,
    }
# 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],

LoaResponseMetadataTypeDef#

# LoaResponseMetadataTypeDef usage example

from mypy_boto3_directconnect.type_defs import LoaResponseMetadataTypeDef

def get_value() -> LoaResponseMetadataTypeDef:
    return {
        "loaContent": ...,
        "loaContentType": ...,
        "ResponseMetadata": ...,
    }
# LoaResponseMetadataTypeDef definition

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

LocationTypeDef#

# LocationTypeDef usage example

from mypy_boto3_directconnect.type_defs import LocationTypeDef

def get_value() -> LocationTypeDef:
    return {
        "locationCode": ...,
    }
# 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]],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef usage example

from mypy_boto3_directconnect.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
# PaginatorConfigTypeDef definition

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

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef usage example

from mypy_boto3_directconnect.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
# ResponseMetadataTypeDef definition

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

StartBgpFailoverTestRequestRequestTypeDef#

# StartBgpFailoverTestRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import StartBgpFailoverTestRequestRequestTypeDef

def get_value() -> StartBgpFailoverTestRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }
# StartBgpFailoverTestRequestRequestTypeDef definition

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

StopBgpFailoverTestRequestRequestTypeDef#

# StopBgpFailoverTestRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import StopBgpFailoverTestRequestRequestTypeDef

def get_value() -> StopBgpFailoverTestRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }
# StopBgpFailoverTestRequestRequestTypeDef definition

class StopBgpFailoverTestRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tagKeys": ...,
    }
# UntagResourceRequestRequestTypeDef definition

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

UpdateConnectionRequestRequestTypeDef#

# UpdateConnectionRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import UpdateConnectionRequestRequestTypeDef

def get_value() -> UpdateConnectionRequestRequestTypeDef:
    return {
        "connectionId": ...,
    }
# UpdateConnectionRequestRequestTypeDef definition

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

UpdateDirectConnectGatewayRequestRequestTypeDef#

# UpdateDirectConnectGatewayRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import UpdateDirectConnectGatewayRequestRequestTypeDef

def get_value() -> UpdateDirectConnectGatewayRequestRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
        "newDirectConnectGatewayName": ...,
    }
# UpdateDirectConnectGatewayRequestRequestTypeDef definition

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

UpdateLagRequestRequestTypeDef#

# UpdateLagRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import UpdateLagRequestRequestTypeDef

def get_value() -> UpdateLagRequestRequestTypeDef:
    return {
        "lagId": ...,
    }
# UpdateLagRequestRequestTypeDef definition

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

UpdateVirtualInterfaceAttributesRequestRequestTypeDef#

# UpdateVirtualInterfaceAttributesRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import UpdateVirtualInterfaceAttributesRequestRequestTypeDef

def get_value() -> UpdateVirtualInterfaceAttributesRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }
# UpdateVirtualInterfaceAttributesRequestRequestTypeDef definition

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

VirtualGatewayTypeDef#

# VirtualGatewayTypeDef usage example

from mypy_boto3_directconnect.type_defs import VirtualGatewayTypeDef

def get_value() -> VirtualGatewayTypeDef:
    return {
        "virtualGatewayId": ...,
    }
# VirtualGatewayTypeDef definition

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

AcceptDirectConnectGatewayAssociationProposalRequestRequestTypeDef#

# AcceptDirectConnectGatewayAssociationProposalRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import AcceptDirectConnectGatewayAssociationProposalRequestRequestTypeDef

def get_value() -> AcceptDirectConnectGatewayAssociationProposalRequestRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
        "proposalId": ...,
        "associatedGatewayOwnerAccount": ...,
    }
# AcceptDirectConnectGatewayAssociationProposalRequestRequestTypeDef definition

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

CreateDirectConnectGatewayAssociationProposalRequestRequestTypeDef#

# CreateDirectConnectGatewayAssociationProposalRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import CreateDirectConnectGatewayAssociationProposalRequestRequestTypeDef

def get_value() -> CreateDirectConnectGatewayAssociationProposalRequestRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
        "directConnectGatewayOwnerAccount": ...,
        "gatewayId": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import CreateDirectConnectGatewayAssociationRequestRequestTypeDef

def get_value() -> CreateDirectConnectGatewayAssociationRequestRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
    }
# CreateDirectConnectGatewayAssociationRequestRequestTypeDef definition

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

UpdateDirectConnectGatewayAssociationRequestRequestTypeDef#

# UpdateDirectConnectGatewayAssociationRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import UpdateDirectConnectGatewayAssociationRequestRequestTypeDef

def get_value() -> UpdateDirectConnectGatewayAssociationRequestRequestTypeDef:
    return {
        "associationId": ...,
    }
# UpdateDirectConnectGatewayAssociationRequestRequestTypeDef definition

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

AllocateHostedConnectionRequestRequestTypeDef#

# AllocateHostedConnectionRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import AllocateHostedConnectionRequestRequestTypeDef

def get_value() -> AllocateHostedConnectionRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "ownerAccount": ...,
        "bandwidth": ...,
        "connectionName": ...,
        "vlan": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import CreateConnectionRequestRequestTypeDef

def get_value() -> CreateConnectionRequestRequestTypeDef:
    return {
        "location": ...,
        "bandwidth": ...,
        "connectionName": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import CreateInterconnectRequestRequestTypeDef

def get_value() -> CreateInterconnectRequestRequestTypeDef:
    return {
        "interconnectName": ...,
        "bandwidth": ...,
        "location": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import CreateLagRequestRequestTypeDef

def get_value() -> CreateLagRequestRequestTypeDef:
    return {
        "numberOfConnections": ...,
        "location": ...,
        "connectionsBandwidth": ...,
        "lagName": ...,
    }
# 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

InterconnectResponseMetadataTypeDef#

# InterconnectResponseMetadataTypeDef usage example

from mypy_boto3_directconnect.type_defs import InterconnectResponseMetadataTypeDef

def get_value() -> InterconnectResponseMetadataTypeDef:
    return {
        "interconnectId": ...,
        "interconnectName": ...,
        "interconnectState": ...,
        "region": ...,
        "location": ...,
        "bandwidth": ...,
        "loaIssueTime": ...,
        "lagId": ...,
        "awsDevice": ...,
        "jumboFrameCapable": ...,
        "awsDeviceV2": ...,
        "awsLogicalDeviceId": ...,
        "hasLogicalRedundancy": ...,
        "tags": ...,
        "providerName": ...,
        "ResponseMetadata": ...,
    }
# InterconnectResponseMetadataTypeDef definition

class InterconnectResponseMetadataTypeDef(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 usage example

from mypy_boto3_directconnect.type_defs import InterconnectTypeDef

def get_value() -> InterconnectTypeDef:
    return {
        "interconnectId": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import NewPrivateVirtualInterfaceAllocationTypeDef

def get_value() -> NewPrivateVirtualInterfaceAllocationTypeDef:
    return {
        "virtualInterfaceName": ...,
        "vlan": ...,
        "asn": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import NewPrivateVirtualInterfaceTypeDef

def get_value() -> NewPrivateVirtualInterfaceTypeDef:
    return {
        "virtualInterfaceName": ...,
        "vlan": ...,
        "asn": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import NewPublicVirtualInterfaceAllocationTypeDef

def get_value() -> NewPublicVirtualInterfaceAllocationTypeDef:
    return {
        "virtualInterfaceName": ...,
        "vlan": ...,
        "asn": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import NewPublicVirtualInterfaceTypeDef

def get_value() -> NewPublicVirtualInterfaceTypeDef:
    return {
        "virtualInterfaceName": ...,
        "vlan": ...,
        "asn": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import NewTransitVirtualInterfaceAllocationTypeDef

def get_value() -> NewTransitVirtualInterfaceAllocationTypeDef:
    return {
        "virtualInterfaceName": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import NewTransitVirtualInterfaceTypeDef

def get_value() -> NewTransitVirtualInterfaceTypeDef:
    return {
        "virtualInterfaceName": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import ResourceTagTypeDef

def get_value() -> ResourceTagTypeDef:
    return {
        "resourceArn": ...,
    }
# ResourceTagTypeDef definition

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

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tags": ...,
    }
# TagResourceRequestRequestTypeDef definition

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

AssociateMacSecKeyResponseTypeDef#

# AssociateMacSecKeyResponseTypeDef usage example

from mypy_boto3_directconnect.type_defs import AssociateMacSecKeyResponseTypeDef

def get_value() -> AssociateMacSecKeyResponseTypeDef:
    return {
        "connectionId": ...,
        "macSecKeys": ...,
        "ResponseMetadata": ...,
    }
# AssociateMacSecKeyResponseTypeDef definition

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

ConnectionResponseMetadataTypeDef#

# ConnectionResponseMetadataTypeDef usage example

from mypy_boto3_directconnect.type_defs import ConnectionResponseMetadataTypeDef

def get_value() -> ConnectionResponseMetadataTypeDef:
    return {
        "ownerAccount": ...,
        "connectionId": ...,
        "connectionName": ...,
        "connectionState": ...,
        "region": ...,
        "location": ...,
        "bandwidth": ...,
        "vlan": ...,
        "partnerName": ...,
        "loaIssueTime": ...,
        "lagId": ...,
        "awsDevice": ...,
        "jumboFrameCapable": ...,
        "awsDeviceV2": ...,
        "awsLogicalDeviceId": ...,
        "hasLogicalRedundancy": ...,
        "tags": ...,
        "providerName": ...,
        "macSecCapable": ...,
        "portEncryptionStatus": ...,
        "encryptionMode": ...,
        "macSecKeys": ...,
        "ResponseMetadata": ...,
    }
# ConnectionResponseMetadataTypeDef definition

class ConnectionResponseMetadataTypeDef(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 usage example

from mypy_boto3_directconnect.type_defs import ConnectionTypeDef

def get_value() -> ConnectionTypeDef:
    return {
        "ownerAccount": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import DisassociateMacSecKeyResponseTypeDef

def get_value() -> DisassociateMacSecKeyResponseTypeDef:
    return {
        "connectionId": ...,
        "macSecKeys": ...,
        "ResponseMetadata": ...,
    }
# DisassociateMacSecKeyResponseTypeDef definition

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

DirectConnectGatewayAssociationProposalTypeDef#

# DirectConnectGatewayAssociationProposalTypeDef usage example

from mypy_boto3_directconnect.type_defs import DirectConnectGatewayAssociationProposalTypeDef

def get_value() -> DirectConnectGatewayAssociationProposalTypeDef:
    return {
        "proposalId": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import DirectConnectGatewayAssociationTypeDef

def get_value() -> DirectConnectGatewayAssociationTypeDef:
    return {
        "directConnectGatewayId": ...,
    }
# 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

VirtualInterfaceResponseMetadataTypeDef#

# VirtualInterfaceResponseMetadataTypeDef usage example

from mypy_boto3_directconnect.type_defs import VirtualInterfaceResponseMetadataTypeDef

def get_value() -> VirtualInterfaceResponseMetadataTypeDef:
    return {
        "ownerAccount": ...,
        "virtualInterfaceId": ...,
        "location": ...,
        "connectionId": ...,
        "virtualInterfaceType": ...,
        "virtualInterfaceName": ...,
        "vlan": ...,
        "asn": ...,
        "amazonSideAsn": ...,
        "authKey": ...,
        "amazonAddress": ...,
        "customerAddress": ...,
        "addressFamily": ...,
        "virtualInterfaceState": ...,
        "customerRouterConfig": ...,
        "mtu": ...,
        "jumboFrameCapable": ...,
        "virtualGatewayId": ...,
        "directConnectGatewayId": ...,
        "routeFilterPrefixes": ...,
        "bgpPeers": ...,
        "region": ...,
        "awsDeviceV2": ...,
        "awsLogicalDeviceId": ...,
        "tags": ...,
        "siteLinkEnabled": ...,
        "ResponseMetadata": ...,
    }
# VirtualInterfaceResponseMetadataTypeDef definition

class VirtualInterfaceResponseMetadataTypeDef(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 usage example

from mypy_boto3_directconnect.type_defs import VirtualInterfaceTypeDef

def get_value() -> VirtualInterfaceTypeDef:
    return {
        "ownerAccount": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import CreateBGPPeerRequestRequestTypeDef

def get_value() -> CreateBGPPeerRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }
# CreateBGPPeerRequestRequestTypeDef definition

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

CreateDirectConnectGatewayResultTypeDef#

# CreateDirectConnectGatewayResultTypeDef usage example

from mypy_boto3_directconnect.type_defs import CreateDirectConnectGatewayResultTypeDef

def get_value() -> CreateDirectConnectGatewayResultTypeDef:
    return {
        "directConnectGateway": ...,
        "ResponseMetadata": ...,
    }
# CreateDirectConnectGatewayResultTypeDef definition

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

DeleteDirectConnectGatewayResultTypeDef#

# DeleteDirectConnectGatewayResultTypeDef usage example

from mypy_boto3_directconnect.type_defs import DeleteDirectConnectGatewayResultTypeDef

def get_value() -> DeleteDirectConnectGatewayResultTypeDef:
    return {
        "directConnectGateway": ...,
        "ResponseMetadata": ...,
    }
# DeleteDirectConnectGatewayResultTypeDef definition

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

DescribeDirectConnectGatewaysResultTypeDef#

# DescribeDirectConnectGatewaysResultTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewaysResultTypeDef

def get_value() -> DescribeDirectConnectGatewaysResultTypeDef:
    return {
        "directConnectGateways": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# DescribeDirectConnectGatewaysResultTypeDef definition

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

UpdateDirectConnectGatewayResponseTypeDef#

# UpdateDirectConnectGatewayResponseTypeDef usage example

from mypy_boto3_directconnect.type_defs import UpdateDirectConnectGatewayResponseTypeDef

def get_value() -> UpdateDirectConnectGatewayResponseTypeDef:
    return {
        "directConnectGateway": ...,
        "ResponseMetadata": ...,
    }
# UpdateDirectConnectGatewayResponseTypeDef definition

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

DescribeCustomerMetadataResponseTypeDef#

# DescribeCustomerMetadataResponseTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeCustomerMetadataResponseTypeDef

def get_value() -> DescribeCustomerMetadataResponseTypeDef:
    return {
        "agreements": ...,
        "nniPartnerType": ...,
        "ResponseMetadata": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import DescribeConnectionLoaResponseTypeDef

def get_value() -> DescribeConnectionLoaResponseTypeDef:
    return {
        "loa": ...,
        "ResponseMetadata": ...,
    }
# DescribeConnectionLoaResponseTypeDef definition

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

DescribeInterconnectLoaResponseTypeDef#

# DescribeInterconnectLoaResponseTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeInterconnectLoaResponseTypeDef

def get_value() -> DescribeInterconnectLoaResponseTypeDef:
    return {
        "loa": ...,
        "ResponseMetadata": ...,
    }
# DescribeInterconnectLoaResponseTypeDef definition

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

DescribeDirectConnectGatewayAttachmentsResultTypeDef#

# DescribeDirectConnectGatewayAttachmentsResultTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAttachmentsResultTypeDef

def get_value() -> DescribeDirectConnectGatewayAttachmentsResultTypeDef:
    return {
        "directConnectGatewayAttachments": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# DescribeDirectConnectGatewayAttachmentsResultTypeDef definition

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

DescribeRouterConfigurationResponseTypeDef#

# DescribeRouterConfigurationResponseTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeRouterConfigurationResponseTypeDef

def get_value() -> DescribeRouterConfigurationResponseTypeDef:
    return {
        "customerRouterConfig": ...,
        "router": ...,
        "virtualInterfaceId": ...,
        "virtualInterfaceName": ...,
        "ResponseMetadata": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import ListVirtualInterfaceTestHistoryResponseTypeDef

def get_value() -> ListVirtualInterfaceTestHistoryResponseTypeDef:
    return {
        "virtualInterfaceTestHistory": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# ListVirtualInterfaceTestHistoryResponseTypeDef definition

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

StartBgpFailoverTestResponseTypeDef#

# StartBgpFailoverTestResponseTypeDef usage example

from mypy_boto3_directconnect.type_defs import StartBgpFailoverTestResponseTypeDef

def get_value() -> StartBgpFailoverTestResponseTypeDef:
    return {
        "virtualInterfaceTest": ...,
        "ResponseMetadata": ...,
    }
# StartBgpFailoverTestResponseTypeDef definition

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

StopBgpFailoverTestResponseTypeDef#

# StopBgpFailoverTestResponseTypeDef usage example

from mypy_boto3_directconnect.type_defs import StopBgpFailoverTestResponseTypeDef

def get_value() -> StopBgpFailoverTestResponseTypeDef:
    return {
        "virtualInterfaceTest": ...,
        "ResponseMetadata": ...,
    }
# StopBgpFailoverTestResponseTypeDef definition

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

LocationsTypeDef#

# LocationsTypeDef usage example

from mypy_boto3_directconnect.type_defs import LocationsTypeDef

def get_value() -> LocationsTypeDef:
    return {
        "locations": ...,
        "ResponseMetadata": ...,
    }
# LocationsTypeDef definition

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

VirtualGatewaysTypeDef#

# VirtualGatewaysTypeDef usage example

from mypy_boto3_directconnect.type_defs import VirtualGatewaysTypeDef

def get_value() -> VirtualGatewaysTypeDef:
    return {
        "virtualGateways": ...,
        "ResponseMetadata": ...,
    }
# VirtualGatewaysTypeDef definition

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

InterconnectsTypeDef#

# InterconnectsTypeDef usage example

from mypy_boto3_directconnect.type_defs import InterconnectsTypeDef

def get_value() -> InterconnectsTypeDef:
    return {
        "interconnects": ...,
        "ResponseMetadata": ...,
    }
# InterconnectsTypeDef definition

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

AllocatePrivateVirtualInterfaceRequestRequestTypeDef#

# AllocatePrivateVirtualInterfaceRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import AllocatePrivateVirtualInterfaceRequestRequestTypeDef

def get_value() -> AllocatePrivateVirtualInterfaceRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "ownerAccount": ...,
        "newPrivateVirtualInterfaceAllocation": ...,
    }
# AllocatePrivateVirtualInterfaceRequestRequestTypeDef definition

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

CreatePrivateVirtualInterfaceRequestRequestTypeDef#

# CreatePrivateVirtualInterfaceRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import CreatePrivateVirtualInterfaceRequestRequestTypeDef

def get_value() -> CreatePrivateVirtualInterfaceRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "newPrivateVirtualInterface": ...,
    }
# CreatePrivateVirtualInterfaceRequestRequestTypeDef definition

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

AllocatePublicVirtualInterfaceRequestRequestTypeDef#

# AllocatePublicVirtualInterfaceRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import AllocatePublicVirtualInterfaceRequestRequestTypeDef

def get_value() -> AllocatePublicVirtualInterfaceRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "ownerAccount": ...,
        "newPublicVirtualInterfaceAllocation": ...,
    }
# AllocatePublicVirtualInterfaceRequestRequestTypeDef definition

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

CreatePublicVirtualInterfaceRequestRequestTypeDef#

# CreatePublicVirtualInterfaceRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import CreatePublicVirtualInterfaceRequestRequestTypeDef

def get_value() -> CreatePublicVirtualInterfaceRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "newPublicVirtualInterface": ...,
    }
# CreatePublicVirtualInterfaceRequestRequestTypeDef definition

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

AllocateTransitVirtualInterfaceRequestRequestTypeDef#

# AllocateTransitVirtualInterfaceRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import AllocateTransitVirtualInterfaceRequestRequestTypeDef

def get_value() -> AllocateTransitVirtualInterfaceRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "ownerAccount": ...,
        "newTransitVirtualInterfaceAllocation": ...,
    }
# AllocateTransitVirtualInterfaceRequestRequestTypeDef definition

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

CreateTransitVirtualInterfaceRequestRequestTypeDef#

# CreateTransitVirtualInterfaceRequestRequestTypeDef usage example

from mypy_boto3_directconnect.type_defs import CreateTransitVirtualInterfaceRequestRequestTypeDef

def get_value() -> CreateTransitVirtualInterfaceRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "newTransitVirtualInterface": ...,
    }
# CreateTransitVirtualInterfaceRequestRequestTypeDef definition

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

DescribeTagsResponseTypeDef#

# DescribeTagsResponseTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeTagsResponseTypeDef

def get_value() -> DescribeTagsResponseTypeDef:
    return {
        "resourceTags": ...,
        "ResponseMetadata": ...,
    }
# DescribeTagsResponseTypeDef definition

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

ConnectionsTypeDef#

# ConnectionsTypeDef usage example

from mypy_boto3_directconnect.type_defs import ConnectionsTypeDef

def get_value() -> ConnectionsTypeDef:
    return {
        "connections": ...,
        "ResponseMetadata": ...,
    }
# ConnectionsTypeDef definition

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

LagResponseMetadataTypeDef#

# LagResponseMetadataTypeDef usage example

from mypy_boto3_directconnect.type_defs import LagResponseMetadataTypeDef

def get_value() -> LagResponseMetadataTypeDef:
    return {
        "connectionsBandwidth": ...,
        "numberOfConnections": ...,
        "lagId": ...,
        "ownerAccount": ...,
        "lagName": ...,
        "lagState": ...,
        "location": ...,
        "region": ...,
        "minimumLinks": ...,
        "awsDevice": ...,
        "awsDeviceV2": ...,
        "awsLogicalDeviceId": ...,
        "connections": ...,
        "allowsHostedConnections": ...,
        "jumboFrameCapable": ...,
        "hasLogicalRedundancy": ...,
        "tags": ...,
        "providerName": ...,
        "macSecCapable": ...,
        "encryptionMode": ...,
        "macSecKeys": ...,
        "ResponseMetadata": ...,
    }
# LagResponseMetadataTypeDef definition

class LagResponseMetadataTypeDef(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 usage example

from mypy_boto3_directconnect.type_defs import LagTypeDef

def get_value() -> LagTypeDef:
    return {
        "connectionsBandwidth": ...,
    }
# 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 usage example

from mypy_boto3_directconnect.type_defs import CreateDirectConnectGatewayAssociationProposalResultTypeDef

def get_value() -> CreateDirectConnectGatewayAssociationProposalResultTypeDef:
    return {
        "directConnectGatewayAssociationProposal": ...,
        "ResponseMetadata": ...,
    }
# CreateDirectConnectGatewayAssociationProposalResultTypeDef definition

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

DeleteDirectConnectGatewayAssociationProposalResultTypeDef#

# DeleteDirectConnectGatewayAssociationProposalResultTypeDef usage example

from mypy_boto3_directconnect.type_defs import DeleteDirectConnectGatewayAssociationProposalResultTypeDef

def get_value() -> DeleteDirectConnectGatewayAssociationProposalResultTypeDef:
    return {
        "directConnectGatewayAssociationProposal": ...,
        "ResponseMetadata": ...,
    }
# DeleteDirectConnectGatewayAssociationProposalResultTypeDef definition

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

DescribeDirectConnectGatewayAssociationProposalsResultTypeDef#

# DescribeDirectConnectGatewayAssociationProposalsResultTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAssociationProposalsResultTypeDef

def get_value() -> DescribeDirectConnectGatewayAssociationProposalsResultTypeDef:
    return {
        "directConnectGatewayAssociationProposals": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# DescribeDirectConnectGatewayAssociationProposalsResultTypeDef definition

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

AcceptDirectConnectGatewayAssociationProposalResultTypeDef#

# AcceptDirectConnectGatewayAssociationProposalResultTypeDef usage example

from mypy_boto3_directconnect.type_defs import AcceptDirectConnectGatewayAssociationProposalResultTypeDef

def get_value() -> AcceptDirectConnectGatewayAssociationProposalResultTypeDef:
    return {
        "directConnectGatewayAssociation": ...,
        "ResponseMetadata": ...,
    }
# AcceptDirectConnectGatewayAssociationProposalResultTypeDef definition

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

CreateDirectConnectGatewayAssociationResultTypeDef#

# CreateDirectConnectGatewayAssociationResultTypeDef usage example

from mypy_boto3_directconnect.type_defs import CreateDirectConnectGatewayAssociationResultTypeDef

def get_value() -> CreateDirectConnectGatewayAssociationResultTypeDef:
    return {
        "directConnectGatewayAssociation": ...,
        "ResponseMetadata": ...,
    }
# CreateDirectConnectGatewayAssociationResultTypeDef definition

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

DeleteDirectConnectGatewayAssociationResultTypeDef#

# DeleteDirectConnectGatewayAssociationResultTypeDef usage example

from mypy_boto3_directconnect.type_defs import DeleteDirectConnectGatewayAssociationResultTypeDef

def get_value() -> DeleteDirectConnectGatewayAssociationResultTypeDef:
    return {
        "directConnectGatewayAssociation": ...,
        "ResponseMetadata": ...,
    }
# DeleteDirectConnectGatewayAssociationResultTypeDef definition

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

DescribeDirectConnectGatewayAssociationsResultTypeDef#

# DescribeDirectConnectGatewayAssociationsResultTypeDef usage example

from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAssociationsResultTypeDef

def get_value() -> DescribeDirectConnectGatewayAssociationsResultTypeDef:
    return {
        "directConnectGatewayAssociations": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# DescribeDirectConnectGatewayAssociationsResultTypeDef definition

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

UpdateDirectConnectGatewayAssociationResultTypeDef#

# UpdateDirectConnectGatewayAssociationResultTypeDef usage example

from mypy_boto3_directconnect.type_defs import UpdateDirectConnectGatewayAssociationResultTypeDef

def get_value() -> UpdateDirectConnectGatewayAssociationResultTypeDef:
    return {
        "directConnectGatewayAssociation": ...,
        "ResponseMetadata": ...,
    }
# UpdateDirectConnectGatewayAssociationResultTypeDef definition

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

AllocateTransitVirtualInterfaceResultTypeDef#

# AllocateTransitVirtualInterfaceResultTypeDef usage example

from mypy_boto3_directconnect.type_defs import AllocateTransitVirtualInterfaceResultTypeDef

def get_value() -> AllocateTransitVirtualInterfaceResultTypeDef:
    return {
        "virtualInterface": ...,
        "ResponseMetadata": ...,
    }
# AllocateTransitVirtualInterfaceResultTypeDef definition

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

CreateBGPPeerResponseTypeDef#

# CreateBGPPeerResponseTypeDef usage example

from mypy_boto3_directconnect.type_defs import CreateBGPPeerResponseTypeDef

def get_value() -> CreateBGPPeerResponseTypeDef:
    return {
        "virtualInterface": ...,
        "ResponseMetadata": ...,
    }
# CreateBGPPeerResponseTypeDef definition

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

CreateTransitVirtualInterfaceResultTypeDef#

# CreateTransitVirtualInterfaceResultTypeDef usage example

from mypy_boto3_directconnect.type_defs import CreateTransitVirtualInterfaceResultTypeDef

def get_value() -> CreateTransitVirtualInterfaceResultTypeDef:
    return {
        "virtualInterface": ...,
        "ResponseMetadata": ...,
    }
# CreateTransitVirtualInterfaceResultTypeDef definition

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

DeleteBGPPeerResponseTypeDef#

# DeleteBGPPeerResponseTypeDef usage example

from mypy_boto3_directconnect.type_defs import DeleteBGPPeerResponseTypeDef

def get_value() -> DeleteBGPPeerResponseTypeDef:
    return {
        "virtualInterface": ...,
        "ResponseMetadata": ...,
    }
# DeleteBGPPeerResponseTypeDef definition

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

VirtualInterfacesTypeDef#

# VirtualInterfacesTypeDef usage example

from mypy_boto3_directconnect.type_defs import VirtualInterfacesTypeDef

def get_value() -> VirtualInterfacesTypeDef:
    return {
        "virtualInterfaces": ...,
        "ResponseMetadata": ...,
    }
# VirtualInterfacesTypeDef definition

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

LagsTypeDef#

# LagsTypeDef usage example

from mypy_boto3_directconnect.type_defs import LagsTypeDef

def get_value() -> LagsTypeDef:
    return {
        "lags": ...,
        "ResponseMetadata": ...,
    }
# LagsTypeDef definition

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