AppConfigCloudExtension / Client / exceptions / ServiceUnavailableException

ServiceUnavailableException

class AppConfigCloudExtension.Client.exceptions.ServiceUnavailableException

AWS Cloud Extensions can’t serve the request now. Retry it.

Example

try:
  ...
except client.exceptions.ServiceUnavailableException 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',
    'reason': 'PROFILE_LOADING'|'EXTENSION_LOADING'|'EXTENSION_REMOVED'|'EXTENSION_RELOADED'|'EXTENSION_EXITED'|'RUNTIME_SHUTTING_DOWN'|'SECRET_KEY_UNAVAILABLE',
    'extension': 'string',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    AWS Cloud Extensions can’t serve the request now. Retry it.

    • message (string) –

      A description of the error.

    • reason (string) –

      Why the request can’t be served now.

    • extension (string) –

      The Extension the request is for, when the reason concerns one.

    • 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.