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

Description

Returns an array of import tasks for your account, including status information, times, IDs, the Amazon S3 Object URL for the import file, and more.

Synopsis

Creating a Request

data DescribeImportTasks Source #

See: newDescribeImportTasks smart constructor.

Constructors

DescribeImportTasks' 

Fields

  • filters :: Maybe [ImportTaskFilter]

    An array of name-value pairs that you provide to filter the results for the DescribeImportTask request to a specific subset of results. Currently, wildcard values aren't supported for filters.

  • nextToken :: Maybe Text

    The token to request a specific page of results.

  • maxResults :: Maybe Natural

    The maximum number of results that you want this request to return, up to 100.

Instances

Instances details
Eq DescribeImportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeImportTasks

Read DescribeImportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeImportTasks

Show DescribeImportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeImportTasks

Generic DescribeImportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeImportTasks

Associated Types

type Rep DescribeImportTasks :: Type -> Type #

NFData DescribeImportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeImportTasks

Methods

rnf :: DescribeImportTasks -> () #

Hashable DescribeImportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeImportTasks

ToJSON DescribeImportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeImportTasks

AWSRequest DescribeImportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeImportTasks

Associated Types

type AWSResponse DescribeImportTasks #

ToHeaders DescribeImportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeImportTasks

ToPath DescribeImportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeImportTasks

ToQuery DescribeImportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeImportTasks

type Rep DescribeImportTasks Source # 
Instance details

Defined in Amazonka.Discovery.DescribeImportTasks

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

Defined in Amazonka.Discovery.DescribeImportTasks

newDescribeImportTasks :: DescribeImportTasks Source #

Create a value of DescribeImportTasks 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:DescribeImportTasks', describeImportTasks_filters - An array of name-value pairs that you provide to filter the results for the DescribeImportTask request to a specific subset of results. Currently, wildcard values aren't supported for filters.

$sel:nextToken:DescribeImportTasks', describeImportTasks_nextToken - The token to request a specific page of results.

$sel:maxResults:DescribeImportTasks', describeImportTasks_maxResults - The maximum number of results that you want this request to return, up to 100.

Request Lenses

describeImportTasks_filters :: Lens' DescribeImportTasks (Maybe [ImportTaskFilter]) Source #

An array of name-value pairs that you provide to filter the results for the DescribeImportTask request to a specific subset of results. Currently, wildcard values aren't supported for filters.

describeImportTasks_nextToken :: Lens' DescribeImportTasks (Maybe Text) Source #

The token to request a specific page of results.

describeImportTasks_maxResults :: Lens' DescribeImportTasks (Maybe Natural) Source #

The maximum number of results that you want this request to return, up to 100.

Destructuring the Response

data DescribeImportTasksResponse Source #

See: newDescribeImportTasksResponse smart constructor.

Constructors

DescribeImportTasksResponse' 

Fields

  • tasks :: Maybe [ImportTask]

    A returned array of import tasks that match any applied filters, up to the specified number of maximum results.

  • nextToken :: Maybe Text

    The token to request the next page of results.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeImportTasksResponse Source # 
Instance details

Defined in Amazonka.Discovery.DescribeImportTasks

Read DescribeImportTasksResponse Source # 
Instance details

Defined in Amazonka.Discovery.DescribeImportTasks

Show DescribeImportTasksResponse Source # 
Instance details

Defined in Amazonka.Discovery.DescribeImportTasks

Generic DescribeImportTasksResponse Source # 
Instance details

Defined in Amazonka.Discovery.DescribeImportTasks

Associated Types

type Rep DescribeImportTasksResponse :: Type -> Type #

NFData DescribeImportTasksResponse Source # 
Instance details

Defined in Amazonka.Discovery.DescribeImportTasks

type Rep DescribeImportTasksResponse Source # 
Instance details

Defined in Amazonka.Discovery.DescribeImportTasks

type Rep DescribeImportTasksResponse = D1 ('MetaData "DescribeImportTasksResponse" "Amazonka.Discovery.DescribeImportTasks" "libZSservicesZSamazonka-discoveryZSamazonka-discovery" 'False) (C1 ('MetaCons "DescribeImportTasksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tasks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ImportTask])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeImportTasksResponse Source #

Create a value of DescribeImportTasksResponse 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:tasks:DescribeImportTasksResponse', describeImportTasksResponse_tasks - A returned array of import tasks that match any applied filters, up to the specified number of maximum results.

$sel:nextToken:DescribeImportTasks', describeImportTasksResponse_nextToken - The token to request the next page of results.

$sel:httpStatus:DescribeImportTasksResponse', describeImportTasksResponse_httpStatus - The response's http status code.

Response Lenses

describeImportTasksResponse_tasks :: Lens' DescribeImportTasksResponse (Maybe [ImportTask]) Source #

A returned array of import tasks that match any applied filters, up to the specified number of maximum results.

describeImportTasksResponse_nextToken :: Lens' DescribeImportTasksResponse (Maybe Text) Source #

The token to request the next page of results.