GetUserPolicy

GET /?Action=GetUserPolicy
Description

Returns information about an inline policy included in a specified user.

Body parameter

Required: false
Name: GetUserPolicyRequest

Name Description Required Schema Default Example

PolicyName

The name of the policy (between 1 and 128 characters).

true

string

UserName

The name of the user (between 1 and 64 characters).

true

string

Responses
HTTP Code 200
HTTP Code Description Schema

200

GetUserPolicyResponse

Response 200

Response 200

Name Description Required Schema Default Example

PolicyDocument

The policy document, providing a description of the policy.

true

string

PolicyName

The name of the inline policy.

true

string

ResponseMetadata

Information about the response.

false

ResponseMetadata

UserName

The name of the user in which the inline policy is included.

true

string