@aws-sdk/client-amp 3.315.0 → 3.316.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/Amp.js +25 -294
- package/dist-cjs/protocols/Aws_restJson1.js +8 -8
- package/dist-es/Amp.js +25 -294
- package/dist-es/protocols/Aws_restJson1.js +8 -8
- package/dist-types/Amp.d.ts +28 -47
- package/dist-types/ts3.4/Amp.d.ts +2 -1
- package/package.json +6 -6
package/dist-cjs/Amp.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Amp = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const AmpClient_1 = require("./AmpClient");
|
|
5
6
|
const CreateAlertManagerDefinitionCommand_1 = require("./commands/CreateAlertManagerDefinitionCommand");
|
|
6
7
|
const CreateLoggingConfigurationCommand_1 = require("./commands/CreateLoggingConfigurationCommand");
|
|
@@ -23,300 +24,30 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
|
23
24
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
24
25
|
const UpdateLoggingConfigurationCommand_1 = require("./commands/UpdateLoggingConfigurationCommand");
|
|
25
26
|
const UpdateWorkspaceAliasCommand_1 = require("./commands/UpdateWorkspaceAliasCommand");
|
|
27
|
+
const commands = {
|
|
28
|
+
CreateAlertManagerDefinitionCommand: CreateAlertManagerDefinitionCommand_1.CreateAlertManagerDefinitionCommand,
|
|
29
|
+
CreateLoggingConfigurationCommand: CreateLoggingConfigurationCommand_1.CreateLoggingConfigurationCommand,
|
|
30
|
+
CreateRuleGroupsNamespaceCommand: CreateRuleGroupsNamespaceCommand_1.CreateRuleGroupsNamespaceCommand,
|
|
31
|
+
CreateWorkspaceCommand: CreateWorkspaceCommand_1.CreateWorkspaceCommand,
|
|
32
|
+
DeleteAlertManagerDefinitionCommand: DeleteAlertManagerDefinitionCommand_1.DeleteAlertManagerDefinitionCommand,
|
|
33
|
+
DeleteLoggingConfigurationCommand: DeleteLoggingConfigurationCommand_1.DeleteLoggingConfigurationCommand,
|
|
34
|
+
DeleteRuleGroupsNamespaceCommand: DeleteRuleGroupsNamespaceCommand_1.DeleteRuleGroupsNamespaceCommand,
|
|
35
|
+
DeleteWorkspaceCommand: DeleteWorkspaceCommand_1.DeleteWorkspaceCommand,
|
|
36
|
+
DescribeAlertManagerDefinitionCommand: DescribeAlertManagerDefinitionCommand_1.DescribeAlertManagerDefinitionCommand,
|
|
37
|
+
DescribeLoggingConfigurationCommand: DescribeLoggingConfigurationCommand_1.DescribeLoggingConfigurationCommand,
|
|
38
|
+
DescribeRuleGroupsNamespaceCommand: DescribeRuleGroupsNamespaceCommand_1.DescribeRuleGroupsNamespaceCommand,
|
|
39
|
+
DescribeWorkspaceCommand: DescribeWorkspaceCommand_1.DescribeWorkspaceCommand,
|
|
40
|
+
ListRuleGroupsNamespacesCommand: ListRuleGroupsNamespacesCommand_1.ListRuleGroupsNamespacesCommand,
|
|
41
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
42
|
+
ListWorkspacesCommand: ListWorkspacesCommand_1.ListWorkspacesCommand,
|
|
43
|
+
PutAlertManagerDefinitionCommand: PutAlertManagerDefinitionCommand_1.PutAlertManagerDefinitionCommand,
|
|
44
|
+
PutRuleGroupsNamespaceCommand: PutRuleGroupsNamespaceCommand_1.PutRuleGroupsNamespaceCommand,
|
|
45
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
46
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
47
|
+
UpdateLoggingConfigurationCommand: UpdateLoggingConfigurationCommand_1.UpdateLoggingConfigurationCommand,
|
|
48
|
+
UpdateWorkspaceAliasCommand: UpdateWorkspaceAliasCommand_1.UpdateWorkspaceAliasCommand,
|
|
49
|
+
};
|
|
26
50
|
class Amp extends AmpClient_1.AmpClient {
|
|
27
|
-
createAlertManagerDefinition(args, optionsOrCb, cb) {
|
|
28
|
-
const command = new CreateAlertManagerDefinitionCommand_1.CreateAlertManagerDefinitionCommand(args);
|
|
29
|
-
if (typeof optionsOrCb === "function") {
|
|
30
|
-
this.send(command, optionsOrCb);
|
|
31
|
-
}
|
|
32
|
-
else if (typeof cb === "function") {
|
|
33
|
-
if (typeof optionsOrCb !== "object")
|
|
34
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
35
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
36
|
-
}
|
|
37
|
-
else {
|
|
38
|
-
return this.send(command, optionsOrCb);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
createLoggingConfiguration(args, optionsOrCb, cb) {
|
|
42
|
-
const command = new CreateLoggingConfigurationCommand_1.CreateLoggingConfigurationCommand(args);
|
|
43
|
-
if (typeof optionsOrCb === "function") {
|
|
44
|
-
this.send(command, optionsOrCb);
|
|
45
|
-
}
|
|
46
|
-
else if (typeof cb === "function") {
|
|
47
|
-
if (typeof optionsOrCb !== "object")
|
|
48
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
49
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
50
|
-
}
|
|
51
|
-
else {
|
|
52
|
-
return this.send(command, optionsOrCb);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
createRuleGroupsNamespace(args, optionsOrCb, cb) {
|
|
56
|
-
const command = new CreateRuleGroupsNamespaceCommand_1.CreateRuleGroupsNamespaceCommand(args);
|
|
57
|
-
if (typeof optionsOrCb === "function") {
|
|
58
|
-
this.send(command, optionsOrCb);
|
|
59
|
-
}
|
|
60
|
-
else if (typeof cb === "function") {
|
|
61
|
-
if (typeof optionsOrCb !== "object")
|
|
62
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
63
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
return this.send(command, optionsOrCb);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
createWorkspace(args, optionsOrCb, cb) {
|
|
70
|
-
const command = new CreateWorkspaceCommand_1.CreateWorkspaceCommand(args);
|
|
71
|
-
if (typeof optionsOrCb === "function") {
|
|
72
|
-
this.send(command, optionsOrCb);
|
|
73
|
-
}
|
|
74
|
-
else if (typeof cb === "function") {
|
|
75
|
-
if (typeof optionsOrCb !== "object")
|
|
76
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
77
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
return this.send(command, optionsOrCb);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
deleteAlertManagerDefinition(args, optionsOrCb, cb) {
|
|
84
|
-
const command = new DeleteAlertManagerDefinitionCommand_1.DeleteAlertManagerDefinitionCommand(args);
|
|
85
|
-
if (typeof optionsOrCb === "function") {
|
|
86
|
-
this.send(command, optionsOrCb);
|
|
87
|
-
}
|
|
88
|
-
else if (typeof cb === "function") {
|
|
89
|
-
if (typeof optionsOrCb !== "object")
|
|
90
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
91
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
return this.send(command, optionsOrCb);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
deleteLoggingConfiguration(args, optionsOrCb, cb) {
|
|
98
|
-
const command = new DeleteLoggingConfigurationCommand_1.DeleteLoggingConfigurationCommand(args);
|
|
99
|
-
if (typeof optionsOrCb === "function") {
|
|
100
|
-
this.send(command, optionsOrCb);
|
|
101
|
-
}
|
|
102
|
-
else if (typeof cb === "function") {
|
|
103
|
-
if (typeof optionsOrCb !== "object")
|
|
104
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
105
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
return this.send(command, optionsOrCb);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
deleteRuleGroupsNamespace(args, optionsOrCb, cb) {
|
|
112
|
-
const command = new DeleteRuleGroupsNamespaceCommand_1.DeleteRuleGroupsNamespaceCommand(args);
|
|
113
|
-
if (typeof optionsOrCb === "function") {
|
|
114
|
-
this.send(command, optionsOrCb);
|
|
115
|
-
}
|
|
116
|
-
else if (typeof cb === "function") {
|
|
117
|
-
if (typeof optionsOrCb !== "object")
|
|
118
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
119
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
120
|
-
}
|
|
121
|
-
else {
|
|
122
|
-
return this.send(command, optionsOrCb);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
deleteWorkspace(args, optionsOrCb, cb) {
|
|
126
|
-
const command = new DeleteWorkspaceCommand_1.DeleteWorkspaceCommand(args);
|
|
127
|
-
if (typeof optionsOrCb === "function") {
|
|
128
|
-
this.send(command, optionsOrCb);
|
|
129
|
-
}
|
|
130
|
-
else if (typeof cb === "function") {
|
|
131
|
-
if (typeof optionsOrCb !== "object")
|
|
132
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
133
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
134
|
-
}
|
|
135
|
-
else {
|
|
136
|
-
return this.send(command, optionsOrCb);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
describeAlertManagerDefinition(args, optionsOrCb, cb) {
|
|
140
|
-
const command = new DescribeAlertManagerDefinitionCommand_1.DescribeAlertManagerDefinitionCommand(args);
|
|
141
|
-
if (typeof optionsOrCb === "function") {
|
|
142
|
-
this.send(command, optionsOrCb);
|
|
143
|
-
}
|
|
144
|
-
else if (typeof cb === "function") {
|
|
145
|
-
if (typeof optionsOrCb !== "object")
|
|
146
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
147
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
148
|
-
}
|
|
149
|
-
else {
|
|
150
|
-
return this.send(command, optionsOrCb);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
describeLoggingConfiguration(args, optionsOrCb, cb) {
|
|
154
|
-
const command = new DescribeLoggingConfigurationCommand_1.DescribeLoggingConfigurationCommand(args);
|
|
155
|
-
if (typeof optionsOrCb === "function") {
|
|
156
|
-
this.send(command, optionsOrCb);
|
|
157
|
-
}
|
|
158
|
-
else if (typeof cb === "function") {
|
|
159
|
-
if (typeof optionsOrCb !== "object")
|
|
160
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
161
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
162
|
-
}
|
|
163
|
-
else {
|
|
164
|
-
return this.send(command, optionsOrCb);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
describeRuleGroupsNamespace(args, optionsOrCb, cb) {
|
|
168
|
-
const command = new DescribeRuleGroupsNamespaceCommand_1.DescribeRuleGroupsNamespaceCommand(args);
|
|
169
|
-
if (typeof optionsOrCb === "function") {
|
|
170
|
-
this.send(command, optionsOrCb);
|
|
171
|
-
}
|
|
172
|
-
else if (typeof cb === "function") {
|
|
173
|
-
if (typeof optionsOrCb !== "object")
|
|
174
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
175
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
176
|
-
}
|
|
177
|
-
else {
|
|
178
|
-
return this.send(command, optionsOrCb);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
describeWorkspace(args, optionsOrCb, cb) {
|
|
182
|
-
const command = new DescribeWorkspaceCommand_1.DescribeWorkspaceCommand(args);
|
|
183
|
-
if (typeof optionsOrCb === "function") {
|
|
184
|
-
this.send(command, optionsOrCb);
|
|
185
|
-
}
|
|
186
|
-
else if (typeof cb === "function") {
|
|
187
|
-
if (typeof optionsOrCb !== "object")
|
|
188
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
189
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
190
|
-
}
|
|
191
|
-
else {
|
|
192
|
-
return this.send(command, optionsOrCb);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
listRuleGroupsNamespaces(args, optionsOrCb, cb) {
|
|
196
|
-
const command = new ListRuleGroupsNamespacesCommand_1.ListRuleGroupsNamespacesCommand(args);
|
|
197
|
-
if (typeof optionsOrCb === "function") {
|
|
198
|
-
this.send(command, optionsOrCb);
|
|
199
|
-
}
|
|
200
|
-
else if (typeof cb === "function") {
|
|
201
|
-
if (typeof optionsOrCb !== "object")
|
|
202
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
203
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
204
|
-
}
|
|
205
|
-
else {
|
|
206
|
-
return this.send(command, optionsOrCb);
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
210
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
211
|
-
if (typeof optionsOrCb === "function") {
|
|
212
|
-
this.send(command, optionsOrCb);
|
|
213
|
-
}
|
|
214
|
-
else if (typeof cb === "function") {
|
|
215
|
-
if (typeof optionsOrCb !== "object")
|
|
216
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
217
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
218
|
-
}
|
|
219
|
-
else {
|
|
220
|
-
return this.send(command, optionsOrCb);
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
listWorkspaces(args, optionsOrCb, cb) {
|
|
224
|
-
const command = new ListWorkspacesCommand_1.ListWorkspacesCommand(args);
|
|
225
|
-
if (typeof optionsOrCb === "function") {
|
|
226
|
-
this.send(command, optionsOrCb);
|
|
227
|
-
}
|
|
228
|
-
else if (typeof cb === "function") {
|
|
229
|
-
if (typeof optionsOrCb !== "object")
|
|
230
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
231
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
232
|
-
}
|
|
233
|
-
else {
|
|
234
|
-
return this.send(command, optionsOrCb);
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
putAlertManagerDefinition(args, optionsOrCb, cb) {
|
|
238
|
-
const command = new PutAlertManagerDefinitionCommand_1.PutAlertManagerDefinitionCommand(args);
|
|
239
|
-
if (typeof optionsOrCb === "function") {
|
|
240
|
-
this.send(command, optionsOrCb);
|
|
241
|
-
}
|
|
242
|
-
else if (typeof cb === "function") {
|
|
243
|
-
if (typeof optionsOrCb !== "object")
|
|
244
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
245
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
246
|
-
}
|
|
247
|
-
else {
|
|
248
|
-
return this.send(command, optionsOrCb);
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
putRuleGroupsNamespace(args, optionsOrCb, cb) {
|
|
252
|
-
const command = new PutRuleGroupsNamespaceCommand_1.PutRuleGroupsNamespaceCommand(args);
|
|
253
|
-
if (typeof optionsOrCb === "function") {
|
|
254
|
-
this.send(command, optionsOrCb);
|
|
255
|
-
}
|
|
256
|
-
else if (typeof cb === "function") {
|
|
257
|
-
if (typeof optionsOrCb !== "object")
|
|
258
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
259
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
260
|
-
}
|
|
261
|
-
else {
|
|
262
|
-
return this.send(command, optionsOrCb);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
tagResource(args, optionsOrCb, cb) {
|
|
266
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
267
|
-
if (typeof optionsOrCb === "function") {
|
|
268
|
-
this.send(command, optionsOrCb);
|
|
269
|
-
}
|
|
270
|
-
else if (typeof cb === "function") {
|
|
271
|
-
if (typeof optionsOrCb !== "object")
|
|
272
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
273
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
274
|
-
}
|
|
275
|
-
else {
|
|
276
|
-
return this.send(command, optionsOrCb);
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
untagResource(args, optionsOrCb, cb) {
|
|
280
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
281
|
-
if (typeof optionsOrCb === "function") {
|
|
282
|
-
this.send(command, optionsOrCb);
|
|
283
|
-
}
|
|
284
|
-
else if (typeof cb === "function") {
|
|
285
|
-
if (typeof optionsOrCb !== "object")
|
|
286
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
287
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
288
|
-
}
|
|
289
|
-
else {
|
|
290
|
-
return this.send(command, optionsOrCb);
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
updateLoggingConfiguration(args, optionsOrCb, cb) {
|
|
294
|
-
const command = new UpdateLoggingConfigurationCommand_1.UpdateLoggingConfigurationCommand(args);
|
|
295
|
-
if (typeof optionsOrCb === "function") {
|
|
296
|
-
this.send(command, optionsOrCb);
|
|
297
|
-
}
|
|
298
|
-
else if (typeof cb === "function") {
|
|
299
|
-
if (typeof optionsOrCb !== "object")
|
|
300
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
301
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
302
|
-
}
|
|
303
|
-
else {
|
|
304
|
-
return this.send(command, optionsOrCb);
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
updateWorkspaceAlias(args, optionsOrCb, cb) {
|
|
308
|
-
const command = new UpdateWorkspaceAliasCommand_1.UpdateWorkspaceAliasCommand(args);
|
|
309
|
-
if (typeof optionsOrCb === "function") {
|
|
310
|
-
this.send(command, optionsOrCb);
|
|
311
|
-
}
|
|
312
|
-
else if (typeof cb === "function") {
|
|
313
|
-
if (typeof optionsOrCb !== "object")
|
|
314
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
315
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
316
|
-
}
|
|
317
|
-
else {
|
|
318
|
-
return this.send(command, optionsOrCb);
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
51
|
}
|
|
322
52
|
exports.Amp = Amp;
|
|
53
|
+
(0, smithy_client_1.createAggregatedClient)(commands, Amp);
|
|
@@ -16,7 +16,7 @@ const se_CreateAlertManagerDefinitionCommand = async (input, context) => {
|
|
|
16
16
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
17
17
|
let body;
|
|
18
18
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
19
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
19
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
20
20
|
data: (_) => context.base64Encoder(_),
|
|
21
21
|
}));
|
|
22
22
|
return new protocol_http_1.HttpRequest({
|
|
@@ -39,7 +39,7 @@ const se_CreateLoggingConfigurationCommand = async (input, context) => {
|
|
|
39
39
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
40
40
|
let body;
|
|
41
41
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
42
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
42
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
43
43
|
logGroupArn: [],
|
|
44
44
|
}));
|
|
45
45
|
return new protocol_http_1.HttpRequest({
|
|
@@ -63,7 +63,7 @@ const se_CreateRuleGroupsNamespaceCommand = async (input, context) => {
|
|
|
63
63
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
64
64
|
let body;
|
|
65
65
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
66
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
66
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
67
67
|
data: (_) => context.base64Encoder(_),
|
|
68
68
|
name: [],
|
|
69
69
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -88,7 +88,7 @@ const se_CreateWorkspaceCommand = async (input, context) => {
|
|
|
88
88
|
let body;
|
|
89
89
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
90
90
|
alias: [],
|
|
91
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
91
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
92
92
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
93
93
|
}));
|
|
94
94
|
return new protocol_http_1.HttpRequest({
|
|
@@ -333,7 +333,7 @@ const se_PutAlertManagerDefinitionCommand = async (input, context) => {
|
|
|
333
333
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
334
334
|
let body;
|
|
335
335
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
336
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
336
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
337
337
|
data: (_) => context.base64Encoder(_),
|
|
338
338
|
}));
|
|
339
339
|
return new protocol_http_1.HttpRequest({
|
|
@@ -358,7 +358,7 @@ const se_PutRuleGroupsNamespaceCommand = async (input, context) => {
|
|
|
358
358
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "name", () => input.name, "{name}", false);
|
|
359
359
|
let body;
|
|
360
360
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
361
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
361
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
362
362
|
data: (_) => context.base64Encoder(_),
|
|
363
363
|
}));
|
|
364
364
|
return new protocol_http_1.HttpRequest({
|
|
@@ -427,7 +427,7 @@ const se_UpdateLoggingConfigurationCommand = async (input, context) => {
|
|
|
427
427
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
428
428
|
let body;
|
|
429
429
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
430
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
430
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
431
431
|
logGroupArn: [],
|
|
432
432
|
}));
|
|
433
433
|
return new protocol_http_1.HttpRequest({
|
|
@@ -451,7 +451,7 @@ const se_UpdateWorkspaceAliasCommand = async (input, context) => {
|
|
|
451
451
|
let body;
|
|
452
452
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
453
453
|
alias: [],
|
|
454
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
454
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
455
455
|
}));
|
|
456
456
|
return new protocol_http_1.HttpRequest({
|
|
457
457
|
protocol,
|
package/dist-es/Amp.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { AmpClient } from "./AmpClient";
|
|
2
3
|
import { CreateAlertManagerDefinitionCommand, } from "./commands/CreateAlertManagerDefinitionCommand";
|
|
3
4
|
import { CreateLoggingConfigurationCommand, } from "./commands/CreateLoggingConfigurationCommand";
|
|
@@ -20,299 +21,29 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
20
21
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
21
22
|
import { UpdateLoggingConfigurationCommand, } from "./commands/UpdateLoggingConfigurationCommand";
|
|
22
23
|
import { UpdateWorkspaceAliasCommand, } from "./commands/UpdateWorkspaceAliasCommand";
|
|
24
|
+
const commands = {
|
|
25
|
+
CreateAlertManagerDefinitionCommand,
|
|
26
|
+
CreateLoggingConfigurationCommand,
|
|
27
|
+
CreateRuleGroupsNamespaceCommand,
|
|
28
|
+
CreateWorkspaceCommand,
|
|
29
|
+
DeleteAlertManagerDefinitionCommand,
|
|
30
|
+
DeleteLoggingConfigurationCommand,
|
|
31
|
+
DeleteRuleGroupsNamespaceCommand,
|
|
32
|
+
DeleteWorkspaceCommand,
|
|
33
|
+
DescribeAlertManagerDefinitionCommand,
|
|
34
|
+
DescribeLoggingConfigurationCommand,
|
|
35
|
+
DescribeRuleGroupsNamespaceCommand,
|
|
36
|
+
DescribeWorkspaceCommand,
|
|
37
|
+
ListRuleGroupsNamespacesCommand,
|
|
38
|
+
ListTagsForResourceCommand,
|
|
39
|
+
ListWorkspacesCommand,
|
|
40
|
+
PutAlertManagerDefinitionCommand,
|
|
41
|
+
PutRuleGroupsNamespaceCommand,
|
|
42
|
+
TagResourceCommand,
|
|
43
|
+
UntagResourceCommand,
|
|
44
|
+
UpdateLoggingConfigurationCommand,
|
|
45
|
+
UpdateWorkspaceAliasCommand,
|
|
46
|
+
};
|
|
23
47
|
export class Amp extends AmpClient {
|
|
24
|
-
createAlertManagerDefinition(args, optionsOrCb, cb) {
|
|
25
|
-
const command = new CreateAlertManagerDefinitionCommand(args);
|
|
26
|
-
if (typeof optionsOrCb === "function") {
|
|
27
|
-
this.send(command, optionsOrCb);
|
|
28
|
-
}
|
|
29
|
-
else if (typeof cb === "function") {
|
|
30
|
-
if (typeof optionsOrCb !== "object")
|
|
31
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
32
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
return this.send(command, optionsOrCb);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
createLoggingConfiguration(args, optionsOrCb, cb) {
|
|
39
|
-
const command = new CreateLoggingConfigurationCommand(args);
|
|
40
|
-
if (typeof optionsOrCb === "function") {
|
|
41
|
-
this.send(command, optionsOrCb);
|
|
42
|
-
}
|
|
43
|
-
else if (typeof cb === "function") {
|
|
44
|
-
if (typeof optionsOrCb !== "object")
|
|
45
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
46
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
return this.send(command, optionsOrCb);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
createRuleGroupsNamespace(args, optionsOrCb, cb) {
|
|
53
|
-
const command = new CreateRuleGroupsNamespaceCommand(args);
|
|
54
|
-
if (typeof optionsOrCb === "function") {
|
|
55
|
-
this.send(command, optionsOrCb);
|
|
56
|
-
}
|
|
57
|
-
else if (typeof cb === "function") {
|
|
58
|
-
if (typeof optionsOrCb !== "object")
|
|
59
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
60
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
61
|
-
}
|
|
62
|
-
else {
|
|
63
|
-
return this.send(command, optionsOrCb);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
createWorkspace(args, optionsOrCb, cb) {
|
|
67
|
-
const command = new CreateWorkspaceCommand(args);
|
|
68
|
-
if (typeof optionsOrCb === "function") {
|
|
69
|
-
this.send(command, optionsOrCb);
|
|
70
|
-
}
|
|
71
|
-
else if (typeof cb === "function") {
|
|
72
|
-
if (typeof optionsOrCb !== "object")
|
|
73
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
74
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
75
|
-
}
|
|
76
|
-
else {
|
|
77
|
-
return this.send(command, optionsOrCb);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
deleteAlertManagerDefinition(args, optionsOrCb, cb) {
|
|
81
|
-
const command = new DeleteAlertManagerDefinitionCommand(args);
|
|
82
|
-
if (typeof optionsOrCb === "function") {
|
|
83
|
-
this.send(command, optionsOrCb);
|
|
84
|
-
}
|
|
85
|
-
else if (typeof cb === "function") {
|
|
86
|
-
if (typeof optionsOrCb !== "object")
|
|
87
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
88
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
89
|
-
}
|
|
90
|
-
else {
|
|
91
|
-
return this.send(command, optionsOrCb);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
deleteLoggingConfiguration(args, optionsOrCb, cb) {
|
|
95
|
-
const command = new DeleteLoggingConfigurationCommand(args);
|
|
96
|
-
if (typeof optionsOrCb === "function") {
|
|
97
|
-
this.send(command, optionsOrCb);
|
|
98
|
-
}
|
|
99
|
-
else if (typeof cb === "function") {
|
|
100
|
-
if (typeof optionsOrCb !== "object")
|
|
101
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
102
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
103
|
-
}
|
|
104
|
-
else {
|
|
105
|
-
return this.send(command, optionsOrCb);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
deleteRuleGroupsNamespace(args, optionsOrCb, cb) {
|
|
109
|
-
const command = new DeleteRuleGroupsNamespaceCommand(args);
|
|
110
|
-
if (typeof optionsOrCb === "function") {
|
|
111
|
-
this.send(command, optionsOrCb);
|
|
112
|
-
}
|
|
113
|
-
else if (typeof cb === "function") {
|
|
114
|
-
if (typeof optionsOrCb !== "object")
|
|
115
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
116
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
117
|
-
}
|
|
118
|
-
else {
|
|
119
|
-
return this.send(command, optionsOrCb);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
deleteWorkspace(args, optionsOrCb, cb) {
|
|
123
|
-
const command = new DeleteWorkspaceCommand(args);
|
|
124
|
-
if (typeof optionsOrCb === "function") {
|
|
125
|
-
this.send(command, optionsOrCb);
|
|
126
|
-
}
|
|
127
|
-
else if (typeof cb === "function") {
|
|
128
|
-
if (typeof optionsOrCb !== "object")
|
|
129
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
130
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
131
|
-
}
|
|
132
|
-
else {
|
|
133
|
-
return this.send(command, optionsOrCb);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
describeAlertManagerDefinition(args, optionsOrCb, cb) {
|
|
137
|
-
const command = new DescribeAlertManagerDefinitionCommand(args);
|
|
138
|
-
if (typeof optionsOrCb === "function") {
|
|
139
|
-
this.send(command, optionsOrCb);
|
|
140
|
-
}
|
|
141
|
-
else if (typeof cb === "function") {
|
|
142
|
-
if (typeof optionsOrCb !== "object")
|
|
143
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
144
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
145
|
-
}
|
|
146
|
-
else {
|
|
147
|
-
return this.send(command, optionsOrCb);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
describeLoggingConfiguration(args, optionsOrCb, cb) {
|
|
151
|
-
const command = new DescribeLoggingConfigurationCommand(args);
|
|
152
|
-
if (typeof optionsOrCb === "function") {
|
|
153
|
-
this.send(command, optionsOrCb);
|
|
154
|
-
}
|
|
155
|
-
else if (typeof cb === "function") {
|
|
156
|
-
if (typeof optionsOrCb !== "object")
|
|
157
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
158
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
159
|
-
}
|
|
160
|
-
else {
|
|
161
|
-
return this.send(command, optionsOrCb);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
describeRuleGroupsNamespace(args, optionsOrCb, cb) {
|
|
165
|
-
const command = new DescribeRuleGroupsNamespaceCommand(args);
|
|
166
|
-
if (typeof optionsOrCb === "function") {
|
|
167
|
-
this.send(command, optionsOrCb);
|
|
168
|
-
}
|
|
169
|
-
else if (typeof cb === "function") {
|
|
170
|
-
if (typeof optionsOrCb !== "object")
|
|
171
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
172
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
173
|
-
}
|
|
174
|
-
else {
|
|
175
|
-
return this.send(command, optionsOrCb);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
describeWorkspace(args, optionsOrCb, cb) {
|
|
179
|
-
const command = new DescribeWorkspaceCommand(args);
|
|
180
|
-
if (typeof optionsOrCb === "function") {
|
|
181
|
-
this.send(command, optionsOrCb);
|
|
182
|
-
}
|
|
183
|
-
else if (typeof cb === "function") {
|
|
184
|
-
if (typeof optionsOrCb !== "object")
|
|
185
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
186
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
187
|
-
}
|
|
188
|
-
else {
|
|
189
|
-
return this.send(command, optionsOrCb);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
listRuleGroupsNamespaces(args, optionsOrCb, cb) {
|
|
193
|
-
const command = new ListRuleGroupsNamespacesCommand(args);
|
|
194
|
-
if (typeof optionsOrCb === "function") {
|
|
195
|
-
this.send(command, optionsOrCb);
|
|
196
|
-
}
|
|
197
|
-
else if (typeof cb === "function") {
|
|
198
|
-
if (typeof optionsOrCb !== "object")
|
|
199
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
200
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
201
|
-
}
|
|
202
|
-
else {
|
|
203
|
-
return this.send(command, optionsOrCb);
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
207
|
-
const command = new ListTagsForResourceCommand(args);
|
|
208
|
-
if (typeof optionsOrCb === "function") {
|
|
209
|
-
this.send(command, optionsOrCb);
|
|
210
|
-
}
|
|
211
|
-
else if (typeof cb === "function") {
|
|
212
|
-
if (typeof optionsOrCb !== "object")
|
|
213
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
214
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
215
|
-
}
|
|
216
|
-
else {
|
|
217
|
-
return this.send(command, optionsOrCb);
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
listWorkspaces(args, optionsOrCb, cb) {
|
|
221
|
-
const command = new ListWorkspacesCommand(args);
|
|
222
|
-
if (typeof optionsOrCb === "function") {
|
|
223
|
-
this.send(command, optionsOrCb);
|
|
224
|
-
}
|
|
225
|
-
else if (typeof cb === "function") {
|
|
226
|
-
if (typeof optionsOrCb !== "object")
|
|
227
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
228
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
229
|
-
}
|
|
230
|
-
else {
|
|
231
|
-
return this.send(command, optionsOrCb);
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
putAlertManagerDefinition(args, optionsOrCb, cb) {
|
|
235
|
-
const command = new PutAlertManagerDefinitionCommand(args);
|
|
236
|
-
if (typeof optionsOrCb === "function") {
|
|
237
|
-
this.send(command, optionsOrCb);
|
|
238
|
-
}
|
|
239
|
-
else if (typeof cb === "function") {
|
|
240
|
-
if (typeof optionsOrCb !== "object")
|
|
241
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
242
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
243
|
-
}
|
|
244
|
-
else {
|
|
245
|
-
return this.send(command, optionsOrCb);
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
putRuleGroupsNamespace(args, optionsOrCb, cb) {
|
|
249
|
-
const command = new PutRuleGroupsNamespaceCommand(args);
|
|
250
|
-
if (typeof optionsOrCb === "function") {
|
|
251
|
-
this.send(command, optionsOrCb);
|
|
252
|
-
}
|
|
253
|
-
else if (typeof cb === "function") {
|
|
254
|
-
if (typeof optionsOrCb !== "object")
|
|
255
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
256
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
257
|
-
}
|
|
258
|
-
else {
|
|
259
|
-
return this.send(command, optionsOrCb);
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
tagResource(args, optionsOrCb, cb) {
|
|
263
|
-
const command = new TagResourceCommand(args);
|
|
264
|
-
if (typeof optionsOrCb === "function") {
|
|
265
|
-
this.send(command, optionsOrCb);
|
|
266
|
-
}
|
|
267
|
-
else if (typeof cb === "function") {
|
|
268
|
-
if (typeof optionsOrCb !== "object")
|
|
269
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
270
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
271
|
-
}
|
|
272
|
-
else {
|
|
273
|
-
return this.send(command, optionsOrCb);
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
untagResource(args, optionsOrCb, cb) {
|
|
277
|
-
const command = new UntagResourceCommand(args);
|
|
278
|
-
if (typeof optionsOrCb === "function") {
|
|
279
|
-
this.send(command, optionsOrCb);
|
|
280
|
-
}
|
|
281
|
-
else if (typeof cb === "function") {
|
|
282
|
-
if (typeof optionsOrCb !== "object")
|
|
283
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
284
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
285
|
-
}
|
|
286
|
-
else {
|
|
287
|
-
return this.send(command, optionsOrCb);
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
updateLoggingConfiguration(args, optionsOrCb, cb) {
|
|
291
|
-
const command = new UpdateLoggingConfigurationCommand(args);
|
|
292
|
-
if (typeof optionsOrCb === "function") {
|
|
293
|
-
this.send(command, optionsOrCb);
|
|
294
|
-
}
|
|
295
|
-
else if (typeof cb === "function") {
|
|
296
|
-
if (typeof optionsOrCb !== "object")
|
|
297
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
298
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
299
|
-
}
|
|
300
|
-
else {
|
|
301
|
-
return this.send(command, optionsOrCb);
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
updateWorkspaceAlias(args, optionsOrCb, cb) {
|
|
305
|
-
const command = new UpdateWorkspaceAliasCommand(args);
|
|
306
|
-
if (typeof optionsOrCb === "function") {
|
|
307
|
-
this.send(command, optionsOrCb);
|
|
308
|
-
}
|
|
309
|
-
else if (typeof cb === "function") {
|
|
310
|
-
if (typeof optionsOrCb !== "object")
|
|
311
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
312
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
313
|
-
}
|
|
314
|
-
else {
|
|
315
|
-
return this.send(command, optionsOrCb);
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
48
|
}
|
|
49
|
+
createAggregatedClient(commands, Amp);
|
|
@@ -13,7 +13,7 @@ export const se_CreateAlertManagerDefinitionCommand = async (input, context) =>
|
|
|
13
13
|
resolvedPath = __resolvedPath(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
14
14
|
let body;
|
|
15
15
|
body = JSON.stringify(take(input, {
|
|
16
|
-
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
16
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
17
17
|
data: (_) => context.base64Encoder(_),
|
|
18
18
|
}));
|
|
19
19
|
return new __HttpRequest({
|
|
@@ -35,7 +35,7 @@ export const se_CreateLoggingConfigurationCommand = async (input, context) => {
|
|
|
35
35
|
resolvedPath = __resolvedPath(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
36
36
|
let body;
|
|
37
37
|
body = JSON.stringify(take(input, {
|
|
38
|
-
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
38
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
39
39
|
logGroupArn: [],
|
|
40
40
|
}));
|
|
41
41
|
return new __HttpRequest({
|
|
@@ -58,7 +58,7 @@ export const se_CreateRuleGroupsNamespaceCommand = async (input, context) => {
|
|
|
58
58
|
resolvedPath = __resolvedPath(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
59
59
|
let body;
|
|
60
60
|
body = JSON.stringify(take(input, {
|
|
61
|
-
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
61
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
62
62
|
data: (_) => context.base64Encoder(_),
|
|
63
63
|
name: [],
|
|
64
64
|
tags: (_) => _json(_),
|
|
@@ -82,7 +82,7 @@ export const se_CreateWorkspaceCommand = async (input, context) => {
|
|
|
82
82
|
let body;
|
|
83
83
|
body = JSON.stringify(take(input, {
|
|
84
84
|
alias: [],
|
|
85
|
-
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
85
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
86
86
|
tags: (_) => _json(_),
|
|
87
87
|
}));
|
|
88
88
|
return new __HttpRequest({
|
|
@@ -315,7 +315,7 @@ export const se_PutAlertManagerDefinitionCommand = async (input, context) => {
|
|
|
315
315
|
resolvedPath = __resolvedPath(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
316
316
|
let body;
|
|
317
317
|
body = JSON.stringify(take(input, {
|
|
318
|
-
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
318
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
319
319
|
data: (_) => context.base64Encoder(_),
|
|
320
320
|
}));
|
|
321
321
|
return new __HttpRequest({
|
|
@@ -339,7 +339,7 @@ export const se_PutRuleGroupsNamespaceCommand = async (input, context) => {
|
|
|
339
339
|
resolvedPath = __resolvedPath(resolvedPath, input, "name", () => input.name, "{name}", false);
|
|
340
340
|
let body;
|
|
341
341
|
body = JSON.stringify(take(input, {
|
|
342
|
-
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
342
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
343
343
|
data: (_) => context.base64Encoder(_),
|
|
344
344
|
}));
|
|
345
345
|
return new __HttpRequest({
|
|
@@ -405,7 +405,7 @@ export const se_UpdateLoggingConfigurationCommand = async (input, context) => {
|
|
|
405
405
|
resolvedPath = __resolvedPath(resolvedPath, input, "workspaceId", () => input.workspaceId, "{workspaceId}", false);
|
|
406
406
|
let body;
|
|
407
407
|
body = JSON.stringify(take(input, {
|
|
408
|
-
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
408
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
409
409
|
logGroupArn: [],
|
|
410
410
|
}));
|
|
411
411
|
return new __HttpRequest({
|
|
@@ -428,7 +428,7 @@ export const se_UpdateWorkspaceAliasCommand = async (input, context) => {
|
|
|
428
428
|
let body;
|
|
429
429
|
body = JSON.stringify(take(input, {
|
|
430
430
|
alias: [],
|
|
431
|
-
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
431
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
432
432
|
}));
|
|
433
433
|
return new __HttpRequest({
|
|
434
434
|
protocol,
|
package/dist-types/Amp.d.ts
CHANGED
|
@@ -21,156 +21,137 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
21
21
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
22
22
|
import { UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput } from "./commands/UpdateLoggingConfigurationCommand";
|
|
23
23
|
import { UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput } from "./commands/UpdateWorkspaceAliasCommand";
|
|
24
|
-
|
|
25
|
-
* @public
|
|
26
|
-
* Amazon Managed Service for Prometheus
|
|
27
|
-
*/
|
|
28
|
-
export declare class Amp extends AmpClient {
|
|
24
|
+
export interface Amp {
|
|
29
25
|
/**
|
|
30
|
-
* @
|
|
31
|
-
* Create an alert manager definition.
|
|
26
|
+
* @see {@link CreateAlertManagerDefinitionCommand}
|
|
32
27
|
*/
|
|
33
28
|
createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<CreateAlertManagerDefinitionCommandOutput>;
|
|
34
29
|
createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, cb: (err: any, data?: CreateAlertManagerDefinitionCommandOutput) => void): void;
|
|
35
30
|
createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAlertManagerDefinitionCommandOutput) => void): void;
|
|
36
31
|
/**
|
|
37
|
-
* @
|
|
38
|
-
* Create logging configuration.
|
|
32
|
+
* @see {@link CreateLoggingConfigurationCommand}
|
|
39
33
|
*/
|
|
40
34
|
createLoggingConfiguration(args: CreateLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateLoggingConfigurationCommandOutput>;
|
|
41
35
|
createLoggingConfiguration(args: CreateLoggingConfigurationCommandInput, cb: (err: any, data?: CreateLoggingConfigurationCommandOutput) => void): void;
|
|
42
36
|
createLoggingConfiguration(args: CreateLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLoggingConfigurationCommandOutput) => void): void;
|
|
43
37
|
/**
|
|
44
|
-
* @
|
|
45
|
-
* Create a rule group namespace.
|
|
38
|
+
* @see {@link CreateRuleGroupsNamespaceCommand}
|
|
46
39
|
*/
|
|
47
40
|
createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateRuleGroupsNamespaceCommandOutput>;
|
|
48
41
|
createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, cb: (err: any, data?: CreateRuleGroupsNamespaceCommandOutput) => void): void;
|
|
49
42
|
createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleGroupsNamespaceCommandOutput) => void): void;
|
|
50
43
|
/**
|
|
51
|
-
* @
|
|
52
|
-
* Creates a new AMP workspace.
|
|
44
|
+
* @see {@link CreateWorkspaceCommand}
|
|
53
45
|
*/
|
|
54
46
|
createWorkspace(args: CreateWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkspaceCommandOutput>;
|
|
55
47
|
createWorkspace(args: CreateWorkspaceCommandInput, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void;
|
|
56
48
|
createWorkspace(args: CreateWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void;
|
|
57
49
|
/**
|
|
58
|
-
* @
|
|
59
|
-
* Deletes an alert manager definition.
|
|
50
|
+
* @see {@link DeleteAlertManagerDefinitionCommand}
|
|
60
51
|
*/
|
|
61
52
|
deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAlertManagerDefinitionCommandOutput>;
|
|
62
53
|
deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, cb: (err: any, data?: DeleteAlertManagerDefinitionCommandOutput) => void): void;
|
|
63
54
|
deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAlertManagerDefinitionCommandOutput) => void): void;
|
|
64
55
|
/**
|
|
65
|
-
* @
|
|
66
|
-
* Delete logging configuration.
|
|
56
|
+
* @see {@link DeleteLoggingConfigurationCommand}
|
|
67
57
|
*/
|
|
68
58
|
deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLoggingConfigurationCommandOutput>;
|
|
69
59
|
deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void): void;
|
|
70
60
|
deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void): void;
|
|
71
61
|
/**
|
|
72
|
-
* @
|
|
73
|
-
* Delete a rule groups namespace.
|
|
62
|
+
* @see {@link DeleteRuleGroupsNamespaceCommand}
|
|
74
63
|
*/
|
|
75
64
|
deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleGroupsNamespaceCommandOutput>;
|
|
76
65
|
deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, cb: (err: any, data?: DeleteRuleGroupsNamespaceCommandOutput) => void): void;
|
|
77
66
|
deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleGroupsNamespaceCommandOutput) => void): void;
|
|
78
67
|
/**
|
|
79
|
-
* @
|
|
80
|
-
* Deletes an AMP workspace.
|
|
68
|
+
* @see {@link DeleteWorkspaceCommand}
|
|
81
69
|
*/
|
|
82
70
|
deleteWorkspace(args: DeleteWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkspaceCommandOutput>;
|
|
83
71
|
deleteWorkspace(args: DeleteWorkspaceCommandInput, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void;
|
|
84
72
|
deleteWorkspace(args: DeleteWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void;
|
|
85
73
|
/**
|
|
86
|
-
* @
|
|
87
|
-
* Describes an alert manager definition.
|
|
74
|
+
* @see {@link DescribeAlertManagerDefinitionCommand}
|
|
88
75
|
*/
|
|
89
76
|
describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAlertManagerDefinitionCommandOutput>;
|
|
90
77
|
describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, cb: (err: any, data?: DescribeAlertManagerDefinitionCommandOutput) => void): void;
|
|
91
78
|
describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAlertManagerDefinitionCommandOutput) => void): void;
|
|
92
79
|
/**
|
|
93
|
-
* @
|
|
94
|
-
* Describes logging configuration.
|
|
80
|
+
* @see {@link DescribeLoggingConfigurationCommand}
|
|
95
81
|
*/
|
|
96
82
|
describeLoggingConfiguration(args: DescribeLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLoggingConfigurationCommandOutput>;
|
|
97
83
|
describeLoggingConfiguration(args: DescribeLoggingConfigurationCommandInput, cb: (err: any, data?: DescribeLoggingConfigurationCommandOutput) => void): void;
|
|
98
84
|
describeLoggingConfiguration(args: DescribeLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLoggingConfigurationCommandOutput) => void): void;
|
|
99
85
|
/**
|
|
100
|
-
* @
|
|
101
|
-
* Describe a rule groups namespace.
|
|
86
|
+
* @see {@link DescribeRuleGroupsNamespaceCommand}
|
|
102
87
|
*/
|
|
103
88
|
describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRuleGroupsNamespaceCommandOutput>;
|
|
104
89
|
describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, cb: (err: any, data?: DescribeRuleGroupsNamespaceCommandOutput) => void): void;
|
|
105
90
|
describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRuleGroupsNamespaceCommandOutput) => void): void;
|
|
106
91
|
/**
|
|
107
|
-
* @
|
|
108
|
-
* Describes an existing AMP workspace.
|
|
92
|
+
* @see {@link DescribeWorkspaceCommand}
|
|
109
93
|
*/
|
|
110
94
|
describeWorkspace(args: DescribeWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkspaceCommandOutput>;
|
|
111
95
|
describeWorkspace(args: DescribeWorkspaceCommandInput, cb: (err: any, data?: DescribeWorkspaceCommandOutput) => void): void;
|
|
112
96
|
describeWorkspace(args: DescribeWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkspaceCommandOutput) => void): void;
|
|
113
97
|
/**
|
|
114
|
-
* @
|
|
115
|
-
* Lists rule groups namespaces.
|
|
98
|
+
* @see {@link ListRuleGroupsNamespacesCommand}
|
|
116
99
|
*/
|
|
117
100
|
listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, options?: __HttpHandlerOptions): Promise<ListRuleGroupsNamespacesCommandOutput>;
|
|
118
101
|
listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, cb: (err: any, data?: ListRuleGroupsNamespacesCommandOutput) => void): void;
|
|
119
102
|
listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRuleGroupsNamespacesCommandOutput) => void): void;
|
|
120
103
|
/**
|
|
121
|
-
* @
|
|
122
|
-
* Lists the tags you have assigned to the resource.
|
|
104
|
+
* @see {@link ListTagsForResourceCommand}
|
|
123
105
|
*/
|
|
124
106
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
125
107
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
126
108
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
127
109
|
/**
|
|
128
|
-
* @
|
|
129
|
-
* Lists all AMP workspaces, including workspaces being created or deleted.
|
|
110
|
+
* @see {@link ListWorkspacesCommand}
|
|
130
111
|
*/
|
|
131
112
|
listWorkspaces(args: ListWorkspacesCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkspacesCommandOutput>;
|
|
132
113
|
listWorkspaces(args: ListWorkspacesCommandInput, cb: (err: any, data?: ListWorkspacesCommandOutput) => void): void;
|
|
133
114
|
listWorkspaces(args: ListWorkspacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkspacesCommandOutput) => void): void;
|
|
134
115
|
/**
|
|
135
|
-
* @
|
|
136
|
-
* Update an alert manager definition.
|
|
116
|
+
* @see {@link PutAlertManagerDefinitionCommand}
|
|
137
117
|
*/
|
|
138
118
|
putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<PutAlertManagerDefinitionCommandOutput>;
|
|
139
119
|
putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, cb: (err: any, data?: PutAlertManagerDefinitionCommandOutput) => void): void;
|
|
140
120
|
putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAlertManagerDefinitionCommandOutput) => void): void;
|
|
141
121
|
/**
|
|
142
|
-
* @
|
|
143
|
-
* Update a rule groups namespace.
|
|
122
|
+
* @see {@link PutRuleGroupsNamespaceCommand}
|
|
144
123
|
*/
|
|
145
124
|
putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<PutRuleGroupsNamespaceCommandOutput>;
|
|
146
125
|
putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, cb: (err: any, data?: PutRuleGroupsNamespaceCommandOutput) => void): void;
|
|
147
126
|
putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRuleGroupsNamespaceCommandOutput) => void): void;
|
|
148
127
|
/**
|
|
149
|
-
* @
|
|
150
|
-
* Creates tags for the specified resource.
|
|
128
|
+
* @see {@link TagResourceCommand}
|
|
151
129
|
*/
|
|
152
130
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
153
131
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
154
132
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
155
133
|
/**
|
|
156
|
-
* @
|
|
157
|
-
* Deletes tags from the specified resource.
|
|
134
|
+
* @see {@link UntagResourceCommand}
|
|
158
135
|
*/
|
|
159
136
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
160
137
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
161
138
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
162
139
|
/**
|
|
163
|
-
* @
|
|
164
|
-
* Update logging configuration.
|
|
140
|
+
* @see {@link UpdateLoggingConfigurationCommand}
|
|
165
141
|
*/
|
|
166
142
|
updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLoggingConfigurationCommandOutput>;
|
|
167
143
|
updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void): void;
|
|
168
144
|
updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void): void;
|
|
169
145
|
/**
|
|
170
|
-
* @
|
|
171
|
-
* Updates an AMP workspace alias.
|
|
146
|
+
* @see {@link UpdateWorkspaceAliasCommand}
|
|
172
147
|
*/
|
|
173
148
|
updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkspaceAliasCommandOutput>;
|
|
174
149
|
updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, cb: (err: any, data?: UpdateWorkspaceAliasCommandOutput) => void): void;
|
|
175
150
|
updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkspaceAliasCommandOutput) => void): void;
|
|
176
151
|
}
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
* Amazon Managed Service for Prometheus
|
|
155
|
+
*/
|
|
156
|
+
export declare class Amp extends AmpClient implements Amp {
|
|
157
|
+
}
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
UpdateWorkspaceAliasCommandInput,
|
|
85
85
|
UpdateWorkspaceAliasCommandOutput,
|
|
86
86
|
} from "./commands/UpdateWorkspaceAliasCommand";
|
|
87
|
-
export
|
|
87
|
+
export interface Amp {
|
|
88
88
|
createAlertManagerDefinition(
|
|
89
89
|
args: CreateAlertManagerDefinitionCommandInput,
|
|
90
90
|
options?: __HttpHandlerOptions
|
|
@@ -359,3 +359,4 @@ export declare class Amp extends AmpClient {
|
|
|
359
359
|
cb: (err: any, data?: UpdateWorkspaceAliasCommandOutput) => void
|
|
360
360
|
): void;
|
|
361
361
|
}
|
|
362
|
+
export declare class Amp extends AmpClient implements Amp {}
|
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.316.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|