awsc.aws.AWS
- class awsc.aws.AWS
Class which bridges the boto3 class model with the awsc configuration model.
Methods
__call__
(service[, keys])Shorthand for boto3.client().
conf
()Generates a boto3 configuration object from the current awsc session.
env_session
()Fetches the boto3 session for the AWS credentials configured in the process environment.
idcaller
()Sets the info display for the account and user ID of the currently selected keypair.
list_regions
()Shorthand for enumerating the result of the DescribeRegions EC2 API call.
s3conf
()Generates a boto3 configuration object for s3 from the current awsc session.
whoami
([keys])Shorthand for the GetCallerIdentity STS API call.
- __init__()
Initializes an AWS object.
Methods
__init__
()Initializes an AWS object.
conf
()Generates a boto3 configuration object from the current awsc session.
env_session
()Fetches the boto3 session for the AWS credentials configured in the process environment.
idcaller
()Sets the info display for the account and user ID of the currently selected keypair.
list_regions
()Shorthand for enumerating the result of the DescribeRegions EC2 API call.
s3conf
()Generates a boto3 configuration object for s3 from the current awsc session.
whoami
([keys])Shorthand for the GetCallerIdentity STS API call.