@aws-sdk/client-swf 3.35.0 → 3.38.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 +47 -0
- package/dist-cjs/SWF.js +0 -19
- package/dist-cjs/SWFClient.js +0 -24
- package/dist-cjs/commands/CountClosedWorkflowExecutionsCommand.js +0 -71
- package/dist-cjs/commands/CountOpenWorkflowExecutionsCommand.js +0 -71
- package/dist-cjs/commands/CountPendingActivityTasksCommand.js +0 -52
- package/dist-cjs/commands/CountPendingDecisionTasksCommand.js +0 -52
- package/dist-cjs/commands/DeprecateActivityTypeCommand.js +0 -67
- package/dist-cjs/commands/DeprecateDomainCommand.js +0 -56
- package/dist-cjs/commands/DeprecateWorkflowTypeCommand.js +0 -68
- package/dist-cjs/commands/DescribeActivityTypeCommand.js +0 -63
- package/dist-cjs/commands/DescribeDomainCommand.js +0 -49
- package/dist-cjs/commands/DescribeWorkflowExecutionCommand.js +0 -53
- package/dist-cjs/commands/DescribeWorkflowTypeCommand.js +0 -63
- package/dist-cjs/commands/GetWorkflowExecutionHistoryCommand.js +0 -54
- package/dist-cjs/commands/ListActivityTypesCommand.js +0 -52
- package/dist-cjs/commands/ListClosedWorkflowExecutionsCommand.js +0 -72
- package/dist-cjs/commands/ListDomainsCommand.js +0 -56
- package/dist-cjs/commands/ListOpenWorkflowExecutionsCommand.js +0 -72
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/ListWorkflowTypesCommand.js +0 -49
- package/dist-cjs/commands/PollForActivityTaskCommand.js +0 -60
- package/dist-cjs/commands/PollForDecisionTaskCommand.js +0 -72
- package/dist-cjs/commands/RecordActivityTaskHeartbeatCommand.js +0 -72
- package/dist-cjs/commands/RegisterActivityTypeCommand.js +0 -71
- package/dist-cjs/commands/RegisterDomainCommand.js +0 -48
- package/dist-cjs/commands/RegisterWorkflowTypeCommand.js +0 -72
- package/dist-cjs/commands/RequestCancelWorkflowExecutionCommand.js +0 -63
- package/dist-cjs/commands/RespondActivityTaskCanceledCommand.js +0 -66
- package/dist-cjs/commands/RespondActivityTaskCompletedCommand.js +0 -64
- package/dist-cjs/commands/RespondActivityTaskFailedCommand.js +0 -57
- package/dist-cjs/commands/RespondDecisionTaskCompletedCommand.js +0 -44
- package/dist-cjs/commands/SignalWorkflowExecutionCommand.js +0 -63
- package/dist-cjs/commands/StartWorkflowExecutionCommand.js +0 -90
- package/dist-cjs/commands/TagResourceCommand.js +0 -28
- package/dist-cjs/commands/TerminateWorkflowExecutionCommand.js +0 -68
- package/dist-cjs/commands/UndeprecateActivityTypeCommand.js +0 -66
- package/dist-cjs/commands/UndeprecateDomainCommand.js +0 -53
- package/dist-cjs/commands/UndeprecateWorkflowTypeCommand.js +0 -66
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/index.js +40 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -48
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -454
- package/dist-cjs/pagination/GetWorkflowExecutionHistoryPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListActivityTypesPaginator.js +0 -11
- package/dist-cjs/pagination/ListClosedWorkflowExecutionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListDomainsPaginator.js +0 -11
- package/dist-cjs/pagination/ListOpenWorkflowExecutionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListWorkflowTypesPaginator.js +0 -11
- package/dist-cjs/pagination/PollForDecisionTaskPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +11 -0
- package/dist-cjs/protocols/Aws_json1_0.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/SWF.js +0 -1
- package/dist-es/SWFClient.js +0 -1
- package/dist-es/commands/CountClosedWorkflowExecutionsCommand.js +0 -1
- package/dist-es/commands/CountOpenWorkflowExecutionsCommand.js +0 -1
- package/dist-es/commands/CountPendingActivityTasksCommand.js +0 -1
- package/dist-es/commands/CountPendingDecisionTasksCommand.js +0 -1
- package/dist-es/commands/DeprecateActivityTypeCommand.js +0 -1
- package/dist-es/commands/DeprecateDomainCommand.js +0 -1
- package/dist-es/commands/DeprecateWorkflowTypeCommand.js +0 -1
- package/dist-es/commands/DescribeActivityTypeCommand.js +0 -1
- package/dist-es/commands/DescribeDomainCommand.js +0 -1
- package/dist-es/commands/DescribeWorkflowExecutionCommand.js +0 -1
- package/dist-es/commands/DescribeWorkflowTypeCommand.js +0 -1
- package/dist-es/commands/GetWorkflowExecutionHistoryCommand.js +0 -1
- package/dist-es/commands/ListActivityTypesCommand.js +0 -1
- package/dist-es/commands/ListClosedWorkflowExecutionsCommand.js +0 -1
- package/dist-es/commands/ListDomainsCommand.js +0 -1
- package/dist-es/commands/ListOpenWorkflowExecutionsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListWorkflowTypesCommand.js +0 -1
- package/dist-es/commands/PollForActivityTaskCommand.js +0 -1
- package/dist-es/commands/PollForDecisionTaskCommand.js +0 -1
- package/dist-es/commands/RecordActivityTaskHeartbeatCommand.js +0 -1
- package/dist-es/commands/RegisterActivityTypeCommand.js +0 -1
- package/dist-es/commands/RegisterDomainCommand.js +0 -1
- package/dist-es/commands/RegisterWorkflowTypeCommand.js +0 -1
- package/dist-es/commands/RequestCancelWorkflowExecutionCommand.js +0 -1
- package/dist-es/commands/RespondActivityTaskCanceledCommand.js +0 -1
- package/dist-es/commands/RespondActivityTaskCompletedCommand.js +0 -1
- package/dist-es/commands/RespondActivityTaskFailedCommand.js +0 -1
- package/dist-es/commands/RespondDecisionTaskCompletedCommand.js +0 -1
- package/dist-es/commands/SignalWorkflowExecutionCommand.js +0 -1
- package/dist-es/commands/StartWorkflowExecutionCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/TerminateWorkflowExecutionCommand.js +0 -1
- package/dist-es/commands/UndeprecateActivityTypeCommand.js +0 -1
- package/dist-es/commands/UndeprecateDomainCommand.js +0 -1
- package/dist-es/commands/UndeprecateWorkflowTypeCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/index.js +37 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -48
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/GetWorkflowExecutionHistoryPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListActivityTypesPaginator.js +0 -1
- package/dist-es/pagination/ListClosedWorkflowExecutionsPaginator.js +0 -1
- package/dist-es/pagination/ListDomainsPaginator.js +0 -1
- package/dist-es/pagination/ListOpenWorkflowExecutionsPaginator.js +0 -1
- package/dist-es/pagination/ListWorkflowTypesPaginator.js +0 -1
- package/dist-es/pagination/PollForDecisionTaskPaginator.js +0 -1
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/protocols/Aws_json1_0.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +37 -0
- package/dist-types/index.d.ts +4 -47
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/SWF.d.ts +16 -1467
- package/dist-types/ts3.4/SWFClient.d.ts +24 -104
- package/dist-types/ts3.4/commands/CountClosedWorkflowExecutionsCommand.d.ts +2 -66
- package/dist-types/ts3.4/commands/CountOpenWorkflowExecutionsCommand.d.ts +2 -66
- package/dist-types/ts3.4/commands/CountPendingActivityTasksCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/CountPendingDecisionTasksCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/DeprecateActivityTypeCommand.d.ts +2 -62
- package/dist-types/ts3.4/commands/DeprecateDomainCommand.d.ts +2 -51
- package/dist-types/ts3.4/commands/DeprecateWorkflowTypeCommand.d.ts +2 -63
- package/dist-types/ts3.4/commands/DescribeActivityTypeCommand.d.ts +2 -58
- package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/DescribeWorkflowExecutionCommand.d.ts +2 -48
- package/dist-types/ts3.4/commands/DescribeWorkflowTypeCommand.d.ts +2 -58
- package/dist-types/ts3.4/commands/GetWorkflowExecutionHistoryCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/ListActivityTypesCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/ListClosedWorkflowExecutionsCommand.d.ts +2 -67
- package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +0 -58
- package/dist-types/ts3.4/commands/ListOpenWorkflowExecutionsCommand.d.ts +2 -67
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListWorkflowTypesCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/PollForActivityTaskCommand.d.ts +2 -55
- package/dist-types/ts3.4/commands/PollForDecisionTaskCommand.d.ts +2 -67
- package/dist-types/ts3.4/commands/RecordActivityTaskHeartbeatCommand.d.ts +2 -67
- package/dist-types/ts3.4/commands/RegisterActivityTypeCommand.d.ts +2 -66
- package/dist-types/ts3.4/commands/RegisterDomainCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/RegisterWorkflowTypeCommand.d.ts +2 -67
- package/dist-types/ts3.4/commands/RequestCancelWorkflowExecutionCommand.d.ts +2 -58
- package/dist-types/ts3.4/commands/RespondActivityTaskCanceledCommand.d.ts +2 -61
- package/dist-types/ts3.4/commands/RespondActivityTaskCompletedCommand.d.ts +2 -59
- package/dist-types/ts3.4/commands/RespondActivityTaskFailedCommand.d.ts +2 -52
- package/dist-types/ts3.4/commands/RespondDecisionTaskCompletedCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/SignalWorkflowExecutionCommand.d.ts +2 -58
- package/dist-types/ts3.4/commands/StartWorkflowExecutionCommand.d.ts +2 -85
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/TerminateWorkflowExecutionCommand.d.ts +2 -63
- package/dist-types/ts3.4/commands/UndeprecateActivityTypeCommand.d.ts +2 -61
- package/dist-types/ts3.4/commands/UndeprecateDomainCommand.d.ts +2 -48
- package/dist-types/ts3.4/commands/UndeprecateWorkflowTypeCommand.d.ts +2 -61
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +37 -0
- package/dist-types/ts3.4/index.d.ts +4 -47
- package/dist-types/ts3.4/models/models_0.d.ts +865 -4636
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/SWF.js.map +0 -1
- package/dist-cjs/SWFClient.js.map +0 -1
- package/dist-cjs/commands/CountClosedWorkflowExecutionsCommand.js.map +0 -1
- package/dist-cjs/commands/CountOpenWorkflowExecutionsCommand.js.map +0 -1
- package/dist-cjs/commands/CountPendingActivityTasksCommand.js.map +0 -1
- package/dist-cjs/commands/CountPendingDecisionTasksCommand.js.map +0 -1
- package/dist-cjs/commands/DeprecateActivityTypeCommand.js.map +0 -1
- package/dist-cjs/commands/DeprecateDomainCommand.js.map +0 -1
- package/dist-cjs/commands/DeprecateWorkflowTypeCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeActivityTypeCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDomainCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeWorkflowExecutionCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeWorkflowTypeCommand.js.map +0 -1
- package/dist-cjs/commands/GetWorkflowExecutionHistoryCommand.js.map +0 -1
- package/dist-cjs/commands/ListActivityTypesCommand.js.map +0 -1
- package/dist-cjs/commands/ListClosedWorkflowExecutionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListDomainsCommand.js.map +0 -1
- package/dist-cjs/commands/ListOpenWorkflowExecutionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ListWorkflowTypesCommand.js.map +0 -1
- package/dist-cjs/commands/PollForActivityTaskCommand.js.map +0 -1
- package/dist-cjs/commands/PollForDecisionTaskCommand.js.map +0 -1
- package/dist-cjs/commands/RecordActivityTaskHeartbeatCommand.js.map +0 -1
- package/dist-cjs/commands/RegisterActivityTypeCommand.js.map +0 -1
- package/dist-cjs/commands/RegisterDomainCommand.js.map +0 -1
- package/dist-cjs/commands/RegisterWorkflowTypeCommand.js.map +0 -1
- package/dist-cjs/commands/RequestCancelWorkflowExecutionCommand.js.map +0 -1
- package/dist-cjs/commands/RespondActivityTaskCanceledCommand.js.map +0 -1
- package/dist-cjs/commands/RespondActivityTaskCompletedCommand.js.map +0 -1
- package/dist-cjs/commands/RespondActivityTaskFailedCommand.js.map +0 -1
- package/dist-cjs/commands/RespondDecisionTaskCompletedCommand.js.map +0 -1
- package/dist-cjs/commands/SignalWorkflowExecutionCommand.js.map +0 -1
- package/dist-cjs/commands/StartWorkflowExecutionCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/TerminateWorkflowExecutionCommand.js.map +0 -1
- package/dist-cjs/commands/UndeprecateActivityTypeCommand.js.map +0 -1
- package/dist-cjs/commands/UndeprecateDomainCommand.js.map +0 -1
- package/dist-cjs/commands/UndeprecateWorkflowTypeCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/GetWorkflowExecutionHistoryPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListActivityTypesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListClosedWorkflowExecutionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListDomainsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListOpenWorkflowExecutionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListWorkflowTypesPaginator.js.map +0 -1
- package/dist-cjs/pagination/PollForDecisionTaskPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_0.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/SWF.js.map +0 -1
- package/dist-es/SWFClient.js.map +0 -1
- package/dist-es/commands/CountClosedWorkflowExecutionsCommand.js.map +0 -1
- package/dist-es/commands/CountOpenWorkflowExecutionsCommand.js.map +0 -1
- package/dist-es/commands/CountPendingActivityTasksCommand.js.map +0 -1
- package/dist-es/commands/CountPendingDecisionTasksCommand.js.map +0 -1
- package/dist-es/commands/DeprecateActivityTypeCommand.js.map +0 -1
- package/dist-es/commands/DeprecateDomainCommand.js.map +0 -1
- package/dist-es/commands/DeprecateWorkflowTypeCommand.js.map +0 -1
- package/dist-es/commands/DescribeActivityTypeCommand.js.map +0 -1
- package/dist-es/commands/DescribeDomainCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkflowExecutionCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkflowTypeCommand.js.map +0 -1
- package/dist-es/commands/GetWorkflowExecutionHistoryCommand.js.map +0 -1
- package/dist-es/commands/ListActivityTypesCommand.js.map +0 -1
- package/dist-es/commands/ListClosedWorkflowExecutionsCommand.js.map +0 -1
- package/dist-es/commands/ListDomainsCommand.js.map +0 -1
- package/dist-es/commands/ListOpenWorkflowExecutionsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ListWorkflowTypesCommand.js.map +0 -1
- package/dist-es/commands/PollForActivityTaskCommand.js.map +0 -1
- package/dist-es/commands/PollForDecisionTaskCommand.js.map +0 -1
- package/dist-es/commands/RecordActivityTaskHeartbeatCommand.js.map +0 -1
- package/dist-es/commands/RegisterActivityTypeCommand.js.map +0 -1
- package/dist-es/commands/RegisterDomainCommand.js.map +0 -1
- package/dist-es/commands/RegisterWorkflowTypeCommand.js.map +0 -1
- package/dist-es/commands/RequestCancelWorkflowExecutionCommand.js.map +0 -1
- package/dist-es/commands/RespondActivityTaskCanceledCommand.js.map +0 -1
- package/dist-es/commands/RespondActivityTaskCompletedCommand.js.map +0 -1
- package/dist-es/commands/RespondActivityTaskFailedCommand.js.map +0 -1
- package/dist-es/commands/RespondDecisionTaskCompletedCommand.js.map +0 -1
- package/dist-es/commands/SignalWorkflowExecutionCommand.js.map +0 -1
- package/dist-es/commands/StartWorkflowExecutionCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/TerminateWorkflowExecutionCommand.js.map +0 -1
- package/dist-es/commands/UndeprecateActivityTypeCommand.js.map +0 -1
- package/dist-es/commands/UndeprecateDomainCommand.js.map +0 -1
- package/dist-es/commands/UndeprecateWorkflowTypeCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/GetWorkflowExecutionHistoryPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListActivityTypesPaginator.js.map +0 -1
- package/dist-es/pagination/ListClosedWorkflowExecutionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListDomainsPaginator.js.map +0 -1
- package/dist-es/pagination/ListOpenWorkflowExecutionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListWorkflowTypesPaginator.js.map +0 -1
- package/dist-es/pagination/PollForDecisionTaskPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_0.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/SWF.ts +0 -2640
- package/src/SWFClient.ts +0 -446
- package/src/commands/CountClosedWorkflowExecutionsCommand.ts +0 -144
- package/src/commands/CountOpenWorkflowExecutionsCommand.ts +0 -144
- package/src/commands/CountPendingActivityTasksCommand.ts +0 -125
- package/src/commands/CountPendingDecisionTasksCommand.ts +0 -125
- package/src/commands/DeprecateActivityTypeCommand.ts +0 -137
- package/src/commands/DeprecateDomainCommand.ts +0 -126
- package/src/commands/DeprecateWorkflowTypeCommand.ts +0 -138
- package/src/commands/DescribeActivityTypeCommand.ts +0 -133
- package/src/commands/DescribeDomainCommand.ts +0 -119
- package/src/commands/DescribeWorkflowExecutionCommand.ts +0 -126
- package/src/commands/DescribeWorkflowTypeCommand.ts +0 -133
- package/src/commands/GetWorkflowExecutionHistoryCommand.ts +0 -127
- package/src/commands/ListActivityTypesCommand.ts +0 -122
- package/src/commands/ListClosedWorkflowExecutionsCommand.ts +0 -145
- package/src/commands/ListDomainsCommand.ts +0 -126
- package/src/commands/ListOpenWorkflowExecutionsCommand.ts +0 -145
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/ListWorkflowTypesCommand.ts +0 -119
- package/src/commands/PollForActivityTaskCommand.ts +0 -130
- package/src/commands/PollForDecisionTaskCommand.ts +0 -142
- package/src/commands/RecordActivityTaskHeartbeatCommand.ts +0 -145
- package/src/commands/RegisterActivityTypeCommand.ts +0 -141
- package/src/commands/RegisterDomainCommand.ts +0 -118
- package/src/commands/RegisterWorkflowTypeCommand.ts +0 -142
- package/src/commands/RequestCancelWorkflowExecutionCommand.ts +0 -139
- package/src/commands/RespondActivityTaskCanceledCommand.ts +0 -139
- package/src/commands/RespondActivityTaskCompletedCommand.ts +0 -137
- package/src/commands/RespondActivityTaskFailedCommand.ts +0 -130
- package/src/commands/RespondDecisionTaskCompletedCommand.ts +0 -117
- package/src/commands/SignalWorkflowExecutionCommand.ts +0 -133
- package/src/commands/StartWorkflowExecutionCommand.ts +0 -160
- package/src/commands/TagResourceCommand.ts +0 -98
- package/src/commands/TerminateWorkflowExecutionCommand.ts +0 -141
- package/src/commands/UndeprecateActivityTypeCommand.ts +0 -136
- package/src/commands/UndeprecateDomainCommand.ts +0 -123
- package/src/commands/UndeprecateWorkflowTypeCommand.ts +0 -136
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/endpoints.ts +0 -86
- package/src/index.ts +0 -48
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -7233
- package/src/pagination/GetWorkflowExecutionHistoryPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListActivityTypesPaginator.ts +0 -59
- package/src/pagination/ListClosedWorkflowExecutionsPaginator.ts +0 -59
- package/src/pagination/ListDomainsPaginator.ts +0 -55
- package/src/pagination/ListOpenWorkflowExecutionsPaginator.ts +0 -59
- package/src/pagination/ListWorkflowTypesPaginator.ts +0 -59
- package/src/pagination/PollForDecisionTaskPaginator.ts +0 -59
- package/src/protocols/Aws_json1_0.ts +0 -5978
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -5,100 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Starts an execution of the workflow type in the specified domain using the provided
|
|
10
|
-
* <code>workflowId</code> and input data.</p>
|
|
11
|
-
*
|
|
12
|
-
* <p>This action returns the newly started workflow execution.</p>
|
|
13
|
-
*
|
|
14
|
-
* <p>
|
|
15
|
-
* <b>Access Control</b>
|
|
16
|
-
* </p>
|
|
17
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
18
|
-
* follows:</p>
|
|
19
|
-
* <ul>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
22
|
-
* only specified domains.</p>
|
|
23
|
-
* </li>
|
|
24
|
-
* <li>
|
|
25
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
26
|
-
* action.</p>
|
|
27
|
-
* </li>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>Constrain the following parameters by using a <code>Condition</code> element with
|
|
30
|
-
* the appropriate keys.</p>
|
|
31
|
-
* <ul>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>
|
|
34
|
-
* <code>tagList.member.0</code>: The key is <code>swf:tagList.member.0</code>.</p>
|
|
35
|
-
* </li>
|
|
36
|
-
* <li>
|
|
37
|
-
* <p>
|
|
38
|
-
* <code>tagList.member.1</code>: The key is <code>swf:tagList.member.1</code>.</p>
|
|
39
|
-
* </li>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>
|
|
42
|
-
* <code>tagList.member.2</code>: The key is <code>swf:tagList.member.2</code>.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>
|
|
46
|
-
* <code>tagList.member.3</code>: The key is <code>swf:tagList.member.3</code>.</p>
|
|
47
|
-
* </li>
|
|
48
|
-
* <li>
|
|
49
|
-
* <p>
|
|
50
|
-
* <code>tagList.member.4</code>: The key is <code>swf:tagList.member.4</code>.</p>
|
|
51
|
-
* </li>
|
|
52
|
-
* <li>
|
|
53
|
-
* <p>
|
|
54
|
-
* <code>taskList</code>: String constraint. The key is
|
|
55
|
-
* <code>swf:taskList.name</code>.</p>
|
|
56
|
-
* </li>
|
|
57
|
-
* <li>
|
|
58
|
-
* <p>
|
|
59
|
-
* <code>workflowType.name</code>: String constraint. The key is
|
|
60
|
-
* <code>swf:workflowType.name</code>.</p>
|
|
61
|
-
* </li>
|
|
62
|
-
* <li>
|
|
63
|
-
* <p>
|
|
64
|
-
* <code>workflowType.version</code>: String constraint. The key is
|
|
65
|
-
* <code>swf:workflowType.version</code>.</p>
|
|
66
|
-
* </li>
|
|
67
|
-
* </ul>
|
|
68
|
-
* </li>
|
|
69
|
-
* </ul>
|
|
70
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
71
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
72
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
73
|
-
* For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
|
|
74
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
75
|
-
* @example
|
|
76
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
77
|
-
* ```javascript
|
|
78
|
-
* import { SWFClient, StartWorkflowExecutionCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
79
|
-
* // const { SWFClient, StartWorkflowExecutionCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
80
|
-
* const client = new SWFClient(config);
|
|
81
|
-
* const command = new StartWorkflowExecutionCommand(input);
|
|
82
|
-
* const response = await client.send(command);
|
|
83
|
-
* ```
|
|
84
|
-
*
|
|
85
|
-
* @see {@link StartWorkflowExecutionCommandInput} for command's `input` shape.
|
|
86
|
-
* @see {@link StartWorkflowExecutionCommandOutput} for command's `response` shape.
|
|
87
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
88
|
-
*
|
|
89
|
-
*/
|
|
90
8
|
class StartWorkflowExecutionCommand extends smithy_client_1.Command {
|
|
91
|
-
// Start section: command_properties
|
|
92
|
-
// End section: command_properties
|
|
93
9
|
constructor(input) {
|
|
94
|
-
// Start section: command_constructor
|
|
95
10
|
super();
|
|
96
11
|
this.input = input;
|
|
97
|
-
// End section: command_constructor
|
|
98
12
|
}
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
102
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
103
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
104
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -123,4 +34,3 @@ class StartWorkflowExecutionCommand extends smithy_client_1.Command {
|
|
|
123
34
|
}
|
|
124
35
|
}
|
|
125
36
|
exports.StartWorkflowExecutionCommand = StartWorkflowExecutionCommand;
|
|
126
|
-
//# sourceMappingURL=StartWorkflowExecutionCommand.js.map
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Add a tag to a Amazon SWF domain.</p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>Amazon SWF supports a maximum of 50 tags per resource.</p>
|
|
12
|
-
* </note>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { SWFClient, TagResourceCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
17
|
-
* // const { SWFClient, TagResourceCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
18
|
-
* const client = new SWFClient(config);
|
|
19
|
-
* const command = new TagResourceCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class TagResourceCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -61,4 +34,3 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
61
34
|
}
|
|
62
35
|
}
|
|
63
36
|
exports.TagResourceCommand = TagResourceCommand;
|
|
64
|
-
//# sourceMappingURL=TagResourceCommand.js.map
|
|
@@ -5,78 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Records a <code>WorkflowExecutionTerminated</code> event and forces closure of the
|
|
10
|
-
* workflow execution identified by the given domain, runId, and workflowId. The child policy,
|
|
11
|
-
* registered with the workflow type or specified when starting this execution, is applied to any
|
|
12
|
-
* open child workflow executions of this workflow execution.</p>
|
|
13
|
-
*
|
|
14
|
-
* <important>
|
|
15
|
-
* <p>If the identified workflow execution was in progress, it is terminated
|
|
16
|
-
* immediately.</p>
|
|
17
|
-
* </important>
|
|
18
|
-
*
|
|
19
|
-
* <note>
|
|
20
|
-
* <p>If a runId isn't specified, then the <code>WorkflowExecutionTerminated</code> event
|
|
21
|
-
* is recorded in the history of the current open workflow with the matching workflowId in the
|
|
22
|
-
* domain.</p>
|
|
23
|
-
* </note>
|
|
24
|
-
*
|
|
25
|
-
* <note>
|
|
26
|
-
* <p>You should consider using <a>RequestCancelWorkflowExecution</a> action
|
|
27
|
-
* instead because it allows the workflow to gracefully close while <a>TerminateWorkflowExecution</a> doesn't.</p>
|
|
28
|
-
* </note>
|
|
29
|
-
*
|
|
30
|
-
* <p>
|
|
31
|
-
* <b>Access Control</b>
|
|
32
|
-
* </p>
|
|
33
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
34
|
-
* follows:</p>
|
|
35
|
-
* <ul>
|
|
36
|
-
* <li>
|
|
37
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
38
|
-
* only specified domains.</p>
|
|
39
|
-
* </li>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
42
|
-
* action.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>You cannot use an IAM policy to constrain this action's parameters.</p>
|
|
46
|
-
* </li>
|
|
47
|
-
* </ul>
|
|
48
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
49
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
50
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
51
|
-
* For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
|
|
52
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
53
|
-
* @example
|
|
54
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
55
|
-
* ```javascript
|
|
56
|
-
* import { SWFClient, TerminateWorkflowExecutionCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
57
|
-
* // const { SWFClient, TerminateWorkflowExecutionCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
58
|
-
* const client = new SWFClient(config);
|
|
59
|
-
* const command = new TerminateWorkflowExecutionCommand(input);
|
|
60
|
-
* const response = await client.send(command);
|
|
61
|
-
* ```
|
|
62
|
-
*
|
|
63
|
-
* @see {@link TerminateWorkflowExecutionCommandInput} for command's `input` shape.
|
|
64
|
-
* @see {@link TerminateWorkflowExecutionCommandOutput} for command's `response` shape.
|
|
65
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
66
|
-
*
|
|
67
|
-
*/
|
|
68
8
|
class TerminateWorkflowExecutionCommand extends smithy_client_1.Command {
|
|
69
|
-
// Start section: command_properties
|
|
70
|
-
// End section: command_properties
|
|
71
9
|
constructor(input) {
|
|
72
|
-
// Start section: command_constructor
|
|
73
10
|
super();
|
|
74
11
|
this.input = input;
|
|
75
|
-
// End section: command_constructor
|
|
76
12
|
}
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
*/
|
|
80
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
81
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
82
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -101,4 +34,3 @@ class TerminateWorkflowExecutionCommand extends smithy_client_1.Command {
|
|
|
101
34
|
}
|
|
102
35
|
}
|
|
103
36
|
exports.TerminateWorkflowExecutionCommand = TerminateWorkflowExecutionCommand;
|
|
104
|
-
//# sourceMappingURL=TerminateWorkflowExecutionCommand.js.map
|
|
@@ -5,76 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Undeprecates a previously deprecated <i>activity type</i>. After an activity type has
|
|
10
|
-
* been undeprecated, you can create new tasks of that activity type.</p>
|
|
11
|
-
* <note>
|
|
12
|
-
* <p>This operation is eventually consistent. The results are best effort and may not
|
|
13
|
-
* exactly reflect recent updates and changes.</p>
|
|
14
|
-
* </note>
|
|
15
|
-
* <p>
|
|
16
|
-
* <b>Access Control</b>
|
|
17
|
-
* </p>
|
|
18
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
19
|
-
* follows:</p>
|
|
20
|
-
* <ul>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
23
|
-
* only specified domains.</p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
27
|
-
* action.</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>Constrain the following parameters by using a <code>Condition</code> element with
|
|
31
|
-
* the appropriate keys.</p>
|
|
32
|
-
* <ul>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>
|
|
35
|
-
* <code>activityType.name</code>: String constraint. The key is
|
|
36
|
-
* <code>swf:activityType.name</code>.</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>
|
|
40
|
-
* <code>activityType.version</code>: String constraint. The key is
|
|
41
|
-
* <code>swf:activityType.version</code>.</p>
|
|
42
|
-
* </li>
|
|
43
|
-
* </ul>
|
|
44
|
-
* </li>
|
|
45
|
-
* </ul>
|
|
46
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
47
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
48
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
49
|
-
* For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
|
|
50
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
51
|
-
* @example
|
|
52
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
53
|
-
* ```javascript
|
|
54
|
-
* import { SWFClient, UndeprecateActivityTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
55
|
-
* // const { SWFClient, UndeprecateActivityTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
56
|
-
* const client = new SWFClient(config);
|
|
57
|
-
* const command = new UndeprecateActivityTypeCommand(input);
|
|
58
|
-
* const response = await client.send(command);
|
|
59
|
-
* ```
|
|
60
|
-
*
|
|
61
|
-
* @see {@link UndeprecateActivityTypeCommandInput} for command's `input` shape.
|
|
62
|
-
* @see {@link UndeprecateActivityTypeCommandOutput} for command's `response` shape.
|
|
63
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
8
|
class UndeprecateActivityTypeCommand extends smithy_client_1.Command {
|
|
67
|
-
// Start section: command_properties
|
|
68
|
-
// End section: command_properties
|
|
69
9
|
constructor(input) {
|
|
70
|
-
// Start section: command_constructor
|
|
71
10
|
super();
|
|
72
11
|
this.input = input;
|
|
73
|
-
// End section: command_constructor
|
|
74
12
|
}
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
79
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
80
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -99,4 +34,3 @@ class UndeprecateActivityTypeCommand extends smithy_client_1.Command {
|
|
|
99
34
|
}
|
|
100
35
|
}
|
|
101
36
|
exports.UndeprecateActivityTypeCommand = UndeprecateActivityTypeCommand;
|
|
102
|
-
//# sourceMappingURL=UndeprecateActivityTypeCommand.js.map
|
|
@@ -5,63 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Undeprecates a previously deprecated domain. After a domain has been undeprecated it can be used
|
|
10
|
-
* to create new workflow executions or register new types.</p>
|
|
11
|
-
* <note>
|
|
12
|
-
* <p>This operation is eventually consistent. The results are best effort and may not
|
|
13
|
-
* exactly reflect recent updates and changes.</p>
|
|
14
|
-
* </note>
|
|
15
|
-
* <p>
|
|
16
|
-
* <b>Access Control</b>
|
|
17
|
-
* </p>
|
|
18
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
19
|
-
* follows:</p>
|
|
20
|
-
* <ul>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
23
|
-
* only specified domains.</p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
27
|
-
* action.</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>You cannot use an IAM policy to constrain this action's parameters.</p>
|
|
31
|
-
* </li>
|
|
32
|
-
* </ul>
|
|
33
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
34
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
35
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
36
|
-
* For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
|
|
37
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
38
|
-
* @example
|
|
39
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
-
* ```javascript
|
|
41
|
-
* import { SWFClient, UndeprecateDomainCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
42
|
-
* // const { SWFClient, UndeprecateDomainCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
43
|
-
* const client = new SWFClient(config);
|
|
44
|
-
* const command = new UndeprecateDomainCommand(input);
|
|
45
|
-
* const response = await client.send(command);
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @see {@link UndeprecateDomainCommandInput} for command's `input` shape.
|
|
49
|
-
* @see {@link UndeprecateDomainCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
8
|
class UndeprecateDomainCommand extends smithy_client_1.Command {
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
9
|
constructor(input) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
10
|
super();
|
|
59
11
|
this.input = input;
|
|
60
|
-
// End section: command_constructor
|
|
61
12
|
}
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
66
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -86,4 +34,3 @@ class UndeprecateDomainCommand extends smithy_client_1.Command {
|
|
|
86
34
|
}
|
|
87
35
|
}
|
|
88
36
|
exports.UndeprecateDomainCommand = UndeprecateDomainCommand;
|
|
89
|
-
//# sourceMappingURL=UndeprecateDomainCommand.js.map
|
|
@@ -5,76 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Undeprecates a previously deprecated <i>workflow type</i>. After a workflow type has
|
|
10
|
-
* been undeprecated, you can create new executions of that type. </p>
|
|
11
|
-
* <note>
|
|
12
|
-
* <p>This operation is eventually consistent. The results are best effort and may not
|
|
13
|
-
* exactly reflect recent updates and changes.</p>
|
|
14
|
-
* </note>
|
|
15
|
-
* <p>
|
|
16
|
-
* <b>Access Control</b>
|
|
17
|
-
* </p>
|
|
18
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
19
|
-
* follows:</p>
|
|
20
|
-
* <ul>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
23
|
-
* only specified domains.</p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
27
|
-
* action.</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>Constrain the following parameters by using a <code>Condition</code> element with
|
|
31
|
-
* the appropriate keys.</p>
|
|
32
|
-
* <ul>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>
|
|
35
|
-
* <code>workflowType.name</code>: String constraint. The key is
|
|
36
|
-
* <code>swf:workflowType.name</code>.</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>
|
|
40
|
-
* <code>workflowType.version</code>: String constraint. The key is
|
|
41
|
-
* <code>swf:workflowType.version</code>.</p>
|
|
42
|
-
* </li>
|
|
43
|
-
* </ul>
|
|
44
|
-
* </li>
|
|
45
|
-
* </ul>
|
|
46
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
47
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
48
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
49
|
-
* For details and example IAM policies, see <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html">Using IAM to Manage Access to Amazon SWF
|
|
50
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
51
|
-
* @example
|
|
52
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
53
|
-
* ```javascript
|
|
54
|
-
* import { SWFClient, UndeprecateWorkflowTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
55
|
-
* // const { SWFClient, UndeprecateWorkflowTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
56
|
-
* const client = new SWFClient(config);
|
|
57
|
-
* const command = new UndeprecateWorkflowTypeCommand(input);
|
|
58
|
-
* const response = await client.send(command);
|
|
59
|
-
* ```
|
|
60
|
-
*
|
|
61
|
-
* @see {@link UndeprecateWorkflowTypeCommandInput} for command's `input` shape.
|
|
62
|
-
* @see {@link UndeprecateWorkflowTypeCommandOutput} for command's `response` shape.
|
|
63
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
8
|
class UndeprecateWorkflowTypeCommand extends smithy_client_1.Command {
|
|
67
|
-
// Start section: command_properties
|
|
68
|
-
// End section: command_properties
|
|
69
9
|
constructor(input) {
|
|
70
|
-
// Start section: command_constructor
|
|
71
10
|
super();
|
|
72
11
|
this.input = input;
|
|
73
|
-
// End section: command_constructor
|
|
74
12
|
}
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
79
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
80
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -99,4 +34,3 @@ class UndeprecateWorkflowTypeCommand extends smithy_client_1.Command {
|
|
|
99
34
|
}
|
|
100
35
|
}
|
|
101
36
|
exports.UndeprecateWorkflowTypeCommand = UndeprecateWorkflowTypeCommand;
|
|
102
|
-
//# sourceMappingURL=UndeprecateWorkflowTypeCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Remove a tag from a Amazon SWF domain.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { SWFClient, UntagResourceCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
14
|
-
* // const { SWFClient, UntagResourceCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
15
|
-
* const client = new SWFClient(config);
|
|
16
|
-
* const command = new UntagResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class UntagResourceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
61
|
-
//# sourceMappingURL=UntagResourceCommand.js.map
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CountClosedWorkflowExecutionsCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CountOpenWorkflowExecutionsCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CountPendingActivityTasksCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CountPendingDecisionTasksCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./DeprecateActivityTypeCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./DeprecateDomainCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./DeprecateWorkflowTypeCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./DescribeActivityTypeCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./DescribeDomainCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./DescribeWorkflowExecutionCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./DescribeWorkflowTypeCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./GetWorkflowExecutionHistoryCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./ListActivityTypesCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./ListClosedWorkflowExecutionsCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./ListDomainsCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./ListOpenWorkflowExecutionsCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./ListWorkflowTypesCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./PollForActivityTaskCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./PollForDecisionTaskCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./RecordActivityTaskHeartbeatCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./RegisterActivityTypeCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./RegisterDomainCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./RegisterWorkflowTypeCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./RequestCancelWorkflowExecutionCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./RespondActivityTaskCanceledCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./RespondActivityTaskCompletedCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./RespondActivityTaskFailedCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./RespondDecisionTaskCompletedCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./SignalWorkflowExecutionCommand"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./StartWorkflowExecutionCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./TerminateWorkflowExecutionCommand"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./UndeprecateActivityTypeCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./UndeprecateDomainCommand"), exports);
|
|
39
|
+
tslib_1.__exportStar(require("./UndeprecateWorkflowTypeCommand"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -64,7 +64,7 @@ const partitionHash = {
|
|
|
64
64
|
hostname: "swf.{region}.amazonaws.com.cn",
|
|
65
65
|
},
|
|
66
66
|
"aws-iso": {
|
|
67
|
-
regions: ["us-iso-east-1"],
|
|
67
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
68
68
|
hostname: "swf.{region}.c2s.ic.gov",
|
|
69
69
|
},
|
|
70
70
|
"aws-iso-b": {
|
|
@@ -83,4 +83,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
|
|
|
83
83
|
partitionHash,
|
|
84
84
|
});
|
|
85
85
|
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
|
86
|
-
//# sourceMappingURL=endpoints.js.map
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,52 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./SWFClient"), exports);
|
|
5
4
|
tslib_1.__exportStar(require("./SWF"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./
|
|
7
|
-
tslib_1.__exportStar(require("./commands
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./
|
|
10
|
-
tslib_1.__exportStar(require("./commands/DeprecateActivityTypeCommand"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./commands/DeprecateDomainCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./commands/DeprecateWorkflowTypeCommand"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./commands/DescribeActivityTypeCommand"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./commands/DescribeDomainCommand"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./commands/DescribeWorkflowExecutionCommand"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./commands/DescribeWorkflowTypeCommand"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./commands/GetWorkflowExecutionHistoryCommand"), exports);
|
|
18
|
-
tslib_1.__exportStar(require("./pagination/GetWorkflowExecutionHistoryPaginator"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./commands/ListActivityTypesCommand"), exports);
|
|
20
|
-
tslib_1.__exportStar(require("./pagination/ListActivityTypesPaginator"), exports);
|
|
21
|
-
tslib_1.__exportStar(require("./commands/ListClosedWorkflowExecutionsCommand"), exports);
|
|
22
|
-
tslib_1.__exportStar(require("./pagination/ListClosedWorkflowExecutionsPaginator"), exports);
|
|
23
|
-
tslib_1.__exportStar(require("./commands/ListDomainsCommand"), exports);
|
|
24
|
-
tslib_1.__exportStar(require("./pagination/ListDomainsPaginator"), exports);
|
|
25
|
-
tslib_1.__exportStar(require("./commands/ListOpenWorkflowExecutionsCommand"), exports);
|
|
26
|
-
tslib_1.__exportStar(require("./pagination/ListOpenWorkflowExecutionsPaginator"), exports);
|
|
27
|
-
tslib_1.__exportStar(require("./commands/ListTagsForResourceCommand"), exports);
|
|
28
|
-
tslib_1.__exportStar(require("./commands/ListWorkflowTypesCommand"), exports);
|
|
29
|
-
tslib_1.__exportStar(require("./pagination/ListWorkflowTypesPaginator"), exports);
|
|
30
|
-
tslib_1.__exportStar(require("./commands/PollForActivityTaskCommand"), exports);
|
|
31
|
-
tslib_1.__exportStar(require("./commands/PollForDecisionTaskCommand"), exports);
|
|
32
|
-
tslib_1.__exportStar(require("./pagination/PollForDecisionTaskPaginator"), exports);
|
|
33
|
-
tslib_1.__exportStar(require("./commands/RecordActivityTaskHeartbeatCommand"), exports);
|
|
34
|
-
tslib_1.__exportStar(require("./commands/RegisterActivityTypeCommand"), exports);
|
|
35
|
-
tslib_1.__exportStar(require("./commands/RegisterDomainCommand"), exports);
|
|
36
|
-
tslib_1.__exportStar(require("./commands/RegisterWorkflowTypeCommand"), exports);
|
|
37
|
-
tslib_1.__exportStar(require("./commands/RequestCancelWorkflowExecutionCommand"), exports);
|
|
38
|
-
tslib_1.__exportStar(require("./commands/RespondActivityTaskCanceledCommand"), exports);
|
|
39
|
-
tslib_1.__exportStar(require("./commands/RespondActivityTaskCompletedCommand"), exports);
|
|
40
|
-
tslib_1.__exportStar(require("./commands/RespondActivityTaskFailedCommand"), exports);
|
|
41
|
-
tslib_1.__exportStar(require("./commands/RespondDecisionTaskCompletedCommand"), exports);
|
|
42
|
-
tslib_1.__exportStar(require("./commands/SignalWorkflowExecutionCommand"), exports);
|
|
43
|
-
tslib_1.__exportStar(require("./commands/StartWorkflowExecutionCommand"), exports);
|
|
44
|
-
tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
|
|
45
|
-
tslib_1.__exportStar(require("./commands/TerminateWorkflowExecutionCommand"), exports);
|
|
46
|
-
tslib_1.__exportStar(require("./commands/UndeprecateActivityTypeCommand"), exports);
|
|
47
|
-
tslib_1.__exportStar(require("./commands/UndeprecateDomainCommand"), exports);
|
|
48
|
-
tslib_1.__exportStar(require("./commands/UndeprecateWorkflowTypeCommand"), exports);
|
|
49
|
-
tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
|
|
50
|
-
tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
|
|
51
|
-
tslib_1.__exportStar(require("./models/index"), exports);
|
|
52
|
-
//# sourceMappingURL=index.js.map
|
|
5
|
+
tslib_1.__exportStar(require("./SWFClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
package/dist-cjs/models/index.js
CHANGED