ValidateCredentials checks if AWS credentials are valid
(ctx context.Context)
| 184 | |
| 185 | // ValidateCredentials checks if AWS credentials are valid |
| 186 | func (f *ClientFactory) ValidateCredentials(ctx context.Context) error { |
| 187 | _, err := f.GetAccountID(ctx) |
| 188 | return err |
| 189 | } |
| 190 | |
| 191 | // GetRegion returns the configured AWS region |
| 192 | func (f *ClientFactory) GetRegion() string { |
no test coverage detected