pub struct ModifySnapshotAttributeRequest {
pub attribute: Option<String>,
pub create_volume_permission: Option<CreateVolumePermissionModifications>,
pub dry_run: Option<bool>,
pub group_names: Option<Vec<String>>,
pub operation_type: Option<String>,
pub snapshot_id: String,
pub user_ids: Option<Vec<String>>,
}Fields§
§attribute: Option<String>The snapshot attribute to modify. Only volume creation permissions can be modified.
create_volume_permission: Option<CreateVolumePermissionModifications>A JSON representation of the snapshot attribute modification.
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.
group_names: Option<Vec<String>>The group to modify for the snapshot.
operation_type: Option<String>The type of operation to perform to the attribute.
snapshot_id: StringThe ID of the snapshot.
user_ids: Option<Vec<String>>The account ID to modify for the snapshot.
Trait Implementations§
Source§impl Clone for ModifySnapshotAttributeRequest
impl Clone for ModifySnapshotAttributeRequest
Source§fn clone(&self) -> ModifySnapshotAttributeRequest
fn clone(&self) -> ModifySnapshotAttributeRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ModifySnapshotAttributeRequest
impl Default for ModifySnapshotAttributeRequest
Source§fn default() -> ModifySnapshotAttributeRequest
fn default() -> ModifySnapshotAttributeRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for ModifySnapshotAttributeRequest
impl PartialEq for ModifySnapshotAttributeRequest
Source§fn eq(&self, other: &ModifySnapshotAttributeRequest) -> bool
fn eq(&self, other: &ModifySnapshotAttributeRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModifySnapshotAttributeRequest
Auto Trait Implementations§
impl Freeze for ModifySnapshotAttributeRequest
impl RefUnwindSafe for ModifySnapshotAttributeRequest
impl Send for ModifySnapshotAttributeRequest
impl Sync for ModifySnapshotAttributeRequest
impl Unpin for ModifySnapshotAttributeRequest
impl UnwindSafe for ModifySnapshotAttributeRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more