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§
Source§impl Clone for CreateReplaceRootVolumeTaskRequest
impl Clone for CreateReplaceRootVolumeTaskRequest
Source§fn clone(&self) -> CreateReplaceRootVolumeTaskRequest
fn clone(&self) -> CreateReplaceRootVolumeTaskRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for CreateReplaceRootVolumeTaskRequest
impl Default for CreateReplaceRootVolumeTaskRequest
Source§fn default() -> CreateReplaceRootVolumeTaskRequest
fn default() -> CreateReplaceRootVolumeTaskRequest
Source§impl PartialEq for CreateReplaceRootVolumeTaskRequest
impl PartialEq for CreateReplaceRootVolumeTaskRequest
Source§fn eq(&self, other: &CreateReplaceRootVolumeTaskRequest) -> bool
fn eq(&self, other: &CreateReplaceRootVolumeTaskRequest) -> bool
self
and other
values to be equal, and is used by ==
.