amazonka-cloudformation-2.0: Amazon CloudFormation 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.CloudFormation.DeleteChangeSet

Description

Deletes the specified change set. Deleting change sets ensures that no one executes the wrong change set.

If the call successfully completes, CloudFormation successfully deleted the change set.

If IncludeNestedStacks specifies True during the creation of the nested change set, then DeleteChangeSet will delete all change sets that belong to the stacks hierarchy and will also delete all change sets for nested stacks with the status of REVIEW_IN_PROGRESS.

Synopsis

Creating a Request

data DeleteChangeSet Source #

The input for the DeleteChangeSet action.

See: newDeleteChangeSet smart constructor.

Constructors

DeleteChangeSet' 

Fields

  • stackName :: Maybe Text

    If you specified the name of a change set to delete, specify the stack name or Amazon Resource Name (ARN) that's associated with it.

  • changeSetName :: Text

    The name or Amazon Resource Name (ARN) of the change set that you want to delete.

Instances

Instances details
ToHeaders DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

ToPath DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

ToQuery DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

AWSRequest DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

Associated Types

type AWSResponse DeleteChangeSet #

Generic DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

Associated Types

type Rep DeleteChangeSet :: Type -> Type #

Read DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

Show DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

NFData DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

Methods

rnf :: DeleteChangeSet -> () #

Eq DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

Hashable DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

type AWSResponse DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

type Rep DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

type Rep DeleteChangeSet = D1 ('MetaData "DeleteChangeSet" "Amazonka.CloudFormation.DeleteChangeSet" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "DeleteChangeSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stackName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "changeSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteChangeSet Source #

Create a value of DeleteChangeSet 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:

DeleteChangeSet, deleteChangeSet_stackName - If you specified the name of a change set to delete, specify the stack name or Amazon Resource Name (ARN) that's associated with it.

DeleteChangeSet, deleteChangeSet_changeSetName - The name or Amazon Resource Name (ARN) of the change set that you want to delete.

Request Lenses

deleteChangeSet_stackName :: Lens' DeleteChangeSet (Maybe Text) Source #

If you specified the name of a change set to delete, specify the stack name or Amazon Resource Name (ARN) that's associated with it.

deleteChangeSet_changeSetName :: Lens' DeleteChangeSet Text Source #

The name or Amazon Resource Name (ARN) of the change set that you want to delete.

Destructuring the Response

data DeleteChangeSetResponse Source #

The output for the DeleteChangeSet action.

See: newDeleteChangeSetResponse smart constructor.

Constructors

DeleteChangeSetResponse' 

Fields

Instances

Instances details
Generic DeleteChangeSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

Associated Types

type Rep DeleteChangeSetResponse :: Type -> Type #

Read DeleteChangeSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

Show DeleteChangeSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

NFData DeleteChangeSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

Methods

rnf :: DeleteChangeSetResponse -> () #

Eq DeleteChangeSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

type Rep DeleteChangeSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

type Rep DeleteChangeSetResponse = D1 ('MetaData "DeleteChangeSetResponse" "Amazonka.CloudFormation.DeleteChangeSet" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "DeleteChangeSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteChangeSetResponse Source #

Create a value of DeleteChangeSetResponse 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:httpStatus:DeleteChangeSetResponse', deleteChangeSetResponse_httpStatus - The response's http status code.

Response Lenses