You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/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",
}

Instance Attribute Summary collapse

Instance Attribute Details

#service_nameString

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

Returns:

  • (String)


5412
5413
5414
5415
5416
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 5412

class ListServiceSpecificCredentialsRequest < Struct.new(
  :user_name,
  :service_name)
  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 (per 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: =,.@-

Returns:

  • (String)


5412
5413
5414
5415
5416
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 5412

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