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 [`DescribeServiceErrors`](crate::operation::describe_service_errors::builders::DescribeServiceErrorsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`stack_id(impl Into<String>)`](crate::operation::describe_service_errors::builders::DescribeServiceErrorsFluentBuilder::stack_id) / [`set_stack_id(Option<String>)`](crate::operation::describe_service_errors::builders::DescribeServiceErrorsFluentBuilder::set_stack_id): <p>The stack ID. If you use this parameter, <code>DescribeServiceErrors</code> returns descriptions of the errors associated with the specified stack.</p>
    ///   - [`instance_id(impl Into<String>)`](crate::operation::describe_service_errors::builders::DescribeServiceErrorsFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::describe_service_errors::builders::DescribeServiceErrorsFluentBuilder::set_instance_id): <p>The instance ID. If you use this parameter, <code>DescribeServiceErrors</code> returns descriptions of the errors associated with the specified instance.</p>
    ///   - [`service_error_ids(impl Into<String>)`](crate::operation::describe_service_errors::builders::DescribeServiceErrorsFluentBuilder::service_error_ids) / [`set_service_error_ids(Option<Vec<String>>)`](crate::operation::describe_service_errors::builders::DescribeServiceErrorsFluentBuilder::set_service_error_ids): <p>An array of service error IDs. If you use this parameter, <code>DescribeServiceErrors</code> returns descriptions of the specified errors. Otherwise, it returns a description of every error.</p>
    /// - On success, responds with [`DescribeServiceErrorsOutput`](crate::operation::describe_service_errors::DescribeServiceErrorsOutput) with field(s):
    ///   - [`service_errors(Option<Vec<ServiceError>>)`](crate::operation::describe_service_errors::DescribeServiceErrorsOutput::service_errors): <p>An array of <code>ServiceError</code> objects that describe the specified service errors.</p>
    /// - On failure, responds with [`SdkError<DescribeServiceErrorsError>`](crate::operation::describe_service_errors::DescribeServiceErrorsError)
    pub fn describe_service_errors(&self) -> crate::operation::describe_service_errors::builders::DescribeServiceErrorsFluentBuilder {
        crate::operation::describe_service_errors::builders::DescribeServiceErrorsFluentBuilder::new(self.handle.clone())
    }
}