Struct aws_sdk_greengrassv2::input::create_deployment_input::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for CreateDeploymentInput
Implementations
The ARN of the target IoT thing or thing group.
The ARN of the target IoT thing or thing group.
The name of the deployment.
The name of the deployment.
pub fn components(
self,
k: impl Into<String>,
v: impl Into<ComponentDeploymentSpecification>
) -> Self
pub fn components(
self,
k: impl Into<String>,
v: impl Into<ComponentDeploymentSpecification>
) -> Self
Adds a key-value pair to components
.
To override the contents of this collection use set_components
.
The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value is the version and configuration to deploy for that component.
pub fn set_components(
self,
input: Option<HashMap<String, ComponentDeploymentSpecification>>
) -> Self
pub fn set_components(
self,
input: Option<HashMap<String, ComponentDeploymentSpecification>>
) -> Self
The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value is the version and configuration to deploy for that component.
The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.
The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.
The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.
The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.
A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent. Idempotency means that the request is successfully processed only once, even if you send the request multiple times. When a request succeeds, and you specify the same client token for subsequent successful requests, the IoT Greengrass V2 service returns the successful response that it caches from the previous request. IoT Greengrass V2 caches successful responses for idempotent requests for up to 8 hours.
A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent. Idempotency means that the request is successfully processed only once, even if you send the request multiple times. When a request succeeds, and you specify the same client token for subsequent successful requests, the IoT Greengrass V2 service returns the successful response that it caches from the previous request. IoT Greengrass V2 caches successful responses for idempotent requests for up to 8 hours.
Consumes the builder and constructs a CreateDeploymentInput
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
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