WithAPIRegion sets the region for a given Client.
(region string)
| 92 | |
| 93 | // WithAPIRegion sets the region for a given Client. |
| 94 | func WithAPIRegion(region string) ClientOption { |
| 95 | return func(c *Client) { |
| 96 | c.region = region |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | // WithAPIVersion sets the version for a given Client. |
| 101 | func WithAPIVersion(version string) ClientOption { |
no outgoing calls