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

Description

Describes the available AWS OpsWorks Stacks agent versions. You must specify a stack ID or a configuration manager. DescribeAgentVersions returns a list of available agent versions for the specified stack or configuration manager.

Synopsis

Creating a Request

data DescribeAgentVersions Source #

See: newDescribeAgentVersions smart constructor.

Constructors

DescribeAgentVersions' 

Fields

Instances

Instances details
Eq DescribeAgentVersions Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeAgentVersions

Read DescribeAgentVersions Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeAgentVersions

Show DescribeAgentVersions Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeAgentVersions

Generic DescribeAgentVersions Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeAgentVersions

Associated Types

type Rep DescribeAgentVersions :: Type -> Type #

NFData DescribeAgentVersions Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeAgentVersions

Methods

rnf :: DescribeAgentVersions -> () #

Hashable DescribeAgentVersions Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeAgentVersions

ToJSON DescribeAgentVersions Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeAgentVersions

AWSRequest DescribeAgentVersions Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeAgentVersions

Associated Types

type AWSResponse DescribeAgentVersions #

ToHeaders DescribeAgentVersions Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeAgentVersions

ToPath DescribeAgentVersions Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeAgentVersions

ToQuery DescribeAgentVersions Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeAgentVersions

type Rep DescribeAgentVersions Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeAgentVersions

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

Defined in Amazonka.OpsWorks.DescribeAgentVersions

newDescribeAgentVersions :: DescribeAgentVersions Source #

Create a value of DescribeAgentVersions 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:configurationManager:DescribeAgentVersions', describeAgentVersions_configurationManager - The configuration manager.

$sel:stackId:DescribeAgentVersions', describeAgentVersions_stackId - The stack ID.

Request Lenses

Destructuring the Response

data DescribeAgentVersionsResponse Source #

Contains the response to a DescribeAgentVersions request.

See: newDescribeAgentVersionsResponse smart constructor.

Constructors

DescribeAgentVersionsResponse' 

Fields

  • agentVersions :: Maybe [AgentVersion]

    The agent versions for the specified stack or configuration manager. Note that this value is the complete version number, not the abbreviated number used by the console.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeAgentVersionsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeAgentVersions

Read DescribeAgentVersionsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeAgentVersions

Show DescribeAgentVersionsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeAgentVersions

Generic DescribeAgentVersionsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeAgentVersions

Associated Types

type Rep DescribeAgentVersionsResponse :: Type -> Type #

NFData DescribeAgentVersionsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeAgentVersions

type Rep DescribeAgentVersionsResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.DescribeAgentVersions

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

newDescribeAgentVersionsResponse Source #

Create a value of DescribeAgentVersionsResponse 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:agentVersions:DescribeAgentVersionsResponse', describeAgentVersionsResponse_agentVersions - The agent versions for the specified stack or configuration manager. Note that this value is the complete version number, not the abbreviated number used by the console.

$sel:httpStatus:DescribeAgentVersionsResponse', describeAgentVersionsResponse_httpStatus - The response's http status code.

Response Lenses

describeAgentVersionsResponse_agentVersions :: Lens' DescribeAgentVersionsResponse (Maybe [AgentVersion]) Source #

The agent versions for the specified stack or configuration manager. Note that this value is the complete version number, not the abbreviated number used by the console.