@aws-sdk/client-codeguruprofiler 3.252.0 → 3.254.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,8 +38,11 @@ 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
|
-
|
|
41
|
+
startTime: [
|
|
42
|
+
() => input.startTime !== void 0,
|
|
43
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
44
|
+
],
|
|
45
|
+
endTime: [() => input.endTime !== void 0, () => (input.endTime.toISOString().split(".")[0] + "Z").toString()],
|
|
43
46
|
period: [, input.period],
|
|
44
47
|
targetResolution: [, input.targetResolution],
|
|
45
48
|
});
|
|
@@ -216,9 +219,12 @@ const serializeAws_restJson1GetProfileCommand = async (input, context) => {
|
|
|
216
219
|
"/profilingGroups/{profilingGroupName}/profile";
|
|
217
220
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
218
221
|
const query = map({
|
|
219
|
-
startTime: [
|
|
222
|
+
startTime: [
|
|
223
|
+
() => input.startTime !== void 0,
|
|
224
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
225
|
+
],
|
|
220
226
|
period: [, input.period],
|
|
221
|
-
endTime: [() => input.endTime !== void 0, () => input.endTime.toISOString().split(".")[0] + "Z"],
|
|
227
|
+
endTime: [() => input.endTime !== void 0, () => (input.endTime.toISOString().split(".")[0] + "Z").toString()],
|
|
222
228
|
maxDepth: [() => input.maxDepth !== void 0, () => input.maxDepth.toString()],
|
|
223
229
|
});
|
|
224
230
|
let body;
|
|
@@ -243,11 +249,11 @@ const serializeAws_restJson1GetRecommendationsCommand = async (input, context) =
|
|
|
243
249
|
const query = map({
|
|
244
250
|
startTime: [
|
|
245
251
|
(0, smithy_client_1.expectNonNull)(input.startTime, `startTime`) != null,
|
|
246
|
-
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
252
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
247
253
|
],
|
|
248
254
|
endTime: [
|
|
249
255
|
(0, smithy_client_1.expectNonNull)(input.endTime, `endTime`) != null,
|
|
250
|
-
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
256
|
+
() => (input.endTime.toISOString().split(".")[0] + "Z").toString(),
|
|
251
257
|
],
|
|
252
258
|
locale: [, input.locale],
|
|
253
259
|
});
|
|
@@ -273,11 +279,11 @@ const serializeAws_restJson1ListFindingsReportsCommand = async (input, context)
|
|
|
273
279
|
const query = map({
|
|
274
280
|
startTime: [
|
|
275
281
|
(0, smithy_client_1.expectNonNull)(input.startTime, `startTime`) != null,
|
|
276
|
-
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
282
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
277
283
|
],
|
|
278
284
|
endTime: [
|
|
279
285
|
(0, smithy_client_1.expectNonNull)(input.endTime, `endTime`) != null,
|
|
280
|
-
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
286
|
+
() => (input.endTime.toISOString().split(".")[0] + "Z").toString(),
|
|
281
287
|
],
|
|
282
288
|
nextToken: [, input.nextToken],
|
|
283
289
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
@@ -305,11 +311,11 @@ const serializeAws_restJson1ListProfileTimesCommand = async (input, context) =>
|
|
|
305
311
|
const query = map({
|
|
306
312
|
startTime: [
|
|
307
313
|
(0, smithy_client_1.expectNonNull)(input.startTime, `startTime`) != null,
|
|
308
|
-
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
314
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
309
315
|
],
|
|
310
316
|
endTime: [
|
|
311
317
|
(0, smithy_client_1.expectNonNull)(input.endTime, `endTime`) != null,
|
|
312
|
-
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
318
|
+
() => (input.endTime.toISOString().split(".")[0] + "Z").toString(),
|
|
313
319
|
],
|
|
314
320
|
period: [, (0, smithy_client_1.expectNonNull)(input.period, `period`)],
|
|
315
321
|
orderBy: [, input.orderBy],
|
|
@@ -34,8 +34,11 @@ 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
|
-
|
|
37
|
+
startTime: [
|
|
38
|
+
() => input.startTime !== void 0,
|
|
39
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
40
|
+
],
|
|
41
|
+
endTime: [() => input.endTime !== void 0, () => (input.endTime.toISOString().split(".")[0] + "Z").toString()],
|
|
39
42
|
period: [, input.period],
|
|
40
43
|
targetResolution: [, input.targetResolution],
|
|
41
44
|
});
|
|
@@ -204,9 +207,12 @@ export const serializeAws_restJson1GetProfileCommand = async (input, context) =>
|
|
|
204
207
|
"/profilingGroups/{profilingGroupName}/profile";
|
|
205
208
|
resolvedPath = __resolvedPath(resolvedPath, input, "profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
206
209
|
const query = map({
|
|
207
|
-
startTime: [
|
|
210
|
+
startTime: [
|
|
211
|
+
() => input.startTime !== void 0,
|
|
212
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
213
|
+
],
|
|
208
214
|
period: [, input.period],
|
|
209
|
-
endTime: [() => input.endTime !== void 0, () => input.endTime.toISOString().split(".")[0] + "Z"],
|
|
215
|
+
endTime: [() => input.endTime !== void 0, () => (input.endTime.toISOString().split(".")[0] + "Z").toString()],
|
|
210
216
|
maxDepth: [() => input.maxDepth !== void 0, () => input.maxDepth.toString()],
|
|
211
217
|
});
|
|
212
218
|
let body;
|
|
@@ -230,11 +236,11 @@ export const serializeAws_restJson1GetRecommendationsCommand = async (input, con
|
|
|
230
236
|
const query = map({
|
|
231
237
|
startTime: [
|
|
232
238
|
__expectNonNull(input.startTime, `startTime`) != null,
|
|
233
|
-
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
239
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
234
240
|
],
|
|
235
241
|
endTime: [
|
|
236
242
|
__expectNonNull(input.endTime, `endTime`) != null,
|
|
237
|
-
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
243
|
+
() => (input.endTime.toISOString().split(".")[0] + "Z").toString(),
|
|
238
244
|
],
|
|
239
245
|
locale: [, input.locale],
|
|
240
246
|
});
|
|
@@ -259,11 +265,11 @@ export const serializeAws_restJson1ListFindingsReportsCommand = async (input, co
|
|
|
259
265
|
const query = map({
|
|
260
266
|
startTime: [
|
|
261
267
|
__expectNonNull(input.startTime, `startTime`) != null,
|
|
262
|
-
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
268
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
263
269
|
],
|
|
264
270
|
endTime: [
|
|
265
271
|
__expectNonNull(input.endTime, `endTime`) != null,
|
|
266
|
-
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
272
|
+
() => (input.endTime.toISOString().split(".")[0] + "Z").toString(),
|
|
267
273
|
],
|
|
268
274
|
nextToken: [, input.nextToken],
|
|
269
275
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
@@ -290,11 +296,11 @@ export const serializeAws_restJson1ListProfileTimesCommand = async (input, conte
|
|
|
290
296
|
const query = map({
|
|
291
297
|
startTime: [
|
|
292
298
|
__expectNonNull(input.startTime, `startTime`) != null,
|
|
293
|
-
() => input.startTime.toISOString().split(".")[0] + "Z",
|
|
299
|
+
() => (input.startTime.toISOString().split(".")[0] + "Z").toString(),
|
|
294
300
|
],
|
|
295
301
|
endTime: [
|
|
296
302
|
__expectNonNull(input.endTime, `endTime`) != null,
|
|
297
|
-
() => input.endTime.toISOString().split(".")[0] + "Z",
|
|
303
|
+
() => (input.endTime.toISOString().split(".")[0] + "Z").toString(),
|
|
298
304
|
],
|
|
299
305
|
period: [, __expectNonNull(input.period, `period`)],
|
|
300
306
|
orderBy: [, input.orderBy],
|
|
@@ -6,7 +6,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
8
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { AddNotificationChannelsCommandInput, AddNotificationChannelsCommandOutput } from "./commands/AddNotificationChannelsCommand";
|
|
11
11
|
import { BatchGetFrameMetricDataCommandInput, BatchGetFrameMetricDataCommandOutput } from "./commands/BatchGetFrameMetricDataCommand";
|
|
12
12
|
import { ConfigureAgentCommandInput, ConfigureAgentCommandOutput } from "./commands/ConfigureAgentCommand";
|
|
@@ -39,11 +39,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
39
39
|
*/
|
|
40
40
|
requestHandler?: __HttpHandler;
|
|
41
41
|
/**
|
|
42
|
-
* A constructor for a class implementing the {@link
|
|
42
|
+
* A constructor for a class implementing the {@link __Checksum} interface
|
|
43
43
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
44
44
|
* @internal
|
|
45
45
|
*/
|
|
46
|
-
sha256?: __HashConstructor;
|
|
46
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
47
47
|
/**
|
|
48
48
|
* The function that will be used to convert strings into HTTP endpoints.
|
|
49
49
|
* @internal
|
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
} from "@aws-sdk/smithy-client";
|
|
32
32
|
import {
|
|
33
33
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
34
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
34
35
|
Credentials as __Credentials,
|
|
35
36
|
Decoder as __Decoder,
|
|
36
37
|
Encoder as __Encoder,
|
|
@@ -191,7 +192,7 @@ export declare type ServiceOutputTypes =
|
|
|
191
192
|
export interface ClientDefaults
|
|
192
193
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
193
194
|
requestHandler?: __HttpHandler;
|
|
194
|
-
sha256?: __HashConstructor;
|
|
195
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
195
196
|
urlParser?: __UrlParser;
|
|
196
197
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
197
198
|
streamCollector?: __StreamCollector;
|
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.254.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",
|
|
@@ -18,39 +18,39 @@
|
|
|
18
18
|
"module": "./dist-es/index.js",
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@aws-crypto/sha256-browser": "
|
|
22
|
-
"@aws-crypto/sha256-js": "
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
|
+
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
+
"@aws-sdk/client-sts": "3.254.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.254.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.254.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.254.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.254.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.254.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.254.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.254.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.254.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.254.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.254.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.254.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.254.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.254.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.254.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.254.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.254.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.254.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.254.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.254.0",
|
|
43
|
+
"@aws-sdk/types": "3.254.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.254.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.254.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.254.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.254.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.254.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.254.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.254.0",
|
|
54
54
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
55
55
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
56
56
|
"tslib": "^2.3.1",
|