package config
import "github.com/aws/aws-sdk-go-v2/service/internal/s3shared/config"
Index ¶
- func ResolveUseARNRegion(ctx context.Context, configs []interface{}) (value bool, found bool, err error)
- type UseARNRegionProvider
Functions ¶
func ResolveUseARNRegion ¶
func ResolveUseARNRegion(ctx context.Context, configs []interface{}) (value bool, found bool, err error)
ResolveUseARNRegion extracts the first instance of a UseARNRegion from the config slice. Additionally returns a boolean to indicate if the value was found in provided configs, and error if one is encountered.
Types ¶
type UseARNRegionProvider ¶
type UseARNRegionProvider interface { GetS3UseARNRegion(ctx context.Context) (value bool, found bool, err error) }
UseARNRegionProvider is an interface for retrieving external configuration value for UseARNRegion
Source Files ¶
- Version
- v1.2.2
- Published
- Apr 8, 2021
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 2 days ago –
Tools for package owners.