@aws-sdk/client-appsync 3.682.0 → 3.686.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 +90 -10
- package/dist-cjs/index.js +572 -0
- package/dist-es/AppSync.js +20 -0
- package/dist-es/commands/CreateApiCommand.js +22 -0
- package/dist-es/commands/CreateChannelNamespaceCommand.js +22 -0
- package/dist-es/commands/DeleteApiCommand.js +22 -0
- package/dist-es/commands/DeleteChannelNamespaceCommand.js +22 -0
- package/dist-es/commands/GetApiCommand.js +22 -0
- package/dist-es/commands/GetChannelNamespaceCommand.js +22 -0
- package/dist-es/commands/ListApisCommand.js +22 -0
- package/dist-es/commands/ListChannelNamespacesCommand.js +22 -0
- package/dist-es/commands/UpdateApiCommand.js +22 -0
- package/dist-es/commands/UpdateChannelNamespaceCommand.js +22 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +31 -0
- package/dist-es/pagination/ListApisPaginator.js +4 -0
- package/dist-es/pagination/ListChannelNamespacesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +341 -2
- package/dist-types/AppSync.d.ts +73 -2
- package/dist-types/AppSyncClient.d.ts +14 -4
- package/dist-types/commands/AssociateApiCommand.d.ts +4 -3
- package/dist-types/commands/AssociateMergedGraphqlApiCommand.d.ts +8 -6
- package/dist-types/commands/AssociateSourceGraphqlApiCommand.d.ts +8 -6
- package/dist-types/commands/CreateApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/CreateApiCommand.d.ts +192 -0
- package/dist-types/commands/CreateApiKeyCommand.d.ts +4 -3
- package/dist-types/commands/CreateChannelNamespaceCommand.d.ts +133 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +6 -5
- package/dist-types/commands/CreateDomainNameCommand.d.ts +2 -2
- package/dist-types/commands/CreateFunctionCommand.d.ts +8 -6
- package/dist-types/commands/CreateGraphqlApiCommand.d.ts +5 -5
- package/dist-types/commands/CreateResolverCommand.d.ts +8 -7
- package/dist-types/commands/CreateTypeCommand.d.ts +6 -5
- package/dist-types/commands/DeleteApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/DeleteApiCommand.d.ts +90 -0
- package/dist-types/commands/DeleteApiKeyCommand.d.ts +4 -3
- package/dist-types/commands/DeleteChannelNamespaceCommand.d.ts +91 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +6 -5
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +6 -5
- package/dist-types/commands/DeleteFunctionCommand.d.ts +6 -5
- package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +6 -5
- package/dist-types/commands/DeleteResolverCommand.d.ts +6 -5
- package/dist-types/commands/DeleteTypeCommand.d.ts +6 -5
- package/dist-types/commands/DisassociateApiCommand.d.ts +6 -5
- package/dist-types/commands/DisassociateMergedGraphqlApiCommand.d.ts +8 -7
- package/dist-types/commands/DisassociateSourceGraphqlApiCommand.d.ts +8 -7
- package/dist-types/commands/EvaluateCodeCommand.d.ts +8 -7
- package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +8 -7
- package/dist-types/commands/FlushApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/GetApiAssociationCommand.d.ts +4 -3
- package/dist-types/commands/GetApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/GetApiCommand.d.ts +144 -0
- package/dist-types/commands/GetChannelNamespaceCommand.d.ts +109 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +6 -5
- package/dist-types/commands/GetDataSourceIntrospectionCommand.d.ts +7 -6
- package/dist-types/commands/GetDomainNameCommand.d.ts +4 -3
- package/dist-types/commands/GetFunctionCommand.d.ts +4 -3
- package/dist-types/commands/GetGraphqlApiCommand.d.ts +4 -3
- package/dist-types/commands/GetGraphqlApiEnvironmentVariablesCommand.d.ts +6 -4
- package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +2 -1
- package/dist-types/commands/GetResolverCommand.d.ts +4 -3
- package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +4 -3
- package/dist-types/commands/GetSourceApiAssociationCommand.d.ts +4 -3
- package/dist-types/commands/GetTypeCommand.d.ts +6 -5
- package/dist-types/commands/ListApiKeysCommand.d.ts +8 -6
- package/dist-types/commands/ListApisCommand.d.ts +144 -0
- package/dist-types/commands/ListChannelNamespacesCommand.d.ts +114 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +4 -3
- package/dist-types/commands/ListDomainNamesCommand.d.ts +2 -2
- package/dist-types/commands/ListFunctionsCommand.d.ts +4 -3
- package/dist-types/commands/ListGraphqlApisCommand.d.ts +2 -2
- package/dist-types/commands/ListResolversByFunctionCommand.d.ts +4 -3
- package/dist-types/commands/ListResolversCommand.d.ts +4 -3
- package/dist-types/commands/ListSourceApiAssociationsCommand.d.ts +4 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -3
- package/dist-types/commands/ListTypesByAssociationCommand.d.ts +6 -5
- package/dist-types/commands/ListTypesCommand.d.ts +6 -5
- package/dist-types/commands/PutGraphqlApiEnvironmentVariablesCommand.d.ts +21 -17
- package/dist-types/commands/StartDataSourceIntrospectionCommand.d.ts +6 -5
- package/dist-types/commands/StartSchemaCreationCommand.d.ts +8 -7
- package/dist-types/commands/StartSchemaMergeCommand.d.ts +8 -6
- package/dist-types/commands/TagResourceCommand.d.ts +4 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -3
- package/dist-types/commands/UpdateApiCacheCommand.d.ts +6 -5
- package/dist-types/commands/UpdateApiCommand.d.ts +192 -0
- package/dist-types/commands/UpdateApiKeyCommand.d.ts +4 -3
- package/dist-types/commands/UpdateChannelNamespaceCommand.d.ts +124 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +6 -5
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +6 -5
- package/dist-types/commands/UpdateFunctionCommand.d.ts +6 -5
- package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +7 -6
- package/dist-types/commands/UpdateResolverCommand.d.ts +6 -5
- package/dist-types/commands/UpdateSourceApiAssociationCommand.d.ts +6 -5
- package/dist-types/commands/UpdateTypeCommand.d.ts +6 -5
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +1305 -629
- package/dist-types/pagination/ListApisPaginator.d.ts +7 -0
- package/dist-types/pagination/ListChannelNamespacesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/AppSync.d.ts +171 -0
- package/dist-types/ts3.4/AppSyncClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/CreateApiCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateChannelNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteApiCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteChannelNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetApiCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetChannelNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListApisCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListChannelNamespacesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateApiCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateChannelNamespaceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +148 -2
- package/dist-types/ts3.4/pagination/ListApisPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListChannelNamespacesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/package.json +36 -36
package/dist-es/AppSync.js
CHANGED
|
@@ -4,7 +4,9 @@ import { AssociateApiCommand, } from "./commands/AssociateApiCommand";
|
|
|
4
4
|
import { AssociateMergedGraphqlApiCommand, } from "./commands/AssociateMergedGraphqlApiCommand";
|
|
5
5
|
import { AssociateSourceGraphqlApiCommand, } from "./commands/AssociateSourceGraphqlApiCommand";
|
|
6
6
|
import { CreateApiCacheCommand, } from "./commands/CreateApiCacheCommand";
|
|
7
|
+
import { CreateApiCommand } from "./commands/CreateApiCommand";
|
|
7
8
|
import { CreateApiKeyCommand, } from "./commands/CreateApiKeyCommand";
|
|
9
|
+
import { CreateChannelNamespaceCommand, } from "./commands/CreateChannelNamespaceCommand";
|
|
8
10
|
import { CreateDataSourceCommand, } from "./commands/CreateDataSourceCommand";
|
|
9
11
|
import { CreateDomainNameCommand, } from "./commands/CreateDomainNameCommand";
|
|
10
12
|
import { CreateFunctionCommand, } from "./commands/CreateFunctionCommand";
|
|
@@ -12,7 +14,9 @@ import { CreateGraphqlApiCommand, } from "./commands/CreateGraphqlApiCommand";
|
|
|
12
14
|
import { CreateResolverCommand, } from "./commands/CreateResolverCommand";
|
|
13
15
|
import { CreateTypeCommand } from "./commands/CreateTypeCommand";
|
|
14
16
|
import { DeleteApiCacheCommand, } from "./commands/DeleteApiCacheCommand";
|
|
17
|
+
import { DeleteApiCommand } from "./commands/DeleteApiCommand";
|
|
15
18
|
import { DeleteApiKeyCommand, } from "./commands/DeleteApiKeyCommand";
|
|
19
|
+
import { DeleteChannelNamespaceCommand, } from "./commands/DeleteChannelNamespaceCommand";
|
|
16
20
|
import { DeleteDataSourceCommand, } from "./commands/DeleteDataSourceCommand";
|
|
17
21
|
import { DeleteDomainNameCommand, } from "./commands/DeleteDomainNameCommand";
|
|
18
22
|
import { DeleteFunctionCommand, } from "./commands/DeleteFunctionCommand";
|
|
@@ -27,6 +31,8 @@ import { EvaluateMappingTemplateCommand, } from "./commands/EvaluateMappingTempl
|
|
|
27
31
|
import { FlushApiCacheCommand, } from "./commands/FlushApiCacheCommand";
|
|
28
32
|
import { GetApiAssociationCommand, } from "./commands/GetApiAssociationCommand";
|
|
29
33
|
import { GetApiCacheCommand } from "./commands/GetApiCacheCommand";
|
|
34
|
+
import { GetApiCommand } from "./commands/GetApiCommand";
|
|
35
|
+
import { GetChannelNamespaceCommand, } from "./commands/GetChannelNamespaceCommand";
|
|
30
36
|
import { GetDataSourceCommand, } from "./commands/GetDataSourceCommand";
|
|
31
37
|
import { GetDataSourceIntrospectionCommand, } from "./commands/GetDataSourceIntrospectionCommand";
|
|
32
38
|
import { GetDomainNameCommand, } from "./commands/GetDomainNameCommand";
|
|
@@ -39,6 +45,8 @@ import { GetSchemaCreationStatusCommand, } from "./commands/GetSchemaCreationSta
|
|
|
39
45
|
import { GetSourceApiAssociationCommand, } from "./commands/GetSourceApiAssociationCommand";
|
|
40
46
|
import { GetTypeCommand } from "./commands/GetTypeCommand";
|
|
41
47
|
import { ListApiKeysCommand } from "./commands/ListApiKeysCommand";
|
|
48
|
+
import { ListApisCommand } from "./commands/ListApisCommand";
|
|
49
|
+
import { ListChannelNamespacesCommand, } from "./commands/ListChannelNamespacesCommand";
|
|
42
50
|
import { ListDataSourcesCommand, } from "./commands/ListDataSourcesCommand";
|
|
43
51
|
import { ListDomainNamesCommand, } from "./commands/ListDomainNamesCommand";
|
|
44
52
|
import { ListFunctionsCommand, } from "./commands/ListFunctionsCommand";
|
|
@@ -56,7 +64,9 @@ import { StartSchemaMergeCommand, } from "./commands/StartSchemaMergeCommand";
|
|
|
56
64
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
57
65
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
58
66
|
import { UpdateApiCacheCommand, } from "./commands/UpdateApiCacheCommand";
|
|
67
|
+
import { UpdateApiCommand } from "./commands/UpdateApiCommand";
|
|
59
68
|
import { UpdateApiKeyCommand, } from "./commands/UpdateApiKeyCommand";
|
|
69
|
+
import { UpdateChannelNamespaceCommand, } from "./commands/UpdateChannelNamespaceCommand";
|
|
60
70
|
import { UpdateDataSourceCommand, } from "./commands/UpdateDataSourceCommand";
|
|
61
71
|
import { UpdateDomainNameCommand, } from "./commands/UpdateDomainNameCommand";
|
|
62
72
|
import { UpdateFunctionCommand, } from "./commands/UpdateFunctionCommand";
|
|
@@ -68,16 +78,20 @@ const commands = {
|
|
|
68
78
|
AssociateApiCommand,
|
|
69
79
|
AssociateMergedGraphqlApiCommand,
|
|
70
80
|
AssociateSourceGraphqlApiCommand,
|
|
81
|
+
CreateApiCommand,
|
|
71
82
|
CreateApiCacheCommand,
|
|
72
83
|
CreateApiKeyCommand,
|
|
84
|
+
CreateChannelNamespaceCommand,
|
|
73
85
|
CreateDataSourceCommand,
|
|
74
86
|
CreateDomainNameCommand,
|
|
75
87
|
CreateFunctionCommand,
|
|
76
88
|
CreateGraphqlApiCommand,
|
|
77
89
|
CreateResolverCommand,
|
|
78
90
|
CreateTypeCommand,
|
|
91
|
+
DeleteApiCommand,
|
|
79
92
|
DeleteApiCacheCommand,
|
|
80
93
|
DeleteApiKeyCommand,
|
|
94
|
+
DeleteChannelNamespaceCommand,
|
|
81
95
|
DeleteDataSourceCommand,
|
|
82
96
|
DeleteDomainNameCommand,
|
|
83
97
|
DeleteFunctionCommand,
|
|
@@ -90,8 +104,10 @@ const commands = {
|
|
|
90
104
|
EvaluateCodeCommand,
|
|
91
105
|
EvaluateMappingTemplateCommand,
|
|
92
106
|
FlushApiCacheCommand,
|
|
107
|
+
GetApiCommand,
|
|
93
108
|
GetApiAssociationCommand,
|
|
94
109
|
GetApiCacheCommand,
|
|
110
|
+
GetChannelNamespaceCommand,
|
|
95
111
|
GetDataSourceCommand,
|
|
96
112
|
GetDataSourceIntrospectionCommand,
|
|
97
113
|
GetDomainNameCommand,
|
|
@@ -104,6 +120,8 @@ const commands = {
|
|
|
104
120
|
GetSourceApiAssociationCommand,
|
|
105
121
|
GetTypeCommand,
|
|
106
122
|
ListApiKeysCommand,
|
|
123
|
+
ListApisCommand,
|
|
124
|
+
ListChannelNamespacesCommand,
|
|
107
125
|
ListDataSourcesCommand,
|
|
108
126
|
ListDomainNamesCommand,
|
|
109
127
|
ListFunctionsCommand,
|
|
@@ -120,8 +138,10 @@ const commands = {
|
|
|
120
138
|
StartSchemaMergeCommand,
|
|
121
139
|
TagResourceCommand,
|
|
122
140
|
UntagResourceCommand,
|
|
141
|
+
UpdateApiCommand,
|
|
123
142
|
UpdateApiCacheCommand,
|
|
124
143
|
UpdateApiKeyCommand,
|
|
144
|
+
UpdateChannelNamespaceCommand,
|
|
125
145
|
UpdateDataSourceCommand,
|
|
126
146
|
UpdateDomainNameCommand,
|
|
127
147
|
UpdateFunctionCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateApiCommand, se_CreateApiCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateApiCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSDeepdishControlPlaneService", "CreateApi", {})
|
|
17
|
+
.n("AppSyncClient", "CreateApiCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateApiCommand)
|
|
20
|
+
.de(de_CreateApiCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateChannelNamespaceCommand, se_CreateChannelNamespaceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateChannelNamespaceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSDeepdishControlPlaneService", "CreateChannelNamespace", {})
|
|
17
|
+
.n("AppSyncClient", "CreateChannelNamespaceCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateChannelNamespaceCommand)
|
|
20
|
+
.de(de_CreateChannelNamespaceCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteApiCommand, se_DeleteApiCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteApiCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSDeepdishControlPlaneService", "DeleteApi", {})
|
|
17
|
+
.n("AppSyncClient", "DeleteApiCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteApiCommand)
|
|
20
|
+
.de(de_DeleteApiCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteChannelNamespaceCommand, se_DeleteChannelNamespaceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteChannelNamespaceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSDeepdishControlPlaneService", "DeleteChannelNamespace", {})
|
|
17
|
+
.n("AppSyncClient", "DeleteChannelNamespaceCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteChannelNamespaceCommand)
|
|
20
|
+
.de(de_DeleteChannelNamespaceCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetApiCommand, se_GetApiCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetApiCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSDeepdishControlPlaneService", "GetApi", {})
|
|
17
|
+
.n("AppSyncClient", "GetApiCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetApiCommand)
|
|
20
|
+
.de(de_GetApiCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetChannelNamespaceCommand, se_GetChannelNamespaceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetChannelNamespaceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSDeepdishControlPlaneService", "GetChannelNamespace", {})
|
|
17
|
+
.n("AppSyncClient", "GetChannelNamespaceCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetChannelNamespaceCommand)
|
|
20
|
+
.de(de_GetChannelNamespaceCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListApisCommand, se_ListApisCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListApisCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSDeepdishControlPlaneService", "ListApis", {})
|
|
17
|
+
.n("AppSyncClient", "ListApisCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListApisCommand)
|
|
20
|
+
.de(de_ListApisCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListChannelNamespacesCommand, se_ListChannelNamespacesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListChannelNamespacesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSDeepdishControlPlaneService", "ListChannelNamespaces", {})
|
|
17
|
+
.n("AppSyncClient", "ListChannelNamespacesCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListChannelNamespacesCommand)
|
|
20
|
+
.de(de_ListChannelNamespacesCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateApiCommand, se_UpdateApiCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateApiCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSDeepdishControlPlaneService", "UpdateApi", {})
|
|
17
|
+
.n("AppSyncClient", "UpdateApiCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateApiCommand)
|
|
20
|
+
.de(de_UpdateApiCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateChannelNamespaceCommand, se_UpdateChannelNamespaceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateChannelNamespaceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSDeepdishControlPlaneService", "UpdateChannelNamespace", {})
|
|
17
|
+
.n("AppSyncClient", "UpdateChannelNamespaceCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateChannelNamespaceCommand)
|
|
20
|
+
.de(de_UpdateChannelNamespaceCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -2,7 +2,9 @@ export * from "./AssociateApiCommand";
|
|
|
2
2
|
export * from "./AssociateMergedGraphqlApiCommand";
|
|
3
3
|
export * from "./AssociateSourceGraphqlApiCommand";
|
|
4
4
|
export * from "./CreateApiCacheCommand";
|
|
5
|
+
export * from "./CreateApiCommand";
|
|
5
6
|
export * from "./CreateApiKeyCommand";
|
|
7
|
+
export * from "./CreateChannelNamespaceCommand";
|
|
6
8
|
export * from "./CreateDataSourceCommand";
|
|
7
9
|
export * from "./CreateDomainNameCommand";
|
|
8
10
|
export * from "./CreateFunctionCommand";
|
|
@@ -10,7 +12,9 @@ export * from "./CreateGraphqlApiCommand";
|
|
|
10
12
|
export * from "./CreateResolverCommand";
|
|
11
13
|
export * from "./CreateTypeCommand";
|
|
12
14
|
export * from "./DeleteApiCacheCommand";
|
|
15
|
+
export * from "./DeleteApiCommand";
|
|
13
16
|
export * from "./DeleteApiKeyCommand";
|
|
17
|
+
export * from "./DeleteChannelNamespaceCommand";
|
|
14
18
|
export * from "./DeleteDataSourceCommand";
|
|
15
19
|
export * from "./DeleteDomainNameCommand";
|
|
16
20
|
export * from "./DeleteFunctionCommand";
|
|
@@ -25,6 +29,8 @@ export * from "./EvaluateMappingTemplateCommand";
|
|
|
25
29
|
export * from "./FlushApiCacheCommand";
|
|
26
30
|
export * from "./GetApiAssociationCommand";
|
|
27
31
|
export * from "./GetApiCacheCommand";
|
|
32
|
+
export * from "./GetApiCommand";
|
|
33
|
+
export * from "./GetChannelNamespaceCommand";
|
|
28
34
|
export * from "./GetDataSourceCommand";
|
|
29
35
|
export * from "./GetDataSourceIntrospectionCommand";
|
|
30
36
|
export * from "./GetDomainNameCommand";
|
|
@@ -37,6 +43,8 @@ export * from "./GetSchemaCreationStatusCommand";
|
|
|
37
43
|
export * from "./GetSourceApiAssociationCommand";
|
|
38
44
|
export * from "./GetTypeCommand";
|
|
39
45
|
export * from "./ListApiKeysCommand";
|
|
46
|
+
export * from "./ListApisCommand";
|
|
47
|
+
export * from "./ListChannelNamespacesCommand";
|
|
40
48
|
export * from "./ListDataSourcesCommand";
|
|
41
49
|
export * from "./ListDomainNamesCommand";
|
|
42
50
|
export * from "./ListFunctionsCommand";
|
|
@@ -54,7 +62,9 @@ export * from "./StartSchemaMergeCommand";
|
|
|
54
62
|
export * from "./TagResourceCommand";
|
|
55
63
|
export * from "./UntagResourceCommand";
|
|
56
64
|
export * from "./UpdateApiCacheCommand";
|
|
65
|
+
export * from "./UpdateApiCommand";
|
|
57
66
|
export * from "./UpdateApiKeyCommand";
|
|
67
|
+
export * from "./UpdateChannelNamespaceCommand";
|
|
58
68
|
export * from "./UpdateDataSourceCommand";
|
|
59
69
|
export * from "./UpdateDomainNameCommand";
|
|
60
70
|
export * from "./UpdateFunctionCommand";
|
|
@@ -18,6 +18,13 @@ export const AuthenticationType = {
|
|
|
18
18
|
AWS_LAMBDA: "AWS_LAMBDA",
|
|
19
19
|
OPENID_CONNECT: "OPENID_CONNECT",
|
|
20
20
|
};
|
|
21
|
+
export const EventLogLevel = {
|
|
22
|
+
ALL: "ALL",
|
|
23
|
+
DEBUG: "DEBUG",
|
|
24
|
+
ERROR: "ERROR",
|
|
25
|
+
INFO: "INFO",
|
|
26
|
+
NONE: "NONE",
|
|
27
|
+
};
|
|
21
28
|
export const AssociationStatus = {
|
|
22
29
|
Failed: "FAILED",
|
|
23
30
|
Processing: "PROCESSING",
|
|
@@ -188,6 +195,30 @@ export class UnauthorizedException extends __BaseException {
|
|
|
188
195
|
export const AuthorizationType = {
|
|
189
196
|
AWS_IAM: "AWS_IAM",
|
|
190
197
|
};
|
|
198
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
199
|
+
constructor(opts) {
|
|
200
|
+
super({
|
|
201
|
+
name: "ServiceQuotaExceededException",
|
|
202
|
+
$fault: "client",
|
|
203
|
+
...opts,
|
|
204
|
+
});
|
|
205
|
+
this.name = "ServiceQuotaExceededException";
|
|
206
|
+
this.$fault = "client";
|
|
207
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
export class ConflictException extends __BaseException {
|
|
211
|
+
constructor(opts) {
|
|
212
|
+
super({
|
|
213
|
+
name: "ConflictException",
|
|
214
|
+
$fault: "client",
|
|
215
|
+
...opts,
|
|
216
|
+
});
|
|
217
|
+
this.name = "ConflictException";
|
|
218
|
+
this.$fault = "client";
|
|
219
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
191
222
|
export const DataSourceLevelMetricsConfig = {
|
|
192
223
|
DISABLED: "DISABLED",
|
|
193
224
|
ENABLED: "ENABLED",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { AppSyncClient } from "../AppSyncClient";
|
|
3
|
+
import { ListApisCommand } from "../commands/ListApisCommand";
|
|
4
|
+
export const paginateListApis = createPaginator(AppSyncClient, ListApisCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { AppSyncClient } from "../AppSyncClient";
|
|
3
|
+
import { ListChannelNamespacesCommand, } from "../commands/ListChannelNamespacesCommand";
|
|
4
|
+
export const paginateListChannelNamespaces = createPaginator(AppSyncClient, ListChannelNamespacesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListApiKeysPaginator";
|
|
3
|
+
export * from "./ListApisPaginator";
|
|
4
|
+
export * from "./ListChannelNamespacesPaginator";
|
|
3
5
|
export * from "./ListDataSourcesPaginator";
|
|
4
6
|
export * from "./ListDomainNamesPaginator";
|
|
5
7
|
export * from "./ListFunctionsPaginator";
|