@aws-sdk/client-appsync 3.927.0 → 3.929.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/dist-cjs/index.js +2888 -2933
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/AppSyncClient.js +2 -0
- package/dist-es/commands/AssociateApiCommand.js +3 -9
- package/dist-es/commands/AssociateMergedGraphqlApiCommand.js +3 -9
- package/dist-es/commands/AssociateSourceGraphqlApiCommand.js +3 -9
- package/dist-es/commands/CreateApiCacheCommand.js +3 -9
- package/dist-es/commands/CreateApiCommand.js +3 -9
- package/dist-es/commands/CreateApiKeyCommand.js +3 -9
- package/dist-es/commands/CreateChannelNamespaceCommand.js +3 -9
- package/dist-es/commands/CreateDataSourceCommand.js +3 -9
- package/dist-es/commands/CreateDomainNameCommand.js +3 -9
- package/dist-es/commands/CreateFunctionCommand.js +3 -9
- package/dist-es/commands/CreateGraphqlApiCommand.js +3 -9
- package/dist-es/commands/CreateResolverCommand.js +3 -9
- package/dist-es/commands/CreateTypeCommand.js +3 -9
- package/dist-es/commands/DeleteApiCacheCommand.js +3 -9
- package/dist-es/commands/DeleteApiCommand.js +3 -9
- package/dist-es/commands/DeleteApiKeyCommand.js +3 -9
- package/dist-es/commands/DeleteChannelNamespaceCommand.js +3 -9
- package/dist-es/commands/DeleteDataSourceCommand.js +3 -9
- package/dist-es/commands/DeleteDomainNameCommand.js +3 -9
- package/dist-es/commands/DeleteFunctionCommand.js +3 -9
- package/dist-es/commands/DeleteGraphqlApiCommand.js +3 -9
- package/dist-es/commands/DeleteResolverCommand.js +3 -9
- package/dist-es/commands/DeleteTypeCommand.js +3 -9
- package/dist-es/commands/DisassociateApiCommand.js +3 -9
- package/dist-es/commands/DisassociateMergedGraphqlApiCommand.js +3 -9
- package/dist-es/commands/DisassociateSourceGraphqlApiCommand.js +3 -9
- package/dist-es/commands/EvaluateCodeCommand.js +3 -9
- package/dist-es/commands/EvaluateMappingTemplateCommand.js +3 -9
- package/dist-es/commands/FlushApiCacheCommand.js +3 -9
- package/dist-es/commands/GetApiAssociationCommand.js +3 -9
- package/dist-es/commands/GetApiCacheCommand.js +3 -9
- package/dist-es/commands/GetApiCommand.js +3 -9
- package/dist-es/commands/GetChannelNamespaceCommand.js +3 -9
- package/dist-es/commands/GetDataSourceCommand.js +3 -9
- package/dist-es/commands/GetDataSourceIntrospectionCommand.js +3 -9
- package/dist-es/commands/GetDomainNameCommand.js +3 -9
- package/dist-es/commands/GetFunctionCommand.js +3 -9
- package/dist-es/commands/GetGraphqlApiCommand.js +3 -9
- package/dist-es/commands/GetGraphqlApiEnvironmentVariablesCommand.js +3 -9
- package/dist-es/commands/GetIntrospectionSchemaCommand.js +3 -9
- package/dist-es/commands/GetResolverCommand.js +3 -9
- package/dist-es/commands/GetSchemaCreationStatusCommand.js +3 -9
- package/dist-es/commands/GetSourceApiAssociationCommand.js +3 -9
- package/dist-es/commands/GetTypeCommand.js +3 -9
- package/dist-es/commands/ListApiKeysCommand.js +3 -9
- package/dist-es/commands/ListApisCommand.js +3 -9
- package/dist-es/commands/ListChannelNamespacesCommand.js +3 -9
- package/dist-es/commands/ListDataSourcesCommand.js +3 -9
- package/dist-es/commands/ListDomainNamesCommand.js +3 -9
- package/dist-es/commands/ListFunctionsCommand.js +3 -9
- package/dist-es/commands/ListGraphqlApisCommand.js +3 -9
- package/dist-es/commands/ListResolversByFunctionCommand.js +3 -9
- package/dist-es/commands/ListResolversCommand.js +3 -9
- package/dist-es/commands/ListSourceApiAssociationsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTypesByAssociationCommand.js +3 -9
- package/dist-es/commands/ListTypesCommand.js +3 -9
- package/dist-es/commands/PutGraphqlApiEnvironmentVariablesCommand.js +3 -9
- package/dist-es/commands/StartDataSourceIntrospectionCommand.js +3 -9
- package/dist-es/commands/StartSchemaCreationCommand.js +3 -9
- package/dist-es/commands/StartSchemaMergeCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateApiCacheCommand.js +3 -9
- package/dist-es/commands/UpdateApiCommand.js +3 -9
- package/dist-es/commands/UpdateApiKeyCommand.js +3 -9
- package/dist-es/commands/UpdateChannelNamespaceCommand.js +3 -9
- package/dist-es/commands/UpdateDataSourceCommand.js +3 -9
- package/dist-es/commands/UpdateDomainNameCommand.js +3 -9
- package/dist-es/commands/UpdateFunctionCommand.js +3 -9
- package/dist-es/commands/UpdateGraphqlApiCommand.js +3 -9
- package/dist-es/commands/UpdateResolverCommand.js +3 -9
- package/dist-es/commands/UpdateSourceApiAssociationCommand.js +3 -9
- package/dist-es/commands/UpdateTypeCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +2716 -0
- package/dist-types/AppSyncClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +321 -0
- package/dist-types/ts3.4/AppSyncClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +326 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_restJson1.js +0 -2384
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -668
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -893
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateGraphqlApi } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateGraphqlApiCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSDeepdishControlPlaneService", "UpdateGraphqlApi", {})
|
|
17
13
|
.n("AppSyncClient", "UpdateGraphqlApiCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateGraphqlApiCommand)
|
|
20
|
-
.de(de_UpdateGraphqlApiCommand)
|
|
14
|
+
.sc(UpdateGraphqlApi)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateResolver } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateResolverCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSDeepdishControlPlaneService", "UpdateResolver", {})
|
|
17
13
|
.n("AppSyncClient", "UpdateResolverCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateResolverCommand)
|
|
20
|
-
.de(de_UpdateResolverCommand)
|
|
14
|
+
.sc(UpdateResolver)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSourceApiAssociation } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSourceApiAssociationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSDeepdishControlPlaneService", "UpdateSourceApiAssociation", {})
|
|
17
13
|
.n("AppSyncClient", "UpdateSourceApiAssociationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSourceApiAssociationCommand)
|
|
20
|
-
.de(de_UpdateSourceApiAssociationCommand)
|
|
14
|
+
.sc(UpdateSourceApiAssociation)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateType } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateTypeCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSDeepdishControlPlaneService", "UpdateType", {})
|
|
17
13
|
.n("AppSyncClient", "UpdateTypeCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateTypeCommand)
|
|
20
|
-
.de(de_UpdateTypeCommand)
|
|
14
|
+
.sc(UpdateType)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.appsync" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "AppSync",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|