Learn R Programming

paws.security.identity (version 0.1.11)

iam_get_login_profile: Retrieves the user name and password-creation date for the specified IAM user

Description

Retrieves the user name and password-creation date for the specified IAM user. If the user has not been assigned a password, the operation returns a 404 (NoSuchEntity) error.

Usage

iam_get_login_profile(UserName)

Arguments

UserName

[required] The name of the user whose login profile you want to retrieve.

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

Value

A list with the following syntax:

list(
  LoginProfile = list(
    UserName = "string",
    CreateDate = as.POSIXct(
      "2015-01-01"
    ),
    PasswordResetRequired = TRUE|FALSE
  )
)

Request syntax

svc$get_login_profile(
  UserName = "string"
)

Examples

Run this code
# NOT RUN {
# The following command gets information about the password for the IAM
# user named Anika.
svc$get_login_profile(
  UserName = "Anika"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab