Struct rusoto_ec2::CreateReplaceRootVolumeTaskRequest [−][src]
pub struct CreateReplaceRootVolumeTaskRequest { pub client_token: Option<String>, pub dry_run: Option<bool>, pub instance_id: String, pub snapshot_id: Option<String>, pub tag_specifications: Option<Vec<TagSpecification>>, }
Fields
client_token: Option<String>
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency. For more information, see Ensuring Idempotency.
dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
instance_id: String
The ID of the instance for which to replace the root volume.
snapshot_id: Option<String>
The ID of the snapshot from which to restore the replacement root volume. If you want to restore the volume to the initial launch state, omit this parameter.
tag_specifications: Option<Vec<TagSpecification>>
The tags to apply to the root volume replacement task.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for CreateReplaceRootVolumeTaskRequest
impl Sync for CreateReplaceRootVolumeTaskRequest
impl Unpin for CreateReplaceRootVolumeTaskRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self