aws_sdk_backup/client/
update_framework.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateFramework`](crate::operation::update_framework::builders::UpdateFrameworkFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`framework_name(impl Into<String>)`](crate::operation::update_framework::builders::UpdateFrameworkFluentBuilder::framework_name) / [`set_framework_name(Option<String>)`](crate::operation::update_framework::builders::UpdateFrameworkFluentBuilder::set_framework_name):<br>required: **true**<br><p>The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).</p><br>
7    ///   - [`framework_description(impl Into<String>)`](crate::operation::update_framework::builders::UpdateFrameworkFluentBuilder::framework_description) / [`set_framework_description(Option<String>)`](crate::operation::update_framework::builders::UpdateFrameworkFluentBuilder::set_framework_description):<br>required: **false**<br><p>An optional description of the framework with a maximum 1,024 characters.</p><br>
8    ///   - [`framework_controls(FrameworkControl)`](crate::operation::update_framework::builders::UpdateFrameworkFluentBuilder::framework_controls) / [`set_framework_controls(Option<Vec::<FrameworkControl>>)`](crate::operation::update_framework::builders::UpdateFrameworkFluentBuilder::set_framework_controls):<br>required: **false**<br><p>The controls that make up the framework. Each control in the list has a name, input parameters, and scope.</p><br>
9    ///   - [`idempotency_token(impl Into<String>)`](crate::operation::update_framework::builders::UpdateFrameworkFluentBuilder::idempotency_token) / [`set_idempotency_token(Option<String>)`](crate::operation::update_framework::builders::UpdateFrameworkFluentBuilder::set_idempotency_token):<br>required: **false**<br><p>A customer-chosen string that you can use to distinguish between otherwise identical calls to <code>UpdateFrameworkInput</code>. Retrying a successful request with the same idempotency token results in a success message with no action taken.</p><br>
10    /// - On success, responds with [`UpdateFrameworkOutput`](crate::operation::update_framework::UpdateFrameworkOutput) with field(s):
11    ///   - [`framework_name(Option<String>)`](crate::operation::update_framework::UpdateFrameworkOutput::framework_name): <p>The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).</p>
12    ///   - [`framework_arn(Option<String>)`](crate::operation::update_framework::UpdateFrameworkOutput::framework_arn): <p>An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.</p>
13    ///   - [`creation_time(Option<DateTime>)`](crate::operation::update_framework::UpdateFrameworkOutput::creation_time): <p>The date and time that a framework is created, in ISO 8601 representation. The value of <code>CreationTime</code> is accurate to milliseconds. For example, 2020-07-10T15:00:00.000-08:00 represents the 10th of July 2020 at 3:00 PM 8 hours behind UTC.</p>
14    /// - On failure, responds with [`SdkError<UpdateFrameworkError>`](crate::operation::update_framework::UpdateFrameworkError)
15    pub fn update_framework(&self) -> crate::operation::update_framework::builders::UpdateFrameworkFluentBuilder {
16        crate::operation::update_framework::builders::UpdateFrameworkFluentBuilder::new(self.handle.clone())
17    }
18}