Skip to content

Type definitions#

Index > ManagedBlockchain > Type definitions

Auto-generated documentation for ManagedBlockchain type annotations stubs module mypy-boto3-managedblockchain.

ProposalActionsUnionTypeDef#

# ProposalActionsUnionTypeDef definition

ProposalActionsUnionTypeDef = Union[
    ProposalActionsTypeDef,  # (1)
    ProposalActionsOutputTypeDef,  # (2)
]
  1. See ProposalActionsTypeDef
  2. See ProposalActionsOutputTypeDef

AccessorSummaryTypeDef#

# AccessorSummaryTypeDef definition

class AccessorSummaryTypeDef(TypedDict):
    Id: NotRequired[str],
    Type: NotRequired[AccessorTypeType],  # (1)
    Status: NotRequired[AccessorStatusType],  # (2)
    CreationDate: NotRequired[datetime],
    Arn: NotRequired[str],
    NetworkType: NotRequired[AccessorNetworkTypeType],  # (3)
  1. See AccessorTypeType
  2. See AccessorStatusType
  3. See AccessorNetworkTypeType

AccessorTypeDef#

# AccessorTypeDef definition

class AccessorTypeDef(TypedDict):
    Id: NotRequired[str],
    Type: NotRequired[AccessorTypeType],  # (1)
    BillingToken: NotRequired[str],
    Status: NotRequired[AccessorStatusType],  # (2)
    CreationDate: NotRequired[datetime],
    Arn: NotRequired[str],
    Tags: NotRequired[Dict[str, str]],
    NetworkType: NotRequired[AccessorNetworkTypeType],  # (3)
  1. See AccessorTypeType
  2. See AccessorStatusType
  3. See AccessorNetworkTypeType

ApprovalThresholdPolicyTypeDef#

# ApprovalThresholdPolicyTypeDef definition

class ApprovalThresholdPolicyTypeDef(TypedDict):
    ThresholdPercentage: NotRequired[int],
    ProposalDurationInHours: NotRequired[int],
    ThresholdComparator: NotRequired[ThresholdComparatorType],  # (1)
  1. See ThresholdComparatorType

CreateAccessorInputRequestTypeDef#

# CreateAccessorInputRequestTypeDef definition

class CreateAccessorInputRequestTypeDef(TypedDict):
    ClientRequestToken: str,
    AccessorType: AccessorTypeType,  # (1)
    Tags: NotRequired[Mapping[str, str]],
    NetworkType: NotRequired[AccessorNetworkTypeType],  # (2)
  1. See AccessorTypeType
  2. See AccessorNetworkTypeType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

DeleteAccessorInputRequestTypeDef#

# DeleteAccessorInputRequestTypeDef definition

class DeleteAccessorInputRequestTypeDef(TypedDict):
    AccessorId: str,

DeleteMemberInputRequestTypeDef#

# DeleteMemberInputRequestTypeDef definition

class DeleteMemberInputRequestTypeDef(TypedDict):
    NetworkId: str,
    MemberId: str,

DeleteNodeInputRequestTypeDef#

# DeleteNodeInputRequestTypeDef definition

class DeleteNodeInputRequestTypeDef(TypedDict):
    NetworkId: str,
    NodeId: str,
    MemberId: NotRequired[str],

GetAccessorInputRequestTypeDef#

# GetAccessorInputRequestTypeDef definition

class GetAccessorInputRequestTypeDef(TypedDict):
    AccessorId: str,

GetMemberInputRequestTypeDef#

# GetMemberInputRequestTypeDef definition

class GetMemberInputRequestTypeDef(TypedDict):
    NetworkId: str,
    MemberId: str,

GetNetworkInputRequestTypeDef#

# GetNetworkInputRequestTypeDef definition

class GetNetworkInputRequestTypeDef(TypedDict):
    NetworkId: str,

GetNodeInputRequestTypeDef#

# GetNodeInputRequestTypeDef definition

class GetNodeInputRequestTypeDef(TypedDict):
    NetworkId: str,
    NodeId: str,
    MemberId: NotRequired[str],

GetProposalInputRequestTypeDef#

# GetProposalInputRequestTypeDef definition

class GetProposalInputRequestTypeDef(TypedDict):
    NetworkId: str,
    ProposalId: str,

NetworkSummaryTypeDef#

# NetworkSummaryTypeDef definition

class NetworkSummaryTypeDef(TypedDict):
    Id: NotRequired[str],
    Name: NotRequired[str],
    Description: NotRequired[str],
    Framework: NotRequired[FrameworkType],  # (1)
    FrameworkVersion: NotRequired[str],
    Status: NotRequired[NetworkStatusType],  # (2)
    CreationDate: NotRequired[datetime],
    Arn: NotRequired[str],
  1. See FrameworkType
  2. See NetworkStatusType

InviteActionTypeDef#

# InviteActionTypeDef definition

class InviteActionTypeDef(TypedDict):
    Principal: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListAccessorsInputRequestTypeDef#

# ListAccessorsInputRequestTypeDef definition

class ListAccessorsInputRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    NetworkType: NotRequired[AccessorNetworkTypeType],  # (1)
  1. See AccessorNetworkTypeType

ListInvitationsInputRequestTypeDef#

# ListInvitationsInputRequestTypeDef definition

class ListInvitationsInputRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListMembersInputRequestTypeDef#

# ListMembersInputRequestTypeDef definition

class ListMembersInputRequestTypeDef(TypedDict):
    NetworkId: str,
    Name: NotRequired[str],
    Status: NotRequired[MemberStatusType],  # (1)
    IsOwned: NotRequired[bool],
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See MemberStatusType

MemberSummaryTypeDef#

# MemberSummaryTypeDef definition

class MemberSummaryTypeDef(TypedDict):
    Id: NotRequired[str],
    Name: NotRequired[str],
    Description: NotRequired[str],
    Status: NotRequired[MemberStatusType],  # (1)
    CreationDate: NotRequired[datetime],
    IsOwned: NotRequired[bool],
    Arn: NotRequired[str],
  1. See MemberStatusType

ListNetworksInputRequestTypeDef#

# ListNetworksInputRequestTypeDef definition

class ListNetworksInputRequestTypeDef(TypedDict):
    Name: NotRequired[str],
    Framework: NotRequired[FrameworkType],  # (1)
    Status: NotRequired[NetworkStatusType],  # (2)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See FrameworkType
  2. See NetworkStatusType

ListNodesInputRequestTypeDef#

# ListNodesInputRequestTypeDef definition

class ListNodesInputRequestTypeDef(TypedDict):
    NetworkId: str,
    MemberId: NotRequired[str],
    Status: NotRequired[NodeStatusType],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See NodeStatusType

NodeSummaryTypeDef#

# NodeSummaryTypeDef definition

class NodeSummaryTypeDef(TypedDict):
    Id: NotRequired[str],
    Status: NotRequired[NodeStatusType],  # (1)
    CreationDate: NotRequired[datetime],
    AvailabilityZone: NotRequired[str],
    InstanceType: NotRequired[str],
    Arn: NotRequired[str],
  1. See NodeStatusType

ListProposalVotesInputRequestTypeDef#

# ListProposalVotesInputRequestTypeDef definition

class ListProposalVotesInputRequestTypeDef(TypedDict):
    NetworkId: str,
    ProposalId: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

VoteSummaryTypeDef#

# VoteSummaryTypeDef definition

class VoteSummaryTypeDef(TypedDict):
    Vote: NotRequired[VoteValueType],  # (1)
    MemberName: NotRequired[str],
    MemberId: NotRequired[str],
  1. See VoteValueType

ListProposalsInputRequestTypeDef#

# ListProposalsInputRequestTypeDef definition

class ListProposalsInputRequestTypeDef(TypedDict):
    NetworkId: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ProposalSummaryTypeDef#

# ProposalSummaryTypeDef definition

class ProposalSummaryTypeDef(TypedDict):
    ProposalId: NotRequired[str],
    Description: NotRequired[str],
    ProposedByMemberId: NotRequired[str],
    ProposedByMemberName: NotRequired[str],
    Status: NotRequired[ProposalStatusType],  # (1)
    CreationDate: NotRequired[datetime],
    ExpirationDate: NotRequired[datetime],
    Arn: NotRequired[str],
  1. See ProposalStatusType

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

LogConfigurationTypeDef#

# LogConfigurationTypeDef definition

class LogConfigurationTypeDef(TypedDict):
    Enabled: NotRequired[bool],

MemberFabricAttributesTypeDef#

# MemberFabricAttributesTypeDef definition

class MemberFabricAttributesTypeDef(TypedDict):
    AdminUsername: NotRequired[str],
    CaEndpoint: NotRequired[str],

MemberFabricConfigurationTypeDef#

# MemberFabricConfigurationTypeDef definition

class MemberFabricConfigurationTypeDef(TypedDict):
    AdminUsername: str,
    AdminPassword: str,

NetworkEthereumAttributesTypeDef#

# NetworkEthereumAttributesTypeDef definition

class NetworkEthereumAttributesTypeDef(TypedDict):
    ChainId: NotRequired[str],

NetworkFabricAttributesTypeDef#

# NetworkFabricAttributesTypeDef definition

class NetworkFabricAttributesTypeDef(TypedDict):
    OrderingServiceEndpoint: NotRequired[str],
    Edition: NotRequired[EditionType],  # (1)
  1. See EditionType

NetworkFabricConfigurationTypeDef#

# NetworkFabricConfigurationTypeDef definition

class NetworkFabricConfigurationTypeDef(TypedDict):
    Edition: EditionType,  # (1)
  1. See EditionType

NodeEthereumAttributesTypeDef#

# NodeEthereumAttributesTypeDef definition

class NodeEthereumAttributesTypeDef(TypedDict):
    HttpEndpoint: NotRequired[str],
    WebSocketEndpoint: NotRequired[str],

NodeFabricAttributesTypeDef#

# NodeFabricAttributesTypeDef definition

class NodeFabricAttributesTypeDef(TypedDict):
    PeerEndpoint: NotRequired[str],
    PeerEventEndpoint: NotRequired[str],

RemoveActionTypeDef#

# RemoveActionTypeDef definition

class RemoveActionTypeDef(TypedDict):
    MemberId: str,

RejectInvitationInputRequestTypeDef#

# RejectInvitationInputRequestTypeDef definition

class RejectInvitationInputRequestTypeDef(TypedDict):
    InvitationId: str,

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

VoteOnProposalInputRequestTypeDef#

# VoteOnProposalInputRequestTypeDef definition

class VoteOnProposalInputRequestTypeDef(TypedDict):
    NetworkId: str,
    ProposalId: str,
    VoterMemberId: str,
    Vote: VoteValueType,  # (1)
  1. See VoteValueType

VotingPolicyTypeDef#

# VotingPolicyTypeDef definition

class VotingPolicyTypeDef(TypedDict):
    ApprovalThresholdPolicy: NotRequired[ApprovalThresholdPolicyTypeDef],  # (1)
  1. See ApprovalThresholdPolicyTypeDef

CreateAccessorOutputTypeDef#

# CreateAccessorOutputTypeDef definition

class CreateAccessorOutputTypeDef(TypedDict):
    AccessorId: str,
    BillingToken: str,
    NetworkType: AccessorNetworkTypeType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AccessorNetworkTypeType
  2. See ResponseMetadataTypeDef

CreateMemberOutputTypeDef#

# CreateMemberOutputTypeDef definition

class CreateMemberOutputTypeDef(TypedDict):
    MemberId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateNetworkOutputTypeDef#

# CreateNetworkOutputTypeDef definition

class CreateNetworkOutputTypeDef(TypedDict):
    NetworkId: str,
    MemberId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateNodeOutputTypeDef#

# CreateNodeOutputTypeDef definition

class CreateNodeOutputTypeDef(TypedDict):
    NodeId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateProposalOutputTypeDef#

# CreateProposalOutputTypeDef definition

class CreateProposalOutputTypeDef(TypedDict):
    ProposalId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetAccessorOutputTypeDef#

# GetAccessorOutputTypeDef definition

class GetAccessorOutputTypeDef(TypedDict):
    Accessor: AccessorTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AccessorTypeDef
  2. See ResponseMetadataTypeDef

ListAccessorsOutputTypeDef#

# ListAccessorsOutputTypeDef definition

class ListAccessorsOutputTypeDef(TypedDict):
    Accessors: List[AccessorSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See AccessorSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

InvitationTypeDef#

# InvitationTypeDef definition

class InvitationTypeDef(TypedDict):
    InvitationId: NotRequired[str],
    CreationDate: NotRequired[datetime],
    ExpirationDate: NotRequired[datetime],
    Status: NotRequired[InvitationStatusType],  # (1)
    NetworkSummary: NotRequired[NetworkSummaryTypeDef],  # (2)
    Arn: NotRequired[str],
  1. See InvitationStatusType
  2. See NetworkSummaryTypeDef

ListNetworksOutputTypeDef#

# ListNetworksOutputTypeDef definition

class ListNetworksOutputTypeDef(TypedDict):
    Networks: List[NetworkSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See NetworkSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListAccessorsInputListAccessorsPaginateTypeDef#

# ListAccessorsInputListAccessorsPaginateTypeDef definition

class ListAccessorsInputListAccessorsPaginateTypeDef(TypedDict):
    NetworkType: NotRequired[AccessorNetworkTypeType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See AccessorNetworkTypeType
  2. See PaginatorConfigTypeDef

ListMembersOutputTypeDef#

# ListMembersOutputTypeDef definition

class ListMembersOutputTypeDef(TypedDict):
    Members: List[MemberSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See MemberSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListNodesOutputTypeDef#

# ListNodesOutputTypeDef definition

class ListNodesOutputTypeDef(TypedDict):
    Nodes: List[NodeSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See