aws_sdk_outposts/client/get_catalog_item.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 [`GetCatalogItem`](crate::operation::get_catalog_item::builders::GetCatalogItemFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`catalog_item_id(impl Into<String>)`](crate::operation::get_catalog_item::builders::GetCatalogItemFluentBuilder::catalog_item_id) / [`set_catalog_item_id(Option<String>)`](crate::operation::get_catalog_item::builders::GetCatalogItemFluentBuilder::set_catalog_item_id):<br>required: **true**<br><p>The ID of the catalog item.</p><br>
7 /// - On success, responds with [`GetCatalogItemOutput`](crate::operation::get_catalog_item::GetCatalogItemOutput) with field(s):
8 /// - [`catalog_item(Option<CatalogItem>)`](crate::operation::get_catalog_item::GetCatalogItemOutput::catalog_item): <p>Information about this catalog item.</p>
9 /// - On failure, responds with [`SdkError<GetCatalogItemError>`](crate::operation::get_catalog_item::GetCatalogItemError)
10 pub fn get_catalog_item(&self) -> crate::operation::get_catalog_item::builders::GetCatalogItemFluentBuilder {
11 crate::operation::get_catalog_item::builders::GetCatalogItemFluentBuilder::new(self.handle.clone())
12 }
13}