Skip to content

Typed dictionaries

Index > ManagedBlockchain > Typed dictionaries

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

ApprovalThresholdPolicyTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import ApprovalThresholdPolicyTypeDef

def get_value() -> ApprovalThresholdPolicyTypeDef:
    return {
        "ThresholdPercentage": ...,
    }
Definition
class ApprovalThresholdPolicyTypeDef(TypedDict):
    ThresholdPercentage: NotRequired[int],
    ProposalDurationInHours: NotRequired[int],
    ThresholdComparator: NotRequired[ThresholdComparatorType],  # (1)
  1. See ThresholdComparatorType

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

DeleteMemberInputRequestTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import DeleteMemberInputRequestTypeDef

def get_value() -> DeleteMemberInputRequestTypeDef:
    return {
        "NetworkId": ...,
        "MemberId": ...,
    }
Definition
class DeleteMemberInputRequestTypeDef(TypedDict):
    NetworkId: str,
    MemberId: str,

DeleteNodeInputRequestTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import DeleteNodeInputRequestTypeDef

def get_value() -> DeleteNodeInputRequestTypeDef:
    return {
        "NetworkId": ...,
        "NodeId": ...,
    }
Definition
class DeleteNodeInputRequestTypeDef(TypedDict):
    NetworkId: str,
    NodeId: str,
    MemberId: NotRequired[str],

GetMemberInputRequestTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import GetMemberInputRequestTypeDef

def get_value() -> GetMemberInputRequestTypeDef:
    return {
        "NetworkId": ...,
        "MemberId": ...,
    }
Definition
class GetMemberInputRequestTypeDef(TypedDict):
    NetworkId: str,
    MemberId: str,

GetNetworkInputRequestTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import GetNetworkInputRequestTypeDef

def get_value() -> GetNetworkInputRequestTypeDef:
    return {
        "NetworkId": ...,
    }
Definition
class GetNetworkInputRequestTypeDef(TypedDict):
    NetworkId: str,

GetNodeInputRequestTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import GetNodeInputRequestTypeDef

def get_value() -> GetNodeInputRequestTypeDef:
    return {
        "NetworkId": ...,
        "NodeId": ...,
    }
Definition
class GetNodeInputRequestTypeDef(TypedDict):
    NetworkId: str,
    NodeId: str,
    MemberId: NotRequired[str],

GetProposalInputRequestTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import GetProposalInputRequestTypeDef

def get_value() -> GetProposalInputRequestTypeDef:
    return {
        "NetworkId": ...,
        "ProposalId": ...,
    }
Definition
class GetProposalInputRequestTypeDef(TypedDict):
    NetworkId: str,
    ProposalId: str,

NetworkSummaryTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import NetworkSummaryTypeDef

def get_value() -> NetworkSummaryTypeDef:
    return {
        "Id": ...,
    }
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

Usage Example
from mypy_boto3_managedblockchain.type_defs import InviteActionTypeDef

def get_value() -> InviteActionTypeDef:
    return {
        "Principal": ...,
    }
Definition
class InviteActionTypeDef(TypedDict):
    Principal: str,

ListInvitationsInputRequestTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import ListInvitationsInputRequestTypeDef

def get_value() -> ListInvitationsInputRequestTypeDef:
    return {
        "MaxResults": ...,
    }
Definition
class ListInvitationsInputRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListMembersInputRequestTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import ListMembersInputRequestTypeDef

def get_value() -> ListMembersInputRequestTypeDef:
    return {
        "NetworkId": ...,
    }
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

Usage Example
from mypy_boto3_managedblockchain.type_defs import MemberSummaryTypeDef

def get_value() -> MemberSummaryTypeDef:
    return {
        "Id": ...,
    }
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

Usage Example
from mypy_boto3_managedblockchain.type_defs import ListNetworksInputRequestTypeDef

def get_value() -> ListNetworksInputRequestTypeDef:
    return {
        "Name": ...,
    }
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

Usage Example
from mypy_boto3_managedblockchain.type_defs import ListNodesInputRequestTypeDef

def get_value() -> ListNodesInputRequestTypeDef:
    return {
        "NetworkId": ...,
    }
Definition
class ListNodesInputRequestTypeDef(TypedDict):
    NetworkId: str,
    MemberId: NotRequired[str],
    Status: NotRequired[NodeStatusType],  # (1)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See NodeStatusType

NodeSummaryTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import NodeSummaryTypeDef

def get_value() -> NodeSummaryTypeDef:
    return {
        "Id": ...,
    }
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

Usage Example
from mypy_boto3_managedblockchain.type_defs import ListProposalVotesInputRequestTypeDef

def get_value() -> ListProposalVotesInputRequestTypeDef:
    return {
        "NetworkId": ...,
        "ProposalId": ...,
    }
Definition
class ListProposalVotesInputRequestTypeDef(TypedDict):
    NetworkId: str,
    ProposalId: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

VoteSummaryTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import VoteSummaryTypeDef

def get_value() -> VoteSummaryTypeDef:
    return {
        "Vote": ...,
    }
Definition
class VoteSummaryTypeDef(TypedDict):
    Vote: NotRequired[VoteValueType],  # (1)
    MemberName: NotRequired[str],
    MemberId: NotRequired[str],
  1. See VoteValueType

ListProposalsInputRequestTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import ListProposalsInputRequestTypeDef

def get_value() -> ListProposalsInputRequestTypeDef:
    return {
        "NetworkId": ...,
    }
Definition
class ListProposalsInputRequestTypeDef(TypedDict):
    NetworkId: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ProposalSummaryTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import ProposalSummaryTypeDef

def get_value() -> ProposalSummaryTypeDef:
    return {
        "ProposalId": ...,
    }
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

Usage Example
from mypy_boto3_managedblockchain.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

LogConfigurationTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import LogConfigurationTypeDef

def get_value() -> LogConfigurationTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class LogConfigurationTypeDef(TypedDict):
    Enabled: NotRequired[bool],

MemberFabricAttributesTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import MemberFabricAttributesTypeDef

def get_value() -> MemberFabricAttributesTypeDef:
    return {
        "AdminUsername": ...,
    }
Definition
class MemberFabricAttributesTypeDef(TypedDict):
    AdminUsername: NotRequired[str],
    CaEndpoint: NotRequired[str],

MemberFabricConfigurationTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import MemberFabricConfigurationTypeDef

def get_value() -> MemberFabricConfigurationTypeDef:
    return {
        "AdminUsername": ...,
        "AdminPassword": ...,
    }
Definition
class MemberFabricConfigurationTypeDef(TypedDict):
    AdminUsername: str,
    AdminPassword: str,

NetworkEthereumAttributesTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import NetworkEthereumAttributesTypeDef

def get_value() -> NetworkEthereumAttributesTypeDef:
    return {
        "ChainId": ...,
    }
Definition
class NetworkEthereumAttributesTypeDef(TypedDict):
    ChainId: NotRequired[str],

NetworkFabricAttributesTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import NetworkFabricAttributesTypeDef

def get_value() -> NetworkFabricAttributesTypeDef:
    return {
        "OrderingServiceEndpoint": ...,
    }
Definition
class NetworkFabricAttributesTypeDef(TypedDict):
    OrderingServiceEndpoint: NotRequired[str],
    Edition: NotRequired[EditionType],  # (1)
  1. See EditionType

NetworkFabricConfigurationTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import NetworkFabricConfigurationTypeDef

def get_value() -> NetworkFabricConfigurationTypeDef:
    return {
        "Edition": ...,
    }
Definition
class NetworkFabricConfigurationTypeDef(TypedDict):
    Edition: EditionType,  # (1)
  1. See EditionType

NodeEthereumAttributesTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import NodeEthereumAttributesTypeDef

def get_value() -> NodeEthereumAttributesTypeDef:
    return {
        "HttpEndpoint": ...,
    }
Definition
class NodeEthereumAttributesTypeDef(TypedDict):
    HttpEndpoint: NotRequired[str],
    WebSocketEndpoint: NotRequired[str],

NodeFabricAttributesTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import NodeFabricAttributesTypeDef

def get_value() -> NodeFabricAttributesTypeDef:
    return {
        "PeerEndpoint": ...,
    }
Definition
class NodeFabricAttributesTypeDef(TypedDict):
    PeerEndpoint: NotRequired[str],
    PeerEventEndpoint: NotRequired[str],

RemoveActionTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import RemoveActionTypeDef

def get_value() -> RemoveActionTypeDef:
    return {
        "MemberId": ...,
    }
Definition
class RemoveActionTypeDef(TypedDict):
    MemberId: str,

RejectInvitationInputRequestTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import RejectInvitationInputRequestTypeDef

def get_value() -> RejectInvitationInputRequestTypeDef:
    return {
        "InvitationId": ...,
    }
Definition
class RejectInvitationInputRequestTypeDef(TypedDict):
    InvitationId: str,

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "Tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "ResourceArn": ...,
        "TagKeys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

VoteOnProposalInputRequestTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import VoteOnProposalInputRequestTypeDef

def get_value() -> VoteOnProposalInputRequestTypeDef:
    return {
        "NetworkId": ...,
        "ProposalId": ...,
        "VoterMemberId": ...,
        "Vote": ...,
    }
Definition
class VoteOnProposalInputRequestTypeDef(TypedDict):
    NetworkId: str,
    ProposalId: str,
    VoterMemberId: str,
    Vote: VoteValueType,  # (1)
  1. See VoteValueType

VotingPolicyTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import VotingPolicyTypeDef

def get_value() -> VotingPolicyTypeDef:
    return {
        "ApprovalThresholdPolicy": ...,
    }
Definition
class VotingPolicyTypeDef(TypedDict):
    ApprovalThresholdPolicy: NotRequired[ApprovalThresholdPolicyTypeDef],  # (1)
  1. See ApprovalThresholdPolicyTypeDef

CreateMemberOutputTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import CreateMemberOutputTypeDef

def get_value() -> CreateMemberOutputTypeDef:
    return {
        "MemberId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateMemberOutputTypeDef(TypedDict):
    MemberId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateNetworkOutputTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import CreateNetworkOutputTypeDef

def get_value() -> CreateNetworkOutputTypeDef:
    return {
        "NetworkId": ...,
        "MemberId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateNetworkOutputTypeDef(TypedDict):
    NetworkId: str,
    MemberId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateNodeOutputTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import CreateNodeOutputTypeDef

def get_value() -> CreateNodeOutputTypeDef:
    return {
        "NodeId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateNodeOutputTypeDef(TypedDict):
    NodeId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateProposalOutputTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import CreateProposalOutputTypeDef

def get_value() -> CreateProposalOutputTypeDef:
    return {
        "ProposalId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateProposalOutputTypeDef(TypedDict):
    ProposalId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsForResourceResponseTypeDef(TypedDict):
    Tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

InvitationTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import InvitationTypeDef

def get_value() -> InvitationTypeDef:
    return {
        "InvitationId": ...,
    }
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

Usage Example
from mypy_boto3_managedblockchain.type_defs import ListNetworksOutputTypeDef

def get_value() -> ListNetworksOutputTypeDef:
    return {
        "Networks": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListNetworksOutputTypeDef(TypedDict):
    Networks: List[NetworkSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NetworkSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListMembersOutputTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import ListMembersOutputTypeDef

def get_value() -> ListMembersOutputTypeDef:
    return {
        "Members": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListMembersOutputTypeDef(TypedDict):
    Members: List[MemberSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See MemberSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListNodesOutputTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import ListNodesOutputTypeDef

def get_value() -> ListNodesOutputTypeDef:
    return {
        "Nodes": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListNodesOutputTypeDef(TypedDict):
    Nodes: List[NodeSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NodeSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListProposalVotesOutputTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import ListProposalVotesOutputTypeDef

def get_value() -> ListProposalVotesOutputTypeDef:
    return {
        "ProposalVotes": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListProposalVotesOutputTypeDef(TypedDict):
    ProposalVotes: List[VoteSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See VoteSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListProposalsOutputTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import ListProposalsOutputTypeDef

def get_value() -> ListProposalsOutputTypeDef:
    return {
        "Proposals": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListProposalsOutputTypeDef(TypedDict):
    Proposals: List[ProposalSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProposalSummaryTypeDef
  2. See ResponseMetadataTypeDef

LogConfigurationsTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import LogConfigurationsTypeDef

def get_value() -> LogConfigurationsTypeDef:
    return {
        "Cloudwatch": ...,
    }
Definition
class LogConfigurationsTypeDef(TypedDict):
    Cloudwatch: NotRequired[LogConfigurationTypeDef],  # (1)
  1. See LogConfigurationTypeDef

MemberFrameworkAttributesTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import MemberFrameworkAttributesTypeDef

def get_value() -> MemberFrameworkAttributesTypeDef:
    return {
        "Fabric": ...,
    }
Definition
class MemberFrameworkAttributesTypeDef(TypedDict):
    Fabric: NotRequired[MemberFabricAttributesTypeDef],  # (1)
  1. See MemberFabricAttributesTypeDef

MemberFrameworkConfigurationTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import MemberFrameworkConfigurationTypeDef

def get_value() -> MemberFrameworkConfigurationTypeDef:
    return {
        "Fabric": ...,
    }
Definition
class MemberFrameworkConfigurationTypeDef(TypedDict):
    Fabric: NotRequired[MemberFabricConfigurationTypeDef],  # (1)
  1. See MemberFabricConfigurationTypeDef

NetworkFrameworkAttributesTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import NetworkFrameworkAttributesTypeDef

def get_value() -> NetworkFrameworkAttributesTypeDef:
    return {
        "Fabric": ...,
    }
Definition
class NetworkFrameworkAttributesTypeDef(TypedDict):
    Fabric: NotRequired[NetworkFabricAttributesTypeDef],  # (1)
    Ethereum: NotRequired[NetworkEthereumAttributesTypeDef],  # (2)
  1. See NetworkFabricAttributesTypeDef
  2. See NetworkEthereumAttributesTypeDef

NetworkFrameworkConfigurationTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import NetworkFrameworkConfigurationTypeDef

def get_value() -> NetworkFrameworkConfigurationTypeDef:
    return {
        "Fabric": ...,
    }
Definition
class NetworkFrameworkConfigurationTypeDef(TypedDict):
    Fabric: NotRequired[NetworkFabricConfigurationTypeDef],  # (1)
  1. See NetworkFabricConfigurationTypeDef

NodeFrameworkAttributesTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import NodeFrameworkAttributesTypeDef

def get_value() -> NodeFrameworkAttributesTypeDef:
    return {
        "Fabric": ...,
    }
Definition
class NodeFrameworkAttributesTypeDef(TypedDict):
    Fabric: NotRequired[NodeFabricAttributesTypeDef],  # (1)
    Ethereum: NotRequired[NodeEthereumAttributesTypeDef],  # (2)
  1. See NodeFabricAttributesTypeDef
  2. See NodeEthereumAttributesTypeDef

ProposalActionsTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import ProposalActionsTypeDef

def get_value() -> ProposalActionsTypeDef:
    return {
        "Invitations": ...,
    }
Definition
class ProposalActionsTypeDef(TypedDict):
    Invitations: NotRequired[Sequence[InviteActionTypeDef]],  # (1)
    Removals: NotRequired[Sequence[RemoveActionTypeDef]],  # (2)
  1. See InviteActionTypeDef
  2. See RemoveActionTypeDef

ListInvitationsOutputTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import ListInvitationsOutputTypeDef

def get_value() -> ListInvitationsOutputTypeDef:
    return {
        "Invitations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListInvitationsOutputTypeDef(TypedDict):
    Invitations: List[InvitationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InvitationTypeDef
  2. See ResponseMetadataTypeDef

MemberFabricLogPublishingConfigurationTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import MemberFabricLogPublishingConfigurationTypeDef

def get_value() -> MemberFabricLogPublishingConfigurationTypeDef:
    return {
        "CaLogs": ...,
    }
Definition
class MemberFabricLogPublishingConfigurationTypeDef(TypedDict):
    CaLogs: NotRequired[LogConfigurationsTypeDef],  # (1)
  1. See LogConfigurationsTypeDef

NodeFabricLogPublishingConfigurationTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import NodeFabricLogPublishingConfigurationTypeDef

def get_value() -> NodeFabricLogPublishingConfigurationTypeDef:
    return {
        "ChaincodeLogs": ...,
    }
Definition
class NodeFabricLogPublishingConfigurationTypeDef(TypedDict):
    ChaincodeLogs: NotRequired[LogConfigurationsTypeDef],  # (1)
    PeerLogs: NotRequired[LogConfigurationsTypeDef],  # (1)
  1. See LogConfigurationsTypeDef
  2. See LogConfigurationsTypeDef

NetworkTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import NetworkTypeDef

def get_value() -> NetworkTypeDef:
    return {
        "Id": ...,
    }
Definition
class NetworkTypeDef(TypedDict):
    Id: NotRequired[str],
    Name: NotRequired[str],
    Description: NotRequired[str],
    Framework: NotRequired[FrameworkType],  # (1)
    FrameworkVersion: NotRequired[str],
    FrameworkAttributes: NotRequired[NetworkFrameworkAttributesTypeDef],  # (2)
    VpcEndpointServiceName: NotRequired[str],
    VotingPolicy: NotRequired[VotingPolicyTypeDef],  # (3)
    Status: NotRequired[NetworkStatusType],  # (4)
    CreationDate: NotRequired[datetime],
    Tags: NotRequired[Dict[str, str]],
    Arn: NotRequired[str],
  1. See FrameworkType
  2. See NetworkFrameworkAttributesTypeDef
  3. See VotingPolicyTypeDef
  4. See NetworkStatusType

CreateProposalInputRequestTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import CreateProposalInputRequestTypeDef

def get_value() -> CreateProposalInputRequestTypeDef:
    return {
        "ClientRequestToken": ...,
        "NetworkId": ...,
        "MemberId": ...,
        "Actions": ...,
    }
Definition
class CreateProposalInputRequestTypeDef(TypedDict):
    ClientRequestToken: str,
    NetworkId: str,
    MemberId: str,
    Actions: ProposalActionsTypeDef,  # (1)
    Description: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],
  1. See ProposalActionsTypeDef

ProposalTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import ProposalTypeDef

def get_value() -> ProposalTypeDef:
    return {
        "ProposalId": ...,
    }
Definition
class ProposalTypeDef(TypedDict):
    ProposalId: NotRequired[str],
    NetworkId: NotRequired[str],
    Description: NotRequired[str],
    Actions: NotRequired[ProposalActionsTypeDef],  # (1)
    ProposedByMemberId: NotRequired[str],
    ProposedByMemberName: NotRequired[str],
    Status: NotRequired[ProposalStatusType],  # (2)
    CreationDate: NotRequired[datetime],
    ExpirationDate: NotRequired[datetime],
    YesVoteCount: NotRequired[int],
    NoVoteCount: NotRequired[int],
    OutstandingVoteCount: NotRequired[int],
    Tags: NotRequired[Dict[str, str]],
    Arn: NotRequired[str],
  1. See ProposalActionsTypeDef
  2. See ProposalStatusType

MemberLogPublishingConfigurationTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import MemberLogPublishingConfigurationTypeDef

def get_value() -> MemberLogPublishingConfigurationTypeDef:
    return {
        "Fabric": ...,
    }
Definition
class MemberLogPublishingConfigurationTypeDef(TypedDict):
    Fabric: NotRequired[MemberFabricLogPublishingConfigurationTypeDef],  # (1)
  1. See MemberFabricLogPublishingConfigurationTypeDef

NodeLogPublishingConfigurationTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import NodeLogPublishingConfigurationTypeDef

def get_value() -> NodeLogPublishingConfigurationTypeDef:
    return {
        "Fabric": ...,
    }
Definition
class NodeLogPublishingConfigurationTypeDef(TypedDict):
    Fabric: NotRequired[NodeFabricLogPublishingConfigurationTypeDef],  # (1)
  1. See NodeFabricLogPublishingConfigurationTypeDef

GetNetworkOutputTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import GetNetworkOutputTypeDef

def get_value() -> GetNetworkOutputTypeDef:
    return {
        "Network": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetNetworkOutputTypeDef(TypedDict):
    Network: NetworkTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NetworkTypeDef
  2. See ResponseMetadataTypeDef

GetProposalOutputTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import GetProposalOutputTypeDef

def get_value() -> GetProposalOutputTypeDef:
    return {
        "Proposal": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetProposalOutputTypeDef(TypedDict):
    Proposal: ProposalTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProposalTypeDef
  2. See ResponseMetadataTypeDef

MemberConfigurationTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import MemberConfigurationTypeDef

def get_value() -> MemberConfigurationTypeDef:
    return {
        "Name": ...,
        "FrameworkConfiguration": ...,
    }
Definition
class MemberConfigurationTypeDef(TypedDict):
    Name: str,
    FrameworkConfiguration: MemberFrameworkConfigurationTypeDef,  # (1)
    Description: NotRequired[str],
    LogPublishingConfiguration: NotRequired[MemberLogPublishingConfigurationTypeDef],  # (2)
    Tags: NotRequired[Mapping[str, str]],
    KmsKeyArn: NotRequired[str],
  1. See MemberFrameworkConfigurationTypeDef
  2. See MemberLogPublishingConfigurationTypeDef

MemberTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import MemberTypeDef

def get_value() -> MemberTypeDef:
    return {
        "NetworkId": ...,
    }
Definition
class MemberTypeDef(TypedDict):
    NetworkId: NotRequired[str],
    Id: NotRequired[str],
    Name: NotRequired[str],
    Description: NotRequired[str],
    FrameworkAttributes: NotRequired[MemberFrameworkAttributesTypeDef],  # (1)
    LogPublishingConfiguration: NotRequired[MemberLogPublishingConfigurationTypeDef],  # (2)
    Status: NotRequired[MemberStatusType],  # (3)
    CreationDate: NotRequired[datetime],
    Tags: NotRequired[Dict[str, str]],
    Arn: NotRequired[str],
    KmsKeyArn: NotRequired[str],
  1. See MemberFrameworkAttributesTypeDef
  2. See MemberLogPublishingConfigurationTypeDef
  3. See MemberStatusType

UpdateMemberInputRequestTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import UpdateMemberInputRequestTypeDef

def get_value() -> UpdateMemberInputRequestTypeDef:
    return {
        "NetworkId": ...,
        "MemberId": ...,
    }
Definition
class UpdateMemberInputRequestTypeDef(TypedDict):
    NetworkId: str,
    MemberId: str,
    LogPublishingConfiguration: NotRequired[MemberLogPublishingConfigurationTypeDef],  # (1)
  1. See MemberLogPublishingConfigurationTypeDef

NodeConfigurationTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import NodeConfigurationTypeDef

def get_value() -> NodeConfigurationTypeDef:
    return {
        "InstanceType": ...,
    }
Definition
class NodeConfigurationTypeDef(TypedDict):
    InstanceType: str,
    AvailabilityZone: NotRequired[str],
    LogPublishingConfiguration: NotRequired[NodeLogPublishingConfigurationTypeDef],  # (1)
    StateDB: NotRequired[StateDBTypeType],  # (2)
  1. See NodeLogPublishingConfigurationTypeDef
  2. See StateDBTypeType

NodeTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import NodeTypeDef

def get_value() -> NodeTypeDef:
    return {
        "NetworkId": ...,
    }
Definition
class NodeTypeDef(TypedDict):
    NetworkId: NotRequired[str],
    MemberId: NotRequired[str],
    Id: NotRequired[str],
    InstanceType: NotRequired[str],
    AvailabilityZone: NotRequired[str],
    FrameworkAttributes: NotRequired[NodeFrameworkAttributesTypeDef],  # (1)
    LogPublishingConfiguration: NotRequired[NodeLogPublishingConfigurationTypeDef],  # (2)
    StateDB: NotRequired[StateDBTypeType],  # (3)
    Status: NotRequired[NodeStatusType],  # (4)
    CreationDate: NotRequired[datetime],
    Tags: NotRequired[Dict[str, str]],
    Arn: NotRequired[str],
    KmsKeyArn: NotRequired[str],
  1. See NodeFrameworkAttributesTypeDef
  2. See NodeLogPublishingConfigurationTypeDef
  3. See StateDBTypeType
  4. See NodeStatusType

UpdateNodeInputRequestTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import UpdateNodeInputRequestTypeDef

def get_value() -> UpdateNodeInputRequestTypeDef:
    return {
        "NetworkId": ...,
        "NodeId": ...,
    }
Definition
class UpdateNodeInputRequestTypeDef(TypedDict):
    NetworkId: str,
    NodeId: str,
    MemberId: NotRequired[str],
    LogPublishingConfiguration: NotRequired[NodeLogPublishingConfigurationTypeDef],  # (1)
  1. See NodeLogPublishingConfigurationTypeDef

CreateMemberInputRequestTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import CreateMemberInputRequestTypeDef

def get_value() -> CreateMemberInputRequestTypeDef:
    return {
        "ClientRequestToken": ...,
        "InvitationId": ...,
        "NetworkId": ...,
        "MemberConfiguration": ...,
    }
Definition
class CreateMemberInputRequestTypeDef(TypedDict):
    ClientRequestToken: str,
    InvitationId: str,
    NetworkId: str,
    MemberConfiguration: MemberConfigurationTypeDef,  # (1)
  1. See MemberConfigurationTypeDef

CreateNetworkInputRequestTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import CreateNetworkInputRequestTypeDef

def get_value() -> CreateNetworkInputRequestTypeDef:
    return {
        "ClientRequestToken": ...,
        "Name": ...,
        "Framework": ...,
        "FrameworkVersion": ...,
        "VotingPolicy": ...,
        "MemberConfiguration": ...,
    }
Definition
class CreateNetworkInputRequestTypeDef(TypedDict):
    ClientRequestToken: str,
    Name: str,
    Framework: FrameworkType,  # (1)
    FrameworkVersion: str,
    VotingPolicy: VotingPolicyTypeDef,  # (2)
    MemberConfiguration: MemberConfigurationTypeDef,  # (3)
    Description: NotRequired[str],
    FrameworkConfiguration: NotRequired[NetworkFrameworkConfigurationTypeDef],  # (4)
    Tags: NotRequired[Mapping[str, str]],
  1. See FrameworkType
  2. See VotingPolicyTypeDef
  3. See MemberConfigurationTypeDef
  4. See NetworkFrameworkConfigurationTypeDef

GetMemberOutputTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import GetMemberOutputTypeDef

def get_value() -> GetMemberOutputTypeDef:
    return {
        "Member": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetMemberOutputTypeDef(TypedDict):
    Member: MemberTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See MemberTypeDef
  2. See ResponseMetadataTypeDef

CreateNodeInputRequestTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import CreateNodeInputRequestTypeDef

def get_value() -> CreateNodeInputRequestTypeDef:
    return {
        "ClientRequestToken": ...,
        "NetworkId": ...,
        "NodeConfiguration": ...,
    }
Definition
class CreateNodeInputRequestTypeDef(TypedDict):
    ClientRequestToken: str,
    NetworkId: str,
    NodeConfiguration: NodeConfigurationTypeDef,  # (1)
    MemberId: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],
  1. See NodeConfigurationTypeDef

GetNodeOutputTypeDef

Usage Example
from mypy_boto3_managedblockchain.type_defs import GetNodeOutputTypeDef

def get_value() -> GetNodeOutputTypeDef:
    return {
        "Node": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetNodeOutputTypeDef(TypedDict):
    Node: NodeTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NodeTypeDef
  2. See ResponseMetadataTypeDef