Versions in this module Expand all Collapse all v0 v0.1.0 Mar 1, 2021 Changes in this version + const DefaultRegion + func GetAssetFileKey(appID apps.AppID, version apps.AppVersion, name string) string + func NewAWSSessionWithLogger(config *aws.Config, logger log) (*session.Session, error) + type Client struct + AppsS3Bucket string + func NewAWSClient(awsAccessKeyID, awsSecretAccessKey string, logger log) *Client + func NewAWSClientWithConfig(config *aws.Config, bucket string, logger log) *Client + func (c *Client) CheckIfBucketExists(name string) (bool, error) + func (c *Client) CreateBucket(bucket string) error + func (c *Client) GetManifest(appID apps.AppID, version apps.AppVersion) (*apps.Manifest, error) + func (c *Client) InvokeLambda(appID apps.AppID, appVersion apps.AppVersion, ...) ([]byte, error) + func (c *Client) ProvisionApp(b []byte, shouldUpdate bool) error + func (c *Client) ProvisionAppFromFile(path string, shouldUpdate bool) error + func (c *Client) ProvisionAppFromURL(releaseURL string, shouldUpdate bool) error + func (c *Client) RefreshService(awsAccessKeyID, awsSecretAccessKey string) + func (c *Client) S3AssetDownload(item string) ([]byte, error) + func (c *Client) S3FileDownload(bucket, item string) ([]byte, error) + func (c *Client) S3FileUpload(key string, body io.Reader) error + func (c *Client) SaveManifest(manifest *apps.Manifest) error + func (c *Client) Service() *Service + type Service struct + func NewService(sess *session.Session) *Service