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.ListProjects

Description

Gets a list of the projects in an Amazon Web Services account.

Synopsis

Creating a Request

data ListProjects Source #

See: newListProjects smart constructor.

Constructors

ListProjects' 

Fields

Instances

Instances details
Eq ListProjects Source # 
Instance details

Defined in Amazonka.SageMaker.ListProjects

Read ListProjects Source # 
Instance details

Defined in Amazonka.SageMaker.ListProjects

Show ListProjects Source # 
Instance details

Defined in Amazonka.SageMaker.ListProjects

Generic ListProjects Source # 
Instance details

Defined in Amazonka.SageMaker.ListProjects

Associated Types

type Rep ListProjects :: Type -> Type #

NFData ListProjects Source # 
Instance details

Defined in Amazonka.SageMaker.ListProjects

Methods

rnf :: ListProjects -> () #

Hashable ListProjects Source # 
Instance details

Defined in Amazonka.SageMaker.ListProjects

ToJSON ListProjects Source # 
Instance details

Defined in Amazonka.SageMaker.ListProjects

AWSRequest ListProjects Source # 
Instance details

Defined in Amazonka.SageMaker.ListProjects

Associated Types

type AWSResponse ListProjects #

ToHeaders ListProjects Source # 
Instance details

Defined in Amazonka.SageMaker.ListProjects

ToPath ListProjects Source # 
Instance details

Defined in Amazonka.SageMaker.ListProjects

ToQuery ListProjects Source # 
Instance details

Defined in Amazonka.SageMaker.ListProjects

type Rep ListProjects Source # 
Instance details

Defined in Amazonka.SageMaker.ListProjects

type AWSResponse ListProjects Source # 
Instance details

Defined in Amazonka.SageMaker.ListProjects

newListProjects :: ListProjects Source #

Create a value of ListProjects 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:nameContains:ListProjects', listProjects_nameContains - A filter that returns the projects whose name contains a specified string.

$sel:creationTimeAfter:ListProjects', listProjects_creationTimeAfter - A filter that returns the projects that were created after a specified time.

$sel:nextToken:ListProjects', listProjects_nextToken - If the result of the previous ListProjects request was truncated, the response includes a NextToken. To retrieve the next set of projects, use the token in the next request.

$sel:sortOrder:ListProjects', listProjects_sortOrder - The sort order for results. The default is Ascending.

$sel:creationTimeBefore:ListProjects', listProjects_creationTimeBefore - A filter that returns the projects that were created before a specified time.

$sel:maxResults:ListProjects', listProjects_maxResults - The maximum number of projects to return in the response.

$sel:sortBy:ListProjects', listProjects_sortBy - The field by which to sort results. The default is CreationTime.

Request Lenses

listProjects_nameContains :: Lens' ListProjects (Maybe Text) Source #

A filter that returns the projects whose name contains a specified string.

listProjects_creationTimeAfter :: Lens' ListProjects (Maybe UTCTime) Source #

A filter that returns the projects that were created after a specified time.

listProjects_nextToken :: Lens' ListProjects (Maybe Text) Source #

If the result of the previous ListProjects request was truncated, the response includes a NextToken. To retrieve the next set of projects, use the token in the next request.

listProjects_sortOrder :: Lens' ListProjects (Maybe ProjectSortOrder) Source #

The sort order for results. The default is Ascending.

listProjects_creationTimeBefore :: Lens' ListProjects (Maybe UTCTime) Source #

A filter that returns the projects that were created before a specified time.

listProjects_maxResults :: Lens' ListProjects (Maybe Natural) Source #

The maximum number of projects to return in the response.

listProjects_sortBy :: Lens' ListProjects (Maybe ProjectSortBy) Source #

The field by which to sort results. The default is CreationTime.

Destructuring the Response

data ListProjectsResponse Source #

See: newListProjectsResponse smart constructor.

Constructors

ListProjectsResponse' 

Fields

  • nextToken :: Maybe Text

    If the result of the previous ListCompilationJobs request was truncated, the response includes a NextToken. To retrieve the next set of model compilation jobs, use the token in the next request.

  • httpStatus :: Int

    The response's http status code.

  • projectSummaryList :: [ProjectSummary]

    A list of summaries of projects.

Instances

Instances details
Eq ListProjectsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListProjects

Read ListProjectsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListProjects

Show ListProjectsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListProjects

Generic ListProjectsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListProjects

Associated Types

type Rep ListProjectsResponse :: Type -> Type #

NFData ListProjectsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListProjects

Methods

rnf :: ListProjectsResponse -> () #

type Rep ListProjectsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListProjects

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

newListProjectsResponse Source #

Create a value of ListProjectsResponse 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:nextToken:ListProjects', listProjectsResponse_nextToken - If the result of the previous ListCompilationJobs request was truncated, the response includes a NextToken. To retrieve the next set of model compilation jobs, use the token in the next request.

$sel:httpStatus:ListProjectsResponse', listProjectsResponse_httpStatus - The response's http status code.

$sel:projectSummaryList:ListProjectsResponse', listProjectsResponse_projectSummaryList - A list of summaries of projects.

Response Lenses

listProjectsResponse_nextToken :: Lens' ListProjectsResponse (Maybe Text) Source #

If the result of the previous ListCompilationJobs request was truncated, the response includes a NextToken. To retrieve the next set of model compilation jobs, use the token in the next request.