SetDefaultPolicyVersion
GET /?Action=SetDefaultPolicyVersion
Description
Sets a specified version of a managed policy as the default (operative) one.
You can modify the default version of a policy at any time.
Body parameter
Required: false
Name: SetDefaultPolicyVersionRequest
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
PolicyArn |
The unique identifier (ARN) of the policy. |
true |
string |
||
VersionId |
The ID of the version. |
true |
string |
Responses
HTTP Code 200
| HTTP Code | Description | Schema |
|---|---|---|
200 |
SetDefaultPolicyVersionResponse |
Response 200
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
ResponseMetadata |
Information about the response. |
false |