@aws-sdk/client-codecatalyst 3.418.0 → 3.425.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 CHANGED
@@ -174,16 +174,16 @@ using your favorite package manager:
174
174
 
175
175
  The AWS SDK is modulized by clients and commands.
176
176
  To send a request, you only need to import the `CodeCatalystClient` and
177
- the commands you need, for example `CreateAccessTokenCommand`:
177
+ the commands you need, for example `ListSpacesCommand`:
178
178
 
179
179
  ```js
180
180
  // ES5 example
181
- const { CodeCatalystClient, CreateAccessTokenCommand } = require("@aws-sdk/client-codecatalyst");
181
+ const { CodeCatalystClient, ListSpacesCommand } = require("@aws-sdk/client-codecatalyst");
182
182
  ```
183
183
 
184
184
  ```ts
185
185
  // ES6+ example
186
- import { CodeCatalystClient, CreateAccessTokenCommand } from "@aws-sdk/client-codecatalyst";
186
+ import { CodeCatalystClient, ListSpacesCommand } from "@aws-sdk/client-codecatalyst";
187
187
  ```
188
188
 
189
189
  ### Usage
@@ -202,7 +202,7 @@ const client = new CodeCatalystClient({ region: "REGION" });
202
202
  const params = {
203
203
  /** input parameters */
204
204
  };
205
- const command = new CreateAccessTokenCommand(params);
205
+ const command = new ListSpacesCommand(params);
206
206
  ```
207
207
 
208
208
  #### Async/await
@@ -281,7 +281,7 @@ const client = new AWS.CodeCatalyst({ region: "REGION" });
281
281
 
282
282
  // async/await.
283
283
  try {
284
- const data = await client.createAccessToken(params);
284
+ const data = await client.listSpaces(params);
285
285
  // process data.
286
286
  } catch (error) {
287
287
  // error handling.
@@ -289,7 +289,7 @@ try {
289
289
 
290
290
  // Promises.
291
291
  client
292
- .createAccessToken(params)
292
+ .listSpaces(params)
293
293
  .then((data) => {
294
294
  // process data.
295
295
  })
@@ -298,7 +298,7 @@ client
298
298
  });
299
299
 
300
300
  // callbacks.
301
- client.createAccessToken(params, (err, data) => {
301
+ client.listSpaces(params, (err, data) => {
302
302
  // process err and data.
303
303
  });
304
304
  ```
@@ -134,6 +134,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
134
134
  maxAttempts?: number | __Provider<number>;
135
135
  /**
136
136
  * Specifies which retry algorithm to use.
137
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
138
+ *
137
139
  */
138
140
  retryMode?: string | __Provider<string>;
139
141
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codecatalyst",
3
3
  "description": "AWS SDK for JavaScript Codecatalyst Client for Node.js, Browser and React Native",
4
- "version": "3.418.0",
4
+ "version": "3.425.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,37 +21,37 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/middleware-host-header": "3.418.0",
25
- "@aws-sdk/middleware-logger": "3.418.0",
26
- "@aws-sdk/middleware-recursion-detection": "3.418.0",
27
- "@aws-sdk/middleware-token": "3.418.0",
28
- "@aws-sdk/middleware-user-agent": "3.418.0",
29
- "@aws-sdk/region-config-resolver": "3.418.0",
30
- "@aws-sdk/types": "3.418.0",
31
- "@aws-sdk/util-endpoints": "3.418.0",
32
- "@aws-sdk/util-user-agent-browser": "3.418.0",
33
- "@aws-sdk/util-user-agent-node": "3.418.0",
34
- "@smithy/config-resolver": "^2.0.10",
35
- "@smithy/fetch-http-handler": "^2.1.5",
36
- "@smithy/hash-node": "^2.0.9",
37
- "@smithy/invalid-dependency": "^2.0.9",
38
- "@smithy/middleware-content-length": "^2.0.11",
39
- "@smithy/middleware-endpoint": "^2.0.9",
40
- "@smithy/middleware-retry": "^2.0.12",
41
- "@smithy/middleware-serde": "^2.0.9",
42
- "@smithy/middleware-stack": "^2.0.2",
43
- "@smithy/node-config-provider": "^2.0.12",
44
- "@smithy/node-http-handler": "^2.1.5",
45
- "@smithy/protocol-http": "^3.0.5",
46
- "@smithy/smithy-client": "^2.1.6",
47
- "@smithy/types": "^2.3.3",
48
- "@smithy/url-parser": "^2.0.9",
24
+ "@aws-sdk/middleware-host-header": "3.425.0",
25
+ "@aws-sdk/middleware-logger": "3.425.0",
26
+ "@aws-sdk/middleware-recursion-detection": "3.425.0",
27
+ "@aws-sdk/middleware-token": "3.425.0",
28
+ "@aws-sdk/middleware-user-agent": "3.425.0",
29
+ "@aws-sdk/region-config-resolver": "3.425.0",
30
+ "@aws-sdk/types": "3.425.0",
31
+ "@aws-sdk/util-endpoints": "3.425.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.425.0",
33
+ "@aws-sdk/util-user-agent-node": "3.425.0",
34
+ "@smithy/config-resolver": "^2.0.11",
35
+ "@smithy/fetch-http-handler": "^2.2.1",
36
+ "@smithy/hash-node": "^2.0.10",
37
+ "@smithy/invalid-dependency": "^2.0.10",
38
+ "@smithy/middleware-content-length": "^2.0.12",
39
+ "@smithy/middleware-endpoint": "^2.0.10",
40
+ "@smithy/middleware-retry": "^2.0.13",
41
+ "@smithy/middleware-serde": "^2.0.10",
42
+ "@smithy/middleware-stack": "^2.0.4",
43
+ "@smithy/node-config-provider": "^2.0.13",
44
+ "@smithy/node-http-handler": "^2.1.6",
45
+ "@smithy/protocol-http": "^3.0.6",
46
+ "@smithy/smithy-client": "^2.1.9",
47
+ "@smithy/types": "^2.3.4",
48
+ "@smithy/url-parser": "^2.0.10",
49
49
  "@smithy/util-base64": "^2.0.0",
50
50
  "@smithy/util-body-length-browser": "^2.0.0",
51
51
  "@smithy/util-body-length-node": "^2.1.0",
52
- "@smithy/util-defaults-mode-browser": "^2.0.10",
53
- "@smithy/util-defaults-mode-node": "^2.0.12",
54
- "@smithy/util-retry": "^2.0.2",
52
+ "@smithy/util-defaults-mode-browser": "^2.0.13",
53
+ "@smithy/util-defaults-mode-node": "^2.0.15",
54
+ "@smithy/util-retry": "^2.0.3",
55
55
  "@smithy/util-utf8": "^2.0.0",
56
56
  "tslib": "^2.5.0"
57
57
  },