MediaStore.Paginator.
ListContainers
¶paginator = client.get_paginator('list_containers')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from MediaStore.Client.list_containers()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
{
'Containers': [
{
'Endpoint': 'string',
'CreationTime': datetime(2015, 1, 1),
'ARN': 'string',
'Name': 'string',
'Status': 'ACTIVE'|'CREATING'|'DELETING',
'AccessLoggingEnabled': True|False
},
],
}
Response Structure
The names of the containers.
This section describes operations that you can perform on an AWS Elemental MediaStore container.
The DNS endpoint of the container. Use the endpoint to identify the specific container when sending requests to the data plane. The service assigns this value when the container is created. Once the value has been assigned, it does not change.
Unix timestamp.
The Amazon Resource Name (ARN) of the container. The ARN has the following format:
arn:aws:<region>:<account that owns this container>:container/<name of container>
For example: arn:aws:mediastore:us-west-2:111122223333:container/movies
The name of the container.
The status of container creation or deletion. The status is one of the following: CREATING
, ACTIVE
, or DELETING
. While the service is creating the container, the status is CREATING
. When the endpoint is available, the status changes to ACTIVE
.
The state of access logging on the container. This value is false
by default, indicating that AWS Elemental MediaStore does not send access logs to Amazon CloudWatch Logs. When you enable access logging on the container, MediaStore changes this value to true
, indicating that the service delivers access logs for objects stored in that container to CloudWatch Logs.