libZSservicesZSamazonka-migrationhubZSamazonka-migrationhub
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.MigrationHub.ListDiscoveredResources

Description

Lists discovered resources associated with the given MigrationTask.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDiscoveredResources Source #

See: newListDiscoveredResources smart constructor.

Constructors

ListDiscoveredResources' 

Fields

  • nextToken :: Maybe Text

    If a NextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in NextToken.

  • maxResults :: Maybe Natural

    The maximum number of results returned per page.

  • progressUpdateStream :: Text

    The name of the ProgressUpdateStream.

  • migrationTaskName :: Text

    The name of the MigrationTask. /Do not store personal data in this field./

Instances

Instances details
Eq ListDiscoveredResources Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

Read ListDiscoveredResources Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

Show ListDiscoveredResources Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

Generic ListDiscoveredResources Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

Associated Types

type Rep ListDiscoveredResources :: Type -> Type #

NFData ListDiscoveredResources Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

Methods

rnf :: ListDiscoveredResources -> () #

Hashable ListDiscoveredResources Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

ToJSON ListDiscoveredResources Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

AWSPager ListDiscoveredResources Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

AWSRequest ListDiscoveredResources Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

ToHeaders ListDiscoveredResources Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

ToPath ListDiscoveredResources Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

ToQuery ListDiscoveredResources Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

type Rep ListDiscoveredResources Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

type Rep ListDiscoveredResources = D1 ('MetaData "ListDiscoveredResources" "Amazonka.MigrationHub.ListDiscoveredResources" "libZSservicesZSamazonka-migrationhubZSamazonka-migrationhub" 'False) (C1 ('MetaCons "ListDiscoveredResources'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "progressUpdateStream") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "migrationTaskName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListDiscoveredResources Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

newListDiscoveredResources Source #

Create a value of ListDiscoveredResources 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:ListDiscoveredResources', listDiscoveredResources_nextToken - If a NextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in NextToken.

$sel:maxResults:ListDiscoveredResources', listDiscoveredResources_maxResults - The maximum number of results returned per page.

$sel:progressUpdateStream:ListDiscoveredResources', listDiscoveredResources_progressUpdateStream - The name of the ProgressUpdateStream.

$sel:migrationTaskName:ListDiscoveredResources', listDiscoveredResources_migrationTaskName - The name of the MigrationTask. /Do not store personal data in this field./

Request Lenses

listDiscoveredResources_nextToken :: Lens' ListDiscoveredResources (Maybe Text) Source #

If a NextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in NextToken.

listDiscoveredResources_maxResults :: Lens' ListDiscoveredResources (Maybe Natural) Source #

The maximum number of results returned per page.

listDiscoveredResources_migrationTaskName :: Lens' ListDiscoveredResources Text Source #

The name of the MigrationTask. /Do not store personal data in this field./

Destructuring the Response

data ListDiscoveredResourcesResponse Source #

See: newListDiscoveredResourcesResponse smart constructor.

Constructors

ListDiscoveredResourcesResponse' 

Fields

Instances

Instances details
Eq ListDiscoveredResourcesResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

Read ListDiscoveredResourcesResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

Show ListDiscoveredResourcesResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

Generic ListDiscoveredResourcesResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

Associated Types

type Rep ListDiscoveredResourcesResponse :: Type -> Type #

NFData ListDiscoveredResourcesResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

type Rep ListDiscoveredResourcesResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ListDiscoveredResources

type Rep ListDiscoveredResourcesResponse = D1 ('MetaData "ListDiscoveredResourcesResponse" "Amazonka.MigrationHub.ListDiscoveredResources" "libZSservicesZSamazonka-migrationhubZSamazonka-migrationhub" 'False) (C1 ('MetaCons "ListDiscoveredResourcesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "discoveredResourceList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DiscoveredResource])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDiscoveredResourcesResponse Source #

Create a value of ListDiscoveredResourcesResponse 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:discoveredResourceList:ListDiscoveredResourcesResponse', listDiscoveredResourcesResponse_discoveredResourceList - Returned list of discovered resources associated with the given MigrationTask.

$sel:nextToken:ListDiscoveredResources', listDiscoveredResourcesResponse_nextToken - If there are more discovered resources than the max result, return the next token to be passed to the next call as a bookmark of where to start from.

$sel:httpStatus:ListDiscoveredResourcesResponse', listDiscoveredResourcesResponse_httpStatus - The response's http status code.

Response Lenses

listDiscoveredResourcesResponse_discoveredResourceList :: Lens' ListDiscoveredResourcesResponse (Maybe [DiscoveredResource]) Source #

Returned list of discovered resources associated with the given MigrationTask.

listDiscoveredResourcesResponse_nextToken :: Lens' ListDiscoveredResourcesResponse (Maybe Text) Source #

If there are more discovered resources than the max result, return the next token to be passed to the next call as a bookmark of where to start from.