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

Description

Deletes a specified layer. You must first stop and then delete all associated instances or unassign registered instances. For more information, see How to Delete a Layer.

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 DeleteLayer Source #

See: newDeleteLayer smart constructor.

Constructors

DeleteLayer' 

Fields

Instances

Instances details
Eq DeleteLayer Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteLayer

Read DeleteLayer Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteLayer

Show DeleteLayer Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteLayer

Generic DeleteLayer Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteLayer

Associated Types

type Rep DeleteLayer :: Type -> Type #

NFData DeleteLayer Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteLayer

Methods

rnf :: DeleteLayer -> () #

Hashable DeleteLayer Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteLayer

ToJSON DeleteLayer Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteLayer

AWSRequest DeleteLayer Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteLayer

Associated Types

type AWSResponse DeleteLayer #

ToHeaders DeleteLayer Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteLayer

Methods

toHeaders :: DeleteLayer -> [Header] #

ToPath DeleteLayer Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteLayer

ToQuery DeleteLayer Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteLayer

type Rep DeleteLayer Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteLayer

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

Defined in Amazonka.OpsWorks.DeleteLayer

newDeleteLayer Source #

Create a value of DeleteLayer 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:layerId:DeleteLayer', deleteLayer_layerId - The layer ID.

Request Lenses

Destructuring the Response

data DeleteLayerResponse Source #

See: newDeleteLayerResponse smart constructor.

Constructors

DeleteLayerResponse' 

Instances

Instances details
Eq DeleteLayerResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteLayer

Read DeleteLayerResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteLayer

Show DeleteLayerResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteLayer

Generic DeleteLayerResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteLayer

Associated Types

type Rep DeleteLayerResponse :: Type -> Type #

NFData DeleteLayerResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteLayer

Methods

rnf :: DeleteLayerResponse -> () #

type Rep DeleteLayerResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DeleteLayer

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

newDeleteLayerResponse :: DeleteLayerResponse Source #

Create a value of DeleteLayerResponse with all optional fields omitted.

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