@aws-sdk/client-appsync 3.193.0 → 3.196.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/CHANGELOG.md +19 -0
- package/dist-cjs/AppSyncClient.js +11 -8
- package/dist-cjs/commands/AssociateApiCommand.js +10 -0
- package/dist-cjs/commands/CreateApiCacheCommand.js +10 -0
- package/dist-cjs/commands/CreateApiKeyCommand.js +10 -0
- package/dist-cjs/commands/CreateDataSourceCommand.js +10 -0
- package/dist-cjs/commands/CreateDomainNameCommand.js +10 -0
- package/dist-cjs/commands/CreateFunctionCommand.js +10 -0
- package/dist-cjs/commands/CreateGraphqlApiCommand.js +10 -0
- package/dist-cjs/commands/CreateResolverCommand.js +10 -0
- package/dist-cjs/commands/CreateTypeCommand.js +10 -0
- package/dist-cjs/commands/DeleteApiCacheCommand.js +10 -0
- package/dist-cjs/commands/DeleteApiKeyCommand.js +10 -0
- package/dist-cjs/commands/DeleteDataSourceCommand.js +10 -0
- package/dist-cjs/commands/DeleteDomainNameCommand.js +10 -0
- package/dist-cjs/commands/DeleteFunctionCommand.js +10 -0
- package/dist-cjs/commands/DeleteGraphqlApiCommand.js +10 -0
- package/dist-cjs/commands/DeleteResolverCommand.js +10 -0
- package/dist-cjs/commands/DeleteTypeCommand.js +10 -0
- package/dist-cjs/commands/DisassociateApiCommand.js +10 -0
- package/dist-cjs/commands/EvaluateMappingTemplateCommand.js +10 -0
- package/dist-cjs/commands/FlushApiCacheCommand.js +10 -0
- package/dist-cjs/commands/GetApiAssociationCommand.js +10 -0
- package/dist-cjs/commands/GetApiCacheCommand.js +10 -0
- package/dist-cjs/commands/GetDataSourceCommand.js +10 -0
- package/dist-cjs/commands/GetDomainNameCommand.js +10 -0
- package/dist-cjs/commands/GetFunctionCommand.js +10 -0
- package/dist-cjs/commands/GetGraphqlApiCommand.js +10 -0
- package/dist-cjs/commands/GetIntrospectionSchemaCommand.js +10 -0
- package/dist-cjs/commands/GetResolverCommand.js +10 -0
- package/dist-cjs/commands/GetSchemaCreationStatusCommand.js +10 -0
- package/dist-cjs/commands/GetTypeCommand.js +10 -0
- package/dist-cjs/commands/ListApiKeysCommand.js +10 -0
- package/dist-cjs/commands/ListDataSourcesCommand.js +10 -0
- package/dist-cjs/commands/ListDomainNamesCommand.js +10 -0
- package/dist-cjs/commands/ListFunctionsCommand.js +10 -0
- package/dist-cjs/commands/ListGraphqlApisCommand.js +10 -0
- package/dist-cjs/commands/ListResolversByFunctionCommand.js +10 -0
- package/dist-cjs/commands/ListResolversCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/ListTypesCommand.js +10 -0
- package/dist-cjs/commands/StartSchemaCreationCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateApiCacheCommand.js +10 -0
- package/dist-cjs/commands/UpdateApiKeyCommand.js +10 -0
- package/dist-cjs/commands/UpdateDataSourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateDomainNameCommand.js +10 -0
- package/dist-cjs/commands/UpdateFunctionCommand.js +10 -0
- package/dist-cjs/commands/UpdateGraphqlApiCommand.js +10 -0
- package/dist-cjs/commands/UpdateResolverCommand.js +10 -0
- package/dist-cjs/commands/UpdateTypeCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/AppSyncClient.js +12 -9
- package/dist-es/commands/AssociateApiCommand.js +10 -0
- package/dist-es/commands/CreateApiCacheCommand.js +10 -0
- package/dist-es/commands/CreateApiKeyCommand.js +10 -0
- package/dist-es/commands/CreateDataSourceCommand.js +10 -0
- package/dist-es/commands/CreateDomainNameCommand.js +10 -0
- package/dist-es/commands/CreateFunctionCommand.js +10 -0
- package/dist-es/commands/CreateGraphqlApiCommand.js +10 -0
- package/dist-es/commands/CreateResolverCommand.js +10 -0
- package/dist-es/commands/CreateTypeCommand.js +10 -0
- package/dist-es/commands/DeleteApiCacheCommand.js +10 -0
- package/dist-es/commands/DeleteApiKeyCommand.js +10 -0
- package/dist-es/commands/DeleteDataSourceCommand.js +10 -0
- package/dist-es/commands/DeleteDomainNameCommand.js +10 -0
- package/dist-es/commands/DeleteFunctionCommand.js +10 -0
- package/dist-es/commands/DeleteGraphqlApiCommand.js +10 -0
- package/dist-es/commands/DeleteResolverCommand.js +10 -0
- package/dist-es/commands/DeleteTypeCommand.js +10 -0
- package/dist-es/commands/DisassociateApiCommand.js +10 -0
- package/dist-es/commands/EvaluateMappingTemplateCommand.js +10 -0
- package/dist-es/commands/FlushApiCacheCommand.js +10 -0
- package/dist-es/commands/GetApiAssociationCommand.js +10 -0
- package/dist-es/commands/GetApiCacheCommand.js +10 -0
- package/dist-es/commands/GetDataSourceCommand.js +10 -0
- package/dist-es/commands/GetDomainNameCommand.js +10 -0
- package/dist-es/commands/GetFunctionCommand.js +10 -0
- package/dist-es/commands/GetGraphqlApiCommand.js +10 -0
- package/dist-es/commands/GetIntrospectionSchemaCommand.js +10 -0
- package/dist-es/commands/GetResolverCommand.js +10 -0
- package/dist-es/commands/GetSchemaCreationStatusCommand.js +10 -0
- package/dist-es/commands/GetTypeCommand.js +10 -0
- package/dist-es/commands/ListApiKeysCommand.js +10 -0
- package/dist-es/commands/ListDataSourcesCommand.js +10 -0
- package/dist-es/commands/ListDomainNamesCommand.js +10 -0
- package/dist-es/commands/ListFunctionsCommand.js +10 -0
- package/dist-es/commands/ListGraphqlApisCommand.js +10 -0
- package/dist-es/commands/ListResolversByFunctionCommand.js +10 -0
- package/dist-es/commands/ListResolversCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/ListTypesCommand.js +10 -0
- package/dist-es/commands/StartSchemaCreationCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateApiCacheCommand.js +10 -0
- package/dist-es/commands/UpdateApiKeyCommand.js +10 -0
- package/dist-es/commands/UpdateDataSourceCommand.js +10 -0
- package/dist-es/commands/UpdateDomainNameCommand.js +10 -0
- package/dist-es/commands/UpdateFunctionCommand.js +10 -0
- package/dist-es/commands/UpdateGraphqlApiCommand.js +10 -0
- package/dist-es/commands/UpdateResolverCommand.js +10 -0
- package/dist-es/commands/UpdateTypeCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/AppSyncClient.d.ts +6 -9
- package/dist-types/commands/AssociateApiCommand.d.ts +2 -0
- package/dist-types/commands/CreateApiCacheCommand.d.ts +2 -0
- package/dist-types/commands/CreateApiKeyCommand.d.ts +2 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +2 -0
- package/dist-types/commands/CreateDomainNameCommand.d.ts +2 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +2 -0
- package/dist-types/commands/CreateGraphqlApiCommand.d.ts +2 -0
- package/dist-types/commands/CreateResolverCommand.d.ts +2 -0
- package/dist-types/commands/CreateTypeCommand.d.ts +2 -0
- package/dist-types/commands/DeleteApiCacheCommand.d.ts +2 -0
- package/dist-types/commands/DeleteApiKeyCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +2 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +2 -0
- package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +2 -0
- package/dist-types/commands/DeleteResolverCommand.d.ts +2 -0
- package/dist-types/commands/DeleteTypeCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateApiCommand.d.ts +2 -0
- package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +2 -0
- package/dist-types/commands/FlushApiCacheCommand.d.ts +2 -0
- package/dist-types/commands/GetApiAssociationCommand.d.ts +2 -0
- package/dist-types/commands/GetApiCacheCommand.d.ts +2 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +2 -0
- package/dist-types/commands/GetDomainNameCommand.d.ts +2 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +2 -0
- package/dist-types/commands/GetGraphqlApiCommand.d.ts +2 -0
- package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +2 -0
- package/dist-types/commands/GetResolverCommand.d.ts +2 -0
- package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +2 -0
- package/dist-types/commands/GetTypeCommand.d.ts +2 -0
- package/dist-types/commands/ListApiKeysCommand.d.ts +2 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +2 -0
- package/dist-types/commands/ListDomainNamesCommand.d.ts +2 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +2 -0
- package/dist-types/commands/ListGraphqlApisCommand.d.ts +2 -0
- package/dist-types/commands/ListResolversByFunctionCommand.d.ts +2 -0
- package/dist-types/commands/ListResolversCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ListTypesCommand.d.ts +2 -0
- package/dist-types/commands/StartSchemaCreationCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateApiCacheCommand.d.ts +2 -0
- package/dist-types/commands/UpdateApiKeyCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +2 -0
- package/dist-types/commands/UpdateFunctionCommand.d.ts +2 -0
- package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +2 -0
- package/dist-types/commands/UpdateResolverCommand.d.ts +2 -0
- package/dist-types/commands/UpdateTypeCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/AppSyncClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/AssociateApiCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateApiCacheCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateApiKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateGraphqlApiCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateResolverCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteApiCacheCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteApiKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteGraphqlApiCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteResolverCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateApiCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/EvaluateMappingTemplateCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/FlushApiCacheCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetApiAssociationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetApiCacheCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDataSourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetGraphqlApiCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetIntrospectionSchemaCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetResolverCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetSchemaCreationStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListApiKeysCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListGraphqlApisCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListResolversByFunctionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListResolversCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTypesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartSchemaCreationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateApiCacheCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateApiKeyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateGraphqlApiCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateResolverCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +5 -3
- package/dist-cjs/endpoints.js +0 -132
- package/dist-es/endpoints.js +0 -128
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListDomainNamesRequestFilterSensitiveLog, ListDomainNamesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListDomainNamesCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListDomainNamesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "AppSyncClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListFunctionsRequestFilterSensitiveLog, ListFunctionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListFunctionsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListFunctionsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "AppSyncClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListGraphqlApisRequestFilterSensitiveLog, ListGraphqlApisResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListGraphqlApisCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListGraphqlApisCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "AppSyncClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListResolversByFunctionRequestFilterSensitiveLog, ListResolversByFunctionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListResolversByFunctionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListResolversByFunctionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "AppSyncClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListResolversRequestFilterSensitiveLog, ListResolversResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListResolversCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListResolversCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "AppSyncClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "AppSyncClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListTypesRequestFilterSensitiveLog, ListTypesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListTypesCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListTypesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "AppSyncClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StartSchemaCreationRequestFilterSensitiveLog, StartSchemaCreationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class StartSchemaCreationCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartSchemaCreationCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "AppSyncClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class TagResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "AppSyncClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UntagResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "AppSyncClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateApiCacheRequestFilterSensitiveLog, UpdateApiCacheResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateApiCacheCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateApiCacheCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "AppSyncClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateApiKeyRequestFilterSensitiveLog, UpdateApiKeyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateApiKeyCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateApiKeyCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "AppSyncClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateDataSourceRequestFilterSensitiveLog, UpdateDataSourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateDataSourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDataSourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "AppSyncClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateDomainNameRequestFilterSensitiveLog, UpdateDomainNameResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateDomainNameCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDomainNameCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "AppSyncClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateFunctionRequestFilterSensitiveLog, UpdateFunctionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateFunctionCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateFunctionCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "AppSyncClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateGraphqlApiRequestFilterSensitiveLog, UpdateGraphqlApiResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateGraphqlApiCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateGraphqlApiCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "AppSyncClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateResolverRequestFilterSensitiveLog, UpdateResolverResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateResolverCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateResolverCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "AppSyncClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateTypeRequestFilterSensitiveLog, UpdateTypeResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpdateTypeCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateTypeCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "AppSyncClient";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { resolveEndpoint } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { ruleSet } from "./ruleset";
|
|
3
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
|
+
return resolveEndpoint(ruleSet, {
|
|
5
|
+
endpointParams: endpointParams,
|
|
6
|
+
logger: context.logger,
|
|
7
|
+
});
|
|
8
|
+
};
|