aws-sdk-bcmdataexports 1.10.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7b55c6b4767cde4ddb4f23ac34bb7ef5ef3eb3fd88294ef229477d3f5004253
4
- data.tar.gz: ab4cc2e2b7bc3a72853bfae1dbc7466fe48d75e683049e33cd010c222539831e
3
+ metadata.gz: 035d672a980fad4c7725bd0a87b37d647ba0ea27ba06c2de3dec76fd908c3501
4
+ data.tar.gz: 9b40042b4389ffde3aa8e29497b574b78dcc1eb080db52457eda7e0dc8a81db4
5
5
  SHA512:
6
- metadata.gz: 4bcf9cf8ef783cfbbdbf71eb63e2b52924c841a643562965259a924eaa6fadbffb0c0b3d903d4469c93dc219692bb4ff8cbcb20242f6774427cbf4e7e6f9f0aa
7
- data.tar.gz: b4555038477b10f9aff07f480be8f813542b8715d1e5a13959a12e910913bedeb6dfc59f326e1b377bba0bffc3d41d7ad0cbc2c9268b3d6886ec5d5d707d7a55
6
+ metadata.gz: 8ac9de66b753641d7277e106fd478671d2e194fc685fff3e959d4c8026d1645517381359d3c8049fa28d750beb08b8a25463919c60943e9f54e446f9a9c78772
7
+ data.tar.gz: 1483c9a861727b9c68cf5d094f75e46fe68ded19d7a10a14ec6297f9310602dd10b1d344a988ba74b4abe6d2939f370edf457ecd421f9dec22408ef24c167fdd
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.12.0 (2024-09-20)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.11.0 (2024-09-11)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.10.0 (2024-09-10)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.10.0
1
+ 1.12.0
@@ -130,13 +130,15 @@ module Aws::BCMDataExports
130
130
  # locations will be searched for credentials:
131
131
  #
132
132
  # * `Aws.config[:credentials]`
133
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
134
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
133
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
134
+ # `:account_id` options.
135
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
136
+ # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
135
137
  # * `~/.aws/credentials`
136
138
  # * `~/.aws/config`
137
139
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
138
140
  # are very aggressive. Construct and pass an instance of
139
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
141
+ # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
140
142
  # enable retries and extended timeouts. Instance profile credential
141
143
  # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
142
144
  # to true.
@@ -155,6 +157,8 @@ module Aws::BCMDataExports
155
157
  #
156
158
  # @option options [String] :access_key_id
157
159
  #
160
+ # @option options [String] :account_id
161
+ #
158
162
  # @option options [Boolean] :active_endpoint_cache (false)
159
163
  # When set to `true`, a thread polling for endpoints will be running in
160
164
  # the background every 60 secs (default). Defaults to `false`.
@@ -376,7 +380,9 @@ module Aws::BCMDataExports
376
380
  # sending the request.
377
381
  #
378
382
  # @option options [Aws::BCMDataExports::EndpointProvider] :endpoint_provider
379
- # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::BCMDataExports::EndpointParameters`
383
+ # The endpoint provider used to resolve endpoints. Any object that responds to
384
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
385
+ # `Aws::BCMDataExports::EndpointParameters`.
380
386
  #
381
387
  # @option options [Float] :http_continue_timeout (1)
382
388
  # The number of seconds to wait for a 100-continue response before sending the
@@ -1035,7 +1041,7 @@ module Aws::BCMDataExports
1035
1041
  tracer: tracer
1036
1042
  )
1037
1043
  context[:gem_name] = 'aws-sdk-bcmdataexports'
1038
- context[:gem_version] = '1.10.0'
1044
+ context[:gem_version] = '1.12.0'
1039
1045
  Seahorse::Client::Request.new(handlers, context)
1040
1046
  end
1041
1047
 
@@ -14,156 +14,120 @@ module Aws::BCMDataExports
14
14
 
15
15
  class CreateExport
16
16
  def self.build(context)
17
- unless context.config.regional_endpoint
18
- endpoint = context.config.endpoint.to_s
19
- end
20
17
  Aws::BCMDataExports::EndpointParameters.new(
21
18
  region: context.config.region,
22
19
  use_fips: context.config.use_fips_endpoint,
23
- endpoint: endpoint,
20
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
24
21
  )
25
22
  end
26
23
  end
27
24
 
28
25
  class DeleteExport
29
26
  def self.build(context)
30
- unless context.config.regional_endpoint
31
- endpoint = context.config.endpoint.to_s
32
- end
33
27
  Aws::BCMDataExports::EndpointParameters.new(
34
28
  region: context.config.region,
35
29
  use_fips: context.config.use_fips_endpoint,
36
- endpoint: endpoint,
30
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
37
31
  )
38
32
  end
39
33
  end
40
34
 
41
35
  class GetExecution
42
36
  def self.build(context)
43
- unless context.config.regional_endpoint
44
- endpoint = context.config.endpoint.to_s
45
- end
46
37
  Aws::BCMDataExports::EndpointParameters.new(
47
38
  region: context.config.region,
48
39
  use_fips: context.config.use_fips_endpoint,
49
- endpoint: endpoint,
40
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
50
41
  )
51
42
  end
52
43
  end
53
44
 
54
45
  class GetExport
55
46
  def self.build(context)
56
- unless context.config.regional_endpoint
57
- endpoint = context.config.endpoint.to_s
58
- end
59
47
  Aws::BCMDataExports::EndpointParameters.new(
60
48
  region: context.config.region,
61
49
  use_fips: context.config.use_fips_endpoint,
62
- endpoint: endpoint,
50
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
63
51
  )
64
52
  end
65
53
  end
66
54
 
67
55
  class GetTable
68
56
  def self.build(context)
69
- unless context.config.regional_endpoint
70
- endpoint = context.config.endpoint.to_s
71
- end
72
57
  Aws::BCMDataExports::EndpointParameters.new(
73
58
  region: context.config.region,
74
59
  use_fips: context.config.use_fips_endpoint,
75
- endpoint: endpoint,
60
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
76
61
  )
77
62
  end
78
63
  end
79
64
 
80
65
  class ListExecutions
81
66
  def self.build(context)
82
- unless context.config.regional_endpoint
83
- endpoint = context.config.endpoint.to_s
84
- end
85
67
  Aws::BCMDataExports::EndpointParameters.new(
86
68
  region: context.config.region,
87
69
  use_fips: context.config.use_fips_endpoint,
88
- endpoint: endpoint,
70
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
89
71
  )
90
72
  end
91
73
  end
92
74
 
93
75
  class ListExports
94
76
  def self.build(context)
95
- unless context.config.regional_endpoint
96
- endpoint = context.config.endpoint.to_s
97
- end
98
77
  Aws::BCMDataExports::EndpointParameters.new(
99
78
  region: context.config.region,
100
79
  use_fips: context.config.use_fips_endpoint,
101
- endpoint: endpoint,
80
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
102
81
  )
103
82
  end
104
83
  end
105
84
 
106
85
  class ListTables
107
86
  def self.build(context)
108
- unless context.config.regional_endpoint
109
- endpoint = context.config.endpoint.to_s
110
- end
111
87
  Aws::BCMDataExports::EndpointParameters.new(
112
88
  region: context.config.region,
113
89
  use_fips: context.config.use_fips_endpoint,
114
- endpoint: endpoint,
90
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
115
91
  )
116
92
  end
117
93
  end
118
94
 
119
95
  class ListTagsForResource
120
96
  def self.build(context)
121
- unless context.config.regional_endpoint
122
- endpoint = context.config.endpoint.to_s
123
- end
124
97
  Aws::BCMDataExports::EndpointParameters.new(
125
98
  region: context.config.region,
126
99
  use_fips: context.config.use_fips_endpoint,
127
- endpoint: endpoint,
100
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
128
101
  )
129
102
  end
130
103
  end
131
104
 
132
105
  class TagResource
133
106
  def self.build(context)
134
- unless context.config.regional_endpoint
135
- endpoint = context.config.endpoint.to_s
136
- end
137
107
  Aws::BCMDataExports::EndpointParameters.new(
138
108
  region: context.config.region,
139
109
  use_fips: context.config.use_fips_endpoint,
140
- endpoint: endpoint,
110
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
141
111
  )
142
112
  end
143
113
  end
144
114
 
145
115
  class UntagResource
146
116
  def self.build(context)
147
- unless context.config.regional_endpoint
148
- endpoint = context.config.endpoint.to_s
149
- end
150
117
  Aws::BCMDataExports::EndpointParameters.new(
151
118
  region: context.config.region,
152
119
  use_fips: context.config.use_fips_endpoint,
153
- endpoint: endpoint,
120
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
154
121
  )
155
122
  end
156
123
  end
157
124
 
158
125
  class UpdateExport
159
126
  def self.build(context)
160
- unless context.config.regional_endpoint
161
- endpoint = context.config.endpoint.to_s
162
- end
163
127
  Aws::BCMDataExports::EndpointParameters.new(
164
128
  region: context.config.region,
165
129
  use_fips: context.config.use_fips_endpoint,
166
- endpoint: endpoint,
130
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
167
131
  )
168
132
  end
169
133
  end
@@ -15,11 +15,11 @@ module Aws::BCMDataExports
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::BCMDataExports::EndpointProvider',
17
17
  rbs_type: 'untyped',
18
- docstring: 'The endpoint provider used to resolve endpoints. Any '\
19
- 'object that responds to `#resolve_endpoint(parameters)` '\
20
- 'where `parameters` is a Struct similar to '\
21
- '`Aws::BCMDataExports::EndpointParameters`'
22
- ) do |cfg|
18
+ docstring: <<~DOCS) do |_cfg|
19
+ The endpoint provider used to resolve endpoints. Any object that responds to
20
+ `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
21
+ `Aws::BCMDataExports::EndpointParameters`.
22
+ DOCS
23
23
  Aws::BCMDataExports::EndpointProvider.new
24
24
  end
25
25
 
@@ -40,11 +40,23 @@ module Aws::BCMDataExports
40
40
  context[:auth_scheme] =
41
41
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
42
42
 
43
- @handler.call(context)
43
+ with_metrics(context) { @handler.call(context) }
44
44
  end
45
45
 
46
46
  private
47
47
 
48
+ def with_metrics(context, &block)
49
+ metrics = []
50
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
51
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
+ metrics << 'SIGV4A_SIGNING'
53
+ end
54
+ if context.config.credentials&.credentials&.account_id
55
+ metrics << 'RESOLVED_ACCOUNT_ID'
56
+ end
57
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
58
+ end
59
+
48
60
  def apply_endpoint_headers(context, headers)
49
61
  headers.each do |key, values|
50
62
  value = values
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-bcmdataexports/customizations'
52
52
  # @!group service
53
53
  module Aws::BCMDataExports
54
54
 
55
- GEM_VERSION = '1.10.0'
55
+ GEM_VERSION = '1.12.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
data/sig/resource.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bcmdataexports
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.12.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: 2024-09-10 00:00:00.000000000 Z
11
+ date: 2024-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.203.0
22
+ version: 3.207.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.203.0
32
+ version: 3.207.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement