aws

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 9 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

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