Get AWS Protection Status
API to get the status of a specific AWS protection.
Path Parameters
- accountId int64 required
Cloud Rewind account ID.
- projectId string required
Cloud Rewind project ID.
- cloudAssemblyId int64 required
AWS cloud assembly ID.
Query Parameters
- protection_id string required
AWS cloud assembly protection ID.
Responses
- 200
- 401
- 403
- 404
- 409
- 412
- 500
OK
- */*
- Schema
- Example (from schema)
Schema
- status string
Possible values: [
created
,preparing
,preparation-completed
,in-progress
,partially-protected
,success
,skipped
,failed
,pruning-failed
,elapsed
]Status of the protection.
Value Description created Indicates the protection was created and initialization is pending. preparing The protection is being prepared, including metadata and resource population. preparation-completed Represents that the resource population phase is completed and the protection is ready to proceed. in-progress Shows that the protection process has started and is currently ongoing. partially-protected Indicates that some associated data or resources are not fully protected. success Indicates that the protection process has completed successfully. skipped Indicates that the protection process was skipped, possibly due to no resources being available. failed Indicates that the protection process has failed. The reason for the failure can be reviewed in the associated error logs. pruning-failed Indicates that the pruning of associated data or metadata has failed. elapsed Indicates that the protection has been pruned or removed, and its associated data and metadata are no longer available.
{
"status": "created"
}
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"
]
}
Loading...