ResourceExplorer / Client / list_supported_resource_types

list_supported_resource_types#

ResourceExplorer.Client.list_supported_resource_types(**kwargs)#

Retrieves a list of all resource types currently supported by Amazon Web Services Resource Explorer.

See also: AWS API Documentation

Request Syntax

response = client.list_supported_resource_types(
    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 NextToken response element is present and has a value (is not null). Include that value as the NextToken request 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 NextToken after every operation to ensure that you receive all of the results.

  • NextToken (string) – The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call’s NextToken response to indicate where the output should continue from. The pagination tokens expire after 24 hours.

Return type:

dict

Returns:

Response Syntax

{
    'NextToken': 'string',
    'ResourceTypes': [
        {
            'ResourceType': 'string',
            'Service': '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 NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. The pagination tokens expire after 24 hours.

    • ResourceTypes (list) –

      The list of resource types supported by Resource Explorer.

      • (dict) –

        A structure that describes a resource type supported by Amazon Web Services Resource Explorer.

        • ResourceType (string) –

          The unique identifier of the resource type.

        • Service (string) –

          The Amazon Web Service that is associated with the resource type. This is the primary service that lets you create and interact with resources of this type.

Exceptions

  • ResourceExplorer.Client.exceptions.InternalServerException

  • ResourceExplorer.Client.exceptions.ValidationException

  • ResourceExplorer.Client.exceptions.ThrottlingException

  • ResourceExplorer.Client.exceptions.AccessDeniedException