Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Instructs the specified agents or connectors to start collecting data.
- 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:
sAgentIds
- The IDs of the agents or connectors from which to start collecting data. If you send a request to an agentconnector 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 agentsconnectors and you do not have permission to contact some of those agentsconnectors, the system does not throw an exception. Instead, the system showsFailed
in the Description/ field.
data StartDataCollectionByAgentIds Source #
See: startDataCollectionByAgentIds
smart constructor.
Request Lenses
sAgentIds :: Lens' StartDataCollectionByAgentIds [Text] Source #
The IDs of the agents or connectors from which to start collecting data. If you send a request to an agentconnector 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 agentsconnectors and you do not have permission to contact some of those agentsconnectors, 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:
srsAgentsConfigurationStatus
- Information about agents or the connector that were instructed to start collecting data. Information includes the agentconnector ID, a description of the operation performed, and whether the agentconnector configuration was updated.srsResponseStatus
- -- | The response status code.
data StartDataCollectionByAgentIdsResponse Source #
See: startDataCollectionByAgentIdsResponse
smart constructor.
Response Lenses
srsAgentsConfigurationStatus :: Lens' StartDataCollectionByAgentIdsResponse [AgentConfigurationStatus] Source #
Information about agents or the connector that were instructed to start collecting data. Information includes the agentconnector ID, a description of the operation performed, and whether the agentconnector configuration was updated.
srsResponseStatus :: Lens' StartDataCollectionByAgentIdsResponse Int Source #
- - | The response status code.