Skip to content

Commit

Permalink
fix proxy config example (#2853)
Browse files Browse the repository at this point in the history
* fix proxy config example

Signed-off-by: Jeff Robertson <jrobertson69@bloomberg.net>
  • Loading branch information
jrobertson69 committed May 7, 2021
1 parent 9d0d8a8 commit d88059f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/source/guide/configuration.rst
Expand Up @@ -76,10 +76,10 @@ In the following example, a proxy list is set up to use ``proxy.amazon.com``, po
}
my_config = Config(
'region_name': 'us-east-2',
'signature_version': 'v4',
'proxies': proxy_definitions
}
region_name='us-east-2',
signature_version='v4',
proxies=proxy_definitions
)
client = boto3.client('kinesis', config=my_config)
Expand All @@ -101,13 +101,13 @@ You can configure how Boto3 uses proxies by specifying the ``proxies_config`` op
}
my_config = Config(
'region_name': 'us-east-2',
'signature_version': 'v4',
'proxies': proxy_definitions,
'proxies_config': {
region_name='us-east-2',
signature_version='v4',
proxies=proxy_definitions,
proxies_config={
'proxy_client_cert': '/path/of/certificate'
}
}
)
client = boto3.client('kinesis', config=my_config)
Expand Down

0 comments on commit d88059f

Please sign in to comment.