Amazon SageMaker Service

2023/07/20 - Amazon SageMaker Service - 1 new1 updated api methods

Changes  Cross account support for SageMaker Feature Store

ListResourceCatalogs (new) Link ¶

Lists Amazon SageMaker Catalogs based on given filters and orders. The maximum number of ``ResourceCatalog``s viewable is 1000.

See also: AWS API Documentation

Request Syntax

client.list_resource_catalogs(
    NameContains='string',
    CreationTimeAfter=datetime(2015, 1, 1),
    CreationTimeBefore=datetime(2015, 1, 1),
    SortOrder='Ascending'|'Descending',
    SortBy='CreationTime',
    MaxResults=123,
    NextToken='string'
)
type NameContains:

string

param NameContains:

A string that partially matches one or more ResourceCatalog``s names. Filters ``ResourceCatalog by name.

type CreationTimeAfter:

datetime

param CreationTimeAfter:

Use this parameter to search for ``ResourceCatalog``s created after a specific date and time.

type CreationTimeBefore:

datetime

param CreationTimeBefore:

Use this parameter to search for ``ResourceCatalog``s created before a specific date and time.

type SortOrder:

string

param SortOrder:

The order in which the resource catalogs are listed.

type SortBy:

string

param SortBy:

The value on which the resource catalog list is sorted.

type MaxResults:

integer

param MaxResults:

The maximum number of results returned by ListResourceCatalogs.

type NextToken:

string

param NextToken:

A token to resume pagination of ListResourceCatalogs results.

rtype:

dict

returns:

Response Syntax

{
    'ResourceCatalogs': [
        {
            'ResourceCatalogArn': 'string',
            'ResourceCatalogName': 'string',
            'Description': 'string',
            'CreationTime': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • ResourceCatalogs (list) --

      A list of the requested ``ResourceCatalog``s.

      • (dict) --

        A resource catalog containing all of the resources of a specific resource type within a resource owner account. For an example on sharing the Amazon SageMaker Feature Store DefaultFeatureGroupCatalog, see Share Amazon SageMaker Catalog resource type in the Amazon SageMaker Developer Guide.

        • ResourceCatalogArn (string) --

          The Amazon Resource Name (ARN) of the ResourceCatalog.

        • ResourceCatalogName (string) --

          The name of the ResourceCatalog.

        • Description (string) --

          A free form description of the ResourceCatalog.

        • CreationTime (datetime) --

          The time the ResourceCatalog was created.

    • NextToken (string) --

      A token to resume pagination of ListResourceCatalogs results.