aws-sdk-computeoptimizerautomation 1.7.0

AWS SDK for Compute Optimizer Automation
Documentation
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 [`RollbackAutomationEvent`](crate::operation::rollback_automation_event::builders::RollbackAutomationEventFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`event_id(impl Into<String>)`](crate::operation::rollback_automation_event::builders::RollbackAutomationEventFluentBuilder::event_id) / [`set_event_id(Option<String>)`](crate::operation::rollback_automation_event::builders::RollbackAutomationEventFluentBuilder::set_event_id):<br>required: **true**<br><p>The ID of the automation event to roll back.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::rollback_automation_event::builders::RollbackAutomationEventFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::rollback_automation_event::builders::RollbackAutomationEventFluentBuilder::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 [`RollbackAutomationEventOutput`](crate::operation::rollback_automation_event::RollbackAutomationEventOutput) with field(s):
    ///   - [`event_id(Option<String>)`](crate::operation::rollback_automation_event::RollbackAutomationEventOutput::event_id): <p>The ID of the automation event being rolled back.</p>
    ///   - [`event_status(Option<EventStatus>)`](crate::operation::rollback_automation_event::RollbackAutomationEventOutput::event_status): <p>The current status of the rollback operation.</p>
    /// - On failure, responds with [`SdkError<RollbackAutomationEventError>`](crate::operation::rollback_automation_event::RollbackAutomationEventError)
    pub fn rollback_automation_event(&self) -> crate::operation::rollback_automation_event::builders::RollbackAutomationEventFluentBuilder {
        crate::operation::rollback_automation_event::builders::RollbackAutomationEventFluentBuilder::new(self.handle.clone())
    }
}