Class: AWS.ManagedBlockchain
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.ManagedBlockchain
- Identifier:
- managedblockchain
- API Version:
- 2018-09-24
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
Amazon Managed Blockchain is a fully managed service for creating and managing blockchain networks using open-source frameworks. Blockchain allows you to build applications where multiple parties can securely and transparently run transactions and share data without the need for a trusted, central authority.
Managed Blockchain supports the Hyperledger Fabric and Ethereum open-source frameworks. Because of fundamental differences between the frameworks, some API actions or data types may only apply in the context of one framework and not the other. For example, actions related to Hyperledger Fabric network members such as CreateMember and DeleteMember don't apply to Ethereum.
The description for each action indicates the framework or frameworks to which it applies. Data types and properties that apply only in the context of a particular framework are similarly indicated.
Sending a Request Using ManagedBlockchain
var managedblockchain = new AWS.ManagedBlockchain();
managedblockchain.createAccessor(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the ManagedBlockchain object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var managedblockchain = new AWS.ManagedBlockchain({apiVersion: '2018-09-24'});
You can also set the API version globally in AWS.config.apiVersions using
the managedblockchain service identifier:
AWS.config.apiVersions = {
managedblockchain: '2018-09-24',
// other service API versions
};
var managedblockchain = new AWS.ManagedBlockchain();
Constructor Summary collapse
-
new AWS.ManagedBlockchain(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
createAccessor(params = {}, callback) ⇒ AWS.Request
Creates a new accessor for use with Amazon Managed Blockchain service that supports token based access.
-
createMember(params = {}, callback) ⇒ AWS.Request
Creates a member within a Managed Blockchain network.
Applies only to Hyperledger Fabric.
. -
createNetwork(params = {}, callback) ⇒ AWS.Request
Creates a new blockchain network using Amazon Managed Blockchain.
Applies only to Hyperledger Fabric.
. -
createNode(params = {}, callback) ⇒ AWS.Request
Creates a node on the specified blockchain network.
Applies to Hyperledger Fabric and Ethereum.
. -
createProposal(params = {}, callback) ⇒ AWS.Request
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.
-
deleteAccessor(params = {}, callback) ⇒ AWS.Request
Deletes an accessor that your Amazon Web Services account owns.
-
deleteMember(params = {}, callback) ⇒ AWS.Request
Deletes a member.
-
deleteNode(params = {}, callback) ⇒ AWS.Request
Deletes a node that your Amazon Web Services account owns.
-
getAccessor(params = {}, callback) ⇒ AWS.Request
Returns detailed information about an accessor.
-
getMember(params = {}, callback) ⇒ AWS.Request
Returns detailed information about a member.
Applies only to Hyperledger Fabric.
. -
getNetwork(params = {}, callback) ⇒ AWS.Request
Returns detailed information about a network.
Applies to Hyperledger Fabric and Ethereum.
. -
getNode(params = {}, callback) ⇒ AWS.Request
Returns detailed information about a node.
Applies to Hyperledger Fabric and Ethereum.
. -
getProposal(params = {}, callback) ⇒ AWS.Request
Returns detailed information about a proposal.
Applies only to Hyperledger Fabric.
. -
listAccessors(params = {}, callback) ⇒ AWS.Request
Returns a list of the accessors and their properties.
-
listInvitations(params = {}, callback) ⇒ AWS.Request
Returns a list of all invitations for the current Amazon Web Services account.
Applies only to Hyperledger Fabric.
. -
listMembers(params = {}, callback) ⇒ AWS.Request
Returns a list of the members in a network and properties of their configurations.
Applies only to Hyperledger Fabric.
. -
listNetworks(params = {}, callback) ⇒ AWS.Request
Returns information about the networks in which the current Amazon Web Services account participates.
Applies to Hyperledger Fabric and Ethereum.
. -
listNodes(params = {}, callback) ⇒ AWS.Request
Returns information about the nodes within a network.
Applies to Hyperledger Fabric and Ethereum.
. -
listProposals(params = {}, callback) ⇒ AWS.Request
Returns a list of proposals for the network.
Applies only to Hyperledger Fabric.
. -
listProposalVotes(params = {}, callback) ⇒ AWS.Request
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.
. -
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Returns a list of tags for the specified resource.
-
rejectInvitation(params = {}, callback) ⇒ AWS.Request
Rejects an invitation to join a network.
-
tagResource(params = {}, callback) ⇒ AWS.Request
Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource.
-
untagResource(params = {}, callback) ⇒ AWS.Request
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 = {}, callback) ⇒ AWS.Request
Updates a member configuration with new parameters.
Applies only to Hyperledger Fabric.
. -
updateNode(params = {}, callback) ⇒ AWS.Request
Updates a node configuration with new parameters.
Applies only to Hyperledger Fabric.
. -
voteOnProposal(params = {}, callback) ⇒ AWS.Request
Casts a vote for a specified
ProposalIdon behalf of a member.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.ManagedBlockchain(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
createAccessor(params = {}, callback) ⇒ AWS.Request
Creates a new accessor for use with Amazon Managed Blockchain service that supports token based access. The accessor contains information required for token based access.