- About Veeam Backup for AWS REST API
- Overview
- How To
- Changelog
- Authorization
- Authorization (Single Sign-On)
- Appliance Connection Test
- Appliance Configuration Overview
- Appliance Statistics
- Appliance System Info
- Amazon Connections
- getGet Collection of Amazon Connections
- postAdd Amazon Connection
- getGet Amazon Connection Data
- delRemove Amazon Connection
- getGet Collection of Availability Zones
- postCheck Permissions for Performing Restore
- postVerify EC2 Instance Details
- postVerify RDS Resource Details
- getGet Collection of Encryption Keys
- getGet Collection of VPCs
- getGet Collection of Security Groups
- getGet Collection of Route Tables
- getGet Collection of Amazon Machine Images
- postVerify EC2 Instance AMI
- getGet Collection of Subnets
- getGet Collection of AWS Outposts
- getGet Collection of Option Groups
- getGet Collection of Parameter Groups
- getGet Collection of Cluster Parameter Groups
- getGet Collection of DB Subnet Groups
- getGet Collection of DB Subnet Groups
- getGet Collection of VPC Security Groups
- getGet Collection of RDS Licenses
- getGet Collection of DB Instance Classes
- getValidate S3 Endpoint
- postValidate Worker Settings
- getGet Collection of AWS Managed Microsoft Active Directories (ADs)
- getGet Collection of Redshift Subnet Groups
- getGet Collection of Cluster Subnet Groups
- getGet Collection of Redshift Parameter Groups
- getGet Collection of Redshift Node Configurations
- getGet Collection of IAM roles
- getGet Collection of Instance Profiles
- Amazon S3 Buckets
- AWS Regions
- AWS Tags
- Backup Vaults
- Backup Repositories
- Configuration Backup and Restore
- getGet Configuration Backup Settings
- putModify Configuration Backup Settings
- postEnable Configuration Backup Schedule
- postDisable Configuration Backup Schedule
- getGet Configuration Backup Restore Points
- getGet Configuration Backup Restore Point Data
- delRemove Configuration Backup Restore Point
- postCreate Configuration Backup
- postRestore Backup Appliance Configuration
- postCheck Configuration
- getGet Configuration Check Results
- postComplete Configuration Restore
- postStart Configuration Backup Export
- getCheck Status of Configuration Backup Export
- postDownload Configuration Backup File
- postImport Configuration Backup File
- delRemove Imported Configuration Backup File
- postCheck Imported Backup File
- getGet List of Uploaded Configuration Backup Files
- getGet Configuration Backup and Restore Session Data
- Database Accounts
- DynamoDB Backup Policies
- getGet Collection of DynamoDB Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet Resources Protected by DynamoDB Backup Policy
- getGet AWS Regions Selected for Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postExport Collection of Backup Policies
- postCalculate Estimated Cost for Backup Policy
- getGet Backup Policy Estimated Cost
- DynamoDB Restore Points
- DynamoDB Tables
- EC2 Schedule-Based Backup Policies
- getGet Collection of EC2 Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet AWS Regions Selected for Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet Resources Protected by EC2 Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- postExport Collection of Backup Policies
- postCalculate Estimated Cost for Backup Policy
- getGet Backup Policy Estimated Cost
- EC2 SLA-Based Backup Policies
- getGet Collection of SLA-Based Backup Policies
- postCreate SLA-Based Backup Policy
- getGet SLA-Based Backup Policy Data
- putModify SLA-Based Backup Policy
- delDelete SLA-Based Backup Policy
- getGet SLA Compliance Information
- getGet Resources Excluded from SLA-Based Backup Policy
- getGet Resources Protected by SLA-Based Backup Policy
- getGet AWS Regions Selected for SLA-Based Backup Policy
- postEnable SLA-Based Backup Policy
- postDisable SLA-Based Backup Policy
- postSet SLA-Based Backup Policy Priority
- postExport Collection of SLA-Based Backup Policies
- postCalculate Estimated Cost for SLA-Based Policy
- getGet SLA-Based Backup Policy Estimated Cost
- getGet SLA Results per Period
- getGet SLA Compliance per EC2 Instance
- getGet SLA-Based Backup Policy Sessions per EC2 instance
- getGet SLA-Based Backup Policy Session Log per EC2 Instance
- EC2 Instances
- getGet Collection of EC2 Instances
- postPerform Infrastructure Rescan for EC2 Instances
- getGet EC2 Instance Data
- postCreate Snapshot of EC2 Instance
- postRemove Snapshots of EC2 Instance
- postRemove Backups of EC2 Instance
- postRemove Backups of Multiple EC2 Instances
- delRemove Restore Points of EC2 Instance
- getGet EBS Volumes
- postExport Collection of EC2 Instances
- EC2 Restore Points
- getGet EC2 Instance Restore Points
- getGet EC2 Instance Restore Point Data
- postPerform Volume-Level Restore
- postValidate Volume-Level Restore
- postPerform EC2 Instance Restore
- postValidate EC2 Instance Restore
- postPerform EC2 File-Level Restore
- getGet Default Network Settings of Restore Point
- getGet Collection of Data Retrieval Sessions
- getGet Data Retrieval Session Data
- postRetrieve Data From Archive
- postExtend Data Availability Period
- postGet Data Retrieval Sessions for Restore Point
- EFS Backup Policies
- getGet Collection of EFS Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet Resources Protected by EFS Backup Policy
- getGet AWS Regions Selected for Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postCalculate Estimated Cost for Backup Policy
- getGet Backup Policy Estimated Cost
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postExport Collection of Backup Policies
- EFS File Systems
- EFS Restore Points
- File-Level Recovery
- FSx Backup Policies
- getGet Collection of FSx Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet AWS Regions Selected for Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postExport Collection of Backup Policies
- postCalculate Estimated Cost for Backup Policy
- getGet Backup Policy Estimated Cost
- FSx File Systems
- FSx Restore Points
- Global Retention Settings
- IAM Roles
- Infrastructure
- Organizations
- postPerform Rescan of AWS Organization Structure
- getGet Collection of AWS Organizations
- postAdd AWS Organization
- getGet AWS Organization Data
- putModify AWS Organization
- delRemove AWS Organization
- postGet AWS Organization Structure Rescan Results
- postGet Structure of AWS Organization Added to Veeam Backup for AWS
- postValidate Removing of AWS Organization
- postValidate Removing of Multiple AWS Organizations
- postCheck AWS Organization Configuration
- postExport Collection of AWS Organizations
- postCheck Adding AWS Organization
- postValidate AWS Organization Name
- postValidate AWS Organization Settings
- Identity Provider
- Immutability Settings
- License Agreements
- Licensing
- RDS Backup Policies
- getGet Collection of RDS Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet AWS Regions Selected for Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet Resources Protected by RDS Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- postExport Collection of Backup Policies
- postCalculate Estimated Cost for Backup Policy
- getGet Backup Policy Estimated Cost
- RDS Resources
- RDS Restore Points
- getGet RDS Resource Restore Points
- getGet RDS Resource Restore Point Data
- delRemove RDS Resource Restore Point
- postPerform RDS Resource Restore
- postPerform DB Instance Database Restore
- postValidate RDS Resource Restore from Backup
- postValidate RDS Resource Restore from Snapshot
- getGet RDS Resource Restore Point Databases List
- Redshift Backup Policies
- getGet Collection of Redshift Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet AWS Regions Selected for Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postExport Collection of Backup Policies
- postCalculate Estimated Cost for Backup Policy
- getGet Backup Policy Estimated Cost
- Redshift Restore Points
- Redshift Clusters
- Redshift Serverless Namespaces
- getGet Collection of Redshift Serverless Namespaces
- postPerform Infrastructure Rescan for Redshift Serverless Namespaces
- getGet Redshift Serverless Namespace Data
- postCreate Backup of Redshift Serverless Namespace
- postRemove Backups of Redshift Serverless Namespace
- postRemove Backups of Multiple Redshift Serverless Namespaces
- Redshift Serverless Backup Policies
- getGet Collection of Redshift Serverless Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet AWS Regions Selected for Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postExport Collection of Backup Policies
- Redshift Serverless Restore Points
- Security Certificates
- Sessions
- Sla Templates
- Storage Templates
- SMTP Accounts
- Time Zone
- User Accounts
- getGet Collection of Users
- postAdd User Account
- getGet Collection of User Roles
- getGet User Data
- putModify User Account
- delRemove User Account
- postValidate User Name
- postValidate User Description
- postValidate User Password
- postGet MFA Secret Key
- postEnable MFA for User
- postDisable MFA for User
- getVerify First Login
- postValidate Backup Appliance Instance ID
- postCreate Default User
- postExport Collection of Users
- Veeam Backup for AWS Version
- VPC Configuration Backup Policy
- VPC Configuration Restore Points
- getGet VPC Configuration Restore Points
- getGet VPC Configuration Restore Point Data
- getGet Backed-Up VPC Configuration Items
- getGet Collection of Backed-Up VPCs
- postCheck IAM Role Permissions
- postCompare VPC Configuration
- postPerform VPC Configuration Restore
- postValidate VPC Configuration Restore
- postExport Backed-Up VPC Configuration
- postRemove VPC Configuration Backups
- Workers
- getGet Collection of Worker Profiles
- postAdd Worker Profiles
- getGet Worker Profiles for Region
- putModify Worker Profiles
- delRemove Worker Profiles
- getGet IAM Role Used to Launch Worker Instances
- putChange IAM Role Used to Launch Worker Instances
- getGet Collection of Worker Configurations
- postAdd Worker Configuration
- getGet Worker Configuration Data
- putModify Worker Configuration
- delRemove Worker Configuration
- getGet Worker Configurations for Production Accounts
- postAdd Worker Configuration for Production Account
- getGet Worker Configuration for Production Account Data
- putModify Worker Configuration for Production Account
- delRemove Worker Configuration for Production Account
- getGet Worker Custom Tags
- putModify Worker Custom Tags
The /policy/ec2SlaBasedPolicies resource collection represents EC2 SLA-based backup policies created in Veeam Backup for AWS.
Get Collection of SLA-Based Backup Policies
The HTTP GET request to the /api/v1/policy/ec2SlaBasedPolicies endpoint retrieves a list of SLA-based backup policies created in Veeam Backup for AWS.
query Parameters
| SearchPattern | string Returns only those items of a resource collection whose names match the specified search pattern in the parameter value. |
| VirtualMachineId | string <uuid> Returns only backup policies that protect an EC2 instance with the specified ID. |
| Offset | integer <int32> Specifies the first N items of a resource collection that will be excluded from the response. |
| Limit | integer <int32> Specifies the maximum number of items of a resource collection that will be returned in the response. |
header Parameters
| x-api-version required | string Default: 1.8-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Success
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 404
- 500
{- "offset": 0,
- "limit": -1,
- "totalCount": 0,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "priority": 0,
- "isEnabled": true,
- "identity": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Account",
- "awsId": "string",
- "name": "string",
- "regionType": "Global"
}, - "usn": 0,
- "regionIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "backupType": "AllItems",
- "selectedItems": {
- "virtualMachineIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "excludedItems": {
- "virtualMachineIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "excludedVolumes": {
- "excludeSystemVolumes": true,
- "excludedItems": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Volume"
}
]
}
}, - "retrySettings": {
- "retryTimes": 0
}, - "notificationSettings": {
- "email": "string",
- "enableNotifications": true,
- "includeOnlyMissedSlaAndRemovedVms": true,
- "sendOnSpecificTime": "string"
}, - "warning": "string",
- "storageTemplateId": "26065508-ceab-4f71-9405-88b494d18c99",
- "slaTemplateId": "03e7c6bc-a285-4f16-8e6c-77435e1f6891",
- "snapshotSettings": {
- "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromVolumeEnabled": true,
- "tryCreateVSSSnapshot": true,
- "snapshotScripts": {
- "windowsScripts": {
- "enabled": true,
- "preSnapshotScript": "string",
- "preSnapshotArguments": "string",
- "postSnapshotScript": "string",
- "postSnapshotArguments": "string",
- "runOnlyForBackupSnapshots": true,
- "ignoreMissingScripts": true,
- "ignoreScriptErrors": true
}, - "linuxScripts": {
- "enabled": true,
- "preSnapshotScript": "string",
- "preSnapshotArguments": "string",
- "postSnapshotScript": "string",
- "postSnapshotArguments": "string",
- "runOnlyForBackupSnapshots": true,
- "ignoreMissingScripts": true,
- "ignoreScriptErrors": true
}
}
}, - "productionWorkersSettings": {
- "useProductionWorkers": true,
- "workerRoleId": "64df62f7-ea74-4b40-a93f-13fb342a45e2",
- "workerRoleAccountName": "string"
}, - "replicaSettings": {
- "mapping": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "targetRegionId": "01b81833-7852-43e7-b316-0a1b220356db",
- "targetIAMRoleId": "1f68f1d4-9928-478b-b99c-56f83a19a85c",
- "encryptionKey": "string",
- "encryptOnlyEncryptedVolumes": true
}
], - "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromVolumeEnabled": true
}, - "organizationSettings": {
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d",
- "excludedMembers": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}
]
}Create SLA-Based Backup Policy
The HTTP POST request to the /api/v1/policy/ec2SlaBasedPolicies endpoint creates a new SLA-based backup policy.
header Parameters
| x-api-version required | string Default: 1.8-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Request Body schema: application/jsonrequired
| regionIds required | Array of strings <uuid> non-empty unique Specifies the system IDs assigned in the Veeam Backup for AWS REST API to AWS Regions where the backed-up instances reside. |
| name required | string [ 1 .. 255 ] characters Specifies a name of the SLA-based backup policy. |
| identityId required | string <uuid> Specifies the system ID assigned in the Veeam Backup for AWS REST API to an AWS Organization or an IAM role that belongs to a standalone AWS account. |
| backupType required | string (PolicySelectionTypes) Specifies the type of the backup policy. |
| slaTemplateId required | string <uuid> Specifies the system ID assigned in the Veeam Backup for AWS REST API to the SLA template assigned to the policy. |
| description | string Specifies a description of the SLA-based backup policy. |
object (Ec2PolicyIncludedBackupItems) AWS resources that are protected by the backup policy. | |
object (Ec2PolicyExcludedBackupItems) Specifies AWS resources that must be excluded from the backup policy. | |
| storageTemplateId | string <uuid> Specifies the system ID assigned in the Veeam Backup for AWS REST API to the storage template assigned to the policy. |
object (Ec2PolicySnapshotSettings) Specifies cloud-native snapshot settings for the EC2 backup policy. | |
object (PolicyReplicaSettings) Specifies settings for snapshot replicas for the backup policy. | |
object (RetrySettings) Specifies retry settings configured for the backup policy. | |
object (Ec2SlaBasedNotificationSettings) | |
object (ProductionWorkerSettings) | |
object (OrganizationSpecification) [Applies only if you back up resources within an AWS Organization] Specifies organization settings configured for the backup policy. |
Success
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
Service Unavailable
Gateway Timeout
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "name": "string",
- "description": "string",
- "identityId": "ebc92baa-b430-498d-b30d-132ff32a5256",
- "backupType": "AllItems",
- "selectedItems": {
- "virtualMachineIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "excludedItems": {
- "virtualMachineIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "excludedVolumes": {
- "excludeSystemVolumes": true,
- "excludedItems": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Volume"
}
]
}
}, - "regionIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "storageTemplateId": "26065508-ceab-4f71-9405-88b494d18c99",
- "slaTemplateId": "03e7c6bc-a285-4f16-8e6c-77435e1f6891",
- "snapshotSettings": {
- "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromVolumeEnabled": true,
- "tryCreateVSSSnapshot": true,
- "snapshotScripts": {
- "windowsScripts": {
- "enabled": true,
- "preSnapshotScript": "string",
- "preSnapshotArguments": "string",
- "postSnapshotScript": "string",
- "postSnapshotArguments": "string",
- "runOnlyForBackupSnapshots": true,
- "ignoreMissingScripts": true,
- "ignoreScriptErrors": true
}, - "linuxScripts": {
- "enabled": true,
- "preSnapshotScript": "string",
- "preSnapshotArguments": "string",
- "postSnapshotScript": "string",
- "postSnapshotArguments": "string",
- "runOnlyForBackupSnapshots": true,
- "ignoreMissingScripts": true,
- "ignoreScriptErrors": true
}
}
}, - "replicaSettings": {
- "mapping": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "targetRegionId": "01b81833-7852-43e7-b316-0a1b220356db",
- "targetIAMRoleId": "1f68f1d4-9928-478b-b99c-56f83a19a85c",
- "encryptionKey": "string",
- "encryptOnlyEncryptedVolumes": true
}
], - "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromVolumeEnabled": true
}, - "retrySettings": {
- "retryTimes": 0
}, - "notificationSettings": {
- "email": "string",
- "enableNotifications": true,
- "includeOnlyMissedSlaAndRemovedVms": true,
- "sendOnSpecificTime": "string"
}, - "productionWorkersSettings": {
- "useProductionWorkers": true,
- "workerRoleId": "64df62f7-ea74-4b40-a93f-13fb342a45e2",
- "workerRoleAccountName": "string"
}, - "organizationSettings": {
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d",
- "excludedMembers": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}- 200
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "priority": 0,
- "isEnabled": true,
- "identity": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Account",
- "awsId": "string",
- "name": "string",
- "regionType": "Global"
}, - "usn": 0,
- "regionIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "backupType": "AllItems",
- "selectedItems": {
- "virtualMachineIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "excludedItems": {
- "virtualMachineIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "excludedVolumes": {
- "excludeSystemVolumes": true,
- "excludedItems": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Volume"
}
]
}
}, - "retrySettings": {
- "retryTimes": 0
}, - "notificationSettings": {
- "email": "string",
- "enableNotifications": true,
- "includeOnlyMissedSlaAndRemovedVms": true,
- "sendOnSpecificTime": "string"
}, - "warning": "string",
- "storageTemplateId": "26065508-ceab-4f71-9405-88b494d18c99",
- "slaTemplateId": "03e7c6bc-a285-4f16-8e6c-77435e1f6891",
- "snapshotSettings": {
- "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromVolumeEnabled": true,
- "tryCreateVSSSnapshot": true,
- "snapshotScripts": {
- "windowsScripts": {
- "enabled": true,
- "preSnapshotScript": "string",
- "preSnapshotArguments": "string",
- "postSnapshotScript": "string",
- "postSnapshotArguments": "string",
- "runOnlyForBackupSnapshots": true,
- "ignoreMissingScripts": true,
- "ignoreScriptErrors": true
}, - "linuxScripts": {
- "enabled": true,
- "preSnapshotScript": "string",
- "preSnapshotArguments": "string",
- "postSnapshotScript": "string",
- "postSnapshotArguments": "string",
- "runOnlyForBackupSnapshots": true,
- "ignoreMissingScripts": true,
- "ignoreScriptErrors": true
}
}
}, - "productionWorkersSettings": {
- "useProductionWorkers": true,
- "workerRoleId": "64df62f7-ea74-4b40-a93f-13fb342a45e2",
- "workerRoleAccountName": "string"
}, - "replicaSettings": {
- "mapping": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "targetRegionId": "01b81833-7852-43e7-b316-0a1b220356db",
- "targetIAMRoleId": "1f68f1d4-9928-478b-b99c-56f83a19a85c",
- "encryptionKey": "string",
- "encryptOnlyEncryptedVolumes": true
}
], - "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromVolumeEnabled": true
}, - "organizationSettings": {
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d",
- "excludedMembers": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}Get SLA-Based Backup Policy Data
The HTTP GET request to the policy/ec2SlaBasedPolicies/{policyId} endpoint retrieves settings of an SLA-based backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> |
header Parameters
| x-api-version required | string Default: 1.8-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Success
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "priority": 0,
- "isEnabled": true,
- "identity": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Account",
- "awsId": "string",
- "name": "string",
- "regionType": "Global"
}, - "usn": 0,
- "regionIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "backupType": "AllItems",
- "selectedItems": {
- "virtualMachineIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "excludedItems": {
- "virtualMachineIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "excludedVolumes": {
- "excludeSystemVolumes": true,
- "excludedItems": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Volume"
}
]
}
}, - "retrySettings": {
- "retryTimes": 0
}, - "notificationSettings": {
- "email": "string",
- "enableNotifications": true,
- "includeOnlyMissedSlaAndRemovedVms": true,
- "sendOnSpecificTime": "string"
}, - "warning": "string",
- "storageTemplateId": "26065508-ceab-4f71-9405-88b494d18c99",
- "slaTemplateId": "03e7c6bc-a285-4f16-8e6c-77435e1f6891",
- "snapshotSettings": {
- "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromVolumeEnabled": true,
- "tryCreateVSSSnapshot": true,
- "snapshotScripts": {
- "windowsScripts": {
- "enabled": true,
- "preSnapshotScript": "string",
- "preSnapshotArguments": "string",
- "postSnapshotScript": "string",
- "postSnapshotArguments": "string",
- "runOnlyForBackupSnapshots": true,
- "ignoreMissingScripts": true,
- "ignoreScriptErrors": true
}, - "linuxScripts": {
- "enabled": true,
- "preSnapshotScript": "string",
- "preSnapshotArguments": "string",
- "postSnapshotScript": "string",
- "postSnapshotArguments": "string",
- "runOnlyForBackupSnapshots": true,
- "ignoreMissingScripts": true,
- "ignoreScriptErrors": true
}
}
}, - "productionWorkersSettings": {
- "useProductionWorkers": true,
- "workerRoleId": "64df62f7-ea74-4b40-a93f-13fb342a45e2",
- "workerRoleAccountName": "string"
}, - "replicaSettings": {
- "mapping": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "targetRegionId": "01b81833-7852-43e7-b316-0a1b220356db",
- "targetIAMRoleId": "1f68f1d4-9928-478b-b99c-56f83a19a85c",
- "encryptionKey": "string",
- "encryptOnlyEncryptedVolumes": true
}
], - "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromVolumeEnabled": true
}, - "organizationSettings": {
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d",
- "excludedMembers": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}Modify SLA-Based Backup Policy
The HTTP PUT request to the policy/ec2SlaBasedPolicies/{policyId} endpoint updates settings of an SLA-based backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> |
header Parameters
| x-api-version required | string Default: 1.8-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Request Body schema: application/jsonrequired
| regionIds required | Array of strings <uuid> non-empty unique Specifies the system IDs assigned in the Veeam Backup for AWS REST API to AWS Regions where the backed-up instances reside. |
| name required | string [ 1 .. 255 ] characters Specifies a name of the SLA-based backup policy. |
| identityId required | string <uuid> Specifies the system ID assigned in the Veeam Backup for AWS REST API to an AWS Organization or an IAM role that belongs to a standalone AWS account. |
| backupType required | string (PolicySelectionTypes) Specifies the type of the backup policy. |
| slaTemplateId required | string <uuid> Specifies the system ID assigned in the Veeam Backup for AWS REST API to the SLA template assigned to the policy. |
| description | string Specifies a description of the SLA-based backup policy. |
object (Ec2PolicyIncludedBackupItems) AWS resources that are protected by the backup policy. | |
object (Ec2PolicyExcludedBackupItems) Specifies AWS resources that must be excluded from the backup policy. | |
| storageTemplateId | string <uuid> Specifies the system ID assigned in the Veeam Backup for AWS REST API to the storage template assigned to the policy. |
object (Ec2PolicySnapshotSettings) Specifies cloud-native snapshot settings for the EC2 backup policy. | |
object (PolicyReplicaSettings) Specifies settings for snapshot replicas for the backup policy. | |
object (RetrySettings) Specifies retry settings configured for the backup policy. | |
object (Ec2SlaBasedNotificationSettings) | |
object (ProductionWorkerSettings) | |
object (OrganizationSpecification) [Applies only if you back up resources within an AWS Organization] Specifies organization settings configured for the backup policy. |
Success
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
Service Unavailable
Gateway Timeout
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "name": "string",
- "description": "string",
- "identityId": "ebc92baa-b430-498d-b30d-132ff32a5256",
- "backupType": "AllItems",
- "selectedItems": {
- "virtualMachineIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "excludedItems": {
- "virtualMachineIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "excludedVolumes": {
- "excludeSystemVolumes": true,
- "excludedItems": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Volume"
}
]
}
}, - "regionIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "storageTemplateId": "26065508-ceab-4f71-9405-88b494d18c99",
- "slaTemplateId": "03e7c6bc-a285-4f16-8e6c-77435e1f6891",
- "snapshotSettings": {
- "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromVolumeEnabled": true,
- "tryCreateVSSSnapshot": true,
- "snapshotScripts": {
- "windowsScripts": {
- "enabled": true,
- "preSnapshotScript": "string",
- "preSnapshotArguments": "string",
- "postSnapshotScript": "string",
- "postSnapshotArguments": "string",
- "runOnlyForBackupSnapshots": true,
- "ignoreMissingScripts": true,
- "ignoreScriptErrors": true
}, - "linuxScripts": {
- "enabled": true,
- "preSnapshotScript": "string",
- "preSnapshotArguments": "string",
- "postSnapshotScript": "string",
- "postSnapshotArguments": "string",
- "runOnlyForBackupSnapshots": true,
- "ignoreMissingScripts": true,
- "ignoreScriptErrors": true
}
}
}, - "replicaSettings": {
- "mapping": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "targetRegionId": "01b81833-7852-43e7-b316-0a1b220356db",
- "targetIAMRoleId": "1f68f1d4-9928-478b-b99c-56f83a19a85c",
- "encryptionKey": "string",
- "encryptOnlyEncryptedVolumes": true
}
], - "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromVolumeEnabled": true
}, - "retrySettings": {
- "retryTimes": 0
}, - "notificationSettings": {
- "email": "string",
- "enableNotifications": true,
- "includeOnlyMissedSlaAndRemovedVms": true,
- "sendOnSpecificTime": "string"
}, - "productionWorkersSettings": {
- "useProductionWorkers": true,
- "workerRoleId": "64df62f7-ea74-4b40-a93f-13fb342a45e2",
- "workerRoleAccountName": "string"
}, - "organizationSettings": {
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d",
- "excludedMembers": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}- 200
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "priority": 0,
- "isEnabled": true,
- "identity": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Account",
- "awsId": "string",
- "name": "string",
- "regionType": "Global"
}, - "usn": 0,
- "regionIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "backupType": "AllItems",
- "selectedItems": {
- "virtualMachineIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "excludedItems": {
- "virtualMachineIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "excludedVolumes": {
- "excludeSystemVolumes": true,
- "excludedItems": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Volume"
}
]
}
}, - "retrySettings": {
- "retryTimes": 0
}, - "notificationSettings": {
- "email": "string",
- "enableNotifications": true,
- "includeOnlyMissedSlaAndRemovedVms": true,
- "sendOnSpecificTime": "string"
}, - "warning": "string",
- "storageTemplateId": "26065508-ceab-4f71-9405-88b494d18c99",
- "slaTemplateId": "03e7c6bc-a285-4f16-8e6c-77435e1f6891",
- "snapshotSettings": {
- "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromVolumeEnabled": true,
- "tryCreateVSSSnapshot": true,
- "snapshotScripts": {
- "windowsScripts": {
- "enabled": true,
- "preSnapshotScript": "string",
- "preSnapshotArguments": "string",
- "postSnapshotScript": "string",
- "postSnapshotArguments": "string",
- "runOnlyForBackupSnapshots": true,
- "ignoreMissingScripts": true,
- "ignoreScriptErrors": true
}, - "linuxScripts": {
- "enabled": true,
- "preSnapshotScript": "string",
- "preSnapshotArguments": "string",
- "postSnapshotScript": "string",
- "postSnapshotArguments": "string",
- "runOnlyForBackupSnapshots": true,
- "ignoreMissingScripts": true,
- "ignoreScriptErrors": true
}
}
}, - "productionWorkersSettings": {
- "useProductionWorkers": true,
- "workerRoleId": "64df62f7-ea74-4b40-a93f-13fb342a45e2",
- "workerRoleAccountName": "string"
}, - "replicaSettings": {
- "mapping": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "targetRegionId": "01b81833-7852-43e7-b316-0a1b220356db",
- "targetIAMRoleId": "1f68f1d4-9928-478b-b99c-56f83a19a85c",
- "encryptionKey": "string",
- "encryptOnlyEncryptedVolumes": true
}
], - "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromVolumeEnabled": true
}, - "organizationSettings": {
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d",
- "excludedMembers": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}Delete SLA-Based Backup Policy
The HTTP DELETE request to the policy/ec2SlaBasedPolicies/{policyId} endpoint removes an SLA-based backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies the system ID assigned to an SLA-based policy in the Veeam Backup for AWS REST API. |
header Parameters
| x-api-version required | string Default: 1.8-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Deleted
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
- 400
- 401
- 403
- 404
- 500
{- "title": "string",
- "status": 400,
- "errorCode": "AccessDenied",
- "details": "string",
- "data": {
- "property1": { },
- "property2": { }
}
}Get SLA Compliance Information
The HTTP GET request to the /policy/ec2SlaBasedPolicies/{policyId}/slaReport/ endpoint retrieves a list of SLA-based backup policies created in Veeam Backup for AWS and their SLA compliance information.
query Parameters
| SearchPattern | string Returns only those items of a resource collection whose names match the specified search pattern in the parameter value. |
| Offset | integer <int32> Specifies the first N items of a resource collection that will be excluded from the response. |
| Limit | integer <int32> Specifies the maximum number of items of a resource collection that will be returned in the response. |
header Parameters
| x-api-version required | string Default: 1.8-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Success
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 404
- 500
{- "totalCount": 0,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "priority": 0,
- "isEnabled": true,
- "description": "string",
- "snapshotSlaReport": {
- "status": "MetSla",
- "achievedSlaPercent": 0
}, - "replicaSlaReport": {
- "status": "MetSla",
- "achievedSlaPercent": 0
}, - "backupSlaReport": {
- "status": "MetSla",
- "achievedSlaPercent": 0
}, - "archiveSlaReport": {
- "status": "MetSla",
- "achievedSlaPercent": 0
}
}
]
}Get Resources Excluded from SLA-Based Backup Policy
The HTTP GET request to the /policy/ec2SlaBasedPolicies/{policyId}/excludedItems endpoint retrieves information on resources excluded from the SLA-based backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies the system ID assigned to the SLA-Based policy in the Veeam Backup for AWS REST API. |
query Parameters
| Offset | integer <int32> >= 0 Excludes from a response the first N items of a resource collection. |
| Limit | integer <int32> >= -1 Specifies the maximum number of items of a resource collection to return in a response. |
| SearchPattern | string Returns only those items of a resource collection whose names match the specified search pattern in the parameter value. |
header Parameters
| x-api-version required | string Default: 1.8-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 404
{- "totalCount": 0,
- "results": [
- {
- "name": "string",
- "tag": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "virtualMachine": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "rds": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "efs": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "dynamoDb": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "fsx": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "redshift": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "redshiftServerless": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "deletedItem": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "VirtualMachine"
}
}
], - "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
]
}Get Resources Protected by SLA-Based Backup Policy
The HTTP GET request to the /policy/ec2SlaBasedPolicies/{policyId}/protectedResources endpoint retrieves information on resources protected by an SLA-based backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies the system ID assigned to an SLA-based backup policy in the Veeam Backup for AWS REST API. |
query Parameters
| Offset | integer <int32> >= 0 Excludes from a response the first N items of a resource collection. |
| Limit | integer <int32> >= -1 Specifies the maximum number of items of a resource collection to return in a response. |
header Parameters
| x-api-version required | string Default: 1.8-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 404
{- "totalCount": 0,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "awsResourceId": "string",
- "virtualMachine": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "rds": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "efs": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "dynamoDb": {
- "rel": "string",
- "href": "string",
- "method": "GET"
}, - "deletedItem": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "type": "VirtualMachine"
}
}
], - "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
]
}Get AWS Regions Selected for SLA-Based Backup Policy
The HTTP GET request to the /policy/ec2SlaBasedPolicies/{policyId}/regions endpoint retrieves information on all AWS Regions selected for a SLA-based backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies the system ID assigned to a SLA-based backup policy in the Veeam Backup for AWS REST API. |
query Parameters
| Offset | integer <int32> Excludes from a response the first N items of a resource collection. |
| Limit | integer <int32> Specifies the maximum number of items of a resource collection to return in a response. |
header Parameters
| x-api-version required | string Default: 1.8-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 404
{- "totalCount": 0,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "optInStatus": "Unknown",
- "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
]
}
], - "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "GET"
}
]
}Enable SLA-Based Backup Policy
The HTTP POST request to the /policy/ec2SlaBasedPolicies/{policyId}/enable endpoint enables a disabled SLA-based backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies the system ID assigned to an SLA-based backup policy in the Veeam Backup for AWS REST API. |
header Parameters
| x-api-version required | string Default: 1.8-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
- 401
- 404
{- "title": "string",
- "status": 400,
- "errorCode": "AccessDenied",
- "details": "string",
- "data": {
- "property1": { },
- "property2": { }
}
}Disable SLA-Based Backup Policy
The HTTP POST request to the /policy/ec2SlaBasedPolicies/{policyId}/disable endpoint disables an enabled SLA-based backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies the system ID assigned to an SLA-based policy in the Veeam Backup for AWS REST API. |
header Parameters
| x-api-version required | string Default: 1.8-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
- 401
- 404
{- "title": "string",
- "status": 400,
- "errorCode": "AccessDenied",
- "details": "string",
- "data": {
- "property1": { },
- "property2": { }
}
}Set SLA-Based Backup Policy Priority
The HTTP POST request to the /policy/ec2SlaBasedPolicies/orderPriorities sets the priority order for SLA-based backup policies.
header Parameters
| x-api-version required | string Default: 1.8-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Request Body schema: application/jsonrequired
required | Array of objects (PolicyPrioritySpec) Specifies policy priority ordinal numbers. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "priorities": [
- {
- "policyId": "af8fb7d8-96cd-4fe7-a4a5-c03a09483806",
- "priority": 1
}, - {
- "policyId": "14ceeeb3-4b3c-458c-9456-bf378eda5ea0",
- "priority": 2
}
]
}- 200
- 400
- 401
- 403
{ }Export Collection of SLA-Based Backup Policies
The HTTP POST request to the /api/v1/policy/ec2SlaBasedPolicies/export endpoint exports all SLA-based backup policies created in Veeam Backup for AWS to a .CSV or an .XML file. To specify the required type of the file, use the Accept request header.
header Parameters
| x-api-version required | string Default: 1.8-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
Calculate Estimated Cost for SLA-Based Policy
The HTTP POST request to the /policy/ec2SlaBasedPolicies/cost endpoint allows you to calculate the estimated monthly cost for an SLA-based policy with specific settings.
header Parameters
| x-api-version required | string Default: 1.8-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Request Body schema: application/jsonrequired
| regionIds required | Array of strings <uuid> non-empty unique Specifies the system IDs assigned in the Veeam Backup for AWS REST API to AWS Regions where the backed-up instances reside. |
| name required | string [ 1 .. 255 ] characters Specifies a name of the SLA-based backup policy. |
| identityId required | string <uuid> Specifies the system ID assigned in the Veeam Backup for AWS REST API to an AWS Organization or an IAM role that belongs to a standalone AWS account. |
| backupType required | string (PolicySelectionTypes) Specifies the type of the backup policy. |
| slaTemplateId required | string <uuid> Specifies the system ID assigned in the Veeam Backup for AWS REST API to the SLA template assigned to the policy. |
| description | string Specifies a description of the SLA-based backup policy. |
object (Ec2PolicyIncludedBackupItems) AWS resources that are protected by the backup policy. | |
object (Ec2PolicyExcludedBackupItems) Specifies AWS resources that must be excluded from the backup policy. | |
| storageTemplateId | string <uuid> Specifies the system ID assigned in the Veeam Backup for AWS REST API to the storage template assigned to the policy. |
object (Ec2PolicySnapshotSettings) Specifies cloud-native snapshot settings for the EC2 backup policy. | |
object (PolicyReplicaSettings) Specifies settings for snapshot replicas for the backup policy. | |
object (RetrySettings) Specifies retry settings configured for the backup policy. | |
object (Ec2SlaBasedNotificationSettings) | |
object (ProductionWorkerSettings) | |
object (OrganizationSpecification) [Applies only if you back up resources within an AWS Organization] Specifies organization settings configured for the backup policy. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "name": "string",
- "description": "string",
- "identityId": "ebc92baa-b430-498d-b30d-132ff32a5256",
- "backupType": "AllItems",
- "selectedItems": {
- "virtualMachineIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "excludedItems": {
- "virtualMachineIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tagIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "excludedVolumes": {
- "excludeSystemVolumes": true,
- "excludedItems": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Volume"
}
]
}
}, - "regionIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "storageTemplateId": "26065508-ceab-4f71-9405-88b494d18c99",
- "slaTemplateId": "03e7c6bc-a285-4f16-8e6c-77435e1f6891",
- "snapshotSettings": {
- "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromVolumeEnabled": true,
- "tryCreateVSSSnapshot": true,
- "snapshotScripts": {
- "windowsScripts": {
- "enabled": true,
- "preSnapshotScript": "string",
- "preSnapshotArguments": "string",
- "postSnapshotScript": "string",
- "postSnapshotArguments": "string",
- "runOnlyForBackupSnapshots": true,
- "ignoreMissingScripts": true,
- "ignoreScriptErrors": true
}, - "linuxScripts": {
- "enabled": true,
- "preSnapshotScript": "string",
- "preSnapshotArguments": "string",
- "postSnapshotScript": "string",
- "postSnapshotArguments": "string",
- "runOnlyForBackupSnapshots": true,
- "ignoreMissingScripts": true,
- "ignoreScriptErrors": true
}
}
}, - "replicaSettings": {
- "mapping": [
- {
- "sourceRegionId": "3305f138-162c-4e70-807d-f5940825858d",
- "targetRegionId": "01b81833-7852-43e7-b316-0a1b220356db",
- "targetIAMRoleId": "1f68f1d4-9928-478b-b99c-56f83a19a85c",
- "encryptionKey": "string",
- "encryptOnlyEncryptedVolumes": true
}
], - "additionalTags": [
- {
- "key": "string",
- "value": "string"
}
], - "copyTagsFromVolumeEnabled": true
}, - "retrySettings": {
- "retryTimes": 0
}, - "notificationSettings": {
- "email": "string",
- "enableNotifications": true,
- "includeOnlyMissedSlaAndRemovedVms": true,
- "sendOnSpecificTime": "string"
}, - "productionWorkersSettings": {
- "useProductionWorkers": true,
- "workerRoleId": "64df62f7-ea74-4b40-a93f-13fb342a45e2",
- "workerRoleAccountName": "string"
}, - "organizationSettings": {
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d",
- "excludedMembers": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
}- 200
- 400
- 401
{- "instancesCosts": [
- {
- "instanceId": "64d2028c-ae87-4069-a624-66089d957ef9",
- "instanceName": "string",
- "snapshotCost": 0,
- "replicaCost": 0,
- "backupCost": 0,
- "backupCopyCost": 0,
- "trafficCost": 0,
- "transactionCost": 0,
- "totalCost": 0
}
], - "isEmpty": true,
- "totalSnapshotCost": 0,
- "totalReplicaCost": 0,
- "totalBackupCost": 0,
- "totalBackupCopyCost": 0,
- "totalTrafficCost": 0,
- "totalTransactionCost": 0,
- "totalCost": 0
}Get SLA-Based Backup Policy Estimated Cost
The HTTP GET request to the /policy/ec2SlaBasedPolicies/{policyId}/cost endpoint retrieves estimated monthly cost calculated for an SLA-based backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies the system ID assigned to an SLA-based backup policy in the Veeam Backup for AWS REST API. |
header Parameters
| x-api-version required | string Default: 1.8-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 404
{- "instancesCosts": [
- {
- "instanceId": "64d2028c-ae87-4069-a624-66089d957ef9",
- "instanceName": "string",
- "snapshotCost": 0,
- "replicaCost": 0,
- "backupCost": 0,
- "backupCopyCost": 0,
- "trafficCost": 0,
- "transactionCost": 0,
- "totalCost": 0
}
], - "isEmpty": true,
- "totalSnapshotCost": 0,
- "totalReplicaCost": 0,
- "totalBackupCost": 0,
- "totalBackupCopyCost": 0,
- "totalTrafficCost": 0,
- "totalTransactionCost": 0,
- "totalCost": 0
}Get SLA Results per Period
The HTTP GET request to the /policy/ec2SlaBasedPolicies/{policyId}/slaResults/ endpoint retrieves information on each available calculated period (day, week or month) of a specific schedule type configured for the SLA-based backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies a system ID assigned to an SLA-based backup policy in the Veeam Backup for AWS REST API. |
query Parameters
| ec2SlaFilterSessionStatus | Array of strings Returns only information on periods that have the specified SLA compliance status. |
| backupType | Array of strings Returns only information on the specified backup type. |
| scheduleType | Array of strings Returns only information on the specified schedule type. |
header Parameters
| x-api-version required | string Default: 1.8-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Success
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 404
- 500
{- "totalCount": 0,
- "results": [
- {
- "from": "string",
- "to": "string",
- "achievedSlaPercent": 0,
- "processedObjects": 0,
- "status": "All"
}
]
}Get SLA Compliance per EC2 Instance
The HTTP GET request to the /policy/ec2SlaBasedPolicies/{policyId}/slaInstances endpoint retrieves SLA compliance information on each EC2 instance protected by the SLA-based backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies a system ID assigned to an SLA-based backup policy in the Veeam Backup for AWS REST API. |
query Parameters
| dateFrom required | string Returns only information for the period that started after the specified date. |
| dateTo required | string Returns only information for the period that ended before the specified date. |
| slaComplianceStatus | Array of strings Returns information on EC2 instance with the specified SLA compliance status only. |
| backupType | Array of strings Returns only information on EC2 instances protected using the specified backup type. |
| scheduleType | Array of strings Returns only information on EC2 instances protected using the specified schedule type. |
| searchPattern | string Returns only those items of a resource collection whose names match the specified search pattern in the parameter value. |
| Offset | integer <int32> Excludes from a response the first N items of a resource collection. |
| Limit | integer <int32> Specifies the maximum number of items of a resource collection to return in a response. |
header Parameters
| x-api-version required | string Default: 1.8-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Success
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 404
- 500
{- "statistics": {
- "metTargetSla": 0,
- "missedTargetSla": 0,
- "removed": 0
}, - "results": [
- {
- "instanceId": "string",
- "instanceName": "string",
- "status": "All",
- "achievedSlaPercent": 0,
- "planned": 0,
- "successful": 0,
- "missed": 0
}
]
}Get SLA-Based Backup Policy Sessions per EC2 instance
The HTTP GET request to the policy/ec2SlaBasedPolicies/{policyId}/slaSessions/{instanceId} endpoint retrieves information on each session performed for a specific EC2 instance protected by the SLA-based backup policy with the specified ID.
path Parameters
| policyId required | string <uuid> Specifies a system ID assigned to an SLA-based backup policy in the Veeam Backup for AWS REST API. |
| instanceId required | string <uuid> Specifies a system ID assigned to the protected EC2 instance in the Veeam Backup for AWS REST API. |
query Parameters
| dateFrom required | string Returns only sessions for the period that started after the specified date. |
| dateTo required | string Returns only sessions for the period that ended before the specified date. |
| backupType | Array of strings Returns only sessions of the EC2 instances protected using the specified backup type. |
| scheduleType | Array of strings Returns only sessions of the EC2 instances protected using the specified schedule type. |
| Offset | integer <int32> Excludes from a response the first N items of a resource collection. |
| Limit | integer <int32> Specifies the maximum number of items of a resource collection to return in a response. |
header Parameters
| x-api-version required | string Default: 1.8-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Success
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 404
- 500
{- "totalCount": 0,
- "results": [
- {
- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459",
- "status": "Success",
- "startTime": {
- "sessionTimestampUtc": "2019-08-24T14:15:22Z",
- "resourceTimezone": {
- "name": "America/New_York",
- "timezoneOffset": "string"
}
}
}
]
}Get SLA-Based Backup Policy Session Log per EC2 Instance
The HTTP GET request to the policy/ec2SlaBasedPolicies/slaSessions/{sessionId}/slaSessionLogs endpoint retrieves a detailed log for the session with the specified ID, performed for a specific EC2 instance.
path Parameters
| sessionId required | string <uuid> Specifies a system ID assigned to the session in the Veeam Backup for AWS REST API. |
header Parameters
| x-api-version required | string Default: 1.8-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Success
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 404
- 500
{- "totalCount": 0,
- "results": [
- {
- "sessionLogName": "string",
- "status": "None",
- "startTime": {
- "sessionTimestampUtc": "2019-08-24T14:15:22Z",
- "resourceTimezone": {
- "name": "America/New_York",
- "timezoneOffset": "string"
}
}
}
]
}