AWS Resource Access Manager

2020/04/23 - AWS Resource Access Manager - 1 new api methods

Changes  Update ram client to latest version

ListResourceTypes (new) Link ΒΆ

Lists the shareable resource types supported by AWS RAM.

See also: AWS API Documentation

Request Syntax

client.list_resource_types(
    nextToken='string',
    maxResults=123
)
type nextToken:

string

param nextToken:

The token for the next page of results.

type maxResults:

integer

param maxResults:

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

rtype:

dict

returns:

Response Syntax

{
    'resourceTypes': [
        {
            'resourceType': 'string',
            'serviceName': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • resourceTypes (list) --

      The shareable resource types supported by AWS RAM.

      • (dict) --

        Information about the shareable resource types and the AWS services to which they belong.

        • resourceType (string) --

          The shareable resource types.

        • serviceName (string) --

          The name of the AWS services to which the resources belong.

    • nextToken (string) --

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.