Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns a valid JSON document specifying a backup plan or an error.
Synopsis
- data GetBackupPlanFromJSON = GetBackupPlanFromJSON' {}
- newGetBackupPlanFromJSON :: Text -> GetBackupPlanFromJSON
- getBackupPlanFromJSON_backupPlanTemplateJson :: Lens' GetBackupPlanFromJSON Text
- data GetBackupPlanFromJSONResponse = GetBackupPlanFromJSONResponse' {}
- newGetBackupPlanFromJSONResponse :: Int -> GetBackupPlanFromJSONResponse
- getBackupPlanFromJSONResponse_backupPlan :: Lens' GetBackupPlanFromJSONResponse (Maybe BackupPlan)
- getBackupPlanFromJSONResponse_httpStatus :: Lens' GetBackupPlanFromJSONResponse Int
Creating a Request
data GetBackupPlanFromJSON Source #
See: newGetBackupPlanFromJSON
smart constructor.
GetBackupPlanFromJSON' | |
|
Instances
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.
GetBackupPlanFromJSONResponse' | |
|
Instances
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
.
getBackupPlanFromJSONResponse_httpStatus :: Lens' GetBackupPlanFromJSONResponse Int Source #
The response's http status code.