| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.OpsWorks.DescribeAgentVersions
Description
Describes the available AWS OpsWorks 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.
See: AWS API Reference for DescribeAgentVersions.
- describeAgentVersions :: DescribeAgentVersions
- data DescribeAgentVersions
- davConfigurationManager :: Lens' DescribeAgentVersions (Maybe StackConfigurationManager)
- davStackId :: Lens' DescribeAgentVersions (Maybe Text)
- describeAgentVersionsResponse :: Int -> DescribeAgentVersionsResponse
- data DescribeAgentVersionsResponse
- davrsAgentVersions :: Lens' DescribeAgentVersionsResponse [AgentVersion]
- davrsStatus :: Lens' DescribeAgentVersionsResponse Int
Creating a Request
describeAgentVersions :: DescribeAgentVersions Source
Creates a value of DescribeAgentVersions with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeAgentVersions Source
See: describeAgentVersions smart constructor.
Instances
Request Lenses
davConfigurationManager :: Lens' DescribeAgentVersions (Maybe StackConfigurationManager) Source
The configuration manager.
davStackId :: Lens' DescribeAgentVersions (Maybe Text) Source
The stack ID.
Destructuring the Response
describeAgentVersionsResponse Source
Arguments
| :: Int | |
| -> DescribeAgentVersionsResponse |
Creates a value of DescribeAgentVersionsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeAgentVersionsResponse Source
Contains the response to a DescribeAgentVersions request.
See: describeAgentVersionsResponse smart constructor.
Response Lenses
davrsAgentVersions :: Lens' DescribeAgentVersionsResponse [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.
davrsStatus :: Lens' DescribeAgentVersionsResponse Int Source
The response status code.