Create a snapshot policy
POST /aws/ha/working-environments/{workingEnvironmentId}/snapshot-policy
Creates a snapshot policy.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
workingEnvironmentId |
string |
path |
True |
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
snapshotPolicyName |
string |
False |
Snapshot policy name |
schedules |
True |
Snapshot policy schedules |
Example request
{
"snapshotPolicyName": "string",
"schedules": [
{}
]
}
Error
Status: Default, Default response
Definitions
See Definitions
SnapshotPolicyScheduleRequest
| Name | Type | Required | Description |
|---|---|---|---|
scheduleType |
string |
True |
Snapshot policy schedule type |
retention |
integer |
True |
Snapshot policy retention |