@aws-sdk/client-appsync 3.222.0 → 3.224.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.
@@ -6,7 +6,7 @@ exports.ruleSet = {
6
6
  parameters: {
7
7
  Region: {
8
8
  builtIn: "AWS::Region",
9
- required: false,
9
+ required: true,
10
10
  documentation: "The AWS region used to dispatch the request.",
11
11
  type: "String",
12
12
  },
@@ -440,7 +440,7 @@ const serializeAws_restJson1EvaluateCodeCommand = async (input, context) => {
440
440
  const headers = {
441
441
  "content-type": "application/json",
442
442
  };
443
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/dataplane-evaluatecode";
443
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/dataplane-evaluatecode";
444
444
  let body;
445
445
  body = JSON.stringify({
446
446
  ...(input.code != null && { code: input.code }),
@@ -3,7 +3,7 @@ export const ruleSet = {
3
3
  parameters: {
4
4
  Region: {
5
5
  builtIn: "AWS::Region",
6
- required: false,
6
+ required: true,
7
7
  documentation: "The AWS region used to dispatch the request.",
8
8
  type: "String",
9
9
  },
@@ -417,7 +417,7 @@ export const serializeAws_restJson1EvaluateCodeCommand = async (input, context)
417
417
  const headers = {
418
418
  "content-type": "application/json",
419
419
  };
420
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/dataplane-evaluatecode";
420
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/dataplane-evaluatecode";
421
421
  let body;
422
422
  body = JSON.stringify({
423
423
  ...(input.code != null && { code: input.code }),
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region?: string;
15
+ Region: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -440,7 +440,7 @@ export declare enum RuntimeName {
440
440
  APPSYNC_JS = "APPSYNC_JS"
441
441
  }
442
442
  /**
443
- * <p>Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and
443
+ * <p>Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function. Specifies the name and
444
444
  * version of the runtime to use. Note that if a runtime is specified, code must also be specified.</p>
445
445
  */
446
446
  export interface AppSyncRuntime {
@@ -1229,7 +1229,7 @@ export interface CreateFunctionRequest {
1229
1229
  */
1230
1230
  maxBatchSize?: number;
1231
1231
  /**
1232
- * <p>Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and
1232
+ * <p>Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function. Specifies the name and
1233
1233
  * version of the runtime to use. Note that if a runtime is specified, code must also be specified.</p>
1234
1234
  */
1235
1235
  runtime?: AppSyncRuntime;
@@ -1288,7 +1288,7 @@ export interface FunctionConfiguration {
1288
1288
  */
1289
1289
  maxBatchSize?: number;
1290
1290
  /**
1291
- * <p>Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and
1291
+ * <p>Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function. Specifies the name and
1292
1292
  * version of the runtime to use. Note that if a runtime is specified, code must also be specified.</p>
1293
1293
  */
1294
1294
  runtime?: AppSyncRuntime;
@@ -1585,7 +1585,7 @@ export interface CreateResolverRequest {
1585
1585
  */
1586
1586
  maxBatchSize?: number;
1587
1587
  /**
1588
- * <p>Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and
1588
+ * <p>Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function. Specifies the name and
1589
1589
  * version of the runtime to use. Note that if a runtime is specified, code must also be specified.</p>
1590
1590
  */
1591
1591
  runtime?: AppSyncRuntime;
@@ -1657,7 +1657,7 @@ export interface Resolver {
1657
1657
  */
1658
1658
  maxBatchSize?: number;
1659
1659
  /**
1660
- * <p>Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and
1660
+ * <p>Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function. Specifies the name and
1661
1661
  * version of the runtime to use. Note that if a runtime is specified, code must also be specified.</p>
1662
1662
  */
1663
1663
  runtime?: AppSyncRuntime;
@@ -2635,7 +2635,7 @@ export interface UpdateFunctionRequest {
2635
2635
  */
2636
2636
  maxBatchSize?: number;
2637
2637
  /**
2638
- * <p>Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and
2638
+ * <p>Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function. Specifies the name and
2639
2639
  * version of the runtime to use. Note that if a runtime is specified, code must also be specified.</p>
2640
2640
  */
2641
2641
  runtime?: AppSyncRuntime;
@@ -2758,7 +2758,7 @@ export interface UpdateResolverRequest {
2758
2758
  */
2759
2759
  maxBatchSize?: number;
2760
2760
  /**
2761
- * <p>Describes a runtime used by an AWS AppSync pipeline resolver or AWS AppSync function. Specifies the name and
2761
+ * <p>Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon Web Services AppSync function. Specifies the name and
2762
2762
  * version of the runtime to use. Note that if a runtime is specified, code must also be specified.</p>
2763
2763
  */
2764
2764
  runtime?: AppSyncRuntime;
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region?: string;
30
+ Region: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
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.222.0",
4
+ "version": "3.224.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,37 +19,36 @@
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.222.0",
23
- "@aws-sdk/config-resolver": "3.222.0",
24
- "@aws-sdk/credential-provider-node": "3.222.0",
25
- "@aws-sdk/fetch-http-handler": "3.222.0",
26
- "@aws-sdk/hash-node": "3.222.0",
27
- "@aws-sdk/invalid-dependency": "3.222.0",
28
- "@aws-sdk/middleware-content-length": "3.222.0",
29
- "@aws-sdk/middleware-endpoint": "3.222.0",
30
- "@aws-sdk/middleware-host-header": "3.222.0",
31
- "@aws-sdk/middleware-logger": "3.222.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.222.0",
33
- "@aws-sdk/middleware-retry": "3.222.0",
34
- "@aws-sdk/middleware-serde": "3.222.0",
35
- "@aws-sdk/middleware-signing": "3.222.0",
36
- "@aws-sdk/middleware-stack": "3.222.0",
37
- "@aws-sdk/middleware-user-agent": "3.222.0",
38
- "@aws-sdk/node-config-provider": "3.222.0",
39
- "@aws-sdk/node-http-handler": "3.222.0",
40
- "@aws-sdk/protocol-http": "3.222.0",
41
- "@aws-sdk/smithy-client": "3.222.0",
42
- "@aws-sdk/types": "3.222.0",
43
- "@aws-sdk/url-parser": "3.222.0",
22
+ "@aws-sdk/client-sts": "3.224.0",
23
+ "@aws-sdk/config-resolver": "3.224.0",
24
+ "@aws-sdk/credential-provider-node": "3.224.0",
25
+ "@aws-sdk/fetch-http-handler": "3.224.0",
26
+ "@aws-sdk/hash-node": "3.224.0",
27
+ "@aws-sdk/invalid-dependency": "3.224.0",
28
+ "@aws-sdk/middleware-content-length": "3.224.0",
29
+ "@aws-sdk/middleware-endpoint": "3.224.0",
30
+ "@aws-sdk/middleware-host-header": "3.224.0",
31
+ "@aws-sdk/middleware-logger": "3.224.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.224.0",
33
+ "@aws-sdk/middleware-retry": "3.224.0",
34
+ "@aws-sdk/middleware-serde": "3.224.0",
35
+ "@aws-sdk/middleware-signing": "3.224.0",
36
+ "@aws-sdk/middleware-stack": "3.224.0",
37
+ "@aws-sdk/middleware-user-agent": "3.224.0",
38
+ "@aws-sdk/node-config-provider": "3.224.0",
39
+ "@aws-sdk/node-http-handler": "3.224.0",
40
+ "@aws-sdk/protocol-http": "3.224.0",
41
+ "@aws-sdk/smithy-client": "3.224.0",
42
+ "@aws-sdk/types": "3.224.0",
43
+ "@aws-sdk/url-parser": "3.224.0",
44
44
  "@aws-sdk/util-base64": "3.208.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.188.0",
46
46
  "@aws-sdk/util-body-length-node": "3.208.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.222.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.222.0",
49
- "@aws-sdk/util-endpoints": "3.222.0",
50
- "@aws-sdk/util-retry": "3.222.0",
51
- "@aws-sdk/util-user-agent-browser": "3.222.0",
52
- "@aws-sdk/util-user-agent-node": "3.222.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.224.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.224.0",
49
+ "@aws-sdk/util-endpoints": "3.224.0",
50
+ "@aws-sdk/util-user-agent-browser": "3.224.0",
51
+ "@aws-sdk/util-user-agent-node": "3.224.0",
53
52
  "@aws-sdk/util-utf8-browser": "3.188.0",
54
53
  "@aws-sdk/util-utf8-node": "3.208.0",
55
54
  "tslib": "^2.3.1"