configsources – github.com/aws/aws-sdk-go-v2/internal/configsources Index | Files

package configsources

import "github.com/aws/aws-sdk-go-v2/internal/configsources"

Index

Functions

func ResolveEnableEndpointDiscovery

func ResolveEnableEndpointDiscovery(ctx context.Context, configs []interface{}) (value aws.EndpointDiscoveryEnableState, found bool, err error)

ResolveEnableEndpointDiscovery extracts the first instance of a EnableEndpointDiscoveryProvider from the config slice. Additionally returns a aws.EndpointDiscoveryEnableState to indicate if the value was found in provided configs, and error if one is encountered.

func ResolveUseDualStackEndpoint

func ResolveUseDualStackEndpoint(ctx context.Context, configs []interface{}) (value aws.DualStackEndpointState, found bool, err error)

ResolveUseDualStackEndpoint extracts the first instance of a UseDualStackEndpoint from the config slice. Additionally returns a boolean to indicate if the value was found in provided configs, and error if one is encountered.

func ResolveUseFIPSEndpoint

func ResolveUseFIPSEndpoint(ctx context.Context, configs []interface{}) (value aws.FIPSEndpointState, found bool, err error)

ResolveUseFIPSEndpoint extracts the first instance of a UseFIPSEndpointProvider 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 EnableEndpointDiscoveryProvider

type EnableEndpointDiscoveryProvider interface {
	GetEnableEndpointDiscovery(ctx context.Context) (value aws.EndpointDiscoveryEnableState, found bool, err error)
}

EnableEndpointDiscoveryProvider is an interface for retrieving external configuration value for Enable Endpoint Discovery

type UseDualStackEndpointProvider

type UseDualStackEndpointProvider interface {
	GetUseDualStackEndpoint(context.Context) (value aws.DualStackEndpointState, found bool, err error)
}

UseDualStackEndpointProvider is an interface for retrieving external configuration values for UseDualStackEndpoint

type UseFIPSEndpointProvider

type UseFIPSEndpointProvider interface {
	GetUseFIPSEndpoint(context.Context) (value aws.FIPSEndpointState, found bool, err error)
}

UseFIPSEndpointProvider is an interface for retrieving external configuration values for UseFIPSEndpoint

Source Files

config.go go_module_metadata.go

Version
v1.1.41
Published
Aug 21, 2023
Platform
js/wasm
Imports
2 packages
Last checked
now

Tools for package owners.