aws-sdk-cloudhsm 1.46.0 → 1.48.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: b38da40df64699393059d67af95cd2668ce925102c6424c3c903c4dd5ba8eca9
4
- data.tar.gz: 83e5c871dac5767c890d1c981a0947af3a0dcac27e97210dbbcb37458b1231e7
3
+ metadata.gz: 27bb1468c2052ca6cc9f2f22bd8f8ca8b8b9c11b644adababf59153f91b54dc2
4
+ data.tar.gz: 2c20d4e0f5a4d1a70334b7bdee83cb03f490b601bb100f29855cb5c89f4810e3
5
5
  SHA512:
6
- metadata.gz: 8ab445b035fe28cc7226820b8d62ad97a2458f1d6034465f90130f9bcd3a7c65c3718ae08295802e8fbd95c10a97bc3e296fdfdb183c5f36cc184a18cc12b105
7
- data.tar.gz: 29c1233eb55497aa487eb8734116c50a864d17c03f621d273900879868bb937972890275612dea8270207a114b0071ed5acc00968513f7aabdbeb4cb11b343d4
6
+ metadata.gz: 2967a90004bcf491273ec587a90748a8763bdf6bd42e84f79450b0307d47f52af2445cc887a36aa416d802f180dd436214e14aea9e8da6dd50f94840f728cacc
7
+ data.tar.gz: e9acb382bb2ccb0ac91c3957d26576154d4df409ac620021a99394ab92a5e3d437692b72e77a7c31fcff39cd6259e1c64a37172476ed5c55b28e5e9551d9eef3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.48.0 (2023-09-27)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.47.0 (2023-08-31)
10
+ ------------------
11
+
12
+ * Feature - Deprecating CloudHSM Classic API Service.
13
+
4
14
  1.46.0 (2023-07-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.0
1
+ 1.48.0
@@ -1577,7 +1577,7 @@ module Aws::CloudHSM
1577
1577
  params: params,
1578
1578
  config: config)
1579
1579
  context[:gem_name] = 'aws-sdk-cloudhsm'
1580
- context[:gem_version] = '1.46.0'
1580
+ context[:gem_version] = '1.48.0'
1581
1581
  Seahorse::Client::Request.new(handlers, context)
1582
1582
  end
1583
1583
 
@@ -324,6 +324,7 @@ module Aws::CloudHSM
324
324
  o.name = "AddTagsToResource"
325
325
  o.http_method = "POST"
326
326
  o.http_request_uri = "/"
327
+ o.deprecated = true
327
328
  o.input = Shapes::ShapeRef.new(shape: AddTagsToResourceRequest)
328
329
  o.output = Shapes::ShapeRef.new(shape: AddTagsToResourceResponse)
329
330
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -335,6 +336,7 @@ module Aws::CloudHSM
335
336
  o.name = "CreateHapg"
336
337
  o.http_method = "POST"
337
338
  o.http_request_uri = "/"
339
+ o.deprecated = true
338
340
  o.input = Shapes::ShapeRef.new(shape: CreateHapgRequest)
339
341
  o.output = Shapes::ShapeRef.new(shape: CreateHapgResponse)
340
342
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -346,6 +348,7 @@ module Aws::CloudHSM
346
348
  o.name = "CreateHsm"
347
349
  o.http_method = "POST"
348
350
  o.http_request_uri = "/"
351
+ o.deprecated = true
349
352
  o.input = Shapes::ShapeRef.new(shape: CreateHsmRequest)
350
353
  o.output = Shapes::ShapeRef.new(shape: CreateHsmResponse)
351
354
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -357,6 +360,7 @@ module Aws::CloudHSM
357
360
  o.name = "CreateLunaClient"
358
361
  o.http_method = "POST"
359
362
  o.http_request_uri = "/"
363
+ o.deprecated = true
360
364
  o.input = Shapes::ShapeRef.new(shape: CreateLunaClientRequest)
361
365
  o.output = Shapes::ShapeRef.new(shape: CreateLunaClientResponse)
362
366
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -368,6 +372,7 @@ module Aws::CloudHSM
368
372
  o.name = "DeleteHapg"
369
373
  o.http_method = "POST"
370
374
  o.http_request_uri = "/"
375
+ o.deprecated = true
371
376
  o.input = Shapes::ShapeRef.new(shape: DeleteHapgRequest)
372
377
  o.output = Shapes::ShapeRef.new(shape: DeleteHapgResponse)
373
378
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -379,6 +384,7 @@ module Aws::CloudHSM
379
384
  o.name = "DeleteHsm"
380
385
  o.http_method = "POST"
381
386
  o.http_request_uri = "/"
387
+ o.deprecated = true
382
388
  o.input = Shapes::ShapeRef.new(shape: DeleteHsmRequest)
383
389
  o.output = Shapes::ShapeRef.new(shape: DeleteHsmResponse)
384
390
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -390,6 +396,7 @@ module Aws::CloudHSM
390
396
  o.name = "DeleteLunaClient"
391
397
  o.http_method = "POST"
392
398
  o.http_request_uri = "/"
399
+ o.deprecated = true
393
400
  o.input = Shapes::ShapeRef.new(shape: DeleteLunaClientRequest)
394
401
  o.output = Shapes::ShapeRef.new(shape: DeleteLunaClientResponse)
395
402
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -401,6 +408,7 @@ module Aws::CloudHSM
401
408
  o.name = "DescribeHapg"
402
409
  o.http_method = "POST"
403
410
  o.http_request_uri = "/"
411
+ o.deprecated = true
404
412
  o.input = Shapes::ShapeRef.new(shape: DescribeHapgRequest)
405
413
  o.output = Shapes::ShapeRef.new(shape: DescribeHapgResponse)
406
414
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -412,6 +420,7 @@ module Aws::CloudHSM
412
420
  o.name = "DescribeHsm"
413
421
  o.http_method = "POST"
414
422
  o.http_request_uri = "/"
423
+ o.deprecated = true
415
424
  o.input = Shapes::ShapeRef.new(shape: DescribeHsmRequest)
416
425
  o.output = Shapes::ShapeRef.new(shape: DescribeHsmResponse)
417
426
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -423,6 +432,7 @@ module Aws::CloudHSM
423
432
  o.name = "DescribeLunaClient"
424
433
  o.http_method = "POST"
425
434
  o.http_request_uri = "/"
435
+ o.deprecated = true
426
436
  o.input = Shapes::ShapeRef.new(shape: DescribeLunaClientRequest)
427
437
  o.output = Shapes::ShapeRef.new(shape: DescribeLunaClientResponse)
428
438
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -434,6 +444,7 @@ module Aws::CloudHSM
434
444
  o.name = "GetConfig"
435
445
  o.http_method = "POST"
436
446
  o.http_request_uri = "/"
447
+ o.deprecated = true
437
448
  o.input = Shapes::ShapeRef.new(shape: GetConfigRequest)
438
449
  o.output = Shapes::ShapeRef.new(shape: GetConfigResponse)
439
450
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -445,6 +456,7 @@ module Aws::CloudHSM
445
456
  o.name = "ListAvailableZones"
446
457
  o.http_method = "POST"
447
458
  o.http_request_uri = "/"
459
+ o.deprecated = true
448
460
  o.input = Shapes::ShapeRef.new(shape: ListAvailableZonesRequest)
449
461
  o.output = Shapes::ShapeRef.new(shape: ListAvailableZonesResponse)
450
462
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -456,6 +468,7 @@ module Aws::CloudHSM
456
468
  o.name = "ListHapgs"
457
469
  o.http_method = "POST"
458
470
  o.http_request_uri = "/"
471
+ o.deprecated = true
459
472
  o.input = Shapes::ShapeRef.new(shape: ListHapgsRequest)
460
473
  o.output = Shapes::ShapeRef.new(shape: ListHapgsResponse)
461
474
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -467,6 +480,7 @@ module Aws::CloudHSM
467
480
  o.name = "ListHsms"
468
481
  o.http_method = "POST"
469
482
  o.http_request_uri = "/"
483
+ o.deprecated = true
470
484
  o.input = Shapes::ShapeRef.new(shape: ListHsmsRequest)
471
485
  o.output = Shapes::ShapeRef.new(shape: ListHsmsResponse)
472
486
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -478,6 +492,7 @@ module Aws::CloudHSM
478
492
  o.name = "ListLunaClients"
479
493
  o.http_method = "POST"
480
494
  o.http_request_uri = "/"
495
+ o.deprecated = true
481
496
  o.input = Shapes::ShapeRef.new(shape: ListLunaClientsRequest)
482
497
  o.output = Shapes::ShapeRef.new(shape: ListLunaClientsResponse)
483
498
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -489,6 +504,7 @@ module Aws::CloudHSM
489
504
  o.name = "ListTagsForResource"
490
505
  o.http_method = "POST"
491
506
  o.http_request_uri = "/"
507
+ o.deprecated = true
492
508
  o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
493
509
  o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
494
510
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -500,6 +516,7 @@ module Aws::CloudHSM
500
516
  o.name = "ModifyHapg"
501
517
  o.http_method = "POST"
502
518
  o.http_request_uri = "/"
519
+ o.deprecated = true
503
520
  o.input = Shapes::ShapeRef.new(shape: ModifyHapgRequest)
504
521
  o.output = Shapes::ShapeRef.new(shape: ModifyHapgResponse)
505
522
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -511,6 +528,7 @@ module Aws::CloudHSM
511
528
  o.name = "ModifyHsm"
512
529
  o.http_method = "POST"
513
530
  o.http_request_uri = "/"
531
+ o.deprecated = true
514
532
  o.input = Shapes::ShapeRef.new(shape: ModifyHsmRequest)
515
533
  o.output = Shapes::ShapeRef.new(shape: ModifyHsmResponse)
516
534
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -522,6 +540,7 @@ module Aws::CloudHSM
522
540
  o.name = "ModifyLunaClient"
523
541
  o.http_method = "POST"
524
542
  o.http_request_uri = "/"
543
+ o.deprecated = true
525
544
  o.input = Shapes::ShapeRef.new(shape: ModifyLunaClientRequest)
526
545
  o.output = Shapes::ShapeRef.new(shape: ModifyLunaClientResponse)
527
546
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -531,6 +550,7 @@ module Aws::CloudHSM
531
550
  o.name = "RemoveTagsFromResource"
532
551
  o.http_method = "POST"
533
552
  o.http_request_uri = "/"
553
+ o.deprecated = true
534
554
  o.input = Shapes::ShapeRef.new(shape: RemoveTagsFromResourceRequest)
535
555
  o.output = Shapes::ShapeRef.new(shape: RemoveTagsFromResourceResponse)
536
556
  o.errors << Shapes::ShapeRef.new(shape: CloudHsmServiceException)
@@ -14,36 +14,39 @@ module Aws::CloudHSM
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://cloudhsm-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://cloudhsm-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://cloudhsm.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://cloudhsm-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
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"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://cloudhsm-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://cloudhsm.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://cloudhsm.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://cloudhsm.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cloudhsm/customizations'
52
52
  # @!group service
53
53
  module Aws::CloudHSM
54
54
 
55
- GEM_VERSION = '1.46.0'
55
+ GEM_VERSION = '1.48.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudhsm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.46.0
4
+ version: 1.48.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: 2023-07-11 00:00:00.000000000 Z
11
+ date: 2023-09-27 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.177.0
22
+ version: 3.184.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.177.0
32
+ version: 3.184.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement