amazonka-redshift-serverless-2.0: Amazon Redshift Serverless 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.RedshiftServerLess.ListTableRestoreStatus

Description

Returns information about an array of TableRestoreStatus objects.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTableRestoreStatus Source #

See: newListTableRestoreStatus smart constructor.

Constructors

ListTableRestoreStatus' 

Fields

  • maxResults :: Maybe Natural

    An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

  • namespaceName :: Maybe Text

    The namespace from which to list all of the statuses of RestoreTableFromSnapshot operations .

  • nextToken :: Maybe Text

    If your initial ListTableRestoreStatus operation returns a nextToken, you can include the returned nextToken in following ListTableRestoreStatus operations. This will return results on the next page.

  • workgroupName :: Maybe Text

    The workgroup from which to list all of the statuses of RestoreTableFromSnapshot operations.

Instances

Instances details
ToJSON ListTableRestoreStatus Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

ToHeaders ListTableRestoreStatus Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

ToPath ListTableRestoreStatus Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

ToQuery ListTableRestoreStatus Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

AWSPager ListTableRestoreStatus Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

AWSRequest ListTableRestoreStatus Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

Associated Types

type AWSResponse ListTableRestoreStatus #

Generic ListTableRestoreStatus Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

Associated Types

type Rep ListTableRestoreStatus :: Type -> Type #

Read ListTableRestoreStatus Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

Show ListTableRestoreStatus Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

NFData ListTableRestoreStatus Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

Methods

rnf :: ListTableRestoreStatus -> () #

Eq ListTableRestoreStatus Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

Hashable ListTableRestoreStatus Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

type AWSResponse ListTableRestoreStatus Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

type Rep ListTableRestoreStatus Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

type Rep ListTableRestoreStatus = D1 ('MetaData "ListTableRestoreStatus" "Amazonka.RedshiftServerLess.ListTableRestoreStatus" "amazonka-redshift-serverless-2.0-ApuSN33KEWs53jvwyBa3sl" 'False) (C1 ('MetaCons "ListTableRestoreStatus'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "namespaceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "workgroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListTableRestoreStatus :: ListTableRestoreStatus Source #

Create a value of ListTableRestoreStatus 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:maxResults:ListTableRestoreStatus', listTableRestoreStatus_maxResults - An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

ListTableRestoreStatus, listTableRestoreStatus_namespaceName - The namespace from which to list all of the statuses of RestoreTableFromSnapshot operations .

ListTableRestoreStatus, listTableRestoreStatus_nextToken - If your initial ListTableRestoreStatus operation returns a nextToken, you can include the returned nextToken in following ListTableRestoreStatus operations. This will return results on the next page.

ListTableRestoreStatus, listTableRestoreStatus_workgroupName - The workgroup from which to list all of the statuses of RestoreTableFromSnapshot operations.

Request Lenses

listTableRestoreStatus_maxResults :: Lens' ListTableRestoreStatus (Maybe Natural) Source #

An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

listTableRestoreStatus_namespaceName :: Lens' ListTableRestoreStatus (Maybe Text) Source #

The namespace from which to list all of the statuses of RestoreTableFromSnapshot operations .

listTableRestoreStatus_nextToken :: Lens' ListTableRestoreStatus (Maybe Text) Source #

If your initial ListTableRestoreStatus operation returns a nextToken, you can include the returned nextToken in following ListTableRestoreStatus operations. This will return results on the next page.

listTableRestoreStatus_workgroupName :: Lens' ListTableRestoreStatus (Maybe Text) Source #

The workgroup from which to list all of the statuses of RestoreTableFromSnapshot operations.

Destructuring the Response

data ListTableRestoreStatusResponse Source #

See: newListTableRestoreStatusResponse smart constructor.

Constructors

ListTableRestoreStatusResponse' 

Fields

  • nextToken :: Maybe Text

    If your initial ListTableRestoreStatus operation returns a nextToken, you can include the returned nextToken in following ListTableRestoreStatus operations. This will returns results on the next page.

  • tableRestoreStatuses :: Maybe [TableRestoreStatus]

    The array of returned TableRestoreStatus objects.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListTableRestoreStatusResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

Associated Types

type Rep ListTableRestoreStatusResponse :: Type -> Type #

Read ListTableRestoreStatusResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

Show ListTableRestoreStatusResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

NFData ListTableRestoreStatusResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

Eq ListTableRestoreStatusResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

type Rep ListTableRestoreStatusResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListTableRestoreStatus

type Rep ListTableRestoreStatusResponse = D1 ('MetaData "ListTableRestoreStatusResponse" "Amazonka.RedshiftServerLess.ListTableRestoreStatus" "amazonka-redshift-serverless-2.0-ApuSN33KEWs53jvwyBa3sl" 'False) (C1 ('MetaCons "ListTableRestoreStatusResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tableRestoreStatuses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TableRestoreStatus])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTableRestoreStatusResponse Source #

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

ListTableRestoreStatus, listTableRestoreStatusResponse_nextToken - If your initial ListTableRestoreStatus operation returns a nextToken, you can include the returned nextToken in following ListTableRestoreStatus operations. This will returns results on the next page.

$sel:tableRestoreStatuses:ListTableRestoreStatusResponse', listTableRestoreStatusResponse_tableRestoreStatuses - The array of returned TableRestoreStatus objects.

$sel:httpStatus:ListTableRestoreStatusResponse', listTableRestoreStatusResponse_httpStatus - The response's http status code.

Response Lenses

listTableRestoreStatusResponse_nextToken :: Lens' ListTableRestoreStatusResponse (Maybe Text) Source #

If your initial ListTableRestoreStatus operation returns a nextToken, you can include the returned nextToken in following ListTableRestoreStatus operations. This will returns results on the next page.