aws-sdk-cloudhsm 1.0.0.rc1
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 +7 -0
- data/lib/aws-sdk-cloudhsm.rb +47 -0
- data/lib/aws-sdk-cloudhsm/client.rb +829 -0
- data/lib/aws-sdk-cloudhsm/client_api.rb +531 -0
- data/lib/aws-sdk-cloudhsm/customizations.rb +7 -0
- data/lib/aws-sdk-cloudhsm/errors.rb +23 -0
- data/lib/aws-sdk-cloudhsm/resource.rb +25 -0
- data/lib/aws-sdk-cloudhsm/types.rb +844 -0
- metadata +80 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing for info on making contributions:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module CloudHSM
|
10
|
+
module Errors
|
11
|
+
|
12
|
+
extend Aws::Errors::DynamicErrors
|
13
|
+
|
14
|
+
# Raised when calling #load or #data on a resource class that can not be
|
15
|
+
# loaded. This can happen when:
|
16
|
+
#
|
17
|
+
# * A resource class has identifiers, but no data attributes.
|
18
|
+
# * Resource data is only available when making an API call that
|
19
|
+
# enumerates all resources of that type.
|
20
|
+
class ResourceNotLoadable < RuntimeError; end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing for info on making contributions:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module CloudHSM
|
10
|
+
class Resource
|
11
|
+
|
12
|
+
# @param options ({})
|
13
|
+
# @option options [Client] :client
|
14
|
+
def initialize(options = {})
|
15
|
+
@client = options[:client] || Client.new(options)
|
16
|
+
end
|
17
|
+
|
18
|
+
# @return [Client]
|
19
|
+
def client
|
20
|
+
@client
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,844 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing for info on making contributions:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module CloudHSM
|
10
|
+
module Types
|
11
|
+
|
12
|
+
# @note When making an API call, pass AddTagsToResourceRequest
|
13
|
+
# data as a hash:
|
14
|
+
#
|
15
|
+
# {
|
16
|
+
# resource_arn: "String", # required
|
17
|
+
# tag_list: [ # required
|
18
|
+
# {
|
19
|
+
# key: "TagKey", # required
|
20
|
+
# value: "TagValue", # required
|
21
|
+
# },
|
22
|
+
# ],
|
23
|
+
# }
|
24
|
+
# @!attribute [rw] resource_arn
|
25
|
+
# The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
|
26
|
+
# @return [String]
|
27
|
+
#
|
28
|
+
# @!attribute [rw] tag_list
|
29
|
+
# One or more tags.
|
30
|
+
# @return [Array<Types::Tag>]
|
31
|
+
class AddTagsToResourceRequest < Struct.new(
|
32
|
+
:resource_arn,
|
33
|
+
:tag_list)
|
34
|
+
include Aws::Structure
|
35
|
+
end
|
36
|
+
|
37
|
+
# @!attribute [rw] status
|
38
|
+
# The status of the operation.
|
39
|
+
# @return [String]
|
40
|
+
class AddTagsToResourceResponse < Struct.new(
|
41
|
+
:status)
|
42
|
+
include Aws::Structure
|
43
|
+
end
|
44
|
+
|
45
|
+
# Contains the inputs for the CreateHapgRequest action.
|
46
|
+
# @note When making an API call, pass CreateHapgRequest
|
47
|
+
# data as a hash:
|
48
|
+
#
|
49
|
+
# {
|
50
|
+
# label: "Label", # required
|
51
|
+
# }
|
52
|
+
# @!attribute [rw] label
|
53
|
+
# The label of the new high-availability partition group.
|
54
|
+
# @return [String]
|
55
|
+
class CreateHapgRequest < Struct.new(
|
56
|
+
:label)
|
57
|
+
include Aws::Structure
|
58
|
+
end
|
59
|
+
|
60
|
+
# Contains the output of the CreateHAPartitionGroup action.
|
61
|
+
# @!attribute [rw] hapg_arn
|
62
|
+
# The ARN of the high-availability partition group.
|
63
|
+
# @return [String]
|
64
|
+
class CreateHapgResponse < Struct.new(
|
65
|
+
:hapg_arn)
|
66
|
+
include Aws::Structure
|
67
|
+
end
|
68
|
+
|
69
|
+
# Contains the inputs for the CreateHsm operation.
|
70
|
+
# @note When making an API call, pass CreateHsmRequest
|
71
|
+
# data as a hash:
|
72
|
+
#
|
73
|
+
# {
|
74
|
+
# subnet_id: "SubnetId", # required
|
75
|
+
# ssh_key: "SshKey", # required
|
76
|
+
# eni_ip: "IpAddress",
|
77
|
+
# iam_role_arn: "IamRoleArn", # required
|
78
|
+
# external_id: "ExternalId",
|
79
|
+
# subscription_type: "PRODUCTION", # required, accepts PRODUCTION
|
80
|
+
# client_token: "ClientToken",
|
81
|
+
# syslog_ip: "IpAddress",
|
82
|
+
# }
|
83
|
+
# @!attribute [rw] subnet_id
|
84
|
+
# The identifier of the subnet in your VPC in which to place the HSM.
|
85
|
+
# @return [String]
|
86
|
+
#
|
87
|
+
# @!attribute [rw] ssh_key
|
88
|
+
# The SSH public key to install on the HSM.
|
89
|
+
# @return [String]
|
90
|
+
#
|
91
|
+
# @!attribute [rw] eni_ip
|
92
|
+
# The IP address to assign to the HSM's ENI.
|
93
|
+
#
|
94
|
+
# If an IP address is not specified, an IP address will be randomly
|
95
|
+
# chosen from the CIDR range of the subnet.
|
96
|
+
# @return [String]
|
97
|
+
#
|
98
|
+
# @!attribute [rw] iam_role_arn
|
99
|
+
# The ARN of an IAM role to enable the AWS CloudHSM service to
|
100
|
+
# allocate an ENI on your behalf.
|
101
|
+
# @return [String]
|
102
|
+
#
|
103
|
+
# @!attribute [rw] external_id
|
104
|
+
# The external ID from **IamRoleArn**, if present.
|
105
|
+
# @return [String]
|
106
|
+
#
|
107
|
+
# @!attribute [rw] subscription_type
|
108
|
+
# Specifies the type of subscription for the HSM.
|
109
|
+
#
|
110
|
+
# * **PRODUCTION** - The HSM is being used in a production
|
111
|
+
# environment.
|
112
|
+
# * **TRIAL** - The HSM is being used in a product trial.
|
113
|
+
# @return [String]
|
114
|
+
#
|
115
|
+
# @!attribute [rw] client_token
|
116
|
+
# A user-defined token to ensure idempotence. Subsequent calls to this
|
117
|
+
# operation with the same token will be ignored.
|
118
|
+
# @return [String]
|
119
|
+
#
|
120
|
+
# @!attribute [rw] syslog_ip
|
121
|
+
# The IP address for the syslog monitoring server. The AWS CloudHSM
|
122
|
+
# service only supports one syslog monitoring server.
|
123
|
+
# @return [String]
|
124
|
+
class CreateHsmRequest < Struct.new(
|
125
|
+
:subnet_id,
|
126
|
+
:ssh_key,
|
127
|
+
:eni_ip,
|
128
|
+
:iam_role_arn,
|
129
|
+
:external_id,
|
130
|
+
:subscription_type,
|
131
|
+
:client_token,
|
132
|
+
:syslog_ip)
|
133
|
+
include Aws::Structure
|
134
|
+
end
|
135
|
+
|
136
|
+
# Contains the output of the CreateHsm operation.
|
137
|
+
# @!attribute [rw] hsm_arn
|
138
|
+
# The ARN of the HSM.
|
139
|
+
# @return [String]
|
140
|
+
class CreateHsmResponse < Struct.new(
|
141
|
+
:hsm_arn)
|
142
|
+
include Aws::Structure
|
143
|
+
end
|
144
|
+
|
145
|
+
# Contains the inputs for the CreateLunaClient action.
|
146
|
+
# @note When making an API call, pass CreateLunaClientRequest
|
147
|
+
# data as a hash:
|
148
|
+
#
|
149
|
+
# {
|
150
|
+
# label: "ClientLabel",
|
151
|
+
# certificate: "Certificate", # required
|
152
|
+
# }
|
153
|
+
# @!attribute [rw] label
|
154
|
+
# The label for the client.
|
155
|
+
# @return [String]
|
156
|
+
#
|
157
|
+
# @!attribute [rw] certificate
|
158
|
+
# The contents of a Base64-Encoded X.509 v3 certificate to be
|
159
|
+
# installed on the HSMs used by this client.
|
160
|
+
# @return [String]
|
161
|
+
class CreateLunaClientRequest < Struct.new(
|
162
|
+
:label,
|
163
|
+
:certificate)
|
164
|
+
include Aws::Structure
|
165
|
+
end
|
166
|
+
|
167
|
+
# Contains the output of the CreateLunaClient action.
|
168
|
+
# @!attribute [rw] client_arn
|
169
|
+
# The ARN of the client.
|
170
|
+
# @return [String]
|
171
|
+
class CreateLunaClientResponse < Struct.new(
|
172
|
+
:client_arn)
|
173
|
+
include Aws::Structure
|
174
|
+
end
|
175
|
+
|
176
|
+
# Contains the inputs for the DeleteHapg action.
|
177
|
+
# @note When making an API call, pass DeleteHapgRequest
|
178
|
+
# data as a hash:
|
179
|
+
#
|
180
|
+
# {
|
181
|
+
# hapg_arn: "HapgArn", # required
|
182
|
+
# }
|
183
|
+
# @!attribute [rw] hapg_arn
|
184
|
+
# The ARN of the high-availability partition group to delete.
|
185
|
+
# @return [String]
|
186
|
+
class DeleteHapgRequest < Struct.new(
|
187
|
+
:hapg_arn)
|
188
|
+
include Aws::Structure
|
189
|
+
end
|
190
|
+
|
191
|
+
# Contains the output of the DeleteHapg action.
|
192
|
+
# @!attribute [rw] status
|
193
|
+
# The status of the action.
|
194
|
+
# @return [String]
|
195
|
+
class DeleteHapgResponse < Struct.new(
|
196
|
+
:status)
|
197
|
+
include Aws::Structure
|
198
|
+
end
|
199
|
+
|
200
|
+
# Contains the inputs for the DeleteHsm operation.
|
201
|
+
# @note When making an API call, pass DeleteHsmRequest
|
202
|
+
# data as a hash:
|
203
|
+
#
|
204
|
+
# {
|
205
|
+
# hsm_arn: "HsmArn", # required
|
206
|
+
# }
|
207
|
+
# @!attribute [rw] hsm_arn
|
208
|
+
# The ARN of the HSM to delete.
|
209
|
+
# @return [String]
|
210
|
+
class DeleteHsmRequest < Struct.new(
|
211
|
+
:hsm_arn)
|
212
|
+
include Aws::Structure
|
213
|
+
end
|
214
|
+
|
215
|
+
# Contains the output of the DeleteHsm operation.
|
216
|
+
# @!attribute [rw] status
|
217
|
+
# The status of the operation.
|
218
|
+
# @return [String]
|
219
|
+
class DeleteHsmResponse < Struct.new(
|
220
|
+
:status)
|
221
|
+
include Aws::Structure
|
222
|
+
end
|
223
|
+
|
224
|
+
# @note When making an API call, pass DeleteLunaClientRequest
|
225
|
+
# data as a hash:
|
226
|
+
#
|
227
|
+
# {
|
228
|
+
# client_arn: "ClientArn", # required
|
229
|
+
# }
|
230
|
+
# @!attribute [rw] client_arn
|
231
|
+
# The ARN of the client to delete.
|
232
|
+
# @return [String]
|
233
|
+
class DeleteLunaClientRequest < Struct.new(
|
234
|
+
:client_arn)
|
235
|
+
include Aws::Structure
|
236
|
+
end
|
237
|
+
|
238
|
+
# @!attribute [rw] status
|
239
|
+
# The status of the action.
|
240
|
+
# @return [String]
|
241
|
+
class DeleteLunaClientResponse < Struct.new(
|
242
|
+
:status)
|
243
|
+
include Aws::Structure
|
244
|
+
end
|
245
|
+
|
246
|
+
# Contains the inputs for the DescribeHapg action.
|
247
|
+
# @note When making an API call, pass DescribeHapgRequest
|
248
|
+
# data as a hash:
|
249
|
+
#
|
250
|
+
# {
|
251
|
+
# hapg_arn: "HapgArn", # required
|
252
|
+
# }
|
253
|
+
# @!attribute [rw] hapg_arn
|
254
|
+
# The ARN of the high-availability partition group to describe.
|
255
|
+
# @return [String]
|
256
|
+
class DescribeHapgRequest < Struct.new(
|
257
|
+
:hapg_arn)
|
258
|
+
include Aws::Structure
|
259
|
+
end
|
260
|
+
|
261
|
+
# Contains the output of the DescribeHapg action.
|
262
|
+
# @!attribute [rw] hapg_arn
|
263
|
+
# The ARN of the high-availability partition group.
|
264
|
+
# @return [String]
|
265
|
+
#
|
266
|
+
# @!attribute [rw] hapg_serial
|
267
|
+
# The serial number of the high-availability partition group.
|
268
|
+
# @return [String]
|
269
|
+
#
|
270
|
+
# @!attribute [rw] hsms_last_action_failed
|
271
|
+
# Contains a list of ARNs that identify the HSMs.
|
272
|
+
# @return [Array<String>]
|
273
|
+
#
|
274
|
+
# @!attribute [rw] hsms_pending_deletion
|
275
|
+
# Contains a list of ARNs that identify the HSMs.
|
276
|
+
# @return [Array<String>]
|
277
|
+
#
|
278
|
+
# @!attribute [rw] hsms_pending_registration
|
279
|
+
# Contains a list of ARNs that identify the HSMs.
|
280
|
+
# @return [Array<String>]
|
281
|
+
#
|
282
|
+
# @!attribute [rw] label
|
283
|
+
# The label for the high-availability partition group.
|
284
|
+
# @return [String]
|
285
|
+
#
|
286
|
+
# @!attribute [rw] last_modified_timestamp
|
287
|
+
# The date and time the high-availability partition group was last
|
288
|
+
# modified.
|
289
|
+
# @return [String]
|
290
|
+
#
|
291
|
+
# @!attribute [rw] partition_serial_list
|
292
|
+
# The list of partition serial numbers that belong to the
|
293
|
+
# high-availability partition group.
|
294
|
+
# @return [Array<String>]
|
295
|
+
#
|
296
|
+
# @!attribute [rw] state
|
297
|
+
# The state of the high-availability partition group.
|
298
|
+
# @return [String]
|
299
|
+
class DescribeHapgResponse < Struct.new(
|
300
|
+
:hapg_arn,
|
301
|
+
:hapg_serial,
|
302
|
+
:hsms_last_action_failed,
|
303
|
+
:hsms_pending_deletion,
|
304
|
+
:hsms_pending_registration,
|
305
|
+
:label,
|
306
|
+
:last_modified_timestamp,
|
307
|
+
:partition_serial_list,
|
308
|
+
:state)
|
309
|
+
include Aws::Structure
|
310
|
+
end
|
311
|
+
|
312
|
+
# Contains the inputs for the DescribeHsm operation.
|
313
|
+
# @note When making an API call, pass DescribeHsmRequest
|
314
|
+
# data as a hash:
|
315
|
+
#
|
316
|
+
# {
|
317
|
+
# hsm_arn: "HsmArn",
|
318
|
+
# hsm_serial_number: "HsmSerialNumber",
|
319
|
+
# }
|
320
|
+
# @!attribute [rw] hsm_arn
|
321
|
+
# The ARN of the HSM. Either the *HsmArn* or the *SerialNumber*
|
322
|
+
# parameter must be specified.
|
323
|
+
# @return [String]
|
324
|
+
#
|
325
|
+
# @!attribute [rw] hsm_serial_number
|
326
|
+
# The serial number of the HSM. Either the *HsmArn* or the
|
327
|
+
# *HsmSerialNumber* parameter must be specified.
|
328
|
+
# @return [String]
|
329
|
+
class DescribeHsmRequest < Struct.new(
|
330
|
+
:hsm_arn,
|
331
|
+
:hsm_serial_number)
|
332
|
+
include Aws::Structure
|
333
|
+
end
|
334
|
+
|
335
|
+
# Contains the output of the DescribeHsm operation.
|
336
|
+
# @!attribute [rw] hsm_arn
|
337
|
+
# The ARN of the HSM.
|
338
|
+
# @return [String]
|
339
|
+
#
|
340
|
+
# @!attribute [rw] status
|
341
|
+
# The status of the HSM.
|
342
|
+
# @return [String]
|
343
|
+
#
|
344
|
+
# @!attribute [rw] status_details
|
345
|
+
# Contains additional information about the status of the HSM.
|
346
|
+
# @return [String]
|
347
|
+
#
|
348
|
+
# @!attribute [rw] availability_zone
|
349
|
+
# The Availability Zone that the HSM is in.
|
350
|
+
# @return [String]
|
351
|
+
#
|
352
|
+
# @!attribute [rw] eni_id
|
353
|
+
# The identifier of the elastic network interface (ENI) attached to
|
354
|
+
# the HSM.
|
355
|
+
# @return [String]
|
356
|
+
#
|
357
|
+
# @!attribute [rw] eni_ip
|
358
|
+
# The IP address assigned to the HSM's ENI.
|
359
|
+
# @return [String]
|
360
|
+
#
|
361
|
+
# @!attribute [rw] subscription_type
|
362
|
+
# Specifies the type of subscription for the HSM.
|
363
|
+
#
|
364
|
+
# * **PRODUCTION** - The HSM is being used in a production
|
365
|
+
# environment.
|
366
|
+
# * **TRIAL** - The HSM is being used in a product trial.
|
367
|
+
# @return [String]
|
368
|
+
#
|
369
|
+
# @!attribute [rw] subscription_start_date
|
370
|
+
# The subscription start date.
|
371
|
+
# @return [String]
|
372
|
+
#
|
373
|
+
# @!attribute [rw] subscription_end_date
|
374
|
+
# The subscription end date.
|
375
|
+
# @return [String]
|
376
|
+
#
|
377
|
+
# @!attribute [rw] vpc_id
|
378
|
+
# The identifier of the VPC that the HSM is in.
|
379
|
+
# @return [String]
|
380
|
+
#
|
381
|
+
# @!attribute [rw] subnet_id
|
382
|
+
# The identifier of the subnet that the HSM is in.
|
383
|
+
# @return [String]
|
384
|
+
#
|
385
|
+
# @!attribute [rw] iam_role_arn
|
386
|
+
# The ARN of the IAM role assigned to the HSM.
|
387
|
+
# @return [String]
|
388
|
+
#
|
389
|
+
# @!attribute [rw] serial_number
|
390
|
+
# The serial number of the HSM.
|
391
|
+
# @return [String]
|
392
|
+
#
|
393
|
+
# @!attribute [rw] vendor_name
|
394
|
+
# The name of the HSM vendor.
|
395
|
+
# @return [String]
|
396
|
+
#
|
397
|
+
# @!attribute [rw] hsm_type
|
398
|
+
# The HSM model type.
|
399
|
+
# @return [String]
|
400
|
+
#
|
401
|
+
# @!attribute [rw] software_version
|
402
|
+
# The HSM software version.
|
403
|
+
# @return [String]
|
404
|
+
#
|
405
|
+
# @!attribute [rw] ssh_public_key
|
406
|
+
# The public SSH key.
|
407
|
+
# @return [String]
|
408
|
+
#
|
409
|
+
# @!attribute [rw] ssh_key_last_updated
|
410
|
+
# The date and time that the SSH key was last updated.
|
411
|
+
# @return [String]
|
412
|
+
#
|
413
|
+
# @!attribute [rw] server_cert_uri
|
414
|
+
# The URI of the certificate server.
|
415
|
+
# @return [String]
|
416
|
+
#
|
417
|
+
# @!attribute [rw] server_cert_last_updated
|
418
|
+
# The date and time that the server certificate was last updated.
|
419
|
+
# @return [String]
|
420
|
+
#
|
421
|
+
# @!attribute [rw] partitions
|
422
|
+
# The list of partitions on the HSM.
|
423
|
+
# @return [Array<String>]
|
424
|
+
class DescribeHsmResponse < Struct.new(
|
425
|
+
:hsm_arn,
|
426
|
+
:status,
|
427
|
+
:status_details,
|
428
|
+
:availability_zone,
|
429
|
+
:eni_id,
|
430
|
+
:eni_ip,
|
431
|
+
:subscription_type,
|
432
|
+
:subscription_start_date,
|
433
|
+
:subscription_end_date,
|
434
|
+
:vpc_id,
|
435
|
+
:subnet_id,
|
436
|
+
:iam_role_arn,
|
437
|
+
:serial_number,
|
438
|
+
:vendor_name,
|
439
|
+
:hsm_type,
|
440
|
+
:software_version,
|
441
|
+
:ssh_public_key,
|
442
|
+
:ssh_key_last_updated,
|
443
|
+
:server_cert_uri,
|
444
|
+
:server_cert_last_updated,
|
445
|
+
:partitions)
|
446
|
+
include Aws::Structure
|
447
|
+
end
|
448
|
+
|
449
|
+
# @note When making an API call, pass DescribeLunaClientRequest
|
450
|
+
# data as a hash:
|
451
|
+
#
|
452
|
+
# {
|
453
|
+
# client_arn: "ClientArn",
|
454
|
+
# certificate_fingerprint: "CertificateFingerprint",
|
455
|
+
# }
|
456
|
+
# @!attribute [rw] client_arn
|
457
|
+
# The ARN of the client.
|
458
|
+
# @return [String]
|
459
|
+
#
|
460
|
+
# @!attribute [rw] certificate_fingerprint
|
461
|
+
# The certificate fingerprint.
|
462
|
+
# @return [String]
|
463
|
+
class DescribeLunaClientRequest < Struct.new(
|
464
|
+
:client_arn,
|
465
|
+
:certificate_fingerprint)
|
466
|
+
include Aws::Structure
|
467
|
+
end
|
468
|
+
|
469
|
+
# @!attribute [rw] client_arn
|
470
|
+
# The ARN of the client.
|
471
|
+
# @return [String]
|
472
|
+
#
|
473
|
+
# @!attribute [rw] certificate
|
474
|
+
# The certificate installed on the HSMs used by this client.
|
475
|
+
# @return [String]
|
476
|
+
#
|
477
|
+
# @!attribute [rw] certificate_fingerprint
|
478
|
+
# The certificate fingerprint.
|
479
|
+
# @return [String]
|
480
|
+
#
|
481
|
+
# @!attribute [rw] last_modified_timestamp
|
482
|
+
# The date and time the client was last modified.
|
483
|
+
# @return [String]
|
484
|
+
#
|
485
|
+
# @!attribute [rw] label
|
486
|
+
# The label of the client.
|
487
|
+
# @return [String]
|
488
|
+
class DescribeLunaClientResponse < Struct.new(
|
489
|
+
:client_arn,
|
490
|
+
:certificate,
|
491
|
+
:certificate_fingerprint,
|
492
|
+
:last_modified_timestamp,
|
493
|
+
:label)
|
494
|
+
include Aws::Structure
|
495
|
+
end
|
496
|
+
|
497
|
+
# @note When making an API call, pass GetConfigRequest
|
498
|
+
# data as a hash:
|
499
|
+
#
|
500
|
+
# {
|
501
|
+
# client_arn: "ClientArn", # required
|
502
|
+
# client_version: "5.1", # required, accepts 5.1, 5.3
|
503
|
+
# hapg_list: ["HapgArn"], # required
|
504
|
+
# }
|
505
|
+
# @!attribute [rw] client_arn
|
506
|
+
# The ARN of the client.
|
507
|
+
# @return [String]
|
508
|
+
#
|
509
|
+
# @!attribute [rw] client_version
|
510
|
+
# The client version.
|
511
|
+
# @return [String]
|
512
|
+
#
|
513
|
+
# @!attribute [rw] hapg_list
|
514
|
+
# A list of ARNs that identify the high-availability partition groups
|
515
|
+
# that are associated with the client.
|
516
|
+
# @return [Array<String>]
|
517
|
+
class GetConfigRequest < Struct.new(
|
518
|
+
:client_arn,
|
519
|
+
:client_version,
|
520
|
+
:hapg_list)
|
521
|
+
include Aws::Structure
|
522
|
+
end
|
523
|
+
|
524
|
+
# @!attribute [rw] config_type
|
525
|
+
# The type of credentials.
|
526
|
+
# @return [String]
|
527
|
+
#
|
528
|
+
# @!attribute [rw] config_file
|
529
|
+
# The chrystoki.conf configuration file.
|
530
|
+
# @return [String]
|
531
|
+
#
|
532
|
+
# @!attribute [rw] config_cred
|
533
|
+
# The certificate file containing the server.pem files of the HSMs.
|
534
|
+
# @return [String]
|
535
|
+
class GetConfigResponse < Struct.new(
|
536
|
+
:config_type,
|
537
|
+
:config_file,
|
538
|
+
:config_cred)
|
539
|
+
include Aws::Structure
|
540
|
+
end
|
541
|
+
|
542
|
+
# Contains the inputs for the ListAvailableZones action.
|
543
|
+
# @api private
|
544
|
+
class ListAvailableZonesRequest < Aws::EmptyStructure; end
|
545
|
+
|
546
|
+
# @!attribute [rw] az_list
|
547
|
+
# The list of Availability Zones that have available AWS CloudHSM
|
548
|
+
# capacity.
|
549
|
+
# @return [Array<String>]
|
550
|
+
class ListAvailableZonesResponse < Struct.new(
|
551
|
+
:az_list)
|
552
|
+
include Aws::Structure
|
553
|
+
end
|
554
|
+
|
555
|
+
# @note When making an API call, pass ListHapgsRequest
|
556
|
+
# data as a hash:
|
557
|
+
#
|
558
|
+
# {
|
559
|
+
# next_token: "PaginationToken",
|
560
|
+
# }
|
561
|
+
# @!attribute [rw] next_token
|
562
|
+
# The *NextToken* value from a previous call to ListHapgs. Pass null
|
563
|
+
# if this is the first call.
|
564
|
+
# @return [String]
|
565
|
+
class ListHapgsRequest < Struct.new(
|
566
|
+
:next_token)
|
567
|
+
include Aws::Structure
|
568
|
+
end
|
569
|
+
|
570
|
+
# @!attribute [rw] hapg_list
|
571
|
+
# The list of high-availability partition groups.
|
572
|
+
# @return [Array<String>]
|
573
|
+
#
|
574
|
+
# @!attribute [rw] next_token
|
575
|
+
# If not null, more results are available. Pass this value to
|
576
|
+
# ListHapgs to retrieve the next set of items.
|
577
|
+
# @return [String]
|
578
|
+
class ListHapgsResponse < Struct.new(
|
579
|
+
:hapg_list,
|
580
|
+
:next_token)
|
581
|
+
include Aws::Structure
|
582
|
+
end
|
583
|
+
|
584
|
+
# @note When making an API call, pass ListHsmsRequest
|
585
|
+
# data as a hash:
|
586
|
+
#
|
587
|
+
# {
|
588
|
+
# next_token: "PaginationToken",
|
589
|
+
# }
|
590
|
+
# @!attribute [rw] next_token
|
591
|
+
# The *NextToken* value from a previous call to ListHsms. Pass null if
|
592
|
+
# this is the first call.
|
593
|
+
# @return [String]
|
594
|
+
class ListHsmsRequest < Struct.new(
|
595
|
+
:next_token)
|
596
|
+
include Aws::Structure
|
597
|
+
end
|
598
|
+
|
599
|
+
# Contains the output of the ListHsms operation.
|
600
|
+
# @!attribute [rw] hsm_list
|
601
|
+
# The list of ARNs that identify the HSMs.
|
602
|
+
# @return [Array<String>]
|
603
|
+
#
|
604
|
+
# @!attribute [rw] next_token
|
605
|
+
# If not null, more results are available. Pass this value to ListHsms
|
606
|
+
# to retrieve the next set of items.
|
607
|
+
# @return [String]
|
608
|
+
class ListHsmsResponse < Struct.new(
|
609
|
+
:hsm_list,
|
610
|
+
:next_token)
|
611
|
+
include Aws::Structure
|
612
|
+
end
|
613
|
+
|
614
|
+
# @note When making an API call, pass ListLunaClientsRequest
|
615
|
+
# data as a hash:
|
616
|
+
#
|
617
|
+
# {
|
618
|
+
# next_token: "PaginationToken",
|
619
|
+
# }
|
620
|
+
# @!attribute [rw] next_token
|
621
|
+
# The *NextToken* value from a previous call to ListLunaClients. Pass
|
622
|
+
# null if this is the first call.
|
623
|
+
# @return [String]
|
624
|
+
class ListLunaClientsRequest < Struct.new(
|
625
|
+
:next_token)
|
626
|
+
include Aws::Structure
|
627
|
+
end
|
628
|
+
|
629
|
+
# @!attribute [rw] client_list
|
630
|
+
# The list of clients.
|
631
|
+
# @return [Array<String>]
|
632
|
+
#
|
633
|
+
# @!attribute [rw] next_token
|
634
|
+
# If not null, more results are available. Pass this to
|
635
|
+
# ListLunaClients to retrieve the next set of items.
|
636
|
+
# @return [String]
|
637
|
+
class ListLunaClientsResponse < Struct.new(
|
638
|
+
:client_list,
|
639
|
+
:next_token)
|
640
|
+
include Aws::Structure
|
641
|
+
end
|
642
|
+
|
643
|
+
# @note When making an API call, pass ListTagsForResourceRequest
|
644
|
+
# data as a hash:
|
645
|
+
#
|
646
|
+
# {
|
647
|
+
# resource_arn: "String", # required
|
648
|
+
# }
|
649
|
+
# @!attribute [rw] resource_arn
|
650
|
+
# The Amazon Resource Name (ARN) of the AWS CloudHSM resource.
|
651
|
+
# @return [String]
|
652
|
+
class ListTagsForResourceRequest < Struct.new(
|
653
|
+
:resource_arn)
|
654
|
+
include Aws::Structure
|
655
|
+
end
|
656
|
+
|
657
|
+
# @!attribute [rw] tag_list
|
658
|
+
# One or more tags.
|
659
|
+
# @return [Array<Types::Tag>]
|
660
|
+
class ListTagsForResourceResponse < Struct.new(
|
661
|
+
:tag_list)
|
662
|
+
include Aws::Structure
|
663
|
+
end
|
664
|
+
|
665
|
+
# @note When making an API call, pass ModifyHapgRequest
|
666
|
+
# data as a hash:
|
667
|
+
#
|
668
|
+
# {
|
669
|
+
# hapg_arn: "HapgArn", # required
|
670
|
+
# label: "Label",
|
671
|
+
# partition_serial_list: ["PartitionSerial"],
|
672
|
+
# }
|
673
|
+
# @!attribute [rw] hapg_arn
|
674
|
+
# The ARN of the high-availability partition group to modify.
|
675
|
+
# @return [String]
|
676
|
+
#
|
677
|
+
# @!attribute [rw] label
|
678
|
+
# The new label for the high-availability partition group.
|
679
|
+
# @return [String]
|
680
|
+
#
|
681
|
+
# @!attribute [rw] partition_serial_list
|
682
|
+
# The list of partition serial numbers to make members of the
|
683
|
+
# high-availability partition group.
|
684
|
+
# @return [Array<String>]
|
685
|
+
class ModifyHapgRequest < Struct.new(
|
686
|
+
:hapg_arn,
|
687
|
+
:label,
|
688
|
+
:partition_serial_list)
|
689
|
+
include Aws::Structure
|
690
|
+
end
|
691
|
+
|
692
|
+
# @!attribute [rw] hapg_arn
|
693
|
+
# The ARN of the high-availability partition group.
|
694
|
+
# @return [String]
|
695
|
+
class ModifyHapgResponse < Struct.new(
|
696
|
+
:hapg_arn)
|
697
|
+
include Aws::Structure
|
698
|
+
end
|
699
|
+
|
700
|
+
# Contains the inputs for the ModifyHsm operation.
|
701
|
+
# @note When making an API call, pass ModifyHsmRequest
|
702
|
+
# data as a hash:
|
703
|
+
#
|
704
|
+
# {
|
705
|
+
# hsm_arn: "HsmArn", # required
|
706
|
+
# subnet_id: "SubnetId",
|
707
|
+
# eni_ip: "IpAddress",
|
708
|
+
# iam_role_arn: "IamRoleArn",
|
709
|
+
# external_id: "ExternalId",
|
710
|
+
# syslog_ip: "IpAddress",
|
711
|
+
# }
|
712
|
+
# @!attribute [rw] hsm_arn
|
713
|
+
# The ARN of the HSM to modify.
|
714
|
+
# @return [String]
|
715
|
+
#
|
716
|
+
# @!attribute [rw] subnet_id
|
717
|
+
# The new identifier of the subnet that the HSM is in. The new subnet
|
718
|
+
# must be in the same Availability Zone as the current subnet.
|
719
|
+
# @return [String]
|
720
|
+
#
|
721
|
+
# @!attribute [rw] eni_ip
|
722
|
+
# The new IP address for the elastic network interface (ENI) attached
|
723
|
+
# to the HSM.
|
724
|
+
#
|
725
|
+
# If the HSM is moved to a different subnet, and an IP address is not
|
726
|
+
# specified, an IP address will be randomly chosen from the CIDR range
|
727
|
+
# of the new subnet.
|
728
|
+
# @return [String]
|
729
|
+
#
|
730
|
+
# @!attribute [rw] iam_role_arn
|
731
|
+
# The new IAM role ARN.
|
732
|
+
# @return [String]
|
733
|
+
#
|
734
|
+
# @!attribute [rw] external_id
|
735
|
+
# The new external ID.
|
736
|
+
# @return [String]
|
737
|
+
#
|
738
|
+
# @!attribute [rw] syslog_ip
|
739
|
+
# The new IP address for the syslog monitoring server. The AWS
|
740
|
+
# CloudHSM service only supports one syslog monitoring server.
|
741
|
+
# @return [String]
|
742
|
+
class ModifyHsmRequest < Struct.new(
|
743
|
+
:hsm_arn,
|
744
|
+
:subnet_id,
|
745
|
+
:eni_ip,
|
746
|
+
:iam_role_arn,
|
747
|
+
:external_id,
|
748
|
+
:syslog_ip)
|
749
|
+
include Aws::Structure
|
750
|
+
end
|
751
|
+
|
752
|
+
# Contains the output of the ModifyHsm operation.
|
753
|
+
# @!attribute [rw] hsm_arn
|
754
|
+
# The ARN of the HSM.
|
755
|
+
# @return [String]
|
756
|
+
class ModifyHsmResponse < Struct.new(
|
757
|
+
:hsm_arn)
|
758
|
+
include Aws::Structure
|
759
|
+
end
|
760
|
+
|
761
|
+
# @note When making an API call, pass ModifyLunaClientRequest
|
762
|
+
# data as a hash:
|
763
|
+
#
|
764
|
+
# {
|
765
|
+
# client_arn: "ClientArn", # required
|
766
|
+
# certificate: "Certificate", # required
|
767
|
+
# }
|
768
|
+
# @!attribute [rw] client_arn
|
769
|
+
# The ARN of the client.
|
770
|
+
# @return [String]
|
771
|
+
#
|
772
|
+
# @!attribute [rw] certificate
|
773
|
+
# The new certificate for the client.
|
774
|
+
# @return [String]
|
775
|
+
class ModifyLunaClientRequest < Struct.new(
|
776
|
+
:client_arn,
|
777
|
+
:certificate)
|
778
|
+
include Aws::Structure
|
779
|
+
end
|
780
|
+
|
781
|
+
# @!attribute [rw] client_arn
|
782
|
+
# The ARN of the client.
|
783
|
+
# @return [String]
|
784
|
+
class ModifyLunaClientResponse < Struct.new(
|
785
|
+
:client_arn)
|
786
|
+
include Aws::Structure
|
787
|
+
end
|
788
|
+
|
789
|
+
# @note When making an API call, pass RemoveTagsFromResourceRequest
|
790
|
+
# data as a hash:
|
791
|
+
#
|
792
|
+
# {
|
793
|
+
# resource_arn: "String", # required
|
794
|
+
# tag_key_list: ["TagKey"], # required
|
795
|
+
# }
|
796
|
+
# @!attribute [rw] resource_arn
|
797
|
+
# The Amazon Resource Name (ARN) of the AWS CloudHSM resource.
|
798
|
+
# @return [String]
|
799
|
+
#
|
800
|
+
# @!attribute [rw] tag_key_list
|
801
|
+
# The tag key or keys to remove.
|
802
|
+
#
|
803
|
+
# Specify only the tag key to remove (not the value). To overwrite the
|
804
|
+
# value for an existing tag, use AddTagsToResource.
|
805
|
+
# @return [Array<String>]
|
806
|
+
class RemoveTagsFromResourceRequest < Struct.new(
|
807
|
+
:resource_arn,
|
808
|
+
:tag_key_list)
|
809
|
+
include Aws::Structure
|
810
|
+
end
|
811
|
+
|
812
|
+
# @!attribute [rw] status
|
813
|
+
# The status of the operation.
|
814
|
+
# @return [String]
|
815
|
+
class RemoveTagsFromResourceResponse < Struct.new(
|
816
|
+
:status)
|
817
|
+
include Aws::Structure
|
818
|
+
end
|
819
|
+
|
820
|
+
# A key-value pair that identifies or specifies metadata about an AWS
|
821
|
+
# CloudHSM resource.
|
822
|
+
# @note When making an API call, pass Tag
|
823
|
+
# data as a hash:
|
824
|
+
#
|
825
|
+
# {
|
826
|
+
# key: "TagKey", # required
|
827
|
+
# value: "TagValue", # required
|
828
|
+
# }
|
829
|
+
# @!attribute [rw] key
|
830
|
+
# The key of the tag.
|
831
|
+
# @return [String]
|
832
|
+
#
|
833
|
+
# @!attribute [rw] value
|
834
|
+
# The value of the tag.
|
835
|
+
# @return [String]
|
836
|
+
class Tag < Struct.new(
|
837
|
+
:key,
|
838
|
+
:value)
|
839
|
+
include Aws::Structure
|
840
|
+
end
|
841
|
+
|
842
|
+
end
|
843
|
+
end
|
844
|
+
end
|