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

Description

Deletes a stack set. Before you can delete a stack set, all of its member stack instances must be deleted. For more information about how to do 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
Eq DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

Read DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

Show DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

Generic DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

Associated Types

type Rep DeleteStackSet :: Type -> Type #

NFData DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

Methods

rnf :: DeleteStackSet -> () #

Hashable DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

AWSRequest DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

Associated Types

type AWSResponse DeleteStackSet #

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

type Rep DeleteStackSet Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

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

Defined in Amazonka.CloudFormation.DeleteStackSet

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.

$sel:stackSetName: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
Eq DeleteStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

Read DeleteStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

Show DeleteStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

Generic DeleteStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

Associated Types

type Rep DeleteStackSetResponse :: Type -> Type #

NFData DeleteStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

Methods

rnf :: DeleteStackSetResponse -> () #

type Rep DeleteStackSetResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeleteStackSet

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