Boto Helpers

Helper classes and methods for interacting with boto3.

class Boto3CommonAttributesMixin

Mixin that provides common informational attributes unique to boto3.

property account_id

Return the AWS Account ID our Boto3 session is authenticated against.

property enabled_regions

Return a list of enabled regions in this account.

property region_name

Return the default AWS region.

get_shape(boto3_resource)

Return the Botocore shape of a boto3 Resource.

Parameters

boto3_resource (boto3.resources.base.ServiceResource) – The resource to get the shape of.

Return type

botocore.model.Shape