aws_sdk_outposts/client/
get_outpost.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 [`GetOutpost`](crate::operation::get_outpost::builders::GetOutpostFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`outpost_id(impl Into<String>)`](crate::operation::get_outpost::builders::GetOutpostFluentBuilder::outpost_id) / [`set_outpost_id(Option<String>)`](crate::operation::get_outpost::builders::GetOutpostFluentBuilder::set_outpost_id):<br>required: **true**<br><p>The ID or ARN of the Outpost.</p><br>
7    /// - On success, responds with [`GetOutpostOutput`](crate::operation::get_outpost::GetOutpostOutput) with field(s):
8    ///   - [`outpost(Option<Outpost>)`](crate::operation::get_outpost::GetOutpostOutput::outpost): <p>Information about an Outpost.</p>
9    /// - On failure, responds with [`SdkError<GetOutpostError>`](crate::operation::get_outpost::GetOutpostError)
10    pub fn get_outpost(&self) -> crate::operation::get_outpost::builders::GetOutpostFluentBuilder {
11        crate::operation::get_outpost::builders::GetOutpostFluentBuilder::new(self.handle.clone())
12    }
13}