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

Description

Requests a description of one or more stacks.

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

See: newDescribeStacks smart constructor.

Constructors

DescribeStacks' 

Fields

  • stackIds :: Maybe [Text]

    An array of stack IDs that specify the stacks to be described. If you omit this parameter, DescribeStacks returns a description of every stack.

Instances

Instances details
Eq DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

Read DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

Show DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

Generic DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

Associated Types

type Rep DescribeStacks :: Type -> Type #

NFData DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

Methods

rnf :: DescribeStacks -> () #

Hashable DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

ToJSON DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

AWSRequest DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

Associated Types

type AWSResponse DescribeStacks #

ToHeaders DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

ToPath DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

ToQuery DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

type Rep DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

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

Defined in Amazonka.OpsWorks.DescribeStacks

newDescribeStacks :: DescribeStacks Source #

Create a value of DescribeStacks 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:stackIds:DescribeStacks', describeStacks_stackIds - An array of stack IDs that specify the stacks to be described. If you omit this parameter, DescribeStacks returns a description of every stack.

Request Lenses

describeStacks_stackIds :: Lens' DescribeStacks (Maybe [Text]) Source #

An array of stack IDs that specify the stacks to be described. If you omit this parameter, DescribeStacks returns a description of every stack.

Destructuring the Response

data DescribeStacksResponse Source #

Contains the response to a DescribeStacks request.

See: newDescribeStacksResponse smart constructor.

Constructors

DescribeStacksResponse' 

Fields

Instances

Instances details
Eq DescribeStacksResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

Read DescribeStacksResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

Show DescribeStacksResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

Generic DescribeStacksResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

Associated Types

type Rep DescribeStacksResponse :: Type -> Type #

NFData DescribeStacksResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

Methods

rnf :: DescribeStacksResponse -> () #

type Rep DescribeStacksResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

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

newDescribeStacksResponse Source #

Create a value of DescribeStacksResponse 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:stacks:DescribeStacksResponse', describeStacksResponse_stacks - An array of Stack objects that describe the stacks.

$sel:httpStatus:DescribeStacksResponse', describeStacksResponse_httpStatus - The response's http status code.

Response Lenses

describeStacksResponse_stacks :: Lens' DescribeStacksResponse (Maybe [Stack]) Source #

An array of Stack objects that describe the stacks.