Literals#
Index > DirectConnect > Literals
Auto-generated documentation for DirectConnect type annotations stubs module mypy-boto3-directconnect.
AddressFamilyType#
# AddressFamilyType usage example
from mypy_boto3_directconnect.literals import AddressFamilyType
def get_value() -> AddressFamilyType:
return "ipv4"
# AddressFamilyType definition
AddressFamilyType = Literal[
"ipv4",
"ipv6",
]
BGPPeerStateType#
# BGPPeerStateType usage example
from mypy_boto3_directconnect.literals import BGPPeerStateType
def get_value() -> BGPPeerStateType:
return "available"
# BGPPeerStateType definition
BGPPeerStateType = Literal[
"available",
"deleted",
"deleting",
"pending",
"verifying",
]
BGPStatusType#
# BGPStatusType usage example
from mypy_boto3_directconnect.literals import BGPStatusType
def get_value() -> BGPStatusType:
return "down"
# BGPStatusType definition
BGPStatusType = Literal[
"down",
"unknown",
"up",
]
ConnectionStateType#
# ConnectionStateType usage example
from mypy_boto3_directconnect.literals import ConnectionStateType
def get_value() -> ConnectionStateType:
return "available"
# ConnectionStateType definition
ConnectionStateType = Literal[
"available",
"deleted",
"deleting",
"down",
"ordering",
"pending",
"rejected",
"requested",
"unknown",
]
DescribeDirectConnectGatewayAssociationsPaginatorName#
# DescribeDirectConnectGatewayAssociationsPaginatorName usage example
from mypy_boto3_directconnect.literals import DescribeDirectConnectGatewayAssociationsPaginatorName
def get_value() -> DescribeDirectConnectGatewayAssociationsPaginatorName:
return "describe_direct_connect_gateway_associations"
# DescribeDirectConnectGatewayAssociationsPaginatorName definition
DescribeDirectConnectGatewayAssociationsPaginatorName = Literal[
"describe_direct_connect_gateway_associations",
]
DescribeDirectConnectGatewayAttachmentsPaginatorName#
# DescribeDirectConnectGatewayAttachmentsPaginatorName usage example
from mypy_boto3_directconnect.literals import DescribeDirectConnectGatewayAttachmentsPaginatorName
def get_value() -> DescribeDirectConnectGatewayAttachmentsPaginatorName:
return "describe_direct_connect_gateway_attachments"
# DescribeDirectConnectGatewayAttachmentsPaginatorName definition
DescribeDirectConnectGatewayAttachmentsPaginatorName = Literal[
"describe_direct_connect_gateway_attachments",
]
DescribeDirectConnectGatewaysPaginatorName#
# DescribeDirectConnectGatewaysPaginatorName usage example
from mypy_boto3_directconnect.literals import DescribeDirectConnectGatewaysPaginatorName
def get_value() -> DescribeDirectConnectGatewaysPaginatorName:
return "describe_direct_connect_gateways"
# DescribeDirectConnectGatewaysPaginatorName definition
DescribeDirectConnectGatewaysPaginatorName = Literal[
"describe_direct_connect_gateways",
]
DirectConnectGatewayAssociationProposalStateType#
# DirectConnectGatewayAssociationProposalStateType usage example
from mypy_boto3_directconnect.literals import DirectConnectGatewayAssociationProposalStateType
def get_value() -> DirectConnectGatewayAssociationProposalStateType:
return "accepted"
# DirectConnectGatewayAssociationProposalStateType definition
DirectConnectGatewayAssociationProposalStateType = Literal[
"accepted",
"deleted",
"requested",
]
DirectConnectGatewayAssociationStateType#
# DirectConnectGatewayAssociationStateType usage example
from mypy_boto3_directconnect.literals import DirectConnectGatewayAssociationStateType
def get_value() -> DirectConnectGatewayAssociationStateType:
return "associated"
# DirectConnectGatewayAssociationStateType definition
DirectConnectGatewayAssociationStateType = Literal[
"associated",
"associating",
"disassociated",
"disassociating",
"updating",
]
DirectConnectGatewayAttachmentStateType#
# DirectConnectGatewayAttachmentStateType usage example
from mypy_boto3_directconnect.literals import DirectConnectGatewayAttachmentStateType
def get_value() -> DirectConnectGatewayAttachmentStateType:
return "attached"
# DirectConnectGatewayAttachmentStateType definition
DirectConnectGatewayAttachmentStateType = Literal[
"attached",
"attaching",
"detached",
"detaching",
]
DirectConnectGatewayAttachmentTypeType#
# DirectConnectGatewayAttachmentTypeType usage example
from mypy_boto3_directconnect.literals import DirectConnectGatewayAttachmentTypeType
def get_value() -> DirectConnectGatewayAttachmentTypeType:
return "PrivateVirtualInterface"
# DirectConnectGatewayAttachmentTypeType definition
DirectConnectGatewayAttachmentTypeType = Literal[
"PrivateVirtualInterface",
"TransitVirtualInterface",
]
DirectConnectGatewayStateType#
# DirectConnectGatewayStateType usage example
from mypy_boto3_directconnect.literals import DirectConnectGatewayStateType
def get_value() -> DirectConnectGatewayStateType:
return "available"
# DirectConnectGatewayStateType definition
DirectConnectGatewayStateType = Literal[
"available",
"deleted",
"deleting",
"pending",
]
GatewayTypeType#
# GatewayTypeType usage example
from mypy_boto3_directconnect.literals import GatewayTypeType
def get_value() -> GatewayTypeType:
return "transitGateway"
# GatewayTypeType definition
GatewayTypeType = Literal[
"transitGateway",
"virtualPrivateGateway",
]
HasLogicalRedundancyType#
# HasLogicalRedundancyType usage example
from mypy_boto3_directconnect.literals import HasLogicalRedundancyType
def get_value() -> HasLogicalRedundancyType:
return "no"
# HasLogicalRedundancyType definition
HasLogicalRedundancyType = Literal[
"no",
"unknown",
"yes",
]
InterconnectStateType#
# InterconnectStateType usage example
from mypy_boto3_directconnect.literals import InterconnectStateType
def get_value() -> InterconnectStateType:
return "available"
# InterconnectStateType definition
InterconnectStateType = Literal[
"available",
"deleted",
"deleting",
"down",
"pending",
"requested",
"unknown",
]
LagStateType#
# LagStateType usage example
from mypy_boto3_directconnect.literals import LagStateType
def get_value() -> LagStateType:
return "available"
# LagStateType definition
LagStateType = Literal[
"available",
"deleted",
"deleting",
"down",
"pending",
"requested",
"unknown",
]
LoaContentTypeType#
# LoaContentTypeType usage example
from mypy_boto3_directconnect.literals import LoaContentTypeType
def get_value() -> LoaContentTypeType:
return "application/pdf"
# LoaContentTypeType definition
LoaContentTypeType = Literal[
"application/pdf",
]
NniPartnerTypeType#
# NniPartnerTypeType usage example
from mypy_boto3_directconnect.literals import NniPartnerTypeType
def get_value() -> NniPartnerTypeType:
return "nonPartner"
# NniPartnerTypeType definition
NniPartnerTypeType = Literal[
"nonPartner",
"v1",
"v2",
]
VirtualInterfaceStateType#
# VirtualInterfaceStateType usage example
from mypy_boto3_directconnect.literals import VirtualInterfaceStateType
def get_value() -> VirtualInterfaceStateType:
return "available"
# VirtualInterfaceStateType definition
VirtualInterfaceStateType = Literal[
"available",
"confirming",
"deleted",
"deleting",
"down",
"pending",
"rejected",
"unknown",
"verifying",
]
DirectConnectServiceName#
# DirectConnectServiceName usage example
from mypy_boto3_directconnect.literals import DirectConnectServiceName
def get_value() -> DirectConnectServiceName:
return "directconnect"
# DirectConnectServiceName definition
DirectConnectServiceName = Literal[
"directconnect",
]
ServiceName#
# ServiceName usage example
from mypy_boto3_directconnect.literals import ServiceName
def get_value() -> ServiceName:
return "accessanalyzer"
# ServiceName definition
ServiceName = Literal[
"accessanalyzer",
"account",
"acm",
"acm-pca",
"amp",
"amplify",
"amplifybackend",
"amplifyuibuilder",
"apigateway",
"apigatewaymanagementapi",
"apigatewayv2",
"appconfig",
"appconfigdata",
"appfabric",
"appflow",
"appintegrations",
"application-autoscaling",
"application-insights",
"application-signals",
"applicationcostprofiler",
"appmesh",
"apprunner",
"appstream",
"appsync",
"apptest",
"arc-zonal-shift",
"artifact",
"athena",
"auditmanager",
"autoscaling",
"autoscaling-plans",
"b2bi",
"backup",
"backup-gateway",
"batch",
"bcm-data-exports",
"bedrock",
"bedrock-agent",
"bedrock-agent-runtime",
"bedrock-runtime",
"billing",
"billingconductor",
"braket",
"budgets",
"ce",
"chatbot",
"chime",
"chime-sdk-identity",
"chime-sdk-media-pipelines",
"chime-sdk-meetings",
"chime-sdk-messaging",
"chime-sdk-voice",
"cleanrooms",
"cleanroomsml",
"cloud9",
"cloudcontrol",
"clouddirectory",
"cloudformation",
"cloudfront",
"cloudfront-keyvaluestore",
"cloudhsm",
"cloudhsmv2",
"cloudsearch",
"cloudsearchdomain",
"cloudtrail",
"cloudtrail-data",
"cloudwatch",
"codeartifact",
"codebuild",
"codecatalyst",
"codecommit",
"codeconnections",
"codedeploy",
"codeguru-reviewer",
"codeguru-security",
"codeguruprofiler",
"codepipeline",
"codestar-connections",
"codestar-notifications",
"cognito-identity",
"cognito-idp",
"cognito-sync",
"comprehend",
"comprehendmedical",
"compute-optimizer",
"config",
"connect",
"connect-contact-lens",
"connectcampaigns",
"connectcampaignsv2",
"connectcases",
"connectparticipant",
"controlcatalog",
"controltower",
"cost-optimization-hub",
"cur",
"customer-profiles",
"databrew",
"dataexchange",
"datapipeline",
"datasync",
"datazone",
"dax",
"deadline",
"detective",
"devicefarm",
"devops-guru",
"directconnect",
"discovery",
"dlm",
"dms",
"docdb",
"docdb-elastic",
"drs",
"ds",
"ds-data",
"dynamodb",
"dynamodbstreams",
"ebs",
"ec2",
"ec2-instance-connect",
"ecr",
"ecr-public",
"ecs",
"efs",
"eks",
"eks-auth",
"elastic-inference",
"elasticache",
"elasticbeanstalk",
"elastictranscoder",
"elb",
"elbv2",
"emr",
"emr-containers",
"emr-serverless",
"entityresolution",
"es",
"events",
"evidently",
"finspace",
"finspace-data",
"firehose",
"fis",
"fms",
"forecast",
"forecastquery",
"frauddetector",
"freetier",
"fsx",
"gamelift",
"geo-maps",
"geo-places",
"geo-routes",
"glacier",
"globalaccelerator",
"glue",
"grafana",
"greengrass",
"greengrassv2",
"groundstation",
"guardduty",
"health",
"healthlake",
"iam",
"identitystore",
"imagebuilder",
"importexport",
"inspector",
"inspector-scan",
"inspector2",
"internetmonitor",
"iot",
"iot-data",
"iot-jobs-data",
"iot1click-devices",
"iot1click-projects",
"iotanalytics",
"iotdeviceadvisor",
"iotevents",
"iotevents-data",
"iotfleethub",
"iotfleetwise",
"iotsecuretunneling",
"iotsitewise",
"iotthingsgraph",
"iottwinmaker",
"iotwireless",
"ivs",
"ivs-realtime",
"ivschat",
"kafka",
"kafkaconnect",
"kendra",
"kendra-ranking",
"keyspaces",
"kinesis",
"kinesis-video-archived-media",
"kinesis-video-media",
"kinesis-video-signaling",
"kinesis-video-webrtc-storage",
"kinesisanalytics",
"kinesisanalyticsv2",
"kinesisvideo",
"kms",
"lakeformation",
"lambda",
"launch-wizard",
"lex-models",
"lex-runtime",
"lexv2-models",
"lexv2-runtime",
"license-manager",
"license-manager-linux-subscriptions",
"license-manager-user-subscriptions",
"lightsail",
"location",
"logs",
"lookoutequipment",
"lookoutmetrics",
"lookoutvision",
"m2",
"machinelearning",
"macie2",
"mailmanager",
"managedblockchain",
"managedblockchain-query",
"marketplace-agreement",
"marketplace-catalog",
"marketplace-deployment",
"marketplace-entitlement",
"marketplace-reporting",
"marketplacecommerceanalytics",
"mediaconnect",
"mediaconvert",
"medialive",
"mediapackage",
"mediapackage-vod",
"mediapackagev2",
"mediastore",
"mediastore-data",
"mediatailor",
"medical-imaging",
"memorydb",
"meteringmarketplace",
"mgh",
"mgn",
"migration-hub-refactor-spaces",
"migrationhub-config",
"migrationhuborchestrator",
"migrationhubstrategy",
"mq",
"mturk",
"mwaa",
"neptune",
"neptune-graph",
"neptunedata",
"network-firewall",
"networkmanager",
"networkmonitor",
"oam",
"omics",
"opensearch",
"opensearchserverless",
"opsworks",
"opsworkscm",
"organizations",
"osis",
"outposts",
"panorama",
"partnercentral-selling",
"payment-cryptography",
"payment-cryptography-data",
"pca-connector-ad",
"pca-connector-scep",
"pcs",
"personalize",
"personalize-events",
"personalize-runtime",
"pi",
"pinpoint",
"pinpoint-email",
"pinpoint-sms-voice",
"pinpoint-sms-voice-v2",
"pipes",
"polly",
"pricing",
"privatenetworks",
"proton",
"qapps",
"qbusiness",
"qconnect",
"qldb",
"qldb-session",
"quicksight",
"ram",
"rbin",
"rds",
"rds-data",
"redshift",
"redshift-data",
"redshift-serverless",
"rekognition",
"repostspace",
"resiliencehub",
"resource-explorer-2",
"resource-groups",
"resourcegroupstaggingapi",
"robomaker",
"rolesanywhere",
"route53",
"route53-recovery-cluster",
"route53-recovery-control-config",
"route53-recovery-readiness",
"route53domains",
"route53profiles",
"route53resolver",
"rum",
"s3",
"s3control",
"s3outposts",
"sagemaker",
"sagemaker-a2i-runtime",
"sagemaker-edge",
"sagemaker-featurestore-runtime",
"sagemaker-geospatial",
"sagemaker-metrics",
"sagemaker-runtime",
"savingsplans",
"scheduler",
"schemas",
"sdb",
"secretsmanager",
"securityhub",
"securitylake",
"serverlessrepo",
"service-quotas",
"servicecatalog",
"servicecatalog-appregistry",
"servicediscovery",
"ses",
"sesv2",
"shield",
"signer",
"simspaceweaver",
"sms",
"sms-voice",
"snow-device-management",
"snowball",
"sns",
"socialmessaging",
"sqs",
"ssm",
"ssm-contacts",
"ssm-incidents",
"ssm-quicksetup",
"ssm-sap",
"sso",
"sso-admin",
"sso-oidc",
"stepfunctions",
"storagegateway",
"sts",
"supplychain",
"support",
"support-app",
"swf",
"synthetics",
"taxsettings",
"textract",
"timestream-influxdb",
"timestream-query",
"timestream-write",
"tnb",
"transcribe",
"transfer",
"translate",
"trustedadvisor",
"verifiedpermissions",
"voice-id",
"vpc-lattice",
"waf",
"waf-regional",
"wafv2",
"wellarchitected",
"wisdom",
"workdocs",
"workmail",
"workmailmessageflow",
"workspaces",
"workspaces-thin-client",
"workspaces-web",
"xray",
]
ResourceServiceName#
# ResourceServiceName usage example
from mypy_boto3_directconnect.literals import ResourceServiceName
def get_value() -> ResourceServiceName:
return "cloudformation"
# ResourceServiceName definition
ResourceServiceName = Literal[
"cloudformation",
"cloudwatch",
"dynamodb",
"ec2",
"glacier",
"iam",
"opsworks",
"s3",
"sns",
"sqs",
]
PaginatorName#
# PaginatorName usage example
from mypy_boto3_directconnect.literals import PaginatorName
def get_value() -> PaginatorName:
return "describe_direct_connect_gateway_associations"
# PaginatorName definition
PaginatorName = Literal[
"describe_direct_connect_gateway_associations",
"describe_direct_connect_gateway_attachments",
"describe_direct_connect_gateways",
]
RegionName#
# RegionName usage example
from mypy_boto3_directconnect.literals import RegionName
def get_value() -> RegionName:
return "af-south-1"
# RegionName definition
RegionName = Literal[
"af-south-1",
"ap-east-1",
"ap-northeast-1",
"ap-northeast-2",
"ap-northeast-3",
"ap-south-1",
"ap-south-2",
"ap-southeast-1",
"ap-southeast-2",
"ap-southeast-3",
"ap-southeast-4",
"ap-southeast-5",
"ca-central-1",
"ca-west-1",
"eu-central-1",
"eu-central-2",
"eu-north-1",
"eu-south-1",
"eu-south-2",
"eu-west-1",
"eu-west-2",
"eu-west-3",
"il-central-1",
"me-central-1",
"me-south-1",
"sa-east-1",
"us-east-1",
"us-east-2",
"us-west-1",
"us-west-2",
]