paws.compute (version 0.1.0)

ec2_describe_snapshot_attribute: Describes the specified attribute of the specified snapshot

Description

Describes the specified attribute of the specified snapshot. You can specify only one attribute at a time.

Usage

ec2_describe_snapshot_attribute(Attribute, SnapshotId, DryRun)

Arguments

Attribute

[required] The snapshot attribute you would like to view.

SnapshotId

[required] The ID of the EBS 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 DryRunOperation. Otherwise, it is UnauthorizedOperation.

Request syntax

svc$describe_snapshot_attribute(
  Attribute = "productCodes"|"createVolumePermission",
  SnapshotId = "string",
  DryRun = TRUE|FALSE
)

Details

For more information about EBS snapshots, see Amazon EBS Snapshots in the Amazon Elastic Compute Cloud User Guide.

Examples

Run this code
# NOT RUN {
# This example describes the ``createVolumePermission`` attribute on a
# snapshot with the snapshot ID of ``snap-066877671789bd71b``.
# }
# NOT RUN {
svc$describe_snapshot_attribute(
  Attribute = "createVolumePermission",
  SnapshotId = "snap-066877671789bd71b"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab