aws_sdk_bedrock/client/
get_marketplace_model_endpoint.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 [`GetMarketplaceModelEndpoint`](crate::operation::get_marketplace_model_endpoint::builders::GetMarketplaceModelEndpointFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`endpoint_arn(impl Into<String>)`](crate::operation::get_marketplace_model_endpoint::builders::GetMarketplaceModelEndpointFluentBuilder::endpoint_arn) / [`set_endpoint_arn(Option<String>)`](crate::operation::get_marketplace_model_endpoint::builders::GetMarketplaceModelEndpointFluentBuilder::set_endpoint_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the endpoint you want to get information about.</p><br>
7    /// - On success, responds with [`GetMarketplaceModelEndpointOutput`](crate::operation::get_marketplace_model_endpoint::GetMarketplaceModelEndpointOutput) with field(s):
8    ///   - [`marketplace_model_endpoint(Option<MarketplaceModelEndpoint>)`](crate::operation::get_marketplace_model_endpoint::GetMarketplaceModelEndpointOutput::marketplace_model_endpoint): <p>Details about the requested endpoint.</p>
9    /// - On failure, responds with [`SdkError<GetMarketplaceModelEndpointError>`](crate::operation::get_marketplace_model_endpoint::GetMarketplaceModelEndpointError)
10    pub fn get_marketplace_model_endpoint(
11        &self,
12    ) -> crate::operation::get_marketplace_model_endpoint::builders::GetMarketplaceModelEndpointFluentBuilder {
13        crate::operation::get_marketplace_model_endpoint::builders::GetMarketplaceModelEndpointFluentBuilder::new(self.handle.clone())
14    }
15}