Copyright | (c) 2013-2021 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 |
Instructs the specified agents or connectors to start collecting data.
Synopsis
- data StartDataCollectionByAgentIds = StartDataCollectionByAgentIds' {}
- newStartDataCollectionByAgentIds :: StartDataCollectionByAgentIds
- startDataCollectionByAgentIds_agentIds :: Lens' StartDataCollectionByAgentIds [Text]
- data StartDataCollectionByAgentIdsResponse = StartDataCollectionByAgentIdsResponse' {}
- newStartDataCollectionByAgentIdsResponse :: Int -> StartDataCollectionByAgentIdsResponse
- startDataCollectionByAgentIdsResponse_agentsConfigurationStatus :: Lens' StartDataCollectionByAgentIdsResponse (Maybe [AgentConfigurationStatus])
- startDataCollectionByAgentIdsResponse_httpStatus :: Lens' StartDataCollectionByAgentIdsResponse Int
Creating a Request
data StartDataCollectionByAgentIds Source #
See: newStartDataCollectionByAgentIds
smart constructor.
StartDataCollectionByAgentIds' | |
|
Instances
newStartDataCollectionByAgentIds :: StartDataCollectionByAgentIds Source #
Create a value of StartDataCollectionByAgentIds
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:agentIds:StartDataCollectionByAgentIds'
, startDataCollectionByAgentIds_agentIds
- The IDs of the agents or connectors from which to start collecting data.
If you send a request to an agent/connector 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/connectors and you do not have permission to contact some of
those agents/connectors, the system does not throw an exception.
Instead, the system shows Failed
in the Description field.
Request Lenses
startDataCollectionByAgentIds_agentIds :: Lens' StartDataCollectionByAgentIds [Text] Source #
The IDs of the agents or connectors from which to start collecting data.
If you send a request to an agent/connector 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/connectors and you do not have permission to contact some of
those agents/connectors, the system does not throw an exception.
Instead, the system shows Failed
in the Description field.
Destructuring the Response
data StartDataCollectionByAgentIdsResponse Source #
See: newStartDataCollectionByAgentIdsResponse
smart constructor.
StartDataCollectionByAgentIdsResponse' | |
|
Instances
newStartDataCollectionByAgentIdsResponse Source #
Create a value of StartDataCollectionByAgentIdsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:agentsConfigurationStatus:StartDataCollectionByAgentIdsResponse'
, startDataCollectionByAgentIdsResponse_agentsConfigurationStatus
- Information about agents or the connector that were instructed to start
collecting data. Information includes the agent/connector ID, a
description of the operation performed, and whether the agent/connector
configuration was updated.
$sel:httpStatus:StartDataCollectionByAgentIdsResponse'
, startDataCollectionByAgentIdsResponse_httpStatus
- The response's http status code.
Response Lenses
startDataCollectionByAgentIdsResponse_agentsConfigurationStatus :: Lens' StartDataCollectionByAgentIdsResponse (Maybe [AgentConfigurationStatus]) Source #
Information about agents or the connector that were instructed to start collecting data. Information includes the agent/connector ID, a description of the operation performed, and whether the agent/connector configuration was updated.
startDataCollectionByAgentIdsResponse_httpStatus :: Lens' StartDataCollectionByAgentIdsResponse Int Source #
The response's http status code.