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 |
Network.AWS.Discovery.DescribeAgents
Description
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 #
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:
daAgentIds
- 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
- A token to start the list. Use this token to get the next set of results.daMaxResults
- The total number of agents to return. The maximum value is 100.
data DescribeAgents #
See: describeAgents
smart constructor.
Instances
Request Lenses
daAgentIds :: Lens' DescribeAgents [Text] #
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) #
A token to start the list. Use this token to get the next set of results.
daMaxResults :: Lens' DescribeAgents (Maybe Int) #
The total number of agents to return. The maximum value is 100.
Destructuring the Response
Arguments
:: Int | |
-> DescribeAgentsResponse |
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:
darsAgentsInfo
- 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
- The call returns a token. Use this token to get the next set of results.darsResponseStatus
- -- | The response status code.
data DescribeAgentsResponse #
See: describeAgentsResponse
smart constructor.
Response Lenses
darsAgentsInfo :: Lens' DescribeAgentsResponse [AgentInfo] #
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) #
The call returns a token. Use this token to get the next set of results.
darsResponseStatus :: Lens' DescribeAgentsResponse Int #
- - | The response status code.