View source: R/ec2_operations.R
ec2_modify_snapshot_attribute | R Documentation |
Adds or removes permission settings for the specified snapshot. You may add or remove specified Amazon Web Services account IDs from a snapshot's list of create volume permissions, but you cannot do both in a single operation. If you need to both add and remove account IDs for a snapshot, you must use multiple operations. You can make up to 500 modifications to a snapshot in a single operation.
See https://www.paws-r-sdk.com/docs/ec2_modify_snapshot_attribute/ for full documentation.
ec2_modify_snapshot_attribute(
Attribute = NULL,
CreateVolumePermission = NULL,
GroupNames = NULL,
OperationType = NULL,
SnapshotId,
UserIds = NULL,
DryRun = NULL
)
Attribute |
The snapshot attribute to modify. Only volume creation permissions can be modified. |
CreateVolumePermission |
A JSON representation of the snapshot attribute modification. |
GroupNames |
The group to modify for the snapshot. |
OperationType |
The type of operation to perform to the attribute. |
SnapshotId |
[required] The ID of the snapshot. |
UserIds |
The account ID to modify for the snapshot. |
DryRun |
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.