amazonka-redshift-2.0: Amazon Redshift 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.Redshift.DescribeTableRestoreStatus

Description

Lists the status of one or more table restore requests made using the RestoreTableFromClusterSnapshot API action. If you don't specify a value for the TableRestoreRequestId parameter, then DescribeTableRestoreStatus returns the status of all table restore requests ordered by the date and time of the request in ascending order. Otherwise DescribeTableRestoreStatus returns the status of the table specified by TableRestoreRequestId.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeTableRestoreStatus Source #

See: newDescribeTableRestoreStatus smart constructor.

Constructors

DescribeTableRestoreStatus' 

Fields

  • clusterIdentifier :: Maybe Text

    The Amazon Redshift cluster that the table is being restored to.

  • marker :: Maybe Text

    An optional pagination token provided by a previous DescribeTableRestoreStatus request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the MaxRecords parameter.

  • maxRecords :: Maybe Int

    The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

  • tableRestoreRequestId :: Maybe Text

    The identifier of the table restore request to return status for. If you don't specify a TableRestoreRequestId value, then DescribeTableRestoreStatus returns the status of all in-progress table restore requests.

Instances

Instances details
ToHeaders DescribeTableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

ToPath DescribeTableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

ToQuery DescribeTableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

AWSPager DescribeTableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

AWSRequest DescribeTableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

Generic DescribeTableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

Associated Types

type Rep DescribeTableRestoreStatus :: Type -> Type #

Read DescribeTableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

Show DescribeTableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

NFData DescribeTableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

Eq DescribeTableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

Hashable DescribeTableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

type AWSResponse DescribeTableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

type Rep DescribeTableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

type Rep DescribeTableRestoreStatus = D1 ('MetaData "DescribeTableRestoreStatus" "Amazonka.Redshift.DescribeTableRestoreStatus" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" 'False) (C1 ('MetaCons "DescribeTableRestoreStatus'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "tableRestoreRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDescribeTableRestoreStatus :: DescribeTableRestoreStatus Source #

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

DescribeTableRestoreStatus, describeTableRestoreStatus_clusterIdentifier - The Amazon Redshift cluster that the table is being restored to.

DescribeTableRestoreStatus, describeTableRestoreStatus_marker - An optional pagination token provided by a previous DescribeTableRestoreStatus request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the MaxRecords parameter.

$sel:maxRecords:DescribeTableRestoreStatus', describeTableRestoreStatus_maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

DescribeTableRestoreStatus, describeTableRestoreStatus_tableRestoreRequestId - The identifier of the table restore request to return status for. If you don't specify a TableRestoreRequestId value, then DescribeTableRestoreStatus returns the status of all in-progress table restore requests.

Request Lenses

describeTableRestoreStatus_clusterIdentifier :: Lens' DescribeTableRestoreStatus (Maybe Text) Source #

The Amazon Redshift cluster that the table is being restored to.

describeTableRestoreStatus_marker :: Lens' DescribeTableRestoreStatus (Maybe Text) Source #

An optional pagination token provided by a previous DescribeTableRestoreStatus request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the MaxRecords parameter.

describeTableRestoreStatus_maxRecords :: Lens' DescribeTableRestoreStatus (Maybe Int) Source #

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

describeTableRestoreStatus_tableRestoreRequestId :: Lens' DescribeTableRestoreStatus (Maybe Text) Source #

The identifier of the table restore request to return status for. If you don't specify a TableRestoreRequestId value, then DescribeTableRestoreStatus returns the status of all in-progress table restore requests.

Destructuring the Response

data DescribeTableRestoreStatusResponse Source #

Constructors

DescribeTableRestoreStatusResponse' 

Fields

Instances

Instances details
Generic DescribeTableRestoreStatusResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

Associated Types

type Rep DescribeTableRestoreStatusResponse :: Type -> Type #

Read DescribeTableRestoreStatusResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

Show DescribeTableRestoreStatusResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

NFData DescribeTableRestoreStatusResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

Eq DescribeTableRestoreStatusResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

type Rep DescribeTableRestoreStatusResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

type Rep DescribeTableRestoreStatusResponse = D1 ('MetaData "DescribeTableRestoreStatusResponse" "Amazonka.Redshift.DescribeTableRestoreStatus" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" 'False) (C1 ('MetaCons "DescribeTableRestoreStatusResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tableRestoreStatusDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TableRestoreStatus])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeTableRestoreStatusResponse Source #

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

DescribeTableRestoreStatus, describeTableRestoreStatusResponse_marker - A pagination token that can be used in a subsequent DescribeTableRestoreStatus request.

$sel:tableRestoreStatusDetails:DescribeTableRestoreStatusResponse', describeTableRestoreStatusResponse_tableRestoreStatusDetails - A list of status details for one or more table restore requests.

$sel:httpStatus:DescribeTableRestoreStatusResponse', describeTableRestoreStatusResponse_httpStatus - The response's http status code.

Response Lenses

describeTableRestoreStatusResponse_marker :: Lens' DescribeTableRestoreStatusResponse (Maybe Text) Source #

A pagination token that can be used in a subsequent DescribeTableRestoreStatus request.