aws-sdk-acmpca 1.75.0 → 1.77.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: 5ee4ff840b924005a8397e7a17bfde6251614a6249432c0e0d63b8f38af34cf6
4
- data.tar.gz: 4fc7e20a83dde8beb53fadebffb6290791f2f89f791e4ad3b0674cfbbe176d8b
3
+ metadata.gz: adc790706171161a71d2e0f8c0c3a805d90c61eeb17538047891ee699df4c147
4
+ data.tar.gz: e56b2f93f47b0de01ced1804055962cb63ce514422a515332376ace299f9ec7b
5
5
  SHA512:
6
- metadata.gz: 1e231ad743ecdab92e3166aa23f263372ff0f7489613e50f066581f20a3f0616373c8eb5d051ea4384beba33a9b0ab88bbe77407c77c7c00ac60db1d6d95c749
7
- data.tar.gz: dcc3d906d5aca728b34a5f603ba3ab77985d8be448881529ab23673ddfb8017bd7f3f98e5990dd96286fc7e423b2a4bac15073df82771d1c1218dcb6861baf9a
6
+ metadata.gz: 60f7153bcbf75576194d0ad71b7631c52cccebc27b56337be1084bcb18d8271229a751b07ab4a5202665f1bf23b567df29e42a2e7fade7d8687ec035e17a31b8
7
+ data.tar.gz: e5c58e2d3c148e4b17209034adf431b071399bbcb55be175636ab9b0b3b1f33b586b8e96eb8c48b97f1e1361defe5ac65da4c176c42effeda3eed2aba1129468
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.77.0 (2024-09-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.76.0 (2024-07-18)
10
+ ------------------
11
+
12
+ * Feature - Fix broken waiters for the acm-pca client. Waiters broke in version 1.13.144 of the Boto3 SDK.
13
+
4
14
  1.75.0 (2024-07-12)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.75.0
1
+ 1.77.0
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
32
  require 'aws-sdk-core/plugins/request_compression.rb'
33
33
  require 'aws-sdk-core/plugins/defaults_mode.rb'
34
34
  require 'aws-sdk-core/plugins/recursion_detection.rb'
35
+ require 'aws-sdk-core/plugins/telemetry.rb'
35
36
  require 'aws-sdk-core/plugins/sign.rb'
36
37
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
37
38
 
@@ -83,6 +84,7 @@ module Aws::ACMPCA
83
84
  add_plugin(Aws::Plugins::RequestCompression)
84
85
  add_plugin(Aws::Plugins::DefaultsMode)
85
86
  add_plugin(Aws::Plugins::RecursionDetection)
87
+ add_plugin(Aws::Plugins::Telemetry)
86
88
  add_plugin(Aws::Plugins::Sign)
87
89
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
88
90
  add_plugin(Aws::ACMPCA::Plugins::Endpoints)
@@ -337,6 +339,16 @@ module Aws::ACMPCA
337
339
  # ** Please note ** When response stubbing is enabled, no HTTP
338
340
  # requests are made, and retries are disabled.
339
341
  #
342
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
343
+ # Allows you to provide a telemetry provider, which is used to
344
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
345
+ # will not record or emit any telemetry data. The SDK supports the
346
+ # following telemetry providers:
347
+ #
348
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
349
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
350
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
351
+ #
340
352
  # @option options [Aws::TokenProvider] :token_provider
341
353
  # A Bearer Token Provider. This can be an instance of any one of the
342
354
  # following classes:
@@ -2624,14 +2636,19 @@ module Aws::ACMPCA
2624
2636
  # @api private
2625
2637
  def build_request(operation_name, params = {})
2626
2638
  handlers = @handlers.for(operation_name)
2639
+ tracer = config.telemetry_provider.tracer_provider.tracer(
2640
+ Aws::Telemetry.module_to_tracer_name('Aws::ACMPCA')
2641
+ )
2627
2642
  context = Seahorse::Client::RequestContext.new(
2628
2643
  operation_name: operation_name,
2629
2644
  operation: config.api.operation(operation_name),
2630
2645
  client: self,
2631
2646
  params: params,
2632
- config: config)
2647
+ config: config,
2648
+ tracer: tracer
2649
+ )
2633
2650
  context[:gem_name] = 'aws-sdk-acmpca'
2634
- context[:gem_version] = '1.75.0'
2651
+ context[:gem_version] = '1.77.0'
2635
2652
  Seahorse::Client::Request.new(handlers, context)
2636
2653
  end
2637
2654
 
@@ -2699,9 +2716,9 @@ module Aws::ACMPCA
2699
2716
  #
2700
2717
  # | waiter_name | params | :delay | :max_attempts |
2701
2718
  # | --------------------------------- | ---------------------------------------------------- | -------- | ------------- |
2702
- # | audit_report_created | {Client#describe_certificate_authority_audit_report} | 3 | 40 |
2703
- # | certificate_authority_csr_created | {Client#get_certificate_authority_csr} | 3 | 40 |
2704
- # | certificate_issued | {Client#get_certificate} | 1 | 120 |
2719
+ # | audit_report_created | {Client#describe_certificate_authority_audit_report} | 3 | 60 |
2720
+ # | certificate_authority_csr_created | {Client#get_certificate_authority_csr} | 3 | 60 |
2721
+ # | certificate_issued | {Client#get_certificate} | 1 | 60 |
2705
2722
  #
2706
2723
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
2707
2724
  # because the waiter has entered a state that it will not transition
@@ -69,9 +69,9 @@ module Aws::ACMPCA
69
69
  #
70
70
  # | waiter_name | params | :delay | :max_attempts |
71
71
  # | --------------------------------- | ---------------------------------------------------- | -------- | ------------- |
72
- # | audit_report_created | {Client#describe_certificate_authority_audit_report} | 3 | 40 |
73
- # | certificate_authority_csr_created | {Client#get_certificate_authority_csr} | 3 | 40 |
74
- # | certificate_issued | {Client#get_certificate} | 1 | 120 |
72
+ # | audit_report_created | {Client#describe_certificate_authority_audit_report} | 3 | 60 |
73
+ # | certificate_authority_csr_created | {Client#get_certificate_authority_csr} | 3 | 60 |
74
+ # | certificate_issued | {Client#get_certificate} | 1 | 60 |
75
75
  #
76
76
  module Waiters
77
77
 
@@ -80,33 +80,33 @@ module Aws::ACMPCA
80
80
 
81
81
  # @param [Hash] options
82
82
  # @option options [required, Client] :client
83
- # @option options [Integer] :max_attempts (40)
83
+ # @option options [Integer] :max_attempts (60)
84
84
  # @option options [Integer] :delay (3)
85
85
  # @option options [Proc] :before_attempt
86
86
  # @option options [Proc] :before_wait
87
87
  def initialize(options)
88
88
  @client = options.fetch(:client)
89
89
  @waiter = Aws::Waiters::Waiter.new({
90
- max_attempts: 40,
90
+ max_attempts: 60,
91
91
  delay: 3,
92
92
  poller: Aws::Waiters::Poller.new(
93
93
  operation_name: :describe_certificate_authority_audit_report,
94
94
  acceptors: [
95
95
  {
96
+ "state" => "success",
96
97
  "matcher" => "path",
97
98
  "argument" => "audit_report_status",
98
- "state" => "success",
99
99
  "expected" => "SUCCESS"
100
100
  },
101
101
  {
102
+ "state" => "failure",
102
103
  "matcher" => "path",
103
104
  "argument" => "audit_report_status",
104
- "state" => "failure",
105
105
  "expected" => "FAILED"
106
106
  },
107
107
  {
108
- "matcher" => "error",
109
108
  "state" => "failure",
109
+ "matcher" => "error",
110
110
  "expected" => "AccessDeniedException"
111
111
  }
112
112
  ]
@@ -130,31 +130,31 @@ module Aws::ACMPCA
130
130
 
131
131
  # @param [Hash] options
132
132
  # @option options [required, Client] :client
133
- # @option options [Integer] :max_attempts (40)
133
+ # @option options [Integer] :max_attempts (60)
134
134
  # @option options [Integer] :delay (3)
135
135
  # @option options [Proc] :before_attempt
136
136
  # @option options [Proc] :before_wait
137
137
  def initialize(options)
138
138
  @client = options.fetch(:client)
139
139
  @waiter = Aws::Waiters::Waiter.new({
140
- max_attempts: 40,
140
+ max_attempts: 60,
141
141
  delay: 3,
142
142
  poller: Aws::Waiters::Poller.new(
143
143
  operation_name: :get_certificate_authority_csr,
144
144
  acceptors: [
145
145
  {
146
- "matcher" => "error",
147
146
  "state" => "success",
148
- "expected" => false
147
+ "matcher" => "status",
148
+ "expected" => 200
149
149
  },
150
150
  {
151
- "matcher" => "error",
152
151
  "state" => "retry",
152
+ "matcher" => "error",
153
153
  "expected" => "RequestInProgressException"
154
154
  },
155
155
  {
156
- "matcher" => "error",
157
156
  "state" => "failure",
157
+ "matcher" => "error",
158
158
  "expected" => "AccessDeniedException"
159
159
  }
160
160
  ]
@@ -178,31 +178,31 @@ module Aws::ACMPCA
178
178
 
179
179
  # @param [Hash] options
180
180
  # @option options [required, Client] :client
181
- # @option options [Integer] :max_attempts (120)
181
+ # @option options [Integer] :max_attempts (60)
182
182
  # @option options [Integer] :delay (1)
183
183
  # @option options [Proc] :before_attempt
184
184
  # @option options [Proc] :before_wait
185
185
  def initialize(options)
186
186
  @client = options.fetch(:client)
187
187
  @waiter = Aws::Waiters::Waiter.new({
188
- max_attempts: 120,
188
+ max_attempts: 60,
189
189
  delay: 1,
190
190
  poller: Aws::Waiters::Poller.new(
191
191
  operation_name: :get_certificate,
192
192
  acceptors: [
193
193
  {
194
- "matcher" => "error",
195
194
  "state" => "success",
196
- "expected" => false
195
+ "matcher" => "status",
196
+ "expected" => 200
197
197
  },
198
198
  {
199
- "matcher" => "error",
200
199
  "state" => "retry",
200
+ "matcher" => "error",
201
201
  "expected" => "RequestInProgressException"
202
202
  },
203
203
  {
204
- "matcher" => "error",
205
204
  "state" => "failure",
205
+ "matcher" => "error",
206
206
  "expected" => "AccessDeniedException"
207
207
  }
208
208
  ]
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-acmpca/customizations'
53
53
  # @!group service
54
54
  module Aws::ACMPCA
55
55
 
56
- GEM_VERSION = '1.75.0'
56
+ GEM_VERSION = '1.77.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -51,6 +51,7 @@ module Aws
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?simple_json: bool,
53
53
  ?stub_responses: untyped,
54
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
54
55
  ?token_provider: untyped,
55
56
  ?use_dualstack_endpoint: bool,
56
57
  ?use_fips_endpoint: bool,
data/sig/resource.rbs CHANGED
@@ -51,6 +51,7 @@ module Aws
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?simple_json: bool,
53
53
  ?stub_responses: untyped,
54
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
54
55
  ?token_provider: untyped,
55
56
  ?use_dualstack_endpoint: bool,
56
57
  ?use_fips_endpoint: bool,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-acmpca
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.75.0
4
+ version: 1.77.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-07-12 00:00:00.000000000 Z
11
+ date: 2024-09-03 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.201.0
22
+ version: 3.203.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.201.0
32
+ version: 3.203.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement