aws-sdk-cloudhsmv2 1.53.0 → 1.55.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: ff1d75cc4832b34d159ff1eb6e36786a7b602f4db5471d0819fcffd132cd6a9c
4
- data.tar.gz: 333c37978f534c2e19ffb0390fa070a9cb71fdb4379e31363200b647189bdaa3
3
+ metadata.gz: 23ad426ca490c3e746fa820103504723c8838fef21a147b52aac819b04db100e
4
+ data.tar.gz: 5ac09b814312df1e5e3a28d75c1ad272f0829feddb6685b7ffd586f7fa6546a8
5
5
  SHA512:
6
- metadata.gz: fe291ef0ade0a03101c12333a0c00d1dd117571c82aed0f0168b21fc4bd1bcc517237dd63ad270a99b584c36f1228193f835f8160ee4bd0c5c1d109531534d11
7
- data.tar.gz: 4b73b4eb5d69018d23e26481ceb9b6f9648b1cf002398d9c58c60645e9bd39de42a9498527539222e70350a1e291c5619f3f04f13797714a3060345836329532
6
+ metadata.gz: 6c669d553313b990e2a811149335c8e3c9495eb18f686da7dd74126582b62f1d90ce0500b65e3552d92c99f013ddf244eb653bec7f880cb2e7a2e87822519398
7
+ data.tar.gz: b48839045b702514f3754404e356b186119d092e2caaac05525bab632592b52720e6f151bd1ca4beacd3fd72385c2ad219882fc52167e8bcbba3a39dc5fb9214
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.55.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.54.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.53.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.53.0
1
+ 1.55.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::CloudHSMV2
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::CloudHSMV2
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::CloudHSMV2
347
356
  # @option options [Aws::CloudHSMV2::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::CloudHSMV2::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
@@ -1251,7 +1275,7 @@ module Aws::CloudHSMV2
1251
1275
  params: params,
1252
1276
  config: config)
1253
1277
  context[:gem_name] = 'aws-sdk-cloudhsmv2'
1254
- context[:gem_version] = '1.53.0'
1278
+ context[:gem_version] = '1.55.0'
1255
1279
  Seahorse::Client::Request.new(handlers, context)
1256
1280
  end
1257
1281
 
@@ -14,6 +14,7 @@ module Aws::CloudHSMV2
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::CloudHSMV2::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-cloudhsmv2/customizations'
52
52
  # @!group service
53
53
  module Aws::CloudHSMV2
54
54
 
55
- GEM_VERSION = '1.53.0'
55
+ GEM_VERSION = '1.55.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,275 @@
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 CloudHSMV2
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/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 _CopyBackupToRegionResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::CopyBackupToRegionResponse]
78
+ def destination_backup: () -> Types::DestinationBackup
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#copy_backup_to_region-instance_method
81
+ def copy_backup_to_region: (
82
+ destination_region: ::String,
83
+ backup_id: ::String,
84
+ ?tag_list: Array[
85
+ {
86
+ key: ::String,
87
+ value: ::String
88
+ },
89
+ ]
90
+ ) -> _CopyBackupToRegionResponseSuccess
91
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopyBackupToRegionResponseSuccess
92
+
93
+ interface _CreateClusterResponseSuccess
94
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateClusterResponse]
95
+ def cluster: () -> Types::Cluster
96
+ end
97
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#create_cluster-instance_method
98
+ def create_cluster: (
99
+ ?backup_retention_policy: {
100
+ type: ("DAYS")?,
101
+ value: ::String?
102
+ },
103
+ hsm_type: ::String,
104
+ ?source_backup_id: ::String,
105
+ subnet_ids: Array[::String],
106
+ ?tag_list: Array[
107
+ {
108
+ key: ::String,
109
+ value: ::String
110
+ },
111
+ ]
112
+ ) -> _CreateClusterResponseSuccess
113
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterResponseSuccess
114
+
115
+ interface _CreateHsmResponseSuccess
116
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateHsmResponse]
117
+ def hsm: () -> Types::Hsm
118
+ end
119
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#create_hsm-instance_method
120
+ def create_hsm: (
121
+ cluster_id: ::String,
122
+ availability_zone: ::String,
123
+ ?ip_address: ::String
124
+ ) -> _CreateHsmResponseSuccess
125
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateHsmResponseSuccess
126
+
127
+ interface _DeleteBackupResponseSuccess
128
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBackupResponse]
129
+ def backup: () -> Types::Backup
130
+ end
131
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#delete_backup-instance_method
132
+ def delete_backup: (
133
+ backup_id: ::String
134
+ ) -> _DeleteBackupResponseSuccess
135
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBackupResponseSuccess
136
+
137
+ interface _DeleteClusterResponseSuccess
138
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteClusterResponse]
139
+ def cluster: () -> Types::Cluster
140
+ end
141
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#delete_cluster-instance_method
142
+ def delete_cluster: (
143
+ cluster_id: ::String
144
+ ) -> _DeleteClusterResponseSuccess
145
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteClusterResponseSuccess
146
+
147
+ interface _DeleteHsmResponseSuccess
148
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteHsmResponse]
149
+ def hsm_id: () -> ::String
150
+ end
151
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#delete_hsm-instance_method
152
+ def delete_hsm: (
153
+ cluster_id: ::String,
154
+ ?hsm_id: ::String,
155
+ ?eni_id: ::String,
156
+ ?eni_ip: ::String
157
+ ) -> _DeleteHsmResponseSuccess
158
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteHsmResponseSuccess
159
+
160
+ interface _DescribeBackupsResponseSuccess
161
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeBackupsResponse]
162
+ def backups: () -> ::Array[Types::Backup]
163
+ def next_token: () -> ::String
164
+ end
165
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#describe_backups-instance_method
166
+ def describe_backups: (
167
+ ?next_token: ::String,
168
+ ?max_results: ::Integer,
169
+ ?filters: Hash[::String, Array[::String]],
170
+ ?sort_ascending: bool
171
+ ) -> _DescribeBackupsResponseSuccess
172
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeBackupsResponseSuccess
173
+
174
+ interface _DescribeClustersResponseSuccess
175
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeClustersResponse]
176
+ def clusters: () -> ::Array[Types::Cluster]
177
+ def next_token: () -> ::String
178
+ end
179
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#describe_clusters-instance_method
180
+ def describe_clusters: (
181
+ ?filters: Hash[::String, Array[::String]],
182
+ ?next_token: ::String,
183
+ ?max_results: ::Integer
184
+ ) -> _DescribeClustersResponseSuccess
185
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeClustersResponseSuccess
186
+
187
+ interface _InitializeClusterResponseSuccess
188
+ include ::Seahorse::Client::_ResponseSuccess[Types::InitializeClusterResponse]
189
+ def state: () -> ("CREATE_IN_PROGRESS" | "UNINITIALIZED" | "INITIALIZE_IN_PROGRESS" | "INITIALIZED" | "ACTIVE" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "DELETED" | "DEGRADED")
190
+ def state_message: () -> ::String
191
+ end
192
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#initialize_cluster-instance_method
193
+ def initialize_cluster: (
194
+ cluster_id: ::String,
195
+ signed_cert: ::String,
196
+ trust_anchor: ::String
197
+ ) -> _InitializeClusterResponseSuccess
198
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InitializeClusterResponseSuccess
199
+
200
+ interface _ListTagsResponseSuccess
201
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsResponse]
202
+ def tag_list: () -> ::Array[Types::Tag]
203
+ def next_token: () -> ::String
204
+ end
205
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#list_tags-instance_method
206
+ def list_tags: (
207
+ resource_id: ::String,
208
+ ?next_token: ::String,
209
+ ?max_results: ::Integer
210
+ ) -> _ListTagsResponseSuccess
211
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsResponseSuccess
212
+
213
+ interface _ModifyBackupAttributesResponseSuccess
214
+ include ::Seahorse::Client::_ResponseSuccess[Types::ModifyBackupAttributesResponse]
215
+ def backup: () -> Types::Backup
216
+ end
217
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#modify_backup_attributes-instance_method
218
+ def modify_backup_attributes: (
219
+ backup_id: ::String,
220
+ never_expires: bool
221
+ ) -> _ModifyBackupAttributesResponseSuccess
222
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyBackupAttributesResponseSuccess
223
+
224
+ interface _ModifyClusterResponseSuccess
225
+ include ::Seahorse::Client::_ResponseSuccess[Types::ModifyClusterResponse]
226
+ def cluster: () -> Types::Cluster
227
+ end
228
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#modify_cluster-instance_method
229
+ def modify_cluster: (
230
+ backup_retention_policy: {
231
+ type: ("DAYS")?,
232
+ value: ::String?
233
+ },
234
+ cluster_id: ::String
235
+ ) -> _ModifyClusterResponseSuccess
236
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyClusterResponseSuccess
237
+
238
+ interface _RestoreBackupResponseSuccess
239
+ include ::Seahorse::Client::_ResponseSuccess[Types::RestoreBackupResponse]
240
+ def backup: () -> Types::Backup
241
+ end
242
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#restore_backup-instance_method
243
+ def restore_backup: (
244
+ backup_id: ::String
245
+ ) -> _RestoreBackupResponseSuccess
246
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreBackupResponseSuccess
247
+
248
+ interface _TagResourceResponseSuccess
249
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
250
+ end
251
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#tag_resource-instance_method
252
+ def tag_resource: (
253
+ resource_id: ::String,
254
+ tag_list: Array[
255
+ {
256
+ key: ::String,
257
+ value: ::String
258
+ },
259
+ ]
260
+ ) -> _TagResourceResponseSuccess
261
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
262
+
263
+ interface _UntagResourceResponseSuccess
264
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
265
+ end
266
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#untag_resource-instance_method
267
+ def untag_resource: (
268
+ resource_id: ::String,
269
+ tag_key_list: Array[::String]
270
+ ) -> _UntagResourceResponseSuccess
271
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
272
+ end
273
+ end
274
+ end
275
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,34 @@
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 CloudHSMV2
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class CloudHsmAccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class CloudHsmInternalFailureException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class CloudHsmInvalidRequestException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class CloudHsmResourceNotFoundException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class CloudHsmServiceException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class CloudHsmTagException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ end
33
+ end
34
+ 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 CloudHSMV2
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/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,290 @@
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::CloudHSMV2
9
+ module Types
10
+
11
+ class Backup
12
+ attr_accessor backup_id: ::String
13
+ attr_accessor backup_state: ("CREATE_IN_PROGRESS" | "READY" | "DELETED" | "PENDING_DELETION")
14
+ attr_accessor cluster_id: ::String
15
+ attr_accessor create_timestamp: ::Time
16
+ attr_accessor copy_timestamp: ::Time
17
+ attr_accessor never_expires: bool
18
+ attr_accessor source_region: ::String
19
+ attr_accessor source_backup: ::String
20
+ attr_accessor source_cluster: ::String
21
+ attr_accessor delete_timestamp: ::Time
22
+ attr_accessor tag_list: ::Array[Types::Tag]
23
+ SENSITIVE: []
24
+ end
25
+
26
+ class BackupRetentionPolicy
27
+ attr_accessor type: ("DAYS")
28
+ attr_accessor value: ::String
29
+ SENSITIVE: []
30
+ end
31
+
32
+ class Certificates
33
+ attr_accessor cluster_csr: ::String
34
+ attr_accessor hsm_certificate: ::String
35
+ attr_accessor aws_hardware_certificate: ::String
36
+ attr_accessor manufacturer_hardware_certificate: ::String
37
+ attr_accessor cluster_certificate: ::String
38
+ SENSITIVE: []
39
+ end
40
+
41
+ class CloudHsmAccessDeniedException
42
+ attr_accessor message: ::String
43
+ SENSITIVE: []
44
+ end
45
+
46
+ class CloudHsmInternalFailureException
47
+ attr_accessor message: ::String
48
+ SENSITIVE: []
49
+ end
50
+
51
+ class CloudHsmInvalidRequestException
52
+ attr_accessor message: ::String
53
+ SENSITIVE: []
54
+ end
55
+
56
+ class CloudHsmResourceNotFoundException
57
+ attr_accessor message: ::String
58
+ SENSITIVE: []
59
+ end
60
+
61
+ class CloudHsmServiceException
62
+ attr_accessor message: ::String
63
+ SENSITIVE: []
64
+ end
65
+
66
+ class CloudHsmTagException
67
+ attr_accessor message: ::String
68
+ SENSITIVE: []
69
+ end
70
+
71
+ class Cluster
72
+ attr_accessor backup_policy: ("DEFAULT")
73
+ attr_accessor backup_retention_policy: Types::BackupRetentionPolicy
74
+ attr_accessor cluster_id: ::String
75
+ attr_accessor create_timestamp: ::Time
76
+ attr_accessor hsms: ::Array[Types::Hsm]
77
+ attr_accessor hsm_type: ::String
78
+ attr_accessor pre_co_password: ::String
79
+ attr_accessor security_group: ::String
80
+ attr_accessor source_backup_id: ::String
81
+ attr_accessor state: ("CREATE_IN_PROGRESS" | "UNINITIALIZED" | "INITIALIZE_IN_PROGRESS" | "INITIALIZED" | "ACTIVE" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "DELETED" | "DEGRADED")
82
+ attr_accessor state_message: ::String
83
+ attr_accessor subnet_mapping: ::Hash[::String, ::String]
84
+ attr_accessor vpc_id: ::String
85
+ attr_accessor certificates: Types::Certificates
86
+ attr_accessor tag_list: ::Array[Types::Tag]
87
+ SENSITIVE: []
88
+ end
89
+
90
+ class CopyBackupToRegionRequest
91
+ attr_accessor destination_region: ::String
92
+ attr_accessor backup_id: ::String
93
+ attr_accessor tag_list: ::Array[Types::Tag]
94
+ SENSITIVE: []
95
+ end
96
+
97
+ class CopyBackupToRegionResponse
98
+ attr_accessor destination_backup: Types::DestinationBackup
99
+ SENSITIVE: []
100
+ end
101
+
102
+ class CreateClusterRequest
103
+ attr_accessor backup_retention_policy: Types::BackupRetentionPolicy
104
+ attr_accessor hsm_type: ::String
105
+ attr_accessor source_backup_id: ::String
106
+ attr_accessor subnet_ids: ::Array[::String]
107
+ attr_accessor tag_list: ::Array[Types::Tag]
108
+ SENSITIVE: []
109
+ end
110
+
111
+ class CreateClusterResponse
112
+ attr_accessor cluster: Types::Cluster
113
+ SENSITIVE: []
114
+ end
115
+
116
+ class CreateHsmRequest
117
+ attr_accessor cluster_id: ::String
118
+ attr_accessor availability_zone: ::String
119
+ attr_accessor ip_address: ::String
120
+ SENSITIVE: []
121
+ end
122
+
123
+ class CreateHsmResponse
124
+ attr_accessor hsm: Types::Hsm
125
+ SENSITIVE: []
126
+ end
127
+
128
+ class DeleteBackupRequest
129
+ attr_accessor backup_id: ::String
130
+ SENSITIVE: []
131
+ end
132
+
133
+ class DeleteBackupResponse
134
+ attr_accessor backup: Types::Backup
135
+ SENSITIVE: []
136
+ end
137
+
138
+ class DeleteClusterRequest
139
+ attr_accessor cluster_id: ::String
140
+ SENSITIVE: []
141
+ end
142
+
143
+ class DeleteClusterResponse
144
+ attr_accessor cluster: Types::Cluster
145
+ SENSITIVE: []
146
+ end
147
+
148
+ class DeleteHsmRequest
149
+ attr_accessor cluster_id: ::String
150
+ attr_accessor hsm_id: ::String
151
+ attr_accessor eni_id: ::String
152
+ attr_accessor eni_ip: ::String
153
+ SENSITIVE: []
154
+ end
155
+
156
+ class DeleteHsmResponse
157
+ attr_accessor hsm_id: ::String
158
+ SENSITIVE: []
159
+ end
160
+
161
+ class DescribeBackupsRequest
162
+ attr_accessor next_token: ::String
163
+ attr_accessor max_results: ::Integer
164
+ attr_accessor filters: ::Hash[::String, ::Array[::String]]
165
+ attr_accessor sort_ascending: bool
166
+ SENSITIVE: []
167
+ end
168
+
169
+ class DescribeBackupsResponse
170
+ attr_accessor backups: ::Array[Types::Backup]
171
+ attr_accessor next_token: ::String
172
+ SENSITIVE: []
173
+ end
174
+
175
+ class DescribeClustersRequest
176
+ attr_accessor filters: ::Hash[::String, ::Array[::String]]
177
+ attr_accessor next_token: ::String
178
+ attr_accessor max_results: ::Integer
179
+ SENSITIVE: []
180
+ end
181
+
182
+ class DescribeClustersResponse
183
+ attr_accessor clusters: ::Array[Types::Cluster]
184
+ attr_accessor next_token: ::String
185
+ SENSITIVE: []
186
+ end
187
+
188
+ class DestinationBackup
189
+ attr_accessor create_timestamp: ::Time
190
+ attr_accessor source_region: ::String
191
+ attr_accessor source_backup: ::String
192
+ attr_accessor source_cluster: ::String
193
+ SENSITIVE: []
194
+ end
195
+
196
+ class Hsm
197
+ attr_accessor availability_zone: ::String
198
+ attr_accessor cluster_id: ::String
199
+ attr_accessor subnet_id: ::String
200
+ attr_accessor eni_id: ::String
201
+ attr_accessor eni_ip: ::String
202
+ attr_accessor hsm_id: ::String
203
+ attr_accessor state: ("CREATE_IN_PROGRESS" | "ACTIVE" | "DEGRADED" | "DELETE_IN_PROGRESS" | "DELETED")
204
+ attr_accessor state_message: ::String
205
+ SENSITIVE: []
206
+ end
207
+
208
+ class InitializeClusterRequest
209
+ attr_accessor cluster_id: ::String
210
+ attr_accessor signed_cert: ::String
211
+ attr_accessor trust_anchor: ::String
212
+ SENSITIVE: []
213
+ end
214
+
215
+ class InitializeClusterResponse
216
+ attr_accessor state: ("CREATE_IN_PROGRESS" | "UNINITIALIZED" | "INITIALIZE_IN_PROGRESS" | "INITIALIZED" | "ACTIVE" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "DELETED" | "DEGRADED")
217
+ attr_accessor state_message: ::String
218
+ SENSITIVE: []
219
+ end
220
+
221
+ class ListTagsRequest
222
+ attr_accessor resource_id: ::String
223
+ attr_accessor next_token: ::String
224
+ attr_accessor max_results: ::Integer
225
+ SENSITIVE: []
226
+ end
227
+
228
+ class ListTagsResponse
229
+ attr_accessor tag_list: ::Array[Types::Tag]
230
+ attr_accessor next_token: ::String
231
+ SENSITIVE: []
232
+ end
233
+
234
+ class ModifyBackupAttributesRequest
235
+ attr_accessor backup_id: ::String
236
+ attr_accessor never_expires: bool
237
+ SENSITIVE: []
238
+ end
239
+
240
+ class ModifyBackupAttributesResponse
241
+ attr_accessor backup: Types::Backup
242
+ SENSITIVE: []
243
+ end
244
+
245
+ class ModifyClusterRequest
246
+ attr_accessor backup_retention_policy: Types::BackupRetentionPolicy
247
+ attr_accessor cluster_id: ::String
248
+ SENSITIVE: []
249
+ end
250
+
251
+ class ModifyClusterResponse
252
+ attr_accessor cluster: Types::Cluster
253
+ SENSITIVE: []
254
+ end
255
+
256
+ class RestoreBackupRequest
257
+ attr_accessor backup_id: ::String
258
+ SENSITIVE: []
259
+ end
260
+
261
+ class RestoreBackupResponse
262
+ attr_accessor backup: Types::Backup
263
+ SENSITIVE: []
264
+ end
265
+
266
+ class Tag
267
+ attr_accessor key: ::String
268
+ attr_accessor value: ::String
269
+ SENSITIVE: []
270
+ end
271
+
272
+ class TagResourceRequest
273
+ attr_accessor resource_id: ::String
274
+ attr_accessor tag_list: ::Array[Types::Tag]
275
+ SENSITIVE: []
276
+ end
277
+
278
+ class TagResourceResponse < Aws::EmptyStructure
279
+ end
280
+
281
+ class UntagResourceRequest
282
+ attr_accessor resource_id: ::String
283
+ attr_accessor tag_key_list: ::Array[::String]
284
+ SENSITIVE: []
285
+ end
286
+
287
+ class UntagResourceResponse < Aws::EmptyStructure
288
+ end
289
+ end
290
+ 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 CloudHSMV2
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-cloudhsmv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.53.0
4
+ version: 1.55.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-cloudhsmv2/plugins/endpoints.rb
67
67
  - lib/aws-sdk-cloudhsmv2/resource.rb
68
68
  - lib/aws-sdk-cloudhsmv2/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-cloudhsmv2
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudhsmv2/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 V2
94
99
  test_files: []