// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetDeployment`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`rest_api_id(impl Into<String>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::rest_api_id) / [`set_rest_api_id(Option<String>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::set_rest_api_id):<br>required: **true**<br><p>The string identifier of the associated RestApi.</p><br>
/// - [`deployment_id(impl Into<String>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::deployment_id) / [`set_deployment_id(Option<String>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::set_deployment_id):<br>required: **true**<br><p>The identifier of the Deployment resource to get information about.</p><br>
/// - [`embed(impl Into<String>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::embed) / [`set_embed(Option<Vec::<String>>)`](crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::set_embed):<br>required: **false**<br><p>A query parameter to retrieve the specified embedded resources of the returned Deployment resource in the response. In a REST API call, this <code>embed</code> parameter value is a list of comma-separated strings, as in <code>GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=var1,var2</code>. The SDK and other platform-dependent libraries might use a different format for the list. Currently, this request supports only retrieval of the embedded API summary this way. Hence, the parameter value must be a single-valued list containing only the <code>"apisummary"</code> string. For example, <code>GET /restapis/{restapi_id}/deployments/{deployment_id}?embed=apisummary</code>.</p><br>
/// - On success, responds with [`GetDeploymentOutput`](crate::operation::get_deployment::GetDeploymentOutput) with field(s):
/// - [`id(Option<String>)`](crate::operation::get_deployment::GetDeploymentOutput::id): <p>The identifier for the deployment resource.</p>
/// - [`description(Option<String>)`](crate::operation::get_deployment::GetDeploymentOutput::description): <p>The description for the deployment resource.</p>
/// - [`created_date(Option<DateTime>)`](crate::operation::get_deployment::GetDeploymentOutput::created_date): <p>The date and time that the deployment resource was created.</p>
/// - [`api_summary(Option<HashMap::<String, HashMap::<String, MethodSnapshot>>>)`](crate::operation::get_deployment::GetDeploymentOutput::api_summary): <p>A summary of the RestApi at the date and time that the deployment resource was created.</p>
/// - On failure, responds with [`SdkError<GetDeploymentError>`](crate::operation::get_deployment::GetDeploymentError)
pub fn get_deployment(&self) -> crate::operation::get_deployment::builders::GetDeploymentFluentBuilder {
crate::operation::get_deployment::builders::GetDeploymentFluentBuilder::new(self.handle.clone())
}
}