The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::ManagedBlockchain - Perl Interface to AWS Amazon Managed Blockchain

SYNOPSIS

  use Paws;

  my $obj = Paws->service('ManagedBlockchain');
  my $res = $obj->Method(
    Arg1 => $val1,
    Arg2 => [ 'V1', 'V2' ],
    # if Arg3 is an object, the HashRef will be used as arguments to the constructor
    # of the arguments type
    Arg3 => { Att1 => 'Val1' },
    # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
    # the constructor of the arguments type
    Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
  );

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 do not 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.

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24

METHODS

CreateMember

ClientRequestToken => Str
InvitationId => Str
MemberConfiguration => Paws::ManagedBlockchain::MemberConfiguration
NetworkId => Str

Each argument is described in detail in: Paws::ManagedBlockchain::CreateMember

Returns: a Paws::ManagedBlockchain::CreateMemberOutput instance

Creates a member within a Managed Blockchain network.

Applies only to Hyperledger Fabric.

CreateNetwork

ClientRequestToken => Str
Framework => Str
FrameworkVersion => Str
MemberConfiguration => Paws::ManagedBlockchain::MemberConfiguration
Name => Str
VotingPolicy => Paws::ManagedBlockchain::VotingPolicy
[Description => Str]
[FrameworkConfiguration => Paws::ManagedBlockchain::NetworkFrameworkConfiguration]
[Tags => Paws::ManagedBlockchain::InputTagMap]

Each argument is described in detail in: Paws::ManagedBlockchain::CreateNetwork

Returns: a Paws::ManagedBlockchain::CreateNetworkOutput instance

Creates a new blockchain network using Amazon Managed Blockchain.

Applies only to Hyperledger Fabric.

CreateNode

ClientRequestToken => Str
NetworkId => Str
NodeConfiguration => Paws::ManagedBlockchain::NodeConfiguration
[MemberId => Str]
[Tags => Paws::ManagedBlockchain::InputTagMap]

Each argument is described in detail in: Paws::ManagedBlockchain::CreateNode

Returns: a Paws::ManagedBlockchain::CreateNodeOutput instance

Creates a node on the specified blockchain network.

Applies to Hyperledger Fabric and Ethereum.

CreateProposal

Actions => Paws::ManagedBlockchain::ProposalActions
ClientRequestToken => Str
MemberId => Str
NetworkId => Str
[Description => Str]
[Tags => Paws::ManagedBlockchain::InputTagMap]

Each argument is described in detail in: Paws::ManagedBlockchain::CreateProposal

Returns: a Paws::ManagedBlockchain::CreateProposalOutput instance

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.

DeleteMember

MemberId => Str
NetworkId => Str

Each argument is described in detail in: Paws::ManagedBlockchain::DeleteMember

Returns: a Paws::ManagedBlockchain::DeleteMemberOutput instance

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 AWS 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 AWS account, the network is deleted also.

Applies only to Hyperledger Fabric.

DeleteNode

NetworkId => Str
NodeId => Str
[MemberId => Str]

Each argument is described in detail in: Paws::ManagedBlockchain::DeleteNode

Returns: a Paws::ManagedBlockchain::DeleteNodeOutput instance

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

Applies to Hyperledger Fabric and Ethereum.

GetMember

MemberId => Str
NetworkId => Str

Each argument is described in detail in: Paws::ManagedBlockchain::GetMember

Returns: a Paws::ManagedBlockchain::GetMemberOutput instance

Returns detailed information about a member.

Applies only to Hyperledger Fabric.

GetNetwork

NetworkId => Str

Each argument is described in detail in: Paws::ManagedBlockchain::GetNetwork

Returns: a Paws::ManagedBlockchain::GetNetworkOutput instance

Returns detailed information about a network.

Applies to Hyperledger Fabric and Ethereum.

GetNode

NetworkId => Str
NodeId => Str
[MemberId => Str]

Each argument is described in detail in: Paws::ManagedBlockchain::GetNode

Returns: a Paws::ManagedBlockchain::GetNodeOutput instance

Returns detailed information about a node.

Applies to Hyperledger Fabric and Ethereum.

GetProposal

NetworkId => Str
ProposalId => Str

Each argument is described in detail in: Paws::ManagedBlockchain::GetProposal

Returns: a Paws::ManagedBlockchain::GetProposalOutput instance

Returns detailed information about a proposal.

Applies only to Hyperledger Fabric.

ListInvitations

[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::ManagedBlockchain::ListInvitations

Returns: a Paws::ManagedBlockchain::ListInvitationsOutput instance

Returns a list of all invitations for the current AWS account.

Applies only to Hyperledger Fabric.

ListMembers

NetworkId => Str
[IsOwned => Bool]
[MaxResults => Int]
[Name => Str]
[NextToken => Str]
[Status => Str]

Each argument is described in detail in: Paws::ManagedBlockchain::ListMembers

Returns: a Paws::ManagedBlockchain::ListMembersOutput instance

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

Applies only to Hyperledger Fabric.

ListNetworks

[Framework => Str]
[MaxResults => Int]
[Name => Str]
[NextToken => Str]
[Status => Str]

Each argument is described in detail in: Paws::ManagedBlockchain::ListNetworks

Returns: a Paws::ManagedBlockchain::ListNetworksOutput instance

Returns information about the networks in which the current AWS account participates.

Applies to Hyperledger Fabric and Ethereum.

ListNodes

NetworkId => Str
[MaxResults => Int]
[MemberId => Str]
[NextToken => Str]
[Status => Str]

Each argument is described in detail in: Paws::ManagedBlockchain::ListNodes

Returns: a Paws::ManagedBlockchain::ListNodesOutput instance

Returns information about the nodes within a network.

Applies to Hyperledger Fabric and Ethereum.

ListProposals

NetworkId => Str
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::ManagedBlockchain::ListProposals

Returns: a Paws::ManagedBlockchain::ListProposalsOutput instance

Returns a list of proposals for the network.

Applies only to Hyperledger Fabric.

ListProposalVotes

NetworkId => Str
ProposalId => Str
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::ManagedBlockchain::ListProposalVotes

Returns: a Paws::ManagedBlockchain::ListProposalVotesOutput instance

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

ResourceArn => Str

Each argument is described in detail in: Paws::ManagedBlockchain::ListTagsForResource

Returns: a Paws::ManagedBlockchain::ListTagsForResourceResponse instance

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 (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

RejectInvitation

InvitationId => Str

Each argument is described in detail in: Paws::ManagedBlockchain::RejectInvitation

Returns: a Paws::ManagedBlockchain::RejectInvitationOutput instance

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

Applies only to Hyperledger Fabric.

TagResource

ResourceArn => Str
Tags => Paws::ManagedBlockchain::InputTagMap

Each argument is described in detail in: Paws::ManagedBlockchain::TagResource

Returns: a Paws::ManagedBlockchain::TagResourceResponse instance

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 (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

UntagResource

ResourceArn => Str
TagKeys => ArrayRef[Str|Undef]

Each argument is described in detail in: Paws::ManagedBlockchain::UntagResource

Returns: a Paws::ManagedBlockchain::UntagResourceResponse instance

Removes the specified tags from the Amazon Managed Blockchain resource.

For more information about tags, see Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

UpdateMember

MemberId => Str
NetworkId => Str
[LogPublishingConfiguration => Paws::ManagedBlockchain::MemberLogPublishingConfiguration]

Each argument is described in detail in: Paws::ManagedBlockchain::UpdateMember

Returns: a Paws::ManagedBlockchain::UpdateMemberOutput instance

Updates a member configuration with new parameters.

Applies only to Hyperledger Fabric.

UpdateNode

NetworkId => Str
NodeId => Str
[LogPublishingConfiguration => Paws::ManagedBlockchain::NodeLogPublishingConfiguration]
[MemberId => Str]

Each argument is described in detail in: Paws::ManagedBlockchain::UpdateNode

Returns: a Paws::ManagedBlockchain::UpdateNodeOutput instance

Updates a node configuration with new parameters.

Applies only to Hyperledger Fabric.

VoteOnProposal

NetworkId => Str
ProposalId => Str
Vote => Str
VoterMemberId => Str

Each argument is described in detail in: Paws::ManagedBlockchain::VoteOnProposal

Returns: a Paws::ManagedBlockchain::VoteOnProposalOutput instance

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 AWS account as the principal that calls the action.

Applies only to Hyperledger Fabric.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

SEE ALSO

This service class forms part of Paws

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues