MCPcopy Create free account
hub / github.com/dan-v/lambda-nat-proxy / GetRegion

Method GetRegion

internal/aws/clients.go:192–194  ·  view source on GitHub ↗

GetRegion returns the configured AWS region

()

Source from the content-addressed store, hash-verified

190
191// GetRegion returns the configured AWS region
192func (f *ClientFactory) GetRegion() string {
193 return *f.session.Config.Region
194}
195
196// WaitForOperation waits for an AWS operation to complete using exponential backoff
197func WaitForOperation(ctx context.Context, checkFn func() (bool, error), maxWait time.Duration) error {

Callers 1

TestGetRegionFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestGetRegionFunction · 0.76