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

Description

Deletes a stack set. Before you can delete a stack set, all its member stack instances must be deleted. For more information about how to complete this, see DeleteStackInstances.

Synopsis

Creating a Request

data DeleteStackSet Source #

See: newDeleteStackSet smart constructor.

Constructors

DeleteStackSet' 

Fields

  • callAs :: Maybe CallAs
    Service-managed permissions
    Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

    By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

    • If you are signed in to the management account, specify SELF.
    • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

      Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

  • stackSetName :: Text

    The name or unique ID of the stack set that you're deleting. You can obtain this value by running ListStackSets.

Instances

Instances details
ToHeaders DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

ToPath DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

ToQuery DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

AWSRequest DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

Associated Types

type AWSResponse DeleteStackSet #

Generic DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

Associated Types

type Rep DeleteStackSet :: Type -> Type #

Read DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

Show DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

NFData DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

Methods

rnf :: DeleteStackSet -> () #

Eq DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

Hashable DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

type AWSResponse DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

type Rep DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

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

newDeleteStackSet Source #

Create a value of DeleteStackSet 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:callAs:DeleteStackSet', deleteStackSet_callAs - [Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.
  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

DeleteStackSet, deleteStackSet_stackSetName - The name or unique ID of the stack set that you're deleting. You can obtain this value by running ListStackSets.

Request Lenses

deleteStackSet_callAs :: Lens' DeleteStackSet (Maybe CallAs) Source #

Service-managed permissions
Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.

By default, SELF is specified. Use SELF for stack sets with self-managed permissions.

  • If you are signed in to the management account, specify SELF.
  • If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.

    Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.

deleteStackSet_stackSetName :: Lens' DeleteStackSet Text Source #

The name or unique ID of the stack set that you're deleting. You can obtain this value by running ListStackSets.

Destructuring the Response

data DeleteStackSetResponse Source #

See: newDeleteStackSetResponse smart constructor.

Constructors

DeleteStackSetResponse' 

Fields

Instances

Instances details
Generic DeleteStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

Associated Types

type Rep DeleteStackSetResponse :: Type -> Type #

Read DeleteStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

Show DeleteStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

NFData DeleteStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

Methods

rnf :: DeleteStackSetResponse -> () #

Eq DeleteStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

type Rep DeleteStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

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

newDeleteStackSetResponse Source #

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

Response Lenses