ResourceExplorer / Client / list_views
list_views#
- ResourceExplorer.Client.list_views(**kwargs)#
- Lists the Amazon resource names (ARNs) of the views available in the Amazon Web Services Region in which you call this operation. - Note- Always check the - NextTokenresponse parameter for a- nullvalue when calling a paginated operation. These operations can occasionally return an empty set of results even when there are more results available. The- NextTokenresponse parameter value is- nullonly when there are no more results to display.- See also: AWS API Documentation - Request Syntax- response = client.list_views( MaxResults=123, NextToken='string' ) - Parameters:
- MaxResults (integer) – - The maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the - NextTokenresponse element is present and has a value (is not null). Include that value as the- NextTokenrequest parameter in the next call to the operation to get the next part of the results.- Note- An API operation can return fewer results than the maximum even when there are more results available. You should check - NextTokenafter every operation to ensure that you receive all of the results.
- NextToken (string) – The parameter for receiving additional results if you receive a - NextTokenresponse in a previous request. A- NextTokenresponse indicates that more output is available. Set this parameter to the value of the previous call’s- NextTokenresponse to indicate where the output should continue from. The pagination tokens expire after 24 hours.
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'NextToken': 'string', 'Views': [ 'string', ] } - Response Structure- (dict) – - NextToken (string) – - If present, indicates that more output is available than is included in the current response. Use this value in the - NextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the- NextTokenresponse element comes back as- null. The pagination tokens expire after 24 hours.
- Views (list) – - The list of views available in the Amazon Web Services Region in which you called this operation. - (string) – 
 
 
 
 - Exceptions- ResourceExplorer.Client.exceptions.InternalServerException
- ResourceExplorer.Client.exceptions.ValidationException
- ResourceExplorer.Client.exceptions.ThrottlingException
- ResourceExplorer.Client.exceptions.AccessDeniedException