AWS SDK

AWS SDK

rev. 97ba95e6039d206ffea5b866ddc214d34f7f88c3

Files changed:

tmp-codegen-diff/aws-sdk/sdk/ssm/src/client/start_automation_execution.rs

@@ -0,1 +0,26 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
impl super::Client {
           3  +
    /// Constructs a fluent builder for the [`StartAutomationExecution`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder) operation.
           4  +
    ///
           5  +
    /// - The fluent builder is configurable:
           6  +
    ///   - [`document_name(impl Into<String>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::document_name) / [`set_document_name(Option<String>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::set_document_name):<br>required: **true**<br><p>The name of the SSM document to run. This can be a public document or a custom document. To run a shared document belonging to another account, specify the document ARN. For more information about how to use shared documents, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/documents-ssm-sharing.html">Sharing SSM documents</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p><br>
           7  +
    ///   - [`document_version(impl Into<String>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::document_version) / [`set_document_version(Option<String>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::set_document_version):<br>required: **false**<br><p>The version of the Automation runbook to use for this execution.</p><br>
           8  +
    ///   - [`parameters(impl Into<String>, Vec::<String>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::parameters) / [`set_parameters(Option<HashMap::<String, Vec::<String>>>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::set_parameters):<br>required: **false**<br><p>A key-value map of execution parameters, which match the declared parameters in the Automation runbook.</p><br>
           9  +
    ///   - [`client_token(impl Into<String>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::set_client_token):<br>required: **false**<br><p>User-provided idempotency token. The token must be unique, is case insensitive, enforces the UUID format, and can't be reused.</p><br>
          10  +
    ///   - [`mode(ExecutionMode)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::mode) / [`set_mode(Option<ExecutionMode>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::set_mode):<br>required: **false**<br><p>The execution mode of the automation. Valid modes include the following: Auto and Interactive. The default mode is Auto.</p><br>
          11  +
    ///   - [`target_parameter_name(impl Into<String>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::target_parameter_name) / [`set_target_parameter_name(Option<String>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::set_target_parameter_name):<br>required: **false**<br><p>The name of the parameter used as the target resource for the rate-controlled execution. Required if you specify targets.</p><br>
          12  +
    ///   - [`targets(Target)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::targets) / [`set_targets(Option<Vec::<Target>>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::set_targets):<br>required: **false**<br><p>A key-value mapping to target resources. Required if you specify TargetParameterName.</p> <p>If both this parameter and the <code>TargetLocation:Targets</code> parameter are supplied, <code>TargetLocation:Targets</code> takes precedence.</p><br>
          13  +
    ///   - [`target_maps(HashMap::<String, Vec::<String>>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::target_maps) / [`set_target_maps(Option<Vec::<HashMap::<String, Vec::<String>>>>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::set_target_maps):<br>required: **false**<br><p>A key-value mapping of document parameters to target resources. Both Targets and TargetMaps can't be specified together.</p><br>
          14  +
    ///   - [`max_concurrency(impl Into<String>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::max_concurrency) / [`set_max_concurrency(Option<String>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::set_max_concurrency):<br>required: **false**<br><p>The maximum number of targets allowed to run this task in parallel. You can specify a number, such as 10, or a percentage, such as 10%. The default value is <code>10</code>.</p> <p>If both this parameter and the <code>TargetLocation:TargetsMaxConcurrency</code> are supplied, <code>TargetLocation:TargetsMaxConcurrency</code> takes precedence.</p><br>
          15  +
    ///   - [`max_errors(impl Into<String>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::max_errors) / [`set_max_errors(Option<String>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::set_max_errors):<br>required: **false**<br><p>The number of errors that are allowed before the system stops running the automation on additional targets. You can specify either an absolute number of errors, for example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, the system stops running the automation when the fourth error is received. If you specify 0, then the system stops running the automation on additional targets after the first error result is returned. If you run an automation on 50 resources and set max-errors to 10%, then the system stops running the automation on additional targets when the sixth error is received.</p> <p>Executions that are already running an automation when max-errors is reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, set max-concurrency to 1 so the executions proceed one at a time.</p> <p>If this parameter and the <code>TargetLocation:TargetsMaxErrors</code> parameter are both supplied, <code>TargetLocation:TargetsMaxErrors</code> takes precedence.</p><br>
          16  +
    ///   - [`target_locations(TargetLocation)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::target_locations) / [`set_target_locations(Option<Vec::<TargetLocation>>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::set_target_locations):<br>required: **false**<br><p>A location is a combination of Amazon Web Services Regions and/or Amazon Web Services accounts where you want to run the automation. Use this operation to start an automation in multiple Amazon Web Services Regions and multiple Amazon Web Services accounts. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-automation-multiple-accounts-and-regions.html">Running automations in multiple Amazon Web Services Regions and accounts</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p><br>
          17  +
    ///   - [`tags(Tag)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::set_tags):<br>required: **false**<br><p>Optional metadata that you assign to a resource. You can specify a maximum of five tags for an automation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag an automation to identify an environment or operating system. In this case, you could specify the following key-value pairs:</p> <ul>  <li>   <p><code>Key=environment,Value=test</code></p></li>  <li>   <p><code>Key=OS,Value=Windows</code></p></li> </ul><note>  <p>The <code>Array Members</code> maximum value is reported as 1000. This number includes capacity reserved for internal operations. When calling the <code>StartAutomationExecution</code> action, you can specify a maximum of 5 tags. You can, however, use the <code>AddTagsToResource</code> action to add up to a total of 50 tags to an existing automation configuration.</p> </note><br>
          18  +
    ///   - [`alarm_configuration(AlarmConfiguration)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::alarm_configuration) / [`set_alarm_configuration(Option<AlarmConfiguration>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::set_alarm_configuration):<br>required: **false**<br><p>The CloudWatch alarm you want to apply to your automation.</p><br>
          19  +
    ///   - [`target_locations_url(impl Into<String>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::target_locations_url) / [`set_target_locations_url(Option<String>)`](crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::set_target_locations_url):<br>required: **false**<br><p>Specify a publicly accessible URL for a file that contains the <code>TargetLocations</code> body. Currently, only files in presigned Amazon S3 buckets are supported.</p><br>
          20  +
    /// - On success, responds with [`StartAutomationExecutionOutput`](crate::operation::start_automation_execution::StartAutomationExecutionOutput) with field(s):
          21  +
    ///   - [`automation_execution_id(Option<String>)`](crate::operation::start_automation_execution::StartAutomationExecutionOutput::automation_execution_id): <p>The unique ID of a newly scheduled automation execution.</p>
          22  +
    /// - On failure, responds with [`SdkError<StartAutomationExecutionError>`](crate::operation::start_automation_execution::StartAutomationExecutionError)
          23  +
    pub fn start_automation_execution(&self) -> crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder {
          24  +
        crate::operation::start_automation_execution::builders::StartAutomationExecutionFluentBuilder::new(self.handle.clone())
          25  +
    }
          26  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/client/start_change_request_execution.rs

@@ -0,1 +0,25 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
impl super::Client {
           3  +
    /// Constructs a fluent builder for the [`StartChangeRequestExecution`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder) operation.
           4  +
    ///
           5  +
    /// - The fluent builder is configurable:
           6  +
    ///   - [`scheduled_time(DateTime)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::scheduled_time) / [`set_scheduled_time(Option<DateTime>)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::set_scheduled_time):<br>required: **false**<br><p>The date and time specified in the change request to run the Automation runbooks.</p><note>  <p>The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.</p> </note><br>
           7  +
    ///   - [`document_name(impl Into<String>)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::document_name) / [`set_document_name(Option<String>)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::set_document_name):<br>required: **true**<br><p>The name of the change template document to run during the runbook workflow.</p><br>
           8  +
    ///   - [`document_version(impl Into<String>)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::document_version) / [`set_document_version(Option<String>)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::set_document_version):<br>required: **false**<br><p>The version of the change template document to run during the runbook workflow.</p><br>
           9  +
    ///   - [`parameters(impl Into<String>, Vec::<String>)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::parameters) / [`set_parameters(Option<HashMap::<String, Vec::<String>>>)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::set_parameters):<br>required: **false**<br><p>A key-value map of parameters that match the declared parameters in the change template document.</p><br>
          10  +
    ///   - [`change_request_name(impl Into<String>)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::change_request_name) / [`set_change_request_name(Option<String>)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::set_change_request_name):<br>required: **false**<br><p>The name of the change request associated with the runbook workflow to be run.</p><br>
          11  +
    ///   - [`client_token(impl Into<String>)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::set_client_token):<br>required: **false**<br><p>The user-provided idempotency token. The token must be unique, is case insensitive, enforces the UUID format, and can't be reused.</p><br>
          12  +
    ///   - [`auto_approve(bool)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::auto_approve) / [`set_auto_approve(Option<bool>)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::set_auto_approve):<br>required: **false**<br><p>Indicates whether the change request can be approved automatically without the need for manual approvals.</p> <p>If <code>AutoApprovable</code> is enabled in a change template, then setting <code>AutoApprove</code> to <code>true</code> in <code>StartChangeRequestExecution</code> creates a change request that bypasses approver review.</p><note>  <p>Change Calendar restrictions are not bypassed in this scenario. If the state of an associated calendar is <code>CLOSED</code>, change freeze approvers must still grant permission for this change request to run. If they don't, the change won't be processed until the calendar state is again <code>OPEN</code>.</p> </note><br>
          13  +
    ///   - [`runbooks(Runbook)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::runbooks) / [`set_runbooks(Option<Vec::<Runbook>>)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::set_runbooks):<br>required: **true**<br><p>Information about the Automation runbooks that are run during the runbook workflow.</p><note>  <p>The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.</p> </note><br>
          14  +
    ///   - [`tags(Tag)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::set_tags):<br>required: **false**<br><p>Optional metadata that you assign to a resource. You can specify a maximum of five tags for a change request. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a change request to identify an environment or target Amazon Web Services Region. In this case, you could specify the following key-value pairs:</p> <ul>  <li>   <p><code>Key=Environment,Value=Production</code></p></li>  <li>   <p><code>Key=Region,Value=us-east-2</code></p></li> </ul><note>  <p>The <code>Array Members</code> maximum value is reported as 1000. This number includes capacity reserved for internal operations. When calling the <code>StartChangeRequestExecution</code> action, you can specify a maximum of 5 tags. You can, however, use the <code>AddTagsToResource</code> action to add up to a total of 50 tags to an existing change request configuration.</p> </note><br>
          15  +
    ///   - [`scheduled_end_time(DateTime)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::scheduled_end_time) / [`set_scheduled_end_time(Option<DateTime>)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::set_scheduled_end_time):<br>required: **false**<br><p>The time that the requester expects the runbook workflow related to the change request to complete. The time is an estimate only that the requester provides for reviewers.</p><br>
          16  +
    ///   - [`change_details(impl Into<String>)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::change_details) / [`set_change_details(Option<String>)`](crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::set_change_details):<br>required: **false**<br><p>User-provided details about the change. If no details are provided, content specified in the <b>Template information</b> section of the associated change template is added.</p><br>
          17  +
    /// - On success, responds with [`StartChangeRequestExecutionOutput`](crate::operation::start_change_request_execution::StartChangeRequestExecutionOutput) with field(s):
          18  +
    ///   - [`automation_execution_id(Option<String>)`](crate::operation::start_change_request_execution::StartChangeRequestExecutionOutput::automation_execution_id): <p>The unique ID of a runbook workflow operation. (A runbook workflow is a type of Automation operation.)</p>
          19  +
    /// - On failure, responds with [`SdkError<StartChangeRequestExecutionError>`](crate::operation::start_change_request_execution::StartChangeRequestExecutionError)
          20  +
    pub fn start_change_request_execution(
          21  +
        &self,
          22  +
    ) -> crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder {
          23  +
        crate::operation::start_change_request_execution::builders::StartChangeRequestExecutionFluentBuilder::new(self.handle.clone())
          24  +
    }
          25  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/client/start_execution_preview.rs

@@ -0,1 +0,15 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
impl super::Client {
           3  +
    /// Constructs a fluent builder for the [`StartExecutionPreview`](crate::operation::start_execution_preview::builders::StartExecutionPreviewFluentBuilder) operation.
           4  +
    ///
           5  +
    /// - The fluent builder is configurable:
           6  +
    ///   - [`document_name(impl Into<String>)`](crate::operation::start_execution_preview::builders::StartExecutionPreviewFluentBuilder::document_name) / [`set_document_name(Option<String>)`](crate::operation::start_execution_preview::builders::StartExecutionPreviewFluentBuilder::set_document_name):<br>required: **true**<br><p>The name of the Automation runbook to run. The result of the execution preview indicates what the impact would be of running this runbook.</p><br>
           7  +
    ///   - [`document_version(impl Into<String>)`](crate::operation::start_execution_preview::builders::StartExecutionPreviewFluentBuilder::document_version) / [`set_document_version(Option<String>)`](crate::operation::start_execution_preview::builders::StartExecutionPreviewFluentBuilder::set_document_version):<br>required: **false**<br><p>The version of the Automation runbook to run. The default value is <code>$DEFAULT</code>.</p><br>
           8  +
    ///   - [`execution_inputs(ExecutionInputs)`](crate::operation::start_execution_preview::builders::StartExecutionPreviewFluentBuilder::execution_inputs) / [`set_execution_inputs(Option<ExecutionInputs>)`](crate::operation::start_execution_preview::builders::StartExecutionPreviewFluentBuilder::set_execution_inputs):<br>required: **false**<br><p>Information about the inputs that can be specified for the preview operation.</p><br>
           9  +
    /// - On success, responds with [`StartExecutionPreviewOutput`](crate::operation::start_execution_preview::StartExecutionPreviewOutput) with field(s):
          10  +
    ///   - [`execution_preview_id(Option<String>)`](crate::operation::start_execution_preview::StartExecutionPreviewOutput::execution_preview_id): <p>The ID of the execution preview generated by the system.</p>
          11  +
    /// - On failure, responds with [`SdkError<StartExecutionPreviewError>`](crate::operation::start_execution_preview::StartExecutionPreviewError)
          12  +
    pub fn start_execution_preview(&self) -> crate::operation::start_execution_preview::builders::StartExecutionPreviewFluentBuilder {
          13  +
        crate::operation::start_execution_preview::builders::StartExecutionPreviewFluentBuilder::new(self.handle.clone())
          14  +
    }
          15  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/client/start_session.rs

@@ -0,1 +0,18 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
impl super::Client {
           3  +
    /// Constructs a fluent builder for the [`StartSession`](crate::operation::start_session::builders::StartSessionFluentBuilder) operation.
           4  +
    ///
           5  +
    /// - The fluent builder is configurable:
           6  +
    ///   - [`target(impl Into<String>)`](crate::operation::start_session::builders::StartSessionFluentBuilder::target) / [`set_target(Option<String>)`](crate::operation::start_session::builders::StartSessionFluentBuilder::set_target):<br>required: **true**<br><p>The managed node to connect to for the session.</p><br>
           7  +
    ///   - [`document_name(impl Into<String>)`](crate::operation::start_session::builders::StartSessionFluentBuilder::document_name) / [`set_document_name(Option<String>)`](crate::operation::start_session::builders::StartSessionFluentBuilder::set_document_name):<br>required: **false**<br><p>The name of the SSM document you want to use to define the type of session, input parameters, or preferences for the session. For example, <code>SSM-SessionManagerRunShell</code>. You can call the <code>GetDocument</code> API to verify the document exists before attempting to start a session. If no document name is provided, a shell to the managed node is launched by default. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-sessions-start.html">Start a session</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p><br>
           8  +
    ///   - [`reason(impl Into<String>)`](crate::operation::start_session::builders::StartSessionFluentBuilder::reason) / [`set_reason(Option<String>)`](crate::operation::start_session::builders::StartSessionFluentBuilder::set_reason):<br>required: **false**<br><p>The reason for connecting to the instance. This value is included in the details for the Amazon CloudWatch Events event created when you start the session.</p><br>
           9  +
    ///   - [`parameters(impl Into<String>, Vec::<String>)`](crate::operation::start_session::builders::StartSessionFluentBuilder::parameters) / [`set_parameters(Option<HashMap::<String, Vec::<String>>>)`](crate::operation::start_session::builders::StartSessionFluentBuilder::set_parameters):<br>required: **false**<br><p>The values you want to specify for the parameters defined in the Session document. For more information about these parameters, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/getting-started-create-preferences-cli.html">Create a Session Manager preferences document</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p><br>
          10  +
    /// - On success, responds with [`StartSessionOutput`](crate::operation::start_session::StartSessionOutput) with field(s):
          11  +
    ///   - [`session_id(Option<String>)`](crate::operation::start_session::StartSessionOutput::session_id): <p>The ID of the session.</p>
          12  +
    ///   - [`token_value(Option<String>)`](crate::operation::start_session::StartSessionOutput::token_value): <p>An encrypted token value containing session and caller information. This token is used to authenticate the connection to the managed node, and is valid only long enough to ensure the connection is successful. Never share your session's token.</p>
          13  +
    ///   - [`stream_url(Option<String>)`](crate::operation::start_session::StartSessionOutput::stream_url): <p>A URL back to SSM Agent on the managed node that the Session Manager client uses to send commands and receive output from the node. Format: <code>wss://ssmmessages.<b>region</b>.amazonaws.com/v1/data-channel/<b>session-id</b>?stream=(input|output)</code></p> <p><b>region</b> represents the Region identifier for an Amazon Web Services Region supported by Amazon Web Services Systems Manager, such as <code>us-east-2</code> for the US East (Ohio) Region. For a list of supported <b>region</b> values, see the <b>Region</b> column in <a href="https://docs.aws.amazon.com/general/latest/gr/ssm.html#ssm_region">Systems Manager service endpoints</a> in the <i>Amazon Web Services General Reference</i>.</p> <p><b>session-id</b> represents the ID of a Session Manager session, such as <code>1a2b3c4dEXAMPLE</code>.</p>
          14  +
    /// - On failure, responds with [`SdkError<StartSessionError>`](crate::operation::start_session::StartSessionError)
          15  +
    pub fn start_session(&self) -> crate::operation::start_session::builders::StartSessionFluentBuilder {
          16  +
        crate::operation::start_session::builders::StartSessionFluentBuilder::new(self.handle.clone())
          17  +
    }
          18  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/client/stop_automation_execution.rs

@@ -0,1 +0,13 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
impl super::Client {
           3  +
    /// Constructs a fluent builder for the [`StopAutomationExecution`](crate::operation::stop_automation_execution::builders::StopAutomationExecutionFluentBuilder) operation.
           4  +
    ///
           5  +
    /// - The fluent builder is configurable:
           6  +
    ///   - [`automation_execution_id(impl Into<String>)`](crate::operation::stop_automation_execution::builders::StopAutomationExecutionFluentBuilder::automation_execution_id) / [`set_automation_execution_id(Option<String>)`](crate::operation::stop_automation_execution::builders::StopAutomationExecutionFluentBuilder::set_automation_execution_id):<br>required: **true**<br><p>The execution ID of the Automation to stop.</p><br>
           7  +
    ///   - [`r#type(StopType)`](crate::operation::stop_automation_execution::builders::StopAutomationExecutionFluentBuilder::type) / [`set_type(Option<StopType>)`](crate::operation::stop_automation_execution::builders::StopAutomationExecutionFluentBuilder::set_type):<br>required: **false**<br><p>The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.</p><br>
           8  +
    /// - On success, responds with [`StopAutomationExecutionOutput`](crate::operation::stop_automation_execution::StopAutomationExecutionOutput)
           9  +
    /// - On failure, responds with [`SdkError<StopAutomationExecutionError>`](crate::operation::stop_automation_execution::StopAutomationExecutionError)
          10  +
    pub fn stop_automation_execution(&self) -> crate::operation::stop_automation_execution::builders::StopAutomationExecutionFluentBuilder {
          11  +
        crate::operation::stop_automation_execution::builders::StopAutomationExecutionFluentBuilder::new(self.handle.clone())
          12  +
    }
          13  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/client/terminate_session.rs

@@ -0,1 +0,13 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
impl super::Client {
           3  +
    /// Constructs a fluent builder for the [`TerminateSession`](crate::operation::terminate_session::builders::TerminateSessionFluentBuilder) operation.
           4  +
    ///
           5  +
    /// - The fluent builder is configurable:
           6  +
    ///   - [`session_id(impl Into<String>)`](crate::operation::terminate_session::builders::TerminateSessionFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::terminate_session::builders::TerminateSessionFluentBuilder::set_session_id):<br>required: **true**<br><p>The ID of the session to terminate.</p><br>
           7  +
    /// - On success, responds with [`TerminateSessionOutput`](crate::operation::terminate_session::TerminateSessionOutput) with field(s):
           8  +
    ///   - [`session_id(Option<String>)`](crate::operation::terminate_session::TerminateSessionOutput::session_id): <p>The ID of the session that has been terminated.</p>
           9  +
    /// - On failure, responds with [`SdkError<TerminateSessionError>`](crate::operation::terminate_session::TerminateSessionError)
          10  +
    pub fn terminate_session(&self) -> crate::operation::terminate_session::builders::TerminateSessionFluentBuilder {
          11  +
        crate::operation::terminate_session::builders::TerminateSessionFluentBuilder::new(self.handle.clone())
          12  +
    }
          13  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/client/unlabel_parameter_version.rs

@@ -0,1 +0,16 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
impl super::Client {
           3  +
    /// Constructs a fluent builder for the [`UnlabelParameterVersion`](crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder) operation.
           4  +
    ///
           5  +
    /// - The fluent builder is configurable:
           6  +
    ///   - [`name(impl Into<String>)`](crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder::set_name):<br>required: **true**<br><p>The name of the parameter from which you want to delete one or more labels.</p><note>  <p>You can't enter the Amazon Resource Name (ARN) for a parameter, only the parameter name itself.</p> </note><br>
           7  +
    ///   - [`parameter_version(i64)`](crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder::parameter_version) / [`set_parameter_version(Option<i64>)`](crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder::set_parameter_version):<br>required: **true**<br><p>The specific version of the parameter which you want to delete one or more labels from. If it isn't present, the call will fail.</p><br>
           8  +
    ///   - [`labels(impl Into<String>)`](crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder::labels) / [`set_labels(Option<Vec::<String>>)`](crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder::set_labels):<br>required: **true**<br><p>One or more labels to delete from the specified parameter version.</p><br>
           9  +
    /// - On success, responds with [`UnlabelParameterVersionOutput`](crate::operation::unlabel_parameter_version::UnlabelParameterVersionOutput) with field(s):
          10  +
    ///   - [`removed_labels(Option<Vec::<String>>)`](crate::operation::unlabel_parameter_version::UnlabelParameterVersionOutput::removed_labels): <p>A list of all labels deleted from the parameter.</p>
          11  +
    ///   - [`invalid_labels(Option<Vec::<String>>)`](crate::operation::unlabel_parameter_version::UnlabelParameterVersionOutput::invalid_labels): <p>The labels that aren't attached to the given parameter version.</p>
          12  +
    /// - On failure, responds with [`SdkError<UnlabelParameterVersionError>`](crate::operation::unlabel_parameter_version::UnlabelParameterVersionError)
          13  +
    pub fn unlabel_parameter_version(&self) -> crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder {
          14  +
        crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder::new(self.handle.clone())
          15  +
    }
          16  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/client/update_association.rs

@@ -0,1 +0,34 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
impl super::Client {
           3  +
    /// Constructs a fluent builder for the [`UpdateAssociation`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder) operation.
           4  +
    ///
           5  +
    /// - The fluent builder is configurable:
           6  +
    ///   - [`association_id(impl Into<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::association_id) / [`set_association_id(Option<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_association_id):<br>required: **true**<br><p>The ID of the association you want to update.</p><br>
           7  +
    ///   - [`parameters(impl Into<String>, Vec::<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::parameters) / [`set_parameters(Option<HashMap::<String, Vec::<String>>>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_parameters):<br>required: **false**<br><p>The parameters you want to update for the association. If you create a parameter using Parameter Store, a tool in Amazon Web Services Systems Manager, you can reference the parameter using <code>{{ssm:parameter-name}}</code>.</p><br>
           8  +
    ///   - [`document_version(impl Into<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::document_version) / [`set_document_version(Option<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_document_version):<br>required: **false**<br><p>The document version you want update for the association.</p><important>  <p>State Manager doesn't support running associations that use a new version of a document if that document is shared from another account. State Manager always runs the <code>default</code> version of a document if shared from another account, even though the Systems Manager console shows that a new version was processed. If you want to run an association using a new version of a document shared form another account, you must set the document version to <code>default</code>.</p> </important><br>
           9  +
    ///   - [`schedule_expression(impl Into<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::schedule_expression) / [`set_schedule_expression(Option<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_schedule_expression):<br>required: **false**<br><p>The cron expression used to schedule the association that you want to update.</p><br>
          10  +
    ///   - [`output_location(InstanceAssociationOutputLocation)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::output_location) / [`set_output_location(Option<InstanceAssociationOutputLocation>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_output_location):<br>required: **false**<br><p>An S3 bucket where you want to store the results of this request.</p><br>
          11  +
    ///   - [`name(impl Into<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_name):<br>required: **false**<br><p>The name of the SSM Command document or Automation runbook that contains the configuration information for the managed node.</p> <p>You can specify Amazon Web Services-predefined documents, documents you created, or a document that is shared with you from another account.</p> <p>For Systems Manager document (SSM document) that are shared with you from other Amazon Web Services accounts, you must specify the complete SSM document ARN, in the following format:</p> <p><code>arn:aws:ssm:<i>region</i>:<i>account-id</i>:document/<i>document-name</i> </code></p> <p>For example:</p> <p><code>arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document</code></p> <p>For Amazon Web Services-predefined documents and SSM documents you created in your account, you only need to specify the document name. For example, <code>AWS-ApplyPatchBaseline</code> or <code>My-Document</code>.</p><br>
          12  +
    ///   - [`targets(Target)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::targets) / [`set_targets(Option<Vec::<Target>>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_targets):<br>required: **false**<br><p>The targets of the association.</p><br>
          13  +
    ///   - [`association_name(impl Into<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::association_name) / [`set_association_name(Option<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_association_name):<br>required: **false**<br><p>The name of the association that you want to update.</p><br>
          14  +
    ///   - [`association_version(impl Into<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::association_version) / [`set_association_version(Option<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_association_version):<br>required: **false**<br><p>This parameter is provided for concurrency control purposes. You must specify the latest association version in the service. If you want to ensure that this request succeeds, either specify <code>$LATEST</code>, or omit this parameter.</p><br>
          15  +
    ///   - [`automation_target_parameter_name(impl Into<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::automation_target_parameter_name) / [`set_automation_target_parameter_name(Option<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_automation_target_parameter_name):<br>required: **false**<br><p>Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a tool in Amazon Web Services Systems Manager.</p><br>
          16  +
    ///   - [`max_errors(impl Into<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::max_errors) / [`set_max_errors(Option<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_max_errors):<br>required: **false**<br><p>The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify either an absolute number of errors, for example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, the system stops sending requests when the fourth error is received. If you specify 0, then the system stops sending requests after the first error is returned. If you run an association on 50 managed nodes and set <code>MaxError</code> to 10%, then the system stops sending the request when the sixth error is received.</p> <p>Executions that are already running an association when <code>MaxErrors</code> is reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, set <code>MaxConcurrency</code> to 1 so that executions proceed one at a time.</p><br>
          17  +
    ///   - [`max_concurrency(impl Into<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::max_concurrency) / [`set_max_concurrency(Option<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_max_concurrency):<br>required: **false**<br><p>The maximum number of targets allowed to run the association at the same time. You can specify a number, for example 10, or a percentage of the target set, for example 10%. The default value is 100%, which means all targets run the association at the same time.</p> <p>If a new managed node starts and attempts to run an association while Systems Manager is running <code>MaxConcurrency</code> associations, the association is allowed to run. During the next association interval, the new managed node will process its association within the limit specified for <code>MaxConcurrency</code>.</p><br>
          18  +
    ///   - [`compliance_severity(AssociationComplianceSeverity)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::compliance_severity) / [`set_compliance_severity(Option<AssociationComplianceSeverity>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_compliance_severity):<br>required: **false**<br><p>The severity level to assign to the association.</p><br>
          19  +
    ///   - [`sync_compliance(AssociationSyncCompliance)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::sync_compliance) / [`set_sync_compliance(Option<AssociationSyncCompliance>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_sync_compliance):<br>required: **false**<br><p>The mode for generating association compliance. You can specify <code>AUTO</code> or <code>MANUAL</code>. In <code>AUTO</code> mode, the system uses the status of the association execution to determine the compliance status. If the association execution runs successfully, then the association is <code>COMPLIANT</code>. If the association execution doesn't run successfully, the association is <code>NON-COMPLIANT</code>.</p> <p>In <code>MANUAL</code> mode, you must specify the <code>AssociationId</code> as a parameter for the <code>PutComplianceItems</code> API operation. In this case, compliance data isn't managed by State Manager, a tool in Amazon Web Services Systems Manager. It is managed by your direct call to the <code>PutComplianceItems</code> API operation.</p> <p>By default, all associations use <code>AUTO</code> mode.</p><br>
          20  +
    ///   - [`apply_only_at_cron_interval(bool)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::apply_only_at_cron_interval) / [`set_apply_only_at_cron_interval(Option<bool>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_apply_only_at_cron_interval):<br>required: **false**<br><p>By default, when you update an association, the system runs it immediately after it is updated and then according to the schedule you specified. Specify <code>true</code> for <code>ApplyOnlyAtCronInterval</code> if you want the association to run only according to the schedule you specified.</p> <p>If you chose this option when you created an association and later you edit that association or you make changes to the Automation runbook or SSM document on which that association is based, State Manager applies the association at the next specified cron interval. For example, if you chose the <code>Latest</code> version of an SSM document when you created an association and you edit the association by choosing a different document version on the Documents page, State Manager applies the association at the next specified cron interval if you previously set <code>ApplyOnlyAtCronInterval</code> to <code>true</code>. If this option wasn't selected, State Manager immediately runs the association.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/state-manager-about.html#state-manager-about-scheduling">Understanding when associations are applied to resources</a> and <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/state-manager-about.html#runbook-target-updates">About target updates with Automation runbooks</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p> <p>This parameter isn't supported for rate expressions.</p> <p>You can reset this parameter. To do so, specify the <code>no-apply-only-at-cron-interval</code> parameter when you update the association from the command line. This parameter forces the association to run immediately after updating it and according to the interval specified.</p><br>
          21  +
    ///   - [`calendar_names(impl Into<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::calendar_names) / [`set_calendar_names(Option<Vec::<String>>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_calendar_names):<br>required: **false**<br><p>The names or Amazon Resource Names (ARNs) of the Change Calendar type documents you want to gate your associations under. The associations only run when that change calendar is open. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-change-calendar">Amazon Web Services Systems Manager Change Calendar</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p><br>
          22  +
    ///   - [`target_locations(TargetLocation)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::target_locations) / [`set_target_locations(Option<Vec::<TargetLocation>>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_target_locations):<br>required: **false**<br><p>A location is a combination of Amazon Web Services Regions and Amazon Web Services accounts where you want to run the association. Use this action to update an association in multiple Regions and multiple accounts.</p><note>  <p>The <code>TargetLocationAlarmConfiguration</code> parameter is not supported by State Manager.</p> </note><br>
          23  +
    ///   - [`schedule_offset(i32)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::schedule_offset) / [`set_schedule_offset(Option<i32>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_schedule_offset):<br>required: **false**<br><p>Number of days to wait after the scheduled day to run an association. For example, if you specified a cron schedule of <code>cron(0 0 ? * THU#2 *)</code>, you could specify an offset of 3 to run the association each Sunday after the second Thursday of the month. For more information about cron schedules for associations, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html">Reference: Cron and rate expressions for Systems Manager</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p><note>  <p>To use offsets, you must specify the <code>ApplyOnlyAtCronInterval</code> parameter. This option tells the system not to run an association immediately after you create it.</p> </note><br>
          24  +
    ///   - [`duration(i32)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::duration) / [`set_duration(Option<i32>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_duration):<br>required: **false**<br><p>The number of hours the association can run before it is canceled. Duration applies to associations that are currently running, and any pending and in progress commands on all targets. If a target was taken offline for the association to run, it is made available again immediately, without a reboot.</p> <p>The <code>Duration</code> parameter applies only when both these conditions are true:</p> <ul>  <li>   <p>The association for which you specify a duration is cancelable according to the parameters of the SSM command document or Automation runbook associated with this execution.</p></li>  <li>   <p>The command specifies the <code> <a href="https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_UpdateAssociation.html#systemsmanager-UpdateAssociation-request-ApplyOnlyAtCronInterval">ApplyOnlyAtCronInterval</a> </code> parameter, which means that the association doesn't run immediately after it is updated, but only according to the specified schedule.</p></li> </ul><br>
          25  +
    ///   - [`target_maps(HashMap::<String, Vec::<String>>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::target_maps) / [`set_target_maps(Option<Vec::<HashMap::<String, Vec::<String>>>>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_target_maps):<br>required: **false**<br><p>A key-value mapping of document parameters to target resources. Both Targets and TargetMaps can't be specified together.</p><br>
          26  +
    ///   - [`alarm_configuration(AlarmConfiguration)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::alarm_configuration) / [`set_alarm_configuration(Option<AlarmConfiguration>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_alarm_configuration):<br>required: **false**<br><p>The details for the CloudWatch alarm you want to apply to an automation or command.</p><br>
          27  +
    ///   - [`association_dispatch_assume_role(impl Into<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::association_dispatch_assume_role) / [`set_association_dispatch_assume_role(Option<String>)`](crate::operation::update_association::builders::UpdateAssociationFluentBuilder::set_association_dispatch_assume_role):<br>required: **false**<br><p>A role used by association to take actions on your behalf. State Manager will assume this role and call required APIs when dispatching configurations to nodes. If not specified, <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/using-service-linked-roles.html"> service-linked role for Systems Manager</a> will be used by default.</p><note>  <p>It is recommended that you define a custom IAM role so that you have full control of the permissions that State Manager has when taking actions on your behalf.</p>  <p>Service-linked role support in State Manager is being phased out. Associations relying on service-linked role may require updates in the future to continue functioning properly.</p> </note><br>
          28  +
    /// - On success, responds with [`UpdateAssociationOutput`](crate::operation::update_association::UpdateAssociationOutput) with field(s):
          29  +
    ///   - [`association_description(Option<AssociationDescription>)`](crate::operation::update_association::UpdateAssociationOutput::association_description): <p>The description of the association that was updated.</p>
          30  +
    /// - On failure, responds with [`SdkError<UpdateAssociationError>`](crate::operation::update_association::UpdateAssociationError)
          31  +
    pub fn update_association(&self) -> crate::operation::update_association::builders::UpdateAssociationFluentBuilder {
          32  +
        crate::operation::update_association::builders::UpdateAssociationFluentBuilder::new(self.handle.clone())
          33  +
    }
          34  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/client/update_association_status.rs

@@ -0,1 +0,15 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
impl super::Client {
           3  +
    /// Constructs a fluent builder for the [`UpdateAssociationStatus`](crate::operation::update_association_status::builders::UpdateAssociationStatusFluentBuilder) operation.
           4  +
    ///
           5  +
    /// - The fluent builder is configurable:
           6  +
    ///   - [`name(impl Into<String>)`](crate::operation::update_association_status::builders::UpdateAssociationStatusFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_association_status::builders::UpdateAssociationStatusFluentBuilder::set_name):<br>required: **true**<br><p>The name of the SSM document.</p><br>
           7  +
    ///   - [`instance_id(impl Into<String>)`](crate::operation::update_association_status::builders::UpdateAssociationStatusFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::update_association_status::builders::UpdateAssociationStatusFluentBuilder::set_instance_id):<br>required: **true**<br><p>The managed node ID.</p><br>
           8  +
    ///   - [`association_status(AssociationStatus)`](crate::operation::update_association_status::builders::UpdateAssociationStatusFluentBuilder::association_status) / [`set_association_status(Option<AssociationStatus>)`](crate::operation::update_association_status::builders::UpdateAssociationStatusFluentBuilder::set_association_status):<br>required: **true**<br><p>The association status.</p><br>
           9  +
    /// - On success, responds with [`UpdateAssociationStatusOutput`](crate::operation::update_association_status::UpdateAssociationStatusOutput) with field(s):
          10  +
    ///   - [`association_description(Option<AssociationDescription>)`](crate::operation::update_association_status::UpdateAssociationStatusOutput::association_description): <p>Information about the association.</p>
          11  +
    /// - On failure, responds with [`SdkError<UpdateAssociationStatusError>`](crate::operation::update_association_status::UpdateAssociationStatusError)
          12  +
    pub fn update_association_status(&self) -> crate::operation::update_association_status::builders::UpdateAssociationStatusFluentBuilder {
          13  +
        crate::operation::update_association_status::builders::UpdateAssociationStatusFluentBuilder::new(self.handle.clone())
          14  +
    }
          15  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/client/update_cloud_connector.rs

@@ -0,1 +0,16 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
impl super::Client {
           3  +
    /// Constructs a fluent builder for the [`UpdateCloudConnector`](crate::operation::update_cloud_connector::builders::UpdateCloudConnectorFluentBuilder) operation.
           4  +
    ///
           5  +
    /// - The fluent builder is configurable:
           6  +
    ///   - [`cloud_connector_id(impl Into<String>)`](crate::operation::update_cloud_connector::builders::UpdateCloudConnectorFluentBuilder::cloud_connector_id) / [`set_cloud_connector_id(Option<String>)`](crate::operation::update_cloud_connector::builders::UpdateCloudConnectorFluentBuilder::set_cloud_connector_id):<br>required: **true**<br><p>The ID of the cloud connector to update.</p><br>
           7  +
    ///   - [`display_name(impl Into<String>)`](crate::operation::update_cloud_connector::builders::UpdateCloudConnectorFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::update_cloud_connector::builders::UpdateCloudConnectorFluentBuilder::set_display_name):<br>required: **false**<br><p>A new friendly name for the cloud connector.</p><br>
           8  +
    ///   - [`configuration(CloudConnectorConfiguration)`](crate::operation::update_cloud_connector::builders::UpdateCloudConnectorFluentBuilder::configuration) / [`set_configuration(Option<CloudConnectorConfiguration>)`](crate::operation::update_cloud_connector::builders::UpdateCloudConnectorFluentBuilder::set_configuration):<br>required: **false**<br><p>The updated configuration details for connecting to the third-party cloud environment.</p><br>
           9  +
    ///   - [`description(impl Into<String>)`](crate::operation::update_cloud_connector::builders::UpdateCloudConnectorFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_cloud_connector::builders::UpdateCloudConnectorFluentBuilder::set_description):<br>required: **false**<br><p>A new description for the cloud connector.</p><br>
          10  +
    /// - On success, responds with [`UpdateCloudConnectorOutput`](crate::operation::update_cloud_connector::UpdateCloudConnectorOutput) with field(s):
          11  +
    ///   - [`cloud_connector_id(Option<String>)`](crate::operation::update_cloud_connector::UpdateCloudConnectorOutput::cloud_connector_id): <p>The ID of the cloud connector that was updated.</p>
          12  +
    /// - On failure, responds with [`SdkError<UpdateCloudConnectorError>`](crate::operation::update_cloud_connector::UpdateCloudConnectorError)
          13  +
    pub fn update_cloud_connector(&self) -> crate::operation::update_cloud_connector::builders::UpdateCloudConnectorFluentBuilder {
          14  +
        crate::operation::update_cloud_connector::builders::UpdateCloudConnectorFluentBuilder::new(self.handle.clone())
          15  +
    }
          16  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/client/update_document.rs

@@ -0,1 +0,20 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
impl super::Client {
           3  +
    /// Constructs a fluent builder for the [`UpdateDocument`](crate::operation::update_document::builders::UpdateDocumentFluentBuilder) operation.
           4  +
    ///
           5  +
    /// - The fluent builder is configurable:
           6  +
    ///   - [`content(impl Into<String>)`](crate::operation::update_document::builders::UpdateDocumentFluentBuilder::content) / [`set_content(Option<String>)`](crate::operation::update_document::builders::UpdateDocumentFluentBuilder::set_content):<br>required: **true**<br><p>A valid JSON or YAML string.</p><br>
           7  +
    ///   - [`attachments(AttachmentsSource)`](crate::operation::update_document::builders::UpdateDocumentFluentBuilder::attachments) / [`set_attachments(Option<Vec::<AttachmentsSource>>)`](crate::operation::update_document::builders::UpdateDocumentFluentBuilder::set_attachments):<br>required: **false**<br><p>A list of key-value pairs that describe attachments to a version of a document.</p><br>
           8  +
    ///   - [`name(impl Into<String>)`](crate::operation::update_document::builders::UpdateDocumentFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_document::builders::UpdateDocumentFluentBuilder::set_name):<br>required: **true**<br><p>The name of the SSM document that you want to update.</p><br>
           9  +
    ///   - [`display_name(impl Into<String>)`](crate::operation::update_document::builders::UpdateDocumentFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::update_document::builders::UpdateDocumentFluentBuilder::set_display_name):<br>required: **false**<br><p>The friendly name of the SSM document that you want to update. This value can differ for each version of the document. If you don't specify a value for this parameter in your request, the existing value is applied to the new document version.</p><br>
          10  +
    ///   - [`version_name(impl Into<String>)`](crate::operation::update_document::builders::UpdateDocumentFluentBuilder::version_name) / [`set_version_name(Option<String>)`](crate::operation::update_document::builders::UpdateDocumentFluentBuilder::set_version_name):<br>required: **false**<br><p>An optional field specifying the version of the artifact you are updating with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.</p><br>
          11  +
    ///   - [`document_version(impl Into<String>)`](crate::operation::update_document::builders::UpdateDocumentFluentBuilder::document_version) / [`set_document_version(Option<String>)`](crate::operation::update_document::builders::UpdateDocumentFluentBuilder::set_document_version):<br>required: **false**<br><p>The version of the document that you want to update. Currently, Systems Manager supports updating only the latest version of the document. You can specify the version number of the latest version or use the <code>$LATEST</code> variable.</p><note>  <p>If you change a document version for a State Manager association, Systems Manager immediately runs the association unless you previously specifed the <code>apply-only-at-cron-interval</code> parameter.</p> </note><br>
          12  +
    ///   - [`document_format(DocumentFormat)`](crate::operation::update_document::builders::UpdateDocumentFluentBuilder::document_format) / [`set_document_format(Option<DocumentFormat>)`](crate::operation::update_document::builders::UpdateDocumentFluentBuilder::set_document_format):<br>required: **false**<br><p>Specify the document format for the new document version. Systems Manager supports JSON and YAML documents. JSON is the default format.</p><br>
          13  +
    ///   - [`target_type(impl Into<String>)`](crate::operation::update_document::builders::UpdateDocumentFluentBuilder::target_type) / [`set_target_type(Option<String>)`](crate::operation::update_document::builders::UpdateDocumentFluentBuilder::set_target_type):<br>required: **false**<br><p>Specify a new target type for the document.</p><br>
          14  +
    /// - On success, responds with [`UpdateDocumentOutput`](crate::operation::update_document::UpdateDocumentOutput) with field(s):
          15  +
    ///   - [`document_description(Option<DocumentDescription>)`](crate::operation::update_document::UpdateDocumentOutput::document_description): <p>A description of the document that was updated.</p>
          16  +
    /// - On failure, responds with [`SdkError<UpdateDocumentError>`](crate::operation::update_document::UpdateDocumentError)
          17  +
    pub fn update_document(&self) -> crate::operation::update_document::builders::UpdateDocumentFluentBuilder {
          18  +
        crate::operation::update_document::builders::UpdateDocumentFluentBuilder::new(self.handle.clone())
          19  +
    }
          20  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/client/update_document_default_version.rs

@@ -0,1 +0,16 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
impl super::Client {
           3  +
    /// Constructs a fluent builder for the [`UpdateDocumentDefaultVersion`](crate::operation::update_document_default_version::builders::UpdateDocumentDefaultVersionFluentBuilder) operation.
           4  +
    ///
           5  +
    /// - The fluent builder is configurable:
           6  +
    ///   - [`name(impl Into<String>)`](crate::operation::update_document_default_version::builders::UpdateDocumentDefaultVersionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_document_default_version::builders::UpdateDocumentDefaultVersionFluentBuilder::set_name):<br>required: **true**<br><p>The name of a custom document that you want to set as the default version.</p><br>
           7  +
    ///   - [`document_version(impl Into<String>)`](crate::operation::update_document_default_version::builders::UpdateDocumentDefaultVersionFluentBuilder::document_version) / [`set_document_version(Option<String>)`](crate::operation::update_document_default_version::builders::UpdateDocumentDefaultVersionFluentBuilder::set_document_version):<br>required: **true**<br><p>The version of a custom document that you want to set as the default version.</p><br>
           8  +
    /// - On success, responds with [`UpdateDocumentDefaultVersionOutput`](crate::operation::update_document_default_version::UpdateDocumentDefaultVersionOutput) with field(s):
           9  +
    ///   - [`description(Option<DocumentDefaultVersionDescription>)`](crate::operation::update_document_default_version::UpdateDocumentDefaultVersionOutput::description): <p>The description of a custom document that you want to set as the default version.</p>
          10  +
    /// - On failure, responds with [`SdkError<UpdateDocumentDefaultVersionError>`](crate::operation::update_document_default_version::UpdateDocumentDefaultVersionError)
          11  +
    pub fn update_document_default_version(
          12  +
        &self,
          13  +
    ) -> crate::operation::update_document_default_version::builders::UpdateDocumentDefaultVersionFluentBuilder {
          14  +
        crate::operation::update_document_default_version::builders::UpdateDocumentDefaultVersionFluentBuilder::new(self.handle.clone())
          15  +
    }
          16  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/client/update_document_metadata.rs

@@ -0,1 +0,14 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
impl super::Client {
           3  +
    /// Constructs a fluent builder for the [`UpdateDocumentMetadata`](crate::operation::update_document_metadata::builders::UpdateDocumentMetadataFluentBuilder) operation.
           4  +
    ///
           5  +
    /// - The fluent builder is configurable:
           6  +
    ///   - [`name(impl Into<String>)`](crate::operation::update_document_metadata::builders::UpdateDocumentMetadataFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_document_metadata::builders::UpdateDocumentMetadataFluentBuilder::set_name):<br>required: **true**<br><p>The name of the change template for which a version's metadata is to be updated.</p><br>
           7  +
    ///   - [`document_version(impl Into<String>)`](crate::operation::update_document_metadata::builders::UpdateDocumentMetadataFluentBuilder::document_version) / [`set_document_version(Option<String>)`](crate::operation::update_document_metadata::builders::UpdateDocumentMetadataFluentBuilder::set_document_version):<br>required: **false**<br><p>The version of a change template in which to update approval metadata.</p><br>
           8  +
    ///   - [`document_reviews(DocumentReviews)`](crate::operation::update_document_metadata::builders::UpdateDocumentMetadataFluentBuilder::document_reviews) / [`set_document_reviews(Option<DocumentReviews>)`](crate::operation::update_document_metadata::builders::UpdateDocumentMetadataFluentBuilder::set_document_reviews):<br>required: **true**<br><p>The change template review details to update.</p><br>
           9  +
    /// - On success, responds with [`UpdateDocumentMetadataOutput`](crate::operation::update_document_metadata::UpdateDocumentMetadataOutput)
          10  +
    /// - On failure, responds with [`SdkError<UpdateDocumentMetadataError>`](crate::operation::update_document_metadata::UpdateDocumentMetadataError)
          11  +
    pub fn update_document_metadata(&self) -> crate::operation::update_document_metadata::builders::UpdateDocumentMetadataFluentBuilder {
          12  +
        crate::operation::update_document_metadata::builders::UpdateDocumentMetadataFluentBuilder::new(self.handle.clone())
          13  +
    }
          14  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/client/update_maintenance_window.rs

@@ -0,1 +0,36 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
impl super::Client {
           3  +
    /// Constructs a fluent builder for the [`UpdateMaintenanceWindow`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder) operation.
           4  +
    ///
           5  +
    /// - The fluent builder is configurable:
           6  +
    ///   - [`window_id(impl Into<String>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::window_id) / [`set_window_id(Option<String>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::set_window_id):<br>required: **true**<br><p>The ID of the maintenance window to update.</p><br>
           7  +
    ///   - [`name(impl Into<String>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::set_name):<br>required: **false**<br><p>The name of the maintenance window.</p><br>
           8  +
    ///   - [`description(impl Into<String>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::set_description):<br>required: **false**<br><p>An optional description for the update request.</p><br>
           9  +
    ///   - [`start_date(impl Into<String>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::start_date) / [`set_start_date(Option<String>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::set_start_date):<br>required: **false**<br><p>The date and time, in ISO-8601 Extended format, for when you want the maintenance window to become active. <code>StartDate</code> allows you to delay activation of the maintenance window until the specified future date.</p><note>  <p>When using a rate schedule, if you provide a start date that occurs in the past, the current date and time are used as the start date.</p> </note><br>
          10  +
    ///   - [`end_date(impl Into<String>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::end_date) / [`set_end_date(Option<String>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::set_end_date):<br>required: **false**<br><p>The date and time, in ISO-8601 Extended format, for when you want the maintenance window to become inactive. <code>EndDate</code> allows you to set a date and time in the future when the maintenance window will no longer run.</p><br>
          11  +
    ///   - [`schedule(impl Into<String>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::schedule) / [`set_schedule(Option<String>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::set_schedule):<br>required: **false**<br><p>The schedule of the maintenance window in the form of a cron or rate expression.</p><br>
          12  +
    ///   - [`schedule_timezone(impl Into<String>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::schedule_timezone) / [`set_schedule_timezone(Option<String>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::set_schedule_timezone):<br>required: **false**<br><p>The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the <a href="https://www.iana.org/time-zones">Time Zone Database</a> on the IANA website.</p><br>
          13  +
    ///   - [`schedule_offset(i32)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::schedule_offset) / [`set_schedule_offset(Option<i32>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::set_schedule_offset):<br>required: **false**<br><p>The number of days to wait after the date and time specified by a cron expression before running the maintenance window.</p> <p>For example, the following cron expression schedules a maintenance window to run the third Tuesday of every month at 11:30 PM.</p> <p><code>cron(30 23 ? * TUE#3 *)</code></p> <p>If the schedule offset is <code>2</code>, the maintenance window won't run until two days later.</p><br>
          14  +
    ///   - [`duration(i32)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::duration) / [`set_duration(Option<i32>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::set_duration):<br>required: **false**<br><p>The duration of the maintenance window in hours.</p><br>
          15  +
    ///   - [`cutoff(i32)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::cutoff) / [`set_cutoff(Option<i32>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::set_cutoff):<br>required: **false**<br><p>The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling new tasks for execution.</p><br>
          16  +
    ///   - [`allow_unassociated_targets(bool)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::allow_unassociated_targets) / [`set_allow_unassociated_targets(Option<bool>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::set_allow_unassociated_targets):<br>required: **false**<br><p>Whether targets must be registered with the maintenance window before tasks can be defined for those targets.</p><br>
          17  +
    ///   - [`enabled(bool)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::enabled) / [`set_enabled(Option<bool>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::set_enabled):<br>required: **false**<br><p>Whether the maintenance window is enabled.</p><br>
          18  +
    ///   - [`replace(bool)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::replace) / [`set_replace(Option<bool>)`](crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::set_replace):<br>required: **false**<br><p>If <code>True</code>, then all fields that are required by the <code>CreateMaintenanceWindow</code> operation are also required for this API request. Optional fields that aren't specified are set to null.</p><br>
          19  +
    /// - On success, responds with [`UpdateMaintenanceWindowOutput`](crate::operation::update_maintenance_window::UpdateMaintenanceWindowOutput) with field(s):
          20  +
    ///   - [`window_id(Option<String>)`](crate::operation::update_maintenance_window::UpdateMaintenanceWindowOutput::window_id): <p>The ID of the created maintenance window.</p>
          21  +
    ///   - [`name(Option<String>)`](crate::operation::update_maintenance_window::UpdateMaintenanceWindowOutput::name): <p>The name of the maintenance window.</p>
          22  +
    ///   - [`description(Option<String>)`](crate::operation::update_maintenance_window::UpdateMaintenanceWindowOutput::description): <p>An optional description of the update.</p>
          23  +
    ///   - [`start_date(Option<String>)`](crate::operation::update_maintenance_window::UpdateMaintenanceWindowOutput::start_date): <p>The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become active. The maintenance window won't run before this specified time.</p>
          24  +
    ///   - [`end_date(Option<String>)`](crate::operation::update_maintenance_window::UpdateMaintenanceWindowOutput::end_date): <p>The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled to become inactive. The maintenance window won't run after this specified time.</p>
          25  +
    ///   - [`schedule(Option<String>)`](crate::operation::update_maintenance_window::UpdateMaintenanceWindowOutput::schedule): <p>The schedule of the maintenance window in the form of a cron or rate expression.</p>
          26  +
    ///   - [`schedule_timezone(Option<String>)`](crate::operation::update_maintenance_window::UpdateMaintenanceWindowOutput::schedule_timezone): <p>The time zone that the scheduled maintenance window executions are based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the <a href="https://www.iana.org/time-zones">Time Zone Database</a> on the IANA website.</p>
          27  +
    ///   - [`schedule_offset(Option<i32>)`](crate::operation::update_maintenance_window::UpdateMaintenanceWindowOutput::schedule_offset): <p>The number of days to wait to run a maintenance window after the scheduled cron expression date and time.</p>
          28  +
    ///   - [`duration(Option<i32>)`](crate::operation::update_maintenance_window::UpdateMaintenanceWindowOutput::duration): <p>The duration of the maintenance window in hours.</p>
          29  +
    ///   - [`cutoff(i32)`](crate::operation::update_maintenance_window::UpdateMaintenanceWindowOutput::cutoff): <p>The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling new tasks for execution.</p>
          30  +
    ///   - [`allow_unassociated_targets(bool)`](crate::operation::update_maintenance_window::UpdateMaintenanceWindowOutput::allow_unassociated_targets): <p>Whether targets must be registered with the maintenance window before tasks can be defined for those targets.</p>
          31  +
    ///   - [`enabled(bool)`](crate::operation::update_maintenance_window::UpdateMaintenanceWindowOutput::enabled): <p>Whether the maintenance window is enabled.</p>
          32  +
    /// - On failure, responds with [`SdkError<UpdateMaintenanceWindowError>`](crate::operation::update_maintenance_window::UpdateMaintenanceWindowError)
          33  +
    pub fn update_maintenance_window(&self) -> crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder {
          34  +
        crate::operation::update_maintenance_window::builders::UpdateMaintenanceWindowFluentBuilder::new(self.handle.clone())
          35  +
    }
          36  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/client/update_maintenance_window_target.rs

@@ -0,1 +0,26 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
impl super::Client {
           3  +
    /// Constructs a fluent builder for the [`UpdateMaintenanceWindowTarget`](crate::operation::update_maintenance_window_target::builders::UpdateMaintenanceWindowTargetFluentBuilder) operation.
           4  +
    ///
           5  +
    /// - The fluent builder is configurable:
           6  +
    ///   - [`window_id(impl Into<String>)`](crate::operation::update_maintenance_window_target::builders::UpdateMaintenanceWindowTargetFluentBuilder::window_id) / [`set_window_id(Option<String>)`](crate::operation::update_maintenance_window_target::builders::UpdateMaintenanceWindowTargetFluentBuilder::set_window_id):<br>required: **true**<br><p>The maintenance window ID with which to modify the target.</p><br>
           7  +
    ///   - [`window_target_id(impl Into<String>)`](crate::operation::update_maintenance_window_target::builders::UpdateMaintenanceWindowTargetFluentBuilder::window_target_id) / [`set_window_target_id(Option<String>)`](crate::operation::update_maintenance_window_target::builders::UpdateMaintenanceWindowTargetFluentBuilder::set_window_target_id):<br>required: **true**<br><p>The target ID to modify.</p><br>
           8  +
    ///   - [`targets(Target)`](crate::operation::update_maintenance_window_target::builders::UpdateMaintenanceWindowTargetFluentBuilder::targets) / [`set_targets(Option<Vec::<Target>>)`](crate::operation::update_maintenance_window_target::builders::UpdateMaintenanceWindowTargetFluentBuilder::set_targets):<br>required: **false**<br><p>The targets to add or replace.</p><br>
           9  +
    ///   - [`owner_information(impl Into<String>)`](crate::operation::update_maintenance_window_target::builders::UpdateMaintenanceWindowTargetFluentBuilder::owner_information) / [`set_owner_information(Option<String>)`](crate::operation::update_maintenance_window_target::builders::UpdateMaintenanceWindowTargetFluentBuilder::set_owner_information):<br>required: **false**<br><p>User-provided value that will be included in any Amazon CloudWatch Events events raised while running tasks for these targets in this maintenance window.</p><br>
          10  +
    ///   - [`name(impl Into<String>)`](crate::operation::update_maintenance_window_target::builders::UpdateMaintenanceWindowTargetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_maintenance_window_target::builders::UpdateMaintenanceWindowTargetFluentBuilder::set_name):<br>required: **false**<br><p>A name for the update.</p><br>
          11  +
    ///   - [`description(impl Into<String>)`](crate::operation::update_maintenance_window_target::builders::UpdateMaintenanceWindowTargetFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_maintenance_window_target::builders::UpdateMaintenanceWindowTargetFluentBuilder::set_description):<br>required: **false**<br><p>An optional description for the update.</p><br>
          12  +
    ///   - [`replace(bool)`](crate::operation::update_maintenance_window_target::builders::UpdateMaintenanceWindowTargetFluentBuilder::replace) / [`set_replace(Option<bool>)`](crate::operation::update_maintenance_window_target::builders::UpdateMaintenanceWindowTargetFluentBuilder::set_replace):<br>required: **false**<br><p>If <code>True</code>, then all fields that are required by the <code>RegisterTargetWithMaintenanceWindow</code> operation are also required for this API request. Optional fields that aren't specified are set to null.</p><br>
          13  +
    /// - On success, responds with [`UpdateMaintenanceWindowTargetOutput`](crate::operation::update_maintenance_window_target::UpdateMaintenanceWindowTargetOutput) with field(s):
          14  +
    ///   - [`window_id(Option<String>)`](crate::operation::update_maintenance_window_target::UpdateMaintenanceWindowTargetOutput::window_id): <p>The maintenance window ID specified in the update request.</p>
          15  +
    ///   - [`window_target_id(Option<String>)`](crate::operation::update_maintenance_window_target::UpdateMaintenanceWindowTargetOutput::window_target_id): <p>The target ID specified in the update request.</p>
          16  +
    ///   - [`targets(Option<Vec::<Target>>)`](crate::operation::update_maintenance_window_target::UpdateMaintenanceWindowTargetOutput::targets): <p>The updated targets.</p>
          17  +
    ///   - [`owner_information(Option<String>)`](crate::operation::update_maintenance_window_target::UpdateMaintenanceWindowTargetOutput::owner_information): <p>The updated owner.</p>
          18  +
    ///   - [`name(Option<String>)`](crate::operation::update_maintenance_window_target::UpdateMaintenanceWindowTargetOutput::name): <p>The updated name.</p>
          19  +
    ///   - [`description(Option<String>)`](crate::operation::update_maintenance_window_target::UpdateMaintenanceWindowTargetOutput::description): <p>The updated description.</p>
          20  +
    /// - On failure, responds with [`SdkError<UpdateMaintenanceWindowTargetError>`](crate::operation::update_maintenance_window_target::UpdateMaintenanceWindowTargetError)
          21  +
    pub fn update_maintenance_window_target(
          22  +
        &self,
          23  +
    ) -> crate::operation::update_maintenance_window_target::builders::UpdateMaintenanceWindowTargetFluentBuilder {
          24  +
        crate::operation::update_maintenance_window_target::builders::UpdateMaintenanceWindowTargetFluentBuilder::new(self.handle.clone())
          25  +
    }
          26  +
}

tmp-codegen-diff/aws-sdk/sdk/ssm/src/client/update_maintenance_window_task.rs

@@ -0,1 +0,44 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
impl super::Client {
           3  +
    /// Constructs a fluent builder for the [`UpdateMaintenanceWindowTask`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder) operation.
           4  +
    ///
           5  +
    /// - The fluent builder is configurable:
           6  +
    ///   - [`window_id(impl Into<String>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::window_id) / [`set_window_id(Option<String>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::set_window_id):<br>required: **true**<br><p>The maintenance window ID that contains the task to modify.</p><br>
           7  +
    ///   - [`window_task_id(impl Into<String>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::window_task_id) / [`set_window_task_id(Option<String>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::set_window_task_id):<br>required: **true**<br><p>The task ID to modify.</p><br>
           8  +
    ///   - [`targets(Target)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::targets) / [`set_targets(Option<Vec::<Target>>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::set_targets):<br>required: **false**<br><p>The targets (either managed nodes or tags) to modify. Managed nodes are specified using the format <code>Key=instanceids,Values=instanceID_1,instanceID_2</code>. Tags are specified using the format <code> Key=tag_name,Values=tag_value</code>.</p><note>  <p>One or more targets must be specified for maintenance window Run Command-type tasks. Depending on the task, targets are optional for other maintenance window task types (Automation, Lambda, and Step Functions). For more information about running tasks that don't specify targets, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html">Registering maintenance window tasks without targets</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p> </note><br>
           9  +
    ///   - [`task_arn(impl Into<String>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::task_arn) / [`set_task_arn(Option<String>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::set_task_arn):<br>required: **false**<br><p>The task ARN to modify.</p><br>
          10  +
    ///   - [`service_role_arn(impl Into<String>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::service_role_arn) / [`set_service_role_arn(Option<String>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::set_service_role_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run <code>RegisterTaskWithMaintenanceWindow</code>.</p> <p>However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html">Setting up Maintenance Windows</a> in the in the <i>Amazon Web Services Systems Manager User Guide</i>.</p><br>
          11  +
    ///   - [`task_parameters(impl Into<String>, MaintenanceWindowTaskParameterValueExpression)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::task_parameters) / [`set_task_parameters(Option<HashMap::<String, MaintenanceWindowTaskParameterValueExpression>>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::set_task_parameters):<br>required: **false**<br><p>The parameters to modify.</p><note>  <p><code>TaskParameters</code> has been deprecated. To specify parameters to pass to a task when it runs, instead use the <code>Parameters</code> option in the <code>TaskInvocationParameters</code> structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see <code>MaintenanceWindowTaskInvocationParameters</code>.</p> </note> <p>The map has the following format:</p> <p>Key: string, between 1 and 255 characters</p> <p>Value: an array of strings, each string is between 1 and 255 characters</p><br>
          12  +
    ///   - [`task_invocation_parameters(MaintenanceWindowTaskInvocationParameters)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::task_invocation_parameters) / [`set_task_invocation_parameters(Option<MaintenanceWindowTaskInvocationParameters>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::set_task_invocation_parameters):<br>required: **false**<br><p>The parameters that the task should use during execution. Populate only the fields that match the task type. All other fields should be empty.</p><important>  <p>When you update a maintenance window task that has options specified in <code>TaskInvocationParameters</code>, you must provide again all the <code>TaskInvocationParameters</code> values that you want to retain. The values you don't specify again are removed. For example, suppose that when you registered a Run Command task, you specified <code>TaskInvocationParameters</code> values for <code>Comment</code>, <code>NotificationConfig</code>, and <code>OutputS3BucketName</code>. If you update the maintenance window task and specify only a different <code>OutputS3BucketName</code> value, the values for <code>Comment</code> and <code>NotificationConfig</code> are removed.</p> </important><br>
          13  +
    ///   - [`priority(i32)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::priority) / [`set_priority(Option<i32>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::set_priority):<br>required: **false**<br><p>The new task priority to specify. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.</p><br>
          14  +
    ///   - [`max_concurrency(impl Into<String>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::max_concurrency) / [`set_max_concurrency(Option<String>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::set_max_concurrency):<br>required: **false**<br><p>The new <code>MaxConcurrency</code> value you want to specify. <code>MaxConcurrency</code> is the number of targets that are allowed to run this task, in parallel.</p><note>  <p>Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html">targetless task</a> You must provide a value in all other cases.</p>  <p>For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of <code>1</code>. This value doesn't affect the running of your task.</p> </note><br>
          15  +
    ///   - [`max_errors(impl Into<String>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::max_errors) / [`set_max_errors(Option<String>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::set_max_errors):<br>required: **false**<br><p>The new <code>MaxErrors</code> value to specify. <code>MaxErrors</code> is the maximum number of errors that are allowed before the task stops being scheduled.</p><note>  <p>Although this element is listed as "Required: No", a value can be omitted only when you are registering or updating a <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html">targetless task</a> You must provide a value in all other cases.</p>  <p>For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of <code>1</code>. This value doesn't affect the running of your task.</p> </note><br>
          16  +
    ///   - [`logging_info(LoggingInfo)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::logging_info) / [`set_logging_info(Option<LoggingInfo>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::set_logging_info):<br>required: **false**<br><p>The new logging location in Amazon S3 to specify.</p><note>  <p><code>LoggingInfo</code> has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the <code>OutputS3BucketName</code> and <code>OutputS3KeyPrefix</code> options in the <code>TaskInvocationParameters</code> structure. For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance window task types, see <code>MaintenanceWindowTaskInvocationParameters</code>.</p> </note><br>
          17  +
    ///   - [`name(impl Into<String>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::set_name):<br>required: **false**<br><p>The new task name to specify.</p><br>
          18  +
    ///   - [`description(impl Into<String>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::set_description):<br>required: **false**<br><p>The new task description to specify.</p><br>
          19  +
    ///   - [`replace(bool)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::replace) / [`set_replace(Option<bool>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::set_replace):<br>required: **false**<br><p>If True, then all fields that are required by the <code>RegisterTaskWithMaintenanceWindow</code> operation are also required for this API request. Optional fields that aren't specified are set to null.</p><br>
          20  +
    ///   - [`cutoff_behavior(MaintenanceWindowTaskCutoffBehavior)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::cutoff_behavior) / [`set_cutoff_behavior(Option<MaintenanceWindowTaskCutoffBehavior>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::set_cutoff_behavior):<br>required: **false**<br><p>Indicates whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.</p> <ul>  <li>   <p><code>CONTINUE_TASK</code>: When the cutoff time is reached, any tasks that are running continue. The default value.</p></li>  <li>   <p><code>CANCEL_TASK</code>:</p>   <ul>    <li>     <p>For Automation, Lambda, Step Functions tasks: When the cutoff time is reached, any task invocations that are already running continue, but no new task invocations are started.</p></li>    <li>     <p>For Run Command tasks: When the cutoff time is reached, the system sends a <code>CancelCommand</code> operation that attempts to cancel the command associated with the task. However, there is no guarantee that the command will be terminated and the underlying process stopped.</p></li>   </ul>   <p>The status for tasks that are not completed is <code>TIMED_OUT</code>.</p></li> </ul><br>
          21  +
    ///   - [`alarm_configuration(AlarmConfiguration)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::alarm_configuration) / [`set_alarm_configuration(Option<AlarmConfiguration>)`](crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::set_alarm_configuration):<br>required: **false**<br><p>The CloudWatch alarm you want to apply to your maintenance window task.</p><br>
          22  +
    /// - On success, responds with [`UpdateMaintenanceWindowTaskOutput`](crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskOutput) with field(s):
          23  +
    ///   - [`window_id(Option<String>)`](crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskOutput::window_id): <p>The ID of the maintenance window that was updated.</p>
          24  +
    ///   - [`window_task_id(Option<String>)`](crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskOutput::window_task_id): <p>The task ID of the maintenance window that was updated.</p>
          25  +
    ///   - [`targets(Option<Vec::<Target>>)`](crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskOutput::targets): <p>The updated target values.</p>
          26  +
    ///   - [`task_arn(Option<String>)`](crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskOutput::task_arn): <p>The updated task ARN value.</p>
          27  +
    ///   - [`service_role_arn(Option<String>)`](crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskOutput::service_role_arn): <p>The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run <code>RegisterTaskWithMaintenanceWindow</code>.</p> <p>However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-maintenance-permissions.html">Setting up Maintenance Windows</a> in the in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
          28  +
    ///   - [`task_parameters(Option<HashMap::<String, MaintenanceWindowTaskParameterValueExpression>>)`](crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskOutput::task_parameters): <p>The updated parameter values.</p><note>  <p><code>TaskParameters</code> has been deprecated. To specify parameters to pass to a task when it runs, instead use the <code>Parameters</code> option in the <code>TaskInvocationParameters</code> structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see <code>MaintenanceWindowTaskInvocationParameters</code>.</p> </note>
          29  +
    ///   - [`task_invocation_parameters(Option<MaintenanceWindowTaskInvocationParameters>)`](crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskOutput::task_invocation_parameters): <p>The updated parameter values.</p>
          30  +
    ///   - [`priority(i32)`](crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskOutput::priority): <p>The updated priority value.</p>
          31  +
    ///   - [`max_concurrency(Option<String>)`](crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskOutput::max_concurrency): <p>The updated <code>MaxConcurrency</code> value.</p>
          32  +
    ///   - [`max_errors(Option<String>)`](crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskOutput::max_errors): <p>The updated <code>MaxErrors</code> value.</p>
          33  +
    ///   - [`logging_info(Option<LoggingInfo>)`](crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskOutput::logging_info): <p>The updated logging information in Amazon S3.</p><note>  <p><code>LoggingInfo</code> has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the <code>OutputS3BucketName</code> and <code>OutputS3KeyPrefix</code> options in the <code>TaskInvocationParameters</code> structure. For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance window task types, see <code>MaintenanceWindowTaskInvocationParameters</code>.</p> </note>
          34  +
    ///   - [`name(Option<String>)`](crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskOutput::name): <p>The updated task name.</p>
          35  +
    ///   - [`description(Option<String>)`](crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskOutput::description): <p>The updated task description.</p>
          36  +
    ///   - [`cutoff_behavior(Option<MaintenanceWindowTaskCutoffBehavior>)`](crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskOutput::cutoff_behavior): <p>The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.</p>
          37  +
    ///   - [`alarm_configuration(Option<AlarmConfiguration>)`](crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskOutput::alarm_configuration): <p>The details for the CloudWatch alarm you applied to your maintenance window task.</p>
          38  +
    /// - On failure, responds with [`SdkError<UpdateMaintenanceWindowTaskError>`](crate::operation::update_maintenance_window_task::UpdateMaintenanceWindowTaskError)
          39  +
    pub fn update_maintenance_window_task(
          40  +
        &self,
          41  +
    ) -> crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder {
          42  +
        crate::operation::update_maintenance_window_task::builders::UpdateMaintenanceWindowTaskFluentBuilder::new(self.handle.clone())
          43  +
    }
          44  +
}