http://elasticfilesystem.{region}.amazonaws.com/2015-02-01/file-systems/{FileSystemId}/backup-policyUpdates the file system's backup policy. Use this action to start or stop automatic backups of the file system.
Specifies which EFS file system to update the backup policy for.
The backup policy for the file system used to create automatic daily backups. If status has a value of <code>ENABLED</code>, the file system is being automatically backed up. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/awsbackup.html#automatic-backups">Automatic backups</a>.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request PUT \2 --url 'http://elasticfilesystem.{region}.amazonaws.com/2015-02-01/file-systems/{FileSystemId}/backup-policy' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}http://elasticfilesystem.{region}.amazonaws.com/2015-02-01/file-systems/{FileSystemId}/backup-policyUpdates the file system's backup policy. Use this action to start or stop automatic backups of the file system.
Specifies which EFS file system to update the backup policy for.
The backup policy for the file system used to create automatic daily backups. If status has a value of <code>ENABLED</code>, the file system is being automatically backed up. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/awsbackup.html#automatic-backups">Automatic backups</a>.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request PUT \2 --url 'http://elasticfilesystem.{region}.amazonaws.com/2015-02-01/file-systems/{FileSystemId}/backup-policy' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}