amazonka-storagegateway-1.4.4: Amazon Storage Gateway 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.StorageGateway.UpdateVTLDeviceType

Contents

Description

Updates the type of medium changer in a gateway-VTL. When you activate a gateway-VTL, you select a medium changer type for the gateway-VTL. This operation enables you to select a different type of medium changer after a gateway-VTL is activated.

Synopsis

Creating a Request

updateVTLDeviceType Source #

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

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

data UpdateVTLDeviceType Source #

See: updateVTLDeviceType smart constructor.

Instances

Eq UpdateVTLDeviceType Source # 
Data UpdateVTLDeviceType Source # 

Methods

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

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

toConstr :: UpdateVTLDeviceType -> Constr #

dataTypeOf :: UpdateVTLDeviceType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateVTLDeviceType Source # 
Show UpdateVTLDeviceType Source # 
Generic UpdateVTLDeviceType Source # 
Hashable UpdateVTLDeviceType Source # 
NFData UpdateVTLDeviceType Source # 

Methods

rnf :: UpdateVTLDeviceType -> () #

AWSRequest UpdateVTLDeviceType Source # 
ToPath UpdateVTLDeviceType Source # 
ToHeaders UpdateVTLDeviceType Source # 
ToQuery UpdateVTLDeviceType Source # 
ToJSON UpdateVTLDeviceType Source # 
type Rep UpdateVTLDeviceType Source # 
type Rep UpdateVTLDeviceType = D1 (MetaData "UpdateVTLDeviceType" "Network.AWS.StorageGateway.UpdateVTLDeviceType" "amazonka-storagegateway-1.4.4-HOInns2Rr9V9xD6G5ZVbNW" False) (C1 (MetaCons "UpdateVTLDeviceType'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uvtldtVTLDeviceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_uvtldtDeviceType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateVTLDeviceType Source # 

Request Lenses

uvtldtVTLDeviceARN :: Lens' UpdateVTLDeviceType Text Source #

The Amazon Resource Name (ARN) of the medium changer you want to select.

uvtldtDeviceType :: Lens' UpdateVTLDeviceType Text Source #

The type of medium changer you want to select.

Valid Values: "STK-L700", "AWS-Gateway-VTL"

Destructuring the Response

updateVTLDeviceTypeResponse Source #

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

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

data UpdateVTLDeviceTypeResponse Source #

UpdateVTLDeviceTypeOutput

See: updateVTLDeviceTypeResponse smart constructor.

Instances

Eq UpdateVTLDeviceTypeResponse Source # 
Data UpdateVTLDeviceTypeResponse Source # 

Methods

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

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

toConstr :: UpdateVTLDeviceTypeResponse -> Constr #

dataTypeOf :: UpdateVTLDeviceTypeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateVTLDeviceTypeResponse Source # 
Show UpdateVTLDeviceTypeResponse Source # 
Generic UpdateVTLDeviceTypeResponse Source # 
NFData UpdateVTLDeviceTypeResponse Source # 
type Rep UpdateVTLDeviceTypeResponse Source # 
type Rep UpdateVTLDeviceTypeResponse = D1 (MetaData "UpdateVTLDeviceTypeResponse" "Network.AWS.StorageGateway.UpdateVTLDeviceType" "amazonka-storagegateway-1.4.4-HOInns2Rr9V9xD6G5ZVbNW" False) (C1 (MetaCons "UpdateVTLDeviceTypeResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uvtldtrsVTLDeviceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_uvtldtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

uvtldtrsVTLDeviceARN :: Lens' UpdateVTLDeviceTypeResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the medium changer you have selected.