runway.core.providers.aws.s3.exceptions module

AWS S3 exceptions.

exception runway.core.providers.aws.s3.exceptions.BucketAccessDeniedError[source]

Bases: runway.exceptions.RunwayError

Access denied to S3 Bucket.

__init__(bucket: Bucket) None[source]

Instantiate class.

Parameters

bucket – AWS S3 Bucket object.

bucket_name: str

Name of the S3 Bucket.

message: str

Error message.

__new__(**kwargs)
add_note()

Exception.add_note(note) – add a note to the exception

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception runway.core.providers.aws.s3.exceptions.BucketNotFoundError[source]

Bases: runway.exceptions.RunwayError

S3 Bucket not found.

__init__(bucket: Bucket) None[source]

Instantiate class.

Parameters

bucket – AWS S3 Bucket object.

bucket_name: str

Name of the S3 Bucket

message: str

Error message.

__new__(**kwargs)
add_note()

Exception.add_note(note) – add a note to the exception

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception runway.core.providers.aws.s3.exceptions.S3ObjectDoesNotExistError[source]

Bases: runway.exceptions.RunwayError

Required S3 object does not exist.

__new__(**kwargs)
add_note()

Exception.add_note(note) – add a note to the exception

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

__init__(bucket: str, key: str) None[source]

Instantiate class.

Parameters
  • bucket – Name of the S3 bucket.

  • key – S3 object key.

bucket: str

Name of the S3 Bucket

key: str

S3 object key.

uri: str

S3 object URI.

message: str

Error message.