1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ReportInstanceStatus`](crate::operation::report_instance_status::builders::ReportInstanceStatusFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`description(impl ::std::convert::Into<String>)`](crate::operation::report_instance_status::builders::ReportInstanceStatusFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::report_instance_status::builders::ReportInstanceStatusFluentBuilder::set_description): <p>Descriptive text about the health state of your instance.</p>
    ///   - [`dry_run(bool)`](crate::operation::report_instance_status::builders::ReportInstanceStatusFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::report_instance_status::builders::ReportInstanceStatusFluentBuilder::set_dry_run): <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
    ///   - [`end_time(DateTime)`](crate::operation::report_instance_status::builders::ReportInstanceStatusFluentBuilder::end_time) / [`set_end_time(Option<DateTime>)`](crate::operation::report_instance_status::builders::ReportInstanceStatusFluentBuilder::set_end_time): <p>The time at which the reported instance health state ended.</p>
    ///   - [`instances(Vec<String>)`](crate::operation::report_instance_status::builders::ReportInstanceStatusFluentBuilder::instances) / [`set_instances(Option<Vec<String>>)`](crate::operation::report_instance_status::builders::ReportInstanceStatusFluentBuilder::set_instances): <p>The instances.</p>
    ///   - [`reason_codes(Vec<ReportInstanceReasonCodes>)`](crate::operation::report_instance_status::builders::ReportInstanceStatusFluentBuilder::reason_codes) / [`set_reason_codes(Option<Vec<ReportInstanceReasonCodes>>)`](crate::operation::report_instance_status::builders::ReportInstanceStatusFluentBuilder::set_reason_codes): <p>The reason codes that describe the health state of your instance.</p>  <ul>   <li> <p> <code>instance-stuck-in-state</code>: My instance is stuck in a state.</p> </li>   <li> <p> <code>unresponsive</code>: My instance is unresponsive.</p> </li>   <li> <p> <code>not-accepting-credentials</code>: My instance is not accepting my credentials.</p> </li>   <li> <p> <code>password-not-available</code>: A password is not available for my instance.</p> </li>   <li> <p> <code>performance-network</code>: My instance is experiencing performance problems that I believe are network related.</p> </li>   <li> <p> <code>performance-instance-store</code>: My instance is experiencing performance problems that I believe are related to the instance stores.</p> </li>   <li> <p> <code>performance-ebs-volume</code>: My instance is experiencing performance problems that I believe are related to an EBS volume.</p> </li>   <li> <p> <code>performance-other</code>: My instance is experiencing performance problems.</p> </li>   <li> <p> <code>other</code>: [explain using the description parameter]</p> </li>  </ul>
    ///   - [`start_time(DateTime)`](crate::operation::report_instance_status::builders::ReportInstanceStatusFluentBuilder::start_time) / [`set_start_time(Option<DateTime>)`](crate::operation::report_instance_status::builders::ReportInstanceStatusFluentBuilder::set_start_time): <p>The time at which the reported instance health state began.</p>
    ///   - [`status(ReportStatusType)`](crate::operation::report_instance_status::builders::ReportInstanceStatusFluentBuilder::status) / [`set_status(Option<ReportStatusType>)`](crate::operation::report_instance_status::builders::ReportInstanceStatusFluentBuilder::set_status): <p>The status of all instances listed.</p>
    /// - On success, responds with [`ReportInstanceStatusOutput`](crate::operation::report_instance_status::ReportInstanceStatusOutput)
    /// - On failure, responds with [`SdkError<ReportInstanceStatusError>`](crate::operation::report_instance_status::ReportInstanceStatusError)
    pub fn report_instance_status(&self) -> crate::operation::report_instance_status::builders::ReportInstanceStatusFluentBuilder {
        crate::operation::report_instance_status::builders::ReportInstanceStatusFluentBuilder::new(self.handle.clone())
    }
}