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

Copyright(c) 2013-2016 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.ResetSnapshotAttribute

Contents

Description

Resets permission settings for the specified snapshot.

For more information on modifying snapshot permissions, see Sharing Snapshots in the Amazon Elastic Compute Cloud User Guide.

Synopsis

Creating a Request

resetSnapshotAttribute Source #

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

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

data ResetSnapshotAttribute Source #

Contains the parameters for ResetSnapshotAttribute.

See: resetSnapshotAttribute smart constructor.

Instances

Eq ResetSnapshotAttribute Source # 
Data ResetSnapshotAttribute Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResetSnapshotAttribute -> c ResetSnapshotAttribute #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResetSnapshotAttribute #

toConstr :: ResetSnapshotAttribute -> Constr #

dataTypeOf :: ResetSnapshotAttribute -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ResetSnapshotAttribute) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResetSnapshotAttribute) #

gmapT :: (forall b. Data b => b -> b) -> ResetSnapshotAttribute -> ResetSnapshotAttribute #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResetSnapshotAttribute -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResetSnapshotAttribute -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResetSnapshotAttribute -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResetSnapshotAttribute -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResetSnapshotAttribute -> m ResetSnapshotAttribute #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResetSnapshotAttribute -> m ResetSnapshotAttribute #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResetSnapshotAttribute -> m ResetSnapshotAttribute #

Read ResetSnapshotAttribute Source # 
Show ResetSnapshotAttribute Source # 
Generic ResetSnapshotAttribute Source # 
Hashable ResetSnapshotAttribute Source # 
NFData ResetSnapshotAttribute Source # 

Methods

rnf :: ResetSnapshotAttribute -> () #

AWSRequest ResetSnapshotAttribute Source # 
ToPath ResetSnapshotAttribute Source # 
ToHeaders ResetSnapshotAttribute Source # 
ToQuery ResetSnapshotAttribute Source # 
type Rep ResetSnapshotAttribute Source # 
type Rep ResetSnapshotAttribute = D1 (MetaData "ResetSnapshotAttribute" "Network.AWS.EC2.ResetSnapshotAttribute" "amazonka-ec2-1.4.4-4aYNmHv73MpJXVQjlVKYjQ" False) (C1 (MetaCons "ResetSnapshotAttribute'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rsaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_rsaSnapshotId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_rsaAttribute") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SnapshotAttributeName)))))
type Rs ResetSnapshotAttribute Source # 

Request Lenses

rsaDryRun :: Lens' ResetSnapshotAttribute (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.

rsaAttribute :: Lens' ResetSnapshotAttribute SnapshotAttributeName Source #

The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.

Destructuring the Response

resetSnapshotAttributeResponse :: ResetSnapshotAttributeResponse Source #

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

data ResetSnapshotAttributeResponse Source #

See: resetSnapshotAttributeResponse smart constructor.

Instances

Eq ResetSnapshotAttributeResponse Source # 
Data ResetSnapshotAttributeResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ResetSnapshotAttributeResponse -> c ResetSnapshotAttributeResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ResetSnapshotAttributeResponse #

toConstr :: ResetSnapshotAttributeResponse -> Constr #

dataTypeOf :: ResetSnapshotAttributeResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ResetSnapshotAttributeResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ResetSnapshotAttributeResponse) #

gmapT :: (forall b. Data b => b -> b) -> ResetSnapshotAttributeResponse -> ResetSnapshotAttributeResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ResetSnapshotAttributeResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ResetSnapshotAttributeResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ResetSnapshotAttributeResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ResetSnapshotAttributeResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ResetSnapshotAttributeResponse -> m ResetSnapshotAttributeResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ResetSnapshotAttributeResponse -> m ResetSnapshotAttributeResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ResetSnapshotAttributeResponse -> m ResetSnapshotAttributeResponse #

Read ResetSnapshotAttributeResponse Source # 
Show ResetSnapshotAttributeResponse Source # 
Generic ResetSnapshotAttributeResponse Source # 
NFData ResetSnapshotAttributeResponse Source # 
type Rep ResetSnapshotAttributeResponse Source # 
type Rep ResetSnapshotAttributeResponse = D1 (MetaData "ResetSnapshotAttributeResponse" "Network.AWS.EC2.ResetSnapshotAttribute" "amazonka-ec2-1.4.4-4aYNmHv73MpJXVQjlVKYjQ" False) (C1 (MetaCons "ResetSnapshotAttributeResponse'" PrefixI False) U1)