@aws-sdk/client-support-app 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.
- package/README.md +7 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -77,16 +77,16 @@ using your favorite package manager:
|
|
|
77
77
|
|
|
78
78
|
The AWS SDK is modulized by clients and commands.
|
|
79
79
|
To send a request, you only need to import the `SupportAppClient` and
|
|
80
|
-
the commands you need, for example `
|
|
80
|
+
the commands you need, for example `ListSlackChannelConfigurationsCommand`:
|
|
81
81
|
|
|
82
82
|
```js
|
|
83
83
|
// ES5 example
|
|
84
|
-
const { SupportAppClient,
|
|
84
|
+
const { SupportAppClient, ListSlackChannelConfigurationsCommand } = require("@aws-sdk/client-support-app");
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
```ts
|
|
88
88
|
// ES6+ example
|
|
89
|
-
import { SupportAppClient,
|
|
89
|
+
import { SupportAppClient, ListSlackChannelConfigurationsCommand } from "@aws-sdk/client-support-app";
|
|
90
90
|
```
|
|
91
91
|
|
|
92
92
|
### Usage
|
|
@@ -105,7 +105,7 @@ const client = new SupportAppClient({ region: "REGION" });
|
|
|
105
105
|
const params = {
|
|
106
106
|
/** input parameters */
|
|
107
107
|
};
|
|
108
|
-
const command = new
|
|
108
|
+
const command = new ListSlackChannelConfigurationsCommand(params);
|
|
109
109
|
```
|
|
110
110
|
|
|
111
111
|
#### Async/await
|
|
@@ -184,7 +184,7 @@ const client = new AWS.SupportApp({ region: "REGION" });
|
|
|
184
184
|
|
|
185
185
|
// async/await.
|
|
186
186
|
try {
|
|
187
|
-
const data = await client.
|
|
187
|
+
const data = await client.listSlackChannelConfigurations(params);
|
|
188
188
|
// process data.
|
|
189
189
|
} catch (error) {
|
|
190
190
|
// error handling.
|
|
@@ -192,7 +192,7 @@ try {
|
|
|
192
192
|
|
|
193
193
|
// Promises.
|
|
194
194
|
client
|
|
195
|
-
.
|
|
195
|
+
.listSlackChannelConfigurations(params)
|
|
196
196
|
.then((data) => {
|
|
197
197
|
// process data.
|
|
198
198
|
})
|
|
@@ -201,7 +201,7 @@ client
|
|
|
201
201
|
});
|
|
202
202
|
|
|
203
203
|
// callbacks.
|
|
204
|
-
client.
|
|
204
|
+
client.listSlackChannelConfigurations(params, (err, data) => {
|
|
205
205
|
// process err and data.
|
|
206
206
|
});
|
|
207
207
|
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-support-app",
|
|
3
3
|
"description": "AWS SDK for JavaScript Support App Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
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",
|