aws-sdk-s3control 1.21.0 → 1.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-s3control.rb +3 -2
- data/lib/aws-sdk-s3control/arn/outpost_access_point_arn.rb +76 -0
- data/lib/aws-sdk-s3control/arn/outpost_bucket_arn.rb +72 -0
- data/lib/aws-sdk-s3control/client.rb +2311 -263
- data/lib/aws-sdk-s3control/client_api.rb +720 -21
- data/lib/aws-sdk-s3control/errors.rb +22 -0
- data/lib/aws-sdk-s3control/plugins/arn.rb +215 -0
- data/lib/aws-sdk-s3control/plugins/dualstack.rb +3 -1
- data/lib/aws-sdk-s3control/plugins/{s3_signer.rb → s3_control_signer.rb} +33 -28
- data/lib/aws-sdk-s3control/types.rb +2708 -327
- metadata +8 -6
- data/lib/aws-sdk-s3control/plugins/s3_control_dns.rb +0 -29
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-s3control
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '3'
|
34
34
|
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 3.
|
36
|
+
version: 3.109.0
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '3'
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 3.
|
46
|
+
version: 3.109.0
|
47
47
|
description: Official AWS Ruby gem for AWS S3 Control. This gem is part of the AWS
|
48
48
|
SDK for Ruby.
|
49
49
|
email:
|
@@ -53,14 +53,16 @@ extensions: []
|
|
53
53
|
extra_rdoc_files: []
|
54
54
|
files:
|
55
55
|
- lib/aws-sdk-s3control.rb
|
56
|
+
- lib/aws-sdk-s3control/arn/outpost_access_point_arn.rb
|
57
|
+
- lib/aws-sdk-s3control/arn/outpost_bucket_arn.rb
|
56
58
|
- lib/aws-sdk-s3control/client.rb
|
57
59
|
- lib/aws-sdk-s3control/client_api.rb
|
58
60
|
- lib/aws-sdk-s3control/customizations.rb
|
59
61
|
- lib/aws-sdk-s3control/errors.rb
|
62
|
+
- lib/aws-sdk-s3control/plugins/arn.rb
|
60
63
|
- lib/aws-sdk-s3control/plugins/dualstack.rb
|
61
|
-
- lib/aws-sdk-s3control/plugins/
|
64
|
+
- lib/aws-sdk-s3control/plugins/s3_control_signer.rb
|
62
65
|
- lib/aws-sdk-s3control/plugins/s3_host_id.rb
|
63
|
-
- lib/aws-sdk-s3control/plugins/s3_signer.rb
|
64
66
|
- lib/aws-sdk-s3control/resource.rb
|
65
67
|
- lib/aws-sdk-s3control/types.rb
|
66
68
|
homepage: https://github.com/aws/aws-sdk-ruby
|
@@ -1,29 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Aws
|
4
|
-
module S3Control
|
5
|
-
module Plugins
|
6
|
-
class S3ControlDns < Seahorse::Client::Plugin
|
7
|
-
def add_handlers(handlers, config)
|
8
|
-
handlers.add(Handler, step: :build, priority: 1)
|
9
|
-
end
|
10
|
-
|
11
|
-
class Handler < Seahorse::Client::Handler
|
12
|
-
def call(context)
|
13
|
-
if context.operation.endpoint_pattern.nil?
|
14
|
-
move_account_id_to_subdomain(context)
|
15
|
-
end
|
16
|
-
@handler.call(context)
|
17
|
-
end
|
18
|
-
|
19
|
-
private
|
20
|
-
def move_account_id_to_subdomain(context)
|
21
|
-
account_id = context.params[:account_id]
|
22
|
-
endpoint = context.http_request.endpoint
|
23
|
-
endpoint.host = "#{account_id}.#{endpoint.host}"
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|