amazonka-iot-1.6.0: Amazon IoT 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.IoT.UpdateRoleAlias

Contents

Description

Updates a role alias.

Synopsis

Creating a Request

updateRoleAlias Source #

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

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

data UpdateRoleAlias Source #

See: updateRoleAlias smart constructor.

Instances

Eq UpdateRoleAlias Source # 
Data UpdateRoleAlias Source # 

Methods

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

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

toConstr :: UpdateRoleAlias -> Constr #

dataTypeOf :: UpdateRoleAlias -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: UpdateRoleAlias -> () #

AWSRequest UpdateRoleAlias Source # 
ToHeaders UpdateRoleAlias Source # 
ToPath UpdateRoleAlias Source # 
ToQuery UpdateRoleAlias Source # 
type Rep UpdateRoleAlias Source # 
type Rep UpdateRoleAlias = D1 * (MetaData "UpdateRoleAlias" "Network.AWS.IoT.UpdateRoleAlias" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "UpdateRoleAlias'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_uraCredentialDurationSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uraRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uraRoleAlias") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs UpdateRoleAlias Source # 

Request Lenses

uraCredentialDurationSeconds :: Lens' UpdateRoleAlias (Maybe Natural) Source #

The number of seconds the credential will be valid.

uraRoleAlias :: Lens' UpdateRoleAlias Text Source #

The role alias to update.

Destructuring the Response

updateRoleAliasResponse Source #

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

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

data UpdateRoleAliasResponse Source #

See: updateRoleAliasResponse smart constructor.

Instances

Eq UpdateRoleAliasResponse Source # 
Data UpdateRoleAliasResponse Source # 

Methods

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

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

toConstr :: UpdateRoleAliasResponse -> Constr #

dataTypeOf :: UpdateRoleAliasResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateRoleAliasResponse Source # 
Show UpdateRoleAliasResponse Source # 
Generic UpdateRoleAliasResponse Source # 
NFData UpdateRoleAliasResponse Source # 

Methods

rnf :: UpdateRoleAliasResponse -> () #

type Rep UpdateRoleAliasResponse Source # 
type Rep UpdateRoleAliasResponse = D1 * (MetaData "UpdateRoleAliasResponse" "Network.AWS.IoT.UpdateRoleAlias" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "UpdateRoleAliasResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_urarsRoleAliasARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_urarsRoleAlias") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_urarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses