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

Description

Deletes the password for the specified IAM user, which terminates the user's ability to access Amazon Web Services services through the Amazon Web Services Management Console.

You can use the CLI, the Amazon Web Services API, or the Users page in the IAM console to delete a password for any IAM user. You can use ChangePassword to update, but not delete, your own password in the __My Security Credentials__ page in the Amazon Web Services Management Console.

Deleting a user's password does not prevent a user from accessing Amazon Web Services through the command line interface or the API. To prevent all user access, you must also either make any access keys inactive or delete them. For more information about making keys inactive or deleting them, see UpdateAccessKey and DeleteAccessKey.

Synopsis

Creating a Request

data DeleteLoginProfile Source #

See: newDeleteLoginProfile smart constructor.

Constructors

DeleteLoginProfile' 

Fields

  • userName :: Text

    The name of the user whose password you want to delete.

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

Instances

Instances details
Eq DeleteLoginProfile Source # 
Instance details

Defined in Amazonka.IAM.DeleteLoginProfile

Read DeleteLoginProfile Source # 
Instance details

Defined in Amazonka.IAM.DeleteLoginProfile

Show DeleteLoginProfile Source # 
Instance details

Defined in Amazonka.IAM.DeleteLoginProfile

Generic DeleteLoginProfile Source # 
Instance details

Defined in Amazonka.IAM.DeleteLoginProfile

Associated Types

type Rep DeleteLoginProfile :: Type -> Type #

NFData DeleteLoginProfile Source # 
Instance details

Defined in Amazonka.IAM.DeleteLoginProfile

Methods

rnf :: DeleteLoginProfile -> () #

Hashable DeleteLoginProfile Source # 
Instance details

Defined in Amazonka.IAM.DeleteLoginProfile

AWSRequest DeleteLoginProfile Source # 
Instance details

Defined in Amazonka.IAM.DeleteLoginProfile

Associated Types

type AWSResponse DeleteLoginProfile #

ToHeaders DeleteLoginProfile Source # 
Instance details

Defined in Amazonka.IAM.DeleteLoginProfile

ToPath DeleteLoginProfile Source # 
Instance details

Defined in Amazonka.IAM.DeleteLoginProfile

ToQuery DeleteLoginProfile Source # 
Instance details

Defined in Amazonka.IAM.DeleteLoginProfile

type Rep DeleteLoginProfile Source # 
Instance details

Defined in Amazonka.IAM.DeleteLoginProfile

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

Defined in Amazonka.IAM.DeleteLoginProfile

newDeleteLoginProfile Source #

Create a value of DeleteLoginProfile 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:DeleteLoginProfile', deleteLoginProfile_userName - The name of the user whose password you want to delete.

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

Request Lenses

deleteLoginProfile_userName :: Lens' DeleteLoginProfile Text Source #

The name of the user whose password you want to delete.

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

Destructuring the Response

data DeleteLoginProfileResponse Source #

See: newDeleteLoginProfileResponse smart constructor.

Instances

Instances details
Eq DeleteLoginProfileResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteLoginProfile

Read DeleteLoginProfileResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteLoginProfile

Show DeleteLoginProfileResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteLoginProfile

Generic DeleteLoginProfileResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteLoginProfile

Associated Types

type Rep DeleteLoginProfileResponse :: Type -> Type #

NFData DeleteLoginProfileResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteLoginProfile

type Rep DeleteLoginProfileResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteLoginProfile

type Rep DeleteLoginProfileResponse = D1 ('MetaData "DeleteLoginProfileResponse" "Amazonka.IAM.DeleteLoginProfile" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "DeleteLoginProfileResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteLoginProfileResponse :: DeleteLoginProfileResponse Source #

Create a value of DeleteLoginProfileResponse with all optional fields omitted.

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