Struct aws_sdk_greengrassv2::client::fluent_builders::ResolveComponentCandidates [−][src]
pub struct ResolveComponentCandidates<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ResolveComponentCandidates
.
Retrieves a list of components that meet the component, version, and platform requirements of a deployment. Greengrass core devices call this operation when they receive a deployment to identify the components to install.
This operation identifies components that meet all dependency requirements for a
deployment. If the requirements conflict, then this operation returns an error and the
deployment fails. For example, this occurs if component A
requires version
>2.0.0
and component B
requires version <2.0.0
of a component dependency.
When you specify the component candidates to resolve, IoT Greengrass compares each component's digest from the core device with the component's digest in the Amazon Web Services Cloud. If the digests don't match, then IoT Greengrass specifies to use the version from the Amazon Web Services Cloud.
To use this operation, you must use the data plane API endpoint and authenticate with an IoT device certificate. For more information, see IoT Greengrass endpoints and quotas.
Implementations
impl<C, M, R> ResolveComponentCandidates<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ResolveComponentCandidates<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ResolveComponentCandidatesOutput, SdkError<ResolveComponentCandidatesError>> where
R::Policy: SmithyRetryPolicy<ResolveComponentCandidatesInputOperationOutputAlias, ResolveComponentCandidatesOutput, ResolveComponentCandidatesError, ResolveComponentCandidatesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ResolveComponentCandidatesOutput, SdkError<ResolveComponentCandidatesError>> where
R::Policy: SmithyRetryPolicy<ResolveComponentCandidatesInputOperationOutputAlias, ResolveComponentCandidatesOutput, ResolveComponentCandidatesError, ResolveComponentCandidatesInputOperationRetryAlias>,
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 platform to use to resolve compatible components.
The platform to use to resolve compatible components.
Appends an item to componentCandidates
.
To override the contents of this collection use set_component_candidates
.
The list of components to resolve.
The list of components to resolve.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ResolveComponentCandidates<C, M, R>
impl<C, M, R> Send for ResolveComponentCandidates<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ResolveComponentCandidates<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ResolveComponentCandidates<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ResolveComponentCandidates<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