paws.security.identity (version 0.1.0)

iam_get_user: Retrieves information about the specified IAM user, including the user's creation date, path, unique ID, and ARN

Description

Retrieves information about the specified IAM user, including the user's creation date, path, unique ID, and ARN.

Usage

iam_get_user(UserName)

Arguments

UserName

The name of the user to get information about.

This parameter is optional. If it is not included, it defaults to the user making the request. 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 syntax

svc$get_user(
  UserName = "string"
)

Details

If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID used to sign the request to this API.

Examples

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

Run the code above in your browser using DataLab