@aws-sdk/client-artifact 3.533.0 → 3.535.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.
@@ -10,6 +10,7 @@ export interface Artifact {
10
10
  /**
11
11
  * @see {@link GetAccountSettingsCommand}
12
12
  */
13
+ getAccountSettings(): Promise<GetAccountSettingsCommandOutput>;
13
14
  getAccountSettings(args: GetAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetAccountSettingsCommandOutput>;
14
15
  getAccountSettings(args: GetAccountSettingsCommandInput, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
15
16
  getAccountSettings(args: GetAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
@@ -34,19 +35,21 @@ export interface Artifact {
34
35
  /**
35
36
  * @see {@link ListReportsCommand}
36
37
  */
38
+ listReports(): Promise<ListReportsCommandOutput>;
37
39
  listReports(args: ListReportsCommandInput, options?: __HttpHandlerOptions): Promise<ListReportsCommandOutput>;
38
40
  listReports(args: ListReportsCommandInput, cb: (err: any, data?: ListReportsCommandOutput) => void): void;
39
41
  listReports(args: ListReportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReportsCommandOutput) => void): void;
40
42
  /**
41
43
  * @see {@link PutAccountSettingsCommand}
42
44
  */
45
+ putAccountSettings(): Promise<PutAccountSettingsCommandOutput>;
43
46
  putAccountSettings(args: PutAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<PutAccountSettingsCommandOutput>;
44
47
  putAccountSettings(args: PutAccountSettingsCommandInput, cb: (err: any, data?: PutAccountSettingsCommandOutput) => void): void;
45
48
  putAccountSettings(args: PutAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAccountSettingsCommandOutput) => void): void;
46
49
  }
47
50
  /**
48
- * @public
49
51
  * <p>This reference provides descriptions of the low-level AWS Artifact Service API.</p>
52
+ * @public
50
53
  */
51
54
  export declare class Artifact extends ArtifactClient implements Artifact {
52
55
  }
@@ -157,8 +157,8 @@ export type ArtifactClientResolvedConfigType = __SmithyResolvedConfiguration<__H
157
157
  export interface ArtifactClientResolvedConfig extends ArtifactClientResolvedConfigType {
158
158
  }
159
159
  /**
160
- * @public
161
160
  * <p>This reference provides descriptions of the low-level AWS Artifact Service API.</p>
161
+ * @public
162
162
  */
163
163
  export declare class ArtifactClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ArtifactClientResolvedConfig> {
164
164
  /**
@@ -22,10 +22,10 @@ export interface GetAccountSettingsCommandOutput extends GetAccountSettingsRespo
22
22
  }
23
23
  declare const GetAccountSettingsCommand_base: {
24
24
  new (input: GetAccountSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [GetAccountSettingsCommandInput]): import("@smithy/smithy-client").CommandImpl<GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Get the account settings for Artifact.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -74,6 +74,7 @@ declare const GetAccountSettingsCommand_base: {
74
74
  * @throws {@link ArtifactServiceException}
75
75
  * <p>Base exception class for all service exceptions from Artifact service.</p>
76
76
  *
77
+ * @public
77
78
  */
78
79
  export declare class GetAccountSettingsCommand extends GetAccountSettingsCommand_base {
79
80
  }
@@ -22,10 +22,10 @@ export interface GetReportCommandOutput extends GetReportResponse, __MetadataBea
22
22
  }
23
23
  declare const GetReportCommand_base: {
24
24
  new (input: GetReportCommandInput): import("@smithy/smithy-client").CommandImpl<GetReportCommandInput, GetReportCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetReportCommandInput): import("@smithy/smithy-client").CommandImpl<GetReportCommandInput, GetReportCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Get the content for a single report.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -76,6 +76,7 @@ declare const GetReportCommand_base: {
76
76
  * @throws {@link ArtifactServiceException}
77
77
  * <p>Base exception class for all service exceptions from Artifact service.</p>
78
78
  *
79
+ * @public
79
80
  */
80
81
  export declare class GetReportCommand extends GetReportCommand_base {
81
82
  }
@@ -22,10 +22,10 @@ export interface GetReportMetadataCommandOutput extends GetReportMetadataRespons
22
22
  }
23
23
  declare const GetReportMetadataCommand_base: {
24
24
  new (input: GetReportMetadataCommandInput): import("@smithy/smithy-client").CommandImpl<GetReportMetadataCommandInput, GetReportMetadataCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetReportMetadataCommandInput): import("@smithy/smithy-client").CommandImpl<GetReportMetadataCommandInput, GetReportMetadataCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Get the metadata for a single report.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -93,6 +93,7 @@ declare const GetReportMetadataCommand_base: {
93
93
  * @throws {@link ArtifactServiceException}
94
94
  * <p>Base exception class for all service exceptions from Artifact service.</p>
95
95
  *
96
+ * @public
96
97
  */
97
98
  export declare class GetReportMetadataCommand extends GetReportMetadataCommand_base {
98
99
  }
@@ -22,10 +22,10 @@ export interface GetTermForReportCommandOutput extends GetTermForReportResponse,
22
22
  }
23
23
  declare const GetTermForReportCommand_base: {
24
24
  new (input: GetTermForReportCommandInput): import("@smithy/smithy-client").CommandImpl<GetTermForReportCommandInput, GetTermForReportCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetTermForReportCommandInput): import("@smithy/smithy-client").CommandImpl<GetTermForReportCommandInput, GetTermForReportCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Get the Term content associated with a single report.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -76,6 +76,7 @@ declare const GetTermForReportCommand_base: {
76
76
  * @throws {@link ArtifactServiceException}
77
77
  * <p>Base exception class for all service exceptions from Artifact service.</p>
78
78
  *
79
+ * @public
79
80
  */
80
81
  export declare class GetTermForReportCommand extends GetTermForReportCommand_base {
81
82
  }
@@ -22,10 +22,10 @@ export interface ListReportsCommandOutput extends ListReportsResponse, __Metadat
22
22
  }
23
23
  declare const ListReportsCommand_base: {
24
24
  new (input: ListReportsCommandInput): import("@smithy/smithy-client").CommandImpl<ListReportsCommandInput, ListReportsCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [ListReportsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListReportsCommandInput, ListReportsCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>List available reports.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -90,6 +90,7 @@ declare const ListReportsCommand_base: {
90
90
  * @throws {@link ArtifactServiceException}
91
91
  * <p>Base exception class for all service exceptions from Artifact service.</p>
92
92
  *
93
+ * @public
93
94
  */
94
95
  export declare class ListReportsCommand extends ListReportsCommand_base {
95
96
  }
@@ -22,10 +22,10 @@ export interface PutAccountSettingsCommandOutput extends PutAccountSettingsRespo
22
22
  }
23
23
  declare const PutAccountSettingsCommand_base: {
24
24
  new (input: PutAccountSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<PutAccountSettingsCommandInput, PutAccountSettingsCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [PutAccountSettingsCommandInput]): import("@smithy/smithy-client").CommandImpl<PutAccountSettingsCommandInput, PutAccountSettingsCommandOutput, ArtifactClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Put the account settings for Artifact.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -76,6 +76,7 @@ declare const PutAccountSettingsCommand_base: {
76
76
  * @throws {@link ArtifactServiceException}
77
77
  * <p>Base exception class for all service exceptions from Artifact service.</p>
78
78
  *
79
+ * @public
79
80
  */
80
81
  export declare class PutAccountSettingsCommand extends PutAccountSettingsCommand_base {
81
82
  }
@@ -22,8 +22,8 @@ export declare const AcceptanceType: {
22
22
  */
23
23
  export type AcceptanceType = (typeof AcceptanceType)[keyof typeof AcceptanceType];
24
24
  /**
25
- * @public
26
25
  * <p>User does not have sufficient access to perform this action.</p>
26
+ * @public
27
27
  */
28
28
  export declare class AccessDeniedException extends __BaseException {
29
29
  readonly name: "AccessDeniedException";
@@ -52,31 +52,31 @@ export declare const NotificationSubscriptionStatus: {
52
52
  */
53
53
  export type NotificationSubscriptionStatus = (typeof NotificationSubscriptionStatus)[keyof typeof NotificationSubscriptionStatus];
54
54
  /**
55
- * @public
56
55
  * <p>Account settings for the customer.</p>
56
+ * @public
57
57
  */
58
58
  export interface AccountSettings {
59
59
  /**
60
- * @public
61
60
  * <p>Notification subscription status of the customer.</p>
61
+ * @public
62
62
  */
63
63
  notificationSubscriptionStatus?: NotificationSubscriptionStatus;
64
64
  }
65
65
  /**
66
- * @public
67
66
  * <p>Request to create/modify content would result in a conflict.</p>
67
+ * @public
68
68
  */
69
69
  export declare class ConflictException extends __BaseException {
70
70
  readonly name: "ConflictException";
71
71
  readonly $fault: "client";
72
72
  /**
73
- * @public
74
73
  * <p>Identifier of the affected resource.</p>
74
+ * @public
75
75
  */
76
76
  resourceId: string | undefined;
77
77
  /**
78
- * @public
79
78
  * <p>Type of the affected resource.</p>
79
+ * @public
80
80
  */
81
81
  resourceType: string | undefined;
82
82
  /**
@@ -94,22 +94,22 @@ export interface GetAccountSettingsRequest {
94
94
  */
95
95
  export interface GetAccountSettingsResponse {
96
96
  /**
97
- * @public
98
97
  * <p>Account settings for the customer.</p>
98
+ * @public
99
99
  */
100
100
  accountSettings?: AccountSettings;
101
101
  }
102
102
  /**
103
- * @public
104
103
  * <p>An unknown server exception has occurred.</p>
104
+ * @public
105
105
  */
106
106
  export declare class InternalServerException extends __BaseException {
107
107
  readonly name: "InternalServerException";
108
108
  readonly $fault: "server";
109
109
  $retryable: {};
110
110
  /**
111
- * @public
112
111
  * <p>Number of seconds in which the caller can retry the request.</p>
112
+ * @public
113
113
  */
114
114
  retryAfterSeconds?: number;
115
115
  /**
@@ -118,20 +118,20 @@ export declare class InternalServerException extends __BaseException {
118
118
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
119
119
  }
120
120
  /**
121
- * @public
122
121
  * <p>Request references a resource which does not exist.</p>
122
+ * @public
123
123
  */
124
124
  export declare class ResourceNotFoundException extends __BaseException {
125
125
  readonly name: "ResourceNotFoundException";
126
126
  readonly $fault: "client";
127
127
  /**
128
- * @public
129
128
  * <p>Identifier of the affected resource.</p>
129
+ * @public
130
130
  */
131
131
  resourceId: string | undefined;
132
132
  /**
133
- * @public
134
133
  * <p>Type of the affected resource.</p>
134
+ * @public
135
135
  */
136
136
  resourceType: string | undefined;
137
137
  /**
@@ -140,30 +140,30 @@ export declare class ResourceNotFoundException extends __BaseException {
140
140
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
141
141
  }
142
142
  /**
143
- * @public
144
143
  * <p>Request would cause a service quota to be exceeded.</p>
144
+ * @public
145
145
  */
146
146
  export declare class ServiceQuotaExceededException extends __BaseException {
147
147
  readonly name: "ServiceQuotaExceededException";
148
148
  readonly $fault: "client";
149
149
  /**
150
- * @public
151
150
  * <p>Identifier of the affected resource.</p>
151
+ * @public
152
152
  */
153
153
  resourceId: string | undefined;
154
154
  /**
155
- * @public
156
155
  * <p>Type of the affected resource.</p>
156
+ * @public
157
157
  */
158
158
  resourceType: string | undefined;
159
159
  /**
160
- * @public
161
160
  * <p>Code for the affected service.</p>
161
+ * @public
162
162
  */
163
163
  serviceCode: string | undefined;
164
164
  /**
165
- * @public
166
165
  * <p>Code for the affected quota.</p>
166
+ * @public
167
167
  */
168
168
  quotaCode: string | undefined;
169
169
  /**
@@ -172,8 +172,8 @@ export declare class ServiceQuotaExceededException extends __BaseException {
172
172
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
173
173
  }
174
174
  /**
175
- * @public
176
175
  * <p>Request was denied due to request throttling.</p>
176
+ * @public
177
177
  */
178
178
  export declare class ThrottlingException extends __BaseException {
179
179
  readonly name: "ThrottlingException";
@@ -182,18 +182,18 @@ export declare class ThrottlingException extends __BaseException {
182
182
  throttling: boolean;
183
183
  };
184
184
  /**
185
- * @public
186
185
  * <p>Code for the affected service.</p>
186
+ * @public
187
187
  */
188
188
  serviceCode?: string;
189
189
  /**
190
- * @public
191
190
  * <p>Code for the affected quota.</p>
191
+ * @public
192
192
  */
193
193
  quotaCode?: string;
194
194
  /**
195
- * @public
196
195
  * <p>Number of seconds in which the caller can retry the request.</p>
196
+ * @public
197
197
  */
198
198
  retryAfterSeconds?: number;
199
199
  /**
@@ -202,18 +202,18 @@ export declare class ThrottlingException extends __BaseException {
202
202
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
203
203
  }
204
204
  /**
205
- * @public
206
205
  * <p>Validation exception message and name.</p>
206
+ * @public
207
207
  */
208
208
  export interface ValidationExceptionField {
209
209
  /**
210
- * @public
211
210
  * <p>Name of validation exception.</p>
211
+ * @public
212
212
  */
213
213
  name: string | undefined;
214
214
  /**
215
- * @public
216
215
  * <p>Message describing why the field failed validation.</p>
216
+ * @public
217
217
  */
218
218
  message: string | undefined;
219
219
  }
@@ -233,20 +233,20 @@ export declare const ValidationExceptionReason: {
233
233
  */
234
234
  export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
235
235
  /**
236
- * @public
237
236
  * <p>Request fails to satisfy the constraints specified by an AWS service.</p>
237
+ * @public
238
238
  */
239
239
  export declare class ValidationException extends __BaseException {
240
240
  readonly name: "ValidationException";
241
241
  readonly $fault: "client";
242
242
  /**
243
- * @public
244
243
  * <p>Reason the request failed validation.</p>
244
+ * @public
245
245
  */
246
246
  reason: ValidationExceptionReason | undefined;
247
247
  /**
248
- * @public
249
248
  * <p>The field that caused the error, if applicable.</p>
249
+ * @public
250
250
  */
251
251
  fieldList?: ValidationExceptionField[];
252
252
  /**
@@ -259,8 +259,8 @@ export declare class ValidationException extends __BaseException {
259
259
  */
260
260
  export interface PutAccountSettingsRequest {
261
261
  /**
262
- * @public
263
262
  * <p>Desired notification subscription status.</p>
263
+ * @public
264
264
  */
265
265
  notificationSubscriptionStatus?: NotificationSubscriptionStatus;
266
266
  }
@@ -269,8 +269,8 @@ export interface PutAccountSettingsRequest {
269
269
  */
270
270
  export interface PutAccountSettingsResponse {
271
271
  /**
272
- * @public
273
272
  * <p>Account settings for the customer.</p>
273
+ * @public
274
274
  */
275
275
  accountSettings?: AccountSettings;
276
276
  }
@@ -279,18 +279,18 @@ export interface PutAccountSettingsResponse {
279
279
  */
280
280
  export interface GetReportRequest {
281
281
  /**
282
- * @public
283
282
  * <p>Unique resource ID for the report resource.</p>
283
+ * @public
284
284
  */
285
285
  reportId: string | undefined;
286
286
  /**
287
- * @public
288
287
  * <p>Version for the report resource.</p>
288
+ * @public
289
289
  */
290
290
  reportVersion?: number;
291
291
  /**
292
- * @public
293
292
  * <p>Unique download token provided by GetTermForReport API.</p>
293
+ * @public
294
294
  */
295
295
  termToken: string | undefined;
296
296
  }
@@ -299,8 +299,8 @@ export interface GetReportRequest {
299
299
  */
300
300
  export interface GetReportResponse {
301
301
  /**
302
- * @public
303
302
  * <p>Presigned S3 url to access the report content.</p>
303
+ * @public
304
304
  */
305
305
  documentPresignedUrl?: string;
306
306
  }
@@ -309,13 +309,13 @@ export interface GetReportResponse {
309
309
  */
310
310
  export interface GetReportMetadataRequest {
311
311
  /**
312
- * @public
313
312
  * <p>Unique resource ID for the report resource.</p>
313
+ * @public
314
314
  */
315
315
  reportId: string | undefined;
316
316
  /**
317
- * @public
318
317
  * <p>Version for the report resource.</p>
318
+ * @public
319
319
  */
320
320
  reportVersion?: number;
321
321
  }
@@ -352,108 +352,108 @@ export declare const UploadState: {
352
352
  */
353
353
  export type UploadState = (typeof UploadState)[keyof typeof UploadState];
354
354
  /**
355
- * @public
356
355
  * <p>Full detail for report resource metadata.</p>
356
+ * @public
357
357
  */
358
358
  export interface ReportDetail {
359
359
  /**
360
- * @public
361
360
  * <p>Unique resource ID for the report resource.</p>
361
+ * @public
362
362
  */
363
363
  id?: string;
364
364
  /**
365
- * @public
366
365
  * <p>Name for the report resource.</p>
366
+ * @public
367
367
  */
368
368
  name?: string;
369
369
  /**
370
- * @public
371
370
  * <p>Description for the report resource.</p>
371
+ * @public
372
372
  */
373
373
  description?: string;
374
374
  /**
375
- * @public
376
375
  * <p>Timestamp indicating the report resource effective start.</p>
376
+ * @public
377
377
  */
378
378
  periodStart?: Date;
379
379
  /**
380
- * @public
381
380
  * <p>Timestamp indicating the report resource effective end.</p>
381
+ * @public
382
382
  */
383
383
  periodEnd?: Date;
384
384
  /**
385
- * @public
386
385
  * <p>Timestamp indicating when the report resource was created.</p>
386
+ * @public
387
387
  */
388
388
  createdAt?: Date;
389
389
  /**
390
- * @public
391
390
  * <p>Timestamp indicating when the report resource was last modified.</p>
391
+ * @public
392
392
  */
393
393
  lastModifiedAt?: Date;
394
394
  /**
395
- * @public
396
395
  * <p>Timestamp indicating when the report resource was deleted.</p>
396
+ * @public
397
397
  */
398
398
  deletedAt?: Date;
399
399
  /**
400
- * @public
401
400
  * <p>Current state of the report resource</p>
401
+ * @public
402
402
  */
403
403
  state?: PublishedState;
404
404
  /**
405
- * @public
406
405
  * <p>ARN for the report resource.</p>
406
+ * @public
407
407
  */
408
408
  arn?: string;
409
409
  /**
410
- * @public
411
410
  * <p>Series for the report resource.</p>
411
+ * @public
412
412
  */
413
413
  series?: string;
414
414
  /**
415
- * @public
416
415
  * <p>Category for the report resource.</p>
416
+ * @public
417
417
  */
418
418
  category?: string;
419
419
  /**
420
- * @public
421
420
  * <p>Associated company name for the report resource.</p>
421
+ * @public
422
422
  */
423
423
  companyName?: string;
424
424
  /**
425
- * @public
426
425
  * <p>Associated product name for the report resource.</p>
426
+ * @public
427
427
  */
428
428
  productName?: string;
429
429
  /**
430
- * @public
431
430
  * <p>Unique resource ARN for term resource.</p>
431
+ * @public
432
432
  */
433
433
  termArn?: string;
434
434
  /**
435
- * @public
436
435
  * <p>Version for the report resource.</p>
436
+ * @public
437
437
  */
438
438
  version?: number;
439
439
  /**
440
- * @public
441
440
  * <p>Acceptance type for report.</p>
441
+ * @public
442
442
  */
443
443
  acceptanceType?: AcceptanceType;
444
444
  /**
445
- * @public
446
445
  * <p>Sequence number to enforce optimistic locking.</p>
446
+ * @public
447
447
  */
448
448
  sequenceNumber?: number;
449
449
  /**
450
- * @public
451
450
  * <p>The current state of the document upload.</p>
451
+ * @public
452
452
  */
453
453
  uploadState?: UploadState;
454
454
  /**
455
- * @public
456
455
  * <p>The message associated with the current upload state.</p>
456
+ * @public
457
457
  */
458
458
  statusMessage?: string;
459
459
  }
@@ -462,8 +462,8 @@ export interface ReportDetail {
462
462
  */
463
463
  export interface GetReportMetadataResponse {
464
464
  /**
465
- * @public
466
465
  * <p>Report resource detail.</p>
466
+ * @public
467
467
  */
468
468
  reportDetails?: ReportDetail;
469
469
  }
@@ -472,13 +472,13 @@ export interface GetReportMetadataResponse {
472
472
  */
473
473
  export interface GetTermForReportRequest {
474
474
  /**
475
- * @public
476
475
  * <p>Unique resource ID for the report resource.</p>
476
+ * @public
477
477
  */
478
478
  reportId: string | undefined;
479
479
  /**
480
- * @public
481
480
  * <p>Version for the report resource.</p>
481
+ * @public
482
482
  */
483
483
  reportVersion?: number;
484
484
  }
@@ -487,13 +487,13 @@ export interface GetTermForReportRequest {
487
487
  */
488
488
  export interface GetTermForReportResponse {
489
489
  /**
490
- * @public
491
490
  * <p>Presigned S3 url to access the term content.</p>
491
+ * @public
492
492
  */
493
493
  documentPresignedUrl?: string;
494
494
  /**
495
- * @public
496
495
  * <p>Unique token representing this request event.</p>
496
+ * @public
497
497
  */
498
498
  termToken?: string;
499
499
  }
@@ -502,89 +502,89 @@ export interface GetTermForReportResponse {
502
502
  */
503
503
  export interface ListReportsRequest {
504
504
  /**
505
- * @public
506
505
  * <p>Maximum number of resources to return in the paginated response.</p>
506
+ * @public
507
507
  */
508
508
  maxResults?: number;
509
509
  /**
510
- * @public
511
510
  * <p>Pagination token to request the next page of resources.</p>
511
+ * @public
512
512
  */
513
513
  nextToken?: string;
514
514
  }
515
515
  /**
516
- * @public
517
516
  * <p>Summary for report resource.</p>
517
+ * @public
518
518
  */
519
519
  export interface ReportSummary {
520
520
  /**
521
- * @public
522
521
  * <p>Unique resource ID for the report resource.</p>
522
+ * @public
523
523
  */
524
524
  id?: string;
525
525
  /**
526
- * @public
527
526
  * <p>Name for the report resource.</p>
527
+ * @public
528
528
  */
529
529
  name?: string;
530
530
  /**
531
- * @public
532
531
  * <p>Current state of the report resource.</p>
532
+ * @public
533
533
  */
534
534
  state?: PublishedState;
535
535
  /**
536
- * @public
537
536
  * <p>ARN for the report resource.</p>
537
+ * @public
538
538
  */
539
539
  arn?: string;
540
540
  /**
541
- * @public
542
541
  * <p>Version for the report resource.</p>
542
+ * @public
543
543
  */
544
544
  version?: number;
545
545
  /**
546
- * @public
547
546
  * <p>The current state of the document upload.</p>
547
+ * @public
548
548
  */
549
549
  uploadState?: UploadState;
550
550
  /**
551
- * @public
552
551
  * <p>Description for the report resource.</p>
552
+ * @public
553
553
  */
554
554
  description?: string;
555
555
  /**
556
- * @public
557
556
  * <p>Timestamp indicating the report resource effective start.</p>
557
+ * @public
558
558
  */
559
559
  periodStart?: Date;
560
560
  /**
561
- * @public
562
561
  * <p>Timestamp indicating the report resource effective end.</p>
562
+ * @public
563
563
  */
564
564
  periodEnd?: Date;
565
565
  /**
566
- * @public
567
566
  * <p>Series for the report resource.</p>
567
+ * @public
568
568
  */
569
569
  series?: string;
570
570
  /**
571
- * @public
572
571
  * <p>Category for the report resource.</p>
572
+ * @public
573
573
  */
574
574
  category?: string;
575
575
  /**
576
- * @public
577
576
  * <p>Associated company name for the report resource.</p>
577
+ * @public
578
578
  */
579
579
  companyName?: string;
580
580
  /**
581
- * @public
582
581
  * <p>Associated product name for the report resource.</p>
582
+ * @public
583
583
  */
584
584
  productName?: string;
585
585
  /**
586
- * @public
587
586
  * <p>The message associated with the current upload state.</p>
587
+ * @public
588
588
  */
589
589
  statusMessage?: string;
590
590
  }
@@ -593,13 +593,13 @@ export interface ReportSummary {
593
593
  */
594
594
  export interface ListReportsResponse {
595
595
  /**
596
- * @public
597
596
  * <p>List of report resources.</p>
597
+ * @public
598
598
  */
599
599
  reports?: ReportSummary[];
600
600
  /**
601
- * @public
602
601
  * <p>Pagination token to request the next page of resources.</p>
602
+ * @public
603
603
  */
604
604
  nextToken?: string;
605
605
  }
@@ -25,6 +25,7 @@ import {
25
25
  PutAccountSettingsCommandOutput,
26
26
  } from "./commands/PutAccountSettingsCommand";
27
27
  export interface Artifact {
28
+ getAccountSettings(): Promise<GetAccountSettingsCommandOutput>;
28
29
  getAccountSettings(
29
30
  args: GetAccountSettingsCommandInput,
30
31
  options?: __HttpHandlerOptions
@@ -77,6 +78,7 @@ export interface Artifact {
77
78
  options: __HttpHandlerOptions,
78
79
  cb: (err: any, data?: GetTermForReportCommandOutput) => void
79
80
  ): void;
81
+ listReports(): Promise<ListReportsCommandOutput>;
80
82
  listReports(
81
83
  args: ListReportsCommandInput,
82
84
  options?: __HttpHandlerOptions
@@ -90,6 +92,7 @@ export interface Artifact {
90
92
  options: __HttpHandlerOptions,
91
93
  cb: (err: any, data?: ListReportsCommandOutput) => void
92
94
  ): void;
95
+ putAccountSettings(): Promise<PutAccountSettingsCommandOutput>;
93
96
  putAccountSettings(
94
97
  args: PutAccountSettingsCommandInput,
95
98
  options?: __HttpHandlerOptions
@@ -25,6 +25,15 @@ declare const GetAccountSettingsCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ ...[input]: [] | [GetAccountSettingsCommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetAccountSettingsCommandInput,
32
+ GetAccountSettingsCommandOutput,
33
+ ArtifactClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class GetAccountSettingsCommand extends GetAccountSettingsCommand_base {}
@@ -21,6 +21,15 @@ declare const GetReportCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: GetReportCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ GetReportCommandInput,
28
+ GetReportCommandOutput,
29
+ ArtifactClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class GetReportCommand extends GetReportCommand_base {}
@@ -25,6 +25,15 @@ declare const GetReportMetadataCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: GetReportMetadataCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetReportMetadataCommandInput,
32
+ GetReportMetadataCommandOutput,
33
+ ArtifactClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class GetReportMetadataCommand extends GetReportMetadataCommand_base {}
@@ -24,6 +24,15 @@ declare const GetTermForReportCommand_base: {
24
24
  ServiceInputTypes,
25
25
  ServiceOutputTypes
26
26
  >;
27
+ new (
28
+ __0_0: GetTermForReportCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ GetTermForReportCommandInput,
31
+ GetTermForReportCommandOutput,
32
+ ArtifactClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
27
36
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
37
  };
29
38
  export declare class GetTermForReportCommand extends GetTermForReportCommand_base {}
@@ -21,6 +21,15 @@ declare const ListReportsCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ ...[input]: [] | [ListReportsCommandInput]
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ ListReportsCommandInput,
28
+ ListReportsCommandOutput,
29
+ ArtifactClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class ListReportsCommand extends ListReportsCommand_base {}
@@ -25,6 +25,15 @@ declare const PutAccountSettingsCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ ...[input]: [] | [PutAccountSettingsCommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ PutAccountSettingsCommandInput,
32
+ PutAccountSettingsCommandOutput,
33
+ ArtifactClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class PutAccountSettingsCommand extends PutAccountSettingsCommand_base {}
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.533.0",
4
+ "version": "3.535.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,47 +20,47 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.533.0",
24
- "@aws-sdk/core": "3.533.0",
25
- "@aws-sdk/credential-provider-node": "3.533.0",
26
- "@aws-sdk/middleware-host-header": "3.533.0",
27
- "@aws-sdk/middleware-logger": "3.533.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
- "@aws-sdk/middleware-user-agent": "3.533.0",
30
- "@aws-sdk/region-config-resolver": "3.533.0",
31
- "@aws-sdk/types": "3.533.0",
32
- "@aws-sdk/util-endpoints": "3.533.0",
33
- "@aws-sdk/util-user-agent-browser": "3.533.0",
34
- "@aws-sdk/util-user-agent-node": "3.533.0",
35
- "@smithy/config-resolver": "^2.1.5",
36
- "@smithy/core": "^1.3.8",
37
- "@smithy/fetch-http-handler": "^2.4.5",
38
- "@smithy/hash-node": "^2.1.4",
39
- "@smithy/invalid-dependency": "^2.1.4",
40
- "@smithy/middleware-content-length": "^2.1.4",
41
- "@smithy/middleware-endpoint": "^2.4.6",
42
- "@smithy/middleware-retry": "^2.1.7",
43
- "@smithy/middleware-serde": "^2.2.1",
44
- "@smithy/middleware-stack": "^2.1.4",
45
- "@smithy/node-config-provider": "^2.2.5",
46
- "@smithy/node-http-handler": "^2.4.3",
47
- "@smithy/protocol-http": "^3.2.2",
48
- "@smithy/smithy-client": "^2.4.5",
49
- "@smithy/types": "^2.11.0",
50
- "@smithy/url-parser": "^2.1.4",
51
- "@smithy/util-base64": "^2.2.1",
52
- "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.2",
54
- "@smithy/util-defaults-mode-browser": "^2.1.7",
55
- "@smithy/util-defaults-mode-node": "^2.2.7",
56
- "@smithy/util-endpoints": "^1.1.5",
57
- "@smithy/util-middleware": "^2.1.4",
58
- "@smithy/util-retry": "^2.1.4",
59
- "@smithy/util-utf8": "^2.2.0",
60
- "tslib": "^2.5.0"
23
+ "@aws-sdk/client-sts": "3.535.0",
24
+ "@aws-sdk/core": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.535.0",
26
+ "@aws-sdk/middleware-host-header": "3.535.0",
27
+ "@aws-sdk/middleware-logger": "3.535.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.535.0",
30
+ "@aws-sdk/region-config-resolver": "3.535.0",
31
+ "@aws-sdk/types": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.535.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.535.0",
34
+ "@aws-sdk/util-user-agent-node": "3.535.0",
35
+ "@smithy/config-resolver": "^2.2.0",
36
+ "@smithy/core": "^1.4.0",
37
+ "@smithy/fetch-http-handler": "^2.5.0",
38
+ "@smithy/hash-node": "^2.2.0",
39
+ "@smithy/invalid-dependency": "^2.2.0",
40
+ "@smithy/middleware-content-length": "^2.2.0",
41
+ "@smithy/middleware-endpoint": "^2.5.0",
42
+ "@smithy/middleware-retry": "^2.2.0",
43
+ "@smithy/middleware-serde": "^2.3.0",
44
+ "@smithy/middleware-stack": "^2.2.0",
45
+ "@smithy/node-config-provider": "^2.3.0",
46
+ "@smithy/node-http-handler": "^2.5.0",
47
+ "@smithy/protocol-http": "^3.3.0",
48
+ "@smithy/smithy-client": "^2.5.0",
49
+ "@smithy/types": "^2.12.0",
50
+ "@smithy/url-parser": "^2.2.0",
51
+ "@smithy/util-base64": "^2.3.0",
52
+ "@smithy/util-body-length-browser": "^2.2.0",
53
+ "@smithy/util-body-length-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.0",
55
+ "@smithy/util-defaults-mode-node": "^2.3.0",
56
+ "@smithy/util-endpoints": "^1.2.0",
57
+ "@smithy/util-middleware": "^2.2.0",
58
+ "@smithy/util-retry": "^2.2.0",
59
+ "@smithy/util-utf8": "^2.3.0",
60
+ "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@smithy/service-client-documentation-generator": "^2.1.1",
63
+ "@smithy/service-client-documentation-generator": "^2.2.0",
64
64
  "@tsconfig/node14": "1.0.3",
65
65
  "@types/node": "^14.14.31",
66
66
  "concurrently": "7.0.0",