aws_sdk_ssm/client/get_deployable_patch_snapshot_for_instance.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetDeployablePatchSnapshotForInstance`](crate::operation::get_deployable_patch_snapshot_for_instance::builders::GetDeployablePatchSnapshotForInstanceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`instance_id(impl Into<String>)`](crate::operation::get_deployable_patch_snapshot_for_instance::builders::GetDeployablePatchSnapshotForInstanceFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::get_deployable_patch_snapshot_for_instance::builders::GetDeployablePatchSnapshotForInstanceFluentBuilder::set_instance_id):<br>required: **true**<br><p>The ID of the managed node for which the appropriate patch snapshot should be retrieved.</p><br>
7 /// - [`snapshot_id(impl Into<String>)`](crate::operation::get_deployable_patch_snapshot_for_instance::builders::GetDeployablePatchSnapshotForInstanceFluentBuilder::snapshot_id) / [`set_snapshot_id(Option<String>)`](crate::operation::get_deployable_patch_snapshot_for_instance::builders::GetDeployablePatchSnapshotForInstanceFluentBuilder::set_snapshot_id):<br>required: **true**<br><p>The snapshot ID provided by the user when running <code>AWS-RunPatchBaseline</code>.</p><br>
8 /// - [`baseline_override(BaselineOverride)`](crate::operation::get_deployable_patch_snapshot_for_instance::builders::GetDeployablePatchSnapshotForInstanceFluentBuilder::baseline_override) / [`set_baseline_override(Option<BaselineOverride>)`](crate::operation::get_deployable_patch_snapshot_for_instance::builders::GetDeployablePatchSnapshotForInstanceFluentBuilder::set_baseline_override):<br>required: **false**<br><p>Defines the basic information about a patch baseline override.</p><br>
9 /// - On success, responds with [`GetDeployablePatchSnapshotForInstanceOutput`](crate::operation::get_deployable_patch_snapshot_for_instance::GetDeployablePatchSnapshotForInstanceOutput) with field(s):
10 /// - [`instance_id(Option<String>)`](crate::operation::get_deployable_patch_snapshot_for_instance::GetDeployablePatchSnapshotForInstanceOutput::instance_id): <p>The managed node ID.</p>
11 /// - [`snapshot_id(Option<String>)`](crate::operation::get_deployable_patch_snapshot_for_instance::GetDeployablePatchSnapshotForInstanceOutput::snapshot_id): <p>The user-defined snapshot ID.</p>
12 /// - [`snapshot_download_url(Option<String>)`](crate::operation::get_deployable_patch_snapshot_for_instance::GetDeployablePatchSnapshotForInstanceOutput::snapshot_download_url): <p>A pre-signed Amazon Simple Storage Service (Amazon S3) URL that can be used to download the patch snapshot.</p>
13 /// - [`product(Option<String>)`](crate::operation::get_deployable_patch_snapshot_for_instance::GetDeployablePatchSnapshotForInstanceOutput::product): <p>Returns the specific operating system (for example Windows Server 2012 or Amazon Linux 2015.09) on the managed node for the specified patch snapshot.</p>
14 /// - On failure, responds with [`SdkError<GetDeployablePatchSnapshotForInstanceError>`](crate::operation::get_deployable_patch_snapshot_for_instance::GetDeployablePatchSnapshotForInstanceError)
15 pub fn get_deployable_patch_snapshot_for_instance(
16 &self,
17 ) -> crate::operation::get_deployable_patch_snapshot_for_instance::builders::GetDeployablePatchSnapshotForInstanceFluentBuilder {
18 crate::operation::get_deployable_patch_snapshot_for_instance::builders::GetDeployablePatchSnapshotForInstanceFluentBuilder::new(
19 self.handle.clone(),
20 )
21 }
22}