aws-sdk-cloudhsmv2 1.43.0 → 1.44.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d02a843ad3af830fb73280e14e0d213d74e59ebcf10fc4f9835dced15c14106e
4
- data.tar.gz: 8862d5d6d1ef89067295c1e02fb9e5245db2f7b67ef4807b3fd57551d2c6a993
3
+ metadata.gz: 013e5d379114da6549622e330fd0347871626bb51875091ac287f64dc2458c16
4
+ data.tar.gz: 345e9be9763a374cb19bc6d0242c5d80c9f00d406506d3d858b9700df8a6adb3
5
5
  SHA512:
6
- metadata.gz: ef4e401e2d4e40c523e065fab348bc39671ca6314854027ef42ac5ef89e9e04ded5260b8a1d707231d4abc789e52d3ad062463efb4f1718433524afbdd65c619
7
- data.tar.gz: 8d2b142779915755162ea060e2b924ef09f0634f6af90d6197de5eda740484db1195c46e9ff5a9d7d0dfc8f2ff0be0dd8d718d3fd695937d0e2c7d9da63ff6bb
6
+ metadata.gz: e0cd56f59722174a9f9252c867aab08ec84cf6f19a8c9f65d69abe074364f43073730bacf762b2bdfae59591cb548d4c2b7dc988c69e99e70ac9ec7a698c6255
7
+ data.tar.gz: 13bebc2160866e079982365eab45921fde49f08af7226b12a2304168b61b06bfb54bf67354432f27aecde22fa434df2471ec020814b27a2a0667d4bd6f24e3ae
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.44.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.43.0 (2022-10-25)
5
12
  ------------------
6
13
 
@@ -230,4 +237,4 @@ Unreleased Changes
230
237
  1.0.0.rc1 (2017-08-14)
231
238
  ------------------
232
239
 
233
- * Feature - Initial release of `aws-sdk-cloudhsmv2`.
240
+ * Feature - Initial release of `aws-sdk-cloudhsmv2`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.43.0
1
+ 1.44.0
@@ -1231,7 +1231,7 @@ module Aws::CloudHSMV2
1231
1231
  params: params,
1232
1232
  config: config)
1233
1233
  context[:gem_name] = 'aws-sdk-cloudhsmv2'
1234
- context[:gem_version] = '1.43.0'
1234
+ context[:gem_version] = '1.44.0'
1235
1235
  Seahorse::Client::Request.new(handlers, context)
1236
1236
  end
1237
1237
 
@@ -9,104 +9,43 @@
9
9
 
10
10
  module Aws::CloudHSMV2
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
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://cloudhsmv2-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
33
+ 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://cloudhsmv2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ 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://cloudhsmv2.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://cloudhsmv2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bW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ZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9j
100
- bG91ZGhzbXYyLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNr
101
- RG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5
102
- cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJE
103
- dWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBu
104
- b3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29u
105
- ZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vY2xvdWRo
106
- c212Mi57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJw
107
- cm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQi
108
- fV19XX0=
109
-
110
- JSON
111
50
  end
112
51
  end
@@ -88,14 +88,6 @@ module Aws::CloudHSMV2
88
88
 
89
89
  # A policy that defines the number of days to retain backups.
90
90
  #
91
- # @note When making an API call, you may pass BackupRetentionPolicy
92
- # data as a hash:
93
- #
94
- # {
95
- # type: "DAYS", # accepts DAYS
96
- # value: "BackupRetentionValue",
97
- # }
98
- #
99
91
  # @!attribute [rw] type
100
92
  # The type of backup retention policy. For the `DAYS` type, the value
101
93
  # is the number of days to retain backups.
@@ -323,20 +315,6 @@ module Aws::CloudHSMV2
323
315
  include Aws::Structure
324
316
  end
325
317
 
326
- # @note When making an API call, you may pass CopyBackupToRegionRequest
327
- # data as a hash:
328
- #
329
- # {
330
- # destination_region: "Region", # required
331
- # backup_id: "BackupId", # required
332
- # tag_list: [
333
- # {
334
- # key: "TagKey", # required
335
- # value: "TagValue", # required
336
- # },
337
- # ],
338
- # }
339
- #
340
318
  # @!attribute [rw] destination_region
341
319
  # The AWS region that will contain your copied CloudHSM cluster
342
320
  # backup.
@@ -382,25 +360,6 @@ module Aws::CloudHSMV2
382
360
  include Aws::Structure
383
361
  end
384
362
 
385
- # @note When making an API call, you may pass CreateClusterRequest
386
- # data as a hash:
387
- #
388
- # {
389
- # backup_retention_policy: {
390
- # type: "DAYS", # accepts DAYS
391
- # value: "BackupRetentionValue",
392
- # },
393
- # hsm_type: "HsmType", # required
394
- # source_backup_id: "BackupId",
395
- # subnet_ids: ["SubnetId"], # required
396
- # tag_list: [
397
- # {
398
- # key: "TagKey", # required
399
- # value: "TagValue", # required
400
- # },
401
- # ],
402
- # }
403
- #
404
363
  # @!attribute [rw] backup_retention_policy
405
364
  # A policy that defines how the service retains backups.
406
365
  # @return [Types::BackupRetentionPolicy]
@@ -454,15 +413,6 @@ module Aws::CloudHSMV2
454
413
  include Aws::Structure
455
414
  end
456
415
 
457
- # @note When making an API call, you may pass CreateHsmRequest
458
- # data as a hash:
459
- #
460
- # {
461
- # cluster_id: "ClusterId", # required
462
- # availability_zone: "ExternalAz", # required
463
- # ip_address: "IpAddress",
464
- # }
465
- #
466
416
  # @!attribute [rw] cluster_id
467
417
  # The identifier (ID) of the HSM's cluster. To find the cluster ID,
468
418
  # use DescribeClusters.
@@ -502,13 +452,6 @@ module Aws::CloudHSMV2
502
452
  include Aws::Structure
503
453
  end
504
454
 
505
- # @note When making an API call, you may pass DeleteBackupRequest
506
- # data as a hash:
507
- #
508
- # {
509
- # backup_id: "BackupId", # required
510
- # }
511
- #
512
455
  # @!attribute [rw] backup_id
513
456
  # The ID of the backup to be deleted. To find the ID of a backup, use
514
457
  # the DescribeBackups operation.
@@ -534,13 +477,6 @@ module Aws::CloudHSMV2
534
477
  include Aws::Structure
535
478
  end
536
479
 
537
- # @note When making an API call, you may pass DeleteClusterRequest
538
- # data as a hash:
539
- #
540
- # {
541
- # cluster_id: "ClusterId", # required
542
- # }
543
- #
544
480
  # @!attribute [rw] cluster_id
545
481
  # The identifier (ID) of the cluster that you are deleting. To find
546
482
  # the cluster ID, use DescribeClusters.
@@ -566,16 +502,6 @@ module Aws::CloudHSMV2
566
502
  include Aws::Structure
567
503
  end
568
504
 
569
- # @note When making an API call, you may pass DeleteHsmRequest
570
- # data as a hash:
571
- #
572
- # {
573
- # cluster_id: "ClusterId", # required
574
- # hsm_id: "HsmId",
575
- # eni_id: "EniId",
576
- # eni_ip: "IpAddress",
577
- # }
578
- #
579
505
  # @!attribute [rw] cluster_id
580
506
  # The identifier (ID) of the cluster that contains the HSM that you
581
507
  # are deleting.
@@ -618,18 +544,6 @@ module Aws::CloudHSMV2
618
544
  include Aws::Structure
619
545
  end
620
546
 
621
- # @note When making an API call, you may pass DescribeBackupsRequest
622
- # data as a hash:
623
- #
624
- # {
625
- # next_token: "NextToken",
626
- # max_results: 1,
627
- # filters: {
628
- # "Field" => ["String"],
629
- # },
630
- # sort_ascending: false,
631
- # }
632
- #
633
547
  # @!attribute [rw] next_token
634
548
  # The `NextToken` value that you received in the previous response.
635
549
  # Use this value to get more backups.
@@ -699,17 +613,6 @@ module Aws::CloudHSMV2
699
613
  include Aws::Structure
700
614
  end
701
615
 
702
- # @note When making an API call, you may pass DescribeClustersRequest
703
- # data as a hash:
704
- #
705
- # {
706
- # filters: {
707
- # "Field" => ["String"],
708
- # },
709
- # next_token: "NextToken",
710
- # max_results: 1,
711
- # }
712
- #
713
616
  # @!attribute [rw] filters
714
617
  # One or more filters to limit the items returned in the response.
715
618
  #
@@ -847,15 +750,6 @@ module Aws::CloudHSMV2
847
750
  include Aws::Structure
848
751
  end
849
752
 
850
- # @note When making an API call, you may pass InitializeClusterRequest
851
- # data as a hash:
852
- #
853
- # {
854
- # cluster_id: "ClusterId", # required
855
- # signed_cert: "Cert", # required
856
- # trust_anchor: "Cert", # required
857
- # }
858
- #
859
753
  # @!attribute [rw] cluster_id
860
754
  # The identifier (ID) of the cluster that you are claiming. To find
861
755
  # the cluster ID, use DescribeClusters.
@@ -903,15 +797,6 @@ module Aws::CloudHSMV2
903
797
  include Aws::Structure
904
798
  end
905
799
 
906
- # @note When making an API call, you may pass ListTagsRequest
907
- # data as a hash:
908
- #
909
- # {
910
- # resource_id: "ResourceId", # required
911
- # next_token: "NextToken",
912
- # max_results: 1,
913
- # }
914
- #
915
800
  # @!attribute [rw] resource_id
916
801
  # The cluster identifier (ID) for the cluster whose tags you are
917
802
  # getting. To find the cluster ID, use DescribeClusters.
@@ -957,14 +842,6 @@ module Aws::CloudHSMV2
957
842
  include Aws::Structure
958
843
  end
959
844
 
960
- # @note When making an API call, you may pass ModifyBackupAttributesRequest
961
- # data as a hash:
962
- #
963
- # {
964
- # backup_id: "BackupId", # required
965
- # never_expires: false, # required
966
- # }
967
- #
968
845
  # @!attribute [rw] backup_id
969
846
  # The identifier (ID) of the backup to modify. To find the ID of a
970
847
  # backup, use the DescribeBackups operation.
@@ -1004,17 +881,6 @@ module Aws::CloudHSMV2
1004
881
  include Aws::Structure
1005
882
  end
1006
883
 
1007
- # @note When making an API call, you may pass ModifyClusterRequest
1008
- # data as a hash:
1009
- #
1010
- # {
1011
- # backup_retention_policy: { # required
1012
- # type: "DAYS", # accepts DAYS
1013
- # value: "BackupRetentionValue",
1014
- # },
1015
- # cluster_id: "ClusterId", # required
1016
- # }
1017
- #
1018
884
  # @!attribute [rw] backup_retention_policy
1019
885
  # A policy that defines how the service retains backups.
1020
886
  # @return [Types::BackupRetentionPolicy]
@@ -1045,13 +911,6 @@ module Aws::CloudHSMV2
1045
911
  include Aws::Structure
1046
912
  end
1047
913
 
1048
- # @note When making an API call, you may pass RestoreBackupRequest
1049
- # data as a hash:
1050
- #
1051
- # {
1052
- # backup_id: "BackupId", # required
1053
- # }
1054
- #
1055
914
  # @!attribute [rw] backup_id
1056
915
  # The ID of the backup to be restored. To find the ID of a backup, use
1057
916
  # the DescribeBackups operation.
@@ -1079,14 +938,6 @@ module Aws::CloudHSMV2
1079
938
 
1080
939
  # Contains a tag. A tag is a key-value pair.
1081
940
  #
1082
- # @note When making an API call, you may pass Tag
1083
- # data as a hash:
1084
- #
1085
- # {
1086
- # key: "TagKey", # required
1087
- # value: "TagValue", # required
1088
- # }
1089
- #
1090
941
  # @!attribute [rw] key
1091
942
  # The key of the tag.
1092
943
  # @return [String]
@@ -1104,19 +955,6 @@ module Aws::CloudHSMV2
1104
955
  include Aws::Structure
1105
956
  end
1106
957
 
1107
- # @note When making an API call, you may pass TagResourceRequest
1108
- # data as a hash:
1109
- #
1110
- # {
1111
- # resource_id: "ResourceId", # required
1112
- # tag_list: [ # required
1113
- # {
1114
- # key: "TagKey", # required
1115
- # value: "TagValue", # required
1116
- # },
1117
- # ],
1118
- # }
1119
- #
1120
958
  # @!attribute [rw] resource_id
1121
959
  # The cluster identifier (ID) for the cluster that you are tagging. To
1122
960
  # find the cluster ID, use DescribeClusters.
@@ -1139,14 +977,6 @@ module Aws::CloudHSMV2
1139
977
  #
1140
978
  class TagResourceResponse < Aws::EmptyStructure; end
1141
979
 
1142
- # @note When making an API call, you may pass UntagResourceRequest
1143
- # data as a hash:
1144
- #
1145
- # {
1146
- # resource_id: "ResourceId", # required
1147
- # tag_key_list: ["TagKey"], # required
1148
- # }
1149
- #
1150
980
  # @!attribute [rw] resource_id
1151
981
  # The cluster identifier (ID) for the cluster whose tags you are
1152
982
  # removing. To find the cluster ID, use DescribeClusters.
@@ -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.43.0'
55
+ GEM_VERSION = '1.44.0'
56
56
 
57
57
  end
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.43.0
4
+ version: 1.44.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: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core