Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DescribeAgentVersions = DescribeAgentVersions' {}
- newDescribeAgentVersions :: DescribeAgentVersions
- describeAgentVersions_configurationManager :: Lens' DescribeAgentVersions (Maybe StackConfigurationManager)
- describeAgentVersions_stackId :: Lens' DescribeAgentVersions (Maybe Text)
- data DescribeAgentVersionsResponse = DescribeAgentVersionsResponse' {
- agentVersions :: Maybe [AgentVersion]
- httpStatus :: Int
- newDescribeAgentVersionsResponse :: Int -> DescribeAgentVersionsResponse
- describeAgentVersionsResponse_agentVersions :: Lens' DescribeAgentVersionsResponse (Maybe [AgentVersion])
- describeAgentVersionsResponse_httpStatus :: Lens' DescribeAgentVersionsResponse Int
Creating a Request
data DescribeAgentVersions Source #
See: newDescribeAgentVersions
smart constructor.
DescribeAgentVersions' | |
|
Instances
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
describeAgentVersions_configurationManager :: Lens' DescribeAgentVersions (Maybe StackConfigurationManager) Source #
The configuration manager.
describeAgentVersions_stackId :: Lens' DescribeAgentVersions (Maybe Text) Source #
The stack ID.
Destructuring the Response
data DescribeAgentVersionsResponse Source #
Contains the response to a DescribeAgentVersions
request.
See: newDescribeAgentVersionsResponse
smart constructor.
DescribeAgentVersionsResponse' | |
|
Instances
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.
describeAgentVersionsResponse_httpStatus :: Lens' DescribeAgentVersionsResponse Int Source #
The response's http status code.