Sphire Mantis' API Documentation
import "github.com/sphireinc/mantis/aws"
AWS primary struct with context and aws.config
type AWS struct {
context context.Context
config aws.Config
}
func New(ctx context.Context, region string) *AWS
New creates a new AWS config using the context and region specified
If you want an empty context, set ctx to context.TODO()
region should be an AWS region, like "us-west-2"
func (a *AWS) NewDynamo() *dynamodb.Client
NewDynamo creates and returns a new instance of dynamo db
func (a *AWS) NewSecretsManager(optFns ...func(*secretsmanager.Options)) *secretsmanager.Client
NewSecretsManager creates and returns a new instance of dynamo db
Generated by gomarkdoc