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 |
Instructs the specified agents to start collecting data. Agents can reside on host servers or virtual machines in your data center.
- startDataCollectionByAgentIds :: StartDataCollectionByAgentIds
- data StartDataCollectionByAgentIds
- sAgentIds :: Lens' StartDataCollectionByAgentIds [Text]
- startDataCollectionByAgentIdsResponse :: Int -> StartDataCollectionByAgentIdsResponse
- data StartDataCollectionByAgentIdsResponse
- srsAgentsConfigurationStatus :: Lens' StartDataCollectionByAgentIdsResponse [AgentConfigurationStatus]
- srsResponseStatus :: Lens' StartDataCollectionByAgentIdsResponse Int
Creating a Request
startDataCollectionByAgentIds :: StartDataCollectionByAgentIds Source #
Creates a value of StartDataCollectionByAgentIds
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data StartDataCollectionByAgentIds Source #
See: startDataCollectionByAgentIds
smart constructor.
Request Lenses
sAgentIds :: Lens' StartDataCollectionByAgentIds [Text] Source #
The IDs of the agents that you want to start collecting data. If you send a request to an AWS agent ID that you do not have permission to contact, according to your AWS account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents and you do not have permission to contact some of those agents, the system does not throw an exception. Instead, the system shows Failed
in the Description field.
Destructuring the Response
startDataCollectionByAgentIdsResponse Source #
Creates a value of StartDataCollectionByAgentIdsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data StartDataCollectionByAgentIdsResponse Source #
See: startDataCollectionByAgentIdsResponse
smart constructor.
Response Lenses
srsAgentsConfigurationStatus :: Lens' StartDataCollectionByAgentIdsResponse [AgentConfigurationStatus] Source #
Information about agents that were instructed to start collecting data. Information includes the agent ID, a description of the operation performed, and whether or not the agent configuration was updated.
srsResponseStatus :: Lens' StartDataCollectionByAgentIdsResponse Int Source #
The response status code.