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

Description

Lists all, or filtered by resource name, migration tasks associated with the user account making this call. This API has the following traits:

  • Can show a summary list of the most recent migration tasks.
  • Can show a summary list of migration tasks associated with a given discovered resource.
  • Lists migration tasks in a paginated interface.

This operation returns paginated results.

Synopsis

Creating a Request

data ListMigrationTasks Source #

See: newListMigrationTasks smart constructor.

Constructors

ListMigrationTasks' 

Fields

  • resourceName :: Maybe Text

    Filter migration tasks by discovered resource name.

  • 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

    Value to specify how many results are returned per page.

Instances

Instances details
Eq ListMigrationTasks Source # 
Instance details

Defined in Amazonka.MigrationHub.ListMigrationTasks

Read ListMigrationTasks Source # 
Instance details

Defined in Amazonka.MigrationHub.ListMigrationTasks

Show ListMigrationTasks Source # 
Instance details

Defined in Amazonka.MigrationHub.ListMigrationTasks

Generic ListMigrationTasks Source # 
Instance details

Defined in Amazonka.MigrationHub.ListMigrationTasks

Associated Types

type Rep ListMigrationTasks :: Type -> Type #

NFData ListMigrationTasks Source # 
Instance details

Defined in Amazonka.MigrationHub.ListMigrationTasks

Methods

rnf :: ListMigrationTasks -> () #

Hashable ListMigrationTasks Source # 
Instance details

Defined in Amazonka.MigrationHub.ListMigrationTasks

ToJSON ListMigrationTasks Source # 
Instance details

Defined in Amazonka.MigrationHub.ListMigrationTasks

AWSPager ListMigrationTasks Source # 
Instance details

Defined in Amazonka.MigrationHub.ListMigrationTasks

AWSRequest ListMigrationTasks Source # 
Instance details

Defined in Amazonka.MigrationHub.ListMigrationTasks

Associated Types

type AWSResponse ListMigrationTasks #

ToHeaders ListMigrationTasks Source # 
Instance details

Defined in Amazonka.MigrationHub.ListMigrationTasks

ToPath ListMigrationTasks Source # 
Instance details

Defined in Amazonka.MigrationHub.ListMigrationTasks

ToQuery ListMigrationTasks Source # 
Instance details

Defined in Amazonka.MigrationHub.ListMigrationTasks

type Rep ListMigrationTasks Source # 
Instance details

Defined in Amazonka.MigrationHub.ListMigrationTasks

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

Defined in Amazonka.MigrationHub.ListMigrationTasks

newListMigrationTasks :: ListMigrationTasks Source #

Create a value of ListMigrationTasks 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:resourceName:ListMigrationTasks', listMigrationTasks_resourceName - Filter migration tasks by discovered resource name.

$sel:nextToken:ListMigrationTasks', listMigrationTasks_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:ListMigrationTasks', listMigrationTasks_maxResults - Value to specify how many results are returned per page.

Request Lenses

listMigrationTasks_resourceName :: Lens' ListMigrationTasks (Maybe Text) Source #

Filter migration tasks by discovered resource name.

listMigrationTasks_nextToken :: Lens' ListMigrationTasks (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.

listMigrationTasks_maxResults :: Lens' ListMigrationTasks (Maybe Natural) Source #

Value to specify how many results are returned per page.

Destructuring the Response

data ListMigrationTasksResponse Source #

See: newListMigrationTasksResponse smart constructor.

Constructors

ListMigrationTasksResponse' 

Fields

  • migrationTaskSummaryList :: Maybe [MigrationTaskSummary]

    Lists the migration task's summary which includes: MigrationTaskName, ProgressPercent, ProgressUpdateStream, Status, and the UpdateDateTime for each task.

  • nextToken :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListMigrationTasksResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ListMigrationTasks

Read ListMigrationTasksResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ListMigrationTasks

Show ListMigrationTasksResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ListMigrationTasks

Generic ListMigrationTasksResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ListMigrationTasks

Associated Types

type Rep ListMigrationTasksResponse :: Type -> Type #

NFData ListMigrationTasksResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ListMigrationTasks

type Rep ListMigrationTasksResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ListMigrationTasks

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

newListMigrationTasksResponse Source #

Create a value of ListMigrationTasksResponse 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:migrationTaskSummaryList:ListMigrationTasksResponse', listMigrationTasksResponse_migrationTaskSummaryList - Lists the migration task's summary which includes: MigrationTaskName, ProgressPercent, ProgressUpdateStream, Status, and the UpdateDateTime for each task.

$sel:nextToken:ListMigrationTasks', listMigrationTasksResponse_nextToken - If there are more migration tasks 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:ListMigrationTasksResponse', listMigrationTasksResponse_httpStatus - The response's http status code.

Response Lenses

listMigrationTasksResponse_migrationTaskSummaryList :: Lens' ListMigrationTasksResponse (Maybe [MigrationTaskSummary]) Source #

Lists the migration task's summary which includes: MigrationTaskName, ProgressPercent, ProgressUpdateStream, Status, and the UpdateDateTime for each task.

listMigrationTasksResponse_nextToken :: Lens' ListMigrationTasksResponse (Maybe Text) Source #

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