libZSservicesZSamazonka-redshiftZSamazonka-redshift
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.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

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

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

Instances

Instances details
Eq DescribeTableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

Read DescribeTableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

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

NFData DescribeTableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

Hashable 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

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

type Rep DescribeTableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

type Rep DescribeTableRestoreStatus = D1 ('MetaData "DescribeTableRestoreStatus" "Amazonka.Redshift.DescribeTableRestoreStatus" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "DescribeTableRestoreStatus'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tableRestoreRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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)))))
type AWSResponse DescribeTableRestoreStatus Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

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:

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

$sel:clusterIdentifier:DescribeTableRestoreStatus', describeTableRestoreStatus_clusterIdentifier - The Amazon Redshift cluster that the table is being restored to.

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

Request Lenses

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.

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.

Destructuring the Response

data DescribeTableRestoreStatusResponse Source #

Constructors

DescribeTableRestoreStatusResponse' 

Fields

Instances

Instances details
Eq DescribeTableRestoreStatusResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

Read DescribeTableRestoreStatusResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

Show DescribeTableRestoreStatusResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

Generic DescribeTableRestoreStatusResponse Source # 
Instance details

Defined in Amazonka.Redshift.DescribeTableRestoreStatus

Associated Types

type Rep DescribeTableRestoreStatusResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" '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:

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