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

Description

Returns an array of recovery points.

This operation returns paginated results.

Synopsis

Creating a Request

data ListRecoveryPoints Source #

See: newListRecoveryPoints smart constructor.

Constructors

ListRecoveryPoints' 

Fields

  • endTime :: Maybe POSIX

    The time when creation of the recovery point finished.

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

  • namespaceArn :: Maybe Text

    The Amazon Resource Name (ARN) of the namespace from which to list recovery points.

  • namespaceName :: Maybe Text

    The name of the namespace to list recovery points for.

  • nextToken :: Maybe Text

    If your initial ListRecoveryPoints operation returns a nextToken, you can include the returned nextToken in following ListRecoveryPoints operations, which returns results in the next page.

  • startTime :: Maybe POSIX

    The time when the recovery point's creation was initiated.

Instances

Instances details
ToJSON ListRecoveryPoints Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

ToHeaders ListRecoveryPoints Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

ToPath ListRecoveryPoints Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

ToQuery ListRecoveryPoints Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

AWSPager ListRecoveryPoints Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

AWSRequest ListRecoveryPoints Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

Associated Types

type AWSResponse ListRecoveryPoints #

Generic ListRecoveryPoints Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

Associated Types

type Rep ListRecoveryPoints :: Type -> Type #

Read ListRecoveryPoints Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

Show ListRecoveryPoints Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

NFData ListRecoveryPoints Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

Methods

rnf :: ListRecoveryPoints -> () #

Eq ListRecoveryPoints Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

Hashable ListRecoveryPoints Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

type AWSResponse ListRecoveryPoints Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

type Rep ListRecoveryPoints Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

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

newListRecoveryPoints :: ListRecoveryPoints Source #

Create a value of ListRecoveryPoints 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:endTime:ListRecoveryPoints', listRecoveryPoints_endTime - The time when creation of the recovery point finished.

$sel:maxResults:ListRecoveryPoints', listRecoveryPoints_maxResults - An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

ListRecoveryPoints, listRecoveryPoints_namespaceArn - The Amazon Resource Name (ARN) of the namespace from which to list recovery points.

ListRecoveryPoints, listRecoveryPoints_namespaceName - The name of the namespace to list recovery points for.

ListRecoveryPoints, listRecoveryPoints_nextToken - If your initial ListRecoveryPoints operation returns a nextToken, you can include the returned nextToken in following ListRecoveryPoints operations, which returns results in the next page.

$sel:startTime:ListRecoveryPoints', listRecoveryPoints_startTime - The time when the recovery point's creation was initiated.

Request Lenses

listRecoveryPoints_endTime :: Lens' ListRecoveryPoints (Maybe UTCTime) Source #

The time when creation of the recovery point finished.

listRecoveryPoints_maxResults :: Lens' ListRecoveryPoints (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.

listRecoveryPoints_namespaceArn :: Lens' ListRecoveryPoints (Maybe Text) Source #

The Amazon Resource Name (ARN) of the namespace from which to list recovery points.

listRecoveryPoints_namespaceName :: Lens' ListRecoveryPoints (Maybe Text) Source #

The name of the namespace to list recovery points for.

listRecoveryPoints_nextToken :: Lens' ListRecoveryPoints (Maybe Text) Source #

If your initial ListRecoveryPoints operation returns a nextToken, you can include the returned nextToken in following ListRecoveryPoints operations, which returns results in the next page.

listRecoveryPoints_startTime :: Lens' ListRecoveryPoints (Maybe UTCTime) Source #

The time when the recovery point's creation was initiated.

Destructuring the Response

data ListRecoveryPointsResponse Source #

See: newListRecoveryPointsResponse smart constructor.

Constructors

ListRecoveryPointsResponse' 

Fields

  • nextToken :: Maybe Text

    If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

  • recoveryPoints :: Maybe [RecoveryPoint]

    The returned recovery point objects.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListRecoveryPointsResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

Associated Types

type Rep ListRecoveryPointsResponse :: Type -> Type #

Read ListRecoveryPointsResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

Show ListRecoveryPointsResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

NFData ListRecoveryPointsResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

Eq ListRecoveryPointsResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

type Rep ListRecoveryPointsResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ListRecoveryPoints

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

newListRecoveryPointsResponse Source #

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

ListRecoveryPoints, listRecoveryPointsResponse_nextToken - If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

$sel:recoveryPoints:ListRecoveryPointsResponse', listRecoveryPointsResponse_recoveryPoints - The returned recovery point objects.

$sel:httpStatus:ListRecoveryPointsResponse', listRecoveryPointsResponse_httpStatus - The response's http status code.

Response Lenses

listRecoveryPointsResponse_nextToken :: Lens' ListRecoveryPointsResponse (Maybe Text) Source #

If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.