aws

package
v3.0.0-...-bcda2dc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package aws scopes functionality and types that bridge Sparta types with native AWS types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfig

func NewConfig(ctx context.Context, logger *zerolog.Logger) (awsv2.Config, error)

NewConfig that attaches a debug level handler to all AWS requests from services sharing the session value.

func NewConfigWithConfig

func NewConfigWithConfig(ctx context.Context,
	awsConfig awsv2.Config,
	logger *zerolog.Logger) (awsv2.Config, error)

NewConfigWithConfig returns an awsSession that includes the user supplied configuration information

func NewConfigWithConfigLevel

func NewConfigWithConfigLevel(ctx context.Context,
	awsConfig awsv2.Config,
	level awsv2.ClientLogMode,
	logger *zerolog.Logger) (awsv2.Config, error)

NewConfigWithConfigLevel returns an AWS Session (https://github.com/aws/aws-sdk-go-v2/blob/main/config/doc) object that attaches a debug level handler to all AWS requests from services sharing the session value.

func NewConfigWithLevel

func NewConfigWithLevel(ctx context.Context,
	level awsv2.ClientLogMode,
	logger *zerolog.Logger) (awsv2.Config, error)

NewConfigWithLevel returns an AWS Session (https://github.com/aws/aws-sdk-go-v2/blob/main/config/doc) object that attaches a debug level handler to all AWS requests from services sharing the session value.

Types

This section is empty.

Directories

Path Synopsis
Package apigateway provides a standard serialization format to wrap API Gateway responses that translate into specific end-user errors.
Package apigateway provides a standard serialization format to wrap API Gateway responses that translate into specific end-user errors.
Package cloudformation scopes CloudFormation-specific utiltities for Sparta
Package cloudformation scopes CloudFormation-specific utiltities for Sparta
cli
Package main provides a simple cli tool to produce a DescribeStackResponse for a given CloudFormation Stack Name or ID.
Package main provides a simple cli tool to produce a DescribeStackResponse for a given CloudFormation Stack Name or ID.
resources
Package resources defines a set of CloudFormation Custom Resources that are implemented by Lambda functions.
Package resources defines a set of CloudFormation Custom Resources that are implemented by Lambda functions.
Package cloudwatch scopes CloudWatch-specific utiltities for Sparta
Package cloudwatch scopes CloudWatch-specific utiltities for Sparta
Package dynamodb provides types to support unmarshalling generic `event *json.RawMessage` types into DynamoDB specific event structures.
Package dynamodb provides types to support unmarshalling generic `event *json.RawMessage` types into DynamoDB specific event structures.
Package events defines event types that are un/marshalled to and from other AWS services.
Package events defines event types that are un/marshalled to and from other AWS services.
iam
Package iam exposes types and functionality to work with with AWS IAM service
Package iam exposes types and functionality to work with with AWS IAM service
builder
Package iambuilder exposes a fluent IAM privilege builder
Package iambuilder exposes a fluent IAM privilege builder
Package s3 provides types to support unmarshalling generic `event *json.RawMessage` types into S3 specific event structures.
Package s3 provides types to support unmarshalling generic `event *json.RawMessage` types into S3 specific event structures.
Package step provides functionality to work with AWS Step Functions
Package step provides functionality to work with AWS Step Functions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL