@aws-sdk/client-codeguruprofiler 3.241.0 → 3.252.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.
|
@@ -38,11 +38,8 @@ const serializeAws_restJson1BatchGetFrameMetricDataCommand = async (input, conte
|
|
|
38
38
|
"/profilingGroups/{profilingGroupName}/frames/-/metrics";
|
|
39
39
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
40
40
|
const query = map({
|
|
41
|
-
startTime: [
|
|
42
|
-
|
|
43
|
-
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
44
|
-
],
|
|
45
|
-
endTime: [() => input.endTime !== void 0, () => (input.endTime.toISOString().split(".")[0] + "Z").toString()],
|
|
41
|
+
startTime: [() => input.startTime !== void 0, () => input.startTime.toISOString().split(".")[0] + "Z"],
|
|
42
|
+
endTime: [() => input.endTime !== void 0, () => input.endTime.toISOString().split(".")[0] + "Z"],
|
|
46
43
|
period: [, input.period],
|
|
47
44
|
targetResolution: [, input.targetResolution],
|
|
48
45
|
});
|
|
@@ -219,12 +216,9 @@ const serializeAws_restJson1GetProfileCommand = async (input, context) => {
|
|
|
219
216
|
"/profilingGroups/{profilingGroupName}/profile";
|
|
220
217
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
221
218
|
const query = map({
|
|
222
|
-
startTime: [
|
|
223
|
-
() => input.startTime !== void 0,
|
|
224
|
-
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
225
|
-
],
|
|
219
|
+
startTime: [() => input.startTime !== void 0, () => input.startTime.toISOString().split(".")[0] + "Z"],
|
|
226
220
|
period: [, input.period],
|
|
227
|
-
endTime: [() => input.endTime !== void 0, () =>
|
|
221
|
+
endTime: [() => input.endTime !== void 0, () => input.endTime.toISOString().split(".")[0] + "Z"],
|
|
228
222
|
maxDepth: [() => input.maxDepth !== void 0, () => input.maxDepth.toString()],
|
|
229
223
|
});
|
|
230
224
|
let body;
|
|
@@ -249,11 +243,11 @@ const serializeAws_restJson1GetRecommendationsCommand = async (input, context) =
|
|
|
249
243
|
const query = map({
|
|
250
244
|
startTime: [
|
|
251
245
|
(0, smithy_client_1.expectNonNull)(input.startTime, `startTime`) != null,
|
|
252
|
-
() =>
|
|
246
|
+
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
253
247
|
],
|
|
254
248
|
endTime: [
|
|
255
249
|
(0, smithy_client_1.expectNonNull)(input.endTime, `endTime`) != null,
|
|
256
|
-
() =>
|
|
250
|
+
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
257
251
|
],
|
|
258
252
|
locale: [, input.locale],
|
|
259
253
|
});
|
|
@@ -279,11 +273,11 @@ const serializeAws_restJson1ListFindingsReportsCommand = async (input, context)
|
|
|
279
273
|
const query = map({
|
|
280
274
|
startTime: [
|
|
281
275
|
(0, smithy_client_1.expectNonNull)(input.startTime, `startTime`) != null,
|
|
282
|
-
() =>
|
|
276
|
+
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
283
277
|
],
|
|
284
278
|
endTime: [
|
|
285
279
|
(0, smithy_client_1.expectNonNull)(input.endTime, `endTime`) != null,
|
|
286
|
-
() =>
|
|
280
|
+
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
287
281
|
],
|
|
288
282
|
nextToken: [, input.nextToken],
|
|
289
283
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
@@ -311,11 +305,11 @@ const serializeAws_restJson1ListProfileTimesCommand = async (input, context) =>
|
|
|
311
305
|
const query = map({
|
|
312
306
|
startTime: [
|
|
313
307
|
(0, smithy_client_1.expectNonNull)(input.startTime, `startTime`) != null,
|
|
314
|
-
() =>
|
|
308
|
+
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
315
309
|
],
|
|
316
310
|
endTime: [
|
|
317
311
|
(0, smithy_client_1.expectNonNull)(input.endTime, `endTime`) != null,
|
|
318
|
-
() =>
|
|
312
|
+
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
319
313
|
],
|
|
320
314
|
period: [, (0, smithy_client_1.expectNonNull)(input.period, `period`)],
|
|
321
315
|
orderBy: [, input.orderBy],
|
|
@@ -34,11 +34,8 @@ export const serializeAws_restJson1BatchGetFrameMetricDataCommand = async (input
|
|
|
34
34
|
"/profilingGroups/{profilingGroupName}/frames/-/metrics";
|
|
35
35
|
resolvedPath = __resolvedPath(resolvedPath, input, "profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
36
36
|
const query = map({
|
|
37
|
-
startTime: [
|
|
38
|
-
|
|
39
|
-
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
40
|
-
],
|
|
41
|
-
endTime: [() => input.endTime !== void 0, () => (input.endTime.toISOString().split(".")[0] + "Z").toString()],
|
|
37
|
+
startTime: [() => input.startTime !== void 0, () => input.startTime.toISOString().split(".")[0] + "Z"],
|
|
38
|
+
endTime: [() => input.endTime !== void 0, () => input.endTime.toISOString().split(".")[0] + "Z"],
|
|
42
39
|
period: [, input.period],
|
|
43
40
|
targetResolution: [, input.targetResolution],
|
|
44
41
|
});
|
|
@@ -207,12 +204,9 @@ export const serializeAws_restJson1GetProfileCommand = async (input, context) =>
|
|
|
207
204
|
"/profilingGroups/{profilingGroupName}/profile";
|
|
208
205
|
resolvedPath = __resolvedPath(resolvedPath, input, "profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
209
206
|
const query = map({
|
|
210
|
-
startTime: [
|
|
211
|
-
() => input.startTime !== void 0,
|
|
212
|
-
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
213
|
-
],
|
|
207
|
+
startTime: [() => input.startTime !== void 0, () => input.startTime.toISOString().split(".")[0] + "Z"],
|
|
214
208
|
period: [, input.period],
|
|
215
|
-
endTime: [() => input.endTime !== void 0, () =>
|
|
209
|
+
endTime: [() => input.endTime !== void 0, () => input.endTime.toISOString().split(".")[0] + "Z"],
|
|
216
210
|
maxDepth: [() => input.maxDepth !== void 0, () => input.maxDepth.toString()],
|
|
217
211
|
});
|
|
218
212
|
let body;
|
|
@@ -236,11 +230,11 @@ export const serializeAws_restJson1GetRecommendationsCommand = async (input, con
|
|
|
236
230
|
const query = map({
|
|
237
231
|
startTime: [
|
|
238
232
|
__expectNonNull(input.startTime, `startTime`) != null,
|
|
239
|
-
() =>
|
|
233
|
+
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
240
234
|
],
|
|
241
235
|
endTime: [
|
|
242
236
|
__expectNonNull(input.endTime, `endTime`) != null,
|
|
243
|
-
() =>
|
|
237
|
+
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
244
238
|
],
|
|
245
239
|
locale: [, input.locale],
|
|
246
240
|
});
|
|
@@ -265,11 +259,11 @@ export const serializeAws_restJson1ListFindingsReportsCommand = async (input, co
|
|
|
265
259
|
const query = map({
|
|
266
260
|
startTime: [
|
|
267
261
|
__expectNonNull(input.startTime, `startTime`) != null,
|
|
268
|
-
() =>
|
|
262
|
+
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
269
263
|
],
|
|
270
264
|
endTime: [
|
|
271
265
|
__expectNonNull(input.endTime, `endTime`) != null,
|
|
272
|
-
() =>
|
|
266
|
+
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
273
267
|
],
|
|
274
268
|
nextToken: [, input.nextToken],
|
|
275
269
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
@@ -296,11 +290,11 @@ export const serializeAws_restJson1ListProfileTimesCommand = async (input, conte
|
|
|
296
290
|
const query = map({
|
|
297
291
|
startTime: [
|
|
298
292
|
__expectNonNull(input.startTime, `startTime`) != null,
|
|
299
|
-
() =>
|
|
293
|
+
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
300
294
|
],
|
|
301
295
|
endTime: [
|
|
302
296
|
__expectNonNull(input.endTime, `endTime`) != null,
|
|
303
|
-
() =>
|
|
297
|
+
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
304
298
|
],
|
|
305
299
|
period: [, __expectNonNull(input.period, `period`)],
|
|
306
300
|
orderBy: [, input.orderBy],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codeguruprofiler",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codeguruprofiler Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.252.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",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
-
"generate:client": "
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo codeguruprofiler"
|
|
15
15
|
},
|
|
16
16
|
"main": "./dist-cjs/index.js",
|
|
17
17
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.252.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.252.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.226.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.226.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.234.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-node": "3.234.0",
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.245.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.229.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.226.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-node": "3.226.0",
|