GameLift / Client / delete_vpc_peering_authorization

delete_vpc_peering_authorization#

GameLift.Client.delete_vpc_peering_authorization(**kwargs)#

Cancels a pending VPC peering authorization for the specified VPC. If you need to delete an existing VPC peering connection, use DeleteVpcPeeringConnection.

Related actions

All APIs by task

See also: AWS API Documentation

Request Syntax

response = client.delete_vpc_peering_authorization(
    GameLiftAwsAccountId='string',
    PeerVpcId='string'
)
Parameters:
  • GameLiftAwsAccountId (string) –

    [REQUIRED]

    A unique identifier for the Amazon Web Services account that you use to manage your GameLift fleet. You can find your Account ID in the Amazon Web Services Management Console under account settings.

  • PeerVpcId (string) –

    [REQUIRED]

    A unique identifier for a VPC with resources to be accessed by your GameLift fleet. The VPC must be in the same Region as your fleet. To look up a VPC ID, use the VPC Dashboard in the Amazon Web Services Management Console. Learn more about VPC peering in VPC Peering with GameLift Fleets.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • GameLift.Client.exceptions.UnauthorizedException

  • GameLift.Client.exceptions.InvalidRequestException

  • GameLift.Client.exceptions.NotFoundException

  • GameLift.Client.exceptions.InternalServiceException