forked from aws/aws-sdk-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paths3.rb
25 lines (21 loc) · 759 Bytes
/
s3.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Aws.add_service(:S3, {
api: File.join(Aws::API_DIR, 'S3.api.json'),
docs: File.join(Aws::API_DIR, 'S3.docs.json'),
paginators: File.join(Aws::API_DIR, 'S3.paginators.json'),
resources: File.join(Aws::API_DIR, 'S3.resources.json'),
waiters: File.join(Aws::API_DIR, 'S3.waiters.json'),
})
module Aws
module S3
autoload :Presigner, 'aws-sdk-core/s3/presigner'
autoload :BucketRegionCache, 'aws-sdk-core/s3/bucket_region_cache'
# A cache of discovered bucket regions. You can call `#bucket_added`
# on this to be notified when you must configure the proper region
# to access a bucket.
#
# This cache is considered an implementation detail.
#
# @api private
BUCKET_REGIONS = BucketRegionCache.new
end
end