aws-sdk-signer 1.39.0 → 1.40.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: ef17ca604a08e51397b8e8c06bbbbfec02c075d66eaab451e49b873474c7d07f
4
- data.tar.gz: 3e7a1396ef8f7bdfae6964b362bd5dc607db4323cb997561587aef5a92e5816c
3
+ metadata.gz: 9aad46fb4c5fdaaee35e3ccb0c330595b8534c2fe14e8c6fb44ff81ec130ad7a
4
+ data.tar.gz: d81a3eab098de28c0ecc362ff15c21e2626faeca31d3aff417cc603778d9d62b
5
5
  SHA512:
6
- metadata.gz: 2e929e584cb95d3f42e8cb23a39ffa125603f22276be502a387bc243630f76a1f7f98974f2f6a55aab5c81d824dda4748cd10e6aebec6bc18398d2336354531a
7
- data.tar.gz: ac8563b745d7b4836103b6047ce2f319853dc4933a812095d5a6656a63a133dc88d7318cf3e03090f1924e38e31a0d15be7040e9319e6fd34073b2409d17e94a
6
+ metadata.gz: b82bd7580bce30eb1fd9f8b215ad797c1733cb5b014d54cce59e44245d98498111a33e5df081ce1c6feaf1938e21d000fcd439b7fb88f6c52f5a316d24d1e3cf
7
+ data.tar.gz: 8b353d8317fe373bef89d28660b46858e6410a13cd5196613e211f0951de10e55928a0f6c27cd8500c7058fccb3186ac8931d88d758f37192b5b98609ceabed1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.40.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.39.0 (2022-10-25)
5
12
  ------------------
6
13
 
@@ -207,4 +214,4 @@ Unreleased Changes
207
214
  1.0.0 (2018-08-27)
208
215
  ------------------
209
216
 
210
- * Feature - Initial release of `aws-sdk-signer`.
217
+ * Feature - Initial release of `aws-sdk-signer`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.39.0
1
+ 1.40.0
@@ -1306,7 +1306,7 @@ module Aws::Signer
1306
1306
  params: params,
1307
1307
  config: config)
1308
1308
  context[:gem_name] = 'aws-sdk-signer'
1309
- context[:gem_version] = '1.39.0'
1309
+ context[:gem_version] = '1.40.0'
1310
1310
  Seahorse::Client::Request.new(handlers, context)
1311
1311
  end
1312
1312
 
@@ -9,102 +9,43 @@
9
9
 
10
10
  module Aws::Signer
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://signer-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://signer-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://signer.#{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://signer.#{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
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nI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lbmRw
101
- b2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sg
102
- aXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9y
103
- dCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6
104
- W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vc2lnbmVyLntSZWdpb259
105
- LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9
106
- LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
107
-
108
- JSON
109
50
  end
110
51
  end
@@ -27,18 +27,6 @@ module Aws::Signer
27
27
  include Aws::Structure
28
28
  end
29
29
 
30
- # @note When making an API call, you may pass AddProfilePermissionRequest
31
- # data as a hash:
32
- #
33
- # {
34
- # profile_name: "ProfileName", # required
35
- # profile_version: "ProfileVersion",
36
- # action: "String", # required
37
- # principal: "String", # required
38
- # revision_id: "String",
39
- # statement_id: "String", # required
40
- # }
41
- #
42
30
  # @!attribute [rw] profile_name
43
31
  # The human-readable name of the signing profile.
44
32
  # @return [String]
@@ -109,13 +97,6 @@ module Aws::Signer
109
97
  include Aws::Structure
110
98
  end
111
99
 
112
- # @note When making an API call, you may pass CancelSigningProfileRequest
113
- # data as a hash:
114
- #
115
- # {
116
- # profile_name: "ProfileName", # required
117
- # }
118
- #
119
100
  # @!attribute [rw] profile_name
120
101
  # The name of the signing profile to be canceled.
121
102
  # @return [String]
@@ -145,13 +126,6 @@ module Aws::Signer
145
126
  include Aws::Structure
146
127
  end
147
128
 
148
- # @note When making an API call, you may pass DescribeSigningJobRequest
149
- # data as a hash:
150
- #
151
- # {
152
- # job_id: "JobId", # required
153
- # }
154
- #
155
129
  # @!attribute [rw] job_id
156
130
  # The ID of the signing job on input.
157
131
  # @return [String]
@@ -278,16 +252,6 @@ module Aws::Signer
278
252
  # Points to an `S3Destination` object that contains information about
279
253
  # your S3 bucket.
280
254
  #
281
- # @note When making an API call, you may pass Destination
282
- # data as a hash:
283
- #
284
- # {
285
- # s3: {
286
- # bucket_name: "BucketName",
287
- # prefix: "Prefix",
288
- # },
289
- # }
290
- #
291
255
  # @!attribute [rw] s3
292
256
  # The `S3Destination` object.
293
257
  # @return [Types::S3Destination]
@@ -321,13 +285,6 @@ module Aws::Signer
321
285
  include Aws::Structure
322
286
  end
323
287
 
324
- # @note When making an API call, you may pass GetSigningPlatformRequest
325
- # data as a hash:
326
- #
327
- # {
328
- # platform_id: "PlatformId", # required
329
- # }
330
- #
331
288
  # @!attribute [rw] platform_id
332
289
  # The ID of the target signing platform.
333
290
  # @return [String]
@@ -394,14 +351,6 @@ module Aws::Signer
394
351
  include Aws::Structure
395
352
  end
396
353
 
397
- # @note When making an API call, you may pass GetSigningProfileRequest
398
- # data as a hash:
399
- #
400
- # {
401
- # profile_name: "ProfileName", # required
402
- # profile_owner: "AccountId",
403
- # }
404
- #
405
354
  # @!attribute [rw] profile_name
406
355
  # The name of the target signing profile.
407
356
  # @return [String]
@@ -536,14 +485,6 @@ module Aws::Signer
536
485
  include Aws::Structure
537
486
  end
538
487
 
539
- # @note When making an API call, you may pass ListProfilePermissionsRequest
540
- # data as a hash:
541
- #
542
- # {
543
- # profile_name: "ProfileName", # required
544
- # next_token: "String",
545
- # }
546
- #
547
488
  # @!attribute [rw] profile_name
548
489
  # Name of the signing profile containing the cross-account
549
490
  # permissions.
@@ -590,21 +531,6 @@ module Aws::Signer
590
531
  include Aws::Structure
591
532
  end
592
533
 
593
- # @note When making an API call, you may pass ListSigningJobsRequest
594
- # data as a hash:
595
- #
596
- # {
597
- # status: "InProgress", # accepts InProgress, Failed, Succeeded
598
- # platform_id: "PlatformId",
599
- # requested_by: "RequestedBy",
600
- # max_results: 1,
601
- # next_token: "NextToken",
602
- # is_revoked: false,
603
- # signature_expires_before: Time.now,
604
- # signature_expires_after: Time.now,
605
- # job_invoker: "AccountId",
606
- # }
607
- #
608
534
  # @!attribute [rw] status
609
535
  # A status value with which to filter your results.
610
536
  # @return [String]
@@ -685,17 +611,6 @@ module Aws::Signer
685
611
  include Aws::Structure
686
612
  end
687
613
 
688
- # @note When making an API call, you may pass ListSigningPlatformsRequest
689
- # data as a hash:
690
- #
691
- # {
692
- # category: "String",
693
- # partner: "String",
694
- # target: "String",
695
- # max_results: 1,
696
- # next_token: "String",
697
- # }
698
- #
699
614
  # @!attribute [rw] category
700
615
  # The category type of a signing platform.
701
616
  # @return [String]
@@ -748,17 +663,6 @@ module Aws::Signer
748
663
  include Aws::Structure
749
664
  end
750
665
 
751
- # @note When making an API call, you may pass ListSigningProfilesRequest
752
- # data as a hash:
753
- #
754
- # {
755
- # include_canceled: false,
756
- # max_results: 1,
757
- # next_token: "NextToken",
758
- # platform_id: "PlatformId",
759
- # statuses: ["Active"], # accepts Active, Canceled, Revoked
760
- # }
761
- #
762
666
  # @!attribute [rw] include_canceled
763
667
  # Designates whether to include profiles with the status of
764
668
  # `CANCELED`.
@@ -816,13 +720,6 @@ module Aws::Signer
816
720
  include Aws::Structure
817
721
  end
818
722
 
819
- # @note When making an API call, you may pass ListTagsForResourceRequest
820
- # data as a hash:
821
- #
822
- # {
823
- # resource_arn: "String", # required
824
- # }
825
- #
826
723
  # @!attribute [rw] resource_arn
827
724
  # The Amazon Resource Name (ARN) for the signing profile.
828
725
  # @return [String]
@@ -893,34 +790,6 @@ module Aws::Signer
893
790
  include Aws::Structure
894
791
  end
895
792
 
896
- # @note When making an API call, you may pass PutSigningProfileRequest
897
- # data as a hash:
898
- #
899
- # {
900
- # profile_name: "ProfileName", # required
901
- # signing_material: {
902
- # certificate_arn: "CertificateArn", # required
903
- # },
904
- # signature_validity_period: {
905
- # value: 1,
906
- # type: "DAYS", # accepts DAYS, MONTHS, YEARS
907
- # },
908
- # platform_id: "PlatformId", # required
909
- # overrides: {
910
- # signing_configuration: {
911
- # encryption_algorithm: "RSA", # accepts RSA, ECDSA
912
- # hash_algorithm: "SHA1", # accepts SHA1, SHA256
913
- # },
914
- # signing_image_format: "JSON", # accepts JSON, JSONEmbedded, JSONDetached
915
- # },
916
- # signing_parameters: {
917
- # "SigningParameterKey" => "SigningParameterValue",
918
- # },
919
- # tags: {
920
- # "TagKey" => "TagValue",
921
- # },
922
- # }
923
- #
924
793
  # @!attribute [rw] profile_name
925
794
  # The name of the signing profile to be created.
926
795
  # @return [String]
@@ -992,15 +861,6 @@ module Aws::Signer
992
861
  include Aws::Structure
993
862
  end
994
863
 
995
- # @note When making an API call, you may pass RemoveProfilePermissionRequest
996
- # data as a hash:
997
- #
998
- # {
999
- # profile_name: "ProfileName", # required
1000
- # revision_id: "String", # required
1001
- # statement_id: "String", # required
1002
- # }
1003
- #
1004
864
  # @!attribute [rw] profile_name
1005
865
  # A human-readable name for the signing profile with permissions to be
1006
866
  # removed.
@@ -1054,15 +914,6 @@ module Aws::Signer
1054
914
  include Aws::Structure
1055
915
  end
1056
916
 
1057
- # @note When making an API call, you may pass RevokeSignatureRequest
1058
- # data as a hash:
1059
- #
1060
- # {
1061
- # job_id: "JobId", # required
1062
- # job_owner: "AccountId",
1063
- # reason: "RevocationReasonString", # required
1064
- # }
1065
- #
1066
917
  # @!attribute [rw] job_id
1067
918
  # ID of the signing job to be revoked.
1068
919
  # @return [String]
@@ -1085,16 +936,6 @@ module Aws::Signer
1085
936
  include Aws::Structure
1086
937
  end
1087
938
 
1088
- # @note When making an API call, you may pass RevokeSigningProfileRequest
1089
- # data as a hash:
1090
- #
1091
- # {
1092
- # profile_name: "ProfileName", # required
1093
- # profile_version: "ProfileVersion", # required
1094
- # reason: "RevocationReasonString", # required
1095
- # effective_time: Time.now, # required
1096
- # }
1097
- #
1098
939
  # @!attribute [rw] profile_name
1099
940
  # The name of the signing profile to be revoked.
1100
941
  # @return [String]
@@ -1127,14 +968,6 @@ module Aws::Signer
1127
968
  # The name and prefix of the S3 bucket where code signing saves your
1128
969
  # signed objects.
1129
970
  #
1130
- # @note When making an API call, you may pass S3Destination
1131
- # data as a hash:
1132
- #
1133
- # {
1134
- # bucket_name: "BucketName",
1135
- # prefix: "Prefix",
1136
- # }
1137
- #
1138
971
  # @!attribute [rw] bucket_name
1139
972
  # Name of the S3 bucket.
1140
973
  # @return [String]
@@ -1176,15 +1009,6 @@ module Aws::Signer
1176
1009
 
1177
1010
  # Information about the S3 bucket where you saved your unsigned code.
1178
1011
  #
1179
- # @note When making an API call, you may pass S3Source
1180
- # data as a hash:
1181
- #
1182
- # {
1183
- # bucket_name: "BucketName", # required
1184
- # key: "Key", # required
1185
- # version: "Version", # required
1186
- # }
1187
- #
1188
1012
  # @!attribute [rw] bucket_name
1189
1013
  # Name of the S3 bucket.
1190
1014
  # @return [String]
@@ -1226,14 +1050,6 @@ module Aws::Signer
1226
1050
 
1227
1051
  # The validity period for a signing job.
1228
1052
  #
1229
- # @note When making an API call, you may pass SignatureValidityPeriod
1230
- # data as a hash:
1231
- #
1232
- # {
1233
- # value: 1,
1234
- # type: "DAYS", # accepts DAYS, MONTHS, YEARS
1235
- # }
1236
- #
1237
1053
  # @!attribute [rw] value
1238
1054
  # The numerical value of the time unit for signature validity.
1239
1055
  # @return [Integer]
@@ -1290,14 +1106,6 @@ module Aws::Signer
1290
1106
  # A signing configuration that overrides the default encryption or hash
1291
1107
  # algorithm of a signing job.
1292
1108
  #
1293
- # @note When making an API call, you may pass SigningConfigurationOverrides
1294
- # data as a hash:
1295
- #
1296
- # {
1297
- # encryption_algorithm: "RSA", # accepts RSA, ECDSA
1298
- # hash_algorithm: "SHA1", # accepts SHA1, SHA256
1299
- # }
1300
- #
1301
1109
  # @!attribute [rw] encryption_algorithm
1302
1110
  # A specified override of the default encryption algorithm that is
1303
1111
  # used in a code signing job.
@@ -1444,13 +1252,6 @@ module Aws::Signer
1444
1252
 
1445
1253
  # The ACM certificate that is used to sign your code.
1446
1254
  #
1447
- # @note When making an API call, you may pass SigningMaterial
1448
- # data as a hash:
1449
- #
1450
- # {
1451
- # certificate_arn: "CertificateArn", # required
1452
- # }
1453
- #
1454
1255
  # @!attribute [rw] certificate_arn
1455
1256
  # The Amazon Resource Name (ARN) of the certificates that is used to
1456
1257
  # sign your code.
@@ -1525,17 +1326,6 @@ module Aws::Signer
1525
1326
  # Any overrides that are applied to the signing configuration of a code
1526
1327
  # signing platform.
1527
1328
  #
1528
- # @note When making an API call, you may pass SigningPlatformOverrides
1529
- # data as a hash:
1530
- #
1531
- # {
1532
- # signing_configuration: {
1533
- # encryption_algorithm: "RSA", # accepts RSA, ECDSA
1534
- # hash_algorithm: "SHA1", # accepts SHA1, SHA256
1535
- # },
1536
- # signing_image_format: "JSON", # accepts JSON, JSONEmbedded, JSONDetached
1537
- # }
1538
- #
1539
1329
  # @!attribute [rw] signing_configuration
1540
1330
  # A signing configuration that overrides the default encryption or
1541
1331
  # hash algorithm of a signing job.
@@ -1653,17 +1443,6 @@ module Aws::Signer
1653
1443
  # An `S3Source` object that contains information about the S3 bucket
1654
1444
  # where you saved your unsigned code.
1655
1445
  #
1656
- # @note When making an API call, you may pass Source
1657
- # data as a hash:
1658
- #
1659
- # {
1660
- # s3: {
1661
- # bucket_name: "BucketName", # required
1662
- # key: "Key", # required
1663
- # version: "Version", # required
1664
- # },
1665
- # }
1666
- #
1667
1446
  # @!attribute [rw] s3
1668
1447
  # The `S3Source` object.
1669
1448
  # @return [Types::S3Source]
@@ -1676,28 +1455,6 @@ module Aws::Signer
1676
1455
  include Aws::Structure
1677
1456
  end
1678
1457
 
1679
- # @note When making an API call, you may pass StartSigningJobRequest
1680
- # data as a hash:
1681
- #
1682
- # {
1683
- # source: { # required
1684
- # s3: {
1685
- # bucket_name: "BucketName", # required
1686
- # key: "Key", # required
1687
- # version: "Version", # required
1688
- # },
1689
- # },
1690
- # destination: { # required
1691
- # s3: {
1692
- # bucket_name: "BucketName",
1693
- # prefix: "Prefix",
1694
- # },
1695
- # },
1696
- # profile_name: "ProfileName", # required
1697
- # client_request_token: "ClientRequestToken", # required
1698
- # profile_owner: "AccountId",
1699
- # }
1700
- #
1701
1458
  # @!attribute [rw] source
1702
1459
  # The S3 bucket that contains the object to sign or a BLOB that
1703
1460
  # contains your raw code.
@@ -1754,16 +1511,6 @@ module Aws::Signer
1754
1511
  include Aws::Structure
1755
1512
  end
1756
1513
 
1757
- # @note When making an API call, you may pass TagResourceRequest
1758
- # data as a hash:
1759
- #
1760
- # {
1761
- # resource_arn: "String", # required
1762
- # tags: { # required
1763
- # "TagKey" => "TagValue",
1764
- # },
1765
- # }
1766
- #
1767
1514
  # @!attribute [rw] resource_arn
1768
1515
  # The Amazon Resource Name (ARN) for the signing profile.
1769
1516
  # @return [String]
@@ -1823,14 +1570,6 @@ module Aws::Signer
1823
1570
  include Aws::Structure
1824
1571
  end
1825
1572
 
1826
- # @note When making an API call, you may pass UntagResourceRequest
1827
- # data as a hash:
1828
- #
1829
- # {
1830
- # resource_arn: "String", # required
1831
- # tag_keys: ["TagKey"], # required
1832
- # }
1833
- #
1834
1573
  # @!attribute [rw] resource_arn
1835
1574
  # The Amazon Resource Name (ARN) for the signing profile.
1836
1575
  # @return [String]
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-signer/customizations'
53
53
  # @!group service
54
54
  module Aws::Signer
55
55
 
56
- GEM_VERSION = '1.39.0'
56
+ GEM_VERSION = '1.40.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-signer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.39.0
4
+ version: 1.40.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