@aws-sdk/client-artifact 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.
@@ -60,7 +60,7 @@ export interface AccountSettings {
60
60
  * <p>Notification subscription status of the customer.</p>
61
61
  * @public
62
62
  */
63
- notificationSubscriptionStatus?: NotificationSubscriptionStatus;
63
+ notificationSubscriptionStatus?: NotificationSubscriptionStatus | undefined;
64
64
  }
65
65
  /**
66
66
  * <p>Request to create/modify content would result in a conflict.</p>
@@ -97,7 +97,7 @@ export interface GetAccountSettingsResponse {
97
97
  * <p>Account settings for the customer.</p>
98
98
  * @public
99
99
  */
100
- accountSettings?: AccountSettings;
100
+ accountSettings?: AccountSettings | undefined;
101
101
  }
102
102
  /**
103
103
  * <p>An unknown server exception has occurred.</p>
@@ -111,7 +111,7 @@ export declare class InternalServerException extends __BaseException {
111
111
  * <p>Number of seconds in which the caller can retry the request.</p>
112
112
  * @public
113
113
  */
114
- retryAfterSeconds?: number;
114
+ retryAfterSeconds?: number | undefined;
115
115
  /**
116
116
  * @internal
117
117
  */
@@ -185,17 +185,17 @@ export declare class ThrottlingException extends __BaseException {
185
185
  * <p>Code for the affected service.</p>
186
186
  * @public
187
187
  */
188
- serviceCode?: string;
188
+ serviceCode?: string | undefined;
189
189
  /**
190
190
  * <p>Code for the affected quota.</p>
191
191
  * @public
192
192
  */
193
- quotaCode?: string;
193
+ quotaCode?: string | undefined;
194
194
  /**
195
195
  * <p>Number of seconds in which the caller can retry the request.</p>
196
196
  * @public
197
197
  */
198
- retryAfterSeconds?: number;
198
+ retryAfterSeconds?: number | undefined;
199
199
  /**
200
200
  * @internal
201
201
  */
@@ -248,7 +248,7 @@ export declare class ValidationException extends __BaseException {
248
248
  * <p>The field that caused the error, if applicable.</p>
249
249
  * @public
250
250
  */
251
- fieldList?: ValidationExceptionField[];
251
+ fieldList?: ValidationExceptionField[] | undefined;
252
252
  /**
253
253
  * @internal
254
254
  */
@@ -262,7 +262,7 @@ export interface PutAccountSettingsRequest {
262
262
  * <p>Desired notification subscription status.</p>
263
263
  * @public
264
264
  */
265
- notificationSubscriptionStatus?: NotificationSubscriptionStatus;
265
+ notificationSubscriptionStatus?: NotificationSubscriptionStatus | undefined;
266
266
  }
267
267
  /**
268
268
  * @public
@@ -272,7 +272,7 @@ export interface PutAccountSettingsResponse {
272
272
  * <p>Account settings for the customer.</p>
273
273
  * @public
274
274
  */
275
- accountSettings?: AccountSettings;
275
+ accountSettings?: AccountSettings | undefined;
276
276
  }
277
277
  /**
278
278
  * @public
@@ -287,7 +287,7 @@ export interface GetReportRequest {
287
287
  * <p>Version for the report resource.</p>
288
288
  * @public
289
289
  */
290
- reportVersion?: number;
290
+ reportVersion?: number | undefined;
291
291
  /**
292
292
  * <p>Unique download token provided by GetTermForReport API.</p>
293
293
  * @public
@@ -302,7 +302,7 @@ export interface GetReportResponse {
302
302
  * <p>Presigned S3 url to access the report content.</p>
303
303
  * @public
304
304
  */
305
- documentPresignedUrl?: string;
305
+ documentPresignedUrl?: string | undefined;
306
306
  }
307
307
  /**
308
308
  * @public
@@ -317,7 +317,7 @@ export interface GetReportMetadataRequest {
317
317
  * <p>Version for the report resource.</p>
318
318
  * @public
319
319
  */
320
- reportVersion?: number;
320
+ reportVersion?: number | undefined;
321
321
  }
322
322
  /**
323
323
  * @public
@@ -360,102 +360,102 @@ export interface ReportDetail {
360
360
  * <p>Unique resource ID for the report resource.</p>
361
361
  * @public
362
362
  */
363
- id?: string;
363
+ id?: string | undefined;
364
364
  /**
365
365
  * <p>Name for the report resource.</p>
366
366
  * @public
367
367
  */
368
- name?: string;
368
+ name?: string | undefined;
369
369
  /**
370
370
  * <p>Description for the report resource.</p>
371
371
  * @public
372
372
  */
373
- description?: string;
373
+ description?: string | undefined;
374
374
  /**
375
375
  * <p>Timestamp indicating the report resource effective start.</p>
376
376
  * @public
377
377
  */
378
- periodStart?: Date;
378
+ periodStart?: Date | undefined;
379
379
  /**
380
380
  * <p>Timestamp indicating the report resource effective end.</p>
381
381
  * @public
382
382
  */
383
- periodEnd?: Date;
383
+ periodEnd?: Date | undefined;
384
384
  /**
385
385
  * <p>Timestamp indicating when the report resource was created.</p>
386
386
  * @public
387
387
  */
388
- createdAt?: Date;
388
+ createdAt?: Date | undefined;
389
389
  /**
390
390
  * <p>Timestamp indicating when the report resource was last modified.</p>
391
391
  * @public
392
392
  */
393
- lastModifiedAt?: Date;
393
+ lastModifiedAt?: Date | undefined;
394
394
  /**
395
395
  * <p>Timestamp indicating when the report resource was deleted.</p>
396
396
  * @public
397
397
  */
398
- deletedAt?: Date;
398
+ deletedAt?: Date | undefined;
399
399
  /**
400
400
  * <p>Current state of the report resource</p>
401
401
  * @public
402
402
  */
403
- state?: PublishedState;
403
+ state?: PublishedState | undefined;
404
404
  /**
405
405
  * <p>ARN for the report resource.</p>
406
406
  * @public
407
407
  */
408
- arn?: string;
408
+ arn?: string | undefined;
409
409
  /**
410
410
  * <p>Series for the report resource.</p>
411
411
  * @public
412
412
  */
413
- series?: string;
413
+ series?: string | undefined;
414
414
  /**
415
415
  * <p>Category for the report resource.</p>
416
416
  * @public
417
417
  */
418
- category?: string;
418
+ category?: string | undefined;
419
419
  /**
420
420
  * <p>Associated company name for the report resource.</p>
421
421
  * @public
422
422
  */
423
- companyName?: string;
423
+ companyName?: string | undefined;
424
424
  /**
425
425
  * <p>Associated product name for the report resource.</p>
426
426
  * @public
427
427
  */
428
- productName?: string;
428
+ productName?: string | undefined;
429
429
  /**
430
430
  * <p>Unique resource ARN for term resource.</p>
431
431
  * @public
432
432
  */
433
- termArn?: string;
433
+ termArn?: string | undefined;
434
434
  /**
435
435
  * <p>Version for the report resource.</p>
436
436
  * @public
437
437
  */
438
- version?: number;
438
+ version?: number | undefined;
439
439
  /**
440
440
  * <p>Acceptance type for report.</p>
441
441
  * @public
442
442
  */
443
- acceptanceType?: AcceptanceType;
443
+ acceptanceType?: AcceptanceType | undefined;
444
444
  /**
445
445
  * <p>Sequence number to enforce optimistic locking.</p>
446
446
  * @public
447
447
  */
448
- sequenceNumber?: number;
448
+ sequenceNumber?: number | undefined;
449
449
  /**
450
450
  * <p>The current state of the document upload.</p>
451
451
  * @public
452
452
  */
453
- uploadState?: UploadState;
453
+ uploadState?: UploadState | undefined;
454
454
  /**
455
455
  * <p>The message associated with the current upload state.</p>
456
456
  * @public
457
457
  */
458
- statusMessage?: string;
458
+ statusMessage?: string | undefined;
459
459
  }
460
460
  /**
461
461
  * @public
@@ -465,7 +465,7 @@ export interface GetReportMetadataResponse {
465
465
  * <p>Report resource detail.</p>
466
466
  * @public
467
467
  */
468
- reportDetails?: ReportDetail;
468
+ reportDetails?: ReportDetail | undefined;
469
469
  }
470
470
  /**
471
471
  * @public
@@ -480,7 +480,7 @@ export interface GetTermForReportRequest {
480
480
  * <p>Version for the report resource.</p>
481
481
  * @public
482
482
  */
483
- reportVersion?: number;
483
+ reportVersion?: number | undefined;
484
484
  }
485
485
  /**
486
486
  * @public
@@ -490,12 +490,12 @@ export interface GetTermForReportResponse {
490
490
  * <p>Presigned S3 url to access the term content.</p>
491
491
  * @public
492
492
  */
493
- documentPresignedUrl?: string;
493
+ documentPresignedUrl?: string | undefined;
494
494
  /**
495
495
  * <p>Unique token representing this request event.</p>
496
496
  * @public
497
497
  */
498
- termToken?: string;
498
+ termToken?: string | undefined;
499
499
  }
500
500
  /**
501
501
  * @public
@@ -505,12 +505,12 @@ export interface ListReportsRequest {
505
505
  * <p>Maximum number of resources to return in the paginated response.</p>
506
506
  * @public
507
507
  */
508
- maxResults?: number;
508
+ maxResults?: number | undefined;
509
509
  /**
510
510
  * <p>Pagination token to request the next page of resources.</p>
511
511
  * @public
512
512
  */
513
- nextToken?: string;
513
+ nextToken?: string | undefined;
514
514
  }
515
515
  /**
516
516
  * <p>Summary for report resource.</p>
@@ -521,77 +521,77 @@ export interface ReportSummary {
521
521
  * <p>Unique resource ID for the report resource.</p>
522
522
  * @public
523
523
  */
524
- id?: string;
524
+ id?: string | undefined;
525
525
  /**
526
526
  * <p>Name for the report resource.</p>
527
527
  * @public
528
528
  */
529
- name?: string;
529
+ name?: string | undefined;
530
530
  /**
531
531
  * <p>Current state of the report resource.</p>
532
532
  * @public
533
533
  */
534
- state?: PublishedState;
534
+ state?: PublishedState | undefined;
535
535
  /**
536
536
  * <p>ARN for the report resource.</p>
537
537
  * @public
538
538
  */
539
- arn?: string;
539
+ arn?: string | undefined;
540
540
  /**
541
541
  * <p>Version for the report resource.</p>
542
542
  * @public
543
543
  */
544
- version?: number;
544
+ version?: number | undefined;
545
545
  /**
546
546
  * <p>The current state of the document upload.</p>
547
547
  * @public
548
548
  */
549
- uploadState?: UploadState;
549
+ uploadState?: UploadState | undefined;
550
550
  /**
551
551
  * <p>Description for the report resource.</p>
552
552
  * @public
553
553
  */
554
- description?: string;
554
+ description?: string | undefined;
555
555
  /**
556
556
  * <p>Timestamp indicating the report resource effective start.</p>
557
557
  * @public
558
558
  */
559
- periodStart?: Date;
559
+ periodStart?: Date | undefined;
560
560
  /**
561
561
  * <p>Timestamp indicating the report resource effective end.</p>
562
562
  * @public
563
563
  */
564
- periodEnd?: Date;
564
+ periodEnd?: Date | undefined;
565
565
  /**
566
566
  * <p>Series for the report resource.</p>
567
567
  * @public
568
568
  */
569
- series?: string;
569
+ series?: string | undefined;
570
570
  /**
571
571
  * <p>Category for the report resource.</p>
572
572
  * @public
573
573
  */
574
- category?: string;
574
+ category?: string | undefined;
575
575
  /**
576
576
  * <p>Associated company name for the report resource.</p>
577
577
  * @public
578
578
  */
579
- companyName?: string;
579
+ companyName?: string | undefined;
580
580
  /**
581
581
  * <p>Associated product name for the report resource.</p>
582
582
  * @public
583
583
  */
584
- productName?: string;
584
+ productName?: string | undefined;
585
585
  /**
586
586
  * <p>The message associated with the current upload state.</p>
587
587
  * @public
588
588
  */
589
- statusMessage?: string;
589
+ statusMessage?: string | undefined;
590
590
  /**
591
591
  * <p>Acceptance type for report.</p>
592
592
  * @public
593
593
  */
594
- acceptanceType?: AcceptanceType;
594
+ acceptanceType?: AcceptanceType | undefined;
595
595
  }
596
596
  /**
597
597
  * @public
@@ -601,10 +601,10 @@ export interface ListReportsResponse {
601
601
  * <p>List of report resources.</p>
602
602
  * @public
603
603
  */
604
- reports?: ReportSummary[];
604
+ reports?: ReportSummary[] | undefined;
605
605
  /**
606
606
  * <p>Pagination token to request the next page of resources.</p>
607
607
  * @public
608
608
  */
609
- nextToken?: string;
609
+ nextToken?: string | undefined;
610
610
  }
@@ -20,7 +20,7 @@ export declare const NotificationSubscriptionStatus: {
20
20
  export type NotificationSubscriptionStatus =
21
21
  (typeof NotificationSubscriptionStatus)[keyof typeof NotificationSubscriptionStatus];
22
22
  export interface AccountSettings {
23
- notificationSubscriptionStatus?: NotificationSubscriptionStatus;
23
+ notificationSubscriptionStatus?: NotificationSubscriptionStatus | undefined;
24
24
  }
25
25
  export declare class ConflictException extends __BaseException {
26
26
  readonly name: "ConflictException";
@@ -31,13 +31,13 @@ export declare class ConflictException extends __BaseException {
31
31
  }
32
32
  export interface GetAccountSettingsRequest {}
33
33
  export interface GetAccountSettingsResponse {
34
- accountSettings?: AccountSettings;
34
+ accountSettings?: AccountSettings | undefined;
35
35
  }
36
36
  export declare class InternalServerException extends __BaseException {
37
37
  readonly name: "InternalServerException";
38
38
  readonly $fault: "server";
39
39
  $retryable: {};
40
- retryAfterSeconds?: number;
40
+ retryAfterSeconds?: number | undefined;
41
41
  constructor(
42
42
  opts: __ExceptionOptionType<InternalServerException, __BaseException>
43
43
  );
@@ -68,9 +68,9 @@ export declare class ThrottlingException extends __BaseException {
68
68
  $retryable: {
69
69
  throttling: boolean;
70
70
  };
71
- serviceCode?: string;
72
- quotaCode?: string;
73
- retryAfterSeconds?: number;
71
+ serviceCode?: string | undefined;
72
+ quotaCode?: string | undefined;
73
+ retryAfterSeconds?: number | undefined;
74
74
  constructor(
75
75
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
76
76
  );
@@ -92,28 +92,28 @@ export declare class ValidationException extends __BaseException {
92
92
  readonly name: "ValidationException";
93
93
  readonly $fault: "client";
94
94
  reason: ValidationExceptionReason | undefined;
95
- fieldList?: ValidationExceptionField[];
95
+ fieldList?: ValidationExceptionField[] | undefined;
96
96
  constructor(
97
97
  opts: __ExceptionOptionType<ValidationException, __BaseException>
98
98
  );
99
99
  }
100
100
  export interface PutAccountSettingsRequest {
101
- notificationSubscriptionStatus?: NotificationSubscriptionStatus;
101
+ notificationSubscriptionStatus?: NotificationSubscriptionStatus | undefined;
102
102
  }
103
103
  export interface PutAccountSettingsResponse {
104
- accountSettings?: AccountSettings;
104
+ accountSettings?: AccountSettings | undefined;
105
105
  }
106
106
  export interface GetReportRequest {
107
107
  reportId: string | undefined;
108
- reportVersion?: number;
108
+ reportVersion?: number | undefined;
109
109
  termToken: string | undefined;
110
110
  }
111
111
  export interface GetReportResponse {
112
- documentPresignedUrl?: string;
112
+ documentPresignedUrl?: string | undefined;
113
113
  }
114
114
  export interface GetReportMetadataRequest {
115
115
  reportId: string | undefined;
116
- reportVersion?: number;
116
+ reportVersion?: number | undefined;
117
117
  }
118
118
  export declare const PublishedState: {
119
119
  readonly PUBLISHED: "PUBLISHED";
@@ -129,60 +129,60 @@ export declare const UploadState: {
129
129
  };
130
130
  export type UploadState = (typeof UploadState)[keyof typeof UploadState];
131
131
  export interface ReportDetail {
132
- id?: string;
133
- name?: string;
134
- description?: string;
135
- periodStart?: Date;
136
- periodEnd?: Date;
137
- createdAt?: Date;
138
- lastModifiedAt?: Date;
139
- deletedAt?: Date;
140
- state?: PublishedState;
141
- arn?: string;
142
- series?: string;
143
- category?: string;
144
- companyName?: string;
145
- productName?: string;
146
- termArn?: string;
147
- version?: number;
148
- acceptanceType?: AcceptanceType;
149
- sequenceNumber?: number;
150
- uploadState?: UploadState;
151
- statusMessage?: string;
132
+ id?: string | undefined;
133
+ name?: string | undefined;
134
+ description?: string | undefined;
135
+ periodStart?: Date | undefined;
136
+ periodEnd?: Date | undefined;
137
+ createdAt?: Date | undefined;
138
+ lastModifiedAt?: Date | undefined;
139
+ deletedAt?: Date | undefined;
140
+ state?: PublishedState | undefined;
141
+ arn?: string | undefined;
142
+ series?: string | undefined;
143
+ category?: string | undefined;
144
+ companyName?: string | undefined;
145
+ productName?: string | undefined;
146
+ termArn?: string | undefined;
147
+ version?: number | undefined;
148
+ acceptanceType?: AcceptanceType | undefined;
149
+ sequenceNumber?: number | undefined;
150
+ uploadState?: UploadState | undefined;
151
+ statusMessage?: string | undefined;
152
152
  }
153
153
  export interface GetReportMetadataResponse {
154
- reportDetails?: ReportDetail;
154
+ reportDetails?: ReportDetail | undefined;
155
155
  }
156
156
  export interface GetTermForReportRequest {
157
157
  reportId: string | undefined;
158
- reportVersion?: number;
158
+ reportVersion?: number | undefined;
159
159
  }
160
160
  export interface GetTermForReportResponse {
161
- documentPresignedUrl?: string;
162
- termToken?: string;
161
+ documentPresignedUrl?: string | undefined;
162
+ termToken?: string | undefined;
163
163
  }
164
164
  export interface ListReportsRequest {
165
- maxResults?: number;
166
- nextToken?: string;
165
+ maxResults?: number | undefined;
166
+ nextToken?: string | undefined;
167
167
  }
168
168
  export interface ReportSummary {
169
- id?: string;
170
- name?: string;
171
- state?: PublishedState;
172
- arn?: string;
173
- version?: number;
174
- uploadState?: UploadState;
175
- description?: string;
176
- periodStart?: Date;
177
- periodEnd?: Date;
178
- series?: string;
179
- category?: string;
180
- companyName?: string;
181
- productName?: string;
182
- statusMessage?: string;
183
- acceptanceType?: AcceptanceType;
169
+ id?: string | undefined;
170
+ name?: string | undefined;
171
+ state?: PublishedState | undefined;
172
+ arn?: string | undefined;
173
+ version?: number | undefined;
174
+ uploadState?: UploadState | undefined;
175
+ description?: string | undefined;
176
+ periodStart?: Date | undefined;
177
+ periodEnd?: Date | undefined;
178
+ series?: string | undefined;
179
+ category?: string | undefined;
180
+ companyName?: string | undefined;
181
+ productName?: string | undefined;
182
+ statusMessage?: string | undefined;
183
+ acceptanceType?: AcceptanceType | undefined;
184
184
  }
185
185
  export interface ListReportsResponse {
186
- reports?: ReportSummary[];
187
- nextToken?: string;
186
+ reports?: ReportSummary[] | undefined;
187
+ nextToken?: string | undefined;
188
188
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-artifact",
3
3
  "description": "AWS SDK for JavaScript Artifact 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": "tsc -p tsconfig.cjs.json",
@@ -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",