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

Description

Use this operation to list all private and vendor workforces in an Amazon Web Services Region. Note that you can only have one private workforce per Amazon Web Services Region.

This operation returns paginated results.

Synopsis

Creating a Request

data ListWorkforces Source #

See: newListWorkforces smart constructor.

Constructors

ListWorkforces' 

Fields

Instances

Instances details
Eq ListWorkforces Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

Read ListWorkforces Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

Show ListWorkforces Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

Generic ListWorkforces Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

Associated Types

type Rep ListWorkforces :: Type -> Type #

NFData ListWorkforces Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

Methods

rnf :: ListWorkforces -> () #

Hashable ListWorkforces Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

ToJSON ListWorkforces Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

AWSPager ListWorkforces Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

AWSRequest ListWorkforces Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

Associated Types

type AWSResponse ListWorkforces #

ToHeaders ListWorkforces Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

ToPath ListWorkforces Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

ToQuery ListWorkforces Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

type Rep ListWorkforces Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

type Rep ListWorkforces = D1 ('MetaData "ListWorkforces" "Amazonka.SageMaker.ListWorkforces" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "ListWorkforces'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nameContains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "sortOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SortOrder)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "sortBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ListWorkforcesSortByOptions))))))
type AWSResponse ListWorkforces Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

newListWorkforces :: ListWorkforces Source #

Create a value of ListWorkforces 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:ListWorkforces', listWorkforces_nameContains - A filter you can use to search for workforces using part of the workforce name.

$sel:nextToken:ListWorkforces', listWorkforces_nextToken - A token to resume pagination.

$sel:sortOrder:ListWorkforces', listWorkforces_sortOrder - Sort workforces in ascending or descending order.

$sel:maxResults:ListWorkforces', listWorkforces_maxResults - The maximum number of workforces returned in the response.

$sel:sortBy:ListWorkforces', listWorkforces_sortBy - Sort workforces using the workforce name or creation date.

Request Lenses

listWorkforces_nameContains :: Lens' ListWorkforces (Maybe Text) Source #

A filter you can use to search for workforces using part of the workforce name.

listWorkforces_nextToken :: Lens' ListWorkforces (Maybe Text) Source #

A token to resume pagination.

listWorkforces_sortOrder :: Lens' ListWorkforces (Maybe SortOrder) Source #

Sort workforces in ascending or descending order.

listWorkforces_maxResults :: Lens' ListWorkforces (Maybe Natural) Source #

The maximum number of workforces returned in the response.

listWorkforces_sortBy :: Lens' ListWorkforces (Maybe ListWorkforcesSortByOptions) Source #

Sort workforces using the workforce name or creation date.

Destructuring the Response

data ListWorkforcesResponse Source #

See: newListWorkforcesResponse smart constructor.

Constructors

ListWorkforcesResponse' 

Fields

Instances

Instances details
Eq ListWorkforcesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

Read ListWorkforcesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

Show ListWorkforcesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

Generic ListWorkforcesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

Associated Types

type Rep ListWorkforcesResponse :: Type -> Type #

NFData ListWorkforcesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

Methods

rnf :: ListWorkforcesResponse -> () #

type Rep ListWorkforcesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListWorkforces

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

newListWorkforcesResponse Source #

Create a value of ListWorkforcesResponse 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:ListWorkforces', listWorkforcesResponse_nextToken - A token to resume pagination.

$sel:httpStatus:ListWorkforcesResponse', listWorkforcesResponse_httpStatus - The response's http status code.

$sel:workforces:ListWorkforcesResponse', listWorkforcesResponse_workforces - A list containing information about your workforce.

Response Lenses

listWorkforcesResponse_workforces :: Lens' ListWorkforcesResponse [Workforce] Source #

A list containing information about your workforce.