Lists the available partitions found on disk :rtype: list :return: Returns a list of partition names (e.g., ["aws", "aws-cn"])
(self)
| 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 |