aws_sdk_controltower/client/get_control_operation.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 [`GetControlOperation`](crate::operation::get_control_operation::builders::GetControlOperationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`GetControlOperationOutput`](crate::operation::get_control_operation::GetControlOperationOutput) with field(s):
8 /// - [`control_operation(Option<ControlOperation>)`](crate::operation::get_control_operation::GetControlOperationOutput::control_operation): <p>An operation performed by the control.</p>
9 /// - On failure, responds with [`SdkError<GetControlOperationError>`](crate::operation::get_control_operation::GetControlOperationError)
10 pub fn get_control_operation(&self) -> crate::operation::get_control_operation::builders::GetControlOperationFluentBuilder {
11 crate::operation::get_control_operation::builders::GetControlOperationFluentBuilder::new(self.handle.clone())
12 }
13}