aws_sdk_ssmsap/client/get_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 [`GetOperation`](crate::operation::get_operation::builders::GetOperationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`operation_id(impl Into<String>)`](crate::operation::get_operation::builders::GetOperationFluentBuilder::operation_id) / [`set_operation_id(Option<String>)`](crate::operation::get_operation::builders::GetOperationFluentBuilder::set_operation_id):<br>required: **true**<br><p>The ID of the operation.</p><br>
7 /// - On success, responds with [`GetOperationOutput`](crate::operation::get_operation::GetOperationOutput) with field(s):
8 /// - [`operation(Option<Operation>)`](crate::operation::get_operation::GetOperationOutput::operation): <p>Returns the details of an operation.</p>
9 /// - On failure, responds with [`SdkError<GetOperationError>`](crate::operation::get_operation::GetOperationError)
10 pub fn get_operation(&self) -> crate::operation::get_operation::builders::GetOperationFluentBuilder {
11 crate::operation::get_operation::builders::GetOperationFluentBuilder::new(self.handle.clone())
12 }
13}