aws-sdk-cloudhsmv2 1.69.0 → 1.71.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudhsmv2/client.rb +35 -8
- data/lib/aws-sdk-cloudhsmv2/client_api.rb +14 -1
- data/lib/aws-sdk-cloudhsmv2/errors.rb +16 -0
- data/lib/aws-sdk-cloudhsmv2/types.rb +56 -0
- data/lib/aws-sdk-cloudhsmv2.rb +1 -1
- data/sig/client.rbs +4 -2
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +13 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9d8034ed6b321046819f76e0705e746f6f4a503beeae02df9c6677ebee1df78a
|
|
4
|
+
data.tar.gz: 1796f9c18d0e30c3b2cfac5f300d4a82aeddf93e332aecfa76d39f30a070b4db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ce52aa9c7d6a6b6c11c7cdea270f69cab95f33c91b835f915f46d90d40d635c8e1695318bccdf418cf2dfde4ea4b708b2f583bf2e45537793bd41ed84a18397d
|
|
7
|
+
data.tar.gz: 6ee065a8e3cf61053e7ef2a9bff0c5067eff02edd0e99e1394d48ba4a0ec38401f692fb1586bd4fa15f69324f3555539c41e3e2cc8acff9a6d0054130fb270a4
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.71.0 (2025-01-07)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds support to ModifyCluster for modifying a Cluster's Hsm Type.
|
|
8
|
+
|
|
9
|
+
1.70.0 (2024-12-13)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Add support for Dual-Stack hsm2m.medium clusters. The customers will now be able to create hsm2m.medium clusters having both IPv4 and IPv6 connection capabilities by specifying a new param called NetworkType=DUALSTACK during cluster creation.
|
|
13
|
+
|
|
4
14
|
1.69.0 (2024-10-18)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.71.0
|
|
@@ -533,6 +533,10 @@ module Aws::CloudHSMV2
|
|
|
533
533
|
#
|
|
534
534
|
# * You can specify only one subnet per Availability Zone.
|
|
535
535
|
#
|
|
536
|
+
# @option params [String] :network_type
|
|
537
|
+
# The NetworkType to create a cluster with. The allowed values are
|
|
538
|
+
# `IPV4` and `DUALSTACK`.
|
|
539
|
+
#
|
|
536
540
|
# @option params [Array<Types::Tag>] :tag_list
|
|
537
541
|
# Tags to apply to the CloudHSM cluster during creation.
|
|
538
542
|
#
|
|
@@ -554,6 +558,7 @@ module Aws::CloudHSMV2
|
|
|
554
558
|
# hsm_type: "HsmType", # required
|
|
555
559
|
# source_backup_id: "BackupArn",
|
|
556
560
|
# subnet_ids: ["SubnetId"], # required
|
|
561
|
+
# network_type: "IPV4", # accepts IPV4, DUALSTACK
|
|
557
562
|
# tag_list: [
|
|
558
563
|
# {
|
|
559
564
|
# key: "TagKey", # required
|
|
@@ -576,18 +581,22 @@ module Aws::CloudHSMV2
|
|
|
576
581
|
# resp.cluster.hsms[0].subnet_id #=> String
|
|
577
582
|
# resp.cluster.hsms[0].eni_id #=> String
|
|
578
583
|
# resp.cluster.hsms[0].eni_ip #=> String
|
|
584
|
+
# resp.cluster.hsms[0].eni_ip_v6 #=> String
|
|
579
585
|
# resp.cluster.hsms[0].hsm_id #=> String
|
|
586
|
+
# resp.cluster.hsms[0].hsm_type #=> String
|
|
580
587
|
# resp.cluster.hsms[0].state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
|
581
588
|
# resp.cluster.hsms[0].state_message #=> String
|
|
582
589
|
# resp.cluster.hsm_type #=> String
|
|
590
|
+
# resp.cluster.hsm_type_rollback_expiration #=> Time
|
|
583
591
|
# resp.cluster.pre_co_password #=> String
|
|
584
592
|
# resp.cluster.security_group #=> String
|
|
585
593
|
# resp.cluster.source_backup_id #=> String
|
|
586
|
-
# resp.cluster.state #=> String, one of "CREATE_IN_PROGRESS", "UNINITIALIZED", "INITIALIZE_IN_PROGRESS", "INITIALIZED", "ACTIVE", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DEGRADED"
|
|
594
|
+
# resp.cluster.state #=> String, one of "CREATE_IN_PROGRESS", "UNINITIALIZED", "INITIALIZE_IN_PROGRESS", "INITIALIZED", "ACTIVE", "UPDATE_IN_PROGRESS", "MODIFY_IN_PROGRESS", "ROLLBACK_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DEGRADED"
|
|
587
595
|
# resp.cluster.state_message #=> String
|
|
588
596
|
# resp.cluster.subnet_mapping #=> Hash
|
|
589
597
|
# resp.cluster.subnet_mapping["ExternalAz"] #=> String
|
|
590
598
|
# resp.cluster.vpc_id #=> String
|
|
599
|
+
# resp.cluster.network_type #=> String, one of "IPV4", "DUALSTACK"
|
|
591
600
|
# resp.cluster.certificates.cluster_csr #=> String
|
|
592
601
|
# resp.cluster.certificates.hsm_certificate #=> String
|
|
593
602
|
# resp.cluster.certificates.aws_hardware_certificate #=> String
|
|
@@ -646,7 +655,9 @@ module Aws::CloudHSMV2
|
|
|
646
655
|
# resp.hsm.subnet_id #=> String
|
|
647
656
|
# resp.hsm.eni_id #=> String
|
|
648
657
|
# resp.hsm.eni_ip #=> String
|
|
658
|
+
# resp.hsm.eni_ip_v6 #=> String
|
|
649
659
|
# resp.hsm.hsm_id #=> String
|
|
660
|
+
# resp.hsm.hsm_type #=> String
|
|
650
661
|
# resp.hsm.state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
|
651
662
|
# resp.hsm.state_message #=> String
|
|
652
663
|
#
|
|
@@ -743,18 +754,22 @@ module Aws::CloudHSMV2
|
|
|
743
754
|
# resp.cluster.hsms[0].subnet_id #=> String
|
|
744
755
|
# resp.cluster.hsms[0].eni_id #=> String
|
|
745
756
|
# resp.cluster.hsms[0].eni_ip #=> String
|
|
757
|
+
# resp.cluster.hsms[0].eni_ip_v6 #=> String
|
|
746
758
|
# resp.cluster.hsms[0].hsm_id #=> String
|
|
759
|
+
# resp.cluster.hsms[0].hsm_type #=> String
|
|
747
760
|
# resp.cluster.hsms[0].state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
|
748
761
|
# resp.cluster.hsms[0].state_message #=> String
|
|
749
762
|
# resp.cluster.hsm_type #=> String
|
|
763
|
+
# resp.cluster.hsm_type_rollback_expiration #=> Time
|
|
750
764
|
# resp.cluster.pre_co_password #=> String
|
|
751
765
|
# resp.cluster.security_group #=> String
|
|
752
766
|
# resp.cluster.source_backup_id #=> String
|
|
753
|
-
# resp.cluster.state #=> String, one of "CREATE_IN_PROGRESS", "UNINITIALIZED", "INITIALIZE_IN_PROGRESS", "INITIALIZED", "ACTIVE", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DEGRADED"
|
|
767
|
+
# resp.cluster.state #=> String, one of "CREATE_IN_PROGRESS", "UNINITIALIZED", "INITIALIZE_IN_PROGRESS", "INITIALIZED", "ACTIVE", "UPDATE_IN_PROGRESS", "MODIFY_IN_PROGRESS", "ROLLBACK_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DEGRADED"
|
|
754
768
|
# resp.cluster.state_message #=> String
|
|
755
769
|
# resp.cluster.subnet_mapping #=> Hash
|
|
756
770
|
# resp.cluster.subnet_mapping["ExternalAz"] #=> String
|
|
757
771
|
# resp.cluster.vpc_id #=> String
|
|
772
|
+
# resp.cluster.network_type #=> String, one of "IPV4", "DUALSTACK"
|
|
758
773
|
# resp.cluster.certificates.cluster_csr #=> String
|
|
759
774
|
# resp.cluster.certificates.hsm_certificate #=> String
|
|
760
775
|
# resp.cluster.certificates.aws_hardware_certificate #=> String
|
|
@@ -1041,18 +1056,22 @@ module Aws::CloudHSMV2
|
|
|
1041
1056
|
# resp.clusters[0].hsms[0].subnet_id #=> String
|
|
1042
1057
|
# resp.clusters[0].hsms[0].eni_id #=> String
|
|
1043
1058
|
# resp.clusters[0].hsms[0].eni_ip #=> String
|
|
1059
|
+
# resp.clusters[0].hsms[0].eni_ip_v6 #=> String
|
|
1044
1060
|
# resp.clusters[0].hsms[0].hsm_id #=> String
|
|
1061
|
+
# resp.clusters[0].hsms[0].hsm_type #=> String
|
|
1045
1062
|
# resp.clusters[0].hsms[0].state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
|
1046
1063
|
# resp.clusters[0].hsms[0].state_message #=> String
|
|
1047
1064
|
# resp.clusters[0].hsm_type #=> String
|
|
1065
|
+
# resp.clusters[0].hsm_type_rollback_expiration #=> Time
|
|
1048
1066
|
# resp.clusters[0].pre_co_password #=> String
|
|
1049
1067
|
# resp.clusters[0].security_group #=> String
|
|
1050
1068
|
# resp.clusters[0].source_backup_id #=> String
|
|
1051
|
-
# resp.clusters[0].state #=> String, one of "CREATE_IN_PROGRESS", "UNINITIALIZED", "INITIALIZE_IN_PROGRESS", "INITIALIZED", "ACTIVE", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DEGRADED"
|
|
1069
|
+
# resp.clusters[0].state #=> String, one of "CREATE_IN_PROGRESS", "UNINITIALIZED", "INITIALIZE_IN_PROGRESS", "INITIALIZED", "ACTIVE", "UPDATE_IN_PROGRESS", "MODIFY_IN_PROGRESS", "ROLLBACK_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DEGRADED"
|
|
1052
1070
|
# resp.clusters[0].state_message #=> String
|
|
1053
1071
|
# resp.clusters[0].subnet_mapping #=> Hash
|
|
1054
1072
|
# resp.clusters[0].subnet_mapping["ExternalAz"] #=> String
|
|
1055
1073
|
# resp.clusters[0].vpc_id #=> String
|
|
1074
|
+
# resp.clusters[0].network_type #=> String, one of "IPV4", "DUALSTACK"
|
|
1056
1075
|
# resp.clusters[0].certificates.cluster_csr #=> String
|
|
1057
1076
|
# resp.clusters[0].certificates.hsm_certificate #=> String
|
|
1058
1077
|
# resp.clusters[0].certificates.aws_hardware_certificate #=> String
|
|
@@ -1145,7 +1164,7 @@ module Aws::CloudHSMV2
|
|
|
1145
1164
|
#
|
|
1146
1165
|
# @example Response structure
|
|
1147
1166
|
#
|
|
1148
|
-
# resp.state #=> String, one of "CREATE_IN_PROGRESS", "UNINITIALIZED", "INITIALIZE_IN_PROGRESS", "INITIALIZED", "ACTIVE", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DEGRADED"
|
|
1167
|
+
# resp.state #=> String, one of "CREATE_IN_PROGRESS", "UNINITIALIZED", "INITIALIZE_IN_PROGRESS", "INITIALIZED", "ACTIVE", "UPDATE_IN_PROGRESS", "MODIFY_IN_PROGRESS", "ROLLBACK_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DEGRADED"
|
|
1149
1168
|
# resp.state_message #=> String
|
|
1150
1169
|
#
|
|
1151
1170
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/InitializeCluster AWS API Documentation
|
|
@@ -1272,7 +1291,10 @@ module Aws::CloudHSMV2
|
|
|
1272
1291
|
# **Cross-account use:** No. You cannot perform this operation on an
|
|
1273
1292
|
# CloudHSM cluster in a different Amazon Web Services account.
|
|
1274
1293
|
#
|
|
1275
|
-
# @option params [
|
|
1294
|
+
# @option params [String] :hsm_type
|
|
1295
|
+
# The desired HSM type of the cluster.
|
|
1296
|
+
#
|
|
1297
|
+
# @option params [Types::BackupRetentionPolicy] :backup_retention_policy
|
|
1276
1298
|
# A policy that defines how the service retains backups.
|
|
1277
1299
|
#
|
|
1278
1300
|
# @option params [required, String] :cluster_id
|
|
@@ -1286,7 +1308,8 @@ module Aws::CloudHSMV2
|
|
|
1286
1308
|
# @example Request syntax with placeholder values
|
|
1287
1309
|
#
|
|
1288
1310
|
# resp = client.modify_cluster({
|
|
1289
|
-
#
|
|
1311
|
+
# hsm_type: "HsmType",
|
|
1312
|
+
# backup_retention_policy: {
|
|
1290
1313
|
# type: "DAYS", # accepts DAYS
|
|
1291
1314
|
# value: "BackupRetentionValue",
|
|
1292
1315
|
# },
|
|
@@ -1306,18 +1329,22 @@ module Aws::CloudHSMV2
|
|
|
1306
1329
|
# resp.cluster.hsms[0].subnet_id #=> String
|
|
1307
1330
|
# resp.cluster.hsms[0].eni_id #=> String
|
|
1308
1331
|
# resp.cluster.hsms[0].eni_ip #=> String
|
|
1332
|
+
# resp.cluster.hsms[0].eni_ip_v6 #=> String
|
|
1309
1333
|
# resp.cluster.hsms[0].hsm_id #=> String
|
|
1334
|
+
# resp.cluster.hsms[0].hsm_type #=> String
|
|
1310
1335
|
# resp.cluster.hsms[0].state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
|
1311
1336
|
# resp.cluster.hsms[0].state_message #=> String
|
|
1312
1337
|
# resp.cluster.hsm_type #=> String
|
|
1338
|
+
# resp.cluster.hsm_type_rollback_expiration #=> Time
|
|
1313
1339
|
# resp.cluster.pre_co_password #=> String
|
|
1314
1340
|
# resp.cluster.security_group #=> String
|
|
1315
1341
|
# resp.cluster.source_backup_id #=> String
|
|
1316
|
-
# resp.cluster.state #=> String, one of "CREATE_IN_PROGRESS", "UNINITIALIZED", "INITIALIZE_IN_PROGRESS", "INITIALIZED", "ACTIVE", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DEGRADED"
|
|
1342
|
+
# resp.cluster.state #=> String, one of "CREATE_IN_PROGRESS", "UNINITIALIZED", "INITIALIZE_IN_PROGRESS", "INITIALIZED", "ACTIVE", "UPDATE_IN_PROGRESS", "MODIFY_IN_PROGRESS", "ROLLBACK_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DEGRADED"
|
|
1317
1343
|
# resp.cluster.state_message #=> String
|
|
1318
1344
|
# resp.cluster.subnet_mapping #=> Hash
|
|
1319
1345
|
# resp.cluster.subnet_mapping["ExternalAz"] #=> String
|
|
1320
1346
|
# resp.cluster.vpc_id #=> String
|
|
1347
|
+
# resp.cluster.network_type #=> String, one of "IPV4", "DUALSTACK"
|
|
1321
1348
|
# resp.cluster.certificates.cluster_csr #=> String
|
|
1322
1349
|
# resp.cluster.certificates.hsm_certificate #=> String
|
|
1323
1350
|
# resp.cluster.certificates.aws_hardware_certificate #=> String
|
|
@@ -1542,7 +1569,7 @@ module Aws::CloudHSMV2
|
|
|
1542
1569
|
tracer: tracer
|
|
1543
1570
|
)
|
|
1544
1571
|
context[:gem_name] = 'aws-sdk-cloudhsmv2'
|
|
1545
|
-
context[:gem_version] = '1.
|
|
1572
|
+
context[:gem_version] = '1.71.0'
|
|
1546
1573
|
Seahorse::Client::Request.new(handlers, context)
|
|
1547
1574
|
end
|
|
1548
1575
|
|
|
@@ -31,6 +31,7 @@ module Aws::CloudHSMV2
|
|
|
31
31
|
CloudHsmArn = Shapes::StringShape.new(name: 'CloudHsmArn')
|
|
32
32
|
CloudHsmInternalFailureException = Shapes::StructureShape.new(name: 'CloudHsmInternalFailureException')
|
|
33
33
|
CloudHsmInvalidRequestException = Shapes::StructureShape.new(name: 'CloudHsmInvalidRequestException')
|
|
34
|
+
CloudHsmResourceLimitExceededException = Shapes::StructureShape.new(name: 'CloudHsmResourceLimitExceededException')
|
|
34
35
|
CloudHsmResourceNotFoundException = Shapes::StructureShape.new(name: 'CloudHsmResourceNotFoundException')
|
|
35
36
|
CloudHsmServiceException = Shapes::StructureShape.new(name: 'CloudHsmServiceException')
|
|
36
37
|
CloudHsmTagException = Shapes::StructureShape.new(name: 'CloudHsmTagException')
|
|
@@ -74,6 +75,7 @@ module Aws::CloudHSMV2
|
|
|
74
75
|
InitializeClusterRequest = Shapes::StructureShape.new(name: 'InitializeClusterRequest')
|
|
75
76
|
InitializeClusterResponse = Shapes::StructureShape.new(name: 'InitializeClusterResponse')
|
|
76
77
|
IpAddress = Shapes::StringShape.new(name: 'IpAddress')
|
|
78
|
+
IpV6Address = Shapes::StringShape.new(name: 'IpV6Address')
|
|
77
79
|
ListTagsRequest = Shapes::StructureShape.new(name: 'ListTagsRequest')
|
|
78
80
|
ListTagsResponse = Shapes::StructureShape.new(name: 'ListTagsResponse')
|
|
79
81
|
MaxSize = Shapes::IntegerShape.new(name: 'MaxSize')
|
|
@@ -81,6 +83,7 @@ module Aws::CloudHSMV2
|
|
|
81
83
|
ModifyBackupAttributesResponse = Shapes::StructureShape.new(name: 'ModifyBackupAttributesResponse')
|
|
82
84
|
ModifyClusterRequest = Shapes::StructureShape.new(name: 'ModifyClusterRequest')
|
|
83
85
|
ModifyClusterResponse = Shapes::StructureShape.new(name: 'ModifyClusterResponse')
|
|
86
|
+
NetworkType = Shapes::StringShape.new(name: 'NetworkType')
|
|
84
87
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
|
85
88
|
PreCoPassword = Shapes::StringShape.new(name: 'PreCoPassword')
|
|
86
89
|
PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
|
|
@@ -147,6 +150,9 @@ module Aws::CloudHSMV2
|
|
|
147
150
|
CloudHsmInvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
|
148
151
|
CloudHsmInvalidRequestException.struct_class = Types::CloudHsmInvalidRequestException
|
|
149
152
|
|
|
153
|
+
CloudHsmResourceLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
|
154
|
+
CloudHsmResourceLimitExceededException.struct_class = Types::CloudHsmResourceLimitExceededException
|
|
155
|
+
|
|
150
156
|
CloudHsmResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "Message"))
|
|
151
157
|
CloudHsmResourceNotFoundException.struct_class = Types::CloudHsmResourceNotFoundException
|
|
152
158
|
|
|
@@ -162,6 +168,7 @@ module Aws::CloudHSMV2
|
|
|
162
168
|
Cluster.add_member(:create_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateTimestamp"))
|
|
163
169
|
Cluster.add_member(:hsms, Shapes::ShapeRef.new(shape: Hsms, location_name: "Hsms"))
|
|
164
170
|
Cluster.add_member(:hsm_type, Shapes::ShapeRef.new(shape: HsmType, location_name: "HsmType"))
|
|
171
|
+
Cluster.add_member(:hsm_type_rollback_expiration, Shapes::ShapeRef.new(shape: Timestamp, location_name: "HsmTypeRollbackExpiration"))
|
|
165
172
|
Cluster.add_member(:pre_co_password, Shapes::ShapeRef.new(shape: PreCoPassword, location_name: "PreCoPassword"))
|
|
166
173
|
Cluster.add_member(:security_group, Shapes::ShapeRef.new(shape: SecurityGroup, location_name: "SecurityGroup"))
|
|
167
174
|
Cluster.add_member(:source_backup_id, Shapes::ShapeRef.new(shape: BackupId, location_name: "SourceBackupId"))
|
|
@@ -169,6 +176,7 @@ module Aws::CloudHSMV2
|
|
|
169
176
|
Cluster.add_member(:state_message, Shapes::ShapeRef.new(shape: StateMessage, location_name: "StateMessage"))
|
|
170
177
|
Cluster.add_member(:subnet_mapping, Shapes::ShapeRef.new(shape: ExternalSubnetMapping, location_name: "SubnetMapping"))
|
|
171
178
|
Cluster.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
|
|
179
|
+
Cluster.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "NetworkType"))
|
|
172
180
|
Cluster.add_member(:certificates, Shapes::ShapeRef.new(shape: Certificates, location_name: "Certificates"))
|
|
173
181
|
Cluster.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
|
|
174
182
|
Cluster.add_member(:mode, Shapes::ShapeRef.new(shape: ClusterMode, location_name: "Mode"))
|
|
@@ -188,6 +196,7 @@ module Aws::CloudHSMV2
|
|
|
188
196
|
CreateClusterRequest.add_member(:hsm_type, Shapes::ShapeRef.new(shape: HsmType, required: true, location_name: "HsmType"))
|
|
189
197
|
CreateClusterRequest.add_member(:source_backup_id, Shapes::ShapeRef.new(shape: BackupArn, location_name: "SourceBackupId"))
|
|
190
198
|
CreateClusterRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "SubnetIds"))
|
|
199
|
+
CreateClusterRequest.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "NetworkType"))
|
|
191
200
|
CreateClusterRequest.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
|
|
192
201
|
CreateClusterRequest.add_member(:mode, Shapes::ShapeRef.new(shape: ClusterMode, location_name: "Mode"))
|
|
193
202
|
CreateClusterRequest.struct_class = Types::CreateClusterRequest
|
|
@@ -274,7 +283,9 @@ module Aws::CloudHSMV2
|
|
|
274
283
|
Hsm.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
|
|
275
284
|
Hsm.add_member(:eni_id, Shapes::ShapeRef.new(shape: EniId, location_name: "EniId"))
|
|
276
285
|
Hsm.add_member(:eni_ip, Shapes::ShapeRef.new(shape: IpAddress, location_name: "EniIp"))
|
|
286
|
+
Hsm.add_member(:eni_ip_v6, Shapes::ShapeRef.new(shape: IpV6Address, location_name: "EniIpV6"))
|
|
277
287
|
Hsm.add_member(:hsm_id, Shapes::ShapeRef.new(shape: HsmId, required: true, location_name: "HsmId"))
|
|
288
|
+
Hsm.add_member(:hsm_type, Shapes::ShapeRef.new(shape: HsmType, location_name: "HsmType"))
|
|
278
289
|
Hsm.add_member(:state, Shapes::ShapeRef.new(shape: HsmState, location_name: "State"))
|
|
279
290
|
Hsm.add_member(:state_message, Shapes::ShapeRef.new(shape: String, location_name: "StateMessage"))
|
|
280
291
|
Hsm.struct_class = Types::Hsm
|
|
@@ -306,7 +317,8 @@ module Aws::CloudHSMV2
|
|
|
306
317
|
ModifyBackupAttributesResponse.add_member(:backup, Shapes::ShapeRef.new(shape: Backup, location_name: "Backup"))
|
|
307
318
|
ModifyBackupAttributesResponse.struct_class = Types::ModifyBackupAttributesResponse
|
|
308
319
|
|
|
309
|
-
ModifyClusterRequest.add_member(:
|
|
320
|
+
ModifyClusterRequest.add_member(:hsm_type, Shapes::ShapeRef.new(shape: HsmType, location_name: "HsmType"))
|
|
321
|
+
ModifyClusterRequest.add_member(:backup_retention_policy, Shapes::ShapeRef.new(shape: BackupRetentionPolicy, location_name: "BackupRetentionPolicy"))
|
|
310
322
|
ModifyClusterRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "ClusterId"))
|
|
311
323
|
ModifyClusterRequest.struct_class = Types::ModifyClusterRequest
|
|
312
324
|
|
|
@@ -613,6 +625,7 @@ module Aws::CloudHSMV2
|
|
|
613
625
|
o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
|
|
614
626
|
o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
|
|
615
627
|
o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
|
|
628
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceLimitExceededException)
|
|
616
629
|
o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceNotFoundException)
|
|
617
630
|
o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
|
|
618
631
|
o.errors << Shapes::ShapeRef.new(shape: CloudHsmTagException)
|
|
@@ -30,6 +30,7 @@ module Aws::CloudHSMV2
|
|
|
30
30
|
# * {CloudHsmAccessDeniedException}
|
|
31
31
|
# * {CloudHsmInternalFailureException}
|
|
32
32
|
# * {CloudHsmInvalidRequestException}
|
|
33
|
+
# * {CloudHsmResourceLimitExceededException}
|
|
33
34
|
# * {CloudHsmResourceNotFoundException}
|
|
34
35
|
# * {CloudHsmServiceException}
|
|
35
36
|
# * {CloudHsmTagException}
|
|
@@ -85,6 +86,21 @@ module Aws::CloudHSMV2
|
|
|
85
86
|
end
|
|
86
87
|
end
|
|
87
88
|
|
|
89
|
+
class CloudHsmResourceLimitExceededException < ServiceError
|
|
90
|
+
|
|
91
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
92
|
+
# @param [String] message
|
|
93
|
+
# @param [Aws::CloudHSMV2::Types::CloudHsmResourceLimitExceededException] data
|
|
94
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
95
|
+
super(context, message, data)
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# @return [String]
|
|
99
|
+
def message
|
|
100
|
+
@message || @data[:message]
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
88
104
|
class CloudHsmResourceNotFoundException < ServiceError
|
|
89
105
|
|
|
90
106
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -200,6 +200,19 @@ module Aws::CloudHSMV2
|
|
|
200
200
|
include Aws::Structure
|
|
201
201
|
end
|
|
202
202
|
|
|
203
|
+
# The request was rejected because it exceeds an CloudHSM limit.
|
|
204
|
+
#
|
|
205
|
+
# @!attribute [rw] message
|
|
206
|
+
# @return [String]
|
|
207
|
+
#
|
|
208
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/CloudHsmResourceLimitExceededException AWS API Documentation
|
|
209
|
+
#
|
|
210
|
+
class CloudHsmResourceLimitExceededException < Struct.new(
|
|
211
|
+
:message)
|
|
212
|
+
SENSITIVE = []
|
|
213
|
+
include Aws::Structure
|
|
214
|
+
end
|
|
215
|
+
|
|
203
216
|
# The request was rejected because it refers to a resource that cannot
|
|
204
217
|
# be found.
|
|
205
218
|
#
|
|
@@ -267,6 +280,11 @@ module Aws::CloudHSMV2
|
|
|
267
280
|
# The type of HSM that the cluster contains.
|
|
268
281
|
# @return [String]
|
|
269
282
|
#
|
|
283
|
+
# @!attribute [rw] hsm_type_rollback_expiration
|
|
284
|
+
# The timestamp until when the cluster can be rolled back to its
|
|
285
|
+
# original HSM type.
|
|
286
|
+
# @return [Time]
|
|
287
|
+
#
|
|
270
288
|
# @!attribute [rw] pre_co_password
|
|
271
289
|
# The default password for the cluster's Pre-Crypto Officer (PRECO)
|
|
272
290
|
# user.
|
|
@@ -299,6 +317,20 @@ module Aws::CloudHSMV2
|
|
|
299
317
|
# the cluster.
|
|
300
318
|
# @return [String]
|
|
301
319
|
#
|
|
320
|
+
# @!attribute [rw] network_type
|
|
321
|
+
# The cluster's NetworkType can be IPv4 (the default) or DUALSTACK.
|
|
322
|
+
# The IPv4 NetworkType restricts communication between your
|
|
323
|
+
# application and the hardware security modules (HSMs) to the IPv4
|
|
324
|
+
# protocol only. The DUALSTACK NetworkType enables communication over
|
|
325
|
+
# both IPv4 and IPv6 protocols. To use DUALSTACK, configure your
|
|
326
|
+
# virtual private cloud (VPC) and subnets to support both IPv4 and
|
|
327
|
+
# IPv6. This configuration involves adding IPv6 Classless Inter-Domain
|
|
328
|
+
# Routing (CIDR) blocks to the existing IPv4 CIDR blocks in your
|
|
329
|
+
# subnets. The NetworkType you choose affects the network addressing
|
|
330
|
+
# options for your cluster. DUALSTACK provides more flexibility by
|
|
331
|
+
# supporting both IPv4 and IPv6 communication.
|
|
332
|
+
# @return [String]
|
|
333
|
+
#
|
|
302
334
|
# @!attribute [rw] certificates
|
|
303
335
|
# Contains one or more certificates or a certificate signing request
|
|
304
336
|
# (CSR).
|
|
@@ -321,6 +353,7 @@ module Aws::CloudHSMV2
|
|
|
321
353
|
:create_timestamp,
|
|
322
354
|
:hsms,
|
|
323
355
|
:hsm_type,
|
|
356
|
+
:hsm_type_rollback_expiration,
|
|
324
357
|
:pre_co_password,
|
|
325
358
|
:security_group,
|
|
326
359
|
:source_backup_id,
|
|
@@ -328,6 +361,7 @@ module Aws::CloudHSMV2
|
|
|
328
361
|
:state_message,
|
|
329
362
|
:subnet_mapping,
|
|
330
363
|
:vpc_id,
|
|
364
|
+
:network_type,
|
|
331
365
|
:certificates,
|
|
332
366
|
:tag_list,
|
|
333
367
|
:mode)
|
|
@@ -407,6 +441,11 @@ module Aws::CloudHSMV2
|
|
|
407
441
|
# * You can specify only one subnet per Availability Zone.
|
|
408
442
|
# @return [Array<String>]
|
|
409
443
|
#
|
|
444
|
+
# @!attribute [rw] network_type
|
|
445
|
+
# The NetworkType to create a cluster with. The allowed values are
|
|
446
|
+
# `IPV4` and `DUALSTACK`.
|
|
447
|
+
# @return [String]
|
|
448
|
+
#
|
|
410
449
|
# @!attribute [rw] tag_list
|
|
411
450
|
# Tags to apply to the CloudHSM cluster during creation.
|
|
412
451
|
# @return [Array<Types::Tag>]
|
|
@@ -423,6 +462,7 @@ module Aws::CloudHSMV2
|
|
|
423
462
|
:hsm_type,
|
|
424
463
|
:source_backup_id,
|
|
425
464
|
:subnet_ids,
|
|
465
|
+
:network_type,
|
|
426
466
|
:tag_list,
|
|
427
467
|
:mode)
|
|
428
468
|
SENSITIVE = []
|
|
@@ -828,10 +868,19 @@ module Aws::CloudHSMV2
|
|
|
828
868
|
# The IP address of the HSM's elastic network interface (ENI).
|
|
829
869
|
# @return [String]
|
|
830
870
|
#
|
|
871
|
+
# @!attribute [rw] eni_ip_v6
|
|
872
|
+
# The IPv6 address (if any) of the HSM's elastic network interface
|
|
873
|
+
# (ENI).
|
|
874
|
+
# @return [String]
|
|
875
|
+
#
|
|
831
876
|
# @!attribute [rw] hsm_id
|
|
832
877
|
# The HSM's identifier (ID).
|
|
833
878
|
# @return [String]
|
|
834
879
|
#
|
|
880
|
+
# @!attribute [rw] hsm_type
|
|
881
|
+
# The type of HSM.
|
|
882
|
+
# @return [String]
|
|
883
|
+
#
|
|
835
884
|
# @!attribute [rw] state
|
|
836
885
|
# The HSM's state.
|
|
837
886
|
# @return [String]
|
|
@@ -848,7 +897,9 @@ module Aws::CloudHSMV2
|
|
|
848
897
|
:subnet_id,
|
|
849
898
|
:eni_id,
|
|
850
899
|
:eni_ip,
|
|
900
|
+
:eni_ip_v6,
|
|
851
901
|
:hsm_id,
|
|
902
|
+
:hsm_type,
|
|
852
903
|
:state,
|
|
853
904
|
:state_message)
|
|
854
905
|
SENSITIVE = []
|
|
@@ -986,6 +1037,10 @@ module Aws::CloudHSMV2
|
|
|
986
1037
|
include Aws::Structure
|
|
987
1038
|
end
|
|
988
1039
|
|
|
1040
|
+
# @!attribute [rw] hsm_type
|
|
1041
|
+
# The desired HSM type of the cluster.
|
|
1042
|
+
# @return [String]
|
|
1043
|
+
#
|
|
989
1044
|
# @!attribute [rw] backup_retention_policy
|
|
990
1045
|
# A policy that defines how the service retains backups.
|
|
991
1046
|
# @return [Types::BackupRetentionPolicy]
|
|
@@ -998,6 +1053,7 @@ module Aws::CloudHSMV2
|
|
|
998
1053
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/ModifyClusterRequest AWS API Documentation
|
|
999
1054
|
#
|
|
1000
1055
|
class ModifyClusterRequest < Struct.new(
|
|
1056
|
+
:hsm_type,
|
|
1001
1057
|
:backup_retention_policy,
|
|
1002
1058
|
:cluster_id)
|
|
1003
1059
|
SENSITIVE = []
|
data/lib/aws-sdk-cloudhsmv2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -106,6 +106,7 @@ module Aws
|
|
|
106
106
|
hsm_type: ::String,
|
|
107
107
|
?source_backup_id: ::String,
|
|
108
108
|
subnet_ids: Array[::String],
|
|
109
|
+
?network_type: ("IPV4" | "DUALSTACK"),
|
|
109
110
|
?tag_list: Array[
|
|
110
111
|
{
|
|
111
112
|
key: ::String,
|
|
@@ -212,7 +213,7 @@ module Aws
|
|
|
212
213
|
|
|
213
214
|
interface _InitializeClusterResponseSuccess
|
|
214
215
|
include ::Seahorse::Client::_ResponseSuccess[Types::InitializeClusterResponse]
|
|
215
|
-
def state: () -> ("CREATE_IN_PROGRESS" | "UNINITIALIZED" | "INITIALIZE_IN_PROGRESS" | "INITIALIZED" | "ACTIVE" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "DELETED" | "DEGRADED")
|
|
216
|
+
def state: () -> ("CREATE_IN_PROGRESS" | "UNINITIALIZED" | "INITIALIZE_IN_PROGRESS" | "INITIALIZED" | "ACTIVE" | "UPDATE_IN_PROGRESS" | "MODIFY_IN_PROGRESS" | "ROLLBACK_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "DELETED" | "DEGRADED")
|
|
216
217
|
def state_message: () -> ::String
|
|
217
218
|
end
|
|
218
219
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#initialize_cluster-instance_method
|
|
@@ -253,7 +254,8 @@ module Aws
|
|
|
253
254
|
end
|
|
254
255
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#modify_cluster-instance_method
|
|
255
256
|
def modify_cluster: (
|
|
256
|
-
|
|
257
|
+
?hsm_type: ::String,
|
|
258
|
+
?backup_retention_policy: {
|
|
257
259
|
type: ("DAYS")?,
|
|
258
260
|
value: ::String?
|
|
259
261
|
},
|
data/sig/errors.rbs
CHANGED
|
@@ -20,6 +20,9 @@ module Aws
|
|
|
20
20
|
class CloudHsmInvalidRequestException < ::Aws::Errors::ServiceError
|
|
21
21
|
def message: () -> ::String
|
|
22
22
|
end
|
|
23
|
+
class CloudHsmResourceLimitExceededException < ::Aws::Errors::ServiceError
|
|
24
|
+
def message: () -> ::String
|
|
25
|
+
end
|
|
23
26
|
class CloudHsmResourceNotFoundException < ::Aws::Errors::ServiceError
|
|
24
27
|
def message: () -> ::String
|
|
25
28
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -56,6 +56,11 @@ module Aws::CloudHSMV2
|
|
|
56
56
|
SENSITIVE: []
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
+
class CloudHsmResourceLimitExceededException
|
|
60
|
+
attr_accessor message: ::String
|
|
61
|
+
SENSITIVE: []
|
|
62
|
+
end
|
|
63
|
+
|
|
59
64
|
class CloudHsmResourceNotFoundException
|
|
60
65
|
attr_accessor message: ::String
|
|
61
66
|
SENSITIVE: []
|
|
@@ -78,13 +83,15 @@ module Aws::CloudHSMV2
|
|
|
78
83
|
attr_accessor create_timestamp: ::Time
|
|
79
84
|
attr_accessor hsms: ::Array[Types::Hsm]
|
|
80
85
|
attr_accessor hsm_type: ::String
|
|
86
|
+
attr_accessor hsm_type_rollback_expiration: ::Time
|
|
81
87
|
attr_accessor pre_co_password: ::String
|
|
82
88
|
attr_accessor security_group: ::String
|
|
83
89
|
attr_accessor source_backup_id: ::String
|
|
84
|
-
attr_accessor state: ("CREATE_IN_PROGRESS" | "UNINITIALIZED" | "INITIALIZE_IN_PROGRESS" | "INITIALIZED" | "ACTIVE" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "DELETED" | "DEGRADED")
|
|
90
|
+
attr_accessor state: ("CREATE_IN_PROGRESS" | "UNINITIALIZED" | "INITIALIZE_IN_PROGRESS" | "INITIALIZED" | "ACTIVE" | "UPDATE_IN_PROGRESS" | "MODIFY_IN_PROGRESS" | "ROLLBACK_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "DELETED" | "DEGRADED")
|
|
85
91
|
attr_accessor state_message: ::String
|
|
86
92
|
attr_accessor subnet_mapping: ::Hash[::String, ::String]
|
|
87
93
|
attr_accessor vpc_id: ::String
|
|
94
|
+
attr_accessor network_type: ("IPV4" | "DUALSTACK")
|
|
88
95
|
attr_accessor certificates: Types::Certificates
|
|
89
96
|
attr_accessor tag_list: ::Array[Types::Tag]
|
|
90
97
|
attr_accessor mode: ("FIPS" | "NON_FIPS")
|
|
@@ -108,6 +115,7 @@ module Aws::CloudHSMV2
|
|
|
108
115
|
attr_accessor hsm_type: ::String
|
|
109
116
|
attr_accessor source_backup_id: ::String
|
|
110
117
|
attr_accessor subnet_ids: ::Array[::String]
|
|
118
|
+
attr_accessor network_type: ("IPV4" | "DUALSTACK")
|
|
111
119
|
attr_accessor tag_list: ::Array[Types::Tag]
|
|
112
120
|
attr_accessor mode: ("FIPS" | "NON_FIPS")
|
|
113
121
|
SENSITIVE: []
|
|
@@ -226,7 +234,9 @@ module Aws::CloudHSMV2
|
|
|
226
234
|
attr_accessor subnet_id: ::String
|
|
227
235
|
attr_accessor eni_id: ::String
|
|
228
236
|
attr_accessor eni_ip: ::String
|
|
237
|
+
attr_accessor eni_ip_v6: ::String
|
|
229
238
|
attr_accessor hsm_id: ::String
|
|
239
|
+
attr_accessor hsm_type: ::String
|
|
230
240
|
attr_accessor state: ("CREATE_IN_PROGRESS" | "ACTIVE" | "DEGRADED" | "DELETE_IN_PROGRESS" | "DELETED")
|
|
231
241
|
attr_accessor state_message: ::String
|
|
232
242
|
SENSITIVE: []
|
|
@@ -240,7 +250,7 @@ module Aws::CloudHSMV2
|
|
|
240
250
|
end
|
|
241
251
|
|
|
242
252
|
class InitializeClusterResponse
|
|
243
|
-
attr_accessor state: ("CREATE_IN_PROGRESS" | "UNINITIALIZED" | "INITIALIZE_IN_PROGRESS" | "INITIALIZED" | "ACTIVE" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "DELETED" | "DEGRADED")
|
|
253
|
+
attr_accessor state: ("CREATE_IN_PROGRESS" | "UNINITIALIZED" | "INITIALIZE_IN_PROGRESS" | "INITIALIZED" | "ACTIVE" | "UPDATE_IN_PROGRESS" | "MODIFY_IN_PROGRESS" | "ROLLBACK_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "DELETED" | "DEGRADED")
|
|
244
254
|
attr_accessor state_message: ::String
|
|
245
255
|
SENSITIVE: []
|
|
246
256
|
end
|
|
@@ -270,6 +280,7 @@ module Aws::CloudHSMV2
|
|
|
270
280
|
end
|
|
271
281
|
|
|
272
282
|
class ModifyClusterRequest
|
|
283
|
+
attr_accessor hsm_type: ::String
|
|
273
284
|
attr_accessor backup_retention_policy: Types::BackupRetentionPolicy
|
|
274
285
|
attr_accessor cluster_id: ::String
|
|
275
286
|
SENSITIVE: []
|
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.
|
|
4
|
+
version: 1.71.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2025-01-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|