libZSservicesZSamazonka-iamZSamazonka-iam
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IAM.ResetServiceSpecificCredential

Description

Resets the password for a service-specific credential. The new password is Amazon Web Services 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

data ResetServiceSpecificCredential Source #

See: newResetServiceSpecificCredential smart constructor.

Constructors

ResetServiceSpecificCredential' 

Fields

  • userName :: 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 (through 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: _+=,.@-

  • serviceSpecificCredentialId :: Text

    The unique identifier of the service-specific credential.

    This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.

Instances

Instances details
Eq ResetServiceSpecificCredential Source # 
Instance details

Defined in Amazonka.IAM.ResetServiceSpecificCredential

Read ResetServiceSpecificCredential Source # 
Instance details

Defined in Amazonka.IAM.ResetServiceSpecificCredential

Show ResetServiceSpecificCredential Source # 
Instance details

Defined in Amazonka.IAM.ResetServiceSpecificCredential

Generic ResetServiceSpecificCredential Source # 
Instance details

Defined in Amazonka.IAM.ResetServiceSpecificCredential

Associated Types

type Rep ResetServiceSpecificCredential :: Type -> Type #

NFData ResetServiceSpecificCredential Source # 
Instance details

Defined in Amazonka.IAM.ResetServiceSpecificCredential

Hashable ResetServiceSpecificCredential Source # 
Instance details

Defined in Amazonka.IAM.ResetServiceSpecificCredential

AWSRequest ResetServiceSpecificCredential Source # 
Instance details

Defined in Amazonka.IAM.ResetServiceSpecificCredential

ToHeaders ResetServiceSpecificCredential Source # 
Instance details

Defined in Amazonka.IAM.ResetServiceSpecificCredential

ToPath ResetServiceSpecificCredential Source # 
Instance details

Defined in Amazonka.IAM.ResetServiceSpecificCredential

ToQuery ResetServiceSpecificCredential Source # 
Instance details

Defined in Amazonka.IAM.ResetServiceSpecificCredential

type Rep ResetServiceSpecificCredential Source # 
Instance details

Defined in Amazonka.IAM.ResetServiceSpecificCredential

type Rep ResetServiceSpecificCredential = D1 ('MetaData "ResetServiceSpecificCredential" "Amazonka.IAM.ResetServiceSpecificCredential" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "ResetServiceSpecificCredential'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "serviceSpecificCredentialId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ResetServiceSpecificCredential Source # 
Instance details

Defined in Amazonka.IAM.ResetServiceSpecificCredential

newResetServiceSpecificCredential Source #

Create a value of ResetServiceSpecificCredential with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:userName:ResetServiceSpecificCredential', resetServiceSpecificCredential_userName - 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 (through 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: _+=,.@-

$sel:serviceSpecificCredentialId:ResetServiceSpecificCredential', resetServiceSpecificCredential_serviceSpecificCredentialId - The unique identifier of the service-specific credential.

This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.

Request Lenses

resetServiceSpecificCredential_userName :: 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 (through 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: _+=,.@-

resetServiceSpecificCredential_serviceSpecificCredentialId :: Lens' ResetServiceSpecificCredential Text Source #

The unique identifier of the service-specific credential.

This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.

Destructuring the Response

data ResetServiceSpecificCredentialResponse Source #

Constructors

ResetServiceSpecificCredentialResponse' 

Fields

Instances

Instances details
Eq ResetServiceSpecificCredentialResponse Source # 
Instance details

Defined in Amazonka.IAM.ResetServiceSpecificCredential

Show ResetServiceSpecificCredentialResponse Source # 
Instance details

Defined in Amazonka.IAM.ResetServiceSpecificCredential

Generic ResetServiceSpecificCredentialResponse Source # 
Instance details

Defined in Amazonka.IAM.ResetServiceSpecificCredential

NFData ResetServiceSpecificCredentialResponse Source # 
Instance details

Defined in Amazonka.IAM.ResetServiceSpecificCredential

type Rep ResetServiceSpecificCredentialResponse Source # 
Instance details

Defined in Amazonka.IAM.ResetServiceSpecificCredential

type Rep ResetServiceSpecificCredentialResponse = D1 ('MetaData "ResetServiceSpecificCredentialResponse" "Amazonka.IAM.ResetServiceSpecificCredential" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "ResetServiceSpecificCredentialResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceSpecificCredential") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServiceSpecificCredential)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newResetServiceSpecificCredentialResponse Source #

Create a value of ResetServiceSpecificCredentialResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:serviceSpecificCredential:ResetServiceSpecificCredentialResponse', resetServiceSpecificCredentialResponse_serviceSpecificCredential - A structure with details about the updated service-specific credential, including the new password.

This is the only time that you can access the password. You cannot recover the password later, but you can reset it again.

$sel:httpStatus:ResetServiceSpecificCredentialResponse', resetServiceSpecificCredentialResponse_httpStatus - The response's http status code.

Response Lenses

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

A structure with details about the updated service-specific credential, including the new password.

This is the only time that you can access the password. You cannot recover the password later, but you can reset it again.