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.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 Source #

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 Source #

See: resetServiceSpecificCredential smart constructor.

Instances
Eq ResetServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.ResetServiceSpecificCredential

Data ResetServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.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 Source # 
Instance details

Defined in Network.AWS.IAM.ResetServiceSpecificCredential

Show ResetServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.ResetServiceSpecificCredential

Generic ResetServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.ResetServiceSpecificCredential

Associated Types

type Rep ResetServiceSpecificCredential :: Type -> Type #

Hashable ResetServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.ResetServiceSpecificCredential

AWSRequest ResetServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.ResetServiceSpecificCredential

Associated Types

type Rs ResetServiceSpecificCredential :: Type #

ToHeaders ResetServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.ResetServiceSpecificCredential

ToPath ResetServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.ResetServiceSpecificCredential

ToQuery ResetServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.ResetServiceSpecificCredential

NFData ResetServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.ResetServiceSpecificCredential

type Rep ResetServiceSpecificCredential Source # 
Instance details

Defined in Network.AWS.IAM.ResetServiceSpecificCredential

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

Defined in Network.AWS.IAM.ResetServiceSpecificCredential

Request Lenses

rsscUserName :: Lens' ResetServiceSpecificCredential (Maybe Text) Source #

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 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.

Destructuring the Response

resetServiceSpecificCredentialResponse Source #

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 Source #

Instances
Eq ResetServiceSpecificCredentialResponse Source # 
Instance details

Defined in Network.AWS.IAM.ResetServiceSpecificCredential

Data ResetServiceSpecificCredentialResponse Source # 
Instance details

Defined in Network.AWS.IAM.ResetServiceSpecificCredential

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

Defined in Network.AWS.IAM.ResetServiceSpecificCredential

Generic ResetServiceSpecificCredentialResponse Source # 
Instance details

Defined in Network.AWS.IAM.ResetServiceSpecificCredential

NFData ResetServiceSpecificCredentialResponse Source # 
Instance details

Defined in Network.AWS.IAM.ResetServiceSpecificCredential

type Rep ResetServiceSpecificCredentialResponse Source # 
Instance details

Defined in Network.AWS.IAM.ResetServiceSpecificCredential

type Rep ResetServiceSpecificCredentialResponse = D1 (MetaData "ResetServiceSpecificCredentialResponse" "Network.AWS.IAM.ResetServiceSpecificCredential" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" False) (C1 (MetaCons "ResetServiceSpecificCredentialResponse'" PrefixI True) (S1 (MetaSel (Just "_rsscrsServiceSpecificCredential") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ServiceSpecificCredential)) :*: S1 (MetaSel (Just "_rsscrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

rsscrsServiceSpecificCredential :: Lens' ResetServiceSpecificCredentialResponse (Maybe ServiceSpecificCredential) Source #

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.