GetPolicy
GET /?Action=GetPolicy
Description
Retrieves information about a specified managed policy (default version, users or groups the policy is attached to).
To get information about inline policies, use the GetUserPolicy and GetGroupPolicy methods.
|
Note
|
If you exceed the number of identical requests allowed for a configured time period, the |
Body parameter
Required: false
Name: GetPolicyRequest
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
PolicyArn |
The unique ressource identifier for the policy. |
true |
string |
Responses
HTTP Code 200
| HTTP Code | Description | Schema |
|---|---|---|
200 |
GetPolicyResponse |
Response 200
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
Policy |
Information about the managed policy. |
false |
|||
ResponseMetadata |
Information about the response. |
false |