aws_sdk_controltower/client/
get_control_operation.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetControlOperation`](crate::operation::get_control_operation::builders::GetControlOperationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`operation_identifier(impl Into<String>)`](crate::operation::get_control_operation::builders::GetControlOperationFluentBuilder::operation_identifier) / [`set_operation_identifier(Option<String>)`](crate::operation::get_control_operation::builders::GetControlOperationFluentBuilder::set_operation_identifier):<br>required: **true**<br><p>The ID of the asynchronous operation, which is used to track status. The operation is available for 90 days.</p><br>
    /// - On success, responds with [`GetControlOperationOutput`](crate::operation::get_control_operation::GetControlOperationOutput) with field(s):
    ///   - [`control_operation(Option<ControlOperation>)`](crate::operation::get_control_operation::GetControlOperationOutput::control_operation): <p>An operation performed by the control.</p>
    /// - On failure, responds with [`SdkError<GetControlOperationError>`](crate::operation::get_control_operation::GetControlOperationError)
    pub fn get_control_operation(&self) -> crate::operation::get_control_operation::builders::GetControlOperationFluentBuilder {
        crate::operation::get_control_operation::builders::GetControlOperationFluentBuilder::new(self.handle.clone())
    }
}