Skip to content

Commit

Permalink
docs(client-managedblockchain): Updating the API docs data type: Netw…
Browse files Browse the repository at this point in the history
…orkEthereumAttributes, and the operations DeleteNode, and CreateNode to also include the supported Goerli network.
  • Loading branch information
awstools committed Nov 14, 2022
1 parent 7594756 commit 89aa4c2
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 5 deletions.
2 changes: 1 addition & 1 deletion clients/client-managedblockchain/src/ManagedBlockchain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export class ManagedBlockchain extends ManagedBlockchainClient {
* <code>BILLING_TOKEN</code>. After an accessor is deleted, the status of the accessor changes
* from <code>AVAILABLE</code> to <code>PENDING_DELETION</code>. An accessor in the
* <code>PENDING_DELETION</code> state can’t be used for new WebSocket requests or
* HTTP requests. However, WebSocket connections that are initiated while the accessor was in the
* HTTP requests. However, WebSocket connections that were initiated while the accessor was in the
* <code>AVAILABLE</code> state remain open until they expire (up to 2 hours).</p>
*/
public deleteAccessor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface DeleteAccessorCommandOutput extends DeleteAccessorOutput, __Met
* <code>BILLING_TOKEN</code>. After an accessor is deleted, the status of the accessor changes
* from <code>AVAILABLE</code> to <code>PENDING_DELETION</code>. An accessor in the
* <code>PENDING_DELETION</code> state can’t be used for new WebSocket requests or
* HTTP requests. However, WebSocket connections that are initiated while the accessor was in the
* HTTP requests. However, WebSocket connections that were initiated while the accessor was in the
* <code>AVAILABLE</code> state remain open until they expire (up to 2 hours).</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const resolveClientEndpointParameters = <T>(
};

export interface EndpointParameters extends __EndpointParameters {
Region: string;
Region?: string;
UseDualStack?: boolean;
UseFIPS?: boolean;
Endpoint?: string;
Expand Down
2 changes: 1 addition & 1 deletion clients/client-managedblockchain/src/endpoint/ruleset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const ruleSet: RuleSetObject = {
parameters: {
Region: {
builtIn: "AWS::Region",
required: true,
required: false,
documentation: "The AWS region used to dispatch the request.",
type: "String",
},
Expand Down
16 changes: 15 additions & 1 deletion clients/client-managedblockchain/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,11 @@ export interface CreateNodeInput {
* </li>
* <li>
* <p>
* <code>n-ethereum-goerli</code>
* </p>
* </li>
* <li>
* <p>
* <code>n-ethereum-rinkeby</code>
* </p>
* </li>
Expand Down Expand Up @@ -854,6 +859,11 @@ export interface DeleteNodeInput {
* </li>
* <li>
* <p>
* <code>n-ethereum-goerli</code>
* </p>
* </li>
* <li>
* <p>
* <code>n-ethereum-rinkeby</code>
* </p>
* </li>
Expand Down Expand Up @@ -1062,6 +1072,10 @@ export interface NetworkEthereumAttributes {
* </p>
* </li>
* <li>
* <p>goerli = <code>5</code>
* </p>
* </li>
* <li>
* <p>rinkeby = <code>4</code>
* </p>
* </li>
Expand Down Expand Up @@ -1213,7 +1227,7 @@ export interface NodeEthereumAttributes {
HttpEndpoint?: string;

/**
* <p>The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSockets connections from a client. Use this endpoint in client code for smart contracts when using a WebSockets connection. Connections to this endpoint are authenticated using <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4</a>.</p>
* <p>The endpoint on which the Ethereum node listens to run Ethereum JSON-RPC methods over WebSocket connections from a client. Use this endpoint in client code for smart contracts when using a WebSocket connection. Connections to this endpoint are authenticated using <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4</a>.</p>
*/
WebSocketEndpoint?: string;
}
Expand Down

0 comments on commit 89aa4c2

Please sign in to comment.