Struct aws_sdk_mobile::client::fluent_builders::UpdateProject
source · pub struct UpdateProject { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateProject
.
Update an existing project.
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 contents(self, input: Blob) -> Self
pub fn contents(self, input: Blob) -> Self
ZIP or YAML file which contains project configuration to be updated. This should be the contents of the file downloaded from the URL provided in an export project operation.
sourcepub fn set_contents(self, input: Option<Blob>) -> Self
pub fn set_contents(self, input: Option<Blob>) -> Self
ZIP or YAML file which contains project configuration to be updated. This should be the contents of the file downloaded from the URL provided in an export project operation.
sourcepub fn project_id(self, input: impl Into<String>) -> Self
pub fn project_id(self, input: impl Into<String>) -> Self
Unique project identifier.
sourcepub fn set_project_id(self, input: Option<String>) -> Self
pub fn set_project_id(self, input: Option<String>) -> Self
Unique project identifier.
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