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.PurchaseProvisionedCapacity

Contents

Description

This operation purchases a provisioned capacity unit for an AWS account.

Synopsis

Creating a Request

purchaseProvisionedCapacity Source #

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

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

  • ppcAccountId - The AWS account ID of the account that owns the vault. 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 use an account ID, don't include any hyphens (-) in the ID.

data PurchaseProvisionedCapacity Source #

See: purchaseProvisionedCapacity smart constructor.

Instances
Eq PurchaseProvisionedCapacity Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

Data PurchaseProvisionedCapacity Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

Methods

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

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

toConstr :: PurchaseProvisionedCapacity -> Constr #

dataTypeOf :: PurchaseProvisionedCapacity -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PurchaseProvisionedCapacity Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

Show PurchaseProvisionedCapacity Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

Generic PurchaseProvisionedCapacity Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

Associated Types

type Rep PurchaseProvisionedCapacity :: Type -> Type #

Hashable PurchaseProvisionedCapacity Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

ToJSON PurchaseProvisionedCapacity Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

AWSRequest PurchaseProvisionedCapacity Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

Associated Types

type Rs PurchaseProvisionedCapacity :: Type #

ToHeaders PurchaseProvisionedCapacity Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

ToPath PurchaseProvisionedCapacity Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

ToQuery PurchaseProvisionedCapacity Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

NFData PurchaseProvisionedCapacity Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

type Rep PurchaseProvisionedCapacity Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

type Rep PurchaseProvisionedCapacity = D1 (MetaData "PurchaseProvisionedCapacity" "Network.AWS.Glacier.PurchaseProvisionedCapacity" "amazonka-glacier-1.6.1-1jk94OYE8nZKrGhzWrcb8m" True) (C1 (MetaCons "PurchaseProvisionedCapacity'" PrefixI True) (S1 (MetaSel (Just "_ppcAccountId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs PurchaseProvisionedCapacity Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

Request Lenses

ppcAccountId :: Lens' PurchaseProvisionedCapacity Text Source #

The AWS account ID of the account that owns the vault. 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 use an account ID, don't include any hyphens (-) in the ID.

Destructuring the Response

purchaseProvisionedCapacityResponse Source #

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

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

data PurchaseProvisionedCapacityResponse Source #

See: purchaseProvisionedCapacityResponse smart constructor.

Instances
Eq PurchaseProvisionedCapacityResponse Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

Data PurchaseProvisionedCapacityResponse Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

Methods

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

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

toConstr :: PurchaseProvisionedCapacityResponse -> Constr #

dataTypeOf :: PurchaseProvisionedCapacityResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PurchaseProvisionedCapacityResponse Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

Show PurchaseProvisionedCapacityResponse Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

Generic PurchaseProvisionedCapacityResponse Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

NFData PurchaseProvisionedCapacityResponse Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

type Rep PurchaseProvisionedCapacityResponse Source # 
Instance details

Defined in Network.AWS.Glacier.PurchaseProvisionedCapacity

type Rep PurchaseProvisionedCapacityResponse = D1 (MetaData "PurchaseProvisionedCapacityResponse" "Network.AWS.Glacier.PurchaseProvisionedCapacity" "amazonka-glacier-1.6.1-1jk94OYE8nZKrGhzWrcb8m" False) (C1 (MetaCons "PurchaseProvisionedCapacityResponse'" PrefixI True) (S1 (MetaSel (Just "_ppcrsCapacityId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ppcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

ppcrsCapacityId :: Lens' PurchaseProvisionedCapacityResponse (Maybe Text) Source #

The ID that identifies the provisioned capacity unit.