amazonka-dynamodb-2.0: Amazon DynamoDB 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.DynamoDB.ListImports

Description

Lists completed imports within the past 90 days.

Synopsis

Creating a Request

data ListImports Source #

See: newListImports smart constructor.

Constructors

ListImports' 

Fields

  • nextToken :: Maybe Text

    An optional string that, if supplied, must be copied from the output of a previous call to ListImports. When provided in this manner, the API fetches the next page of results.

  • pageSize :: Maybe Natural

    The number of ImportSummary objects returned in a single page.

  • tableArn :: Maybe Text

    The Amazon Resource Name (ARN) associated with the table that was imported to.

Instances

Instances details
ToJSON ListImports Source # 
Instance details

Defined in Amazonka.DynamoDB.ListImports

ToHeaders ListImports Source # 
Instance details

Defined in Amazonka.DynamoDB.ListImports

Methods

toHeaders :: ListImports -> [Header] #

ToPath ListImports Source # 
Instance details

Defined in Amazonka.DynamoDB.ListImports

ToQuery ListImports Source # 
Instance details

Defined in Amazonka.DynamoDB.ListImports

AWSRequest ListImports Source # 
Instance details

Defined in Amazonka.DynamoDB.ListImports

Associated Types

type AWSResponse ListImports #

Generic ListImports Source # 
Instance details

Defined in Amazonka.DynamoDB.ListImports

Associated Types

type Rep ListImports :: Type -> Type #

Read ListImports Source # 
Instance details

Defined in Amazonka.DynamoDB.ListImports

Show ListImports Source # 
Instance details

Defined in Amazonka.DynamoDB.ListImports

NFData ListImports Source # 
Instance details

Defined in Amazonka.DynamoDB.ListImports

Methods

rnf :: ListImports -> () #

Eq ListImports Source # 
Instance details

Defined in Amazonka.DynamoDB.ListImports

Hashable ListImports Source # 
Instance details

Defined in Amazonka.DynamoDB.ListImports

type AWSResponse ListImports Source # 
Instance details

Defined in Amazonka.DynamoDB.ListImports

type Rep ListImports Source # 
Instance details

Defined in Amazonka.DynamoDB.ListImports

type Rep ListImports = D1 ('MetaData "ListImports" "Amazonka.DynamoDB.ListImports" "amazonka-dynamodb-2.0-GNxlseyeFiu302JKQwQrUS" 'False) (C1 ('MetaCons "ListImports'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "pageSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "tableArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListImports :: ListImports Source #

Create a value of ListImports 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:

ListImports, listImports_nextToken - An optional string that, if supplied, must be copied from the output of a previous call to ListImports. When provided in this manner, the API fetches the next page of results.

$sel:pageSize:ListImports', listImports_pageSize - The number of ImportSummary objects returned in a single page.

ListImports, listImports_tableArn - The Amazon Resource Name (ARN) associated with the table that was imported to.

Request Lenses

listImports_nextToken :: Lens' ListImports (Maybe Text) Source #

An optional string that, if supplied, must be copied from the output of a previous call to ListImports. When provided in this manner, the API fetches the next page of results.

listImports_pageSize :: Lens' ListImports (Maybe Natural) Source #

The number of ImportSummary objects returned in a single page.

listImports_tableArn :: Lens' ListImports (Maybe Text) Source #

The Amazon Resource Name (ARN) associated with the table that was imported to.

Destructuring the Response

data ListImportsResponse Source #

See: newListImportsResponse smart constructor.

Constructors

ListImportsResponse' 

Fields

Instances

Instances details
Generic ListImportsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListImports

Associated Types

type Rep ListImportsResponse :: Type -> Type #

Read ListImportsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListImports

Show ListImportsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListImports

NFData ListImportsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListImports

Methods

rnf :: ListImportsResponse -> () #

Eq ListImportsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListImports

type Rep ListImportsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.ListImports

type Rep ListImportsResponse = D1 ('MetaData "ListImportsResponse" "Amazonka.DynamoDB.ListImports" "amazonka-dynamodb-2.0-GNxlseyeFiu302JKQwQrUS" 'False) (C1 ('MetaCons "ListImportsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "importSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ImportSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListImportsResponse Source #

Create a value of ListImportsResponse 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:importSummaryList:ListImportsResponse', listImportsResponse_importSummaryList - A list of ImportSummary objects.

ListImports, listImportsResponse_nextToken - If this value is returned, there are additional results to be displayed. To retrieve them, call ListImports again, with NextToken set to this value.

$sel:httpStatus:ListImportsResponse', listImportsResponse_httpStatus - The response's http status code.

Response Lenses

listImportsResponse_nextToken :: Lens' ListImportsResponse (Maybe Text) Source #

If this value is returned, there are additional results to be displayed. To retrieve them, call ListImports again, with NextToken set to this value.