sdkutil

package
v0.0.0-...-c523002 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package sdkutil provides utilities used to call awssdk.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultSession

func GetDefaultSession() (sess *session.Session, err error)

GetDefaultSession creates aws sdk session with given profile and region

func GetNewSessionWithEndpoint

func GetNewSessionWithEndpoint(endpoint string) (sess *session.Session, err error)

GetNewSessionWithEndpoint creates aws sdk session with given profile, region and endpoint

func SetRegionAndProfile

func SetRegionAndProfile(region string, profile string)

Sets the region and profile for default aws sessions

Types

This section is empty.

Directories

Path Synopsis
Package retryer overrides the default aws sdk retryer delay logic to better suit the mds needs
Package retryer overrides the default aws sdk retryer delay logic to better suit the mds needs

Jump to

Keyboard shortcuts

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