@aws-sdk/client-codepipeline 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.
- package/README.md +7 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -217,16 +217,16 @@ using your favorite package manager:
|
|
|
217
217
|
|
|
218
218
|
The AWS SDK is modulized by clients and commands.
|
|
219
219
|
To send a request, you only need to import the `CodePipelineClient` and
|
|
220
|
-
the commands you need, for example `
|
|
220
|
+
the commands you need, for example `ListActionTypesCommand`:
|
|
221
221
|
|
|
222
222
|
```js
|
|
223
223
|
// ES5 example
|
|
224
|
-
const { CodePipelineClient,
|
|
224
|
+
const { CodePipelineClient, ListActionTypesCommand } = require("@aws-sdk/client-codepipeline");
|
|
225
225
|
```
|
|
226
226
|
|
|
227
227
|
```ts
|
|
228
228
|
// ES6+ example
|
|
229
|
-
import { CodePipelineClient,
|
|
229
|
+
import { CodePipelineClient, ListActionTypesCommand } from "@aws-sdk/client-codepipeline";
|
|
230
230
|
```
|
|
231
231
|
|
|
232
232
|
### Usage
|
|
@@ -245,7 +245,7 @@ const client = new CodePipelineClient({ region: "REGION" });
|
|
|
245
245
|
const params = {
|
|
246
246
|
/** input parameters */
|
|
247
247
|
};
|
|
248
|
-
const command = new
|
|
248
|
+
const command = new ListActionTypesCommand(params);
|
|
249
249
|
```
|
|
250
250
|
|
|
251
251
|
#### Async/await
|
|
@@ -324,7 +324,7 @@ const client = new AWS.CodePipeline({ region: "REGION" });
|
|
|
324
324
|
|
|
325
325
|
// async/await.
|
|
326
326
|
try {
|
|
327
|
-
const data = await client.
|
|
327
|
+
const data = await client.listActionTypes(params);
|
|
328
328
|
// process data.
|
|
329
329
|
} catch (error) {
|
|
330
330
|
// error handling.
|
|
@@ -332,7 +332,7 @@ try {
|
|
|
332
332
|
|
|
333
333
|
// Promises.
|
|
334
334
|
client
|
|
335
|
-
.
|
|
335
|
+
.listActionTypes(params)
|
|
336
336
|
.then((data) => {
|
|
337
337
|
// process data.
|
|
338
338
|
})
|
|
@@ -341,7 +341,7 @@ client
|
|
|
341
341
|
});
|
|
342
342
|
|
|
343
343
|
// callbacks.
|
|
344
|
-
client.
|
|
344
|
+
client.listActionTypes(params, (err, data) => {
|
|
345
345
|
// process err and data.
|
|
346
346
|
});
|
|
347
347
|
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codepipeline",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codepipeline Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
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",
|