sdkutil

package
v0.0.0-...-b79d06c Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 4 Imported by: 55

Documentation

Overview

Package sdkutil provides utilities used to call awssdk.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigWithEndpoint

func GetConfigWithEndpoint(ctx context.Context, endpoint string) (aws.Config, error)

GetConfigWithEndpoint creates aws sdk config with given profile, region and endpoint

func GetConfigWithQuickCheck

func GetConfigWithQuickCheck(ctx context.Context, endpoint string) (aws.Config, error)

GetConfigWithQuickCheck creates aws sdk config with minimal retry logic to avoid delays while maintaining reliability (used for credential checks)

func GetDefaultConfig

func GetDefaultConfig(ctx context.Context) (aws.Config, error)

GetDefaultConfig creates aws sdk config with given profile and region

func GetRegion

func GetRegion() string

GetRegion gets the region for default aws configs

func SetRegionAndProfile

func SetRegionAndProfile(region string, profile string)

SetRegionAndProfile sets the region and profile for default aws configs

Types

This section is empty.

Directories

Path Synopsis
Package retryer provides custom retry logic for AWS SDK operations Note: This is currently unused in v2 code but kept for potential future use
Package retryer provides custom retry logic for AWS SDK operations Note: This is currently unused in v2 code but kept for potential future use

Jump to

Keyboard shortcuts

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