aws-sdk-cloudhsmv2 1.56.0 → 1.58.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 +20 -3
- data/lib/aws-sdk-cloudhsmv2/client_api.rb +6 -0
- data/lib/aws-sdk-cloudhsmv2/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-cloudhsmv2/types.rb +26 -5
- data/lib/aws-sdk-cloudhsmv2.rb +1 -1
- data/sig/client.rbs +2 -1
- data/sig/types.rbs +4 -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: bead461c91e087eac4d7c61fe1bb50330572a3374a865ece14b2060fa71d9d11
|
4
|
+
data.tar.gz: 841ae88af3d68821b7d791ed8b8f31b99c0758f1cce831aca24ead8873a4e7c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43721bbe506e6c226bf43ac3e878c0a83a6d529828990a97e0cd9faa38d5464b17c4bc5888ef5a64ab46b4e15fc2b7f72cec6bdc89b7ba49f91bf4ce6a609605
|
7
|
+
data.tar.gz: f56c367437259010f7612e6787d73cb99a779d46cea0449e310e6eb858b3df3f459a71e3f7baf610d36b46f0a6df6c8dd62039beb4f1ad9229571471a3e94629
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.58.0 (2024-06-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added support for hsm type hsm2m.medium. Added supported for creating a cluster in FIPS or NON_FIPS mode.
|
8
|
+
|
9
|
+
1.57.0 (2024-06-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.56.0 (2024-05-13)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.58.0
|
@@ -476,8 +476,8 @@ module Aws::CloudHSMV2
|
|
476
476
|
# A policy that defines how the service retains backups.
|
477
477
|
#
|
478
478
|
# @option params [required, String] :hsm_type
|
479
|
-
# The type of HSM to use in the cluster.
|
480
|
-
#
|
479
|
+
# The type of HSM to use in the cluster. The allowed values are
|
480
|
+
# `hsm1.medium` and `hsm2m.medium`.
|
481
481
|
#
|
482
482
|
# @option params [String] :source_backup_id
|
483
483
|
# The identifier (ID) of the cluster backup to restore. Use this value
|
@@ -496,6 +496,10 @@ module Aws::CloudHSMV2
|
|
496
496
|
# @option params [Array<Types::Tag>] :tag_list
|
497
497
|
# Tags to apply to the CloudHSM cluster during creation.
|
498
498
|
#
|
499
|
+
# @option params [String] :mode
|
500
|
+
# The mode to use in the cluster. The allowed values are `FIPS` and
|
501
|
+
# `NON_FIPS`.
|
502
|
+
#
|
499
503
|
# @return [Types::CreateClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
500
504
|
#
|
501
505
|
# * {Types::CreateClusterResponse#cluster #cluster} => Types::Cluster
|
@@ -516,6 +520,7 @@ module Aws::CloudHSMV2
|
|
516
520
|
# value: "TagValue", # required
|
517
521
|
# },
|
518
522
|
# ],
|
523
|
+
# mode: "FIPS", # accepts FIPS, NON_FIPS
|
519
524
|
# })
|
520
525
|
#
|
521
526
|
# @example Response structure
|
@@ -551,6 +556,7 @@ module Aws::CloudHSMV2
|
|
551
556
|
# resp.cluster.tag_list #=> Array
|
552
557
|
# resp.cluster.tag_list[0].key #=> String
|
553
558
|
# resp.cluster.tag_list[0].value #=> String
|
559
|
+
# resp.cluster.mode #=> String, one of "FIPS", "NON_FIPS"
|
554
560
|
#
|
555
561
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/CreateCluster AWS API Documentation
|
556
562
|
#
|
@@ -643,6 +649,8 @@ module Aws::CloudHSMV2
|
|
643
649
|
# resp.backup.tag_list #=> Array
|
644
650
|
# resp.backup.tag_list[0].key #=> String
|
645
651
|
# resp.backup.tag_list[0].value #=> String
|
652
|
+
# resp.backup.hsm_type #=> String
|
653
|
+
# resp.backup.mode #=> String, one of "FIPS", "NON_FIPS"
|
646
654
|
#
|
647
655
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DeleteBackup AWS API Documentation
|
648
656
|
#
|
@@ -705,6 +713,7 @@ module Aws::CloudHSMV2
|
|
705
713
|
# resp.cluster.tag_list #=> Array
|
706
714
|
# resp.cluster.tag_list[0].key #=> String
|
707
715
|
# resp.cluster.tag_list[0].value #=> String
|
716
|
+
# resp.cluster.mode #=> String, one of "FIPS", "NON_FIPS"
|
708
717
|
#
|
709
718
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DeleteCluster AWS API Documentation
|
710
719
|
#
|
@@ -838,6 +847,8 @@ module Aws::CloudHSMV2
|
|
838
847
|
# resp.backups[0].tag_list #=> Array
|
839
848
|
# resp.backups[0].tag_list[0].key #=> String
|
840
849
|
# resp.backups[0].tag_list[0].value #=> String
|
850
|
+
# resp.backups[0].hsm_type #=> String
|
851
|
+
# resp.backups[0].mode #=> String, one of "FIPS", "NON_FIPS"
|
841
852
|
# resp.next_token #=> String
|
842
853
|
#
|
843
854
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DescribeBackups AWS API Documentation
|
@@ -931,6 +942,7 @@ module Aws::CloudHSMV2
|
|
931
942
|
# resp.clusters[0].tag_list #=> Array
|
932
943
|
# resp.clusters[0].tag_list[0].key #=> String
|
933
944
|
# resp.clusters[0].tag_list[0].value #=> String
|
945
|
+
# resp.clusters[0].mode #=> String, one of "FIPS", "NON_FIPS"
|
934
946
|
# resp.next_token #=> String
|
935
947
|
#
|
936
948
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DescribeClusters AWS API Documentation
|
@@ -1082,6 +1094,8 @@ module Aws::CloudHSMV2
|
|
1082
1094
|
# resp.backup.tag_list #=> Array
|
1083
1095
|
# resp.backup.tag_list[0].key #=> String
|
1084
1096
|
# resp.backup.tag_list[0].value #=> String
|
1097
|
+
# resp.backup.hsm_type #=> String
|
1098
|
+
# resp.backup.mode #=> String, one of "FIPS", "NON_FIPS"
|
1085
1099
|
#
|
1086
1100
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/ModifyBackupAttributes AWS API Documentation
|
1087
1101
|
#
|
@@ -1148,6 +1162,7 @@ module Aws::CloudHSMV2
|
|
1148
1162
|
# resp.cluster.tag_list #=> Array
|
1149
1163
|
# resp.cluster.tag_list[0].key #=> String
|
1150
1164
|
# resp.cluster.tag_list[0].value #=> String
|
1165
|
+
# resp.cluster.mode #=> String, one of "FIPS", "NON_FIPS"
|
1151
1166
|
#
|
1152
1167
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/ModifyCluster AWS API Documentation
|
1153
1168
|
#
|
@@ -1191,6 +1206,8 @@ module Aws::CloudHSMV2
|
|
1191
1206
|
# resp.backup.tag_list #=> Array
|
1192
1207
|
# resp.backup.tag_list[0].key #=> String
|
1193
1208
|
# resp.backup.tag_list[0].value #=> String
|
1209
|
+
# resp.backup.hsm_type #=> String
|
1210
|
+
# resp.backup.mode #=> String, one of "FIPS", "NON_FIPS"
|
1194
1211
|
#
|
1195
1212
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/RestoreBackup AWS API Documentation
|
1196
1213
|
#
|
@@ -1276,7 +1293,7 @@ module Aws::CloudHSMV2
|
|
1276
1293
|
params: params,
|
1277
1294
|
config: config)
|
1278
1295
|
context[:gem_name] = 'aws-sdk-cloudhsmv2'
|
1279
|
-
context[:gem_version] = '1.
|
1296
|
+
context[:gem_version] = '1.58.0'
|
1280
1297
|
Seahorse::Client::Request.new(handlers, context)
|
1281
1298
|
end
|
1282
1299
|
|
@@ -33,6 +33,7 @@ module Aws::CloudHSMV2
|
|
33
33
|
CloudHsmTagException = Shapes::StructureShape.new(name: 'CloudHsmTagException')
|
34
34
|
Cluster = Shapes::StructureShape.new(name: 'Cluster')
|
35
35
|
ClusterId = Shapes::StringShape.new(name: 'ClusterId')
|
36
|
+
ClusterMode = Shapes::StringShape.new(name: 'ClusterMode')
|
36
37
|
ClusterState = Shapes::StringShape.new(name: 'ClusterState')
|
37
38
|
Clusters = Shapes::ListShape.new(name: 'Clusters')
|
38
39
|
ClustersMaxSize = Shapes::IntegerShape.new(name: 'ClustersMaxSize')
|
@@ -109,6 +110,8 @@ module Aws::CloudHSMV2
|
|
109
110
|
Backup.add_member(:source_cluster, Shapes::ShapeRef.new(shape: ClusterId, location_name: "SourceCluster"))
|
110
111
|
Backup.add_member(:delete_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DeleteTimestamp"))
|
111
112
|
Backup.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
|
113
|
+
Backup.add_member(:hsm_type, Shapes::ShapeRef.new(shape: HsmType, location_name: "HsmType"))
|
114
|
+
Backup.add_member(:mode, Shapes::ShapeRef.new(shape: ClusterMode, location_name: "Mode"))
|
112
115
|
Backup.struct_class = Types::Backup
|
113
116
|
|
114
117
|
BackupRetentionPolicy.add_member(:type, Shapes::ShapeRef.new(shape: BackupRetentionType, location_name: "Type"))
|
@@ -157,6 +160,7 @@ module Aws::CloudHSMV2
|
|
157
160
|
Cluster.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
|
158
161
|
Cluster.add_member(:certificates, Shapes::ShapeRef.new(shape: Certificates, location_name: "Certificates"))
|
159
162
|
Cluster.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
|
163
|
+
Cluster.add_member(:mode, Shapes::ShapeRef.new(shape: ClusterMode, location_name: "Mode"))
|
160
164
|
Cluster.struct_class = Types::Cluster
|
161
165
|
|
162
166
|
Clusters.member = Shapes::ShapeRef.new(shape: Cluster)
|
@@ -174,6 +178,7 @@ module Aws::CloudHSMV2
|
|
174
178
|
CreateClusterRequest.add_member(:source_backup_id, Shapes::ShapeRef.new(shape: BackupId, location_name: "SourceBackupId"))
|
175
179
|
CreateClusterRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "SubnetIds"))
|
176
180
|
CreateClusterRequest.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
|
181
|
+
CreateClusterRequest.add_member(:mode, Shapes::ShapeRef.new(shape: ClusterMode, location_name: "Mode"))
|
177
182
|
CreateClusterRequest.struct_class = Types::CreateClusterRequest
|
178
183
|
|
179
184
|
CreateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
|
@@ -324,6 +329,7 @@ module Aws::CloudHSMV2
|
|
324
329
|
"endpointPrefix" => "cloudhsmv2",
|
325
330
|
"jsonVersion" => "1.1",
|
326
331
|
"protocol" => "json",
|
332
|
+
"protocols" => ["json"],
|
327
333
|
"serviceAbbreviation" => "CloudHSM V2",
|
328
334
|
"serviceFullName" => "AWS CloudHSM V2",
|
329
335
|
"serviceId" => "CloudHSM V2",
|
@@ -32,7 +32,7 @@ module Aws::CloudHSMV2
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://cloudhsmv2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -68,6 +68,14 @@ module Aws::CloudHSMV2
|
|
68
68
|
# The list of tags for the backup.
|
69
69
|
# @return [Array<Types::Tag>]
|
70
70
|
#
|
71
|
+
# @!attribute [rw] hsm_type
|
72
|
+
# The HSM type of the cluster that was backed up.
|
73
|
+
# @return [String]
|
74
|
+
#
|
75
|
+
# @!attribute [rw] mode
|
76
|
+
# The mode of the cluster that was backed up.
|
77
|
+
# @return [String]
|
78
|
+
#
|
71
79
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/Backup AWS API Documentation
|
72
80
|
#
|
73
81
|
class Backup < Struct.new(
|
@@ -81,7 +89,9 @@ module Aws::CloudHSMV2
|
|
81
89
|
:source_backup,
|
82
90
|
:source_cluster,
|
83
91
|
:delete_timestamp,
|
84
|
-
:tag_list
|
92
|
+
:tag_list,
|
93
|
+
:hsm_type,
|
94
|
+
:mode)
|
85
95
|
SENSITIVE = []
|
86
96
|
include Aws::Structure
|
87
97
|
end
|
@@ -293,6 +303,10 @@ module Aws::CloudHSMV2
|
|
293
303
|
# The list of tags for the cluster.
|
294
304
|
# @return [Array<Types::Tag>]
|
295
305
|
#
|
306
|
+
# @!attribute [rw] mode
|
307
|
+
# The mode of the cluster.
|
308
|
+
# @return [String]
|
309
|
+
#
|
296
310
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/Cluster AWS API Documentation
|
297
311
|
#
|
298
312
|
class Cluster < Struct.new(
|
@@ -310,7 +324,8 @@ module Aws::CloudHSMV2
|
|
310
324
|
:subnet_mapping,
|
311
325
|
:vpc_id,
|
312
326
|
:certificates,
|
313
|
-
:tag_list
|
327
|
+
:tag_list,
|
328
|
+
:mode)
|
314
329
|
SENSITIVE = []
|
315
330
|
include Aws::Structure
|
316
331
|
end
|
@@ -365,8 +380,8 @@ module Aws::CloudHSMV2
|
|
365
380
|
# @return [Types::BackupRetentionPolicy]
|
366
381
|
#
|
367
382
|
# @!attribute [rw] hsm_type
|
368
|
-
# The type of HSM to use in the cluster.
|
369
|
-
#
|
383
|
+
# The type of HSM to use in the cluster. The allowed values are
|
384
|
+
# `hsm1.medium` and `hsm2m.medium`.
|
370
385
|
# @return [String]
|
371
386
|
#
|
372
387
|
# @!attribute [rw] source_backup_id
|
@@ -389,6 +404,11 @@ module Aws::CloudHSMV2
|
|
389
404
|
# Tags to apply to the CloudHSM cluster during creation.
|
390
405
|
# @return [Array<Types::Tag>]
|
391
406
|
#
|
407
|
+
# @!attribute [rw] mode
|
408
|
+
# The mode to use in the cluster. The allowed values are `FIPS` and
|
409
|
+
# `NON_FIPS`.
|
410
|
+
# @return [String]
|
411
|
+
#
|
392
412
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/CreateClusterRequest AWS API Documentation
|
393
413
|
#
|
394
414
|
class CreateClusterRequest < Struct.new(
|
@@ -396,7 +416,8 @@ module Aws::CloudHSMV2
|
|
396
416
|
:hsm_type,
|
397
417
|
:source_backup_id,
|
398
418
|
:subnet_ids,
|
399
|
-
:tag_list
|
419
|
+
:tag_list,
|
420
|
+
:mode)
|
400
421
|
SENSITIVE = []
|
401
422
|
include Aws::Structure
|
402
423
|
end
|
data/lib/aws-sdk-cloudhsmv2.rb
CHANGED
data/sig/client.rbs
CHANGED
data/sig/types.rbs
CHANGED
@@ -20,6 +20,8 @@ module Aws::CloudHSMV2
|
|
20
20
|
attr_accessor source_cluster: ::String
|
21
21
|
attr_accessor delete_timestamp: ::Time
|
22
22
|
attr_accessor tag_list: ::Array[Types::Tag]
|
23
|
+
attr_accessor hsm_type: ::String
|
24
|
+
attr_accessor mode: ("FIPS" | "NON_FIPS")
|
23
25
|
SENSITIVE: []
|
24
26
|
end
|
25
27
|
|
@@ -84,6 +86,7 @@ module Aws::CloudHSMV2
|
|
84
86
|
attr_accessor vpc_id: ::String
|
85
87
|
attr_accessor certificates: Types::Certificates
|
86
88
|
attr_accessor tag_list: ::Array[Types::Tag]
|
89
|
+
attr_accessor mode: ("FIPS" | "NON_FIPS")
|
87
90
|
SENSITIVE: []
|
88
91
|
end
|
89
92
|
|
@@ -105,6 +108,7 @@ module Aws::CloudHSMV2
|
|
105
108
|
attr_accessor source_backup_id: ::String
|
106
109
|
attr_accessor subnet_ids: ::Array[::String]
|
107
110
|
attr_accessor tag_list: ::Array[Types::Tag]
|
111
|
+
attr_accessor mode: ("FIPS" | "NON_FIPS")
|
108
112
|
SENSITIVE: []
|
109
113
|
end
|
110
114
|
|
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.58.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-06-13 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.197.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.197.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|