aws-sdk-computeoptimizerautomation 1.9.0

AWS SDK for Compute Optimizer Automation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StartAutomationEvent`](crate::operation::start_automation_event::builders::StartAutomationEventFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`recommended_action_id(impl Into<String>)`](crate::operation::start_automation_event::builders::StartAutomationEventFluentBuilder::recommended_action_id) / [`set_recommended_action_id(Option<String>)`](crate::operation::start_automation_event::builders::StartAutomationEventFluentBuilder::set_recommended_action_id):<br>required: **true**<br><p>The ID of the recommended action to automate.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::start_automation_event::builders::StartAutomationEventFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::start_automation_event::builders::StartAutomationEventFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Must be 1-64 characters long and contain only alphanumeric characters, underscores, and hyphens.</p><br>
    /// - On success, responds with [`StartAutomationEventOutput`](crate::operation::start_automation_event::StartAutomationEventOutput) with field(s):
    ///   - [`recommended_action_id(Option<String>)`](crate::operation::start_automation_event::StartAutomationEventOutput::recommended_action_id): <p>The ID of the recommended action being automated.</p>
    ///   - [`event_id(Option<String>)`](crate::operation::start_automation_event::StartAutomationEventOutput::event_id): <p>The ID of the automation event.</p>
    ///   - [`event_status(Option<EventStatus>)`](crate::operation::start_automation_event::StartAutomationEventOutput::event_status): <p>The current status of the automation event.</p>
    /// - On failure, responds with [`SdkError<StartAutomationEventError>`](crate::operation::start_automation_event::StartAutomationEventError)
    pub fn start_automation_event(&self) -> crate::operation::start_automation_event::builders::StartAutomationEventFluentBuilder {
        crate::operation::start_automation_event::builders::StartAutomationEventFluentBuilder::new(self.handle.clone())
    }
}