@aws-sdk/client-appsync 3.52.0 → 3.54.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-es/index.js CHANGED
@@ -2,3 +2,4 @@ export * from "./AppSync";
2
2
  export * from "./AppSyncClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { AppSyncServiceException } from "./models/AppSyncServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var AppSyncServiceException = (function (_super) {
4
+ __extends(AppSyncServiceException, _super);
5
+ function AppSyncServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, AppSyncServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return AppSyncServiceException;
11
+ }(__ServiceException));
12
+ export { AppSyncServiceException };
@@ -1,4 +1,17 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { AppSyncServiceException as __BaseException } from "./AppSyncServiceException";
3
+ var AccessDeniedException = (function (_super) {
4
+ __extends(AccessDeniedException, _super);
5
+ function AccessDeniedException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
7
+ _this.name = "AccessDeniedException";
8
+ _this.$fault = "client";
9
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
10
+ return _this;
11
+ }
12
+ return AccessDeniedException;
13
+ }(__BaseException));
14
+ export { AccessDeniedException };
2
15
  export var AuthenticationType;
3
16
  (function (AuthenticationType) {
4
17
  AuthenticationType["AMAZON_COGNITO_USER_POOLS"] = "AMAZON_COGNITO_USER_POOLS";
@@ -72,6 +85,42 @@ export var ApiKey;
72
85
  (function (ApiKey) {
73
86
  ApiKey.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
74
87
  })(ApiKey || (ApiKey = {}));
88
+ var ApiKeyLimitExceededException = (function (_super) {
89
+ __extends(ApiKeyLimitExceededException, _super);
90
+ function ApiKeyLimitExceededException(opts) {
91
+ var _this = _super.call(this, __assign({ name: "ApiKeyLimitExceededException", $fault: "client" }, opts)) || this;
92
+ _this.name = "ApiKeyLimitExceededException";
93
+ _this.$fault = "client";
94
+ Object.setPrototypeOf(_this, ApiKeyLimitExceededException.prototype);
95
+ return _this;
96
+ }
97
+ return ApiKeyLimitExceededException;
98
+ }(__BaseException));
99
+ export { ApiKeyLimitExceededException };
100
+ var ApiKeyValidityOutOfBoundsException = (function (_super) {
101
+ __extends(ApiKeyValidityOutOfBoundsException, _super);
102
+ function ApiKeyValidityOutOfBoundsException(opts) {
103
+ var _this = _super.call(this, __assign({ name: "ApiKeyValidityOutOfBoundsException", $fault: "client" }, opts)) || this;
104
+ _this.name = "ApiKeyValidityOutOfBoundsException";
105
+ _this.$fault = "client";
106
+ Object.setPrototypeOf(_this, ApiKeyValidityOutOfBoundsException.prototype);
107
+ return _this;
108
+ }
109
+ return ApiKeyValidityOutOfBoundsException;
110
+ }(__BaseException));
111
+ export { ApiKeyValidityOutOfBoundsException };
112
+ var ApiLimitExceededException = (function (_super) {
113
+ __extends(ApiLimitExceededException, _super);
114
+ function ApiLimitExceededException(opts) {
115
+ var _this = _super.call(this, __assign({ name: "ApiLimitExceededException", $fault: "client" }, opts)) || this;
116
+ _this.name = "ApiLimitExceededException";
117
+ _this.$fault = "client";
118
+ Object.setPrototypeOf(_this, ApiLimitExceededException.prototype);
119
+ return _this;
120
+ }
121
+ return ApiLimitExceededException;
122
+ }(__BaseException));
123
+ export { ApiLimitExceededException };
75
124
  export var AssociateApiRequest;
76
125
  (function (AssociateApiRequest) {
77
126
  AssociateApiRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -80,6 +129,42 @@ export var AssociateApiResponse;
80
129
  (function (AssociateApiResponse) {
81
130
  AssociateApiResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
82
131
  })(AssociateApiResponse || (AssociateApiResponse = {}));
132
+ var BadRequestException = (function (_super) {
133
+ __extends(BadRequestException, _super);
134
+ function BadRequestException(opts) {
135
+ var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
136
+ _this.name = "BadRequestException";
137
+ _this.$fault = "client";
138
+ Object.setPrototypeOf(_this, BadRequestException.prototype);
139
+ return _this;
140
+ }
141
+ return BadRequestException;
142
+ }(__BaseException));
143
+ export { BadRequestException };
144
+ var InternalFailureException = (function (_super) {
145
+ __extends(InternalFailureException, _super);
146
+ function InternalFailureException(opts) {
147
+ var _this = _super.call(this, __assign({ name: "InternalFailureException", $fault: "server" }, opts)) || this;
148
+ _this.name = "InternalFailureException";
149
+ _this.$fault = "server";
150
+ Object.setPrototypeOf(_this, InternalFailureException.prototype);
151
+ return _this;
152
+ }
153
+ return InternalFailureException;
154
+ }(__BaseException));
155
+ export { InternalFailureException };
156
+ var NotFoundException = (function (_super) {
157
+ __extends(NotFoundException, _super);
158
+ function NotFoundException(opts) {
159
+ var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
160
+ _this.name = "NotFoundException";
161
+ _this.$fault = "client";
162
+ Object.setPrototypeOf(_this, NotFoundException.prototype);
163
+ return _this;
164
+ }
165
+ return NotFoundException;
166
+ }(__BaseException));
167
+ export { NotFoundException };
83
168
  export var AuthorizationType;
84
169
  (function (AuthorizationType) {
85
170
  AuthorizationType["AWS_IAM"] = "AWS_IAM";
@@ -92,6 +177,18 @@ export var AuthorizationConfig;
92
177
  (function (AuthorizationConfig) {
93
178
  AuthorizationConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
94
179
  })(AuthorizationConfig || (AuthorizationConfig = {}));
180
+ var ConcurrentModificationException = (function (_super) {
181
+ __extends(ConcurrentModificationException, _super);
182
+ function ConcurrentModificationException(opts) {
183
+ var _this = _super.call(this, __assign({ name: "ConcurrentModificationException", $fault: "client" }, opts)) || this;
184
+ _this.name = "ConcurrentModificationException";
185
+ _this.$fault = "client";
186
+ Object.setPrototypeOf(_this, ConcurrentModificationException.prototype);
187
+ return _this;
188
+ }
189
+ return ConcurrentModificationException;
190
+ }(__BaseException));
191
+ export { ConcurrentModificationException };
95
192
  export var CreateApiCacheRequest;
96
193
  (function (CreateApiCacheRequest) {
97
194
  CreateApiCacheRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -100,6 +197,18 @@ export var CreateApiCacheResponse;
100
197
  (function (CreateApiCacheResponse) {
101
198
  CreateApiCacheResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
102
199
  })(CreateApiCacheResponse || (CreateApiCacheResponse = {}));
200
+ var UnauthorizedException = (function (_super) {
201
+ __extends(UnauthorizedException, _super);
202
+ function UnauthorizedException(opts) {
203
+ var _this = _super.call(this, __assign({ name: "UnauthorizedException", $fault: "client" }, opts)) || this;
204
+ _this.name = "UnauthorizedException";
205
+ _this.$fault = "client";
206
+ Object.setPrototypeOf(_this, UnauthorizedException.prototype);
207
+ return _this;
208
+ }
209
+ return UnauthorizedException;
210
+ }(__BaseException));
211
+ export { UnauthorizedException };
103
212
  export var CreateApiKeyRequest;
104
213
  (function (CreateApiKeyRequest) {
105
214
  CreateApiKeyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -108,6 +217,18 @@ export var CreateApiKeyResponse;
108
217
  (function (CreateApiKeyResponse) {
109
218
  CreateApiKeyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
110
219
  })(CreateApiKeyResponse || (CreateApiKeyResponse = {}));
220
+ var LimitExceededException = (function (_super) {
221
+ __extends(LimitExceededException, _super);
222
+ function LimitExceededException(opts) {
223
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
224
+ _this.name = "LimitExceededException";
225
+ _this.$fault = "client";
226
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
227
+ return _this;
228
+ }
229
+ return LimitExceededException;
230
+ }(__BaseException));
231
+ export { LimitExceededException };
111
232
  export var DeltaSyncConfig;
112
233
  (function (DeltaSyncConfig) {
113
234
  DeltaSyncConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -424,6 +545,18 @@ export var GetIntrospectionSchemaResponse;
424
545
  (function (GetIntrospectionSchemaResponse) {
425
546
  GetIntrospectionSchemaResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
426
547
  })(GetIntrospectionSchemaResponse || (GetIntrospectionSchemaResponse = {}));
548
+ var GraphQLSchemaException = (function (_super) {
549
+ __extends(GraphQLSchemaException, _super);
550
+ function GraphQLSchemaException(opts) {
551
+ var _this = _super.call(this, __assign({ name: "GraphQLSchemaException", $fault: "client" }, opts)) || this;
552
+ _this.name = "GraphQLSchemaException";
553
+ _this.$fault = "client";
554
+ Object.setPrototypeOf(_this, GraphQLSchemaException.prototype);
555
+ return _this;
556
+ }
557
+ return GraphQLSchemaException;
558
+ }(__BaseException));
559
+ export { GraphQLSchemaException };
427
560
  export var GetResolverRequest;
428
561
  (function (GetResolverRequest) {
429
562
  GetResolverRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };