aws-sdk-datapipeline 1.36.0 → 1.38.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: 1c5011f48a2d857fe56162272d935d694103396e367aaa1104d7b22ea0c3e7c5
4
- data.tar.gz: f3f3154fd30d2fe338ec1103d41256e2a1dd76df72e818822ff2ea1d98bfe82c
3
+ metadata.gz: bbfa8927cec57075a0f6729a2c950c66e8182d5c62a0f24d532556cebf362860
4
+ data.tar.gz: bf9c1722e0bfd903cc58ce103d8fa367b4a9459d40c40b11e4f6f6eda45913e0
5
5
  SHA512:
6
- metadata.gz: c4d25370bdf76ae02fb9173d2f0e3fac901ca4a4ac6cd625ea34ac386b9b397d2aa48301b5637d8cdb3b43f87097bc22ec260babd1aa2a030752e7be84978596
7
- data.tar.gz: 7a8769fe99a547fbc0debcafa6ad3802d875d46c43b5467333090da0eead94e97b5a937678d6a51ab657c7cf72a11033d52581e47c5096a1998e22739e39499f
6
+ metadata.gz: a83fb5ee17fe4533b6f1c80c33fd3764e9ad5b1f2f4eccb6ad9126433a80d7f06ef4ab75c9efa1d459f1f98cf93fdd48a45b791d1ded438a6fb2eaebf6ba8dd7
7
+ data.tar.gz: e1171fcd25e0e1ab59e253da5266f40743e01041f2d6a10fd1b10e0ee81ea769b877ddd2442aebb4bab6b6f7b1064dac2e3fabc569f17ee6e41fcd0b32b8d485
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.38.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
11
+ 1.37.0 (2022-10-25)
12
+ ------------------
13
+
14
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
15
+
4
16
  1.36.0 (2022-02-24)
5
17
  ------------------
6
18
 
@@ -248,4 +260,4 @@ Unreleased Changes
248
260
  1.0.0.rc1 (2016-12-05)
249
261
  ------------------
250
262
 
251
- * Feature - Initial preview release of the `aws-sdk-datapipeline` gem.
263
+ * Feature - Initial preview release of the `aws-sdk-datapipeline` gem.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.36.0
1
+ 1.38.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:datapipeline)
@@ -79,8 +79,9 @@ module Aws::DataPipeline
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
84
+ add_plugin(Aws::DataPipeline::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -297,6 +298,19 @@ module Aws::DataPipeline
297
298
  # ** Please note ** When response stubbing is enabled, no HTTP
298
299
  # requests are made, and retries are disabled.
299
300
  #
301
+ # @option options [Aws::TokenProvider] :token_provider
302
+ # A Bearer Token Provider. This can be an instance of any one of the
303
+ # following classes:
304
+ #
305
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
306
+ # tokens.
307
+ #
308
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
309
+ # access token generated from `aws login`.
310
+ #
311
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
312
+ # will be used to search for tokens configured for your profile in shared configuration files.
313
+ #
300
314
  # @option options [Boolean] :use_dualstack_endpoint
301
315
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
302
316
  # will be used if available.
@@ -310,6 +324,9 @@ module Aws::DataPipeline
310
324
  # When `true`, request parameters are validated before
311
325
  # sending the request.
312
326
  #
327
+ # @option options [Aws::DataPipeline::EndpointProvider] :endpoint_provider
328
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::DataPipeline::EndpointParameters`
329
+ #
313
330
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
314
331
  # requests through. Formatted like 'http://proxy.com:123'.
315
332
  #
@@ -1353,7 +1370,7 @@ module Aws::DataPipeline
1353
1370
  params: params,
1354
1371
  config: config)
1355
1372
  context[:gem_name] = 'aws-sdk-datapipeline'
1356
- context[:gem_version] = '1.36.0'
1373
+ context[:gem_version] = '1.38.0'
1357
1374
  Seahorse::Client::Request.new(handlers, context)
1358
1375
  end
1359
1376
 
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::DataPipeline
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,51 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::DataPipeline
11
+ class EndpointProvider
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://datapipeline-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://datapipeline-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://datapipeline.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://datapipeline.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
+ end
47
+ raise ArgumentError, 'No endpoint could be resolved'
48
+
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,281 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::DataPipeline
12
+ module Endpoints
13
+
14
+ class ActivatePipeline
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::DataPipeline::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class AddTags
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::DataPipeline::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
42
+ class CreatePipeline
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::DataPipeline::EndpointParameters.new(
48
+ region: context.config.region,
49
+ use_dual_stack: context.config.use_dualstack_endpoint,
50
+ use_fips: context.config.use_fips_endpoint,
51
+ endpoint: endpoint,
52
+ )
53
+ end
54
+ end
55
+
56
+ class DeactivatePipeline
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::DataPipeline::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ class DeletePipeline
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::DataPipeline::EndpointParameters.new(
76
+ region: context.config.region,
77
+ use_dual_stack: context.config.use_dualstack_endpoint,
78
+ use_fips: context.config.use_fips_endpoint,
79
+ endpoint: endpoint,
80
+ )
81
+ end
82
+ end
83
+
84
+ class DescribeObjects
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::DataPipeline::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
98
+ class DescribePipelines
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::DataPipeline::EndpointParameters.new(
104
+ region: context.config.region,
105
+ use_dual_stack: context.config.use_dualstack_endpoint,
106
+ use_fips: context.config.use_fips_endpoint,
107
+ endpoint: endpoint,
108
+ )
109
+ end
110
+ end
111
+
112
+ class EvaluateExpression
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::DataPipeline::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
126
+ class GetPipelineDefinition
127
+ def self.build(context)
128
+ unless context.config.regional_endpoint
129
+ endpoint = context.config.endpoint.to_s
130
+ end
131
+ Aws::DataPipeline::EndpointParameters.new(
132
+ region: context.config.region,
133
+ use_dual_stack: context.config.use_dualstack_endpoint,
134
+ use_fips: context.config.use_fips_endpoint,
135
+ endpoint: endpoint,
136
+ )
137
+ end
138
+ end
139
+
140
+ class ListPipelines
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::DataPipeline::EndpointParameters.new(
146
+ region: context.config.region,
147
+ use_dual_stack: context.config.use_dualstack_endpoint,
148
+ use_fips: context.config.use_fips_endpoint,
149
+ endpoint: endpoint,
150
+ )
151
+ end
152
+ end
153
+
154
+ class PollForTask
155
+ def self.build(context)
156
+ unless context.config.regional_endpoint
157
+ endpoint = context.config.endpoint.to_s
158
+ end
159
+ Aws::DataPipeline::EndpointParameters.new(
160
+ region: context.config.region,
161
+ use_dual_stack: context.config.use_dualstack_endpoint,
162
+ use_fips: context.config.use_fips_endpoint,
163
+ endpoint: endpoint,
164
+ )
165
+ end
166
+ end
167
+
168
+ class PutPipelineDefinition
169
+ def self.build(context)
170
+ unless context.config.regional_endpoint
171
+ endpoint = context.config.endpoint.to_s
172
+ end
173
+ Aws::DataPipeline::EndpointParameters.new(
174
+ region: context.config.region,
175
+ use_dual_stack: context.config.use_dualstack_endpoint,
176
+ use_fips: context.config.use_fips_endpoint,
177
+ endpoint: endpoint,
178
+ )
179
+ end
180
+ end
181
+
182
+ class QueryObjects
183
+ def self.build(context)
184
+ unless context.config.regional_endpoint
185
+ endpoint = context.config.endpoint.to_s
186
+ end
187
+ Aws::DataPipeline::EndpointParameters.new(
188
+ region: context.config.region,
189
+ use_dual_stack: context.config.use_dualstack_endpoint,
190
+ use_fips: context.config.use_fips_endpoint,
191
+ endpoint: endpoint,
192
+ )
193
+ end
194
+ end
195
+
196
+ class RemoveTags
197
+ def self.build(context)
198
+ unless context.config.regional_endpoint
199
+ endpoint = context.config.endpoint.to_s
200
+ end
201
+ Aws::DataPipeline::EndpointParameters.new(
202
+ region: context.config.region,
203
+ use_dual_stack: context.config.use_dualstack_endpoint,
204
+ use_fips: context.config.use_fips_endpoint,
205
+ endpoint: endpoint,
206
+ )
207
+ end
208
+ end
209
+
210
+ class ReportTaskProgress
211
+ def self.build(context)
212
+ unless context.config.regional_endpoint
213
+ endpoint = context.config.endpoint.to_s
214
+ end
215
+ Aws::DataPipeline::EndpointParameters.new(
216
+ region: context.config.region,
217
+ use_dual_stack: context.config.use_dualstack_endpoint,
218
+ use_fips: context.config.use_fips_endpoint,
219
+ endpoint: endpoint,
220
+ )
221
+ end
222
+ end
223
+
224
+ class ReportTaskRunnerHeartbeat
225
+ def self.build(context)
226
+ unless context.config.regional_endpoint
227
+ endpoint = context.config.endpoint.to_s
228
+ end
229
+ Aws::DataPipeline::EndpointParameters.new(
230
+ region: context.config.region,
231
+ use_dual_stack: context.config.use_dualstack_endpoint,
232
+ use_fips: context.config.use_fips_endpoint,
233
+ endpoint: endpoint,
234
+ )
235
+ end
236
+ end
237
+
238
+ class SetStatus
239
+ def self.build(context)
240
+ unless context.config.regional_endpoint
241
+ endpoint = context.config.endpoint.to_s
242
+ end
243
+ Aws::DataPipeline::EndpointParameters.new(
244
+ region: context.config.region,
245
+ use_dual_stack: context.config.use_dualstack_endpoint,
246
+ use_fips: context.config.use_fips_endpoint,
247
+ endpoint: endpoint,
248
+ )
249
+ end
250
+ end
251
+
252
+ class SetTaskStatus
253
+ def self.build(context)
254
+ unless context.config.regional_endpoint
255
+ endpoint = context.config.endpoint.to_s
256
+ end
257
+ Aws::DataPipeline::EndpointParameters.new(
258
+ region: context.config.region,
259
+ use_dual_stack: context.config.use_dualstack_endpoint,
260
+ use_fips: context.config.use_fips_endpoint,
261
+ endpoint: endpoint,
262
+ )
263
+ end
264
+ end
265
+
266
+ class ValidatePipelineDefinition
267
+ def self.build(context)
268
+ unless context.config.regional_endpoint
269
+ endpoint = context.config.endpoint.to_s
270
+ end
271
+ Aws::DataPipeline::EndpointParameters.new(
272
+ region: context.config.region,
273
+ use_dual_stack: context.config.use_dualstack_endpoint,
274
+ use_fips: context.config.use_fips_endpoint,
275
+ endpoint: endpoint,
276
+ )
277
+ end
278
+ end
279
+
280
+ end
281
+ end
@@ -0,0 +1,106 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::DataPipeline
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::DataPipeline::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::DataPipeline::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::DataPipeline::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :activate_pipeline
60
+ Aws::DataPipeline::Endpoints::ActivatePipeline.build(context)
61
+ when :add_tags
62
+ Aws::DataPipeline::Endpoints::AddTags.build(context)
63
+ when :create_pipeline
64
+ Aws::DataPipeline::Endpoints::CreatePipeline.build(context)
65
+ when :deactivate_pipeline
66
+ Aws::DataPipeline::Endpoints::DeactivatePipeline.build(context)
67
+ when :delete_pipeline
68
+ Aws::DataPipeline::Endpoints::DeletePipeline.build(context)
69
+ when :describe_objects
70
+ Aws::DataPipeline::Endpoints::DescribeObjects.build(context)
71
+ when :describe_pipelines
72
+ Aws::DataPipeline::Endpoints::DescribePipelines.build(context)
73
+ when :evaluate_expression
74
+ Aws::DataPipeline::Endpoints::EvaluateExpression.build(context)
75
+ when :get_pipeline_definition
76
+ Aws::DataPipeline::Endpoints::GetPipelineDefinition.build(context)
77
+ when :list_pipelines
78
+ Aws::DataPipeline::Endpoints::ListPipelines.build(context)
79
+ when :poll_for_task
80
+ Aws::DataPipeline::Endpoints::PollForTask.build(context)
81
+ when :put_pipeline_definition
82
+ Aws::DataPipeline::Endpoints::PutPipelineDefinition.build(context)
83
+ when :query_objects
84
+ Aws::DataPipeline::Endpoints::QueryObjects.build(context)
85
+ when :remove_tags
86
+ Aws::DataPipeline::Endpoints::RemoveTags.build(context)
87
+ when :report_task_progress
88
+ Aws::DataPipeline::Endpoints::ReportTaskProgress.build(context)
89
+ when :report_task_runner_heartbeat
90
+ Aws::DataPipeline::Endpoints::ReportTaskRunnerHeartbeat.build(context)
91
+ when :set_status
92
+ Aws::DataPipeline::Endpoints::SetStatus.build(context)
93
+ when :set_task_status
94
+ Aws::DataPipeline::Endpoints::SetTaskStatus.build(context)
95
+ when :validate_pipeline_definition
96
+ Aws::DataPipeline::Endpoints::ValidatePipelineDefinition.build(context)
97
+ end
98
+ end
99
+ end
100
+
101
+ def add_handlers(handlers, _config)
102
+ handlers.add(Handler, step: :build, priority: 75)
103
+ end
104
+ end
105
+ end
106
+ end
@@ -12,20 +12,6 @@ module Aws::DataPipeline
12
12
 
13
13
  # Contains the parameters for ActivatePipeline.
14
14
  #
15
- # @note When making an API call, you may pass ActivatePipelineInput
16
- # data as a hash:
17
- #
18
- # {
19
- # pipeline_id: "id", # required
20
- # parameter_values: [
21
- # {
22
- # id: "fieldNameString", # required
23
- # string_value: "fieldStringValue", # required
24
- # },
25
- # ],
26
- # start_timestamp: Time.now,
27
- # }
28
- #
29
15
  # @!attribute [rw] pipeline_id
30
16
  # The ID of the pipeline.
31
17
  # @return [String]
@@ -57,19 +43,6 @@ module Aws::DataPipeline
57
43
 
58
44
  # Contains the parameters for AddTags.
59
45
  #
60
- # @note When making an API call, you may pass AddTagsInput
61
- # data as a hash:
62
- #
63
- # {
64
- # pipeline_id: "id", # required
65
- # tags: [ # required
66
- # {
67
- # key: "tagKey", # required
68
- # value: "tagValue", # required
69
- # },
70
- # ],
71
- # }
72
- #
73
46
  # @!attribute [rw] pipeline_id
74
47
  # The ID of the pipeline.
75
48
  # @return [String]
@@ -95,21 +68,6 @@ module Aws::DataPipeline
95
68
 
96
69
  # Contains the parameters for CreatePipeline.
97
70
  #
98
- # @note When making an API call, you may pass CreatePipelineInput
99
- # data as a hash:
100
- #
101
- # {
102
- # name: "id", # required
103
- # unique_id: "id", # required
104
- # description: "string",
105
- # tags: [
106
- # {
107
- # key: "tagKey", # required
108
- # value: "tagValue", # required
109
- # },
110
- # ],
111
- # }
112
- #
113
71
  # @!attribute [rw] name
114
72
  # The name for the pipeline. You can use the same name for multiple
115
73
  # pipelines associated with your AWS account, because AWS Data
@@ -175,14 +133,6 @@ module Aws::DataPipeline
175
133
 
176
134
  # Contains the parameters for DeactivatePipeline.
177
135
  #
178
- # @note When making an API call, you may pass DeactivatePipelineInput
179
- # data as a hash:
180
- #
181
- # {
182
- # pipeline_id: "id", # required
183
- # cancel_active: false,
184
- # }
185
- #
186
136
  # @!attribute [rw] pipeline_id
187
137
  # The ID of the pipeline.
188
138
  # @return [String]
@@ -211,13 +161,6 @@ module Aws::DataPipeline
211
161
 
212
162
  # Contains the parameters for DeletePipeline.
213
163
  #
214
- # @note When making an API call, you may pass DeletePipelineInput
215
- # data as a hash:
216
- #
217
- # {
218
- # pipeline_id: "id", # required
219
- # }
220
- #
221
164
  # @!attribute [rw] pipeline_id
222
165
  # The ID of the pipeline.
223
166
  # @return [String]
@@ -232,16 +175,6 @@ module Aws::DataPipeline
232
175
 
233
176
  # Contains the parameters for DescribeObjects.
234
177
  #
235
- # @note When making an API call, you may pass DescribeObjectsInput
236
- # data as a hash:
237
- #
238
- # {
239
- # pipeline_id: "id", # required
240
- # object_ids: ["id"], # required
241
- # evaluate_expressions: false,
242
- # marker: "string",
243
- # }
244
- #
245
178
  # @!attribute [rw] pipeline_id
246
179
  # The ID of the pipeline that contains the object definitions.
247
180
  # @return [String]
@@ -303,13 +236,6 @@ module Aws::DataPipeline
303
236
 
304
237
  # Contains the parameters for DescribePipelines.
305
238
  #
306
- # @note When making an API call, you may pass DescribePipelinesInput
307
- # data as a hash:
308
- #
309
- # {
310
- # pipeline_ids: ["id"], # required
311
- # }
312
- #
313
239
  # @!attribute [rw] pipeline_ids
314
240
  # The IDs of the pipelines to describe. You can pass as many as 25
315
241
  # identifiers in a single call. To obtain pipeline IDs, call
@@ -340,15 +266,6 @@ module Aws::DataPipeline
340
266
 
341
267
  # Contains the parameters for EvaluateExpression.
342
268
  #
343
- # @note When making an API call, you may pass EvaluateExpressionInput
344
- # data as a hash:
345
- #
346
- # {
347
- # pipeline_id: "id", # required
348
- # object_id: "id", # required
349
- # expression: "longString", # required
350
- # }
351
- #
352
269
  # @!attribute [rw] pipeline_id
353
270
  # The ID of the pipeline.
354
271
  # @return [String]
@@ -389,15 +306,6 @@ module Aws::DataPipeline
389
306
  # value is specified as either a string value (`StringValue`) or a
390
307
  # reference to another object (`RefValue`) but not as both.
391
308
  #
392
- # @note When making an API call, you may pass Field
393
- # data as a hash:
394
- #
395
- # {
396
- # key: "fieldNameString", # required
397
- # string_value: "fieldStringValue",
398
- # ref_value: "fieldNameString",
399
- # }
400
- #
401
309
  # @!attribute [rw] key
402
310
  # The field identifier.
403
311
  # @return [String]
@@ -422,14 +330,6 @@ module Aws::DataPipeline
422
330
 
423
331
  # Contains the parameters for GetPipelineDefinition.
424
332
  #
425
- # @note When making an API call, you may pass GetPipelineDefinitionInput
426
- # data as a hash:
427
- #
428
- # {
429
- # pipeline_id: "id", # required
430
- # version: "string",
431
- # }
432
- #
433
333
  # @!attribute [rw] pipeline_id
434
334
  # The ID of the pipeline.
435
335
  # @return [String]
@@ -486,14 +386,6 @@ module Aws::DataPipeline
486
386
  #
487
387
  # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AESDG-chapter-instancedata.html
488
388
  #
489
- # @note When making an API call, you may pass InstanceIdentity
490
- # data as a hash:
491
- #
492
- # {
493
- # document: "string",
494
- # signature: "string",
495
- # }
496
- #
497
389
  # @!attribute [rw] document
498
390
  # A description of an EC2 instance that is generated when the instance
499
391
  # is launched and exposed to the instance via the instance metadata
@@ -548,13 +440,6 @@ module Aws::DataPipeline
548
440
 
549
441
  # Contains the parameters for ListPipelines.
550
442
  #
551
- # @note When making an API call, you may pass ListPipelinesInput
552
- # data as a hash:
553
- #
554
- # {
555
- # marker: "string",
556
- # }
557
- #
558
443
  # @!attribute [rw] marker
559
444
  # The starting point for the results to be returned. For the first
560
445
  # call, this value should be empty. As long as there are more results,
@@ -602,14 +487,6 @@ module Aws::DataPipeline
602
487
  # Contains a logical operation for comparing the value of a field with a
603
488
  # specified value.
604
489
  #
605
- # @note When making an API call, you may pass Operator
606
- # data as a hash:
607
- #
608
- # {
609
- # type: "EQ", # accepts EQ, REF_EQ, LE, GE, BETWEEN
610
- # values: ["string"],
611
- # }
612
- #
613
490
  # @!attribute [rw] type
614
491
  # The logical operation to be performed: equal (`EQ`), equal reference
615
492
  # (`REF_EQ`), less than or equal (`LE`), greater than or equal (`GE`),
@@ -661,14 +538,6 @@ module Aws::DataPipeline
661
538
 
662
539
  # The attributes allowed or specified with a parameter object.
663
540
  #
664
- # @note When making an API call, you may pass ParameterAttribute
665
- # data as a hash:
666
- #
667
- # {
668
- # key: "attributeNameString", # required
669
- # string_value: "attributeValueString", # required
670
- # }
671
- #
672
541
  # @!attribute [rw] key
673
542
  # The field identifier.
674
543
  # @return [String]
@@ -688,19 +557,6 @@ module Aws::DataPipeline
688
557
 
689
558
  # Contains information about a parameter object.
690
559
  #
691
- # @note When making an API call, you may pass ParameterObject
692
- # data as a hash:
693
- #
694
- # {
695
- # id: "fieldNameString", # required
696
- # attributes: [ # required
697
- # {
698
- # key: "attributeNameString", # required
699
- # string_value: "attributeValueString", # required
700
- # },
701
- # ],
702
- # }
703
- #
704
560
  # @!attribute [rw] id
705
561
  # The ID of the parameter object.
706
562
  # @return [String]
@@ -720,14 +576,6 @@ module Aws::DataPipeline
720
576
 
721
577
  # A value or list of parameter values.
722
578
  #
723
- # @note When making an API call, you may pass ParameterValue
724
- # data as a hash:
725
- #
726
- # {
727
- # id: "fieldNameString", # required
728
- # string_value: "fieldStringValue", # required
729
- # }
730
- #
731
579
  # @!attribute [rw] id
732
580
  # The ID of the parameter value.
733
581
  # @return [String]
@@ -840,21 +688,6 @@ module Aws::DataPipeline
840
688
  # physical, or physical attempt pipeline object. The complete set of
841
689
  # components of a pipeline defines the pipeline.
842
690
  #
843
- # @note When making an API call, you may pass PipelineObject
844
- # data as a hash:
845
- #
846
- # {
847
- # id: "id", # required
848
- # name: "id", # required
849
- # fields: [ # required
850
- # {
851
- # key: "fieldNameString", # required
852
- # string_value: "fieldStringValue",
853
- # ref_value: "fieldNameString",
854
- # },
855
- # ],
856
- # }
857
- #
858
691
  # @!attribute [rw] id
859
692
  # The ID of the object.
860
693
  # @return [String]
@@ -879,18 +712,6 @@ module Aws::DataPipeline
879
712
 
880
713
  # Contains the parameters for PollForTask.
881
714
  #
882
- # @note When making an API call, you may pass PollForTaskInput
883
- # data as a hash:
884
- #
885
- # {
886
- # worker_group: "string", # required
887
- # hostname: "id",
888
- # instance_identity: {
889
- # document: "string",
890
- # signature: "string",
891
- # },
892
- # }
893
- #
894
715
  # @!attribute [rw] worker_group
895
716
  # The type of task the task runner is configured to accept and
896
717
  # process. The worker group is set as a field on objects in the
@@ -948,43 +769,6 @@ module Aws::DataPipeline
948
769
 
949
770
  # Contains the parameters for PutPipelineDefinition.
950
771
  #
951
- # @note When making an API call, you may pass PutPipelineDefinitionInput
952
- # data as a hash:
953
- #
954
- # {
955
- # pipeline_id: "id", # required
956
- # pipeline_objects: [ # required
957
- # {
958
- # id: "id", # required
959
- # name: "id", # required
960
- # fields: [ # required
961
- # {
962
- # key: "fieldNameString", # required
963
- # string_value: "fieldStringValue",
964
- # ref_value: "fieldNameString",
965
- # },
966
- # ],
967
- # },
968
- # ],
969
- # parameter_objects: [
970
- # {
971
- # id: "fieldNameString", # required
972
- # attributes: [ # required
973
- # {
974
- # key: "attributeNameString", # required
975
- # string_value: "attributeValueString", # required
976
- # },
977
- # ],
978
- # },
979
- # ],
980
- # parameter_values: [
981
- # {
982
- # id: "fieldNameString", # required
983
- # string_value: "fieldStringValue", # required
984
- # },
985
- # ],
986
- # }
987
- #
988
772
  # @!attribute [rw] pipeline_id
989
773
  # The ID of the pipeline.
990
774
  # @return [String]
@@ -1044,21 +828,6 @@ module Aws::DataPipeline
1044
828
 
1045
829
  # Defines the query to run against an object.
1046
830
  #
1047
- # @note When making an API call, you may pass Query
1048
- # data as a hash:
1049
- #
1050
- # {
1051
- # selectors: [
1052
- # {
1053
- # field_name: "string",
1054
- # operator: {
1055
- # type: "EQ", # accepts EQ, REF_EQ, LE, GE, BETWEEN
1056
- # values: ["string"],
1057
- # },
1058
- # },
1059
- # ],
1060
- # }
1061
- #
1062
831
  # @!attribute [rw] selectors
1063
832
  # List of selectors that define the query. An object must satisfy all
1064
833
  # of the selectors to match the query.
@@ -1074,27 +843,6 @@ module Aws::DataPipeline
1074
843
 
1075
844
  # Contains the parameters for QueryObjects.
1076
845
  #
1077
- # @note When making an API call, you may pass QueryObjectsInput
1078
- # data as a hash:
1079
- #
1080
- # {
1081
- # pipeline_id: "id", # required
1082
- # query: {
1083
- # selectors: [
1084
- # {
1085
- # field_name: "string",
1086
- # operator: {
1087
- # type: "EQ", # accepts EQ, REF_EQ, LE, GE, BETWEEN
1088
- # values: ["string"],
1089
- # },
1090
- # },
1091
- # ],
1092
- # },
1093
- # sphere: "string", # required
1094
- # marker: "string",
1095
- # limit: 1,
1096
- # }
1097
- #
1098
846
  # @!attribute [rw] pipeline_id
1099
847
  # The ID of the pipeline.
1100
848
  # @return [String]
@@ -1164,14 +912,6 @@ module Aws::DataPipeline
1164
912
 
1165
913
  # Contains the parameters for RemoveTags.
1166
914
  #
1167
- # @note When making an API call, you may pass RemoveTagsInput
1168
- # data as a hash:
1169
- #
1170
- # {
1171
- # pipeline_id: "id", # required
1172
- # tag_keys: ["string"], # required
1173
- # }
1174
- #
1175
915
  # @!attribute [rw] pipeline_id
1176
916
  # The ID of the pipeline.
1177
917
  # @return [String]
@@ -1197,20 +937,6 @@ module Aws::DataPipeline
1197
937
 
1198
938
  # Contains the parameters for ReportTaskProgress.
1199
939
  #
1200
- # @note When making an API call, you may pass ReportTaskProgressInput
1201
- # data as a hash:
1202
- #
1203
- # {
1204
- # task_id: "taskId", # required
1205
- # fields: [
1206
- # {
1207
- # key: "fieldNameString", # required
1208
- # string_value: "fieldStringValue",
1209
- # ref_value: "fieldNameString",
1210
- # },
1211
- # ],
1212
- # }
1213
- #
1214
940
  # @!attribute [rw] task_id
1215
941
  # The ID of the task assigned to the task runner. This value is
1216
942
  # provided in the response for PollForTask.
@@ -1248,15 +974,6 @@ module Aws::DataPipeline
1248
974
 
1249
975
  # Contains the parameters for ReportTaskRunnerHeartbeat.
1250
976
  #
1251
- # @note When making an API call, you may pass ReportTaskRunnerHeartbeatInput
1252
- # data as a hash:
1253
- #
1254
- # {
1255
- # taskrunner_id: "id", # required
1256
- # worker_group: "string",
1257
- # hostname: "id",
1258
- # }
1259
- #
1260
977
  # @!attribute [rw] taskrunner_id
1261
978
  # The ID of the task runner. This value should be unique across your
1262
979
  # AWS account. In the case of AWS Data Pipeline Task Runner launched
@@ -1305,17 +1022,6 @@ module Aws::DataPipeline
1305
1022
  # A comparision that is used to determine whether a query should return
1306
1023
  # this object.
1307
1024
  #
1308
- # @note When making an API call, you may pass Selector
1309
- # data as a hash:
1310
- #
1311
- # {
1312
- # field_name: "string",
1313
- # operator: {
1314
- # type: "EQ", # accepts EQ, REF_EQ, LE, GE, BETWEEN
1315
- # values: ["string"],
1316
- # },
1317
- # }
1318
- #
1319
1025
  # @!attribute [rw] field_name
1320
1026
  # The name of the field that the operator will be applied to. The
1321
1027
  # field name is the "key" portion of the field definition in the
@@ -1339,15 +1045,6 @@ module Aws::DataPipeline
1339
1045
 
1340
1046
  # Contains the parameters for SetStatus.
1341
1047
  #
1342
- # @note When making an API call, you may pass SetStatusInput
1343
- # data as a hash:
1344
- #
1345
- # {
1346
- # pipeline_id: "id", # required
1347
- # object_ids: ["id"], # required
1348
- # status: "string", # required
1349
- # }
1350
- #
1351
1048
  # @!attribute [rw] pipeline_id
1352
1049
  # The ID of the pipeline that contains the objects.
1353
1050
  # @return [String]
@@ -1375,17 +1072,6 @@ module Aws::DataPipeline
1375
1072
 
1376
1073
  # Contains the parameters for SetTaskStatus.
1377
1074
  #
1378
- # @note When making an API call, you may pass SetTaskStatusInput
1379
- # data as a hash:
1380
- #
1381
- # {
1382
- # task_id: "taskId", # required
1383
- # task_status: "FINISHED", # required, accepts FINISHED, FAILED, FALSE
1384
- # error_id: "string",
1385
- # error_message: "errorMessage",
1386
- # error_stack_trace: "string",
1387
- # }
1388
- #
1389
1075
  # @!attribute [rw] task_id
1390
1076
  # The ID of the task assigned to the task runner. This value is
1391
1077
  # provided in the response for PollForTask.
@@ -1444,14 +1130,6 @@ module Aws::DataPipeline
1444
1130
  #
1445
1131
  # [1]: http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-control-access.html
1446
1132
  #
1447
- # @note When making an API call, you may pass Tag
1448
- # data as a hash:
1449
- #
1450
- # {
1451
- # key: "tagKey", # required
1452
- # value: "tagValue", # required
1453
- # }
1454
- #
1455
1133
  # @!attribute [rw] key
1456
1134
  # The key name of a tag defined by a user. For more information, see
1457
1135
  # [Controlling User Access to Pipelines][1] in the *AWS Data Pipeline
@@ -1530,43 +1208,6 @@ module Aws::DataPipeline
1530
1208
 
1531
1209
  # Contains the parameters for ValidatePipelineDefinition.
1532
1210
  #
1533
- # @note When making an API call, you may pass ValidatePipelineDefinitionInput
1534
- # data as a hash:
1535
- #
1536
- # {
1537
- # pipeline_id: "id", # required
1538
- # pipeline_objects: [ # required
1539
- # {
1540
- # id: "id", # required
1541
- # name: "id", # required
1542
- # fields: [ # required
1543
- # {
1544
- # key: "fieldNameString", # required
1545
- # string_value: "fieldStringValue",
1546
- # ref_value: "fieldNameString",
1547
- # },
1548
- # ],
1549
- # },
1550
- # ],
1551
- # parameter_objects: [
1552
- # {
1553
- # id: "fieldNameString", # required
1554
- # attributes: [ # required
1555
- # {
1556
- # key: "attributeNameString", # required
1557
- # string_value: "attributeValueString", # required
1558
- # },
1559
- # ],
1560
- # },
1561
- # ],
1562
- # parameter_values: [
1563
- # {
1564
- # id: "fieldNameString", # required
1565
- # string_value: "fieldStringValue", # required
1566
- # },
1567
- # ],
1568
- # }
1569
- #
1570
1211
  # @!attribute [rw] pipeline_id
1571
1212
  # The ID of the pipeline.
1572
1213
  # @return [String]
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-datapipeline/types'
15
15
  require_relative 'aws-sdk-datapipeline/client_api'
16
+ require_relative 'aws-sdk-datapipeline/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-datapipeline/client'
17
18
  require_relative 'aws-sdk-datapipeline/errors'
18
19
  require_relative 'aws-sdk-datapipeline/resource'
20
+ require_relative 'aws-sdk-datapipeline/endpoint_parameters'
21
+ require_relative 'aws-sdk-datapipeline/endpoint_provider'
22
+ require_relative 'aws-sdk-datapipeline/endpoints'
19
23
  require_relative 'aws-sdk-datapipeline/customizations'
20
24
 
21
25
  # This module provides support for AWS Data Pipeline. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-datapipeline/customizations'
48
52
  # @!group service
49
53
  module Aws::DataPipeline
50
54
 
51
- GEM_VERSION = '1.36.0'
55
+ GEM_VERSION = '1.38.0'
52
56
 
53
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-datapipeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.36.0
4
+ version: 1.38.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: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2023-01-18 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.127.0
22
+ version: 3.165.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.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-datapipeline/client.rb
60
60
  - lib/aws-sdk-datapipeline/client_api.rb
61
61
  - lib/aws-sdk-datapipeline/customizations.rb
62
+ - lib/aws-sdk-datapipeline/endpoint_parameters.rb
63
+ - lib/aws-sdk-datapipeline/endpoint_provider.rb
64
+ - lib/aws-sdk-datapipeline/endpoints.rb
62
65
  - lib/aws-sdk-datapipeline/errors.rb
66
+ - lib/aws-sdk-datapipeline/plugins/endpoints.rb
63
67
  - lib/aws-sdk-datapipeline/resource.rb
64
68
  - lib/aws-sdk-datapipeline/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby