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

Description

Returns version metadata of your backup plans, including Amazon Resource Names (ARNs), backup plan IDs, creation and deletion dates, plan names, and version IDs.

This operation returns paginated results.

Synopsis

Creating a Request

data ListBackupPlanVersions Source #

See: newListBackupPlanVersions smart constructor.

Constructors

ListBackupPlanVersions' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of items to be returned.

  • nextToken :: Maybe Text

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

  • backupPlanId :: Text

    Uniquely identifies a backup plan.

Instances

Instances details
ToHeaders ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

ToPath ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

ToQuery ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

AWSPager ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

AWSRequest ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

Associated Types

type AWSResponse ListBackupPlanVersions #

Generic ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

Associated Types

type Rep ListBackupPlanVersions :: Type -> Type #

Read ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

Show ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

NFData ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

Methods

rnf :: ListBackupPlanVersions -> () #

Eq ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

Hashable ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

type AWSResponse ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

type Rep ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

type Rep ListBackupPlanVersions = D1 ('MetaData "ListBackupPlanVersions" "Amazonka.Backup.ListBackupPlanVersions" "amazonka-backup-2.0-LovIt41tphM6jvgQJhTyRf" 'False) (C1 ('MetaCons "ListBackupPlanVersions'" '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 "backupPlanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListBackupPlanVersions Source #

Create a value of ListBackupPlanVersions 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:ListBackupPlanVersions', listBackupPlanVersions_maxResults - The maximum number of items to be returned.

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

ListBackupPlanVersions, listBackupPlanVersions_backupPlanId - Uniquely identifies a backup plan.

Request Lenses

listBackupPlanVersions_maxResults :: Lens' ListBackupPlanVersions (Maybe Natural) Source #

The maximum number of items to be returned.

listBackupPlanVersions_nextToken :: Lens' ListBackupPlanVersions (Maybe Text) Source #

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

Destructuring the Response

data ListBackupPlanVersionsResponse Source #

See: newListBackupPlanVersionsResponse smart constructor.

Constructors

ListBackupPlanVersionsResponse' 

Fields

  • backupPlanVersionsList :: Maybe [BackupPlansListMember]

    An array of version list items containing metadata about your backup plans.

  • nextToken :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListBackupPlanVersionsResponse Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

Associated Types

type Rep ListBackupPlanVersionsResponse :: Type -> Type #

Read ListBackupPlanVersionsResponse Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

Show ListBackupPlanVersionsResponse Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

NFData ListBackupPlanVersionsResponse Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

Eq ListBackupPlanVersionsResponse Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

type Rep ListBackupPlanVersionsResponse Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

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

newListBackupPlanVersionsResponse Source #

Create a value of ListBackupPlanVersionsResponse 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:backupPlanVersionsList:ListBackupPlanVersionsResponse', listBackupPlanVersionsResponse_backupPlanVersionsList - An array of version list items containing metadata about your backup plans.

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

$sel:httpStatus:ListBackupPlanVersionsResponse', listBackupPlanVersionsResponse_httpStatus - The response's http status code.

Response Lenses

listBackupPlanVersionsResponse_backupPlanVersionsList :: Lens' ListBackupPlanVersionsResponse (Maybe [BackupPlansListMember]) Source #

An array of version list items containing metadata about your backup plans.

listBackupPlanVersionsResponse_nextToken :: Lens' ListBackupPlanVersionsResponse (Maybe Text) Source #

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