Struct aws_sdk_applicationdiscovery::client::fluent_builders::StartDataCollectionByAgentIds [−][src]
pub struct StartDataCollectionByAgentIds<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to StartDataCollectionByAgentIds.
Instructs the specified agents or connectors to start collecting data.
Implementations
impl<C, M, R> StartDataCollectionByAgentIds<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StartDataCollectionByAgentIds<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StartDataCollectionByAgentIdsOutput, SdkError<StartDataCollectionByAgentIdsError>> where
R::Policy: SmithyRetryPolicy<StartDataCollectionByAgentIdsInputOperationOutputAlias, StartDataCollectionByAgentIdsOutput, StartDataCollectionByAgentIdsError, StartDataCollectionByAgentIdsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StartDataCollectionByAgentIdsOutput, SdkError<StartDataCollectionByAgentIdsError>> where
R::Policy: SmithyRetryPolicy<StartDataCollectionByAgentIdsInputOperationOutputAlias, StartDataCollectionByAgentIdsOutput, StartDataCollectionByAgentIdsError, StartDataCollectionByAgentIdsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Appends an item to agentIds.
To override the contents of this collection use set_agent_ids.
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.
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for StartDataCollectionByAgentIds<C, M, R>
impl<C, M, R> Send for StartDataCollectionByAgentIds<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StartDataCollectionByAgentIds<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StartDataCollectionByAgentIds<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for StartDataCollectionByAgentIds<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more