pub struct GetDeployablePatchSnapshotForInstance<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to GetDeployablePatchSnapshotForInstance
.
Retrieves the current snapshot for the patch baseline the managed node uses. This API is primarily used by the AWS-RunPatchBaseline
Systems Manager document (SSM document).
If you run the command locally, such as with the Command Line Interface (CLI), the system attempts to use your local Amazon Web Services credentials and the operation fails. To avoid this, you can run the command in the Amazon Web Services Systems Manager console. Use Run Command, a capability of Amazon Web Services Systems Manager, with an SSM document that enables you to target a managed node with a script or command. For example, run the command using the AWS-RunShellScript
document or the AWS-RunPowerShellScript
document.
Implementations
impl<C, M, R> GetDeployablePatchSnapshotForInstance<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetDeployablePatchSnapshotForInstance<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetDeployablePatchSnapshotForInstanceOutput, SdkError<GetDeployablePatchSnapshotForInstanceError>> where
R::Policy: SmithyRetryPolicy<GetDeployablePatchSnapshotForInstanceInputOperationOutputAlias, GetDeployablePatchSnapshotForInstanceOutput, GetDeployablePatchSnapshotForInstanceError, GetDeployablePatchSnapshotForInstanceInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetDeployablePatchSnapshotForInstanceOutput, SdkError<GetDeployablePatchSnapshotForInstanceError>> where
R::Policy: SmithyRetryPolicy<GetDeployablePatchSnapshotForInstanceInputOperationOutputAlias, GetDeployablePatchSnapshotForInstanceOutput, GetDeployablePatchSnapshotForInstanceError, GetDeployablePatchSnapshotForInstanceInputOperationRetryAlias>,
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 ID of the managed node for which the appropriate patch snapshot should be retrieved.
The ID of the managed node for which the appropriate patch snapshot should be retrieved.
The snapshot ID provided by the user when running AWS-RunPatchBaseline
.
The snapshot ID provided by the user when running AWS-RunPatchBaseline
.
Defines the basic information about a patch baseline override.
Defines the basic information about a patch baseline override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GetDeployablePatchSnapshotForInstance<C, M, R>
impl<C, M, R> Send for GetDeployablePatchSnapshotForInstance<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for GetDeployablePatchSnapshotForInstance<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for GetDeployablePatchSnapshotForInstance<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GetDeployablePatchSnapshotForInstance<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