stop_backup_job

stop_backup_job(**kwargs)

Attempts to cancel a job to create a one-time backup of a resource.

This action is not supported for the following services: Amazon FSx for Windows File Server, Amazon FSx for Lustre, FSx for ONTAP , Amazon FSx for OpenZFS, Amazon DocumentDB (with MongoDB compatibility), Amazon RDS, Amazon Aurora, and Amazon Neptune.

See also: AWS API Documentation

Request Syntax

response = client.stop_backup_job(
    BackupJobId='string'
)
Parameters
BackupJobId (string) --

[REQUIRED]

Uniquely identifies a request to Backup to back up a resource.

Returns
None

Exceptions

  • Backup.Client.exceptions.MissingParameterValueException
  • Backup.Client.exceptions.ResourceNotFoundException
  • Backup.Client.exceptions.InvalidParameterValueException
  • Backup.Client.exceptions.InvalidRequestException
  • Backup.Client.exceptions.ServiceUnavailableException