aws-sdk-cloudhsmv2 1.70.0 → 1.72.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudhsmv2/client.rb +39 -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 +4 -1
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +3 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f398d5f08e30f8595db4e3fb2781c0eff6e90a8f9d5e865e6488b9c66fe638a9
|
4
|
+
data.tar.gz: 6a3559ee1933236c63a12e98369188705d08a4a7b5d830535901ef327462fbba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7599c3e2a2abc70fdb3bfc3dab999c7e766e7671b571805ecb825452648a5f9bab18377095882b679d1f625c80f18eaec9104cff0a5e96cafd24331110b5a48e
|
7
|
+
data.tar.gz: b415cc64e45a44384763c17c45fd0dcea41ff8a4ee04f1db58b06eb093bb9c311c6142fac3fdbf40aba457ecab8e2ad22ac11751e85deea67c92007f7022fa0d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.72.0 (2025-01-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.71.0 (2025-01-07)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds support to ModifyCluster for modifying a Cluster's Hsm Type.
|
13
|
+
|
4
14
|
1.70.0 (2024-12-13)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.72.0
|
@@ -257,11 +257,34 @@ module Aws::CloudHSMV2
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -583,9 +606,11 @@ module Aws::CloudHSMV2
|
|
583
606
|
# resp.cluster.hsms[0].eni_ip #=> String
|
584
607
|
# resp.cluster.hsms[0].eni_ip_v6 #=> String
|
585
608
|
# resp.cluster.hsms[0].hsm_id #=> String
|
609
|
+
# resp.cluster.hsms[0].hsm_type #=> String
|
586
610
|
# resp.cluster.hsms[0].state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
587
611
|
# resp.cluster.hsms[0].state_message #=> String
|
588
612
|
# resp.cluster.hsm_type #=> String
|
613
|
+
# resp.cluster.hsm_type_rollback_expiration #=> Time
|
589
614
|
# resp.cluster.pre_co_password #=> String
|
590
615
|
# resp.cluster.security_group #=> String
|
591
616
|
# resp.cluster.source_backup_id #=> String
|
@@ -655,6 +680,7 @@ module Aws::CloudHSMV2
|
|
655
680
|
# resp.hsm.eni_ip #=> String
|
656
681
|
# resp.hsm.eni_ip_v6 #=> String
|
657
682
|
# resp.hsm.hsm_id #=> String
|
683
|
+
# resp.hsm.hsm_type #=> String
|
658
684
|
# resp.hsm.state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
659
685
|
# resp.hsm.state_message #=> String
|
660
686
|
#
|
@@ -753,9 +779,11 @@ module Aws::CloudHSMV2
|
|
753
779
|
# resp.cluster.hsms[0].eni_ip #=> String
|
754
780
|
# resp.cluster.hsms[0].eni_ip_v6 #=> String
|
755
781
|
# resp.cluster.hsms[0].hsm_id #=> String
|
782
|
+
# resp.cluster.hsms[0].hsm_type #=> String
|
756
783
|
# resp.cluster.hsms[0].state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
757
784
|
# resp.cluster.hsms[0].state_message #=> String
|
758
785
|
# resp.cluster.hsm_type #=> String
|
786
|
+
# resp.cluster.hsm_type_rollback_expiration #=> Time
|
759
787
|
# resp.cluster.pre_co_password #=> String
|
760
788
|
# resp.cluster.security_group #=> String
|
761
789
|
# resp.cluster.source_backup_id #=> String
|
@@ -1053,9 +1081,11 @@ module Aws::CloudHSMV2
|
|
1053
1081
|
# resp.clusters[0].hsms[0].eni_ip #=> String
|
1054
1082
|
# resp.clusters[0].hsms[0].eni_ip_v6 #=> String
|
1055
1083
|
# resp.clusters[0].hsms[0].hsm_id #=> String
|
1084
|
+
# resp.clusters[0].hsms[0].hsm_type #=> String
|
1056
1085
|
# resp.clusters[0].hsms[0].state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
1057
1086
|
# resp.clusters[0].hsms[0].state_message #=> String
|
1058
1087
|
# resp.clusters[0].hsm_type #=> String
|
1088
|
+
# resp.clusters[0].hsm_type_rollback_expiration #=> Time
|
1059
1089
|
# resp.clusters[0].pre_co_password #=> String
|
1060
1090
|
# resp.clusters[0].security_group #=> String
|
1061
1091
|
# resp.clusters[0].source_backup_id #=> String
|
@@ -1284,7 +1314,10 @@ module Aws::CloudHSMV2
|
|
1284
1314
|
# **Cross-account use:** No. You cannot perform this operation on an
|
1285
1315
|
# CloudHSM cluster in a different Amazon Web Services account.
|
1286
1316
|
#
|
1287
|
-
# @option params [
|
1317
|
+
# @option params [String] :hsm_type
|
1318
|
+
# The desired HSM type of the cluster.
|
1319
|
+
#
|
1320
|
+
# @option params [Types::BackupRetentionPolicy] :backup_retention_policy
|
1288
1321
|
# A policy that defines how the service retains backups.
|
1289
1322
|
#
|
1290
1323
|
# @option params [required, String] :cluster_id
|
@@ -1298,7 +1331,8 @@ module Aws::CloudHSMV2
|
|
1298
1331
|
# @example Request syntax with placeholder values
|
1299
1332
|
#
|
1300
1333
|
# resp = client.modify_cluster({
|
1301
|
-
#
|
1334
|
+
# hsm_type: "HsmType",
|
1335
|
+
# backup_retention_policy: {
|
1302
1336
|
# type: "DAYS", # accepts DAYS
|
1303
1337
|
# value: "BackupRetentionValue",
|
1304
1338
|
# },
|
@@ -1320,9 +1354,11 @@ module Aws::CloudHSMV2
|
|
1320
1354
|
# resp.cluster.hsms[0].eni_ip #=> String
|
1321
1355
|
# resp.cluster.hsms[0].eni_ip_v6 #=> String
|
1322
1356
|
# resp.cluster.hsms[0].hsm_id #=> String
|
1357
|
+
# resp.cluster.hsms[0].hsm_type #=> String
|
1323
1358
|
# resp.cluster.hsms[0].state #=> String, one of "CREATE_IN_PROGRESS", "ACTIVE", "DEGRADED", "DELETE_IN_PROGRESS", "DELETED"
|
1324
1359
|
# resp.cluster.hsms[0].state_message #=> String
|
1325
1360
|
# resp.cluster.hsm_type #=> String
|
1361
|
+
# resp.cluster.hsm_type_rollback_expiration #=> Time
|
1326
1362
|
# resp.cluster.pre_co_password #=> String
|
1327
1363
|
# resp.cluster.security_group #=> String
|
1328
1364
|
# resp.cluster.source_backup_id #=> String
|
@@ -1556,7 +1592,7 @@ module Aws::CloudHSMV2
|
|
1556
1592
|
tracer: tracer
|
1557
1593
|
)
|
1558
1594
|
context[:gem_name] = 'aws-sdk-cloudhsmv2'
|
1559
|
-
context[:gem_version] = '1.
|
1595
|
+
context[:gem_version] = '1.72.0'
|
1560
1596
|
Seahorse::Client::Request.new(handlers, context)
|
1561
1597
|
end
|
1562
1598
|
|
@@ -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
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
@@ -254,7 +256,8 @@ module Aws
|
|
254
256
|
end
|
255
257
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudHSMV2/Client.html#modify_cluster-instance_method
|
256
258
|
def modify_cluster: (
|
257
|
-
|
259
|
+
?hsm_type: ::String,
|
260
|
+
?backup_retention_policy: {
|
258
261
|
type: ("DAYS")?,
|
259
262
|
value: ::String?
|
260
263
|
},
|
data/sig/resource.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
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.72.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-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.216.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.216.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|