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 /// - [`use_s3_dual_stack_endpoint(bool)`](crate::operation::get_deployable_patch_snapshot_for_instance::builders::GetDeployablePatchSnapshotForInstanceFluentBuilder::use_s3_dual_stack_endpoint) / [`set_use_s3_dual_stack_endpoint(Option<bool>)`](crate::operation::get_deployable_patch_snapshot_for_instance::builders::GetDeployablePatchSnapshotForInstanceFluentBuilder::set_use_s3_dual_stack_endpoint):<br>required: **false**<br><p>Specifies whether to use S3 dualstack endpoints for the patch snapshot download URL. Set to <code>true</code> to receive a presigned URL that supports both IPv4 and IPv6 connectivity. Set to <code>false</code> to use standard IPv4-only endpoints. Default is <code>false</code>. This parameter is required for managed nodes in IPv6-only environments.</p><br>
10 /// - On success, responds with [`GetDeployablePatchSnapshotForInstanceOutput`](crate::operation::get_deployable_patch_snapshot_for_instance::GetDeployablePatchSnapshotForInstanceOutput) with field(s):
11 /// - [`instance_id(Option<String>)`](crate::operation::get_deployable_patch_snapshot_for_instance::GetDeployablePatchSnapshotForInstanceOutput::instance_id): <p>The managed node ID.</p>
12 /// - [`snapshot_id(Option<String>)`](crate::operation::get_deployable_patch_snapshot_for_instance::GetDeployablePatchSnapshotForInstanceOutput::snapshot_id): <p>The user-defined snapshot ID.</p>
13 /// - [`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>
14 /// - [`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>
15 /// - On failure, responds with [`SdkError<GetDeployablePatchSnapshotForInstanceError>`](crate::operation::get_deployable_patch_snapshot_for_instance::GetDeployablePatchSnapshotForInstanceError)
16 pub fn get_deployable_patch_snapshot_for_instance(
17 &self,
18 ) -> crate::operation::get_deployable_patch_snapshot_for_instance::builders::GetDeployablePatchSnapshotForInstanceFluentBuilder {
19 crate::operation::get_deployable_patch_snapshot_for_instance::builders::GetDeployablePatchSnapshotForInstanceFluentBuilder::new(
20 self.handle.clone(),
21 )
22 }
23}