describeVpcPeeringAuthorizations method
Retrieves valid VPC peering authorizations that are pending for the AWS account. This operation returns all VPC peering authorizations and requests for peering. This includes those initiated and received by this account.
- CreateVpcPeeringAuthorization
- DescribeVpcPeeringAuthorizations
- DeleteVpcPeeringAuthorization
- CreateVpcPeeringConnection
- DescribeVpcPeeringConnections
- DeleteVpcPeeringConnection
May throw UnauthorizedException. May throw InvalidRequestException. May throw InternalServiceException.
Implementation
Future<DescribeVpcPeeringAuthorizationsOutput>
describeVpcPeeringAuthorizations() async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'GameLift.DescribeVpcPeeringAuthorizations'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
);
return DescribeVpcPeeringAuthorizationsOutput.fromJson(jsonResponse.body);
}