amazonka-sagemaker-2.0: Amazon SageMaker Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SageMaker.ListHubs

Description

List all existing hubs.

Synopsis

Creating a Request

data ListHubs Source #

See: newListHubs smart constructor.

Constructors

ListHubs' 

Fields

Instances

Instances details
ToJSON ListHubs Source # 
Instance details

Defined in Amazonka.SageMaker.ListHubs

ToHeaders ListHubs Source # 
Instance details

Defined in Amazonka.SageMaker.ListHubs

Methods

toHeaders :: ListHubs -> [Header] #

ToPath ListHubs Source # 
Instance details

Defined in Amazonka.SageMaker.ListHubs

ToQuery ListHubs Source # 
Instance details

Defined in Amazonka.SageMaker.ListHubs

AWSRequest ListHubs Source # 
Instance details

Defined in Amazonka.SageMaker.ListHubs

Associated Types

type AWSResponse ListHubs #

Generic ListHubs Source # 
Instance details

Defined in Amazonka.SageMaker.ListHubs

Associated Types

type Rep ListHubs :: Type -> Type #

Methods

from :: ListHubs -> Rep ListHubs x #

to :: Rep ListHubs x -> ListHubs #

Read ListHubs Source # 
Instance details

Defined in Amazonka.SageMaker.ListHubs

Show ListHubs Source # 
Instance details

Defined in Amazonka.SageMaker.ListHubs

NFData ListHubs Source # 
Instance details

Defined in Amazonka.SageMaker.ListHubs

Methods

rnf :: ListHubs -> () #

Eq ListHubs Source # 
Instance details

Defined in Amazonka.SageMaker.ListHubs

Hashable ListHubs Source # 
Instance details

Defined in Amazonka.SageMaker.ListHubs

Methods

hashWithSalt :: Int -> ListHubs -> Int #

hash :: ListHubs -> Int #

type AWSResponse ListHubs Source # 
Instance details

Defined in Amazonka.SageMaker.ListHubs

type Rep ListHubs Source # 
Instance details

Defined in Amazonka.SageMaker.ListHubs

newListHubs :: ListHubs Source #

Create a value of ListHubs 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:creationTimeAfter:ListHubs', listHubs_creationTimeAfter - Only list hubs that were created after the time specified.

$sel:creationTimeBefore:ListHubs', listHubs_creationTimeBefore - Only list hubs that were created before the time specified.

$sel:lastModifiedTimeAfter:ListHubs', listHubs_lastModifiedTimeAfter - Only list hubs that were last modified after the time specified.

$sel:lastModifiedTimeBefore:ListHubs', listHubs_lastModifiedTimeBefore - Only list hubs that were last modified before the time specified.

$sel:maxResults:ListHubs', listHubs_maxResults - The maximum number of hubs to list.

$sel:nameContains:ListHubs', listHubs_nameContains - Only list hubs with names that contain the specified string.

ListHubs, listHubs_nextToken - If the response to a previous ListHubs request was truncated, the response includes a NextToken. To retrieve the next set of hubs, use the token in the next request.

$sel:sortBy:ListHubs', listHubs_sortBy - Sort hubs by either name or creation time.

$sel:sortOrder:ListHubs', listHubs_sortOrder - Sort hubs by ascending or descending order.

Request Lenses

listHubs_creationTimeAfter :: Lens' ListHubs (Maybe UTCTime) Source #

Only list hubs that were created after the time specified.

listHubs_creationTimeBefore :: Lens' ListHubs (Maybe UTCTime) Source #

Only list hubs that were created before the time specified.

listHubs_lastModifiedTimeAfter :: Lens' ListHubs (Maybe UTCTime) Source #

Only list hubs that were last modified after the time specified.

listHubs_lastModifiedTimeBefore :: Lens' ListHubs (Maybe UTCTime) Source #

Only list hubs that were last modified before the time specified.

listHubs_maxResults :: Lens' ListHubs (Maybe Natural) Source #

The maximum number of hubs to list.

listHubs_nameContains :: Lens' ListHubs (Maybe Text) Source #

Only list hubs with names that contain the specified string.

listHubs_nextToken :: Lens' ListHubs (Maybe Text) Source #

If the response to a previous ListHubs request was truncated, the response includes a NextToken. To retrieve the next set of hubs, use the token in the next request.

listHubs_sortBy :: Lens' ListHubs (Maybe HubSortBy) Source #

Sort hubs by either name or creation time.

listHubs_sortOrder :: Lens' ListHubs (Maybe SortOrder) Source #

Sort hubs by ascending or descending order.

Destructuring the Response

data ListHubsResponse Source #

See: newListHubsResponse smart constructor.

Constructors

ListHubsResponse' 

Fields

  • nextToken :: Maybe Text

    If the response is truncated, SageMaker returns this token. To retrieve the next set of hubs, use it in the subsequent request.

  • httpStatus :: Int

    The response's http status code.

  • hubSummaries :: [HubInfo]

    The summaries of the listed hubs.

Instances

Instances details
Generic ListHubsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListHubs

Associated Types

type Rep ListHubsResponse :: Type -> Type #

Read ListHubsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListHubs

Show ListHubsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListHubs

NFData ListHubsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListHubs

Methods

rnf :: ListHubsResponse -> () #

Eq ListHubsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListHubs

type Rep ListHubsResponse Source # 
Instance details

Defined in Amazonka.SageMaker.ListHubs

type Rep ListHubsResponse = D1 ('MetaData "ListHubsResponse" "Amazonka.SageMaker.ListHubs" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "ListHubsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "hubSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [HubInfo]))))

newListHubsResponse Source #

Create a value of ListHubsResponse 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:

ListHubs, listHubsResponse_nextToken - If the response is truncated, SageMaker returns this token. To retrieve the next set of hubs, use it in the subsequent request.

$sel:httpStatus:ListHubsResponse', listHubsResponse_httpStatus - The response's http status code.

$sel:hubSummaries:ListHubsResponse', listHubsResponse_hubSummaries - The summaries of the listed hubs.

Response Lenses

listHubsResponse_nextToken :: Lens' ListHubsResponse (Maybe Text) Source #

If the response is truncated, SageMaker returns this token. To retrieve the next set of hubs, use it in the subsequent request.

listHubsResponse_httpStatus :: Lens' ListHubsResponse Int Source #

The response's http status code.

listHubsResponse_hubSummaries :: Lens' ListHubsResponse [HubInfo] Source #

The summaries of the listed hubs.