@aws-sdk/client-managedblockchain 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 CHANGED
@@ -26,16 +26,16 @@ using your favorite package manager:
26
26
 
27
27
  The AWS SDK is modulized by clients and commands.
28
28
  To send a request, you only need to import the `ManagedBlockchainClient` and
29
- the commands you need, for example `CreateAccessorCommand`:
29
+ the commands you need, for example `ListAccessorsCommand`:
30
30
 
31
31
  ```js
32
32
  // ES5 example
33
- const { ManagedBlockchainClient, CreateAccessorCommand } = require("@aws-sdk/client-managedblockchain");
33
+ const { ManagedBlockchainClient, ListAccessorsCommand } = require("@aws-sdk/client-managedblockchain");
34
34
  ```
35
35
 
36
36
  ```ts
37
37
  // ES6+ example
38
- import { ManagedBlockchainClient, CreateAccessorCommand } from "@aws-sdk/client-managedblockchain";
38
+ import { ManagedBlockchainClient, ListAccessorsCommand } from "@aws-sdk/client-managedblockchain";
39
39
  ```
40
40
 
41
41
  ### Usage
@@ -54,7 +54,7 @@ const client = new ManagedBlockchainClient({ region: "REGION" });
54
54
  const params = {
55
55
  /** input parameters */
56
56
  };
57
- const command = new CreateAccessorCommand(params);
57
+ const command = new ListAccessorsCommand(params);
58
58
  ```
59
59
 
60
60
  #### Async/await
@@ -133,7 +133,7 @@ const client = new AWS.ManagedBlockchain({ region: "REGION" });
133
133
 
134
134
  // async/await.
135
135
  try {
136
- const data = await client.createAccessor(params);
136
+ const data = await client.listAccessors(params);
137
137
  // process data.
138
138
  } catch (error) {
139
139
  // error handling.
@@ -141,7 +141,7 @@ try {
141
141
 
142
142
  // Promises.
143
143
  client
144
- .createAccessor(params)
144
+ .listAccessors(params)
145
145
  .then((data) => {
146
146
  // process data.
147
147
  })
@@ -150,7 +150,7 @@ client
150
150
  });
151
151
 
152
152
  // callbacks.
153
- client.createAccessor(params, (err, data) => {
153
+ client.listAccessors(params, (err, data) => {
154
154
  // process err and data.
155
155
  });
156
156
  ```
@@ -711,11 +711,6 @@ export interface CreateNodeInput {
711
711
  * <code>n-ethereum-goerli</code>
712
712
  * </p>
713
713
  * </li>
714
- * <li>
715
- * <p>
716
- * <code>n-ethereum-rinkeby</code>
717
- * </p>
718
- * </li>
719
714
  * </ul>
720
715
  */
721
716
  NetworkId: string | undefined;
@@ -903,11 +898,6 @@ export interface DeleteNodeInput {
903
898
  * <code>n-ethereum-goerli</code>
904
899
  * </p>
905
900
  * </li>
906
- * <li>
907
- * <p>
908
- * <code>n-ethereum-rinkeby</code>
909
- * </p>
910
- * </li>
911
901
  * </ul>
912
902
  */
913
903
  NetworkId: string | undefined;
@@ -1141,10 +1131,6 @@ export interface NetworkEthereumAttributes {
1141
1131
  * <p>goerli = <code>5</code>
1142
1132
  * </p>
1143
1133
  * </li>
1144
- * <li>
1145
- * <p>rinkeby = <code>4</code>
1146
- * </p>
1147
- * </li>
1148
1134
  * </ul>
1149
1135
  */
1150
1136
  ChainId?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-managedblockchain",
3
3
  "description": "AWS SDK for JavaScript Managedblockchain 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",