@aws-sdk/client-amp 3.883.0 → 3.887.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/README.md +24 -0
- package/dist-cjs/index.js +187 -0
- package/dist-es/Amp.js +6 -0
- package/dist-es/commands/DeleteScraperLoggingConfigurationCommand.js +22 -0
- package/dist-es/commands/DescribeScraperLoggingConfigurationCommand.js +22 -0
- package/dist-es/commands/UpdateScraperLoggingConfigurationCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +21 -0
- package/dist-es/protocols/Aws_restJson1.js +78 -0
- package/dist-types/Amp.d.ts +21 -0
- package/dist-types/AmpClient.d.ts +5 -2
- package/dist-types/commands/DeleteScraperLoggingConfigurationCommand.d.ts +86 -0
- package/dist-types/commands/DescribeScraperLoggingConfigurationCommand.d.ts +104 -0
- package/dist-types/commands/UpdateScraperLoggingConfigurationCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +225 -11
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/Amp.d.ts +69 -0
- package/dist-types/ts3.4/AmpClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteScraperLoggingConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DescribeScraperLoggingConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateScraperLoggingConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +71 -3
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +38 -38
|
@@ -10,6 +10,7 @@ export * from "./DeleteQueryLoggingConfigurationCommand";
|
|
|
10
10
|
export * from "./DeleteResourcePolicyCommand";
|
|
11
11
|
export * from "./DeleteRuleGroupsNamespaceCommand";
|
|
12
12
|
export * from "./DeleteScraperCommand";
|
|
13
|
+
export * from "./DeleteScraperLoggingConfigurationCommand";
|
|
13
14
|
export * from "./DeleteWorkspaceCommand";
|
|
14
15
|
export * from "./DescribeAlertManagerDefinitionCommand";
|
|
15
16
|
export * from "./DescribeLoggingConfigurationCommand";
|
|
@@ -17,6 +18,7 @@ export * from "./DescribeQueryLoggingConfigurationCommand";
|
|
|
17
18
|
export * from "./DescribeResourcePolicyCommand";
|
|
18
19
|
export * from "./DescribeRuleGroupsNamespaceCommand";
|
|
19
20
|
export * from "./DescribeScraperCommand";
|
|
21
|
+
export * from "./DescribeScraperLoggingConfigurationCommand";
|
|
20
22
|
export * from "./DescribeWorkspaceCommand";
|
|
21
23
|
export * from "./DescribeWorkspaceConfigurationCommand";
|
|
22
24
|
export * from "./GetDefaultScraperConfigurationCommand";
|
|
@@ -32,5 +34,6 @@ export * from "./UntagResourceCommand";
|
|
|
32
34
|
export * from "./UpdateLoggingConfigurationCommand";
|
|
33
35
|
export * from "./UpdateQueryLoggingConfigurationCommand";
|
|
34
36
|
export * from "./UpdateScraperCommand";
|
|
37
|
+
export * from "./UpdateScraperLoggingConfigurationCommand";
|
|
35
38
|
export * from "./UpdateWorkspaceAliasCommand";
|
|
36
39
|
export * from "./UpdateWorkspaceConfigurationCommand";
|
|
@@ -276,6 +276,77 @@ export interface ListScrapersResponse {
|
|
|
276
276
|
scrapers: ScraperSummary[] | undefined;
|
|
277
277
|
nextToken?: string | undefined;
|
|
278
278
|
}
|
|
279
|
+
export interface DeleteScraperLoggingConfigurationRequest {
|
|
280
|
+
scraperId: string | undefined;
|
|
281
|
+
clientToken?: string | undefined;
|
|
282
|
+
}
|
|
283
|
+
export interface DescribeScraperLoggingConfigurationRequest {
|
|
284
|
+
scraperId: string | undefined;
|
|
285
|
+
}
|
|
286
|
+
export interface CloudWatchLogDestination {
|
|
287
|
+
logGroupArn: string | undefined;
|
|
288
|
+
}
|
|
289
|
+
export type ScraperLoggingDestination =
|
|
290
|
+
| ScraperLoggingDestination.CloudWatchLogsMember
|
|
291
|
+
| ScraperLoggingDestination.$UnknownMember;
|
|
292
|
+
export declare namespace ScraperLoggingDestination {
|
|
293
|
+
interface CloudWatchLogsMember {
|
|
294
|
+
cloudWatchLogs: CloudWatchLogDestination;
|
|
295
|
+
$unknown?: never;
|
|
296
|
+
}
|
|
297
|
+
interface $UnknownMember {
|
|
298
|
+
cloudWatchLogs?: never;
|
|
299
|
+
$unknown: [string, any];
|
|
300
|
+
}
|
|
301
|
+
interface Visitor<T> {
|
|
302
|
+
cloudWatchLogs: (value: CloudWatchLogDestination) => T;
|
|
303
|
+
_: (name: string, value: any) => T;
|
|
304
|
+
}
|
|
305
|
+
const visit: <T>(value: ScraperLoggingDestination, visitor: Visitor<T>) => T;
|
|
306
|
+
}
|
|
307
|
+
export interface ComponentConfig {
|
|
308
|
+
options?: Record<string, string> | undefined;
|
|
309
|
+
}
|
|
310
|
+
export declare const ScraperComponentType: {
|
|
311
|
+
readonly COLLECTOR: "COLLECTOR";
|
|
312
|
+
readonly EXPORTER: "EXPORTER";
|
|
313
|
+
readonly SERVICE_DISCOVERY: "SERVICE_DISCOVERY";
|
|
314
|
+
};
|
|
315
|
+
export type ScraperComponentType =
|
|
316
|
+
(typeof ScraperComponentType)[keyof typeof ScraperComponentType];
|
|
317
|
+
export interface ScraperComponent {
|
|
318
|
+
type: ScraperComponentType | undefined;
|
|
319
|
+
config?: ComponentConfig | undefined;
|
|
320
|
+
}
|
|
321
|
+
export declare const ScraperLoggingConfigurationStatusCode: {
|
|
322
|
+
readonly ACTIVE: "ACTIVE";
|
|
323
|
+
readonly CREATING: "CREATING";
|
|
324
|
+
readonly CREATION_FAILED: "CREATION_FAILED";
|
|
325
|
+
readonly DELETING: "DELETING";
|
|
326
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
327
|
+
readonly UPDATING: "UPDATING";
|
|
328
|
+
};
|
|
329
|
+
export type ScraperLoggingConfigurationStatusCode =
|
|
330
|
+
(typeof ScraperLoggingConfigurationStatusCode)[keyof typeof ScraperLoggingConfigurationStatusCode];
|
|
331
|
+
export interface ScraperLoggingConfigurationStatus {
|
|
332
|
+
statusCode: ScraperLoggingConfigurationStatusCode | undefined;
|
|
333
|
+
statusReason?: string | undefined;
|
|
334
|
+
}
|
|
335
|
+
export interface DescribeScraperLoggingConfigurationResponse {
|
|
336
|
+
status: ScraperLoggingConfigurationStatus | undefined;
|
|
337
|
+
scraperId: string | undefined;
|
|
338
|
+
loggingDestination: ScraperLoggingDestination | undefined;
|
|
339
|
+
scraperComponents: ScraperComponent[] | undefined;
|
|
340
|
+
modifiedAt: Date | undefined;
|
|
341
|
+
}
|
|
342
|
+
export interface UpdateScraperLoggingConfigurationRequest {
|
|
343
|
+
scraperId: string | undefined;
|
|
344
|
+
loggingDestination: ScraperLoggingDestination | undefined;
|
|
345
|
+
scraperComponents?: ScraperComponent[] | undefined;
|
|
346
|
+
}
|
|
347
|
+
export interface UpdateScraperLoggingConfigurationResponse {
|
|
348
|
+
status: ScraperLoggingConfigurationStatus | undefined;
|
|
349
|
+
}
|
|
279
350
|
export interface UpdateScraperRequest {
|
|
280
351
|
scraperId: string | undefined;
|
|
281
352
|
alias?: string | undefined;
|
|
@@ -410,9 +481,6 @@ export interface UpdateLoggingConfigurationRequest {
|
|
|
410
481
|
export interface UpdateLoggingConfigurationResponse {
|
|
411
482
|
status: LoggingConfigurationStatus | undefined;
|
|
412
483
|
}
|
|
413
|
-
export interface CloudWatchLogDestination {
|
|
414
|
-
logGroupArn: string | undefined;
|
|
415
|
-
}
|
|
416
484
|
export interface LoggingFilter {
|
|
417
485
|
qspThreshold: number | undefined;
|
|
418
486
|
}
|
|
@@ -51,6 +51,10 @@ import {
|
|
|
51
51
|
DeleteScraperCommandInput,
|
|
52
52
|
DeleteScraperCommandOutput,
|
|
53
53
|
} from "../commands/DeleteScraperCommand";
|
|
54
|
+
import {
|
|
55
|
+
DeleteScraperLoggingConfigurationCommandInput,
|
|
56
|
+
DeleteScraperLoggingConfigurationCommandOutput,
|
|
57
|
+
} from "../commands/DeleteScraperLoggingConfigurationCommand";
|
|
54
58
|
import {
|
|
55
59
|
DeleteWorkspaceCommandInput,
|
|
56
60
|
DeleteWorkspaceCommandOutput,
|
|
@@ -79,6 +83,10 @@ import {
|
|
|
79
83
|
DescribeScraperCommandInput,
|
|
80
84
|
DescribeScraperCommandOutput,
|
|
81
85
|
} from "../commands/DescribeScraperCommand";
|
|
86
|
+
import {
|
|
87
|
+
DescribeScraperLoggingConfigurationCommandInput,
|
|
88
|
+
DescribeScraperLoggingConfigurationCommandOutput,
|
|
89
|
+
} from "../commands/DescribeScraperLoggingConfigurationCommand";
|
|
82
90
|
import {
|
|
83
91
|
DescribeWorkspaceCommandInput,
|
|
84
92
|
DescribeWorkspaceCommandOutput,
|
|
@@ -139,6 +147,10 @@ import {
|
|
|
139
147
|
UpdateScraperCommandInput,
|
|
140
148
|
UpdateScraperCommandOutput,
|
|
141
149
|
} from "../commands/UpdateScraperCommand";
|
|
150
|
+
import {
|
|
151
|
+
UpdateScraperLoggingConfigurationCommandInput,
|
|
152
|
+
UpdateScraperLoggingConfigurationCommandOutput,
|
|
153
|
+
} from "../commands/UpdateScraperLoggingConfigurationCommand";
|
|
142
154
|
import {
|
|
143
155
|
UpdateWorkspaceAliasCommandInput,
|
|
144
156
|
UpdateWorkspaceAliasCommandOutput,
|
|
@@ -195,6 +207,10 @@ export declare const se_DeleteScraperCommand: (
|
|
|
195
207
|
input: DeleteScraperCommandInput,
|
|
196
208
|
context: __SerdeContext
|
|
197
209
|
) => Promise<__HttpRequest>;
|
|
210
|
+
export declare const se_DeleteScraperLoggingConfigurationCommand: (
|
|
211
|
+
input: DeleteScraperLoggingConfigurationCommandInput,
|
|
212
|
+
context: __SerdeContext
|
|
213
|
+
) => Promise<__HttpRequest>;
|
|
198
214
|
export declare const se_DeleteWorkspaceCommand: (
|
|
199
215
|
input: DeleteWorkspaceCommandInput,
|
|
200
216
|
context: __SerdeContext
|
|
@@ -223,6 +239,10 @@ export declare const se_DescribeScraperCommand: (
|
|
|
223
239
|
input: DescribeScraperCommandInput,
|
|
224
240
|
context: __SerdeContext
|
|
225
241
|
) => Promise<__HttpRequest>;
|
|
242
|
+
export declare const se_DescribeScraperLoggingConfigurationCommand: (
|
|
243
|
+
input: DescribeScraperLoggingConfigurationCommandInput,
|
|
244
|
+
context: __SerdeContext
|
|
245
|
+
) => Promise<__HttpRequest>;
|
|
226
246
|
export declare const se_DescribeWorkspaceCommand: (
|
|
227
247
|
input: DescribeWorkspaceCommandInput,
|
|
228
248
|
context: __SerdeContext
|
|
@@ -283,6 +303,10 @@ export declare const se_UpdateScraperCommand: (
|
|
|
283
303
|
input: UpdateScraperCommandInput,
|
|
284
304
|
context: __SerdeContext
|
|
285
305
|
) => Promise<__HttpRequest>;
|
|
306
|
+
export declare const se_UpdateScraperLoggingConfigurationCommand: (
|
|
307
|
+
input: UpdateScraperLoggingConfigurationCommandInput,
|
|
308
|
+
context: __SerdeContext
|
|
309
|
+
) => Promise<__HttpRequest>;
|
|
286
310
|
export declare const se_UpdateWorkspaceAliasCommand: (
|
|
287
311
|
input: UpdateWorkspaceAliasCommandInput,
|
|
288
312
|
context: __SerdeContext
|
|
@@ -339,6 +363,10 @@ export declare const de_DeleteScraperCommand: (
|
|
|
339
363
|
output: __HttpResponse,
|
|
340
364
|
context: __SerdeContext
|
|
341
365
|
) => Promise<DeleteScraperCommandOutput>;
|
|
366
|
+
export declare const de_DeleteScraperLoggingConfigurationCommand: (
|
|
367
|
+
output: __HttpResponse,
|
|
368
|
+
context: __SerdeContext
|
|
369
|
+
) => Promise<DeleteScraperLoggingConfigurationCommandOutput>;
|
|
342
370
|
export declare const de_DeleteWorkspaceCommand: (
|
|
343
371
|
output: __HttpResponse,
|
|
344
372
|
context: __SerdeContext
|
|
@@ -367,6 +395,10 @@ export declare const de_DescribeScraperCommand: (
|
|
|
367
395
|
output: __HttpResponse,
|
|
368
396
|
context: __SerdeContext
|
|
369
397
|
) => Promise<DescribeScraperCommandOutput>;
|
|
398
|
+
export declare const de_DescribeScraperLoggingConfigurationCommand: (
|
|
399
|
+
output: __HttpResponse,
|
|
400
|
+
context: __SerdeContext
|
|
401
|
+
) => Promise<DescribeScraperLoggingConfigurationCommandOutput>;
|
|
370
402
|
export declare const de_DescribeWorkspaceCommand: (
|
|
371
403
|
output: __HttpResponse,
|
|
372
404
|
context: __SerdeContext
|
|
@@ -427,6 +459,10 @@ export declare const de_UpdateScraperCommand: (
|
|
|
427
459
|
output: __HttpResponse,
|
|
428
460
|
context: __SerdeContext
|
|
429
461
|
) => Promise<UpdateScraperCommandOutput>;
|
|
462
|
+
export declare const de_UpdateScraperLoggingConfigurationCommand: (
|
|
463
|
+
output: __HttpResponse,
|
|
464
|
+
context: __SerdeContext
|
|
465
|
+
) => Promise<UpdateScraperLoggingConfigurationCommandOutput>;
|
|
430
466
|
export declare const de_UpdateWorkspaceAliasCommand: (
|
|
431
467
|
output: __HttpResponse,
|
|
432
468
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amp",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amp Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.887.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-amp",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.1
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.
|
|
37
|
-
"@smithy/hash-node": "^4.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.1
|
|
41
|
-
"@smithy/middleware-retry": "^4.1
|
|
42
|
-
"@smithy/middleware-serde": "^4.
|
|
43
|
-
"@smithy/middleware-stack": "^4.
|
|
44
|
-
"@smithy/node-config-provider": "^4.1
|
|
45
|
-
"@smithy/node-http-handler": "^4.
|
|
46
|
-
"@smithy/protocol-http": "^5.1
|
|
47
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.
|
|
50
|
-
"@smithy/util-base64": "^4.
|
|
51
|
-
"@smithy/util-body-length-browser": "^4.
|
|
52
|
-
"@smithy/util-body-length-node": "^4.
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.
|
|
55
|
-
"@smithy/util-endpoints": "^3.
|
|
56
|
-
"@smithy/util-middleware": "^4.
|
|
57
|
-
"@smithy/util-retry": "^4.
|
|
58
|
-
"@smithy/util-utf8": "^4.
|
|
59
|
-
"@smithy/util-waiter": "^4.
|
|
23
|
+
"@aws-sdk/core": "3.887.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.887.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.887.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.887.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.887.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.887.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.887.0",
|
|
30
|
+
"@aws-sdk/types": "3.887.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.887.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.887.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.887.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.2.1",
|
|
35
|
+
"@smithy/core": "^3.11.0",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.2.1",
|
|
37
|
+
"@smithy/hash-node": "^4.1.1",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.1.1",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.1.1",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.2.1",
|
|
41
|
+
"@smithy/middleware-retry": "^4.2.1",
|
|
42
|
+
"@smithy/middleware-serde": "^4.1.1",
|
|
43
|
+
"@smithy/middleware-stack": "^4.1.1",
|
|
44
|
+
"@smithy/node-config-provider": "^4.2.1",
|
|
45
|
+
"@smithy/node-http-handler": "^4.2.1",
|
|
46
|
+
"@smithy/protocol-http": "^5.2.1",
|
|
47
|
+
"@smithy/smithy-client": "^4.6.1",
|
|
48
|
+
"@smithy/types": "^4.5.0",
|
|
49
|
+
"@smithy/url-parser": "^4.1.1",
|
|
50
|
+
"@smithy/util-base64": "^4.1.0",
|
|
51
|
+
"@smithy/util-body-length-browser": "^4.1.0",
|
|
52
|
+
"@smithy/util-body-length-node": "^4.1.0",
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.1.1",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.1.1",
|
|
55
|
+
"@smithy/util-endpoints": "^3.1.1",
|
|
56
|
+
"@smithy/util-middleware": "^4.1.1",
|
|
57
|
+
"@smithy/util-retry": "^4.1.1",
|
|
58
|
+
"@smithy/util-utf8": "^4.1.0",
|
|
59
|
+
"@smithy/util-waiter": "^4.1.1",
|
|
60
60
|
"@types/uuid": "^9.0.1",
|
|
61
61
|
"tslib": "^2.6.2",
|
|
62
62
|
"uuid": "^9.0.1"
|