amazonka-snowball-1.6.0: Amazon Import/Export Snowball 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.Snowball.GetSnowballUsage

Contents

Description

Returns information about the Snowball service limit for your account, and also the number of Snowballs your account has in use.

The default service limit for the number of Snowballs that you can have at one time is 1. If you want to increase your service limit, contact AWS Support.

Synopsis

Creating a Request

getSnowballUsage :: GetSnowballUsage Source #

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

data GetSnowballUsage Source #

See: getSnowballUsage smart constructor.

Instances

Eq GetSnowballUsage Source # 
Data GetSnowballUsage Source # 

Methods

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

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

toConstr :: GetSnowballUsage -> Constr #

dataTypeOf :: GetSnowballUsage -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetSnowballUsage Source # 
Show GetSnowballUsage Source # 
Generic GetSnowballUsage Source # 
Hashable GetSnowballUsage Source # 
ToJSON GetSnowballUsage Source # 
NFData GetSnowballUsage Source # 

Methods

rnf :: GetSnowballUsage -> () #

AWSRequest GetSnowballUsage Source # 
ToHeaders GetSnowballUsage Source # 
ToPath GetSnowballUsage Source # 
ToQuery GetSnowballUsage Source # 
type Rep GetSnowballUsage Source # 
type Rep GetSnowballUsage = D1 * (MetaData "GetSnowballUsage" "Network.AWS.Snowball.GetSnowballUsage" "amazonka-snowball-1.6.0-EVw2rNABl7usxqGiRGMj3" False) (C1 * (MetaCons "GetSnowballUsage'" PrefixI False) (U1 *))
type Rs GetSnowballUsage Source # 

Destructuring the Response

getSnowballUsageResponse Source #

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

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

data GetSnowballUsageResponse Source #

See: getSnowballUsageResponse smart constructor.

Instances

Eq GetSnowballUsageResponse Source # 
Data GetSnowballUsageResponse Source # 

Methods

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

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

toConstr :: GetSnowballUsageResponse -> Constr #

dataTypeOf :: GetSnowballUsageResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetSnowballUsageResponse Source # 
Show GetSnowballUsageResponse Source # 
Generic GetSnowballUsageResponse Source # 
NFData GetSnowballUsageResponse Source # 
type Rep GetSnowballUsageResponse Source # 
type Rep GetSnowballUsageResponse = D1 * (MetaData "GetSnowballUsageResponse" "Network.AWS.Snowball.GetSnowballUsage" "amazonka-snowball-1.6.0-EVw2rNABl7usxqGiRGMj3" False) (C1 * (MetaCons "GetSnowballUsageResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gsursSnowballsInUse") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gsursSnowballLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_gsursResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

gsursSnowballsInUse :: Lens' GetSnowballUsageResponse (Maybe Int) Source #

The number of Snowballs that this account is currently using.

gsursSnowballLimit :: Lens' GetSnowballUsageResponse (Maybe Int) Source #

The service limit for number of Snowballs this account can have at once. The default service limit is 1 (one).