Amazon Elastic Compute Cloud

2020/11/10 - Amazon Elastic Compute Cloud - 9 updated api methods

Changes  Update ec2 client to latest version

CreateRoute (updated) Link ¶
Changes (request)
{'VpcEndpointId': 'string'}

Creates a route in a route table within a VPC.

You must specify one of the following targets: internet gateway or virtual private gateway, NAT instance, NAT gateway, VPC peering connection, network interface, egress-only internet gateway, or transit gateway.

When determining how to route traffic, we use the route with the most specific match. For example, traffic is destined for the IPv4 address 192.0.2.3, and the route table includes the following two IPv4 routes:

  • 192.0.2.0/24 (goes to some target A)

  • 192.0.2.0/28 (goes to some target B)

Both routes apply to the traffic destined for 192.0.2.3. However, the second route in the list covers a smaller number of IP addresses and is therefore more specific, so we use that route to determine where to target the traffic.

For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide.

See also: AWS API Documentation

Request Syntax

client.create_route(
    DestinationCidrBlock='string',
    DestinationIpv6CidrBlock='string',
    DestinationPrefixListId='string',
    DryRun=True|False,
    VpcEndpointId='string',
    EgressOnlyInternetGatewayId='string',
    GatewayId='string',
    InstanceId='string',
    NatGatewayId='string',
    TransitGatewayId='string',
    LocalGatewayId='string',
    CarrierGatewayId='string',
    NetworkInterfaceId='string',
    RouteTableId='string',
    VpcPeeringConnectionId='string'
)
type DestinationCidrBlock:

string

param DestinationCidrBlock:

The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific match. We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

type DestinationIpv6CidrBlock:

string

param DestinationIpv6CidrBlock:

The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.

type DestinationPrefixListId:

string

param DestinationPrefixListId:

The ID of a prefix list used for the destination match.

type DryRun:

boolean

param DryRun:

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

type VpcEndpointId:

string

param VpcEndpointId:

The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.

type EgressOnlyInternetGatewayId:

string

param EgressOnlyInternetGatewayId:

[IPv6 traffic only] The ID of an egress-only internet gateway.

type GatewayId:

string

param GatewayId:

The ID of an internet gateway or virtual private gateway attached to your VPC.

type InstanceId:

string

param InstanceId:

The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one network interface is attached.

type NatGatewayId:

string

param NatGatewayId:

[IPv4 traffic only] The ID of a NAT gateway.

type TransitGatewayId:

string

param TransitGatewayId:

The ID of a transit gateway.

type LocalGatewayId:

string

param LocalGatewayId:

The ID of the local gateway.

type CarrierGatewayId:

string

param CarrierGatewayId:

The ID of the carrier gateway.

You can only use this option when the VPC contains a subnet which is associated with a Wavelength Zone.

type NetworkInterfaceId:

string

param NetworkInterfaceId:

The ID of a network interface.

type RouteTableId:

string

param RouteTableId:

[REQUIRED]

The ID of the route table for the route.

type VpcPeeringConnectionId:

string

param VpcPeeringConnectionId:

The ID of a VPC peering connection.

rtype:

dict

returns:

Response Syntax

{
    'Return': True|False
}

Response Structure

  • (dict) --

    • Return (boolean) --

      Returns true if the request succeeds; otherwise, it returns an error.

CreateVpcEndpoint (updated) Link ¶
Changes (request, response)
Request
{'VpcEndpointType': {'GatewayLoadBalancer'}}
Response
{'VpcEndpoint': {'VpcEndpointType': {'GatewayLoadBalancer'}}}

Creates a VPC endpoint for a specified service. An endpoint enables you to create a private connection between your VPC and the service. The service may be provided by AWS, an AWS Marketplace Partner, or another AWS account. For more information, see VPC Endpoints in the Amazon Virtual Private Cloud User Guide.

A gateway endpoint serves as a target for a route in your route table for traffic destined for the AWS service. You can specify an endpoint policy to attach to the endpoint, which will control access to the service from your VPC. You can also specify the VPC route tables that use the endpoint.

An interface endpoint is a network interface in your subnet that serves as an endpoint for communicating with the specified service. You can specify the subnets in which to create an endpoint, and the security groups to associate with the endpoint network interface.

A GatewayLoadBalancer endpoint is a network interface in your subnet that serves an endpoint for communicating with a Gateway Load Balancer that you've configured as a VPC endpoint service.

Use DescribeVpcEndpointServices to get a list of supported services.

See also: AWS API Documentation

Request Syntax

client.create_vpc_endpoint(
    DryRun=True|False,
    VpcEndpointType='Interface'|'Gateway'|'GatewayLoadBalancer',
    VpcId='string',
    ServiceName='string',
    PolicyDocument='string',
    RouteTableIds=[
        'string',
    ],
    SubnetIds=[
        'string',
    ],
    SecurityGroupIds=[
        'string',
    ],
    ClientToken='string',
    PrivateDnsEnabled=True|False,
    TagSpecifications=[
        {
            'ResourceType': 'client-vpn-endpoint'|'customer-gateway'|'dedicated-host'|'dhcp-options'|'egress-only-internet-gateway'|'elastic-ip'|'elastic-gpu'|'export-image-task'|'export-instance-task'|'fleet'|'fpga-image'|'host-reservation'|'image'|'import-image-task'|'import-snapshot-task'|'instance'|'internet-gateway'|'key-pair'|'launch-template'|'local-gateway-route-table-vpc-association'|'natgateway'|'network-acl'|'network-interface'|'placement-group'|'reserved-instances'|'route-table'|'security-group'|'snapshot'|'spot-fleet-request'|'spot-instances-request'|'subnet'|'traffic-mirror-filter'|'traffic-mirror-session'|'traffic-mirror-target'|'transit-gateway'|'transit-gateway-attachment'|'transit-gateway-multicast-domain'|'transit-gateway-route-table'|'volume'|'vpc'|'vpc-peering-connection'|'vpn-connection'|'vpn-gateway'|'vpc-flow-log',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },
    ]
)
type DryRun:

boolean

param DryRun:

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

type VpcEndpointType:

string

param VpcEndpointType:

The type of endpoint.

Default: Gateway

type VpcId:

string

param VpcId:

[REQUIRED]

The ID of the VPC in which the endpoint will be used.

type ServiceName:

string

param ServiceName:

[REQUIRED]

The service name. To get a list of available services, use the DescribeVpcEndpointServices request, or get the name from the service provider.

type PolicyDocument:

string

param PolicyDocument:

(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.

type RouteTableIds:

list

param RouteTableIds:

(Gateway endpoint) One or more route table IDs.

  • (string) --

type SubnetIds:

list

param SubnetIds:

(Interface and Gateway Load Balancer endpoints) The ID of one or more subnets in which to create an endpoint network interface. For a Gateway Load Balancer endpoint, you can specify one subnet only.

  • (string) --

type SecurityGroupIds:

list

param SecurityGroupIds:

(Interface endpoint) The ID of one or more security groups to associate with the endpoint network interface.

  • (string) --

type ClientToken:

string

param ClientToken:

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

type PrivateDnsEnabled:

boolean

param PrivateDnsEnabled:

(Interface endpoint) Indicates whether to associate a private hosted zone with the specified VPC. The private hosted zone contains a record set for the default public DNS name for the service for the Region (for example, kinesis.us-east-1.amazonaws.com), which resolves to the private IP addresses of the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead of the public DNS names that are automatically generated by the VPC endpoint service.

To use a private hosted zone, you must set the following VPC attributes to true: enableDnsHostnames and enableDnsSupport. Use ModifyVpcAttribute to set the VPC attributes.

Default: true

type TagSpecifications:

list

param TagSpecifications:

The tags to associate with the endpoint.

  • (dict) --

    The tags to apply to a resource when the resource is being created.

    • ResourceType (string) --

      The type of resource to tag. Currently, the resource types that support tagging on creation are: capacity-reservation | carrier-gateway | client-vpn-endpoint | customer-gateway | dedicated-host | dhcp-options | export-image-task | export-instance-task | fleet | fpga-image | host-reservation | import-image-task | import-snapshot-task | instance | internet-gateway | ipv4pool-ec2 | ipv6pool-ec2 | key-pair | launch-template | placement-group | prefix-list | natgateway | network-acl | route-table | security-group | spot-fleet-request | spot-instances-request | snapshot | subnet | traffic-mirror-filter | traffic-mirror-session | traffic-mirror-target | transit-gateway | transit-gateway-attachment | transit-gateway-route-table | volume | vpc | vpc-peering-connection | vpc-endpoint (for interface and gateway endpoints) | vpc-endpoint-service (for AWS PrivateLink) | vpc-flow-log | vpn-connection | vpn-gateway.

      To tag a resource after it has been created, see CreateTags.

    • Tags (list) --

      The tags to apply to the resource.

      • (dict) --

        Describes a tag.

        • Key (string) --

          The key of the tag.

          Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.

        • Value (string) --

          The value of the tag.

          Constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode characters.

rtype:

dict

returns:

Response Syntax

{
    'VpcEndpoint': {
        'VpcEndpointId': 'string',
        'VpcEndpointType': 'Interface'|'Gateway'|'GatewayLoadBalancer',
        'VpcId': 'string',
        'ServiceName': 'string',
        'State': 'PendingAcceptance'|'Pending'|'Available'|'Deleting'|'Deleted'|'Rejected'|'Failed'|'Expired',
        'PolicyDocument': 'string',
        'RouteTableIds': [
            'string',
        ],
        'SubnetIds': [
            'string',
        ],
        'Groups': [
            {
                'GroupId': 'string',
                'GroupName': 'string'
            },
        ],
        'PrivateDnsEnabled': True|False,
        'RequesterManaged': True|False,
        'NetworkInterfaceIds': [
            'string',
        ],
        'DnsEntries': [
            {
                'DnsName': 'string',
                'HostedZoneId': 'string'
            },
        ],
        'CreationTimestamp': datetime(2015, 1, 1),
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ],
        'OwnerId': 'string',
        'LastError': {
            'Message': 'string',
            'Code': 'string'
        }
    },
    'ClientToken': 'string'
}

Response Structure

  • (dict) --

    Contains the output of CreateVpcEndpoint.

    • VpcEndpoint (dict) --

      Information about the endpoint.

      • VpcEndpointId (string) --

        The ID of the VPC endpoint.

      • VpcEndpointType (string) --

        The type of endpoint.

      • VpcId (string) --

        The ID of the VPC to which the endpoint is associated.

      • ServiceName (string) --

        The name of the service to which the endpoint is associated.

      • State (string) --

        The state of the VPC endpoint.

      • PolicyDocument (string) --

        The policy document associated with the endpoint, if applicable.

      • RouteTableIds (list) --

        (Gateway endpoint) One or more route tables associated with the endpoint.

        • (string) --

      • SubnetIds (list) --

        (Interface endpoint) One or more subnets in which the endpoint is located.

        • (string) --

      • Groups (list) --

        (Interface endpoint) Information about the security groups that are associated with the network interface.

        • (dict) --

          Describes a security group.

          • GroupId (string) --

            The ID of the security group.

          • GroupName (string) --

            The name of the security group.

      • PrivateDnsEnabled (boolean) --

        (Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.

      • RequesterManaged (boolean) --

        Indicates whether the VPC endpoint is being managed by its service.

      • NetworkInterfaceIds (list) --

        (Interface endpoint) One or more network interfaces for the endpoint.

        • (string) --

      • DnsEntries (list) --

        (Interface endpoint) The DNS entries for the endpoint.

        • (dict) --

          Describes a DNS entry.

          • DnsName (string) --

            The DNS name.

          • HostedZoneId (string) --

            The ID of the private hosted zone.

      • CreationTimestamp (datetime) --

        The date and time that the VPC endpoint was created.

      • Tags (list) --

        Any tags assigned to the VPC endpoint.

        • (dict) --

          Describes a tag.

          • Key (string) --

            The key of the tag.

            Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.

          • Value (string) --

            The value of the tag.

            Constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode characters.

      • OwnerId (string) --

        The ID of the AWS account that owns the VPC endpoint.

      • LastError (dict) --

        The last error that occurred for VPC endpoint.

        • Message (string) --

          The error message for the VPC endpoint error.

        • Code (string) --

          The error code for the VPC endpoint error.

    • ClientToken (string) --

      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

CreateVpcEndpointServiceConfiguration (updated) Link ¶
Changes (request, response)
Request
{'GatewayLoadBalancerArns': ['string']}
Response
{'ServiceConfiguration': {'GatewayLoadBalancerArns': ['string'],
                          'ServiceType': {'ServiceType': {'GatewayLoadBalancer'}}}}

Creates a VPC endpoint service configuration to which service consumers (AWS accounts, IAM users, and IAM roles) can connect.

To create an endpoint service configuration, you must first create one of the following for your service:

For more information, see VPC Endpoint Services in the Amazon Virtual Private Cloud User Guide.

If you set the private DNS name, you must prove that you own the private DNS domain name. For more information, see VPC Endpoint Service Private DNS Name Verification in the Amazon Virtual Private Cloud User Guide.

See also: AWS API Documentation

Request Syntax

client.create_vpc_endpoint_service_configuration(
    DryRun=True|False,
    AcceptanceRequired=True|False,
    PrivateDnsName='string',
    NetworkLoadBalancerArns=[
        'string',
    ],
    GatewayLoadBalancerArns=[
        'string',
    ],
    ClientToken='string',
    TagSpecifications=[
        {
            'ResourceType': 'client-vpn-endpoint'|'customer-gateway'|'dedicated-host'|'dhcp-options'|'egress-only-internet-gateway'|'elastic-ip'|'elastic-gpu'|'export-image-task'|'export-instance-task'|'fleet'|'fpga-image'|'host-reservation'|'image'|'import-image-task'|'import-snapshot-task'|'instance'|'internet-gateway'|'key-pair'|'launch-template'|'local-gateway-route-table-vpc-association'|'natgateway'|'network-acl'|'network-interface'|'placement-group'|'reserved-instances'|'route-table'|'security-group'|'snapshot'|'spot-fleet-request'|'spot-instances-request'|'subnet'|'traffic-mirror-filter'|'traffic-mirror-session'|'traffic-mirror-target'|'transit-gateway'|'transit-gateway-attachment'|'transit-gateway-multicast-domain'|'transit-gateway-route-table'|'volume'|'vpc'|'vpc-peering-connection'|'vpn-connection'|'vpn-gateway'|'vpc-flow-log',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },
    ]
)
type DryRun:

boolean

param DryRun:

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

type AcceptanceRequired:

boolean

param AcceptanceRequired:

Indicates whether requests from service consumers to create an endpoint to your service must be accepted. To accept a request, use AcceptVpcEndpointConnections.

type PrivateDnsName:

string

param PrivateDnsName:

(Interface endpoint configuration) The private DNS name to assign to the VPC endpoint service.

type NetworkLoadBalancerArns:

list

param NetworkLoadBalancerArns:

The Amazon Resource Names (ARNs) of one or more Network Load Balancers for your service.

  • (string) --

type GatewayLoadBalancerArns:

list

param GatewayLoadBalancerArns:

The Amazon Resource Names (ARNs) of one or more Gateway Load Balancers.

  • (string) --

type ClientToken:

string

param ClientToken:

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

type TagSpecifications:

list

param TagSpecifications:

The tags to associate with the service.

  • (dict) --

    The tags to apply to a resource when the resource is being created.

    • ResourceType (string) --

      The type of resource to tag. Currently, the resource types that support tagging on creation are: capacity-reservation | carrier-gateway | client-vpn-endpoint | customer-gateway | dedicated-host | dhcp-options | export-image-task | export-instance-task | fleet | fpga-image | host-reservation | import-image-task | import-snapshot-task | instance | internet-gateway | ipv4pool-ec2 | ipv6pool-ec2 | key-pair | launch-template | placement-group | prefix-list | natgateway | network-acl | route-table | security-group | spot-fleet-request | spot-instances-request | snapshot | subnet | traffic-mirror-filter | traffic-mirror-session | traffic-mirror-target | transit-gateway | transit-gateway-attachment | transit-gateway-route-table | volume | vpc | vpc-peering-connection | vpc-endpoint (for interface and gateway endpoints) | vpc-endpoint-service (for AWS PrivateLink) | vpc-flow-log | vpn-connection | vpn-gateway.

      To tag a resource after it has been created, see CreateTags.

    • Tags (list) --

      The tags to apply to the resource.

      • (dict) --

        Describes a tag.

        • Key (string) --

          The key of the tag.

          Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.

        • Value (string) --

          The value of the tag.

          Constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode characters.

rtype:

dict

returns:

Response Syntax

{
    'ServiceConfiguration': {
        'ServiceType': [
            {
                'ServiceType': 'Interface'|'Gateway'|'GatewayLoadBalancer'
            },
        ],
        'ServiceId': 'string',
        'ServiceName': 'string',
        'ServiceState': 'Pending'|'Available'|'Deleting'|'Deleted'|'Failed',
        'AvailabilityZones': [
            'string',
        ],
        'AcceptanceRequired': True|False,
        'ManagesVpcEndpoints': True|False,
        'NetworkLoadBalancerArns': [
            'string',
        ],
        'GatewayLoadBalancerArns': [
            'string',
        ],
        'BaseEndpointDnsNames': [
            'string',
        ],
        'PrivateDnsName': 'string',
        'PrivateDnsNameConfiguration': {
            'State': 'pendingVerification'|'verified'|'failed',
            'Type': 'string',
            'Value': 'string',
            'Name': 'string'
        },
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    },
    'ClientToken': 'string'
}

Response Structure

  • (dict) --

    • ServiceConfiguration (dict) --

      Information about the service configuration.

      • ServiceType (list) --

        The type of service.

        • (dict) --

          Describes the type of service for a VPC endpoint.

          • ServiceType (string) --

            The type of service.

      • ServiceId (string) --

        The ID of the service.

      • ServiceName (string) --

        The name of the service.

      • ServiceState (string) --

        The service state.

      • AvailabilityZones (list) --

        The Availability Zones in which the service is available.

        • (string) --

      • AcceptanceRequired (boolean) --

        Indicates whether requests from other AWS accounts to create an endpoint to the service must first be accepted.

      • ManagesVpcEndpoints (boolean) --

        Indicates whether the service manages its VPC endpoints. Management of the service VPC endpoints using the VPC endpoint API is restricted.

      • NetworkLoadBalancerArns (list) --

        The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.

        • (string) --

      • GatewayLoadBalancerArns (list) --

        The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.

        • (string) --

      • BaseEndpointDnsNames (list) --

        The DNS names for the service.

        • (string) --

      • PrivateDnsName (string) --

        The private DNS name for the service.

      • PrivateDnsNameConfiguration (dict) --

        Information about the endpoint service private DNS name configuration.

        • State (string) --

          The verification state of the VPC endpoint service.

          >Consumers of the endpoint service can use the private name only when the state is verified.

        • Type (string) --

          The endpoint service verification type, for example TXT.

        • Value (string) --

          The value the service provider adds to the private DNS name domain record before verification.

        • Name (string) --

          The name of the record subdomain the service provider needs to create. The service provider adds the value text to the name.

      • Tags (list) --

        Any tags assigned to the service.

        • (dict) --

          Describes a tag.

          • Key (string) --

            The key of the tag.

            Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.

          • Value (string) --

            The value of the tag.

            Constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode characters.

    • ClientToken (string) --

      Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

DescribeVpcEndpointConnections (updated) Link ¶
Changes (response)
{'VpcEndpointConnections': {'GatewayLoadBalancerArns': ['string']}}

Describes the VPC endpoint connections to your VPC endpoint services, including any endpoints that are pending your acceptance.

See also: AWS API Documentation

Request Syntax

client.describe_vpc_endpoint_connections(
    DryRun=True|False,
    Filters=[
        {
            'Name': 'string',
            'Values': [
                'string',
            ]
        },
    ],
    MaxResults=123,
    NextToken='string'
)
type DryRun:

boolean

param DryRun:

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

type Filters:

list

param Filters:

One or more filters.

  • service-id - The ID of the service.

  • vpc-endpoint-owner - The AWS account number of the owner of the endpoint.

  • vpc-endpoint-state - The state of the endpoint ( pendingAcceptance | pending | available | deleting | deleted | rejected | failed).

  • vpc-endpoint-id - The ID of the endpoint.

  • (dict) --

    A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs. The filters supported by a describe operation are documented with the describe operation. For example:

    • DescribeAvailabilityZones

    • DescribeImages

    • DescribeInstances

    • DescribeKeyPairs

    • DescribeSecurityGroups

    • DescribeSnapshots

    • DescribeSubnets

    • DescribeTags

    • DescribeVolumes

    • DescribeVpcs

    • Name (string) --

      The name of the filter. Filter names are case-sensitive.

    • Values (list) --

      The filter values. Filter values are case-sensitive.

      • (string) --

type MaxResults:

integer

param MaxResults:

The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1,000; if MaxResults is given a value larger than 1,000, only 1,000 results are returned.

type NextToken:

string

param NextToken:

The token to retrieve the next page of results.

rtype:

dict

returns:

Response Syntax

{
    'VpcEndpointConnections': [
        {
            'ServiceId': 'string',
            'VpcEndpointId': 'string',
            'VpcEndpointOwner': 'string',
            'VpcEndpointState': 'PendingAcceptance'|'Pending'|'Available'|'Deleting'|'Deleted'|'Rejected'|'Failed'|'Expired',
            'CreationTimestamp': datetime(2015, 1, 1),
            'DnsEntries': [
                {
                    'DnsName': 'string',
                    'HostedZoneId': 'string'
                },
            ],
            'NetworkLoadBalancerArns': [
                'string',
            ],
            'GatewayLoadBalancerArns': [
                'string',
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • VpcEndpointConnections (list) --

      Information about one or more VPC endpoint connections.

      • (dict) --

        Describes a VPC endpoint connection to a service.

        • ServiceId (string) --

          The ID of the service to which the endpoint is connected.

        • VpcEndpointId (string) --

          The ID of the VPC endpoint.

        • VpcEndpointOwner (string) --

          The AWS account ID of the owner of the VPC endpoint.

        • VpcEndpointState (string) --

          The state of the VPC endpoint.

        • CreationTimestamp (datetime) --

          The date and time that the VPC endpoint was created.

        • DnsEntries (list) --

          The DNS entries for the VPC endpoint.

          • (dict) --

            Describes a DNS entry.

            • DnsName (string) --

              The DNS name.

            • HostedZoneId (string) --

              The ID of the private hosted zone.

        • NetworkLoadBalancerArns (list) --

          The Amazon Resource Names (ARNs) of the network load balancers for the service.

          • (string) --

        • GatewayLoadBalancerArns (list) --

          The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.

          • (string) --

    • NextToken (string) --

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

DescribeVpcEndpointServiceConfigurations (updated) Link ¶
Changes (response)
{'ServiceConfigurations': {'GatewayLoadBalancerArns': ['string'],
                           'ServiceType': {'ServiceType': {'GatewayLoadBalancer'}}}}

Describes the VPC endpoint service configurations in your account (your services).

See also: AWS API Documentation

Request Syntax

client.describe_vpc_endpoint_service_configurations(
    DryRun=True|False,
    ServiceIds=[
        'string',
    ],
    Filters=[
        {
            'Name': 'string',
            'Values': [
                'string',
            ]
        },
    ],
    MaxResults=123,
    NextToken='string'
)
type DryRun:

boolean

param DryRun:

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

type ServiceIds:

list

param ServiceIds:

The IDs of one or more services.

  • (string) --

type Filters:

list

param Filters:

One or more filters.

  • service-name - The name of the service.

  • service-id - The ID of the service.

  • service-state - The state of the service ( Pending | Available | Deleting | Deleted | Failed).

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • (dict) --

    A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs. The filters supported by a describe operation are documented with the describe operation. For example:

    • DescribeAvailabilityZones

    • DescribeImages

    • DescribeInstances

    • DescribeKeyPairs

    • DescribeSecurityGroups

    • DescribeSnapshots

    • DescribeSubnets

    • DescribeTags

    • DescribeVolumes

    • DescribeVpcs

    • Name (string) --

      The name of the filter. Filter names are case-sensitive.

    • Values (list) --

      The filter values. Filter values are case-sensitive.

      • (string) --

type MaxResults:

integer

param MaxResults:

The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1,000; if MaxResults is given a value larger than 1,000, only 1,000 results are returned.

type NextToken:

string

param NextToken:

The token to retrieve the next page of results.

rtype:

dict

returns:

Response Syntax

{
    'ServiceConfigurations': [
        {
            'ServiceType': [
                {
                    'ServiceType': 'Interface'|'Gateway'|'GatewayLoadBalancer'
                },
            ],
            'ServiceId': 'string',
            'ServiceName': 'string',
            'ServiceState': 'Pending'|'Available'|'Deleting'|'Deleted'|'Failed',
            'AvailabilityZones': [
                'string',
            ],
            'AcceptanceRequired': True|False,
            'ManagesVpcEndpoints': True|False,
            'NetworkLoadBalancerArns': [
                'string',
            ],
            'GatewayLoadBalancerArns': [
                'string',
            ],
            'BaseEndpointDnsNames': [
                'string',
            ],
            'PrivateDnsName': 'string',
            'PrivateDnsNameConfiguration': {
                'State': 'pendingVerification'|'verified'|'failed',
                'Type': 'string',
                'Value': 'string',
                'Name': 'string'
            },
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • ServiceConfigurations (list) --

      Information about one or more services.

      • (dict) --

        Describes a service configuration for a VPC endpoint service.

        • ServiceType (list) --

          The type of service.

          • (dict) --

            Describes the type of service for a VPC endpoint.

            • ServiceType (string) --

              The type of service.

        • ServiceId (string) --

          The ID of the service.

        • ServiceName (string) --

          The name of the service.

        • ServiceState (string) --

          The service state.

        • AvailabilityZones (list) --

          The Availability Zones in which the service is available.

          • (string) --

        • AcceptanceRequired (boolean) --

          Indicates whether requests from other AWS accounts to create an endpoint to the service must first be accepted.

        • ManagesVpcEndpoints (boolean) --

          Indicates whether the service manages its VPC endpoints. Management of the service VPC endpoints using the VPC endpoint API is restricted.

        • NetworkLoadBalancerArns (list) --

          The Amazon Resource Names (ARNs) of the Network Load Balancers for the service.

          • (string) --

        • GatewayLoadBalancerArns (list) --

          The Amazon Resource Names (ARNs) of the Gateway Load Balancers for the service.

          • (string) --

        • BaseEndpointDnsNames (list) --

          The DNS names for the service.

          • (string) --

        • PrivateDnsName (string) --

          The private DNS name for the service.

        • PrivateDnsNameConfiguration (dict) --

          Information about the endpoint service private DNS name configuration.

          • State (string) --

            The verification state of the VPC endpoint service.

            >Consumers of the endpoint service can use the private name only when the state is verified.

          • Type (string) --

            The endpoint service verification type, for example TXT.

          • Value (string) --

            The value the service provider adds to the private DNS name domain record before verification.

          • Name (string) --

            The name of the record subdomain the service provider needs to create. The service provider adds the value text to the name.

        • Tags (list) --

          Any tags assigned to the service.

          • (dict) --

            Describes a tag.

            • Key (string) --

              The key of the tag.

              Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.

            • Value (string) --

              The value of the tag.

              Constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode characters.

    • NextToken (string) --

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

DescribeVpcEndpointServices (updated) Link ¶
Changes (response)
{'ServiceDetails': {'ServiceType': {'ServiceType': {'GatewayLoadBalancer'}}}}

Describes available services to which you can create a VPC endpoint.

When the service provider and the consumer have different accounts multiple Availability Zones, and the consumer views the VPC endpoint service information, the response only includes the common Availability Zones. For example, when the service provider account uses us-east-1a and us-east-1c and the consumer uses us-east-1a and us-east-1a and us-east-1b, the response includes the VPC endpoint services in the common Availability Zone, us-east-1a.

See also: AWS API Documentation

Request Syntax

client.describe_vpc_endpoint_services(
    DryRun=True|False,
    ServiceNames=[
        'string',
    ],
    Filters=[
        {
            'Name': 'string',
            'Values': [
                'string',
            ]
        },
    ],
    MaxResults=123,
    NextToken='string'
)
type DryRun:

boolean

param DryRun:

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

type ServiceNames:

list

param ServiceNames:

One or more service names.

  • (string) --

type Filters:

list

param Filters:

One or more filters.

  • service-name - The name of the service.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • (dict) --

    A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs. The filters supported by a describe operation are documented with the describe operation. For example:

    • DescribeAvailabilityZones

    • DescribeImages

    • DescribeInstances

    • DescribeKeyPairs

    • DescribeSecurityGroups

    • DescribeSnapshots

    • DescribeSubnets

    • DescribeTags

    • DescribeVolumes

    • DescribeVpcs

    • Name (string) --

      The name of the filter. Filter names are case-sensitive.

    • Values (list) --

      The filter values. Filter values are case-sensitive.

      • (string) --

type MaxResults:

integer

param MaxResults:

The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

Constraint: If the value is greater than 1,000, we return only 1,000 items.

type NextToken:

string

param NextToken:

The token for the next set of items to return. (You received this token from a prior call.)

rtype:

dict

returns:

Response Syntax

{
    'ServiceNames': [
        'string',
    ],
    'ServiceDetails': [
        {
            'ServiceName': 'string',
            'ServiceId': 'string',
            'ServiceType': [
                {
                    'ServiceType': 'Interface'|'Gateway'|'GatewayLoadBalancer'
                },
            ],
            'AvailabilityZones': [
                'string',
            ],
            'Owner': 'string',
            'BaseEndpointDnsNames': [
                'string',
            ],
            'PrivateDnsName': 'string',
            'VpcEndpointPolicySupported': True|False,
            'AcceptanceRequired': True|False,
            'ManagesVpcEndpoints': True|False,
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ],
            'PrivateDnsNameVerificationState': 'pendingVerification'|'verified'|'failed'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    Contains the output of DescribeVpcEndpointServices.

    • ServiceNames (list) --

      A list of supported services.

      • (string) --

    • ServiceDetails (list) --

      Information about the service.

      • (dict) --

        Describes a VPC endpoint service.

        • ServiceName (string) --

          The Amazon Resource Name (ARN) of the service.

        • ServiceId (string) --

          The ID of the endpoint service.

        • ServiceType (list) --

          The type of service.

          • (dict) --

            Describes the type of service for a VPC endpoint.

            • ServiceType (string) --

              The type of service.

        • AvailabilityZones (list) --

          The Availability Zones in which the service is available.

          • (string) --

        • Owner (string) --

          The AWS account ID of the service owner.

        • BaseEndpointDnsNames (list) --

          The DNS names for the service.

          • (string) --

        • PrivateDnsName (string) --

          The private DNS name for the service.

        • VpcEndpointPolicySupported (boolean) --

          Indicates whether the service supports endpoint policies.

        • AcceptanceRequired (boolean) --

          Indicates whether VPC endpoint connection requests to the service must be accepted by the service owner.

        • ManagesVpcEndpoints (boolean) --

          Indicates whether the service manages its VPC endpoints. Management of the service VPC endpoints using the VPC endpoint API is restricted.

        • Tags (list) --

          Any tags assigned to the service.

          • (dict) --

            Describes a tag.

            • Key (string) --

              The key of the tag.

              Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.

            • Value (string) --

              The value of the tag.

              Constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode characters.

        • PrivateDnsNameVerificationState (string) --

          The verification state of the VPC endpoint service.

          Consumers of the endpoint service cannot use the private name when the state is not verified.

    • NextToken (string) --

      The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

DescribeVpcEndpoints (updated) Link ¶
Changes (response)
{'VpcEndpoints': {'VpcEndpointType': {'GatewayLoadBalancer'}}}

Describes one or more of your VPC endpoints.

See also: AWS API Documentation

Request Syntax

client.describe_vpc_endpoints(
    DryRun=True|False,
    VpcEndpointIds=[
        'string',
    ],
    Filters=[
        {
            'Name': 'string',
            'Values': [
                'string',
            ]
        },
    ],
    MaxResults=123,
    NextToken='string'
)
type DryRun:

boolean

param DryRun:

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

type VpcEndpointIds:

list

param VpcEndpointIds:

One or more endpoint IDs.

  • (string) --

type Filters:

list

param Filters:

One or more filters.

  • service-name - The name of the service.

  • vpc-id - The ID of the VPC in which the endpoint resides.

  • vpc-endpoint-id - The ID of the endpoint.

  • vpc-endpoint-state - The state of the endpoint ( pendingAcceptance | pending | available | deleting | deleted | rejected | failed).

  • vpc-endpoint-type - The type of VPC endpoint ( Interface | Gateway | GatewayLoadBalancer).

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • (dict) --

    A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs. The filters supported by a describe operation are documented with the describe operation. For example:

    • DescribeAvailabilityZones

    • DescribeImages

    • DescribeInstances

    • DescribeKeyPairs

    • DescribeSecurityGroups

    • DescribeSnapshots

    • DescribeSubnets

    • DescribeTags

    • DescribeVolumes

    • DescribeVpcs

    • Name (string) --

      The name of the filter. Filter names are case-sensitive.

    • Values (list) --

      The filter values. Filter values are case-sensitive.

      • (string) --

type MaxResults:

integer

param MaxResults:

The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

Constraint: If the value is greater than 1,000, we return only 1,000 items.

type NextToken:

string

param NextToken:

The token for the next set of items to return. (You received this token from a prior call.)

rtype:

dict

returns:

Response Syntax

{
    'VpcEndpoints': [
        {
            'VpcEndpointId': 'string',
            'VpcEndpointType': 'Interface'|'Gateway'|'GatewayLoadBalancer',
            'VpcId': 'string',
            'ServiceName': 'string',
            'State': 'PendingAcceptance'|'Pending'|'Available'|'Deleting'|'Deleted'|'Rejected'|'Failed'|'Expired',
            'PolicyDocument': 'string',
            'RouteTableIds': [
                'string',
            ],
            'SubnetIds': [
                'string',
            ],
            'Groups': [
                {
                    'GroupId': 'string',
                    'GroupName': 'string'
                },
            ],
            'PrivateDnsEnabled': True|False,
            'RequesterManaged': True|False,
            'NetworkInterfaceIds': [
                'string',
            ],
            'DnsEntries': [
                {
                    'DnsName': 'string',
                    'HostedZoneId': 'string'
                },
            ],
            'CreationTimestamp': datetime(2015, 1, 1),
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ],
            'OwnerId': 'string',
            'LastError': {
                'Message': 'string',
                'Code': 'string'
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    Contains the output of DescribeVpcEndpoints.

    • VpcEndpoints (list) --

      Information about the endpoints.

      • (dict) --

        Describes a VPC endpoint.

        • VpcEndpointId (string) --

          The ID of the VPC endpoint.

        • VpcEndpointType (string) --

          The type of endpoint.

        • VpcId (string) --

          The ID of the VPC to which the endpoint is associated.

        • ServiceName (string) --

          The name of the service to which the endpoint is associated.

        • State (string) --

          The state of the VPC endpoint.

        • PolicyDocument (string) --

          The policy document associated with the endpoint, if applicable.

        • RouteTableIds (list) --

          (Gateway endpoint) One or more route tables associated with the endpoint.

          • (string) --

        • SubnetIds (list) --

          (Interface endpoint) One or more subnets in which the endpoint is located.

          • (string) --

        • Groups (list) --

          (Interface endpoint) Information about the security groups that are associated with the network interface.

          • (dict) --

            Describes a security group.

            • GroupId (string) --

              The ID of the security group.

            • GroupName (string) --

              The name of the security group.

        • PrivateDnsEnabled (boolean) --

          (Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.

        • RequesterManaged (boolean) --

          Indicates whether the VPC endpoint is being managed by its service.

        • NetworkInterfaceIds (list) --

          (Interface endpoint) One or more network interfaces for the endpoint.

          • (string) --

        • DnsEntries (list) --

          (Interface endpoint) The DNS entries for the endpoint.

          • (dict) --

            Describes a DNS entry.

            • DnsName (string) --

              The DNS name.

            • HostedZoneId (string) --

              The ID of the private hosted zone.

        • CreationTimestamp (datetime) --

          The date and time that the VPC endpoint was created.

        • Tags (list) --

          Any tags assigned to the VPC endpoint.

          • (dict) --

            Describes a tag.

            • Key (string) --

              The key of the tag.

              Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.

            • Value (string) --

              The value of the tag.

              Constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode characters.

        • OwnerId (string) --

          The ID of the AWS account that owns the VPC endpoint.

        • LastError (dict) --

          The last error that occurred for VPC endpoint.

          • Message (string) --

            The error message for the VPC endpoint error.

          • Code (string) --

            The error code for the VPC endpoint error.

    • NextToken (string) --

      The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

ModifyVpcEndpointServiceConfiguration (updated) Link ¶
Changes (request)
{'AddGatewayLoadBalancerArns': ['string'],
 'RemoveGatewayLoadBalancerArns': ['string']}

Modifies the attributes of your VPC endpoint service configuration. You can change the Network Load Balancers or Gateway Load Balancers for your service, and you can specify whether acceptance is required for requests to connect to your endpoint service through an interface VPC endpoint.

If you set or modify the private DNS name, you must prove that you own the private DNS domain name. For more information, see VPC Endpoint Service Private DNS Name Verification in the Amazon Virtual Private Cloud User Guide.

See also: AWS API Documentation

Request Syntax

client.modify_vpc_endpoint_service_configuration(
    DryRun=True|False,
    ServiceId='string',
    PrivateDnsName='string',
    RemovePrivateDnsName=True|False,
    AcceptanceRequired=True|False,
    AddNetworkLoadBalancerArns=[
        'string',
    ],
    RemoveNetworkLoadBalancerArns=[
        'string',
    ],
    AddGatewayLoadBalancerArns=[
        'string',
    ],
    RemoveGatewayLoadBalancerArns=[
        'string',
    ]
)
type DryRun:

boolean

param DryRun:

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

type ServiceId:

string

param ServiceId:

[REQUIRED]

The ID of the service.

type PrivateDnsName:

string

param PrivateDnsName:

(Interface endpoint configuration) The private DNS name to assign to the endpoint service.

type RemovePrivateDnsName:

boolean

param RemovePrivateDnsName:

(Interface endpoint configuration) Removes the private DNS name of the endpoint service.

type AcceptanceRequired:

boolean

param AcceptanceRequired:

Indicates whether requests to create an endpoint to your service must be accepted.

type AddNetworkLoadBalancerArns:

list

param AddNetworkLoadBalancerArns:

The Amazon Resource Names (ARNs) of Network Load Balancers to add to your service configuration.

  • (string) --

type RemoveNetworkLoadBalancerArns:

list

param RemoveNetworkLoadBalancerArns:

The Amazon Resource Names (ARNs) of Network Load Balancers to remove from your service configuration.

  • (string) --

type AddGatewayLoadBalancerArns:

list

param AddGatewayLoadBalancerArns:

The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to your service configuration.

  • (string) --

type RemoveGatewayLoadBalancerArns:

list

param RemoveGatewayLoadBalancerArns:

The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from your service configuration.

  • (string) --

rtype:

dict

returns:

Response Syntax

{
    'Return': True|False
}

Response Structure

  • (dict) --

    • Return (boolean) --

      Returns true if the request succeeds; otherwise, it returns an error.

ReplaceRoute (updated) Link ¶
Changes (request)
{'VpcEndpointId': 'string'}

Replaces an existing route within a route table in a VPC. You must provide only one of the following: internet gateway, virtual private gateway, NAT instance, NAT gateway, VPC peering connection, network interface, egress-only internet gateway, or transit gateway.

For more information, see Route Tables in the Amazon Virtual Private Cloud User Guide.

See also: AWS API Documentation

Request Syntax

client.replace_route(
    DestinationCidrBlock='string',
    DestinationIpv6CidrBlock='string',
    DestinationPrefixListId='string',
    DryRun=True|False,
    VpcEndpointId='string',
    EgressOnlyInternetGatewayId='string',
    GatewayId='string',
    InstanceId='string',
    LocalTarget=True|False,
    NatGatewayId='string',
    TransitGatewayId='string',
    LocalGatewayId='string',
    CarrierGatewayId='string',
    NetworkInterfaceId='string',
    RouteTableId='string',
    VpcPeeringConnectionId='string'
)
type DestinationCidrBlock:

string

param DestinationCidrBlock:

The IPv4 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.

type DestinationIpv6CidrBlock:

string

param DestinationIpv6CidrBlock:

The IPv6 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.

type DestinationPrefixListId:

string

param DestinationPrefixListId:

The ID of the prefix list for the route.

type DryRun:

boolean

param DryRun:

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

type VpcEndpointId:

string

param VpcEndpointId:

The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.

type EgressOnlyInternetGatewayId:

string

param EgressOnlyInternetGatewayId:

[IPv6 traffic only] The ID of an egress-only internet gateway.

type GatewayId:

string

param GatewayId:

The ID of an internet gateway or virtual private gateway.

type InstanceId:

string

param InstanceId:

The ID of a NAT instance in your VPC.

type LocalTarget:

boolean

param LocalTarget:

Specifies whether to reset the local route to its default target ( local).

type NatGatewayId:

string

param NatGatewayId:

[IPv4 traffic only] The ID of a NAT gateway.

type TransitGatewayId:

string

param TransitGatewayId:

The ID of a transit gateway.

type LocalGatewayId:

string

param LocalGatewayId:

The ID of the local gateway.

type CarrierGatewayId:

string

param CarrierGatewayId:

[IPv4 traffic only] The ID of a carrier gateway.

type NetworkInterfaceId:

string

param NetworkInterfaceId:

The ID of a network interface.

type RouteTableId:

string

param RouteTableId:

[REQUIRED]

The ID of the route table.

type VpcPeeringConnectionId:

string

param VpcPeeringConnectionId:

The ID of a VPC peering connection.

returns:

None