Class: Aws::IAM::Types::GetUserPolicyResponse

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

Overview

Contains the response to a successful GetUserPolicy request.

Instance Attribute Summary collapse

Instance Attribute Details

#policy_documentString

The policy document.

Returns:

  • (String)


3599
3600
3601
3602
3603
3604
# File 'lib/aws-sdk-iam/types.rb', line 3599

class GetUserPolicyResponse < Struct.new(
  :user_name,
  :policy_name,
  :policy_document)
  include Aws::Structure
end

#policy_nameString

The name of the policy.

Returns:

  • (String)


3599
3600
3601
3602
3603
3604
# File 'lib/aws-sdk-iam/types.rb', line 3599

class GetUserPolicyResponse < Struct.new(
  :user_name,
  :policy_name,
  :policy_document)
  include Aws::Structure
end

#user_nameString

The user the policy is associated with.

Returns:

  • (String)


3599
3600
3601
3602
3603
3604
# File 'lib/aws-sdk-iam/types.rb', line 3599

class GetUserPolicyResponse < Struct.new(
  :user_name,
  :policy_name,
  :policy_document)
  include Aws::Structure
end