@aws-sdk/client-artifact 3.515.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.
- package/LICENSE +201 -0
- package/README.md +253 -0
- package/dist-cjs/Artifact.js +23 -0
- package/dist-cjs/ArtifactClient.js +56 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/GetAccountSettingsCommand.js +28 -0
- package/dist-cjs/commands/GetReportCommand.js +28 -0
- package/dist-cjs/commands/GetReportMetadataCommand.js +28 -0
- package/dist-cjs/commands/GetTermForReportCommand.js +28 -0
- package/dist-cjs/commands/ListReportsCommand.js +28 -0
- package/dist-cjs/commands/PutAccountSettingsCommand.js +28 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/ArtifactServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +138 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListReportsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +432 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +49 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/Artifact.js +19 -0
- package/dist-es/ArtifactClient.js +52 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/GetAccountSettingsCommand.js +24 -0
- package/dist-es/commands/GetReportCommand.js +24 -0
- package/dist-es/commands/GetReportMetadataCommand.js +24 -0
- package/dist-es/commands/GetTermForReportCommand.js +24 -0
- package/dist-es/commands/ListReportsCommand.js +24 -0
- package/dist-es/commands/PutAccountSettingsCommand.js +24 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/ArtifactServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +128 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListReportsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +417 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/Artifact.d.ts +52 -0
- package/dist-types/ArtifactClient.d.ts +177 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +79 -0
- package/dist-types/commands/GetReportCommand.d.ts +81 -0
- package/dist-types/commands/GetReportMetadataCommand.d.ts +98 -0
- package/dist-types/commands/GetTermForReportCommand.d.ts +81 -0
- package/dist-types/commands/ListReportsCommand.d.ts +95 -0
- package/dist-types/commands/PutAccountSettingsCommand.d.ts +81 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +15 -0
- package/dist-types/models/ArtifactServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +605 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListReportsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +56 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/Artifact.d.ts +107 -0
- package/dist-types/ts3.4/ArtifactClient.d.ts +156 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/GetReportCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/GetReportMetadataCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/GetTermForReportCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/ListReportsCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/PutAccountSettingsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/ArtifactServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +187 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListReportsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +77 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +101 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,605 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ArtifactServiceException as __BaseException } from "./ArtifactServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
* @enum
|
|
6
|
+
*/
|
|
7
|
+
export declare const AcceptanceType: {
|
|
8
|
+
/**
|
|
9
|
+
* Require explicit click-through acceptance of
|
|
10
|
+
* the Term associated with this Report.
|
|
11
|
+
*/
|
|
12
|
+
readonly EXPLICIT: "EXPLICIT";
|
|
13
|
+
/**
|
|
14
|
+
* Do not require explicit click-through
|
|
15
|
+
* acceptance of the Term associated with
|
|
16
|
+
* this Report.
|
|
17
|
+
*/
|
|
18
|
+
readonly PASSTHROUGH: "PASSTHROUGH";
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export type AcceptanceType = (typeof AcceptanceType)[keyof typeof AcceptanceType];
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
27
|
+
*/
|
|
28
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
29
|
+
readonly name: "AccessDeniedException";
|
|
30
|
+
readonly $fault: "client";
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
* @enum
|
|
39
|
+
*/
|
|
40
|
+
export declare const NotificationSubscriptionStatus: {
|
|
41
|
+
/**
|
|
42
|
+
* The account is not subscribed for notification.
|
|
43
|
+
*/
|
|
44
|
+
readonly NOT_SUBSCRIBED: "NOT_SUBSCRIBED";
|
|
45
|
+
/**
|
|
46
|
+
* The account is subscribed for notification.
|
|
47
|
+
*/
|
|
48
|
+
readonly SUBSCRIBED: "SUBSCRIBED";
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export type NotificationSubscriptionStatus = (typeof NotificationSubscriptionStatus)[keyof typeof NotificationSubscriptionStatus];
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
* <p>Account settings for the customer.</p>
|
|
57
|
+
*/
|
|
58
|
+
export interface AccountSettings {
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
* <p>Notification subscription status of the customer.</p>
|
|
62
|
+
*/
|
|
63
|
+
notificationSubscriptionStatus?: NotificationSubscriptionStatus;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
* <p>Request to create/modify content would result in a conflict.</p>
|
|
68
|
+
*/
|
|
69
|
+
export declare class ConflictException extends __BaseException {
|
|
70
|
+
readonly name: "ConflictException";
|
|
71
|
+
readonly $fault: "client";
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
* <p>Identifier of the affected resource.</p>
|
|
75
|
+
*/
|
|
76
|
+
resourceId: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
* <p>Type of the affected resource.</p>
|
|
80
|
+
*/
|
|
81
|
+
resourceType: string | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export interface GetAccountSettingsRequest {
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export interface GetAccountSettingsResponse {
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
* <p>Account settings for the customer.</p>
|
|
99
|
+
*/
|
|
100
|
+
accountSettings?: AccountSettings;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
* <p>An unknown server exception has occurred.</p>
|
|
105
|
+
*/
|
|
106
|
+
export declare class InternalServerException extends __BaseException {
|
|
107
|
+
readonly name: "InternalServerException";
|
|
108
|
+
readonly $fault: "server";
|
|
109
|
+
$retryable: {};
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
* <p>Number of seconds in which the caller can retry the request.</p>
|
|
113
|
+
*/
|
|
114
|
+
retryAfterSeconds?: number;
|
|
115
|
+
/**
|
|
116
|
+
* @internal
|
|
117
|
+
*/
|
|
118
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* @public
|
|
122
|
+
* <p>Request references a resource which does not exist.</p>
|
|
123
|
+
*/
|
|
124
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
125
|
+
readonly name: "ResourceNotFoundException";
|
|
126
|
+
readonly $fault: "client";
|
|
127
|
+
/**
|
|
128
|
+
* @public
|
|
129
|
+
* <p>Identifier of the affected resource.</p>
|
|
130
|
+
*/
|
|
131
|
+
resourceId: string | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
* <p>Type of the affected resource.</p>
|
|
135
|
+
*/
|
|
136
|
+
resourceType: string | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* @internal
|
|
139
|
+
*/
|
|
140
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
* <p>Request would cause a service quota to be exceeded.</p>
|
|
145
|
+
*/
|
|
146
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
147
|
+
readonly name: "ServiceQuotaExceededException";
|
|
148
|
+
readonly $fault: "client";
|
|
149
|
+
/**
|
|
150
|
+
* @public
|
|
151
|
+
* <p>Identifier of the affected resource.</p>
|
|
152
|
+
*/
|
|
153
|
+
resourceId: string | undefined;
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
* <p>Type of the affected resource.</p>
|
|
157
|
+
*/
|
|
158
|
+
resourceType: string | undefined;
|
|
159
|
+
/**
|
|
160
|
+
* @public
|
|
161
|
+
* <p>Code for the affected service.</p>
|
|
162
|
+
*/
|
|
163
|
+
serviceCode: string | undefined;
|
|
164
|
+
/**
|
|
165
|
+
* @public
|
|
166
|
+
* <p>Code for the affected quota.</p>
|
|
167
|
+
*/
|
|
168
|
+
quotaCode: string | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* @internal
|
|
171
|
+
*/
|
|
172
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* @public
|
|
176
|
+
* <p>Request was denied due to request throttling.</p>
|
|
177
|
+
*/
|
|
178
|
+
export declare class ThrottlingException extends __BaseException {
|
|
179
|
+
readonly name: "ThrottlingException";
|
|
180
|
+
readonly $fault: "client";
|
|
181
|
+
$retryable: {
|
|
182
|
+
throttling: boolean;
|
|
183
|
+
};
|
|
184
|
+
/**
|
|
185
|
+
* @public
|
|
186
|
+
* <p>Code for the affected service.</p>
|
|
187
|
+
*/
|
|
188
|
+
serviceCode?: string;
|
|
189
|
+
/**
|
|
190
|
+
* @public
|
|
191
|
+
* <p>Code for the affected quota.</p>
|
|
192
|
+
*/
|
|
193
|
+
quotaCode?: string;
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
* <p>Number of seconds in which the caller can retry the request.</p>
|
|
197
|
+
*/
|
|
198
|
+
retryAfterSeconds?: number;
|
|
199
|
+
/**
|
|
200
|
+
* @internal
|
|
201
|
+
*/
|
|
202
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* @public
|
|
206
|
+
* <p>Validation exception message and name.</p>
|
|
207
|
+
*/
|
|
208
|
+
export interface ValidationExceptionField {
|
|
209
|
+
/**
|
|
210
|
+
* @public
|
|
211
|
+
* <p>Name of validation exception.</p>
|
|
212
|
+
*/
|
|
213
|
+
name: string | undefined;
|
|
214
|
+
/**
|
|
215
|
+
* @public
|
|
216
|
+
* <p>Message describing why the field failed validation.</p>
|
|
217
|
+
*/
|
|
218
|
+
message: string | undefined;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* @public
|
|
222
|
+
* @enum
|
|
223
|
+
*/
|
|
224
|
+
export declare const ValidationExceptionReason: {
|
|
225
|
+
readonly CANNOT_PARSE: "cannotParse";
|
|
226
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
227
|
+
readonly INVALID_TOKEN: "invalidToken";
|
|
228
|
+
readonly OTHER: "other";
|
|
229
|
+
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* @public
|
|
233
|
+
*/
|
|
234
|
+
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
235
|
+
/**
|
|
236
|
+
* @public
|
|
237
|
+
* <p>Request fails to satisfy the constraints specified by an AWS service.</p>
|
|
238
|
+
*/
|
|
239
|
+
export declare class ValidationException extends __BaseException {
|
|
240
|
+
readonly name: "ValidationException";
|
|
241
|
+
readonly $fault: "client";
|
|
242
|
+
/**
|
|
243
|
+
* @public
|
|
244
|
+
* <p>Reason the request failed validation.</p>
|
|
245
|
+
*/
|
|
246
|
+
reason: ValidationExceptionReason | undefined;
|
|
247
|
+
/**
|
|
248
|
+
* @public
|
|
249
|
+
* <p>The field that caused the error, if applicable.</p>
|
|
250
|
+
*/
|
|
251
|
+
fieldList?: ValidationExceptionField[];
|
|
252
|
+
/**
|
|
253
|
+
* @internal
|
|
254
|
+
*/
|
|
255
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* @public
|
|
259
|
+
*/
|
|
260
|
+
export interface PutAccountSettingsRequest {
|
|
261
|
+
/**
|
|
262
|
+
* @public
|
|
263
|
+
* <p>Desired notification subscription status.</p>
|
|
264
|
+
*/
|
|
265
|
+
notificationSubscriptionStatus?: NotificationSubscriptionStatus;
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
export interface PutAccountSettingsResponse {
|
|
271
|
+
/**
|
|
272
|
+
* @public
|
|
273
|
+
* <p>Account settings for the customer.</p>
|
|
274
|
+
*/
|
|
275
|
+
accountSettings?: AccountSettings;
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* @public
|
|
279
|
+
*/
|
|
280
|
+
export interface GetReportRequest {
|
|
281
|
+
/**
|
|
282
|
+
* @public
|
|
283
|
+
* <p>Unique resource ID for the report resource.</p>
|
|
284
|
+
*/
|
|
285
|
+
reportId: string | undefined;
|
|
286
|
+
/**
|
|
287
|
+
* @public
|
|
288
|
+
* <p>Version for the report resource.</p>
|
|
289
|
+
*/
|
|
290
|
+
reportVersion?: number;
|
|
291
|
+
/**
|
|
292
|
+
* @public
|
|
293
|
+
* <p>Unique download token provided by GetTermForReport API.</p>
|
|
294
|
+
*/
|
|
295
|
+
termToken: string | undefined;
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
export interface GetReportResponse {
|
|
301
|
+
/**
|
|
302
|
+
* @public
|
|
303
|
+
* <p>Presigned S3 url to access the report content.</p>
|
|
304
|
+
*/
|
|
305
|
+
documentPresignedUrl?: string;
|
|
306
|
+
}
|
|
307
|
+
/**
|
|
308
|
+
* @public
|
|
309
|
+
*/
|
|
310
|
+
export interface GetReportMetadataRequest {
|
|
311
|
+
/**
|
|
312
|
+
* @public
|
|
313
|
+
* <p>Unique resource ID for the report resource.</p>
|
|
314
|
+
*/
|
|
315
|
+
reportId: string | undefined;
|
|
316
|
+
/**
|
|
317
|
+
* @public
|
|
318
|
+
* <p>Version for the report resource.</p>
|
|
319
|
+
*/
|
|
320
|
+
reportVersion?: number;
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* @public
|
|
324
|
+
* @enum
|
|
325
|
+
*/
|
|
326
|
+
export declare const PublishedState: {
|
|
327
|
+
/**
|
|
328
|
+
* The resource is published for consumption.
|
|
329
|
+
*/
|
|
330
|
+
readonly PUBLISHED: "PUBLISHED";
|
|
331
|
+
/**
|
|
332
|
+
* The resource is not published for consumption.
|
|
333
|
+
*/
|
|
334
|
+
readonly UNPUBLISHED: "UNPUBLISHED";
|
|
335
|
+
};
|
|
336
|
+
/**
|
|
337
|
+
* @public
|
|
338
|
+
*/
|
|
339
|
+
export type PublishedState = (typeof PublishedState)[keyof typeof PublishedState];
|
|
340
|
+
/**
|
|
341
|
+
* @public
|
|
342
|
+
* @enum
|
|
343
|
+
*/
|
|
344
|
+
export declare const UploadState: {
|
|
345
|
+
readonly COMPLETE: "COMPLETE";
|
|
346
|
+
readonly FAILED: "FAILED";
|
|
347
|
+
readonly FAULT: "FAULT";
|
|
348
|
+
readonly PROCESSING: "PROCESSING";
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* @public
|
|
352
|
+
*/
|
|
353
|
+
export type UploadState = (typeof UploadState)[keyof typeof UploadState];
|
|
354
|
+
/**
|
|
355
|
+
* @public
|
|
356
|
+
* <p>Full detail for report resource metadata.</p>
|
|
357
|
+
*/
|
|
358
|
+
export interface ReportDetail {
|
|
359
|
+
/**
|
|
360
|
+
* @public
|
|
361
|
+
* <p>Unique resource ID for the report resource.</p>
|
|
362
|
+
*/
|
|
363
|
+
id?: string;
|
|
364
|
+
/**
|
|
365
|
+
* @public
|
|
366
|
+
* <p>Name for the report resource.</p>
|
|
367
|
+
*/
|
|
368
|
+
name?: string;
|
|
369
|
+
/**
|
|
370
|
+
* @public
|
|
371
|
+
* <p>Description for the report resource.</p>
|
|
372
|
+
*/
|
|
373
|
+
description?: string;
|
|
374
|
+
/**
|
|
375
|
+
* @public
|
|
376
|
+
* <p>Timestamp indicating the report resource effective start.</p>
|
|
377
|
+
*/
|
|
378
|
+
periodStart?: Date;
|
|
379
|
+
/**
|
|
380
|
+
* @public
|
|
381
|
+
* <p>Timestamp indicating the report resource effective end.</p>
|
|
382
|
+
*/
|
|
383
|
+
periodEnd?: Date;
|
|
384
|
+
/**
|
|
385
|
+
* @public
|
|
386
|
+
* <p>Timestamp indicating when the report resource was created.</p>
|
|
387
|
+
*/
|
|
388
|
+
createdAt?: Date;
|
|
389
|
+
/**
|
|
390
|
+
* @public
|
|
391
|
+
* <p>Timestamp indicating when the report resource was last modified.</p>
|
|
392
|
+
*/
|
|
393
|
+
lastModifiedAt?: Date;
|
|
394
|
+
/**
|
|
395
|
+
* @public
|
|
396
|
+
* <p>Timestamp indicating when the report resource was deleted.</p>
|
|
397
|
+
*/
|
|
398
|
+
deletedAt?: Date;
|
|
399
|
+
/**
|
|
400
|
+
* @public
|
|
401
|
+
* <p>Current state of the report resource</p>
|
|
402
|
+
*/
|
|
403
|
+
state?: PublishedState;
|
|
404
|
+
/**
|
|
405
|
+
* @public
|
|
406
|
+
* <p>ARN for the report resource.</p>
|
|
407
|
+
*/
|
|
408
|
+
arn?: string;
|
|
409
|
+
/**
|
|
410
|
+
* @public
|
|
411
|
+
* <p>Series for the report resource.</p>
|
|
412
|
+
*/
|
|
413
|
+
series?: string;
|
|
414
|
+
/**
|
|
415
|
+
* @public
|
|
416
|
+
* <p>Category for the report resource.</p>
|
|
417
|
+
*/
|
|
418
|
+
category?: string;
|
|
419
|
+
/**
|
|
420
|
+
* @public
|
|
421
|
+
* <p>Associated company name for the report resource.</p>
|
|
422
|
+
*/
|
|
423
|
+
companyName?: string;
|
|
424
|
+
/**
|
|
425
|
+
* @public
|
|
426
|
+
* <p>Associated product name for the report resource.</p>
|
|
427
|
+
*/
|
|
428
|
+
productName?: string;
|
|
429
|
+
/**
|
|
430
|
+
* @public
|
|
431
|
+
* <p>Unique resource ARN for term resource.</p>
|
|
432
|
+
*/
|
|
433
|
+
termArn?: string;
|
|
434
|
+
/**
|
|
435
|
+
* @public
|
|
436
|
+
* <p>Version for the report resource.</p>
|
|
437
|
+
*/
|
|
438
|
+
version?: number;
|
|
439
|
+
/**
|
|
440
|
+
* @public
|
|
441
|
+
* <p>Acceptance type for report.</p>
|
|
442
|
+
*/
|
|
443
|
+
acceptanceType?: AcceptanceType;
|
|
444
|
+
/**
|
|
445
|
+
* @public
|
|
446
|
+
* <p>Sequence number to enforce optimistic locking.</p>
|
|
447
|
+
*/
|
|
448
|
+
sequenceNumber?: number;
|
|
449
|
+
/**
|
|
450
|
+
* @public
|
|
451
|
+
* <p>The current state of the document upload.</p>
|
|
452
|
+
*/
|
|
453
|
+
uploadState?: UploadState;
|
|
454
|
+
/**
|
|
455
|
+
* @public
|
|
456
|
+
* <p>The message associated with the current upload state.</p>
|
|
457
|
+
*/
|
|
458
|
+
statusMessage?: string;
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* @public
|
|
462
|
+
*/
|
|
463
|
+
export interface GetReportMetadataResponse {
|
|
464
|
+
/**
|
|
465
|
+
* @public
|
|
466
|
+
* <p>Report resource detail.</p>
|
|
467
|
+
*/
|
|
468
|
+
reportDetails?: ReportDetail;
|
|
469
|
+
}
|
|
470
|
+
/**
|
|
471
|
+
* @public
|
|
472
|
+
*/
|
|
473
|
+
export interface GetTermForReportRequest {
|
|
474
|
+
/**
|
|
475
|
+
* @public
|
|
476
|
+
* <p>Unique resource ID for the report resource.</p>
|
|
477
|
+
*/
|
|
478
|
+
reportId: string | undefined;
|
|
479
|
+
/**
|
|
480
|
+
* @public
|
|
481
|
+
* <p>Version for the report resource.</p>
|
|
482
|
+
*/
|
|
483
|
+
reportVersion?: number;
|
|
484
|
+
}
|
|
485
|
+
/**
|
|
486
|
+
* @public
|
|
487
|
+
*/
|
|
488
|
+
export interface GetTermForReportResponse {
|
|
489
|
+
/**
|
|
490
|
+
* @public
|
|
491
|
+
* <p>Presigned S3 url to access the term content.</p>
|
|
492
|
+
*/
|
|
493
|
+
documentPresignedUrl?: string;
|
|
494
|
+
/**
|
|
495
|
+
* @public
|
|
496
|
+
* <p>Unique token representing this request event.</p>
|
|
497
|
+
*/
|
|
498
|
+
termToken?: string;
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* @public
|
|
502
|
+
*/
|
|
503
|
+
export interface ListReportsRequest {
|
|
504
|
+
/**
|
|
505
|
+
* @public
|
|
506
|
+
* <p>Maximum number of resources to return in the paginated response.</p>
|
|
507
|
+
*/
|
|
508
|
+
maxResults?: number;
|
|
509
|
+
/**
|
|
510
|
+
* @public
|
|
511
|
+
* <p>Pagination token to request the next page of resources.</p>
|
|
512
|
+
*/
|
|
513
|
+
nextToken?: string;
|
|
514
|
+
}
|
|
515
|
+
/**
|
|
516
|
+
* @public
|
|
517
|
+
* <p>Summary for report resource.</p>
|
|
518
|
+
*/
|
|
519
|
+
export interface ReportSummary {
|
|
520
|
+
/**
|
|
521
|
+
* @public
|
|
522
|
+
* <p>Unique resource ID for the report resource.</p>
|
|
523
|
+
*/
|
|
524
|
+
id?: string;
|
|
525
|
+
/**
|
|
526
|
+
* @public
|
|
527
|
+
* <p>Name for the report resource.</p>
|
|
528
|
+
*/
|
|
529
|
+
name?: string;
|
|
530
|
+
/**
|
|
531
|
+
* @public
|
|
532
|
+
* <p>Current state of the report resource.</p>
|
|
533
|
+
*/
|
|
534
|
+
state?: PublishedState;
|
|
535
|
+
/**
|
|
536
|
+
* @public
|
|
537
|
+
* <p>ARN for the report resource.</p>
|
|
538
|
+
*/
|
|
539
|
+
arn?: string;
|
|
540
|
+
/**
|
|
541
|
+
* @public
|
|
542
|
+
* <p>Version for the report resource.</p>
|
|
543
|
+
*/
|
|
544
|
+
version?: number;
|
|
545
|
+
/**
|
|
546
|
+
* @public
|
|
547
|
+
* <p>The current state of the document upload.</p>
|
|
548
|
+
*/
|
|
549
|
+
uploadState?: UploadState;
|
|
550
|
+
/**
|
|
551
|
+
* @public
|
|
552
|
+
* <p>Description for the report resource.</p>
|
|
553
|
+
*/
|
|
554
|
+
description?: string;
|
|
555
|
+
/**
|
|
556
|
+
* @public
|
|
557
|
+
* <p>Timestamp indicating the report resource effective start.</p>
|
|
558
|
+
*/
|
|
559
|
+
periodStart?: Date;
|
|
560
|
+
/**
|
|
561
|
+
* @public
|
|
562
|
+
* <p>Timestamp indicating the report resource effective end.</p>
|
|
563
|
+
*/
|
|
564
|
+
periodEnd?: Date;
|
|
565
|
+
/**
|
|
566
|
+
* @public
|
|
567
|
+
* <p>Series for the report resource.</p>
|
|
568
|
+
*/
|
|
569
|
+
series?: string;
|
|
570
|
+
/**
|
|
571
|
+
* @public
|
|
572
|
+
* <p>Category for the report resource.</p>
|
|
573
|
+
*/
|
|
574
|
+
category?: string;
|
|
575
|
+
/**
|
|
576
|
+
* @public
|
|
577
|
+
* <p>Associated company name for the report resource.</p>
|
|
578
|
+
*/
|
|
579
|
+
companyName?: string;
|
|
580
|
+
/**
|
|
581
|
+
* @public
|
|
582
|
+
* <p>Associated product name for the report resource.</p>
|
|
583
|
+
*/
|
|
584
|
+
productName?: string;
|
|
585
|
+
/**
|
|
586
|
+
* @public
|
|
587
|
+
* <p>The message associated with the current upload state.</p>
|
|
588
|
+
*/
|
|
589
|
+
statusMessage?: string;
|
|
590
|
+
}
|
|
591
|
+
/**
|
|
592
|
+
* @public
|
|
593
|
+
*/
|
|
594
|
+
export interface ListReportsResponse {
|
|
595
|
+
/**
|
|
596
|
+
* @public
|
|
597
|
+
* <p>List of report resources.</p>
|
|
598
|
+
*/
|
|
599
|
+
reports?: ReportSummary[];
|
|
600
|
+
/**
|
|
601
|
+
* @public
|
|
602
|
+
* <p>Pagination token to request the next page of resources.</p>
|
|
603
|
+
*/
|
|
604
|
+
nextToken?: string;
|
|
605
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListReportsCommandInput, ListReportsCommandOutput } from "../commands/ListReportsCommand";
|
|
3
|
+
import { ArtifactPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListReports: (config: ArtifactPaginationConfiguration, input: ListReportsCommandInput, ...rest: any[]) => Paginator<ListReportsCommandOutput>;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
|
+
import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "../commands/GetAccountSettingsCommand";
|
|
4
|
+
import { GetReportCommandInput, GetReportCommandOutput } from "../commands/GetReportCommand";
|
|
5
|
+
import { GetReportMetadataCommandInput, GetReportMetadataCommandOutput } from "../commands/GetReportMetadataCommand";
|
|
6
|
+
import { GetTermForReportCommandInput, GetTermForReportCommandOutput } from "../commands/GetTermForReportCommand";
|
|
7
|
+
import { ListReportsCommandInput, ListReportsCommandOutput } from "../commands/ListReportsCommand";
|
|
8
|
+
import { PutAccountSettingsCommandInput, PutAccountSettingsCommandOutput } from "../commands/PutAccountSettingsCommand";
|
|
9
|
+
/**
|
|
10
|
+
* serializeAws_restJson1GetAccountSettingsCommand
|
|
11
|
+
*/
|
|
12
|
+
export declare const se_GetAccountSettingsCommand: (input: GetAccountSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
13
|
+
/**
|
|
14
|
+
* serializeAws_restJson1GetReportCommand
|
|
15
|
+
*/
|
|
16
|
+
export declare const se_GetReportCommand: (input: GetReportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
17
|
+
/**
|
|
18
|
+
* serializeAws_restJson1GetReportMetadataCommand
|
|
19
|
+
*/
|
|
20
|
+
export declare const se_GetReportMetadataCommand: (input: GetReportMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
21
|
+
/**
|
|
22
|
+
* serializeAws_restJson1GetTermForReportCommand
|
|
23
|
+
*/
|
|
24
|
+
export declare const se_GetTermForReportCommand: (input: GetTermForReportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
25
|
+
/**
|
|
26
|
+
* serializeAws_restJson1ListReportsCommand
|
|
27
|
+
*/
|
|
28
|
+
export declare const se_ListReportsCommand: (input: ListReportsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
29
|
+
/**
|
|
30
|
+
* serializeAws_restJson1PutAccountSettingsCommand
|
|
31
|
+
*/
|
|
32
|
+
export declare const se_PutAccountSettingsCommand: (input: PutAccountSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
33
|
+
/**
|
|
34
|
+
* deserializeAws_restJson1GetAccountSettingsCommand
|
|
35
|
+
*/
|
|
36
|
+
export declare const de_GetAccountSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAccountSettingsCommandOutput>;
|
|
37
|
+
/**
|
|
38
|
+
* deserializeAws_restJson1GetReportCommand
|
|
39
|
+
*/
|
|
40
|
+
export declare const de_GetReportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetReportCommandOutput>;
|
|
41
|
+
/**
|
|
42
|
+
* deserializeAws_restJson1GetReportMetadataCommand
|
|
43
|
+
*/
|
|
44
|
+
export declare const de_GetReportMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetReportMetadataCommandOutput>;
|
|
45
|
+
/**
|
|
46
|
+
* deserializeAws_restJson1GetTermForReportCommand
|
|
47
|
+
*/
|
|
48
|
+
export declare const de_GetTermForReportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTermForReportCommandOutput>;
|
|
49
|
+
/**
|
|
50
|
+
* deserializeAws_restJson1ListReportsCommand
|
|
51
|
+
*/
|
|
52
|
+
export declare const de_ListReportsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListReportsCommandOutput>;
|
|
53
|
+
/**
|
|
54
|
+
* deserializeAws_restJson1PutAccountSettingsCommand
|
|
55
|
+
*/
|
|
56
|
+
export declare const de_PutAccountSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutAccountSettingsCommandOutput>;
|