@aws-sdk/client-amp 3.751.0 → 3.772.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 +52 -55
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
AlertManagerDefinitionStatusCode: () => AlertManagerDefinitionStatusCode,
|
|
26
26
|
Amp: () => Amp,
|
|
@@ -80,7 +80,7 @@ __export(src_exports, {
|
|
|
80
80
|
waitUntilWorkspaceActive: () => waitUntilWorkspaceActive,
|
|
81
81
|
waitUntilWorkspaceDeleted: () => waitUntilWorkspaceDeleted
|
|
82
82
|
});
|
|
83
|
-
module.exports = __toCommonJS(
|
|
83
|
+
module.exports = __toCommonJS(index_exports);
|
|
84
84
|
|
|
85
85
|
// src/AmpClient.ts
|
|
86
86
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -207,9 +207,9 @@ var AmpClient = class extends import_smithy_client.Client {
|
|
|
207
207
|
this.middlewareStack.use(
|
|
208
208
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
209
209
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultAmpHttpAuthSchemeParametersProvider,
|
|
210
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
210
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
211
211
|
"aws.auth#sigv4": config.credentials
|
|
212
|
-
})
|
|
212
|
+
}), "identityProviderConfigProvider")
|
|
213
213
|
})
|
|
214
214
|
);
|
|
215
215
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -501,24 +501,21 @@ var ValidationException = class _ValidationException extends AmpServiceException
|
|
|
501
501
|
var Destination;
|
|
502
502
|
((Destination3) => {
|
|
503
503
|
Destination3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
504
|
-
if (value.ampConfiguration !== void 0)
|
|
505
|
-
return visitor.ampConfiguration(value.ampConfiguration);
|
|
504
|
+
if (value.ampConfiguration !== void 0) return visitor.ampConfiguration(value.ampConfiguration);
|
|
506
505
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
507
506
|
}, "visit");
|
|
508
507
|
})(Destination || (Destination = {}));
|
|
509
508
|
var ScrapeConfiguration;
|
|
510
509
|
((ScrapeConfiguration2) => {
|
|
511
510
|
ScrapeConfiguration2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
512
|
-
if (value.configurationBlob !== void 0)
|
|
513
|
-
return visitor.configurationBlob(value.configurationBlob);
|
|
511
|
+
if (value.configurationBlob !== void 0) return visitor.configurationBlob(value.configurationBlob);
|
|
514
512
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
515
513
|
}, "visit");
|
|
516
514
|
})(ScrapeConfiguration || (ScrapeConfiguration = {}));
|
|
517
515
|
var Source;
|
|
518
516
|
((Source3) => {
|
|
519
517
|
Source3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
520
|
-
if (value.eksConfiguration !== void 0)
|
|
521
|
-
return visitor.eksConfiguration(value.eksConfiguration);
|
|
518
|
+
if (value.eksConfiguration !== void 0) return visitor.eksConfiguration(value.eksConfiguration);
|
|
522
519
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
523
520
|
}, "visit");
|
|
524
521
|
})(Source || (Source = {}));
|
|
@@ -639,7 +636,7 @@ var se_CreateAlertManagerDefinitionCommand = /* @__PURE__ */ __name(async (input
|
|
|
639
636
|
body = JSON.stringify(
|
|
640
637
|
(0, import_smithy_client.take)(input, {
|
|
641
638
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
642
|
-
data: (_) => context.base64Encoder(_)
|
|
639
|
+
data: /* @__PURE__ */ __name((_) => context.base64Encoder(_), "data")
|
|
643
640
|
})
|
|
644
641
|
);
|
|
645
642
|
b.m("POST").h(headers).b(body);
|
|
@@ -673,9 +670,9 @@ var se_CreateRuleGroupsNamespaceCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
673
670
|
body = JSON.stringify(
|
|
674
671
|
(0, import_smithy_client.take)(input, {
|
|
675
672
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
676
|
-
data: (_) => context.base64Encoder(_),
|
|
673
|
+
data: /* @__PURE__ */ __name((_) => context.base64Encoder(_), "data"),
|
|
677
674
|
name: [],
|
|
678
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
675
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
679
676
|
})
|
|
680
677
|
);
|
|
681
678
|
b.m("POST").h(headers).b(body);
|
|
@@ -692,11 +689,11 @@ var se_CreateScraperCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
692
689
|
(0, import_smithy_client.take)(input, {
|
|
693
690
|
alias: [],
|
|
694
691
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
695
|
-
destination: (_) => (0, import_smithy_client._json)(_),
|
|
696
|
-
roleConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
697
|
-
scrapeConfiguration: (_) => se_ScrapeConfiguration(_, context),
|
|
698
|
-
source: (_) => (0, import_smithy_client._json)(_),
|
|
699
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
692
|
+
destination: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "destination"),
|
|
693
|
+
roleConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "roleConfiguration"),
|
|
694
|
+
scrapeConfiguration: /* @__PURE__ */ __name((_) => se_ScrapeConfiguration(_, context), "scrapeConfiguration"),
|
|
695
|
+
source: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "source"),
|
|
696
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
700
697
|
})
|
|
701
698
|
);
|
|
702
699
|
b.m("POST").h(headers).b(body);
|
|
@@ -714,7 +711,7 @@ var se_CreateWorkspaceCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
714
711
|
alias: [],
|
|
715
712
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
716
713
|
kmsKeyArn: [],
|
|
717
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
714
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
718
715
|
})
|
|
719
716
|
);
|
|
720
717
|
b.m("POST").h(headers).b(body);
|
|
@@ -895,7 +892,7 @@ var se_PutAlertManagerDefinitionCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
895
892
|
body = JSON.stringify(
|
|
896
893
|
(0, import_smithy_client.take)(input, {
|
|
897
894
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
898
|
-
data: (_) => context.base64Encoder(_)
|
|
895
|
+
data: /* @__PURE__ */ __name((_) => context.base64Encoder(_), "data")
|
|
899
896
|
})
|
|
900
897
|
);
|
|
901
898
|
b.m("PUT").h(headers).b(body);
|
|
@@ -913,7 +910,7 @@ var se_PutRuleGroupsNamespaceCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
913
910
|
body = JSON.stringify(
|
|
914
911
|
(0, import_smithy_client.take)(input, {
|
|
915
912
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
916
|
-
data: (_) => context.base64Encoder(_)
|
|
913
|
+
data: /* @__PURE__ */ __name((_) => context.base64Encoder(_), "data")
|
|
917
914
|
})
|
|
918
915
|
);
|
|
919
916
|
b.m("PUT").h(headers).b(body);
|
|
@@ -929,7 +926,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
929
926
|
let body;
|
|
930
927
|
body = JSON.stringify(
|
|
931
928
|
(0, import_smithy_client.take)(input, {
|
|
932
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
929
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
933
930
|
})
|
|
934
931
|
);
|
|
935
932
|
b.m("POST").h(headers).b(body);
|
|
@@ -976,9 +973,9 @@ var se_UpdateScraperCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
976
973
|
(0, import_smithy_client.take)(input, {
|
|
977
974
|
alias: [],
|
|
978
975
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
979
|
-
destination: (_) => (0, import_smithy_client._json)(_),
|
|
980
|
-
roleConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
981
|
-
scrapeConfiguration: (_) => se_ScrapeConfiguration(_, context)
|
|
976
|
+
destination: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "destination"),
|
|
977
|
+
roleConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "roleConfiguration"),
|
|
978
|
+
scrapeConfiguration: /* @__PURE__ */ __name((_) => se_ScrapeConfiguration(_, context), "scrapeConfiguration")
|
|
982
979
|
})
|
|
983
980
|
);
|
|
984
981
|
b.m("PUT").h(headers).b(body);
|
|
@@ -1145,7 +1142,7 @@ var de_DescribeAlertManagerDefinitionCommand = /* @__PURE__ */ __name(async (out
|
|
|
1145
1142
|
});
|
|
1146
1143
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1147
1144
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1148
|
-
alertManagerDefinition: (_) => de_AlertManagerDefinitionDescription(_, context)
|
|
1145
|
+
alertManagerDefinition: /* @__PURE__ */ __name((_) => de_AlertManagerDefinitionDescription(_, context), "alertManagerDefinition")
|
|
1149
1146
|
});
|
|
1150
1147
|
Object.assign(contents, doc);
|
|
1151
1148
|
return contents;
|
|
@@ -1159,7 +1156,7 @@ var de_DescribeLoggingConfigurationCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
1159
1156
|
});
|
|
1160
1157
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1161
1158
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1162
|
-
loggingConfiguration: (_) => de_LoggingConfigurationMetadata(_, context)
|
|
1159
|
+
loggingConfiguration: /* @__PURE__ */ __name((_) => de_LoggingConfigurationMetadata(_, context), "loggingConfiguration")
|
|
1163
1160
|
});
|
|
1164
1161
|
Object.assign(contents, doc);
|
|
1165
1162
|
return contents;
|
|
@@ -1173,7 +1170,7 @@ var de_DescribeRuleGroupsNamespaceCommand = /* @__PURE__ */ __name(async (output
|
|
|
1173
1170
|
});
|
|
1174
1171
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1175
1172
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1176
|
-
ruleGroupsNamespace: (_) => de_RuleGroupsNamespaceDescription(_, context)
|
|
1173
|
+
ruleGroupsNamespace: /* @__PURE__ */ __name((_) => de_RuleGroupsNamespaceDescription(_, context), "ruleGroupsNamespace")
|
|
1177
1174
|
});
|
|
1178
1175
|
Object.assign(contents, doc);
|
|
1179
1176
|
return contents;
|
|
@@ -1187,7 +1184,7 @@ var de_DescribeScraperCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1187
1184
|
});
|
|
1188
1185
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1189
1186
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1190
|
-
scraper: (_) => de_ScraperDescription(_, context)
|
|
1187
|
+
scraper: /* @__PURE__ */ __name((_) => de_ScraperDescription(_, context), "scraper")
|
|
1191
1188
|
});
|
|
1192
1189
|
Object.assign(contents, doc);
|
|
1193
1190
|
return contents;
|
|
@@ -1201,7 +1198,7 @@ var de_DescribeWorkspaceCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1201
1198
|
});
|
|
1202
1199
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1203
1200
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1204
|
-
workspace: (_) => de_WorkspaceDescription(_, context)
|
|
1201
|
+
workspace: /* @__PURE__ */ __name((_) => de_WorkspaceDescription(_, context), "workspace")
|
|
1205
1202
|
});
|
|
1206
1203
|
Object.assign(contents, doc);
|
|
1207
1204
|
return contents;
|
|
@@ -1230,7 +1227,7 @@ var de_ListRuleGroupsNamespacesCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1230
1227
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1231
1228
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1232
1229
|
nextToken: import_smithy_client.expectString,
|
|
1233
|
-
ruleGroupsNamespaces: (_) => de_RuleGroupsNamespaceSummaryList(_, context)
|
|
1230
|
+
ruleGroupsNamespaces: /* @__PURE__ */ __name((_) => de_RuleGroupsNamespaceSummaryList(_, context), "ruleGroupsNamespaces")
|
|
1234
1231
|
});
|
|
1235
1232
|
Object.assign(contents, doc);
|
|
1236
1233
|
return contents;
|
|
@@ -1245,7 +1242,7 @@ var de_ListScrapersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1245
1242
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1246
1243
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1247
1244
|
nextToken: import_smithy_client.expectString,
|
|
1248
|
-
scrapers: (_) => de_ScraperSummaryList(_, context)
|
|
1245
|
+
scrapers: /* @__PURE__ */ __name((_) => de_ScraperSummaryList(_, context), "scrapers")
|
|
1249
1246
|
});
|
|
1250
1247
|
Object.assign(contents, doc);
|
|
1251
1248
|
return contents;
|
|
@@ -1274,7 +1271,7 @@ var de_ListWorkspacesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1274
1271
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1275
1272
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1276
1273
|
nextToken: import_smithy_client.expectString,
|
|
1277
|
-
workspaces: (_) => de_WorkspaceSummaryList(_, context)
|
|
1274
|
+
workspaces: /* @__PURE__ */ __name((_) => de_WorkspaceSummaryList(_, context), "workspaces")
|
|
1278
1275
|
});
|
|
1279
1276
|
Object.assign(contents, doc);
|
|
1280
1277
|
return contents;
|
|
@@ -1518,23 +1515,23 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
|
|
|
1518
1515
|
}, "de_ValidationExceptionRes");
|
|
1519
1516
|
var se_ScrapeConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
1520
1517
|
return ScrapeConfiguration.visit(input, {
|
|
1521
|
-
configurationBlob: (value) => ({ configurationBlob: context.base64Encoder(value) }),
|
|
1522
|
-
_: (name, value) => ({ [name]: value })
|
|
1518
|
+
configurationBlob: /* @__PURE__ */ __name((value) => ({ configurationBlob: context.base64Encoder(value) }), "configurationBlob"),
|
|
1519
|
+
_: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
|
|
1523
1520
|
});
|
|
1524
1521
|
}, "se_ScrapeConfiguration");
|
|
1525
1522
|
var de_AlertManagerDefinitionDescription = /* @__PURE__ */ __name((output, context) => {
|
|
1526
1523
|
return (0, import_smithy_client.take)(output, {
|
|
1527
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1524
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
1528
1525
|
data: context.base64Decoder,
|
|
1529
|
-
modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1526
|
+
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),
|
|
1530
1527
|
status: import_smithy_client._json
|
|
1531
1528
|
});
|
|
1532
1529
|
}, "de_AlertManagerDefinitionDescription");
|
|
1533
1530
|
var de_LoggingConfigurationMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
1534
1531
|
return (0, import_smithy_client.take)(output, {
|
|
1535
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1532
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
1536
1533
|
logGroupArn: import_smithy_client.expectString,
|
|
1537
|
-
modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1534
|
+
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),
|
|
1538
1535
|
status: import_smithy_client._json,
|
|
1539
1536
|
workspace: import_smithy_client.expectString
|
|
1540
1537
|
});
|
|
@@ -1542,9 +1539,9 @@ var de_LoggingConfigurationMetadata = /* @__PURE__ */ __name((output, context) =
|
|
|
1542
1539
|
var de_RuleGroupsNamespaceDescription = /* @__PURE__ */ __name((output, context) => {
|
|
1543
1540
|
return (0, import_smithy_client.take)(output, {
|
|
1544
1541
|
arn: import_smithy_client.expectString,
|
|
1545
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1542
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
1546
1543
|
data: context.base64Decoder,
|
|
1547
|
-
modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1544
|
+
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),
|
|
1548
1545
|
name: import_smithy_client.expectString,
|
|
1549
1546
|
status: import_smithy_client._json,
|
|
1550
1547
|
tags: import_smithy_client._json
|
|
@@ -1553,8 +1550,8 @@ var de_RuleGroupsNamespaceDescription = /* @__PURE__ */ __name((output, context)
|
|
|
1553
1550
|
var de_RuleGroupsNamespaceSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1554
1551
|
return (0, import_smithy_client.take)(output, {
|
|
1555
1552
|
arn: import_smithy_client.expectString,
|
|
1556
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1557
|
-
modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1553
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
1554
|
+
modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "modifiedAt"),
|
|
1558
1555
|
name: import_smithy_client.expectString,
|
|
1559
1556
|
status: import_smithy_client._json,
|
|
1560
1557
|
tags: import_smithy_client._json
|
|
@@ -1578,14 +1575,14 @@ var de_ScraperDescription = /* @__PURE__ */ __name((output, context) => {
|
|
|
1578
1575
|
return (0, import_smithy_client.take)(output, {
|
|
1579
1576
|
alias: import_smithy_client.expectString,
|
|
1580
1577
|
arn: import_smithy_client.expectString,
|
|
1581
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1582
|
-
destination: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1583
|
-
lastModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1578
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
1579
|
+
destination: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "destination"),
|
|
1580
|
+
lastModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedAt"),
|
|
1584
1581
|
roleArn: import_smithy_client.expectString,
|
|
1585
1582
|
roleConfiguration: import_smithy_client._json,
|
|
1586
|
-
scrapeConfiguration: (_) => de_ScrapeConfiguration((0, import_core2.awsExpectUnion)(_), context),
|
|
1583
|
+
scrapeConfiguration: /* @__PURE__ */ __name((_) => de_ScrapeConfiguration((0, import_core2.awsExpectUnion)(_), context), "scrapeConfiguration"),
|
|
1587
1584
|
scraperId: import_smithy_client.expectString,
|
|
1588
|
-
source: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1585
|
+
source: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "source"),
|
|
1589
1586
|
status: import_smithy_client._json,
|
|
1590
1587
|
statusReason: import_smithy_client.expectString,
|
|
1591
1588
|
tags: import_smithy_client._json
|
|
@@ -1595,13 +1592,13 @@ var de_ScraperSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1595
1592
|
return (0, import_smithy_client.take)(output, {
|
|
1596
1593
|
alias: import_smithy_client.expectString,
|
|
1597
1594
|
arn: import_smithy_client.expectString,
|
|
1598
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1599
|
-
destination: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1600
|
-
lastModifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1595
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
1596
|
+
destination: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "destination"),
|
|
1597
|
+
lastModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastModifiedAt"),
|
|
1601
1598
|
roleArn: import_smithy_client.expectString,
|
|
1602
1599
|
roleConfiguration: import_smithy_client._json,
|
|
1603
1600
|
scraperId: import_smithy_client.expectString,
|
|
1604
|
-
source: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1601
|
+
source: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "source"),
|
|
1605
1602
|
status: import_smithy_client._json,
|
|
1606
1603
|
statusReason: import_smithy_client.expectString,
|
|
1607
1604
|
tags: import_smithy_client._json
|
|
@@ -1617,7 +1614,7 @@ var de_WorkspaceDescription = /* @__PURE__ */ __name((output, context) => {
|
|
|
1617
1614
|
return (0, import_smithy_client.take)(output, {
|
|
1618
1615
|
alias: import_smithy_client.expectString,
|
|
1619
1616
|
arn: import_smithy_client.expectString,
|
|
1620
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1617
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
1621
1618
|
kmsKeyArn: import_smithy_client.expectString,
|
|
1622
1619
|
prometheusEndpoint: import_smithy_client.expectString,
|
|
1623
1620
|
status: import_smithy_client._json,
|
|
@@ -1629,7 +1626,7 @@ var de_WorkspaceSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1629
1626
|
return (0, import_smithy_client.take)(output, {
|
|
1630
1627
|
alias: import_smithy_client.expectString,
|
|
1631
1628
|
arn: import_smithy_client.expectString,
|
|
1632
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1629
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
1633
1630
|
kmsKeyArn: import_smithy_client.expectString,
|
|
1634
1631
|
status: import_smithy_client._json,
|
|
1635
1632
|
tags: import_smithy_client._json,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amp",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amp Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.772.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-amp",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.758.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.758.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
|
-
"@smithy/core": "^3.1.
|
|
35
|
+
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
37
37
|
"@smithy/hash-node": "^4.0.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
41
|
-
"@smithy/middleware-retry": "^4.0.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.0.6",
|
|
41
|
+
"@smithy/middleware-retry": "^4.0.7",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.2",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.0.1",
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.3",
|
|
46
46
|
"@smithy/protocol-http": "^5.0.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.1.
|
|
47
|
+
"@smithy/smithy-client": "^4.1.6",
|
|
48
48
|
"@smithy/types": "^4.1.0",
|
|
49
49
|
"@smithy/url-parser": "^4.0.1",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.7",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.7",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.1",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.1",
|
|
57
57
|
"@smithy/util-retry": "^4.0.1",
|