@aws-sdk/client-appsync 3.1148.0 → 3.1150.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
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1147.0";
72
+ var version = "3.1149.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
132
132
  customEndpointFunctions.aws = awsEndpointFunctions;
133
133
 
134
134
  class AppSyncServiceException extends ServiceException {
135
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.appsync#AppSyncServiceException";
135
136
  constructor(options) {
136
137
  super(options);
137
138
  Object.setPrototypeOf(this, AppSyncServiceException.prototype);
@@ -139,6 +140,7 @@ class AppSyncServiceException extends ServiceException {
139
140
  }
140
141
 
141
142
  class AccessDeniedException extends AppSyncServiceException {
143
+ static shapeId = "com.amazonaws.appsync#AccessDeniedException";
142
144
  name = "AccessDeniedException";
143
145
  $fault = "client";
144
146
  constructor(opts) {
@@ -151,6 +153,7 @@ class AccessDeniedException extends AppSyncServiceException {
151
153
  }
152
154
  }
153
155
  class ApiKeyLimitExceededException extends AppSyncServiceException {
156
+ static shapeId = "com.amazonaws.appsync#ApiKeyLimitExceededException";
154
157
  name = "ApiKeyLimitExceededException";
155
158
  $fault = "client";
156
159
  constructor(opts) {
@@ -163,6 +166,7 @@ class ApiKeyLimitExceededException extends AppSyncServiceException {
163
166
  }
164
167
  }
165
168
  class ApiKeyValidityOutOfBoundsException extends AppSyncServiceException {
169
+ static shapeId = "com.amazonaws.appsync#ApiKeyValidityOutOfBoundsException";
166
170
  name = "ApiKeyValidityOutOfBoundsException";
167
171
  $fault = "client";
168
172
  constructor(opts) {
@@ -175,6 +179,7 @@ class ApiKeyValidityOutOfBoundsException extends AppSyncServiceException {
175
179
  }
176
180
  }
177
181
  class ApiLimitExceededException extends AppSyncServiceException {
182
+ static shapeId = "com.amazonaws.appsync#ApiLimitExceededException";
178
183
  name = "ApiLimitExceededException";
179
184
  $fault = "client";
180
185
  constructor(opts) {
@@ -187,6 +192,7 @@ class ApiLimitExceededException extends AppSyncServiceException {
187
192
  }
188
193
  }
189
194
  class BadRequestException extends AppSyncServiceException {
195
+ static shapeId = "com.amazonaws.appsync#BadRequestException";
190
196
  name = "BadRequestException";
191
197
  $fault = "client";
192
198
  reason;
@@ -203,6 +209,7 @@ class BadRequestException extends AppSyncServiceException {
203
209
  }
204
210
  }
205
211
  class InternalFailureException extends AppSyncServiceException {
212
+ static shapeId = "com.amazonaws.appsync#InternalFailureException";
206
213
  name = "InternalFailureException";
207
214
  $fault = "server";
208
215
  constructor(opts) {
@@ -215,6 +222,7 @@ class InternalFailureException extends AppSyncServiceException {
215
222
  }
216
223
  }
217
224
  class NotFoundException extends AppSyncServiceException {
225
+ static shapeId = "com.amazonaws.appsync#NotFoundException";
218
226
  name = "NotFoundException";
219
227
  $fault = "client";
220
228
  constructor(opts) {
@@ -227,6 +235,7 @@ class NotFoundException extends AppSyncServiceException {
227
235
  }
228
236
  }
229
237
  class ConcurrentModificationException extends AppSyncServiceException {
238
+ static shapeId = "com.amazonaws.appsync#ConcurrentModificationException";
230
239
  name = "ConcurrentModificationException";
231
240
  $fault = "client";
232
241
  constructor(opts) {
@@ -239,6 +248,7 @@ class ConcurrentModificationException extends AppSyncServiceException {
239
248
  }
240
249
  }
241
250
  class LimitExceededException extends AppSyncServiceException {
251
+ static shapeId = "com.amazonaws.appsync#LimitExceededException";
242
252
  name = "LimitExceededException";
243
253
  $fault = "client";
244
254
  constructor(opts) {
@@ -251,6 +261,7 @@ class LimitExceededException extends AppSyncServiceException {
251
261
  }
252
262
  }
253
263
  class UnauthorizedException extends AppSyncServiceException {
264
+ static shapeId = "com.amazonaws.appsync#UnauthorizedException";
254
265
  name = "UnauthorizedException";
255
266
  $fault = "client";
256
267
  constructor(opts) {
@@ -263,6 +274,7 @@ class UnauthorizedException extends AppSyncServiceException {
263
274
  }
264
275
  }
265
276
  class ServiceQuotaExceededException extends AppSyncServiceException {
277
+ static shapeId = "com.amazonaws.appsync#ServiceQuotaExceededException";
266
278
  name = "ServiceQuotaExceededException";
267
279
  $fault = "client";
268
280
  constructor(opts) {
@@ -275,6 +287,7 @@ class ServiceQuotaExceededException extends AppSyncServiceException {
275
287
  }
276
288
  }
277
289
  class ConflictException extends AppSyncServiceException {
290
+ static shapeId = "com.amazonaws.appsync#ConflictException";
278
291
  name = "ConflictException";
279
292
  $fault = "client";
280
293
  constructor(opts) {
@@ -287,6 +300,7 @@ class ConflictException extends AppSyncServiceException {
287
300
  }
288
301
  }
289
302
  class GraphQLSchemaException extends AppSyncServiceException {
303
+ static shapeId = "com.amazonaws.appsync#GraphQLSchemaException";
290
304
  name = "GraphQLSchemaException";
291
305
  $fault = "client";
292
306
  constructor(opts) {
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class AppSyncServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.appsync#AppSyncServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, AppSyncServiceException.prototype);
@@ -1,5 +1,6 @@
1
1
  import { AppSyncServiceException as __BaseException } from "./AppSyncServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.appsync#AccessDeniedException";
3
4
  name = "AccessDeniedException";
4
5
  $fault = "client";
5
6
  constructor(opts) {
@@ -12,6 +13,7 @@ export class AccessDeniedException extends __BaseException {
12
13
  }
13
14
  }
14
15
  export class ApiKeyLimitExceededException extends __BaseException {
16
+ static shapeId = "com.amazonaws.appsync#ApiKeyLimitExceededException";
15
17
  name = "ApiKeyLimitExceededException";
16
18
  $fault = "client";
17
19
  constructor(opts) {
@@ -24,6 +26,7 @@ export class ApiKeyLimitExceededException extends __BaseException {
24
26
  }
25
27
  }
26
28
  export class ApiKeyValidityOutOfBoundsException extends __BaseException {
29
+ static shapeId = "com.amazonaws.appsync#ApiKeyValidityOutOfBoundsException";
27
30
  name = "ApiKeyValidityOutOfBoundsException";
28
31
  $fault = "client";
29
32
  constructor(opts) {
@@ -36,6 +39,7 @@ export class ApiKeyValidityOutOfBoundsException extends __BaseException {
36
39
  }
37
40
  }
38
41
  export class ApiLimitExceededException extends __BaseException {
42
+ static shapeId = "com.amazonaws.appsync#ApiLimitExceededException";
39
43
  name = "ApiLimitExceededException";
40
44
  $fault = "client";
41
45
  constructor(opts) {
@@ -48,6 +52,7 @@ export class ApiLimitExceededException extends __BaseException {
48
52
  }
49
53
  }
50
54
  export class BadRequestException extends __BaseException {
55
+ static shapeId = "com.amazonaws.appsync#BadRequestException";
51
56
  name = "BadRequestException";
52
57
  $fault = "client";
53
58
  reason;
@@ -64,6 +69,7 @@ export class BadRequestException extends __BaseException {
64
69
  }
65
70
  }
66
71
  export class InternalFailureException extends __BaseException {
72
+ static shapeId = "com.amazonaws.appsync#InternalFailureException";
67
73
  name = "InternalFailureException";
68
74
  $fault = "server";
69
75
  constructor(opts) {
@@ -76,6 +82,7 @@ export class InternalFailureException extends __BaseException {
76
82
  }
77
83
  }
78
84
  export class NotFoundException extends __BaseException {
85
+ static shapeId = "com.amazonaws.appsync#NotFoundException";
79
86
  name = "NotFoundException";
80
87
  $fault = "client";
81
88
  constructor(opts) {
@@ -88,6 +95,7 @@ export class NotFoundException extends __BaseException {
88
95
  }
89
96
  }
90
97
  export class ConcurrentModificationException extends __BaseException {
98
+ static shapeId = "com.amazonaws.appsync#ConcurrentModificationException";
91
99
  name = "ConcurrentModificationException";
92
100
  $fault = "client";
93
101
  constructor(opts) {
@@ -100,6 +108,7 @@ export class ConcurrentModificationException extends __BaseException {
100
108
  }
101
109
  }
102
110
  export class LimitExceededException extends __BaseException {
111
+ static shapeId = "com.amazonaws.appsync#LimitExceededException";
103
112
  name = "LimitExceededException";
104
113
  $fault = "client";
105
114
  constructor(opts) {
@@ -112,6 +121,7 @@ export class LimitExceededException extends __BaseException {
112
121
  }
113
122
  }
114
123
  export class UnauthorizedException extends __BaseException {
124
+ static shapeId = "com.amazonaws.appsync#UnauthorizedException";
115
125
  name = "UnauthorizedException";
116
126
  $fault = "client";
117
127
  constructor(opts) {
@@ -124,6 +134,7 @@ export class UnauthorizedException extends __BaseException {
124
134
  }
125
135
  }
126
136
  export class ServiceQuotaExceededException extends __BaseException {
137
+ static shapeId = "com.amazonaws.appsync#ServiceQuotaExceededException";
127
138
  name = "ServiceQuotaExceededException";
128
139
  $fault = "client";
129
140
  constructor(opts) {
@@ -136,6 +147,7 @@ export class ServiceQuotaExceededException extends __BaseException {
136
147
  }
137
148
  }
138
149
  export class ConflictException extends __BaseException {
150
+ static shapeId = "com.amazonaws.appsync#ConflictException";
139
151
  name = "ConflictException";
140
152
  $fault = "client";
141
153
  constructor(opts) {
@@ -148,6 +160,7 @@ export class ConflictException extends __BaseException {
148
160
  }
149
161
  }
150
162
  export class GraphQLSchemaException extends __BaseException {
163
+ static shapeId = "com.amazonaws.appsync#GraphQLSchemaException";
151
164
  name = "GraphQLSchemaException";
152
165
  $fault = "client";
153
166
  constructor(opts) {
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from AppSync service.
8
8
  */
9
9
  export declare class AppSyncServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -7,6 +7,7 @@ import type { BadRequestDetail } from "./models_0";
7
7
  * @public
8
8
  */
9
9
  export declare class AccessDeniedException extends __BaseException {
10
+ static readonly shapeId: string;
10
11
  readonly name: "AccessDeniedException";
11
12
  readonly $fault: "client";
12
13
  /**
@@ -19,6 +20,7 @@ export declare class AccessDeniedException extends __BaseException {
19
20
  * @public
20
21
  */
21
22
  export declare class ApiKeyLimitExceededException extends __BaseException {
23
+ static readonly shapeId: string;
22
24
  readonly name: "ApiKeyLimitExceededException";
23
25
  readonly $fault: "client";
24
26
  /**
@@ -32,6 +34,7 @@ export declare class ApiKeyLimitExceededException extends __BaseException {
32
34
  * @public
33
35
  */
34
36
  export declare class ApiKeyValidityOutOfBoundsException extends __BaseException {
37
+ static readonly shapeId: string;
35
38
  readonly name: "ApiKeyValidityOutOfBoundsException";
36
39
  readonly $fault: "client";
37
40
  /**
@@ -44,6 +47,7 @@ export declare class ApiKeyValidityOutOfBoundsException extends __BaseException
44
47
  * @public
45
48
  */
46
49
  export declare class ApiLimitExceededException extends __BaseException {
50
+ static readonly shapeId: string;
47
51
  readonly name: "ApiLimitExceededException";
48
52
  readonly $fault: "client";
49
53
  /**
@@ -57,6 +61,7 @@ export declare class ApiLimitExceededException extends __BaseException {
57
61
  * @public
58
62
  */
59
63
  export declare class BadRequestException extends __BaseException {
64
+ static readonly shapeId: string;
60
65
  readonly name: "BadRequestException";
61
66
  readonly $fault: "client";
62
67
  /**
@@ -81,6 +86,7 @@ export declare class BadRequestException extends __BaseException {
81
86
  * @public
82
87
  */
83
88
  export declare class InternalFailureException extends __BaseException {
89
+ static readonly shapeId: string;
84
90
  readonly name: "InternalFailureException";
85
91
  readonly $fault: "server";
86
92
  /**
@@ -94,6 +100,7 @@ export declare class InternalFailureException extends __BaseException {
94
100
  * @public
95
101
  */
96
102
  export declare class NotFoundException extends __BaseException {
103
+ static readonly shapeId: string;
97
104
  readonly name: "NotFoundException";
98
105
  readonly $fault: "client";
99
106
  /**
@@ -107,6 +114,7 @@ export declare class NotFoundException extends __BaseException {
107
114
  * @public
108
115
  */
109
116
  export declare class ConcurrentModificationException extends __BaseException {
117
+ static readonly shapeId: string;
110
118
  readonly name: "ConcurrentModificationException";
111
119
  readonly $fault: "client";
112
120
  /**
@@ -119,6 +127,7 @@ export declare class ConcurrentModificationException extends __BaseException {
119
127
  * @public
120
128
  */
121
129
  export declare class LimitExceededException extends __BaseException {
130
+ static readonly shapeId: string;
122
131
  readonly name: "LimitExceededException";
123
132
  readonly $fault: "client";
124
133
  /**
@@ -131,6 +140,7 @@ export declare class LimitExceededException extends __BaseException {
131
140
  * @public
132
141
  */
133
142
  export declare class UnauthorizedException extends __BaseException {
143
+ static readonly shapeId: string;
134
144
  readonly name: "UnauthorizedException";
135
145
  readonly $fault: "client";
136
146
  /**
@@ -143,6 +153,7 @@ export declare class UnauthorizedException extends __BaseException {
143
153
  * @public
144
154
  */
145
155
  export declare class ServiceQuotaExceededException extends __BaseException {
156
+ static readonly shapeId: string;
146
157
  readonly name: "ServiceQuotaExceededException";
147
158
  readonly $fault: "client";
148
159
  /**
@@ -157,6 +168,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
157
168
  * @public
158
169
  */
159
170
  export declare class ConflictException extends __BaseException {
171
+ static readonly shapeId: string;
160
172
  readonly name: "ConflictException";
161
173
  readonly $fault: "client";
162
174
  /**
@@ -169,6 +181,7 @@ export declare class ConflictException extends __BaseException {
169
181
  * @public
170
182
  */
171
183
  export declare class GraphQLSchemaException extends __BaseException {
184
+ static readonly shapeId: string;
172
185
  readonly name: "GraphQLSchemaException";
173
186
  readonly $fault: "client";
174
187
  /**
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class AppSyncServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -3,26 +3,31 @@ import { AppSyncServiceException as __BaseException } from "./AppSyncServiceExce
3
3
  import { BadRequestReason } from "./enums";
4
4
  import { BadRequestDetail } from "./models_0";
5
5
  export declare class AccessDeniedException extends __BaseException {
6
+ static readonly shapeId: string;
6
7
  readonly name: "AccessDeniedException";
7
8
  readonly $fault: "client";
8
9
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
10
  }
10
11
  export declare class ApiKeyLimitExceededException extends __BaseException {
12
+ static readonly shapeId: string;
11
13
  readonly name: "ApiKeyLimitExceededException";
12
14
  readonly $fault: "client";
13
15
  constructor(opts: __ExceptionOptionType<ApiKeyLimitExceededException, __BaseException>);
14
16
  }
15
17
  export declare class ApiKeyValidityOutOfBoundsException extends __BaseException {
18
+ static readonly shapeId: string;
16
19
  readonly name: "ApiKeyValidityOutOfBoundsException";
17
20
  readonly $fault: "client";
18
21
  constructor(opts: __ExceptionOptionType<ApiKeyValidityOutOfBoundsException, __BaseException>);
19
22
  }
20
23
  export declare class ApiLimitExceededException extends __BaseException {
24
+ static readonly shapeId: string;
21
25
  readonly name: "ApiLimitExceededException";
22
26
  readonly $fault: "client";
23
27
  constructor(opts: __ExceptionOptionType<ApiLimitExceededException, __BaseException>);
24
28
  }
25
29
  export declare class BadRequestException extends __BaseException {
30
+ static readonly shapeId: string;
26
31
  readonly name: "BadRequestException";
27
32
  readonly $fault: "client";
28
33
  reason?: BadRequestReason | undefined;
@@ -30,41 +35,49 @@ export declare class BadRequestException extends __BaseException {
30
35
  constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
31
36
  }
32
37
  export declare class InternalFailureException extends __BaseException {
38
+ static readonly shapeId: string;
33
39
  readonly name: "InternalFailureException";
34
40
  readonly $fault: "server";
35
41
  constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
36
42
  }
37
43
  export declare class NotFoundException extends __BaseException {
44
+ static readonly shapeId: string;
38
45
  readonly name: "NotFoundException";
39
46
  readonly $fault: "client";
40
47
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
41
48
  }
42
49
  export declare class ConcurrentModificationException extends __BaseException {
50
+ static readonly shapeId: string;
43
51
  readonly name: "ConcurrentModificationException";
44
52
  readonly $fault: "client";
45
53
  constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
46
54
  }
47
55
  export declare class LimitExceededException extends __BaseException {
56
+ static readonly shapeId: string;
48
57
  readonly name: "LimitExceededException";
49
58
  readonly $fault: "client";
50
59
  constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
51
60
  }
52
61
  export declare class UnauthorizedException extends __BaseException {
62
+ static readonly shapeId: string;
53
63
  readonly name: "UnauthorizedException";
54
64
  readonly $fault: "client";
55
65
  constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
56
66
  }
57
67
  export declare class ServiceQuotaExceededException extends __BaseException {
68
+ static readonly shapeId: string;
58
69
  readonly name: "ServiceQuotaExceededException";
59
70
  readonly $fault: "client";
60
71
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
61
72
  }
62
73
  export declare class ConflictException extends __BaseException {
74
+ static readonly shapeId: string;
63
75
  readonly name: "ConflictException";
64
76
  readonly $fault: "client";
65
77
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
66
78
  }
67
79
  export declare class GraphQLSchemaException extends __BaseException {
80
+ static readonly shapeId: string;
68
81
  readonly name: "GraphQLSchemaException";
69
82
  readonly $fault: "client";
70
83
  constructor(opts: __ExceptionOptionType<GraphQLSchemaException, __BaseException>);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appsync",
3
- "version": "3.1148.0",
3
+ "version": "3.1150.0",
4
4
  "description": "AWS SDK for JavaScript Appsync Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-appsync",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.84",
49
+ "@aws-sdk/core": "^3.978.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.86",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.0",
52
+ "@smithy/core": "^3.35.2",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",