amazonka-discovery-2.0: Amazon Application Discovery 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.Discovery.DescribeExportTasks

Description

Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeExportTasks Source #

See: newDescribeExportTasks smart constructor.

Constructors

DescribeExportTasks' 

Fields

  • exportIds :: Maybe [Text]

    One or more unique identifiers used to query the status of an export request.

  • filters :: Maybe [ExportFilter]

    One or more filters.

    • AgentId - ID of the agent whose collected data will be exported
  • maxResults :: Maybe Int

    The maximum number of volume results returned by DescribeExportTasks in paginated output. When this parameter is used, DescribeExportTasks only returns maxResults results in a single page along with a nextToken response element.

  • nextToken :: Maybe Text

    The nextToken value returned from a previous paginated DescribeExportTasks request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.

Instances

Instances details
ToJSON DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

ToHeaders DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

ToPath DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

ToQuery DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

AWSPager DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

AWSRequest DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

Associated Types

type AWSResponse DescribeExportTasks #

Generic DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

Associated Types

type Rep DescribeExportTasks :: Type -> Type #

Read DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

Show DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

NFData DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

Methods

rnf :: DescribeExportTasks -> () #

Eq DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

Hashable DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

type AWSResponse DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

type Rep DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

type Rep DescribeExportTasks = D1 ('MetaData "DescribeExportTasks" "Amazonka.Discovery.DescribeExportTasks" "amazonka-discovery-2.0-FHPaShbhCtL10K1sBxZHs" 'False) (C1 ('MetaCons "DescribeExportTasks'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "exportIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExportFilter]))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDescribeExportTasks :: DescribeExportTasks Source #

Create a value of DescribeExportTasks 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:exportIds:DescribeExportTasks', describeExportTasks_exportIds - One or more unique identifiers used to query the status of an export request.

$sel:filters:DescribeExportTasks', describeExportTasks_filters - One or more filters.

  • AgentId - ID of the agent whose collected data will be exported

$sel:maxResults:DescribeExportTasks', describeExportTasks_maxResults - The maximum number of volume results returned by DescribeExportTasks in paginated output. When this parameter is used, DescribeExportTasks only returns maxResults results in a single page along with a nextToken response element.

DescribeExportTasks, describeExportTasks_nextToken - The nextToken value returned from a previous paginated DescribeExportTasks request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.

Request Lenses

describeExportTasks_exportIds :: Lens' DescribeExportTasks (Maybe [Text]) Source #

One or more unique identifiers used to query the status of an export request.

describeExportTasks_filters :: Lens' DescribeExportTasks (Maybe [ExportFilter]) Source #

One or more filters.

  • AgentId - ID of the agent whose collected data will be exported

describeExportTasks_maxResults :: Lens' DescribeExportTasks (Maybe Int) Source #

The maximum number of volume results returned by DescribeExportTasks in paginated output. When this parameter is used, DescribeExportTasks only returns maxResults results in a single page along with a nextToken response element.

describeExportTasks_nextToken :: Lens' DescribeExportTasks (Maybe Text) Source #

The nextToken value returned from a previous paginated DescribeExportTasks request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.

Destructuring the Response

data DescribeExportTasksResponse Source #

See: newDescribeExportTasksResponse smart constructor.

Constructors

DescribeExportTasksResponse' 

Fields

  • exportsInfo :: Maybe [ExportInfo]

    Contains one or more sets of export request details. When the status of a request is SUCCEEDED, the response includes a URL for an Amazon S3 bucket where you can view the data in a CSV file.

  • nextToken :: Maybe Text

    The nextToken value to include in a future DescribeExportTasks request. When the results of a DescribeExportTasks request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeExportTasksResponse Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

Associated Types

type Rep DescribeExportTasksResponse :: Type -> Type #

Read DescribeExportTasksResponse Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

Show DescribeExportTasksResponse Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

NFData DescribeExportTasksResponse Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

Eq DescribeExportTasksResponse Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

type Rep DescribeExportTasksResponse Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

type Rep DescribeExportTasksResponse = D1 ('MetaData "DescribeExportTasksResponse" "Amazonka.Discovery.DescribeExportTasks" "amazonka-discovery-2.0-FHPaShbhCtL10K1sBxZHs" 'False) (C1 ('MetaCons "DescribeExportTasksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "exportsInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExportInfo])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeExportTasksResponse Source #

Create a value of DescribeExportTasksResponse 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:exportsInfo:DescribeExportTasksResponse', describeExportTasksResponse_exportsInfo - Contains one or more sets of export request details. When the status of a request is SUCCEEDED, the response includes a URL for an Amazon S3 bucket where you can view the data in a CSV file.

DescribeExportTasks, describeExportTasksResponse_nextToken - The nextToken value to include in a future DescribeExportTasks request. When the results of a DescribeExportTasks request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

$sel:httpStatus:DescribeExportTasksResponse', describeExportTasksResponse_httpStatus - The response's http status code.

Response Lenses

describeExportTasksResponse_exportsInfo :: Lens' DescribeExportTasksResponse (Maybe [ExportInfo]) Source #

Contains one or more sets of export request details. When the status of a request is SUCCEEDED, the response includes a URL for an Amazon S3 bucket where you can view the data in a CSV file.

describeExportTasksResponse_nextToken :: Lens' DescribeExportTasksResponse (Maybe Text) Source #

The nextToken value to include in a future DescribeExportTasks request. When the results of a DescribeExportTasks request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.