aws_sdk_opsworks/client/describe_service_errors.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 [`DescribeServiceErrors`](crate::operation::describe_service_errors::builders::DescribeServiceErrorsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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):<br>required: **false**<br><p>The stack ID. If you use this parameter, <code>DescribeServiceErrors</code> returns descriptions of the errors associated with the specified stack.</p><br>
7 /// - [`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):<br>required: **false**<br><p>The instance ID. If you use this parameter, <code>DescribeServiceErrors</code> returns descriptions of the errors associated with the specified instance.</p><br>
8 /// - [`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):<br>required: **false**<br><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><br>
9 /// - On success, responds with [`DescribeServiceErrorsOutput`](crate::operation::describe_service_errors::DescribeServiceErrorsOutput) with field(s):
10 /// - [`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>
11 /// - On failure, responds with [`SdkError<DescribeServiceErrorsError>`](crate::operation::describe_service_errors::DescribeServiceErrorsError)
12 pub fn describe_service_errors(&self) -> crate::operation::describe_service_errors::builders::DescribeServiceErrorsFluentBuilder {
13 crate::operation::describe_service_errors::builders::DescribeServiceErrorsFluentBuilder::new(self.handle.clone())
14 }
15}