@aws-sdk/client-kinesis-analytics 3.418.0 → 3.423.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 -13
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -33,22 +33,16 @@ using your favorite package manager:
33
33
 
34
34
  The AWS SDK is modulized by clients and commands.
35
35
  To send a request, you only need to import the `KinesisAnalyticsClient` and
36
- the commands you need, for example `AddApplicationCloudWatchLoggingOptionCommand`:
36
+ the commands you need, for example `ListApplicationsCommand`:
37
37
 
38
38
  ```js
39
39
  // ES5 example
40
- const {
41
- KinesisAnalyticsClient,
42
- AddApplicationCloudWatchLoggingOptionCommand,
43
- } = require("@aws-sdk/client-kinesis-analytics");
40
+ const { KinesisAnalyticsClient, ListApplicationsCommand } = require("@aws-sdk/client-kinesis-analytics");
44
41
  ```
45
42
 
46
43
  ```ts
47
44
  // ES6+ example
48
- import {
49
- KinesisAnalyticsClient,
50
- AddApplicationCloudWatchLoggingOptionCommand,
51
- } from "@aws-sdk/client-kinesis-analytics";
45
+ import { KinesisAnalyticsClient, ListApplicationsCommand } from "@aws-sdk/client-kinesis-analytics";
52
46
  ```
53
47
 
54
48
  ### Usage
@@ -67,7 +61,7 @@ const client = new KinesisAnalyticsClient({ region: "REGION" });
67
61
  const params = {
68
62
  /** input parameters */
69
63
  };
70
- const command = new AddApplicationCloudWatchLoggingOptionCommand(params);
64
+ const command = new ListApplicationsCommand(params);
71
65
  ```
72
66
 
73
67
  #### Async/await
@@ -146,7 +140,7 @@ const client = new AWS.KinesisAnalytics({ region: "REGION" });
146
140
 
147
141
  // async/await.
148
142
  try {
149
- const data = await client.addApplicationCloudWatchLoggingOption(params);
143
+ const data = await client.listApplications(params);
150
144
  // process data.
151
145
  } catch (error) {
152
146
  // error handling.
@@ -154,7 +148,7 @@ try {
154
148
 
155
149
  // Promises.
156
150
  client
157
- .addApplicationCloudWatchLoggingOption(params)
151
+ .listApplications(params)
158
152
  .then((data) => {
159
153
  // process data.
160
154
  })
@@ -163,7 +157,7 @@ client
163
157
  });
164
158
 
165
159
  // callbacks.
166
- client.addApplicationCloudWatchLoggingOption(params, (err, data) => {
160
+ client.listApplications(params, (err, data) => {
167
161
  // process err and data.
168
162
  });
169
163
  ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis-analytics",
3
3
  "description": "AWS SDK for JavaScript Kinesis Analytics Client for Node.js, Browser and React Native",
4
- "version": "3.418.0",
4
+ "version": "3.423.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.423.0",
25
+ "@aws-sdk/credential-provider-node": "3.423.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",