amazonka-backup-2.0: Amazon Backup SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

AWSRequest DeleteBackupPlan Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

Associated Types

type AWSResponse DeleteBackupPlan #

Generic DeleteBackupPlan Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

Associated Types

type Rep DeleteBackupPlan :: Type -> Type #

Read DeleteBackupPlan Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

Show DeleteBackupPlan Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

NFData DeleteBackupPlan Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

Methods

rnf :: DeleteBackupPlan -> () #

Eq DeleteBackupPlan Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

Hashable DeleteBackupPlan Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

type AWSResponse 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" "amazonka-backup-2.0-LovIt41tphM6jvgQJhTyRf" 'False) (C1 ('MetaCons "DeleteBackupPlan'" 'PrefixI 'True) (S1 ('MetaSel ('Just "backupPlanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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

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

  • backupPlanId :: Maybe Text

    Uniquely identifies a backup plan.

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

  • versionId :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DeleteBackupPlanResponse Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

Associated Types

type Rep DeleteBackupPlanResponse :: Type -> Type #

Read DeleteBackupPlanResponse Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

Show DeleteBackupPlanResponse Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

NFData DeleteBackupPlanResponse Source # 
Instance details

Defined in Amazonka.Backup.DeleteBackupPlan

Eq 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" "amazonka-backup-2.0-LovIt41tphM6jvgQJhTyRf" 'False) (C1 ('MetaCons "DeleteBackupPlanResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "backupPlanArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "backupPlanId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "deletionDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

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.

DeleteBackupPlan, deleteBackupPlanResponse_backupPlanId - Uniquely identifies a backup plan.

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.

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:httpStatus:DeleteBackupPlanResponse', deleteBackupPlanResponse_httpStatus - The response's http status code.

Response Lenses

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