VPCLattice / Client / list_listeners
list_listeners#
- VPCLattice.Client.list_listeners(**kwargs)#
Lists the listeners for the specified service.
See also: AWS API Documentation
Request Syntax
response = client.list_listeners( maxResults=123, nextToken='string', serviceIdentifier='string' )
- Parameters:
maxResults (integer) – The maximum number of results to return.
nextToken (string) – A pagination token for the next page of results.
serviceIdentifier (string) –
[REQUIRED]
The ID or ARN of the service.
- Return type:
dict
- Returns:
Response Syntax
{ 'items': [ { 'arn': 'string', 'createdAt': datetime(2015, 1, 1), 'id': 'string', 'lastUpdatedAt': datetime(2015, 1, 1), 'name': 'string', 'port': 123, 'protocol': 'HTTP'|'HTTPS'|'TLS_PASSTHROUGH' }, ], 'nextToken': 'string' }
Response Structure
(dict) –
items (list) –
Information about the listeners.
(dict) –
Summary information about a listener.
arn (string) –
The Amazon Resource Name (ARN) of the listener.
createdAt (datetime) –
The date and time that the listener was created, in ISO-8601 format.
id (string) –
The ID of the listener.
lastUpdatedAt (datetime) –
The date and time that the listener was last updated, in ISO-8601 format.
name (string) –
The name of the listener.
port (integer) –
The listener port.
protocol (string) –
The listener protocol.
nextToken (string) –
If there are additional results, a pagination token for the next page of results.
Exceptions