@aws-sdk/client-codeguruprofiler 3.229.0 → 3.231.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.
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.deserializeAws_restJson1UpdateProfilingGroupCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1SubmitFeedbackCommand = exports.deserializeAws_restJson1RemovePermissionCommand = exports.deserializeAws_restJson1RemoveNotificationChannelCommand = exports.deserializeAws_restJson1PutPermissionCommand = exports.deserializeAws_restJson1PostAgentProfileCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListProfilingGroupsCommand = exports.deserializeAws_restJson1ListProfileTimesCommand = exports.deserializeAws_restJson1ListFindingsReportsCommand = exports.deserializeAws_restJson1GetRecommendationsCommand = exports.deserializeAws_restJson1GetProfileCommand = exports.deserializeAws_restJson1GetPolicyCommand = exports.deserializeAws_restJson1GetNotificationConfigurationCommand = exports.deserializeAws_restJson1GetFindingsReportAccountSummaryCommand = exports.deserializeAws_restJson1DescribeProfilingGroupCommand = exports.deserializeAws_restJson1DeleteProfilingGroupCommand = exports.deserializeAws_restJson1CreateProfilingGroupCommand = exports.deserializeAws_restJson1ConfigureAgentCommand = exports.deserializeAws_restJson1BatchGetFrameMetricDataCommand = exports.deserializeAws_restJson1AddNotificationChannelsCommand = exports.serializeAws_restJson1UpdateProfilingGroupCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1SubmitFeedbackCommand = exports.serializeAws_restJson1RemovePermissionCommand = exports.serializeAws_restJson1RemoveNotificationChannelCommand = exports.serializeAws_restJson1PutPermissionCommand = exports.serializeAws_restJson1PostAgentProfileCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListProfilingGroupsCommand = exports.serializeAws_restJson1ListProfileTimesCommand = exports.serializeAws_restJson1ListFindingsReportsCommand = exports.serializeAws_restJson1GetRecommendationsCommand = exports.serializeAws_restJson1GetProfileCommand = exports.serializeAws_restJson1GetPolicyCommand = exports.serializeAws_restJson1GetNotificationConfigurationCommand = exports.serializeAws_restJson1GetFindingsReportAccountSummaryCommand = exports.serializeAws_restJson1DescribeProfilingGroupCommand = exports.serializeAws_restJson1DeleteProfilingGroupCommand = exports.serializeAws_restJson1CreateProfilingGroupCommand = exports.serializeAws_restJson1ConfigureAgentCommand = exports.serializeAws_restJson1BatchGetFrameMetricDataCommand = exports.serializeAws_restJson1AddNotificationChannelsCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const uuid_1 = require("uuid");
|
|
6
7
|
const CodeGuruProfilerServiceException_1 = require("../models/CodeGuruProfilerServiceException");
|
|
7
8
|
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const serializeAws_restJson1AddNotificationChannelsCommand = async (input, context) => {
|
|
@@ -382,7 +383,7 @@ const serializeAws_restJson1PostAgentProfileCommand = async (input, context) =>
|
|
|
382
383
|
"/profilingGroups/{profilingGroupName}/agentProfile";
|
|
383
384
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
384
385
|
const query = map({
|
|
385
|
-
profileToken: [, input.profileToken],
|
|
386
|
+
profileToken: [, input.profileToken ?? (0, uuid_1.v4)()],
|
|
386
387
|
});
|
|
387
388
|
let body;
|
|
388
389
|
if (input.agentProfile !== undefined) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map as __map, parseRfc3339DateTime as __parseRfc3339DateTime, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { v4 as generateIdempotencyToken } from "uuid";
|
|
3
4
|
import { CodeGuruProfilerServiceException as __BaseException } from "../models/CodeGuruProfilerServiceException";
|
|
4
5
|
import { ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
6
|
export const serializeAws_restJson1AddNotificationChannelsCommand = async (input, context) => {
|
|
@@ -364,7 +365,7 @@ export const serializeAws_restJson1PostAgentProfileCommand = async (input, conte
|
|
|
364
365
|
"/profilingGroups/{profilingGroupName}/agentProfile";
|
|
365
366
|
resolvedPath = __resolvedPath(resolvedPath, input, "profilingGroupName", () => input.profilingGroupName, "{profilingGroupName}", false);
|
|
366
367
|
const query = map({
|
|
367
|
-
profileToken: [, input.profileToken],
|
|
368
|
+
profileToken: [, input.profileToken ?? generateIdempotencyToken()],
|
|
368
369
|
});
|
|
369
370
|
let body;
|
|
370
371
|
if (input.agentProfile !== undefined) {
|
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.231.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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.231.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.231.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.231.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.226.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.226.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
47
|
"@aws-sdk/util-defaults-mode-browser": "3.226.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.231.0",
|
|
49
49
|
"@aws-sdk/util-endpoints": "3.226.0",
|
|
50
50
|
"@aws-sdk/util-retry": "3.229.0",
|
|
51
51
|
"@aws-sdk/util-user-agent-browser": "3.226.0",
|