@aws-sdk/client-amp 3.682.0 → 3.686.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -1
- package/dist-cjs/index.js +62 -1
- package/dist-es/Amp.js +2 -0
- package/dist-es/commands/UpdateScraperCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +34 -0
- package/dist-types/Amp.d.ts +7 -0
- package/dist-types/AmpClient.d.ts +3 -2
- package/dist-types/commands/CreateScraperCommand.d.ts +12 -12
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateScraperCommand.d.ts +113 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +98 -22
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/Amp.d.ts +17 -0
- package/dist-types/ts3.4/AmpClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/UpdateScraperCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +15 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +36 -36
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ workspace.</p>
|
|
|
27
27
|
|
|
28
28
|
## Installing
|
|
29
29
|
|
|
30
|
-
To install
|
|
30
|
+
To install this package, simply type add or install @aws-sdk/client-amp
|
|
31
31
|
using your favorite package manager:
|
|
32
32
|
|
|
33
33
|
- `npm install @aws-sdk/client-amp`
|
|
@@ -419,6 +419,14 @@ UpdateLoggingConfiguration
|
|
|
419
419
|
|
|
420
420
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/amp/command/UpdateLoggingConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-amp/Interface/UpdateLoggingConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-amp/Interface/UpdateLoggingConfigurationCommandOutput/)
|
|
421
421
|
|
|
422
|
+
</details>
|
|
423
|
+
<details>
|
|
424
|
+
<summary>
|
|
425
|
+
UpdateScraper
|
|
426
|
+
</summary>
|
|
427
|
+
|
|
428
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/amp/command/UpdateScraperCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-amp/Interface/UpdateScraperCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-amp/Interface/UpdateScraperCommandOutput/)
|
|
429
|
+
|
|
422
430
|
</details>
|
|
423
431
|
<details>
|
|
424
432
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -62,6 +62,7 @@ __export(src_exports, {
|
|
|
62
62
|
ThrottlingException: () => ThrottlingException,
|
|
63
63
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
64
64
|
UpdateLoggingConfigurationCommand: () => UpdateLoggingConfigurationCommand,
|
|
65
|
+
UpdateScraperCommand: () => UpdateScraperCommand,
|
|
65
66
|
UpdateWorkspaceAliasCommand: () => UpdateWorkspaceAliasCommand,
|
|
66
67
|
ValidationException: () => ValidationException,
|
|
67
68
|
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
@@ -458,7 +459,15 @@ var ScraperStatusCode = {
|
|
|
458
459
|
/**
|
|
459
460
|
* Scraper deletion failed.
|
|
460
461
|
*/
|
|
461
|
-
DELETION_FAILED: "DELETION_FAILED"
|
|
462
|
+
DELETION_FAILED: "DELETION_FAILED",
|
|
463
|
+
/**
|
|
464
|
+
* Scraper update failed.
|
|
465
|
+
*/
|
|
466
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
467
|
+
/**
|
|
468
|
+
* Scraper is being updated. Deletion is disallowed until status is ACTIVE.
|
|
469
|
+
*/
|
|
470
|
+
UPDATING: "UPDATING"
|
|
462
471
|
};
|
|
463
472
|
var WorkspaceStatusCode = {
|
|
464
473
|
/**
|
|
@@ -871,6 +880,25 @@ var se_UpdateLoggingConfigurationCommand = /* @__PURE__ */ __name(async (input,
|
|
|
871
880
|
b.m("PUT").h(headers).b(body);
|
|
872
881
|
return b.build();
|
|
873
882
|
}, "se_UpdateLoggingConfigurationCommand");
|
|
883
|
+
var se_UpdateScraperCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
884
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
885
|
+
const headers = {
|
|
886
|
+
"content-type": "application/json"
|
|
887
|
+
};
|
|
888
|
+
b.bp("/scrapers/{scraperId}");
|
|
889
|
+
b.p("scraperId", () => input.scraperId, "{scraperId}", false);
|
|
890
|
+
let body;
|
|
891
|
+
body = JSON.stringify(
|
|
892
|
+
(0, import_smithy_client.take)(input, {
|
|
893
|
+
alias: [],
|
|
894
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
895
|
+
destination: (_) => (0, import_smithy_client._json)(_),
|
|
896
|
+
scrapeConfiguration: (_) => se_ScrapeConfiguration(_, context)
|
|
897
|
+
})
|
|
898
|
+
);
|
|
899
|
+
b.m("PUT").h(headers).b(body);
|
|
900
|
+
return b.build();
|
|
901
|
+
}, "se_UpdateScraperCommand");
|
|
874
902
|
var se_UpdateWorkspaceAliasCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
875
903
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
876
904
|
const headers = {
|
|
@@ -1231,6 +1259,23 @@ var de_UpdateLoggingConfigurationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1231
1259
|
Object.assign(contents, doc);
|
|
1232
1260
|
return contents;
|
|
1233
1261
|
}, "de_UpdateLoggingConfigurationCommand");
|
|
1262
|
+
var de_UpdateScraperCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1263
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1264
|
+
return de_CommandError(output, context);
|
|
1265
|
+
}
|
|
1266
|
+
const contents = (0, import_smithy_client.map)({
|
|
1267
|
+
$metadata: deserializeMetadata(output)
|
|
1268
|
+
});
|
|
1269
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1270
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1271
|
+
arn: import_smithy_client.expectString,
|
|
1272
|
+
scraperId: import_smithy_client.expectString,
|
|
1273
|
+
status: import_smithy_client._json,
|
|
1274
|
+
tags: import_smithy_client._json
|
|
1275
|
+
});
|
|
1276
|
+
Object.assign(contents, doc);
|
|
1277
|
+
return contents;
|
|
1278
|
+
}, "de_UpdateScraperCommand");
|
|
1234
1279
|
var de_UpdateWorkspaceAliasCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1235
1280
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1236
1281
|
return de_CommandError(output, context);
|
|
@@ -1872,6 +1917,20 @@ var _UpdateLoggingConfigurationCommand = class _UpdateLoggingConfigurationComman
|
|
|
1872
1917
|
__name(_UpdateLoggingConfigurationCommand, "UpdateLoggingConfigurationCommand");
|
|
1873
1918
|
var UpdateLoggingConfigurationCommand = _UpdateLoggingConfigurationCommand;
|
|
1874
1919
|
|
|
1920
|
+
// src/commands/UpdateScraperCommand.ts
|
|
1921
|
+
|
|
1922
|
+
|
|
1923
|
+
|
|
1924
|
+
var _UpdateScraperCommand = class _UpdateScraperCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1925
|
+
return [
|
|
1926
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1927
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1928
|
+
];
|
|
1929
|
+
}).s("AmazonPrometheusService", "UpdateScraper", {}).n("AmpClient", "UpdateScraperCommand").f(void 0, void 0).ser(se_UpdateScraperCommand).de(de_UpdateScraperCommand).build() {
|
|
1930
|
+
};
|
|
1931
|
+
__name(_UpdateScraperCommand, "UpdateScraperCommand");
|
|
1932
|
+
var UpdateScraperCommand = _UpdateScraperCommand;
|
|
1933
|
+
|
|
1875
1934
|
// src/commands/UpdateWorkspaceAliasCommand.ts
|
|
1876
1935
|
|
|
1877
1936
|
|
|
@@ -1913,6 +1972,7 @@ var commands = {
|
|
|
1913
1972
|
TagResourceCommand,
|
|
1914
1973
|
UntagResourceCommand,
|
|
1915
1974
|
UpdateLoggingConfigurationCommand,
|
|
1975
|
+
UpdateScraperCommand,
|
|
1916
1976
|
UpdateWorkspaceAliasCommand
|
|
1917
1977
|
};
|
|
1918
1978
|
var _Amp = class _Amp extends AmpClient {
|
|
@@ -2122,6 +2182,7 @@ var waitUntilWorkspaceDeleted = /* @__PURE__ */ __name(async (params, input) =>
|
|
|
2122
2182
|
TagResourceCommand,
|
|
2123
2183
|
UntagResourceCommand,
|
|
2124
2184
|
UpdateLoggingConfigurationCommand,
|
|
2185
|
+
UpdateScraperCommand,
|
|
2125
2186
|
UpdateWorkspaceAliasCommand,
|
|
2126
2187
|
paginateListRuleGroupsNamespaces,
|
|
2127
2188
|
paginateListScrapers,
|
package/dist-es/Amp.js
CHANGED
|
@@ -25,6 +25,7 @@ import { PutRuleGroupsNamespaceCommand, } from "./commands/PutRuleGroupsNamespac
|
|
|
25
25
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
26
26
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
27
27
|
import { UpdateLoggingConfigurationCommand, } from "./commands/UpdateLoggingConfigurationCommand";
|
|
28
|
+
import { UpdateScraperCommand, } from "./commands/UpdateScraperCommand";
|
|
28
29
|
import { UpdateWorkspaceAliasCommand, } from "./commands/UpdateWorkspaceAliasCommand";
|
|
29
30
|
const commands = {
|
|
30
31
|
CreateAlertManagerDefinitionCommand,
|
|
@@ -52,6 +53,7 @@ const commands = {
|
|
|
52
53
|
TagResourceCommand,
|
|
53
54
|
UntagResourceCommand,
|
|
54
55
|
UpdateLoggingConfigurationCommand,
|
|
56
|
+
UpdateScraperCommand,
|
|
55
57
|
UpdateWorkspaceAliasCommand,
|
|
56
58
|
};
|
|
57
59
|
export class Amp extends AmpClient {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateScraperCommand, se_UpdateScraperCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateScraperCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonPrometheusService", "UpdateScraper", {})
|
|
17
|
+
.n("AmpClient", "UpdateScraperCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateScraperCommand)
|
|
20
|
+
.de(de_UpdateScraperCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -23,4 +23,5 @@ export * from "./PutRuleGroupsNamespaceCommand";
|
|
|
23
23
|
export * from "./TagResourceCommand";
|
|
24
24
|
export * from "./UntagResourceCommand";
|
|
25
25
|
export * from "./UpdateLoggingConfigurationCommand";
|
|
26
|
+
export * from "./UpdateScraperCommand";
|
|
26
27
|
export * from "./UpdateWorkspaceAliasCommand";
|
|
@@ -143,6 +143,8 @@ export const ScraperStatusCode = {
|
|
|
143
143
|
CREATION_FAILED: "CREATION_FAILED",
|
|
144
144
|
DELETING: "DELETING",
|
|
145
145
|
DELETION_FAILED: "DELETION_FAILED",
|
|
146
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
147
|
+
UPDATING: "UPDATING",
|
|
146
148
|
};
|
|
147
149
|
export const WorkspaceStatusCode = {
|
|
148
150
|
ACTIVE: "ACTIVE",
|
|
@@ -321,6 +321,23 @@ export const se_UpdateLoggingConfigurationCommand = async (input, context) => {
|
|
|
321
321
|
b.m("PUT").h(headers).b(body);
|
|
322
322
|
return b.build();
|
|
323
323
|
};
|
|
324
|
+
export const se_UpdateScraperCommand = async (input, context) => {
|
|
325
|
+
const b = rb(input, context);
|
|
326
|
+
const headers = {
|
|
327
|
+
"content-type": "application/json",
|
|
328
|
+
};
|
|
329
|
+
b.bp("/scrapers/{scraperId}");
|
|
330
|
+
b.p("scraperId", () => input.scraperId, "{scraperId}", false);
|
|
331
|
+
let body;
|
|
332
|
+
body = JSON.stringify(take(input, {
|
|
333
|
+
alias: [],
|
|
334
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
335
|
+
destination: (_) => _json(_),
|
|
336
|
+
scrapeConfiguration: (_) => se_ScrapeConfiguration(_, context),
|
|
337
|
+
}));
|
|
338
|
+
b.m("PUT").h(headers).b(body);
|
|
339
|
+
return b.build();
|
|
340
|
+
};
|
|
324
341
|
export const se_UpdateWorkspaceAliasCommand = async (input, context) => {
|
|
325
342
|
const b = rb(input, context);
|
|
326
343
|
const headers = {
|
|
@@ -679,6 +696,23 @@ export const de_UpdateLoggingConfigurationCommand = async (output, context) => {
|
|
|
679
696
|
Object.assign(contents, doc);
|
|
680
697
|
return contents;
|
|
681
698
|
};
|
|
699
|
+
export const de_UpdateScraperCommand = async (output, context) => {
|
|
700
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
701
|
+
return de_CommandError(output, context);
|
|
702
|
+
}
|
|
703
|
+
const contents = map({
|
|
704
|
+
$metadata: deserializeMetadata(output),
|
|
705
|
+
});
|
|
706
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
707
|
+
const doc = take(data, {
|
|
708
|
+
arn: __expectString,
|
|
709
|
+
scraperId: __expectString,
|
|
710
|
+
status: _json,
|
|
711
|
+
tags: _json,
|
|
712
|
+
});
|
|
713
|
+
Object.assign(contents, doc);
|
|
714
|
+
return contents;
|
|
715
|
+
};
|
|
682
716
|
export const de_UpdateWorkspaceAliasCommand = async (output, context) => {
|
|
683
717
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
684
718
|
return de_CommandError(output, context);
|
package/dist-types/Amp.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ import { PutRuleGroupsNamespaceCommandInput, PutRuleGroupsNamespaceCommandOutput
|
|
|
25
25
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
26
26
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
27
27
|
import { UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput } from "./commands/UpdateLoggingConfigurationCommand";
|
|
28
|
+
import { UpdateScraperCommandInput, UpdateScraperCommandOutput } from "./commands/UpdateScraperCommand";
|
|
28
29
|
import { UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput } from "./commands/UpdateWorkspaceAliasCommand";
|
|
29
30
|
export interface Amp {
|
|
30
31
|
/**
|
|
@@ -181,6 +182,12 @@ export interface Amp {
|
|
|
181
182
|
updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLoggingConfigurationCommandOutput>;
|
|
182
183
|
updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void): void;
|
|
183
184
|
updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void): void;
|
|
185
|
+
/**
|
|
186
|
+
* @see {@link UpdateScraperCommand}
|
|
187
|
+
*/
|
|
188
|
+
updateScraper(args: UpdateScraperCommandInput, options?: __HttpHandlerOptions): Promise<UpdateScraperCommandOutput>;
|
|
189
|
+
updateScraper(args: UpdateScraperCommandInput, cb: (err: any, data?: UpdateScraperCommandOutput) => void): void;
|
|
190
|
+
updateScraper(args: UpdateScraperCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScraperCommandOutput) => void): void;
|
|
184
191
|
/**
|
|
185
192
|
* @see {@link UpdateWorkspaceAliasCommand}
|
|
186
193
|
*/
|
|
@@ -32,6 +32,7 @@ import { PutRuleGroupsNamespaceCommandInput, PutRuleGroupsNamespaceCommandOutput
|
|
|
32
32
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
33
33
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
34
34
|
import { UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput } from "./commands/UpdateLoggingConfigurationCommand";
|
|
35
|
+
import { UpdateScraperCommandInput, UpdateScraperCommandOutput } from "./commands/UpdateScraperCommand";
|
|
35
36
|
import { UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput } from "./commands/UpdateWorkspaceAliasCommand";
|
|
36
37
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
37
38
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
@@ -39,11 +40,11 @@ export { __Client };
|
|
|
39
40
|
/**
|
|
40
41
|
* @public
|
|
41
42
|
*/
|
|
42
|
-
export type ServiceInputTypes = CreateAlertManagerDefinitionCommandInput | CreateLoggingConfigurationCommandInput | CreateRuleGroupsNamespaceCommandInput | CreateScraperCommandInput | CreateWorkspaceCommandInput | DeleteAlertManagerDefinitionCommandInput | DeleteLoggingConfigurationCommandInput | DeleteRuleGroupsNamespaceCommandInput | DeleteScraperCommandInput | DeleteWorkspaceCommandInput | DescribeAlertManagerDefinitionCommandInput | DescribeLoggingConfigurationCommandInput | DescribeRuleGroupsNamespaceCommandInput | DescribeScraperCommandInput | DescribeWorkspaceCommandInput | GetDefaultScraperConfigurationCommandInput | ListRuleGroupsNamespacesCommandInput | ListScrapersCommandInput | ListTagsForResourceCommandInput | ListWorkspacesCommandInput | PutAlertManagerDefinitionCommandInput | PutRuleGroupsNamespaceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateLoggingConfigurationCommandInput | UpdateWorkspaceAliasCommandInput;
|
|
43
|
+
export type ServiceInputTypes = CreateAlertManagerDefinitionCommandInput | CreateLoggingConfigurationCommandInput | CreateRuleGroupsNamespaceCommandInput | CreateScraperCommandInput | CreateWorkspaceCommandInput | DeleteAlertManagerDefinitionCommandInput | DeleteLoggingConfigurationCommandInput | DeleteRuleGroupsNamespaceCommandInput | DeleteScraperCommandInput | DeleteWorkspaceCommandInput | DescribeAlertManagerDefinitionCommandInput | DescribeLoggingConfigurationCommandInput | DescribeRuleGroupsNamespaceCommandInput | DescribeScraperCommandInput | DescribeWorkspaceCommandInput | GetDefaultScraperConfigurationCommandInput | ListRuleGroupsNamespacesCommandInput | ListScrapersCommandInput | ListTagsForResourceCommandInput | ListWorkspacesCommandInput | PutAlertManagerDefinitionCommandInput | PutRuleGroupsNamespaceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateLoggingConfigurationCommandInput | UpdateScraperCommandInput | UpdateWorkspaceAliasCommandInput;
|
|
43
44
|
/**
|
|
44
45
|
* @public
|
|
45
46
|
*/
|
|
46
|
-
export type ServiceOutputTypes = CreateAlertManagerDefinitionCommandOutput | CreateLoggingConfigurationCommandOutput | CreateRuleGroupsNamespaceCommandOutput | CreateScraperCommandOutput | CreateWorkspaceCommandOutput | DeleteAlertManagerDefinitionCommandOutput | DeleteLoggingConfigurationCommandOutput | DeleteRuleGroupsNamespaceCommandOutput | DeleteScraperCommandOutput | DeleteWorkspaceCommandOutput | DescribeAlertManagerDefinitionCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeRuleGroupsNamespaceCommandOutput | DescribeScraperCommandOutput | DescribeWorkspaceCommandOutput | GetDefaultScraperConfigurationCommandOutput | ListRuleGroupsNamespacesCommandOutput | ListScrapersCommandOutput | ListTagsForResourceCommandOutput | ListWorkspacesCommandOutput | PutAlertManagerDefinitionCommandOutput | PutRuleGroupsNamespaceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateWorkspaceAliasCommandOutput;
|
|
47
|
+
export type ServiceOutputTypes = CreateAlertManagerDefinitionCommandOutput | CreateLoggingConfigurationCommandOutput | CreateRuleGroupsNamespaceCommandOutput | CreateScraperCommandOutput | CreateWorkspaceCommandOutput | DeleteAlertManagerDefinitionCommandOutput | DeleteLoggingConfigurationCommandOutput | DeleteRuleGroupsNamespaceCommandOutput | DeleteScraperCommandOutput | DeleteWorkspaceCommandOutput | DescribeAlertManagerDefinitionCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeRuleGroupsNamespaceCommandOutput | DescribeScraperCommandOutput | DescribeWorkspaceCommandOutput | GetDefaultScraperConfigurationCommandOutput | ListRuleGroupsNamespacesCommandOutput | ListScrapersCommandOutput | ListTagsForResourceCommandOutput | ListWorkspacesCommandOutput | PutAlertManagerDefinitionCommandOutput | PutRuleGroupsNamespaceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateScraperCommandOutput | UpdateWorkspaceAliasCommandOutput;
|
|
47
48
|
/**
|
|
48
49
|
* @public
|
|
49
50
|
*/
|
|
@@ -29,20 +29,20 @@ declare const CreateScraperCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>The <code>CreateScraper</code> operation creates a scraper to collect metrics. A
|
|
31
31
|
* scraper pulls metrics from Prometheus-compatible sources within an Amazon EKS
|
|
32
|
-
* cluster, and sends them to your Amazon Managed Service for Prometheus workspace.
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* <p>
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* the YAML configuration file.</p>
|
|
32
|
+
* cluster, and sends them to your Amazon Managed Service for Prometheus workspace. Scrapers are
|
|
33
|
+
* flexible, and can be configured to control what metrics are collected, the
|
|
34
|
+
* frequency of collection, what transformations are applied to the metrics, and more.</p>
|
|
35
|
+
* <p>An IAM role will be created for you that Amazon Managed Service for Prometheus uses
|
|
36
|
+
* to access the metrics in your cluster. You must configure this role with a policy that
|
|
37
|
+
* allows it to scrape metrics from your cluster. For more information, see
|
|
38
|
+
* <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-eks-setup">Configuring your Amazon EKS cluster</a> in the <i>Amazon Managed Service for Prometheus User Guide</i>.</p>
|
|
39
|
+
* <p>The <code>scrapeConfiguration</code> parameter contains the base-64 encoded YAML
|
|
40
|
+
* configuration for the scraper.</p>
|
|
42
41
|
* <note>
|
|
43
42
|
* <p>For more information about collectors, including what metrics are collected, and
|
|
44
|
-
* how to configure the scraper, see <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector.html">
|
|
45
|
-
*
|
|
43
|
+
* how to configure the scraper, see <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html">Using an
|
|
44
|
+
* Amazon Web Services managed
|
|
45
|
+
* collector</a> in the <i>Amazon Managed Service for Prometheus User
|
|
46
46
|
* Guide</i>.</p>
|
|
47
47
|
* </note>
|
|
48
48
|
* @example
|
|
@@ -29,7 +29,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>The <code>ListTagsForResource</code> operation returns the tags that are associated
|
|
31
31
|
* with an Amazon Managed Service for Prometheus resource. Currently, the only resources that can be
|
|
32
|
-
* tagged are workspaces and rule groups namespaces. </p>
|
|
32
|
+
* tagged are scrapers, workspaces, and rule groups namespaces. </p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -28,12 +28,12 @@ declare const TagResourceCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>The <code>TagResource</code> operation associates tags with an Amazon Managed Service for Prometheus
|
|
31
|
-
* resource. The only resources that can be tagged are
|
|
32
|
-
*
|
|
31
|
+
* resource. The only resources that can be tagged are rule groups namespaces, scrapers,
|
|
32
|
+
* and workspaces.</p>
|
|
33
33
|
* <p>If you specify a new tag key for the resource, this tag is appended to the list of
|
|
34
34
|
* tags associated with the resource. If you specify a tag key that is already associated
|
|
35
35
|
* with the resource, the new tag value that you specify replaces the previous value for
|
|
36
|
-
* that tag
|
|
36
|
+
* that tag. To remove a tag, use <code>UntagResource</code>.</p>
|
|
37
37
|
* @example
|
|
38
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
39
|
* ```javascript
|
|
@@ -28,7 +28,7 @@ declare const UntagResourceCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Removes the specified tags from an Amazon Managed Service for Prometheus resource. The only resources
|
|
31
|
-
* that can be tagged are
|
|
31
|
+
* that can be tagged are rule groups namespaces, scrapers, and workspaces. </p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
|
|
4
|
+
import { UpdateScraperRequest, UpdateScraperResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateScraperCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateScraperCommandInput extends UpdateScraperRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateScraperCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateScraperCommandOutput extends UpdateScraperResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateScraperCommand_base: {
|
|
25
|
+
new (input: UpdateScraperCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateScraperCommandInput, UpdateScraperCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateScraperCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateScraperCommandInput, UpdateScraperCommandOutput, AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates an existing scraper.</p>
|
|
31
|
+
* <p>You can't use this function to update the source from which the scraper is
|
|
32
|
+
* collecting metrics. To change the source, delete the scraper and create a new
|
|
33
|
+
* one.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { AmpClient, UpdateScraperCommand } from "@aws-sdk/client-amp"; // ES Modules import
|
|
38
|
+
* // const { AmpClient, UpdateScraperCommand } = require("@aws-sdk/client-amp"); // CommonJS import
|
|
39
|
+
* const client = new AmpClient(config);
|
|
40
|
+
* const input = { // UpdateScraperRequest
|
|
41
|
+
* scraperId: "STRING_VALUE", // required
|
|
42
|
+
* alias: "STRING_VALUE",
|
|
43
|
+
* scrapeConfiguration: { // ScrapeConfiguration Union: only one key present
|
|
44
|
+
* configurationBlob: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
45
|
+
* },
|
|
46
|
+
* destination: { // Destination Union: only one key present
|
|
47
|
+
* ampConfiguration: { // AmpConfiguration
|
|
48
|
+
* workspaceArn: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* clientToken: "STRING_VALUE",
|
|
52
|
+
* };
|
|
53
|
+
* const command = new UpdateScraperCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // UpdateScraperResponse
|
|
56
|
+
* // scraperId: "STRING_VALUE", // required
|
|
57
|
+
* // arn: "STRING_VALUE", // required
|
|
58
|
+
* // status: { // ScraperStatus
|
|
59
|
+
* // statusCode: "STRING_VALUE", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // tags: { // TagMap
|
|
62
|
+
* // "<keys>": "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param UpdateScraperCommandInput - {@link UpdateScraperCommandInput}
|
|
69
|
+
* @returns {@link UpdateScraperCommandOutput}
|
|
70
|
+
* @see {@link UpdateScraperCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link UpdateScraperCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link AmpClientResolvedConfig | config} for AmpClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ConflictException} (client fault)
|
|
78
|
+
* <p>The request would cause an inconsistent state.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InternalServerException} (server fault)
|
|
81
|
+
* <p>An unexpected error occurred during the processing of the request.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* <p>The request references a resources that doesn't exist.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
87
|
+
* <p>Completing the request would cause a service quota to be exceeded.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
+
* <p>The request was denied due to request throttling.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ValidationException} (client fault)
|
|
93
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services
|
|
94
|
+
* service.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link AmpServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from Amp service.</p>
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class UpdateScraperCommand extends UpdateScraperCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: UpdateScraperRequest;
|
|
106
|
+
output: UpdateScraperResponse;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: UpdateScraperCommandInput;
|
|
110
|
+
output: UpdateScraperCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -23,4 +23,5 @@ export * from "./PutRuleGroupsNamespaceCommand";
|
|
|
23
23
|
export * from "./TagResourceCommand";
|
|
24
24
|
export * from "./UntagResourceCommand";
|
|
25
25
|
export * from "./UpdateLoggingConfigurationCommand";
|
|
26
|
+
export * from "./UpdateScraperCommand";
|
|
26
27
|
export * from "./UpdateWorkspaceAliasCommand";
|
|
@@ -301,7 +301,8 @@ export interface DescribeAlertManagerDefinitionRequest {
|
|
|
301
301
|
workspaceId: string | undefined;
|
|
302
302
|
}
|
|
303
303
|
/**
|
|
304
|
-
* <p>The details of an alert manager definition.
|
|
304
|
+
* <p>The details of an alert manager definition. It is the configuration for the
|
|
305
|
+
* alert manager, including information about receivers for routing alerts.</p>
|
|
305
306
|
* @public
|
|
306
307
|
*/
|
|
307
308
|
export interface AlertManagerDefinitionDescription {
|
|
@@ -397,7 +398,7 @@ export interface GetDefaultScraperConfigurationResponse {
|
|
|
397
398
|
*/
|
|
398
399
|
export interface ListTagsForResourceRequest {
|
|
399
400
|
/**
|
|
400
|
-
* <p>The ARN of the resource to list tages for. Must be a workspace or rule groups
|
|
401
|
+
* <p>The ARN of the resource to list tages for. Must be a workspace, scraper, or rule groups
|
|
401
402
|
* namespace resource.</p>
|
|
402
403
|
* @public
|
|
403
404
|
*/
|
|
@@ -435,7 +436,7 @@ export type Destination = Destination.AmpConfigurationMember | Destination.$Unkn
|
|
|
435
436
|
*/
|
|
436
437
|
export declare namespace Destination {
|
|
437
438
|
/**
|
|
438
|
-
* <p>The Amazon Managed Service for
|
|
439
|
+
* <p>The Amazon Managed Service for Prometheus workspace to send metrics to.</p>
|
|
439
440
|
* @public
|
|
440
441
|
*/
|
|
441
442
|
interface AmpConfigurationMember {
|
|
@@ -456,7 +457,7 @@ export declare namespace Destination {
|
|
|
456
457
|
const visit: <T>(value: Destination, visitor: Visitor<T>) => T;
|
|
457
458
|
}
|
|
458
459
|
/**
|
|
459
|
-
* <p>A scrape configuration for a scraper, base 64 encoded. For more information, see <a href="prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration">Scraper configuration</a> in the <i>Amazon Managed Service for Prometheus User
|
|
460
|
+
* <p>A scrape configuration for a scraper, base 64 encoded. For more information, see <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration">Scraper configuration</a> in the <i>Amazon Managed Service for Prometheus User
|
|
460
461
|
* Guide</i>.</p>
|
|
461
462
|
* @public
|
|
462
463
|
*/
|
|
@@ -544,13 +545,13 @@ export declare namespace Source {
|
|
|
544
545
|
*/
|
|
545
546
|
export interface CreateScraperRequest {
|
|
546
547
|
/**
|
|
547
|
-
* <p>(optional)
|
|
548
|
+
* <p>(optional) An alias to associate with the scraper. This is for your use, and does not
|
|
548
549
|
* need to be unique.</p>
|
|
549
550
|
* @public
|
|
550
551
|
*/
|
|
551
552
|
alias?: string;
|
|
552
553
|
/**
|
|
553
|
-
* <p>The configuration file to use in the new scraper. For more information, see <a href="prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration">Scraper configuration</a> in the <i>Amazon Managed Service for Prometheus User
|
|
554
|
+
* <p>The configuration file to use in the new scraper. For more information, see <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration">Scraper configuration</a> in the <i>Amazon Managed Service for Prometheus User
|
|
554
555
|
* Guide</i>.</p>
|
|
555
556
|
* @public
|
|
556
557
|
*/
|
|
@@ -602,6 +603,14 @@ export declare const ScraperStatusCode: {
|
|
|
602
603
|
* Scraper deletion failed.
|
|
603
604
|
*/
|
|
604
605
|
readonly DELETION_FAILED: "DELETION_FAILED";
|
|
606
|
+
/**
|
|
607
|
+
* Scraper update failed.
|
|
608
|
+
*/
|
|
609
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
610
|
+
/**
|
|
611
|
+
* Scraper is being updated. Deletion is disallowed until status is ACTIVE.
|
|
612
|
+
*/
|
|
613
|
+
readonly UPDATING: "UPDATING";
|
|
605
614
|
};
|
|
606
615
|
/**
|
|
607
616
|
* @public
|
|
@@ -701,18 +710,20 @@ export interface ScraperDescription {
|
|
|
701
710
|
*/
|
|
702
711
|
alias?: string;
|
|
703
712
|
/**
|
|
704
|
-
* <p>The ID of the scraper
|
|
713
|
+
* <p>The ID of the scraper. For example, <code>s-example1-1234-abcd-5678-ef9012abcd34</code>.</p>
|
|
705
714
|
* @public
|
|
706
715
|
*/
|
|
707
716
|
scraperId: string | undefined;
|
|
708
717
|
/**
|
|
709
|
-
* <p>The Amazon Resource Name (ARN) of the scraper
|
|
718
|
+
* <p>The Amazon Resource Name (ARN) of the scraper. For example,
|
|
719
|
+
* <code>arn:aws:aps:<region>:123456798012:scraper/s-example1-1234-abcd-5678-ef9012abcd34</code>.</p>
|
|
710
720
|
* @public
|
|
711
721
|
*/
|
|
712
722
|
arn: string | undefined;
|
|
713
723
|
/**
|
|
714
724
|
* <p>The Amazon Resource Name (ARN) of the IAM role that provides
|
|
715
725
|
* permissions for the scraper to discover and collect metrics on your behalf.</p>
|
|
726
|
+
* <p>For example, <code>arn:aws:iam::123456789012:role/service-role/AmazonGrafanaServiceRole-12example</code>.</p>
|
|
716
727
|
* @public
|
|
717
728
|
*/
|
|
718
729
|
roleArn: string | undefined;
|
|
@@ -742,7 +753,7 @@ export interface ScraperDescription {
|
|
|
742
753
|
*/
|
|
743
754
|
statusReason?: string;
|
|
744
755
|
/**
|
|
745
|
-
* <p>The configuration
|
|
756
|
+
* <p>The configuration in use by the scraper.</p>
|
|
746
757
|
* @public
|
|
747
758
|
*/
|
|
748
759
|
scrapeConfiguration: ScrapeConfiguration | undefined;
|
|
@@ -888,18 +899,79 @@ export interface ListScrapersResponse {
|
|
|
888
899
|
*/
|
|
889
900
|
nextToken?: string;
|
|
890
901
|
}
|
|
902
|
+
/**
|
|
903
|
+
* @public
|
|
904
|
+
*/
|
|
905
|
+
export interface UpdateScraperRequest {
|
|
906
|
+
/**
|
|
907
|
+
* <p>The ID of the scraper to update.</p>
|
|
908
|
+
* @public
|
|
909
|
+
*/
|
|
910
|
+
scraperId: string | undefined;
|
|
911
|
+
/**
|
|
912
|
+
* <p>The new alias of the scraper.</p>
|
|
913
|
+
* @public
|
|
914
|
+
*/
|
|
915
|
+
alias?: string;
|
|
916
|
+
/**
|
|
917
|
+
* <p>Contains the base-64 encoded YAML configuration for the scraper.</p>
|
|
918
|
+
* <note>
|
|
919
|
+
* <p>For more information about configuring a scraper, see <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html">Using an
|
|
920
|
+
* Amazon Web Services managed collector</a> in the <i>Amazon Managed Service for Prometheus
|
|
921
|
+
* User Guide</i>.</p>
|
|
922
|
+
* </note>
|
|
923
|
+
* @public
|
|
924
|
+
*/
|
|
925
|
+
scrapeConfiguration?: ScrapeConfiguration;
|
|
926
|
+
/**
|
|
927
|
+
* <p>The new Amazon Managed Service for Prometheus workspace to send metrics to.</p>
|
|
928
|
+
* @public
|
|
929
|
+
*/
|
|
930
|
+
destination?: Destination;
|
|
931
|
+
/**
|
|
932
|
+
* <p>A unique identifier that you can provide to ensure the idempotency of the request.
|
|
933
|
+
* Case-sensitive.</p>
|
|
934
|
+
* @public
|
|
935
|
+
*/
|
|
936
|
+
clientToken?: string;
|
|
937
|
+
}
|
|
938
|
+
/**
|
|
939
|
+
* @public
|
|
940
|
+
*/
|
|
941
|
+
export interface UpdateScraperResponse {
|
|
942
|
+
/**
|
|
943
|
+
* <p>The ID of the updated scraper.</p>
|
|
944
|
+
* @public
|
|
945
|
+
*/
|
|
946
|
+
scraperId: string | undefined;
|
|
947
|
+
/**
|
|
948
|
+
* <p>The Amazon Resource Name (ARN) of the updated scraper.</p>
|
|
949
|
+
* @public
|
|
950
|
+
*/
|
|
951
|
+
arn: string | undefined;
|
|
952
|
+
/**
|
|
953
|
+
* <p>A structure that displays the current status of the scraper.</p>
|
|
954
|
+
* @public
|
|
955
|
+
*/
|
|
956
|
+
status: ScraperStatus | undefined;
|
|
957
|
+
/**
|
|
958
|
+
* <p>The list of tag keys and values that are associated with the scraper.</p>
|
|
959
|
+
* @public
|
|
960
|
+
*/
|
|
961
|
+
tags?: Record<string, string>;
|
|
962
|
+
}
|
|
891
963
|
/**
|
|
892
964
|
* @public
|
|
893
965
|
*/
|
|
894
966
|
export interface TagResourceRequest {
|
|
895
967
|
/**
|
|
896
|
-
* <p>The ARN of the
|
|
968
|
+
* <p>The ARN of the resource to apply tags to.</p>
|
|
897
969
|
* @public
|
|
898
970
|
*/
|
|
899
971
|
resourceArn: string | undefined;
|
|
900
972
|
/**
|
|
901
973
|
* <p>The list of tag keys and values to associate with the resource.</p>
|
|
902
|
-
* <p>Keys
|
|
974
|
+
* <p>Keys must not begin with <code>aws:</code>.</p>
|
|
903
975
|
* @public
|
|
904
976
|
*/
|
|
905
977
|
tags: Record<string, string> | undefined;
|
|
@@ -914,7 +986,7 @@ export interface TagResourceResponse {
|
|
|
914
986
|
*/
|
|
915
987
|
export interface UntagResourceRequest {
|
|
916
988
|
/**
|
|
917
|
-
* <p>The ARN of the
|
|
989
|
+
* <p>The ARN of the resource from which to remove a tag.</p>
|
|
918
990
|
* @public
|
|
919
991
|
*/
|
|
920
992
|
resourceArn: string | undefined;
|
|
@@ -1070,18 +1142,20 @@ export interface DescribeWorkspaceRequest {
|
|
|
1070
1142
|
*/
|
|
1071
1143
|
export interface WorkspaceDescription {
|
|
1072
1144
|
/**
|
|
1073
|
-
* <p>The unique ID for the workspace
|
|
1145
|
+
* <p>The unique ID for the workspace. For example,
|
|
1146
|
+
* <code>ws-example1-1234-abcd-5678-ef90abcd1234</code>.</p>
|
|
1074
1147
|
* @public
|
|
1075
1148
|
*/
|
|
1076
1149
|
workspaceId: string | undefined;
|
|
1077
1150
|
/**
|
|
1078
|
-
* <p>The alias that is assigned to this workspace to help identify it. It
|
|
1079
|
-
* unique.</p>
|
|
1151
|
+
* <p>The alias that is assigned to this workspace to help identify it. It does not need
|
|
1152
|
+
* to be unique.</p>
|
|
1080
1153
|
* @public
|
|
1081
1154
|
*/
|
|
1082
1155
|
alias?: string;
|
|
1083
1156
|
/**
|
|
1084
|
-
* <p>The ARN of the workspace
|
|
1157
|
+
* <p>The ARN of the workspace. For example,
|
|
1158
|
+
* <code>arn:aws:aps:<region>:123456789012:workspace/ws-example1-1234-abcd-5678-ef90abcd1234</code>.</p>
|
|
1085
1159
|
* @public
|
|
1086
1160
|
*/
|
|
1087
1161
|
arn: string | undefined;
|
|
@@ -1091,7 +1165,8 @@ export interface WorkspaceDescription {
|
|
|
1091
1165
|
*/
|
|
1092
1166
|
status: WorkspaceStatus | undefined;
|
|
1093
1167
|
/**
|
|
1094
|
-
* <p>The Prometheus endpoint available for this workspace.
|
|
1168
|
+
* <p>The Prometheus endpoint available for this workspace. For example,
|
|
1169
|
+
* <code>https://aps-workspaces.<region>.amazonaws.com/workspaces/ws-example1-1234-abcd-5678-ef90abcd1234/api/v1/</code>.</p>
|
|
1095
1170
|
* @public
|
|
1096
1171
|
*/
|
|
1097
1172
|
prometheusEndpoint?: string;
|
|
@@ -1164,8 +1239,8 @@ export interface WorkspaceSummary {
|
|
|
1164
1239
|
*/
|
|
1165
1240
|
workspaceId: string | undefined;
|
|
1166
1241
|
/**
|
|
1167
|
-
* <p>The alias that is assigned to this workspace to help identify it. It
|
|
1168
|
-
* unique.</p>
|
|
1242
|
+
* <p>The alias that is assigned to this workspace to help identify it. It does not
|
|
1243
|
+
* need to be unique.</p>
|
|
1169
1244
|
* @public
|
|
1170
1245
|
*/
|
|
1171
1246
|
alias?: string;
|
|
@@ -1226,7 +1301,7 @@ export interface CreateLoggingConfigurationRequest {
|
|
|
1226
1301
|
workspaceId: string | undefined;
|
|
1227
1302
|
/**
|
|
1228
1303
|
* <p>The ARN of the CloudWatch log group to which the vended log data will be
|
|
1229
|
-
* published. This log group must exist prior to calling this
|
|
1304
|
+
* published. This log group must exist prior to calling this operation.</p>
|
|
1230
1305
|
* @public
|
|
1231
1306
|
*/
|
|
1232
1307
|
logGroupArn: string | undefined;
|
|
@@ -1327,7 +1402,7 @@ export interface DescribeLoggingConfigurationRequest {
|
|
|
1327
1402
|
workspaceId: string | undefined;
|
|
1328
1403
|
}
|
|
1329
1404
|
/**
|
|
1330
|
-
* <p>Contains information about the logging configuration
|
|
1405
|
+
* <p>Contains information about the logging configuration for the workspace.</p>
|
|
1331
1406
|
* @public
|
|
1332
1407
|
*/
|
|
1333
1408
|
export interface LoggingConfigurationMetadata {
|
|
@@ -1558,7 +1633,8 @@ export interface DescribeRuleGroupsNamespaceRequest {
|
|
|
1558
1633
|
*/
|
|
1559
1634
|
export interface RuleGroupsNamespaceDescription {
|
|
1560
1635
|
/**
|
|
1561
|
-
* <p>The ARN of the rule groups namespace
|
|
1636
|
+
* <p>The ARN of the rule groups namespace. For example,
|
|
1637
|
+
* <code>arn:aws:aps:<region>:123456789012:rulegroupsnamespace/ws-example1-1234-abcd-5678-ef90abcd1234/rulesfile1</code>.</p>
|
|
1562
1638
|
* @public
|
|
1563
1639
|
*/
|
|
1564
1640
|
arn: string | undefined;
|
|
@@ -25,6 +25,7 @@ import { PutRuleGroupsNamespaceCommandInput, PutRuleGroupsNamespaceCommandOutput
|
|
|
25
25
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
26
26
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
27
27
|
import { UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput } from "../commands/UpdateLoggingConfigurationCommand";
|
|
28
|
+
import { UpdateScraperCommandInput, UpdateScraperCommandOutput } from "../commands/UpdateScraperCommand";
|
|
28
29
|
import { UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput } from "../commands/UpdateWorkspaceAliasCommand";
|
|
29
30
|
/**
|
|
30
31
|
* serializeAws_restJson1CreateAlertManagerDefinitionCommand
|
|
@@ -126,6 +127,10 @@ export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput,
|
|
|
126
127
|
* serializeAws_restJson1UpdateLoggingConfigurationCommand
|
|
127
128
|
*/
|
|
128
129
|
export declare const se_UpdateLoggingConfigurationCommand: (input: UpdateLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
130
|
+
/**
|
|
131
|
+
* serializeAws_restJson1UpdateScraperCommand
|
|
132
|
+
*/
|
|
133
|
+
export declare const se_UpdateScraperCommand: (input: UpdateScraperCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
129
134
|
/**
|
|
130
135
|
* serializeAws_restJson1UpdateWorkspaceAliasCommand
|
|
131
136
|
*/
|
|
@@ -230,6 +235,10 @@ export declare const de_UntagResourceCommand: (output: __HttpResponse, context:
|
|
|
230
235
|
* deserializeAws_restJson1UpdateLoggingConfigurationCommand
|
|
231
236
|
*/
|
|
232
237
|
export declare const de_UpdateLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateLoggingConfigurationCommandOutput>;
|
|
238
|
+
/**
|
|
239
|
+
* deserializeAws_restJson1UpdateScraperCommand
|
|
240
|
+
*/
|
|
241
|
+
export declare const de_UpdateScraperCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateScraperCommandOutput>;
|
|
233
242
|
/**
|
|
234
243
|
* deserializeAws_restJson1UpdateWorkspaceAliasCommand
|
|
235
244
|
*/
|
|
@@ -100,6 +100,10 @@ import {
|
|
|
100
100
|
UpdateLoggingConfigurationCommandInput,
|
|
101
101
|
UpdateLoggingConfigurationCommandOutput,
|
|
102
102
|
} from "./commands/UpdateLoggingConfigurationCommand";
|
|
103
|
+
import {
|
|
104
|
+
UpdateScraperCommandInput,
|
|
105
|
+
UpdateScraperCommandOutput,
|
|
106
|
+
} from "./commands/UpdateScraperCommand";
|
|
103
107
|
import {
|
|
104
108
|
UpdateWorkspaceAliasCommandInput,
|
|
105
109
|
UpdateWorkspaceAliasCommandOutput,
|
|
@@ -434,6 +438,19 @@ export interface Amp {
|
|
|
434
438
|
options: __HttpHandlerOptions,
|
|
435
439
|
cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void
|
|
436
440
|
): void;
|
|
441
|
+
updateScraper(
|
|
442
|
+
args: UpdateScraperCommandInput,
|
|
443
|
+
options?: __HttpHandlerOptions
|
|
444
|
+
): Promise<UpdateScraperCommandOutput>;
|
|
445
|
+
updateScraper(
|
|
446
|
+
args: UpdateScraperCommandInput,
|
|
447
|
+
cb: (err: any, data?: UpdateScraperCommandOutput) => void
|
|
448
|
+
): void;
|
|
449
|
+
updateScraper(
|
|
450
|
+
args: UpdateScraperCommandInput,
|
|
451
|
+
options: __HttpHandlerOptions,
|
|
452
|
+
cb: (err: any, data?: UpdateScraperCommandOutput) => void
|
|
453
|
+
): void;
|
|
437
454
|
updateWorkspaceAlias(
|
|
438
455
|
args: UpdateWorkspaceAliasCommandInput,
|
|
439
456
|
options?: __HttpHandlerOptions
|
|
@@ -145,6 +145,10 @@ import {
|
|
|
145
145
|
UpdateLoggingConfigurationCommandInput,
|
|
146
146
|
UpdateLoggingConfigurationCommandOutput,
|
|
147
147
|
} from "./commands/UpdateLoggingConfigurationCommand";
|
|
148
|
+
import {
|
|
149
|
+
UpdateScraperCommandInput,
|
|
150
|
+
UpdateScraperCommandOutput,
|
|
151
|
+
} from "./commands/UpdateScraperCommand";
|
|
148
152
|
import {
|
|
149
153
|
UpdateWorkspaceAliasCommandInput,
|
|
150
154
|
UpdateWorkspaceAliasCommandOutput,
|
|
@@ -182,6 +186,7 @@ export type ServiceInputTypes =
|
|
|
182
186
|
| TagResourceCommandInput
|
|
183
187
|
| UntagResourceCommandInput
|
|
184
188
|
| UpdateLoggingConfigurationCommandInput
|
|
189
|
+
| UpdateScraperCommandInput
|
|
185
190
|
| UpdateWorkspaceAliasCommandInput;
|
|
186
191
|
export type ServiceOutputTypes =
|
|
187
192
|
| CreateAlertManagerDefinitionCommandOutput
|
|
@@ -209,6 +214,7 @@ export type ServiceOutputTypes =
|
|
|
209
214
|
| TagResourceCommandOutput
|
|
210
215
|
| UntagResourceCommandOutput
|
|
211
216
|
| UpdateLoggingConfigurationCommandOutput
|
|
217
|
+
| UpdateScraperCommandOutput
|
|
212
218
|
| UpdateWorkspaceAliasCommandOutput;
|
|
213
219
|
export interface ClientDefaults
|
|
214
220
|
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
AmpClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../AmpClient";
|
|
8
|
+
import {
|
|
9
|
+
UpdateScraperRequest,
|
|
10
|
+
UpdateScraperResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UpdateScraperCommandInput extends UpdateScraperRequest {}
|
|
15
|
+
export interface UpdateScraperCommandOutput
|
|
16
|
+
extends UpdateScraperResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const UpdateScraperCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: UpdateScraperCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
UpdateScraperCommandInput,
|
|
23
|
+
UpdateScraperCommandOutput,
|
|
24
|
+
AmpClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: UpdateScraperCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
UpdateScraperCommandInput,
|
|
32
|
+
UpdateScraperCommandOutput,
|
|
33
|
+
AmpClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class UpdateScraperCommand extends UpdateScraperCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: UpdateScraperRequest;
|
|
43
|
+
output: UpdateScraperResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: UpdateScraperCommandInput;
|
|
47
|
+
output: UpdateScraperCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -23,4 +23,5 @@ export * from "./PutRuleGroupsNamespaceCommand";
|
|
|
23
23
|
export * from "./TagResourceCommand";
|
|
24
24
|
export * from "./UntagResourceCommand";
|
|
25
25
|
export * from "./UpdateLoggingConfigurationCommand";
|
|
26
|
+
export * from "./UpdateScraperCommand";
|
|
26
27
|
export * from "./UpdateWorkspaceAliasCommand";
|
|
@@ -205,6 +205,8 @@ export declare const ScraperStatusCode: {
|
|
|
205
205
|
readonly CREATION_FAILED: "CREATION_FAILED";
|
|
206
206
|
readonly DELETING: "DELETING";
|
|
207
207
|
readonly DELETION_FAILED: "DELETION_FAILED";
|
|
208
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
209
|
+
readonly UPDATING: "UPDATING";
|
|
208
210
|
};
|
|
209
211
|
export type ScraperStatusCode =
|
|
210
212
|
(typeof ScraperStatusCode)[keyof typeof ScraperStatusCode];
|
|
@@ -267,6 +269,19 @@ export interface ListScrapersResponse {
|
|
|
267
269
|
scrapers: ScraperSummary[] | undefined;
|
|
268
270
|
nextToken?: string;
|
|
269
271
|
}
|
|
272
|
+
export interface UpdateScraperRequest {
|
|
273
|
+
scraperId: string | undefined;
|
|
274
|
+
alias?: string;
|
|
275
|
+
scrapeConfiguration?: ScrapeConfiguration;
|
|
276
|
+
destination?: Destination;
|
|
277
|
+
clientToken?: string;
|
|
278
|
+
}
|
|
279
|
+
export interface UpdateScraperResponse {
|
|
280
|
+
scraperId: string | undefined;
|
|
281
|
+
arn: string | undefined;
|
|
282
|
+
status: ScraperStatus | undefined;
|
|
283
|
+
tags?: Record<string, string>;
|
|
284
|
+
}
|
|
270
285
|
export interface TagResourceRequest {
|
|
271
286
|
resourceArn: string | undefined;
|
|
272
287
|
tags: Record<string, string> | undefined;
|
|
@@ -103,6 +103,10 @@ import {
|
|
|
103
103
|
UpdateLoggingConfigurationCommandInput,
|
|
104
104
|
UpdateLoggingConfigurationCommandOutput,
|
|
105
105
|
} from "../commands/UpdateLoggingConfigurationCommand";
|
|
106
|
+
import {
|
|
107
|
+
UpdateScraperCommandInput,
|
|
108
|
+
UpdateScraperCommandOutput,
|
|
109
|
+
} from "../commands/UpdateScraperCommand";
|
|
106
110
|
import {
|
|
107
111
|
UpdateWorkspaceAliasCommandInput,
|
|
108
112
|
UpdateWorkspaceAliasCommandOutput,
|
|
@@ -207,6 +211,10 @@ export declare const se_UpdateLoggingConfigurationCommand: (
|
|
|
207
211
|
input: UpdateLoggingConfigurationCommandInput,
|
|
208
212
|
context: __SerdeContext
|
|
209
213
|
) => Promise<__HttpRequest>;
|
|
214
|
+
export declare const se_UpdateScraperCommand: (
|
|
215
|
+
input: UpdateScraperCommandInput,
|
|
216
|
+
context: __SerdeContext
|
|
217
|
+
) => Promise<__HttpRequest>;
|
|
210
218
|
export declare const se_UpdateWorkspaceAliasCommand: (
|
|
211
219
|
input: UpdateWorkspaceAliasCommandInput,
|
|
212
220
|
context: __SerdeContext
|
|
@@ -311,6 +319,10 @@ export declare const de_UpdateLoggingConfigurationCommand: (
|
|
|
311
319
|
output: __HttpResponse,
|
|
312
320
|
context: __SerdeContext
|
|
313
321
|
) => Promise<UpdateLoggingConfigurationCommandOutput>;
|
|
322
|
+
export declare const de_UpdateScraperCommand: (
|
|
323
|
+
output: __HttpResponse,
|
|
324
|
+
context: __SerdeContext
|
|
325
|
+
) => Promise<UpdateScraperCommandOutput>;
|
|
314
326
|
export declare const de_UpdateWorkspaceAliasCommand: (
|
|
315
327
|
output: __HttpResponse,
|
|
316
328
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amp",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amp Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.686.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,45 +20,45 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.1
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.2.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.4.
|
|
50
|
-
"@smithy/types": "^3.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.686.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.686.0",
|
|
25
|
+
"@aws-sdk/core": "3.686.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.686.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.686.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
|
+
"@aws-sdk/types": "3.686.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.686.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.10",
|
|
37
|
+
"@smithy/core": "^2.5.1",
|
|
38
|
+
"@smithy/fetch-http-handler": "^4.0.0",
|
|
39
|
+
"@smithy/hash-node": "^3.0.8",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.8",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.10",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.2.1",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.25",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.8",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.8",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.9",
|
|
47
|
+
"@smithy/node-http-handler": "^3.2.5",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.5",
|
|
49
|
+
"@smithy/smithy-client": "^3.4.2",
|
|
50
|
+
"@smithy/types": "^3.6.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.8",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.1.
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.25",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.25",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.4",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.8",
|
|
59
|
+
"@smithy/util-retry": "^3.0.8",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
|
-
"@smithy/util-waiter": "^3.1.
|
|
61
|
+
"@smithy/util-waiter": "^3.1.7",
|
|
62
62
|
"@types/uuid": "^9.0.1",
|
|
63
63
|
"tslib": "^2.6.2",
|
|
64
64
|
"uuid": "^9.0.1"
|