create_vpc_link
async
¶
create_vpc_link(
name: String,
target_arns: ListOfString,
*,
config_overrides: Optional[AsyncAPIGatewayClientConfig] = None,
description: Optional[String] = None,
tags: Optional[MapOfStringToString] = None,
) -> VpcLink
Creates a VPC link, under the caller's account in a selected region, in an asynchronous operation that typically takes 2-4 minutes to complete and become operational. The caller must have permissions to create and update VPC Endpoint services.
Parameters:
-
name(String) –The name used to label and identify the VPC link.
-
description(Optional[String], default:None) –The description of the VPC link.
-
target_arns(ListOfString) –The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same Amazon Web Services account of the API owner.
-
tags(Optional[MapOfStringToString], default:None) –The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with
aws:. The tag value can be up to 256 characters.
Raises:
-
BadRequestException–The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
-
ConflictException–The request configuration has conflicts. For details, see the accompanying error message.
-
LimitExceededException–The request exceeded the rate limit. Retry after the specified time period.
-
TooManyRequestsException–The request has reached its throttling limit. Retry after the specified time period.
-
UnauthorizedException–The request is denied because the caller has insufficient permissions.
-
UnknownServiceError–The service returned an error code this client does not model.