ModifySnapshotAttributeRequest
¶
Source code in docs_src/capo_ec2/types/modify_snapshot_attribute_request.py
attribute
instance-attribute
¶
attribute: NotRequired[SnapshotAttributeName]
The snapshot attribute to modify. Only volume creation permissions can be modified.
create_volume_permission
instance-attribute
¶
create_volume_permission: NotRequired[CreateVolumePermissionModifications]
A JSON representation of the snapshot attribute modification.
dry_run
instance-attribute
¶
dry_run: NotRequired[Boolean]
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
instance-attribute
¶
group_names: NotRequired[GroupNameStringList]
The group to modify for the snapshot.
operation_type
instance-attribute
¶
operation_type: NotRequired[OperationType]
The type of operation to perform to the attribute.
user_ids
instance-attribute
¶
user_ids: NotRequired[UserIdStringList]
The account ID to modify for the snapshot.