@aws-sdk/client-signer 3.427.0 → 3.429.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.
@@ -218,13 +218,13 @@ export interface SigningConfigurationOverrides {
218
218
  * <p>A specified override of the default encryption algorithm that is used in a code signing
219
219
  * job.</p>
220
220
  */
221
- encryptionAlgorithm?: EncryptionAlgorithm | string;
221
+ encryptionAlgorithm?: EncryptionAlgorithm;
222
222
  /**
223
223
  * @public
224
224
  * <p>A specified override of the default hash algorithm that is used in a code signing
225
225
  * job.</p>
226
226
  */
227
- hashAlgorithm?: HashAlgorithm | string;
227
+ hashAlgorithm?: HashAlgorithm;
228
228
  }
229
229
  /**
230
230
  * @public
@@ -260,7 +260,7 @@ export interface SigningPlatformOverrides {
260
260
  * signing image has the payload embedded in it. With <code>JSONDetached</code>, the
261
261
  * payload is not be embedded in the signing image.</p>
262
262
  */
263
- signingImageFormat?: ImageFormat | string;
263
+ signingImageFormat?: ImageFormat;
264
264
  }
265
265
  /**
266
266
  * @public
@@ -444,7 +444,7 @@ export interface DescribeSigningJobResponse {
444
444
  * @public
445
445
  * <p>Status of the signing job.</p>
446
446
  */
447
- status?: SigningStatus | string;
447
+ status?: SigningStatus;
448
448
  /**
449
449
  * @public
450
450
  * <p>String value that contains the status reason.</p>
@@ -510,12 +510,12 @@ export interface EncryptionAlgorithmOptions {
510
510
  * @public
511
511
  * <p>The set of accepted encryption algorithms that are allowed in a code signing job.</p>
512
512
  */
513
- allowedValues: (EncryptionAlgorithm | string)[] | undefined;
513
+ allowedValues: EncryptionAlgorithm[] | undefined;
514
514
  /**
515
515
  * @public
516
516
  * <p>The default encryption algorithm that is used by a code signing job.</p>
517
517
  */
518
- defaultValue: EncryptionAlgorithm | string | undefined;
518
+ defaultValue: EncryptionAlgorithm | undefined;
519
519
  }
520
520
  /**
521
521
  * @public
@@ -580,12 +580,12 @@ export interface HashAlgorithmOptions {
580
580
  * @public
581
581
  * <p>The set of accepted hash algorithms allowed in a code signing job.</p>
582
582
  */
583
- allowedValues: (HashAlgorithm | string)[] | undefined;
583
+ allowedValues: HashAlgorithm[] | undefined;
584
584
  /**
585
585
  * @public
586
586
  * <p>The default hash algorithm that is used in a code signing job.</p>
587
587
  */
588
- defaultValue: HashAlgorithm | string | undefined;
588
+ defaultValue: HashAlgorithm | undefined;
589
589
  }
590
590
  /**
591
591
  * @public
@@ -612,12 +612,12 @@ export interface SigningImageFormat {
612
612
  * @public
613
613
  * <p>The supported formats of a code signing image.</p>
614
614
  */
615
- supportedFormats: (ImageFormat | string)[] | undefined;
615
+ supportedFormats: ImageFormat[] | undefined;
616
616
  /**
617
617
  * @public
618
618
  * <p>The default format of a code signing image.</p>
619
619
  */
620
- defaultFormat: ImageFormat | string | undefined;
620
+ defaultFormat: ImageFormat | undefined;
621
621
  }
622
622
  /**
623
623
  * @public
@@ -647,7 +647,7 @@ export interface GetSigningPlatformResponse {
647
647
  * @public
648
648
  * <p>The category type of the target signing platform.</p>
649
649
  */
650
- category?: Category | string;
650
+ category?: Category;
651
651
  /**
652
652
  * @public
653
653
  * <p>A list of configurations applied to the target platform at signing.</p>
@@ -734,7 +734,7 @@ export interface SignatureValidityPeriod {
734
734
  * @public
735
735
  * <p>The time unit for signature validity.</p>
736
736
  */
737
- type?: ValidityType | string;
737
+ type?: ValidityType;
738
738
  }
739
739
  /**
740
740
  * @public
@@ -810,7 +810,7 @@ export interface GetSigningProfileResponse {
810
810
  * @public
811
811
  * <p>The status of the target signing profile.</p>
812
812
  */
813
- status?: SigningProfileStatus | string;
813
+ status?: SigningProfileStatus;
814
814
  /**
815
815
  * @public
816
816
  * <p>Reason for the status of the target signing profile.</p>
@@ -901,7 +901,7 @@ export interface ListSigningJobsRequest {
901
901
  * @public
902
902
  * <p>A status value with which to filter your results.</p>
903
903
  */
904
- status?: SigningStatus | string;
904
+ status?: SigningStatus;
905
905
  /**
906
906
  * @public
907
907
  * <p>The ID of microcontroller platform that you specified for the distribution of your
@@ -990,7 +990,7 @@ export interface SigningJob {
990
990
  * @public
991
991
  * <p>The status of the signing job.</p>
992
992
  */
993
- status?: SigningStatus | string;
993
+ status?: SigningStatus;
994
994
  /**
995
995
  * @public
996
996
  * <p>Indicates whether the signing job is revoked.</p>
@@ -1109,7 +1109,7 @@ export interface SigningPlatform {
1109
1109
  * @public
1110
1110
  * <p>The category of a code signing platform.</p>
1111
1111
  */
1112
- category?: Category | string;
1112
+ category?: Category;
1113
1113
  /**
1114
1114
  * @public
1115
1115
  * <p>The configuration of a code signing platform. This includes the designated hash algorithm
@@ -1180,7 +1180,7 @@ export interface ListSigningProfilesRequest {
1180
1180
  * <p>Filters results to return only signing jobs with statuses in the specified
1181
1181
  * list.</p>
1182
1182
  */
1183
- statuses?: (SigningProfileStatus | string)[];
1183
+ statuses?: SigningProfileStatus[];
1184
1184
  }
1185
1185
  /**
1186
1186
  * @public
@@ -1232,7 +1232,7 @@ export interface SigningProfile {
1232
1232
  * @public
1233
1233
  * <p>The status of a code signing profile.</p>
1234
1234
  */
1235
- status?: SigningProfileStatus | string;
1235
+ status?: SigningProfileStatus;
1236
1236
  /**
1237
1237
  * @public
1238
1238
  * <p>The Amazon Resource Name (ARN) for the signing profile.</p>
@@ -95,8 +95,8 @@ export declare const HashAlgorithm: {
95
95
  };
96
96
  export type HashAlgorithm = (typeof HashAlgorithm)[keyof typeof HashAlgorithm];
97
97
  export interface SigningConfigurationOverrides {
98
- encryptionAlgorithm?: EncryptionAlgorithm | string;
99
- hashAlgorithm?: HashAlgorithm | string;
98
+ encryptionAlgorithm?: EncryptionAlgorithm;
99
+ hashAlgorithm?: HashAlgorithm;
100
100
  }
101
101
  export declare const ImageFormat: {
102
102
  readonly JSON: "JSON";
@@ -106,7 +106,7 @@ export declare const ImageFormat: {
106
106
  export type ImageFormat = (typeof ImageFormat)[keyof typeof ImageFormat];
107
107
  export interface SigningPlatformOverrides {
108
108
  signingConfiguration?: SigningConfigurationOverrides;
109
- signingImageFormat?: ImageFormat | string;
109
+ signingImageFormat?: ImageFormat;
110
110
  }
111
111
  export interface SigningJobRevocationRecord {
112
112
  reason?: string;
@@ -151,7 +151,7 @@ export interface DescribeSigningJobResponse {
151
151
  completedAt?: Date;
152
152
  signatureExpiresAt?: Date;
153
153
  requestedBy?: string;
154
- status?: SigningStatus | string;
154
+ status?: SigningStatus;
155
155
  statusReason?: string;
156
156
  revocationRecord?: SigningJobRevocationRecord;
157
157
  signedObject?: SignedObject;
@@ -166,8 +166,8 @@ export interface Destination {
166
166
  s3?: S3Destination;
167
167
  }
168
168
  export interface EncryptionAlgorithmOptions {
169
- allowedValues: (EncryptionAlgorithm | string)[] | undefined;
170
- defaultValue: EncryptionAlgorithm | string | undefined;
169
+ allowedValues: EncryptionAlgorithm[] | undefined;
170
+ defaultValue: EncryptionAlgorithm | undefined;
171
171
  }
172
172
  export interface GetRevocationStatusRequest {
173
173
  signatureTimestamp: Date | undefined;
@@ -183,23 +183,23 @@ export interface GetSigningPlatformRequest {
183
183
  platformId: string | undefined;
184
184
  }
185
185
  export interface HashAlgorithmOptions {
186
- allowedValues: (HashAlgorithm | string)[] | undefined;
187
- defaultValue: HashAlgorithm | string | undefined;
186
+ allowedValues: HashAlgorithm[] | undefined;
187
+ defaultValue: HashAlgorithm | undefined;
188
188
  }
189
189
  export interface SigningConfiguration {
190
190
  encryptionAlgorithmOptions: EncryptionAlgorithmOptions | undefined;
191
191
  hashAlgorithmOptions: HashAlgorithmOptions | undefined;
192
192
  }
193
193
  export interface SigningImageFormat {
194
- supportedFormats: (ImageFormat | string)[] | undefined;
195
- defaultFormat: ImageFormat | string | undefined;
194
+ supportedFormats: ImageFormat[] | undefined;
195
+ defaultFormat: ImageFormat | undefined;
196
196
  }
197
197
  export interface GetSigningPlatformResponse {
198
198
  platformId?: string;
199
199
  displayName?: string;
200
200
  partner?: string;
201
201
  target?: string;
202
- category?: Category | string;
202
+ category?: Category;
203
203
  signingConfiguration?: SigningConfiguration;
204
204
  signingImageFormat?: SigningImageFormat;
205
205
  maxSizeInMB?: number;
@@ -222,7 +222,7 @@ export declare const ValidityType: {
222
222
  export type ValidityType = (typeof ValidityType)[keyof typeof ValidityType];
223
223
  export interface SignatureValidityPeriod {
224
224
  value?: number;
225
- type?: ValidityType | string;
225
+ type?: ValidityType;
226
226
  }
227
227
  export declare const SigningProfileStatus: {
228
228
  readonly Active: "Active";
@@ -242,7 +242,7 @@ export interface GetSigningProfileResponse {
242
242
  signatureValidityPeriod?: SignatureValidityPeriod;
243
243
  overrides?: SigningPlatformOverrides;
244
244
  signingParameters?: Record<string, string>;
245
- status?: SigningProfileStatus | string;
245
+ status?: SigningProfileStatus;
246
246
  statusReason?: string;
247
247
  arn?: string;
248
248
  tags?: Record<string, string>;
@@ -264,7 +264,7 @@ export interface ListProfilePermissionsResponse {
264
264
  nextToken?: string;
265
265
  }
266
266
  export interface ListSigningJobsRequest {
267
- status?: SigningStatus | string;
267
+ status?: SigningStatus;
268
268
  platformId?: string;
269
269
  requestedBy?: string;
270
270
  maxResults?: number;
@@ -280,7 +280,7 @@ export interface SigningJob {
280
280
  signedObject?: SignedObject;
281
281
  signingMaterial?: SigningMaterial;
282
282
  createdAt?: Date;
283
- status?: SigningStatus | string;
283
+ status?: SigningStatus;
284
284
  isRevoked?: boolean;
285
285
  profileName?: string;
286
286
  profileVersion?: string;
@@ -306,7 +306,7 @@ export interface SigningPlatform {
306
306
  displayName?: string;
307
307
  partner?: string;
308
308
  target?: string;
309
- category?: Category | string;
309
+ category?: Category;
310
310
  signingConfiguration?: SigningConfiguration;
311
311
  signingImageFormat?: SigningImageFormat;
312
312
  maxSizeInMB?: number;
@@ -321,7 +321,7 @@ export interface ListSigningProfilesRequest {
321
321
  maxResults?: number;
322
322
  nextToken?: string;
323
323
  platformId?: string;
324
- statuses?: (SigningProfileStatus | string)[];
324
+ statuses?: SigningProfileStatus[];
325
325
  }
326
326
  export interface SigningProfile {
327
327
  profileName?: string;
@@ -332,7 +332,7 @@ export interface SigningProfile {
332
332
  platformId?: string;
333
333
  platformDisplayName?: string;
334
334
  signingParameters?: Record<string, string>;
335
- status?: SigningProfileStatus | string;
335
+ status?: SigningProfileStatus;
336
336
  arn?: string;
337
337
  tags?: Record<string, string>;
338
338
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-signer",
3
3
  "description": "AWS SDK for JavaScript Signer Client for Node.js, Browser and React Native",
4
- "version": "3.427.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,41 +21,41 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
- "@smithy/util-waiter": "^2.0.10",
58
+ "@smithy/util-waiter": "^2.0.11",
59
59
  "tslib": "^2.5.0",
60
60
  "uuid": "^8.3.2"
61
61
  },