aws

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: MIT Imports: 16 Imported by: 0

README

aws

Contains functions for managing AWS API calls. Substation follows these rules across every application:

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg Config) (*aws.Config, *session.Session)

New returns a new AWS configuration and session.

func NewDefault

func NewDefault() (*aws.Config, *session.Session)

NewDefault returns a new AWS configuration and session with default values.

func NewRetryer

func NewRetryer(cfg config.Retry) customRetryer

func NewV2 added in v1.6.0

func NewV2(ctx context.Context, cfg Config) (aws.Config, error)

NewV2 returns an SDK v2 configuration.

Types

type Config

type Config struct {
	Region          string   `json:"region"`
	RoleARN         string   `json:"role_arn"`
	MaxRetries      int      `json:"max_retries"`
	RetryableErrors []string `json:"retryable_errors"`
}

Directories

Path Synopsis
package appconfig provides functions for interacting with AWS AppConfig.
package appconfig provides functions for interacting with AWS AppConfig.
package s3manager provides methods and functions for downloading and uploading objects in AWS S3.
package s3manager provides methods and functions for downloading and uploading objects in AWS S3.

Jump to

Keyboard shortcuts

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