@aws-sdk/client-codeguruprofiler 3.654.0 → 3.658.1
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/index.js +3 -7
- package/dist-es/protocols/Aws_restJson1.js +2 -10
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -592,7 +592,7 @@ var se_GetPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
592
592
|
}, "se_GetPolicyCommand");
|
|
593
593
|
var se_GetProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
594
594
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
595
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
595
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
596
596
|
[_a]: input[_a]
|
|
597
597
|
});
|
|
598
598
|
b.bp("/profilingGroups/{profilingGroupName}/profile");
|
|
@@ -678,7 +678,7 @@ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
678
678
|
}, "se_ListTagsForResourceCommand");
|
|
679
679
|
var se_PostAgentProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
680
680
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
681
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
681
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
682
682
|
[_ct]: input[_cTo] || "application/octet-stream"
|
|
683
683
|
});
|
|
684
684
|
b.bp("/profilingGroups/{profilingGroupName}/agentProfile");
|
|
@@ -774,10 +774,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
774
774
|
b.bp("/tags/{resourceArn}");
|
|
775
775
|
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
776
776
|
const query = (0, import_smithy_client.map)({
|
|
777
|
-
[_tK]: [
|
|
778
|
-
(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
779
|
-
() => (input[_tK] || []).map((_entry) => _entry)
|
|
780
|
-
]
|
|
777
|
+
[_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
|
|
781
778
|
});
|
|
782
779
|
let body;
|
|
783
780
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
@@ -1386,7 +1383,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
1386
1383
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1387
1384
|
cfId: output.headers["x-amz-cf-id"]
|
|
1388
1385
|
}), "deserializeMetadata");
|
|
1389
|
-
var isSerializableHeaderValue = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "" && (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0), "isSerializableHeaderValue");
|
|
1390
1386
|
var _a = "accept";
|
|
1391
1387
|
var _cE = "contentEncoding";
|
|
1392
1388
|
var _cT = "clientToken";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
5
|
import { CodeGuruProfilerServiceException as __BaseException } from "../models/CodeGuruProfilerServiceException";
|
|
6
6
|
import { ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
@@ -299,10 +299,7 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
299
299
|
b.bp("/tags/{resourceArn}");
|
|
300
300
|
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
301
301
|
const query = map({
|
|
302
|
-
[_tK]: [
|
|
303
|
-
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
304
|
-
() => (input[_tK] || []).map((_entry) => _entry),
|
|
305
|
-
],
|
|
302
|
+
[_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
306
303
|
});
|
|
307
304
|
let body;
|
|
308
305
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
@@ -930,11 +927,6 @@ const deserializeMetadata = (output) => ({
|
|
|
930
927
|
cfId: output.headers["x-amz-cf-id"],
|
|
931
928
|
});
|
|
932
929
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
933
|
-
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
934
|
-
value !== null &&
|
|
935
|
-
value !== "" &&
|
|
936
|
-
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
937
|
-
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
938
930
|
const _a = "accept";
|
|
939
931
|
const _cE = "contentEncoding";
|
|
940
932
|
const _cT = "clientToken";
|
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.658.1",
|
|
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-codeguruprofiler",
|
|
@@ -20,10 +20,10 @@
|
|
|
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.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.658.1",
|
|
24
|
+
"@aws-sdk/client-sts": "3.658.1",
|
|
25
|
+
"@aws-sdk/core": "3.658.1",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.658.1",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.654.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.654.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.654.0",
|
|
@@ -34,30 +34,30 @@
|
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.654.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.654.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.8",
|
|
37
|
-
"@smithy/core": "^2.4.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
37
|
+
"@smithy/core": "^2.4.6",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.8",
|
|
39
39
|
"@smithy/hash-node": "^3.0.6",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.6",
|
|
41
41
|
"@smithy/middleware-content-length": "^3.0.8",
|
|
42
42
|
"@smithy/middleware-endpoint": "^3.1.3",
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.21",
|
|
44
44
|
"@smithy/middleware-serde": "^3.0.6",
|
|
45
45
|
"@smithy/middleware-stack": "^3.0.6",
|
|
46
46
|
"@smithy/node-config-provider": "^3.1.7",
|
|
47
|
-
"@smithy/node-http-handler": "^3.2.
|
|
47
|
+
"@smithy/node-http-handler": "^3.2.3",
|
|
48
48
|
"@smithy/protocol-http": "^4.1.3",
|
|
49
|
-
"@smithy/smithy-client": "^3.3.
|
|
49
|
+
"@smithy/smithy-client": "^3.3.5",
|
|
50
50
|
"@smithy/types": "^3.4.2",
|
|
51
51
|
"@smithy/url-parser": "^3.0.6",
|
|
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.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.21",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.21",
|
|
57
57
|
"@smithy/util-endpoints": "^2.1.2",
|
|
58
58
|
"@smithy/util-middleware": "^3.0.6",
|
|
59
59
|
"@smithy/util-retry": "^3.0.6",
|
|
60
|
-
"@smithy/util-stream": "^3.1.
|
|
60
|
+
"@smithy/util-stream": "^3.1.8",
|
|
61
61
|
"@smithy/util-utf8": "^3.0.0",
|
|
62
62
|
"tslib": "^2.6.2",
|
|
63
63
|
"uuid": "^9.0.1"
|