amazonka-glacier-1.4.5: Amazon Glacier 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.Glacier.AbortVaultLock

Contents

Description

This operation aborts the vault locking process if the vault lock is not in the Locked state. If the vault lock is in the Locked state when this operation is requested, the operation returns an AccessDeniedException error. Aborting the vault locking process removes the vault lock policy from the specified vault.

A vault lock is put into the InProgress state by calling InitiateVaultLock . A vault lock is put into the Locked state by calling CompleteVaultLock . You can get the state of a vault lock by calling GetVaultLock . For more information about the vault locking process, see Amazon Glacier Vault Lock . For more information about vault lock policies, see Amazon Glacier Access Control with Vault Lock Policies .

This operation is idempotent. You can successfully invoke this operation multiple times, if the vault lock is in the InProgress state or if there is no policy associated with the vault.

Synopsis

Creating a Request

abortVaultLock #

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

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

  • avlAccountId - The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '- ' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens (-) in the ID.
  • avlVaultName - The name of the vault.

data AbortVaultLock #

The input values for AbortVaultLock .

See: abortVaultLock smart constructor.

Instances

Eq AbortVaultLock # 
Data AbortVaultLock # 

Methods

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

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

toConstr :: AbortVaultLock -> Constr #

dataTypeOf :: AbortVaultLock -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AbortVaultLock # 
Show AbortVaultLock # 
Generic AbortVaultLock # 

Associated Types

type Rep AbortVaultLock :: * -> * #

Hashable AbortVaultLock # 
NFData AbortVaultLock # 

Methods

rnf :: AbortVaultLock -> () #

AWSRequest AbortVaultLock # 
ToQuery AbortVaultLock # 
ToPath AbortVaultLock # 
ToHeaders AbortVaultLock # 
type Rep AbortVaultLock # 
type Rep AbortVaultLock = D1 (MetaData "AbortVaultLock" "Network.AWS.Glacier.AbortVaultLock" "amazonka-glacier-1.4.5-1XURZNaWj8uGGcizdrtXIY" False) (C1 (MetaCons "AbortVaultLock'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_avlAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_avlVaultName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs AbortVaultLock # 

Request Lenses

avlAccountId :: Lens' AbortVaultLock Text #

The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '- ' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens (-) in the ID.

avlVaultName :: Lens' AbortVaultLock Text #

The name of the vault.

Destructuring the Response

abortVaultLockResponse :: AbortVaultLockResponse #

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

data AbortVaultLockResponse #

See: abortVaultLockResponse smart constructor.

Instances

Eq AbortVaultLockResponse # 
Data AbortVaultLockResponse # 

Methods

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

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

toConstr :: AbortVaultLockResponse -> Constr #

dataTypeOf :: AbortVaultLockResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AbortVaultLockResponse # 
Show AbortVaultLockResponse # 
Generic AbortVaultLockResponse # 
NFData AbortVaultLockResponse # 

Methods

rnf :: AbortVaultLockResponse -> () #

type Rep AbortVaultLockResponse # 
type Rep AbortVaultLockResponse = D1 (MetaData "AbortVaultLockResponse" "Network.AWS.Glacier.AbortVaultLock" "amazonka-glacier-1.4.5-1XURZNaWj8uGGcizdrtXIY" False) (C1 (MetaCons "AbortVaultLockResponse'" PrefixI False) U1)