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

Description

Requests a description of one or more layers in a specified stack.

This call accepts only one resource-identifying parameter.

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

Synopsis

Creating a Request

data DescribeLayers Source #

See: newDescribeLayers smart constructor.

Constructors

DescribeLayers' 

Fields

  • layerIds :: Maybe [Text]

    An array of layer IDs that specify the layers to be described. If you omit this parameter, DescribeLayers returns a description of every layer in the specified stack.

  • stackId :: Maybe Text

    The stack ID.

Instances

Instances details
Eq DescribeLayers Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeLayers

Read DescribeLayers Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeLayers

Show DescribeLayers Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeLayers

Generic DescribeLayers Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeLayers

Associated Types

type Rep DescribeLayers :: Type -> Type #

NFData DescribeLayers Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeLayers

Methods

rnf :: DescribeLayers -> () #

Hashable DescribeLayers Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeLayers

ToJSON DescribeLayers Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeLayers

AWSRequest DescribeLayers Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeLayers

Associated Types

type AWSResponse DescribeLayers #

ToHeaders DescribeLayers Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeLayers

ToPath DescribeLayers Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeLayers

ToQuery DescribeLayers Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeLayers

type Rep DescribeLayers Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeLayers

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

Defined in Amazonka.OpsWorks.DescribeLayers

newDescribeLayers :: DescribeLayers Source #

Create a value of DescribeLayers 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:layerIds:DescribeLayers', describeLayers_layerIds - An array of layer IDs that specify the layers to be described. If you omit this parameter, DescribeLayers returns a description of every layer in the specified stack.

$sel:stackId:DescribeLayers', describeLayers_stackId - The stack ID.

Request Lenses

describeLayers_layerIds :: Lens' DescribeLayers (Maybe [Text]) Source #

An array of layer IDs that specify the layers to be described. If you omit this parameter, DescribeLayers returns a description of every layer in the specified stack.

Destructuring the Response

data DescribeLayersResponse Source #

Contains the response to a DescribeLayers request.

See: newDescribeLayersResponse smart constructor.

Constructors

DescribeLayersResponse' 

Fields

Instances

Instances details
Eq DescribeLayersResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeLayers

Read DescribeLayersResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeLayers

Show DescribeLayersResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeLayers

Generic DescribeLayersResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeLayers

Associated Types

type Rep DescribeLayersResponse :: Type -> Type #

NFData DescribeLayersResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeLayers

Methods

rnf :: DescribeLayersResponse -> () #

type Rep DescribeLayersResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeLayers

type Rep DescribeLayersResponse = D1 ('MetaData "DescribeLayersResponse" "Amazonka.OpsWorks.DescribeLayers" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "DescribeLayersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "layers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Layer])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeLayersResponse Source #

Create a value of DescribeLayersResponse 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:layers:DescribeLayersResponse', describeLayersResponse_layers - An array of Layer objects that describe the layers.

$sel:httpStatus:DescribeLayersResponse', describeLayersResponse_httpStatus - The response's http status code.

Response Lenses

describeLayersResponse_layers :: Lens' DescribeLayersResponse (Maybe [Layer]) Source #

An array of Layer objects that describe the layers.