PutGroupPolicy
GET /?Action=PutGroupPolicy
Description
Creates or updates an inline policy included in a specified group.
The policy is automatically applied to all the users of the group after its creation.
Body parameter
Required: false
Name: PutGroupPolicyRequest
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
GroupName |
The name of the group. |
true |
string |
||
PolicyDocument |
The policy document, corresponding to a JSON string that contains the policy. For more information, see EIM Reference Information. |
true |
string |
||
PolicyName |
The name of the policy. |
true |
string |
Responses
HTTP Code 200
HTTP Code | Description | Schema |
---|---|---|
200 |
PutGroupPolicyResponse |
Response 200
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
ResponseMetadata |
Information about the response. |
false |