@aws-sdk/client-appsync 3.338.0 → 3.341.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/README.md +72 -0
- package/dist-cjs/AppSync.js +18 -0
- package/dist-cjs/commands/AssociateMergedGraphqlApiCommand.js +46 -0
- package/dist-cjs/commands/AssociateSourceGraphqlApiCommand.js +46 -0
- package/dist-cjs/commands/DisassociateMergedGraphqlApiCommand.js +46 -0
- package/dist-cjs/commands/DisassociateSourceGraphqlApiCommand.js +46 -0
- package/dist-cjs/commands/GetSourceApiAssociationCommand.js +46 -0
- package/dist-cjs/commands/ListSourceApiAssociationsCommand.js +46 -0
- package/dist-cjs/commands/ListTypesByAssociationCommand.js +46 -0
- package/dist-cjs/commands/StartSchemaMergeCommand.js +46 -0
- package/dist-cjs/commands/UpdateSourceApiAssociationCommand.js +46 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/models/models_0.js +35 -13
- package/dist-cjs/protocols/Aws_restJson1.js +652 -16
- package/dist-es/AppSync.js +18 -0
- package/dist-es/commands/AssociateMergedGraphqlApiCommand.js +42 -0
- package/dist-es/commands/AssociateSourceGraphqlApiCommand.js +42 -0
- package/dist-es/commands/DisassociateMergedGraphqlApiCommand.js +42 -0
- package/dist-es/commands/DisassociateSourceGraphqlApiCommand.js +42 -0
- package/dist-es/commands/GetSourceApiAssociationCommand.js +42 -0
- package/dist-es/commands/ListSourceApiAssociationsCommand.js +42 -0
- package/dist-es/commands/ListTypesByAssociationCommand.js +42 -0
- package/dist-es/commands/StartSchemaMergeCommand.js +42 -0
- package/dist-es/commands/UpdateSourceApiAssociationCommand.js +42 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +32 -10
- package/dist-es/protocols/Aws_restJson1.js +632 -14
- package/dist-types/AppSync.d.ts +63 -0
- package/dist-types/AppSyncClient.d.ts +11 -2
- package/dist-types/commands/AssociateMergedGraphqlApiCommand.d.ts +113 -0
- package/dist-types/commands/AssociateSourceGraphqlApiCommand.d.ts +113 -0
- package/dist-types/commands/CreateGraphqlApiCommand.d.ts +7 -0
- package/dist-types/commands/DisassociateMergedGraphqlApiCommand.d.ts +93 -0
- package/dist-types/commands/DisassociateSourceGraphqlApiCommand.d.ts +93 -0
- package/dist-types/commands/GetGraphqlApiCommand.d.ts +4 -0
- package/dist-types/commands/GetSourceApiAssociationCommand.d.ts +102 -0
- package/dist-types/commands/ListGraphqlApisCommand.d.ts +6 -0
- package/dist-types/commands/ListSourceApiAssociationsCommand.d.ts +100 -0
- package/dist-types/commands/ListTypesByAssociationCommand.d.ts +104 -0
- package/dist-types/commands/StartSchemaMergeCommand.d.ts +92 -0
- package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +6 -0
- package/dist-types/commands/UpdateSourceApiAssociationCommand.d.ts +110 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +516 -39
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/AppSync.d.ts +153 -0
- package/dist-types/ts3.4/AppSyncClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/AssociateMergedGraphqlApiCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/AssociateSourceGraphqlApiCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DisassociateMergedGraphqlApiCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DisassociateSourceGraphqlApiCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetSourceApiAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListSourceApiAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListTypesByAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartSchemaMergeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateSourceApiAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +163 -24
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +28 -28
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./AssociateApiCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./AssociateMergedGraphqlApiCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./AssociateSourceGraphqlApiCommand"), exports);
|
|
5
7
|
tslib_1.__exportStar(require("./CreateApiCacheCommand"), exports);
|
|
6
8
|
tslib_1.__exportStar(require("./CreateApiKeyCommand"), exports);
|
|
7
9
|
tslib_1.__exportStar(require("./CreateDataSourceCommand"), exports);
|
|
@@ -19,6 +21,8 @@ tslib_1.__exportStar(require("./DeleteGraphqlApiCommand"), exports);
|
|
|
19
21
|
tslib_1.__exportStar(require("./DeleteResolverCommand"), exports);
|
|
20
22
|
tslib_1.__exportStar(require("./DeleteTypeCommand"), exports);
|
|
21
23
|
tslib_1.__exportStar(require("./DisassociateApiCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./DisassociateMergedGraphqlApiCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./DisassociateSourceGraphqlApiCommand"), exports);
|
|
22
26
|
tslib_1.__exportStar(require("./EvaluateCodeCommand"), exports);
|
|
23
27
|
tslib_1.__exportStar(require("./EvaluateMappingTemplateCommand"), exports);
|
|
24
28
|
tslib_1.__exportStar(require("./FlushApiCacheCommand"), exports);
|
|
@@ -31,6 +35,7 @@ tslib_1.__exportStar(require("./GetGraphqlApiCommand"), exports);
|
|
|
31
35
|
tslib_1.__exportStar(require("./GetIntrospectionSchemaCommand"), exports);
|
|
32
36
|
tslib_1.__exportStar(require("./GetResolverCommand"), exports);
|
|
33
37
|
tslib_1.__exportStar(require("./GetSchemaCreationStatusCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./GetSourceApiAssociationCommand"), exports);
|
|
34
39
|
tslib_1.__exportStar(require("./GetTypeCommand"), exports);
|
|
35
40
|
tslib_1.__exportStar(require("./ListApiKeysCommand"), exports);
|
|
36
41
|
tslib_1.__exportStar(require("./ListDataSourcesCommand"), exports);
|
|
@@ -39,9 +44,12 @@ tslib_1.__exportStar(require("./ListFunctionsCommand"), exports);
|
|
|
39
44
|
tslib_1.__exportStar(require("./ListGraphqlApisCommand"), exports);
|
|
40
45
|
tslib_1.__exportStar(require("./ListResolversByFunctionCommand"), exports);
|
|
41
46
|
tslib_1.__exportStar(require("./ListResolversCommand"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./ListSourceApiAssociationsCommand"), exports);
|
|
42
48
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
49
|
+
tslib_1.__exportStar(require("./ListTypesByAssociationCommand"), exports);
|
|
43
50
|
tslib_1.__exportStar(require("./ListTypesCommand"), exports);
|
|
44
51
|
tslib_1.__exportStar(require("./StartSchemaCreationCommand"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./StartSchemaMergeCommand"), exports);
|
|
45
53
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
46
54
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
47
55
|
tslib_1.__exportStar(require("./UpdateApiCacheCommand"), exports);
|
|
@@ -51,4 +59,5 @@ tslib_1.__exportStar(require("./UpdateDomainNameCommand"), exports);
|
|
|
51
59
|
tslib_1.__exportStar(require("./UpdateFunctionCommand"), exports);
|
|
52
60
|
tslib_1.__exportStar(require("./UpdateGraphqlApiCommand"), exports);
|
|
53
61
|
tslib_1.__exportStar(require("./UpdateResolverCommand"), exports);
|
|
62
|
+
tslib_1.__exportStar(require("./UpdateSourceApiAssociationCommand"), exports);
|
|
54
63
|
tslib_1.__exportStar(require("./UpdateTypeCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SchemaStatus = exports.GraphQLSchemaException = exports.OutputType = exports.TypeDefinitionFormat = exports.ResolverKind = exports.GraphQLApiVisibility = exports.DefaultAction = exports.FieldLogLevel = exports.ConflictHandlerType = exports.ConflictDetectionType = exports.DataSourceType = exports.RelationalDatabaseSourceType = exports.
|
|
3
|
+
exports.Ownership = exports.SchemaStatus = exports.GraphQLSchemaException = exports.OutputType = exports.TypeDefinitionFormat = exports.ResolverKind = exports.GraphQLApiVisibility = exports.DefaultAction = exports.FieldLogLevel = 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
4
|
const AppSyncServiceException_1 = require("./AppSyncServiceException");
|
|
5
5
|
class AccessDeniedException extends AppSyncServiceException_1.AppSyncServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -141,8 +141,19 @@ class NotFoundException extends AppSyncServiceException_1.AppSyncServiceExceptio
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
exports.NotFoundException = NotFoundException;
|
|
144
|
-
exports.
|
|
145
|
-
|
|
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",
|
|
146
157
|
};
|
|
147
158
|
class ConcurrentModificationException extends AppSyncServiceException_1.AppSyncServiceException {
|
|
148
159
|
constructor(opts) {
|
|
@@ -157,32 +168,35 @@ class ConcurrentModificationException extends AppSyncServiceException_1.AppSyncS
|
|
|
157
168
|
}
|
|
158
169
|
}
|
|
159
170
|
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
160
|
-
class
|
|
171
|
+
class LimitExceededException extends AppSyncServiceException_1.AppSyncServiceException {
|
|
161
172
|
constructor(opts) {
|
|
162
173
|
super({
|
|
163
|
-
name: "
|
|
174
|
+
name: "LimitExceededException",
|
|
164
175
|
$fault: "client",
|
|
165
176
|
...opts,
|
|
166
177
|
});
|
|
167
|
-
this.name = "
|
|
178
|
+
this.name = "LimitExceededException";
|
|
168
179
|
this.$fault = "client";
|
|
169
|
-
Object.setPrototypeOf(this,
|
|
180
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
170
181
|
}
|
|
171
182
|
}
|
|
172
|
-
exports.
|
|
173
|
-
class
|
|
183
|
+
exports.LimitExceededException = LimitExceededException;
|
|
184
|
+
class UnauthorizedException extends AppSyncServiceException_1.AppSyncServiceException {
|
|
174
185
|
constructor(opts) {
|
|
175
186
|
super({
|
|
176
|
-
name: "
|
|
187
|
+
name: "UnauthorizedException",
|
|
177
188
|
$fault: "client",
|
|
178
189
|
...opts,
|
|
179
190
|
});
|
|
180
|
-
this.name = "
|
|
191
|
+
this.name = "UnauthorizedException";
|
|
181
192
|
this.$fault = "client";
|
|
182
|
-
Object.setPrototypeOf(this,
|
|
193
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
183
194
|
}
|
|
184
195
|
}
|
|
185
|
-
exports.
|
|
196
|
+
exports.UnauthorizedException = UnauthorizedException;
|
|
197
|
+
exports.AuthorizationType = {
|
|
198
|
+
AWS_IAM: "AWS_IAM",
|
|
199
|
+
};
|
|
186
200
|
exports.RelationalDatabaseSourceType = {
|
|
187
201
|
RDS_HTTP_ENDPOINT: "RDS_HTTP_ENDPOINT",
|
|
188
202
|
};
|
|
@@ -206,6 +220,10 @@ exports.ConflictHandlerType = {
|
|
|
206
220
|
NONE: "NONE",
|
|
207
221
|
OPTIMISTIC_CONCURRENCY: "OPTIMISTIC_CONCURRENCY",
|
|
208
222
|
};
|
|
223
|
+
exports.GraphQLApiType = {
|
|
224
|
+
GRAPHQL: "GRAPHQL",
|
|
225
|
+
MERGED: "MERGED",
|
|
226
|
+
};
|
|
209
227
|
exports.FieldLogLevel = {
|
|
210
228
|
ALL: "ALL",
|
|
211
229
|
ERROR: "ERROR",
|
|
@@ -252,3 +270,7 @@ exports.SchemaStatus = {
|
|
|
252
270
|
Processing: "PROCESSING",
|
|
253
271
|
Success: "SUCCESS",
|
|
254
272
|
};
|
|
273
|
+
exports.Ownership = {
|
|
274
|
+
CURRENT_ACCOUNT: "CURRENT_ACCOUNT",
|
|
275
|
+
OTHER_ACCOUNTS: "OTHER_ACCOUNTS",
|
|
276
|
+
};
|