aws-sdk-signer 1.46.0 → 1.48.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: 5e65096234e10d1c07f13ac6b0b63f0c2ed70de4a3836c3ec7fee59d52ff31c8
4
- data.tar.gz: e5cfde681e70ad922ba5ebbbfa9f1fc2c5245e505c6146c916d77c53aae087b8
3
+ metadata.gz: 66fb8c22715eab93b7147f680159d71bf2a04f09e77656711a0d747de6958e90
4
+ data.tar.gz: 8afddd2315d7eb19de94e8b0286d371b204b6b6ccd2a1b0b72009fdec9974c73
5
5
  SHA512:
6
- metadata.gz: 023ab5e5b9950fe56637976c1e5c332ceb2d27ca8228871f6b5e31e4c9b852a3500974cb06f6edd72f2bc6b2570af31b4bbb7995f4601d0372b5895cc0c87f82
7
- data.tar.gz: d570932eaf55cb1cd22da3e5c7f3fe67ca4014313a74bcc92ff6b3c297d84370980452f6543ddbb7d15ece9f008e890164a76d77afb2ce27728495c6779d43df
6
+ metadata.gz: e822a922d94aba27a047d30be62d07a1c6694195b045acf675e865414fb4d2de2c536dbb109f7bc7fb5a47ce95717bf95bb3ee7707af2950ed8e5e8f5e0c7d3e
7
+ data.tar.gz: da2d39e7f0303b61ff164f069189c58b30699560e96010007e33ae8c5c3848f147a552841b2fd964e4b22cb03eecc545f7c893a5116cc4f2e98d464eb55122d8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.48.0 (2023-11-14)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for AWS Signer
8
+
9
+ 1.47.0 (2023-09-27)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
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
@@ -563,6 +563,21 @@ module Aws::Signer
563
563
  # (signed by the parent CA) combined with a parent CA TBS hash (signed
564
564
  # by the parent CA’s CA). Root certificates are defined as their own CA.
565
565
  #
566
+ # The following example shows how to calculate a hash for this parameter
567
+ # using OpenSSL commands:
568
+ #
569
+ # `openssl asn1parse -in childCert.pem -strparse 4 -out childCert.tbs`
570
+ #
571
+ # `openssl sha384 < childCert.tbs -binary > childCertTbsHash`
572
+ #
573
+ # `openssl asn1parse -in parentCert.pem -strparse 4 -out parentCert.tbs`
574
+ #
575
+ # `openssl sha384 < parentCert.tbs -binary > parentCertTbsHash xxd -p
576
+ # childCertTbsHash > certificateHash.hex xxd -p parentCertTbsHash >>
577
+ # certificateHash.hex`
578
+ #
579
+ # `cat certificateHash.hex | tr -d '\n'`
580
+ #
566
581
  # @return [Types::GetRevocationStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
567
582
  #
568
583
  # * {Types::GetRevocationStatusResponse#revoked_entities #revoked_entities} => Array&lt;String&gt;
@@ -751,12 +766,12 @@ module Aws::Signer
751
766
 
752
767
  # Lists all your signing jobs. You can use the `maxResults` parameter to
753
768
  # limit the number of signing jobs that are returned in the response. If
754
- # additional jobs remain to be listed, code signing returns a
755
- # `nextToken` value. Use this value in subsequent calls to
756
- # `ListSigningJobs` to fetch the remaining values. You can continue
757
- # calling `ListSigningJobs` with your `maxResults` parameter and with
758
- # new values that code signing returns in the `nextToken` parameter
759
- # until all of your signing jobs have been returned.
769
+ # additional jobs remain to be listed, AWS Signer returns a `nextToken`
770
+ # value. Use this value in subsequent calls to `ListSigningJobs` to
771
+ # fetch the remaining values. You can continue calling `ListSigningJobs`
772
+ # with your `maxResults` parameter and with new values that Signer
773
+ # returns in the `nextToken` parameter until all of your signing jobs
774
+ # have been returned.
760
775
  #
761
776
  # @option params [String] :status
762
777
  # A status value with which to filter your results.
@@ -848,13 +863,13 @@ module Aws::Signer
848
863
  req.send_request(options)
849
864
  end
850
865
 
851
- # Lists all signing platforms available in code signing that match the
852
- # request parameters. If additional jobs remain to be listed, code
853
- # signing returns a `nextToken` value. Use this value in subsequent
854
- # calls to `ListSigningJobs` to fetch the remaining values. You can
855
- # continue calling `ListSigningJobs` with your `maxResults` parameter
856
- # and with new values that code signing returns in the `nextToken`
857
- # parameter until all of your signing jobs have been returned.
866
+ # Lists all signing platforms available in AWS Signer that match the
867
+ # request parameters. If additional jobs remain to be listed, Signer
868
+ # returns a `nextToken` value. Use this value in subsequent calls to
869
+ # `ListSigningJobs` to fetch the remaining values. You can continue
870
+ # calling `ListSigningJobs` with your `maxResults` parameter and with
871
+ # new values that Signer returns in the `nextToken` parameter until all
872
+ # of your signing jobs have been returned.
858
873
  #
859
874
  # @option params [String] :category
860
875
  # The category type of a signing platform.
@@ -923,12 +938,12 @@ module Aws::Signer
923
938
 
924
939
  # Lists all available signing profiles in your AWS account. Returns only
925
940
  # profiles with an `ACTIVE` status unless the `includeCanceled` request
926
- # field is set to `true`. If additional jobs remain to be listed, code
927
- # signing returns a `nextToken` value. Use this value in subsequent
928
- # calls to `ListSigningJobs` to fetch the remaining values. You can
929
- # continue calling `ListSigningJobs` with your `maxResults` parameter
930
- # and with new values that code signing returns in the `nextToken`
931
- # parameter until all of your signing jobs have been returned.
941
+ # field is set to `true`. If additional jobs remain to be listed, AWS
942
+ # Signer returns a `nextToken` value. Use this value in subsequent calls
943
+ # to `ListSigningJobs` to fetch the remaining values. You can continue
944
+ # calling `ListSigningJobs` with your `maxResults` parameter and with
945
+ # new values that Signer returns in the `nextToken` parameter until all
946
+ # of your signing jobs have been returned.
932
947
  #
933
948
  # @option params [Boolean] :include_canceled
934
949
  # Designates whether to include profiles with the status of `CANCELED`.
@@ -1024,7 +1039,7 @@ module Aws::Signer
1024
1039
  req.send_request(options)
1025
1040
  end
1026
1041
 
1027
- # Creates a signing profile. A signing profile is a code signing
1042
+ # Creates a signing profile. A signing profile is a code-signing
1028
1043
  # template that can be used to carry out a pre-defined signing job.
1029
1044
  #
1030
1045
  # @option params [required, String] :profile_name
@@ -1220,7 +1235,8 @@ module Aws::Signer
1220
1235
  # Specifies the object digest (hash) to sign.
1221
1236
  #
1222
1237
  # @option params [required, String] :payload_format
1223
- # Payload content type
1238
+ # Payload content type. The single valid type is
1239
+ # `application/vnd.cncf.notary.payload.v1+json`.
1224
1240
  #
1225
1241
  # @return [Types::SignPayloadResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1226
1242
  #
@@ -1264,14 +1280,14 @@ module Aws::Signer
1264
1280
  #
1265
1281
  # * Your S3 source bucket must be version enabled.
1266
1282
  #
1267
- # * You must create an S3 destination bucket. Code signing uses your S3
1283
+ # * You must create an S3 destination bucket. AWS Signer uses your S3
1268
1284
  # destination bucket to write your signed code.
1269
1285
  #
1270
1286
  # * You specify the name of the source and destination buckets when
1271
1287
  # calling the `StartSigningJob` operation.
1272
1288
  #
1273
1289
  # * You must also specify a request token that identifies your request
1274
- # to code signing.
1290
+ # to Signer.
1275
1291
  #
1276
1292
  # You can call the DescribeSigningJob and the ListSigningJobs actions
1277
1293
  # after you call `StartSigningJob`.
@@ -1417,7 +1433,7 @@ module Aws::Signer
1417
1433
  params: params,
1418
1434
  config: config)
1419
1435
  context[:gem_name] = 'aws-sdk-signer'
1420
- context[:gem_version] = '1.46.0'
1436
+ context[:gem_version] = '1.48.0'
1421
1437
  Seahorse::Client::Request.new(handlers, context)
1422
1438
  end
1423
1439
 
@@ -32,7 +32,7 @@ module Aws::Signer
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://signer-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -211,8 +211,8 @@ module Aws::Signer
211
211
  # @return [Types::SigningJobRevocationRecord]
212
212
  #
213
213
  # @!attribute [rw] signed_object
214
- # Name of the S3 bucket where the signed code image is saved by code
215
- # signing.
214
+ # Name of the S3 bucket where the signed code image is saved by AWS
215
+ # Signer.
216
216
  # @return [Types::SignedObject]
217
217
  #
218
218
  # @!attribute [rw] job_owner
@@ -264,16 +264,16 @@ module Aws::Signer
264
264
  include Aws::Structure
265
265
  end
266
266
 
267
- # The encryption algorithm options that are available to a code signing
267
+ # The encryption algorithm options that are available to a code-signing
268
268
  # job.
269
269
  #
270
270
  # @!attribute [rw] allowed_values
271
- # The set of accepted encryption algorithms that are allowed in a code
272
- # signing job.
271
+ # The set of accepted encryption algorithms that are allowed in a
272
+ # code-signing job.
273
273
  # @return [Array<String>]
274
274
  #
275
275
  # @!attribute [rw] default_value
276
- # The default encryption algorithm that is used by a code signing job.
276
+ # The default encryption algorithm that is used by a code-signing job.
277
277
  # @return [String]
278
278
  #
279
279
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/EncryptionAlgorithmOptions AWS API Documentation
@@ -308,6 +308,22 @@ module Aws::Signer
308
308
  # (signed by the parent CA) combined with a parent CA TBS hash (signed
309
309
  # by the parent CA’s CA). Root certificates are defined as their own
310
310
  # CA.
311
+ #
312
+ # The following example shows how to calculate a hash for this
313
+ # parameter using OpenSSL commands:
314
+ #
315
+ # `openssl asn1parse -in childCert.pem -strparse 4 -out childCert.tbs`
316
+ #
317
+ # `openssl sha384 < childCert.tbs -binary > childCertTbsHash`
318
+ #
319
+ # `openssl asn1parse -in parentCert.pem -strparse 4 -out
320
+ # parentCert.tbs`
321
+ #
322
+ # `openssl sha384 < parentCert.tbs -binary > parentCertTbsHash xxd -p
323
+ # childCertTbsHash > certificateHash.hex xxd -p parentCertTbsHash >>
324
+ # certificateHash.hex`
325
+ #
326
+ # `cat certificateHash.hex | tr -d '\n'`
311
327
  # @return [Array<String>]
312
328
  #
313
329
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/GetRevocationStatusRequest AWS API Documentation
@@ -323,9 +339,9 @@ module Aws::Signer
323
339
  end
324
340
 
325
341
  # @!attribute [rw] revoked_entities
326
- # A list of revoked entities (including one or more of the signing
327
- # profile ARN, signing job ID, and certificate hash) supplied as input
328
- # to the API.
342
+ # A list of revoked entities (including zero or more of the signing
343
+ # profile ARN, signing job ARN, and certificate hashes) supplied as
344
+ # input to the API.
329
345
  # @return [Array<String>]
330
346
  #
331
347
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/GetRevocationStatusResponse AWS API Documentation
@@ -500,14 +516,14 @@ module Aws::Signer
500
516
  include Aws::Structure
501
517
  end
502
518
 
503
- # The hash algorithms that are available to a code signing job.
519
+ # The hash algorithms that are available to a code-signing job.
504
520
  #
505
521
  # @!attribute [rw] allowed_values
506
- # The set of accepted hash algorithms allowed in a code signing job.
522
+ # The set of accepted hash algorithms allowed in a code-signing job.
507
523
  # @return [Array<String>]
508
524
  #
509
525
  # @!attribute [rw] default_value
510
- # The default hash algorithm that is used in a code signing job.
526
+ # The default hash algorithm that is used in a code-signing job.
511
527
  # @return [String]
512
528
  #
513
529
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/HashAlgorithmOptions AWS API Documentation
@@ -1016,16 +1032,16 @@ module Aws::Signer
1016
1032
  include Aws::Structure
1017
1033
  end
1018
1034
 
1019
- # The name and prefix of the S3 bucket where code signing saves your
1020
- # signed objects.
1035
+ # The name and prefix of the Amazon S3 bucket where AWS Signer saves
1036
+ # your signed objects.
1021
1037
  #
1022
1038
  # @!attribute [rw] bucket_name
1023
1039
  # Name of the S3 bucket.
1024
1040
  # @return [String]
1025
1041
  #
1026
1042
  # @!attribute [rw] prefix
1027
- # An Amazon S3 prefix that you can use to limit responses to those
1028
- # that begin with the specified prefix.
1043
+ # An S3 prefix that you can use to limit responses to those that begin
1044
+ # with the specified prefix.
1029
1045
  # @return [String]
1030
1046
  #
1031
1047
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/S3Destination AWS API Documentation
@@ -1037,7 +1053,7 @@ module Aws::Signer
1037
1053
  include Aws::Structure
1038
1054
  end
1039
1055
 
1040
- # The S3 bucket name and key where code signing saved your signed code
1056
+ # The Amazon S3 bucket name and key where Signer saved your signed code
1041
1057
  # image.
1042
1058
  #
1043
1059
  # @!attribute [rw] bucket_name
@@ -1058,7 +1074,8 @@ module Aws::Signer
1058
1074
  include Aws::Structure
1059
1075
  end
1060
1076
 
1061
- # Information about the S3 bucket where you saved your unsigned code.
1077
+ # Information about the Amazon S3 bucket where you saved your unsigned
1078
+ # code.
1062
1079
  #
1063
1080
  # @!attribute [rw] bucket_name
1064
1081
  # Name of the S3 bucket.
@@ -1112,7 +1129,8 @@ module Aws::Signer
1112
1129
  # @return [String]
1113
1130
  #
1114
1131
  # @!attribute [rw] payload_format
1115
- # Payload content type
1132
+ # Payload content type. The single valid type is
1133
+ # `application/vnd.cncf.notary.payload.v1+json`.
1116
1134
  # @return [String]
1117
1135
  #
1118
1136
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/SignPayloadRequest AWS API Documentation
@@ -1136,8 +1154,7 @@ module Aws::Signer
1136
1154
  #
1137
1155
  # @!attribute [rw] metadata
1138
1156
  # Information including the signing profile ARN and the signing job
1139
- # ID. Clients use metadata to signature records, for example, as
1140
- # annotations added to the signature manifest inside an OCI registry.
1157
+ # ID.
1141
1158
  # @return [Hash<String,String>]
1142
1159
  #
1143
1160
  # @!attribute [rw] signature
@@ -1189,15 +1206,15 @@ module Aws::Signer
1189
1206
  include Aws::Structure
1190
1207
  end
1191
1208
 
1192
- # The configuration of a code signing operation.
1209
+ # The configuration of a signing operation.
1193
1210
  #
1194
1211
  # @!attribute [rw] encryption_algorithm_options
1195
- # The encryption algorithm options that are available for a code
1196
- # signing job.
1212
+ # The encryption algorithm options that are available for a
1213
+ # code-signing job.
1197
1214
  # @return [Types::EncryptionAlgorithmOptions]
1198
1215
  #
1199
1216
  # @!attribute [rw] hash_algorithm_options
1200
- # The hash algorithm options that are available for a code signing
1217
+ # The hash algorithm options that are available for a code-signing
1201
1218
  # job.
1202
1219
  # @return [Types::HashAlgorithmOptions]
1203
1220
  #
@@ -1215,12 +1232,12 @@ module Aws::Signer
1215
1232
  #
1216
1233
  # @!attribute [rw] encryption_algorithm
1217
1234
  # A specified override of the default encryption algorithm that is
1218
- # used in a code signing job.
1235
+ # used in a code-signing job.
1219
1236
  # @return [String]
1220
1237
  #
1221
1238
  # @!attribute [rw] hash_algorithm
1222
1239
  # A specified override of the default hash algorithm that is used in a
1223
- # code signing job.
1240
+ # code-signing job.
1224
1241
  # @return [String]
1225
1242
  #
1226
1243
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/SigningConfigurationOverrides AWS API Documentation
@@ -1232,14 +1249,14 @@ module Aws::Signer
1232
1249
  include Aws::Structure
1233
1250
  end
1234
1251
 
1235
- # The image format of a code signing platform or profile.
1252
+ # The image format of a AWS Signer platform or profile.
1236
1253
  #
1237
1254
  # @!attribute [rw] supported_formats
1238
- # The supported formats of a code signing image.
1255
+ # The supported formats of a signing image.
1239
1256
  # @return [Array<String>]
1240
1257
  #
1241
1258
  # @!attribute [rw] default_format
1242
- # The default format of a code signing image.
1259
+ # The default format of a signing image.
1243
1260
  # @return [String]
1244
1261
  #
1245
1262
  # @see http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/SigningImageFormat AWS API Documentation
@@ -1373,41 +1390,41 @@ module Aws::Signer
1373
1390
  end
1374
1391
 
1375
1392
  # Contains information about the signing configurations and parameters
1376
- # that are used to perform a code signing job.
1393
+ # that are used to perform a code-signing job.
1377
1394
  #
1378
1395
  # @!attribute [rw] platform_id
1379
- # The ID of a code signing platform.
1396
+ # The ID of a signing platform.
1380
1397
  # @return [String]
1381
1398
  #
1382
1399
  # @!attribute [rw] display_name
1383
- # The display name of a code signing platform.
1400
+ # The display name of a signing platform.
1384
1401
  # @return [String]
1385
1402
  #
1386
1403
  # @!attribute [rw] partner
1387
- # Any partner entities linked to a code signing platform.
1404
+ # Any partner entities linked to a signing platform.
1388
1405
  # @return [String]
1389
1406
  #
1390
1407
  # @!attribute [rw] target
1391
- # The types of targets that can be signed by a code signing platform.
1408
+ # The types of targets that can be signed by a signing platform.
1392
1409
  # @return [String]
1393
1410
  #
1394
1411
  # @!attribute [rw] category
1395
- # The category of a code signing platform.
1412
+ # The category of a signing platform.
1396
1413
  # @return [String]
1397
1414
  #
1398
1415
  # @!attribute [rw] signing_configuration
1399
- # The configuration of a code signing platform. This includes the
1416
+ # The configuration of a signing platform. This includes the
1400
1417
  # designated hash algorithm and encryption algorithm of a signing
1401
1418
  # platform.
1402
1419
  # @return [Types::SigningConfiguration]
1403
1420
  #
1404
1421
  # @!attribute [rw] signing_image_format
1405
- # The image format of a code signing platform or profile.
1422
+ # The image format of a AWS Signer platform or profile.
1406
1423
  # @return [Types::SigningImageFormat]
1407
1424
  #
1408
1425
  # @!attribute [rw] max_size_in_mb
1409
- # The maximum size (in MB) of code that can be signed by a code
1410
- # signing platform.
1426
+ # The maximum size (in MB) of code that can be signed by a signing
1427
+ # platform.
1411
1428
  # @return [Integer]
1412
1429
  #
1413
1430
  # @!attribute [rw] revocation_supported
@@ -1430,7 +1447,7 @@ module Aws::Signer
1430
1447
  include Aws::Structure
1431
1448
  end
1432
1449
 
1433
- # Any overrides that are applied to the signing configuration of a code
1450
+ # Any overrides that are applied to the signing configuration of a
1434
1451
  # signing platform.
1435
1452
  #
1436
1453
  # @!attribute [rw] signing_configuration
@@ -1456,7 +1473,7 @@ module Aws::Signer
1456
1473
  include Aws::Structure
1457
1474
  end
1458
1475
 
1459
- # Contains information about the ACM certificates and code signing
1476
+ # Contains information about the ACM certificates and signing
1460
1477
  # configuration parameters that can be used by a given code signing
1461
1478
  # user.
1462
1479
  #
@@ -1490,11 +1507,11 @@ module Aws::Signer
1490
1507
  # @return [String]
1491
1508
  #
1492
1509
  # @!attribute [rw] signing_parameters
1493
- # The parameters that are available for use by a code signing user.
1510
+ # The parameters that are available for use by a Signer user.
1494
1511
  # @return [Hash<String,String>]
1495
1512
  #
1496
1513
  # @!attribute [rw] status
1497
- # The status of a code signing profile.
1514
+ # The status of a signing profile.
1498
1515
  # @return [String]
1499
1516
  #
1500
1517
  # @!attribute [rw] arn
@@ -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.46.0'
56
+ GEM_VERSION = '1.48.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.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-11-14 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