libZSservicesZSamazonka-opsworksZSamazonka-opsworks
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.OpsWorks.DeleteStack

Description

Deletes a specified stack. You must first delete all instances, layers, and apps or deregister registered instances. For more information, see Shut Down a Stack.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

Synopsis

Creating a Request

data DeleteStack Source #

See: newDeleteStack smart constructor.

Constructors

DeleteStack' 

Fields

Instances

Instances details
Eq DeleteStack Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteStack

Read DeleteStack Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteStack

Show DeleteStack Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteStack

Generic DeleteStack Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteStack

Associated Types

type Rep DeleteStack :: Type -> Type #

NFData DeleteStack Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteStack

Methods

rnf :: DeleteStack -> () #

Hashable DeleteStack Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteStack

ToJSON DeleteStack Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteStack

AWSRequest DeleteStack Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteStack

Associated Types

type AWSResponse DeleteStack #

ToHeaders DeleteStack Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteStack

Methods

toHeaders :: DeleteStack -> [Header] #

ToPath DeleteStack Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteStack

ToQuery DeleteStack Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteStack

type Rep DeleteStack Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteStack

type Rep DeleteStack = D1 ('MetaData "DeleteStack" "Amazonka.OpsWorks.DeleteStack" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "DeleteStack'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteStack Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteStack

newDeleteStack Source #

Create a value of DeleteStack 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:stackId:DeleteStack', deleteStack_stackId - The stack ID.

Request Lenses

Destructuring the Response

data DeleteStackResponse Source #

See: newDeleteStackResponse smart constructor.

Constructors

DeleteStackResponse' 

Instances

Instances details
Eq DeleteStackResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteStack

Read DeleteStackResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteStack

Show DeleteStackResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteStack

Generic DeleteStackResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteStack

Associated Types

type Rep DeleteStackResponse :: Type -> Type #

NFData DeleteStackResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteStack

Methods

rnf :: DeleteStackResponse -> () #

type Rep DeleteStackResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteStack

type Rep DeleteStackResponse = D1 ('MetaData "DeleteStackResponse" "Amazonka.OpsWorks.DeleteStack" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "DeleteStackResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteStackResponse :: DeleteStackResponse Source #

Create a value of DeleteStackResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.