Get AWS policy template
API to fetch AWS policy template
Path Parameters
- accountId int64 required
Cloud Rewind account ID.
- projectId string required
Cloud Rewind project ID.
- id int64 required
AWS policy template ID
- 200
- 401
- 403
- 404
- 409
- 412
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- accountId int64
Cloud Rewind account ID.
- projectId string
Cloud Rewind project ID.
- id int64
AWS policy template ID
- name string
Name of the policy template
- description string
Description of the policy template
- frequencyType string
Frequency type for the policy
frequencyDetails object
Details about the frequency configuration of the policy template
daysOfWeek string[]Days of the week
months string[]Months of the year
daysOfMonth int32[]Days of the month
hours int32[]Hours of the day
offset int32Delays the defined scheduled execution time (in minutes)
- timeZone string
Specifies the time zone to be used in interpreting schedule
- retentionCount int32
Specifies the number of protections to retain
- createdAt date-time
The time when the Policy template was created
- replicaRetentionCount int32
Specifies the number of replications to retain
- updatedAt date-time
The time when the Policy template was updated
{
"accountId": 0,
"projectId": "string",
"id": 0,
"name": "string",
"description": "string",
"frequencyType": "string",
"frequencyDetails": {
"daysOfWeek": [
"string"
],
"months": [
"string"
],
"daysOfMonth": [
0
],
"hours": [
0
],
"offset": 0
},
"timeZone": "string",
"retentionCount": 0,
"createdAt": "2025-08-28",
"replicaRetentionCount": 0,
"updatedAt": "2025-08-28"
}
Unauthorized
- */*
- Schema
- Example (from schema)
Schema
errors object[]
code stringmessage stringtype stringfieldErrors object
property name*
string- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Forbidden
- */*
- Schema
- Example (from schema)
Schema
errors object[]
code stringmessage stringtype stringfieldErrors object
property name*
string- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Not Found
- */*
- Schema
- Example (from schema)
Schema
errors object[]
code stringmessage stringtype stringfieldErrors object
property name*
string- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Conflict
- */*
- Schema
- Example (from schema)
Schema
errors object[]
code stringmessage stringtype stringfieldErrors object
property name*
string- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Precondition Failed
- */*
- Schema
- Example (from schema)
Schema
errors object[]
code stringmessage stringtype stringfieldErrors object
property name*
string- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Internal Server Error
- */*
- Schema
- Example (from schema)
Schema
errors object[]
code stringmessage stringtype stringfieldErrors object
property name*
string- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}