// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetProductSharingPolicy`](crate::operation::get_product_sharing_policy::builders::GetProductSharingPolicyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`product_id(impl Into<String>)`](crate::operation::get_product_sharing_policy::builders::GetProductSharingPolicyFluentBuilder::product_id) / [`set_product_id(Option<String>)`](crate::operation::get_product_sharing_policy::builders::GetProductSharingPolicyFluentBuilder::set_product_id):<br>required: **true**<br>The identifier of the product.<br>
/// - On success, responds with [`GetProductSharingPolicyOutput`](crate::operation::get_product_sharing_policy::GetProductSharingPolicyOutput) with field(s):
/// - [`product_id(String)`](crate::operation::get_product_sharing_policy::GetProductSharingPolicyOutput::product_id): The identifier of the product.
/// - [`policy_document(String)`](crate::operation::get_product_sharing_policy::GetProductSharingPolicyOutput::policy_document): The sharing policy as a JSON resource policy document.
/// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_product_sharing_policy::GetProductSharingPolicyOutput::tags): Up to 50 tags per request, matching API Gateway's limit of 50 tags per resource.
/// - On failure, responds with [`SdkError<GetProductSharingPolicyError>`](crate::operation::get_product_sharing_policy::GetProductSharingPolicyError)
pub fn get_product_sharing_policy(&self) -> crate::operation::get_product_sharing_policy::builders::GetProductSharingPolicyFluentBuilder {
crate::operation::get_product_sharing_policy::builders::GetProductSharingPolicyFluentBuilder::new(self.handle.clone())
}
}