pub struct UpdateProject { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateProject.
Updates a project associated with your AWS account and region. With the exception of device template names, you can pass just the values that need to be updated because the update request will change only the values that are provided. To clear a value, pass the empty string (i.e., "").
Implementations§
source§impl UpdateProject
impl UpdateProject
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateProject, AwsResponseRetryClassifier>, SdkError<UpdateProjectError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateProject, AwsResponseRetryClassifier>, SdkError<UpdateProjectError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateProjectOutput, SdkError<UpdateProjectError>>
pub async fn send(
self
) -> Result<UpdateProjectOutput, SdkError<UpdateProjectError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn project_name(self, input: impl Into<String>) -> Self
pub fn project_name(self, input: impl Into<String>) -> Self
The name of the project to be updated.
sourcepub fn set_project_name(self, input: Option<String>) -> Self
pub fn set_project_name(self, input: Option<String>) -> Self
The name of the project to be updated.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
An optional user-defined description for the project.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
An optional user-defined description for the project.
sourcepub fn placement_template(self, input: PlacementTemplate) -> Self
pub fn placement_template(self, input: PlacementTemplate) -> Self
An object defining the project update. Once a project has been created, you cannot add device template names to the project. However, for a given placementTemplate, you can update the associated callbackOverrides for the device definition using this API.
sourcepub fn set_placement_template(self, input: Option<PlacementTemplate>) -> Self
pub fn set_placement_template(self, input: Option<PlacementTemplate>) -> Self
An object defining the project update. Once a project has been created, you cannot add device template names to the project. However, for a given placementTemplate, you can update the associated callbackOverrides for the device definition using this API.
Trait Implementations§
source§impl Clone for UpdateProject
impl Clone for UpdateProject
source§fn clone(&self) -> UpdateProject
fn clone(&self) -> UpdateProject
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more