Struct aws_sdk_ecs::client::fluent_builders::DiscoverPollEndpoint [−][src]
pub struct DiscoverPollEndpoint<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to DiscoverPollEndpoint.
This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.
Returns an endpoint for the Amazon ECS agent to poll for updates.
Implementations
impl<C, M, R> DiscoverPollEndpoint<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DiscoverPollEndpoint<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DiscoverPollEndpointOutput, SdkError<DiscoverPollEndpointError>> where
R::Policy: SmithyRetryPolicy<DiscoverPollEndpointInputOperationOutputAlias, DiscoverPollEndpointOutput, DiscoverPollEndpointError, DiscoverPollEndpointInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DiscoverPollEndpointOutput, SdkError<DiscoverPollEndpointError>> where
R::Policy: SmithyRetryPolicy<DiscoverPollEndpointInputOperationOutputAlias, DiscoverPollEndpointOutput, DiscoverPollEndpointError, DiscoverPollEndpointInputOperationRetryAlias>,
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.
The container instance ID or full ARN of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the Amazon Web Services account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.
The container instance ID or full ARN of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the Amazon Web Services account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.
The short name or full Amazon Resource Name (ARN) of the cluster that the container instance belongs to.
The short name or full Amazon Resource Name (ARN) of the cluster that the container instance belongs to.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DiscoverPollEndpoint<C, M, R>
impl<C, M, R> Send for DiscoverPollEndpoint<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DiscoverPollEndpoint<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DiscoverPollEndpoint<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DiscoverPollEndpoint<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
