amazonka-iam-1.6.1: Amazon Identity and Access Management 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.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 operation 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 # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

Data UpdateServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

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 # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

Show UpdateServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

Generic UpdateServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

Associated Types

type Rep UpdateServiceSpecificCredential :: Type -> Type #

Hashable UpdateServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

AWSRequest UpdateServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

Associated Types

type Rs UpdateServiceSpecificCredential :: Type #

ToHeaders UpdateServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

ToPath UpdateServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

ToQuery UpdateServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

NFData UpdateServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

type Rep UpdateServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

type Rep UpdateServiceSpecificCredential = D1 (MetaData "UpdateServiceSpecificCredential" "Network.AWS.IAM.UpdateServiceSpecificCredential" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" False) (C1 (MetaCons "UpdateServiceSpecificCredential'" PrefixI True) (S1 (MetaSel (Just "_usscUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_usscServiceSpecificCredentialId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_usscStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StatusType))))
type Rs UpdateServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

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 # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

Data UpdateServiceSpecificCredentialResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

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 # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

Show UpdateServiceSpecificCredentialResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

Generic UpdateServiceSpecificCredentialResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

NFData UpdateServiceSpecificCredentialResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

type Rep UpdateServiceSpecificCredentialResponse Source # 
Instance details

Defined in Network.AWS.IAM.UpdateServiceSpecificCredential

type Rep UpdateServiceSpecificCredentialResponse = D1 (MetaData "UpdateServiceSpecificCredentialResponse" "Network.AWS.IAM.UpdateServiceSpecificCredential" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" False) (C1 (MetaCons "UpdateServiceSpecificCredentialResponse'" PrefixI False) (U1 :: Type -> Type))