@aws-sdk/client-appsync 3.489.0 → 3.495.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.
Files changed (74) hide show
  1. package/dist-cjs/AppSync.js +1 -135
  2. package/dist-cjs/AppSyncClient.js +1 -43
  3. package/dist-cjs/commands/AssociateApiCommand.js +1 -28
  4. package/dist-cjs/commands/AssociateMergedGraphqlApiCommand.js +1 -28
  5. package/dist-cjs/commands/AssociateSourceGraphqlApiCommand.js +1 -28
  6. package/dist-cjs/commands/CreateApiCacheCommand.js +1 -28
  7. package/dist-cjs/commands/CreateApiKeyCommand.js +1 -28
  8. package/dist-cjs/commands/CreateDataSourceCommand.js +1 -28
  9. package/dist-cjs/commands/CreateDomainNameCommand.js +1 -28
  10. package/dist-cjs/commands/CreateFunctionCommand.js +1 -28
  11. package/dist-cjs/commands/CreateGraphqlApiCommand.js +1 -28
  12. package/dist-cjs/commands/CreateResolverCommand.js +1 -28
  13. package/dist-cjs/commands/CreateTypeCommand.js +1 -28
  14. package/dist-cjs/commands/DeleteApiCacheCommand.js +1 -28
  15. package/dist-cjs/commands/DeleteApiKeyCommand.js +1 -28
  16. package/dist-cjs/commands/DeleteDataSourceCommand.js +1 -28
  17. package/dist-cjs/commands/DeleteDomainNameCommand.js +1 -28
  18. package/dist-cjs/commands/DeleteFunctionCommand.js +1 -28
  19. package/dist-cjs/commands/DeleteGraphqlApiCommand.js +1 -28
  20. package/dist-cjs/commands/DeleteResolverCommand.js +1 -28
  21. package/dist-cjs/commands/DeleteTypeCommand.js +1 -28
  22. package/dist-cjs/commands/DisassociateApiCommand.js +1 -28
  23. package/dist-cjs/commands/DisassociateMergedGraphqlApiCommand.js +1 -28
  24. package/dist-cjs/commands/DisassociateSourceGraphqlApiCommand.js +1 -28
  25. package/dist-cjs/commands/EvaluateCodeCommand.js +1 -28
  26. package/dist-cjs/commands/EvaluateMappingTemplateCommand.js +1 -28
  27. package/dist-cjs/commands/FlushApiCacheCommand.js +1 -28
  28. package/dist-cjs/commands/GetApiAssociationCommand.js +1 -28
  29. package/dist-cjs/commands/GetApiCacheCommand.js +1 -28
  30. package/dist-cjs/commands/GetDataSourceCommand.js +1 -28
  31. package/dist-cjs/commands/GetDataSourceIntrospectionCommand.js +1 -28
  32. package/dist-cjs/commands/GetDomainNameCommand.js +1 -28
  33. package/dist-cjs/commands/GetFunctionCommand.js +1 -28
  34. package/dist-cjs/commands/GetGraphqlApiCommand.js +1 -28
  35. package/dist-cjs/commands/GetIntrospectionSchemaCommand.js +1 -28
  36. package/dist-cjs/commands/GetResolverCommand.js +1 -28
  37. package/dist-cjs/commands/GetSchemaCreationStatusCommand.js +1 -28
  38. package/dist-cjs/commands/GetSourceApiAssociationCommand.js +1 -28
  39. package/dist-cjs/commands/GetTypeCommand.js +1 -28
  40. package/dist-cjs/commands/ListApiKeysCommand.js +1 -28
  41. package/dist-cjs/commands/ListDataSourcesCommand.js +1 -28
  42. package/dist-cjs/commands/ListDomainNamesCommand.js +1 -28
  43. package/dist-cjs/commands/ListFunctionsCommand.js +1 -28
  44. package/dist-cjs/commands/ListGraphqlApisCommand.js +1 -28
  45. package/dist-cjs/commands/ListResolversByFunctionCommand.js +1 -28
  46. package/dist-cjs/commands/ListResolversCommand.js +1 -28
  47. package/dist-cjs/commands/ListSourceApiAssociationsCommand.js +1 -28
  48. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  49. package/dist-cjs/commands/ListTypesByAssociationCommand.js +1 -28
  50. package/dist-cjs/commands/ListTypesCommand.js +1 -28
  51. package/dist-cjs/commands/StartDataSourceIntrospectionCommand.js +1 -28
  52. package/dist-cjs/commands/StartSchemaCreationCommand.js +1 -28
  53. package/dist-cjs/commands/StartSchemaMergeCommand.js +1 -28
  54. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  55. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  56. package/dist-cjs/commands/UpdateApiCacheCommand.js +1 -28
  57. package/dist-cjs/commands/UpdateApiKeyCommand.js +1 -28
  58. package/dist-cjs/commands/UpdateDataSourceCommand.js +1 -28
  59. package/dist-cjs/commands/UpdateDomainNameCommand.js +1 -28
  60. package/dist-cjs/commands/UpdateFunctionCommand.js +1 -28
  61. package/dist-cjs/commands/UpdateGraphqlApiCommand.js +1 -28
  62. package/dist-cjs/commands/UpdateResolverCommand.js +1 -28
  63. package/dist-cjs/commands/UpdateSourceApiAssociationCommand.js +1 -28
  64. package/dist-cjs/commands/UpdateTypeCommand.js +1 -28
  65. package/dist-cjs/commands/index.js +1 -65
  66. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  67. package/dist-cjs/extensionConfiguration.js +1 -2
  68. package/dist-cjs/index.js +5665 -10
  69. package/dist-cjs/models/AppSyncServiceException.js +1 -12
  70. package/dist-cjs/models/index.js +1 -4
  71. package/dist-cjs/models/models_0.js +1 -285
  72. package/dist-cjs/protocols/Aws_restJson1.js +1 -3961
  73. package/dist-cjs/runtimeExtensions.js +1 -22
  74. package/package.json +41 -41
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AppSyncServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class AppSyncServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, AppSyncServiceException.prototype);
10
- }
11
- }
12
- exports.AppSyncServiceException = AppSyncServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,285 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Ownership = exports.SchemaStatus = exports.GraphQLSchemaException = exports.OutputType = exports.DataSourceIntrospectionStatus = exports.TypeDefinitionFormat = exports.ResolverKind = exports.GraphQLApiVisibility = exports.DefaultAction = exports.FieldLogLevel = exports.GraphQLApiIntrospectionConfig = exports.GraphQLApiType = exports.ConflictHandlerType = exports.ConflictDetectionType = exports.DataSourceType = exports.RelationalDatabaseSourceType = exports.AuthorizationType = exports.UnauthorizedException = exports.LimitExceededException = exports.ConcurrentModificationException = exports.SourceApiAssociationStatus = exports.MergeType = exports.NotFoundException = exports.InternalFailureException = exports.BadRequestException = exports.BadRequestReason = exports.RuntimeName = exports.ApiLimitExceededException = exports.ApiKeyValidityOutOfBoundsException = exports.ApiKeyLimitExceededException = exports.ApiCacheType = exports.ApiCacheStatus = exports.ApiCachingBehavior = exports.AssociationStatus = exports.AuthenticationType = exports.AccessDeniedException = void 0;
4
- const AppSyncServiceException_1 = require("./AppSyncServiceException");
5
- class AccessDeniedException extends AppSyncServiceException_1.AppSyncServiceException {
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- this.name = "AccessDeniedException";
13
- this.$fault = "client";
14
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
- }
16
- }
17
- exports.AccessDeniedException = AccessDeniedException;
18
- exports.AuthenticationType = {
19
- AMAZON_COGNITO_USER_POOLS: "AMAZON_COGNITO_USER_POOLS",
20
- API_KEY: "API_KEY",
21
- AWS_IAM: "AWS_IAM",
22
- AWS_LAMBDA: "AWS_LAMBDA",
23
- OPENID_CONNECT: "OPENID_CONNECT",
24
- };
25
- exports.AssociationStatus = {
26
- Failed: "FAILED",
27
- Processing: "PROCESSING",
28
- Success: "SUCCESS",
29
- };
30
- exports.ApiCachingBehavior = {
31
- FULL_REQUEST_CACHING: "FULL_REQUEST_CACHING",
32
- PER_RESOLVER_CACHING: "PER_RESOLVER_CACHING",
33
- };
34
- exports.ApiCacheStatus = {
35
- AVAILABLE: "AVAILABLE",
36
- CREATING: "CREATING",
37
- DELETING: "DELETING",
38
- FAILED: "FAILED",
39
- MODIFYING: "MODIFYING",
40
- };
41
- exports.ApiCacheType = {
42
- LARGE: "LARGE",
43
- LARGE_12X: "LARGE_12X",
44
- LARGE_2X: "LARGE_2X",
45
- LARGE_4X: "LARGE_4X",
46
- LARGE_8X: "LARGE_8X",
47
- MEDIUM: "MEDIUM",
48
- R4_2XLARGE: "R4_2XLARGE",
49
- R4_4XLARGE: "R4_4XLARGE",
50
- R4_8XLARGE: "R4_8XLARGE",
51
- R4_LARGE: "R4_LARGE",
52
- R4_XLARGE: "R4_XLARGE",
53
- SMALL: "SMALL",
54
- T2_MEDIUM: "T2_MEDIUM",
55
- T2_SMALL: "T2_SMALL",
56
- XLARGE: "XLARGE",
57
- };
58
- class ApiKeyLimitExceededException extends AppSyncServiceException_1.AppSyncServiceException {
59
- constructor(opts) {
60
- super({
61
- name: "ApiKeyLimitExceededException",
62
- $fault: "client",
63
- ...opts,
64
- });
65
- this.name = "ApiKeyLimitExceededException";
66
- this.$fault = "client";
67
- Object.setPrototypeOf(this, ApiKeyLimitExceededException.prototype);
68
- }
69
- }
70
- exports.ApiKeyLimitExceededException = ApiKeyLimitExceededException;
71
- class ApiKeyValidityOutOfBoundsException extends AppSyncServiceException_1.AppSyncServiceException {
72
- constructor(opts) {
73
- super({
74
- name: "ApiKeyValidityOutOfBoundsException",
75
- $fault: "client",
76
- ...opts,
77
- });
78
- this.name = "ApiKeyValidityOutOfBoundsException";
79
- this.$fault = "client";
80
- Object.setPrototypeOf(this, ApiKeyValidityOutOfBoundsException.prototype);
81
- }
82
- }
83
- exports.ApiKeyValidityOutOfBoundsException = ApiKeyValidityOutOfBoundsException;
84
- class ApiLimitExceededException extends AppSyncServiceException_1.AppSyncServiceException {
85
- constructor(opts) {
86
- super({
87
- name: "ApiLimitExceededException",
88
- $fault: "client",
89
- ...opts,
90
- });
91
- this.name = "ApiLimitExceededException";
92
- this.$fault = "client";
93
- Object.setPrototypeOf(this, ApiLimitExceededException.prototype);
94
- }
95
- }
96
- exports.ApiLimitExceededException = ApiLimitExceededException;
97
- exports.RuntimeName = {
98
- APPSYNC_JS: "APPSYNC_JS",
99
- };
100
- exports.BadRequestReason = {
101
- CODE_ERROR: "CODE_ERROR",
102
- };
103
- class BadRequestException extends AppSyncServiceException_1.AppSyncServiceException {
104
- constructor(opts) {
105
- super({
106
- name: "BadRequestException",
107
- $fault: "client",
108
- ...opts,
109
- });
110
- this.name = "BadRequestException";
111
- this.$fault = "client";
112
- Object.setPrototypeOf(this, BadRequestException.prototype);
113
- this.reason = opts.reason;
114
- this.detail = opts.detail;
115
- }
116
- }
117
- exports.BadRequestException = BadRequestException;
118
- class InternalFailureException extends AppSyncServiceException_1.AppSyncServiceException {
119
- constructor(opts) {
120
- super({
121
- name: "InternalFailureException",
122
- $fault: "server",
123
- ...opts,
124
- });
125
- this.name = "InternalFailureException";
126
- this.$fault = "server";
127
- Object.setPrototypeOf(this, InternalFailureException.prototype);
128
- }
129
- }
130
- exports.InternalFailureException = InternalFailureException;
131
- class NotFoundException extends AppSyncServiceException_1.AppSyncServiceException {
132
- constructor(opts) {
133
- super({
134
- name: "NotFoundException",
135
- $fault: "client",
136
- ...opts,
137
- });
138
- this.name = "NotFoundException";
139
- this.$fault = "client";
140
- Object.setPrototypeOf(this, NotFoundException.prototype);
141
- }
142
- }
143
- exports.NotFoundException = NotFoundException;
144
- exports.MergeType = {
145
- AUTO_MERGE: "AUTO_MERGE",
146
- MANUAL_MERGE: "MANUAL_MERGE",
147
- };
148
- exports.SourceApiAssociationStatus = {
149
- AUTO_MERGE_SCHEDULE_FAILED: "AUTO_MERGE_SCHEDULE_FAILED",
150
- DELETION_FAILED: "DELETION_FAILED",
151
- DELETION_IN_PROGRESS: "DELETION_IN_PROGRESS",
152
- DELETION_SCHEDULED: "DELETION_SCHEDULED",
153
- MERGE_FAILED: "MERGE_FAILED",
154
- MERGE_IN_PROGRESS: "MERGE_IN_PROGRESS",
155
- MERGE_SCHEDULED: "MERGE_SCHEDULED",
156
- MERGE_SUCCESS: "MERGE_SUCCESS",
157
- };
158
- class ConcurrentModificationException extends AppSyncServiceException_1.AppSyncServiceException {
159
- constructor(opts) {
160
- super({
161
- name: "ConcurrentModificationException",
162
- $fault: "client",
163
- ...opts,
164
- });
165
- this.name = "ConcurrentModificationException";
166
- this.$fault = "client";
167
- Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
168
- }
169
- }
170
- exports.ConcurrentModificationException = ConcurrentModificationException;
171
- class LimitExceededException extends AppSyncServiceException_1.AppSyncServiceException {
172
- constructor(opts) {
173
- super({
174
- name: "LimitExceededException",
175
- $fault: "client",
176
- ...opts,
177
- });
178
- this.name = "LimitExceededException";
179
- this.$fault = "client";
180
- Object.setPrototypeOf(this, LimitExceededException.prototype);
181
- }
182
- }
183
- exports.LimitExceededException = LimitExceededException;
184
- class UnauthorizedException extends AppSyncServiceException_1.AppSyncServiceException {
185
- constructor(opts) {
186
- super({
187
- name: "UnauthorizedException",
188
- $fault: "client",
189
- ...opts,
190
- });
191
- this.name = "UnauthorizedException";
192
- this.$fault = "client";
193
- Object.setPrototypeOf(this, UnauthorizedException.prototype);
194
- }
195
- }
196
- exports.UnauthorizedException = UnauthorizedException;
197
- exports.AuthorizationType = {
198
- AWS_IAM: "AWS_IAM",
199
- };
200
- exports.RelationalDatabaseSourceType = {
201
- RDS_HTTP_ENDPOINT: "RDS_HTTP_ENDPOINT",
202
- };
203
- exports.DataSourceType = {
204
- AMAZON_DYNAMODB: "AMAZON_DYNAMODB",
205
- AMAZON_ELASTICSEARCH: "AMAZON_ELASTICSEARCH",
206
- AMAZON_EVENTBRIDGE: "AMAZON_EVENTBRIDGE",
207
- AMAZON_OPENSEARCH_SERVICE: "AMAZON_OPENSEARCH_SERVICE",
208
- AWS_LAMBDA: "AWS_LAMBDA",
209
- HTTP: "HTTP",
210
- NONE: "NONE",
211
- RELATIONAL_DATABASE: "RELATIONAL_DATABASE",
212
- };
213
- exports.ConflictDetectionType = {
214
- NONE: "NONE",
215
- VERSION: "VERSION",
216
- };
217
- exports.ConflictHandlerType = {
218
- AUTOMERGE: "AUTOMERGE",
219
- LAMBDA: "LAMBDA",
220
- NONE: "NONE",
221
- OPTIMISTIC_CONCURRENCY: "OPTIMISTIC_CONCURRENCY",
222
- };
223
- exports.GraphQLApiType = {
224
- GRAPHQL: "GRAPHQL",
225
- MERGED: "MERGED",
226
- };
227
- exports.GraphQLApiIntrospectionConfig = {
228
- DISABLED: "DISABLED",
229
- ENABLED: "ENABLED",
230
- };
231
- exports.FieldLogLevel = {
232
- ALL: "ALL",
233
- ERROR: "ERROR",
234
- NONE: "NONE",
235
- };
236
- exports.DefaultAction = {
237
- ALLOW: "ALLOW",
238
- DENY: "DENY",
239
- };
240
- exports.GraphQLApiVisibility = {
241
- GLOBAL: "GLOBAL",
242
- PRIVATE: "PRIVATE",
243
- };
244
- exports.ResolverKind = {
245
- PIPELINE: "PIPELINE",
246
- UNIT: "UNIT",
247
- };
248
- exports.TypeDefinitionFormat = {
249
- JSON: "JSON",
250
- SDL: "SDL",
251
- };
252
- exports.DataSourceIntrospectionStatus = {
253
- FAILED: "FAILED",
254
- PROCESSING: "PROCESSING",
255
- SUCCESS: "SUCCESS",
256
- };
257
- exports.OutputType = {
258
- JSON: "JSON",
259
- SDL: "SDL",
260
- };
261
- class GraphQLSchemaException extends AppSyncServiceException_1.AppSyncServiceException {
262
- constructor(opts) {
263
- super({
264
- name: "GraphQLSchemaException",
265
- $fault: "client",
266
- ...opts,
267
- });
268
- this.name = "GraphQLSchemaException";
269
- this.$fault = "client";
270
- Object.setPrototypeOf(this, GraphQLSchemaException.prototype);
271
- }
272
- }
273
- exports.GraphQLSchemaException = GraphQLSchemaException;
274
- exports.SchemaStatus = {
275
- Active: "ACTIVE",
276
- Deleting: "DELETING",
277
- Failed: "FAILED",
278
- NotApplicable: "NOT_APPLICABLE",
279
- Processing: "PROCESSING",
280
- Success: "SUCCESS",
281
- };
282
- exports.Ownership = {
283
- CURRENT_ACCOUNT: "CURRENT_ACCOUNT",
284
- OTHER_ACCOUNTS: "OTHER_ACCOUNTS",
285
- };
1
+ module.exports = require("../index.js");