create_vpc_link
(**kwargs)¶Creates a VPC link.
See also: AWS API Documentation
Request Syntax
response = client.create_vpc_link(
Name='string',
SecurityGroupIds=[
'string',
],
SubnetIds=[
'string',
],
Tags={
'string': 'string'
}
)
[REQUIRED]
The name of the VPC link.
A list of security group IDs for the VPC link.
[REQUIRED]
A list of subnet IDs to include in the VPC link.
A list of tags.
A string with a length between [0-1600].
dict
Response Syntax
{
'CreatedDate': datetime(2015, 1, 1),
'Name': 'string',
'SecurityGroupIds': [
'string',
],
'SubnetIds': [
'string',
],
'Tags': {
'string': 'string'
},
'VpcLinkId': 'string',
'VpcLinkStatus': 'PENDING'|'AVAILABLE'|'DELETING'|'FAILED'|'INACTIVE',
'VpcLinkStatusMessage': 'string',
'VpcLinkVersion': 'V2'
}
Response Structure
(dict) --
The request has succeeded and has resulted in the creation of a resource.
CreatedDate (datetime) --
The timestamp when the VPC link was created.
Name (string) --
The name of the VPC link.
SecurityGroupIds (list) --
A list of security group IDs for the VPC link.
SubnetIds (list) --
A list of subnet IDs to include in the VPC link.
Tags (dict) --
Tags for the VPC link.
(string) --
(string) --
A string with a length between [0-1600].
VpcLinkId (string) --
The ID of the VPC link.
VpcLinkStatus (string) --
The status of the VPC link.
VpcLinkStatusMessage (string) --
A message summarizing the cause of the status of the VPC link.
VpcLinkVersion (string) --
The version of the VPC link.
Exceptions
ApiGatewayV2.Client.exceptions.BadRequestException
ApiGatewayV2.Client.exceptions.TooManyRequestsException