Skip to content

Type definitions#

Index > DirectConnect > Type definitions

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

RouteFilterPrefixTypeDef#

# RouteFilterPrefixTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import RouteFilterPrefixTypeDef


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


# RouteFilterPrefixTypeDef definition

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

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

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

AllocateConnectionOnInterconnectRequestTypeDef#

# AllocateConnectionOnInterconnectRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import AllocateConnectionOnInterconnectRequestTypeDef


def get_value() -> AllocateConnectionOnInterconnectRequestTypeDef:
    return {
        "bandwidth": ...,
    }


# AllocateConnectionOnInterconnectRequestTypeDef definition

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

TagTypeDef#

# TagTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import TagTypeDef


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


# TagTypeDef definition

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

AssociateConnectionWithLagRequestTypeDef#

# AssociateConnectionWithLagRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import AssociateConnectionWithLagRequestTypeDef


def get_value() -> AssociateConnectionWithLagRequestTypeDef:
    return {
        "connectionId": ...,
    }


# AssociateConnectionWithLagRequestTypeDef definition

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

AssociateHostedConnectionRequestTypeDef#

# AssociateHostedConnectionRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import AssociateHostedConnectionRequestTypeDef


def get_value() -> AssociateHostedConnectionRequestTypeDef:
    return {
        "connectionId": ...,
    }


# AssociateHostedConnectionRequestTypeDef definition

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

AssociateMacSecKeyRequestTypeDef#

# AssociateMacSecKeyRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import AssociateMacSecKeyRequestTypeDef


def get_value() -> AssociateMacSecKeyRequestTypeDef:
    return {
        "connectionId": ...,
    }


# AssociateMacSecKeyRequestTypeDef definition

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

MacSecKeyTypeDef#

# MacSecKeyTypeDef TypedDict usage example

from types_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],

AssociateVirtualInterfaceRequestTypeDef#

# AssociateVirtualInterfaceRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import AssociateVirtualInterfaceRequestTypeDef


def get_value() -> AssociateVirtualInterfaceRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }


# AssociateVirtualInterfaceRequestTypeDef definition

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

AssociatedCoreNetworkTypeDef#

# AssociatedCoreNetworkTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import AssociatedCoreNetworkTypeDef


def get_value() -> AssociatedCoreNetworkTypeDef:
    return {
        "id": ...,
    }


# AssociatedCoreNetworkTypeDef definition

class AssociatedCoreNetworkTypeDef(TypedDict):
    id: NotRequired[str],
    ownerAccount: NotRequired[str],
    attachmentId: NotRequired[str],

AssociatedGatewayTypeDef#

# AssociatedGatewayTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_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

ConfirmConnectionRequestTypeDef#

# ConfirmConnectionRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import ConfirmConnectionRequestTypeDef


def get_value() -> ConfirmConnectionRequestTypeDef:
    return {
        "connectionId": ...,
    }


# ConfirmConnectionRequestTypeDef definition

class ConfirmConnectionRequestTypeDef(TypedDict):
    connectionId: str,

ConfirmCustomerAgreementRequestTypeDef#

# ConfirmCustomerAgreementRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import ConfirmCustomerAgreementRequestTypeDef


def get_value() -> ConfirmCustomerAgreementRequestTypeDef:
    return {
        "agreementName": ...,
    }


# ConfirmCustomerAgreementRequestTypeDef definition

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

ConfirmPrivateVirtualInterfaceRequestTypeDef#

# ConfirmPrivateVirtualInterfaceRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import ConfirmPrivateVirtualInterfaceRequestTypeDef


def get_value() -> ConfirmPrivateVirtualInterfaceRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }


# ConfirmPrivateVirtualInterfaceRequestTypeDef definition

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

ConfirmPublicVirtualInterfaceRequestTypeDef#

# ConfirmPublicVirtualInterfaceRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import ConfirmPublicVirtualInterfaceRequestTypeDef


def get_value() -> ConfirmPublicVirtualInterfaceRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }


# ConfirmPublicVirtualInterfaceRequestTypeDef definition

class ConfirmPublicVirtualInterfaceRequestTypeDef(TypedDict):
    virtualInterfaceId: str,

ConfirmTransitVirtualInterfaceRequestTypeDef#

# ConfirmTransitVirtualInterfaceRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import ConfirmTransitVirtualInterfaceRequestTypeDef


def get_value() -> ConfirmTransitVirtualInterfaceRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }


# ConfirmTransitVirtualInterfaceRequestTypeDef definition

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

NewBGPPeerTypeDef#

# NewBGPPeerTypeDef TypedDict usage example

from types_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

CreateDirectConnectGatewayRequestTypeDef#

# CreateDirectConnectGatewayRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import CreateDirectConnectGatewayRequestTypeDef


def get_value() -> CreateDirectConnectGatewayRequestTypeDef:
    return {
        "directConnectGatewayName": ...,
    }


# CreateDirectConnectGatewayRequestTypeDef definition

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

DirectConnectGatewayTypeDef#

# DirectConnectGatewayTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_boto3_directconnect.type_defs import CustomerAgreementTypeDef


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


# CustomerAgreementTypeDef definition

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

DeleteBGPPeerRequestTypeDef#

# DeleteBGPPeerRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DeleteBGPPeerRequestTypeDef


def get_value() -> DeleteBGPPeerRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }


# DeleteBGPPeerRequestTypeDef definition

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

DeleteConnectionRequestTypeDef#

# DeleteConnectionRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DeleteConnectionRequestTypeDef


def get_value() -> DeleteConnectionRequestTypeDef:
    return {
        "connectionId": ...,
    }


# DeleteConnectionRequestTypeDef definition

class DeleteConnectionRequestTypeDef(TypedDict):
    connectionId: str,

DeleteDirectConnectGatewayAssociationProposalRequestTypeDef#

# DeleteDirectConnectGatewayAssociationProposalRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DeleteDirectConnectGatewayAssociationProposalRequestTypeDef


def get_value() -> DeleteDirectConnectGatewayAssociationProposalRequestTypeDef:
    return {
        "proposalId": ...,
    }


# DeleteDirectConnectGatewayAssociationProposalRequestTypeDef definition

class DeleteDirectConnectGatewayAssociationProposalRequestTypeDef(TypedDict):
    proposalId: str,

DeleteDirectConnectGatewayAssociationRequestTypeDef#

# DeleteDirectConnectGatewayAssociationRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DeleteDirectConnectGatewayAssociationRequestTypeDef


def get_value() -> DeleteDirectConnectGatewayAssociationRequestTypeDef:
    return {
        "associationId": ...,
    }


# DeleteDirectConnectGatewayAssociationRequestTypeDef definition

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

DeleteDirectConnectGatewayRequestTypeDef#

# DeleteDirectConnectGatewayRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DeleteDirectConnectGatewayRequestTypeDef


def get_value() -> DeleteDirectConnectGatewayRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
    }


# DeleteDirectConnectGatewayRequestTypeDef definition

class DeleteDirectConnectGatewayRequestTypeDef(TypedDict):
    directConnectGatewayId: str,

DeleteInterconnectRequestTypeDef#

# DeleteInterconnectRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DeleteInterconnectRequestTypeDef


def get_value() -> DeleteInterconnectRequestTypeDef:
    return {
        "interconnectId": ...,
    }


# DeleteInterconnectRequestTypeDef definition

class DeleteInterconnectRequestTypeDef(TypedDict):
    interconnectId: str,

DeleteLagRequestTypeDef#

# DeleteLagRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DeleteLagRequestTypeDef


def get_value() -> DeleteLagRequestTypeDef:
    return {
        "lagId": ...,
    }


# DeleteLagRequestTypeDef definition

class DeleteLagRequestTypeDef(TypedDict):
    lagId: str,

DeleteVirtualInterfaceRequestTypeDef#

# DeleteVirtualInterfaceRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DeleteVirtualInterfaceRequestTypeDef


def get_value() -> DeleteVirtualInterfaceRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }


# DeleteVirtualInterfaceRequestTypeDef definition

class DeleteVirtualInterfaceRequestTypeDef(TypedDict):
    virtualInterfaceId: str,

DescribeConnectionLoaRequestTypeDef#

# DescribeConnectionLoaRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeConnectionLoaRequestTypeDef


def get_value() -> DescribeConnectionLoaRequestTypeDef:
    return {
        "connectionId": ...,
    }


# DescribeConnectionLoaRequestTypeDef definition

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

LoaTypeDef#

# LoaTypeDef TypedDict usage example

from types_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

DescribeConnectionsOnInterconnectRequestTypeDef#

# DescribeConnectionsOnInterconnectRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeConnectionsOnInterconnectRequestTypeDef


def get_value() -> DescribeConnectionsOnInterconnectRequestTypeDef:
    return {
        "interconnectId": ...,
    }


# DescribeConnectionsOnInterconnectRequestTypeDef definition

class DescribeConnectionsOnInterconnectRequestTypeDef(TypedDict):
    interconnectId: str,

DescribeConnectionsRequestTypeDef#

# DescribeConnectionsRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeConnectionsRequestTypeDef


def get_value() -> DescribeConnectionsRequestTypeDef:
    return {
        "connectionId": ...,
    }


# DescribeConnectionsRequestTypeDef definition

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

DescribeDirectConnectGatewayAssociationProposalsRequestTypeDef#

# DescribeDirectConnectGatewayAssociationProposalsRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAssociationProposalsRequestTypeDef


def get_value() -> DescribeDirectConnectGatewayAssociationProposalsRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
    }


# DescribeDirectConnectGatewayAssociationProposalsRequestTypeDef definition

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

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef TypedDict usage example

from types_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],

DescribeDirectConnectGatewayAssociationsRequestTypeDef#

# DescribeDirectConnectGatewayAssociationsRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAssociationsRequestTypeDef


def get_value() -> DescribeDirectConnectGatewayAssociationsRequestTypeDef:
    return {
        "associationId": ...,
    }


# DescribeDirectConnectGatewayAssociationsRequestTypeDef definition

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

DescribeDirectConnectGatewayAttachmentsRequestTypeDef#

# DescribeDirectConnectGatewayAttachmentsRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAttachmentsRequestTypeDef


def get_value() -> DescribeDirectConnectGatewayAttachmentsRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
    }


# DescribeDirectConnectGatewayAttachmentsRequestTypeDef definition

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

DirectConnectGatewayAttachmentTypeDef#

# DirectConnectGatewayAttachmentTypeDef TypedDict usage example

from types_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

DescribeDirectConnectGatewaysRequestTypeDef#

# DescribeDirectConnectGatewaysRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeDirectConnectGatewaysRequestTypeDef


def get_value() -> DescribeDirectConnectGatewaysRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
    }


# DescribeDirectConnectGatewaysRequestTypeDef definition

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

DescribeHostedConnectionsRequestTypeDef#

# DescribeHostedConnectionsRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeHostedConnectionsRequestTypeDef


def get_value() -> DescribeHostedConnectionsRequestTypeDef:
    return {
        "connectionId": ...,
    }


# DescribeHostedConnectionsRequestTypeDef definition

class DescribeHostedConnectionsRequestTypeDef(TypedDict):
    connectionId: str,

DescribeInterconnectLoaRequestTypeDef#

# DescribeInterconnectLoaRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeInterconnectLoaRequestTypeDef


def get_value() -> DescribeInterconnectLoaRequestTypeDef:
    return {
        "interconnectId": ...,
    }


# DescribeInterconnectLoaRequestTypeDef definition

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

DescribeInterconnectsRequestTypeDef#

# DescribeInterconnectsRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeInterconnectsRequestTypeDef


def get_value() -> DescribeInterconnectsRequestTypeDef:
    return {
        "interconnectId": ...,
    }


# DescribeInterconnectsRequestTypeDef definition

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

DescribeLagsRequestTypeDef#

# DescribeLagsRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeLagsRequestTypeDef


def get_value() -> DescribeLagsRequestTypeDef:
    return {
        "lagId": ...,
    }


# DescribeLagsRequestTypeDef definition

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

DescribeLoaRequestTypeDef#

# DescribeLoaRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeLoaRequestTypeDef


def get_value() -> DescribeLoaRequestTypeDef:
    return {
        "connectionId": ...,
    }


# DescribeLoaRequestTypeDef definition

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

DescribeRouterConfigurationRequestTypeDef#

# DescribeRouterConfigurationRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeRouterConfigurationRequestTypeDef


def get_value() -> DescribeRouterConfigurationRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }


# DescribeRouterConfigurationRequestTypeDef definition

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

RouterTypeTypeDef#

# RouterTypeTypeDef TypedDict usage example

from types_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],

DescribeTagsRequestTypeDef#

# DescribeTagsRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeTagsRequestTypeDef


def get_value() -> DescribeTagsRequestTypeDef:
    return {
        "resourceArns": ...,
    }


# DescribeTagsRequestTypeDef definition

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

DescribeVirtualInterfacesRequestTypeDef#

# DescribeVirtualInterfacesRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeVirtualInterfacesRequestTypeDef


def get_value() -> DescribeVirtualInterfacesRequestTypeDef:
    return {
        "connectionId": ...,
    }


# DescribeVirtualInterfacesRequestTypeDef definition

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

DisassociateConnectionFromLagRequestTypeDef#

# DisassociateConnectionFromLagRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DisassociateConnectionFromLagRequestTypeDef


def get_value() -> DisassociateConnectionFromLagRequestTypeDef:
    return {
        "connectionId": ...,
    }


# DisassociateConnectionFromLagRequestTypeDef definition

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

DisassociateMacSecKeyRequestTypeDef#

# DisassociateMacSecKeyRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DisassociateMacSecKeyRequestTypeDef


def get_value() -> DisassociateMacSecKeyRequestTypeDef:
    return {
        "connectionId": ...,
    }


# DisassociateMacSecKeyRequestTypeDef definition

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

ListVirtualInterfaceTestHistoryRequestTypeDef#

# ListVirtualInterfaceTestHistoryRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import ListVirtualInterfaceTestHistoryRequestTypeDef


def get_value() -> ListVirtualInterfaceTestHistoryRequestTypeDef:
    return {
        "testId": ...,
    }


# ListVirtualInterfaceTestHistoryRequestTypeDef definition

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

VirtualInterfaceTestHistoryTypeDef#

# VirtualInterfaceTestHistoryTypeDef TypedDict usage example

from types_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],

LocationTypeDef#

# LocationTypeDef TypedDict usage example

from types_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]],

StartBgpFailoverTestRequestTypeDef#

# StartBgpFailoverTestRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import StartBgpFailoverTestRequestTypeDef


def get_value() -> StartBgpFailoverTestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }


# StartBgpFailoverTestRequestTypeDef definition

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

StopBgpFailoverTestRequestTypeDef#

# StopBgpFailoverTestRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import StopBgpFailoverTestRequestTypeDef


def get_value() -> StopBgpFailoverTestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }


# StopBgpFailoverTestRequestTypeDef definition

class StopBgpFailoverTestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,

UntagResourceRequestTypeDef#

# UntagResourceRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import UntagResourceRequestTypeDef


def get_value() -> UntagResourceRequestTypeDef:
    return {
        "resourceArn": ...,
    }


# UntagResourceRequestTypeDef definition

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

UpdateConnectionRequestTypeDef#

# UpdateConnectionRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import UpdateConnectionRequestTypeDef


def get_value() -> UpdateConnectionRequestTypeDef:
    return {
        "connectionId": ...,
    }


# UpdateConnectionRequestTypeDef definition

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

UpdateDirectConnectGatewayRequestTypeDef#

# UpdateDirectConnectGatewayRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import UpdateDirectConnectGatewayRequestTypeDef


def get_value() -> UpdateDirectConnectGatewayRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
    }


# UpdateDirectConnectGatewayRequestTypeDef definition

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

UpdateLagRequestTypeDef#

# UpdateLagRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import UpdateLagRequestTypeDef


def get_value() -> UpdateLagRequestTypeDef:
    return {
        "lagId": ...,
    }


# UpdateLagRequestTypeDef definition

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

UpdateVirtualInterfaceAttributesRequestTypeDef#

# UpdateVirtualInterfaceAttributesRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import UpdateVirtualInterfaceAttributesRequestTypeDef


def get_value() -> UpdateVirtualInterfaceAttributesRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }


# UpdateVirtualInterfaceAttributesRequestTypeDef definition

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

VirtualGatewayTypeDef#

# VirtualGatewayTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import VirtualGatewayTypeDef


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


# VirtualGatewayTypeDef definition

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

AcceptDirectConnectGatewayAssociationProposalRequestTypeDef#

# AcceptDirectConnectGatewayAssociationProposalRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import AcceptDirectConnectGatewayAssociationProposalRequestTypeDef


def get_value() -> AcceptDirectConnectGatewayAssociationProposalRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
    }


# AcceptDirectConnectGatewayAssociationProposalRequestTypeDef definition

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

CreateDirectConnectGatewayAssociationProposalRequestTypeDef#

# CreateDirectConnectGatewayAssociationProposalRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import CreateDirectConnectGatewayAssociationProposalRequestTypeDef


def get_value() -> CreateDirectConnectGatewayAssociationProposalRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
    }


# CreateDirectConnectGatewayAssociationProposalRequestTypeDef definition

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

CreateDirectConnectGatewayAssociationRequestTypeDef#

# CreateDirectConnectGatewayAssociationRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import CreateDirectConnectGatewayAssociationRequestTypeDef


def get_value() -> CreateDirectConnectGatewayAssociationRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
    }


# CreateDirectConnectGatewayAssociationRequestTypeDef definition

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

UpdateDirectConnectGatewayAssociationRequestTypeDef#

# UpdateDirectConnectGatewayAssociationRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import UpdateDirectConnectGatewayAssociationRequestTypeDef


def get_value() -> UpdateDirectConnectGatewayAssociationRequestTypeDef:
    return {
        "associationId": ...,
    }


# UpdateDirectConnectGatewayAssociationRequestTypeDef definition

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

ConfirmConnectionResponseTypeDef#

# ConfirmConnectionResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import ConfirmConnectionResponseTypeDef


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


# ConfirmConnectionResponseTypeDef definition

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

ConfirmCustomerAgreementResponseTypeDef#

# ConfirmCustomerAgreementResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import ConfirmCustomerAgreementResponseTypeDef


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


# ConfirmCustomerAgreementResponseTypeDef definition

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

ConfirmPrivateVirtualInterfaceResponseTypeDef#

# ConfirmPrivateVirtualInterfaceResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import ConfirmPrivateVirtualInterfaceResponseTypeDef


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


# ConfirmPrivateVirtualInterfaceResponseTypeDef definition

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

ConfirmPublicVirtualInterfaceResponseTypeDef#

# ConfirmPublicVirtualInterfaceResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import ConfirmPublicVirtualInterfaceResponseTypeDef


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


# ConfirmPublicVirtualInterfaceResponseTypeDef definition

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

ConfirmTransitVirtualInterfaceResponseTypeDef#

# ConfirmTransitVirtualInterfaceResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import ConfirmTransitVirtualInterfaceResponseTypeDef


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


# ConfirmTransitVirtualInterfaceResponseTypeDef definition

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

DeleteInterconnectResponseTypeDef#

# DeleteInterconnectResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DeleteInterconnectResponseTypeDef


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


# DeleteInterconnectResponseTypeDef definition

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

DeleteVirtualInterfaceResponseTypeDef#

# DeleteVirtualInterfaceResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DeleteVirtualInterfaceResponseTypeDef


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


# DeleteVirtualInterfaceResponseTypeDef definition

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

LoaResponseTypeDef#

# LoaResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import LoaResponseTypeDef


def get_value() -> LoaResponseTypeDef:
    return {
        "loaContent": ...,
    }


# LoaResponseTypeDef definition

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

AllocateHostedConnectionRequestTypeDef#

# AllocateHostedConnectionRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import AllocateHostedConnectionRequestTypeDef


def get_value() -> AllocateHostedConnectionRequestTypeDef:
    return {
        "connectionId": ...,
    }


# AllocateHostedConnectionRequestTypeDef definition

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

CreateConnectionRequestTypeDef#

# CreateConnectionRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import CreateConnectionRequestTypeDef


def get_value() -> CreateConnectionRequestTypeDef:
    return {
        "location": ...,
    }


# CreateConnectionRequestTypeDef definition

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

CreateInterconnectRequestTypeDef#

# CreateInterconnectRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import CreateInterconnectRequestTypeDef


def get_value() -> CreateInterconnectRequestTypeDef:
    return {
        "interconnectName": ...,
    }


# CreateInterconnectRequestTypeDef definition

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

CreateLagRequestTypeDef#

# CreateLagRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import CreateLagRequestTypeDef


def get_value() -> CreateLagRequestTypeDef:
    return {
        "numberOfConnections": ...,
    }


# CreateLagRequestTypeDef definition

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

InterconnectResponseTypeDef#

# InterconnectResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import InterconnectResponseTypeDef


def get_value() -> InterconnectResponseTypeDef:
    return {
        "interconnectId": ...,
    }


# InterconnectResponseTypeDef definition

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

InterconnectTypeDef#

# InterconnectTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_boto3_directconnect.type_defs import NewPrivateVirtualInterfaceAllocationTypeDef


def get_value() -> NewPrivateVirtualInterfaceAllocationTypeDef:
    return {
        "virtualInterfaceName": ...,
    }


# 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 TypedDict usage example

from types_boto3_directconnect.type_defs import NewPrivateVirtualInterfaceTypeDef


def get_value() -> NewPrivateVirtualInterfaceTypeDef:
    return {
        "virtualInterfaceName": ...,
    }


# 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 TypedDict usage example

from types_boto3_directconnect.type_defs import NewPublicVirtualInterfaceAllocationTypeDef


def get_value() -> NewPublicVirtualInterfaceAllocationTypeDef:
    return {
        "virtualInterfaceName": ...,
    }


# 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 TypedDict usage example

from types_boto3_directconnect.type_defs import NewPublicVirtualInterfaceTypeDef


def get_value() -> NewPublicVirtualInterfaceTypeDef:
    return {
        "virtualInterfaceName": ...,
    }


# 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 TypedDict usage example

from types_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 TypedDict usage example

from types_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 TypedDict usage example

from types_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

TagResourceRequestTypeDef#

# TagResourceRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import TagResourceRequestTypeDef


def get_value() -> TagResourceRequestTypeDef:
    return {
        "resourceArn": ...,
    }


# TagResourceRequestTypeDef definition

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

AssociateMacSecKeyResponseTypeDef#

# AssociateMacSecKeyResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import AssociateMacSecKeyResponseTypeDef


def get_value() -> AssociateMacSecKeyResponseTypeDef:
    return {
        "connectionId": ...,
    }


# AssociateMacSecKeyResponseTypeDef definition

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

ConnectionResponseTypeDef#

# ConnectionResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import ConnectionResponseTypeDef


def get_value() -> ConnectionResponseTypeDef:
    return {
        "ownerAccount": ...,
    }


# ConnectionResponseTypeDef definition

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

ConnectionTypeDef#

# ConnectionTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_boto3_directconnect.type_defs import DisassociateMacSecKeyResponseTypeDef


def get_value() -> DisassociateMacSecKeyResponseTypeDef:
    return {
        "connectionId": ...,
    }


# DisassociateMacSecKeyResponseTypeDef definition

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

DirectConnectGatewayAssociationProposalTypeDef#

# DirectConnectGatewayAssociationProposalTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_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)
    associatedCoreNetwork: NotRequired[AssociatedCoreNetworkTypeDef],  # (4)
    virtualGatewayId: NotRequired[str],
    virtualGatewayRegion: NotRequired[str],
    virtualGatewayOwnerAccount: NotRequired[str],
  1. See DirectConnectGatewayAssociationStateType
  2. See AssociatedGatewayTypeDef
  3. See RouteFilterPrefixTypeDef
  4. See AssociatedCoreNetworkTypeDef

VirtualInterfaceResponseTypeDef#

# VirtualInterfaceResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import VirtualInterfaceResponseTypeDef


def get_value() -> VirtualInterfaceResponseTypeDef:
    return {
        "ownerAccount": ...,
    }


# VirtualInterfaceResponseTypeDef definition

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

VirtualInterfaceTypeDef#

# VirtualInterfaceTypeDef TypedDict usage example

from types_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

CreateBGPPeerRequestTypeDef#

# CreateBGPPeerRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import CreateBGPPeerRequestTypeDef


def get_value() -> CreateBGPPeerRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }


# CreateBGPPeerRequestTypeDef definition

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

CreateDirectConnectGatewayResultTypeDef#

# CreateDirectConnectGatewayResultTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import CreateDirectConnectGatewayResultTypeDef


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


# CreateDirectConnectGatewayResultTypeDef definition

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

DeleteDirectConnectGatewayResultTypeDef#

# DeleteDirectConnectGatewayResultTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DeleteDirectConnectGatewayResultTypeDef


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


# DeleteDirectConnectGatewayResultTypeDef definition

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

DescribeDirectConnectGatewaysResultTypeDef#

# DescribeDirectConnectGatewaysResultTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeDirectConnectGatewaysResultTypeDef


def get_value() -> DescribeDirectConnectGatewaysResultTypeDef:
    return {
        "directConnectGateways": ...,
    }


# DescribeDirectConnectGatewaysResultTypeDef definition

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

UpdateDirectConnectGatewayResponseTypeDef#

# UpdateDirectConnectGatewayResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import UpdateDirectConnectGatewayResponseTypeDef


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


# UpdateDirectConnectGatewayResponseTypeDef definition

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

DescribeCustomerMetadataResponseTypeDef#

# DescribeCustomerMetadataResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeCustomerMetadataResponseTypeDef


def get_value() -> DescribeCustomerMetadataResponseTypeDef:
    return {
        "agreements": ...,
    }


# 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 TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeConnectionLoaResponseTypeDef


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


# DescribeConnectionLoaResponseTypeDef definition

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

DescribeInterconnectLoaResponseTypeDef#

# DescribeInterconnectLoaResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeInterconnectLoaResponseTypeDef


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


# DescribeInterconnectLoaResponseTypeDef definition

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

DescribeDirectConnectGatewayAssociationsRequestPaginateTypeDef#

# DescribeDirectConnectGatewayAssociationsRequestPaginateTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAssociationsRequestPaginateTypeDef


def get_value() -> DescribeDirectConnectGatewayAssociationsRequestPaginateTypeDef:
    return {
        "associationId": ...,
    }


# DescribeDirectConnectGatewayAssociationsRequestPaginateTypeDef definition

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

DescribeDirectConnectGatewayAttachmentsRequestPaginateTypeDef#

# DescribeDirectConnectGatewayAttachmentsRequestPaginateTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAttachmentsRequestPaginateTypeDef


def get_value() -> DescribeDirectConnectGatewayAttachmentsRequestPaginateTypeDef:
    return {
        "directConnectGatewayId": ...,
    }


# DescribeDirectConnectGatewayAttachmentsRequestPaginateTypeDef definition

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

DescribeDirectConnectGatewaysRequestPaginateTypeDef#

# DescribeDirectConnectGatewaysRequestPaginateTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeDirectConnectGatewaysRequestPaginateTypeDef


def get_value() -> DescribeDirectConnectGatewaysRequestPaginateTypeDef:
    return {
        "directConnectGatewayId": ...,
    }


# DescribeDirectConnectGatewaysRequestPaginateTypeDef definition

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

DescribeDirectConnectGatewayAttachmentsResultTypeDef#

# DescribeDirectConnectGatewayAttachmentsResultTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAttachmentsResultTypeDef


def get_value() -> DescribeDirectConnectGatewayAttachmentsResultTypeDef:
    return {
        "directConnectGatewayAttachments": ...,
    }


# DescribeDirectConnectGatewayAttachmentsResultTypeDef definition

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

DescribeRouterConfigurationResponseTypeDef#

# DescribeRouterConfigurationResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeRouterConfigurationResponseTypeDef


def get_value() -> DescribeRouterConfigurationResponseTypeDef:
    return {
        "customerRouterConfig": ...,
    }


# 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 TypedDict usage example

from types_boto3_directconnect.type_defs import ListVirtualInterfaceTestHistoryResponseTypeDef


def get_value() -> ListVirtualInterfaceTestHistoryResponseTypeDef:
    return {
        "virtualInterfaceTestHistory": ...,
    }


# ListVirtualInterfaceTestHistoryResponseTypeDef definition

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

StartBgpFailoverTestResponseTypeDef#

# StartBgpFailoverTestResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import StartBgpFailoverTestResponseTypeDef


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


# StartBgpFailoverTestResponseTypeDef definition

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

StopBgpFailoverTestResponseTypeDef#

# StopBgpFailoverTestResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import StopBgpFailoverTestResponseTypeDef


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


# StopBgpFailoverTestResponseTypeDef definition

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

LocationsTypeDef#

# LocationsTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import LocationsTypeDef


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


# LocationsTypeDef definition

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

VirtualGatewaysTypeDef#

# VirtualGatewaysTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import VirtualGatewaysTypeDef


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


# VirtualGatewaysTypeDef definition

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

InterconnectsTypeDef#

# InterconnectsTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import InterconnectsTypeDef


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


# InterconnectsTypeDef definition

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

AllocatePrivateVirtualInterfaceRequestTypeDef#

# AllocatePrivateVirtualInterfaceRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import AllocatePrivateVirtualInterfaceRequestTypeDef


def get_value() -> AllocatePrivateVirtualInterfaceRequestTypeDef:
    return {
        "connectionId": ...,
    }


# AllocatePrivateVirtualInterfaceRequestTypeDef definition

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

CreatePrivateVirtualInterfaceRequestTypeDef#

# CreatePrivateVirtualInterfaceRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import CreatePrivateVirtualInterfaceRequestTypeDef


def get_value() -> CreatePrivateVirtualInterfaceRequestTypeDef:
    return {
        "connectionId": ...,
    }


# CreatePrivateVirtualInterfaceRequestTypeDef definition

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

AllocatePublicVirtualInterfaceRequestTypeDef#

# AllocatePublicVirtualInterfaceRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import AllocatePublicVirtualInterfaceRequestTypeDef


def get_value() -> AllocatePublicVirtualInterfaceRequestTypeDef:
    return {
        "connectionId": ...,
    }


# AllocatePublicVirtualInterfaceRequestTypeDef definition

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

CreatePublicVirtualInterfaceRequestTypeDef#

# CreatePublicVirtualInterfaceRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import CreatePublicVirtualInterfaceRequestTypeDef


def get_value() -> CreatePublicVirtualInterfaceRequestTypeDef:
    return {
        "connectionId": ...,
    }


# CreatePublicVirtualInterfaceRequestTypeDef definition

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

AllocateTransitVirtualInterfaceRequestTypeDef#

# AllocateTransitVirtualInterfaceRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import AllocateTransitVirtualInterfaceRequestTypeDef


def get_value() -> AllocateTransitVirtualInterfaceRequestTypeDef:
    return {
        "connectionId": ...,
    }


# AllocateTransitVirtualInterfaceRequestTypeDef definition

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

CreateTransitVirtualInterfaceRequestTypeDef#

# CreateTransitVirtualInterfaceRequestTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import CreateTransitVirtualInterfaceRequestTypeDef


def get_value() -> CreateTransitVirtualInterfaceRequestTypeDef:
    return {
        "connectionId": ...,
    }


# CreateTransitVirtualInterfaceRequestTypeDef definition

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

DescribeTagsResponseTypeDef#

# DescribeTagsResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeTagsResponseTypeDef


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


# DescribeTagsResponseTypeDef definition

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

ConnectionsTypeDef#

# ConnectionsTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import ConnectionsTypeDef


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


# ConnectionsTypeDef definition

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

LagResponseTypeDef#

# LagResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import LagResponseTypeDef


def get_value() -> LagResponseTypeDef:
    return {
        "connectionsBandwidth": ...,
    }


# LagResponseTypeDef definition

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

LagTypeDef#

# LagTypeDef TypedDict usage example

from types_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 TypedDict usage example

from types_boto3_directconnect.type_defs import CreateDirectConnectGatewayAssociationProposalResultTypeDef


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


# CreateDirectConnectGatewayAssociationProposalResultTypeDef definition

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

DeleteDirectConnectGatewayAssociationProposalResultTypeDef#

# DeleteDirectConnectGatewayAssociationProposalResultTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DeleteDirectConnectGatewayAssociationProposalResultTypeDef


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


# DeleteDirectConnectGatewayAssociationProposalResultTypeDef definition

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

DescribeDirectConnectGatewayAssociationProposalsResultTypeDef#

# DescribeDirectConnectGatewayAssociationProposalsResultTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAssociationProposalsResultTypeDef


def get_value() -> DescribeDirectConnectGatewayAssociationProposalsResultTypeDef:
    return {
        "directConnectGatewayAssociationProposals": ...,
    }


# DescribeDirectConnectGatewayAssociationProposalsResultTypeDef definition

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

AcceptDirectConnectGatewayAssociationProposalResultTypeDef#

# AcceptDirectConnectGatewayAssociationProposalResultTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import AcceptDirectConnectGatewayAssociationProposalResultTypeDef


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


# AcceptDirectConnectGatewayAssociationProposalResultTypeDef definition

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

CreateDirectConnectGatewayAssociationResultTypeDef#

# CreateDirectConnectGatewayAssociationResultTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import CreateDirectConnectGatewayAssociationResultTypeDef


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


# CreateDirectConnectGatewayAssociationResultTypeDef definition

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

DeleteDirectConnectGatewayAssociationResultTypeDef#

# DeleteDirectConnectGatewayAssociationResultTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DeleteDirectConnectGatewayAssociationResultTypeDef


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


# DeleteDirectConnectGatewayAssociationResultTypeDef definition

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

DescribeDirectConnectGatewayAssociationsResultTypeDef#

# DescribeDirectConnectGatewayAssociationsResultTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAssociationsResultTypeDef


def get_value() -> DescribeDirectConnectGatewayAssociationsResultTypeDef:
    return {
        "directConnectGatewayAssociations": ...,
    }


# DescribeDirectConnectGatewayAssociationsResultTypeDef definition

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

UpdateDirectConnectGatewayAssociationResultTypeDef#

# UpdateDirectConnectGatewayAssociationResultTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import UpdateDirectConnectGatewayAssociationResultTypeDef


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


# UpdateDirectConnectGatewayAssociationResultTypeDef definition

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

AllocateTransitVirtualInterfaceResultTypeDef#

# AllocateTransitVirtualInterfaceResultTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import AllocateTransitVirtualInterfaceResultTypeDef


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


# AllocateTransitVirtualInterfaceResultTypeDef definition

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

CreateBGPPeerResponseTypeDef#

# CreateBGPPeerResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import CreateBGPPeerResponseTypeDef


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


# CreateBGPPeerResponseTypeDef definition

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

CreateTransitVirtualInterfaceResultTypeDef#

# CreateTransitVirtualInterfaceResultTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import CreateTransitVirtualInterfaceResultTypeDef


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


# CreateTransitVirtualInterfaceResultTypeDef definition

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

DeleteBGPPeerResponseTypeDef#

# DeleteBGPPeerResponseTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import DeleteBGPPeerResponseTypeDef


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


# DeleteBGPPeerResponseTypeDef definition

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

VirtualInterfacesTypeDef#

# VirtualInterfacesTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import VirtualInterfacesTypeDef


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


# VirtualInterfacesTypeDef definition

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

LagsTypeDef#

# LagsTypeDef TypedDict usage example

from types_boto3_directconnect.type_defs import LagsTypeDef


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


# LagsTypeDef definition

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