aws_sdk_datazone/client/get_listing.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 [`GetListing`](crate::operation::get_listing::builders::GetListingFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`domain_identifier(impl Into<String>)`](crate::operation::get_listing::builders::GetListingFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::get_listing::builders::GetListingFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain.</p><br>
7 /// - [`identifier(impl Into<String>)`](crate::operation::get_listing::builders::GetListingFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_listing::builders::GetListingFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the listing.</p><br>
8 /// - [`listing_revision(impl Into<String>)`](crate::operation::get_listing::builders::GetListingFluentBuilder::listing_revision) / [`set_listing_revision(Option<String>)`](crate::operation::get_listing::builders::GetListingFluentBuilder::set_listing_revision):<br>required: **false**<br><p>The revision of the listing.</p><br>
9 /// - On success, responds with [`GetListingOutput`](crate::operation::get_listing::GetListingOutput) with field(s):
10 /// - [`domain_id(String)`](crate::operation::get_listing::GetListingOutput::domain_id): <p>The ID of the Amazon DataZone domain.</p>
11 /// - [`id(String)`](crate::operation::get_listing::GetListingOutput::id): <p>The ID of the listing.</p>
12 /// - [`listing_revision(String)`](crate::operation::get_listing::GetListingOutput::listing_revision): <p>The revision of a listing.</p>
13 /// - [`created_at(Option<DateTime>)`](crate::operation::get_listing::GetListingOutput::created_at): <p>The timestamp of when the listing was created.</p>
14 /// - [`updated_at(Option<DateTime>)`](crate::operation::get_listing::GetListingOutput::updated_at): <p>The timestamp of when the listing was updated.</p>
15 /// - [`created_by(Option<String>)`](crate::operation::get_listing::GetListingOutput::created_by): <p>The Amazon DataZone user who created the listing.</p>
16 /// - [`updated_by(Option<String>)`](crate::operation::get_listing::GetListingOutput::updated_by): <p>The Amazon DataZone user who updated the listing.</p>
17 /// - [`item(Option<ListingItem>)`](crate::operation::get_listing::GetListingOutput::item): <p>The details of a listing.</p>
18 /// - [`name(Option<String>)`](crate::operation::get_listing::GetListingOutput::name): <p>The name of the listing.</p>
19 /// - [`description(Option<String>)`](crate::operation::get_listing::GetListingOutput::description): <p>The description of the listing.</p>
20 /// - [`status(Option<ListingStatus>)`](crate::operation::get_listing::GetListingOutput::status): <p>The status of the listing.</p>
21 /// - On failure, responds with [`SdkError<GetListingError>`](crate::operation::get_listing::GetListingError)
22 pub fn get_listing(&self) -> crate::operation::get_listing::builders::GetListingFluentBuilder {
23 crate::operation::get_listing::builders::GetListingFluentBuilder::new(self.handle.clone())
24 }
25}