Package: defaults
import "../ibm-cos-sdk-go-v2/aws/defaults"
Overview
Package defaults provides recommended configuration values for AWS SDKs and CLIs.
Type Summary collapse
-
Configuration
struct
Configuration is the set of SDK configuration options that are determined based on the configured DefaultsMode.
Function Summary collapse
-
func GetModeConfiguration(mode aws.DefaultsMode) (Configuration, error)
GetModeConfiguration returns the default Configuration descriptor for the given mode.
-
func ResolveDefaultsModeAuto(region string, environment aws.RuntimeEnvironment) aws.DefaultsMode
ResolveDefaultsModeAuto is used to determine the effective aws.DefaultsMode when the mode is set to aws.DefaultsModeAuto.
Function Details
func GetModeConfiguration(mode aws.DefaultsMode) (Configuration, error)
GetModeConfiguration returns the default Configuration descriptor for the given mode.
Supports the following modes: cross-region, in-region, mobile, standard
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
// File 'aws/defaults/defaults.go', line 13
|
func ResolveDefaultsModeAuto(region string, environment aws.RuntimeEnvironment) aws.DefaultsMode
ResolveDefaultsModeAuto is used to determine the effective aws.DefaultsMode when the mode is set to aws.DefaultsModeAuto.
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
// File 'aws/defaults/auto.go', line 14
|