GameLift.Client.
delete_vpc_peering_connection
(**kwargs)¶Removes a VPC peering connection. To delete the connection, you must have a valid authorization for the VPC peering connection that you want to delete..
Once a valid authorization exists, call this operation from the Amazon Web Services account that is used to manage the Amazon GameLift fleets. Identify the connection to delete by the connection ID and fleet ID. If successful, the connection is removed.
Related actions
See also: AWS API Documentation
Request Syntax
response = client.delete_vpc_peering_connection(
FleetId='string',
VpcPeeringConnectionId='string'
)
[REQUIRED]
A unique identifier for the fleet. This fleet specified must match the fleet referenced in the VPC peering connection record. You can use either the fleet ID or ARN value.
[REQUIRED]
A unique identifier for a VPC peering connection.
dict
Response Syntax
{}
Response Structure
Exceptions
GameLift.Client.exceptions.UnauthorizedException
GameLift.Client.exceptions.InvalidRequestException
GameLift.Client.exceptions.NotFoundException
GameLift.Client.exceptions.InternalServiceException