VPCLattice / Client / list_resource_gateways
list_resource_gateways#
- VPCLattice.Client.list_resource_gateways(**kwargs)#
Lists the resource gateways that you own or that were shared with you.
See also: AWS API Documentation
Request Syntax
response = client.list_resource_gateways( maxResults=123, nextToken='string' )
- Parameters:
maxResults (integer) – The maximum page size.
nextToken (string) – If there are additional results, a pagination token for the next page of results.
- Return type:
dict
- Returns:
Response Syntax
{ 'items': [ { 'arn': 'string', 'createdAt': datetime(2015, 1, 1), 'id': 'string', 'ipAddressType': 'IPV4'|'IPV6'|'DUALSTACK', 'lastUpdatedAt': datetime(2015, 1, 1), 'name': 'string', 'securityGroupIds': [ 'string', ], 'status': 'ACTIVE'|'CREATE_IN_PROGRESS'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'CREATE_FAILED'|'UPDATE_FAILED'|'DELETE_FAILED', 'subnetIds': [ 'string', ], 'vpcIdentifier': 'string' }, ], 'nextToken': 'string' }
Response Structure
(dict) –
items (list) –
Information about the resource gateways.
(dict) –
Summary information about a resource gateway.
arn (string) –
The Amazon Resource Name (ARN) of the resource gateway.
createdAt (datetime) –
The date and time that the VPC endpoint association was created, in ISO-8601 format.
id (string) –
The ID of the resource gateway.
ipAddressType (string) –
The type of IP address used by the resource gateway.
lastUpdatedAt (datetime) –
The most recent date and time that the resource gateway was updated, in ISO-8601 format.
name (string) –
The name of the resource gateway.
securityGroupIds (list) –
The IDs of the security groups applied to the resource gateway.
(string) –
status (string) –
The name of the resource gateway.
subnetIds (list) –
The IDs of the VPC subnets for the resource gateway.
(string) –
vpcIdentifier (string) –
The ID of the VPC for the resource gateway.
nextToken (string) –
If there are additional results, a pagination token for the next page of results.
Exceptions
VPCLattice.Client.exceptions.ValidationException
VPCLattice.Client.exceptions.AccessDeniedException
VPCLattice.Client.exceptions.ThrottlingException
VPCLattice.Client.exceptions.InternalServerException