RDS.Paginator.
DescribeDBLogFiles
¶paginator = client.get_paginator('describe_db_log_files')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from RDS.Client.describe_db_log_files()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
DBInstanceIdentifier='string',
FilenameContains='string',
FileLastWritten=123,
FileSize=123,
Filters=[
{
'Name': 'string',
'Values': [
'string',
]
},
],
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The customer-assigned name of the DB instance that contains the log files you want to list.
Constraints:
This parameter isn't currently supported.
A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as IDs. The filters supported by a describe operation are documented with the describe operation.
Note
Currently, wildcards are not supported in filters.
The following actions can be filtered:
DescribeDBClusterBacktracks
DescribeDBClusterEndpoints
DescribeDBClusters
DescribeDBInstances
DescribePendingMaintenanceActions
The name of the filter. Filter names are case-sensitive.
One or more filter values. Filter values are case-sensitive.
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.
dict
Response Syntax
{
'DescribeDBLogFiles': [
{
'LogFileName': 'string',
'LastWritten': 123,
'Size': 123
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
The response from a call to DescribeDBLogFiles
.
DescribeDBLogFiles (list) --
The DB log files returned.
(dict) --
This data type is used as a response element to DescribeDBLogFiles
.
LogFileName (string) --
The name of the log file for the specified DB instance.
LastWritten (integer) --
A POSIX timestamp when the last log entry was written.
Size (integer) --
The size, in bytes, of the log file for the specified DB instance.
NextToken (string) --
A token to resume pagination.