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

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

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


3464
3465
3466
3467
3468
3469
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 3464

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

#policy_nameString

The name of the policy.

Returns:

  • (String)


3464
3465
3466
3467
3468
3469
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 3464

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)


3464
3465
3466
3467
3468
3469
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 3464

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