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