@aws-sdk/client-accessanalyzer 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.
@@ -129,7 +129,7 @@ const serializeAws_restJson1DeleteAnalyzerCommand = async (input, context) => {
129
129
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/analyzer/{analyzerName}";
130
130
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "analyzerName", () => input.analyzerName, "{analyzerName}", false);
131
131
  const query = map({
132
- clientToken: [, input.clientToken],
132
+ clientToken: [, input.clientToken ?? (0, uuid_1.v4)()],
133
133
  });
134
134
  let body;
135
135
  return new protocol_http_1.HttpRequest({
@@ -152,7 +152,7 @@ const serializeAws_restJson1DeleteArchiveRuleCommand = async (input, context) =>
152
152
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "analyzerName", () => input.analyzerName, "{analyzerName}", false);
153
153
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ruleName", () => input.ruleName, "{ruleName}", false);
154
154
  const query = map({
155
- clientToken: [, input.clientToken],
155
+ clientToken: [, input.clientToken ?? (0, uuid_1.v4)()],
156
156
  });
157
157
  let body;
158
158
  return new protocol_http_1.HttpRequest({
@@ -120,7 +120,7 @@ export const serializeAws_restJson1DeleteAnalyzerCommand = async (input, context
120
120
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/analyzer/{analyzerName}";
121
121
  resolvedPath = __resolvedPath(resolvedPath, input, "analyzerName", () => input.analyzerName, "{analyzerName}", false);
122
122
  const query = map({
123
- clientToken: [, input.clientToken],
123
+ clientToken: [, input.clientToken ?? generateIdempotencyToken()],
124
124
  });
125
125
  let body;
126
126
  return new __HttpRequest({
@@ -142,7 +142,7 @@ export const serializeAws_restJson1DeleteArchiveRuleCommand = async (input, cont
142
142
  resolvedPath = __resolvedPath(resolvedPath, input, "analyzerName", () => input.analyzerName, "{analyzerName}", false);
143
143
  resolvedPath = __resolvedPath(resolvedPath, input, "ruleName", () => input.ruleName, "{ruleName}", false);
144
144
  const query = map({
145
- clientToken: [, input.clientToken],
145
+ clientToken: [, input.clientToken ?? generateIdempotencyToken()],
146
146
  });
147
147
  let body;
148
148
  return new __HttpRequest({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-accessanalyzer",
3
3
  "description": "AWS SDK for JavaScript Accessanalyzer Client for Node.js, Browser and React Native",
4
- "version": "3.229.0",
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.229.0",
23
- "@aws-sdk/config-resolver": "3.226.0",
24
- "@aws-sdk/credential-provider-node": "3.229.0",
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.226.0",
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",