@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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
12
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
46
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
47
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
7
54
|
|
|
8
55
|
|
package/dist-cjs/SWF.js
CHANGED
|
@@ -39,24 +39,6 @@ const UndeprecateDomainCommand_1 = require("./commands/UndeprecateDomainCommand"
|
|
|
39
39
|
const UndeprecateWorkflowTypeCommand_1 = require("./commands/UndeprecateWorkflowTypeCommand");
|
|
40
40
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
41
41
|
const SWFClient_1 = require("./SWFClient");
|
|
42
|
-
/**
|
|
43
|
-
* <fullname>Amazon Simple Workflow Service</fullname>
|
|
44
|
-
*
|
|
45
|
-
* <p>The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to
|
|
46
|
-
* coordinate work across distributed components. In Amazon SWF, a <i>task</i>
|
|
47
|
-
* represents a logical unit of work that is performed by a component of your workflow.
|
|
48
|
-
* Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and
|
|
49
|
-
* concurrency in accordance with the logical flow of the application.</p>
|
|
50
|
-
*
|
|
51
|
-
* <p>Amazon SWF gives you full control over implementing tasks and coordinating them without
|
|
52
|
-
* worrying about underlying complexities such as tracking their progress and maintaining their
|
|
53
|
-
* state.</p>
|
|
54
|
-
*
|
|
55
|
-
* <p>This documentation serves as reference only. For a broader overview of the Amazon SWF
|
|
56
|
-
* programming model, see the <i>
|
|
57
|
-
* <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/">Amazon SWF Developer Guide</a>
|
|
58
|
-
* </i>.</p>
|
|
59
|
-
*/
|
|
60
42
|
class SWF extends SWFClient_1.SWFClient {
|
|
61
43
|
countClosedWorkflowExecutions(args, optionsOrCb, cb) {
|
|
62
44
|
const command = new CountClosedWorkflowExecutionsCommand_1.CountClosedWorkflowExecutionsCommand(args);
|
|
@@ -578,4 +560,3 @@ class SWF extends SWFClient_1.SWFClient {
|
|
|
578
560
|
}
|
|
579
561
|
}
|
|
580
562
|
exports.SWF = SWF;
|
|
581
|
-
//# sourceMappingURL=SWF.js.map
|
package/dist-cjs/SWFClient.js
CHANGED
|
@@ -10,24 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <fullname>Amazon Simple Workflow Service</fullname>
|
|
15
|
-
*
|
|
16
|
-
* <p>The Amazon Simple Workflow Service (Amazon SWF) makes it easy to build applications that use Amazon's cloud to
|
|
17
|
-
* coordinate work across distributed components. In Amazon SWF, a <i>task</i>
|
|
18
|
-
* represents a logical unit of work that is performed by a component of your workflow.
|
|
19
|
-
* Coordinating tasks in a workflow involves managing intertask dependencies, scheduling, and
|
|
20
|
-
* concurrency in accordance with the logical flow of the application.</p>
|
|
21
|
-
*
|
|
22
|
-
* <p>Amazon SWF gives you full control over implementing tasks and coordinating them without
|
|
23
|
-
* worrying about underlying complexities such as tracking their progress and maintaining their
|
|
24
|
-
* state.</p>
|
|
25
|
-
*
|
|
26
|
-
* <p>This documentation serves as reference only. For a broader overview of the Amazon SWF
|
|
27
|
-
* programming model, see the <i>
|
|
28
|
-
* <a href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/">Amazon SWF Developer Guide</a>
|
|
29
|
-
* </i>.</p>
|
|
30
|
-
*/
|
|
31
13
|
class SWFClient extends smithy_client_1.Client {
|
|
32
14
|
constructor(configuration) {
|
|
33
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -46,14 +28,8 @@ class SWFClient extends smithy_client_1.Client {
|
|
|
46
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
47
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
48
30
|
}
|
|
49
|
-
/**
|
|
50
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
51
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
52
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
53
|
-
*/
|
|
54
31
|
destroy() {
|
|
55
32
|
super.destroy();
|
|
56
33
|
}
|
|
57
34
|
}
|
|
58
35
|
exports.SWFClient = SWFClient;
|
|
59
|
-
//# sourceMappingURL=SWFClient.js.map
|
|
@@ -5,81 +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>Returns the number of closed workflow executions within the given domain that meet the
|
|
10
|
-
* specified filtering criteria.</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>tagFilter.tag</code>: String constraint. The key is
|
|
36
|
-
* <code>swf:tagFilter.tag</code>.</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>
|
|
40
|
-
* <code>typeFilter.name</code>: String constraint. The key is
|
|
41
|
-
* <code>swf:typeFilter.name</code>.</p>
|
|
42
|
-
* </li>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>
|
|
45
|
-
* <code>typeFilter.version</code>: String constraint. The key is
|
|
46
|
-
* <code>swf:typeFilter.version</code>.</p>
|
|
47
|
-
* </li>
|
|
48
|
-
* </ul>
|
|
49
|
-
* </li>
|
|
50
|
-
* </ul>
|
|
51
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
52
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
53
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
54
|
-
* 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
|
|
55
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
56
|
-
* @example
|
|
57
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
58
|
-
* ```javascript
|
|
59
|
-
* import { SWFClient, CountClosedWorkflowExecutionsCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
60
|
-
* // const { SWFClient, CountClosedWorkflowExecutionsCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
61
|
-
* const client = new SWFClient(config);
|
|
62
|
-
* const command = new CountClosedWorkflowExecutionsCommand(input);
|
|
63
|
-
* const response = await client.send(command);
|
|
64
|
-
* ```
|
|
65
|
-
*
|
|
66
|
-
* @see {@link CountClosedWorkflowExecutionsCommandInput} for command's `input` shape.
|
|
67
|
-
* @see {@link CountClosedWorkflowExecutionsCommandOutput} for command's `response` shape.
|
|
68
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
69
|
-
*
|
|
70
|
-
*/
|
|
71
8
|
class CountClosedWorkflowExecutionsCommand extends smithy_client_1.Command {
|
|
72
|
-
// Start section: command_properties
|
|
73
|
-
// End section: command_properties
|
|
74
9
|
constructor(input) {
|
|
75
|
-
// Start section: command_constructor
|
|
76
10
|
super();
|
|
77
11
|
this.input = input;
|
|
78
|
-
// End section: command_constructor
|
|
79
12
|
}
|
|
80
|
-
/**
|
|
81
|
-
* @internal
|
|
82
|
-
*/
|
|
83
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
84
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
85
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -104,4 +34,3 @@ class CountClosedWorkflowExecutionsCommand extends smithy_client_1.Command {
|
|
|
104
34
|
}
|
|
105
35
|
}
|
|
106
36
|
exports.CountClosedWorkflowExecutionsCommand = CountClosedWorkflowExecutionsCommand;
|
|
107
|
-
//# sourceMappingURL=CountClosedWorkflowExecutionsCommand.js.map
|
|
@@ -5,81 +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>Returns the number of open workflow executions within the given domain that meet the
|
|
10
|
-
* specified filtering criteria.</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>tagFilter.tag</code>: String constraint. The key is
|
|
36
|
-
* <code>swf:tagFilter.tag</code>.</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>
|
|
40
|
-
* <code>typeFilter.name</code>: String constraint. The key is
|
|
41
|
-
* <code>swf:typeFilter.name</code>.</p>
|
|
42
|
-
* </li>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>
|
|
45
|
-
* <code>typeFilter.version</code>: String constraint. The key is
|
|
46
|
-
* <code>swf:typeFilter.version</code>.</p>
|
|
47
|
-
* </li>
|
|
48
|
-
* </ul>
|
|
49
|
-
* </li>
|
|
50
|
-
* </ul>
|
|
51
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
52
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
53
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
54
|
-
* 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
|
|
55
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
56
|
-
* @example
|
|
57
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
58
|
-
* ```javascript
|
|
59
|
-
* import { SWFClient, CountOpenWorkflowExecutionsCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
60
|
-
* // const { SWFClient, CountOpenWorkflowExecutionsCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
61
|
-
* const client = new SWFClient(config);
|
|
62
|
-
* const command = new CountOpenWorkflowExecutionsCommand(input);
|
|
63
|
-
* const response = await client.send(command);
|
|
64
|
-
* ```
|
|
65
|
-
*
|
|
66
|
-
* @see {@link CountOpenWorkflowExecutionsCommandInput} for command's `input` shape.
|
|
67
|
-
* @see {@link CountOpenWorkflowExecutionsCommandOutput} for command's `response` shape.
|
|
68
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
69
|
-
*
|
|
70
|
-
*/
|
|
71
8
|
class CountOpenWorkflowExecutionsCommand extends smithy_client_1.Command {
|
|
72
|
-
// Start section: command_properties
|
|
73
|
-
// End section: command_properties
|
|
74
9
|
constructor(input) {
|
|
75
|
-
// Start section: command_constructor
|
|
76
10
|
super();
|
|
77
11
|
this.input = input;
|
|
78
|
-
// End section: command_constructor
|
|
79
12
|
}
|
|
80
|
-
/**
|
|
81
|
-
* @internal
|
|
82
|
-
*/
|
|
83
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
84
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
85
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -104,4 +34,3 @@ class CountOpenWorkflowExecutionsCommand extends smithy_client_1.Command {
|
|
|
104
34
|
}
|
|
105
35
|
}
|
|
106
36
|
exports.CountOpenWorkflowExecutionsCommand = CountOpenWorkflowExecutionsCommand;
|
|
107
|
-
//# sourceMappingURL=CountOpenWorkflowExecutionsCommand.js.map
|
|
@@ -5,62 +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>Returns the estimated number of activity tasks in the specified task list. The count
|
|
10
|
-
* returned is an approximation and isn't guaranteed to be exact. If you specify a task list that
|
|
11
|
-
* no activity task was ever scheduled in then <code>0</code> is returned.</p>
|
|
12
|
-
* <p>
|
|
13
|
-
* <b>Access Control</b>
|
|
14
|
-
* </p>
|
|
15
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
16
|
-
* follows:</p>
|
|
17
|
-
* <ul>
|
|
18
|
-
* <li>
|
|
19
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
20
|
-
* only specified domains.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
24
|
-
* action.</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>Constrain the <code>taskList.name</code> parameter by using a
|
|
28
|
-
* <code>Condition</code> element with the <code>swf:taskList.name</code> key to allow the
|
|
29
|
-
* action to access only certain task lists.</p>
|
|
30
|
-
* </li>
|
|
31
|
-
* </ul>
|
|
32
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
33
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
34
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
35
|
-
* 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
|
|
36
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
37
|
-
* @example
|
|
38
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
-
* ```javascript
|
|
40
|
-
* import { SWFClient, CountPendingActivityTasksCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
41
|
-
* // const { SWFClient, CountPendingActivityTasksCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
42
|
-
* const client = new SWFClient(config);
|
|
43
|
-
* const command = new CountPendingActivityTasksCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @see {@link CountPendingActivityTasksCommandInput} for command's `input` shape.
|
|
48
|
-
* @see {@link CountPendingActivityTasksCommandOutput} for command's `response` shape.
|
|
49
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
52
8
|
class CountPendingActivityTasksCommand extends smithy_client_1.Command {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
9
|
constructor(input) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
10
|
super();
|
|
58
11
|
this.input = input;
|
|
59
|
-
// End section: command_constructor
|
|
60
12
|
}
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
65
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -85,4 +34,3 @@ class CountPendingActivityTasksCommand extends smithy_client_1.Command {
|
|
|
85
34
|
}
|
|
86
35
|
}
|
|
87
36
|
exports.CountPendingActivityTasksCommand = CountPendingActivityTasksCommand;
|
|
88
|
-
//# sourceMappingURL=CountPendingActivityTasksCommand.js.map
|
|
@@ -5,62 +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>Returns the estimated number of decision tasks in the specified task list. The count
|
|
10
|
-
* returned is an approximation and isn't guaranteed to be exact. If you specify a task list that
|
|
11
|
-
* no decision task was ever scheduled in then <code>0</code> is returned.</p>
|
|
12
|
-
* <p>
|
|
13
|
-
* <b>Access Control</b>
|
|
14
|
-
* </p>
|
|
15
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
16
|
-
* follows:</p>
|
|
17
|
-
* <ul>
|
|
18
|
-
* <li>
|
|
19
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
20
|
-
* only specified domains.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
24
|
-
* action.</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>Constrain the <code>taskList.name</code> parameter by using a
|
|
28
|
-
* <code>Condition</code> element with the <code>swf:taskList.name</code> key to allow the
|
|
29
|
-
* action to access only certain task lists.</p>
|
|
30
|
-
* </li>
|
|
31
|
-
* </ul>
|
|
32
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
33
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
34
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
35
|
-
* 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
|
|
36
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
37
|
-
* @example
|
|
38
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
-
* ```javascript
|
|
40
|
-
* import { SWFClient, CountPendingDecisionTasksCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
41
|
-
* // const { SWFClient, CountPendingDecisionTasksCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
42
|
-
* const client = new SWFClient(config);
|
|
43
|
-
* const command = new CountPendingDecisionTasksCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @see {@link CountPendingDecisionTasksCommandInput} for command's `input` shape.
|
|
48
|
-
* @see {@link CountPendingDecisionTasksCommandOutput} for command's `response` shape.
|
|
49
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
52
8
|
class CountPendingDecisionTasksCommand extends smithy_client_1.Command {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
9
|
constructor(input) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
10
|
super();
|
|
58
11
|
this.input = input;
|
|
59
|
-
// End section: command_constructor
|
|
60
12
|
}
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
65
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -85,4 +34,3 @@ class CountPendingDecisionTasksCommand extends smithy_client_1.Command {
|
|
|
85
34
|
}
|
|
86
35
|
}
|
|
87
36
|
exports.CountPendingDecisionTasksCommand = CountPendingDecisionTasksCommand;
|
|
88
|
-
//# sourceMappingURL=CountPendingDecisionTasksCommand.js.map
|
|
@@ -5,77 +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>Deprecates the specified <i>activity type</i>. After an activity type has
|
|
10
|
-
* been deprecated, you cannot create new tasks of that activity type. Tasks of this type that
|
|
11
|
-
* were scheduled before the type was deprecated continue to run.</p>
|
|
12
|
-
* <note>
|
|
13
|
-
* <p>This operation is eventually consistent. The results are best effort and may not
|
|
14
|
-
* exactly reflect recent updates and changes.</p>
|
|
15
|
-
* </note>
|
|
16
|
-
* <p>
|
|
17
|
-
* <b>Access Control</b>
|
|
18
|
-
* </p>
|
|
19
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
20
|
-
* follows:</p>
|
|
21
|
-
* <ul>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
24
|
-
* only specified domains.</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
28
|
-
* action.</p>
|
|
29
|
-
* </li>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>Constrain the following parameters by using a <code>Condition</code> element with
|
|
32
|
-
* the appropriate keys.</p>
|
|
33
|
-
* <ul>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>
|
|
36
|
-
* <code>activityType.name</code>: String constraint. The key is
|
|
37
|
-
* <code>swf:activityType.name</code>.</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>
|
|
41
|
-
* <code>activityType.version</code>: String constraint. The key is
|
|
42
|
-
* <code>swf:activityType.version</code>.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* </ul>
|
|
45
|
-
* </li>
|
|
46
|
-
* </ul>
|
|
47
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
48
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
49
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
50
|
-
* 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
|
|
51
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
52
|
-
* @example
|
|
53
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
54
|
-
* ```javascript
|
|
55
|
-
* import { SWFClient, DeprecateActivityTypeCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
56
|
-
* // const { SWFClient, DeprecateActivityTypeCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
57
|
-
* const client = new SWFClient(config);
|
|
58
|
-
* const command = new DeprecateActivityTypeCommand(input);
|
|
59
|
-
* const response = await client.send(command);
|
|
60
|
-
* ```
|
|
61
|
-
*
|
|
62
|
-
* @see {@link DeprecateActivityTypeCommandInput} for command's `input` shape.
|
|
63
|
-
* @see {@link DeprecateActivityTypeCommandOutput} for command's `response` shape.
|
|
64
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
65
|
-
*
|
|
66
|
-
*/
|
|
67
8
|
class DeprecateActivityTypeCommand extends smithy_client_1.Command {
|
|
68
|
-
// Start section: command_properties
|
|
69
|
-
// End section: command_properties
|
|
70
9
|
constructor(input) {
|
|
71
|
-
// Start section: command_constructor
|
|
72
10
|
super();
|
|
73
11
|
this.input = input;
|
|
74
|
-
// End section: command_constructor
|
|
75
12
|
}
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
79
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
80
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
81
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -100,4 +34,3 @@ class DeprecateActivityTypeCommand extends smithy_client_1.Command {
|
|
|
100
34
|
}
|
|
101
35
|
}
|
|
102
36
|
exports.DeprecateActivityTypeCommand = DeprecateActivityTypeCommand;
|
|
103
|
-
//# sourceMappingURL=DeprecateActivityTypeCommand.js.map
|
|
@@ -5,66 +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>Deprecates the specified domain. After a domain has been deprecated it cannot be used
|
|
10
|
-
* to create new workflow executions or register new types. However, you can still use visibility
|
|
11
|
-
* actions on this domain. Deprecating a domain also deprecates all activity and workflow types
|
|
12
|
-
* registered in the domain. Executions that were started before the domain was deprecated
|
|
13
|
-
* continues to run.</p>
|
|
14
|
-
* <note>
|
|
15
|
-
* <p>This operation is eventually consistent. The results are best effort and may not
|
|
16
|
-
* exactly reflect recent updates and changes.</p>
|
|
17
|
-
* </note>
|
|
18
|
-
* <p>
|
|
19
|
-
* <b>Access Control</b>
|
|
20
|
-
* </p>
|
|
21
|
-
* <p>You can use IAM policies to control this action's access to Amazon SWF resources as
|
|
22
|
-
* follows:</p>
|
|
23
|
-
* <ul>
|
|
24
|
-
* <li>
|
|
25
|
-
* <p>Use a <code>Resource</code> element with the domain name to limit the action to
|
|
26
|
-
* only specified domains.</p>
|
|
27
|
-
* </li>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>Use an <code>Action</code> element to allow or deny permission to call this
|
|
30
|
-
* action.</p>
|
|
31
|
-
* </li>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>You cannot use an IAM policy to constrain this action's parameters.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* </ul>
|
|
36
|
-
* <p>If the caller doesn't have sufficient permissions to invoke the action, or the
|
|
37
|
-
* parameter values fall outside the specified constraints, the action fails. The associated
|
|
38
|
-
* event attribute's <code>cause</code> parameter is set to <code>OPERATION_NOT_PERMITTED</code>.
|
|
39
|
-
* 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
|
|
40
|
-
* Workflows</a> in the <i>Amazon SWF Developer Guide</i>.</p>
|
|
41
|
-
* @example
|
|
42
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
43
|
-
* ```javascript
|
|
44
|
-
* import { SWFClient, DeprecateDomainCommand } from "@aws-sdk/client-swf"; // ES Modules import
|
|
45
|
-
* // const { SWFClient, DeprecateDomainCommand } = require("@aws-sdk/client-swf"); // CommonJS import
|
|
46
|
-
* const client = new SWFClient(config);
|
|
47
|
-
* const command = new DeprecateDomainCommand(input);
|
|
48
|
-
* const response = await client.send(command);
|
|
49
|
-
* ```
|
|
50
|
-
*
|
|
51
|
-
* @see {@link DeprecateDomainCommandInput} for command's `input` shape.
|
|
52
|
-
* @see {@link DeprecateDomainCommandOutput} for command's `response` shape.
|
|
53
|
-
* @see {@link SWFClientResolvedConfig | config} for command's `input` shape.
|
|
54
|
-
*
|
|
55
|
-
*/
|
|
56
8
|
class DeprecateDomainCommand extends smithy_client_1.Command {
|
|
57
|
-
// Start section: command_properties
|
|
58
|
-
// End section: command_properties
|
|
59
9
|
constructor(input) {
|
|
60
|
-
// Start section: command_constructor
|
|
61
10
|
super();
|
|
62
11
|
this.input = input;
|
|
63
|
-
// End section: command_constructor
|
|
64
12
|
}
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
69
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -89,4 +34,3 @@ class DeprecateDomainCommand extends smithy_client_1.Command {
|
|
|
89
34
|
}
|
|
90
35
|
}
|
|
91
36
|
exports.DeprecateDomainCommand = DeprecateDomainCommand;
|
|
92
|
-
//# sourceMappingURL=DeprecateDomainCommand.js.map
|