amazonka-ec2-1.0.0: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DescribeSnapshotAttribute

Contents

Description

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

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

See: AWS API Reference for DescribeSnapshotAttribute.

Synopsis

Creating a Request

describeSnapshotAttribute Source

Creates a value of DescribeSnapshotAttribute with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dsaDryRun :: Lens' DescribeSnapshotAttribute (Maybe Bool) Source

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.

dsaAttribute :: Lens' DescribeSnapshotAttribute SnapshotAttributeName Source

The snapshot attribute you would like to view.

Destructuring the Response

describeSnapshotAttributeResponse Source

Creates a value of DescribeSnapshotAttributeResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

dsarsCreateVolumePermissions :: Lens' DescribeSnapshotAttributeResponse [CreateVolumePermission] Source

A list of permissions for creating volumes from the snapshot.