aws-sdk-cloudwatchomni 1.2.0

AWS SDK for CloudWatch Omni
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateSpace`](crate::operation::update_space::builders::UpdateSpaceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`space_id(impl Into<String>)`](crate::operation::update_space::builders::UpdateSpaceFluentBuilder::space_id) / [`set_space_id(Option<String>)`](crate::operation::update_space::builders::UpdateSpaceFluentBuilder::set_space_id):<br>required: **true**<br>The unique ID of the space to update.<br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_space::builders::UpdateSpaceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_space::builders::UpdateSpaceFluentBuilder::set_name):<br>required: **false**<br>A new name for the space. Omit to leave unchanged. Must be 3-64 characters: lowercase letters, numbers, and hyphens. It must begin and end with a letter or number and cannot contain consecutive hyphens.<br>
    ///   - [`encryption_configuration(EncryptionConfiguration)`](crate::operation::update_space::builders::UpdateSpaceFluentBuilder::encryption_configuration) / [`set_encryption_configuration(Option<EncryptionConfiguration>)`](crate::operation::update_space::builders::UpdateSpaceFluentBuilder::set_encryption_configuration):<br>required: **false**<br>How to encrypt the space's data at rest. Omit to leave encryption unchanged. Pass `encryptionStrategy` AWS_OWNED to stop using a customer managed key and revert to service owned encryption.<br>
    /// - On success, responds with [`UpdateSpaceOutput`](crate::operation::update_space::UpdateSpaceOutput) with field(s):
    ///   - [`space(Option<Space>)`](crate::operation::update_space::UpdateSpaceOutput::space): The updated details of the space.
    /// - On failure, responds with [`SdkError<UpdateSpaceError>`](crate::operation::update_space::UpdateSpaceError)
    pub fn update_space(&self) -> crate::operation::update_space::builders::UpdateSpaceFluentBuilder {
        crate::operation::update_space::builders::UpdateSpaceFluentBuilder::new(self.handle.clone())
    }
}