aws-sdk-pipes 1.30.0 → 1.32.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: 127a3250b7020e8cf07d0f5f98efd13cc8b144dadfcf6f07e23f4095b693162f
4
- data.tar.gz: 6951563080a9d72dc20004020dfa44b5fc73efd360f30776a1ee46a225b95900
3
+ metadata.gz: 10f9f13f0e9226454aa53ac8d2691ceacc96e94c6ce680f366b076509c94700b
4
+ data.tar.gz: '08d4c9985a383d042baf0d877950a18d55e1057bd14f915fb49e1779fa29d7d1'
5
5
  SHA512:
6
- metadata.gz: 82bf550d573abe1894cb7a134b85fcea9c8af6fac4b901fd2307fcbc60c9c80b2eca66e103e9a794367a0374d68499f0616392f55df175d30a8879034b492b0e
7
- data.tar.gz: e5f22b0d6b96649c26c051170fe395f6ee1ed80583bc0e3bdde7581a60dc7dbdda57b981f85c51543b113cb9d1eaf48dd31e476ad2a012aba07ca460f5700baf
6
+ metadata.gz: 42ade0d91c660b286e92dd74a6c1dc0723888aa87aa7798560d88852406a1523e6aa4b43c49fcae2833b43db9803d323a71ab205284e22830561489373206e52
7
+ data.tar.gz: 7276ada39c8f9a2f4e835ee7e67d5e0cefdd74fd2a38faa82a7ebe21ee5a64d086d794b20394614ea83026e3e6c76034cccf6da9866aed640d2e5e0634652da5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.32.0 (2024-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.31.0 (2024-10-17)
10
+ ------------------
11
+
12
+ * Feature - This release adds validation to require specifying a SecurityGroup and Subnets in the Vpc object under PipesSourceSelfManagedKafkaParameters. It also adds support for iso-e, iso-f, and other non-commercial partitions in ARN parameters.
13
+
4
14
  1.30.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.30.0
1
+ 1.32.0
@@ -1859,7 +1859,7 @@ module Aws::Pipes
1859
1859
  tracer: tracer
1860
1860
  )
1861
1861
  context[:gem_name] = 'aws-sdk-pipes'
1862
- context[:gem_version] = '1.30.0'
1862
+ context[:gem_version] = '1.32.0'
1863
1863
  Seahorse::Client::Request.new(handlers, context)
1864
1864
  end
1865
1865
 
@@ -52,15 +52,18 @@ module Aws::Pipes
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
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
55
  self[:use_fips] = options[:use_fips]
59
56
  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
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end
@@ -12,115 +12,9 @@ module Aws::Pipes
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
- class CreatePipe
16
- def self.build(context)
17
- Aws::Pipes::EndpointParameters.new(
18
- region: context.config.region,
19
- use_dual_stack: context.config.use_dualstack_endpoint,
20
- use_fips: context.config.use_fips_endpoint,
21
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
22
- )
23
- end
24
- end
25
-
26
- class DeletePipe
27
- def self.build(context)
28
- Aws::Pipes::EndpointParameters.new(
29
- region: context.config.region,
30
- use_dual_stack: context.config.use_dualstack_endpoint,
31
- use_fips: context.config.use_fips_endpoint,
32
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
33
- )
34
- end
35
- end
36
-
37
- class DescribePipe
38
- def self.build(context)
39
- Aws::Pipes::EndpointParameters.new(
40
- region: context.config.region,
41
- use_dual_stack: context.config.use_dualstack_endpoint,
42
- use_fips: context.config.use_fips_endpoint,
43
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
44
- )
45
- end
46
- end
47
-
48
- class ListPipes
49
- def self.build(context)
50
- Aws::Pipes::EndpointParameters.new(
51
- region: context.config.region,
52
- use_dual_stack: context.config.use_dualstack_endpoint,
53
- use_fips: context.config.use_fips_endpoint,
54
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
55
- )
56
- end
57
- end
58
-
59
- class ListTagsForResource
60
- def self.build(context)
61
- Aws::Pipes::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: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
66
- )
67
- end
68
- end
69
15
 
70
- class StartPipe
71
- def self.build(context)
72
- Aws::Pipes::EndpointParameters.new(
73
- region: context.config.region,
74
- use_dual_stack: context.config.use_dualstack_endpoint,
75
- use_fips: context.config.use_fips_endpoint,
76
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
77
- )
78
- end
16
+ def self.parameters_for_operation(context)
17
+ Aws::Pipes::EndpointParameters.create(context.config)
79
18
  end
80
-
81
- class StopPipe
82
- def self.build(context)
83
- Aws::Pipes::EndpointParameters.new(
84
- region: context.config.region,
85
- use_dual_stack: context.config.use_dualstack_endpoint,
86
- use_fips: context.config.use_fips_endpoint,
87
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
88
- )
89
- end
90
- end
91
-
92
- class TagResource
93
- def self.build(context)
94
- Aws::Pipes::EndpointParameters.new(
95
- region: context.config.region,
96
- use_dual_stack: context.config.use_dualstack_endpoint,
97
- use_fips: context.config.use_fips_endpoint,
98
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
99
- )
100
- end
101
- end
102
-
103
- class UntagResource
104
- def self.build(context)
105
- Aws::Pipes::EndpointParameters.new(
106
- region: context.config.region,
107
- use_dual_stack: context.config.use_dualstack_endpoint,
108
- use_fips: context.config.use_fips_endpoint,
109
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
110
- )
111
- end
112
- end
113
-
114
- class UpdatePipe
115
- def self.build(context)
116
- Aws::Pipes::EndpointParameters.new(
117
- region: context.config.region,
118
- use_dual_stack: context.config.use_dualstack_endpoint,
119
- use_fips: context.config.use_fips_endpoint,
120
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
121
- )
122
- end
123
- end
124
-
125
19
  end
126
20
  end
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::Pipes::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,31 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :create_pipe
74
- Aws::Pipes::Endpoints::CreatePipe.build(context)
75
- when :delete_pipe
76
- Aws::Pipes::Endpoints::DeletePipe.build(context)
77
- when :describe_pipe
78
- Aws::Pipes::Endpoints::DescribePipe.build(context)
79
- when :list_pipes
80
- Aws::Pipes::Endpoints::ListPipes.build(context)
81
- when :list_tags_for_resource
82
- Aws::Pipes::Endpoints::ListTagsForResource.build(context)
83
- when :start_pipe
84
- Aws::Pipes::Endpoints::StartPipe.build(context)
85
- when :stop_pipe
86
- Aws::Pipes::Endpoints::StopPipe.build(context)
87
- when :tag_resource
88
- Aws::Pipes::Endpoints::TagResource.build(context)
89
- when :untag_resource
90
- Aws::Pipes::Endpoints::UntagResource.build(context)
91
- when :update_pipe
92
- Aws::Pipes::Endpoints::UpdatePipe.build(context)
93
- end
94
- end
95
70
  end
96
71
 
97
72
  def add_handlers(handlers, _config)
@@ -1738,10 +1738,9 @@ module Aws::Pipes
1738
1738
  # @return [Types::DeadLetterConfig]
1739
1739
  #
1740
1740
  # @!attribute [rw] on_partial_batch_item_failure
1741
- # (Streams only) Define how to handle item process failures.
1742
- # `AUTOMATIC_BISECT` halves each batch and retry each half until all
1743
- # the records are processed or there is one failed message left in the
1744
- # batch.
1741
+ # Define how to handle item process failures. `AUTOMATIC_BISECT`
1742
+ # halves each batch and retry each half until all the records are
1743
+ # processed or there is one failed message left in the batch.
1745
1744
  # @return [String]
1746
1745
  #
1747
1746
  # @!attribute [rw] maximum_batching_window_in_seconds
@@ -1749,27 +1748,25 @@ module Aws::Pipes
1749
1748
  # @return [Integer]
1750
1749
  #
1751
1750
  # @!attribute [rw] maximum_record_age_in_seconds
1752
- # (Streams only) Discard records older than the specified age. The
1753
- # default value is -1, which sets the maximum age to infinite. When
1754
- # the value is set to infinite, EventBridge never discards old
1755
- # records.
1751
+ # Discard records older than the specified age. The default value is
1752
+ # -1, which sets the maximum age to infinite. When the value is set to
1753
+ # infinite, EventBridge never discards old records.
1756
1754
  # @return [Integer]
1757
1755
  #
1758
1756
  # @!attribute [rw] maximum_retry_attempts
1759
- # (Streams only) Discard records after the specified number of
1760
- # retries. The default value is -1, which sets the maximum number of
1761
- # retries to infinite. When MaximumRetryAttempts is infinite,
1762
- # EventBridge retries failed records until the record expires in the
1763
- # event source.
1757
+ # Discard records after the specified number of retries. The default
1758
+ # value is -1, which sets the maximum number of retries to infinite.
1759
+ # When MaximumRetryAttempts is infinite, EventBridge retries failed
1760
+ # records until the record expires in the event source.
1764
1761
  # @return [Integer]
1765
1762
  #
1766
1763
  # @!attribute [rw] parallelization_factor
1767
- # (Streams only) The number of batches to process concurrently from
1768
- # each shard. The default value is 1.
1764
+ # The number of batches to process concurrently from each shard. The
1765
+ # default value is 1.
1769
1766
  # @return [Integer]
1770
1767
  #
1771
1768
  # @!attribute [rw] starting_position
1772
- # (Streams only) The position in a stream from which to start reading.
1769
+ # The position in a stream from which to start reading.
1773
1770
  # @return [String]
1774
1771
  #
1775
1772
  # @see http://docs.aws.amazon.com/goto/WebAPI/pipes-2015-10-07/PipeSourceDynamoDBStreamParameters AWS API Documentation
@@ -1798,10 +1795,9 @@ module Aws::Pipes
1798
1795
  # @return [Types::DeadLetterConfig]
1799
1796
  #
1800
1797
  # @!attribute [rw] on_partial_batch_item_failure
1801
- # (Streams only) Define how to handle item process failures.
1802
- # `AUTOMATIC_BISECT` halves each batch and retry each half until all
1803
- # the records are processed or there is one failed message left in the
1804
- # batch.
1798
+ # Define how to handle item process failures. `AUTOMATIC_BISECT`
1799
+ # halves each batch and retry each half until all the records are
1800
+ # processed or there is one failed message left in the batch.
1805
1801
  # @return [String]
1806
1802
  #
1807
1803
  # @!attribute [rw] maximum_batching_window_in_seconds
@@ -1809,27 +1805,25 @@ module Aws::Pipes
1809
1805
  # @return [Integer]
1810
1806
  #
1811
1807
  # @!attribute [rw] maximum_record_age_in_seconds
1812
- # (Streams only) Discard records older than the specified age. The
1813
- # default value is -1, which sets the maximum age to infinite. When
1814
- # the value is set to infinite, EventBridge never discards old
1815
- # records.
1808
+ # Discard records older than the specified age. The default value is
1809
+ # -1, which sets the maximum age to infinite. When the value is set to
1810
+ # infinite, EventBridge never discards old records.
1816
1811
  # @return [Integer]
1817
1812
  #
1818
1813
  # @!attribute [rw] maximum_retry_attempts
1819
- # (Streams only) Discard records after the specified number of
1820
- # retries. The default value is -1, which sets the maximum number of
1821
- # retries to infinite. When MaximumRetryAttempts is infinite,
1822
- # EventBridge retries failed records until the record expires in the
1823
- # event source.
1814
+ # Discard records after the specified number of retries. The default
1815
+ # value is -1, which sets the maximum number of retries to infinite.
1816
+ # When MaximumRetryAttempts is infinite, EventBridge retries failed
1817
+ # records until the record expires in the event source.
1824
1818
  # @return [Integer]
1825
1819
  #
1826
1820
  # @!attribute [rw] parallelization_factor
1827
- # (Streams only) The number of batches to process concurrently from
1828
- # each shard. The default value is 1.
1821
+ # The number of batches to process concurrently from each shard. The
1822
+ # default value is 1.
1829
1823
  # @return [Integer]
1830
1824
  #
1831
1825
  # @!attribute [rw] starting_position
1832
- # (Streams only) The position in a stream from which to start reading.
1826
+ # The position in a stream from which to start reading.
1833
1827
  # @return [String]
1834
1828
  #
1835
1829
  # @!attribute [rw] starting_position_timestamp
@@ -1860,7 +1854,7 @@ module Aws::Pipes
1860
1854
  # @return [String]
1861
1855
  #
1862
1856
  # @!attribute [rw] starting_position
1863
- # (Streams only) The position in a stream from which to start reading.
1857
+ # The position in a stream from which to start reading.
1864
1858
  # @return [String]
1865
1859
  #
1866
1860
  # @!attribute [rw] batch_size
@@ -2022,7 +2016,7 @@ module Aws::Pipes
2022
2016
  # @return [String]
2023
2017
  #
2024
2018
  # @!attribute [rw] starting_position
2025
- # (Streams only) The position in a stream from which to start reading.
2019
+ # The position in a stream from which to start reading.
2026
2020
  # @return [String]
2027
2021
  #
2028
2022
  # @!attribute [rw] additional_bootstrap_servers
@@ -2673,7 +2667,7 @@ module Aws::Pipes
2673
2667
  #
2674
2668
  # @!attribute [rw] timestamp_format
2675
2669
  # How to format the timestamps. For example,
2676
- # `YYYY-MM-DDThh:mm:ss.sssTZD`.
2670
+ # `yyyy-MM-dd'T'HH:mm:ss'Z'`.
2677
2671
  #
2678
2672
  # Required if `TimeFieldType` is specified as `TIMESTAMP_FORMAT`.
2679
2673
  # @return [String]
@@ -3415,10 +3409,9 @@ module Aws::Pipes
3415
3409
  # @return [Types::DeadLetterConfig]
3416
3410
  #
3417
3411
  # @!attribute [rw] on_partial_batch_item_failure
3418
- # (Streams only) Define how to handle item process failures.
3419
- # `AUTOMATIC_BISECT` halves each batch and retry each half until all
3420
- # the records are processed or there is one failed message left in the
3421
- # batch.
3412
+ # Define how to handle item process failures. `AUTOMATIC_BISECT`
3413
+ # halves each batch and retry each half until all the records are
3414
+ # processed or there is one failed message left in the batch.
3422
3415
  # @return [String]
3423
3416
  #
3424
3417
  # @!attribute [rw] maximum_batching_window_in_seconds
@@ -3426,23 +3419,21 @@ module Aws::Pipes
3426
3419
  # @return [Integer]
3427
3420
  #
3428
3421
  # @!attribute [rw] maximum_record_age_in_seconds
3429
- # (Streams only) Discard records older than the specified age. The
3430
- # default value is -1, which sets the maximum age to infinite. When
3431
- # the value is set to infinite, EventBridge never discards old
3432
- # records.
3422
+ # Discard records older than the specified age. The default value is
3423
+ # -1, which sets the maximum age to infinite. When the value is set to
3424
+ # infinite, EventBridge never discards old records.
3433
3425
  # @return [Integer]
3434
3426
  #
3435
3427
  # @!attribute [rw] maximum_retry_attempts
3436
- # (Streams only) Discard records after the specified number of
3437
- # retries. The default value is -1, which sets the maximum number of
3438
- # retries to infinite. When MaximumRetryAttempts is infinite,
3439
- # EventBridge retries failed records until the record expires in the
3440
- # event source.
3428
+ # Discard records after the specified number of retries. The default
3429
+ # value is -1, which sets the maximum number of retries to infinite.
3430
+ # When MaximumRetryAttempts is infinite, EventBridge retries failed
3431
+ # records until the record expires in the event source.
3441
3432
  # @return [Integer]
3442
3433
  #
3443
3434
  # @!attribute [rw] parallelization_factor
3444
- # (Streams only) The number of batches to process concurrently from
3445
- # each shard. The default value is 1.
3435
+ # The number of batches to process concurrently from each shard. The
3436
+ # default value is 1.
3446
3437
  # @return [Integer]
3447
3438
  #
3448
3439
  # @see http://docs.aws.amazon.com/goto/WebAPI/pipes-2015-10-07/UpdatePipeSourceDynamoDBStreamParameters AWS API Documentation
@@ -3470,10 +3461,9 @@ module Aws::Pipes
3470
3461
  # @return [Types::DeadLetterConfig]
3471
3462
  #
3472
3463
  # @!attribute [rw] on_partial_batch_item_failure
3473
- # (Streams only) Define how to handle item process failures.
3474
- # `AUTOMATIC_BISECT` halves each batch and retry each half until all
3475
- # the records are processed or there is one failed message left in the
3476
- # batch.
3464
+ # Define how to handle item process failures. `AUTOMATIC_BISECT`
3465
+ # halves each batch and retry each half until all the records are
3466
+ # processed or there is one failed message left in the batch.
3477
3467
  # @return [String]
3478
3468
  #
3479
3469
  # @!attribute [rw] maximum_batching_window_in_seconds
@@ -3481,23 +3471,21 @@ module Aws::Pipes
3481
3471
  # @return [Integer]
3482
3472
  #
3483
3473
  # @!attribute [rw] maximum_record_age_in_seconds
3484
- # (Streams only) Discard records older than the specified age. The
3485
- # default value is -1, which sets the maximum age to infinite. When
3486
- # the value is set to infinite, EventBridge never discards old
3487
- # records.
3474
+ # Discard records older than the specified age. The default value is
3475
+ # -1, which sets the maximum age to infinite. When the value is set to
3476
+ # infinite, EventBridge never discards old records.
3488
3477
  # @return [Integer]
3489
3478
  #
3490
3479
  # @!attribute [rw] maximum_retry_attempts
3491
- # (Streams only) Discard records after the specified number of
3492
- # retries. The default value is -1, which sets the maximum number of
3493
- # retries to infinite. When MaximumRetryAttempts is infinite,
3494
- # EventBridge retries failed records until the record expires in the
3495
- # event source.
3480
+ # Discard records after the specified number of retries. The default
3481
+ # value is -1, which sets the maximum number of retries to infinite.
3482
+ # When MaximumRetryAttempts is infinite, EventBridge retries failed
3483
+ # records until the record expires in the event source.
3496
3484
  # @return [Integer]
3497
3485
  #
3498
3486
  # @!attribute [rw] parallelization_factor
3499
- # (Streams only) The number of batches to process concurrently from
3500
- # each shard. The default value is 1.
3487
+ # The number of batches to process concurrently from each shard. The
3488
+ # default value is 1.
3501
3489
  # @return [Integer]
3502
3490
  #
3503
3491
  # @see http://docs.aws.amazon.com/goto/WebAPI/pipes-2015-10-07/UpdatePipeSourceKinesisStreamParameters AWS API Documentation
data/lib/aws-sdk-pipes.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::Pipes
55
55
  autoload :EndpointProvider, 'aws-sdk-pipes/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-pipes/endpoints'
57
57
 
58
- GEM_VERSION = '1.30.0'
58
+ GEM_VERSION = '1.32.0'
59
59
 
60
60
  end
61
61
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-pipes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.30.0
4
+ version: 1.32.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-24 00:00:00.000000000 Z
11
+ date: 2024-10-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.207.0
22
+ version: 3.210.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.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement