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 [`DisableAddOn`](crate::operation::disable_add_on::builders::DisableAddOnFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`add_on_type(AddOnType)`](crate::operation::disable_add_on::builders::DisableAddOnFluentBuilder::add_on_type) / [`set_add_on_type(Option<AddOnType>)`](crate::operation::disable_add_on::builders::DisableAddOnFluentBuilder::set_add_on_type):<br>required: **true**<br><p>The add-on type to disable.</p><br>
    ///   - [`resource_name(impl Into<String>)`](crate::operation::disable_add_on::builders::DisableAddOnFluentBuilder::resource_name) / [`set_resource_name(Option<String>)`](crate::operation::disable_add_on::builders::DisableAddOnFluentBuilder::set_resource_name):<br>required: **true**<br><p>The name of the source resource for which to disable the add-on.</p><br>
    /// - On success, responds with [`DisableAddOnOutput`](crate::operation::disable_add_on::DisableAddOnOutput) with field(s):
    ///   - [`operations(Option<Vec::<Operation>>)`](crate::operation::disable_add_on::DisableAddOnOutput::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<DisableAddOnError>`](crate::operation::disable_add_on::DisableAddOnError)
    pub fn disable_add_on(&self) -> crate::operation::disable_add_on::builders::DisableAddOnFluentBuilder {
        crate::operation::disable_add_on::builders::DisableAddOnFluentBuilder::new(self.handle.clone())
    }
}