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

Description

Returns an array containing metadata of the resources associated with the target backup plan.

This operation returns paginated results.

Synopsis

Creating a Request

data ListBackupSelections Source #

See: newListBackupSelections smart constructor.

Constructors

ListBackupSelections' 

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

Defined in Amazonka.Backup.ListBackupSelections

ToPath ListBackupSelections Source # 
Instance details

Defined in Amazonka.Backup.ListBackupSelections

ToQuery ListBackupSelections Source # 
Instance details

Defined in Amazonka.Backup.ListBackupSelections

AWSPager ListBackupSelections Source # 
Instance details

Defined in Amazonka.Backup.ListBackupSelections

AWSRequest ListBackupSelections Source # 
Instance details

Defined in Amazonka.Backup.ListBackupSelections

Associated Types

type AWSResponse ListBackupSelections #

Generic ListBackupSelections Source # 
Instance details

Defined in Amazonka.Backup.ListBackupSelections

Associated Types

type Rep ListBackupSelections :: Type -> Type #

Read ListBackupSelections Source # 
Instance details

Defined in Amazonka.Backup.ListBackupSelections

Show ListBackupSelections Source # 
Instance details

Defined in Amazonka.Backup.ListBackupSelections

NFData ListBackupSelections Source # 
Instance details

Defined in Amazonka.Backup.ListBackupSelections

Methods

rnf :: ListBackupSelections -> () #

Eq ListBackupSelections Source # 
Instance details

Defined in Amazonka.Backup.ListBackupSelections

Hashable ListBackupSelections Source # 
Instance details

Defined in Amazonka.Backup.ListBackupSelections

type AWSResponse ListBackupSelections Source # 
Instance details

Defined in Amazonka.Backup.ListBackupSelections

type Rep ListBackupSelections Source # 
Instance details

Defined in Amazonka.Backup.ListBackupSelections

type Rep ListBackupSelections = D1 ('MetaData "ListBackupSelections" "Amazonka.Backup.ListBackupSelections" "amazonka-backup-2.0-LovIt41tphM6jvgQJhTyRf" 'False) (C1 ('MetaCons "ListBackupSelections'" '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))))

newListBackupSelections Source #

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

ListBackupSelections, listBackupSelections_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.

ListBackupSelections, listBackupSelections_backupPlanId - Uniquely identifies a backup plan.

Request Lenses

listBackupSelections_maxResults :: Lens' ListBackupSelections (Maybe Natural) Source #

The maximum number of items to be returned.

listBackupSelections_nextToken :: Lens' ListBackupSelections (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 ListBackupSelectionsResponse Source #

See: newListBackupSelectionsResponse smart constructor.

Constructors

ListBackupSelectionsResponse' 

Fields

  • backupSelectionsList :: Maybe [BackupSelectionsListMember]

    An array of backup selection list items containing metadata about each resource in the list.

  • 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 ListBackupSelectionsResponse Source # 
Instance details

Defined in Amazonka.Backup.ListBackupSelections

Associated Types

type Rep ListBackupSelectionsResponse :: Type -> Type #

Read ListBackupSelectionsResponse Source # 
Instance details

Defined in Amazonka.Backup.ListBackupSelections

Show ListBackupSelectionsResponse Source # 
Instance details

Defined in Amazonka.Backup.ListBackupSelections

NFData ListBackupSelectionsResponse Source # 
Instance details

Defined in Amazonka.Backup.ListBackupSelections

Eq ListBackupSelectionsResponse Source # 
Instance details

Defined in Amazonka.Backup.ListBackupSelections

type Rep ListBackupSelectionsResponse Source # 
Instance details

Defined in Amazonka.Backup.ListBackupSelections

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

newListBackupSelectionsResponse Source #

Create a value of ListBackupSelectionsResponse 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:backupSelectionsList:ListBackupSelectionsResponse', listBackupSelectionsResponse_backupSelectionsList - An array of backup selection list items containing metadata about each resource in the list.

ListBackupSelections, listBackupSelectionsResponse_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:ListBackupSelectionsResponse', listBackupSelectionsResponse_httpStatus - The response's http status code.

Response Lenses

listBackupSelectionsResponse_backupSelectionsList :: Lens' ListBackupSelectionsResponse (Maybe [BackupSelectionsListMember]) Source #

An array of backup selection list items containing metadata about each resource in the list.

listBackupSelectionsResponse_nextToken :: Lens' ListBackupSelectionsResponse (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.