FSx / Client / exceptions / BackupRestoring

BackupRestoring#

class FSx.Client.exceptions.BackupRestoring#

You can’t delete a backup while it’s being used to restore a file system.

Example

try:
  ...
except client.exceptions.BackupRestoring as e:
  print(e.response)
response#

The parsed error response. All exceptions have a top level Error key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.

Syntax

{
    'Message': 'string',
    'FileSystemId': 'string',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    You can’t delete a backup while it’s being used to restore a file system.

    • Message (string) –

      A detailed error message.

    • FileSystemId (string) –

      The ID of a file system being restored from the backup.

    • Error (dict) – Normalized access to common exception attributes.

      • Code (string) – An identifier specifying the exception type.

      • Message (string) – A descriptive message explaining why the exception occured.