Class: Aws::IAM::Types::GetLoginProfileRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#user_nameString

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

This parameter is optional. If no user name is included, it defaults to the principal making the request. When you make this request with root user credentials, you must use an [AssumeRoot] session to omit the user name.

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

[1]: docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoot.html [2]: wikipedia.org/wiki/regex

Returns:

  • (String)


3522
3523
3524
3525
3526
# File 'lib/aws-sdk-iam/types.rb', line 3522

class GetLoginProfileRequest < Struct.new(
  :user_name)
  SENSITIVE = []
  include Aws::Structure
end