amazonka-migrationhubstrategy-2.0: Amazon Migration Hub Strategy Recommendations 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.MigrationHubStrategy.ListCollectors

Description

Retrieves a list of all the installed collectors.

This operation returns paginated results.

Synopsis

Creating a Request

data ListCollectors Source #

See: newListCollectors smart constructor.

Constructors

ListCollectors' 

Fields

  • maxResults :: Maybe Int

    The maximum number of items to include in the response. The maximum value is 100.

  • nextToken :: Maybe Text

    The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.

Instances

Instances details
ToHeaders ListCollectors Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.ListCollectors

ToPath ListCollectors Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.ListCollectors

ToQuery ListCollectors Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.ListCollectors

AWSPager ListCollectors Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.ListCollectors

AWSRequest ListCollectors Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.ListCollectors

Associated Types

type AWSResponse ListCollectors #

Generic ListCollectors Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.ListCollectors

Associated Types

type Rep ListCollectors :: Type -> Type #

Read ListCollectors Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.ListCollectors

Show ListCollectors Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.ListCollectors

NFData ListCollectors Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.ListCollectors

Methods

rnf :: ListCollectors -> () #

Eq ListCollectors Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.ListCollectors

Hashable ListCollectors Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.ListCollectors

type AWSResponse ListCollectors Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.ListCollectors

type Rep ListCollectors Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.ListCollectors

type Rep ListCollectors = D1 ('MetaData "ListCollectors" "Amazonka.MigrationHubStrategy.ListCollectors" "amazonka-migrationhubstrategy-2.0-mnEPazDQ9LCt8OMOo53lQ" 'False) (C1 ('MetaCons "ListCollectors'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListCollectors :: ListCollectors Source #

Create a value of ListCollectors 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:maxResults:ListCollectors', listCollectors_maxResults - The maximum number of items to include in the response. The maximum value is 100.

ListCollectors, listCollectors_nextToken - The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.

Request Lenses

listCollectors_maxResults :: Lens' ListCollectors (Maybe Int) Source #

The maximum number of items to include in the response. The maximum value is 100.

listCollectors_nextToken :: Lens' ListCollectors (Maybe Text) Source #

The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.

Destructuring the Response

data ListCollectorsResponse Source #

See: newListCollectorsResponse smart constructor.

Constructors

ListCollectorsResponse' 

Fields

Instances

Instances details
Generic ListCollectorsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.ListCollectors

Associated Types

type Rep ListCollectorsResponse :: Type -> Type #

Read ListCollectorsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.ListCollectors

Show ListCollectorsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.ListCollectors

NFData ListCollectorsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.ListCollectors

Methods

rnf :: ListCollectorsResponse -> () #

Eq ListCollectorsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.ListCollectors

type Rep ListCollectorsResponse Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.ListCollectors

type Rep ListCollectorsResponse = D1 ('MetaData "ListCollectorsResponse" "Amazonka.MigrationHubStrategy.ListCollectors" "amazonka-migrationhubstrategy-2.0-mnEPazDQ9LCt8OMOo53lQ" 'False) (C1 ('MetaCons "ListCollectorsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "collectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Collector])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListCollectorsResponse Source #

Create a value of ListCollectorsResponse 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:collectors:ListCollectorsResponse', listCollectorsResponse_collectors - The list of all the installed collectors.

ListCollectors, listCollectorsResponse_nextToken - The token you use to retrieve the next set of results, or null if there are no more results.

$sel:httpStatus:ListCollectorsResponse', listCollectorsResponse_httpStatus - The response's http status code.

Response Lenses

listCollectorsResponse_collectors :: Lens' ListCollectorsResponse (Maybe [Collector]) Source #

The list of all the installed collectors.

listCollectorsResponse_nextToken :: Lens' ListCollectorsResponse (Maybe Text) Source #

The token you use to retrieve the next set of results, or null if there are no more results.