@aws-sdk/client-appsync 3.731.1 → 3.737.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.
package/dist-cjs/index.js CHANGED
@@ -2167,7 +2167,9 @@ var de_EvaluateCodeCommand = /* @__PURE__ */ __name(async (output, context) => {
2167
2167
  const doc = (0, import_smithy_client.take)(data, {
2168
2168
  error: import_smithy_client._json,
2169
2169
  evaluationResult: import_smithy_client.expectString,
2170
- logs: import_smithy_client._json
2170
+ logs: import_smithy_client._json,
2171
+ outErrors: import_smithy_client.expectString,
2172
+ stash: import_smithy_client.expectString
2171
2173
  });
2172
2174
  Object.assign(contents, doc);
2173
2175
  return contents;
@@ -2183,7 +2185,9 @@ var de_EvaluateMappingTemplateCommand = /* @__PURE__ */ __name(async (output, co
2183
2185
  const doc = (0, import_smithy_client.take)(data, {
2184
2186
  error: import_smithy_client._json,
2185
2187
  evaluationResult: import_smithy_client.expectString,
2186
- logs: import_smithy_client._json
2188
+ logs: import_smithy_client._json,
2189
+ outErrors: import_smithy_client.expectString,
2190
+ stash: import_smithy_client.expectString
2187
2191
  });
2188
2192
  Object.assign(contents, doc);
2189
2193
  return contents;
@@ -1361,6 +1361,8 @@ export const de_EvaluateCodeCommand = async (output, context) => {
1361
1361
  error: _json,
1362
1362
  evaluationResult: __expectString,
1363
1363
  logs: _json,
1364
+ outErrors: __expectString,
1365
+ stash: __expectString,
1364
1366
  });
1365
1367
  Object.assign(contents, doc);
1366
1368
  return contents;
@@ -1377,6 +1379,8 @@ export const de_EvaluateMappingTemplateCommand = async (output, context) => {
1377
1379
  error: _json,
1378
1380
  evaluationResult: __expectString,
1379
1381
  logs: _json,
1382
+ outErrors: __expectString,
1383
+ stash: __expectString,
1380
1384
  });
1381
1385
  Object.assign(contents, doc);
1382
1386
  return contents;
@@ -69,6 +69,8 @@ declare const EvaluateCodeCommand_base: {
69
69
  * // logs: [ // Logs
70
70
  * // "STRING_VALUE",
71
71
  * // ],
72
+ * // stash: "STRING_VALUE",
73
+ * // outErrors: "STRING_VALUE",
72
74
  * // };
73
75
  *
74
76
  * ```
@@ -54,6 +54,8 @@ declare const EvaluateMappingTemplateCommand_base: {
54
54
  * // logs: [ // Logs
55
55
  * // "STRING_VALUE",
56
56
  * // ],
57
+ * // stash: "STRING_VALUE",
58
+ * // outErrors: "STRING_VALUE",
57
59
  * // };
58
60
  *
59
61
  * ```
@@ -3653,6 +3653,16 @@ export interface EvaluateCodeResponse {
3653
3653
  * @public
3654
3654
  */
3655
3655
  logs?: string[] | undefined;
3656
+ /**
3657
+ * <p>An object available inside each resolver and function handler. A single <code>stash</code> object lives through a single resolver run. Therefore, you can use the stash to pass arbitrary data across request and response handlers and across functions in a pipeline resolver.</p>
3658
+ * @public
3659
+ */
3660
+ stash?: string | undefined;
3661
+ /**
3662
+ * <p>The list of runtime errors that are added to the GraphQL operation response.</p>
3663
+ * @public
3664
+ */
3665
+ outErrors?: string | undefined;
3656
3666
  }
3657
3667
  /**
3658
3668
  * @public
@@ -3703,6 +3713,16 @@ export interface EvaluateMappingTemplateResponse {
3703
3713
  * @public
3704
3714
  */
3705
3715
  logs?: string[] | undefined;
3716
+ /**
3717
+ * <p>An object available inside each resolver and function handler. A single <code>stash</code> object lives through a single resolver run. Therefore, you can use the stash to pass arbitrary data across request and response handlers and across functions in a pipeline resolver.</p>
3718
+ * @public
3719
+ */
3720
+ stash?: string | undefined;
3721
+ /**
3722
+ * <p>The list of runtime errors that are added to the GraphQL operation response.</p>
3723
+ * @public
3724
+ */
3725
+ outErrors?: string | undefined;
3706
3726
  }
3707
3727
  /**
3708
3728
  * <p>Represents the input of a <code>FlushApiCache</code> operation.</p>
@@ -813,6 +813,8 @@ export interface EvaluateCodeResponse {
813
813
  evaluationResult?: string | undefined;
814
814
  error?: EvaluateCodeErrorDetail | undefined;
815
815
  logs?: string[] | undefined;
816
+ stash?: string | undefined;
817
+ outErrors?: string | undefined;
816
818
  }
817
819
  export interface EvaluateMappingTemplateRequest {
818
820
  template: string | undefined;
@@ -825,6 +827,8 @@ export interface EvaluateMappingTemplateResponse {
825
827
  evaluationResult?: string | undefined;
826
828
  error?: ErrorDetail | undefined;
827
829
  logs?: string[] | undefined;
830
+ stash?: string | undefined;
831
+ outErrors?: string | undefined;
828
832
  }
829
833
  export interface FlushApiCacheRequest {
830
834
  apiId: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appsync",
3
3
  "description": "AWS SDK for JavaScript Appsync Client for Node.js, Browser and React Native",
4
- "version": "3.731.1",
4
+ "version": "3.737.0",
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-appsync",
@@ -20,42 +20,42 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.731.0",
24
- "@aws-sdk/credential-provider-node": "3.731.1",
25
- "@aws-sdk/middleware-host-header": "3.731.0",
26
- "@aws-sdk/middleware-logger": "3.731.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.731.0",
28
- "@aws-sdk/middleware-user-agent": "3.731.0",
29
- "@aws-sdk/region-config-resolver": "3.731.0",
30
- "@aws-sdk/types": "3.731.0",
31
- "@aws-sdk/util-endpoints": "3.731.0",
32
- "@aws-sdk/util-user-agent-browser": "3.731.0",
33
- "@aws-sdk/util-user-agent-node": "3.731.0",
34
- "@smithy/config-resolver": "^4.0.0",
35
- "@smithy/core": "^3.0.0",
36
- "@smithy/fetch-http-handler": "^5.0.0",
37
- "@smithy/hash-node": "^4.0.0",
38
- "@smithy/invalid-dependency": "^4.0.0",
39
- "@smithy/middleware-content-length": "^4.0.0",
40
- "@smithy/middleware-endpoint": "^4.0.0",
41
- "@smithy/middleware-retry": "^4.0.0",
42
- "@smithy/middleware-serde": "^4.0.0",
43
- "@smithy/middleware-stack": "^4.0.0",
44
- "@smithy/node-config-provider": "^4.0.0",
45
- "@smithy/node-http-handler": "^4.0.0",
46
- "@smithy/protocol-http": "^5.0.0",
47
- "@smithy/smithy-client": "^4.0.0",
48
- "@smithy/types": "^4.0.0",
49
- "@smithy/url-parser": "^4.0.0",
23
+ "@aws-sdk/core": "3.734.0",
24
+ "@aws-sdk/credential-provider-node": "3.734.0",
25
+ "@aws-sdk/middleware-host-header": "3.734.0",
26
+ "@aws-sdk/middleware-logger": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.734.0",
28
+ "@aws-sdk/middleware-user-agent": "3.734.0",
29
+ "@aws-sdk/region-config-resolver": "3.734.0",
30
+ "@aws-sdk/types": "3.734.0",
31
+ "@aws-sdk/util-endpoints": "3.734.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.734.0",
33
+ "@aws-sdk/util-user-agent-node": "3.734.0",
34
+ "@smithy/config-resolver": "^4.0.1",
35
+ "@smithy/core": "^3.1.1",
36
+ "@smithy/fetch-http-handler": "^5.0.1",
37
+ "@smithy/hash-node": "^4.0.1",
38
+ "@smithy/invalid-dependency": "^4.0.1",
39
+ "@smithy/middleware-content-length": "^4.0.1",
40
+ "@smithy/middleware-endpoint": "^4.0.2",
41
+ "@smithy/middleware-retry": "^4.0.3",
42
+ "@smithy/middleware-serde": "^4.0.1",
43
+ "@smithy/middleware-stack": "^4.0.1",
44
+ "@smithy/node-config-provider": "^4.0.1",
45
+ "@smithy/node-http-handler": "^4.0.2",
46
+ "@smithy/protocol-http": "^5.0.1",
47
+ "@smithy/smithy-client": "^4.1.2",
48
+ "@smithy/types": "^4.1.0",
49
+ "@smithy/url-parser": "^4.0.1",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.0",
54
- "@smithy/util-defaults-mode-node": "^4.0.0",
55
- "@smithy/util-endpoints": "^3.0.0",
56
- "@smithy/util-middleware": "^4.0.0",
57
- "@smithy/util-retry": "^4.0.0",
58
- "@smithy/util-stream": "^4.0.0",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.3",
54
+ "@smithy/util-defaults-mode-node": "^4.0.3",
55
+ "@smithy/util-endpoints": "^3.0.1",
56
+ "@smithy/util-middleware": "^4.0.1",
57
+ "@smithy/util-retry": "^4.0.1",
58
+ "@smithy/util-stream": "^4.0.2",
59
59
  "@smithy/util-utf8": "^4.0.0",
60
60
  "tslib": "^2.6.2"
61
61
  },