Get AWS Protection Policy
API to get AWS protection policy by protection policy id
Path Parameters
- accountId int64 required
Cloud Rewind account ID.
- projectId string required
Cloud Rewind project ID.
- cloudAssemblyId int64 required
AWS cloud assembly ID.
- id int64 required
AWS Protection Policy 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
Unique identifier for the protection policy
- name string
Name of the protection policy
- description string
Description of the protection policy
- frequencyType string
AWS resource type for the protection policy
- timeZone string
Time zone for the protection policy schedule
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)
- status string
Possible values: [
enabled
,disabled
,paused
,error
,schedule-create-failed
,delete-pending
,delete-in-progress
,delete-snapshots
,delete-resources
,delete-failed
]Status of the policy.
Value Description enabled The policy is enabled. disabled The policy is disabled. paused The policy is paused. error The policy is in error state. schedule-create-failed The policy scheduler creation failed. delete-pending The policy delete process is pending. delete-in-progress The policy delete process is in progress. delete-snapshots The policy delete process is deleting snapshots. delete-resources The policy delete process is deleting resources. delete-failed The policy delete process failed. - createdAt date-time
Timestamp indicating when the protection policy was created
- retentionCount int32
Number of backups to retain
- updatedAt date-time
Timestamp indicating when the protection policy was last updated
replicationPolicies object[]
List of replication policies associated with the protection policy
cloudConnectionId int64AWS replication policy configured cloud connection Id
region stringAWS replication policy configured region
status stringPossible values: [
enabled
,disabled
,paused
,error
,schedule-create-failed
,delete-pending
,delete-in-progress
,delete-snapshots
,delete-resources
,delete-failed
]Status of the policy.
Value Description enabled The policy is enabled. disabled The policy is disabled. paused The policy is paused. error The policy is in error state. schedule-create-failed The policy scheduler creation failed. delete-pending The policy delete process is pending. delete-in-progress The policy delete process is in progress. delete-snapshots The policy delete process is deleting snapshots. delete-resources The policy delete process is deleting resources. delete-failed The policy delete process failed. replicaRetentionCount int32Number of replica backups to retain in the configured region
updatedAt date-timeTimestamp indicating when the replication policy was last updated
{
"accountId": 0,
"projectId": "string",
"id": 0,
"name": "string",
"description": "string",
"frequencyType": "string",
"timeZone": "string",
"frequencyDetails": {
"daysOfWeek": [
"string"
],
"months": [
"string"
],
"daysOfMonth": [
0
],
"hours": [
0
],
"offset": 0
},
"status": "enabled",
"createdAt": "2025-08-28",
"retentionCount": 0,
"updatedAt": "2025-08-28",
"replicationPolicies": [
{
"cloudConnectionId": 0,
"region": "string",
"status": "enabled",
"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"
]
}