libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation
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.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 ID (ARN) that is associated with it.

  • changeSetName :: Text

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

Instances

Instances details
Eq DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

Read DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

Show DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

Generic DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

Associated Types

type Rep DeleteChangeSet :: Type -> Type #

NFData DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

Methods

rnf :: DeleteChangeSet -> () #

Hashable DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

AWSRequest DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

Associated Types

type AWSResponse DeleteChangeSet #

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

type Rep DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

type Rep DeleteChangeSet = D1 ('MetaData "DeleteChangeSet" "Amazonka.CloudFormation.DeleteChangeSet" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" '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)))
type AWSResponse DeleteChangeSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

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:

$sel:stackName:DeleteChangeSet', deleteChangeSet_stackName - If you specified the name of a change set to delete, specify the stack name or ID (ARN) that is associated with it.

$sel:changeSetName: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 ID (ARN) that is 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
Eq DeleteChangeSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

Read DeleteChangeSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

Show DeleteChangeSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

Generic DeleteChangeSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

Associated Types

type Rep DeleteChangeSetResponse :: Type -> Type #

NFData DeleteChangeSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

Methods

rnf :: DeleteChangeSetResponse -> () #

type Rep DeleteChangeSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteChangeSet

type Rep DeleteChangeSetResponse = D1 ('MetaData "DeleteChangeSetResponse" "Amazonka.CloudFormation.DeleteChangeSet" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" '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