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 |
Deletes a backup plan. A backup plan can only be deleted after all associated selections of resources have been deleted. Deleting a backup plan deletes the current version of a backup plan. Previous versions, if any, will still exist.
Synopsis
- data DeleteBackupPlan = DeleteBackupPlan' {
- backupPlanId :: Text
- newDeleteBackupPlan :: Text -> DeleteBackupPlan
- deleteBackupPlan_backupPlanId :: Lens' DeleteBackupPlan Text
- data DeleteBackupPlanResponse = DeleteBackupPlanResponse' {
- versionId :: Maybe Text
- backupPlanId :: Maybe Text
- backupPlanArn :: Maybe Text
- deletionDate :: Maybe POSIX
- httpStatus :: Int
- newDeleteBackupPlanResponse :: Int -> DeleteBackupPlanResponse
- deleteBackupPlanResponse_versionId :: Lens' DeleteBackupPlanResponse (Maybe Text)
- deleteBackupPlanResponse_backupPlanId :: Lens' DeleteBackupPlanResponse (Maybe Text)
- deleteBackupPlanResponse_backupPlanArn :: Lens' DeleteBackupPlanResponse (Maybe Text)
- deleteBackupPlanResponse_deletionDate :: Lens' DeleteBackupPlanResponse (Maybe UTCTime)
- deleteBackupPlanResponse_httpStatus :: Lens' DeleteBackupPlanResponse Int
Creating a Request
data DeleteBackupPlan Source #
See: newDeleteBackupPlan
smart constructor.
DeleteBackupPlan' | |
|
Instances
Create a value of DeleteBackupPlan
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:DeleteBackupPlan'
, deleteBackupPlan_backupPlanId
- Uniquely identifies a backup plan.
Request Lenses
deleteBackupPlan_backupPlanId :: Lens' DeleteBackupPlan Text Source #
Uniquely identifies a backup plan.
Destructuring the Response
data DeleteBackupPlanResponse Source #
See: newDeleteBackupPlanResponse
smart constructor.
DeleteBackupPlanResponse' | |
|
Instances
newDeleteBackupPlanResponse Source #
Create a value of DeleteBackupPlanResponse
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:versionId:DeleteBackupPlanResponse'
, deleteBackupPlanResponse_versionId
- Unique, randomly generated, Unicode, UTF-8 encoded strings that are at
most 1,024 bytes long. Version IDs cannot be edited.
$sel:backupPlanId:DeleteBackupPlan'
, deleteBackupPlanResponse_backupPlanId
- Uniquely identifies a backup plan.
$sel:backupPlanArn:DeleteBackupPlanResponse'
, deleteBackupPlanResponse_backupPlanArn
- An Amazon Resource Name (ARN) that uniquely identifies a backup plan;
for example,
arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.
$sel:deletionDate:DeleteBackupPlanResponse'
, deleteBackupPlanResponse_deletionDate
- The date and time a backup plan is deleted, in Unix format and
Coordinated Universal Time (UTC). The value of DeletionDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
$sel:httpStatus:DeleteBackupPlanResponse'
, deleteBackupPlanResponse_httpStatus
- The response's http status code.
Response Lenses
deleteBackupPlanResponse_versionId :: Lens' DeleteBackupPlanResponse (Maybe Text) Source #
Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot be edited.
deleteBackupPlanResponse_backupPlanId :: Lens' DeleteBackupPlanResponse (Maybe Text) Source #
Uniquely identifies a backup plan.
deleteBackupPlanResponse_backupPlanArn :: Lens' DeleteBackupPlanResponse (Maybe Text) Source #
An Amazon Resource Name (ARN) that uniquely identifies a backup plan;
for example,
arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.
deleteBackupPlanResponse_deletionDate :: Lens' DeleteBackupPlanResponse (Maybe UTCTime) Source #
The date and time a backup plan is deleted, in Unix format and
Coordinated Universal Time (UTC). The value of DeletionDate
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
deleteBackupPlanResponse_httpStatus :: Lens' DeleteBackupPlanResponse Int Source #
The response's http status code.