aws-sdk-lightsail 1.107.0

AWS SDK for Amazon Lightsail
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateBucketBundle`](crate::operation::update_bucket_bundle::builders::UpdateBucketBundleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`bucket_name(impl Into<String>)`](crate::operation::update_bucket_bundle::builders::UpdateBucketBundleFluentBuilder::bucket_name) / [`set_bucket_name(Option<String>)`](crate::operation::update_bucket_bundle::builders::UpdateBucketBundleFluentBuilder::set_bucket_name):<br>required: **true**<br><p>The name of the bucket for which to update the bundle.</p><br>
    ///   - [`bundle_id(impl Into<String>)`](crate::operation::update_bucket_bundle::builders::UpdateBucketBundleFluentBuilder::bundle_id) / [`set_bundle_id(Option<String>)`](crate::operation::update_bucket_bundle::builders::UpdateBucketBundleFluentBuilder::set_bundle_id):<br>required: **true**<br><p>The ID of the new bundle to apply to the bucket.</p> <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketBundles.html">GetBucketBundles</a> action to get a list of bundle IDs that you can specify.</p><br>
    /// - On success, responds with [`UpdateBucketBundleOutput`](crate::operation::update_bucket_bundle::UpdateBucketBundleOutput) with field(s):
    ///   - [`operations(Option<Vec::<Operation>>)`](crate::operation::update_bucket_bundle::UpdateBucketBundleOutput::operations): <p>An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.</p>
    /// - On failure, responds with [`SdkError<UpdateBucketBundleError>`](crate::operation::update_bucket_bundle::UpdateBucketBundleError)
    pub fn update_bucket_bundle(&self) -> crate::operation::update_bucket_bundle::builders::UpdateBucketBundleFluentBuilder {
        crate::operation::update_bucket_bundle::builders::UpdateBucketBundleFluentBuilder::new(self.handle.clone())
    }
}