@aws-sdk/client-sfn 3.36.0 → 3.39.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.
Files changed (81) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/SFN.js +0 -18
  3. package/dist-cjs/SFNClient.js +0 -23
  4. package/dist-cjs/commands/CreateActivityCommand.js +0 -40
  5. package/dist-cjs/commands/CreateStateMachineCommand.js +0 -42
  6. package/dist-cjs/commands/DeleteActivityCommand.js +0 -24
  7. package/dist-cjs/commands/DeleteStateMachineCommand.js +0 -30
  8. package/dist-cjs/commands/DescribeActivityCommand.js +0 -27
  9. package/dist-cjs/commands/DescribeExecutionCommand.js +0 -28
  10. package/dist-cjs/commands/DescribeStateMachineCommand.js +0 -27
  11. package/dist-cjs/commands/DescribeStateMachineForExecutionCommand.js +0 -28
  12. package/dist-cjs/commands/GetActivityTaskCommand.js +0 -36
  13. package/dist-cjs/commands/GetExecutionHistoryCommand.js +0 -29
  14. package/dist-cjs/commands/ListActivitiesCommand.js +0 -29
  15. package/dist-cjs/commands/ListExecutionsCommand.js +0 -31
  16. package/dist-cjs/commands/ListStateMachinesCommand.js +0 -29
  17. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  18. package/dist-cjs/commands/SendTaskFailureCommand.js +0 -25
  19. package/dist-cjs/commands/SendTaskHeartbeatCommand.js +0 -38
  20. package/dist-cjs/commands/SendTaskSuccessCommand.js +0 -26
  21. package/dist-cjs/commands/StartExecutionCommand.js +0 -32
  22. package/dist-cjs/commands/StartSyncExecutionCommand.js +0 -24
  23. package/dist-cjs/commands/StopExecutionCommand.js +0 -25
  24. package/dist-cjs/commands/TagResourceCommand.js +0 -29
  25. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  26. package/dist-cjs/commands/UpdateStateMachineCommand.js +0 -34
  27. package/dist-cjs/commands/index.js +26 -0
  28. package/dist-cjs/endpoints.js +6 -1
  29. package/dist-cjs/index.js +4 -30
  30. package/dist-cjs/models/models_0.js +0 -333
  31. package/dist-cjs/pagination/GetExecutionHistoryPaginator.js +0 -10
  32. package/dist-cjs/pagination/ListActivitiesPaginator.js +0 -10
  33. package/dist-cjs/pagination/ListExecutionsPaginator.js +0 -10
  34. package/dist-cjs/pagination/ListStateMachinesPaginator.js +0 -10
  35. package/dist-cjs/pagination/index.js +8 -0
  36. package/dist-cjs/protocols/Aws_json1_0.js +0 -5
  37. package/dist-cjs/runtimeConfig.browser.js +1 -5
  38. package/dist-cjs/runtimeConfig.js +1 -5
  39. package/dist-cjs/runtimeConfig.native.js +0 -3
  40. package/dist-cjs/runtimeConfig.shared.js +0 -3
  41. package/dist-es/commands/index.js +23 -0
  42. package/dist-es/endpoints.js +6 -1
  43. package/dist-es/index.js +4 -30
  44. package/dist-es/pagination/index.js +5 -0
  45. package/dist-types/commands/index.d.ts +23 -0
  46. package/dist-types/index.d.ts +4 -30
  47. package/dist-types/pagination/index.d.ts +5 -0
  48. package/dist-types/ts3.4/SFN.d.ts +24 -217
  49. package/dist-types/ts3.4/SFNClient.d.ts +24 -104
  50. package/dist-types/ts3.4/commands/CreateActivityCommand.d.ts +2 -36
  51. package/dist-types/ts3.4/commands/CreateStateMachineCommand.d.ts +2 -38
  52. package/dist-types/ts3.4/commands/DeleteActivityCommand.d.ts +2 -20
  53. package/dist-types/ts3.4/commands/DeleteStateMachineCommand.d.ts +2 -26
  54. package/dist-types/ts3.4/commands/DescribeActivityCommand.d.ts +2 -23
  55. package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +2 -24
  56. package/dist-types/ts3.4/commands/DescribeStateMachineCommand.d.ts +2 -23
  57. package/dist-types/ts3.4/commands/DescribeStateMachineForExecutionCommand.d.ts +2 -24
  58. package/dist-types/ts3.4/commands/GetActivityTaskCommand.d.ts +2 -32
  59. package/dist-types/ts3.4/commands/GetExecutionHistoryCommand.d.ts +2 -25
  60. package/dist-types/ts3.4/commands/ListActivitiesCommand.d.ts +2 -25
  61. package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +2 -27
  62. package/dist-types/ts3.4/commands/ListStateMachinesCommand.d.ts +2 -25
  63. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
  64. package/dist-types/ts3.4/commands/SendTaskFailureCommand.d.ts +2 -21
  65. package/dist-types/ts3.4/commands/SendTaskHeartbeatCommand.d.ts +2 -34
  66. package/dist-types/ts3.4/commands/SendTaskSuccessCommand.d.ts +2 -22
  67. package/dist-types/ts3.4/commands/StartExecutionCommand.d.ts +2 -28
  68. package/dist-types/ts3.4/commands/StartSyncExecutionCommand.d.ts +2 -20
  69. package/dist-types/ts3.4/commands/StopExecutionCommand.d.ts +2 -21
  70. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -25
  71. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  72. package/dist-types/ts3.4/commands/UpdateStateMachineCommand.d.ts +2 -30
  73. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  74. package/dist-types/ts3.4/index.d.ts +4 -30
  75. package/dist-types/ts3.4/models/models_0.d.ts +434 -1643
  76. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  77. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  78. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  79. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  80. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  81. package/package.json +32 -32
@@ -6,34 +6,11 @@ export interface TagResourceCommandInput extends TagResourceInput {
6
6
  }
7
7
  export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Add a tag to a Step Functions resource.</p>
11
- * <p>An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Using
12
- * Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User
13
- * Guide</i>, and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html">Controlling Access Using IAM
14
- * Tags</a>.</p>
15
- * <p>Tags may only contain Unicode letters, digits, white space, or these symbols: <code>_ . : / = + - @</code>.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { SFNClient, TagResourceCommand } from "@aws-sdk/client-sfn"; // ES Modules import
20
- * // const { SFNClient, TagResourceCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
21
- * const client = new SFNClient(config);
22
- * const command = new TagResourceCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link TagResourceCommandInput} for command's `input` shape.
27
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
28
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
9
+
31
10
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, SFNClientResolvedConfig> {
32
11
  readonly input: TagResourceCommandInput;
33
12
  constructor(input: TagResourceCommandInput);
34
- /**
35
- * @internal
36
- */
13
+
37
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
38
15
  private serialize;
39
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface UntagResourceCommandInput extends UntagResourceInput {
6
6
  }
7
7
  export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Remove a tag from a Step Functions resource</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { SFNClient, UntagResourceCommand } from "@aws-sdk/client-sfn"; // ES Modules import
15
- * // const { SFNClient, UntagResourceCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
16
- * const client = new SFNClient(config);
17
- * const command = new UntagResourceCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
22
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
23
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, SFNClientResolvedConfig> {
27
11
  readonly input: UntagResourceCommandInput;
28
12
  constructor(input: UntagResourceCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,39 +6,11 @@ export interface UpdateStateMachineCommandInput extends UpdateStateMachineInput
6
6
  }
7
7
  export interface UpdateStateMachineCommandOutput extends UpdateStateMachineOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Updates an existing state machine by modifying its <code>definition</code>,
11
- * <code>roleArn</code>, or <code>loggingConfiguration</code>. Running executions will continue
12
- * to use the previous <code>definition</code> and <code>roleArn</code>. You must include at
13
- * least one of <code>definition</code> or <code>roleArn</code> or you will receive a
14
- * <code>MissingRequiredParameter</code> error.</p>
15
- * <note>
16
- * <p>All <code>StartExecution</code> calls within a few seconds will use the updated
17
- * <code>definition</code> and <code>roleArn</code>. Executions started immediately after
18
- * calling <code>UpdateStateMachine</code> may use the previous state machine
19
- * <code>definition</code> and <code>roleArn</code>. </p>
20
- * </note>
21
- * @example
22
- * Use a bare-bones client and the command you need to make an API call.
23
- * ```javascript
24
- * import { SFNClient, UpdateStateMachineCommand } from "@aws-sdk/client-sfn"; // ES Modules import
25
- * // const { SFNClient, UpdateStateMachineCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
26
- * const client = new SFNClient(config);
27
- * const command = new UpdateStateMachineCommand(input);
28
- * const response = await client.send(command);
29
- * ```
30
- *
31
- * @see {@link UpdateStateMachineCommandInput} for command's `input` shape.
32
- * @see {@link UpdateStateMachineCommandOutput} for command's `response` shape.
33
- * @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
34
- *
35
- */
9
+
36
10
  export declare class UpdateStateMachineCommand extends $Command<UpdateStateMachineCommandInput, UpdateStateMachineCommandOutput, SFNClientResolvedConfig> {
37
11
  readonly input: UpdateStateMachineCommandInput;
38
12
  constructor(input: UpdateStateMachineCommandInput);
39
- /**
40
- * @internal
41
- */
13
+
42
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SFNClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateStateMachineCommandInput, UpdateStateMachineCommandOutput>;
43
15
  private serialize;
44
16
  private deserialize;
@@ -0,0 +1,23 @@
1
+ export * from "./CreateActivityCommand";
2
+ export * from "./CreateStateMachineCommand";
3
+ export * from "./DeleteActivityCommand";
4
+ export * from "./DeleteStateMachineCommand";
5
+ export * from "./DescribeActivityCommand";
6
+ export * from "./DescribeExecutionCommand";
7
+ export * from "./DescribeStateMachineCommand";
8
+ export * from "./DescribeStateMachineForExecutionCommand";
9
+ export * from "./GetActivityTaskCommand";
10
+ export * from "./GetExecutionHistoryCommand";
11
+ export * from "./ListActivitiesCommand";
12
+ export * from "./ListExecutionsCommand";
13
+ export * from "./ListStateMachinesCommand";
14
+ export * from "./ListTagsForResourceCommand";
15
+ export * from "./SendTaskFailureCommand";
16
+ export * from "./SendTaskHeartbeatCommand";
17
+ export * from "./SendTaskSuccessCommand";
18
+ export * from "./StartExecutionCommand";
19
+ export * from "./StartSyncExecutionCommand";
20
+ export * from "./StopExecutionCommand";
21
+ export * from "./TagResourceCommand";
22
+ export * from "./UntagResourceCommand";
23
+ export * from "./UpdateStateMachineCommand";
@@ -1,31 +1,5 @@
1
- export * from "./SFNClient";
2
1
  export * from "./SFN";
3
- export * from "./commands/CreateActivityCommand";
4
- export * from "./commands/CreateStateMachineCommand";
5
- export * from "./commands/DeleteActivityCommand";
6
- export * from "./commands/DeleteStateMachineCommand";
7
- export * from "./commands/DescribeActivityCommand";
8
- export * from "./commands/DescribeExecutionCommand";
9
- export * from "./commands/DescribeStateMachineCommand";
10
- export * from "./commands/DescribeStateMachineForExecutionCommand";
11
- export * from "./commands/GetActivityTaskCommand";
12
- export * from "./commands/GetExecutionHistoryCommand";
13
- export * from "./pagination/GetExecutionHistoryPaginator";
14
- export * from "./commands/ListActivitiesCommand";
15
- export * from "./pagination/ListActivitiesPaginator";
16
- export * from "./commands/ListExecutionsCommand";
17
- export * from "./pagination/ListExecutionsPaginator";
18
- export * from "./commands/ListStateMachinesCommand";
19
- export * from "./pagination/ListStateMachinesPaginator";
20
- export * from "./commands/ListTagsForResourceCommand";
21
- export * from "./commands/SendTaskFailureCommand";
22
- export * from "./commands/SendTaskHeartbeatCommand";
23
- export * from "./commands/SendTaskSuccessCommand";
24
- export * from "./commands/StartExecutionCommand";
25
- export * from "./commands/StartSyncExecutionCommand";
26
- export * from "./commands/StopExecutionCommand";
27
- export * from "./commands/TagResourceCommand";
28
- export * from "./commands/UntagResourceCommand";
29
- export * from "./commands/UpdateStateMachineCommand";
30
- export * from "./pagination/Interfaces";
31
- export * from "./models/index";
2
+ export * from "./SFNClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";