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

Description

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

Creating a Request

data DeleteBackupPlan Source #

See: newDeleteBackupPlan smart constructor.

Constructors

DeleteBackupPlan' 

Fields

Instances

Instances details
Eq DeleteBackupPlan Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

Read DeleteBackupPlan Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

Show DeleteBackupPlan Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

Generic DeleteBackupPlan Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

Associated Types

type Rep DeleteBackupPlan :: Type -> Type #

NFData DeleteBackupPlan Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

Methods

rnf :: DeleteBackupPlan -> () #

Hashable DeleteBackupPlan Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

AWSRequest DeleteBackupPlan Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

Associated Types

type AWSResponse DeleteBackupPlan #

ToHeaders DeleteBackupPlan Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

ToPath DeleteBackupPlan Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

ToQuery DeleteBackupPlan Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

type Rep DeleteBackupPlan Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

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

Defined in Amazonka.Backup.DeleteBackupPlan

newDeleteBackupPlan Source #

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.

Constructors

DeleteBackupPlanResponse' 

Fields

  • versionId :: Maybe Text

    Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot be edited.

  • backupPlanId :: Maybe Text

    Uniquely identifies a backup plan.

  • backupPlanArn :: Maybe Text

    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.

  • deletionDate :: Maybe POSIX

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DeleteBackupPlanResponse Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

Read DeleteBackupPlanResponse Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

Show DeleteBackupPlanResponse Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

Generic DeleteBackupPlanResponse Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

Associated Types

type Rep DeleteBackupPlanResponse :: Type -> Type #

NFData DeleteBackupPlanResponse Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

type Rep DeleteBackupPlanResponse Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

type Rep DeleteBackupPlanResponse = D1 ('MetaData "DeleteBackupPlanResponse" "Amazonka.Backup.DeleteBackupPlan" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "DeleteBackupPlanResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "backupPlanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "backupPlanArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "deletionDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

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