StorageGateway / Client / exceptions / ServiceUnavailableError
ServiceUnavailableError¶
- class StorageGateway.Client.exceptions.ServiceUnavailableError¶
- An internal server error has occurred because the service is unavailable. For more information, see the error and message fields. - Example- try: ... except client.exceptions.ServiceUnavailableError as e: print(e.response) - response¶
- The parsed error response. All exceptions have a top level - Errorkey that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.- Syntax- { 'message': 'string', 'error': { 'errorCode': 'ActivationKeyExpired'|'ActivationKeyInvalid'|'ActivationKeyNotFound'|'GatewayInternalError'|'GatewayNotConnected'|'GatewayNotFound'|'GatewayProxyNetworkConnectionBusy'|'AuthenticationFailure'|'BandwidthThrottleScheduleNotFound'|'Blocked'|'CannotExportSnapshot'|'ChapCredentialNotFound'|'DiskAlreadyAllocated'|'DiskDoesNotExist'|'DiskSizeGreaterThanVolumeMaxSize'|'DiskSizeLessThanVolumeSize'|'DiskSizeNotGigAligned'|'DuplicateCertificateInfo'|'DuplicateSchedule'|'EndpointNotFound'|'IAMNotSupported'|'InitiatorInvalid'|'InitiatorNotFound'|'InternalError'|'InvalidGateway'|'InvalidEndpoint'|'InvalidParameters'|'InvalidSchedule'|'LocalStorageLimitExceeded'|'LunAlreadyAllocated '|'LunInvalid'|'JoinDomainInProgress'|'MaximumContentLengthExceeded'|'MaximumTapeCartridgeCountExceeded'|'MaximumVolumeCountExceeded'|'NetworkConfigurationChanged'|'NoDisksAvailable'|'NotImplemented'|'NotSupported'|'OperationAborted'|'OutdatedGateway'|'ParametersNotImplemented'|'RegionInvalid'|'RequestTimeout'|'ServiceUnavailable'|'SnapshotDeleted'|'SnapshotIdInvalid'|'SnapshotInProgress'|'SnapshotNotFound'|'SnapshotScheduleNotFound'|'StagingAreaFull'|'StorageFailure'|'TapeCartridgeNotFound'|'TargetAlreadyExists'|'TargetInvalid'|'TargetNotFound'|'UnauthorizedOperation'|'VolumeAlreadyExists'|'VolumeIdInvalid'|'VolumeInUse'|'VolumeNotFound'|'VolumeNotReady', 'errorDetails': { 'string': 'string' } }, 'Error': { 'Code': 'string', 'Message': 'string' } } - Structure- (dict) – - An internal server error has occurred because the service is unavailable. For more information, see the error and message fields. - message (string) – - A human-readable message describing the error that occurred. 
- error (dict) – - A StorageGatewayError that provides more information about the cause of the error. - errorCode (string) – - Additional information about the error. 
- errorDetails (dict) – - Human-readable text that provides detail about the error that occurred. - (string) – - (string) – 
 
 
 
- 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.