libZSservicesZSamazonka-backupZSamazonka-backup
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.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.

Synopsis

Creating a Request

data ListBackupPlanVersions Source #

See: newListBackupPlanVersions smart constructor.

Constructors

ListBackupPlanVersions' 

Fields

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

  • maxResults :: Maybe Natural

    The maximum number of items to be returned.

  • backupPlanId :: Text

    Uniquely identifies a backup plan.

Instances

Instances details
Eq ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

Read ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

Show ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

Generic ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

Associated Types

type Rep ListBackupPlanVersions :: Type -> Type #

NFData ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

Methods

rnf :: ListBackupPlanVersions -> () #

Hashable ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

AWSRequest ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

Associated Types

type AWSResponse ListBackupPlanVersions #

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

type Rep ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

type Rep ListBackupPlanVersions = D1 ('MetaData "ListBackupPlanVersions" "Amazonka.Backup.ListBackupPlanVersions" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "ListBackupPlanVersions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "backupPlanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListBackupPlanVersions Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

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:nextToken: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.

$sel:maxResults:ListBackupPlanVersions', listBackupPlanVersions_maxResults - The maximum number of items to be returned.

$sel:backupPlanId:ListBackupPlanVersions', listBackupPlanVersions_backupPlanId - Uniquely identifies a backup plan.

Request Lenses

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.

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

The maximum number of items to be returned.

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
Eq ListBackupPlanVersionsResponse Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

Read ListBackupPlanVersionsResponse Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

Show ListBackupPlanVersionsResponse Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

Generic ListBackupPlanVersionsResponse Source # 
Instance details

Defined in Amazonka.Backup.ListBackupPlanVersions

Associated Types

type Rep ListBackupPlanVersionsResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-backupZSamazonka-backup" '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.

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