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

Description

Returns a valid JSON document specifying a backup plan or an error.

Synopsis

Creating a Request

data GetBackupPlanFromJSON Source #

See: newGetBackupPlanFromJSON smart constructor.

Constructors

GetBackupPlanFromJSON' 

Fields

Instances

Instances details
Eq GetBackupPlanFromJSON Source # 
Instance details

Defined in Amazonka.Backup.GetBackupPlanFromJSON

Read GetBackupPlanFromJSON Source # 
Instance details

Defined in Amazonka.Backup.GetBackupPlanFromJSON

Show GetBackupPlanFromJSON Source # 
Instance details

Defined in Amazonka.Backup.GetBackupPlanFromJSON

Generic GetBackupPlanFromJSON Source # 
Instance details

Defined in Amazonka.Backup.GetBackupPlanFromJSON

Associated Types

type Rep GetBackupPlanFromJSON :: Type -> Type #

NFData GetBackupPlanFromJSON Source # 
Instance details

Defined in Amazonka.Backup.GetBackupPlanFromJSON

Methods

rnf :: GetBackupPlanFromJSON -> () #

Hashable GetBackupPlanFromJSON Source # 
Instance details

Defined in Amazonka.Backup.GetBackupPlanFromJSON

ToJSON GetBackupPlanFromJSON Source # 
Instance details

Defined in Amazonka.Backup.GetBackupPlanFromJSON

AWSRequest GetBackupPlanFromJSON Source # 
Instance details

Defined in Amazonka.Backup.GetBackupPlanFromJSON

Associated Types

type AWSResponse GetBackupPlanFromJSON #

ToHeaders GetBackupPlanFromJSON Source # 
Instance details

Defined in Amazonka.Backup.GetBackupPlanFromJSON

ToPath GetBackupPlanFromJSON Source # 
Instance details

Defined in Amazonka.Backup.GetBackupPlanFromJSON

ToQuery GetBackupPlanFromJSON Source # 
Instance details

Defined in Amazonka.Backup.GetBackupPlanFromJSON

type Rep GetBackupPlanFromJSON Source # 
Instance details

Defined in Amazonka.Backup.GetBackupPlanFromJSON

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

Defined in Amazonka.Backup.GetBackupPlanFromJSON

newGetBackupPlanFromJSON Source #

Create a value of GetBackupPlanFromJSON 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:backupPlanTemplateJson:GetBackupPlanFromJSON', getBackupPlanFromJSON_backupPlanTemplateJson - A customer-supplied backup plan document in JSON format.

Request Lenses

getBackupPlanFromJSON_backupPlanTemplateJson :: Lens' GetBackupPlanFromJSON Text Source #

A customer-supplied backup plan document in JSON format.

Destructuring the Response

data GetBackupPlanFromJSONResponse Source #

See: newGetBackupPlanFromJSONResponse smart constructor.

Constructors

GetBackupPlanFromJSONResponse' 

Fields

Instances

Instances details
Eq GetBackupPlanFromJSONResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupPlanFromJSON

Show GetBackupPlanFromJSONResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupPlanFromJSON

Generic GetBackupPlanFromJSONResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupPlanFromJSON

Associated Types

type Rep GetBackupPlanFromJSONResponse :: Type -> Type #

NFData GetBackupPlanFromJSONResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupPlanFromJSON

type Rep GetBackupPlanFromJSONResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupPlanFromJSON

type Rep GetBackupPlanFromJSONResponse = D1 ('MetaData "GetBackupPlanFromJSONResponse" "Amazonka.Backup.GetBackupPlanFromJSON" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "GetBackupPlanFromJSONResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "backupPlan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BackupPlan)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetBackupPlanFromJSONResponse Source #

Create a value of GetBackupPlanFromJSONResponse 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:backupPlan:GetBackupPlanFromJSONResponse', getBackupPlanFromJSONResponse_backupPlan - Specifies the body of a backup plan. Includes a BackupPlanName and one or more sets of Rules.

$sel:httpStatus:GetBackupPlanFromJSONResponse', getBackupPlanFromJSONResponse_httpStatus - The response's http status code.

Response Lenses

getBackupPlanFromJSONResponse_backupPlan :: Lens' GetBackupPlanFromJSONResponse (Maybe BackupPlan) Source #

Specifies the body of a backup plan. Includes a BackupPlanName and one or more sets of Rules.