Glue / Paginator / ListMaterializedViewRefreshTaskRuns
ListMaterializedViewRefreshTaskRuns¶
- class Glue.Paginator.ListMaterializedViewRefreshTaskRuns¶
paginator = client.get_paginator('list_materialized_view_refresh_task_runs')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
Glue.Client.list_materialized_view_refresh_task_runs().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( CatalogId='string', DatabaseName='string', TableName='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
CatalogId (string) –
[REQUIRED]
The ID of the Data Catalog where the table resides. If none is supplied, the account ID is used by default.
DatabaseName (string) – The database where the table resides.
TableName (string) – The name of the table for which statistics is generated.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
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
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'MaterializedViewRefreshTaskRuns': [ { 'CustomerId': 'string', 'MaterializedViewRefreshTaskRunId': 'string', 'DatabaseName': 'string', 'TableName': 'string', 'CatalogId': 'string', 'Role': 'string', 'Status': 'STARTING'|'RUNNING'|'SUCCEEDED'|'FAILED'|'STOPPED', 'CreationTime': datetime(2015, 1, 1), 'LastUpdated': datetime(2015, 1, 1), 'StartTime': datetime(2015, 1, 1), 'EndTime': datetime(2015, 1, 1), 'ErrorMessage': 'string', 'DPUSeconds': 123.0, 'RefreshType': 'FULL'|'INCREMENTAL', 'ProcessedBytes': 123 }, ], }
Response Structure
(dict) –
MaterializedViewRefreshTaskRuns (list) –
The results of the ListMaterializedViewRefreshTaskRuns action.
(dict) –
The object that shows the details of the materialized view refresh task run.
CustomerId (string) –
The Amazon Web Services account ID.
MaterializedViewRefreshTaskRunId (string) –
The identifier of the materialized view refresh task run.
DatabaseName (string) –
The database where the table resides.
TableName (string) –
The name of the table for which statistics is generated.
CatalogId (string) –
The ID of the Data Catalog where the table resides. If none is supplied, the account ID is used by default.
Role (string) –
The IAM role that the service assumes to generate statistics.
Status (string) –
The status of the task run.
CreationTime (datetime) –
The time that this task was created.
LastUpdated (datetime) –
The last point in time when this task was modified.
StartTime (datetime) –
The start time of the task.
EndTime (datetime) –
The end time of the task.
ErrorMessage (string) –
The error message for the job.
DPUSeconds (float) –
The calculated DPU usage in seconds for all autoscaled workers.
RefreshType (string) –
The type of the refresh task run. Either FULL or INCREMENTAL.
ProcessedBytes (integer) –
The number of bytes the refresh task run has scanned to refresh the materialized view.