Class: Aws::IAM::Types::GetUserResponse

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iam/types.rb

Overview

Contains the response to a successful GetUser request.

Instance Attribute Summary collapse

Instance Attribute Details

#userTypes::User

A structure containing details about the IAM user.

Due to a service issue, password last used data does not include password use from May 3, 2018 22:50 PDT to May 23, 2018 14:08 PDT. This affects [last sign-in] dates shown in the IAM console and password last used dates in the [IAM credential report], and returned by this GetUser API. If users signed in during the affected time, the password last used date that is returned is the date the user last signed in before May 3, 2018. For users that signed in after May 23, 2018 14:08 PDT, the returned password last used date is accurate.

You can use password last used information to identify unused

credentials for deletion. For example, you might delete users who did not sign in to AWS in the last 90 days. In cases like this, we recommend that you adjust your evaluation window to include dates after May 23, 2018. Alternatively, if your users use access keys to access AWS programmatically you can refer to access key last used information because it is accurate for all dates.

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_finding-unused.html [2]: docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_getting-report.html

Returns:



4534
4535
4536
4537
# File 'lib/aws-sdk-iam/types.rb', line 4534

class GetUserResponse < Struct.new(
  :user)
  include Aws::Structure
end