Get AWS Recovery Resources
API to get AWS recovery resources
Path Parameters
- accountId int64 required
Cloud Rewind account ID.
- projectId string required
Cloud Rewind project ID.
- assemblyId int64 required
AWS cloud assembly ID.
- id string required
AWS Recovery ID
- 200
- 401
- 403
- 404
- 409
- 412
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema array
- name string
Name of the recovery resource
- resourceType string
Possible values: [
instance
,dhcp-options
,ebs-volume
,ebs-snapshot
,eip
,internet-gateway
,nat-gateways
,network-acl
,network-interface
,route-table
,security-group
,subnet
,vpc
,vpn-connection
,customer-gateway
,vpn-gateway
,vpc-peering-connection
,classic-load-balancer
,network-load-balancer
,network-load-balancer-listener
,network-load-balancer-listener-rule
,network-load-balancer-listener-certificate
,network-load-balancer-target-group
,application-load-balancer
,route
,eip-association
,subnet-cidr-block
,subnet-network-acl-association
,security-group-ingress
,security-group-egress
,network-acl-entry
,subnet-route-table-association
,vpc-cidr-block
,vpc-dhcp-options-association
,vpc-gateway-attachment
,vpn-connection-route
,dedicated-host
,rds-cluster
,rds-cluster-parameter-group
,rds-instance
,rds-snapshot
,rds-parameter-group
,rds-parameter
,rds-option-group
,rds-subnet-group
,rds-security-group
,efs-file-system
,efs-access-point
,efs-mount-target
,hosted-zone
,sqs-queue
,lambda-function
,bucket
,ssh-key-pair
,dynamo-db-table
,sns-subscription
,sns-topic
]Specifies the type of AWS resources to be recovered.
- region string
The region where the recovery resource resides
- sourceResourceId string
Protected resource ID
- resourceId string
Recovery resource ID
- status string
Possible values: [
not-started
,in-progress
,create-completed
,restore-in-progress
,restore-completed
,restore-failed
,deleted
,aborted
,pending
,recovered
,skipped
,not-recovered
,failed
]Status of the resource during recovery.
Value Description not-started The resource has not yet started the recovery process. in-progress The resource recovery is currently in progress. create-completed The resource has been successfully created. restore-in-progress The resource restore is currently in progress. restore-completed The resource restore has been successfully completed. restore-failed The resource restore has failed. deleted The resource has been deleted. aborted The resource recovery was aborted. pending The resource is pending further action. recovered The resource has been recovered. skipped The resource was skipped during the recovery process. not-recovered The resource has not been recovered. failed The resource failed during the recovery process.
[
{
"name": "string",
"resourceType": "instance",
"region": "string",
"sourceResourceId": "string",
"resourceId": "string",
"status": "not-started"
}
]
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"
]
}