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 [`DescribeSupportedLanguages`](crate::operation::describe_supported_languages::builders::DescribeSupportedLanguagesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`issue_type(impl Into<String>)`](crate::operation::describe_supported_languages::builders::DescribeSupportedLanguagesFluentBuilder::issue_type) / [`set_issue_type(Option<String>)`](crate::operation::describe_supported_languages::builders::DescribeSupportedLanguagesFluentBuilder::set_issue_type):<br>required: **true**<br><p>The type of issue for the case. You can specify <code>customer-service</code> or <code>technical</code>.</p><br>
    ///   - [`service_code(impl Into<String>)`](crate::operation::describe_supported_languages::builders::DescribeSupportedLanguagesFluentBuilder::service_code) / [`set_service_code(Option<String>)`](crate::operation::describe_supported_languages::builders::DescribeSupportedLanguagesFluentBuilder::set_service_code):<br>required: **true**<br><p>The code for the Amazon Web Services service. You can use the <code>DescribeServices</code> operation to get the possible <code>serviceCode</code> values.</p><br>
    ///   - [`category_code(impl Into<String>)`](crate::operation::describe_supported_languages::builders::DescribeSupportedLanguagesFluentBuilder::category_code) / [`set_category_code(Option<String>)`](crate::operation::describe_supported_languages::builders::DescribeSupportedLanguagesFluentBuilder::set_category_code):<br>required: **true**<br><p>The category of problem for the support case. You also use the <code>DescribeServices</code> operation to get the category code for a service. Each Amazon Web Services service defines its own set of category codes.</p><br>
    /// - On success, responds with [`DescribeSupportedLanguagesOutput`](crate::operation::describe_supported_languages::DescribeSupportedLanguagesOutput) with field(s):
    ///   - [`supported_languages(Option<Vec::<SupportedLanguage>>)`](crate::operation::describe_supported_languages::DescribeSupportedLanguagesOutput::supported_languages): <p>A JSON-formatted array that contains the available ISO 639-1 language codes.</p>
    /// - On failure, responds with [`SdkError<DescribeSupportedLanguagesError>`](crate::operation::describe_supported_languages::DescribeSupportedLanguagesError)
    pub fn describe_supported_languages(&self) -> crate::operation::describe_supported_languages::builders::DescribeSupportedLanguagesFluentBuilder {
        crate::operation::describe_supported_languages::builders::DescribeSupportedLanguagesFluentBuilder::new(self.handle.clone())
    }
}