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 #

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 #

See: updateRoleAlias smart constructor.

Instances

Eq UpdateRoleAlias # 
Data UpdateRoleAlias # 

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 # 
Show UpdateRoleAlias # 
Generic UpdateRoleAlias # 
Hashable UpdateRoleAlias # 
ToJSON UpdateRoleAlias # 
NFData UpdateRoleAlias # 

Methods

rnf :: UpdateRoleAlias -> () #

AWSRequest UpdateRoleAlias # 
ToHeaders UpdateRoleAlias # 
ToPath UpdateRoleAlias # 
ToQuery UpdateRoleAlias # 
type Rep UpdateRoleAlias # 
type Rep UpdateRoleAlias = D1 * (MetaData "UpdateRoleAlias" "Network.AWS.IoT.UpdateRoleAlias" "amazonka-iot-1.6.0-7DkcvCU69a26FkRzomxomK" 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 # 

Request Lenses

uraCredentialDurationSeconds :: Lens' UpdateRoleAlias (Maybe Natural) #

The number of seconds the credential will be valid.

uraRoleAlias :: Lens' UpdateRoleAlias Text #

The role alias to update.

Destructuring the Response

updateRoleAliasResponse #

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 #

See: updateRoleAliasResponse smart constructor.

Instances

Eq UpdateRoleAliasResponse # 
Data UpdateRoleAliasResponse # 

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 # 
Show UpdateRoleAliasResponse # 
Generic UpdateRoleAliasResponse # 
NFData UpdateRoleAliasResponse # 

Methods

rnf :: UpdateRoleAliasResponse -> () #

type Rep UpdateRoleAliasResponse # 
type Rep UpdateRoleAliasResponse = D1 * (MetaData "UpdateRoleAliasResponse" "Network.AWS.IoT.UpdateRoleAlias" "amazonka-iot-1.6.0-7DkcvCU69a26FkRzomxomK" 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

urarsResponseStatus :: Lens' UpdateRoleAliasResponse Int #

  • - | The response status code.