@aws-sdk/client-amp 3.927.0 → 3.929.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/dist-cjs/index.js +1777 -1895
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/AmpClient.js +2 -0
- package/dist-es/commands/CreateAlertManagerDefinitionCommand.js +3 -9
- package/dist-es/commands/CreateAnomalyDetectorCommand.js +3 -9
- package/dist-es/commands/CreateLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/CreateQueryLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/CreateRuleGroupsNamespaceCommand.js +3 -9
- package/dist-es/commands/CreateScraperCommand.js +3 -9
- package/dist-es/commands/CreateWorkspaceCommand.js +3 -9
- package/dist-es/commands/DeleteAlertManagerDefinitionCommand.js +3 -9
- package/dist-es/commands/DeleteAnomalyDetectorCommand.js +3 -9
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteQueryLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
- package/dist-es/commands/DeleteRuleGroupsNamespaceCommand.js +3 -9
- package/dist-es/commands/DeleteScraperCommand.js +3 -9
- package/dist-es/commands/DeleteScraperLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteWorkspaceCommand.js +3 -9
- package/dist-es/commands/DescribeAlertManagerDefinitionCommand.js +3 -9
- package/dist-es/commands/DescribeAnomalyDetectorCommand.js +3 -9
- package/dist-es/commands/DescribeLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeQueryLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeResourcePolicyCommand.js +3 -9
- package/dist-es/commands/DescribeRuleGroupsNamespaceCommand.js +3 -9
- package/dist-es/commands/DescribeScraperCommand.js +3 -9
- package/dist-es/commands/DescribeScraperLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeWorkspaceCommand.js +3 -9
- package/dist-es/commands/DescribeWorkspaceConfigurationCommand.js +3 -9
- package/dist-es/commands/GetDefaultScraperConfigurationCommand.js +3 -9
- package/dist-es/commands/ListAnomalyDetectorsCommand.js +3 -9
- package/dist-es/commands/ListRuleGroupsNamespacesCommand.js +3 -9
- package/dist-es/commands/ListScrapersCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListWorkspacesCommand.js +3 -9
- package/dist-es/commands/PutAlertManagerDefinitionCommand.js +3 -9
- package/dist-es/commands/PutAnomalyDetectorCommand.js +3 -9
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
- package/dist-es/commands/PutRuleGroupsNamespaceCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateQueryLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateScraperCommand.js +3 -9
- package/dist-es/commands/UpdateScraperLoggingConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateWorkspaceAliasCommand.js +3 -9
- package/dist-es/commands/UpdateWorkspaceConfigurationCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1681 -0
- package/dist-types/AmpClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +190 -0
- package/dist-types/ts3.4/AmpClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +196 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -1573
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -398
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -533
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
|
-
var uuid = require('@smithy/uuid');
|
|
20
18
|
var utilWaiter = require('@smithy/util-waiter');
|
|
21
19
|
|
|
22
20
|
const resolveClientEndpointParameters = (options) => {
|
|
@@ -93,6 +91,7 @@ class AmpClient extends smithyClient.Client {
|
|
|
93
91
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
94
92
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
95
93
|
this.config = _config_8;
|
|
94
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
96
95
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
97
96
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
98
97
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -112,14 +111,14 @@ class AmpClient extends smithyClient.Client {
|
|
|
112
111
|
}
|
|
113
112
|
}
|
|
114
113
|
|
|
115
|
-
class AmpServiceException extends smithyClient.ServiceException {
|
|
114
|
+
let AmpServiceException$1 = class AmpServiceException extends smithyClient.ServiceException {
|
|
116
115
|
constructor(options) {
|
|
117
116
|
super(options);
|
|
118
117
|
Object.setPrototypeOf(this, AmpServiceException.prototype);
|
|
119
118
|
}
|
|
120
|
-
}
|
|
119
|
+
};
|
|
121
120
|
|
|
122
|
-
class AccessDeniedException extends AmpServiceException {
|
|
121
|
+
let AccessDeniedException$1 = class AccessDeniedException extends AmpServiceException$1 {
|
|
123
122
|
name = "AccessDeniedException";
|
|
124
123
|
$fault = "client";
|
|
125
124
|
constructor(opts) {
|
|
@@ -130,8 +129,8 @@ class AccessDeniedException extends AmpServiceException {
|
|
|
130
129
|
});
|
|
131
130
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
132
131
|
}
|
|
133
|
-
}
|
|
134
|
-
class ConflictException extends AmpServiceException {
|
|
132
|
+
};
|
|
133
|
+
let ConflictException$1 = class ConflictException extends AmpServiceException$1 {
|
|
135
134
|
name = "ConflictException";
|
|
136
135
|
$fault = "client";
|
|
137
136
|
resourceId;
|
|
@@ -146,7 +145,7 @@ class ConflictException extends AmpServiceException {
|
|
|
146
145
|
this.resourceId = opts.resourceId;
|
|
147
146
|
this.resourceType = opts.resourceType;
|
|
148
147
|
}
|
|
149
|
-
}
|
|
148
|
+
};
|
|
150
149
|
const AlertManagerDefinitionStatusCode = {
|
|
151
150
|
ACTIVE: "ACTIVE",
|
|
152
151
|
CREATING: "CREATING",
|
|
@@ -155,7 +154,7 @@ const AlertManagerDefinitionStatusCode = {
|
|
|
155
154
|
UPDATE_FAILED: "UPDATE_FAILED",
|
|
156
155
|
UPDATING: "UPDATING",
|
|
157
156
|
};
|
|
158
|
-
class InternalServerException extends AmpServiceException {
|
|
157
|
+
let InternalServerException$1 = class InternalServerException extends AmpServiceException$1 {
|
|
159
158
|
name = "InternalServerException";
|
|
160
159
|
$fault = "server";
|
|
161
160
|
$retryable = {};
|
|
@@ -169,8 +168,8 @@ class InternalServerException extends AmpServiceException {
|
|
|
169
168
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
170
169
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
171
170
|
}
|
|
172
|
-
}
|
|
173
|
-
class ResourceNotFoundException extends AmpServiceException {
|
|
171
|
+
};
|
|
172
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends AmpServiceException$1 {
|
|
174
173
|
name = "ResourceNotFoundException";
|
|
175
174
|
$fault = "client";
|
|
176
175
|
resourceId;
|
|
@@ -185,8 +184,8 @@ class ResourceNotFoundException extends AmpServiceException {
|
|
|
185
184
|
this.resourceId = opts.resourceId;
|
|
186
185
|
this.resourceType = opts.resourceType;
|
|
187
186
|
}
|
|
188
|
-
}
|
|
189
|
-
class ServiceQuotaExceededException extends AmpServiceException {
|
|
187
|
+
};
|
|
188
|
+
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends AmpServiceException$1 {
|
|
190
189
|
name = "ServiceQuotaExceededException";
|
|
191
190
|
$fault = "client";
|
|
192
191
|
resourceId;
|
|
@@ -205,8 +204,8 @@ class ServiceQuotaExceededException extends AmpServiceException {
|
|
|
205
204
|
this.serviceCode = opts.serviceCode;
|
|
206
205
|
this.quotaCode = opts.quotaCode;
|
|
207
206
|
}
|
|
208
|
-
}
|
|
209
|
-
class ThrottlingException extends AmpServiceException {
|
|
207
|
+
};
|
|
208
|
+
let ThrottlingException$1 = class ThrottlingException extends AmpServiceException$1 {
|
|
210
209
|
name = "ThrottlingException";
|
|
211
210
|
$fault = "client";
|
|
212
211
|
$retryable = {};
|
|
@@ -224,14 +223,14 @@ class ThrottlingException extends AmpServiceException {
|
|
|
224
223
|
this.quotaCode = opts.quotaCode;
|
|
225
224
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
226
225
|
}
|
|
227
|
-
}
|
|
226
|
+
};
|
|
228
227
|
const ValidationExceptionReason = {
|
|
229
228
|
CANNOT_PARSE: "CANNOT_PARSE",
|
|
230
229
|
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
231
230
|
OTHER: "OTHER",
|
|
232
231
|
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
233
232
|
};
|
|
234
|
-
class ValidationException extends AmpServiceException {
|
|
233
|
+
let ValidationException$1 = class ValidationException extends AmpServiceException$1 {
|
|
235
234
|
name = "ValidationException";
|
|
236
235
|
$fault = "client";
|
|
237
236
|
reason;
|
|
@@ -246,7 +245,7 @@ class ValidationException extends AmpServiceException {
|
|
|
246
245
|
this.reason = opts.reason;
|
|
247
246
|
this.fieldList = opts.fieldList;
|
|
248
247
|
}
|
|
249
|
-
}
|
|
248
|
+
};
|
|
250
249
|
exports.Destination = void 0;
|
|
251
250
|
(function (Destination) {
|
|
252
251
|
Destination.visit = (value, visitor) => {
|
|
@@ -381,1587 +380,1685 @@ const WorkspacePolicyStatusCode = {
|
|
|
381
380
|
UPDATING: "UPDATING",
|
|
382
381
|
};
|
|
383
382
|
|
|
384
|
-
const
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
const
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
const
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
const
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
const
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
const
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
const
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
const
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
const
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
const
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
const
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
const
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
const
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
const se_DeleteScraperCommand = async (input, context) => {
|
|
577
|
-
const b = core.requestBuilder(input, context);
|
|
578
|
-
const headers = {};
|
|
579
|
-
b.bp("/scrapers/{scraperId}");
|
|
580
|
-
b.p("scraperId", () => input.scraperId, "{scraperId}", false);
|
|
581
|
-
const query = smithyClient.map({
|
|
582
|
-
[_cT]: [, input[_cT] ?? uuid.v4()],
|
|
583
|
-
});
|
|
584
|
-
let body;
|
|
585
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
586
|
-
return b.build();
|
|
587
|
-
};
|
|
588
|
-
const se_DeleteScraperLoggingConfigurationCommand = async (input, context) => {
|
|
589
|
-
const b = core.requestBuilder(input, context);
|
|
590
|
-
const headers = {};
|
|
591
|
-
b.bp("/scrapers/{scraperId}/logging-configuration");
|
|
592
|
-
b.p("scraperId", () => input.scraperId, "{scraperId}", false);
|
|
593
|
-
const query = smithyClient.map({
|
|
594
|
-
[_cT]: [, input[_cT] ?? uuid.v4()],
|
|
595
|
-
});
|
|
596
|
-
let body;
|
|
597
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
598
|
-
return b.build();
|
|
599
|
-
};
|
|
600
|
-
const se_DeleteWorkspaceCommand = async (input, context) => {
|
|
601
|
-
const b = core.requestBuilder(input, context);
|
|
602
|
-
const headers = {};
|
|
603
|
-
b.bp("/workspaces/{workspaceId}");
|
|
604
|
-
b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
605
|
-
const query = smithyClient.map({
|
|
606
|
-
[_cT]: [, input[_cT] ?? uuid.v4()],
|
|
607
|
-
});
|
|
608
|
-
let body;
|
|
609
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
610
|
-
return b.build();
|
|
611
|
-
};
|
|
612
|
-
const se_DescribeAlertManagerDefinitionCommand = async (input, context) => {
|
|
613
|
-
const b = core.requestBuilder(input, context);
|
|
614
|
-
const headers = {};
|
|
615
|
-
b.bp("/workspaces/{workspaceId}/alertmanager/definition");
|
|
616
|
-
b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
617
|
-
let body;
|
|
618
|
-
b.m("GET").h(headers).b(body);
|
|
619
|
-
return b.build();
|
|
620
|
-
};
|
|
621
|
-
const se_DescribeAnomalyDetectorCommand = async (input, context) => {
|
|
622
|
-
const b = core.requestBuilder(input, context);
|
|
623
|
-
const headers = {};
|
|
624
|
-
b.bp("/workspaces/{workspaceId}/anomalydetectors/{anomalyDetectorId}");
|
|
625
|
-
b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
626
|
-
b.p("anomalyDetectorId", () => input.anomalyDetectorId, "{anomalyDetectorId}", false);
|
|
627
|
-
let body;
|
|
628
|
-
b.m("GET").h(headers).b(body);
|
|
629
|
-
return b.build();
|
|
630
|
-
};
|
|
631
|
-
const se_DescribeLoggingConfigurationCommand = async (input, context) => {
|
|
632
|
-
const b = core.requestBuilder(input, context);
|
|
633
|
-
const headers = {};
|
|
634
|
-
b.bp("/workspaces/{workspaceId}/logging");
|
|
635
|
-
b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
636
|
-
let body;
|
|
637
|
-
b.m("GET").h(headers).b(body);
|
|
638
|
-
return b.build();
|
|
639
|
-
};
|
|
640
|
-
const se_DescribeQueryLoggingConfigurationCommand = async (input, context) => {
|
|
641
|
-
const b = core.requestBuilder(input, context);
|
|
642
|
-
const headers = {};
|
|
643
|
-
b.bp("/workspaces/{workspaceId}/logging/query");
|
|
644
|
-
b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
645
|
-
let body;
|
|
646
|
-
b.m("GET").h(headers).b(body);
|
|
647
|
-
return b.build();
|
|
648
|
-
};
|
|
649
|
-
const se_DescribeResourcePolicyCommand = async (input, context) => {
|
|
650
|
-
const b = core.requestBuilder(input, context);
|
|
651
|
-
const headers = {};
|
|
652
|
-
b.bp("/workspaces/{workspaceId}/policy");
|
|
653
|
-
b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
654
|
-
let body;
|
|
655
|
-
b.m("GET").h(headers).b(body);
|
|
656
|
-
return b.build();
|
|
657
|
-
};
|
|
658
|
-
const se_DescribeRuleGroupsNamespaceCommand = async (input, context) => {
|
|
659
|
-
const b = core.requestBuilder(input, context);
|
|
660
|
-
const headers = {};
|
|
661
|
-
b.bp("/workspaces/{workspaceId}/rulegroupsnamespaces/{name}");
|
|
662
|
-
b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
663
|
-
b.p("name", () => input.name, "{name}", false);
|
|
664
|
-
let body;
|
|
665
|
-
b.m("GET").h(headers).b(body);
|
|
666
|
-
return b.build();
|
|
667
|
-
};
|
|
668
|
-
const se_DescribeScraperCommand = async (input, context) => {
|
|
669
|
-
const b = core.requestBuilder(input, context);
|
|
670
|
-
const headers = {};
|
|
671
|
-
b.bp("/scrapers/{scraperId}");
|
|
672
|
-
b.p("scraperId", () => input.scraperId, "{scraperId}", false);
|
|
673
|
-
let body;
|
|
674
|
-
b.m("GET").h(headers).b(body);
|
|
675
|
-
return b.build();
|
|
676
|
-
};
|
|
677
|
-
const se_DescribeScraperLoggingConfigurationCommand = async (input, context) => {
|
|
678
|
-
const b = core.requestBuilder(input, context);
|
|
679
|
-
const headers = {};
|
|
680
|
-
b.bp("/scrapers/{scraperId}/logging-configuration");
|
|
681
|
-
b.p("scraperId", () => input.scraperId, "{scraperId}", false);
|
|
682
|
-
let body;
|
|
683
|
-
b.m("GET").h(headers).b(body);
|
|
684
|
-
return b.build();
|
|
685
|
-
};
|
|
686
|
-
const se_DescribeWorkspaceCommand = async (input, context) => {
|
|
687
|
-
const b = core.requestBuilder(input, context);
|
|
688
|
-
const headers = {};
|
|
689
|
-
b.bp("/workspaces/{workspaceId}");
|
|
690
|
-
b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
691
|
-
let body;
|
|
692
|
-
b.m("GET").h(headers).b(body);
|
|
693
|
-
return b.build();
|
|
694
|
-
};
|
|
695
|
-
const se_DescribeWorkspaceConfigurationCommand = async (input, context) => {
|
|
696
|
-
const b = core.requestBuilder(input, context);
|
|
697
|
-
const headers = {};
|
|
698
|
-
b.bp("/workspaces/{workspaceId}/configuration");
|
|
699
|
-
b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
700
|
-
let body;
|
|
701
|
-
b.m("GET").h(headers).b(body);
|
|
702
|
-
return b.build();
|
|
703
|
-
};
|
|
704
|
-
const se_GetDefaultScraperConfigurationCommand = async (input, context) => {
|
|
705
|
-
const b = core.requestBuilder(input, context);
|
|
706
|
-
const headers = {};
|
|
707
|
-
b.bp("/scraperconfiguration");
|
|
708
|
-
let body;
|
|
709
|
-
b.m("GET").h(headers).b(body);
|
|
710
|
-
return b.build();
|
|
711
|
-
};
|
|
712
|
-
const se_ListAnomalyDetectorsCommand = async (input, context) => {
|
|
713
|
-
const b = core.requestBuilder(input, context);
|
|
714
|
-
const headers = {};
|
|
715
|
-
b.bp("/workspaces/{workspaceId}/anomalydetectors");
|
|
716
|
-
b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
717
|
-
const query = smithyClient.map({
|
|
718
|
-
[_a]: [, input[_a]],
|
|
719
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
720
|
-
[_nT]: [, input[_nT]],
|
|
721
|
-
});
|
|
722
|
-
let body;
|
|
723
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
724
|
-
return b.build();
|
|
725
|
-
};
|
|
726
|
-
const se_ListRuleGroupsNamespacesCommand = async (input, context) => {
|
|
727
|
-
const b = core.requestBuilder(input, context);
|
|
728
|
-
const headers = {};
|
|
729
|
-
b.bp("/workspaces/{workspaceId}/rulegroupsnamespaces");
|
|
730
|
-
b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
731
|
-
const query = smithyClient.map({
|
|
732
|
-
[_n]: [, input[_n]],
|
|
733
|
-
[_nT]: [, input[_nT]],
|
|
734
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
735
|
-
});
|
|
736
|
-
let body;
|
|
737
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
738
|
-
return b.build();
|
|
739
|
-
};
|
|
740
|
-
const se_ListScrapersCommand = async (input, context) => {
|
|
741
|
-
const b = core.requestBuilder(input, context);
|
|
742
|
-
const headers = {};
|
|
743
|
-
b.bp("/scrapers");
|
|
744
|
-
const query = smithyClient.map({
|
|
745
|
-
...smithyClient.convertMap(input.filters),
|
|
746
|
-
[_nT]: [, input[_nT]],
|
|
747
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
748
|
-
});
|
|
749
|
-
let body;
|
|
750
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
751
|
-
return b.build();
|
|
752
|
-
};
|
|
753
|
-
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
754
|
-
const b = core.requestBuilder(input, context);
|
|
755
|
-
const headers = {};
|
|
756
|
-
b.bp("/tags/{resourceArn}");
|
|
757
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
758
|
-
let body;
|
|
759
|
-
b.m("GET").h(headers).b(body);
|
|
760
|
-
return b.build();
|
|
761
|
-
};
|
|
762
|
-
const se_ListWorkspacesCommand = async (input, context) => {
|
|
763
|
-
const b = core.requestBuilder(input, context);
|
|
764
|
-
const headers = {};
|
|
765
|
-
b.bp("/workspaces");
|
|
766
|
-
const query = smithyClient.map({
|
|
767
|
-
[_nT]: [, input[_nT]],
|
|
768
|
-
[_a]: [, input[_a]],
|
|
769
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
770
|
-
});
|
|
771
|
-
let body;
|
|
772
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
773
|
-
return b.build();
|
|
774
|
-
};
|
|
775
|
-
const se_PutAlertManagerDefinitionCommand = async (input, context) => {
|
|
776
|
-
const b = core.requestBuilder(input, context);
|
|
777
|
-
const headers = {
|
|
778
|
-
"content-type": "application/json",
|
|
779
|
-
};
|
|
780
|
-
b.bp("/workspaces/{workspaceId}/alertmanager/definition");
|
|
781
|
-
b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
782
|
-
let body;
|
|
783
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
784
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
785
|
-
data: (_) => context.base64Encoder(_),
|
|
786
|
-
}));
|
|
787
|
-
b.m("PUT").h(headers).b(body);
|
|
788
|
-
return b.build();
|
|
789
|
-
};
|
|
790
|
-
const se_PutAnomalyDetectorCommand = async (input, context) => {
|
|
791
|
-
const b = core.requestBuilder(input, context);
|
|
792
|
-
const headers = {
|
|
793
|
-
"content-type": "application/json",
|
|
794
|
-
};
|
|
795
|
-
b.bp("/workspaces/{workspaceId}/anomalydetectors/{anomalyDetectorId}");
|
|
796
|
-
b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
797
|
-
b.p("anomalyDetectorId", () => input.anomalyDetectorId, "{anomalyDetectorId}", false);
|
|
798
|
-
let body;
|
|
799
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
800
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
801
|
-
configuration: (_) => se_AnomalyDetectorConfiguration(_),
|
|
802
|
-
evaluationIntervalInSeconds: [],
|
|
803
|
-
labels: (_) => smithyClient._json(_),
|
|
804
|
-
missingDataAction: (_) => smithyClient._json(_),
|
|
805
|
-
}));
|
|
806
|
-
b.m("PUT").h(headers).b(body);
|
|
807
|
-
return b.build();
|
|
808
|
-
};
|
|
809
|
-
const se_PutResourcePolicyCommand = async (input, context) => {
|
|
810
|
-
const b = core.requestBuilder(input, context);
|
|
811
|
-
const headers = {
|
|
812
|
-
"content-type": "application/json",
|
|
813
|
-
};
|
|
814
|
-
b.bp("/workspaces/{workspaceId}/policy");
|
|
815
|
-
b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
816
|
-
let body;
|
|
817
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
818
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
819
|
-
policyDocument: [],
|
|
820
|
-
revisionId: [],
|
|
821
|
-
}));
|
|
822
|
-
b.m("PUT").h(headers).b(body);
|
|
823
|
-
return b.build();
|
|
824
|
-
};
|
|
825
|
-
const se_PutRuleGroupsNamespaceCommand = async (input, context) => {
|
|
826
|
-
const b = core.requestBuilder(input, context);
|
|
827
|
-
const headers = {
|
|
828
|
-
"content-type": "application/json",
|
|
829
|
-
};
|
|
830
|
-
b.bp("/workspaces/{workspaceId}/rulegroupsnamespaces/{name}");
|
|
831
|
-
b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
832
|
-
b.p("name", () => input.name, "{name}", false);
|
|
833
|
-
let body;
|
|
834
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
835
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
836
|
-
data: (_) => context.base64Encoder(_),
|
|
837
|
-
}));
|
|
838
|
-
b.m("PUT").h(headers).b(body);
|
|
839
|
-
return b.build();
|
|
840
|
-
};
|
|
841
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
842
|
-
const b = core.requestBuilder(input, context);
|
|
843
|
-
const headers = {
|
|
844
|
-
"content-type": "application/json",
|
|
845
|
-
};
|
|
846
|
-
b.bp("/tags/{resourceArn}");
|
|
847
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
848
|
-
let body;
|
|
849
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
850
|
-
tags: (_) => smithyClient._json(_),
|
|
851
|
-
}));
|
|
852
|
-
b.m("POST").h(headers).b(body);
|
|
853
|
-
return b.build();
|
|
854
|
-
};
|
|
855
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
856
|
-
const b = core.requestBuilder(input, context);
|
|
857
|
-
const headers = {};
|
|
858
|
-
b.bp("/tags/{resourceArn}");
|
|
859
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
860
|
-
const query = smithyClient.map({
|
|
861
|
-
[_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
862
|
-
});
|
|
863
|
-
let body;
|
|
864
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
865
|
-
return b.build();
|
|
866
|
-
};
|
|
867
|
-
const se_UpdateLoggingConfigurationCommand = async (input, context) => {
|
|
868
|
-
const b = core.requestBuilder(input, context);
|
|
869
|
-
const headers = {
|
|
870
|
-
"content-type": "application/json",
|
|
871
|
-
};
|
|
872
|
-
b.bp("/workspaces/{workspaceId}/logging");
|
|
873
|
-
b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
874
|
-
let body;
|
|
875
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
876
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
877
|
-
logGroupArn: [],
|
|
878
|
-
}));
|
|
879
|
-
b.m("PUT").h(headers).b(body);
|
|
880
|
-
return b.build();
|
|
881
|
-
};
|
|
882
|
-
const se_UpdateQueryLoggingConfigurationCommand = async (input, context) => {
|
|
883
|
-
const b = core.requestBuilder(input, context);
|
|
884
|
-
const headers = {
|
|
885
|
-
"content-type": "application/json",
|
|
886
|
-
};
|
|
887
|
-
b.bp("/workspaces/{workspaceId}/logging/query");
|
|
888
|
-
b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
889
|
-
let body;
|
|
890
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
891
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
892
|
-
destinations: (_) => smithyClient._json(_),
|
|
893
|
-
}));
|
|
894
|
-
b.m("PUT").h(headers).b(body);
|
|
895
|
-
return b.build();
|
|
896
|
-
};
|
|
897
|
-
const se_UpdateScraperCommand = async (input, context) => {
|
|
898
|
-
const b = core.requestBuilder(input, context);
|
|
899
|
-
const headers = {
|
|
900
|
-
"content-type": "application/json",
|
|
901
|
-
};
|
|
902
|
-
b.bp("/scrapers/{scraperId}");
|
|
903
|
-
b.p("scraperId", () => input.scraperId, "{scraperId}", false);
|
|
904
|
-
let body;
|
|
905
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
906
|
-
alias: [],
|
|
907
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
908
|
-
destination: (_) => smithyClient._json(_),
|
|
909
|
-
roleConfiguration: (_) => smithyClient._json(_),
|
|
910
|
-
scrapeConfiguration: (_) => se_ScrapeConfiguration(_, context),
|
|
911
|
-
}));
|
|
912
|
-
b.m("PUT").h(headers).b(body);
|
|
913
|
-
return b.build();
|
|
914
|
-
};
|
|
915
|
-
const se_UpdateScraperLoggingConfigurationCommand = async (input, context) => {
|
|
916
|
-
const b = core.requestBuilder(input, context);
|
|
917
|
-
const headers = {
|
|
918
|
-
"content-type": "application/json",
|
|
919
|
-
};
|
|
920
|
-
b.bp("/scrapers/{scraperId}/logging-configuration");
|
|
921
|
-
b.p("scraperId", () => input.scraperId, "{scraperId}", false);
|
|
922
|
-
let body;
|
|
923
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
924
|
-
loggingDestination: (_) => smithyClient._json(_),
|
|
925
|
-
scraperComponents: (_) => smithyClient._json(_),
|
|
926
|
-
}));
|
|
927
|
-
b.m("PUT").h(headers).b(body);
|
|
928
|
-
return b.build();
|
|
929
|
-
};
|
|
930
|
-
const se_UpdateWorkspaceAliasCommand = async (input, context) => {
|
|
931
|
-
const b = core.requestBuilder(input, context);
|
|
932
|
-
const headers = {
|
|
933
|
-
"content-type": "application/json",
|
|
934
|
-
};
|
|
935
|
-
b.bp("/workspaces/{workspaceId}/alias");
|
|
936
|
-
b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
937
|
-
let body;
|
|
938
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
939
|
-
alias: [],
|
|
940
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
941
|
-
}));
|
|
942
|
-
b.m("POST").h(headers).b(body);
|
|
943
|
-
return b.build();
|
|
944
|
-
};
|
|
945
|
-
const se_UpdateWorkspaceConfigurationCommand = async (input, context) => {
|
|
946
|
-
const b = core.requestBuilder(input, context);
|
|
947
|
-
const headers = {
|
|
948
|
-
"content-type": "application/json",
|
|
949
|
-
};
|
|
950
|
-
b.bp("/workspaces/{workspaceId}/configuration");
|
|
951
|
-
b.p("workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
952
|
-
let body;
|
|
953
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
954
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
955
|
-
limitsPerLabelSet: (_) => smithyClient._json(_),
|
|
956
|
-
retentionPeriodInDays: [],
|
|
957
|
-
}));
|
|
958
|
-
b.m("PATCH").h(headers).b(body);
|
|
959
|
-
return b.build();
|
|
960
|
-
};
|
|
961
|
-
const de_CreateAlertManagerDefinitionCommand = async (output, context) => {
|
|
962
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
963
|
-
return de_CommandError(output, context);
|
|
964
|
-
}
|
|
965
|
-
const contents = smithyClient.map({
|
|
966
|
-
$metadata: deserializeMetadata(output),
|
|
967
|
-
});
|
|
968
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
969
|
-
const doc = smithyClient.take(data, {
|
|
970
|
-
status: smithyClient._json,
|
|
971
|
-
});
|
|
972
|
-
Object.assign(contents, doc);
|
|
973
|
-
return contents;
|
|
974
|
-
};
|
|
975
|
-
const de_CreateAnomalyDetectorCommand = async (output, context) => {
|
|
976
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
977
|
-
return de_CommandError(output, context);
|
|
978
|
-
}
|
|
979
|
-
const contents = smithyClient.map({
|
|
980
|
-
$metadata: deserializeMetadata(output),
|
|
981
|
-
});
|
|
982
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
983
|
-
const doc = smithyClient.take(data, {
|
|
984
|
-
anomalyDetectorId: smithyClient.expectString,
|
|
985
|
-
arn: smithyClient.expectString,
|
|
986
|
-
status: smithyClient._json,
|
|
987
|
-
tags: smithyClient._json,
|
|
988
|
-
});
|
|
989
|
-
Object.assign(contents, doc);
|
|
990
|
-
return contents;
|
|
991
|
-
};
|
|
992
|
-
const de_CreateLoggingConfigurationCommand = async (output, context) => {
|
|
993
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
994
|
-
return de_CommandError(output, context);
|
|
995
|
-
}
|
|
996
|
-
const contents = smithyClient.map({
|
|
997
|
-
$metadata: deserializeMetadata(output),
|
|
998
|
-
});
|
|
999
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1000
|
-
const doc = smithyClient.take(data, {
|
|
1001
|
-
status: smithyClient._json,
|
|
1002
|
-
});
|
|
1003
|
-
Object.assign(contents, doc);
|
|
1004
|
-
return contents;
|
|
1005
|
-
};
|
|
1006
|
-
const de_CreateQueryLoggingConfigurationCommand = async (output, context) => {
|
|
1007
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1008
|
-
return de_CommandError(output, context);
|
|
1009
|
-
}
|
|
1010
|
-
const contents = smithyClient.map({
|
|
1011
|
-
$metadata: deserializeMetadata(output),
|
|
1012
|
-
});
|
|
1013
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1014
|
-
const doc = smithyClient.take(data, {
|
|
1015
|
-
status: smithyClient._json,
|
|
1016
|
-
});
|
|
1017
|
-
Object.assign(contents, doc);
|
|
1018
|
-
return contents;
|
|
1019
|
-
};
|
|
1020
|
-
const de_CreateRuleGroupsNamespaceCommand = async (output, context) => {
|
|
1021
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1022
|
-
return de_CommandError(output, context);
|
|
1023
|
-
}
|
|
1024
|
-
const contents = smithyClient.map({
|
|
1025
|
-
$metadata: deserializeMetadata(output),
|
|
1026
|
-
});
|
|
1027
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1028
|
-
const doc = smithyClient.take(data, {
|
|
1029
|
-
arn: smithyClient.expectString,
|
|
1030
|
-
name: smithyClient.expectString,
|
|
1031
|
-
status: smithyClient._json,
|
|
1032
|
-
tags: smithyClient._json,
|
|
1033
|
-
});
|
|
1034
|
-
Object.assign(contents, doc);
|
|
1035
|
-
return contents;
|
|
1036
|
-
};
|
|
1037
|
-
const de_CreateScraperCommand = async (output, context) => {
|
|
1038
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1039
|
-
return de_CommandError(output, context);
|
|
1040
|
-
}
|
|
1041
|
-
const contents = smithyClient.map({
|
|
1042
|
-
$metadata: deserializeMetadata(output),
|
|
1043
|
-
});
|
|
1044
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1045
|
-
const doc = smithyClient.take(data, {
|
|
1046
|
-
arn: smithyClient.expectString,
|
|
1047
|
-
scraperId: smithyClient.expectString,
|
|
1048
|
-
status: smithyClient._json,
|
|
1049
|
-
tags: smithyClient._json,
|
|
1050
|
-
});
|
|
1051
|
-
Object.assign(contents, doc);
|
|
1052
|
-
return contents;
|
|
1053
|
-
};
|
|
1054
|
-
const de_CreateWorkspaceCommand = async (output, context) => {
|
|
1055
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1056
|
-
return de_CommandError(output, context);
|
|
1057
|
-
}
|
|
1058
|
-
const contents = smithyClient.map({
|
|
1059
|
-
$metadata: deserializeMetadata(output),
|
|
1060
|
-
});
|
|
1061
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1062
|
-
const doc = smithyClient.take(data, {
|
|
1063
|
-
arn: smithyClient.expectString,
|
|
1064
|
-
kmsKeyArn: smithyClient.expectString,
|
|
1065
|
-
status: smithyClient._json,
|
|
1066
|
-
tags: smithyClient._json,
|
|
1067
|
-
workspaceId: smithyClient.expectString,
|
|
1068
|
-
});
|
|
1069
|
-
Object.assign(contents, doc);
|
|
1070
|
-
return contents;
|
|
1071
|
-
};
|
|
1072
|
-
const de_DeleteAlertManagerDefinitionCommand = async (output, context) => {
|
|
1073
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1074
|
-
return de_CommandError(output, context);
|
|
1075
|
-
}
|
|
1076
|
-
const contents = smithyClient.map({
|
|
1077
|
-
$metadata: deserializeMetadata(output),
|
|
1078
|
-
});
|
|
1079
|
-
await smithyClient.collectBody(output.body, context);
|
|
1080
|
-
return contents;
|
|
1081
|
-
};
|
|
1082
|
-
const de_DeleteAnomalyDetectorCommand = async (output, context) => {
|
|
1083
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1084
|
-
return de_CommandError(output, context);
|
|
1085
|
-
}
|
|
1086
|
-
const contents = smithyClient.map({
|
|
1087
|
-
$metadata: deserializeMetadata(output),
|
|
1088
|
-
});
|
|
1089
|
-
await smithyClient.collectBody(output.body, context);
|
|
1090
|
-
return contents;
|
|
1091
|
-
};
|
|
1092
|
-
const de_DeleteLoggingConfigurationCommand = async (output, context) => {
|
|
1093
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1094
|
-
return de_CommandError(output, context);
|
|
1095
|
-
}
|
|
1096
|
-
const contents = smithyClient.map({
|
|
1097
|
-
$metadata: deserializeMetadata(output),
|
|
1098
|
-
});
|
|
1099
|
-
await smithyClient.collectBody(output.body, context);
|
|
1100
|
-
return contents;
|
|
1101
|
-
};
|
|
1102
|
-
const de_DeleteQueryLoggingConfigurationCommand = async (output, context) => {
|
|
1103
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1104
|
-
return de_CommandError(output, context);
|
|
1105
|
-
}
|
|
1106
|
-
const contents = smithyClient.map({
|
|
1107
|
-
$metadata: deserializeMetadata(output),
|
|
1108
|
-
});
|
|
1109
|
-
await smithyClient.collectBody(output.body, context);
|
|
1110
|
-
return contents;
|
|
1111
|
-
};
|
|
1112
|
-
const de_DeleteResourcePolicyCommand = async (output, context) => {
|
|
1113
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1114
|
-
return de_CommandError(output, context);
|
|
1115
|
-
}
|
|
1116
|
-
const contents = smithyClient.map({
|
|
1117
|
-
$metadata: deserializeMetadata(output),
|
|
1118
|
-
});
|
|
1119
|
-
await smithyClient.collectBody(output.body, context);
|
|
1120
|
-
return contents;
|
|
1121
|
-
};
|
|
1122
|
-
const de_DeleteRuleGroupsNamespaceCommand = async (output, context) => {
|
|
1123
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1124
|
-
return de_CommandError(output, context);
|
|
1125
|
-
}
|
|
1126
|
-
const contents = smithyClient.map({
|
|
1127
|
-
$metadata: deserializeMetadata(output),
|
|
1128
|
-
});
|
|
1129
|
-
await smithyClient.collectBody(output.body, context);
|
|
1130
|
-
return contents;
|
|
1131
|
-
};
|
|
1132
|
-
const de_DeleteScraperCommand = async (output, context) => {
|
|
1133
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1134
|
-
return de_CommandError(output, context);
|
|
1135
|
-
}
|
|
1136
|
-
const contents = smithyClient.map({
|
|
1137
|
-
$metadata: deserializeMetadata(output),
|
|
1138
|
-
});
|
|
1139
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1140
|
-
const doc = smithyClient.take(data, {
|
|
1141
|
-
scraperId: smithyClient.expectString,
|
|
1142
|
-
status: smithyClient._json,
|
|
1143
|
-
});
|
|
1144
|
-
Object.assign(contents, doc);
|
|
1145
|
-
return contents;
|
|
1146
|
-
};
|
|
1147
|
-
const de_DeleteScraperLoggingConfigurationCommand = async (output, context) => {
|
|
1148
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1149
|
-
return de_CommandError(output, context);
|
|
1150
|
-
}
|
|
1151
|
-
const contents = smithyClient.map({
|
|
1152
|
-
$metadata: deserializeMetadata(output),
|
|
1153
|
-
});
|
|
1154
|
-
await smithyClient.collectBody(output.body, context);
|
|
1155
|
-
return contents;
|
|
1156
|
-
};
|
|
1157
|
-
const de_DeleteWorkspaceCommand = async (output, context) => {
|
|
1158
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1159
|
-
return de_CommandError(output, context);
|
|
1160
|
-
}
|
|
1161
|
-
const contents = smithyClient.map({
|
|
1162
|
-
$metadata: deserializeMetadata(output),
|
|
1163
|
-
});
|
|
1164
|
-
await smithyClient.collectBody(output.body, context);
|
|
1165
|
-
return contents;
|
|
1166
|
-
};
|
|
1167
|
-
const de_DescribeAlertManagerDefinitionCommand = async (output, context) => {
|
|
1168
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1169
|
-
return de_CommandError(output, context);
|
|
1170
|
-
}
|
|
1171
|
-
const contents = smithyClient.map({
|
|
1172
|
-
$metadata: deserializeMetadata(output),
|
|
1173
|
-
});
|
|
1174
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1175
|
-
const doc = smithyClient.take(data, {
|
|
1176
|
-
alertManagerDefinition: (_) => de_AlertManagerDefinitionDescription(_, context),
|
|
1177
|
-
});
|
|
1178
|
-
Object.assign(contents, doc);
|
|
1179
|
-
return contents;
|
|
1180
|
-
};
|
|
1181
|
-
const de_DescribeAnomalyDetectorCommand = async (output, context) => {
|
|
1182
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1183
|
-
return de_CommandError(output, context);
|
|
1184
|
-
}
|
|
1185
|
-
const contents = smithyClient.map({
|
|
1186
|
-
$metadata: deserializeMetadata(output),
|
|
1187
|
-
});
|
|
1188
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1189
|
-
const doc = smithyClient.take(data, {
|
|
1190
|
-
anomalyDetector: (_) => de_AnomalyDetectorDescription(_),
|
|
1191
|
-
});
|
|
1192
|
-
Object.assign(contents, doc);
|
|
1193
|
-
return contents;
|
|
1194
|
-
};
|
|
1195
|
-
const de_DescribeLoggingConfigurationCommand = async (output, context) => {
|
|
1196
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1197
|
-
return de_CommandError(output, context);
|
|
1198
|
-
}
|
|
1199
|
-
const contents = smithyClient.map({
|
|
1200
|
-
$metadata: deserializeMetadata(output),
|
|
1201
|
-
});
|
|
1202
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1203
|
-
const doc = smithyClient.take(data, {
|
|
1204
|
-
loggingConfiguration: (_) => de_LoggingConfigurationMetadata(_),
|
|
1205
|
-
});
|
|
1206
|
-
Object.assign(contents, doc);
|
|
1207
|
-
return contents;
|
|
1208
|
-
};
|
|
1209
|
-
const de_DescribeQueryLoggingConfigurationCommand = async (output, context) => {
|
|
1210
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1211
|
-
return de_CommandError(output, context);
|
|
1212
|
-
}
|
|
1213
|
-
const contents = smithyClient.map({
|
|
1214
|
-
$metadata: deserializeMetadata(output),
|
|
1215
|
-
});
|
|
1216
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1217
|
-
const doc = smithyClient.take(data, {
|
|
1218
|
-
queryLoggingConfiguration: (_) => de_QueryLoggingConfigurationMetadata(_),
|
|
1219
|
-
});
|
|
1220
|
-
Object.assign(contents, doc);
|
|
1221
|
-
return contents;
|
|
1222
|
-
};
|
|
1223
|
-
const de_DescribeResourcePolicyCommand = async (output, context) => {
|
|
1224
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1225
|
-
return de_CommandError(output, context);
|
|
1226
|
-
}
|
|
1227
|
-
const contents = smithyClient.map({
|
|
1228
|
-
$metadata: deserializeMetadata(output),
|
|
1229
|
-
});
|
|
1230
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1231
|
-
const doc = smithyClient.take(data, {
|
|
1232
|
-
policyDocument: smithyClient.expectString,
|
|
1233
|
-
policyStatus: smithyClient.expectString,
|
|
1234
|
-
revisionId: smithyClient.expectString,
|
|
1235
|
-
});
|
|
1236
|
-
Object.assign(contents, doc);
|
|
1237
|
-
return contents;
|
|
1238
|
-
};
|
|
1239
|
-
const de_DescribeRuleGroupsNamespaceCommand = async (output, context) => {
|
|
1240
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1241
|
-
return de_CommandError(output, context);
|
|
1242
|
-
}
|
|
1243
|
-
const contents = smithyClient.map({
|
|
1244
|
-
$metadata: deserializeMetadata(output),
|
|
1245
|
-
});
|
|
1246
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1247
|
-
const doc = smithyClient.take(data, {
|
|
1248
|
-
ruleGroupsNamespace: (_) => de_RuleGroupsNamespaceDescription(_, context),
|
|
1249
|
-
});
|
|
1250
|
-
Object.assign(contents, doc);
|
|
1251
|
-
return contents;
|
|
1252
|
-
};
|
|
1253
|
-
const de_DescribeScraperCommand = async (output, context) => {
|
|
1254
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1255
|
-
return de_CommandError(output, context);
|
|
1256
|
-
}
|
|
1257
|
-
const contents = smithyClient.map({
|
|
1258
|
-
$metadata: deserializeMetadata(output),
|
|
1259
|
-
});
|
|
1260
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1261
|
-
const doc = smithyClient.take(data, {
|
|
1262
|
-
scraper: (_) => de_ScraperDescription(_, context),
|
|
1263
|
-
});
|
|
1264
|
-
Object.assign(contents, doc);
|
|
1265
|
-
return contents;
|
|
1266
|
-
};
|
|
1267
|
-
const de_DescribeScraperLoggingConfigurationCommand = async (output, context) => {
|
|
1268
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1269
|
-
return de_CommandError(output, context);
|
|
1270
|
-
}
|
|
1271
|
-
const contents = smithyClient.map({
|
|
1272
|
-
$metadata: deserializeMetadata(output),
|
|
1273
|
-
});
|
|
1274
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1275
|
-
const doc = smithyClient.take(data, {
|
|
1276
|
-
loggingDestination: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
1277
|
-
modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1278
|
-
scraperComponents: smithyClient._json,
|
|
1279
|
-
scraperId: smithyClient.expectString,
|
|
1280
|
-
status: smithyClient._json,
|
|
1281
|
-
});
|
|
1282
|
-
Object.assign(contents, doc);
|
|
1283
|
-
return contents;
|
|
1284
|
-
};
|
|
1285
|
-
const de_DescribeWorkspaceCommand = async (output, context) => {
|
|
1286
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1287
|
-
return de_CommandError(output, context);
|
|
1288
|
-
}
|
|
1289
|
-
const contents = smithyClient.map({
|
|
1290
|
-
$metadata: deserializeMetadata(output),
|
|
1291
|
-
});
|
|
1292
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1293
|
-
const doc = smithyClient.take(data, {
|
|
1294
|
-
workspace: (_) => de_WorkspaceDescription(_),
|
|
1295
|
-
});
|
|
1296
|
-
Object.assign(contents, doc);
|
|
1297
|
-
return contents;
|
|
1298
|
-
};
|
|
1299
|
-
const de_DescribeWorkspaceConfigurationCommand = async (output, context) => {
|
|
1300
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1301
|
-
return de_CommandError(output, context);
|
|
1302
|
-
}
|
|
1303
|
-
const contents = smithyClient.map({
|
|
1304
|
-
$metadata: deserializeMetadata(output),
|
|
1305
|
-
});
|
|
1306
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1307
|
-
const doc = smithyClient.take(data, {
|
|
1308
|
-
workspaceConfiguration: smithyClient._json,
|
|
1309
|
-
});
|
|
1310
|
-
Object.assign(contents, doc);
|
|
1311
|
-
return contents;
|
|
1312
|
-
};
|
|
1313
|
-
const de_GetDefaultScraperConfigurationCommand = async (output, context) => {
|
|
1314
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1315
|
-
return de_CommandError(output, context);
|
|
1316
|
-
}
|
|
1317
|
-
const contents = smithyClient.map({
|
|
1318
|
-
$metadata: deserializeMetadata(output),
|
|
1319
|
-
});
|
|
1320
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1321
|
-
const doc = smithyClient.take(data, {
|
|
1322
|
-
configuration: context.base64Decoder,
|
|
1323
|
-
});
|
|
1324
|
-
Object.assign(contents, doc);
|
|
1325
|
-
return contents;
|
|
1326
|
-
};
|
|
1327
|
-
const de_ListAnomalyDetectorsCommand = async (output, context) => {
|
|
1328
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1329
|
-
return de_CommandError(output, context);
|
|
1330
|
-
}
|
|
1331
|
-
const contents = smithyClient.map({
|
|
1332
|
-
$metadata: deserializeMetadata(output),
|
|
1333
|
-
});
|
|
1334
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1335
|
-
const doc = smithyClient.take(data, {
|
|
1336
|
-
anomalyDetectors: (_) => de_AnomalyDetectorSummaryList(_),
|
|
1337
|
-
nextToken: smithyClient.expectString,
|
|
1338
|
-
});
|
|
1339
|
-
Object.assign(contents, doc);
|
|
1340
|
-
return contents;
|
|
1341
|
-
};
|
|
1342
|
-
const de_ListRuleGroupsNamespacesCommand = async (output, context) => {
|
|
1343
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1344
|
-
return de_CommandError(output, context);
|
|
1345
|
-
}
|
|
1346
|
-
const contents = smithyClient.map({
|
|
1347
|
-
$metadata: deserializeMetadata(output),
|
|
1348
|
-
});
|
|
1349
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1350
|
-
const doc = smithyClient.take(data, {
|
|
1351
|
-
nextToken: smithyClient.expectString,
|
|
1352
|
-
ruleGroupsNamespaces: (_) => de_RuleGroupsNamespaceSummaryList(_),
|
|
1353
|
-
});
|
|
1354
|
-
Object.assign(contents, doc);
|
|
1355
|
-
return contents;
|
|
1356
|
-
};
|
|
1357
|
-
const de_ListScrapersCommand = async (output, context) => {
|
|
1358
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1359
|
-
return de_CommandError(output, context);
|
|
1360
|
-
}
|
|
1361
|
-
const contents = smithyClient.map({
|
|
1362
|
-
$metadata: deserializeMetadata(output),
|
|
1363
|
-
});
|
|
1364
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1365
|
-
const doc = smithyClient.take(data, {
|
|
1366
|
-
nextToken: smithyClient.expectString,
|
|
1367
|
-
scrapers: (_) => de_ScraperSummaryList(_),
|
|
1368
|
-
});
|
|
1369
|
-
Object.assign(contents, doc);
|
|
1370
|
-
return contents;
|
|
1371
|
-
};
|
|
1372
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1373
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1374
|
-
return de_CommandError(output, context);
|
|
1375
|
-
}
|
|
1376
|
-
const contents = smithyClient.map({
|
|
1377
|
-
$metadata: deserializeMetadata(output),
|
|
1378
|
-
});
|
|
1379
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1380
|
-
const doc = smithyClient.take(data, {
|
|
1381
|
-
tags: smithyClient._json,
|
|
1382
|
-
});
|
|
1383
|
-
Object.assign(contents, doc);
|
|
1384
|
-
return contents;
|
|
1385
|
-
};
|
|
1386
|
-
const de_ListWorkspacesCommand = async (output, context) => {
|
|
1387
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1388
|
-
return de_CommandError(output, context);
|
|
1389
|
-
}
|
|
1390
|
-
const contents = smithyClient.map({
|
|
1391
|
-
$metadata: deserializeMetadata(output),
|
|
1392
|
-
});
|
|
1393
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1394
|
-
const doc = smithyClient.take(data, {
|
|
1395
|
-
nextToken: smithyClient.expectString,
|
|
1396
|
-
workspaces: (_) => de_WorkspaceSummaryList(_),
|
|
1397
|
-
});
|
|
1398
|
-
Object.assign(contents, doc);
|
|
1399
|
-
return contents;
|
|
1400
|
-
};
|
|
1401
|
-
const de_PutAlertManagerDefinitionCommand = async (output, context) => {
|
|
1402
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1403
|
-
return de_CommandError(output, context);
|
|
1404
|
-
}
|
|
1405
|
-
const contents = smithyClient.map({
|
|
1406
|
-
$metadata: deserializeMetadata(output),
|
|
1407
|
-
});
|
|
1408
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1409
|
-
const doc = smithyClient.take(data, {
|
|
1410
|
-
status: smithyClient._json,
|
|
1411
|
-
});
|
|
1412
|
-
Object.assign(contents, doc);
|
|
1413
|
-
return contents;
|
|
1414
|
-
};
|
|
1415
|
-
const de_PutAnomalyDetectorCommand = async (output, context) => {
|
|
1416
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1417
|
-
return de_CommandError(output, context);
|
|
1418
|
-
}
|
|
1419
|
-
const contents = smithyClient.map({
|
|
1420
|
-
$metadata: deserializeMetadata(output),
|
|
1421
|
-
});
|
|
1422
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1423
|
-
const doc = smithyClient.take(data, {
|
|
1424
|
-
anomalyDetectorId: smithyClient.expectString,
|
|
1425
|
-
arn: smithyClient.expectString,
|
|
1426
|
-
status: smithyClient._json,
|
|
1427
|
-
tags: smithyClient._json,
|
|
1428
|
-
});
|
|
1429
|
-
Object.assign(contents, doc);
|
|
1430
|
-
return contents;
|
|
1431
|
-
};
|
|
1432
|
-
const de_PutResourcePolicyCommand = async (output, context) => {
|
|
1433
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1434
|
-
return de_CommandError(output, context);
|
|
1435
|
-
}
|
|
1436
|
-
const contents = smithyClient.map({
|
|
1437
|
-
$metadata: deserializeMetadata(output),
|
|
1438
|
-
});
|
|
1439
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1440
|
-
const doc = smithyClient.take(data, {
|
|
1441
|
-
policyStatus: smithyClient.expectString,
|
|
1442
|
-
revisionId: smithyClient.expectString,
|
|
1443
|
-
});
|
|
1444
|
-
Object.assign(contents, doc);
|
|
1445
|
-
return contents;
|
|
1446
|
-
};
|
|
1447
|
-
const de_PutRuleGroupsNamespaceCommand = async (output, context) => {
|
|
1448
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1449
|
-
return de_CommandError(output, context);
|
|
1450
|
-
}
|
|
1451
|
-
const contents = smithyClient.map({
|
|
1452
|
-
$metadata: deserializeMetadata(output),
|
|
1453
|
-
});
|
|
1454
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1455
|
-
const doc = smithyClient.take(data, {
|
|
1456
|
-
arn: smithyClient.expectString,
|
|
1457
|
-
name: smithyClient.expectString,
|
|
1458
|
-
status: smithyClient._json,
|
|
1459
|
-
tags: smithyClient._json,
|
|
1460
|
-
});
|
|
1461
|
-
Object.assign(contents, doc);
|
|
1462
|
-
return contents;
|
|
1463
|
-
};
|
|
1464
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
1465
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1466
|
-
return de_CommandError(output, context);
|
|
1467
|
-
}
|
|
1468
|
-
const contents = smithyClient.map({
|
|
1469
|
-
$metadata: deserializeMetadata(output),
|
|
1470
|
-
});
|
|
1471
|
-
await smithyClient.collectBody(output.body, context);
|
|
1472
|
-
return contents;
|
|
1473
|
-
};
|
|
1474
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
1475
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1476
|
-
return de_CommandError(output, context);
|
|
1477
|
-
}
|
|
1478
|
-
const contents = smithyClient.map({
|
|
1479
|
-
$metadata: deserializeMetadata(output),
|
|
1480
|
-
});
|
|
1481
|
-
await smithyClient.collectBody(output.body, context);
|
|
1482
|
-
return contents;
|
|
1483
|
-
};
|
|
1484
|
-
const de_UpdateLoggingConfigurationCommand = async (output, context) => {
|
|
1485
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1486
|
-
return de_CommandError(output, context);
|
|
1487
|
-
}
|
|
1488
|
-
const contents = smithyClient.map({
|
|
1489
|
-
$metadata: deserializeMetadata(output),
|
|
1490
|
-
});
|
|
1491
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1492
|
-
const doc = smithyClient.take(data, {
|
|
1493
|
-
status: smithyClient._json,
|
|
1494
|
-
});
|
|
1495
|
-
Object.assign(contents, doc);
|
|
1496
|
-
return contents;
|
|
1497
|
-
};
|
|
1498
|
-
const de_UpdateQueryLoggingConfigurationCommand = async (output, context) => {
|
|
1499
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1500
|
-
return de_CommandError(output, context);
|
|
1501
|
-
}
|
|
1502
|
-
const contents = smithyClient.map({
|
|
1503
|
-
$metadata: deserializeMetadata(output),
|
|
1504
|
-
});
|
|
1505
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1506
|
-
const doc = smithyClient.take(data, {
|
|
1507
|
-
status: smithyClient._json,
|
|
1508
|
-
});
|
|
1509
|
-
Object.assign(contents, doc);
|
|
1510
|
-
return contents;
|
|
1511
|
-
};
|
|
1512
|
-
const de_UpdateScraperCommand = async (output, context) => {
|
|
1513
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1514
|
-
return de_CommandError(output, context);
|
|
1515
|
-
}
|
|
1516
|
-
const contents = smithyClient.map({
|
|
1517
|
-
$metadata: deserializeMetadata(output),
|
|
1518
|
-
});
|
|
1519
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1520
|
-
const doc = smithyClient.take(data, {
|
|
1521
|
-
arn: smithyClient.expectString,
|
|
1522
|
-
scraperId: smithyClient.expectString,
|
|
1523
|
-
status: smithyClient._json,
|
|
1524
|
-
tags: smithyClient._json,
|
|
1525
|
-
});
|
|
1526
|
-
Object.assign(contents, doc);
|
|
1527
|
-
return contents;
|
|
1528
|
-
};
|
|
1529
|
-
const de_UpdateScraperLoggingConfigurationCommand = async (output, context) => {
|
|
1530
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1531
|
-
return de_CommandError(output, context);
|
|
1532
|
-
}
|
|
1533
|
-
const contents = smithyClient.map({
|
|
1534
|
-
$metadata: deserializeMetadata(output),
|
|
1535
|
-
});
|
|
1536
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1537
|
-
const doc = smithyClient.take(data, {
|
|
1538
|
-
status: smithyClient._json,
|
|
1539
|
-
});
|
|
1540
|
-
Object.assign(contents, doc);
|
|
1541
|
-
return contents;
|
|
1542
|
-
};
|
|
1543
|
-
const de_UpdateWorkspaceAliasCommand = async (output, context) => {
|
|
1544
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1545
|
-
return de_CommandError(output, context);
|
|
1546
|
-
}
|
|
1547
|
-
const contents = smithyClient.map({
|
|
1548
|
-
$metadata: deserializeMetadata(output),
|
|
1549
|
-
});
|
|
1550
|
-
await smithyClient.collectBody(output.body, context);
|
|
1551
|
-
return contents;
|
|
1552
|
-
};
|
|
1553
|
-
const de_UpdateWorkspaceConfigurationCommand = async (output, context) => {
|
|
1554
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1555
|
-
return de_CommandError(output, context);
|
|
1556
|
-
}
|
|
1557
|
-
const contents = smithyClient.map({
|
|
1558
|
-
$metadata: deserializeMetadata(output),
|
|
1559
|
-
});
|
|
1560
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1561
|
-
const doc = smithyClient.take(data, {
|
|
1562
|
-
status: smithyClient._json,
|
|
1563
|
-
});
|
|
1564
|
-
Object.assign(contents, doc);
|
|
1565
|
-
return contents;
|
|
1566
|
-
};
|
|
1567
|
-
const de_CommandError = async (output, context) => {
|
|
1568
|
-
const parsedOutput = {
|
|
1569
|
-
...output,
|
|
1570
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1571
|
-
};
|
|
1572
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1573
|
-
switch (errorCode) {
|
|
1574
|
-
case "AccessDeniedException":
|
|
1575
|
-
case "com.amazonaws.amp#AccessDeniedException":
|
|
1576
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
1577
|
-
case "ConflictException":
|
|
1578
|
-
case "com.amazonaws.amp#ConflictException":
|
|
1579
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
1580
|
-
case "InternalServerException":
|
|
1581
|
-
case "com.amazonaws.amp#InternalServerException":
|
|
1582
|
-
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
1583
|
-
case "ResourceNotFoundException":
|
|
1584
|
-
case "com.amazonaws.amp#ResourceNotFoundException":
|
|
1585
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1586
|
-
case "ServiceQuotaExceededException":
|
|
1587
|
-
case "com.amazonaws.amp#ServiceQuotaExceededException":
|
|
1588
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
1589
|
-
case "ThrottlingException":
|
|
1590
|
-
case "com.amazonaws.amp#ThrottlingException":
|
|
1591
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
1592
|
-
case "ValidationException":
|
|
1593
|
-
case "com.amazonaws.amp#ValidationException":
|
|
1594
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1595
|
-
default:
|
|
1596
|
-
const parsedBody = parsedOutput.body;
|
|
1597
|
-
return throwDefaultError({
|
|
1598
|
-
output,
|
|
1599
|
-
parsedBody,
|
|
1600
|
-
errorCode,
|
|
1601
|
-
});
|
|
1602
|
-
}
|
|
1603
|
-
};
|
|
1604
|
-
const throwDefaultError = smithyClient.withBaseException(AmpServiceException);
|
|
1605
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1606
|
-
const contents = smithyClient.map({});
|
|
1607
|
-
const data = parsedOutput.body;
|
|
1608
|
-
const doc = smithyClient.take(data, {
|
|
1609
|
-
message: smithyClient.expectString,
|
|
1610
|
-
});
|
|
1611
|
-
Object.assign(contents, doc);
|
|
1612
|
-
const exception = new AccessDeniedException({
|
|
1613
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1614
|
-
...contents,
|
|
1615
|
-
});
|
|
1616
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1617
|
-
};
|
|
1618
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1619
|
-
const contents = smithyClient.map({});
|
|
1620
|
-
const data = parsedOutput.body;
|
|
1621
|
-
const doc = smithyClient.take(data, {
|
|
1622
|
-
message: smithyClient.expectString,
|
|
1623
|
-
resourceId: smithyClient.expectString,
|
|
1624
|
-
resourceType: smithyClient.expectString,
|
|
1625
|
-
});
|
|
1626
|
-
Object.assign(contents, doc);
|
|
1627
|
-
const exception = new ConflictException({
|
|
1628
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1629
|
-
...contents,
|
|
1630
|
-
});
|
|
1631
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1632
|
-
};
|
|
1633
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1634
|
-
const contents = smithyClient.map({
|
|
1635
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
|
|
1636
|
-
});
|
|
1637
|
-
const data = parsedOutput.body;
|
|
1638
|
-
const doc = smithyClient.take(data, {
|
|
1639
|
-
message: smithyClient.expectString,
|
|
1640
|
-
});
|
|
1641
|
-
Object.assign(contents, doc);
|
|
1642
|
-
const exception = new InternalServerException({
|
|
1643
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1644
|
-
...contents,
|
|
1645
|
-
});
|
|
1646
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1647
|
-
};
|
|
1648
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1649
|
-
const contents = smithyClient.map({});
|
|
1650
|
-
const data = parsedOutput.body;
|
|
1651
|
-
const doc = smithyClient.take(data, {
|
|
1652
|
-
message: smithyClient.expectString,
|
|
1653
|
-
resourceId: smithyClient.expectString,
|
|
1654
|
-
resourceType: smithyClient.expectString,
|
|
1655
|
-
});
|
|
1656
|
-
Object.assign(contents, doc);
|
|
1657
|
-
const exception = new ResourceNotFoundException({
|
|
1658
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1659
|
-
...contents,
|
|
1660
|
-
});
|
|
1661
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1662
|
-
};
|
|
1663
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1664
|
-
const contents = smithyClient.map({});
|
|
1665
|
-
const data = parsedOutput.body;
|
|
1666
|
-
const doc = smithyClient.take(data, {
|
|
1667
|
-
message: smithyClient.expectString,
|
|
1668
|
-
quotaCode: smithyClient.expectString,
|
|
1669
|
-
resourceId: smithyClient.expectString,
|
|
1670
|
-
resourceType: smithyClient.expectString,
|
|
1671
|
-
serviceCode: smithyClient.expectString,
|
|
1672
|
-
});
|
|
1673
|
-
Object.assign(contents, doc);
|
|
1674
|
-
const exception = new ServiceQuotaExceededException({
|
|
1675
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1676
|
-
...contents,
|
|
1677
|
-
});
|
|
1678
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1679
|
-
};
|
|
1680
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1681
|
-
const contents = smithyClient.map({
|
|
1682
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
|
|
1683
|
-
});
|
|
1684
|
-
const data = parsedOutput.body;
|
|
1685
|
-
const doc = smithyClient.take(data, {
|
|
1686
|
-
message: smithyClient.expectString,
|
|
1687
|
-
quotaCode: smithyClient.expectString,
|
|
1688
|
-
serviceCode: smithyClient.expectString,
|
|
1689
|
-
});
|
|
1690
|
-
Object.assign(contents, doc);
|
|
1691
|
-
const exception = new ThrottlingException({
|
|
1692
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1693
|
-
...contents,
|
|
1694
|
-
});
|
|
1695
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1696
|
-
};
|
|
1697
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1698
|
-
const contents = smithyClient.map({});
|
|
1699
|
-
const data = parsedOutput.body;
|
|
1700
|
-
const doc = smithyClient.take(data, {
|
|
1701
|
-
fieldList: smithyClient._json,
|
|
1702
|
-
message: smithyClient.expectString,
|
|
1703
|
-
reason: smithyClient.expectString,
|
|
1704
|
-
});
|
|
1705
|
-
Object.assign(contents, doc);
|
|
1706
|
-
const exception = new ValidationException({
|
|
1707
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1708
|
-
...contents,
|
|
1709
|
-
});
|
|
1710
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1711
|
-
};
|
|
1712
|
-
const se_AnomalyDetectorConfiguration = (input, context) => {
|
|
1713
|
-
return exports.AnomalyDetectorConfiguration.visit(input, {
|
|
1714
|
-
randomCutForest: (value) => ({ randomCutForest: se_RandomCutForestConfiguration(value) }),
|
|
1715
|
-
_: (name, value) => ({ [name]: value }),
|
|
1716
|
-
});
|
|
1717
|
-
};
|
|
1718
|
-
const se_IgnoreNearExpected = (input, context) => {
|
|
1719
|
-
return exports.IgnoreNearExpected.visit(input, {
|
|
1720
|
-
amount: (value) => ({ amount: smithyClient.serializeFloat(value) }),
|
|
1721
|
-
ratio: (value) => ({ ratio: smithyClient.serializeFloat(value) }),
|
|
1722
|
-
_: (name, value) => ({ [name]: value }),
|
|
1723
|
-
});
|
|
1724
|
-
};
|
|
1725
|
-
const se_RandomCutForestConfiguration = (input, context) => {
|
|
1726
|
-
return smithyClient.take(input, {
|
|
1727
|
-
ignoreNearExpectedFromAbove: (_) => se_IgnoreNearExpected(_),
|
|
1728
|
-
ignoreNearExpectedFromBelow: (_) => se_IgnoreNearExpected(_),
|
|
1729
|
-
query: [],
|
|
1730
|
-
sampleSize: [],
|
|
1731
|
-
shingleSize: [],
|
|
1732
|
-
});
|
|
1733
|
-
};
|
|
1734
|
-
const se_ScrapeConfiguration = (input, context) => {
|
|
1735
|
-
return exports.ScrapeConfiguration.visit(input, {
|
|
1736
|
-
configurationBlob: (value) => ({ configurationBlob: context.base64Encoder(value) }),
|
|
1737
|
-
_: (name, value) => ({ [name]: value }),
|
|
1738
|
-
});
|
|
1739
|
-
};
|
|
1740
|
-
const de_AlertManagerDefinitionDescription = (output, context) => {
|
|
1741
|
-
return smithyClient.take(output, {
|
|
1742
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1743
|
-
data: context.base64Decoder,
|
|
1744
|
-
modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1745
|
-
status: smithyClient._json,
|
|
1746
|
-
});
|
|
1747
|
-
};
|
|
1748
|
-
const de_AnomalyDetectorConfiguration = (output, context) => {
|
|
1749
|
-
if (output.randomCutForest != null) {
|
|
1750
|
-
return {
|
|
1751
|
-
randomCutForest: de_RandomCutForestConfiguration(output.randomCutForest),
|
|
1752
|
-
};
|
|
1753
|
-
}
|
|
1754
|
-
return { $unknown: Object.entries(output)[0] };
|
|
1755
|
-
};
|
|
1756
|
-
const de_AnomalyDetectorDescription = (output, context) => {
|
|
1757
|
-
return smithyClient.take(output, {
|
|
1758
|
-
alias: smithyClient.expectString,
|
|
1759
|
-
anomalyDetectorId: smithyClient.expectString,
|
|
1760
|
-
arn: smithyClient.expectString,
|
|
1761
|
-
configuration: (_) => de_AnomalyDetectorConfiguration(core$1.awsExpectUnion(_)),
|
|
1762
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1763
|
-
evaluationIntervalInSeconds: smithyClient.expectInt32,
|
|
1764
|
-
labels: smithyClient._json,
|
|
1765
|
-
missingDataAction: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
1766
|
-
modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1767
|
-
status: smithyClient._json,
|
|
1768
|
-
tags: smithyClient._json,
|
|
1769
|
-
});
|
|
1770
|
-
};
|
|
1771
|
-
const de_AnomalyDetectorSummary = (output, context) => {
|
|
1772
|
-
return smithyClient.take(output, {
|
|
1773
|
-
alias: smithyClient.expectString,
|
|
1774
|
-
anomalyDetectorId: smithyClient.expectString,
|
|
1775
|
-
arn: smithyClient.expectString,
|
|
1776
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1777
|
-
modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1778
|
-
status: smithyClient._json,
|
|
1779
|
-
tags: smithyClient._json,
|
|
1780
|
-
});
|
|
1781
|
-
};
|
|
1782
|
-
const de_AnomalyDetectorSummaryList = (output, context) => {
|
|
1783
|
-
const retVal = (output || [])
|
|
1784
|
-
.filter((e) => e != null)
|
|
1785
|
-
.map((entry) => {
|
|
1786
|
-
return de_AnomalyDetectorSummary(entry);
|
|
1787
|
-
});
|
|
1788
|
-
return retVal;
|
|
1789
|
-
};
|
|
1790
|
-
const de_IgnoreNearExpected = (output, context) => {
|
|
1791
|
-
if (smithyClient.limitedParseDouble(output.amount) !== undefined) {
|
|
1792
|
-
return { amount: smithyClient.limitedParseDouble(output.amount) };
|
|
1793
|
-
}
|
|
1794
|
-
if (smithyClient.limitedParseDouble(output.ratio) !== undefined) {
|
|
1795
|
-
return { ratio: smithyClient.limitedParseDouble(output.ratio) };
|
|
1796
|
-
}
|
|
1797
|
-
return { $unknown: Object.entries(output)[0] };
|
|
1798
|
-
};
|
|
1799
|
-
const de_LoggingConfigurationMetadata = (output, context) => {
|
|
1800
|
-
return smithyClient.take(output, {
|
|
1801
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1802
|
-
logGroupArn: smithyClient.expectString,
|
|
1803
|
-
modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1804
|
-
status: smithyClient._json,
|
|
1805
|
-
workspace: smithyClient.expectString,
|
|
1806
|
-
});
|
|
1807
|
-
};
|
|
1808
|
-
const de_QueryLoggingConfigurationMetadata = (output, context) => {
|
|
1809
|
-
return smithyClient.take(output, {
|
|
1810
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1811
|
-
destinations: smithyClient._json,
|
|
1812
|
-
modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1813
|
-
status: smithyClient._json,
|
|
1814
|
-
workspace: smithyClient.expectString,
|
|
1815
|
-
});
|
|
1816
|
-
};
|
|
1817
|
-
const de_RandomCutForestConfiguration = (output, context) => {
|
|
1818
|
-
return smithyClient.take(output, {
|
|
1819
|
-
ignoreNearExpectedFromAbove: (_) => de_IgnoreNearExpected(core$1.awsExpectUnion(_)),
|
|
1820
|
-
ignoreNearExpectedFromBelow: (_) => de_IgnoreNearExpected(core$1.awsExpectUnion(_)),
|
|
1821
|
-
query: smithyClient.expectString,
|
|
1822
|
-
sampleSize: smithyClient.expectInt32,
|
|
1823
|
-
shingleSize: smithyClient.expectInt32,
|
|
1824
|
-
});
|
|
1825
|
-
};
|
|
1826
|
-
const de_RuleGroupsNamespaceDescription = (output, context) => {
|
|
1827
|
-
return smithyClient.take(output, {
|
|
1828
|
-
arn: smithyClient.expectString,
|
|
1829
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1830
|
-
data: context.base64Decoder,
|
|
1831
|
-
modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1832
|
-
name: smithyClient.expectString,
|
|
1833
|
-
status: smithyClient._json,
|
|
1834
|
-
tags: smithyClient._json,
|
|
1835
|
-
});
|
|
1836
|
-
};
|
|
1837
|
-
const de_RuleGroupsNamespaceSummary = (output, context) => {
|
|
1838
|
-
return smithyClient.take(output, {
|
|
1839
|
-
arn: smithyClient.expectString,
|
|
1840
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1841
|
-
modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1842
|
-
name: smithyClient.expectString,
|
|
1843
|
-
status: smithyClient._json,
|
|
1844
|
-
tags: smithyClient._json,
|
|
1845
|
-
});
|
|
1846
|
-
};
|
|
1847
|
-
const de_RuleGroupsNamespaceSummaryList = (output, context) => {
|
|
1848
|
-
const retVal = (output || [])
|
|
1849
|
-
.filter((e) => e != null)
|
|
1850
|
-
.map((entry) => {
|
|
1851
|
-
return de_RuleGroupsNamespaceSummary(entry);
|
|
1852
|
-
});
|
|
1853
|
-
return retVal;
|
|
1854
|
-
};
|
|
1855
|
-
const de_ScrapeConfiguration = (output, context) => {
|
|
1856
|
-
if (output.configurationBlob != null) {
|
|
1857
|
-
return {
|
|
1858
|
-
configurationBlob: context.base64Decoder(output.configurationBlob),
|
|
1859
|
-
};
|
|
1860
|
-
}
|
|
1861
|
-
return { $unknown: Object.entries(output)[0] };
|
|
1862
|
-
};
|
|
1863
|
-
const de_ScraperDescription = (output, context) => {
|
|
1864
|
-
return smithyClient.take(output, {
|
|
1865
|
-
alias: smithyClient.expectString,
|
|
1866
|
-
arn: smithyClient.expectString,
|
|
1867
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1868
|
-
destination: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
1869
|
-
lastModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1870
|
-
roleArn: smithyClient.expectString,
|
|
1871
|
-
roleConfiguration: smithyClient._json,
|
|
1872
|
-
scrapeConfiguration: (_) => de_ScrapeConfiguration(core$1.awsExpectUnion(_), context),
|
|
1873
|
-
scraperId: smithyClient.expectString,
|
|
1874
|
-
source: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
1875
|
-
status: smithyClient._json,
|
|
1876
|
-
statusReason: smithyClient.expectString,
|
|
1877
|
-
tags: smithyClient._json,
|
|
1878
|
-
});
|
|
1879
|
-
};
|
|
1880
|
-
const de_ScraperSummary = (output, context) => {
|
|
1881
|
-
return smithyClient.take(output, {
|
|
1882
|
-
alias: smithyClient.expectString,
|
|
1883
|
-
arn: smithyClient.expectString,
|
|
1884
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1885
|
-
destination: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
1886
|
-
lastModifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1887
|
-
roleArn: smithyClient.expectString,
|
|
1888
|
-
roleConfiguration: smithyClient._json,
|
|
1889
|
-
scraperId: smithyClient.expectString,
|
|
1890
|
-
source: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
1891
|
-
status: smithyClient._json,
|
|
1892
|
-
statusReason: smithyClient.expectString,
|
|
1893
|
-
tags: smithyClient._json,
|
|
1894
|
-
});
|
|
1895
|
-
};
|
|
1896
|
-
const de_ScraperSummaryList = (output, context) => {
|
|
1897
|
-
const retVal = (output || [])
|
|
1898
|
-
.filter((e) => e != null)
|
|
1899
|
-
.map((entry) => {
|
|
1900
|
-
return de_ScraperSummary(entry);
|
|
1901
|
-
});
|
|
1902
|
-
return retVal;
|
|
1903
|
-
};
|
|
1904
|
-
const de_WorkspaceDescription = (output, context) => {
|
|
1905
|
-
return smithyClient.take(output, {
|
|
1906
|
-
alias: smithyClient.expectString,
|
|
1907
|
-
arn: smithyClient.expectString,
|
|
1908
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1909
|
-
kmsKeyArn: smithyClient.expectString,
|
|
1910
|
-
prometheusEndpoint: smithyClient.expectString,
|
|
1911
|
-
status: smithyClient._json,
|
|
1912
|
-
tags: smithyClient._json,
|
|
1913
|
-
workspaceId: smithyClient.expectString,
|
|
1914
|
-
});
|
|
1915
|
-
};
|
|
1916
|
-
const de_WorkspaceSummary = (output, context) => {
|
|
1917
|
-
return smithyClient.take(output, {
|
|
1918
|
-
alias: smithyClient.expectString,
|
|
1919
|
-
arn: smithyClient.expectString,
|
|
1920
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1921
|
-
kmsKeyArn: smithyClient.expectString,
|
|
1922
|
-
status: smithyClient._json,
|
|
1923
|
-
tags: smithyClient._json,
|
|
1924
|
-
workspaceId: smithyClient.expectString,
|
|
1925
|
-
});
|
|
1926
|
-
};
|
|
1927
|
-
const de_WorkspaceSummaryList = (output, context) => {
|
|
1928
|
-
const retVal = (output || [])
|
|
1929
|
-
.filter((e) => e != null)
|
|
1930
|
-
.map((entry) => {
|
|
1931
|
-
return de_WorkspaceSummary(entry);
|
|
1932
|
-
});
|
|
1933
|
-
return retVal;
|
|
1934
|
-
};
|
|
1935
|
-
const deserializeMetadata = (output) => ({
|
|
1936
|
-
httpStatusCode: output.statusCode,
|
|
1937
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1938
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1939
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1940
|
-
});
|
|
1941
|
-
const _a = "alias";
|
|
383
|
+
const _AC = "AmpConfiguration";
|
|
384
|
+
const _ADC = "AnomalyDetectorConfiguration";
|
|
385
|
+
const _ADD = "AnomalyDetectorDescription";
|
|
386
|
+
const _ADE = "AccessDeniedException";
|
|
387
|
+
const _ADMDA = "AnomalyDetectorMissingDataAction";
|
|
388
|
+
const _ADS = "AnomalyDetectorStatus";
|
|
389
|
+
const _ADSL = "AnomalyDetectorSummaryList";
|
|
390
|
+
const _ADSn = "AnomalyDetectorSummary";
|
|
391
|
+
const _AMDD = "AlertManagerDefinitionDescription";
|
|
392
|
+
const _AMDS = "AlertManagerDefinitionStatus";
|
|
393
|
+
const _CAD = "CreateAnomalyDetector";
|
|
394
|
+
const _CADR = "CreateAnomalyDetectorRequest";
|
|
395
|
+
const _CADRr = "CreateAnomalyDetectorResponse";
|
|
396
|
+
const _CAMD = "CreateAlertManagerDefinition";
|
|
397
|
+
const _CAMDR = "CreateAlertManagerDefinitionRequest";
|
|
398
|
+
const _CAMDRr = "CreateAlertManagerDefinitionResponse";
|
|
399
|
+
const _CC = "ComponentConfig";
|
|
400
|
+
const _CE = "ConflictException";
|
|
401
|
+
const _CLC = "CreateLoggingConfiguration";
|
|
402
|
+
const _CLCR = "CreateLoggingConfigurationRequest";
|
|
403
|
+
const _CLCRr = "CreateLoggingConfigurationResponse";
|
|
404
|
+
const _CQLC = "CreateQueryLoggingConfiguration";
|
|
405
|
+
const _CQLCR = "CreateQueryLoggingConfigurationRequest";
|
|
406
|
+
const _CQLCRr = "CreateQueryLoggingConfigurationResponse";
|
|
407
|
+
const _CRGN = "CreateRuleGroupsNamespace";
|
|
408
|
+
const _CRGNR = "CreateRuleGroupsNamespaceRequest";
|
|
409
|
+
const _CRGNRr = "CreateRuleGroupsNamespaceResponse";
|
|
410
|
+
const _CS = "CreateScraper";
|
|
411
|
+
const _CSR = "CreateScraperRequest";
|
|
412
|
+
const _CSRr = "CreateScraperResponse";
|
|
413
|
+
const _CW = "CreateWorkspace";
|
|
414
|
+
const _CWLD = "CloudWatchLogDestination";
|
|
415
|
+
const _CWR = "CreateWorkspaceRequest";
|
|
416
|
+
const _CWRr = "CreateWorkspaceResponse";
|
|
417
|
+
const _D = "Destination";
|
|
418
|
+
const _DAD = "DeleteAnomalyDetector";
|
|
419
|
+
const _DADR = "DeleteAnomalyDetectorRequest";
|
|
420
|
+
const _DADRe = "DescribeAnomalyDetectorRequest";
|
|
421
|
+
const _DADRes = "DescribeAnomalyDetectorResponse";
|
|
422
|
+
const _DADe = "DescribeAnomalyDetector";
|
|
423
|
+
const _DAMD = "DeleteAlertManagerDefinition";
|
|
424
|
+
const _DAMDR = "DeleteAlertManagerDefinitionRequest";
|
|
425
|
+
const _DAMDRe = "DescribeAlertManagerDefinitionRequest";
|
|
426
|
+
const _DAMDRes = "DescribeAlertManagerDefinitionResponse";
|
|
427
|
+
const _DAMDe = "DescribeAlertManagerDefinition";
|
|
428
|
+
const _DLC = "DeleteLoggingConfiguration";
|
|
429
|
+
const _DLCR = "DeleteLoggingConfigurationRequest";
|
|
430
|
+
const _DLCRe = "DescribeLoggingConfigurationRequest";
|
|
431
|
+
const _DLCRes = "DescribeLoggingConfigurationResponse";
|
|
432
|
+
const _DLCe = "DescribeLoggingConfiguration";
|
|
433
|
+
const _DQLC = "DeleteQueryLoggingConfiguration";
|
|
434
|
+
const _DQLCR = "DeleteQueryLoggingConfigurationRequest";
|
|
435
|
+
const _DQLCRe = "DescribeQueryLoggingConfigurationRequest";
|
|
436
|
+
const _DQLCRes = "DescribeQueryLoggingConfigurationResponse";
|
|
437
|
+
const _DQLCe = "DescribeQueryLoggingConfiguration";
|
|
438
|
+
const _DRGN = "DeleteRuleGroupsNamespace";
|
|
439
|
+
const _DRGNR = "DeleteRuleGroupsNamespaceRequest";
|
|
440
|
+
const _DRGNRe = "DescribeRuleGroupsNamespaceRequest";
|
|
441
|
+
const _DRGNRes = "DescribeRuleGroupsNamespaceResponse";
|
|
442
|
+
const _DRGNe = "DescribeRuleGroupsNamespace";
|
|
443
|
+
const _DRP = "DeleteResourcePolicy";
|
|
444
|
+
const _DRPR = "DeleteResourcePolicyRequest";
|
|
445
|
+
const _DRPRe = "DescribeResourcePolicyRequest";
|
|
446
|
+
const _DRPRes = "DescribeResourcePolicyResponse";
|
|
447
|
+
const _DRPe = "DescribeResourcePolicy";
|
|
448
|
+
const _DS = "DeleteScraper";
|
|
449
|
+
const _DSLC = "DeleteScraperLoggingConfiguration";
|
|
450
|
+
const _DSLCR = "DeleteScraperLoggingConfigurationRequest";
|
|
451
|
+
const _DSLCRe = "DescribeScraperLoggingConfigurationRequest";
|
|
452
|
+
const _DSLCRes = "DescribeScraperLoggingConfigurationResponse";
|
|
453
|
+
const _DSLCe = "DescribeScraperLoggingConfiguration";
|
|
454
|
+
const _DSR = "DeleteScraperRequest";
|
|
455
|
+
const _DSRe = "DeleteScraperResponse";
|
|
456
|
+
const _DSRes = "DescribeScraperRequest";
|
|
457
|
+
const _DSResc = "DescribeScraperResponse";
|
|
458
|
+
const _DSe = "DescribeScraper";
|
|
459
|
+
const _DW = "DeleteWorkspace";
|
|
460
|
+
const _DWC = "DescribeWorkspaceConfiguration";
|
|
461
|
+
const _DWCR = "DescribeWorkspaceConfigurationRequest";
|
|
462
|
+
const _DWCRe = "DescribeWorkspaceConfigurationResponse";
|
|
463
|
+
const _DWR = "DeleteWorkspaceRequest";
|
|
464
|
+
const _DWRe = "DescribeWorkspaceRequest";
|
|
465
|
+
const _DWRes = "DescribeWorkspaceResponse";
|
|
466
|
+
const _DWe = "DescribeWorkspace";
|
|
467
|
+
const _EC = "EksConfiguration";
|
|
468
|
+
const _GDSC = "GetDefaultScraperConfiguration";
|
|
469
|
+
const _GDSCR = "GetDefaultScraperConfigurationRequest";
|
|
470
|
+
const _GDSCRe = "GetDefaultScraperConfigurationResponse";
|
|
471
|
+
const _INE = "IgnoreNearExpected";
|
|
472
|
+
const _ISE = "InternalServerException";
|
|
473
|
+
const _LAD = "ListAnomalyDetectors";
|
|
474
|
+
const _LADR = "ListAnomalyDetectorsRequest";
|
|
475
|
+
const _LADRi = "ListAnomalyDetectorsResponse";
|
|
476
|
+
const _LCM = "LoggingConfigurationMetadata";
|
|
477
|
+
const _LCS = "LoggingConfigurationStatus";
|
|
478
|
+
const _LD = "LoggingDestination";
|
|
479
|
+
const _LDo = "LoggingDestinations";
|
|
480
|
+
const _LF = "LoggingFilter";
|
|
481
|
+
const _LPLS = "LimitsPerLabelSet";
|
|
482
|
+
const _LPLSE = "LimitsPerLabelSetEntry";
|
|
483
|
+
const _LPLSL = "LimitsPerLabelSetList";
|
|
484
|
+
const _LRGN = "ListRuleGroupsNamespaces";
|
|
485
|
+
const _LRGNR = "ListRuleGroupsNamespacesRequest";
|
|
486
|
+
const _LRGNRi = "ListRuleGroupsNamespacesResponse";
|
|
487
|
+
const _LS = "ListScrapers";
|
|
488
|
+
const _LSR = "ListScrapersRequest";
|
|
489
|
+
const _LSRi = "ListScrapersResponse";
|
|
490
|
+
const _LTFR = "ListTagsForResource";
|
|
491
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
492
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
493
|
+
const _LW = "ListWorkspaces";
|
|
494
|
+
const _LWR = "ListWorkspacesRequest";
|
|
495
|
+
const _LWRi = "ListWorkspacesResponse";
|
|
496
|
+
const _PAD = "PutAnomalyDetector";
|
|
497
|
+
const _PADR = "PutAnomalyDetectorRequest";
|
|
498
|
+
const _PADRu = "PutAnomalyDetectorResponse";
|
|
499
|
+
const _PAMD = "PutAlertManagerDefinition";
|
|
500
|
+
const _PAMDR = "PutAlertManagerDefinitionRequest";
|
|
501
|
+
const _PAMDRu = "PutAlertManagerDefinitionResponse";
|
|
502
|
+
const _PRGN = "PutRuleGroupsNamespace";
|
|
503
|
+
const _PRGNR = "PutRuleGroupsNamespaceRequest";
|
|
504
|
+
const _PRGNRu = "PutRuleGroupsNamespaceResponse";
|
|
505
|
+
const _PRP = "PutResourcePolicy";
|
|
506
|
+
const _PRPR = "PutResourcePolicyRequest";
|
|
507
|
+
const _PRPRu = "PutResourcePolicyResponse";
|
|
508
|
+
const _QLCM = "QueryLoggingConfigurationMetadata";
|
|
509
|
+
const _QLCS = "QueryLoggingConfigurationStatus";
|
|
510
|
+
const _RA = "Retry-After";
|
|
511
|
+
const _RC = "RoleConfiguration";
|
|
512
|
+
const _RCFC = "RandomCutForestConfiguration";
|
|
513
|
+
const _RGND = "RuleGroupsNamespaceDescription";
|
|
514
|
+
const _RGNS = "RuleGroupsNamespaceStatus";
|
|
515
|
+
const _RGNSL = "RuleGroupsNamespaceSummaryList";
|
|
516
|
+
const _RGNSu = "RuleGroupsNamespaceSummary";
|
|
517
|
+
const _RNFE = "ResourceNotFoundException";
|
|
518
|
+
const _S = "Source";
|
|
519
|
+
const _SC = "ScraperComponent";
|
|
520
|
+
const _SCc = "ScraperComponents";
|
|
521
|
+
const _SCcr = "ScrapeConfiguration";
|
|
522
|
+
const _SD = "ScraperDescription";
|
|
523
|
+
const _SF = "ScraperFilters";
|
|
524
|
+
const _SLCS = "ScraperLoggingConfigurationStatus";
|
|
525
|
+
const _SLD = "ScraperLoggingDestination";
|
|
526
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
527
|
+
const _SS = "ScraperStatus";
|
|
528
|
+
const _SSL = "ScraperSummaryList";
|
|
529
|
+
const _SSc = "ScraperSummary";
|
|
530
|
+
const _TE = "ThrottlingException";
|
|
531
|
+
const _TR = "TagResource";
|
|
532
|
+
const _TRR = "TagResourceRequest";
|
|
533
|
+
const _TRRa = "TagResourceResponse";
|
|
534
|
+
const _ULC = "UpdateLoggingConfiguration";
|
|
535
|
+
const _ULCR = "UpdateLoggingConfigurationRequest";
|
|
536
|
+
const _ULCRp = "UpdateLoggingConfigurationResponse";
|
|
537
|
+
const _UQLC = "UpdateQueryLoggingConfiguration";
|
|
538
|
+
const _UQLCR = "UpdateQueryLoggingConfigurationRequest";
|
|
539
|
+
const _UQLCRp = "UpdateQueryLoggingConfigurationResponse";
|
|
540
|
+
const _UR = "UntagResource";
|
|
541
|
+
const _URR = "UntagResourceRequest";
|
|
542
|
+
const _URRn = "UntagResourceResponse";
|
|
543
|
+
const _US = "UpdateScraper";
|
|
544
|
+
const _USLC = "UpdateScraperLoggingConfiguration";
|
|
545
|
+
const _USLCR = "UpdateScraperLoggingConfigurationRequest";
|
|
546
|
+
const _USLCRp = "UpdateScraperLoggingConfigurationResponse";
|
|
547
|
+
const _USR = "UpdateScraperRequest";
|
|
548
|
+
const _USRp = "UpdateScraperResponse";
|
|
549
|
+
const _UWA = "UpdateWorkspaceAlias";
|
|
550
|
+
const _UWAR = "UpdateWorkspaceAliasRequest";
|
|
551
|
+
const _UWC = "UpdateWorkspaceConfiguration";
|
|
552
|
+
const _UWCR = "UpdateWorkspaceConfigurationRequest";
|
|
553
|
+
const _UWCRp = "UpdateWorkspaceConfigurationResponse";
|
|
554
|
+
const _VE = "ValidationException";
|
|
555
|
+
const _VEF = "ValidationExceptionField";
|
|
556
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
557
|
+
const _WCD = "WorkspaceConfigurationDescription";
|
|
558
|
+
const _WCS = "WorkspaceConfigurationStatus";
|
|
559
|
+
const _WD = "WorkspaceDescription";
|
|
560
|
+
const _WS = "WorkspaceStatus";
|
|
561
|
+
const _WSL = "WorkspaceSummaryList";
|
|
562
|
+
const _WSo = "WorkspaceSummary";
|
|
563
|
+
const _a = "arn";
|
|
564
|
+
const _aC = "ampConfiguration";
|
|
565
|
+
const _aD = "anomalyDetector";
|
|
566
|
+
const _aDI = "anomalyDetectorId";
|
|
567
|
+
const _aDn = "anomalyDetectors";
|
|
568
|
+
const _aMD = "alertManagerDefinition";
|
|
569
|
+
const _al = "alias";
|
|
570
|
+
const _am = "amount";
|
|
571
|
+
const _c = "client";
|
|
572
|
+
const _cA = "createdAt";
|
|
573
|
+
const _cAl = "clusterArn";
|
|
574
|
+
const _cB = "configurationBlob";
|
|
1942
575
|
const _cT = "clientToken";
|
|
576
|
+
const _cWL = "cloudWatchLogs";
|
|
577
|
+
const _co = "configuration";
|
|
578
|
+
const _con = "config";
|
|
579
|
+
const _d = "data";
|
|
580
|
+
const _de = "destinations";
|
|
581
|
+
const _des = "destination";
|
|
582
|
+
const _e = "error";
|
|
583
|
+
const _eC = "eksConfiguration";
|
|
584
|
+
const _eIIS = "evaluationIntervalInSeconds";
|
|
585
|
+
const _f = "filters";
|
|
586
|
+
const _fL = "fieldList";
|
|
587
|
+
const _h = "http";
|
|
588
|
+
const _hE = "httpError";
|
|
589
|
+
const _hH = "httpHeader";
|
|
590
|
+
const _hQ = "httpQuery";
|
|
591
|
+
const _iNEFA = "ignoreNearExpectedFromAbove";
|
|
592
|
+
const _iNEFB = "ignoreNearExpectedFromBelow";
|
|
593
|
+
const _iT = "idempotencyToken";
|
|
594
|
+
const _kKA = "kmsKeyArn";
|
|
595
|
+
const _l = "labels";
|
|
596
|
+
const _lC = "loggingConfiguration";
|
|
597
|
+
const _lD = "loggingDestination";
|
|
598
|
+
const _lGA = "logGroupArn";
|
|
599
|
+
const _lMA = "lastModifiedAt";
|
|
600
|
+
const _lPLS = "limitsPerLabelSet";
|
|
601
|
+
const _lS = "labelSet";
|
|
602
|
+
const _li = "limits";
|
|
603
|
+
const _m = "message";
|
|
604
|
+
const _mA = "modifiedAt";
|
|
605
|
+
const _mAA = "markAsAnomaly";
|
|
606
|
+
const _mDA = "missingDataAction";
|
|
1943
607
|
const _mR = "maxResults";
|
|
608
|
+
const _mS = "maxSeries";
|
|
1944
609
|
const _n = "name";
|
|
1945
610
|
const _nT = "nextToken";
|
|
611
|
+
const _o = "options";
|
|
612
|
+
const _pD = "policyDocument";
|
|
613
|
+
const _pE = "prometheusEndpoint";
|
|
614
|
+
const _pS = "policyStatus";
|
|
615
|
+
const _q = "query";
|
|
616
|
+
const _qC = "quotaCode";
|
|
617
|
+
const _qLC = "queryLoggingConfiguration";
|
|
618
|
+
const _qT = "qspThreshold";
|
|
619
|
+
const _r = "reason";
|
|
620
|
+
const _rA = "resourceArn";
|
|
1946
621
|
const _rAS = "retryAfterSeconds";
|
|
1947
|
-
const
|
|
1948
|
-
const
|
|
622
|
+
const _rAo = "roleArn";
|
|
623
|
+
const _rC = "roleConfiguration";
|
|
624
|
+
const _rCF = "randomCutForest";
|
|
625
|
+
const _rGN = "ruleGroupsNamespace";
|
|
626
|
+
const _rGNu = "ruleGroupsNamespaces";
|
|
627
|
+
const _rI = "resourceId";
|
|
628
|
+
const _rIe = "revisionId";
|
|
629
|
+
const _rPID = "retentionPeriodInDays";
|
|
630
|
+
const _rT = "resourceType";
|
|
631
|
+
const _ra = "ratio";
|
|
632
|
+
const _s = "status";
|
|
633
|
+
const _sC = "statusCode";
|
|
634
|
+
const _sCc = "scrapeConfiguration";
|
|
635
|
+
const _sCcr = "scraperComponents";
|
|
636
|
+
const _sCe = "serviceCode";
|
|
637
|
+
const _sGI = "securityGroupIds";
|
|
638
|
+
const _sI = "scraperId";
|
|
639
|
+
const _sIu = "subnetIds";
|
|
640
|
+
const _sR = "statusReason";
|
|
641
|
+
const _sRA = "sourceRoleArn";
|
|
642
|
+
const _sS = "shingleSize";
|
|
643
|
+
const _sSa = "sampleSize";
|
|
644
|
+
const _sc = "scraper";
|
|
645
|
+
const _scr = "scrapers";
|
|
646
|
+
const _se = "server";
|
|
647
|
+
const _sk = "skip";
|
|
648
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.amp";
|
|
649
|
+
const _so = "source";
|
|
650
|
+
const _t = "tags";
|
|
1949
651
|
const _tK = "tagKeys";
|
|
652
|
+
const _tRA = "targetRoleArn";
|
|
653
|
+
const _ty = "type";
|
|
654
|
+
const _w = "workspace";
|
|
655
|
+
const _wA = "workspaceArn";
|
|
656
|
+
const _wC = "workspaceConfiguration";
|
|
657
|
+
const _wI = "workspaceId";
|
|
658
|
+
const _wo = "workspaces";
|
|
659
|
+
const n0 = "com.amazonaws.amp";
|
|
660
|
+
var AccessDeniedException = [
|
|
661
|
+
-3,
|
|
662
|
+
n0,
|
|
663
|
+
_ADE,
|
|
664
|
+
{
|
|
665
|
+
[_e]: _c,
|
|
666
|
+
[_hE]: 403,
|
|
667
|
+
},
|
|
668
|
+
[_m],
|
|
669
|
+
[0],
|
|
670
|
+
];
|
|
671
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
672
|
+
var AlertManagerDefinitionDescription = [
|
|
673
|
+
3,
|
|
674
|
+
n0,
|
|
675
|
+
_AMDD,
|
|
676
|
+
0,
|
|
677
|
+
[_s, _d, _cA, _mA],
|
|
678
|
+
[() => AlertManagerDefinitionStatus, 21, 4, 4],
|
|
679
|
+
];
|
|
680
|
+
var AlertManagerDefinitionStatus = [3, n0, _AMDS, 0, [_sC, _sR], [0, 0]];
|
|
681
|
+
var AmpConfiguration = [3, n0, _AC, 0, [_wA], [0]];
|
|
682
|
+
var AnomalyDetectorDescription = [
|
|
683
|
+
3,
|
|
684
|
+
n0,
|
|
685
|
+
_ADD,
|
|
686
|
+
0,
|
|
687
|
+
[_a, _aDI, _al, _eIIS, _mDA, _co, _l, _s, _cA, _mA, _t],
|
|
688
|
+
[
|
|
689
|
+
0,
|
|
690
|
+
0,
|
|
691
|
+
0,
|
|
692
|
+
1,
|
|
693
|
+
() => AnomalyDetectorMissingDataAction,
|
|
694
|
+
() => AnomalyDetectorConfiguration,
|
|
695
|
+
128 | 0,
|
|
696
|
+
() => AnomalyDetectorStatus,
|
|
697
|
+
4,
|
|
698
|
+
4,
|
|
699
|
+
128 | 0,
|
|
700
|
+
],
|
|
701
|
+
];
|
|
702
|
+
var AnomalyDetectorStatus = [3, n0, _ADS, 0, [_sC, _sR], [0, 0]];
|
|
703
|
+
var AnomalyDetectorSummary = [
|
|
704
|
+
3,
|
|
705
|
+
n0,
|
|
706
|
+
_ADSn,
|
|
707
|
+
0,
|
|
708
|
+
[_a, _aDI, _al, _s, _cA, _mA, _t],
|
|
709
|
+
[0, 0, 0, () => AnomalyDetectorStatus, 4, 4, 128 | 0],
|
|
710
|
+
];
|
|
711
|
+
var CloudWatchLogDestination = [3, n0, _CWLD, 0, [_lGA], [0]];
|
|
712
|
+
var ComponentConfig = [3, n0, _CC, 0, [_o], [128 | 0]];
|
|
713
|
+
var ConflictException = [
|
|
714
|
+
-3,
|
|
715
|
+
n0,
|
|
716
|
+
_CE,
|
|
717
|
+
{
|
|
718
|
+
[_e]: _c,
|
|
719
|
+
[_hE]: 409,
|
|
720
|
+
},
|
|
721
|
+
[_m, _rI, _rT],
|
|
722
|
+
[0, 0, 0],
|
|
723
|
+
];
|
|
724
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
725
|
+
var CreateAlertManagerDefinitionRequest = [
|
|
726
|
+
3,
|
|
727
|
+
n0,
|
|
728
|
+
_CAMDR,
|
|
729
|
+
0,
|
|
730
|
+
[_wI, _d, _cT],
|
|
731
|
+
[[0, 1], 21, [0, 4]],
|
|
732
|
+
];
|
|
733
|
+
var CreateAlertManagerDefinitionResponse = [
|
|
734
|
+
3,
|
|
735
|
+
n0,
|
|
736
|
+
_CAMDRr,
|
|
737
|
+
0,
|
|
738
|
+
[_s],
|
|
739
|
+
[() => AlertManagerDefinitionStatus],
|
|
740
|
+
];
|
|
741
|
+
var CreateAnomalyDetectorRequest = [
|
|
742
|
+
3,
|
|
743
|
+
n0,
|
|
744
|
+
_CADR,
|
|
745
|
+
0,
|
|
746
|
+
[_wI, _al, _eIIS, _mDA, _co, _l, _cT, _t],
|
|
747
|
+
[[0, 1], 0, 1, () => AnomalyDetectorMissingDataAction, () => AnomalyDetectorConfiguration, 128 | 0, [0, 4], 128 | 0],
|
|
748
|
+
];
|
|
749
|
+
var CreateAnomalyDetectorResponse = [
|
|
750
|
+
3,
|
|
751
|
+
n0,
|
|
752
|
+
_CADRr,
|
|
753
|
+
0,
|
|
754
|
+
[_aDI, _a, _s, _t],
|
|
755
|
+
[0, 0, () => AnomalyDetectorStatus, 128 | 0],
|
|
756
|
+
];
|
|
757
|
+
var CreateLoggingConfigurationRequest = [
|
|
758
|
+
3,
|
|
759
|
+
n0,
|
|
760
|
+
_CLCR,
|
|
761
|
+
0,
|
|
762
|
+
[_wI, _lGA, _cT],
|
|
763
|
+
[[0, 1], 0, [0, 4]],
|
|
764
|
+
];
|
|
765
|
+
var CreateLoggingConfigurationResponse = [
|
|
766
|
+
3,
|
|
767
|
+
n0,
|
|
768
|
+
_CLCRr,
|
|
769
|
+
0,
|
|
770
|
+
[_s],
|
|
771
|
+
[() => LoggingConfigurationStatus],
|
|
772
|
+
];
|
|
773
|
+
var CreateQueryLoggingConfigurationRequest = [
|
|
774
|
+
3,
|
|
775
|
+
n0,
|
|
776
|
+
_CQLCR,
|
|
777
|
+
0,
|
|
778
|
+
[_wI, _de, _cT],
|
|
779
|
+
[[0, 1], () => LoggingDestinations, [0, 4]],
|
|
780
|
+
];
|
|
781
|
+
var CreateQueryLoggingConfigurationResponse = [
|
|
782
|
+
3,
|
|
783
|
+
n0,
|
|
784
|
+
_CQLCRr,
|
|
785
|
+
0,
|
|
786
|
+
[_s],
|
|
787
|
+
[() => QueryLoggingConfigurationStatus],
|
|
788
|
+
];
|
|
789
|
+
var CreateRuleGroupsNamespaceRequest = [
|
|
790
|
+
3,
|
|
791
|
+
n0,
|
|
792
|
+
_CRGNR,
|
|
793
|
+
0,
|
|
794
|
+
[_wI, _n, _d, _cT, _t],
|
|
795
|
+
[[0, 1], 0, 21, [0, 4], 128 | 0],
|
|
796
|
+
];
|
|
797
|
+
var CreateRuleGroupsNamespaceResponse = [
|
|
798
|
+
3,
|
|
799
|
+
n0,
|
|
800
|
+
_CRGNRr,
|
|
801
|
+
0,
|
|
802
|
+
[_n, _a, _s, _t],
|
|
803
|
+
[0, 0, () => RuleGroupsNamespaceStatus, 128 | 0],
|
|
804
|
+
];
|
|
805
|
+
var CreateScraperRequest = [
|
|
806
|
+
3,
|
|
807
|
+
n0,
|
|
808
|
+
_CSR,
|
|
809
|
+
0,
|
|
810
|
+
[_al, _sCc, _so, _des, _rC, _cT, _t],
|
|
811
|
+
[0, () => ScrapeConfiguration, () => Source, () => Destination, () => RoleConfiguration, [0, 4], 128 | 0],
|
|
812
|
+
];
|
|
813
|
+
var CreateScraperResponse = [
|
|
814
|
+
3,
|
|
815
|
+
n0,
|
|
816
|
+
_CSRr,
|
|
817
|
+
0,
|
|
818
|
+
[_sI, _a, _s, _t],
|
|
819
|
+
[0, 0, () => ScraperStatus, 128 | 0],
|
|
820
|
+
];
|
|
821
|
+
var CreateWorkspaceRequest = [
|
|
822
|
+
3,
|
|
823
|
+
n0,
|
|
824
|
+
_CWR,
|
|
825
|
+
0,
|
|
826
|
+
[_al, _cT, _t, _kKA],
|
|
827
|
+
[0, [0, 4], 128 | 0, 0],
|
|
828
|
+
];
|
|
829
|
+
var CreateWorkspaceResponse = [
|
|
830
|
+
3,
|
|
831
|
+
n0,
|
|
832
|
+
_CWRr,
|
|
833
|
+
0,
|
|
834
|
+
[_wI, _a, _s, _t, _kKA],
|
|
835
|
+
[0, 0, () => WorkspaceStatus, 128 | 0, 0],
|
|
836
|
+
];
|
|
837
|
+
var DeleteAlertManagerDefinitionRequest = [
|
|
838
|
+
3,
|
|
839
|
+
n0,
|
|
840
|
+
_DAMDR,
|
|
841
|
+
0,
|
|
842
|
+
[_wI, _cT],
|
|
843
|
+
[
|
|
844
|
+
[0, 1],
|
|
845
|
+
[
|
|
846
|
+
0,
|
|
847
|
+
{
|
|
848
|
+
[_iT]: 1,
|
|
849
|
+
[_hQ]: _cT,
|
|
850
|
+
},
|
|
851
|
+
],
|
|
852
|
+
],
|
|
853
|
+
];
|
|
854
|
+
var DeleteAnomalyDetectorRequest = [
|
|
855
|
+
3,
|
|
856
|
+
n0,
|
|
857
|
+
_DADR,
|
|
858
|
+
0,
|
|
859
|
+
[_wI, _aDI, _cT],
|
|
860
|
+
[
|
|
861
|
+
[0, 1],
|
|
862
|
+
[0, 1],
|
|
863
|
+
[
|
|
864
|
+
0,
|
|
865
|
+
{
|
|
866
|
+
[_iT]: 1,
|
|
867
|
+
[_hQ]: _cT,
|
|
868
|
+
},
|
|
869
|
+
],
|
|
870
|
+
],
|
|
871
|
+
];
|
|
872
|
+
var DeleteLoggingConfigurationRequest = [
|
|
873
|
+
3,
|
|
874
|
+
n0,
|
|
875
|
+
_DLCR,
|
|
876
|
+
0,
|
|
877
|
+
[_wI, _cT],
|
|
878
|
+
[
|
|
879
|
+
[0, 1],
|
|
880
|
+
[
|
|
881
|
+
0,
|
|
882
|
+
{
|
|
883
|
+
[_iT]: 1,
|
|
884
|
+
[_hQ]: _cT,
|
|
885
|
+
},
|
|
886
|
+
],
|
|
887
|
+
],
|
|
888
|
+
];
|
|
889
|
+
var DeleteQueryLoggingConfigurationRequest = [
|
|
890
|
+
3,
|
|
891
|
+
n0,
|
|
892
|
+
_DQLCR,
|
|
893
|
+
0,
|
|
894
|
+
[_wI, _cT],
|
|
895
|
+
[
|
|
896
|
+
[0, 1],
|
|
897
|
+
[
|
|
898
|
+
0,
|
|
899
|
+
{
|
|
900
|
+
[_iT]: 1,
|
|
901
|
+
[_hQ]: _cT,
|
|
902
|
+
},
|
|
903
|
+
],
|
|
904
|
+
],
|
|
905
|
+
];
|
|
906
|
+
var DeleteResourcePolicyRequest = [
|
|
907
|
+
3,
|
|
908
|
+
n0,
|
|
909
|
+
_DRPR,
|
|
910
|
+
0,
|
|
911
|
+
[_wI, _cT, _rIe],
|
|
912
|
+
[
|
|
913
|
+
[0, 1],
|
|
914
|
+
[
|
|
915
|
+
0,
|
|
916
|
+
{
|
|
917
|
+
[_iT]: 1,
|
|
918
|
+
[_hQ]: _cT,
|
|
919
|
+
},
|
|
920
|
+
],
|
|
921
|
+
[
|
|
922
|
+
0,
|
|
923
|
+
{
|
|
924
|
+
[_hQ]: _rIe,
|
|
925
|
+
},
|
|
926
|
+
],
|
|
927
|
+
],
|
|
928
|
+
];
|
|
929
|
+
var DeleteRuleGroupsNamespaceRequest = [
|
|
930
|
+
3,
|
|
931
|
+
n0,
|
|
932
|
+
_DRGNR,
|
|
933
|
+
0,
|
|
934
|
+
[_wI, _n, _cT],
|
|
935
|
+
[
|
|
936
|
+
[0, 1],
|
|
937
|
+
[0, 1],
|
|
938
|
+
[
|
|
939
|
+
0,
|
|
940
|
+
{
|
|
941
|
+
[_iT]: 1,
|
|
942
|
+
[_hQ]: _cT,
|
|
943
|
+
},
|
|
944
|
+
],
|
|
945
|
+
],
|
|
946
|
+
];
|
|
947
|
+
var DeleteScraperLoggingConfigurationRequest = [
|
|
948
|
+
3,
|
|
949
|
+
n0,
|
|
950
|
+
_DSLCR,
|
|
951
|
+
0,
|
|
952
|
+
[_sI, _cT],
|
|
953
|
+
[
|
|
954
|
+
[0, 1],
|
|
955
|
+
[
|
|
956
|
+
0,
|
|
957
|
+
{
|
|
958
|
+
[_iT]: 1,
|
|
959
|
+
[_hQ]: _cT,
|
|
960
|
+
},
|
|
961
|
+
],
|
|
962
|
+
],
|
|
963
|
+
];
|
|
964
|
+
var DeleteScraperRequest = [
|
|
965
|
+
3,
|
|
966
|
+
n0,
|
|
967
|
+
_DSR,
|
|
968
|
+
0,
|
|
969
|
+
[_sI, _cT],
|
|
970
|
+
[
|
|
971
|
+
[0, 1],
|
|
972
|
+
[
|
|
973
|
+
0,
|
|
974
|
+
{
|
|
975
|
+
[_iT]: 1,
|
|
976
|
+
[_hQ]: _cT,
|
|
977
|
+
},
|
|
978
|
+
],
|
|
979
|
+
],
|
|
980
|
+
];
|
|
981
|
+
var DeleteScraperResponse = [3, n0, _DSRe, 0, [_sI, _s], [0, () => ScraperStatus]];
|
|
982
|
+
var DeleteWorkspaceRequest = [
|
|
983
|
+
3,
|
|
984
|
+
n0,
|
|
985
|
+
_DWR,
|
|
986
|
+
0,
|
|
987
|
+
[_wI, _cT],
|
|
988
|
+
[
|
|
989
|
+
[0, 1],
|
|
990
|
+
[
|
|
991
|
+
0,
|
|
992
|
+
{
|
|
993
|
+
[_iT]: 1,
|
|
994
|
+
[_hQ]: _cT,
|
|
995
|
+
},
|
|
996
|
+
],
|
|
997
|
+
],
|
|
998
|
+
];
|
|
999
|
+
var DescribeAlertManagerDefinitionRequest = [3, n0, _DAMDRe, 0, [_wI], [[0, 1]]];
|
|
1000
|
+
var DescribeAlertManagerDefinitionResponse = [
|
|
1001
|
+
3,
|
|
1002
|
+
n0,
|
|
1003
|
+
_DAMDRes,
|
|
1004
|
+
0,
|
|
1005
|
+
[_aMD],
|
|
1006
|
+
[() => AlertManagerDefinitionDescription],
|
|
1007
|
+
];
|
|
1008
|
+
var DescribeAnomalyDetectorRequest = [
|
|
1009
|
+
3,
|
|
1010
|
+
n0,
|
|
1011
|
+
_DADRe,
|
|
1012
|
+
0,
|
|
1013
|
+
[_wI, _aDI],
|
|
1014
|
+
[
|
|
1015
|
+
[0, 1],
|
|
1016
|
+
[0, 1],
|
|
1017
|
+
],
|
|
1018
|
+
];
|
|
1019
|
+
var DescribeAnomalyDetectorResponse = [
|
|
1020
|
+
3,
|
|
1021
|
+
n0,
|
|
1022
|
+
_DADRes,
|
|
1023
|
+
0,
|
|
1024
|
+
[_aD],
|
|
1025
|
+
[() => AnomalyDetectorDescription],
|
|
1026
|
+
];
|
|
1027
|
+
var DescribeLoggingConfigurationRequest = [3, n0, _DLCRe, 0, [_wI], [[0, 1]]];
|
|
1028
|
+
var DescribeLoggingConfigurationResponse = [
|
|
1029
|
+
3,
|
|
1030
|
+
n0,
|
|
1031
|
+
_DLCRes,
|
|
1032
|
+
0,
|
|
1033
|
+
[_lC],
|
|
1034
|
+
[() => LoggingConfigurationMetadata],
|
|
1035
|
+
];
|
|
1036
|
+
var DescribeQueryLoggingConfigurationRequest = [3, n0, _DQLCRe, 0, [_wI], [[0, 1]]];
|
|
1037
|
+
var DescribeQueryLoggingConfigurationResponse = [
|
|
1038
|
+
3,
|
|
1039
|
+
n0,
|
|
1040
|
+
_DQLCRes,
|
|
1041
|
+
0,
|
|
1042
|
+
[_qLC],
|
|
1043
|
+
[() => QueryLoggingConfigurationMetadata],
|
|
1044
|
+
];
|
|
1045
|
+
var DescribeResourcePolicyRequest = [3, n0, _DRPRe, 0, [_wI], [[0, 1]]];
|
|
1046
|
+
var DescribeResourcePolicyResponse = [3, n0, _DRPRes, 0, [_pD, _pS, _rIe], [0, 0, 0]];
|
|
1047
|
+
var DescribeRuleGroupsNamespaceRequest = [
|
|
1048
|
+
3,
|
|
1049
|
+
n0,
|
|
1050
|
+
_DRGNRe,
|
|
1051
|
+
0,
|
|
1052
|
+
[_wI, _n],
|
|
1053
|
+
[
|
|
1054
|
+
[0, 1],
|
|
1055
|
+
[0, 1],
|
|
1056
|
+
],
|
|
1057
|
+
];
|
|
1058
|
+
var DescribeRuleGroupsNamespaceResponse = [
|
|
1059
|
+
3,
|
|
1060
|
+
n0,
|
|
1061
|
+
_DRGNRes,
|
|
1062
|
+
0,
|
|
1063
|
+
[_rGN],
|
|
1064
|
+
[() => RuleGroupsNamespaceDescription],
|
|
1065
|
+
];
|
|
1066
|
+
var DescribeScraperLoggingConfigurationRequest = [3, n0, _DSLCRe, 0, [_sI], [[0, 1]]];
|
|
1067
|
+
var DescribeScraperLoggingConfigurationResponse = [
|
|
1068
|
+
3,
|
|
1069
|
+
n0,
|
|
1070
|
+
_DSLCRes,
|
|
1071
|
+
0,
|
|
1072
|
+
[_s, _sI, _lD, _sCcr, _mA],
|
|
1073
|
+
[() => ScraperLoggingConfigurationStatus, 0, () => ScraperLoggingDestination, () => ScraperComponents, 4],
|
|
1074
|
+
];
|
|
1075
|
+
var DescribeScraperRequest = [3, n0, _DSRes, 0, [_sI], [[0, 1]]];
|
|
1076
|
+
var DescribeScraperResponse = [3, n0, _DSResc, 0, [_sc], [() => ScraperDescription]];
|
|
1077
|
+
var DescribeWorkspaceConfigurationRequest = [3, n0, _DWCR, 0, [_wI], [[0, 1]]];
|
|
1078
|
+
var DescribeWorkspaceConfigurationResponse = [
|
|
1079
|
+
3,
|
|
1080
|
+
n0,
|
|
1081
|
+
_DWCRe,
|
|
1082
|
+
0,
|
|
1083
|
+
[_wC],
|
|
1084
|
+
[() => WorkspaceConfigurationDescription],
|
|
1085
|
+
];
|
|
1086
|
+
var DescribeWorkspaceRequest = [3, n0, _DWRe, 0, [_wI], [[0, 1]]];
|
|
1087
|
+
var DescribeWorkspaceResponse = [3, n0, _DWRes, 0, [_w], [() => WorkspaceDescription]];
|
|
1088
|
+
var EksConfiguration = [3, n0, _EC, 0, [_cAl, _sGI, _sIu], [0, 64 | 0, 64 | 0]];
|
|
1089
|
+
var GetDefaultScraperConfigurationRequest = [3, n0, _GDSCR, 0, [], []];
|
|
1090
|
+
var GetDefaultScraperConfigurationResponse = [3, n0, _GDSCRe, 0, [_co], [21]];
|
|
1091
|
+
var InternalServerException = [
|
|
1092
|
+
-3,
|
|
1093
|
+
n0,
|
|
1094
|
+
_ISE,
|
|
1095
|
+
{
|
|
1096
|
+
[_e]: _se,
|
|
1097
|
+
[_hE]: 500,
|
|
1098
|
+
},
|
|
1099
|
+
[_m, _rAS],
|
|
1100
|
+
[
|
|
1101
|
+
0,
|
|
1102
|
+
[
|
|
1103
|
+
1,
|
|
1104
|
+
{
|
|
1105
|
+
[_hH]: _RA,
|
|
1106
|
+
},
|
|
1107
|
+
],
|
|
1108
|
+
],
|
|
1109
|
+
];
|
|
1110
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
1111
|
+
var LimitsPerLabelSet = [
|
|
1112
|
+
3,
|
|
1113
|
+
n0,
|
|
1114
|
+
_LPLS,
|
|
1115
|
+
0,
|
|
1116
|
+
[_li, _lS],
|
|
1117
|
+
[() => LimitsPerLabelSetEntry, 128 | 0],
|
|
1118
|
+
];
|
|
1119
|
+
var LimitsPerLabelSetEntry = [3, n0, _LPLSE, 0, [_mS], [1]];
|
|
1120
|
+
var ListAnomalyDetectorsRequest = [
|
|
1121
|
+
3,
|
|
1122
|
+
n0,
|
|
1123
|
+
_LADR,
|
|
1124
|
+
0,
|
|
1125
|
+
[_wI, _al, _mR, _nT],
|
|
1126
|
+
[
|
|
1127
|
+
[0, 1],
|
|
1128
|
+
[
|
|
1129
|
+
0,
|
|
1130
|
+
{
|
|
1131
|
+
[_hQ]: _al,
|
|
1132
|
+
},
|
|
1133
|
+
],
|
|
1134
|
+
[
|
|
1135
|
+
1,
|
|
1136
|
+
{
|
|
1137
|
+
[_hQ]: _mR,
|
|
1138
|
+
},
|
|
1139
|
+
],
|
|
1140
|
+
[
|
|
1141
|
+
0,
|
|
1142
|
+
{
|
|
1143
|
+
[_hQ]: _nT,
|
|
1144
|
+
},
|
|
1145
|
+
],
|
|
1146
|
+
],
|
|
1147
|
+
];
|
|
1148
|
+
var ListAnomalyDetectorsResponse = [
|
|
1149
|
+
3,
|
|
1150
|
+
n0,
|
|
1151
|
+
_LADRi,
|
|
1152
|
+
0,
|
|
1153
|
+
[_aDn, _nT],
|
|
1154
|
+
[() => AnomalyDetectorSummaryList, 0],
|
|
1155
|
+
];
|
|
1156
|
+
var ListRuleGroupsNamespacesRequest = [
|
|
1157
|
+
3,
|
|
1158
|
+
n0,
|
|
1159
|
+
_LRGNR,
|
|
1160
|
+
0,
|
|
1161
|
+
[_wI, _n, _nT, _mR],
|
|
1162
|
+
[
|
|
1163
|
+
[0, 1],
|
|
1164
|
+
[
|
|
1165
|
+
0,
|
|
1166
|
+
{
|
|
1167
|
+
[_hQ]: _n,
|
|
1168
|
+
},
|
|
1169
|
+
],
|
|
1170
|
+
[
|
|
1171
|
+
0,
|
|
1172
|
+
{
|
|
1173
|
+
[_hQ]: _nT,
|
|
1174
|
+
},
|
|
1175
|
+
],
|
|
1176
|
+
[
|
|
1177
|
+
1,
|
|
1178
|
+
{
|
|
1179
|
+
[_hQ]: _mR,
|
|
1180
|
+
},
|
|
1181
|
+
],
|
|
1182
|
+
],
|
|
1183
|
+
];
|
|
1184
|
+
var ListRuleGroupsNamespacesResponse = [
|
|
1185
|
+
3,
|
|
1186
|
+
n0,
|
|
1187
|
+
_LRGNRi,
|
|
1188
|
+
0,
|
|
1189
|
+
[_rGNu, _nT],
|
|
1190
|
+
[() => RuleGroupsNamespaceSummaryList, 0],
|
|
1191
|
+
];
|
|
1192
|
+
var ListScrapersRequest = [
|
|
1193
|
+
3,
|
|
1194
|
+
n0,
|
|
1195
|
+
_LSR,
|
|
1196
|
+
0,
|
|
1197
|
+
[_f, _nT, _mR],
|
|
1198
|
+
[
|
|
1199
|
+
[[2, n0, _SF, 0, 0, 64 | 0], 64],
|
|
1200
|
+
[
|
|
1201
|
+
0,
|
|
1202
|
+
{
|
|
1203
|
+
[_hQ]: _nT,
|
|
1204
|
+
},
|
|
1205
|
+
],
|
|
1206
|
+
[
|
|
1207
|
+
1,
|
|
1208
|
+
{
|
|
1209
|
+
[_hQ]: _mR,
|
|
1210
|
+
},
|
|
1211
|
+
],
|
|
1212
|
+
],
|
|
1213
|
+
];
|
|
1214
|
+
var ListScrapersResponse = [3, n0, _LSRi, 0, [_scr, _nT], [() => ScraperSummaryList, 0]];
|
|
1215
|
+
var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
|
|
1216
|
+
var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
|
|
1217
|
+
var ListWorkspacesRequest = [
|
|
1218
|
+
3,
|
|
1219
|
+
n0,
|
|
1220
|
+
_LWR,
|
|
1221
|
+
0,
|
|
1222
|
+
[_nT, _al, _mR],
|
|
1223
|
+
[
|
|
1224
|
+
[
|
|
1225
|
+
0,
|
|
1226
|
+
{
|
|
1227
|
+
[_hQ]: _nT,
|
|
1228
|
+
},
|
|
1229
|
+
],
|
|
1230
|
+
[
|
|
1231
|
+
0,
|
|
1232
|
+
{
|
|
1233
|
+
[_hQ]: _al,
|
|
1234
|
+
},
|
|
1235
|
+
],
|
|
1236
|
+
[
|
|
1237
|
+
1,
|
|
1238
|
+
{
|
|
1239
|
+
[_hQ]: _mR,
|
|
1240
|
+
},
|
|
1241
|
+
],
|
|
1242
|
+
],
|
|
1243
|
+
];
|
|
1244
|
+
var ListWorkspacesResponse = [
|
|
1245
|
+
3,
|
|
1246
|
+
n0,
|
|
1247
|
+
_LWRi,
|
|
1248
|
+
0,
|
|
1249
|
+
[_wo, _nT],
|
|
1250
|
+
[() => WorkspaceSummaryList, 0],
|
|
1251
|
+
];
|
|
1252
|
+
var LoggingConfigurationMetadata = [
|
|
1253
|
+
3,
|
|
1254
|
+
n0,
|
|
1255
|
+
_LCM,
|
|
1256
|
+
0,
|
|
1257
|
+
[_s, _w, _lGA, _cA, _mA],
|
|
1258
|
+
[() => LoggingConfigurationStatus, 0, 0, 4, 4],
|
|
1259
|
+
];
|
|
1260
|
+
var LoggingConfigurationStatus = [3, n0, _LCS, 0, [_sC, _sR], [0, 0]];
|
|
1261
|
+
var LoggingDestination = [
|
|
1262
|
+
3,
|
|
1263
|
+
n0,
|
|
1264
|
+
_LD,
|
|
1265
|
+
0,
|
|
1266
|
+
[_cWL, _f],
|
|
1267
|
+
[() => CloudWatchLogDestination, () => LoggingFilter],
|
|
1268
|
+
];
|
|
1269
|
+
var LoggingFilter = [3, n0, _LF, 0, [_qT], [1]];
|
|
1270
|
+
var PutAlertManagerDefinitionRequest = [
|
|
1271
|
+
3,
|
|
1272
|
+
n0,
|
|
1273
|
+
_PAMDR,
|
|
1274
|
+
0,
|
|
1275
|
+
[_wI, _d, _cT],
|
|
1276
|
+
[[0, 1], 21, [0, 4]],
|
|
1277
|
+
];
|
|
1278
|
+
var PutAlertManagerDefinitionResponse = [
|
|
1279
|
+
3,
|
|
1280
|
+
n0,
|
|
1281
|
+
_PAMDRu,
|
|
1282
|
+
0,
|
|
1283
|
+
[_s],
|
|
1284
|
+
[() => AlertManagerDefinitionStatus],
|
|
1285
|
+
];
|
|
1286
|
+
var PutAnomalyDetectorRequest = [
|
|
1287
|
+
3,
|
|
1288
|
+
n0,
|
|
1289
|
+
_PADR,
|
|
1290
|
+
0,
|
|
1291
|
+
[_wI, _aDI, _eIIS, _mDA, _co, _l, _cT],
|
|
1292
|
+
[[0, 1], [0, 1], 1, () => AnomalyDetectorMissingDataAction, () => AnomalyDetectorConfiguration, 128 | 0, [0, 4]],
|
|
1293
|
+
];
|
|
1294
|
+
var PutAnomalyDetectorResponse = [
|
|
1295
|
+
3,
|
|
1296
|
+
n0,
|
|
1297
|
+
_PADRu,
|
|
1298
|
+
0,
|
|
1299
|
+
[_aDI, _a, _s, _t],
|
|
1300
|
+
[0, 0, () => AnomalyDetectorStatus, 128 | 0],
|
|
1301
|
+
];
|
|
1302
|
+
var PutResourcePolicyRequest = [
|
|
1303
|
+
3,
|
|
1304
|
+
n0,
|
|
1305
|
+
_PRPR,
|
|
1306
|
+
0,
|
|
1307
|
+
[_wI, _pD, _cT, _rIe],
|
|
1308
|
+
[[0, 1], 0, [0, 4], 0],
|
|
1309
|
+
];
|
|
1310
|
+
var PutResourcePolicyResponse = [3, n0, _PRPRu, 0, [_pS, _rIe], [0, 0]];
|
|
1311
|
+
var PutRuleGroupsNamespaceRequest = [
|
|
1312
|
+
3,
|
|
1313
|
+
n0,
|
|
1314
|
+
_PRGNR,
|
|
1315
|
+
0,
|
|
1316
|
+
[_wI, _n, _d, _cT],
|
|
1317
|
+
[[0, 1], [0, 1], 21, [0, 4]],
|
|
1318
|
+
];
|
|
1319
|
+
var PutRuleGroupsNamespaceResponse = [
|
|
1320
|
+
3,
|
|
1321
|
+
n0,
|
|
1322
|
+
_PRGNRu,
|
|
1323
|
+
0,
|
|
1324
|
+
[_n, _a, _s, _t],
|
|
1325
|
+
[0, 0, () => RuleGroupsNamespaceStatus, 128 | 0],
|
|
1326
|
+
];
|
|
1327
|
+
var QueryLoggingConfigurationMetadata = [
|
|
1328
|
+
3,
|
|
1329
|
+
n0,
|
|
1330
|
+
_QLCM,
|
|
1331
|
+
0,
|
|
1332
|
+
[_s, _w, _de, _cA, _mA],
|
|
1333
|
+
[() => QueryLoggingConfigurationStatus, 0, () => LoggingDestinations, 4, 4],
|
|
1334
|
+
];
|
|
1335
|
+
var QueryLoggingConfigurationStatus = [3, n0, _QLCS, 0, [_sC, _sR], [0, 0]];
|
|
1336
|
+
var RandomCutForestConfiguration = [
|
|
1337
|
+
3,
|
|
1338
|
+
n0,
|
|
1339
|
+
_RCFC,
|
|
1340
|
+
0,
|
|
1341
|
+
[_q, _sS, _sSa, _iNEFA, _iNEFB],
|
|
1342
|
+
[0, 1, 1, () => IgnoreNearExpected, () => IgnoreNearExpected],
|
|
1343
|
+
];
|
|
1344
|
+
var ResourceNotFoundException = [
|
|
1345
|
+
-3,
|
|
1346
|
+
n0,
|
|
1347
|
+
_RNFE,
|
|
1348
|
+
{
|
|
1349
|
+
[_e]: _c,
|
|
1350
|
+
[_hE]: 404,
|
|
1351
|
+
},
|
|
1352
|
+
[_m, _rI, _rT],
|
|
1353
|
+
[0, 0, 0],
|
|
1354
|
+
];
|
|
1355
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
1356
|
+
var RoleConfiguration = [3, n0, _RC, 0, [_sRA, _tRA], [0, 0]];
|
|
1357
|
+
var RuleGroupsNamespaceDescription = [
|
|
1358
|
+
3,
|
|
1359
|
+
n0,
|
|
1360
|
+
_RGND,
|
|
1361
|
+
0,
|
|
1362
|
+
[_a, _n, _s, _d, _cA, _mA, _t],
|
|
1363
|
+
[0, 0, () => RuleGroupsNamespaceStatus, 21, 4, 4, 128 | 0],
|
|
1364
|
+
];
|
|
1365
|
+
var RuleGroupsNamespaceStatus = [3, n0, _RGNS, 0, [_sC, _sR], [0, 0]];
|
|
1366
|
+
var RuleGroupsNamespaceSummary = [
|
|
1367
|
+
3,
|
|
1368
|
+
n0,
|
|
1369
|
+
_RGNSu,
|
|
1370
|
+
0,
|
|
1371
|
+
[_a, _n, _s, _cA, _mA, _t],
|
|
1372
|
+
[0, 0, () => RuleGroupsNamespaceStatus, 4, 4, 128 | 0],
|
|
1373
|
+
];
|
|
1374
|
+
var ScraperComponent = [3, n0, _SC, 0, [_ty, _con], [0, () => ComponentConfig]];
|
|
1375
|
+
var ScraperDescription = [
|
|
1376
|
+
3,
|
|
1377
|
+
n0,
|
|
1378
|
+
_SD,
|
|
1379
|
+
0,
|
|
1380
|
+
[_al, _sI, _a, _rAo, _s, _cA, _lMA, _t, _sR, _sCc, _so, _des, _rC],
|
|
1381
|
+
[
|
|
1382
|
+
0,
|
|
1383
|
+
0,
|
|
1384
|
+
0,
|
|
1385
|
+
0,
|
|
1386
|
+
() => ScraperStatus,
|
|
1387
|
+
4,
|
|
1388
|
+
4,
|
|
1389
|
+
128 | 0,
|
|
1390
|
+
0,
|
|
1391
|
+
() => ScrapeConfiguration,
|
|
1392
|
+
() => Source,
|
|
1393
|
+
() => Destination,
|
|
1394
|
+
() => RoleConfiguration,
|
|
1395
|
+
],
|
|
1396
|
+
];
|
|
1397
|
+
var ScraperLoggingConfigurationStatus = [3, n0, _SLCS, 0, [_sC, _sR], [0, 0]];
|
|
1398
|
+
var ScraperStatus = [3, n0, _SS, 0, [_sC], [0]];
|
|
1399
|
+
var ScraperSummary = [
|
|
1400
|
+
3,
|
|
1401
|
+
n0,
|
|
1402
|
+
_SSc,
|
|
1403
|
+
0,
|
|
1404
|
+
[_al, _sI, _a, _rAo, _s, _cA, _lMA, _t, _sR, _so, _des, _rC],
|
|
1405
|
+
[0, 0, 0, 0, () => ScraperStatus, 4, 4, 128 | 0, 0, () => Source, () => Destination, () => RoleConfiguration],
|
|
1406
|
+
];
|
|
1407
|
+
var ServiceQuotaExceededException = [
|
|
1408
|
+
-3,
|
|
1409
|
+
n0,
|
|
1410
|
+
_SQEE,
|
|
1411
|
+
{
|
|
1412
|
+
[_e]: _c,
|
|
1413
|
+
[_hE]: 402,
|
|
1414
|
+
},
|
|
1415
|
+
[_m, _rI, _rT, _sCe, _qC],
|
|
1416
|
+
[0, 0, 0, 0, 0],
|
|
1417
|
+
];
|
|
1418
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
1419
|
+
var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [[0, 1], 128 | 0]];
|
|
1420
|
+
var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
1421
|
+
var ThrottlingException = [
|
|
1422
|
+
-3,
|
|
1423
|
+
n0,
|
|
1424
|
+
_TE,
|
|
1425
|
+
{
|
|
1426
|
+
[_e]: _c,
|
|
1427
|
+
[_hE]: 429,
|
|
1428
|
+
},
|
|
1429
|
+
[_m, _sCe, _qC, _rAS],
|
|
1430
|
+
[
|
|
1431
|
+
0,
|
|
1432
|
+
0,
|
|
1433
|
+
0,
|
|
1434
|
+
[
|
|
1435
|
+
1,
|
|
1436
|
+
{
|
|
1437
|
+
[_hH]: _RA,
|
|
1438
|
+
},
|
|
1439
|
+
],
|
|
1440
|
+
],
|
|
1441
|
+
];
|
|
1442
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
1443
|
+
var UntagResourceRequest = [
|
|
1444
|
+
3,
|
|
1445
|
+
n0,
|
|
1446
|
+
_URR,
|
|
1447
|
+
0,
|
|
1448
|
+
[_rA, _tK],
|
|
1449
|
+
[
|
|
1450
|
+
[0, 1],
|
|
1451
|
+
[
|
|
1452
|
+
64 | 0,
|
|
1453
|
+
{
|
|
1454
|
+
[_hQ]: _tK,
|
|
1455
|
+
},
|
|
1456
|
+
],
|
|
1457
|
+
],
|
|
1458
|
+
];
|
|
1459
|
+
var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
1460
|
+
var UpdateLoggingConfigurationRequest = [
|
|
1461
|
+
3,
|
|
1462
|
+
n0,
|
|
1463
|
+
_ULCR,
|
|
1464
|
+
0,
|
|
1465
|
+
[_wI, _lGA, _cT],
|
|
1466
|
+
[[0, 1], 0, [0, 4]],
|
|
1467
|
+
];
|
|
1468
|
+
var UpdateLoggingConfigurationResponse = [
|
|
1469
|
+
3,
|
|
1470
|
+
n0,
|
|
1471
|
+
_ULCRp,
|
|
1472
|
+
0,
|
|
1473
|
+
[_s],
|
|
1474
|
+
[() => LoggingConfigurationStatus],
|
|
1475
|
+
];
|
|
1476
|
+
var UpdateQueryLoggingConfigurationRequest = [
|
|
1477
|
+
3,
|
|
1478
|
+
n0,
|
|
1479
|
+
_UQLCR,
|
|
1480
|
+
0,
|
|
1481
|
+
[_wI, _de, _cT],
|
|
1482
|
+
[[0, 1], () => LoggingDestinations, [0, 4]],
|
|
1483
|
+
];
|
|
1484
|
+
var UpdateQueryLoggingConfigurationResponse = [
|
|
1485
|
+
3,
|
|
1486
|
+
n0,
|
|
1487
|
+
_UQLCRp,
|
|
1488
|
+
0,
|
|
1489
|
+
[_s],
|
|
1490
|
+
[() => QueryLoggingConfigurationStatus],
|
|
1491
|
+
];
|
|
1492
|
+
var UpdateScraperLoggingConfigurationRequest = [
|
|
1493
|
+
3,
|
|
1494
|
+
n0,
|
|
1495
|
+
_USLCR,
|
|
1496
|
+
0,
|
|
1497
|
+
[_sI, _lD, _sCcr],
|
|
1498
|
+
[[0, 1], () => ScraperLoggingDestination, () => ScraperComponents],
|
|
1499
|
+
];
|
|
1500
|
+
var UpdateScraperLoggingConfigurationResponse = [
|
|
1501
|
+
3,
|
|
1502
|
+
n0,
|
|
1503
|
+
_USLCRp,
|
|
1504
|
+
0,
|
|
1505
|
+
[_s],
|
|
1506
|
+
[() => ScraperLoggingConfigurationStatus],
|
|
1507
|
+
];
|
|
1508
|
+
var UpdateScraperRequest = [
|
|
1509
|
+
3,
|
|
1510
|
+
n0,
|
|
1511
|
+
_USR,
|
|
1512
|
+
0,
|
|
1513
|
+
[_sI, _al, _sCc, _des, _rC, _cT],
|
|
1514
|
+
[[0, 1], 0, () => ScrapeConfiguration, () => Destination, () => RoleConfiguration, [0, 4]],
|
|
1515
|
+
];
|
|
1516
|
+
var UpdateScraperResponse = [
|
|
1517
|
+
3,
|
|
1518
|
+
n0,
|
|
1519
|
+
_USRp,
|
|
1520
|
+
0,
|
|
1521
|
+
[_sI, _a, _s, _t],
|
|
1522
|
+
[0, 0, () => ScraperStatus, 128 | 0],
|
|
1523
|
+
];
|
|
1524
|
+
var UpdateWorkspaceAliasRequest = [3, n0, _UWAR, 0, [_wI, _al, _cT], [[0, 1], 0, [0, 4]]];
|
|
1525
|
+
var UpdateWorkspaceConfigurationRequest = [
|
|
1526
|
+
3,
|
|
1527
|
+
n0,
|
|
1528
|
+
_UWCR,
|
|
1529
|
+
0,
|
|
1530
|
+
[_wI, _cT, _lPLS, _rPID],
|
|
1531
|
+
[[0, 1], [0, 4], () => LimitsPerLabelSetList, 1],
|
|
1532
|
+
];
|
|
1533
|
+
var UpdateWorkspaceConfigurationResponse = [
|
|
1534
|
+
3,
|
|
1535
|
+
n0,
|
|
1536
|
+
_UWCRp,
|
|
1537
|
+
0,
|
|
1538
|
+
[_s],
|
|
1539
|
+
[() => WorkspaceConfigurationStatus],
|
|
1540
|
+
];
|
|
1541
|
+
var ValidationException = [
|
|
1542
|
+
-3,
|
|
1543
|
+
n0,
|
|
1544
|
+
_VE,
|
|
1545
|
+
{
|
|
1546
|
+
[_e]: _c,
|
|
1547
|
+
[_hE]: 400,
|
|
1548
|
+
},
|
|
1549
|
+
[_m, _r, _fL],
|
|
1550
|
+
[0, 0, () => ValidationExceptionFieldList],
|
|
1551
|
+
];
|
|
1552
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
1553
|
+
var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
|
|
1554
|
+
var WorkspaceConfigurationDescription = [
|
|
1555
|
+
3,
|
|
1556
|
+
n0,
|
|
1557
|
+
_WCD,
|
|
1558
|
+
0,
|
|
1559
|
+
[_s, _lPLS, _rPID],
|
|
1560
|
+
[() => WorkspaceConfigurationStatus, () => LimitsPerLabelSetList, 1],
|
|
1561
|
+
];
|
|
1562
|
+
var WorkspaceConfigurationStatus = [3, n0, _WCS, 0, [_sC, _sR], [0, 0]];
|
|
1563
|
+
var WorkspaceDescription = [
|
|
1564
|
+
3,
|
|
1565
|
+
n0,
|
|
1566
|
+
_WD,
|
|
1567
|
+
0,
|
|
1568
|
+
[_wI, _al, _a, _s, _pE, _cA, _t, _kKA],
|
|
1569
|
+
[0, 0, 0, () => WorkspaceStatus, 0, 4, 128 | 0, 0],
|
|
1570
|
+
];
|
|
1571
|
+
var WorkspaceStatus = [3, n0, _WS, 0, [_sC], [0]];
|
|
1572
|
+
var WorkspaceSummary = [
|
|
1573
|
+
3,
|
|
1574
|
+
n0,
|
|
1575
|
+
_WSo,
|
|
1576
|
+
0,
|
|
1577
|
+
[_wI, _al, _a, _s, _cA, _t, _kKA],
|
|
1578
|
+
[0, 0, 0, () => WorkspaceStatus, 4, 128 | 0, 0],
|
|
1579
|
+
];
|
|
1580
|
+
var __Unit = "unit";
|
|
1581
|
+
var AmpServiceException = [-3, _sm, "AmpServiceException", 0, [], []];
|
|
1582
|
+
schema.TypeRegistry.for(_sm).registerError(AmpServiceException, AmpServiceException$1);
|
|
1583
|
+
var AnomalyDetectorSummaryList = [1, n0, _ADSL, 0, () => AnomalyDetectorSummary];
|
|
1584
|
+
var LimitsPerLabelSetList = [1, n0, _LPLSL, 0, () => LimitsPerLabelSet];
|
|
1585
|
+
var LoggingDestinations = [1, n0, _LDo, 0, () => LoggingDestination];
|
|
1586
|
+
var RuleGroupsNamespaceSummaryList = [1, n0, _RGNSL, 0, () => RuleGroupsNamespaceSummary];
|
|
1587
|
+
var ScraperComponents = [1, n0, _SCc, 0, () => ScraperComponent];
|
|
1588
|
+
var ScraperSummaryList = [1, n0, _SSL, 0, () => ScraperSummary];
|
|
1589
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
|
|
1590
|
+
var WorkspaceSummaryList = [1, n0, _WSL, 0, () => WorkspaceSummary];
|
|
1591
|
+
var AnomalyDetectorConfiguration = [
|
|
1592
|
+
3,
|
|
1593
|
+
n0,
|
|
1594
|
+
_ADC,
|
|
1595
|
+
0,
|
|
1596
|
+
[_rCF],
|
|
1597
|
+
[() => RandomCutForestConfiguration],
|
|
1598
|
+
];
|
|
1599
|
+
var AnomalyDetectorMissingDataAction = [3, n0, _ADMDA, 0, [_mAA, _sk], [2, 2]];
|
|
1600
|
+
var Destination = [3, n0, _D, 0, [_aC], [() => AmpConfiguration]];
|
|
1601
|
+
var IgnoreNearExpected = [3, n0, _INE, 0, [_am, _ra], [1, 1]];
|
|
1602
|
+
var ScrapeConfiguration = [3, n0, _SCcr, 0, [_cB], [21]];
|
|
1603
|
+
var ScraperLoggingDestination = [
|
|
1604
|
+
3,
|
|
1605
|
+
n0,
|
|
1606
|
+
_SLD,
|
|
1607
|
+
0,
|
|
1608
|
+
[_cWL],
|
|
1609
|
+
[() => CloudWatchLogDestination],
|
|
1610
|
+
];
|
|
1611
|
+
var Source = [3, n0, _S, 0, [_eC], [() => EksConfiguration]];
|
|
1612
|
+
var CreateAlertManagerDefinition = [
|
|
1613
|
+
9,
|
|
1614
|
+
n0,
|
|
1615
|
+
_CAMD,
|
|
1616
|
+
{
|
|
1617
|
+
[_h]: ["POST", "/workspaces/{workspaceId}/alertmanager/definition", 202],
|
|
1618
|
+
},
|
|
1619
|
+
() => CreateAlertManagerDefinitionRequest,
|
|
1620
|
+
() => CreateAlertManagerDefinitionResponse,
|
|
1621
|
+
];
|
|
1622
|
+
var CreateAnomalyDetector = [
|
|
1623
|
+
9,
|
|
1624
|
+
n0,
|
|
1625
|
+
_CAD,
|
|
1626
|
+
{
|
|
1627
|
+
[_h]: ["POST", "/workspaces/{workspaceId}/anomalydetectors", 202],
|
|
1628
|
+
},
|
|
1629
|
+
() => CreateAnomalyDetectorRequest,
|
|
1630
|
+
() => CreateAnomalyDetectorResponse,
|
|
1631
|
+
];
|
|
1632
|
+
var CreateLoggingConfiguration = [
|
|
1633
|
+
9,
|
|
1634
|
+
n0,
|
|
1635
|
+
_CLC,
|
|
1636
|
+
{
|
|
1637
|
+
[_h]: ["POST", "/workspaces/{workspaceId}/logging", 202],
|
|
1638
|
+
},
|
|
1639
|
+
() => CreateLoggingConfigurationRequest,
|
|
1640
|
+
() => CreateLoggingConfigurationResponse,
|
|
1641
|
+
];
|
|
1642
|
+
var CreateQueryLoggingConfiguration = [
|
|
1643
|
+
9,
|
|
1644
|
+
n0,
|
|
1645
|
+
_CQLC,
|
|
1646
|
+
{
|
|
1647
|
+
[_h]: ["POST", "/workspaces/{workspaceId}/logging/query", 202],
|
|
1648
|
+
},
|
|
1649
|
+
() => CreateQueryLoggingConfigurationRequest,
|
|
1650
|
+
() => CreateQueryLoggingConfigurationResponse,
|
|
1651
|
+
];
|
|
1652
|
+
var CreateRuleGroupsNamespace = [
|
|
1653
|
+
9,
|
|
1654
|
+
n0,
|
|
1655
|
+
_CRGN,
|
|
1656
|
+
{
|
|
1657
|
+
[_h]: ["POST", "/workspaces/{workspaceId}/rulegroupsnamespaces", 202],
|
|
1658
|
+
},
|
|
1659
|
+
() => CreateRuleGroupsNamespaceRequest,
|
|
1660
|
+
() => CreateRuleGroupsNamespaceResponse,
|
|
1661
|
+
];
|
|
1662
|
+
var CreateScraper = [
|
|
1663
|
+
9,
|
|
1664
|
+
n0,
|
|
1665
|
+
_CS,
|
|
1666
|
+
{
|
|
1667
|
+
[_h]: ["POST", "/scrapers", 202],
|
|
1668
|
+
},
|
|
1669
|
+
() => CreateScraperRequest,
|
|
1670
|
+
() => CreateScraperResponse,
|
|
1671
|
+
];
|
|
1672
|
+
var CreateWorkspace = [
|
|
1673
|
+
9,
|
|
1674
|
+
n0,
|
|
1675
|
+
_CW,
|
|
1676
|
+
{
|
|
1677
|
+
[_h]: ["POST", "/workspaces", 202],
|
|
1678
|
+
},
|
|
1679
|
+
() => CreateWorkspaceRequest,
|
|
1680
|
+
() => CreateWorkspaceResponse,
|
|
1681
|
+
];
|
|
1682
|
+
var DeleteAlertManagerDefinition = [
|
|
1683
|
+
9,
|
|
1684
|
+
n0,
|
|
1685
|
+
_DAMD,
|
|
1686
|
+
{
|
|
1687
|
+
[_h]: ["DELETE", "/workspaces/{workspaceId}/alertmanager/definition", 202],
|
|
1688
|
+
},
|
|
1689
|
+
() => DeleteAlertManagerDefinitionRequest,
|
|
1690
|
+
() => __Unit,
|
|
1691
|
+
];
|
|
1692
|
+
var DeleteAnomalyDetector = [
|
|
1693
|
+
9,
|
|
1694
|
+
n0,
|
|
1695
|
+
_DAD,
|
|
1696
|
+
{
|
|
1697
|
+
[_h]: ["DELETE", "/workspaces/{workspaceId}/anomalydetectors/{anomalyDetectorId}", 202],
|
|
1698
|
+
},
|
|
1699
|
+
() => DeleteAnomalyDetectorRequest,
|
|
1700
|
+
() => __Unit,
|
|
1701
|
+
];
|
|
1702
|
+
var DeleteLoggingConfiguration = [
|
|
1703
|
+
9,
|
|
1704
|
+
n0,
|
|
1705
|
+
_DLC,
|
|
1706
|
+
{
|
|
1707
|
+
[_h]: ["DELETE", "/workspaces/{workspaceId}/logging", 202],
|
|
1708
|
+
},
|
|
1709
|
+
() => DeleteLoggingConfigurationRequest,
|
|
1710
|
+
() => __Unit,
|
|
1711
|
+
];
|
|
1712
|
+
var DeleteQueryLoggingConfiguration = [
|
|
1713
|
+
9,
|
|
1714
|
+
n0,
|
|
1715
|
+
_DQLC,
|
|
1716
|
+
{
|
|
1717
|
+
[_h]: ["DELETE", "/workspaces/{workspaceId}/logging/query", 202],
|
|
1718
|
+
},
|
|
1719
|
+
() => DeleteQueryLoggingConfigurationRequest,
|
|
1720
|
+
() => __Unit,
|
|
1721
|
+
];
|
|
1722
|
+
var DeleteResourcePolicy = [
|
|
1723
|
+
9,
|
|
1724
|
+
n0,
|
|
1725
|
+
_DRP,
|
|
1726
|
+
{
|
|
1727
|
+
[_h]: ["DELETE", "/workspaces/{workspaceId}/policy", 202],
|
|
1728
|
+
},
|
|
1729
|
+
() => DeleteResourcePolicyRequest,
|
|
1730
|
+
() => __Unit,
|
|
1731
|
+
];
|
|
1732
|
+
var DeleteRuleGroupsNamespace = [
|
|
1733
|
+
9,
|
|
1734
|
+
n0,
|
|
1735
|
+
_DRGN,
|
|
1736
|
+
{
|
|
1737
|
+
[_h]: ["DELETE", "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}", 202],
|
|
1738
|
+
},
|
|
1739
|
+
() => DeleteRuleGroupsNamespaceRequest,
|
|
1740
|
+
() => __Unit,
|
|
1741
|
+
];
|
|
1742
|
+
var DeleteScraper = [
|
|
1743
|
+
9,
|
|
1744
|
+
n0,
|
|
1745
|
+
_DS,
|
|
1746
|
+
{
|
|
1747
|
+
[_h]: ["DELETE", "/scrapers/{scraperId}", 202],
|
|
1748
|
+
},
|
|
1749
|
+
() => DeleteScraperRequest,
|
|
1750
|
+
() => DeleteScraperResponse,
|
|
1751
|
+
];
|
|
1752
|
+
var DeleteScraperLoggingConfiguration = [
|
|
1753
|
+
9,
|
|
1754
|
+
n0,
|
|
1755
|
+
_DSLC,
|
|
1756
|
+
{
|
|
1757
|
+
[_h]: ["DELETE", "/scrapers/{scraperId}/logging-configuration", 202],
|
|
1758
|
+
},
|
|
1759
|
+
() => DeleteScraperLoggingConfigurationRequest,
|
|
1760
|
+
() => __Unit,
|
|
1761
|
+
];
|
|
1762
|
+
var DeleteWorkspace = [
|
|
1763
|
+
9,
|
|
1764
|
+
n0,
|
|
1765
|
+
_DW,
|
|
1766
|
+
{
|
|
1767
|
+
[_h]: ["DELETE", "/workspaces/{workspaceId}", 202],
|
|
1768
|
+
},
|
|
1769
|
+
() => DeleteWorkspaceRequest,
|
|
1770
|
+
() => __Unit,
|
|
1771
|
+
];
|
|
1772
|
+
var DescribeAlertManagerDefinition = [
|
|
1773
|
+
9,
|
|
1774
|
+
n0,
|
|
1775
|
+
_DAMDe,
|
|
1776
|
+
{
|
|
1777
|
+
[_h]: ["GET", "/workspaces/{workspaceId}/alertmanager/definition", 200],
|
|
1778
|
+
},
|
|
1779
|
+
() => DescribeAlertManagerDefinitionRequest,
|
|
1780
|
+
() => DescribeAlertManagerDefinitionResponse,
|
|
1781
|
+
];
|
|
1782
|
+
var DescribeAnomalyDetector = [
|
|
1783
|
+
9,
|
|
1784
|
+
n0,
|
|
1785
|
+
_DADe,
|
|
1786
|
+
{
|
|
1787
|
+
[_h]: ["GET", "/workspaces/{workspaceId}/anomalydetectors/{anomalyDetectorId}", 200],
|
|
1788
|
+
},
|
|
1789
|
+
() => DescribeAnomalyDetectorRequest,
|
|
1790
|
+
() => DescribeAnomalyDetectorResponse,
|
|
1791
|
+
];
|
|
1792
|
+
var DescribeLoggingConfiguration = [
|
|
1793
|
+
9,
|
|
1794
|
+
n0,
|
|
1795
|
+
_DLCe,
|
|
1796
|
+
{
|
|
1797
|
+
[_h]: ["GET", "/workspaces/{workspaceId}/logging", 200],
|
|
1798
|
+
},
|
|
1799
|
+
() => DescribeLoggingConfigurationRequest,
|
|
1800
|
+
() => DescribeLoggingConfigurationResponse,
|
|
1801
|
+
];
|
|
1802
|
+
var DescribeQueryLoggingConfiguration = [
|
|
1803
|
+
9,
|
|
1804
|
+
n0,
|
|
1805
|
+
_DQLCe,
|
|
1806
|
+
{
|
|
1807
|
+
[_h]: ["GET", "/workspaces/{workspaceId}/logging/query", 200],
|
|
1808
|
+
},
|
|
1809
|
+
() => DescribeQueryLoggingConfigurationRequest,
|
|
1810
|
+
() => DescribeQueryLoggingConfigurationResponse,
|
|
1811
|
+
];
|
|
1812
|
+
var DescribeResourcePolicy = [
|
|
1813
|
+
9,
|
|
1814
|
+
n0,
|
|
1815
|
+
_DRPe,
|
|
1816
|
+
{
|
|
1817
|
+
[_h]: ["GET", "/workspaces/{workspaceId}/policy", 200],
|
|
1818
|
+
},
|
|
1819
|
+
() => DescribeResourcePolicyRequest,
|
|
1820
|
+
() => DescribeResourcePolicyResponse,
|
|
1821
|
+
];
|
|
1822
|
+
var DescribeRuleGroupsNamespace = [
|
|
1823
|
+
9,
|
|
1824
|
+
n0,
|
|
1825
|
+
_DRGNe,
|
|
1826
|
+
{
|
|
1827
|
+
[_h]: ["GET", "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}", 200],
|
|
1828
|
+
},
|
|
1829
|
+
() => DescribeRuleGroupsNamespaceRequest,
|
|
1830
|
+
() => DescribeRuleGroupsNamespaceResponse,
|
|
1831
|
+
];
|
|
1832
|
+
var DescribeScraper = [
|
|
1833
|
+
9,
|
|
1834
|
+
n0,
|
|
1835
|
+
_DSe,
|
|
1836
|
+
{
|
|
1837
|
+
[_h]: ["GET", "/scrapers/{scraperId}", 200],
|
|
1838
|
+
},
|
|
1839
|
+
() => DescribeScraperRequest,
|
|
1840
|
+
() => DescribeScraperResponse,
|
|
1841
|
+
];
|
|
1842
|
+
var DescribeScraperLoggingConfiguration = [
|
|
1843
|
+
9,
|
|
1844
|
+
n0,
|
|
1845
|
+
_DSLCe,
|
|
1846
|
+
{
|
|
1847
|
+
[_h]: ["GET", "/scrapers/{scraperId}/logging-configuration", 200],
|
|
1848
|
+
},
|
|
1849
|
+
() => DescribeScraperLoggingConfigurationRequest,
|
|
1850
|
+
() => DescribeScraperLoggingConfigurationResponse,
|
|
1851
|
+
];
|
|
1852
|
+
var DescribeWorkspace = [
|
|
1853
|
+
9,
|
|
1854
|
+
n0,
|
|
1855
|
+
_DWe,
|
|
1856
|
+
{
|
|
1857
|
+
[_h]: ["GET", "/workspaces/{workspaceId}", 200],
|
|
1858
|
+
},
|
|
1859
|
+
() => DescribeWorkspaceRequest,
|
|
1860
|
+
() => DescribeWorkspaceResponse,
|
|
1861
|
+
];
|
|
1862
|
+
var DescribeWorkspaceConfiguration = [
|
|
1863
|
+
9,
|
|
1864
|
+
n0,
|
|
1865
|
+
_DWC,
|
|
1866
|
+
{
|
|
1867
|
+
[_h]: ["GET", "/workspaces/{workspaceId}/configuration", 200],
|
|
1868
|
+
},
|
|
1869
|
+
() => DescribeWorkspaceConfigurationRequest,
|
|
1870
|
+
() => DescribeWorkspaceConfigurationResponse,
|
|
1871
|
+
];
|
|
1872
|
+
var GetDefaultScraperConfiguration = [
|
|
1873
|
+
9,
|
|
1874
|
+
n0,
|
|
1875
|
+
_GDSC,
|
|
1876
|
+
{
|
|
1877
|
+
[_h]: ["GET", "/scraperconfiguration", 200],
|
|
1878
|
+
},
|
|
1879
|
+
() => GetDefaultScraperConfigurationRequest,
|
|
1880
|
+
() => GetDefaultScraperConfigurationResponse,
|
|
1881
|
+
];
|
|
1882
|
+
var ListAnomalyDetectors = [
|
|
1883
|
+
9,
|
|
1884
|
+
n0,
|
|
1885
|
+
_LAD,
|
|
1886
|
+
{
|
|
1887
|
+
[_h]: ["GET", "/workspaces/{workspaceId}/anomalydetectors", 200],
|
|
1888
|
+
},
|
|
1889
|
+
() => ListAnomalyDetectorsRequest,
|
|
1890
|
+
() => ListAnomalyDetectorsResponse,
|
|
1891
|
+
];
|
|
1892
|
+
var ListRuleGroupsNamespaces = [
|
|
1893
|
+
9,
|
|
1894
|
+
n0,
|
|
1895
|
+
_LRGN,
|
|
1896
|
+
{
|
|
1897
|
+
[_h]: ["GET", "/workspaces/{workspaceId}/rulegroupsnamespaces", 200],
|
|
1898
|
+
},
|
|
1899
|
+
() => ListRuleGroupsNamespacesRequest,
|
|
1900
|
+
() => ListRuleGroupsNamespacesResponse,
|
|
1901
|
+
];
|
|
1902
|
+
var ListScrapers = [
|
|
1903
|
+
9,
|
|
1904
|
+
n0,
|
|
1905
|
+
_LS,
|
|
1906
|
+
{
|
|
1907
|
+
[_h]: ["GET", "/scrapers", 200],
|
|
1908
|
+
},
|
|
1909
|
+
() => ListScrapersRequest,
|
|
1910
|
+
() => ListScrapersResponse,
|
|
1911
|
+
];
|
|
1912
|
+
var ListTagsForResource = [
|
|
1913
|
+
9,
|
|
1914
|
+
n0,
|
|
1915
|
+
_LTFR,
|
|
1916
|
+
{
|
|
1917
|
+
[_h]: ["GET", "/tags/{resourceArn}", 200],
|
|
1918
|
+
},
|
|
1919
|
+
() => ListTagsForResourceRequest,
|
|
1920
|
+
() => ListTagsForResourceResponse,
|
|
1921
|
+
];
|
|
1922
|
+
var ListWorkspaces = [
|
|
1923
|
+
9,
|
|
1924
|
+
n0,
|
|
1925
|
+
_LW,
|
|
1926
|
+
{
|
|
1927
|
+
[_h]: ["GET", "/workspaces", 200],
|
|
1928
|
+
},
|
|
1929
|
+
() => ListWorkspacesRequest,
|
|
1930
|
+
() => ListWorkspacesResponse,
|
|
1931
|
+
];
|
|
1932
|
+
var PutAlertManagerDefinition = [
|
|
1933
|
+
9,
|
|
1934
|
+
n0,
|
|
1935
|
+
_PAMD,
|
|
1936
|
+
{
|
|
1937
|
+
[_h]: ["PUT", "/workspaces/{workspaceId}/alertmanager/definition", 202],
|
|
1938
|
+
},
|
|
1939
|
+
() => PutAlertManagerDefinitionRequest,
|
|
1940
|
+
() => PutAlertManagerDefinitionResponse,
|
|
1941
|
+
];
|
|
1942
|
+
var PutAnomalyDetector = [
|
|
1943
|
+
9,
|
|
1944
|
+
n0,
|
|
1945
|
+
_PAD,
|
|
1946
|
+
{
|
|
1947
|
+
[_h]: ["PUT", "/workspaces/{workspaceId}/anomalydetectors/{anomalyDetectorId}", 202],
|
|
1948
|
+
},
|
|
1949
|
+
() => PutAnomalyDetectorRequest,
|
|
1950
|
+
() => PutAnomalyDetectorResponse,
|
|
1951
|
+
];
|
|
1952
|
+
var PutResourcePolicy = [
|
|
1953
|
+
9,
|
|
1954
|
+
n0,
|
|
1955
|
+
_PRP,
|
|
1956
|
+
{
|
|
1957
|
+
[_h]: ["PUT", "/workspaces/{workspaceId}/policy", 202],
|
|
1958
|
+
},
|
|
1959
|
+
() => PutResourcePolicyRequest,
|
|
1960
|
+
() => PutResourcePolicyResponse,
|
|
1961
|
+
];
|
|
1962
|
+
var PutRuleGroupsNamespace = [
|
|
1963
|
+
9,
|
|
1964
|
+
n0,
|
|
1965
|
+
_PRGN,
|
|
1966
|
+
{
|
|
1967
|
+
[_h]: ["PUT", "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}", 202],
|
|
1968
|
+
},
|
|
1969
|
+
() => PutRuleGroupsNamespaceRequest,
|
|
1970
|
+
() => PutRuleGroupsNamespaceResponse,
|
|
1971
|
+
];
|
|
1972
|
+
var TagResource = [
|
|
1973
|
+
9,
|
|
1974
|
+
n0,
|
|
1975
|
+
_TR,
|
|
1976
|
+
{
|
|
1977
|
+
[_h]: ["POST", "/tags/{resourceArn}", 200],
|
|
1978
|
+
},
|
|
1979
|
+
() => TagResourceRequest,
|
|
1980
|
+
() => TagResourceResponse,
|
|
1981
|
+
];
|
|
1982
|
+
var UntagResource = [
|
|
1983
|
+
9,
|
|
1984
|
+
n0,
|
|
1985
|
+
_UR,
|
|
1986
|
+
{
|
|
1987
|
+
[_h]: ["DELETE", "/tags/{resourceArn}", 200],
|
|
1988
|
+
},
|
|
1989
|
+
() => UntagResourceRequest,
|
|
1990
|
+
() => UntagResourceResponse,
|
|
1991
|
+
];
|
|
1992
|
+
var UpdateLoggingConfiguration = [
|
|
1993
|
+
9,
|
|
1994
|
+
n0,
|
|
1995
|
+
_ULC,
|
|
1996
|
+
{
|
|
1997
|
+
[_h]: ["PUT", "/workspaces/{workspaceId}/logging", 202],
|
|
1998
|
+
},
|
|
1999
|
+
() => UpdateLoggingConfigurationRequest,
|
|
2000
|
+
() => UpdateLoggingConfigurationResponse,
|
|
2001
|
+
];
|
|
2002
|
+
var UpdateQueryLoggingConfiguration = [
|
|
2003
|
+
9,
|
|
2004
|
+
n0,
|
|
2005
|
+
_UQLC,
|
|
2006
|
+
{
|
|
2007
|
+
[_h]: ["PUT", "/workspaces/{workspaceId}/logging/query", 202],
|
|
2008
|
+
},
|
|
2009
|
+
() => UpdateQueryLoggingConfigurationRequest,
|
|
2010
|
+
() => UpdateQueryLoggingConfigurationResponse,
|
|
2011
|
+
];
|
|
2012
|
+
var UpdateScraper = [
|
|
2013
|
+
9,
|
|
2014
|
+
n0,
|
|
2015
|
+
_US,
|
|
2016
|
+
{
|
|
2017
|
+
[_h]: ["PUT", "/scrapers/{scraperId}", 202],
|
|
2018
|
+
},
|
|
2019
|
+
() => UpdateScraperRequest,
|
|
2020
|
+
() => UpdateScraperResponse,
|
|
2021
|
+
];
|
|
2022
|
+
var UpdateScraperLoggingConfiguration = [
|
|
2023
|
+
9,
|
|
2024
|
+
n0,
|
|
2025
|
+
_USLC,
|
|
2026
|
+
{
|
|
2027
|
+
[_h]: ["PUT", "/scrapers/{scraperId}/logging-configuration", 202],
|
|
2028
|
+
},
|
|
2029
|
+
() => UpdateScraperLoggingConfigurationRequest,
|
|
2030
|
+
() => UpdateScraperLoggingConfigurationResponse,
|
|
2031
|
+
];
|
|
2032
|
+
var UpdateWorkspaceAlias = [
|
|
2033
|
+
9,
|
|
2034
|
+
n0,
|
|
2035
|
+
_UWA,
|
|
2036
|
+
{
|
|
2037
|
+
[_h]: ["POST", "/workspaces/{workspaceId}/alias", 204],
|
|
2038
|
+
},
|
|
2039
|
+
() => UpdateWorkspaceAliasRequest,
|
|
2040
|
+
() => __Unit,
|
|
2041
|
+
];
|
|
2042
|
+
var UpdateWorkspaceConfiguration = [
|
|
2043
|
+
9,
|
|
2044
|
+
n0,
|
|
2045
|
+
_UWC,
|
|
2046
|
+
{
|
|
2047
|
+
[_h]: ["PATCH", "/workspaces/{workspaceId}/configuration", 202],
|
|
2048
|
+
},
|
|
2049
|
+
() => UpdateWorkspaceConfigurationRequest,
|
|
2050
|
+
() => UpdateWorkspaceConfigurationResponse,
|
|
2051
|
+
];
|
|
1950
2052
|
|
|
1951
2053
|
class CreateAlertManagerDefinitionCommand extends smithyClient.Command
|
|
1952
2054
|
.classBuilder()
|
|
1953
2055
|
.ep(commonParams)
|
|
1954
2056
|
.m(function (Command, cs, config, o) {
|
|
1955
|
-
return [
|
|
1956
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1957
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1958
|
-
];
|
|
2057
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1959
2058
|
})
|
|
1960
2059
|
.s("AmazonPrometheusService", "CreateAlertManagerDefinition", {})
|
|
1961
2060
|
.n("AmpClient", "CreateAlertManagerDefinitionCommand")
|
|
1962
|
-
.
|
|
1963
|
-
.ser(se_CreateAlertManagerDefinitionCommand)
|
|
1964
|
-
.de(de_CreateAlertManagerDefinitionCommand)
|
|
2061
|
+
.sc(CreateAlertManagerDefinition)
|
|
1965
2062
|
.build() {
|
|
1966
2063
|
}
|
|
1967
2064
|
|
|
@@ -1969,16 +2066,11 @@ class CreateAnomalyDetectorCommand extends smithyClient.Command
|
|
|
1969
2066
|
.classBuilder()
|
|
1970
2067
|
.ep(commonParams)
|
|
1971
2068
|
.m(function (Command, cs, config, o) {
|
|
1972
|
-
return [
|
|
1973
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1974
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1975
|
-
];
|
|
2069
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1976
2070
|
})
|
|
1977
2071
|
.s("AmazonPrometheusService", "CreateAnomalyDetector", {})
|
|
1978
2072
|
.n("AmpClient", "CreateAnomalyDetectorCommand")
|
|
1979
|
-
.
|
|
1980
|
-
.ser(se_CreateAnomalyDetectorCommand)
|
|
1981
|
-
.de(de_CreateAnomalyDetectorCommand)
|
|
2073
|
+
.sc(CreateAnomalyDetector)
|
|
1982
2074
|
.build() {
|
|
1983
2075
|
}
|
|
1984
2076
|
|
|
@@ -1986,16 +2078,11 @@ class CreateLoggingConfigurationCommand extends smithyClient.Command
|
|
|
1986
2078
|
.classBuilder()
|
|
1987
2079
|
.ep(commonParams)
|
|
1988
2080
|
.m(function (Command, cs, config, o) {
|
|
1989
|
-
return [
|
|
1990
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1991
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1992
|
-
];
|
|
2081
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1993
2082
|
})
|
|
1994
2083
|
.s("AmazonPrometheusService", "CreateLoggingConfiguration", {})
|
|
1995
2084
|
.n("AmpClient", "CreateLoggingConfigurationCommand")
|
|
1996
|
-
.
|
|
1997
|
-
.ser(se_CreateLoggingConfigurationCommand)
|
|
1998
|
-
.de(de_CreateLoggingConfigurationCommand)
|
|
2085
|
+
.sc(CreateLoggingConfiguration)
|
|
1999
2086
|
.build() {
|
|
2000
2087
|
}
|
|
2001
2088
|
|
|
@@ -2003,16 +2090,11 @@ class CreateQueryLoggingConfigurationCommand extends smithyClient.Command
|
|
|
2003
2090
|
.classBuilder()
|
|
2004
2091
|
.ep(commonParams)
|
|
2005
2092
|
.m(function (Command, cs, config, o) {
|
|
2006
|
-
return [
|
|
2007
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2008
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2009
|
-
];
|
|
2093
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2010
2094
|
})
|
|
2011
2095
|
.s("AmazonPrometheusService", "CreateQueryLoggingConfiguration", {})
|
|
2012
2096
|
.n("AmpClient", "CreateQueryLoggingConfigurationCommand")
|
|
2013
|
-
.
|
|
2014
|
-
.ser(se_CreateQueryLoggingConfigurationCommand)
|
|
2015
|
-
.de(de_CreateQueryLoggingConfigurationCommand)
|
|
2097
|
+
.sc(CreateQueryLoggingConfiguration)
|
|
2016
2098
|
.build() {
|
|
2017
2099
|
}
|
|
2018
2100
|
|
|
@@ -2020,16 +2102,11 @@ class CreateRuleGroupsNamespaceCommand extends smithyClient.Command
|
|
|
2020
2102
|
.classBuilder()
|
|
2021
2103
|
.ep(commonParams)
|
|
2022
2104
|
.m(function (Command, cs, config, o) {
|
|
2023
|
-
return [
|
|
2024
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2025
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2026
|
-
];
|
|
2105
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2027
2106
|
})
|
|
2028
2107
|
.s("AmazonPrometheusService", "CreateRuleGroupsNamespace", {})
|
|
2029
2108
|
.n("AmpClient", "CreateRuleGroupsNamespaceCommand")
|
|
2030
|
-
.
|
|
2031
|
-
.ser(se_CreateRuleGroupsNamespaceCommand)
|
|
2032
|
-
.de(de_CreateRuleGroupsNamespaceCommand)
|
|
2109
|
+
.sc(CreateRuleGroupsNamespace)
|
|
2033
2110
|
.build() {
|
|
2034
2111
|
}
|
|
2035
2112
|
|
|
@@ -2037,16 +2114,11 @@ class CreateScraperCommand extends smithyClient.Command
|
|
|
2037
2114
|
.classBuilder()
|
|
2038
2115
|
.ep(commonParams)
|
|
2039
2116
|
.m(function (Command, cs, config, o) {
|
|
2040
|
-
return [
|
|
2041
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2042
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2043
|
-
];
|
|
2117
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2044
2118
|
})
|
|
2045
2119
|
.s("AmazonPrometheusService", "CreateScraper", {})
|
|
2046
2120
|
.n("AmpClient", "CreateScraperCommand")
|
|
2047
|
-
.
|
|
2048
|
-
.ser(se_CreateScraperCommand)
|
|
2049
|
-
.de(de_CreateScraperCommand)
|
|
2121
|
+
.sc(CreateScraper)
|
|
2050
2122
|
.build() {
|
|
2051
2123
|
}
|
|
2052
2124
|
|
|
@@ -2054,16 +2126,11 @@ class CreateWorkspaceCommand extends smithyClient.Command
|
|
|
2054
2126
|
.classBuilder()
|
|
2055
2127
|
.ep(commonParams)
|
|
2056
2128
|
.m(function (Command, cs, config, o) {
|
|
2057
|
-
return [
|
|
2058
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2059
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2060
|
-
];
|
|
2129
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2061
2130
|
})
|
|
2062
2131
|
.s("AmazonPrometheusService", "CreateWorkspace", {})
|
|
2063
2132
|
.n("AmpClient", "CreateWorkspaceCommand")
|
|
2064
|
-
.
|
|
2065
|
-
.ser(se_CreateWorkspaceCommand)
|
|
2066
|
-
.de(de_CreateWorkspaceCommand)
|
|
2133
|
+
.sc(CreateWorkspace)
|
|
2067
2134
|
.build() {
|
|
2068
2135
|
}
|
|
2069
2136
|
|
|
@@ -2071,16 +2138,11 @@ class DeleteAlertManagerDefinitionCommand extends smithyClient.Command
|
|
|
2071
2138
|
.classBuilder()
|
|
2072
2139
|
.ep(commonParams)
|
|
2073
2140
|
.m(function (Command, cs, config, o) {
|
|
2074
|
-
return [
|
|
2075
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2076
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2077
|
-
];
|
|
2141
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2078
2142
|
})
|
|
2079
2143
|
.s("AmazonPrometheusService", "DeleteAlertManagerDefinition", {})
|
|
2080
2144
|
.n("AmpClient", "DeleteAlertManagerDefinitionCommand")
|
|
2081
|
-
.
|
|
2082
|
-
.ser(se_DeleteAlertManagerDefinitionCommand)
|
|
2083
|
-
.de(de_DeleteAlertManagerDefinitionCommand)
|
|
2145
|
+
.sc(DeleteAlertManagerDefinition)
|
|
2084
2146
|
.build() {
|
|
2085
2147
|
}
|
|
2086
2148
|
|
|
@@ -2088,16 +2150,11 @@ class DeleteAnomalyDetectorCommand extends smithyClient.Command
|
|
|
2088
2150
|
.classBuilder()
|
|
2089
2151
|
.ep(commonParams)
|
|
2090
2152
|
.m(function (Command, cs, config, o) {
|
|
2091
|
-
return [
|
|
2092
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2093
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2094
|
-
];
|
|
2153
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2095
2154
|
})
|
|
2096
2155
|
.s("AmazonPrometheusService", "DeleteAnomalyDetector", {})
|
|
2097
2156
|
.n("AmpClient", "DeleteAnomalyDetectorCommand")
|
|
2098
|
-
.
|
|
2099
|
-
.ser(se_DeleteAnomalyDetectorCommand)
|
|
2100
|
-
.de(de_DeleteAnomalyDetectorCommand)
|
|
2157
|
+
.sc(DeleteAnomalyDetector)
|
|
2101
2158
|
.build() {
|
|
2102
2159
|
}
|
|
2103
2160
|
|
|
@@ -2105,16 +2162,11 @@ class DeleteLoggingConfigurationCommand extends smithyClient.Command
|
|
|
2105
2162
|
.classBuilder()
|
|
2106
2163
|
.ep(commonParams)
|
|
2107
2164
|
.m(function (Command, cs, config, o) {
|
|
2108
|
-
return [
|
|
2109
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2110
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2111
|
-
];
|
|
2165
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2112
2166
|
})
|
|
2113
2167
|
.s("AmazonPrometheusService", "DeleteLoggingConfiguration", {})
|
|
2114
2168
|
.n("AmpClient", "DeleteLoggingConfigurationCommand")
|
|
2115
|
-
.
|
|
2116
|
-
.ser(se_DeleteLoggingConfigurationCommand)
|
|
2117
|
-
.de(de_DeleteLoggingConfigurationCommand)
|
|
2169
|
+
.sc(DeleteLoggingConfiguration)
|
|
2118
2170
|
.build() {
|
|
2119
2171
|
}
|
|
2120
2172
|
|
|
@@ -2122,16 +2174,11 @@ class DeleteQueryLoggingConfigurationCommand extends smithyClient.Command
|
|
|
2122
2174
|
.classBuilder()
|
|
2123
2175
|
.ep(commonParams)
|
|
2124
2176
|
.m(function (Command, cs, config, o) {
|
|
2125
|
-
return [
|
|
2126
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2127
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2128
|
-
];
|
|
2177
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2129
2178
|
})
|
|
2130
2179
|
.s("AmazonPrometheusService", "DeleteQueryLoggingConfiguration", {})
|
|
2131
2180
|
.n("AmpClient", "DeleteQueryLoggingConfigurationCommand")
|
|
2132
|
-
.
|
|
2133
|
-
.ser(se_DeleteQueryLoggingConfigurationCommand)
|
|
2134
|
-
.de(de_DeleteQueryLoggingConfigurationCommand)
|
|
2181
|
+
.sc(DeleteQueryLoggingConfiguration)
|
|
2135
2182
|
.build() {
|
|
2136
2183
|
}
|
|
2137
2184
|
|
|
@@ -2139,16 +2186,11 @@ class DeleteResourcePolicyCommand extends smithyClient.Command
|
|
|
2139
2186
|
.classBuilder()
|
|
2140
2187
|
.ep(commonParams)
|
|
2141
2188
|
.m(function (Command, cs, config, o) {
|
|
2142
|
-
return [
|
|
2143
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2144
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2145
|
-
];
|
|
2189
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2146
2190
|
})
|
|
2147
2191
|
.s("AmazonPrometheusService", "DeleteResourcePolicy", {})
|
|
2148
2192
|
.n("AmpClient", "DeleteResourcePolicyCommand")
|
|
2149
|
-
.
|
|
2150
|
-
.ser(se_DeleteResourcePolicyCommand)
|
|
2151
|
-
.de(de_DeleteResourcePolicyCommand)
|
|
2193
|
+
.sc(DeleteResourcePolicy)
|
|
2152
2194
|
.build() {
|
|
2153
2195
|
}
|
|
2154
2196
|
|
|
@@ -2156,16 +2198,11 @@ class DeleteRuleGroupsNamespaceCommand extends smithyClient.Command
|
|
|
2156
2198
|
.classBuilder()
|
|
2157
2199
|
.ep(commonParams)
|
|
2158
2200
|
.m(function (Command, cs, config, o) {
|
|
2159
|
-
return [
|
|
2160
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2161
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2162
|
-
];
|
|
2201
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2163
2202
|
})
|
|
2164
2203
|
.s("AmazonPrometheusService", "DeleteRuleGroupsNamespace", {})
|
|
2165
2204
|
.n("AmpClient", "DeleteRuleGroupsNamespaceCommand")
|
|
2166
|
-
.
|
|
2167
|
-
.ser(se_DeleteRuleGroupsNamespaceCommand)
|
|
2168
|
-
.de(de_DeleteRuleGroupsNamespaceCommand)
|
|
2205
|
+
.sc(DeleteRuleGroupsNamespace)
|
|
2169
2206
|
.build() {
|
|
2170
2207
|
}
|
|
2171
2208
|
|
|
@@ -2173,16 +2210,11 @@ class DeleteScraperCommand extends smithyClient.Command
|
|
|
2173
2210
|
.classBuilder()
|
|
2174
2211
|
.ep(commonParams)
|
|
2175
2212
|
.m(function (Command, cs, config, o) {
|
|
2176
|
-
return [
|
|
2177
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2178
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2179
|
-
];
|
|
2213
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2180
2214
|
})
|
|
2181
2215
|
.s("AmazonPrometheusService", "DeleteScraper", {})
|
|
2182
2216
|
.n("AmpClient", "DeleteScraperCommand")
|
|
2183
|
-
.
|
|
2184
|
-
.ser(se_DeleteScraperCommand)
|
|
2185
|
-
.de(de_DeleteScraperCommand)
|
|
2217
|
+
.sc(DeleteScraper)
|
|
2186
2218
|
.build() {
|
|
2187
2219
|
}
|
|
2188
2220
|
|
|
@@ -2190,16 +2222,11 @@ class DeleteScraperLoggingConfigurationCommand extends smithyClient.Command
|
|
|
2190
2222
|
.classBuilder()
|
|
2191
2223
|
.ep(commonParams)
|
|
2192
2224
|
.m(function (Command, cs, config, o) {
|
|
2193
|
-
return [
|
|
2194
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2195
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2196
|
-
];
|
|
2225
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2197
2226
|
})
|
|
2198
2227
|
.s("AmazonPrometheusService", "DeleteScraperLoggingConfiguration", {})
|
|
2199
2228
|
.n("AmpClient", "DeleteScraperLoggingConfigurationCommand")
|
|
2200
|
-
.
|
|
2201
|
-
.ser(se_DeleteScraperLoggingConfigurationCommand)
|
|
2202
|
-
.de(de_DeleteScraperLoggingConfigurationCommand)
|
|
2229
|
+
.sc(DeleteScraperLoggingConfiguration)
|
|
2203
2230
|
.build() {
|
|
2204
2231
|
}
|
|
2205
2232
|
|
|
@@ -2207,16 +2234,11 @@ class DeleteWorkspaceCommand extends smithyClient.Command
|
|
|
2207
2234
|
.classBuilder()
|
|
2208
2235
|
.ep(commonParams)
|
|
2209
2236
|
.m(function (Command, cs, config, o) {
|
|
2210
|
-
return [
|
|
2211
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2212
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2213
|
-
];
|
|
2237
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2214
2238
|
})
|
|
2215
2239
|
.s("AmazonPrometheusService", "DeleteWorkspace", {})
|
|
2216
2240
|
.n("AmpClient", "DeleteWorkspaceCommand")
|
|
2217
|
-
.
|
|
2218
|
-
.ser(se_DeleteWorkspaceCommand)
|
|
2219
|
-
.de(de_DeleteWorkspaceCommand)
|
|
2241
|
+
.sc(DeleteWorkspace)
|
|
2220
2242
|
.build() {
|
|
2221
2243
|
}
|
|
2222
2244
|
|
|
@@ -2224,16 +2246,11 @@ class DescribeAlertManagerDefinitionCommand extends smithyClient.Command
|
|
|
2224
2246
|
.classBuilder()
|
|
2225
2247
|
.ep(commonParams)
|
|
2226
2248
|
.m(function (Command, cs, config, o) {
|
|
2227
|
-
return [
|
|
2228
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2229
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2230
|
-
];
|
|
2249
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2231
2250
|
})
|
|
2232
2251
|
.s("AmazonPrometheusService", "DescribeAlertManagerDefinition", {})
|
|
2233
2252
|
.n("AmpClient", "DescribeAlertManagerDefinitionCommand")
|
|
2234
|
-
.
|
|
2235
|
-
.ser(se_DescribeAlertManagerDefinitionCommand)
|
|
2236
|
-
.de(de_DescribeAlertManagerDefinitionCommand)
|
|
2253
|
+
.sc(DescribeAlertManagerDefinition)
|
|
2237
2254
|
.build() {
|
|
2238
2255
|
}
|
|
2239
2256
|
|
|
@@ -2241,16 +2258,11 @@ class DescribeAnomalyDetectorCommand extends smithyClient.Command
|
|
|
2241
2258
|
.classBuilder()
|
|
2242
2259
|
.ep(commonParams)
|
|
2243
2260
|
.m(function (Command, cs, config, o) {
|
|
2244
|
-
return [
|
|
2245
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2246
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2247
|
-
];
|
|
2261
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2248
2262
|
})
|
|
2249
2263
|
.s("AmazonPrometheusService", "DescribeAnomalyDetector", {})
|
|
2250
2264
|
.n("AmpClient", "DescribeAnomalyDetectorCommand")
|
|
2251
|
-
.
|
|
2252
|
-
.ser(se_DescribeAnomalyDetectorCommand)
|
|
2253
|
-
.de(de_DescribeAnomalyDetectorCommand)
|
|
2265
|
+
.sc(DescribeAnomalyDetector)
|
|
2254
2266
|
.build() {
|
|
2255
2267
|
}
|
|
2256
2268
|
|
|
@@ -2258,16 +2270,11 @@ class DescribeLoggingConfigurationCommand extends smithyClient.Command
|
|
|
2258
2270
|
.classBuilder()
|
|
2259
2271
|
.ep(commonParams)
|
|
2260
2272
|
.m(function (Command, cs, config, o) {
|
|
2261
|
-
return [
|
|
2262
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2263
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2264
|
-
];
|
|
2273
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2265
2274
|
})
|
|
2266
2275
|
.s("AmazonPrometheusService", "DescribeLoggingConfiguration", {})
|
|
2267
2276
|
.n("AmpClient", "DescribeLoggingConfigurationCommand")
|
|
2268
|
-
.
|
|
2269
|
-
.ser(se_DescribeLoggingConfigurationCommand)
|
|
2270
|
-
.de(de_DescribeLoggingConfigurationCommand)
|
|
2277
|
+
.sc(DescribeLoggingConfiguration)
|
|
2271
2278
|
.build() {
|
|
2272
2279
|
}
|
|
2273
2280
|
|
|
@@ -2275,16 +2282,11 @@ class DescribeQueryLoggingConfigurationCommand extends smithyClient.Command
|
|
|
2275
2282
|
.classBuilder()
|
|
2276
2283
|
.ep(commonParams)
|
|
2277
2284
|
.m(function (Command, cs, config, o) {
|
|
2278
|
-
return [
|
|
2279
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2280
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2281
|
-
];
|
|
2285
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2282
2286
|
})
|
|
2283
2287
|
.s("AmazonPrometheusService", "DescribeQueryLoggingConfiguration", {})
|
|
2284
2288
|
.n("AmpClient", "DescribeQueryLoggingConfigurationCommand")
|
|
2285
|
-
.
|
|
2286
|
-
.ser(se_DescribeQueryLoggingConfigurationCommand)
|
|
2287
|
-
.de(de_DescribeQueryLoggingConfigurationCommand)
|
|
2289
|
+
.sc(DescribeQueryLoggingConfiguration)
|
|
2288
2290
|
.build() {
|
|
2289
2291
|
}
|
|
2290
2292
|
|
|
@@ -2292,16 +2294,11 @@ class DescribeResourcePolicyCommand extends smithyClient.Command
|
|
|
2292
2294
|
.classBuilder()
|
|
2293
2295
|
.ep(commonParams)
|
|
2294
2296
|
.m(function (Command, cs, config, o) {
|
|
2295
|
-
return [
|
|
2296
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2297
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2298
|
-
];
|
|
2297
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2299
2298
|
})
|
|
2300
2299
|
.s("AmazonPrometheusService", "DescribeResourcePolicy", {})
|
|
2301
2300
|
.n("AmpClient", "DescribeResourcePolicyCommand")
|
|
2302
|
-
.
|
|
2303
|
-
.ser(se_DescribeResourcePolicyCommand)
|
|
2304
|
-
.de(de_DescribeResourcePolicyCommand)
|
|
2301
|
+
.sc(DescribeResourcePolicy)
|
|
2305
2302
|
.build() {
|
|
2306
2303
|
}
|
|
2307
2304
|
|
|
@@ -2309,16 +2306,11 @@ class DescribeRuleGroupsNamespaceCommand extends smithyClient.Command
|
|
|
2309
2306
|
.classBuilder()
|
|
2310
2307
|
.ep(commonParams)
|
|
2311
2308
|
.m(function (Command, cs, config, o) {
|
|
2312
|
-
return [
|
|
2313
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2314
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2315
|
-
];
|
|
2309
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2316
2310
|
})
|
|
2317
2311
|
.s("AmazonPrometheusService", "DescribeRuleGroupsNamespace", {})
|
|
2318
2312
|
.n("AmpClient", "DescribeRuleGroupsNamespaceCommand")
|
|
2319
|
-
.
|
|
2320
|
-
.ser(se_DescribeRuleGroupsNamespaceCommand)
|
|
2321
|
-
.de(de_DescribeRuleGroupsNamespaceCommand)
|
|
2313
|
+
.sc(DescribeRuleGroupsNamespace)
|
|
2322
2314
|
.build() {
|
|
2323
2315
|
}
|
|
2324
2316
|
|
|
@@ -2326,16 +2318,11 @@ class DescribeScraperCommand extends smithyClient.Command
|
|
|
2326
2318
|
.classBuilder()
|
|
2327
2319
|
.ep(commonParams)
|
|
2328
2320
|
.m(function (Command, cs, config, o) {
|
|
2329
|
-
return [
|
|
2330
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2331
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2332
|
-
];
|
|
2321
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2333
2322
|
})
|
|
2334
2323
|
.s("AmazonPrometheusService", "DescribeScraper", {})
|
|
2335
2324
|
.n("AmpClient", "DescribeScraperCommand")
|
|
2336
|
-
.
|
|
2337
|
-
.ser(se_DescribeScraperCommand)
|
|
2338
|
-
.de(de_DescribeScraperCommand)
|
|
2325
|
+
.sc(DescribeScraper)
|
|
2339
2326
|
.build() {
|
|
2340
2327
|
}
|
|
2341
2328
|
|
|
@@ -2343,16 +2330,11 @@ class DescribeScraperLoggingConfigurationCommand extends smithyClient.Command
|
|
|
2343
2330
|
.classBuilder()
|
|
2344
2331
|
.ep(commonParams)
|
|
2345
2332
|
.m(function (Command, cs, config, o) {
|
|
2346
|
-
return [
|
|
2347
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2348
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2349
|
-
];
|
|
2333
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2350
2334
|
})
|
|
2351
2335
|
.s("AmazonPrometheusService", "DescribeScraperLoggingConfiguration", {})
|
|
2352
2336
|
.n("AmpClient", "DescribeScraperLoggingConfigurationCommand")
|
|
2353
|
-
.
|
|
2354
|
-
.ser(se_DescribeScraperLoggingConfigurationCommand)
|
|
2355
|
-
.de(de_DescribeScraperLoggingConfigurationCommand)
|
|
2337
|
+
.sc(DescribeScraperLoggingConfiguration)
|
|
2356
2338
|
.build() {
|
|
2357
2339
|
}
|
|
2358
2340
|
|
|
@@ -2360,16 +2342,11 @@ class DescribeWorkspaceCommand extends smithyClient.Command
|
|
|
2360
2342
|
.classBuilder()
|
|
2361
2343
|
.ep(commonParams)
|
|
2362
2344
|
.m(function (Command, cs, config, o) {
|
|
2363
|
-
return [
|
|
2364
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2365
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2366
|
-
];
|
|
2345
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2367
2346
|
})
|
|
2368
2347
|
.s("AmazonPrometheusService", "DescribeWorkspace", {})
|
|
2369
2348
|
.n("AmpClient", "DescribeWorkspaceCommand")
|
|
2370
|
-
.
|
|
2371
|
-
.ser(se_DescribeWorkspaceCommand)
|
|
2372
|
-
.de(de_DescribeWorkspaceCommand)
|
|
2349
|
+
.sc(DescribeWorkspace)
|
|
2373
2350
|
.build() {
|
|
2374
2351
|
}
|
|
2375
2352
|
|
|
@@ -2377,16 +2354,11 @@ class DescribeWorkspaceConfigurationCommand extends smithyClient.Command
|
|
|
2377
2354
|
.classBuilder()
|
|
2378
2355
|
.ep(commonParams)
|
|
2379
2356
|
.m(function (Command, cs, config, o) {
|
|
2380
|
-
return [
|
|
2381
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2382
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2383
|
-
];
|
|
2357
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2384
2358
|
})
|
|
2385
2359
|
.s("AmazonPrometheusService", "DescribeWorkspaceConfiguration", {})
|
|
2386
2360
|
.n("AmpClient", "DescribeWorkspaceConfigurationCommand")
|
|
2387
|
-
.
|
|
2388
|
-
.ser(se_DescribeWorkspaceConfigurationCommand)
|
|
2389
|
-
.de(de_DescribeWorkspaceConfigurationCommand)
|
|
2361
|
+
.sc(DescribeWorkspaceConfiguration)
|
|
2390
2362
|
.build() {
|
|
2391
2363
|
}
|
|
2392
2364
|
|
|
@@ -2394,16 +2366,11 @@ class GetDefaultScraperConfigurationCommand extends smithyClient.Command
|
|
|
2394
2366
|
.classBuilder()
|
|
2395
2367
|
.ep(commonParams)
|
|
2396
2368
|
.m(function (Command, cs, config, o) {
|
|
2397
|
-
return [
|
|
2398
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2399
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2400
|
-
];
|
|
2369
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2401
2370
|
})
|
|
2402
2371
|
.s("AmazonPrometheusService", "GetDefaultScraperConfiguration", {})
|
|
2403
2372
|
.n("AmpClient", "GetDefaultScraperConfigurationCommand")
|
|
2404
|
-
.
|
|
2405
|
-
.ser(se_GetDefaultScraperConfigurationCommand)
|
|
2406
|
-
.de(de_GetDefaultScraperConfigurationCommand)
|
|
2373
|
+
.sc(GetDefaultScraperConfiguration)
|
|
2407
2374
|
.build() {
|
|
2408
2375
|
}
|
|
2409
2376
|
|
|
@@ -2411,16 +2378,11 @@ class ListAnomalyDetectorsCommand extends smithyClient.Command
|
|
|
2411
2378
|
.classBuilder()
|
|
2412
2379
|
.ep(commonParams)
|
|
2413
2380
|
.m(function (Command, cs, config, o) {
|
|
2414
|
-
return [
|
|
2415
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2416
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2417
|
-
];
|
|
2381
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2418
2382
|
})
|
|
2419
2383
|
.s("AmazonPrometheusService", "ListAnomalyDetectors", {})
|
|
2420
2384
|
.n("AmpClient", "ListAnomalyDetectorsCommand")
|
|
2421
|
-
.
|
|
2422
|
-
.ser(se_ListAnomalyDetectorsCommand)
|
|
2423
|
-
.de(de_ListAnomalyDetectorsCommand)
|
|
2385
|
+
.sc(ListAnomalyDetectors)
|
|
2424
2386
|
.build() {
|
|
2425
2387
|
}
|
|
2426
2388
|
|
|
@@ -2428,16 +2390,11 @@ class ListRuleGroupsNamespacesCommand extends smithyClient.Command
|
|
|
2428
2390
|
.classBuilder()
|
|
2429
2391
|
.ep(commonParams)
|
|
2430
2392
|
.m(function (Command, cs, config, o) {
|
|
2431
|
-
return [
|
|
2432
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2433
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2434
|
-
];
|
|
2393
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2435
2394
|
})
|
|
2436
2395
|
.s("AmazonPrometheusService", "ListRuleGroupsNamespaces", {})
|
|
2437
2396
|
.n("AmpClient", "ListRuleGroupsNamespacesCommand")
|
|
2438
|
-
.
|
|
2439
|
-
.ser(se_ListRuleGroupsNamespacesCommand)
|
|
2440
|
-
.de(de_ListRuleGroupsNamespacesCommand)
|
|
2397
|
+
.sc(ListRuleGroupsNamespaces)
|
|
2441
2398
|
.build() {
|
|
2442
2399
|
}
|
|
2443
2400
|
|
|
@@ -2445,16 +2402,11 @@ class ListScrapersCommand extends smithyClient.Command
|
|
|
2445
2402
|
.classBuilder()
|
|
2446
2403
|
.ep(commonParams)
|
|
2447
2404
|
.m(function (Command, cs, config, o) {
|
|
2448
|
-
return [
|
|
2449
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2450
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2451
|
-
];
|
|
2405
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2452
2406
|
})
|
|
2453
2407
|
.s("AmazonPrometheusService", "ListScrapers", {})
|
|
2454
2408
|
.n("AmpClient", "ListScrapersCommand")
|
|
2455
|
-
.
|
|
2456
|
-
.ser(se_ListScrapersCommand)
|
|
2457
|
-
.de(de_ListScrapersCommand)
|
|
2409
|
+
.sc(ListScrapers)
|
|
2458
2410
|
.build() {
|
|
2459
2411
|
}
|
|
2460
2412
|
|
|
@@ -2462,16 +2414,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
2462
2414
|
.classBuilder()
|
|
2463
2415
|
.ep(commonParams)
|
|
2464
2416
|
.m(function (Command, cs, config, o) {
|
|
2465
|
-
return [
|
|
2466
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2467
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2468
|
-
];
|
|
2417
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2469
2418
|
})
|
|
2470
2419
|
.s("AmazonPrometheusService", "ListTagsForResource", {})
|
|
2471
2420
|
.n("AmpClient", "ListTagsForResourceCommand")
|
|
2472
|
-
.
|
|
2473
|
-
.ser(se_ListTagsForResourceCommand)
|
|
2474
|
-
.de(de_ListTagsForResourceCommand)
|
|
2421
|
+
.sc(ListTagsForResource)
|
|
2475
2422
|
.build() {
|
|
2476
2423
|
}
|
|
2477
2424
|
|
|
@@ -2479,16 +2426,11 @@ class ListWorkspacesCommand extends smithyClient.Command
|
|
|
2479
2426
|
.classBuilder()
|
|
2480
2427
|
.ep(commonParams)
|
|
2481
2428
|
.m(function (Command, cs, config, o) {
|
|
2482
|
-
return [
|
|
2483
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2484
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2485
|
-
];
|
|
2429
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2486
2430
|
})
|
|
2487
2431
|
.s("AmazonPrometheusService", "ListWorkspaces", {})
|
|
2488
2432
|
.n("AmpClient", "ListWorkspacesCommand")
|
|
2489
|
-
.
|
|
2490
|
-
.ser(se_ListWorkspacesCommand)
|
|
2491
|
-
.de(de_ListWorkspacesCommand)
|
|
2433
|
+
.sc(ListWorkspaces)
|
|
2492
2434
|
.build() {
|
|
2493
2435
|
}
|
|
2494
2436
|
|
|
@@ -2496,16 +2438,11 @@ class PutAlertManagerDefinitionCommand extends smithyClient.Command
|
|
|
2496
2438
|
.classBuilder()
|
|
2497
2439
|
.ep(commonParams)
|
|
2498
2440
|
.m(function (Command, cs, config, o) {
|
|
2499
|
-
return [
|
|
2500
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2501
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2502
|
-
];
|
|
2441
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2503
2442
|
})
|
|
2504
2443
|
.s("AmazonPrometheusService", "PutAlertManagerDefinition", {})
|
|
2505
2444
|
.n("AmpClient", "PutAlertManagerDefinitionCommand")
|
|
2506
|
-
.
|
|
2507
|
-
.ser(se_PutAlertManagerDefinitionCommand)
|
|
2508
|
-
.de(de_PutAlertManagerDefinitionCommand)
|
|
2445
|
+
.sc(PutAlertManagerDefinition)
|
|
2509
2446
|
.build() {
|
|
2510
2447
|
}
|
|
2511
2448
|
|
|
@@ -2513,16 +2450,11 @@ class PutAnomalyDetectorCommand extends smithyClient.Command
|
|
|
2513
2450
|
.classBuilder()
|
|
2514
2451
|
.ep(commonParams)
|
|
2515
2452
|
.m(function (Command, cs, config, o) {
|
|
2516
|
-
return [
|
|
2517
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2518
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2519
|
-
];
|
|
2453
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2520
2454
|
})
|
|
2521
2455
|
.s("AmazonPrometheusService", "PutAnomalyDetector", {})
|
|
2522
2456
|
.n("AmpClient", "PutAnomalyDetectorCommand")
|
|
2523
|
-
.
|
|
2524
|
-
.ser(se_PutAnomalyDetectorCommand)
|
|
2525
|
-
.de(de_PutAnomalyDetectorCommand)
|
|
2457
|
+
.sc(PutAnomalyDetector)
|
|
2526
2458
|
.build() {
|
|
2527
2459
|
}
|
|
2528
2460
|
|
|
@@ -2530,16 +2462,11 @@ class PutResourcePolicyCommand extends smithyClient.Command
|
|
|
2530
2462
|
.classBuilder()
|
|
2531
2463
|
.ep(commonParams)
|
|
2532
2464
|
.m(function (Command, cs, config, o) {
|
|
2533
|
-
return [
|
|
2534
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2535
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2536
|
-
];
|
|
2465
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2537
2466
|
})
|
|
2538
2467
|
.s("AmazonPrometheusService", "PutResourcePolicy", {})
|
|
2539
2468
|
.n("AmpClient", "PutResourcePolicyCommand")
|
|
2540
|
-
.
|
|
2541
|
-
.ser(se_PutResourcePolicyCommand)
|
|
2542
|
-
.de(de_PutResourcePolicyCommand)
|
|
2469
|
+
.sc(PutResourcePolicy)
|
|
2543
2470
|
.build() {
|
|
2544
2471
|
}
|
|
2545
2472
|
|
|
@@ -2547,16 +2474,11 @@ class PutRuleGroupsNamespaceCommand extends smithyClient.Command
|
|
|
2547
2474
|
.classBuilder()
|
|
2548
2475
|
.ep(commonParams)
|
|
2549
2476
|
.m(function (Command, cs, config, o) {
|
|
2550
|
-
return [
|
|
2551
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2552
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2553
|
-
];
|
|
2477
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2554
2478
|
})
|
|
2555
2479
|
.s("AmazonPrometheusService", "PutRuleGroupsNamespace", {})
|
|
2556
2480
|
.n("AmpClient", "PutRuleGroupsNamespaceCommand")
|
|
2557
|
-
.
|
|
2558
|
-
.ser(se_PutRuleGroupsNamespaceCommand)
|
|
2559
|
-
.de(de_PutRuleGroupsNamespaceCommand)
|
|
2481
|
+
.sc(PutRuleGroupsNamespace)
|
|
2560
2482
|
.build() {
|
|
2561
2483
|
}
|
|
2562
2484
|
|
|
@@ -2564,16 +2486,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
2564
2486
|
.classBuilder()
|
|
2565
2487
|
.ep(commonParams)
|
|
2566
2488
|
.m(function (Command, cs, config, o) {
|
|
2567
|
-
return [
|
|
2568
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2569
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2570
|
-
];
|
|
2489
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2571
2490
|
})
|
|
2572
2491
|
.s("AmazonPrometheusService", "TagResource", {})
|
|
2573
2492
|
.n("AmpClient", "TagResourceCommand")
|
|
2574
|
-
.
|
|
2575
|
-
.ser(se_TagResourceCommand)
|
|
2576
|
-
.de(de_TagResourceCommand)
|
|
2493
|
+
.sc(TagResource)
|
|
2577
2494
|
.build() {
|
|
2578
2495
|
}
|
|
2579
2496
|
|
|
@@ -2581,16 +2498,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
2581
2498
|
.classBuilder()
|
|
2582
2499
|
.ep(commonParams)
|
|
2583
2500
|
.m(function (Command, cs, config, o) {
|
|
2584
|
-
return [
|
|
2585
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2586
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2587
|
-
];
|
|
2501
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2588
2502
|
})
|
|
2589
2503
|
.s("AmazonPrometheusService", "UntagResource", {})
|
|
2590
2504
|
.n("AmpClient", "UntagResourceCommand")
|
|
2591
|
-
.
|
|
2592
|
-
.ser(se_UntagResourceCommand)
|
|
2593
|
-
.de(de_UntagResourceCommand)
|
|
2505
|
+
.sc(UntagResource)
|
|
2594
2506
|
.build() {
|
|
2595
2507
|
}
|
|
2596
2508
|
|
|
@@ -2598,16 +2510,11 @@ class UpdateLoggingConfigurationCommand extends smithyClient.Command
|
|
|
2598
2510
|
.classBuilder()
|
|
2599
2511
|
.ep(commonParams)
|
|
2600
2512
|
.m(function (Command, cs, config, o) {
|
|
2601
|
-
return [
|
|
2602
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2603
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2604
|
-
];
|
|
2513
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2605
2514
|
})
|
|
2606
2515
|
.s("AmazonPrometheusService", "UpdateLoggingConfiguration", {})
|
|
2607
2516
|
.n("AmpClient", "UpdateLoggingConfigurationCommand")
|
|
2608
|
-
.
|
|
2609
|
-
.ser(se_UpdateLoggingConfigurationCommand)
|
|
2610
|
-
.de(de_UpdateLoggingConfigurationCommand)
|
|
2517
|
+
.sc(UpdateLoggingConfiguration)
|
|
2611
2518
|
.build() {
|
|
2612
2519
|
}
|
|
2613
2520
|
|
|
@@ -2615,16 +2522,11 @@ class UpdateQueryLoggingConfigurationCommand extends smithyClient.Command
|
|
|
2615
2522
|
.classBuilder()
|
|
2616
2523
|
.ep(commonParams)
|
|
2617
2524
|
.m(function (Command, cs, config, o) {
|
|
2618
|
-
return [
|
|
2619
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2620
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2621
|
-
];
|
|
2525
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2622
2526
|
})
|
|
2623
2527
|
.s("AmazonPrometheusService", "UpdateQueryLoggingConfiguration", {})
|
|
2624
2528
|
.n("AmpClient", "UpdateQueryLoggingConfigurationCommand")
|
|
2625
|
-
.
|
|
2626
|
-
.ser(se_UpdateQueryLoggingConfigurationCommand)
|
|
2627
|
-
.de(de_UpdateQueryLoggingConfigurationCommand)
|
|
2529
|
+
.sc(UpdateQueryLoggingConfiguration)
|
|
2628
2530
|
.build() {
|
|
2629
2531
|
}
|
|
2630
2532
|
|
|
@@ -2632,16 +2534,11 @@ class UpdateScraperCommand extends smithyClient.Command
|
|
|
2632
2534
|
.classBuilder()
|
|
2633
2535
|
.ep(commonParams)
|
|
2634
2536
|
.m(function (Command, cs, config, o) {
|
|
2635
|
-
return [
|
|
2636
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2637
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2638
|
-
];
|
|
2537
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2639
2538
|
})
|
|
2640
2539
|
.s("AmazonPrometheusService", "UpdateScraper", {})
|
|
2641
2540
|
.n("AmpClient", "UpdateScraperCommand")
|
|
2642
|
-
.
|
|
2643
|
-
.ser(se_UpdateScraperCommand)
|
|
2644
|
-
.de(de_UpdateScraperCommand)
|
|
2541
|
+
.sc(UpdateScraper)
|
|
2645
2542
|
.build() {
|
|
2646
2543
|
}
|
|
2647
2544
|
|
|
@@ -2649,16 +2546,11 @@ class UpdateScraperLoggingConfigurationCommand extends smithyClient.Command
|
|
|
2649
2546
|
.classBuilder()
|
|
2650
2547
|
.ep(commonParams)
|
|
2651
2548
|
.m(function (Command, cs, config, o) {
|
|
2652
|
-
return [
|
|
2653
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2654
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2655
|
-
];
|
|
2549
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2656
2550
|
})
|
|
2657
2551
|
.s("AmazonPrometheusService", "UpdateScraperLoggingConfiguration", {})
|
|
2658
2552
|
.n("AmpClient", "UpdateScraperLoggingConfigurationCommand")
|
|
2659
|
-
.
|
|
2660
|
-
.ser(se_UpdateScraperLoggingConfigurationCommand)
|
|
2661
|
-
.de(de_UpdateScraperLoggingConfigurationCommand)
|
|
2553
|
+
.sc(UpdateScraperLoggingConfiguration)
|
|
2662
2554
|
.build() {
|
|
2663
2555
|
}
|
|
2664
2556
|
|
|
@@ -2666,16 +2558,11 @@ class UpdateWorkspaceAliasCommand extends smithyClient.Command
|
|
|
2666
2558
|
.classBuilder()
|
|
2667
2559
|
.ep(commonParams)
|
|
2668
2560
|
.m(function (Command, cs, config, o) {
|
|
2669
|
-
return [
|
|
2670
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2671
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2672
|
-
];
|
|
2561
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2673
2562
|
})
|
|
2674
2563
|
.s("AmazonPrometheusService", "UpdateWorkspaceAlias", {})
|
|
2675
2564
|
.n("AmpClient", "UpdateWorkspaceAliasCommand")
|
|
2676
|
-
.
|
|
2677
|
-
.ser(se_UpdateWorkspaceAliasCommand)
|
|
2678
|
-
.de(de_UpdateWorkspaceAliasCommand)
|
|
2565
|
+
.sc(UpdateWorkspaceAlias)
|
|
2679
2566
|
.build() {
|
|
2680
2567
|
}
|
|
2681
2568
|
|
|
@@ -2683,16 +2570,11 @@ class UpdateWorkspaceConfigurationCommand extends smithyClient.Command
|
|
|
2683
2570
|
.classBuilder()
|
|
2684
2571
|
.ep(commonParams)
|
|
2685
2572
|
.m(function (Command, cs, config, o) {
|
|
2686
|
-
return [
|
|
2687
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2688
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2689
|
-
];
|
|
2573
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2690
2574
|
})
|
|
2691
2575
|
.s("AmazonPrometheusService", "UpdateWorkspaceConfiguration", {})
|
|
2692
2576
|
.n("AmpClient", "UpdateWorkspaceConfigurationCommand")
|
|
2693
|
-
.
|
|
2694
|
-
.ser(se_UpdateWorkspaceConfigurationCommand)
|
|
2695
|
-
.de(de_UpdateWorkspaceConfigurationCommand)
|
|
2577
|
+
.sc(UpdateWorkspaceConfiguration)
|
|
2696
2578
|
.build() {
|
|
2697
2579
|
}
|
|
2698
2580
|
|
|
@@ -2996,13 +2878,13 @@ Object.defineProperty(exports, "__Client", {
|
|
|
2996
2878
|
enumerable: true,
|
|
2997
2879
|
get: function () { return smithyClient.Client; }
|
|
2998
2880
|
});
|
|
2999
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
2881
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
3000
2882
|
exports.AlertManagerDefinitionStatusCode = AlertManagerDefinitionStatusCode;
|
|
3001
2883
|
exports.Amp = Amp;
|
|
3002
2884
|
exports.AmpClient = AmpClient;
|
|
3003
|
-
exports.AmpServiceException = AmpServiceException;
|
|
2885
|
+
exports.AmpServiceException = AmpServiceException$1;
|
|
3004
2886
|
exports.AnomalyDetectorStatusCode = AnomalyDetectorStatusCode;
|
|
3005
|
-
exports.ConflictException = ConflictException;
|
|
2887
|
+
exports.ConflictException = ConflictException$1;
|
|
3006
2888
|
exports.CreateAlertManagerDefinitionCommand = CreateAlertManagerDefinitionCommand;
|
|
3007
2889
|
exports.CreateAnomalyDetectorCommand = CreateAnomalyDetectorCommand;
|
|
3008
2890
|
exports.CreateLoggingConfigurationCommand = CreateLoggingConfigurationCommand;
|
|
@@ -3030,7 +2912,7 @@ exports.DescribeScraperLoggingConfigurationCommand = DescribeScraperLoggingConfi
|
|
|
3030
2912
|
exports.DescribeWorkspaceCommand = DescribeWorkspaceCommand;
|
|
3031
2913
|
exports.DescribeWorkspaceConfigurationCommand = DescribeWorkspaceConfigurationCommand;
|
|
3032
2914
|
exports.GetDefaultScraperConfigurationCommand = GetDefaultScraperConfigurationCommand;
|
|
3033
|
-
exports.InternalServerException = InternalServerException;
|
|
2915
|
+
exports.InternalServerException = InternalServerException$1;
|
|
3034
2916
|
exports.ListAnomalyDetectorsCommand = ListAnomalyDetectorsCommand;
|
|
3035
2917
|
exports.ListRuleGroupsNamespacesCommand = ListRuleGroupsNamespacesCommand;
|
|
3036
2918
|
exports.ListScrapersCommand = ListScrapersCommand;
|
|
@@ -3042,14 +2924,14 @@ exports.PutAnomalyDetectorCommand = PutAnomalyDetectorCommand;
|
|
|
3042
2924
|
exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
|
|
3043
2925
|
exports.PutRuleGroupsNamespaceCommand = PutRuleGroupsNamespaceCommand;
|
|
3044
2926
|
exports.QueryLoggingConfigurationStatusCode = QueryLoggingConfigurationStatusCode;
|
|
3045
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
2927
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
3046
2928
|
exports.RuleGroupsNamespaceStatusCode = RuleGroupsNamespaceStatusCode;
|
|
3047
2929
|
exports.ScraperComponentType = ScraperComponentType;
|
|
3048
2930
|
exports.ScraperLoggingConfigurationStatusCode = ScraperLoggingConfigurationStatusCode;
|
|
3049
2931
|
exports.ScraperStatusCode = ScraperStatusCode;
|
|
3050
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
2932
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
3051
2933
|
exports.TagResourceCommand = TagResourceCommand;
|
|
3052
|
-
exports.ThrottlingException = ThrottlingException;
|
|
2934
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
3053
2935
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
3054
2936
|
exports.UpdateLoggingConfigurationCommand = UpdateLoggingConfigurationCommand;
|
|
3055
2937
|
exports.UpdateQueryLoggingConfigurationCommand = UpdateQueryLoggingConfigurationCommand;
|
|
@@ -3057,7 +2939,7 @@ exports.UpdateScraperCommand = UpdateScraperCommand;
|
|
|
3057
2939
|
exports.UpdateScraperLoggingConfigurationCommand = UpdateScraperLoggingConfigurationCommand;
|
|
3058
2940
|
exports.UpdateWorkspaceAliasCommand = UpdateWorkspaceAliasCommand;
|
|
3059
2941
|
exports.UpdateWorkspaceConfigurationCommand = UpdateWorkspaceConfigurationCommand;
|
|
3060
|
-
exports.ValidationException = ValidationException;
|
|
2942
|
+
exports.ValidationException = ValidationException$1;
|
|
3061
2943
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
3062
2944
|
exports.WorkspaceConfigurationStatusCode = WorkspaceConfigurationStatusCode;
|
|
3063
2945
|
exports.WorkspacePolicyStatusCode = WorkspacePolicyStatusCode;
|