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

Description

Requests a description of a specified set of apps.

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

See: newDescribeApps smart constructor.

Constructors

DescribeApps' 

Fields

  • appIds :: Maybe [Text]

    An array of app IDs for the apps to be described. If you use this parameter, DescribeApps returns a description of the specified apps. Otherwise, it returns a description of every app.

  • stackId :: Maybe Text

    The app stack ID. If you use this parameter, DescribeApps returns a description of the apps in the specified stack.

Instances

Instances details
Eq DescribeApps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeApps

Read DescribeApps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeApps

Show DescribeApps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeApps

Generic DescribeApps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeApps

Associated Types

type Rep DescribeApps :: Type -> Type #

NFData DescribeApps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeApps

Methods

rnf :: DescribeApps -> () #

Hashable DescribeApps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeApps

ToJSON DescribeApps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeApps

AWSRequest DescribeApps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeApps

Associated Types

type AWSResponse DescribeApps #

ToHeaders DescribeApps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeApps

ToPath DescribeApps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeApps

ToQuery DescribeApps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeApps

type Rep DescribeApps Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeApps

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

Defined in Amazonka.OpsWorks.DescribeApps

newDescribeApps :: DescribeApps Source #

Create a value of DescribeApps 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:appIds:DescribeApps', describeApps_appIds - An array of app IDs for the apps to be described. If you use this parameter, DescribeApps returns a description of the specified apps. Otherwise, it returns a description of every app.

$sel:stackId:DescribeApps', describeApps_stackId - The app stack ID. If you use this parameter, DescribeApps returns a description of the apps in the specified stack.

Request Lenses

describeApps_appIds :: Lens' DescribeApps (Maybe [Text]) Source #

An array of app IDs for the apps to be described. If you use this parameter, DescribeApps returns a description of the specified apps. Otherwise, it returns a description of every app.

describeApps_stackId :: Lens' DescribeApps (Maybe Text) Source #

The app stack ID. If you use this parameter, DescribeApps returns a description of the apps in the specified stack.

Destructuring the Response

data DescribeAppsResponse Source #

Contains the response to a DescribeApps request.

See: newDescribeAppsResponse smart constructor.

Constructors

DescribeAppsResponse' 

Fields

  • apps :: Maybe [App]

    An array of App objects that describe the specified apps.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeAppsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeApps

Read DescribeAppsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeApps

Show DescribeAppsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeApps

Generic DescribeAppsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeApps

Associated Types

type Rep DescribeAppsResponse :: Type -> Type #

NFData DescribeAppsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeApps

Methods

rnf :: DescribeAppsResponse -> () #

type Rep DescribeAppsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeApps

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

newDescribeAppsResponse Source #

Create a value of DescribeAppsResponse 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:apps:DescribeAppsResponse', describeAppsResponse_apps - An array of App objects that describe the specified apps.

$sel:httpStatus:DescribeAppsResponse', describeAppsResponse_httpStatus - The response's http status code.

Response Lenses

describeAppsResponse_apps :: Lens' DescribeAppsResponse (Maybe [App]) Source #

An array of App objects that describe the specified apps.