MCPcopy Index your code
hub / github.com/aws/aws-cli / get_available_partitions

Method get_available_partitions

awscli/botocore/session.py:1007–1014  ·  view source on GitHub ↗

Lists the available partitions found on disk :rtype: list :return: Returns a list of partition names (e.g., ["aws", "aws-cn"])

(self)

Source from the content-addressed store, hash-verified

1005 return None
1006
1007 def get_available_partitions(self):
1008 """Lists the available partitions found on disk
1009
1010 :rtype: list
1011 :return: Returns a list of partition names (e.g., ["aws", "aws-cn"])
1012 """
1013 resolver = self._get_internal_component('endpoint_resolver')
1014 return resolver.get_available_partitions()
1015
1016 def get_available_regions(
1017 self, service_name, partition_name='aws', allow_non_regional=False

Calls 1

Tested by 2