amazonka-glacier-1.5.0: Amazon Glacier SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 Source #

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 Source #

The input values for AbortVaultLock .

See: abortVaultLock smart constructor.

Instances

Eq AbortVaultLock Source # 
Data AbortVaultLock Source # 

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 Source # 
Show AbortVaultLock Source # 
Generic AbortVaultLock Source # 

Associated Types

type Rep AbortVaultLock :: * -> * #

Hashable AbortVaultLock Source # 
NFData AbortVaultLock Source # 

Methods

rnf :: AbortVaultLock -> () #

AWSRequest AbortVaultLock Source # 
ToQuery AbortVaultLock Source # 
ToPath AbortVaultLock Source # 
ToHeaders AbortVaultLock Source # 
type Rep AbortVaultLock Source # 
type Rep AbortVaultLock = D1 (MetaData "AbortVaultLock" "Network.AWS.Glacier.AbortVaultLock" "amazonka-glacier-1.5.0-AWAt53IVogG613fTETHcMP" 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 Source # 

Request Lenses

avlAccountId :: Lens' AbortVaultLock Text Source #

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 Source #

The name of the vault.

Destructuring the Response

abortVaultLockResponse :: AbortVaultLockResponse Source #

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

data AbortVaultLockResponse Source #

See: abortVaultLockResponse smart constructor.

Instances

Eq AbortVaultLockResponse Source # 
Data AbortVaultLockResponse Source # 

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 Source # 
Show AbortVaultLockResponse Source # 
Generic AbortVaultLockResponse Source # 
NFData AbortVaultLockResponse Source # 

Methods

rnf :: AbortVaultLockResponse -> () #

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