amazonka-opsworks-2.0: Amazon OpsWorks SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.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

AWSRequest DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

Associated Types

type AWSResponse DescribeStacks #

Generic DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

Associated Types

type Rep DescribeStacks :: Type -> Type #

Read DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

Show DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

NFData DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

Methods

rnf :: DescribeStacks -> () #

Eq DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

Hashable DescribeStacks Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

type AWSResponse 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" "amazonka-opsworks-2.0-7XrzSD2vbuN9lVUGWMVZ7S" 'False) (C1 ('MetaCons "DescribeStacks'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stackIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

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
Generic DescribeStacksResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

Associated Types

type Rep DescribeStacksResponse :: Type -> Type #

Read DescribeStacksResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

Show DescribeStacksResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

NFData DescribeStacksResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

Methods

rnf :: DescribeStacksResponse -> () #

Eq DescribeStacksResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

type Rep DescribeStacksResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeStacks

type Rep DescribeStacksResponse = D1 ('MetaData "DescribeStacksResponse" "Amazonka.OpsWorks.DescribeStacks" "amazonka-opsworks-2.0-7XrzSD2vbuN9lVUGWMVZ7S" '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.