libZSservicesZSamazonka-discoveryZSamazonka-discovery
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.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

  • filters :: Maybe [ExportFilter]

    One or more filters.

    • AgentId - ID of the agent whose collected data will be exported
  • 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.

  • exportIds :: Maybe [Text]

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

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

Instances

Instances details
Eq DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

Read DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

Show DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

Generic DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

Associated Types

type Rep DescribeExportTasks :: Type -> Type #

NFData DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

Methods

rnf :: DescribeExportTasks -> () #

Hashable DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

ToJSON 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 #

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

type Rep DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

type Rep DescribeExportTasks = D1 ('MetaData "DescribeExportTasks" "Amazonka.Discovery.DescribeExportTasks" "libZSservicesZSamazonka-discoveryZSamazonka-discovery" 'False) (C1 ('MetaCons "DescribeExportTasks'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExportFilter])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "exportIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse DescribeExportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

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:filters:DescribeExportTasks', describeExportTasks_filters - One or more filters.

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

$sel:nextToken: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.

$sel:exportIds:DescribeExportTasks', describeExportTasks_exportIds - One or more unique identifiers used to query the status of an export request.

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

Request Lenses

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

One or more filters.

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

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.

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

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

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.

Destructuring the Response

data DescribeExportTasksResponse Source #

See: newDescribeExportTasksResponse smart constructor.

Constructors

DescribeExportTasksResponse' 

Fields

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

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeExportTasksResponse Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

Read DescribeExportTasksResponse Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

Show DescribeExportTasksResponse Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

Generic DescribeExportTasksResponse Source # 
Instance details

Defined in Amazonka.Discovery.DescribeExportTasks

Associated Types

type Rep DescribeExportTasksResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-discoveryZSamazonka-discovery" 'False) (C1 ('MetaCons "DescribeExportTasksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "exportsInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExportInfo])) :*: 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:nextToken: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: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.

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

Response Lenses

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.

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.