1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateDeployment`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`rest_api_id(impl Into<String>)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::rest_api_id) / [`set_rest_api_id(Option<String>)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::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::update_deployment::builders::UpdateDeploymentFluentBuilder::deployment_id) / [`set_deployment_id(Option<String>)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::set_deployment_id):<br>required: **true**<br><p>The replacement identifier for the Deployment resource to change information about.</p><br>
    ///   - [`patch_operations(PatchOperation)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::patch_operations) / [`set_patch_operations(Option<Vec::<PatchOperation>>)`](crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::set_patch_operations):<br>required: **false**<br><p>For more information about supported patch operations, see <a href="https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html">Patch Operations</a>.</p><br>
    /// - On success, responds with [`UpdateDeploymentOutput`](crate::operation::update_deployment::UpdateDeploymentOutput) with field(s):
    ///   - [`id(Option<String>)`](crate::operation::update_deployment::UpdateDeploymentOutput::id): <p>The identifier for the deployment resource.</p>
    ///   - [`description(Option<String>)`](crate::operation::update_deployment::UpdateDeploymentOutput::description): <p>The description for the deployment resource.</p>
    ///   - [`created_date(Option<DateTime>)`](crate::operation::update_deployment::UpdateDeploymentOutput::created_date): <p>The date and time that the deployment resource was created.</p>
    ///   - [`api_summary(Option<HashMap::<String, HashMap::<String, MethodSnapshot>>>)`](crate::operation::update_deployment::UpdateDeploymentOutput::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<UpdateDeploymentError>`](crate::operation::update_deployment::UpdateDeploymentError)
    pub fn update_deployment(&self) -> crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder {
        crate::operation::update_deployment::builders::UpdateDeploymentFluentBuilder::new(self.handle.clone())
    }
}