Method: AWS::IAM::Client#put_user_policy

Defined in:
lib/aws/iam/client.rb

#put_user_policy(options = {}) ⇒ Core::Response

Calls the PutUserPolicy API operation.

Parameters:

  • options (Hash) (defaults to: {})
    • :user_name - required - (String) Name of the user to associate the policy with.

    • :policy_name - required - (String) Name of the policy document.

    • :policy_document - required - (String) The policy document.

Returns:



985
# File 'lib/aws/iam/client.rb', line 985

define_client_method :put_user_policy, 'PutUserPolicy'