amazonka-iam-1.6.0: 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.ResetServiceSpecificCredential

Contents

Description

Resets the password for a service-specific credential. The new password is AWS generated and cryptographically strong. It cannot be configured by the user. Resetting the password immediately invalidates the previous password associated with this user.

Synopsis

Creating a Request

resetServiceSpecificCredential #

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

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

  • rsscUserName - The name of the IAM user associated with the service-specific credential. If this value is not specified, 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: _+=,.@-
  • rsscServiceSpecificCredentialId - 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.

data ResetServiceSpecificCredential #

See: resetServiceSpecificCredential smart constructor.

Instances

Eq ResetServiceSpecificCredential # 
Data ResetServiceSpecificCredential # 

Methods

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

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

toConstr :: ResetServiceSpecificCredential -> Constr #

dataTypeOf :: ResetServiceSpecificCredential -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ResetServiceSpecificCredential # 
Show ResetServiceSpecificCredential # 
Generic ResetServiceSpecificCredential # 
Hashable ResetServiceSpecificCredential # 
NFData ResetServiceSpecificCredential # 
AWSRequest ResetServiceSpecificCredential # 
ToHeaders ResetServiceSpecificCredential # 
ToPath ResetServiceSpecificCredential # 
ToQuery ResetServiceSpecificCredential # 
type Rep ResetServiceSpecificCredential # 
type Rep ResetServiceSpecificCredential = D1 * (MetaData "ResetServiceSpecificCredential" "Network.AWS.IAM.ResetServiceSpecificCredential" "amazonka-iam-1.6.0-1EzdHSXYgBWIEzsCXYmity" False) (C1 * (MetaCons "ResetServiceSpecificCredential'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rsscUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_rsscServiceSpecificCredentialId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs ResetServiceSpecificCredential # 

Request Lenses

rsscUserName :: Lens' ResetServiceSpecificCredential (Maybe Text) #

The name of the IAM user associated with the service-specific credential. If this value is not specified, 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: _+=,.@-

rsscServiceSpecificCredentialId :: Lens' ResetServiceSpecificCredential Text #

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.

Destructuring the Response

resetServiceSpecificCredentialResponse #

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

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

  • rsscrsServiceSpecificCredential - A structure with details about the updated service-specific credential, including the new password. Important: This is the only time that you can access the password. You cannot recover the password later, but you can reset it again.
  • rsscrsResponseStatus - -- | The response status code.

data ResetServiceSpecificCredentialResponse #

Instances

Eq ResetServiceSpecificCredentialResponse # 
Data ResetServiceSpecificCredentialResponse # 

Methods

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

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

toConstr :: ResetServiceSpecificCredentialResponse -> Constr #

dataTypeOf :: ResetServiceSpecificCredentialResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResetServiceSpecificCredentialResponse # 
Generic ResetServiceSpecificCredentialResponse # 
NFData ResetServiceSpecificCredentialResponse # 
type Rep ResetServiceSpecificCredentialResponse # 
type Rep ResetServiceSpecificCredentialResponse = D1 * (MetaData "ResetServiceSpecificCredentialResponse" "Network.AWS.IAM.ResetServiceSpecificCredential" "amazonka-iam-1.6.0-1EzdHSXYgBWIEzsCXYmity" False) (C1 * (MetaCons "ResetServiceSpecificCredentialResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rsscrsServiceSpecificCredential") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ServiceSpecificCredential))) (S1 * (MetaSel (Just Symbol "_rsscrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

rsscrsServiceSpecificCredential :: Lens' ResetServiceSpecificCredentialResponse (Maybe ServiceSpecificCredential) #

A structure with details about the updated service-specific credential, including the new password. Important: This is the only time that you can access the password. You cannot recover the password later, but you can reset it again.