aws_sdk_sagemaker/client/
update_project.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 [`UpdateProject`](crate::operation::update_project::builders::UpdateProjectFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`project_name(impl Into<String>)`](crate::operation::update_project::builders::UpdateProjectFluentBuilder::project_name) / [`set_project_name(Option<String>)`](crate::operation::update_project::builders::UpdateProjectFluentBuilder::set_project_name):<br>required: **true**<br><p>The name of the project.</p><br>
7    ///   - [`project_description(impl Into<String>)`](crate::operation::update_project::builders::UpdateProjectFluentBuilder::project_description) / [`set_project_description(Option<String>)`](crate::operation::update_project::builders::UpdateProjectFluentBuilder::set_project_description):<br>required: **false**<br><p>The description for the project.</p><br>
8    ///   - [`service_catalog_provisioning_update_details(ServiceCatalogProvisioningUpdateDetails)`](crate::operation::update_project::builders::UpdateProjectFluentBuilder::service_catalog_provisioning_update_details) / [`set_service_catalog_provisioning_update_details(Option<ServiceCatalogProvisioningUpdateDetails>)`](crate::operation::update_project::builders::UpdateProjectFluentBuilder::set_service_catalog_provisioning_update_details):<br>required: **false**<br><p>The product ID and provisioning artifact ID to provision a service catalog. The provisioning artifact ID will default to the latest provisioning artifact ID of the product, if you don't provide the provisioning artifact ID. For more information, see <a href="https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html">What is Amazon Web Services Service Catalog</a>.</p><br>
9    ///   - [`tags(Tag)`](crate::operation::update_project::builders::UpdateProjectFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::update_project::builders::UpdateProjectFluentBuilder::set_tags):<br>required: **false**<br><p>An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services Resources</a>. In addition, the project must have tag update constraints set in order to include this parameter in the request. For more information, see <a href="https://docs.aws.amazon.com/servicecatalog/latest/adminguide/constraints-resourceupdate.html">Amazon Web Services Service Catalog Tag Update Constraints</a>.</p><br>
10    /// - On success, responds with [`UpdateProjectOutput`](crate::operation::update_project::UpdateProjectOutput) with field(s):
11    ///   - [`project_arn(Option<String>)`](crate::operation::update_project::UpdateProjectOutput::project_arn): <p>The Amazon Resource Name (ARN) of the project.</p>
12    /// - On failure, responds with [`SdkError<UpdateProjectError>`](crate::operation::update_project::UpdateProjectError)
13    pub fn update_project(&self) -> crate::operation::update_project::builders::UpdateProjectFluentBuilder {
14        crate::operation::update_project::builders::UpdateProjectFluentBuilder::new(self.handle.clone())
15    }
16}