amazonka-iam-1.5.0: Amazon Identity and Access Management SDK.

Copyright(c) 2013-2017 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.IAM.UpdateServiceSpecificCredential

Contents

Description

Sets the status of a service-specific credential to Active or Inactive . Service-specific credentials that are inactive cannot be used for authentication to the service. This action can be used to disable a user’s service-specific credential as part of a credential rotation work flow.

Synopsis

Creating a Request

updateServiceSpecificCredential Source #

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

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

  • usscUserName - The name of the IAM user associated with the service-specific credential. If you do not specify this value, then the operation assumes the user whose credentials are used to call the operation. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
  • usscServiceSpecificCredentialId - The unique identifier of the service-specific credential. This parameter allows (per its regex pattern ) a string of characters that can consist of any upper or lowercased letter or digit.
  • usscStatus - The status to be assigned to the service-specific credential.

data UpdateServiceSpecificCredential Source #

See: updateServiceSpecificCredential smart constructor.

Instances

Eq UpdateServiceSpecificCredential Source # 
Data UpdateServiceSpecificCredential Source # 

Methods

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

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

toConstr :: UpdateServiceSpecificCredential -> Constr #

dataTypeOf :: UpdateServiceSpecificCredential -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateServiceSpecificCredential Source # 
Show UpdateServiceSpecificCredential Source # 
Generic UpdateServiceSpecificCredential Source # 
Hashable UpdateServiceSpecificCredential Source # 
NFData UpdateServiceSpecificCredential Source # 
AWSRequest UpdateServiceSpecificCredential Source # 
ToQuery UpdateServiceSpecificCredential Source # 
ToPath UpdateServiceSpecificCredential Source # 
ToHeaders UpdateServiceSpecificCredential Source # 
type Rep UpdateServiceSpecificCredential Source # 
type Rep UpdateServiceSpecificCredential = D1 (MetaData "UpdateServiceSpecificCredential" "Network.AWS.IAM.UpdateServiceSpecificCredential" "amazonka-iam-1.5.0-2w4nVHAOrDgI2P1QVLKd9e" False) (C1 (MetaCons "UpdateServiceSpecificCredential'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_usscUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_usscServiceSpecificCredentialId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_usscStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StatusType)))))
type Rs UpdateServiceSpecificCredential Source # 

Request Lenses

usscUserName :: Lens' UpdateServiceSpecificCredential (Maybe Text) Source #

The name of the IAM user associated with the service-specific credential. If you do not specify this value, then the operation assumes the user whose credentials are used to call the operation. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-

usscServiceSpecificCredentialId :: Lens' UpdateServiceSpecificCredential Text Source #

The unique identifier of the service-specific credential. This parameter allows (per its regex pattern ) a string of characters that can consist of any upper or lowercased letter or digit.

usscStatus :: Lens' UpdateServiceSpecificCredential StatusType Source #

The status to be assigned to the service-specific credential.

Destructuring the Response

data UpdateServiceSpecificCredentialResponse Source #

Instances

Eq UpdateServiceSpecificCredentialResponse Source # 
Data UpdateServiceSpecificCredentialResponse Source # 

Methods

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

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

toConstr :: UpdateServiceSpecificCredentialResponse -> Constr #

dataTypeOf :: UpdateServiceSpecificCredentialResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateServiceSpecificCredentialResponse Source # 
Show UpdateServiceSpecificCredentialResponse Source # 
Generic UpdateServiceSpecificCredentialResponse Source # 
NFData UpdateServiceSpecificCredentialResponse Source # 
type Rep UpdateServiceSpecificCredentialResponse Source # 
type Rep UpdateServiceSpecificCredentialResponse = D1 (MetaData "UpdateServiceSpecificCredentialResponse" "Network.AWS.IAM.UpdateServiceSpecificCredential" "amazonka-iam-1.5.0-2w4nVHAOrDgI2P1QVLKd9e" False) (C1 (MetaCons "UpdateServiceSpecificCredentialResponse'" PrefixI False) U1)