@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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/AppSyncServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +148 -3
- package/dist-cjs/protocols/Aws_restJson1.js +511 -1939
- package/dist-es/index.js +1 -0
- package/dist-es/models/AppSyncServiceException.js +12 -0
- package/dist-es/models/models_0.js +134 -1
- package/dist-es/protocols/Aws_restJson1.js +1109 -2147
- package/dist-types/AppSyncClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/AppSyncServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +79 -45
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/AppSyncClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/AppSyncServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +57 -45
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-appsync
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-appsync
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-appsync
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppSyncServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./AppSync"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./AppSyncClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
|
+
var AppSyncServiceException_1 = require("./models/AppSyncServiceException");
|
|
10
|
+
Object.defineProperty(exports, "AppSyncServiceException", { enumerable: true, get: function () { return AppSyncServiceException_1.AppSyncServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppSyncServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class AppSyncServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, AppSyncServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.AppSyncServiceException = AppSyncServiceException;
|
|
@@ -1,8 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
3
|
+
exports.LambdaConflictHandlerConfig = exports.ConflictHandlerType = exports.ConflictDetectionType = exports.CreateDomainNameResponse = exports.DomainNameConfig = exports.CreateDomainNameRequest = exports.CreateDataSourceResponse = exports.DataSource = exports.CreateDataSourceRequest = exports.DataSourceType = exports.RelationalDatabaseDataSourceConfig = exports.RelationalDatabaseSourceType = exports.RdsHttpEndpointConfig = exports.OpenSearchServiceDataSourceConfig = exports.LambdaDataSourceConfig = exports.HttpDataSourceConfig = exports.ElasticsearchDataSourceConfig = exports.DynamodbDataSourceConfig = exports.DeltaSyncConfig = exports.LimitExceededException = exports.CreateApiKeyResponse = exports.CreateApiKeyRequest = exports.UnauthorizedException = exports.CreateApiCacheResponse = exports.CreateApiCacheRequest = exports.ConcurrentModificationException = exports.AuthorizationConfig = exports.AwsIamConfig = exports.AuthorizationType = exports.NotFoundException = exports.InternalFailureException = exports.BadRequestException = exports.AssociateApiResponse = exports.AssociateApiRequest = exports.ApiLimitExceededException = exports.ApiKeyValidityOutOfBoundsException = exports.ApiKeyLimitExceededException = exports.ApiKey = exports.ApiCache = exports.ApiCacheType = exports.ApiCacheStatus = exports.ApiCachingBehavior = exports.ApiAssociation = exports.AssociationStatus = exports.AdditionalAuthenticationProvider = exports.CognitoUserPoolConfig = exports.OpenIDConnectConfig = exports.LambdaAuthorizerConfig = exports.AuthenticationType = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.GetFunctionRequest = exports.GetDomainNameResponse = exports.GetDomainNameRequest = exports.GetDataSourceResponse = exports.GetDataSourceRequest = exports.GetApiCacheResponse = exports.GetApiCacheRequest = exports.GetApiAssociationResponse = exports.GetApiAssociationRequest = exports.FlushApiCacheResponse = exports.FlushApiCacheRequest = exports.DisassociateApiResponse = exports.DisassociateApiRequest = exports.DeleteTypeResponse = exports.DeleteTypeRequest = exports.DeleteResolverResponse = exports.DeleteResolverRequest = exports.DeleteGraphqlApiResponse = exports.DeleteGraphqlApiRequest = exports.DeleteFunctionResponse = exports.DeleteFunctionRequest = exports.DeleteDomainNameResponse = exports.DeleteDomainNameRequest = exports.DeleteDataSourceResponse = exports.DeleteDataSourceRequest = exports.DeleteApiKeyResponse = exports.DeleteApiKeyRequest = exports.DeleteApiCacheResponse = exports.DeleteApiCacheRequest = exports.CreateTypeResponse = exports.Type = exports.CreateTypeRequest = exports.TypeDefinitionFormat = exports.CreateResolverResponse = exports.Resolver = exports.CreateResolverRequest = exports.PipelineConfig = exports.ResolverKind = exports.CachingConfig = exports.CreateGraphqlApiResponse = exports.GraphqlApi = exports.CreateGraphqlApiRequest = exports.UserPoolConfig = exports.DefaultAction = exports.LogConfig = exports.FieldLogLevel = exports.CreateFunctionResponse = exports.FunctionConfiguration = exports.CreateFunctionRequest = exports.SyncConfig = void 0;
|
|
5
|
+
exports.UpdateGraphqlApiResponse = exports.UpdateGraphqlApiRequest = exports.UpdateFunctionResponse = exports.UpdateFunctionRequest = exports.UpdateDomainNameResponse = exports.UpdateDomainNameRequest = exports.UpdateDataSourceResponse = exports.UpdateDataSourceRequest = exports.UpdateApiKeyResponse = exports.UpdateApiKeyRequest = exports.UpdateApiCacheResponse = exports.UpdateApiCacheRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartSchemaCreationResponse = exports.StartSchemaCreationRequest = exports.ListTypesResponse = exports.ListTypesRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListResolversByFunctionResponse = exports.ListResolversByFunctionRequest = exports.ListResolversResponse = exports.ListResolversRequest = exports.ListGraphqlApisResponse = exports.ListGraphqlApisRequest = exports.ListFunctionsResponse = exports.ListFunctionsRequest = exports.ListDomainNamesResponse = exports.ListDomainNamesRequest = exports.ListDataSourcesResponse = exports.ListDataSourcesRequest = exports.ListApiKeysResponse = exports.ListApiKeysRequest = exports.GetTypeResponse = exports.GetTypeRequest = exports.GetSchemaCreationStatusResponse = exports.SchemaStatus = exports.GetSchemaCreationStatusRequest = exports.GetResolverResponse = exports.GetResolverRequest = exports.GraphQLSchemaException = exports.GetIntrospectionSchemaResponse = exports.GetIntrospectionSchemaRequest = exports.OutputType = exports.GetGraphqlApiResponse = exports.GetGraphqlApiRequest = exports.GetFunctionResponse = void 0;
|
|
6
|
+
exports.UpdateTypeResponse = exports.UpdateTypeRequest = exports.UpdateResolverResponse = exports.UpdateResolverRequest = void 0;
|
|
7
|
+
const AppSyncServiceException_1 = require("./AppSyncServiceException");
|
|
8
|
+
class AccessDeniedException extends AppSyncServiceException_1.AppSyncServiceException {
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "AccessDeniedException",
|
|
12
|
+
$fault: "client",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
this.name = "AccessDeniedException";
|
|
16
|
+
this.$fault = "client";
|
|
17
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
6
21
|
var AuthenticationType;
|
|
7
22
|
(function (AuthenticationType) {
|
|
8
23
|
AuthenticationType["AMAZON_COGNITO_USER_POOLS"] = "AMAZON_COGNITO_USER_POOLS";
|
|
@@ -90,6 +105,45 @@ var ApiKey;
|
|
|
90
105
|
...obj,
|
|
91
106
|
});
|
|
92
107
|
})(ApiKey = exports.ApiKey || (exports.ApiKey = {}));
|
|
108
|
+
class ApiKeyLimitExceededException extends AppSyncServiceException_1.AppSyncServiceException {
|
|
109
|
+
constructor(opts) {
|
|
110
|
+
super({
|
|
111
|
+
name: "ApiKeyLimitExceededException",
|
|
112
|
+
$fault: "client",
|
|
113
|
+
...opts,
|
|
114
|
+
});
|
|
115
|
+
this.name = "ApiKeyLimitExceededException";
|
|
116
|
+
this.$fault = "client";
|
|
117
|
+
Object.setPrototypeOf(this, ApiKeyLimitExceededException.prototype);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
exports.ApiKeyLimitExceededException = ApiKeyLimitExceededException;
|
|
121
|
+
class ApiKeyValidityOutOfBoundsException extends AppSyncServiceException_1.AppSyncServiceException {
|
|
122
|
+
constructor(opts) {
|
|
123
|
+
super({
|
|
124
|
+
name: "ApiKeyValidityOutOfBoundsException",
|
|
125
|
+
$fault: "client",
|
|
126
|
+
...opts,
|
|
127
|
+
});
|
|
128
|
+
this.name = "ApiKeyValidityOutOfBoundsException";
|
|
129
|
+
this.$fault = "client";
|
|
130
|
+
Object.setPrototypeOf(this, ApiKeyValidityOutOfBoundsException.prototype);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
exports.ApiKeyValidityOutOfBoundsException = ApiKeyValidityOutOfBoundsException;
|
|
134
|
+
class ApiLimitExceededException extends AppSyncServiceException_1.AppSyncServiceException {
|
|
135
|
+
constructor(opts) {
|
|
136
|
+
super({
|
|
137
|
+
name: "ApiLimitExceededException",
|
|
138
|
+
$fault: "client",
|
|
139
|
+
...opts,
|
|
140
|
+
});
|
|
141
|
+
this.name = "ApiLimitExceededException";
|
|
142
|
+
this.$fault = "client";
|
|
143
|
+
Object.setPrototypeOf(this, ApiLimitExceededException.prototype);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
exports.ApiLimitExceededException = ApiLimitExceededException;
|
|
93
147
|
var AssociateApiRequest;
|
|
94
148
|
(function (AssociateApiRequest) {
|
|
95
149
|
AssociateApiRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -102,6 +156,45 @@ var AssociateApiResponse;
|
|
|
102
156
|
...obj,
|
|
103
157
|
});
|
|
104
158
|
})(AssociateApiResponse = exports.AssociateApiResponse || (exports.AssociateApiResponse = {}));
|
|
159
|
+
class BadRequestException extends AppSyncServiceException_1.AppSyncServiceException {
|
|
160
|
+
constructor(opts) {
|
|
161
|
+
super({
|
|
162
|
+
name: "BadRequestException",
|
|
163
|
+
$fault: "client",
|
|
164
|
+
...opts,
|
|
165
|
+
});
|
|
166
|
+
this.name = "BadRequestException";
|
|
167
|
+
this.$fault = "client";
|
|
168
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
exports.BadRequestException = BadRequestException;
|
|
172
|
+
class InternalFailureException extends AppSyncServiceException_1.AppSyncServiceException {
|
|
173
|
+
constructor(opts) {
|
|
174
|
+
super({
|
|
175
|
+
name: "InternalFailureException",
|
|
176
|
+
$fault: "server",
|
|
177
|
+
...opts,
|
|
178
|
+
});
|
|
179
|
+
this.name = "InternalFailureException";
|
|
180
|
+
this.$fault = "server";
|
|
181
|
+
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
exports.InternalFailureException = InternalFailureException;
|
|
185
|
+
class NotFoundException extends AppSyncServiceException_1.AppSyncServiceException {
|
|
186
|
+
constructor(opts) {
|
|
187
|
+
super({
|
|
188
|
+
name: "NotFoundException",
|
|
189
|
+
$fault: "client",
|
|
190
|
+
...opts,
|
|
191
|
+
});
|
|
192
|
+
this.name = "NotFoundException";
|
|
193
|
+
this.$fault = "client";
|
|
194
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
exports.NotFoundException = NotFoundException;
|
|
105
198
|
var AuthorizationType;
|
|
106
199
|
(function (AuthorizationType) {
|
|
107
200
|
AuthorizationType["AWS_IAM"] = "AWS_IAM";
|
|
@@ -118,6 +211,19 @@ var AuthorizationConfig;
|
|
|
118
211
|
...obj,
|
|
119
212
|
});
|
|
120
213
|
})(AuthorizationConfig = exports.AuthorizationConfig || (exports.AuthorizationConfig = {}));
|
|
214
|
+
class ConcurrentModificationException extends AppSyncServiceException_1.AppSyncServiceException {
|
|
215
|
+
constructor(opts) {
|
|
216
|
+
super({
|
|
217
|
+
name: "ConcurrentModificationException",
|
|
218
|
+
$fault: "client",
|
|
219
|
+
...opts,
|
|
220
|
+
});
|
|
221
|
+
this.name = "ConcurrentModificationException";
|
|
222
|
+
this.$fault = "client";
|
|
223
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
121
227
|
var CreateApiCacheRequest;
|
|
122
228
|
(function (CreateApiCacheRequest) {
|
|
123
229
|
CreateApiCacheRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -130,6 +236,19 @@ var CreateApiCacheResponse;
|
|
|
130
236
|
...obj,
|
|
131
237
|
});
|
|
132
238
|
})(CreateApiCacheResponse = exports.CreateApiCacheResponse || (exports.CreateApiCacheResponse = {}));
|
|
239
|
+
class UnauthorizedException extends AppSyncServiceException_1.AppSyncServiceException {
|
|
240
|
+
constructor(opts) {
|
|
241
|
+
super({
|
|
242
|
+
name: "UnauthorizedException",
|
|
243
|
+
$fault: "client",
|
|
244
|
+
...opts,
|
|
245
|
+
});
|
|
246
|
+
this.name = "UnauthorizedException";
|
|
247
|
+
this.$fault = "client";
|
|
248
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
exports.UnauthorizedException = UnauthorizedException;
|
|
133
252
|
var CreateApiKeyRequest;
|
|
134
253
|
(function (CreateApiKeyRequest) {
|
|
135
254
|
CreateApiKeyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -142,6 +261,19 @@ var CreateApiKeyResponse;
|
|
|
142
261
|
...obj,
|
|
143
262
|
});
|
|
144
263
|
})(CreateApiKeyResponse = exports.CreateApiKeyResponse || (exports.CreateApiKeyResponse = {}));
|
|
264
|
+
class LimitExceededException extends AppSyncServiceException_1.AppSyncServiceException {
|
|
265
|
+
constructor(opts) {
|
|
266
|
+
super({
|
|
267
|
+
name: "LimitExceededException",
|
|
268
|
+
$fault: "client",
|
|
269
|
+
...opts,
|
|
270
|
+
});
|
|
271
|
+
this.name = "LimitExceededException";
|
|
272
|
+
this.$fault = "client";
|
|
273
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
exports.LimitExceededException = LimitExceededException;
|
|
145
277
|
var DeltaSyncConfig;
|
|
146
278
|
(function (DeltaSyncConfig) {
|
|
147
279
|
DeltaSyncConfig.filterSensitiveLog = (obj) => ({
|
|
@@ -590,6 +722,19 @@ var GetIntrospectionSchemaResponse;
|
|
|
590
722
|
...obj,
|
|
591
723
|
});
|
|
592
724
|
})(GetIntrospectionSchemaResponse = exports.GetIntrospectionSchemaResponse || (exports.GetIntrospectionSchemaResponse = {}));
|
|
725
|
+
class GraphQLSchemaException extends AppSyncServiceException_1.AppSyncServiceException {
|
|
726
|
+
constructor(opts) {
|
|
727
|
+
super({
|
|
728
|
+
name: "GraphQLSchemaException",
|
|
729
|
+
$fault: "client",
|
|
730
|
+
...opts,
|
|
731
|
+
});
|
|
732
|
+
this.name = "GraphQLSchemaException";
|
|
733
|
+
this.$fault = "client";
|
|
734
|
+
Object.setPrototypeOf(this, GraphQLSchemaException.prototype);
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
exports.GraphQLSchemaException = GraphQLSchemaException;
|
|
593
738
|
var GetResolverRequest;
|
|
594
739
|
(function (GetResolverRequest) {
|
|
595
740
|
GetResolverRequest.filterSensitiveLog = (obj) => ({
|