aws-sdk-cloudhsmv2 1.69.0 → 1.70.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudhsmv2/client.rb +20 -6
- data/lib/aws-sdk-cloudhsmv2/client_api.rb +10 -0
- data/lib/aws-sdk-cloudhsmv2/errors.rb +16 -0
- data/lib/aws-sdk-cloudhsmv2/types.rb +42 -0
- data/lib/aws-sdk-cloudhsmv2.rb +1 -1
- data/sig/client.rbs +2 -1
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +10 -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: 2370ff73f1a777d1005c1f5a9982072df3080b3137dd7efbbe465dbeb8ab764d
|
4
|
+
data.tar.gz: b6f84f12f421a6d3d8952dbb0d6cc4e03165c30e93020253d175ec64f01598b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c94ecbe5f3b53e50a961757ce0ffb0a9940b85aca55f66c7b2c4a241ad3c9c9f17199bd90ad9937615de653a0a46c06523190a9462952568beb7cb203ad53573
|
7
|
+
data.tar.gz: 80b0c412d71430fcebcd8f46f05ce8ae82f584f0e72fafd8ec989a5be044b414d8aaa00a139df0ee572a31a91837173c4f6e6e3ac91a7cc6516cb63042389443
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.70.0 (2024-12-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
4
9
|
1.69.0 (2024-10-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.70.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,6 +581,7 @@ 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
|
580
586
|
# resp.cluster.hsms[0].state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
581
587
|
# resp.cluster.hsms[0].state_message #=> String
|
@@ -583,11 +589,12 @@ module Aws::CloudHSMV2
|
|
583
589
|
# resp.cluster.pre_co_password #=> String
|
584
590
|
# resp.cluster.security_group #=> String
|
585
591
|
# 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"
|
592
|
+
# 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
593
|
# resp.cluster.state_message #=> String
|
588
594
|
# resp.cluster.subnet_mapping #=> Hash
|
589
595
|
# resp.cluster.subnet_mapping["ExternalAz"] #=> String
|
590
596
|
# resp.cluster.vpc_id #=> String
|
597
|
+
# resp.cluster.network_type #=> String, one of "IPV4", "DUALSTACK"
|
591
598
|
# resp.cluster.certificates.cluster_csr #=> String
|
592
599
|
# resp.cluster.certificates.hsm_certificate #=> String
|
593
600
|
# resp.cluster.certificates.aws_hardware_certificate #=> String
|
@@ -646,6 +653,7 @@ module Aws::CloudHSMV2
|
|
646
653
|
# resp.hsm.subnet_id #=> String
|
647
654
|
# resp.hsm.eni_id #=> String
|
648
655
|
# resp.hsm.eni_ip #=> String
|
656
|
+
# resp.hsm.eni_ip_v6 #=> String
|
649
657
|
# resp.hsm.hsm_id #=> String
|
650
658
|
# resp.hsm.state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
651
659
|
# resp.hsm.state_message #=> String
|
@@ -743,6 +751,7 @@ module Aws::CloudHSMV2
|
|
743
751
|
# resp.cluster.hsms[0].subnet_id #=> String
|
744
752
|
# resp.cluster.hsms[0].eni_id #=> String
|
745
753
|
# resp.cluster.hsms[0].eni_ip #=> String
|
754
|
+
# resp.cluster.hsms[0].eni_ip_v6 #=> String
|
746
755
|
# resp.cluster.hsms[0].hsm_id #=> String
|
747
756
|
# resp.cluster.hsms[0].state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
748
757
|
# resp.cluster.hsms[0].state_message #=> String
|
@@ -750,11 +759,12 @@ module Aws::CloudHSMV2
|
|
750
759
|
# resp.cluster.pre_co_password #=> String
|
751
760
|
# resp.cluster.security_group #=> String
|
752
761
|
# 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"
|
762
|
+
# 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
763
|
# resp.cluster.state_message #=> String
|
755
764
|
# resp.cluster.subnet_mapping #=> Hash
|
756
765
|
# resp.cluster.subnet_mapping["ExternalAz"] #=> String
|
757
766
|
# resp.cluster.vpc_id #=> String
|
767
|
+
# resp.cluster.network_type #=> String, one of "IPV4", "DUALSTACK"
|
758
768
|
# resp.cluster.certificates.cluster_csr #=> String
|
759
769
|
# resp.cluster.certificates.hsm_certificate #=> String
|
760
770
|
# resp.cluster.certificates.aws_hardware_certificate #=> String
|
@@ -1041,6 +1051,7 @@ module Aws::CloudHSMV2
|
|
1041
1051
|
# resp.clusters[0].hsms[0].subnet_id #=> String
|
1042
1052
|
# resp.clusters[0].hsms[0].eni_id #=> String
|
1043
1053
|
# resp.clusters[0].hsms[0].eni_ip #=> String
|
1054
|
+
# resp.clusters[0].hsms[0].eni_ip_v6 #=> String
|
1044
1055
|
# resp.clusters[0].hsms[0].hsm_id #=> String
|
1045
1056
|
# resp.clusters[0].hsms[0].state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
1046
1057
|
# resp.clusters[0].hsms[0].state_message #=> String
|
@@ -1048,11 +1059,12 @@ module Aws::CloudHSMV2
|
|
1048
1059
|
# resp.clusters[0].pre_co_password #=> String
|
1049
1060
|
# resp.clusters[0].security_group #=> String
|
1050
1061
|
# 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"
|
1062
|
+
# 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
1063
|
# resp.clusters[0].state_message #=> String
|
1053
1064
|
# resp.clusters[0].subnet_mapping #=> Hash
|
1054
1065
|
# resp.clusters[0].subnet_mapping["ExternalAz"] #=> String
|
1055
1066
|
# resp.clusters[0].vpc_id #=> String
|
1067
|
+
# resp.clusters[0].network_type #=> String, one of "IPV4", "DUALSTACK"
|
1056
1068
|
# resp.clusters[0].certificates.cluster_csr #=> String
|
1057
1069
|
# resp.clusters[0].certificates.hsm_certificate #=> String
|
1058
1070
|
# resp.clusters[0].certificates.aws_hardware_certificate #=> String
|
@@ -1145,7 +1157,7 @@ module Aws::CloudHSMV2
|
|
1145
1157
|
#
|
1146
1158
|
# @example Response structure
|
1147
1159
|
#
|
1148
|
-
# resp.state #=> String, one of "CREATE_IN_PROGRESS", "UNINITIALIZED", "INITIALIZE_IN_PROGRESS", "INITIALIZED", "ACTIVE", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "DELETED", "DEGRADED"
|
1160
|
+
# 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
1161
|
# resp.state_message #=> String
|
1150
1162
|
#
|
1151
1163
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/InitializeCluster AWS API Documentation
|
@@ -1306,6 +1318,7 @@ module Aws::CloudHSMV2
|
|
1306
1318
|
# resp.cluster.hsms[0].subnet_id #=> String
|
1307
1319
|
# resp.cluster.hsms[0].eni_id #=> String
|
1308
1320
|
# resp.cluster.hsms[0].eni_ip #=> String
|
1321
|
+
# resp.cluster.hsms[0].eni_ip_v6 #=> String
|
1309
1322
|
# resp.cluster.hsms[0].hsm_id #=> String
|
1310
1323
|
# resp.cluster.hsms[0].state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
1311
1324
|
# resp.cluster.hsms[0].state_message #=> String
|
@@ -1313,11 +1326,12 @@ module Aws::CloudHSMV2
|
|
1313
1326
|
# resp.cluster.pre_co_password #=> String
|
1314
1327
|
# resp.cluster.security_group #=> String
|
1315
1328
|
# 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"
|
1329
|
+
# 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
1330
|
# resp.cluster.state_message #=> String
|
1318
1331
|
# resp.cluster.subnet_mapping #=> Hash
|
1319
1332
|
# resp.cluster.subnet_mapping["ExternalAz"] #=> String
|
1320
1333
|
# resp.cluster.vpc_id #=> String
|
1334
|
+
# resp.cluster.network_type #=> String, one of "IPV4", "DUALSTACK"
|
1321
1335
|
# resp.cluster.certificates.cluster_csr #=> String
|
1322
1336
|
# resp.cluster.certificates.hsm_certificate #=> String
|
1323
1337
|
# resp.cluster.certificates.aws_hardware_certificate #=> String
|
@@ -1542,7 +1556,7 @@ module Aws::CloudHSMV2
|
|
1542
1556
|
tracer: tracer
|
1543
1557
|
)
|
1544
1558
|
context[:gem_name] = 'aws-sdk-cloudhsmv2'
|
1545
|
-
context[:gem_version] = '1.
|
1559
|
+
context[:gem_version] = '1.70.0'
|
1546
1560
|
Seahorse::Client::Request.new(handlers, context)
|
1547
1561
|
end
|
1548
1562
|
|
@@ -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
|
|
@@ -169,6 +175,7 @@ module Aws::CloudHSMV2
|
|
169
175
|
Cluster.add_member(:state_message, Shapes::ShapeRef.new(shape: StateMessage, location_name: "StateMessage"))
|
170
176
|
Cluster.add_member(:subnet_mapping, Shapes::ShapeRef.new(shape: ExternalSubnetMapping, location_name: "SubnetMapping"))
|
171
177
|
Cluster.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
|
178
|
+
Cluster.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "NetworkType"))
|
172
179
|
Cluster.add_member(:certificates, Shapes::ShapeRef.new(shape: Certificates, location_name: "Certificates"))
|
173
180
|
Cluster.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
|
174
181
|
Cluster.add_member(:mode, Shapes::ShapeRef.new(shape: ClusterMode, location_name: "Mode"))
|
@@ -188,6 +195,7 @@ module Aws::CloudHSMV2
|
|
188
195
|
CreateClusterRequest.add_member(:hsm_type, Shapes::ShapeRef.new(shape: HsmType, required: true, location_name: "HsmType"))
|
189
196
|
CreateClusterRequest.add_member(:source_backup_id, Shapes::ShapeRef.new(shape: BackupArn, location_name: "SourceBackupId"))
|
190
197
|
CreateClusterRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "SubnetIds"))
|
198
|
+
CreateClusterRequest.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "NetworkType"))
|
191
199
|
CreateClusterRequest.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
|
192
200
|
CreateClusterRequest.add_member(:mode, Shapes::ShapeRef.new(shape: ClusterMode, location_name: "Mode"))
|
193
201
|
CreateClusterRequest.struct_class = Types::CreateClusterRequest
|
@@ -274,6 +282,7 @@ module Aws::CloudHSMV2
|
|
274
282
|
Hsm.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
|
275
283
|
Hsm.add_member(:eni_id, Shapes::ShapeRef.new(shape: EniId, location_name: "EniId"))
|
276
284
|
Hsm.add_member(:eni_ip, Shapes::ShapeRef.new(shape: IpAddress, location_name: "EniIp"))
|
285
|
+
Hsm.add_member(:eni_ip_v6, Shapes::ShapeRef.new(shape: IpV6Address, location_name: "EniIpV6"))
|
277
286
|
Hsm.add_member(:hsm_id, Shapes::ShapeRef.new(shape: HsmId, required: true, location_name: "HsmId"))
|
278
287
|
Hsm.add_member(:state, Shapes::ShapeRef.new(shape: HsmState, location_name: "State"))
|
279
288
|
Hsm.add_member(:state_message, Shapes::ShapeRef.new(shape: String, location_name: "StateMessage"))
|
@@ -613,6 +622,7 @@ module Aws::CloudHSMV2
|
|
613
622
|
o.errors << Shapes::ShapeRef.new(shape: CloudHsmAccessDeniedException)
|
614
623
|
o.errors << Shapes::ShapeRef.new(shape: CloudHsmInternalFailureException)
|
615
624
|
o.errors << Shapes::ShapeRef.new(shape: CloudHsmInvalidRequestException)
|
625
|
+
o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceLimitExceededException)
|
616
626
|
o.errors << Shapes::ShapeRef.new(shape: CloudHsmResourceNotFoundException)
|
617
627
|
o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
|
618
628
|
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
|
#
|
@@ -299,6 +312,22 @@ module Aws::CloudHSMV2
|
|
299
312
|
# the cluster.
|
300
313
|
# @return [String]
|
301
314
|
#
|
315
|
+
# @!attribute [rw] network_type
|
316
|
+
# The cluster's NetworkType can be set to either IPV4 (which is the
|
317
|
+
# default) or DUALSTACK. When set to IPV4, communication between your
|
318
|
+
# application and the Hardware Security Modules (HSMs) is restricted
|
319
|
+
# to the IPv4 protocol only. In contrast, the DUALSTACK network type
|
320
|
+
# enables communication over both the IPv4 and IPv6 protocols. To use
|
321
|
+
# the DUALSTACK option, you'll need to configure your Virtual Private
|
322
|
+
# Cloud (VPC) and subnets to support both IPv4 and IPv6. This involves
|
323
|
+
# adding IPv6 Classless Inter-Domain Routing (CIDR) blocks to the
|
324
|
+
# existing IPv4 CIDR blocks in your subnets. The choice between IPV4
|
325
|
+
# and DUALSTACK network types determines the flexibility of the
|
326
|
+
# network addressing setup for your cluster. The DUALSTACK option
|
327
|
+
# provides more flexibility by allowing both IPv4 and IPv6
|
328
|
+
# communication.
|
329
|
+
# @return [String]
|
330
|
+
#
|
302
331
|
# @!attribute [rw] certificates
|
303
332
|
# Contains one or more certificates or a certificate signing request
|
304
333
|
# (CSR).
|
@@ -328,6 +357,7 @@ module Aws::CloudHSMV2
|
|
328
357
|
:state_message,
|
329
358
|
:subnet_mapping,
|
330
359
|
:vpc_id,
|
360
|
+
:network_type,
|
331
361
|
:certificates,
|
332
362
|
:tag_list,
|
333
363
|
:mode)
|
@@ -407,6 +437,11 @@ module Aws::CloudHSMV2
|
|
407
437
|
# * You can specify only one subnet per Availability Zone.
|
408
438
|
# @return [Array<String>]
|
409
439
|
#
|
440
|
+
# @!attribute [rw] network_type
|
441
|
+
# The NetworkType to create a cluster with. The allowed values are
|
442
|
+
# `IPV4` and `DUALSTACK`.
|
443
|
+
# @return [String]
|
444
|
+
#
|
410
445
|
# @!attribute [rw] tag_list
|
411
446
|
# Tags to apply to the CloudHSM cluster during creation.
|
412
447
|
# @return [Array<Types::Tag>]
|
@@ -423,6 +458,7 @@ module Aws::CloudHSMV2
|
|
423
458
|
:hsm_type,
|
424
459
|
:source_backup_id,
|
425
460
|
:subnet_ids,
|
461
|
+
:network_type,
|
426
462
|
:tag_list,
|
427
463
|
:mode)
|
428
464
|
SENSITIVE = []
|
@@ -828,6 +864,11 @@ module Aws::CloudHSMV2
|
|
828
864
|
# The IP address of the HSM's elastic network interface (ENI).
|
829
865
|
# @return [String]
|
830
866
|
#
|
867
|
+
# @!attribute [rw] eni_ip_v6
|
868
|
+
# The IPv6 address (if any) of the HSM's elastic network interface
|
869
|
+
# (ENI).
|
870
|
+
# @return [String]
|
871
|
+
#
|
831
872
|
# @!attribute [rw] hsm_id
|
832
873
|
# The HSM's identifier (ID).
|
833
874
|
# @return [String]
|
@@ -848,6 +889,7 @@ module Aws::CloudHSMV2
|
|
848
889
|
:subnet_id,
|
849
890
|
:eni_id,
|
850
891
|
:eni_ip,
|
892
|
+
:eni_ip_v6,
|
851
893
|
:hsm_id,
|
852
894
|
:state,
|
853
895
|
:state_message)
|
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
|
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: []
|
@@ -81,10 +86,11 @@ module Aws::CloudHSMV2
|
|
81
86
|
attr_accessor pre_co_password: ::String
|
82
87
|
attr_accessor security_group: ::String
|
83
88
|
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")
|
89
|
+
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
90
|
attr_accessor state_message: ::String
|
86
91
|
attr_accessor subnet_mapping: ::Hash[::String, ::String]
|
87
92
|
attr_accessor vpc_id: ::String
|
93
|
+
attr_accessor network_type: ("IPV4" | "DUALSTACK")
|
88
94
|
attr_accessor certificates: Types::Certificates
|
89
95
|
attr_accessor tag_list: ::Array[Types::Tag]
|
90
96
|
attr_accessor mode: ("FIPS" | "NON_FIPS")
|
@@ -108,6 +114,7 @@ module Aws::CloudHSMV2
|
|
108
114
|
attr_accessor hsm_type: ::String
|
109
115
|
attr_accessor source_backup_id: ::String
|
110
116
|
attr_accessor subnet_ids: ::Array[::String]
|
117
|
+
attr_accessor network_type: ("IPV4" | "DUALSTACK")
|
111
118
|
attr_accessor tag_list: ::Array[Types::Tag]
|
112
119
|
attr_accessor mode: ("FIPS" | "NON_FIPS")
|
113
120
|
SENSITIVE: []
|
@@ -226,6 +233,7 @@ module Aws::CloudHSMV2
|
|
226
233
|
attr_accessor subnet_id: ::String
|
227
234
|
attr_accessor eni_id: ::String
|
228
235
|
attr_accessor eni_ip: ::String
|
236
|
+
attr_accessor eni_ip_v6: ::String
|
229
237
|
attr_accessor hsm_id: ::String
|
230
238
|
attr_accessor state: ("CREATE_IN_PROGRESS" | "ACTIVE" | "DEGRADED" | "DELETE_IN_PROGRESS" | "DELETED")
|
231
239
|
attr_accessor state_message: ::String
|
@@ -240,7 +248,7 @@ module Aws::CloudHSMV2
|
|
240
248
|
end
|
241
249
|
|
242
250
|
class InitializeClusterResponse
|
243
|
-
attr_accessor state: ("CREATE_IN_PROGRESS" | "UNINITIALIZED" | "INITIALIZE_IN_PROGRESS" | "INITIALIZED" | "ACTIVE" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "DELETED" | "DEGRADED")
|
251
|
+
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
252
|
attr_accessor state_message: ::String
|
245
253
|
SENSITIVE: []
|
246
254
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudhsmv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.70.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: 2024-
|
11
|
+
date: 2024-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|