Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ManagedBlockchain

import { ManagedBlockchain } from "https://aws-api.deno.dev/v0.4/services/managedblockchain.ts?docs=full";
class ManagedBlockchain {
constructor(apiFactory: client.ApiFactory);
async createAccessor(params: CreateAccessorInput, opts?: client.RequestOptions): Promise<CreateAccessorOutput>;
async createMember(params: CreateMemberInput, opts?: client.RequestOptions): Promise<CreateMemberOutput>;
async createNetwork(params: CreateNetworkInput, opts?: client.RequestOptions): Promise<CreateNetworkOutput>;
async createNode(params: CreateNodeInput, opts?: client.RequestOptions): Promise<CreateNodeOutput>;
async createProposal(params: CreateProposalInput, opts?: client.RequestOptions): Promise<CreateProposalOutput>;
async deleteAccessor(params: DeleteAccessorInput, opts?: client.RequestOptions): Promise<void>;
async deleteMember(params: DeleteMemberInput, opts?: client.RequestOptions): Promise<void>;
async deleteNode(params: DeleteNodeInput, opts?: client.RequestOptions): Promise<void>;
async getAccessor(params: GetAccessorInput, opts?: client.RequestOptions): Promise<GetAccessorOutput>;
async getMember(params: GetMemberInput, opts?: client.RequestOptions): Promise<GetMemberOutput>;
async getNetwork(params: GetNetworkInput, opts?: client.RequestOptions): Promise<GetNetworkOutput>;
async getNode(params: GetNodeInput, opts?: client.RequestOptions): Promise<GetNodeOutput>;
async getProposal(params: GetProposalInput, opts?: client.RequestOptions): Promise<GetProposalOutput>;
async listAccessors(params?: ListAccessorsInput, opts?: client.RequestOptions): Promise<ListAccessorsOutput>;
async listInvitations(params?: ListInvitationsInput, opts?: client.RequestOptions): Promise<ListInvitationsOutput>;
async listMembers(params: ListMembersInput, opts?: client.RequestOptions): Promise<ListMembersOutput>;
async listNetworks(params?: ListNetworksInput, opts?: client.RequestOptions): Promise<ListNetworksOutput>;
async listNodes(params: ListNodesInput, opts?: client.RequestOptions): Promise<ListNodesOutput>;
async listProposals(params: ListProposalsInput, opts?: client.RequestOptions): Promise<ListProposalsOutput>;
async listProposalVotes(params: ListProposalVotesInput, opts?: client.RequestOptions): Promise<ListProposalVotesOutput>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async rejectInvitation(params: RejectInvitationInput, opts?: client.RequestOptions): Promise<void>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async updateMember(params: UpdateMemberInput, opts?: client.RequestOptions): Promise<void>;
async updateNode(params: UpdateNodeInput, opts?: client.RequestOptions): Promise<void>;
async voteOnProposal(params: VoteOnProposalInput, opts?: client.RequestOptions): Promise<void>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new ManagedBlockchain(apiFactory: client.ApiFactory)
[src]

§Methods

§
createAccessor(params: CreateAccessorInput, opts?: client.RequestOptions): Promise<CreateAccessorOutput>
[src]

! IMPORTANT: ! The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is subject to change. ! We recommend that you use this feature only with test scenarios, and not in production environments.

Creates a new accessor for use with Managed Blockchain Ethereum nodes. An accessor object is a container that has the information required for token based access to your Ethereum nodes.

§
createMember(params: CreateMemberInput, opts?: client.RequestOptions): Promise<CreateMemberOutput>
[src]

Creates a member within a Managed Blockchain network.

Applies only to Hyperledger Fabric.

§
createNetwork(params: CreateNetworkInput, opts?: client.RequestOptions): Promise<CreateNetworkOutput>
[src]

Creates a new blockchain network using Amazon Managed Blockchain.

Applies only to Hyperledger Fabric.

§
createNode(params: CreateNodeInput, opts?: client.RequestOptions): Promise<CreateNodeOutput>
[src]

Creates a node on the specified blockchain network.

Applies to Hyperledger Fabric and Ethereum.

§
createProposal(params: CreateProposalInput, opts?: client.RequestOptions): Promise<CreateProposalOutput>
[src]

Creates a proposal for a change to the network that other members of the network can vote on, for example, a proposal to add a new member to the network. Any member can create a proposal.

Applies only to Hyperledger Fabric.

§
deleteAccessor(params: DeleteAccessorInput, opts?: client.RequestOptions): Promise<void>
[src]

! IMPORTANT: ! The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is subject to change. ! We recommend that you use this feature only with test scenarios, and not in production environments.

Deletes an accessor that your Amazon Web Services account owns. An accessor object is a container that has the information required for token based access to your Ethereum nodes including, the BILLING_TOKEN. After an accessor is deleted, the status of the accessor changes from AVAILABLE to PENDING_DELETION. An accessor in the PENDING_DELETION state can’t be used for new WebSocket requests or HTTP requests. However, WebSocket connections that were initiated while the accessor was in the AVAILABLE state remain open until they expire (up to 2 hours).

§
deleteMember(params: DeleteMemberInput, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a member. Deleting a member removes the member and all associated resources from the network. DeleteMember can only be called for a specified MemberId if the principal performing the action is associated with the Amazon Web Services account that owns the member. In all other cases, the DeleteMember action is carried out as the result of an approved proposal to remove a member. If MemberId is the last member in a network specified by the last Amazon Web Services account, the network is deleted also.

Applies only to Hyperledger Fabric.

§
deleteNode(params: DeleteNodeInput, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a node that your Amazon Web Services account owns. All data on the node is lost and cannot be recovered.

Applies to Hyperledger Fabric and Ethereum.

§
getAccessor(params: GetAccessorInput, opts?: client.RequestOptions): Promise<GetAccessorOutput>
[src]

! IMPORTANT: ! The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is subject to change. ! We recommend that you use this feature only with test scenarios, and not in production environments.

Returns detailed information about an accessor. An accessor object is a container that has the information required for token based access to your Ethereum nodes.

§
getMember(params: GetMemberInput, opts?: client.RequestOptions): Promise<GetMemberOutput>
[src]

Returns detailed information about a member.

Applies only to Hyperledger Fabric.

§
getNetwork(params: GetNetworkInput, opts?: client.RequestOptions): Promise<GetNetworkOutput>
[src]

Returns detailed information about a network.

Applies to Hyperledger Fabric and Ethereum.

§
getNode(params: GetNodeInput, opts?: client.RequestOptions): Promise<GetNodeOutput>
[src]

Returns detailed information about a node.

Applies to Hyperledger Fabric and Ethereum.

§
getProposal(params: GetProposalInput, opts?: client.RequestOptions): Promise<GetProposalOutput>
[src]

Returns detailed information about a proposal.

Applies only to Hyperledger Fabric.

§
listAccessors(params?: ListAccessorsInput, opts?: client.RequestOptions): Promise<ListAccessorsOutput>
[src]

! IMPORTANT: ! The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is subject to change. ! We recommend that you use this feature only with test scenarios, and not in production environments.

Returns a list of the accessors and their properties. Accessor objects are containers that have the information required for token based access to your Ethereum nodes.

§
listInvitations(params?: ListInvitationsInput, opts?: client.RequestOptions): Promise<ListInvitationsOutput>
[src]

Returns a list of all invitations for the current Amazon Web Services account.

Applies only to Hyperledger Fabric.

§
listMembers(params: ListMembersInput, opts?: client.RequestOptions): Promise<ListMembersOutput>
[src]

Returns a list of the members in a network and properties of their configurations.

Applies only to Hyperledger Fabric.

§
listNetworks(params?: ListNetworksInput, opts?: client.RequestOptions): Promise<ListNetworksOutput>
[src]

Returns information about the networks in which the current Amazon Web Services account participates.

Applies to Hyperledger Fabric and Ethereum.

§
listNodes(params: ListNodesInput, opts?: client.RequestOptions): Promise<ListNodesOutput>
[src]

Returns information about the nodes within a network.

Applies to Hyperledger Fabric and Ethereum.

§
listProposals(params: ListProposalsInput, opts?: client.RequestOptions): Promise<ListProposalsOutput>
[src]

Returns a list of proposals for the network.

Applies only to Hyperledger Fabric.

§

Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of the member that cast the vote.

Applies only to Hyperledger Fabric.

§

Returns a list of tags for the specified resource. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

§
rejectInvitation(params: RejectInvitationInput, opts?: client.RequestOptions): Promise<void>
[src]

Rejects an invitation to join a network. This action can be called by a principal in an Amazon Web Services account that has received an invitation to create a member and join a network.

Applies only to Hyperledger Fabric.

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource. Each tag consists of a key and optional value.

When you specify a tag key that already exists, the tag value is overwritten with the new value. Use UntagResource to remove tag keys.

A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, your request fails and returns an error.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Removes the specified tags from the Amazon Managed Blockchain resource.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

§
updateMember(params: UpdateMemberInput, opts?: client.RequestOptions): Promise<void>
[src]

Updates a member configuration with new parameters.

Applies only to Hyperledger Fabric.

§
updateNode(params: UpdateNodeInput, opts?: client.RequestOptions): Promise<void>
[src]

Updates a node configuration with new parameters.

Applies only to Hyperledger Fabric.

§
voteOnProposal(params: VoteOnProposalInput, opts?: client.RequestOptions): Promise<void>
[src]

Casts a vote for a specified ProposalId on behalf of a member. The member to vote as, specified by VoterMemberId, must be in the same Amazon Web Services account as the principal that calls the action.

Applies only to Hyperledger Fabric.

§Static Properties