@aws-sdk/client-appflow 3.418.0 → 3.421.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 (2) hide show
  1. package/README.md +7 -7
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -57,16 +57,16 @@ using your favorite package manager:
57
57
 
58
58
  The AWS SDK is modulized by clients and commands.
59
59
  To send a request, you only need to import the `AppflowClient` and
60
- the commands you need, for example `CancelFlowExecutionsCommand`:
60
+ the commands you need, for example `ListFlowsCommand`:
61
61
 
62
62
  ```js
63
63
  // ES5 example
64
- const { AppflowClient, CancelFlowExecutionsCommand } = require("@aws-sdk/client-appflow");
64
+ const { AppflowClient, ListFlowsCommand } = require("@aws-sdk/client-appflow");
65
65
  ```
66
66
 
67
67
  ```ts
68
68
  // ES6+ example
69
- import { AppflowClient, CancelFlowExecutionsCommand } from "@aws-sdk/client-appflow";
69
+ import { AppflowClient, ListFlowsCommand } from "@aws-sdk/client-appflow";
70
70
  ```
71
71
 
72
72
  ### Usage
@@ -85,7 +85,7 @@ const client = new AppflowClient({ region: "REGION" });
85
85
  const params = {
86
86
  /** input parameters */
87
87
  };
88
- const command = new CancelFlowExecutionsCommand(params);
88
+ const command = new ListFlowsCommand(params);
89
89
  ```
90
90
 
91
91
  #### Async/await
@@ -164,7 +164,7 @@ const client = new AWS.Appflow({ region: "REGION" });
164
164
 
165
165
  // async/await.
166
166
  try {
167
- const data = await client.cancelFlowExecutions(params);
167
+ const data = await client.listFlows(params);
168
168
  // process data.
169
169
  } catch (error) {
170
170
  // error handling.
@@ -172,7 +172,7 @@ try {
172
172
 
173
173
  // Promises.
174
174
  client
175
- .cancelFlowExecutions(params)
175
+ .listFlows(params)
176
176
  .then((data) => {
177
177
  // process data.
178
178
  })
@@ -181,7 +181,7 @@ client
181
181
  });
182
182
 
183
183
  // callbacks.
184
- client.cancelFlowExecutions(params, (err, data) => {
184
+ client.listFlows(params, (err, data) => {
185
185
  // process err and data.
186
186
  });
187
187
  ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appflow",
3
3
  "description": "AWS SDK for JavaScript Appflow Client for Node.js, Browser and React Native",
4
- "version": "3.418.0",
4
+ "version": "3.421.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.418.0",
25
- "@aws-sdk/credential-provider-node": "3.418.0",
24
+ "@aws-sdk/client-sts": "3.421.0",
25
+ "@aws-sdk/credential-provider-node": "3.421.0",
26
26
  "@aws-sdk/middleware-host-header": "3.418.0",
27
27
  "@aws-sdk/middleware-logger": "3.418.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.418.0",