aws-sdk-cloudhsmv2 1.70.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudhsmv2/client.rb +16 -3
- data/lib/aws-sdk-cloudhsmv2/client_api.rb +4 -1
- data/lib/aws-sdk-cloudhsmv2/types.rb +27 -13
- data/lib/aws-sdk-cloudhsmv2.rb +1 -1
- data/sig/client.rbs +2 -1
- data/sig/types.rbs +3 -0
- 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
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.71.0
|
|
@@ -583,9 +583,11 @@ module Aws::CloudHSMV2
|
|
|
583
583
|
# resp.cluster.hsms[0].eni_ip #=> String
|
|
584
584
|
# resp.cluster.hsms[0].eni_ip_v6 #=> String
|
|
585
585
|
# resp.cluster.hsms[0].hsm_id #=> String
|
|
586
|
+
# resp.cluster.hsms[0].hsm_type #=> String
|
|
586
587
|
# resp.cluster.hsms[0].state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
|
587
588
|
# resp.cluster.hsms[0].state_message #=> String
|
|
588
589
|
# resp.cluster.hsm_type #=> String
|
|
590
|
+
# resp.cluster.hsm_type_rollback_expiration #=> Time
|
|
589
591
|
# resp.cluster.pre_co_password #=> String
|
|
590
592
|
# resp.cluster.security_group #=> String
|
|
591
593
|
# resp.cluster.source_backup_id #=> String
|
|
@@ -655,6 +657,7 @@ module Aws::CloudHSMV2
|
|
|
655
657
|
# resp.hsm.eni_ip #=> String
|
|
656
658
|
# resp.hsm.eni_ip_v6 #=> String
|
|
657
659
|
# resp.hsm.hsm_id #=> String
|
|
660
|
+
# resp.hsm.hsm_type #=> String
|
|
658
661
|
# resp.hsm.state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
|
659
662
|
# resp.hsm.state_message #=> String
|
|
660
663
|
#
|
|
@@ -753,9 +756,11 @@ module Aws::CloudHSMV2
|
|
|
753
756
|
# resp.cluster.hsms[0].eni_ip #=> String
|
|
754
757
|
# resp.cluster.hsms[0].eni_ip_v6 #=> String
|
|
755
758
|
# resp.cluster.hsms[0].hsm_id #=> String
|
|
759
|
+
# resp.cluster.hsms[0].hsm_type #=> String
|
|
756
760
|
# resp.cluster.hsms[0].state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
|
757
761
|
# resp.cluster.hsms[0].state_message #=> String
|
|
758
762
|
# resp.cluster.hsm_type #=> String
|
|
763
|
+
# resp.cluster.hsm_type_rollback_expiration #=> Time
|
|
759
764
|
# resp.cluster.pre_co_password #=> String
|
|
760
765
|
# resp.cluster.security_group #=> String
|
|
761
766
|
# resp.cluster.source_backup_id #=> String
|
|
@@ -1053,9 +1058,11 @@ module Aws::CloudHSMV2
|
|
|
1053
1058
|
# resp.clusters[0].hsms[0].eni_ip #=> String
|
|
1054
1059
|
# resp.clusters[0].hsms[0].eni_ip_v6 #=> String
|
|
1055
1060
|
# resp.clusters[0].hsms[0].hsm_id #=> String
|
|
1061
|
+
# resp.clusters[0].hsms[0].hsm_type #=> String
|
|
1056
1062
|
# resp.clusters[0].hsms[0].state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
|
1057
1063
|
# resp.clusters[0].hsms[0].state_message #=> String
|
|
1058
1064
|
# resp.clusters[0].hsm_type #=> String
|
|
1065
|
+
# resp.clusters[0].hsm_type_rollback_expiration #=> Time
|
|
1059
1066
|
# resp.clusters[0].pre_co_password #=> String
|
|
1060
1067
|
# resp.clusters[0].security_group #=> String
|
|
1061
1068
|
# resp.clusters[0].source_backup_id #=> String
|
|
@@ -1284,7 +1291,10 @@ module Aws::CloudHSMV2
|
|
|
1284
1291
|
# **Cross-account use:** No. You cannot perform this operation on an
|
|
1285
1292
|
# CloudHSM cluster in a different Amazon Web Services account.
|
|
1286
1293
|
#
|
|
1287
|
-
# @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
|
|
1288
1298
|
# A policy that defines how the service retains backups.
|
|
1289
1299
|
#
|
|
1290
1300
|
# @option params [required, String] :cluster_id
|
|
@@ -1298,7 +1308,8 @@ module Aws::CloudHSMV2
|
|
|
1298
1308
|
# @example Request syntax with placeholder values
|
|
1299
1309
|
#
|
|
1300
1310
|
# resp = client.modify_cluster({
|
|
1301
|
-
#
|
|
1311
|
+
# hsm_type: "HsmType",
|
|
1312
|
+
# backup_retention_policy: {
|
|
1302
1313
|
# type: "DAYS", # accepts DAYS
|
|
1303
1314
|
# value: "BackupRetentionValue",
|
|
1304
1315
|
# },
|
|
@@ -1320,9 +1331,11 @@ module Aws::CloudHSMV2
|
|
|
1320
1331
|
# resp.cluster.hsms[0].eni_ip #=> String
|
|
1321
1332
|
# resp.cluster.hsms[0].eni_ip_v6 #=> String
|
|
1322
1333
|
# resp.cluster.hsms[0].hsm_id #=> String
|
|
1334
|
+
# resp.cluster.hsms[0].hsm_type #=> String
|
|
1323
1335
|
# resp.cluster.hsms[0].state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
|
1324
1336
|
# resp.cluster.hsms[0].state_message #=> String
|
|
1325
1337
|
# resp.cluster.hsm_type #=> String
|
|
1338
|
+
# resp.cluster.hsm_type_rollback_expiration #=> Time
|
|
1326
1339
|
# resp.cluster.pre_co_password #=> String
|
|
1327
1340
|
# resp.cluster.security_group #=> String
|
|
1328
1341
|
# resp.cluster.source_backup_id #=> String
|
|
@@ -1556,7 +1569,7 @@ module Aws::CloudHSMV2
|
|
|
1556
1569
|
tracer: tracer
|
|
1557
1570
|
)
|
|
1558
1571
|
context[:gem_name] = 'aws-sdk-cloudhsmv2'
|
|
1559
|
-
context[:gem_version] = '1.
|
|
1572
|
+
context[:gem_version] = '1.71.0'
|
|
1560
1573
|
Seahorse::Client::Request.new(handlers, context)
|
|
1561
1574
|
end
|
|
1562
1575
|
|
|
@@ -168,6 +168,7 @@ module Aws::CloudHSMV2
|
|
|
168
168
|
Cluster.add_member(:create_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateTimestamp"))
|
|
169
169
|
Cluster.add_member(:hsms, Shapes::ShapeRef.new(shape: Hsms, location_name: "Hsms"))
|
|
170
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"))
|
|
171
172
|
Cluster.add_member(:pre_co_password, Shapes::ShapeRef.new(shape: PreCoPassword, location_name: "PreCoPassword"))
|
|
172
173
|
Cluster.add_member(:security_group, Shapes::ShapeRef.new(shape: SecurityGroup, location_name: "SecurityGroup"))
|
|
173
174
|
Cluster.add_member(:source_backup_id, Shapes::ShapeRef.new(shape: BackupId, location_name: "SourceBackupId"))
|
|
@@ -284,6 +285,7 @@ module Aws::CloudHSMV2
|
|
|
284
285
|
Hsm.add_member(:eni_ip, Shapes::ShapeRef.new(shape: IpAddress, location_name: "EniIp"))
|
|
285
286
|
Hsm.add_member(:eni_ip_v6, Shapes::ShapeRef.new(shape: IpV6Address, location_name: "EniIpV6"))
|
|
286
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"))
|
|
287
289
|
Hsm.add_member(:state, Shapes::ShapeRef.new(shape: HsmState, location_name: "State"))
|
|
288
290
|
Hsm.add_member(:state_message, Shapes::ShapeRef.new(shape: String, location_name: "StateMessage"))
|
|
289
291
|
Hsm.struct_class = Types::Hsm
|
|
@@ -315,7 +317,8 @@ module Aws::CloudHSMV2
|
|
|
315
317
|
ModifyBackupAttributesResponse.add_member(:backup, Shapes::ShapeRef.new(shape: Backup, location_name: "Backup"))
|
|
316
318
|
ModifyBackupAttributesResponse.struct_class = Types::ModifyBackupAttributesResponse
|
|
317
319
|
|
|
318
|
-
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"))
|
|
319
322
|
ModifyClusterRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "ClusterId"))
|
|
320
323
|
ModifyClusterRequest.struct_class = Types::ModifyClusterRequest
|
|
321
324
|
|
|
@@ -280,6 +280,11 @@ module Aws::CloudHSMV2
|
|
|
280
280
|
# The type of HSM that the cluster contains.
|
|
281
281
|
# @return [String]
|
|
282
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
|
+
#
|
|
283
288
|
# @!attribute [rw] pre_co_password
|
|
284
289
|
# The default password for the cluster's Pre-Crypto Officer (PRECO)
|
|
285
290
|
# user.
|
|
@@ -313,19 +318,17 @@ module Aws::CloudHSMV2
|
|
|
313
318
|
# @return [String]
|
|
314
319
|
#
|
|
315
320
|
# @!attribute [rw] network_type
|
|
316
|
-
# The cluster's NetworkType can be
|
|
317
|
-
#
|
|
318
|
-
# application and the
|
|
319
|
-
#
|
|
320
|
-
#
|
|
321
|
-
#
|
|
322
|
-
#
|
|
323
|
-
#
|
|
324
|
-
#
|
|
325
|
-
#
|
|
326
|
-
#
|
|
327
|
-
# provides more flexibility by allowing both IPv4 and IPv6
|
|
328
|
-
# communication.
|
|
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.
|
|
329
332
|
# @return [String]
|
|
330
333
|
#
|
|
331
334
|
# @!attribute [rw] certificates
|
|
@@ -350,6 +353,7 @@ module Aws::CloudHSMV2
|
|
|
350
353
|
:create_timestamp,
|
|
351
354
|
:hsms,
|
|
352
355
|
:hsm_type,
|
|
356
|
+
:hsm_type_rollback_expiration,
|
|
353
357
|
:pre_co_password,
|
|
354
358
|
:security_group,
|
|
355
359
|
:source_backup_id,
|
|
@@ -873,6 +877,10 @@ module Aws::CloudHSMV2
|
|
|
873
877
|
# The HSM's identifier (ID).
|
|
874
878
|
# @return [String]
|
|
875
879
|
#
|
|
880
|
+
# @!attribute [rw] hsm_type
|
|
881
|
+
# The type of HSM.
|
|
882
|
+
# @return [String]
|
|
883
|
+
#
|
|
876
884
|
# @!attribute [rw] state
|
|
877
885
|
# The HSM's state.
|
|
878
886
|
# @return [String]
|
|
@@ -891,6 +899,7 @@ module Aws::CloudHSMV2
|
|
|
891
899
|
:eni_ip,
|
|
892
900
|
:eni_ip_v6,
|
|
893
901
|
:hsm_id,
|
|
902
|
+
:hsm_type,
|
|
894
903
|
:state,
|
|
895
904
|
:state_message)
|
|
896
905
|
SENSITIVE = []
|
|
@@ -1028,6 +1037,10 @@ module Aws::CloudHSMV2
|
|
|
1028
1037
|
include Aws::Structure
|
|
1029
1038
|
end
|
|
1030
1039
|
|
|
1040
|
+
# @!attribute [rw] hsm_type
|
|
1041
|
+
# The desired HSM type of the cluster.
|
|
1042
|
+
# @return [String]
|
|
1043
|
+
#
|
|
1031
1044
|
# @!attribute [rw] backup_retention_policy
|
|
1032
1045
|
# A policy that defines how the service retains backups.
|
|
1033
1046
|
# @return [Types::BackupRetentionPolicy]
|
|
@@ -1040,6 +1053,7 @@ module Aws::CloudHSMV2
|
|
|
1040
1053
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/ModifyClusterRequest AWS API Documentation
|
|
1041
1054
|
#
|
|
1042
1055
|
class ModifyClusterRequest < Struct.new(
|
|
1056
|
+
:hsm_type,
|
|
1043
1057
|
:backup_retention_policy,
|
|
1044
1058
|
:cluster_id)
|
|
1045
1059
|
SENSITIVE = []
|
data/lib/aws-sdk-cloudhsmv2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -254,7 +254,8 @@ module Aws
|
|
|
254
254
|
end
|
|
255
255
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#modify_cluster-instance_method
|
|
256
256
|
def modify_cluster: (
|
|
257
|
-
|
|
257
|
+
?hsm_type: ::String,
|
|
258
|
+
?backup_retention_policy: {
|
|
258
259
|
type: ("DAYS")?,
|
|
259
260
|
value: ::String?
|
|
260
261
|
},
|
data/sig/types.rbs
CHANGED
|
@@ -83,6 +83,7 @@ module Aws::CloudHSMV2
|
|
|
83
83
|
attr_accessor create_timestamp: ::Time
|
|
84
84
|
attr_accessor hsms: ::Array[Types::Hsm]
|
|
85
85
|
attr_accessor hsm_type: ::String
|
|
86
|
+
attr_accessor hsm_type_rollback_expiration: ::Time
|
|
86
87
|
attr_accessor pre_co_password: ::String
|
|
87
88
|
attr_accessor security_group: ::String
|
|
88
89
|
attr_accessor source_backup_id: ::String
|
|
@@ -235,6 +236,7 @@ module Aws::CloudHSMV2
|
|
|
235
236
|
attr_accessor eni_ip: ::String
|
|
236
237
|
attr_accessor eni_ip_v6: ::String
|
|
237
238
|
attr_accessor hsm_id: ::String
|
|
239
|
+
attr_accessor hsm_type: ::String
|
|
238
240
|
attr_accessor state: ("CREATE_IN_PROGRESS" | "ACTIVE" | "DEGRADED" | "DELETE_IN_PROGRESS" | "DELETED")
|
|
239
241
|
attr_accessor state_message: ::String
|
|
240
242
|
SENSITIVE: []
|
|
@@ -278,6 +280,7 @@ module Aws::CloudHSMV2
|
|
|
278
280
|
end
|
|
279
281
|
|
|
280
282
|
class ModifyClusterRequest
|
|
283
|
+
attr_accessor hsm_type: ::String
|
|
281
284
|
attr_accessor backup_retention_policy: Types::BackupRetentionPolicy
|
|
282
285
|
attr_accessor cluster_id: ::String
|
|
283
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
|