Struct aws_sdk_greengrass::client::fluent_builders::CreateSoftwareUpdateJob [−][src]
pub struct CreateSoftwareUpdateJob<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateSoftwareUpdateJob
.
Creates a software update for a core or group of cores (specified as an IoT thing group.) Use this to update the OTA Agent as well as the Greengrass core software. It makes use of the IoT Jobs feature which provides additional commands to manage a Greengrass core software update job.
Implementations
impl<C, M, R> CreateSoftwareUpdateJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateSoftwareUpdateJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateSoftwareUpdateJobOutput, SdkError<CreateSoftwareUpdateJobError>> where
R::Policy: SmithyRetryPolicy<CreateSoftwareUpdateJobInputOperationOutputAlias, CreateSoftwareUpdateJobOutput, CreateSoftwareUpdateJobError, CreateSoftwareUpdateJobInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateSoftwareUpdateJobOutput, SdkError<CreateSoftwareUpdateJobError>> where
R::Policy: SmithyRetryPolicy<CreateSoftwareUpdateJobInputOperationOutputAlias, CreateSoftwareUpdateJobOutput, CreateSoftwareUpdateJobError, CreateSoftwareUpdateJobInputOperationRetryAlias>,
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.
A client token used to correlate requests and responses.
A client token used to correlate requests and responses.
The IAM Role that Greengrass will use to create pre-signed URLs pointing towards the update artifact.
The IAM Role that Greengrass will use to create pre-signed URLs pointing towards the update artifact.
The piece of software on the Greengrass core that will be updated.
The piece of software on the Greengrass core that will be updated.
The minimum level of log statements that should be logged by the OTA Agent during an update.
The minimum level of log statements that should be logged by the OTA Agent during an update.
Appends an item to UpdateTargets
.
To override the contents of this collection use set_update_targets
.
The ARNs of the targets (IoT things or IoT thing groups) that this update will be applied to.
The ARNs of the targets (IoT things or IoT thing groups) that this update will be applied to.
The architecture of the cores which are the targets of an update.
pub fn set_update_targets_architecture(
self,
input: Option<UpdateTargetsArchitecture>
) -> Self
pub fn set_update_targets_architecture(
self,
input: Option<UpdateTargetsArchitecture>
) -> Self
The architecture of the cores which are the targets of an update.
The operating system of the cores which are the targets of an update.
pub fn set_update_targets_operating_system(
self,
input: Option<UpdateTargetsOperatingSystem>
) -> Self
pub fn set_update_targets_operating_system(
self,
input: Option<UpdateTargetsOperatingSystem>
) -> Self
The operating system of the cores which are the targets of an update.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateSoftwareUpdateJob<C, M, R>
impl<C, M, R> Send for CreateSoftwareUpdateJob<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateSoftwareUpdateJob<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateSoftwareUpdateJob<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateSoftwareUpdateJob<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more