Copyright | (c) 2013-2016 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 |
Lists AWS agents by ID or lists all agents associated with your user account if you did not specify an agent ID.
- describeAgents :: DescribeAgents
- data DescribeAgents
- daAgentIds :: Lens' DescribeAgents [Text]
- daNextToken :: Lens' DescribeAgents (Maybe Text)
- daMaxResults :: Lens' DescribeAgents (Maybe Int)
- describeAgentsResponse :: Int -> DescribeAgentsResponse
- data DescribeAgentsResponse
- darsAgentsInfo :: Lens' DescribeAgentsResponse [AgentInfo]
- darsNextToken :: Lens' DescribeAgentsResponse (Maybe Text)
- darsResponseStatus :: Lens' DescribeAgentsResponse Int
Creating a Request
describeAgents :: DescribeAgents Source #
Creates a value of DescribeAgents
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeAgents Source #
See: describeAgents
smart constructor.
Request Lenses
daAgentIds :: Lens' DescribeAgents [Text] Source #
The agent IDs for which you want information. If you specify no IDs, the system returns information about all agents associated with your AWS user account.
daNextToken :: Lens' DescribeAgents (Maybe Text) Source #
A token to start the list. Use this token to get the next set of results.
daMaxResults :: Lens' DescribeAgents (Maybe Int) Source #
The total number of agents to return. The maximum value is 100.
Destructuring the Response
describeAgentsResponse Source #
Creates a value of DescribeAgentsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeAgentsResponse Source #
See: describeAgentsResponse
smart constructor.
Response Lenses
darsAgentsInfo :: Lens' DescribeAgentsResponse [AgentInfo] Source #
Lists AWS agents by ID or lists all agents associated with your user account if you did not specify an agent ID. The output includes agent IDs, IP addresses, media access control (MAC) addresses, agent health, host name where the agent resides, and the version number of each agent.
darsNextToken :: Lens' DescribeAgentsResponse (Maybe Text) Source #
The call returns a token. Use this token to get the next set of results.
darsResponseStatus :: Lens' DescribeAgentsResponse Int Source #
The response status code.