Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support querying codecommit of partition 'aws-cn' in session #2026

Closed
zxkane opened this issue Apr 24, 2020 · 2 comments
Closed

Support querying codecommit of partition 'aws-cn' in session #2026

zxkane opened this issue Apr 24, 2020 · 2 comments
Assignees

Comments

@zxkane
Copy link

zxkane commented Apr 24, 2020

AWS CodeCommit is GA in AWS China(for both cn-north-1 and cn-northwest-1).

Above regions are not available when querying regions for service 'codecommit' for 'aws-cn'.

>>> import botocore.session
>>> session = botocore.session.Session(profile = 'default')
>>> session.get_available_partitions()
['aws', 'aws-cn', 'aws-us-gov']
>>> session.get_available_regions('codecommit', 'aws-cn')
[]
>>> session.get_available_regions('codecommit', 'aws')
['ap-northeast-1', 'ap-northeast-2', 'ap-south-1', 'ap-southeast-1', 'ap-southeast-2', 'ca-central-1', 'eu-central-1', 'eu-west-1', 'eu-west-2', 'eu-west-3', 'sa-east-1', 'us-east-1', 'us-east-2', 'us-west-1', 'us-west-2']
@swetashre
Copy link
Contributor

@zxkane - Thank you for your post. This change was introduced yesterday here:
https://www.amazonaws.cn/en/new/2020/aws-codecommit-available-aws-china-beijing-sinnet-ningxia-nwcd/

As this is recent change, those region has not included in the endpoints.json file. The endpoints.json file comes from upstream. So the service team will eventually include those regions as they are available now. I think it only matters of time.

@swetashre swetashre added guidance Question that needs advice or information. closing-soon and removed guidance Question that needs advice or information. labels Apr 24, 2020
@no-response
Copy link

no-response bot commented May 1, 2020

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@no-response no-response bot closed this as completed May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants