amazonka-glacier-1.6.1: Amazon Glacier SDK.

Copyright(c) 2013-2018 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 #

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 # 
Instance details

Defined in Network.AWS.Glacier.AbortVaultLock

Data AbortVaultLock # 
Instance details

Defined in Network.AWS.Glacier.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 # 
Instance details

Defined in Network.AWS.Glacier.AbortVaultLock

Show AbortVaultLock # 
Instance details

Defined in Network.AWS.Glacier.AbortVaultLock

Generic AbortVaultLock # 
Instance details

Defined in Network.AWS.Glacier.AbortVaultLock

Associated Types

type Rep AbortVaultLock :: Type -> Type #

Hashable AbortVaultLock # 
Instance details

Defined in Network.AWS.Glacier.AbortVaultLock

AWSRequest AbortVaultLock # 
Instance details

Defined in Network.AWS.Glacier.AbortVaultLock

Associated Types

type Rs AbortVaultLock :: Type #

ToHeaders AbortVaultLock # 
Instance details

Defined in Network.AWS.Glacier.AbortVaultLock

ToPath AbortVaultLock # 
Instance details

Defined in Network.AWS.Glacier.AbortVaultLock

ToQuery AbortVaultLock # 
Instance details

Defined in Network.AWS.Glacier.AbortVaultLock

NFData AbortVaultLock # 
Instance details

Defined in Network.AWS.Glacier.AbortVaultLock

Methods

rnf :: AbortVaultLock -> () #

type Rep AbortVaultLock # 
Instance details

Defined in Network.AWS.Glacier.AbortVaultLock

type Rep AbortVaultLock = D1 (MetaData "AbortVaultLock" "Network.AWS.Glacier.AbortVaultLock" "amazonka-glacier-1.6.1-DKdHCKUvjITxCgj6hhopJ" False) (C1 (MetaCons "AbortVaultLock'" PrefixI True) (S1 (MetaSel (Just "_avlAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_avlVaultName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs AbortVaultLock # 
Instance details

Defined in Network.AWS.Glacier.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 # 
Instance details

Defined in Network.AWS.Glacier.AbortVaultLock

Data AbortVaultLockResponse # 
Instance details

Defined in Network.AWS.Glacier.AbortVaultLock

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 # 
Instance details

Defined in Network.AWS.Glacier.AbortVaultLock

Show AbortVaultLockResponse # 
Instance details

Defined in Network.AWS.Glacier.AbortVaultLock

Generic AbortVaultLockResponse # 
Instance details

Defined in Network.AWS.Glacier.AbortVaultLock

Associated Types

type Rep AbortVaultLockResponse :: Type -> Type #

NFData AbortVaultLockResponse # 
Instance details

Defined in Network.AWS.Glacier.AbortVaultLock

Methods

rnf :: AbortVaultLockResponse -> () #

type Rep AbortVaultLockResponse # 
Instance details

Defined in Network.AWS.Glacier.AbortVaultLock

type Rep AbortVaultLockResponse = D1 (MetaData "AbortVaultLockResponse" "Network.AWS.Glacier.AbortVaultLock" "amazonka-glacier-1.6.1-DKdHCKUvjITxCgj6hhopJ" False) (C1 (MetaCons "AbortVaultLockResponse'" PrefixI False) (U1 :: Type -> Type))