aws-sdk-cloudhsmv2 1.57.0 → 1.58.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 545de350ce4f088bb6e66cf7579999345386670303812ad77c20d87b367fffc2
4
- data.tar.gz: 8553a5e0efb94beef01d8a32e0ab147e9936c1e28c087a1fe7bee1cc5f982a42
3
+ metadata.gz: bead461c91e087eac4d7c61fe1bb50330572a3374a865ece14b2060fa71d9d11
4
+ data.tar.gz: 841ae88af3d68821b7d791ed8b8f31b99c0758f1cce831aca24ead8873a4e7c3
5
5
  SHA512:
6
- metadata.gz: 2c03e2e5e1545fc90e479918772288e618584dfc513e7815cca5dc85dd8c2c58ae203087d10494e53a31cdbc7c9aec04c6a3829e331529b29134fe874fb672cb
7
- data.tar.gz: 795a0e3c037a1b14ff3491bb366ccf7895483606e46aedd2626047be0df6d568936a5c64863159c76bb2a0fa8a675188c7f28a5b8ef8009d5460ccabcca1548c
6
+ metadata.gz: 43721bbe506e6c226bf43ac3e878c0a83a6d529828990a97e0cd9faa38d5464b17c4bc5888ef5a64ab46b4e15fc2b7f72cec6bdc89b7ba49f91bf4ce6a609605
7
+ data.tar.gz: f56c367437259010f7612e6787d73cb99a779d46cea0449e310e6eb858b3df3f459a71e3f7baf610d36b46f0a6df6c8dd62039beb4f1ad9229571471a3e94629
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.57.0 (2024-06-05)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.57.0
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. Currently the only allowed
480
- # value is `hsm1.medium`.
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.57.0'
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?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
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. Currently the only allowed
369
- # value is `hsm1.medium`.
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cloudhsmv2/customizations'
52
52
  # @!group service
53
53
  module Aws::CloudHSMV2
54
54
 
55
- GEM_VERSION = '1.57.0'
55
+ GEM_VERSION = '1.58.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -108,7 +108,8 @@ module Aws
108
108
  key: ::String,
109
109
  value: ::String
110
110
  },
111
- ]
111
+ ],
112
+ ?mode: ("FIPS" | "NON_FIPS")
112
113
  ) -> _CreateClusterResponseSuccess
113
114
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterResponseSuccess
114
115
 
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.57.0
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-06-05 00:00:00.000000000 Z
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