Struct aws_sdk_iot::operation::update_package_configuration::builders::UpdatePackageConfigurationFluentBuilder
source · pub struct UpdatePackageConfigurationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdatePackageConfiguration
.
Updates the software package configuration.
Requires permission to access the UpdatePackageConfiguration and iam:PassRole actions.
Implementations§
source§impl UpdatePackageConfigurationFluentBuilder
impl UpdatePackageConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &UpdatePackageConfigurationInputBuilder
pub fn as_input(&self) -> &UpdatePackageConfigurationInputBuilder
Access the UpdatePackageConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<UpdatePackageConfigurationOutput, SdkError<UpdatePackageConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<UpdatePackageConfigurationOutput, SdkError<UpdatePackageConfigurationError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<UpdatePackageConfigurationOutput, UpdatePackageConfigurationError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdatePackageConfigurationOutput, UpdatePackageConfigurationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn version_update_by_jobs_config(
self,
input: VersionUpdateByJobsConfig
) -> Self
pub fn version_update_by_jobs_config( self, input: VersionUpdateByJobsConfig ) -> Self
Configuration to manage job's package version reporting. This updates the thing's reserved named shadow that the job targets.
sourcepub fn set_version_update_by_jobs_config(
self,
input: Option<VersionUpdateByJobsConfig>
) -> Self
pub fn set_version_update_by_jobs_config( self, input: Option<VersionUpdateByJobsConfig> ) -> Self
Configuration to manage job's package version reporting. This updates the thing's reserved named shadow that the job targets.
sourcepub fn get_version_update_by_jobs_config(
&self
) -> &Option<VersionUpdateByJobsConfig>
pub fn get_version_update_by_jobs_config( &self ) -> &Option<VersionUpdateByJobsConfig>
Configuration to manage job's package version reporting. This updates the thing's reserved named shadow that the job targets.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
Trait Implementations§
source§impl Clone for UpdatePackageConfigurationFluentBuilder
impl Clone for UpdatePackageConfigurationFluentBuilder
source§fn clone(&self) -> UpdatePackageConfigurationFluentBuilder
fn clone(&self) -> UpdatePackageConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more