libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SageMaker.ListContexts

Description

Lists the contexts in your account and their properties.

This operation returns paginated results.

Synopsis

Creating a Request

data ListContexts Source #

See: newListContexts smart constructor.

Constructors

ListContexts' 

Fields

Instances

Instances details
Eq ListContexts Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

Read ListContexts Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

Show ListContexts Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

Generic ListContexts Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

Associated Types

type Rep ListContexts :: Type -> Type #

NFData ListContexts Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

Methods

rnf :: ListContexts -> () #

Hashable ListContexts Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

ToJSON ListContexts Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

AWSPager ListContexts Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

AWSRequest ListContexts Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

Associated Types

type AWSResponse ListContexts #

ToHeaders ListContexts Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

ToPath ListContexts Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

ToQuery ListContexts Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

type Rep ListContexts Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

type AWSResponse ListContexts Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

newListContexts :: ListContexts Source #

Create a value of ListContexts with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:createdAfter:ListContexts', listContexts_createdAfter - A filter that returns only contexts created on or after the specified time.

$sel:nextToken:ListContexts', listContexts_nextToken - If the previous call to ListContexts didn't return the full set of contexts, the call returns a token for getting the next set of contexts.

$sel:sortOrder:ListContexts', listContexts_sortOrder - The sort order. The default value is Descending.

$sel:contextType:ListContexts', listContexts_contextType - A filter that returns only contexts of the specified type.

$sel:sourceUri:ListContexts', listContexts_sourceUri - A filter that returns only contexts with the specified source URI.

$sel:maxResults:ListContexts', listContexts_maxResults - The maximum number of contexts to return in the response. The default value is 10.

$sel:createdBefore:ListContexts', listContexts_createdBefore - A filter that returns only contexts created on or before the specified time.

$sel:sortBy:ListContexts', listContexts_sortBy - The property used to sort results. The default value is CreationTime.

Request Lenses

listContexts_createdAfter :: Lens' ListContexts (Maybe UTCTime) Source #

A filter that returns only contexts created on or after the specified time.

listContexts_nextToken :: Lens' ListContexts (Maybe Text) Source #

If the previous call to ListContexts didn't return the full set of contexts, the call returns a token for getting the next set of contexts.

listContexts_sortOrder :: Lens' ListContexts (Maybe SortOrder) Source #

The sort order. The default value is Descending.

listContexts_contextType :: Lens' ListContexts (Maybe Text) Source #

A filter that returns only contexts of the specified type.

listContexts_sourceUri :: Lens' ListContexts (Maybe Text) Source #

A filter that returns only contexts with the specified source URI.

listContexts_maxResults :: Lens' ListContexts (Maybe Natural) Source #

The maximum number of contexts to return in the response. The default value is 10.

listContexts_createdBefore :: Lens' ListContexts (Maybe UTCTime) Source #

A filter that returns only contexts created on or before the specified time.

listContexts_sortBy :: Lens' ListContexts (Maybe SortContextsBy) Source #

The property used to sort results. The default value is CreationTime.

Destructuring the Response

data ListContextsResponse Source #

See: newListContextsResponse smart constructor.

Constructors

ListContextsResponse' 

Fields

Instances

Instances details
Eq ListContextsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

Read ListContextsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

Show ListContextsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

Generic ListContextsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

Associated Types

type Rep ListContextsResponse :: Type -> Type #

NFData ListContextsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

Methods

rnf :: ListContextsResponse -> () #

type Rep ListContextsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListContexts

type Rep ListContextsResponse = D1 ('MetaData "ListContextsResponse" "Amazonka.SageMaker.ListContexts" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "ListContextsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contextSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ContextSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListContextsResponse Source #

Create a value of ListContextsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:contextSummaries:ListContextsResponse', listContextsResponse_contextSummaries - A list of contexts and their properties.

$sel:nextToken:ListContexts', listContextsResponse_nextToken - A token for getting the next set of contexts, if there are any.

$sel:httpStatus:ListContextsResponse', listContextsResponse_httpStatus - The response's http status code.

Response Lenses

listContextsResponse_nextToken :: Lens' ListContextsResponse (Maybe Text) Source #

A token for getting the next set of contexts, if there are any.