amazonka-backup-2.0: Amazon Backup 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.Backup.ListRecoveryPointsByLegalHold

Description

This action returns recovery point ARNs (Amazon Resource Names) of the specified legal hold.

This operation returns paginated results.

Synopsis

Creating a Request

data ListRecoveryPointsByLegalHold Source #

See: newListRecoveryPointsByLegalHold smart constructor.

Constructors

ListRecoveryPointsByLegalHold' 

Fields

  • maxResults :: Maybe Natural

    This is the maximum number of resource list items to be returned.

  • nextToken :: Maybe Text

    This is the next item following a partial list of returned resources. For example, if a request is made to return maxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

  • legalHoldId :: Text

    This is the ID of the legal hold.

Instances

Instances details
ToHeaders ListRecoveryPointsByLegalHold Source # 
Instance details

Defined in Amazonka.Backup.ListRecoveryPointsByLegalHold

ToPath ListRecoveryPointsByLegalHold Source # 
Instance details

Defined in Amazonka.Backup.ListRecoveryPointsByLegalHold

ToQuery ListRecoveryPointsByLegalHold Source # 
Instance details

Defined in Amazonka.Backup.ListRecoveryPointsByLegalHold

AWSPager ListRecoveryPointsByLegalHold Source # 
Instance details

Defined in Amazonka.Backup.ListRecoveryPointsByLegalHold

AWSRequest ListRecoveryPointsByLegalHold Source # 
Instance details

Defined in Amazonka.Backup.ListRecoveryPointsByLegalHold

Generic ListRecoveryPointsByLegalHold Source # 
Instance details

Defined in Amazonka.Backup.ListRecoveryPointsByLegalHold

Associated Types

type Rep ListRecoveryPointsByLegalHold :: Type -> Type #

Read ListRecoveryPointsByLegalHold Source # 
Instance details

Defined in Amazonka.Backup.ListRecoveryPointsByLegalHold

Show ListRecoveryPointsByLegalHold Source # 
Instance details

Defined in Amazonka.Backup.ListRecoveryPointsByLegalHold

NFData ListRecoveryPointsByLegalHold Source # 
Instance details

Defined in Amazonka.Backup.ListRecoveryPointsByLegalHold

Eq ListRecoveryPointsByLegalHold Source # 
Instance details

Defined in Amazonka.Backup.ListRecoveryPointsByLegalHold

Hashable ListRecoveryPointsByLegalHold Source # 
Instance details

Defined in Amazonka.Backup.ListRecoveryPointsByLegalHold

type AWSResponse ListRecoveryPointsByLegalHold Source # 
Instance details

Defined in Amazonka.Backup.ListRecoveryPointsByLegalHold

type Rep ListRecoveryPointsByLegalHold Source # 
Instance details

Defined in Amazonka.Backup.ListRecoveryPointsByLegalHold

type Rep ListRecoveryPointsByLegalHold = D1 ('MetaData "ListRecoveryPointsByLegalHold" "Amazonka.Backup.ListRecoveryPointsByLegalHold" "amazonka-backup-2.0-LovIt41tphM6jvgQJhTyRf" 'False) (C1 ('MetaCons "ListRecoveryPointsByLegalHold'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "legalHoldId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListRecoveryPointsByLegalHold Source #

Create a value of ListRecoveryPointsByLegalHold 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:ListRecoveryPointsByLegalHold', listRecoveryPointsByLegalHold_maxResults - This is the maximum number of resource list items to be returned.

ListRecoveryPointsByLegalHold, listRecoveryPointsByLegalHold_nextToken - This is the next item following a partial list of returned resources. For example, if a request is made to return maxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

ListRecoveryPointsByLegalHold, listRecoveryPointsByLegalHold_legalHoldId - This is the ID of the legal hold.

Request Lenses

listRecoveryPointsByLegalHold_maxResults :: Lens' ListRecoveryPointsByLegalHold (Maybe Natural) Source #

This is the maximum number of resource list items to be returned.

listRecoveryPointsByLegalHold_nextToken :: Lens' ListRecoveryPointsByLegalHold (Maybe Text) Source #

This is the next item following a partial list of returned resources. For example, if a request is made to return maxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

Destructuring the Response

data ListRecoveryPointsByLegalHoldResponse Source #

Constructors

ListRecoveryPointsByLegalHoldResponse' 

Fields

Instances

Instances details
Generic ListRecoveryPointsByLegalHoldResponse Source # 
Instance details

Defined in Amazonka.Backup.ListRecoveryPointsByLegalHold

Read ListRecoveryPointsByLegalHoldResponse Source # 
Instance details

Defined in Amazonka.Backup.ListRecoveryPointsByLegalHold

Show ListRecoveryPointsByLegalHoldResponse Source # 
Instance details

Defined in Amazonka.Backup.ListRecoveryPointsByLegalHold

NFData ListRecoveryPointsByLegalHoldResponse Source # 
Instance details

Defined in Amazonka.Backup.ListRecoveryPointsByLegalHold

Eq ListRecoveryPointsByLegalHoldResponse Source # 
Instance details

Defined in Amazonka.Backup.ListRecoveryPointsByLegalHold

type Rep ListRecoveryPointsByLegalHoldResponse Source # 
Instance details

Defined in Amazonka.Backup.ListRecoveryPointsByLegalHold

type Rep ListRecoveryPointsByLegalHoldResponse = D1 ('MetaData "ListRecoveryPointsByLegalHoldResponse" "Amazonka.Backup.ListRecoveryPointsByLegalHold" "amazonka-backup-2.0-LovIt41tphM6jvgQJhTyRf" 'False) (C1 ('MetaCons "ListRecoveryPointsByLegalHoldResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "recoveryPoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RecoveryPointMember])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListRecoveryPointsByLegalHoldResponse Source #

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

ListRecoveryPointsByLegalHold, listRecoveryPointsByLegalHoldResponse_nextToken - This return is the next item following a partial list of returned resources.

$sel:recoveryPoints:ListRecoveryPointsByLegalHoldResponse', listRecoveryPointsByLegalHoldResponse_recoveryPoints - This is a list of the recovery points returned by ListRecoveryPointsByLegalHold.

$sel:httpStatus:ListRecoveryPointsByLegalHoldResponse', listRecoveryPointsByLegalHoldResponse_httpStatus - The response's http status code.

Response Lenses

listRecoveryPointsByLegalHoldResponse_nextToken :: Lens' ListRecoveryPointsByLegalHoldResponse (Maybe Text) Source #

This return is the next item following a partial list of returned resources.

listRecoveryPointsByLegalHoldResponse_recoveryPoints :: Lens' ListRecoveryPointsByLegalHoldResponse (Maybe [RecoveryPointMember]) Source #

This is a list of the recovery points returned by ListRecoveryPointsByLegalHold.