Skip to content

Typed dictionaries

Index > DirectConnect > Typed dictionaries

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

RouteFilterPrefixTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import RouteFilterPrefixTypeDef

def get_value() -> RouteFilterPrefixTypeDef:
    return {
        "cidr": ...,
    }
Definition
class RouteFilterPrefixTypeDef(TypedDict):
    cidr: NotRequired[str],

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

AllocateConnectionOnInterconnectRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import AllocateConnectionOnInterconnectRequestRequestTypeDef

def get_value() -> AllocateConnectionOnInterconnectRequestRequestTypeDef:
    return {
        "bandwidth": ...,
        "connectionName": ...,
        "ownerAccount": ...,
        "interconnectId": ...,
        "vlan": ...,
    }
Definition
class AllocateConnectionOnInterconnectRequestRequestTypeDef(TypedDict):
    bandwidth: str,
    connectionName: str,
    ownerAccount: str,
    interconnectId: str,
    vlan: int,

TagTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "key": ...,
    }
Definition
class TagTypeDef(TypedDict):
    key: str,
    value: NotRequired[str],

AssociateConnectionWithLagRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import AssociateConnectionWithLagRequestRequestTypeDef

def get_value() -> AssociateConnectionWithLagRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "lagId": ...,
    }
Definition
class AssociateConnectionWithLagRequestRequestTypeDef(TypedDict):
    connectionId: str,
    lagId: str,

AssociateHostedConnectionRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import AssociateHostedConnectionRequestRequestTypeDef

def get_value() -> AssociateHostedConnectionRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "parentConnectionId": ...,
    }
Definition
class AssociateHostedConnectionRequestRequestTypeDef(TypedDict):
    connectionId: str,
    parentConnectionId: str,

AssociateMacSecKeyRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import AssociateMacSecKeyRequestRequestTypeDef

def get_value() -> AssociateMacSecKeyRequestRequestTypeDef:
    return {
        "connectionId": ...,
    }
Definition
class AssociateMacSecKeyRequestRequestTypeDef(TypedDict):
    connectionId: str,
    secretARN: NotRequired[str],
    ckn: NotRequired[str],
    cak: NotRequired[str],

MacSecKeyTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import MacSecKeyTypeDef

def get_value() -> MacSecKeyTypeDef:
    return {
        "secretARN": ...,
    }
Definition
class MacSecKeyTypeDef(TypedDict):
    secretARN: NotRequired[str],
    ckn: NotRequired[str],
    state: NotRequired[str],
    startOn: NotRequired[str],

AssociateVirtualInterfaceRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import AssociateVirtualInterfaceRequestRequestTypeDef

def get_value() -> AssociateVirtualInterfaceRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
        "connectionId": ...,
    }
Definition
class AssociateVirtualInterfaceRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,
    connectionId: str,

AssociatedGatewayTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import AssociatedGatewayTypeDef

def get_value() -> AssociatedGatewayTypeDef:
    return {
        "id": ...,
    }
Definition
class AssociatedGatewayTypeDef(TypedDict):
    id: NotRequired[str],
    type: NotRequired[GatewayTypeType],  # (1)
    ownerAccount: NotRequired[str],
    region: NotRequired[str],
  1. See GatewayTypeType

BGPPeerTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import BGPPeerTypeDef

def get_value() -> BGPPeerTypeDef:
    return {
        "bgpPeerId": ...,
    }
Definition
class BGPPeerTypeDef(TypedDict):
    bgpPeerId: NotRequired[str],
    asn: NotRequired[int],
    authKey: NotRequired[str],
    addressFamily: NotRequired[AddressFamilyType],  # (1)
    amazonAddress: NotRequired[str],
    customerAddress: NotRequired[str],
    bgpPeerState: NotRequired[BGPPeerStateType],  # (2)
    bgpStatus: NotRequired[BGPStatusType],  # (3)
    awsDeviceV2: NotRequired[str],
    awsLogicalDeviceId: NotRequired[str],
  1. See AddressFamilyType
  2. See BGPPeerStateType
  3. See BGPStatusType

ConfirmConnectionRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import ConfirmConnectionRequestRequestTypeDef

def get_value() -> ConfirmConnectionRequestRequestTypeDef:
    return {
        "connectionId": ...,
    }
Definition
class ConfirmConnectionRequestRequestTypeDef(TypedDict):
    connectionId: str,

ConfirmCustomerAgreementRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import ConfirmCustomerAgreementRequestRequestTypeDef

def get_value() -> ConfirmCustomerAgreementRequestRequestTypeDef:
    return {
        "agreementName": ...,
    }
Definition
class ConfirmCustomerAgreementRequestRequestTypeDef(TypedDict):
    agreementName: NotRequired[str],

ConfirmPrivateVirtualInterfaceRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import ConfirmPrivateVirtualInterfaceRequestRequestTypeDef

def get_value() -> ConfirmPrivateVirtualInterfaceRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }
Definition
class ConfirmPrivateVirtualInterfaceRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,
    virtualGatewayId: NotRequired[str],
    directConnectGatewayId: NotRequired[str],

ConfirmPublicVirtualInterfaceRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import ConfirmPublicVirtualInterfaceRequestRequestTypeDef

def get_value() -> ConfirmPublicVirtualInterfaceRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }
Definition
class ConfirmPublicVirtualInterfaceRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,

ConfirmTransitVirtualInterfaceRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import ConfirmTransitVirtualInterfaceRequestRequestTypeDef

def get_value() -> ConfirmTransitVirtualInterfaceRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
        "directConnectGatewayId": ...,
    }
Definition
class ConfirmTransitVirtualInterfaceRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,
    directConnectGatewayId: str,

NewBGPPeerTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import NewBGPPeerTypeDef

def get_value() -> NewBGPPeerTypeDef:
    return {
        "asn": ...,
    }
Definition
class NewBGPPeerTypeDef(TypedDict):
    asn: NotRequired[int],
    authKey: NotRequired[str],
    addressFamily: NotRequired[AddressFamilyType],  # (1)
    amazonAddress: NotRequired[str],
    customerAddress: NotRequired[str],
  1. See AddressFamilyType

CreateDirectConnectGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import CreateDirectConnectGatewayRequestRequestTypeDef

def get_value() -> CreateDirectConnectGatewayRequestRequestTypeDef:
    return {
        "directConnectGatewayName": ...,
    }
Definition
class CreateDirectConnectGatewayRequestRequestTypeDef(TypedDict):
    directConnectGatewayName: str,
    amazonSideAsn: NotRequired[int],

DirectConnectGatewayTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DirectConnectGatewayTypeDef

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

Usage Example
from mypy_boto3_directconnect.type_defs import CustomerAgreementTypeDef

def get_value() -> CustomerAgreementTypeDef:
    return {
        "agreementName": ...,
    }
Definition
class CustomerAgreementTypeDef(TypedDict):
    agreementName: NotRequired[str],
    status: NotRequired[str],

DeleteBGPPeerRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DeleteBGPPeerRequestRequestTypeDef

def get_value() -> DeleteBGPPeerRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }
Definition
class DeleteBGPPeerRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: NotRequired[str],
    asn: NotRequired[int],
    customerAddress: NotRequired[str],
    bgpPeerId: NotRequired[str],

DeleteConnectionRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DeleteConnectionRequestRequestTypeDef

def get_value() -> DeleteConnectionRequestRequestTypeDef:
    return {
        "connectionId": ...,
    }
Definition
class DeleteConnectionRequestRequestTypeDef(TypedDict):
    connectionId: str,

DeleteDirectConnectGatewayAssociationProposalRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DeleteDirectConnectGatewayAssociationProposalRequestRequestTypeDef

def get_value() -> DeleteDirectConnectGatewayAssociationProposalRequestRequestTypeDef:
    return {
        "proposalId": ...,
    }
Definition
class DeleteDirectConnectGatewayAssociationProposalRequestRequestTypeDef(TypedDict):
    proposalId: str,

DeleteDirectConnectGatewayAssociationRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DeleteDirectConnectGatewayAssociationRequestRequestTypeDef

def get_value() -> DeleteDirectConnectGatewayAssociationRequestRequestTypeDef:
    return {
        "associationId": ...,
    }
Definition
class DeleteDirectConnectGatewayAssociationRequestRequestTypeDef(TypedDict):
    associationId: NotRequired[str],
    directConnectGatewayId: NotRequired[str],
    virtualGatewayId: NotRequired[str],

DeleteDirectConnectGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DeleteDirectConnectGatewayRequestRequestTypeDef

def get_value() -> DeleteDirectConnectGatewayRequestRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
    }
Definition
class DeleteDirectConnectGatewayRequestRequestTypeDef(TypedDict):
    directConnectGatewayId: str,

DeleteInterconnectRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DeleteInterconnectRequestRequestTypeDef

def get_value() -> DeleteInterconnectRequestRequestTypeDef:
    return {
        "interconnectId": ...,
    }
Definition
class DeleteInterconnectRequestRequestTypeDef(TypedDict):
    interconnectId: str,

DeleteLagRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DeleteLagRequestRequestTypeDef

def get_value() -> DeleteLagRequestRequestTypeDef:
    return {
        "lagId": ...,
    }
Definition
class DeleteLagRequestRequestTypeDef(TypedDict):
    lagId: str,

DeleteVirtualInterfaceRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DeleteVirtualInterfaceRequestRequestTypeDef

def get_value() -> DeleteVirtualInterfaceRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }
Definition
class DeleteVirtualInterfaceRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,

DescribeConnectionLoaRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeConnectionLoaRequestRequestTypeDef

def get_value() -> DescribeConnectionLoaRequestRequestTypeDef:
    return {
        "connectionId": ...,
    }
Definition
class DescribeConnectionLoaRequestRequestTypeDef(TypedDict):
    connectionId: str,
    providerName: NotRequired[str],
    loaContentType: NotRequired[LoaContentTypeType],  # (1)
  1. See LoaContentTypeType

LoaTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import LoaTypeDef

def get_value() -> LoaTypeDef:
    return {
        "loaContent": ...,
    }
Definition
class LoaTypeDef(TypedDict):
    loaContent: NotRequired[bytes],
    loaContentType: NotRequired[LoaContentTypeType],  # (1)
  1. See LoaContentTypeType

DescribeConnectionsOnInterconnectRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeConnectionsOnInterconnectRequestRequestTypeDef

def get_value() -> DescribeConnectionsOnInterconnectRequestRequestTypeDef:
    return {
        "interconnectId": ...,
    }
Definition
class DescribeConnectionsOnInterconnectRequestRequestTypeDef(TypedDict):
    interconnectId: str,

DescribeConnectionsRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeConnectionsRequestRequestTypeDef

def get_value() -> DescribeConnectionsRequestRequestTypeDef:
    return {
        "connectionId": ...,
    }
Definition
class DescribeConnectionsRequestRequestTypeDef(TypedDict):
    connectionId: NotRequired[str],

DescribeDirectConnectGatewayAssociationProposalsRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAssociationProposalsRequestRequestTypeDef

def get_value() -> DescribeDirectConnectGatewayAssociationProposalsRequestRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
    }
Definition
class DescribeDirectConnectGatewayAssociationProposalsRequestRequestTypeDef(TypedDict):
    directConnectGatewayId: NotRequired[str],
    proposalId: NotRequired[str],
    associatedGatewayId: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

DescribeDirectConnectGatewayAssociationsRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAssociationsRequestRequestTypeDef

def get_value() -> DescribeDirectConnectGatewayAssociationsRequestRequestTypeDef:
    return {
        "associationId": ...,
    }
Definition
class DescribeDirectConnectGatewayAssociationsRequestRequestTypeDef(TypedDict):
    associationId: NotRequired[str],
    associatedGatewayId: NotRequired[str],
    directConnectGatewayId: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    virtualGatewayId: NotRequired[str],

DescribeDirectConnectGatewayAttachmentsRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAttachmentsRequestRequestTypeDef

def get_value() -> DescribeDirectConnectGatewayAttachmentsRequestRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
    }
Definition
class DescribeDirectConnectGatewayAttachmentsRequestRequestTypeDef(TypedDict):
    directConnectGatewayId: NotRequired[str],
    virtualInterfaceId: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

DirectConnectGatewayAttachmentTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DirectConnectGatewayAttachmentTypeDef

def get_value() -> DirectConnectGatewayAttachmentTypeDef:
    return {
        "directConnectGatewayId": ...,
    }
Definition
class DirectConnectGatewayAttachmentTypeDef(TypedDict):
    directConnectGatewayId: NotRequired[str],
    virtualInterfaceId: NotRequired[str],
    virtualInterfaceRegion: NotRequired[str],
    virtualInterfaceOwnerAccount: NotRequired[str],
    attachmentState: NotRequired[DirectConnectGatewayAttachmentStateType],  # (1)
    attachmentType: NotRequired[DirectConnectGatewayAttachmentTypeType],  # (2)
    stateChangeError: NotRequired[str],
  1. See DirectConnectGatewayAttachmentStateType
  2. See DirectConnectGatewayAttachmentTypeType

DescribeDirectConnectGatewaysRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewaysRequestRequestTypeDef

def get_value() -> DescribeDirectConnectGatewaysRequestRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
    }
Definition
class DescribeDirectConnectGatewaysRequestRequestTypeDef(TypedDict):
    directConnectGatewayId: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

DescribeHostedConnectionsRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeHostedConnectionsRequestRequestTypeDef

def get_value() -> DescribeHostedConnectionsRequestRequestTypeDef:
    return {
        "connectionId": ...,
    }
Definition
class DescribeHostedConnectionsRequestRequestTypeDef(TypedDict):
    connectionId: str,

DescribeInterconnectLoaRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeInterconnectLoaRequestRequestTypeDef

def get_value() -> DescribeInterconnectLoaRequestRequestTypeDef:
    return {
        "interconnectId": ...,
    }
Definition
class DescribeInterconnectLoaRequestRequestTypeDef(TypedDict):
    interconnectId: str,
    providerName: NotRequired[str],
    loaContentType: NotRequired[LoaContentTypeType],  # (1)
  1. See LoaContentTypeType

DescribeInterconnectsRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeInterconnectsRequestRequestTypeDef

def get_value() -> DescribeInterconnectsRequestRequestTypeDef:
    return {
        "interconnectId": ...,
    }
Definition
class DescribeInterconnectsRequestRequestTypeDef(TypedDict):
    interconnectId: NotRequired[str],

DescribeLagsRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeLagsRequestRequestTypeDef

def get_value() -> DescribeLagsRequestRequestTypeDef:
    return {
        "lagId": ...,
    }
Definition
class DescribeLagsRequestRequestTypeDef(TypedDict):
    lagId: NotRequired[str],

DescribeLoaRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeLoaRequestRequestTypeDef

def get_value() -> DescribeLoaRequestRequestTypeDef:
    return {
        "connectionId": ...,
    }
Definition
class DescribeLoaRequestRequestTypeDef(TypedDict):
    connectionId: str,
    providerName: NotRequired[str],
    loaContentType: NotRequired[LoaContentTypeType],  # (1)
  1. See LoaContentTypeType

DescribeRouterConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeRouterConfigurationRequestRequestTypeDef

def get_value() -> DescribeRouterConfigurationRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }
Definition
class DescribeRouterConfigurationRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,
    routerTypeIdentifier: NotRequired[str],

RouterTypeTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import RouterTypeTypeDef

def get_value() -> RouterTypeTypeDef:
    return {
        "vendor": ...,
    }
Definition
class RouterTypeTypeDef(TypedDict):
    vendor: NotRequired[str],
    platform: NotRequired[str],
    software: NotRequired[str],
    xsltTemplateName: NotRequired[str],
    xsltTemplateNameForMacSec: NotRequired[str],
    routerTypeIdentifier: NotRequired[str],

DescribeTagsRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeTagsRequestRequestTypeDef

def get_value() -> DescribeTagsRequestRequestTypeDef:
    return {
        "resourceArns": ...,
    }
Definition
class DescribeTagsRequestRequestTypeDef(TypedDict):
    resourceArns: Sequence[str],

DescribeVirtualInterfacesRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeVirtualInterfacesRequestRequestTypeDef

def get_value() -> DescribeVirtualInterfacesRequestRequestTypeDef:
    return {
        "connectionId": ...,
    }
Definition
class DescribeVirtualInterfacesRequestRequestTypeDef(TypedDict):
    connectionId: NotRequired[str],
    virtualInterfaceId: NotRequired[str],

DisassociateConnectionFromLagRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DisassociateConnectionFromLagRequestRequestTypeDef

def get_value() -> DisassociateConnectionFromLagRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "lagId": ...,
    }
Definition
class DisassociateConnectionFromLagRequestRequestTypeDef(TypedDict):
    connectionId: str,
    lagId: str,

DisassociateMacSecKeyRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DisassociateMacSecKeyRequestRequestTypeDef

def get_value() -> DisassociateMacSecKeyRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "secretARN": ...,
    }
Definition
class DisassociateMacSecKeyRequestRequestTypeDef(TypedDict):
    connectionId: str,
    secretARN: str,

ListVirtualInterfaceTestHistoryRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import ListVirtualInterfaceTestHistoryRequestRequestTypeDef

def get_value() -> ListVirtualInterfaceTestHistoryRequestRequestTypeDef:
    return {
        "testId": ...,
    }
Definition
class ListVirtualInterfaceTestHistoryRequestRequestTypeDef(TypedDict):
    testId: NotRequired[str],
    virtualInterfaceId: NotRequired[str],
    bgpPeers: NotRequired[Sequence[str]],
    status: NotRequired[str],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

VirtualInterfaceTestHistoryTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import VirtualInterfaceTestHistoryTypeDef

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

Usage Example
from mypy_boto3_directconnect.type_defs import LocationTypeDef

def get_value() -> LocationTypeDef:
    return {
        "locationCode": ...,
    }
Definition
class LocationTypeDef(TypedDict):
    locationCode: NotRequired[str],
    locationName: NotRequired[str],
    region: NotRequired[str],
    availablePortSpeeds: NotRequired[List[str]],
    availableProviders: NotRequired[List[str]],
    availableMacSecPortSpeeds: NotRequired[List[str]],

StartBgpFailoverTestRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import StartBgpFailoverTestRequestRequestTypeDef

def get_value() -> StartBgpFailoverTestRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }
Definition
class StartBgpFailoverTestRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,
    bgpPeers: NotRequired[Sequence[str]],
    testDurationInMinutes: NotRequired[int],

StopBgpFailoverTestRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import StopBgpFailoverTestRequestRequestTypeDef

def get_value() -> StopBgpFailoverTestRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }
Definition
class StopBgpFailoverTestRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tagKeys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

UpdateConnectionRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import UpdateConnectionRequestRequestTypeDef

def get_value() -> UpdateConnectionRequestRequestTypeDef:
    return {
        "connectionId": ...,
    }
Definition
class UpdateConnectionRequestRequestTypeDef(TypedDict):
    connectionId: str,
    connectionName: NotRequired[str],
    encryptionMode: NotRequired[str],

UpdateDirectConnectGatewayRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import UpdateDirectConnectGatewayRequestRequestTypeDef

def get_value() -> UpdateDirectConnectGatewayRequestRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
        "newDirectConnectGatewayName": ...,
    }
Definition
class UpdateDirectConnectGatewayRequestRequestTypeDef(TypedDict):
    directConnectGatewayId: str,
    newDirectConnectGatewayName: str,

UpdateLagRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import UpdateLagRequestRequestTypeDef

def get_value() -> UpdateLagRequestRequestTypeDef:
    return {
        "lagId": ...,
    }
Definition
class UpdateLagRequestRequestTypeDef(TypedDict):
    lagId: str,
    lagName: NotRequired[str],
    minimumLinks: NotRequired[int],
    encryptionMode: NotRequired[str],

UpdateVirtualInterfaceAttributesRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import UpdateVirtualInterfaceAttributesRequestRequestTypeDef

def get_value() -> UpdateVirtualInterfaceAttributesRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }
Definition
class UpdateVirtualInterfaceAttributesRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: str,
    mtu: NotRequired[int],
    enableSiteLink: NotRequired[bool],
    virtualInterfaceName: NotRequired[str],

VirtualGatewayTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import VirtualGatewayTypeDef

def get_value() -> VirtualGatewayTypeDef:
    return {
        "virtualGatewayId": ...,
    }
Definition
class VirtualGatewayTypeDef(TypedDict):
    virtualGatewayId: NotRequired[str],
    virtualGatewayState: NotRequired[str],

AcceptDirectConnectGatewayAssociationProposalRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import AcceptDirectConnectGatewayAssociationProposalRequestRequestTypeDef

def get_value() -> AcceptDirectConnectGatewayAssociationProposalRequestRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
        "proposalId": ...,
        "associatedGatewayOwnerAccount": ...,
    }
Definition
class AcceptDirectConnectGatewayAssociationProposalRequestRequestTypeDef(TypedDict):
    directConnectGatewayId: str,
    proposalId: str,
    associatedGatewayOwnerAccount: str,
    overrideAllowedPrefixesToDirectConnectGateway: NotRequired[Sequence[RouteFilterPrefixTypeDef]],  # (1)
  1. See RouteFilterPrefixTypeDef

CreateDirectConnectGatewayAssociationProposalRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import CreateDirectConnectGatewayAssociationProposalRequestRequestTypeDef

def get_value() -> CreateDirectConnectGatewayAssociationProposalRequestRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
        "directConnectGatewayOwnerAccount": ...,
        "gatewayId": ...,
    }
Definition
class CreateDirectConnectGatewayAssociationProposalRequestRequestTypeDef(TypedDict):
    directConnectGatewayId: str,
    directConnectGatewayOwnerAccount: str,
    gatewayId: str,
    addAllowedPrefixesToDirectConnectGateway: NotRequired[Sequence[RouteFilterPrefixTypeDef]],  # (1)
    removeAllowedPrefixesToDirectConnectGateway: NotRequired[Sequence[RouteFilterPrefixTypeDef]],  # (1)
  1. See RouteFilterPrefixTypeDef
  2. See RouteFilterPrefixTypeDef

CreateDirectConnectGatewayAssociationRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import CreateDirectConnectGatewayAssociationRequestRequestTypeDef

def get_value() -> CreateDirectConnectGatewayAssociationRequestRequestTypeDef:
    return {
        "directConnectGatewayId": ...,
    }
Definition
class CreateDirectConnectGatewayAssociationRequestRequestTypeDef(TypedDict):
    directConnectGatewayId: str,
    gatewayId: NotRequired[str],
    addAllowedPrefixesToDirectConnectGateway: NotRequired[Sequence[RouteFilterPrefixTypeDef]],  # (1)
    virtualGatewayId: NotRequired[str],
  1. See RouteFilterPrefixTypeDef

UpdateDirectConnectGatewayAssociationRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import UpdateDirectConnectGatewayAssociationRequestRequestTypeDef

def get_value() -> UpdateDirectConnectGatewayAssociationRequestRequestTypeDef:
    return {
        "associationId": ...,
    }
Definition
class UpdateDirectConnectGatewayAssociationRequestRequestTypeDef(TypedDict):
    associationId: NotRequired[str],
    addAllowedPrefixesToDirectConnectGateway: NotRequired[Sequence[RouteFilterPrefixTypeDef]],  # (1)
    removeAllowedPrefixesToDirectConnectGateway: NotRequired[Sequence[RouteFilterPrefixTypeDef]],  # (1)
  1. See RouteFilterPrefixTypeDef
  2. See RouteFilterPrefixTypeDef

ConfirmConnectionResponseTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import ConfirmConnectionResponseTypeDef

def get_value() -> ConfirmConnectionResponseTypeDef:
    return {
        "connectionState": ...,
        "ResponseMetadata": ...,
    }
Definition
class ConfirmConnectionResponseTypeDef(TypedDict):
    connectionState: ConnectionStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ConnectionStateType
  2. See ResponseMetadataTypeDef

ConfirmCustomerAgreementResponseTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import ConfirmCustomerAgreementResponseTypeDef

def get_value() -> ConfirmCustomerAgreementResponseTypeDef:
    return {
        "status": ...,
        "ResponseMetadata": ...,
    }
Definition
class ConfirmCustomerAgreementResponseTypeDef(TypedDict):
    status: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ConfirmPrivateVirtualInterfaceResponseTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import ConfirmPrivateVirtualInterfaceResponseTypeDef

def get_value() -> ConfirmPrivateVirtualInterfaceResponseTypeDef:
    return {
        "virtualInterfaceState": ...,
        "ResponseMetadata": ...,
    }
Definition
class ConfirmPrivateVirtualInterfaceResponseTypeDef(TypedDict):
    virtualInterfaceState: VirtualInterfaceStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceStateType
  2. See ResponseMetadataTypeDef

ConfirmPublicVirtualInterfaceResponseTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import ConfirmPublicVirtualInterfaceResponseTypeDef

def get_value() -> ConfirmPublicVirtualInterfaceResponseTypeDef:
    return {
        "virtualInterfaceState": ...,
        "ResponseMetadata": ...,
    }
Definition
class ConfirmPublicVirtualInterfaceResponseTypeDef(TypedDict):
    virtualInterfaceState: VirtualInterfaceStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceStateType
  2. See ResponseMetadataTypeDef

ConfirmTransitVirtualInterfaceResponseTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import ConfirmTransitVirtualInterfaceResponseTypeDef

def get_value() -> ConfirmTransitVirtualInterfaceResponseTypeDef:
    return {
        "virtualInterfaceState": ...,
        "ResponseMetadata": ...,
    }
Definition
class ConfirmTransitVirtualInterfaceResponseTypeDef(TypedDict):
    virtualInterfaceState: VirtualInterfaceStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceStateType
  2. See ResponseMetadataTypeDef

DeleteInterconnectResponseTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DeleteInterconnectResponseTypeDef

def get_value() -> DeleteInterconnectResponseTypeDef:
    return {
        "interconnectState": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteInterconnectResponseTypeDef(TypedDict):
    interconnectState: InterconnectStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InterconnectStateType
  2. See ResponseMetadataTypeDef

DeleteVirtualInterfaceResponseTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DeleteVirtualInterfaceResponseTypeDef

def get_value() -> DeleteVirtualInterfaceResponseTypeDef:
    return {
        "virtualInterfaceState": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteVirtualInterfaceResponseTypeDef(TypedDict):
    virtualInterfaceState: VirtualInterfaceStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceStateType
  2. See ResponseMetadataTypeDef

LoaResponseMetadataTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import LoaResponseMetadataTypeDef

def get_value() -> LoaResponseMetadataTypeDef:
    return {
        "loaContent": ...,
        "loaContentType": ...,
        "ResponseMetadata": ...,
    }
Definition
class LoaResponseMetadataTypeDef(TypedDict):
    loaContent: bytes,
    loaContentType: LoaContentTypeType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoaContentTypeType
  2. See ResponseMetadataTypeDef

AllocateHostedConnectionRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import AllocateHostedConnectionRequestRequestTypeDef

def get_value() -> AllocateHostedConnectionRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "ownerAccount": ...,
        "bandwidth": ...,
        "connectionName": ...,
        "vlan": ...,
    }
Definition
class AllocateHostedConnectionRequestRequestTypeDef(TypedDict):
    connectionId: str,
    ownerAccount: str,
    bandwidth: str,
    connectionName: str,
    vlan: int,
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

CreateConnectionRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import CreateConnectionRequestRequestTypeDef

def get_value() -> CreateConnectionRequestRequestTypeDef:
    return {
        "location": ...,
        "bandwidth": ...,
        "connectionName": ...,
    }
Definition
class CreateConnectionRequestRequestTypeDef(TypedDict):
    location: str,
    bandwidth: str,
    connectionName: str,
    lagId: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
    providerName: NotRequired[str],
    requestMACSec: NotRequired[bool],
  1. See TagTypeDef

CreateInterconnectRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import CreateInterconnectRequestRequestTypeDef

def get_value() -> CreateInterconnectRequestRequestTypeDef:
    return {
        "interconnectName": ...,
        "bandwidth": ...,
        "location": ...,
    }
Definition
class CreateInterconnectRequestRequestTypeDef(TypedDict):
    interconnectName: str,
    bandwidth: str,
    location: str,
    lagId: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
    providerName: NotRequired[str],
  1. See TagTypeDef

CreateLagRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import CreateLagRequestRequestTypeDef

def get_value() -> CreateLagRequestRequestTypeDef:
    return {
        "numberOfConnections": ...,
        "location": ...,
        "connectionsBandwidth": ...,
        "lagName": ...,
    }
Definition
class CreateLagRequestRequestTypeDef(TypedDict):
    numberOfConnections: int,
    location: str,
    connectionsBandwidth: str,
    lagName: str,
    connectionId: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
    childConnectionTags: NotRequired[Sequence[TagTypeDef]],  # (1)
    providerName: NotRequired[str],
    requestMACSec: NotRequired[bool],
  1. See TagTypeDef
  2. See TagTypeDef

InterconnectResponseMetadataTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import InterconnectResponseMetadataTypeDef

def get_value() -> InterconnectResponseMetadataTypeDef:
    return {
        "interconnectId": ...,
        "interconnectName": ...,
        "interconnectState": ...,
        "region": ...,
        "location": ...,
        "bandwidth": ...,
        "loaIssueTime": ...,
        "lagId": ...,
        "awsDevice": ...,
        "jumboFrameCapable": ...,
        "awsDeviceV2": ...,
        "awsLogicalDeviceId": ...,
        "hasLogicalRedundancy": ...,
        "tags": ...,
        "providerName": ...,
        "ResponseMetadata": ...,
    }
Definition
class InterconnectResponseMetadataTypeDef(TypedDict):
    interconnectId: str,
    interconnectName: str,
    interconnectState: InterconnectStateType,  # (1)
    region: str,
    location: str,
    bandwidth: str,
    loaIssueTime: datetime,
    lagId: str,
    awsDevice: str,
    jumboFrameCapable: bool,
    awsDeviceV2: str,
    awsLogicalDeviceId: str,
    hasLogicalRedundancy: HasLogicalRedundancyType,  # (2)
    tags: List[TagTypeDef],  # (3)
    providerName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See InterconnectStateType
  2. See HasLogicalRedundancyType
  3. See TagTypeDef
  4. See ResponseMetadataTypeDef

InterconnectTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import InterconnectTypeDef

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

Usage Example
from mypy_boto3_directconnect.type_defs import NewPrivateVirtualInterfaceAllocationTypeDef

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

Usage Example
from mypy_boto3_directconnect.type_defs import NewPrivateVirtualInterfaceTypeDef

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

Usage Example
from mypy_boto3_directconnect.type_defs import NewPublicVirtualInterfaceAllocationTypeDef

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

Usage Example
from mypy_boto3_directconnect.type_defs import NewPublicVirtualInterfaceTypeDef

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

Usage Example
from mypy_boto3_directconnect.type_defs import NewTransitVirtualInterfaceAllocationTypeDef

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

Usage Example
from mypy_boto3_directconnect.type_defs import NewTransitVirtualInterfaceTypeDef

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

Usage Example
from mypy_boto3_directconnect.type_defs import ResourceTagTypeDef

def get_value() -> ResourceTagTypeDef:
    return {
        "resourceArn": ...,
    }
Definition
class ResourceTagTypeDef(TypedDict):
    resourceArn: NotRequired[str],
    tags: NotRequired[List[TagTypeDef]],  # (1)
  1. See TagTypeDef

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

AssociateMacSecKeyResponseTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import AssociateMacSecKeyResponseTypeDef

def get_value() -> AssociateMacSecKeyResponseTypeDef:
    return {
        "connectionId": ...,
        "macSecKeys": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateMacSecKeyResponseTypeDef(TypedDict):
    connectionId: str,
    macSecKeys: List[MacSecKeyTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See MacSecKeyTypeDef
  2. See ResponseMetadataTypeDef

ConnectionResponseMetadataTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import ConnectionResponseMetadataTypeDef

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

ConnectionTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import ConnectionTypeDef

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

Usage Example
from mypy_boto3_directconnect.type_defs import DisassociateMacSecKeyResponseTypeDef

def get_value() -> DisassociateMacSecKeyResponseTypeDef:
    return {
        "connectionId": ...,
        "macSecKeys": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisassociateMacSecKeyResponseTypeDef(TypedDict):
    connectionId: str,
    macSecKeys: List[MacSecKeyTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See MacSecKeyTypeDef
  2. See ResponseMetadataTypeDef

DirectConnectGatewayAssociationProposalTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DirectConnectGatewayAssociationProposalTypeDef

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

Usage Example
from mypy_boto3_directconnect.type_defs import DirectConnectGatewayAssociationTypeDef

def get_value() -> DirectConnectGatewayAssociationTypeDef:
    return {
        "directConnectGatewayId": ...,
    }
Definition
class DirectConnectGatewayAssociationTypeDef(TypedDict):
    directConnectGatewayId: NotRequired[str],
    directConnectGatewayOwnerAccount: NotRequired[str],
    associationState: NotRequired[DirectConnectGatewayAssociationStateType],  # (1)
    stateChangeError: NotRequired[str],
    associatedGateway: NotRequired[AssociatedGatewayTypeDef],  # (2)
    associationId: NotRequired[str],
    allowedPrefixesToDirectConnectGateway: NotRequired[List[RouteFilterPrefixTypeDef]],  # (3)
    virtualGatewayId: NotRequired[str],
    virtualGatewayRegion: NotRequired[str],
    virtualGatewayOwnerAccount: NotRequired[str],
  1. See DirectConnectGatewayAssociationStateType
  2. See AssociatedGatewayTypeDef
  3. See RouteFilterPrefixTypeDef

VirtualInterfaceResponseMetadataTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import VirtualInterfaceResponseMetadataTypeDef

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

VirtualInterfaceTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import VirtualInterfaceTypeDef

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

CreateBGPPeerRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import CreateBGPPeerRequestRequestTypeDef

def get_value() -> CreateBGPPeerRequestRequestTypeDef:
    return {
        "virtualInterfaceId": ...,
    }
Definition
class CreateBGPPeerRequestRequestTypeDef(TypedDict):
    virtualInterfaceId: NotRequired[str],
    newBGPPeer: NotRequired[NewBGPPeerTypeDef],  # (1)
  1. See NewBGPPeerTypeDef

CreateDirectConnectGatewayResultTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import CreateDirectConnectGatewayResultTypeDef

def get_value() -> CreateDirectConnectGatewayResultTypeDef:
    return {
        "directConnectGateway": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateDirectConnectGatewayResultTypeDef(TypedDict):
    directConnectGateway: DirectConnectGatewayTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayTypeDef
  2. See ResponseMetadataTypeDef

DeleteDirectConnectGatewayResultTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DeleteDirectConnectGatewayResultTypeDef

def get_value() -> DeleteDirectConnectGatewayResultTypeDef:
    return {
        "directConnectGateway": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteDirectConnectGatewayResultTypeDef(TypedDict):
    directConnectGateway: DirectConnectGatewayTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayTypeDef
  2. See ResponseMetadataTypeDef

DescribeDirectConnectGatewaysResultTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewaysResultTypeDef

def get_value() -> DescribeDirectConnectGatewaysResultTypeDef:
    return {
        "directConnectGateways": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeDirectConnectGatewaysResultTypeDef(TypedDict):
    directConnectGateways: List[DirectConnectGatewayTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayTypeDef
  2. See ResponseMetadataTypeDef

UpdateDirectConnectGatewayResponseTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import UpdateDirectConnectGatewayResponseTypeDef

def get_value() -> UpdateDirectConnectGatewayResponseTypeDef:
    return {
        "directConnectGateway": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateDirectConnectGatewayResponseTypeDef(TypedDict):
    directConnectGateway: DirectConnectGatewayTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayTypeDef
  2. See ResponseMetadataTypeDef

DescribeCustomerMetadataResponseTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeCustomerMetadataResponseTypeDef

def get_value() -> DescribeCustomerMetadataResponseTypeDef:
    return {
        "agreements": ...,
        "nniPartnerType": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeCustomerMetadataResponseTypeDef(TypedDict):
    agreements: List[CustomerAgreementTypeDef],  # (1)
    nniPartnerType: NniPartnerTypeType,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See CustomerAgreementTypeDef
  2. See NniPartnerTypeType
  3. See ResponseMetadataTypeDef

DescribeConnectionLoaResponseTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeConnectionLoaResponseTypeDef

def get_value() -> DescribeConnectionLoaResponseTypeDef:
    return {
        "loa": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeConnectionLoaResponseTypeDef(TypedDict):
    loa: LoaTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoaTypeDef
  2. See ResponseMetadataTypeDef

DescribeInterconnectLoaResponseTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeInterconnectLoaResponseTypeDef

def get_value() -> DescribeInterconnectLoaResponseTypeDef:
    return {
        "loa": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeInterconnectLoaResponseTypeDef(TypedDict):
    loa: LoaTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoaTypeDef
  2. See ResponseMetadataTypeDef

DescribeDirectConnectGatewayAssociationsRequestDescribeDirectConnectGatewayAssociationsPaginateTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAssociationsRequestDescribeDirectConnectGatewayAssociationsPaginateTypeDef

def get_value() -> DescribeDirectConnectGatewayAssociationsRequestDescribeDirectConnectGatewayAssociationsPaginateTypeDef:
    return {
        "associationId": ...,
    }
Definition
class DescribeDirectConnectGatewayAssociationsRequestDescribeDirectConnectGatewayAssociationsPaginateTypeDef(TypedDict):
    associationId: NotRequired[str],
    associatedGatewayId: NotRequired[str],
    directConnectGatewayId: NotRequired[str],
    virtualGatewayId: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeDirectConnectGatewayAttachmentsRequestDescribeDirectConnectGatewayAttachmentsPaginateTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAttachmentsRequestDescribeDirectConnectGatewayAttachmentsPaginateTypeDef

def get_value() -> DescribeDirectConnectGatewayAttachmentsRequestDescribeDirectConnectGatewayAttachmentsPaginateTypeDef:
    return {
        "directConnectGatewayId": ...,
    }
Definition
class DescribeDirectConnectGatewayAttachmentsRequestDescribeDirectConnectGatewayAttachmentsPaginateTypeDef(TypedDict):
    directConnectGatewayId: NotRequired[str],
    virtualInterfaceId: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeDirectConnectGatewaysRequestDescribeDirectConnectGatewaysPaginateTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewaysRequestDescribeDirectConnectGatewaysPaginateTypeDef

def get_value() -> DescribeDirectConnectGatewaysRequestDescribeDirectConnectGatewaysPaginateTypeDef:
    return {
        "directConnectGatewayId": ...,
    }
Definition
class DescribeDirectConnectGatewaysRequestDescribeDirectConnectGatewaysPaginateTypeDef(TypedDict):
    directConnectGatewayId: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeDirectConnectGatewayAttachmentsResultTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAttachmentsResultTypeDef

def get_value() -> DescribeDirectConnectGatewayAttachmentsResultTypeDef:
    return {
        "directConnectGatewayAttachments": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeDirectConnectGatewayAttachmentsResultTypeDef(TypedDict):
    directConnectGatewayAttachments: List[DirectConnectGatewayAttachmentTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayAttachmentTypeDef
  2. See ResponseMetadataTypeDef

DescribeRouterConfigurationResponseTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeRouterConfigurationResponseTypeDef

def get_value() -> DescribeRouterConfigurationResponseTypeDef:
    return {
        "customerRouterConfig": ...,
        "router": ...,
        "virtualInterfaceId": ...,
        "virtualInterfaceName": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeRouterConfigurationResponseTypeDef(TypedDict):
    customerRouterConfig: str,
    router: RouterTypeTypeDef,  # (1)
    virtualInterfaceId: str,
    virtualInterfaceName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RouterTypeTypeDef
  2. See ResponseMetadataTypeDef

ListVirtualInterfaceTestHistoryResponseTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import ListVirtualInterfaceTestHistoryResponseTypeDef

def get_value() -> ListVirtualInterfaceTestHistoryResponseTypeDef:
    return {
        "virtualInterfaceTestHistory": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListVirtualInterfaceTestHistoryResponseTypeDef(TypedDict):
    virtualInterfaceTestHistory: List[VirtualInterfaceTestHistoryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceTestHistoryTypeDef
  2. See ResponseMetadataTypeDef

StartBgpFailoverTestResponseTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import StartBgpFailoverTestResponseTypeDef

def get_value() -> StartBgpFailoverTestResponseTypeDef:
    return {
        "virtualInterfaceTest": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartBgpFailoverTestResponseTypeDef(TypedDict):
    virtualInterfaceTest: VirtualInterfaceTestHistoryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceTestHistoryTypeDef
  2. See ResponseMetadataTypeDef

StopBgpFailoverTestResponseTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import StopBgpFailoverTestResponseTypeDef

def get_value() -> StopBgpFailoverTestResponseTypeDef:
    return {
        "virtualInterfaceTest": ...,
        "ResponseMetadata": ...,
    }
Definition
class StopBgpFailoverTestResponseTypeDef(TypedDict):
    virtualInterfaceTest: VirtualInterfaceTestHistoryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceTestHistoryTypeDef
  2. See ResponseMetadataTypeDef

LocationsTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import LocationsTypeDef

def get_value() -> LocationsTypeDef:
    return {
        "locations": ...,
        "ResponseMetadata": ...,
    }
Definition
class LocationsTypeDef(TypedDict):
    locations: List[LocationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LocationTypeDef
  2. See ResponseMetadataTypeDef

VirtualGatewaysTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import VirtualGatewaysTypeDef

def get_value() -> VirtualGatewaysTypeDef:
    return {
        "virtualGateways": ...,
        "ResponseMetadata": ...,
    }
Definition
class VirtualGatewaysTypeDef(TypedDict):
    virtualGateways: List[VirtualGatewayTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualGatewayTypeDef
  2. See ResponseMetadataTypeDef

InterconnectsTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import InterconnectsTypeDef

def get_value() -> InterconnectsTypeDef:
    return {
        "interconnects": ...,
        "ResponseMetadata": ...,
    }
Definition
class InterconnectsTypeDef(TypedDict):
    interconnects: List[InterconnectTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InterconnectTypeDef
  2. See ResponseMetadataTypeDef

AllocatePrivateVirtualInterfaceRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import AllocatePrivateVirtualInterfaceRequestRequestTypeDef

def get_value() -> AllocatePrivateVirtualInterfaceRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "ownerAccount": ...,
        "newPrivateVirtualInterfaceAllocation": ...,
    }
Definition
class AllocatePrivateVirtualInterfaceRequestRequestTypeDef(TypedDict):
    connectionId: str,
    ownerAccount: str,
    newPrivateVirtualInterfaceAllocation: NewPrivateVirtualInterfaceAllocationTypeDef,  # (1)
  1. See NewPrivateVirtualInterfaceAllocationTypeDef

CreatePrivateVirtualInterfaceRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import CreatePrivateVirtualInterfaceRequestRequestTypeDef

def get_value() -> CreatePrivateVirtualInterfaceRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "newPrivateVirtualInterface": ...,
    }
Definition
class CreatePrivateVirtualInterfaceRequestRequestTypeDef(TypedDict):
    connectionId: str,
    newPrivateVirtualInterface: NewPrivateVirtualInterfaceTypeDef,  # (1)
  1. See NewPrivateVirtualInterfaceTypeDef

AllocatePublicVirtualInterfaceRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import AllocatePublicVirtualInterfaceRequestRequestTypeDef

def get_value() -> AllocatePublicVirtualInterfaceRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "ownerAccount": ...,
        "newPublicVirtualInterfaceAllocation": ...,
    }
Definition
class AllocatePublicVirtualInterfaceRequestRequestTypeDef(TypedDict):
    connectionId: str,
    ownerAccount: str,
    newPublicVirtualInterfaceAllocation: NewPublicVirtualInterfaceAllocationTypeDef,  # (1)
  1. See NewPublicVirtualInterfaceAllocationTypeDef

CreatePublicVirtualInterfaceRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import CreatePublicVirtualInterfaceRequestRequestTypeDef

def get_value() -> CreatePublicVirtualInterfaceRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "newPublicVirtualInterface": ...,
    }
Definition
class CreatePublicVirtualInterfaceRequestRequestTypeDef(TypedDict):
    connectionId: str,
    newPublicVirtualInterface: NewPublicVirtualInterfaceTypeDef,  # (1)
  1. See NewPublicVirtualInterfaceTypeDef

AllocateTransitVirtualInterfaceRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import AllocateTransitVirtualInterfaceRequestRequestTypeDef

def get_value() -> AllocateTransitVirtualInterfaceRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "ownerAccount": ...,
        "newTransitVirtualInterfaceAllocation": ...,
    }
Definition
class AllocateTransitVirtualInterfaceRequestRequestTypeDef(TypedDict):
    connectionId: str,
    ownerAccount: str,
    newTransitVirtualInterfaceAllocation: NewTransitVirtualInterfaceAllocationTypeDef,  # (1)
  1. See NewTransitVirtualInterfaceAllocationTypeDef

CreateTransitVirtualInterfaceRequestRequestTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import CreateTransitVirtualInterfaceRequestRequestTypeDef

def get_value() -> CreateTransitVirtualInterfaceRequestRequestTypeDef:
    return {
        "connectionId": ...,
        "newTransitVirtualInterface": ...,
    }
Definition
class CreateTransitVirtualInterfaceRequestRequestTypeDef(TypedDict):
    connectionId: str,
    newTransitVirtualInterface: NewTransitVirtualInterfaceTypeDef,  # (1)
  1. See NewTransitVirtualInterfaceTypeDef

DescribeTagsResponseTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeTagsResponseTypeDef

def get_value() -> DescribeTagsResponseTypeDef:
    return {
        "resourceTags": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTagsResponseTypeDef(TypedDict):
    resourceTags: List[ResourceTagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ResourceTagTypeDef
  2. See ResponseMetadataTypeDef

ConnectionsTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import ConnectionsTypeDef

def get_value() -> ConnectionsTypeDef:
    return {
        "connections": ...,
        "ResponseMetadata": ...,
    }
Definition
class ConnectionsTypeDef(TypedDict):
    connections: List[ConnectionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ConnectionTypeDef
  2. See ResponseMetadataTypeDef

LagResponseMetadataTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import LagResponseMetadataTypeDef

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

LagTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import LagTypeDef

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

Usage Example
from mypy_boto3_directconnect.type_defs import CreateDirectConnectGatewayAssociationProposalResultTypeDef

def get_value() -> CreateDirectConnectGatewayAssociationProposalResultTypeDef:
    return {
        "directConnectGatewayAssociationProposal": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateDirectConnectGatewayAssociationProposalResultTypeDef(TypedDict):
    directConnectGatewayAssociationProposal: DirectConnectGatewayAssociationProposalTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayAssociationProposalTypeDef
  2. See ResponseMetadataTypeDef

DeleteDirectConnectGatewayAssociationProposalResultTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DeleteDirectConnectGatewayAssociationProposalResultTypeDef

def get_value() -> DeleteDirectConnectGatewayAssociationProposalResultTypeDef:
    return {
        "directConnectGatewayAssociationProposal": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteDirectConnectGatewayAssociationProposalResultTypeDef(TypedDict):
    directConnectGatewayAssociationProposal: DirectConnectGatewayAssociationProposalTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayAssociationProposalTypeDef
  2. See ResponseMetadataTypeDef

DescribeDirectConnectGatewayAssociationProposalsResultTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAssociationProposalsResultTypeDef

def get_value() -> DescribeDirectConnectGatewayAssociationProposalsResultTypeDef:
    return {
        "directConnectGatewayAssociationProposals": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeDirectConnectGatewayAssociationProposalsResultTypeDef(TypedDict):
    directConnectGatewayAssociationProposals: List[DirectConnectGatewayAssociationProposalTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayAssociationProposalTypeDef
  2. See ResponseMetadataTypeDef

AcceptDirectConnectGatewayAssociationProposalResultTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import AcceptDirectConnectGatewayAssociationProposalResultTypeDef

def get_value() -> AcceptDirectConnectGatewayAssociationProposalResultTypeDef:
    return {
        "directConnectGatewayAssociation": ...,
        "ResponseMetadata": ...,
    }
Definition
class AcceptDirectConnectGatewayAssociationProposalResultTypeDef(TypedDict):
    directConnectGatewayAssociation: DirectConnectGatewayAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayAssociationTypeDef
  2. See ResponseMetadataTypeDef

CreateDirectConnectGatewayAssociationResultTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import CreateDirectConnectGatewayAssociationResultTypeDef

def get_value() -> CreateDirectConnectGatewayAssociationResultTypeDef:
    return {
        "directConnectGatewayAssociation": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateDirectConnectGatewayAssociationResultTypeDef(TypedDict):
    directConnectGatewayAssociation: DirectConnectGatewayAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayAssociationTypeDef
  2. See ResponseMetadataTypeDef

DeleteDirectConnectGatewayAssociationResultTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DeleteDirectConnectGatewayAssociationResultTypeDef

def get_value() -> DeleteDirectConnectGatewayAssociationResultTypeDef:
    return {
        "directConnectGatewayAssociation": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteDirectConnectGatewayAssociationResultTypeDef(TypedDict):
    directConnectGatewayAssociation: DirectConnectGatewayAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayAssociationTypeDef
  2. See ResponseMetadataTypeDef

DescribeDirectConnectGatewayAssociationsResultTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DescribeDirectConnectGatewayAssociationsResultTypeDef

def get_value() -> DescribeDirectConnectGatewayAssociationsResultTypeDef:
    return {
        "directConnectGatewayAssociations": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeDirectConnectGatewayAssociationsResultTypeDef(TypedDict):
    directConnectGatewayAssociations: List[DirectConnectGatewayAssociationTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayAssociationTypeDef
  2. See ResponseMetadataTypeDef

UpdateDirectConnectGatewayAssociationResultTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import UpdateDirectConnectGatewayAssociationResultTypeDef

def get_value() -> UpdateDirectConnectGatewayAssociationResultTypeDef:
    return {
        "directConnectGatewayAssociation": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateDirectConnectGatewayAssociationResultTypeDef(TypedDict):
    directConnectGatewayAssociation: DirectConnectGatewayAssociationTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DirectConnectGatewayAssociationTypeDef
  2. See ResponseMetadataTypeDef

AllocateTransitVirtualInterfaceResultTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import AllocateTransitVirtualInterfaceResultTypeDef

def get_value() -> AllocateTransitVirtualInterfaceResultTypeDef:
    return {
        "virtualInterface": ...,
        "ResponseMetadata": ...,
    }
Definition
class AllocateTransitVirtualInterfaceResultTypeDef(TypedDict):
    virtualInterface: VirtualInterfaceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceTypeDef
  2. See ResponseMetadataTypeDef

CreateBGPPeerResponseTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import CreateBGPPeerResponseTypeDef

def get_value() -> CreateBGPPeerResponseTypeDef:
    return {
        "virtualInterface": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateBGPPeerResponseTypeDef(TypedDict):
    virtualInterface: VirtualInterfaceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceTypeDef
  2. See ResponseMetadataTypeDef

CreateTransitVirtualInterfaceResultTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import CreateTransitVirtualInterfaceResultTypeDef

def get_value() -> CreateTransitVirtualInterfaceResultTypeDef:
    return {
        "virtualInterface": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateTransitVirtualInterfaceResultTypeDef(TypedDict):
    virtualInterface: VirtualInterfaceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceTypeDef
  2. See ResponseMetadataTypeDef

DeleteBGPPeerResponseTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import DeleteBGPPeerResponseTypeDef

def get_value() -> DeleteBGPPeerResponseTypeDef:
    return {
        "virtualInterface": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteBGPPeerResponseTypeDef(TypedDict):
    virtualInterface: VirtualInterfaceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceTypeDef
  2. See ResponseMetadataTypeDef

VirtualInterfacesTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import VirtualInterfacesTypeDef

def get_value() -> VirtualInterfacesTypeDef:
    return {
        "virtualInterfaces": ...,
        "ResponseMetadata": ...,
    }
Definition
class VirtualInterfacesTypeDef(TypedDict):
    virtualInterfaces: List[VirtualInterfaceTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VirtualInterfaceTypeDef
  2. See ResponseMetadataTypeDef

LagsTypeDef

Usage Example
from mypy_boto3_directconnect.type_defs import LagsTypeDef

def get_value() -> LagsTypeDef:
    return {
        "lags": ...,
        "ResponseMetadata": ...,
    }
Definition
class LagsTypeDef(TypedDict):
    lags: List[LagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LagTypeDef
  2. See ResponseMetadataTypeDef