Struct aws_sdk_devicefarm::input::UpdateProjectInput
source · #[non_exhaustive]pub struct UpdateProjectInput { /* private fields */ }Expand description
Represents a request to the update project operation.
Implementations§
source§impl UpdateProjectInput
impl UpdateProjectInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateProject, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateProject, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateProject>
Examples found in repository?
src/client.rs (line 8158)
8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateProject,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateProjectError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateProjectOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateProjectError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateProjectInput.
source§impl UpdateProjectInput
impl UpdateProjectInput
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the project whose name to update.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
A string that represents the new name of the project that you are updating.
sourcepub fn default_job_timeout_minutes(&self) -> Option<i32>
pub fn default_job_timeout_minutes(&self) -> Option<i32>
The number of minutes a test run in the project executes before it times out.
sourcepub fn vpc_config(&self) -> Option<&VpcConfig>
pub fn vpc_config(&self) -> Option<&VpcConfig>
The VPC security groups and subnets that are attached to a project.
Trait Implementations§
source§impl Clone for UpdateProjectInput
impl Clone for UpdateProjectInput
source§fn clone(&self) -> UpdateProjectInput
fn clone(&self) -> UpdateProjectInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more