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

Description

Returns selection metadata and a document in JSON format that specifies a list of resources that are associated with a backup plan.

Synopsis

Creating a Request

data GetBackupSelection Source #

See: newGetBackupSelection smart constructor.

Constructors

GetBackupSelection' 

Fields

  • backupPlanId :: Text

    Uniquely identifies a backup plan.

  • selectionId :: Text

    Uniquely identifies the body of a request to assign a set of resources to a backup plan.

Instances

Instances details
Eq GetBackupSelection Source # 
Instance details

Defined in Amazonka.Backup.GetBackupSelection

Read GetBackupSelection Source # 
Instance details

Defined in Amazonka.Backup.GetBackupSelection

Show GetBackupSelection Source # 
Instance details

Defined in Amazonka.Backup.GetBackupSelection

Generic GetBackupSelection Source # 
Instance details

Defined in Amazonka.Backup.GetBackupSelection

Associated Types

type Rep GetBackupSelection :: Type -> Type #

NFData GetBackupSelection Source # 
Instance details

Defined in Amazonka.Backup.GetBackupSelection

Methods

rnf :: GetBackupSelection -> () #

Hashable GetBackupSelection Source # 
Instance details

Defined in Amazonka.Backup.GetBackupSelection

AWSRequest GetBackupSelection Source # 
Instance details

Defined in Amazonka.Backup.GetBackupSelection

Associated Types

type AWSResponse GetBackupSelection #

ToHeaders GetBackupSelection Source # 
Instance details

Defined in Amazonka.Backup.GetBackupSelection

ToPath GetBackupSelection Source # 
Instance details

Defined in Amazonka.Backup.GetBackupSelection

ToQuery GetBackupSelection Source # 
Instance details

Defined in Amazonka.Backup.GetBackupSelection

type Rep GetBackupSelection Source # 
Instance details

Defined in Amazonka.Backup.GetBackupSelection

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

Defined in Amazonka.Backup.GetBackupSelection

newGetBackupSelection Source #

Create a value of GetBackupSelection 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:backupPlanId:GetBackupSelection', getBackupSelection_backupPlanId - Uniquely identifies a backup plan.

$sel:selectionId:GetBackupSelection', getBackupSelection_selectionId - Uniquely identifies the body of a request to assign a set of resources to a backup plan.

Request Lenses

getBackupSelection_selectionId :: Lens' GetBackupSelection Text Source #

Uniquely identifies the body of a request to assign a set of resources to a backup plan.

Destructuring the Response

data GetBackupSelectionResponse Source #

See: newGetBackupSelectionResponse smart constructor.

Constructors

GetBackupSelectionResponse' 

Fields

  • selectionId :: Maybe Text

    Uniquely identifies the body of a request to assign a set of resources to a backup plan.

  • backupPlanId :: Maybe Text

    Uniquely identifies a backup plan.

  • creatorRequestId :: Maybe Text

    A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.

  • creationDate :: Maybe POSIX

    The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

  • backupSelection :: Maybe BackupSelection

    Specifies the body of a request to assign a set of resources to a backup plan.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetBackupSelectionResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupSelection

Read GetBackupSelectionResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupSelection

Show GetBackupSelectionResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupSelection

Generic GetBackupSelectionResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupSelection

Associated Types

type Rep GetBackupSelectionResponse :: Type -> Type #

NFData GetBackupSelectionResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupSelection

type Rep GetBackupSelectionResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupSelection

type Rep GetBackupSelectionResponse = D1 ('MetaData "GetBackupSelectionResponse" "Amazonka.Backup.GetBackupSelection" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "GetBackupSelectionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "selectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "backupPlanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creatorRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "backupSelection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BackupSelection)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newGetBackupSelectionResponse Source #

Create a value of GetBackupSelectionResponse 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:selectionId:GetBackupSelection', getBackupSelectionResponse_selectionId - Uniquely identifies the body of a request to assign a set of resources to a backup plan.

$sel:backupPlanId:GetBackupSelection', getBackupSelectionResponse_backupPlanId - Uniquely identifies a backup plan.

$sel:creatorRequestId:GetBackupSelectionResponse', getBackupSelectionResponse_creatorRequestId - A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.

$sel:creationDate:GetBackupSelectionResponse', getBackupSelectionResponse_creationDate - The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

$sel:backupSelection:GetBackupSelectionResponse', getBackupSelectionResponse_backupSelection - Specifies the body of a request to assign a set of resources to a backup plan.

$sel:httpStatus:GetBackupSelectionResponse', getBackupSelectionResponse_httpStatus - The response's http status code.

Response Lenses

getBackupSelectionResponse_selectionId :: Lens' GetBackupSelectionResponse (Maybe Text) Source #

Uniquely identifies the body of a request to assign a set of resources to a backup plan.

getBackupSelectionResponse_creatorRequestId :: Lens' GetBackupSelectionResponse (Maybe Text) Source #

A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.

getBackupSelectionResponse_creationDate :: Lens' GetBackupSelectionResponse (Maybe UTCTime) Source #

The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

getBackupSelectionResponse_backupSelection :: Lens' GetBackupSelectionResponse (Maybe BackupSelection) Source #

Specifies the body of a request to assign a set of resources to a backup plan.