aws-sdk-support 1.113.0

AWS SDK for AWS Support
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 [`DescribeSeverityLevels`](crate::operation::describe_severity_levels::builders::DescribeSeverityLevelsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`language(impl Into<String>)`](crate::operation::describe_severity_levels::builders::DescribeSeverityLevelsFluentBuilder::language) / [`set_language(Option<String>)`](crate::operation::describe_severity_levels::builders::DescribeSeverityLevelsFluentBuilder::set_language):<br>required: **false**<br><p>The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently supports Chinese (“zh”), English ("en"), Japanese ("ja") , Chinese ("zh"), Spanish ("es"), Portuguese ("pt"), French ("fr"), Korean (“ko”), and Turkish ("tr"). You must specify the ISO 639-1 code for the <code>language</code> parameter if you want support in that language.</p><br>
    ///   - [`dry_run(bool)`](crate::operation::describe_severity_levels::builders::DescribeSeverityLevelsFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::describe_severity_levels::builders::DescribeSeverityLevelsFluentBuilder::set_dry_run):<br>required: **false**<br><p>Specifies whether to validate the request without actually returning severity levels. When set to <code>true</code>, the request is validated but no severity levels are returned, and the operation returns a <code>DryRunOperationException</code>. When omitted or set to <code>false</code>, the request runs normally.</p><br>
    /// - On success, responds with [`DescribeSeverityLevelsOutput`](crate::operation::describe_severity_levels::DescribeSeverityLevelsOutput) with field(s):
    ///   - [`severity_levels(Option<Vec::<SeverityLevel>>)`](crate::operation::describe_severity_levels::DescribeSeverityLevelsOutput::severity_levels): <p>The available severity levels for the support case. Available severity levels are defined by your service level agreement with Amazon Web Services.</p>
    /// - On failure, responds with [`SdkError<DescribeSeverityLevelsError>`](crate::operation::describe_severity_levels::DescribeSeverityLevelsError)
    pub fn describe_severity_levels(&self) -> crate::operation::describe_severity_levels::builders::DescribeSeverityLevelsFluentBuilder {
        crate::operation::describe_severity_levels::builders::DescribeSeverityLevelsFluentBuilder::new(self.handle.clone())
    }
}