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

Description

Lists all the migration statuses for your applications. If you use the optional ApplicationIds parameter, only the migration statuses for those applications will be returned.

This operation returns paginated results.

Synopsis

Creating a Request

data ListApplicationStates Source #

See: newListApplicationStates smart constructor.

Constructors

ListApplicationStates' 

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.

  • applicationIds :: Maybe (NonEmpty Text)

    The configurationIds from the Application Discovery Service that uniquely identifies your applications.

  • maxResults :: Maybe Natural

    Maximum number of results to be returned per page.

Instances

Instances details
Eq ListApplicationStates Source # 
Instance details

Defined in Amazonka.MigrationHub.ListApplicationStates

Read ListApplicationStates Source # 
Instance details

Defined in Amazonka.MigrationHub.ListApplicationStates

Show ListApplicationStates Source # 
Instance details

Defined in Amazonka.MigrationHub.ListApplicationStates

Generic ListApplicationStates Source # 
Instance details

Defined in Amazonka.MigrationHub.ListApplicationStates

Associated Types

type Rep ListApplicationStates :: Type -> Type #

NFData ListApplicationStates Source # 
Instance details

Defined in Amazonka.MigrationHub.ListApplicationStates

Methods

rnf :: ListApplicationStates -> () #

Hashable ListApplicationStates Source # 
Instance details

Defined in Amazonka.MigrationHub.ListApplicationStates

ToJSON ListApplicationStates Source # 
Instance details

Defined in Amazonka.MigrationHub.ListApplicationStates

AWSPager ListApplicationStates Source # 
Instance details

Defined in Amazonka.MigrationHub.ListApplicationStates

AWSRequest ListApplicationStates Source # 
Instance details

Defined in Amazonka.MigrationHub.ListApplicationStates

Associated Types

type AWSResponse ListApplicationStates #

ToHeaders ListApplicationStates Source # 
Instance details

Defined in Amazonka.MigrationHub.ListApplicationStates

ToPath ListApplicationStates Source # 
Instance details

Defined in Amazonka.MigrationHub.ListApplicationStates

ToQuery ListApplicationStates Source # 
Instance details

Defined in Amazonka.MigrationHub.ListApplicationStates

type Rep ListApplicationStates Source # 
Instance details

Defined in Amazonka.MigrationHub.ListApplicationStates

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

Defined in Amazonka.MigrationHub.ListApplicationStates

newListApplicationStates :: ListApplicationStates Source #

Create a value of ListApplicationStates 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:ListApplicationStates', listApplicationStates_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:applicationIds:ListApplicationStates', listApplicationStates_applicationIds - The configurationIds from the Application Discovery Service that uniquely identifies your applications.

$sel:maxResults:ListApplicationStates', listApplicationStates_maxResults - Maximum number of results to be returned per page.

Request Lenses

listApplicationStates_nextToken :: Lens' ListApplicationStates (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.

listApplicationStates_applicationIds :: Lens' ListApplicationStates (Maybe (NonEmpty Text)) Source #

The configurationIds from the Application Discovery Service that uniquely identifies your applications.

listApplicationStates_maxResults :: Lens' ListApplicationStates (Maybe Natural) Source #

Maximum number of results to be returned per page.

Destructuring the Response

data ListApplicationStatesResponse Source #

See: newListApplicationStatesResponse smart constructor.

Constructors

ListApplicationStatesResponse' 

Fields

  • applicationStateList :: Maybe [ApplicationState]

    A list of Applications that exist in Application Discovery Service.

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListApplicationStatesResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ListApplicationStates

Read ListApplicationStatesResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ListApplicationStates

Show ListApplicationStatesResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ListApplicationStates

Generic ListApplicationStatesResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ListApplicationStates

Associated Types

type Rep ListApplicationStatesResponse :: Type -> Type #

NFData ListApplicationStatesResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ListApplicationStates

type Rep ListApplicationStatesResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ListApplicationStates

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

newListApplicationStatesResponse Source #

Create a value of ListApplicationStatesResponse 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:applicationStateList:ListApplicationStatesResponse', listApplicationStatesResponse_applicationStateList - A list of Applications that exist in Application Discovery Service.

$sel:nextToken:ListApplicationStates', listApplicationStatesResponse_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:httpStatus:ListApplicationStatesResponse', listApplicationStatesResponse_httpStatus - The response's http status code.

Response Lenses

listApplicationStatesResponse_applicationStateList :: Lens' ListApplicationStatesResponse (Maybe [ApplicationState]) Source #

A list of Applications that exist in Application Discovery Service.

listApplicationStatesResponse_nextToken :: Lens' ListApplicationStatesResponse (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.