GameLift / Client / describe_vpc_peering_authorizations
describe_vpc_peering_authorizations#
- GameLift.Client.describe_vpc_peering_authorizations()#
Retrieves valid VPC peering authorizations that are pending for the Amazon Web Services account. This operation returns all VPC peering authorizations and requests for peering. This includes those initiated and received by this account.
Related actions
See also: AWS API Documentation
Request Syntax
response = client.describe_vpc_peering_authorizations()
- Return type:
dict
- Returns:
Response Syntax
{ 'VpcPeeringAuthorizations': [ { 'GameLiftAwsAccountId': 'string', 'PeerVpcAwsAccountId': 'string', 'PeerVpcId': 'string', 'CreationTime': datetime(2015, 1, 1), 'ExpirationTime': datetime(2015, 1, 1) }, ] }
Response Structure
(dict) –
VpcPeeringAuthorizations (list) –
A collection of objects that describe all valid VPC peering operations for the current Amazon Web Services account.
(dict) –
Represents an authorization for a VPC peering connection between the VPC for an Amazon GameLift fleet and another VPC on an account you have access to. This authorization must exist and be valid for the peering connection to be established. Authorizations are valid for 24 hours after they are issued.
Related actions
GameLiftAwsAccountId (string) –
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.
PeerVpcAwsAccountId (string) –
The authorization’s peer VPC Amazon Web Services account ID.
PeerVpcId (string) –
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.
CreationTime (datetime) –
Time stamp indicating when this authorization was issued. Format is a number expressed in Unix time as milliseconds (for example
"1469498468.057"
).ExpirationTime (datetime) –
Time stamp indicating when this authorization expires (24 hours after issuance). Format is a number expressed in Unix time as milliseconds (for example
"1469498468.057"
).
Exceptions
GameLift.Client.exceptions.UnauthorizedException
GameLift.Client.exceptions.InvalidRequestException
GameLift.Client.exceptions.InternalServiceException