@aws-sdk/client-signer 3.687.0 → 3.691.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.
@@ -3,32 +3,32 @@ import { SignerServiceException as __BaseException } from "./SignerServiceExcept
3
3
  export declare class AccessDeniedException extends __BaseException {
4
4
  readonly name: "AccessDeniedException";
5
5
  readonly $fault: "client";
6
- code?: string;
6
+ code?: string | undefined;
7
7
  constructor(
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
11
  export interface AddProfilePermissionRequest {
12
12
  profileName: string | undefined;
13
- profileVersion?: string;
13
+ profileVersion?: string | undefined;
14
14
  action: string | undefined;
15
15
  principal: string | undefined;
16
- revisionId?: string;
16
+ revisionId?: string | undefined;
17
17
  statementId: string | undefined;
18
18
  }
19
19
  export interface AddProfilePermissionResponse {
20
- revisionId?: string;
20
+ revisionId?: string | undefined;
21
21
  }
22
22
  export declare class ConflictException extends __BaseException {
23
23
  readonly name: "ConflictException";
24
24
  readonly $fault: "client";
25
- code?: string;
25
+ code?: string | undefined;
26
26
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
27
27
  }
28
28
  export declare class InternalServiceErrorException extends __BaseException {
29
29
  readonly name: "InternalServiceErrorException";
30
30
  readonly $fault: "server";
31
- code?: string;
31
+ code?: string | undefined;
32
32
  constructor(
33
33
  opts: __ExceptionOptionType<InternalServiceErrorException, __BaseException>
34
34
  );
@@ -36,7 +36,7 @@ export declare class InternalServiceErrorException extends __BaseException {
36
36
  export declare class ResourceNotFoundException extends __BaseException {
37
37
  readonly name: "ResourceNotFoundException";
38
38
  readonly $fault: "client";
39
- code?: string;
39
+ code?: string | undefined;
40
40
  constructor(
41
41
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
42
42
  );
@@ -44,7 +44,7 @@ export declare class ResourceNotFoundException extends __BaseException {
44
44
  export declare class ServiceLimitExceededException extends __BaseException {
45
45
  readonly name: "ServiceLimitExceededException";
46
46
  readonly $fault: "client";
47
- code?: string;
47
+ code?: string | undefined;
48
48
  constructor(
49
49
  opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>
50
50
  );
@@ -52,7 +52,7 @@ export declare class ServiceLimitExceededException extends __BaseException {
52
52
  export declare class TooManyRequestsException extends __BaseException {
53
53
  readonly name: "TooManyRequestsException";
54
54
  readonly $fault: "client";
55
- code?: string;
55
+ code?: string | undefined;
56
56
  constructor(
57
57
  opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
58
58
  );
@@ -60,7 +60,7 @@ export declare class TooManyRequestsException extends __BaseException {
60
60
  export declare class ValidationException extends __BaseException {
61
61
  readonly name: "ValidationException";
62
62
  readonly $fault: "client";
63
- code?: string;
63
+ code?: string | undefined;
64
64
  constructor(
65
65
  opts: __ExceptionOptionType<ValidationException, __BaseException>
66
66
  );
@@ -68,7 +68,7 @@ export declare class ValidationException extends __BaseException {
68
68
  export declare class BadRequestException extends __BaseException {
69
69
  readonly name: "BadRequestException";
70
70
  readonly $fault: "client";
71
- code?: string;
71
+ code?: string | undefined;
72
72
  constructor(
73
73
  opts: __ExceptionOptionType<BadRequestException, __BaseException>
74
74
  );
@@ -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;
99
- hashAlgorithm?: HashAlgorithm;
98
+ encryptionAlgorithm?: EncryptionAlgorithm | undefined;
99
+ hashAlgorithm?: HashAlgorithm | undefined;
100
100
  }
101
101
  export declare const ImageFormat: {
102
102
  readonly JSON: "JSON";
@@ -105,20 +105,20 @@ export declare const ImageFormat: {
105
105
  };
106
106
  export type ImageFormat = (typeof ImageFormat)[keyof typeof ImageFormat];
107
107
  export interface SigningPlatformOverrides {
108
- signingConfiguration?: SigningConfigurationOverrides;
109
- signingImageFormat?: ImageFormat;
108
+ signingConfiguration?: SigningConfigurationOverrides | undefined;
109
+ signingImageFormat?: ImageFormat | undefined;
110
110
  }
111
111
  export interface SigningJobRevocationRecord {
112
- reason?: string;
113
- revokedAt?: Date;
114
- revokedBy?: string;
112
+ reason?: string | undefined;
113
+ revokedAt?: Date | undefined;
114
+ revokedBy?: string | undefined;
115
115
  }
116
116
  export interface S3SignedObject {
117
- bucketName?: string;
118
- key?: string;
117
+ bucketName?: string | undefined;
118
+ key?: string | undefined;
119
119
  }
120
120
  export interface SignedObject {
121
- s3?: S3SignedObject;
121
+ s3?: S3SignedObject | undefined;
122
122
  }
123
123
  export interface SigningMaterial {
124
124
  certificateArn: string | undefined;
@@ -129,7 +129,7 @@ export interface S3Source {
129
129
  version: string | undefined;
130
130
  }
131
131
  export interface Source {
132
- s3?: S3Source;
132
+ s3?: S3Source | undefined;
133
133
  }
134
134
  export declare const SigningStatus: {
135
135
  readonly Failed: "Failed";
@@ -138,32 +138,32 @@ export declare const SigningStatus: {
138
138
  };
139
139
  export type SigningStatus = (typeof SigningStatus)[keyof typeof SigningStatus];
140
140
  export interface DescribeSigningJobResponse {
141
- jobId?: string;
142
- source?: Source;
143
- signingMaterial?: SigningMaterial;
144
- platformId?: string;
145
- platformDisplayName?: string;
146
- profileName?: string;
147
- profileVersion?: string;
148
- overrides?: SigningPlatformOverrides;
149
- signingParameters?: Record<string, string>;
150
- createdAt?: Date;
151
- completedAt?: Date;
152
- signatureExpiresAt?: Date;
153
- requestedBy?: string;
154
- status?: SigningStatus;
155
- statusReason?: string;
156
- revocationRecord?: SigningJobRevocationRecord;
157
- signedObject?: SignedObject;
158
- jobOwner?: string;
159
- jobInvoker?: string;
141
+ jobId?: string | undefined;
142
+ source?: Source | undefined;
143
+ signingMaterial?: SigningMaterial | undefined;
144
+ platformId?: string | undefined;
145
+ platformDisplayName?: string | undefined;
146
+ profileName?: string | undefined;
147
+ profileVersion?: string | undefined;
148
+ overrides?: SigningPlatformOverrides | undefined;
149
+ signingParameters?: Record<string, string> | undefined;
150
+ createdAt?: Date | undefined;
151
+ completedAt?: Date | undefined;
152
+ signatureExpiresAt?: Date | undefined;
153
+ requestedBy?: string | undefined;
154
+ status?: SigningStatus | undefined;
155
+ statusReason?: string | undefined;
156
+ revocationRecord?: SigningJobRevocationRecord | undefined;
157
+ signedObject?: SignedObject | undefined;
158
+ jobOwner?: string | undefined;
159
+ jobInvoker?: string | undefined;
160
160
  }
161
161
  export interface S3Destination {
162
- bucketName?: string;
163
- prefix?: string;
162
+ bucketName?: string | undefined;
163
+ prefix?: string | undefined;
164
164
  }
165
165
  export interface Destination {
166
- s3?: S3Destination;
166
+ s3?: S3Destination | undefined;
167
167
  }
168
168
  export interface EncryptionAlgorithmOptions {
169
169
  allowedValues: EncryptionAlgorithm[] | undefined;
@@ -177,7 +177,7 @@ export interface GetRevocationStatusRequest {
177
177
  certificateHashes: string[] | undefined;
178
178
  }
179
179
  export interface GetRevocationStatusResponse {
180
- revokedEntities?: string[];
180
+ revokedEntities?: string[] | undefined;
181
181
  }
182
182
  export interface GetSigningPlatformRequest {
183
183
  platformId: string | undefined;
@@ -195,24 +195,24 @@ export interface SigningImageFormat {
195
195
  defaultFormat: ImageFormat | undefined;
196
196
  }
197
197
  export interface GetSigningPlatformResponse {
198
- platformId?: string;
199
- displayName?: string;
200
- partner?: string;
201
- target?: string;
202
- category?: Category;
203
- signingConfiguration?: SigningConfiguration;
204
- signingImageFormat?: SigningImageFormat;
205
- maxSizeInMB?: number;
206
- revocationSupported?: boolean;
198
+ platformId?: string | undefined;
199
+ displayName?: string | undefined;
200
+ partner?: string | undefined;
201
+ target?: string | undefined;
202
+ category?: Category | undefined;
203
+ signingConfiguration?: SigningConfiguration | undefined;
204
+ signingImageFormat?: SigningImageFormat | undefined;
205
+ maxSizeInMB?: number | undefined;
206
+ revocationSupported?: boolean | undefined;
207
207
  }
208
208
  export interface GetSigningProfileRequest {
209
209
  profileName: string | undefined;
210
- profileOwner?: string;
210
+ profileOwner?: string | undefined;
211
211
  }
212
212
  export interface SigningProfileRevocationRecord {
213
- revocationEffectiveFrom?: Date;
214
- revokedAt?: Date;
215
- revokedBy?: string;
213
+ revocationEffectiveFrom?: Date | undefined;
214
+ revokedAt?: Date | undefined;
215
+ revokedBy?: string | undefined;
216
216
  }
217
217
  export declare const ValidityType: {
218
218
  readonly DAYS: "DAYS";
@@ -221,8 +221,8 @@ export declare const ValidityType: {
221
221
  };
222
222
  export type ValidityType = (typeof ValidityType)[keyof typeof ValidityType];
223
223
  export interface SignatureValidityPeriod {
224
- value?: number;
225
- type?: ValidityType;
224
+ value?: number | undefined;
225
+ type?: ValidityType | undefined;
226
226
  }
227
227
  export declare const SigningProfileStatus: {
228
228
  readonly Active: "Active";
@@ -232,139 +232,139 @@ export declare const SigningProfileStatus: {
232
232
  export type SigningProfileStatus =
233
233
  (typeof SigningProfileStatus)[keyof typeof SigningProfileStatus];
234
234
  export interface GetSigningProfileResponse {
235
- profileName?: string;
236
- profileVersion?: string;
237
- profileVersionArn?: string;
238
- revocationRecord?: SigningProfileRevocationRecord;
239
- signingMaterial?: SigningMaterial;
240
- platformId?: string;
241
- platformDisplayName?: string;
242
- signatureValidityPeriod?: SignatureValidityPeriod;
243
- overrides?: SigningPlatformOverrides;
244
- signingParameters?: Record<string, string>;
245
- status?: SigningProfileStatus;
246
- statusReason?: string;
247
- arn?: string;
248
- tags?: Record<string, string>;
235
+ profileName?: string | undefined;
236
+ profileVersion?: string | undefined;
237
+ profileVersionArn?: string | undefined;
238
+ revocationRecord?: SigningProfileRevocationRecord | undefined;
239
+ signingMaterial?: SigningMaterial | undefined;
240
+ platformId?: string | undefined;
241
+ platformDisplayName?: string | undefined;
242
+ signatureValidityPeriod?: SignatureValidityPeriod | undefined;
243
+ overrides?: SigningPlatformOverrides | undefined;
244
+ signingParameters?: Record<string, string> | undefined;
245
+ status?: SigningProfileStatus | undefined;
246
+ statusReason?: string | undefined;
247
+ arn?: string | undefined;
248
+ tags?: Record<string, string> | undefined;
249
249
  }
250
250
  export interface ListProfilePermissionsRequest {
251
251
  profileName: string | undefined;
252
- nextToken?: string;
252
+ nextToken?: string | undefined;
253
253
  }
254
254
  export interface Permission {
255
- action?: string;
256
- principal?: string;
257
- statementId?: string;
258
- profileVersion?: string;
255
+ action?: string | undefined;
256
+ principal?: string | undefined;
257
+ statementId?: string | undefined;
258
+ profileVersion?: string | undefined;
259
259
  }
260
260
  export interface ListProfilePermissionsResponse {
261
- revisionId?: string;
262
- policySizeBytes?: number;
263
- permissions?: Permission[];
264
- nextToken?: string;
261
+ revisionId?: string | undefined;
262
+ policySizeBytes?: number | undefined;
263
+ permissions?: Permission[] | undefined;
264
+ nextToken?: string | undefined;
265
265
  }
266
266
  export interface ListSigningJobsRequest {
267
- status?: SigningStatus;
268
- platformId?: string;
269
- requestedBy?: string;
270
- maxResults?: number;
271
- nextToken?: string;
272
- isRevoked?: boolean;
273
- signatureExpiresBefore?: Date;
274
- signatureExpiresAfter?: Date;
275
- jobInvoker?: string;
267
+ status?: SigningStatus | undefined;
268
+ platformId?: string | undefined;
269
+ requestedBy?: string | undefined;
270
+ maxResults?: number | undefined;
271
+ nextToken?: string | undefined;
272
+ isRevoked?: boolean | undefined;
273
+ signatureExpiresBefore?: Date | undefined;
274
+ signatureExpiresAfter?: Date | undefined;
275
+ jobInvoker?: string | undefined;
276
276
  }
277
277
  export interface SigningJob {
278
- jobId?: string;
279
- source?: Source;
280
- signedObject?: SignedObject;
281
- signingMaterial?: SigningMaterial;
282
- createdAt?: Date;
283
- status?: SigningStatus;
284
- isRevoked?: boolean;
285
- profileName?: string;
286
- profileVersion?: string;
287
- platformId?: string;
288
- platformDisplayName?: string;
289
- signatureExpiresAt?: Date;
290
- jobOwner?: string;
291
- jobInvoker?: string;
278
+ jobId?: string | undefined;
279
+ source?: Source | undefined;
280
+ signedObject?: SignedObject | undefined;
281
+ signingMaterial?: SigningMaterial | undefined;
282
+ createdAt?: Date | undefined;
283
+ status?: SigningStatus | undefined;
284
+ isRevoked?: boolean | undefined;
285
+ profileName?: string | undefined;
286
+ profileVersion?: string | undefined;
287
+ platformId?: string | undefined;
288
+ platformDisplayName?: string | undefined;
289
+ signatureExpiresAt?: Date | undefined;
290
+ jobOwner?: string | undefined;
291
+ jobInvoker?: string | undefined;
292
292
  }
293
293
  export interface ListSigningJobsResponse {
294
- jobs?: SigningJob[];
295
- nextToken?: string;
294
+ jobs?: SigningJob[] | undefined;
295
+ nextToken?: string | undefined;
296
296
  }
297
297
  export interface ListSigningPlatformsRequest {
298
- category?: string;
299
- partner?: string;
300
- target?: string;
301
- maxResults?: number;
302
- nextToken?: string;
298
+ category?: string | undefined;
299
+ partner?: string | undefined;
300
+ target?: string | undefined;
301
+ maxResults?: number | undefined;
302
+ nextToken?: string | undefined;
303
303
  }
304
304
  export interface SigningPlatform {
305
- platformId?: string;
306
- displayName?: string;
307
- partner?: string;
308
- target?: string;
309
- category?: Category;
310
- signingConfiguration?: SigningConfiguration;
311
- signingImageFormat?: SigningImageFormat;
312
- maxSizeInMB?: number;
313
- revocationSupported?: boolean;
305
+ platformId?: string | undefined;
306
+ displayName?: string | undefined;
307
+ partner?: string | undefined;
308
+ target?: string | undefined;
309
+ category?: Category | undefined;
310
+ signingConfiguration?: SigningConfiguration | undefined;
311
+ signingImageFormat?: SigningImageFormat | undefined;
312
+ maxSizeInMB?: number | undefined;
313
+ revocationSupported?: boolean | undefined;
314
314
  }
315
315
  export interface ListSigningPlatformsResponse {
316
- platforms?: SigningPlatform[];
317
- nextToken?: string;
316
+ platforms?: SigningPlatform[] | undefined;
317
+ nextToken?: string | undefined;
318
318
  }
319
319
  export interface ListSigningProfilesRequest {
320
- includeCanceled?: boolean;
321
- maxResults?: number;
322
- nextToken?: string;
323
- platformId?: string;
324
- statuses?: SigningProfileStatus[];
320
+ includeCanceled?: boolean | undefined;
321
+ maxResults?: number | undefined;
322
+ nextToken?: string | undefined;
323
+ platformId?: string | undefined;
324
+ statuses?: SigningProfileStatus[] | undefined;
325
325
  }
326
326
  export interface SigningProfile {
327
- profileName?: string;
328
- profileVersion?: string;
329
- profileVersionArn?: string;
330
- signingMaterial?: SigningMaterial;
331
- signatureValidityPeriod?: SignatureValidityPeriod;
332
- platformId?: string;
333
- platformDisplayName?: string;
334
- signingParameters?: Record<string, string>;
335
- status?: SigningProfileStatus;
336
- arn?: string;
337
- tags?: Record<string, string>;
327
+ profileName?: string | undefined;
328
+ profileVersion?: string | undefined;
329
+ profileVersionArn?: string | undefined;
330
+ signingMaterial?: SigningMaterial | undefined;
331
+ signatureValidityPeriod?: SignatureValidityPeriod | undefined;
332
+ platformId?: string | undefined;
333
+ platformDisplayName?: string | undefined;
334
+ signingParameters?: Record<string, string> | undefined;
335
+ status?: SigningProfileStatus | undefined;
336
+ arn?: string | undefined;
337
+ tags?: Record<string, string> | undefined;
338
338
  }
339
339
  export interface ListSigningProfilesResponse {
340
- profiles?: SigningProfile[];
341
- nextToken?: string;
340
+ profiles?: SigningProfile[] | undefined;
341
+ nextToken?: string | undefined;
342
342
  }
343
343
  export interface ListTagsForResourceRequest {
344
344
  resourceArn: string | undefined;
345
345
  }
346
346
  export interface ListTagsForResourceResponse {
347
- tags?: Record<string, string>;
347
+ tags?: Record<string, string> | undefined;
348
348
  }
349
349
  export declare class NotFoundException extends __BaseException {
350
350
  readonly name: "NotFoundException";
351
351
  readonly $fault: "client";
352
- code?: string;
352
+ code?: string | undefined;
353
353
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
354
354
  }
355
355
  export interface PutSigningProfileRequest {
356
356
  profileName: string | undefined;
357
- signingMaterial?: SigningMaterial;
358
- signatureValidityPeriod?: SignatureValidityPeriod;
357
+ signingMaterial?: SigningMaterial | undefined;
358
+ signatureValidityPeriod?: SignatureValidityPeriod | undefined;
359
359
  platformId: string | undefined;
360
- overrides?: SigningPlatformOverrides;
361
- signingParameters?: Record<string, string>;
362
- tags?: Record<string, string>;
360
+ overrides?: SigningPlatformOverrides | undefined;
361
+ signingParameters?: Record<string, string> | undefined;
362
+ tags?: Record<string, string> | undefined;
363
363
  }
364
364
  export interface PutSigningProfileResponse {
365
- arn?: string;
366
- profileVersion?: string;
367
- profileVersionArn?: string;
365
+ arn?: string | undefined;
366
+ profileVersion?: string | undefined;
367
+ profileVersionArn?: string | undefined;
368
368
  }
369
369
  export interface RemoveProfilePermissionRequest {
370
370
  profileName: string | undefined;
@@ -372,11 +372,11 @@ export interface RemoveProfilePermissionRequest {
372
372
  statementId: string | undefined;
373
373
  }
374
374
  export interface RemoveProfilePermissionResponse {
375
- revisionId?: string;
375
+ revisionId?: string | undefined;
376
376
  }
377
377
  export interface RevokeSignatureRequest {
378
378
  jobId: string | undefined;
379
- jobOwner?: string;
379
+ jobOwner?: string | undefined;
380
380
  reason: string | undefined;
381
381
  }
382
382
  export interface RevokeSigningProfileRequest {
@@ -387,31 +387,31 @@ export interface RevokeSigningProfileRequest {
387
387
  }
388
388
  export interface SignPayloadRequest {
389
389
  profileName: string | undefined;
390
- profileOwner?: string;
390
+ profileOwner?: string | undefined;
391
391
  payload: Uint8Array | undefined;
392
392
  payloadFormat: string | undefined;
393
393
  }
394
394
  export interface SignPayloadResponse {
395
- jobId?: string;
396
- jobOwner?: string;
397
- metadata?: Record<string, string>;
398
- signature?: Uint8Array;
395
+ jobId?: string | undefined;
396
+ jobOwner?: string | undefined;
397
+ metadata?: Record<string, string> | undefined;
398
+ signature?: Uint8Array | undefined;
399
399
  }
400
400
  export interface StartSigningJobRequest {
401
401
  source: Source | undefined;
402
402
  destination: Destination | undefined;
403
403
  profileName: string | undefined;
404
- clientRequestToken?: string;
405
- profileOwner?: string;
404
+ clientRequestToken?: string | undefined;
405
+ profileOwner?: string | undefined;
406
406
  }
407
407
  export interface StartSigningJobResponse {
408
- jobId?: string;
409
- jobOwner?: string;
408
+ jobId?: string | undefined;
409
+ jobOwner?: string | undefined;
410
410
  }
411
411
  export declare class ThrottlingException extends __BaseException {
412
412
  readonly name: "ThrottlingException";
413
413
  readonly $fault: "client";
414
- code?: string;
414
+ code?: string | undefined;
415
415
  constructor(
416
416
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
417
417
  );
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.687.0",
4
+ "version": "3.691.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-signer",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-host-header": "3.686.0",
28
28
  "@aws-sdk/middleware-logger": "3.686.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
30
+ "@aws-sdk/middleware-user-agent": "3.691.0",
31
31
  "@aws-sdk/region-config-resolver": "3.686.0",
32
32
  "@aws-sdk/types": "3.686.0",
33
33
  "@aws-sdk/util-endpoints": "3.686.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
35
+ "@aws-sdk/util-user-agent-node": "3.691.0",
36
36
  "@smithy/config-resolver": "^3.0.10",
37
37
  "@smithy/core": "^2.5.1",
38
38
  "@smithy/fetch-http-handler": "^4.0.0",