aws-sdk-cloudhsm 1.49.0 → 1.51.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: e47314f4593919f230c904a31219d7be6fef60f120856c608c9456d501c43e00
4
- data.tar.gz: 21e73ad2f69abaf8098dac9503b1fb925fba6bbd229d8886a9d372b4a1e9913f
3
+ metadata.gz: aec44111c782130e5a8794a4443d423bc24f7742bd1fc392feebed8c4c3e0c5a
4
+ data.tar.gz: beb279d077f036a56d29c790447b8a86186294a01decec1d3d22fdf27ab97947
5
5
  SHA512:
6
- metadata.gz: 790738da166eeebf860fa3626cc9ec45163fdf8acd0f47f31970cfc3694bdaf21c5ab7a30fa720c4c3a848506ee15431928168d1b6d8953f65ee4387bc12fb23
7
- data.tar.gz: 5ef39195648031de3c8333870a15553fe160fa739b365df3d9dfc86921b122f2aeb07696f982a3d0d0f7ec711f8431972185933c88fe9cd6f34bd892aa77dd64
6
+ metadata.gz: 2779bdb5c4bbcb8340cb86ecfdd24c7309d99add779406276c0968dec51b792837afe41587f83d97aad745a052b6f6e0fb864a878a9ddfef8c8e099e1b315ef1
7
+ data.tar.gz: e1e6e8e84e9747ef38cfccc663339328d9fd0ee85a71e4cf253a963a20c0cef99ea4f9ce703e6399c3b6949abd5e5287d4d6fb85a1bbf21d805cfad4e915dee1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.51.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.50.0 (2023-11-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.49.0 (2023-11-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.49.0
1
+ 1.51.0
@@ -1577,7 +1577,7 @@ module Aws::CloudHSM
1577
1577
  params: params,
1578
1578
  config: config)
1579
1579
  context[:gem_name] = 'aws-sdk-cloudhsm'
1580
- context[:gem_version] = '1.49.0'
1580
+ context[:gem_version] = '1.51.0'
1581
1581
  Seahorse::Client::Request.new(handlers, context)
1582
1582
  end
1583
1583
 
@@ -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 '\
@@ -25,16 +26,17 @@ module Aws::CloudHSM
25
26
  # @api private
26
27
  class Handler < Seahorse::Client::Handler
27
28
  def call(context)
28
- # If endpoint was discovered, do not resolve or apply the endpoint.
29
29
  unless context[:discovered_endpoint]
30
30
  params = parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
34
34
  apply_endpoint_headers(context, endpoint.headers)
35
+
36
+ context[:endpoint_params] = params
37
+ context[:endpoint_properties] = endpoint.properties
35
38
  end
36
39
 
37
- context[:endpoint_params] = params
38
40
  context[:auth_scheme] =
39
41
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
42
 
@@ -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.49.0'
55
+ GEM_VERSION = '1.51.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.49.0
4
+ version: 1.51.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-22 00:00:00.000000000 Z
11
+ date: 2024-01-26 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.191.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.191.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: []