sdkutil

package
v0.0.0-...-80869bb Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 5 Imported by: 39

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 GetRegion

func GetRegion() (region string)

Gets the region for default aws sessions

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