ElasticBeanstalk / Client / exceptions / S3LocationNotInServiceRegionException

S3LocationNotInServiceRegionException#

class ElasticBeanstalk.Client.exceptions.S3LocationNotInServiceRegionException#

The specified S3 bucket does not belong to the S3 region in which the service is running. The following regions are supported:

  • IAD/us-east-1

  • PDX/us-west-2

  • DUB/eu-west-1

Example

try:
  ...
except client.exceptions.S3LocationNotInServiceRegionException 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

{}

Structure

  • (dict) –

    The specified S3 bucket does not belong to the S3 region in which the service is running. The following regions are supported:

    • IAD/us-east-1

    • PDX/us-west-2

    • DUB/eu-west-1

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