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],- 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],
    asnLong: 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],- See AddressFamilyType
- See BGPPeerStateType
- 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],
    asnLong: NotRequired[int],
    authKey: NotRequired[str],
    addressFamily: NotRequired[AddressFamilyType],  # (1)
    amazonAddress: NotRequired[str],
    customerAddress: NotRequired[str],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],
    asnLong: 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)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)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],
    maxResults: NotRequired[int],
    nextToken: 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],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,
    maxResults: NotRequired[int],
    nextToken: NotRequired[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)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],
    maxResults: NotRequired[int],
    nextToken: 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],
    maxResults: NotRequired[int],
    nextToken: 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)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],
    maxResults: NotRequired[int],
    nextToken: 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.datetime],
    endTime: NotRequired[datetime.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)- See Sequence[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)- See Sequence[RouteFilterPrefixTypeDef]
- See Sequence[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],- See Sequence[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)- See Sequence[RouteFilterPrefixTypeDef]
- See Sequence[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)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)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)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)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)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)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)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)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)- See Sequence[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],- See Sequence[TagTypeDef]
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,
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
    amazonSideAsn: NotRequired[int],- See Sequence[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],
    requestMACSec: NotRequired[bool],- See Sequence[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],- See Sequence[TagTypeDef]
- See Sequence[TagTypeDef]
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],
    tags: NotRequired[List[TagTypeDef]],  # (2)- See DirectConnectGatewayStateType
- See List[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: NotRequired[int],
    asnLong: NotRequired[int],
    mtu: NotRequired[int],
    authKey: NotRequired[str],
    amazonAddress: NotRequired[str],
    addressFamily: NotRequired[AddressFamilyType],  # (1)
    customerAddress: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (2)- See AddressFamilyType
- See Sequence[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: NotRequired[int],
    asnLong: NotRequired[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],- See AddressFamilyType
- See Sequence[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: NotRequired[int],
    asnLong: NotRequired[int],
    authKey: NotRequired[str],
    amazonAddress: NotRequired[str],
    customerAddress: NotRequired[str],
    addressFamily: NotRequired[AddressFamilyType],  # (1)
    routeFilterPrefixes: NotRequired[Sequence[RouteFilterPrefixTypeDef]],  # (2)
    tags: NotRequired[Sequence[TagTypeDef]],  # (3)- See AddressFamilyType
- See Sequence[RouteFilterPrefixTypeDef]
- See Sequence[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: NotRequired[int],
    asnLong: NotRequired[int],
    authKey: NotRequired[str],
    amazonAddress: NotRequired[str],
    customerAddress: NotRequired[str],
    addressFamily: NotRequired[AddressFamilyType],  # (1)
    routeFilterPrefixes: NotRequired[Sequence[RouteFilterPrefixTypeDef]],  # (2)
    tags: NotRequired[Sequence[TagTypeDef]],  # (3)- See AddressFamilyType
- See Sequence[RouteFilterPrefixTypeDef]
- See Sequence[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],
    asnLong: NotRequired[int],
    mtu: NotRequired[int],
    authKey: NotRequired[str],
    amazonAddress: NotRequired[str],
    customerAddress: NotRequired[str],
    addressFamily: NotRequired[AddressFamilyType],  # (1)
    tags: NotRequired[Sequence[TagTypeDef]],  # (2)- See AddressFamilyType
- See Sequence[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],
    asnLong: 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],- See AddressFamilyType
- See Sequence[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)- See List[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)- See Sequence[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)- See List[MacSecKeyTypeDef]
- 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.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)
    partnerInterconnectMacSecCapable: bool,
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)- See ConnectionStateType
- See HasLogicalRedundancyType
- See List[TagTypeDef]
- See List[MacSecKeyTypeDef]
- 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.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)
    partnerInterconnectMacSecCapable: NotRequired[bool],- See ConnectionStateType
- See HasLogicalRedundancyType
- See List[TagTypeDef]
- See List[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)- See List[MacSecKeyTypeDef]
- See ResponseMetadataTypeDef
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.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)- See InterconnectStateType
- See HasLogicalRedundancyType
- See List[TagTypeDef]
- See List[MacSecKeyTypeDef]
- 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.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)- See InterconnectStateType
- See HasLogicalRedundancyType
- See List[TagTypeDef]
- See List[MacSecKeyTypeDef]
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)- See DirectConnectGatewayAssociationProposalStateType
- See AssociatedGatewayTypeDef
- See List[RouteFilterPrefixTypeDef]
- See List[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],- See DirectConnectGatewayAssociationStateType
- See AssociatedGatewayTypeDef
- See List[RouteFilterPrefixTypeDef]
- 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,
    asnLong: 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)- See AddressFamilyType
- See VirtualInterfaceStateType
- See List[RouteFilterPrefixTypeDef]
- See List[BGPPeerTypeDef]
- See List[TagTypeDef]
- 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],
    asnLong: 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],- See AddressFamilyType
- See VirtualInterfaceStateType
- See List[RouteFilterPrefixTypeDef]
- See List[BGPPeerTypeDef]
- See List[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)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)- See List[CustomerAgreementTypeDef]
- See NniPartnerTypeType
- 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)- See LoaTypeDef
- 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)- See LoaTypeDef
- 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)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)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)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],- See List[DirectConnectGatewayAttachmentTypeDef]
- 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)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],- See List[VirtualInterfaceTestHistoryTypeDef]
- 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)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)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)- See List[LocationTypeDef]
- 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)- See List[VirtualGatewayTypeDef]
- See ResponseMetadataTypeDef
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)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)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],- See List[DirectConnectGatewayTypeDef]
- 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)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)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)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)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)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)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)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)- See List[ResourceTagTypeDef]
- 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)
    nextToken: NotRequired[str],- See List[ConnectionTypeDef]
- 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)- See LagStateType
- See List[ConnectionTypeDef]
- See HasLogicalRedundancyType
- See List[TagTypeDef]
- See List[MacSecKeyTypeDef]
- 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)- See LagStateType
- See List[ConnectionTypeDef]
- See HasLogicalRedundancyType
- See List[TagTypeDef]
- See List[MacSecKeyTypeDef]
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)
    nextToken: NotRequired[str],- See List[InterconnectTypeDef]
- See ResponseMetadataTypeDef
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)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)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],- See List[DirectConnectGatewayAssociationProposalTypeDef]
- 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)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)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)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],- See List[DirectConnectGatewayAssociationTypeDef]
- 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)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)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)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)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)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)
    nextToken: NotRequired[str],- See List[VirtualInterfaceTypeDef]
- 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)
    nextToken: NotRequired[str],- See List[LagTypeDef]
- See ResponseMetadataTypeDef