aws-sdk-cloudhsm 1.50.0 → 1.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ef52ad1b466978f4172deddf7774acb32a1c6320afcdc2e7b9f555f4ba67aa7
4
- data.tar.gz: e5a1e9a585073bf5b173e4a7df497b316ddfb0293e14922aabc85771bec593aa
3
+ metadata.gz: 237e916676ab92a080a9f8fd842ab88fb93ebd902fd5c421026d89c8c3896a3c
4
+ data.tar.gz: aa718ca41af4995b0aff2cf4b92a0b71e4f5604eb13b6239991f3a7365279d96
5
5
  SHA512:
6
- metadata.gz: de108804232b08ae568947f5f411561c87ae43e052fef838dfbba60ba48aaeb57870efd9387902d82601cf277306aa3ee34750335611563f9670f7c53946ca88
7
- data.tar.gz: b1fe0b999d24339d196d6a49a481beffb9ae567334e5019c595966db589e93a67842fdb9908e0b5d7b16aef4a34d7002eb56760e3637be9330ba3b6e30b1962d
6
+ metadata.gz: 4b1b5425e73ec7781c5a1e64661876a7e781242c584701e351c19cd0783a08dab4f76d1f63dc40153e78db382f870d5fc5bc55b3d0dc28c77c3a4a5851822390
7
+ data.tar.gz: 1401146e7a948da1427bbb870b294e106449fc912ca75d56b9ceb710370634e658f5fa75258d1620190e24af6be1e99b3fee70ee7b2bc9cfd980f876304c792b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.52.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.51.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.50.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.52.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::CloudHSM
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::CloudHSM
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -347,50 +356,65 @@ module Aws::CloudHSM
347
356
  # @option options [Aws::CloudHSM::EndpointProvider] :endpoint_provider
348
357
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::CloudHSM::EndpointParameters`
349
358
  #
350
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
351
- # requests through. Formatted like 'http://proxy.com:123'.
352
- #
353
- # @option options [Float] :http_open_timeout (15) The number of
354
- # seconds to wait when opening a HTTP session before raising a
355
- # `Timeout::Error`.
356
- #
357
- # @option options [Float] :http_read_timeout (60) The default
358
- # number of seconds to wait for response data. This value can
359
- # safely be set per-request on the session.
360
- #
361
- # @option options [Float] :http_idle_timeout (5) The number of
362
- # seconds a connection is allowed to sit idle before it is
363
- # considered stale. Stale connections are closed and removed
364
- # from the pool before making a request.
365
- #
366
- # @option options [Float] :http_continue_timeout (1) The number of
367
- # seconds to wait for a 100-continue response before sending the
368
- # request body. This option has no effect unless the request has
369
- # "Expect" header set to "100-continue". Defaults to `nil` which
370
- # disables this behaviour. This value can safely be set per
371
- # request on the session.
372
- #
373
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
374
- # in seconds.
359
+ # @option options [Float] :http_continue_timeout (1)
360
+ # The number of seconds to wait for a 100-continue response before sending the
361
+ # request body. This option has no effect unless the request has "Expect"
362
+ # header set to "100-continue". Defaults to `nil` which disables this
363
+ # behaviour. This value can safely be set per request on the session.
364
+ #
365
+ # @option options [Float] :http_idle_timeout (5)
366
+ # The number of seconds a connection is allowed to sit idle before it
367
+ # is considered stale. Stale connections are closed and removed from the
368
+ # pool before making a request.
369
+ #
370
+ # @option options [Float] :http_open_timeout (15)
371
+ # The default number of seconds to wait for response data.
372
+ # This value can safely be set per-request on the session.
373
+ #
374
+ # @option options [URI::HTTP,String] :http_proxy
375
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
376
+ #
377
+ # @option options [Float] :http_read_timeout (60)
378
+ # The default number of seconds to wait for response data.
379
+ # This value can safely be set per-request on the session.
380
+ #
381
+ # @option options [Boolean] :http_wire_trace (false)
382
+ # When `true`, HTTP debug output will be sent to the `:logger`.
383
+ #
384
+ # @option options [Proc] :on_chunk_received
385
+ # When a Proc object is provided, it will be used as callback when each chunk
386
+ # of the response body is received. It provides three arguments: the chunk,
387
+ # the number of bytes received, and the total number of
388
+ # bytes in the response (or nil if the server did not send a `content-length`).
389
+ #
390
+ # @option options [Proc] :on_chunk_sent
391
+ # When a Proc object is provided, it will be used as callback when each chunk
392
+ # of the request body is sent. It provides three arguments: the chunk,
393
+ # the number of bytes read from the body, and the total number of
394
+ # bytes in the body.
395
+ #
396
+ # @option options [Boolean] :raise_response_errors (true)
397
+ # When `true`, response errors are raised.
398
+ #
399
+ # @option options [String] :ssl_ca_bundle
400
+ # Full path to the SSL certificate authority bundle file that should be used when
401
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
402
+ # `:ssl_ca_directory` the the system default will be used if available.
403
+ #
404
+ # @option options [String] :ssl_ca_directory
405
+ # Full path of the directory that contains the unbundled SSL certificate
406
+ # authority files for verifying peer certificates. If you do
407
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
408
+ # default will be used if available.
375
409
  #
376
- # @option options [Boolean] :http_wire_trace (false) When `true`,
377
- # HTTP debug output will be sent to the `:logger`.
410
+ # @option options [String] :ssl_ca_store
411
+ # Sets the X509::Store to verify peer certificate.
378
412
  #
379
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
380
- # SSL peer certificates are verified when establishing a
381
- # connection.
413
+ # @option options [Float] :ssl_timeout
414
+ # Sets the SSL timeout in seconds
382
415
  #
383
- # @option options [String] :ssl_ca_bundle Full path to the SSL
384
- # certificate authority bundle file that should be used when
385
- # verifying peer certificates. If you do not pass
386
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
387
- # will be used if available.
388
- #
389
- # @option options [String] :ssl_ca_directory Full path of the
390
- # directory that contains the unbundled SSL certificate
391
- # authority files for verifying peer certificates. If you do
392
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
393
- # system default will be used if available.
416
+ # @option options [Boolean] :ssl_verify_peer (true)
417
+ # When `true`, SSL peer certificates are verified when establishing a connection.
394
418
  #
395
419
  def initialize(*args)
396
420
  super
@@ -1577,7 +1601,7 @@ module Aws::CloudHSM
1577
1601
  params: params,
1578
1602
  config: config)
1579
1603
  context[:gem_name] = 'aws-sdk-cloudhsm'
1580
- context[:gem_version] = '1.50.0'
1604
+ context[:gem_version] = '1.52.0'
1581
1605
  Seahorse::Client::Request.new(handlers, context)
1582
1606
  end
1583
1607
 
@@ -14,6 +14,7 @@ module Aws::CloudHSM
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::CloudHSM::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cloudhsm/customizations'
52
52
  # @!group service
53
53
  module Aws::CloudHSM
54
54
 
55
- GEM_VERSION = '1.50.0'
55
+ GEM_VERSION = '1.52.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,341 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CloudHSM
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _AddTagsToResourceResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::AddTagsToResourceResponse]
78
+ def status: () -> ::String
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#add_tags_to_resource-instance_method
81
+ def add_tags_to_resource: (
82
+ resource_arn: ::String,
83
+ tag_list: Array[
84
+ {
85
+ key: ::String,
86
+ value: ::String
87
+ },
88
+ ]
89
+ ) -> _AddTagsToResourceResponseSuccess
90
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddTagsToResourceResponseSuccess
91
+
92
+ interface _CreateHapgResponseSuccess
93
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateHapgResponse]
94
+ def hapg_arn: () -> ::String
95
+ end
96
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#create_hapg-instance_method
97
+ def create_hapg: (
98
+ label: ::String
99
+ ) -> _CreateHapgResponseSuccess
100
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateHapgResponseSuccess
101
+
102
+ interface _CreateHsmResponseSuccess
103
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateHsmResponse]
104
+ def hsm_arn: () -> ::String
105
+ end
106
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#create_hsm-instance_method
107
+ def create_hsm: (
108
+ subnet_id: ::String,
109
+ ssh_key: ::String,
110
+ ?eni_ip: ::String,
111
+ iam_role_arn: ::String,
112
+ ?external_id: ::String,
113
+ subscription_type: ("PRODUCTION"),
114
+ ?client_token: ::String,
115
+ ?syslog_ip: ::String
116
+ ) -> _CreateHsmResponseSuccess
117
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateHsmResponseSuccess
118
+
119
+ interface _CreateLunaClientResponseSuccess
120
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateLunaClientResponse]
121
+ def client_arn: () -> ::String
122
+ end
123
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#create_luna_client-instance_method
124
+ def create_luna_client: (
125
+ ?label: ::String,
126
+ certificate: ::String
127
+ ) -> _CreateLunaClientResponseSuccess
128
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLunaClientResponseSuccess
129
+
130
+ interface _DeleteHapgResponseSuccess
131
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteHapgResponse]
132
+ def status: () -> ::String
133
+ end
134
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#delete_hapg-instance_method
135
+ def delete_hapg: (
136
+ hapg_arn: ::String
137
+ ) -> _DeleteHapgResponseSuccess
138
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteHapgResponseSuccess
139
+
140
+ interface _DeleteHsmResponseSuccess
141
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteHsmResponse]
142
+ def status: () -> ::String
143
+ end
144
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#delete_hsm-instance_method
145
+ def delete_hsm: (
146
+ hsm_arn: ::String
147
+ ) -> _DeleteHsmResponseSuccess
148
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteHsmResponseSuccess
149
+
150
+ interface _DeleteLunaClientResponseSuccess
151
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteLunaClientResponse]
152
+ def status: () -> ::String
153
+ end
154
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#delete_luna_client-instance_method
155
+ def delete_luna_client: (
156
+ client_arn: ::String
157
+ ) -> _DeleteLunaClientResponseSuccess
158
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLunaClientResponseSuccess
159
+
160
+ interface _DescribeHapgResponseSuccess
161
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeHapgResponse]
162
+ def hapg_arn: () -> ::String
163
+ def hapg_serial: () -> ::String
164
+ def hsms_last_action_failed: () -> ::Array[::String]
165
+ def hsms_pending_deletion: () -> ::Array[::String]
166
+ def hsms_pending_registration: () -> ::Array[::String]
167
+ def label: () -> ::String
168
+ def last_modified_timestamp: () -> ::String
169
+ def partition_serial_list: () -> ::Array[::String]
170
+ def state: () -> ("READY" | "UPDATING" | "DEGRADED")
171
+ end
172
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#describe_hapg-instance_method
173
+ def describe_hapg: (
174
+ hapg_arn: ::String
175
+ ) -> _DescribeHapgResponseSuccess
176
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeHapgResponseSuccess
177
+
178
+ interface _DescribeHsmResponseSuccess
179
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeHsmResponse]
180
+ def hsm_arn: () -> ::String
181
+ def status: () -> ("PENDING" | "RUNNING" | "UPDATING" | "SUSPENDED" | "TERMINATING" | "TERMINATED" | "DEGRADED")
182
+ def status_details: () -> ::String
183
+ def availability_zone: () -> ::String
184
+ def eni_id: () -> ::String
185
+ def eni_ip: () -> ::String
186
+ def subscription_type: () -> ("PRODUCTION")
187
+ def subscription_start_date: () -> ::String
188
+ def subscription_end_date: () -> ::String
189
+ def vpc_id: () -> ::String
190
+ def subnet_id: () -> ::String
191
+ def iam_role_arn: () -> ::String
192
+ def serial_number: () -> ::String
193
+ def vendor_name: () -> ::String
194
+ def hsm_type: () -> ::String
195
+ def software_version: () -> ::String
196
+ def ssh_public_key: () -> ::String
197
+ def ssh_key_last_updated: () -> ::String
198
+ def server_cert_uri: () -> ::String
199
+ def server_cert_last_updated: () -> ::String
200
+ def partitions: () -> ::Array[::String]
201
+ end
202
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#describe_hsm-instance_method
203
+ def describe_hsm: (
204
+ ?hsm_arn: ::String,
205
+ ?hsm_serial_number: ::String
206
+ ) -> _DescribeHsmResponseSuccess
207
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeHsmResponseSuccess
208
+
209
+ interface _DescribeLunaClientResponseSuccess
210
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLunaClientResponse]
211
+ def client_arn: () -> ::String
212
+ def certificate: () -> ::String
213
+ def certificate_fingerprint: () -> ::String
214
+ def last_modified_timestamp: () -> ::String
215
+ def label: () -> ::String
216
+ end
217
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#describe_luna_client-instance_method
218
+ def describe_luna_client: (
219
+ ?client_arn: ::String,
220
+ ?certificate_fingerprint: ::String
221
+ ) -> _DescribeLunaClientResponseSuccess
222
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLunaClientResponseSuccess
223
+
224
+ interface _GetConfigResponseSuccess
225
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetConfigResponse]
226
+ def config_type: () -> ::String
227
+ def config_file: () -> ::String
228
+ def config_cred: () -> ::String
229
+ end
230
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#get_config-instance_method
231
+ def get_config: (
232
+ client_arn: ::String,
233
+ client_version: ("5.1" | "5.3"),
234
+ hapg_list: Array[::String]
235
+ ) -> _GetConfigResponseSuccess
236
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetConfigResponseSuccess
237
+
238
+ interface _ListAvailableZonesResponseSuccess
239
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAvailableZonesResponse]
240
+ def az_list: () -> ::Array[::String]
241
+ end
242
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#list_available_zones-instance_method
243
+ def list_available_zones: (
244
+ ) -> _ListAvailableZonesResponseSuccess
245
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAvailableZonesResponseSuccess
246
+
247
+ interface _ListHapgsResponseSuccess
248
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListHapgsResponse]
249
+ def hapg_list: () -> ::Array[::String]
250
+ def next_token: () -> ::String
251
+ end
252
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#list_hapgs-instance_method
253
+ def list_hapgs: (
254
+ ?next_token: ::String
255
+ ) -> _ListHapgsResponseSuccess
256
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListHapgsResponseSuccess
257
+
258
+ interface _ListHsmsResponseSuccess
259
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListHsmsResponse]
260
+ def hsm_list: () -> ::Array[::String]
261
+ def next_token: () -> ::String
262
+ end
263
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#list_hsms-instance_method
264
+ def list_hsms: (
265
+ ?next_token: ::String
266
+ ) -> _ListHsmsResponseSuccess
267
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListHsmsResponseSuccess
268
+
269
+ interface _ListLunaClientsResponseSuccess
270
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListLunaClientsResponse]
271
+ def client_list: () -> ::Array[::String]
272
+ def next_token: () -> ::String
273
+ end
274
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#list_luna_clients-instance_method
275
+ def list_luna_clients: (
276
+ ?next_token: ::String
277
+ ) -> _ListLunaClientsResponseSuccess
278
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLunaClientsResponseSuccess
279
+
280
+ interface _ListTagsForResourceResponseSuccess
281
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
282
+ def tag_list: () -> ::Array[Types::Tag]
283
+ end
284
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#list_tags_for_resource-instance_method
285
+ def list_tags_for_resource: (
286
+ resource_arn: ::String
287
+ ) -> _ListTagsForResourceResponseSuccess
288
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
289
+
290
+ interface _ModifyHapgResponseSuccess
291
+ include ::Seahorse::Client::_ResponseSuccess[Types::ModifyHapgResponse]
292
+ def hapg_arn: () -> ::String
293
+ end
294
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#modify_hapg-instance_method
295
+ def modify_hapg: (
296
+ hapg_arn: ::String,
297
+ ?label: ::String,
298
+ ?partition_serial_list: Array[::String]
299
+ ) -> _ModifyHapgResponseSuccess
300
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyHapgResponseSuccess
301
+
302
+ interface _ModifyHsmResponseSuccess
303
+ include ::Seahorse::Client::_ResponseSuccess[Types::ModifyHsmResponse]
304
+ def hsm_arn: () -> ::String
305
+ end
306
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#modify_hsm-instance_method
307
+ def modify_hsm: (
308
+ hsm_arn: ::String,
309
+ ?subnet_id: ::String,
310
+ ?eni_ip: ::String,
311
+ ?iam_role_arn: ::String,
312
+ ?external_id: ::String,
313
+ ?syslog_ip: ::String
314
+ ) -> _ModifyHsmResponseSuccess
315
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyHsmResponseSuccess
316
+
317
+ interface _ModifyLunaClientResponseSuccess
318
+ include ::Seahorse::Client::_ResponseSuccess[Types::ModifyLunaClientResponse]
319
+ def client_arn: () -> ::String
320
+ end
321
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#modify_luna_client-instance_method
322
+ def modify_luna_client: (
323
+ client_arn: ::String,
324
+ certificate: ::String
325
+ ) -> _ModifyLunaClientResponseSuccess
326
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyLunaClientResponseSuccess
327
+
328
+ interface _RemoveTagsFromResourceResponseSuccess
329
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemoveTagsFromResourceResponse]
330
+ def status: () -> ::String
331
+ end
332
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Client.html#remove_tags_from_resource-instance_method
333
+ def remove_tags_from_resource: (
334
+ resource_arn: ::String,
335
+ tag_key_list: Array[::String]
336
+ ) -> _RemoveTagsFromResourceResponseSuccess
337
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveTagsFromResourceResponseSuccess
338
+ end
339
+ end
340
+ end
341
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,24 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CloudHSM
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class CloudHsmInternalException < ::Aws::Errors::ServiceError
15
+ end
16
+ class CloudHsmServiceException < ::Aws::Errors::ServiceError
17
+ def message: () -> ::String
18
+ def retryable: () -> ::String
19
+ end
20
+ class InvalidRequestException < ::Aws::Errors::ServiceError
21
+ end
22
+ end
23
+ end
24
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,80 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CloudHSM
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSM/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> void
73
+ | (?Hash[Symbol, untyped]) -> void
74
+
75
+ def client: () -> Client
76
+
77
+
78
+ end
79
+ end
80
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,286 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::CloudHSM
9
+ module Types
10
+
11
+ class AddTagsToResourceRequest
12
+ attr_accessor resource_arn: ::String
13
+ attr_accessor tag_list: ::Array[Types::Tag]
14
+ SENSITIVE: []
15
+ end
16
+
17
+ class AddTagsToResourceResponse
18
+ attr_accessor status: ::String
19
+ SENSITIVE: []
20
+ end
21
+
22
+ class CloudHsmInternalException < Aws::EmptyStructure
23
+ end
24
+
25
+ class CloudHsmServiceException
26
+ attr_accessor message: ::String
27
+ attr_accessor retryable: bool
28
+ SENSITIVE: []
29
+ end
30
+
31
+ class CreateHapgRequest
32
+ attr_accessor label: ::String
33
+ SENSITIVE: []
34
+ end
35
+
36
+ class CreateHapgResponse
37
+ attr_accessor hapg_arn: ::String
38
+ SENSITIVE: []
39
+ end
40
+
41
+ class CreateHsmRequest
42
+ attr_accessor subnet_id: ::String
43
+ attr_accessor ssh_key: ::String
44
+ attr_accessor eni_ip: ::String
45
+ attr_accessor iam_role_arn: ::String
46
+ attr_accessor external_id: ::String
47
+ attr_accessor subscription_type: ("PRODUCTION")
48
+ attr_accessor client_token: ::String
49
+ attr_accessor syslog_ip: ::String
50
+ SENSITIVE: []
51
+ end
52
+
53
+ class CreateHsmResponse
54
+ attr_accessor hsm_arn: ::String
55
+ SENSITIVE: []
56
+ end
57
+
58
+ class CreateLunaClientRequest
59
+ attr_accessor label: ::String
60
+ attr_accessor certificate: ::String
61
+ SENSITIVE: []
62
+ end
63
+
64
+ class CreateLunaClientResponse
65
+ attr_accessor client_arn: ::String
66
+ SENSITIVE: []
67
+ end
68
+
69
+ class DeleteHapgRequest
70
+ attr_accessor hapg_arn: ::String
71
+ SENSITIVE: []
72
+ end
73
+
74
+ class DeleteHapgResponse
75
+ attr_accessor status: ::String
76
+ SENSITIVE: []
77
+ end
78
+
79
+ class DeleteHsmRequest
80
+ attr_accessor hsm_arn: ::String
81
+ SENSITIVE: []
82
+ end
83
+
84
+ class DeleteHsmResponse
85
+ attr_accessor status: ::String
86
+ SENSITIVE: []
87
+ end
88
+
89
+ class DeleteLunaClientRequest
90
+ attr_accessor client_arn: ::String
91
+ SENSITIVE: []
92
+ end
93
+
94
+ class DeleteLunaClientResponse
95
+ attr_accessor status: ::String
96
+ SENSITIVE: []
97
+ end
98
+
99
+ class DescribeHapgRequest
100
+ attr_accessor hapg_arn: ::String
101
+ SENSITIVE: []
102
+ end
103
+
104
+ class DescribeHapgResponse
105
+ attr_accessor hapg_arn: ::String
106
+ attr_accessor hapg_serial: ::String
107
+ attr_accessor hsms_last_action_failed: ::Array[::String]
108
+ attr_accessor hsms_pending_deletion: ::Array[::String]
109
+ attr_accessor hsms_pending_registration: ::Array[::String]
110
+ attr_accessor label: ::String
111
+ attr_accessor last_modified_timestamp: ::String
112
+ attr_accessor partition_serial_list: ::Array[::String]
113
+ attr_accessor state: ("READY" | "UPDATING" | "DEGRADED")
114
+ SENSITIVE: []
115
+ end
116
+
117
+ class DescribeHsmRequest
118
+ attr_accessor hsm_arn: ::String
119
+ attr_accessor hsm_serial_number: ::String
120
+ SENSITIVE: []
121
+ end
122
+
123
+ class DescribeHsmResponse
124
+ attr_accessor hsm_arn: ::String
125
+ attr_accessor status: ("PENDING" | "RUNNING" | "UPDATING" | "SUSPENDED" | "TERMINATING" | "TERMINATED" | "DEGRADED")
126
+ attr_accessor status_details: ::String
127
+ attr_accessor availability_zone: ::String
128
+ attr_accessor eni_id: ::String
129
+ attr_accessor eni_ip: ::String
130
+ attr_accessor subscription_type: ("PRODUCTION")
131
+ attr_accessor subscription_start_date: ::String
132
+ attr_accessor subscription_end_date: ::String
133
+ attr_accessor vpc_id: ::String
134
+ attr_accessor subnet_id: ::String
135
+ attr_accessor iam_role_arn: ::String
136
+ attr_accessor serial_number: ::String
137
+ attr_accessor vendor_name: ::String
138
+ attr_accessor hsm_type: ::String
139
+ attr_accessor software_version: ::String
140
+ attr_accessor ssh_public_key: ::String
141
+ attr_accessor ssh_key_last_updated: ::String
142
+ attr_accessor server_cert_uri: ::String
143
+ attr_accessor server_cert_last_updated: ::String
144
+ attr_accessor partitions: ::Array[::String]
145
+ SENSITIVE: []
146
+ end
147
+
148
+ class DescribeLunaClientRequest
149
+ attr_accessor client_arn: ::String
150
+ attr_accessor certificate_fingerprint: ::String
151
+ SENSITIVE: []
152
+ end
153
+
154
+ class DescribeLunaClientResponse
155
+ attr_accessor client_arn: ::String
156
+ attr_accessor certificate: ::String
157
+ attr_accessor certificate_fingerprint: ::String
158
+ attr_accessor last_modified_timestamp: ::String
159
+ attr_accessor label: ::String
160
+ SENSITIVE: []
161
+ end
162
+
163
+ class GetConfigRequest
164
+ attr_accessor client_arn: ::String
165
+ attr_accessor client_version: ("5.1" | "5.3")
166
+ attr_accessor hapg_list: ::Array[::String]
167
+ SENSITIVE: []
168
+ end
169
+
170
+ class GetConfigResponse
171
+ attr_accessor config_type: ::String
172
+ attr_accessor config_file: ::String
173
+ attr_accessor config_cred: ::String
174
+ SENSITIVE: []
175
+ end
176
+
177
+ class InvalidRequestException < Aws::EmptyStructure
178
+ end
179
+
180
+ class ListAvailableZonesRequest < Aws::EmptyStructure
181
+ end
182
+
183
+ class ListAvailableZonesResponse
184
+ attr_accessor az_list: ::Array[::String]
185
+ SENSITIVE: []
186
+ end
187
+
188
+ class ListHapgsRequest
189
+ attr_accessor next_token: ::String
190
+ SENSITIVE: []
191
+ end
192
+
193
+ class ListHapgsResponse
194
+ attr_accessor hapg_list: ::Array[::String]
195
+ attr_accessor next_token: ::String
196
+ SENSITIVE: []
197
+ end
198
+
199
+ class ListHsmsRequest
200
+ attr_accessor next_token: ::String
201
+ SENSITIVE: []
202
+ end
203
+
204
+ class ListHsmsResponse
205
+ attr_accessor hsm_list: ::Array[::String]
206
+ attr_accessor next_token: ::String
207
+ SENSITIVE: []
208
+ end
209
+
210
+ class ListLunaClientsRequest
211
+ attr_accessor next_token: ::String
212
+ SENSITIVE: []
213
+ end
214
+
215
+ class ListLunaClientsResponse
216
+ attr_accessor client_list: ::Array[::String]
217
+ attr_accessor next_token: ::String
218
+ SENSITIVE: []
219
+ end
220
+
221
+ class ListTagsForResourceRequest
222
+ attr_accessor resource_arn: ::String
223
+ SENSITIVE: []
224
+ end
225
+
226
+ class ListTagsForResourceResponse
227
+ attr_accessor tag_list: ::Array[Types::Tag]
228
+ SENSITIVE: []
229
+ end
230
+
231
+ class ModifyHapgRequest
232
+ attr_accessor hapg_arn: ::String
233
+ attr_accessor label: ::String
234
+ attr_accessor partition_serial_list: ::Array[::String]
235
+ SENSITIVE: []
236
+ end
237
+
238
+ class ModifyHapgResponse
239
+ attr_accessor hapg_arn: ::String
240
+ SENSITIVE: []
241
+ end
242
+
243
+ class ModifyHsmRequest
244
+ attr_accessor hsm_arn: ::String
245
+ attr_accessor subnet_id: ::String
246
+ attr_accessor eni_ip: ::String
247
+ attr_accessor iam_role_arn: ::String
248
+ attr_accessor external_id: ::String
249
+ attr_accessor syslog_ip: ::String
250
+ SENSITIVE: []
251
+ end
252
+
253
+ class ModifyHsmResponse
254
+ attr_accessor hsm_arn: ::String
255
+ SENSITIVE: []
256
+ end
257
+
258
+ class ModifyLunaClientRequest
259
+ attr_accessor client_arn: ::String
260
+ attr_accessor certificate: ::String
261
+ SENSITIVE: []
262
+ end
263
+
264
+ class ModifyLunaClientResponse
265
+ attr_accessor client_arn: ::String
266
+ SENSITIVE: []
267
+ end
268
+
269
+ class RemoveTagsFromResourceRequest
270
+ attr_accessor resource_arn: ::String
271
+ attr_accessor tag_key_list: ::Array[::String]
272
+ SENSITIVE: []
273
+ end
274
+
275
+ class RemoveTagsFromResourceResponse
276
+ attr_accessor status: ::String
277
+ SENSITIVE: []
278
+ end
279
+
280
+ class Tag
281
+ attr_accessor key: ::String
282
+ attr_accessor value: ::String
283
+ SENSITIVE: []
284
+ end
285
+ end
286
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module CloudHSM
10
+ module Waiters
11
+ end
12
+ end
13
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudhsm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.50.0
4
+ version: 1.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-04-25 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.188.0
22
+ version: 3.193.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.188.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,18 @@ files:
66
66
  - lib/aws-sdk-cloudhsm/plugins/endpoints.rb
67
67
  - lib/aws-sdk-cloudhsm/resource.rb
68
68
  - lib/aws-sdk-cloudhsm/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudhsm
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudhsm/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - CloudHSM
94
99
  test_files: []