@aws-sdk/client-swf 3.194.0 → 3.195.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 +11 -0
- package/dist-cjs/SWFClient.js +11 -8
- package/dist-cjs/commands/CountClosedWorkflowExecutionsCommand.js +10 -0
- package/dist-cjs/commands/CountOpenWorkflowExecutionsCommand.js +10 -0
- package/dist-cjs/commands/CountPendingActivityTasksCommand.js +10 -0
- package/dist-cjs/commands/CountPendingDecisionTasksCommand.js +10 -0
- package/dist-cjs/commands/DeprecateActivityTypeCommand.js +10 -0
- package/dist-cjs/commands/DeprecateDomainCommand.js +10 -0
- package/dist-cjs/commands/DeprecateWorkflowTypeCommand.js +10 -0
- package/dist-cjs/commands/DescribeActivityTypeCommand.js +10 -0
- package/dist-cjs/commands/DescribeDomainCommand.js +10 -0
- package/dist-cjs/commands/DescribeWorkflowExecutionCommand.js +10 -0
- package/dist-cjs/commands/DescribeWorkflowTypeCommand.js +10 -0
- package/dist-cjs/commands/GetWorkflowExecutionHistoryCommand.js +10 -0
- package/dist-cjs/commands/ListActivityTypesCommand.js +10 -0
- package/dist-cjs/commands/ListClosedWorkflowExecutionsCommand.js +10 -0
- package/dist-cjs/commands/ListDomainsCommand.js +10 -0
- package/dist-cjs/commands/ListOpenWorkflowExecutionsCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/ListWorkflowTypesCommand.js +10 -0
- package/dist-cjs/commands/PollForActivityTaskCommand.js +10 -0
- package/dist-cjs/commands/PollForDecisionTaskCommand.js +10 -0
- package/dist-cjs/commands/RecordActivityTaskHeartbeatCommand.js +10 -0
- package/dist-cjs/commands/RegisterActivityTypeCommand.js +10 -0
- package/dist-cjs/commands/RegisterDomainCommand.js +10 -0
- package/dist-cjs/commands/RegisterWorkflowTypeCommand.js +10 -0
- package/dist-cjs/commands/RequestCancelWorkflowExecutionCommand.js +10 -0
- package/dist-cjs/commands/RespondActivityTaskCanceledCommand.js +10 -0
- package/dist-cjs/commands/RespondActivityTaskCompletedCommand.js +10 -0
- package/dist-cjs/commands/RespondActivityTaskFailedCommand.js +10 -0
- package/dist-cjs/commands/RespondDecisionTaskCompletedCommand.js +10 -0
- package/dist-cjs/commands/SignalWorkflowExecutionCommand.js +10 -0
- package/dist-cjs/commands/StartWorkflowExecutionCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/TerminateWorkflowExecutionCommand.js +10 -0
- package/dist-cjs/commands/UndeprecateActivityTypeCommand.js +10 -0
- package/dist-cjs/commands/UndeprecateDomainCommand.js +10 -0
- package/dist-cjs/commands/UndeprecateWorkflowTypeCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.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/SWFClient.js +12 -9
- package/dist-es/commands/CountClosedWorkflowExecutionsCommand.js +10 -0
- package/dist-es/commands/CountOpenWorkflowExecutionsCommand.js +10 -0
- package/dist-es/commands/CountPendingActivityTasksCommand.js +10 -0
- package/dist-es/commands/CountPendingDecisionTasksCommand.js +10 -0
- package/dist-es/commands/DeprecateActivityTypeCommand.js +10 -0
- package/dist-es/commands/DeprecateDomainCommand.js +10 -0
- package/dist-es/commands/DeprecateWorkflowTypeCommand.js +10 -0
- package/dist-es/commands/DescribeActivityTypeCommand.js +10 -0
- package/dist-es/commands/DescribeDomainCommand.js +10 -0
- package/dist-es/commands/DescribeWorkflowExecutionCommand.js +10 -0
- package/dist-es/commands/DescribeWorkflowTypeCommand.js +10 -0
- package/dist-es/commands/GetWorkflowExecutionHistoryCommand.js +10 -0
- package/dist-es/commands/ListActivityTypesCommand.js +10 -0
- package/dist-es/commands/ListClosedWorkflowExecutionsCommand.js +10 -0
- package/dist-es/commands/ListDomainsCommand.js +10 -0
- package/dist-es/commands/ListOpenWorkflowExecutionsCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/ListWorkflowTypesCommand.js +10 -0
- package/dist-es/commands/PollForActivityTaskCommand.js +10 -0
- package/dist-es/commands/PollForDecisionTaskCommand.js +10 -0
- package/dist-es/commands/RecordActivityTaskHeartbeatCommand.js +10 -0
- package/dist-es/commands/RegisterActivityTypeCommand.js +10 -0
- package/dist-es/commands/RegisterDomainCommand.js +10 -0
- package/dist-es/commands/RegisterWorkflowTypeCommand.js +10 -0
- package/dist-es/commands/RequestCancelWorkflowExecutionCommand.js +10 -0
- package/dist-es/commands/RespondActivityTaskCanceledCommand.js +10 -0
- package/dist-es/commands/RespondActivityTaskCompletedCommand.js +10 -0
- package/dist-es/commands/RespondActivityTaskFailedCommand.js +10 -0
- package/dist-es/commands/RespondDecisionTaskCompletedCommand.js +10 -0
- package/dist-es/commands/SignalWorkflowExecutionCommand.js +10 -0
- package/dist-es/commands/StartWorkflowExecutionCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/TerminateWorkflowExecutionCommand.js +10 -0
- package/dist-es/commands/UndeprecateActivityTypeCommand.js +10 -0
- package/dist-es/commands/UndeprecateDomainCommand.js +10 -0
- package/dist-es/commands/UndeprecateWorkflowTypeCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.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/SWFClient.d.ts +6 -9
- package/dist-types/commands/CountClosedWorkflowExecutionsCommand.d.ts +2 -0
- package/dist-types/commands/CountOpenWorkflowExecutionsCommand.d.ts +2 -0
- package/dist-types/commands/CountPendingActivityTasksCommand.d.ts +2 -0
- package/dist-types/commands/CountPendingDecisionTasksCommand.d.ts +2 -0
- package/dist-types/commands/DeprecateActivityTypeCommand.d.ts +2 -0
- package/dist-types/commands/DeprecateDomainCommand.d.ts +2 -0
- package/dist-types/commands/DeprecateWorkflowTypeCommand.d.ts +2 -0
- package/dist-types/commands/DescribeActivityTypeCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +2 -0
- package/dist-types/commands/DescribeWorkflowExecutionCommand.d.ts +2 -0
- package/dist-types/commands/DescribeWorkflowTypeCommand.d.ts +2 -0
- package/dist-types/commands/GetWorkflowExecutionHistoryCommand.d.ts +2 -0
- package/dist-types/commands/ListActivityTypesCommand.d.ts +2 -0
- package/dist-types/commands/ListClosedWorkflowExecutionsCommand.d.ts +2 -0
- package/dist-types/commands/ListDomainsCommand.d.ts +2 -0
- package/dist-types/commands/ListOpenWorkflowExecutionsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ListWorkflowTypesCommand.d.ts +2 -0
- package/dist-types/commands/PollForActivityTaskCommand.d.ts +2 -0
- package/dist-types/commands/PollForDecisionTaskCommand.d.ts +2 -0
- package/dist-types/commands/RecordActivityTaskHeartbeatCommand.d.ts +2 -0
- package/dist-types/commands/RegisterActivityTypeCommand.d.ts +2 -0
- package/dist-types/commands/RegisterDomainCommand.d.ts +2 -0
- package/dist-types/commands/RegisterWorkflowTypeCommand.d.ts +2 -0
- package/dist-types/commands/RequestCancelWorkflowExecutionCommand.d.ts +2 -0
- package/dist-types/commands/RespondActivityTaskCanceledCommand.d.ts +2 -0
- package/dist-types/commands/RespondActivityTaskCompletedCommand.d.ts +2 -0
- package/dist-types/commands/RespondActivityTaskFailedCommand.d.ts +2 -0
- package/dist-types/commands/RespondDecisionTaskCompletedCommand.d.ts +2 -0
- package/dist-types/commands/SignalWorkflowExecutionCommand.d.ts +2 -0
- package/dist-types/commands/StartWorkflowExecutionCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/TerminateWorkflowExecutionCommand.d.ts +2 -0
- package/dist-types/commands/UndeprecateActivityTypeCommand.d.ts +2 -0
- package/dist-types/commands/UndeprecateDomainCommand.d.ts +2 -0
- package/dist-types/commands/UndeprecateWorkflowTypeCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.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/SWFClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/CountClosedWorkflowExecutionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CountOpenWorkflowExecutionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CountPendingActivityTasksCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CountPendingDecisionTasksCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeprecateActivityTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeprecateDomainCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeprecateWorkflowTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeActivityTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeWorkflowExecutionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeWorkflowTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetWorkflowExecutionHistoryCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListActivityTypesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListClosedWorkflowExecutionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListOpenWorkflowExecutionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListWorkflowTypesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PollForActivityTaskCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PollForDecisionTaskCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RecordActivityTaskHeartbeatCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RegisterActivityTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RegisterDomainCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RegisterWorkflowTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RequestCancelWorkflowExecutionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RespondActivityTaskCanceledCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RespondActivityTaskCompletedCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RespondActivityTaskFailedCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RespondDecisionTaskCompletedCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SignalWorkflowExecutionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartWorkflowExecutionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TerminateWorkflowExecutionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UndeprecateActivityTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UndeprecateDomainCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UndeprecateWorkflowTypeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.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 +3 -1
- package/dist-cjs/endpoints.js +0 -187
- package/dist-es/endpoints.js +0 -183
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RegisterDomainCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class RegisterDomainCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RegisterDomainCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "SWFClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RegisterWorkflowTypeCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class RegisterWorkflowTypeCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RegisterWorkflowTypeCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "SWFClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RequestCancelWorkflowExecutionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class RequestCancelWorkflowExecutionCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RequestCancelWorkflowExecutionCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "SWFClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RespondActivityTaskCanceledCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class RespondActivityTaskCanceledCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RespondActivityTaskCanceledCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "SWFClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RespondActivityTaskCompletedCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class RespondActivityTaskCompletedCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RespondActivityTaskCompletedCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "SWFClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RespondActivityTaskFailedCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class RespondActivityTaskFailedCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RespondActivityTaskFailedCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "SWFClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RespondDecisionTaskCompletedCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class RespondDecisionTaskCompletedCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RespondDecisionTaskCompletedCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "SWFClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SignalWorkflowExecutionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class SignalWorkflowExecutionCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SignalWorkflowExecutionCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "SWFClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StartWorkflowExecutionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class StartWorkflowExecutionCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartWorkflowExecutionCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "SWFClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TagResourceCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, TagResourceCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "SWFClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TerminateWorkflowExecutionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class TerminateWorkflowExecutionCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, TerminateWorkflowExecutionCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "SWFClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UndeprecateActivityTypeCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class UndeprecateActivityTypeCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UndeprecateActivityTypeCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "SWFClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UndeprecateDomainCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class UndeprecateDomainCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UndeprecateDomainCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "SWFClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UndeprecateWorkflowTypeCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class UndeprecateWorkflowTypeCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UndeprecateWorkflowTypeCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "SWFClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UntagResourceCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "SWFClient";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveClientEndpointParameters = void 0;
|
|
4
|
+
const resolveClientEndpointParameters = (options) => {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
return {
|
|
7
|
+
...options,
|
|
8
|
+
useDualstackEndpoint: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false,
|
|
9
|
+
useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false,
|
|
10
|
+
defaultSigningName: "swf",
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultEndpointResolver = void 0;
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const ruleset_1 = require("./ruleset");
|
|
6
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
+
return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
|
+
endpointParams: endpointParams,
|
|
9
|
+
logger: context.logger,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|