Class: Aws::IAM::Types::ListServiceSpecificCredentialsRequest

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

Overview

Note:

When making an API call, you may pass ListServiceSpecificCredentialsRequest data as a hash:

{
  user_name: "userNameType",
  service_name: "serviceName",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#service_nameString

Filters the returned results to only those for the specified Amazon Web Services service. If not specified, then Amazon Web Services returns service-specific credentials for all services.

Returns:

  • (String)

7686
7687
7688
7689
7690
7691
# File 'lib/aws-sdk-iam/types.rb', line 7686

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

#user_nameString

The name of the user whose service-specific credentials you want information about. If this value is not specified, then the operation assumes the user whose credentials are used to call the operation.

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: _+=,[email protected]

[1]: wikipedia.org/wiki/regex

Returns:

  • (String)

7686
7687
7688
7689
7690
7691
# File 'lib/aws-sdk-iam/types.rb', line 7686

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