CreatePolicyVersion
GET /?Action=CreatePolicyVersion
Description
Creates a new version of a specified managed policy.
A managed policy can have up to five versions.
Body parameter
Required: false
Name: CreatePolicyVersionRequest
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
PolicyArn |
The Outscale Resource Name (ORN) of the policy. For more information, see Resource Identifiers. |
true |
string |
||
PolicyDocument |
The policy document, corresponding to a JSON string that contains the new version of the policy. For more information, see EIM Reference Information. |
true |
string |
||
SetAsDefault |
If set to |
false |
boolean |
Responses
HTTP Code 200
HTTP Code | Description | Schema |
---|---|---|
200 |
CreatePolicyVersionResponse |
Response 200
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
PolicyVersion |
Information about the policy version. |
false |
|||
ResponseMetadata |
Information about the response. |
false |