aws_sdk_support/client/
describe_create_case_options.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DescribeCreateCaseOptions`](crate::operation::describe_create_case_options::builders::DescribeCreateCaseOptionsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`issue_type(impl Into<String>)`](crate::operation::describe_create_case_options::builders::DescribeCreateCaseOptionsFluentBuilder::issue_type) / [`set_issue_type(Option<String>)`](crate::operation::describe_create_case_options::builders::DescribeCreateCaseOptionsFluentBuilder::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>. If you don't specify a value, the default is <code>technical</code>.</p><br>
7    ///   - [`service_code(impl Into<String>)`](crate::operation::describe_create_case_options::builders::DescribeCreateCaseOptionsFluentBuilder::service_code) / [`set_service_code(Option<String>)`](crate::operation::describe_create_case_options::builders::DescribeCreateCaseOptionsFluentBuilder::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>
8    ///   - [`language(impl Into<String>)`](crate::operation::describe_create_case_options::builders::DescribeCreateCaseOptionsFluentBuilder::language) / [`set_language(Option<String>)`](crate::operation::describe_create_case_options::builders::DescribeCreateCaseOptionsFluentBuilder::set_language):<br>required: **true**<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") and Korean (“ko”). You must specify the ISO 639-1 code for the <code>language</code> parameter if you want support in that language.</p><br>
9    ///   - [`category_code(impl Into<String>)`](crate::operation::describe_create_case_options::builders::DescribeCreateCaseOptionsFluentBuilder::category_code) / [`set_category_code(Option<String>)`](crate::operation::describe_create_case_options::builders::DescribeCreateCaseOptionsFluentBuilder::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>
10    /// - On success, responds with [`DescribeCreateCaseOptionsOutput`](crate::operation::describe_create_case_options::DescribeCreateCaseOptionsOutput) with field(s):
11    ///   - [`language_availability(Option<String>)`](crate::operation::describe_create_case_options::DescribeCreateCaseOptionsOutput::language_availability): <p>Language availability can be any of the following:</p> <ul>  <li>   <p>available</p></li>  <li>   <p>best_effort</p></li>  <li>   <p>unavailable</p></li> </ul>
12    ///   - [`communication_types(Option<Vec::<CommunicationTypeOptions>>)`](crate::operation::describe_create_case_options::DescribeCreateCaseOptionsOutput::communication_types): <p>A JSON-formatted array that contains the available communication type options, along with the available support timeframes for the given inputs.</p>
13    /// - On failure, responds with [`SdkError<DescribeCreateCaseOptionsError>`](crate::operation::describe_create_case_options::DescribeCreateCaseOptionsError)
14    pub fn describe_create_case_options(&self) -> crate::operation::describe_create_case_options::builders::DescribeCreateCaseOptionsFluentBuilder {
15        crate::operation::describe_create_case_options::builders::DescribeCreateCaseOptionsFluentBuilder::new(self.handle.clone())
16    }
17}