@aws-sdk/client-appfabric 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
@@ -31,16 +31,16 @@ using your favorite package manager:
31
31
 
32
32
  The AWS SDK is modulized by clients and commands.
33
33
  To send a request, you only need to import the `AppFabricClient` and
34
- the commands you need, for example `BatchGetUserAccessTasksCommand`:
34
+ the commands you need, for example `ListAppBundlesCommand`:
35
35
 
36
36
  ```js
37
37
  // ES5 example
38
- const { AppFabricClient, BatchGetUserAccessTasksCommand } = require("@aws-sdk/client-appfabric");
38
+ const { AppFabricClient, ListAppBundlesCommand } = require("@aws-sdk/client-appfabric");
39
39
  ```
40
40
 
41
41
  ```ts
42
42
  // ES6+ example
43
- import { AppFabricClient, BatchGetUserAccessTasksCommand } from "@aws-sdk/client-appfabric";
43
+ import { AppFabricClient, ListAppBundlesCommand } from "@aws-sdk/client-appfabric";
44
44
  ```
45
45
 
46
46
  ### Usage
@@ -59,7 +59,7 @@ const client = new AppFabricClient({ region: "REGION" });
59
59
  const params = {
60
60
  /** input parameters */
61
61
  };
62
- const command = new BatchGetUserAccessTasksCommand(params);
62
+ const command = new ListAppBundlesCommand(params);
63
63
  ```
64
64
 
65
65
  #### Async/await
@@ -138,7 +138,7 @@ const client = new AWS.AppFabric({ region: "REGION" });
138
138
 
139
139
  // async/await.
140
140
  try {
141
- const data = await client.batchGetUserAccessTasks(params);
141
+ const data = await client.listAppBundles(params);
142
142
  // process data.
143
143
  } catch (error) {
144
144
  // error handling.
@@ -146,7 +146,7 @@ try {
146
146
 
147
147
  // Promises.
148
148
  client
149
- .batchGetUserAccessTasks(params)
149
+ .listAppBundles(params)
150
150
  .then((data) => {
151
151
  // process data.
152
152
  })
@@ -155,7 +155,7 @@ client
155
155
  });
156
156
 
157
157
  // callbacks.
158
- client.batchGetUserAccessTasks(params, (err, data) => {
158
+ client.listAppBundles(params, (err, data) => {
159
159
  // process err and data.
160
160
  });
161
161
  ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appfabric",
3
3
  "description": "AWS SDK for JavaScript Appfabric 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",