Did I find the right examples for you? yes no

All Samples(7)  |  Call(5)  |  Derive(0)  |  Import(2)
Get all available regions for the Amazon S3 service.

:rtype: list
:return: A list of :class:`boto.regioninfo.RegionInfo`

        def regions():
    """
    Get all available regions for the Amazon S3 service.

    :rtype: list
    :return: A list of :class:`boto.regioninfo.RegionInfo`
    """
    from .connection import S3Connection
    return get_regions(
        's3',
        region_cls=S3RegionInfo,
        connection_cls=S3Connection
    )
        


src/w/a/wal-e-HEAD/wal_e/blobstore/s3/calling_format.py   wal-e(Download)
    # Override the hard-coded region map with boto's mappings if
    # available.
    from boto.s3 import regions
    _S3_REGIONS.update(dict((r.name, r.endpoint) for r in regions()))
except ImportError:

src/w/a/wal-e-0.7.0/wal_e/blobstore/s3/calling_format.py   wal-e(Download)
    # Override the hard-coded region map with boto's mappings if
    # available.
    from boto.s3 import regions
    _S3_REGIONS.update(dict((r.name, r.endpoint) for r in regions()))
except ImportError:

src/y/a/yas3fs-2.2.1/yas3fs/__init__.py   yas3fs(Download)
 
        # AWS Initialization
        if not self.aws_region in (r.name for r in boto.s3.regions()):
            error_and_exit("wrong AWS region '%s' for S3" % self.aws_region)
        try:

src/y/a/yas3fs-HEAD/yas3fs/__init__.py   yas3fs(Download)
 
        # AWS Initialization
        if not self.aws_region in (r.name for r in boto.s3.regions()):
            error_and_exit("wrong AWS region '%s' for S3" % self.aws_region)
        try:

src/b/o/boto-2.27.0/tests/integration/s3/test_cert_verification.py   boto(Download)
class S3CertVerificationTest(unittest.TestCase, ServiceCertVerificationTest):
    s3 = True
    regions = boto.s3.regions()
 
    def sample_service_call(self, conn):