1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteTheme`](crate::operation::delete_theme::builders::DeleteThemeFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::delete_theme::builders::DeleteThemeFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::delete_theme::builders::DeleteThemeFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the theme that you're deleting.</p><br>
    ///   - [`theme_id(impl Into<String>)`](crate::operation::delete_theme::builders::DeleteThemeFluentBuilder::theme_id) / [`set_theme_id(Option<String>)`](crate::operation::delete_theme::builders::DeleteThemeFluentBuilder::set_theme_id):<br>required: **true**<br><p>An ID for the theme that you want to delete.</p><br>
    ///   - [`version_number(i64)`](crate::operation::delete_theme::builders::DeleteThemeFluentBuilder::version_number) / [`set_version_number(Option<i64>)`](crate::operation::delete_theme::builders::DeleteThemeFluentBuilder::set_version_number):<br>required: **false**<br><p>The version of the theme that you want to delete. </p>  <p> <b>Note:</b> If you don't provide a version number, you're using this call to <code>DeleteTheme</code> to delete all versions of the theme.</p><br>
    /// - On success, responds with [`DeleteThemeOutput`](crate::operation::delete_theme::DeleteThemeOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::delete_theme::DeleteThemeOutput::arn): <p>The Amazon Resource Name (ARN) of the resource.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::delete_theme::DeleteThemeOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    ///   - [`status(i32)`](crate::operation::delete_theme::DeleteThemeOutput::status): <p>The HTTP status of the request.</p>
    ///   - [`theme_id(Option<String>)`](crate::operation::delete_theme::DeleteThemeOutput::theme_id): <p>An ID for the theme.</p>
    /// - On failure, responds with [`SdkError<DeleteThemeError>`](crate::operation::delete_theme::DeleteThemeError)
    pub fn delete_theme(&self) -> crate::operation::delete_theme::builders::DeleteThemeFluentBuilder {
        crate::operation::delete_theme::builders::DeleteThemeFluentBuilder::new(self.handle.clone())
    }
}