list_accessors
async
¶
list_accessors(
*,
config_overrides: Optional[AsyncManagedBlockchainClientConfig] = None,
max_results: Optional[AccessorListMaxResults] = None,
next_token: Optional[PaginationToken] = None,
network_type: Optional[AccessorNetworkType] = None,
) -> ListAccessorsOutput
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.
Parameters:
-
max_results(Optional[AccessorListMaxResults], default:None) –The maximum number of accessors to list.
-
next_token(Optional[PaginationToken], default:None) –The pagination token that indicates the next set of results to retrieve.
-
network_type(Optional[AccessorNetworkType], default:None) –The blockchain network that the
Accessortoken is created for.Use the value
ETHEREUM_MAINNET_AND_GOERLIfor all existingAccessorstokens that were created before thenetworkTypeproperty was introduced.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this action.
-
InternalServiceErrorException–The request processing has failed because of an unknown error, exception or failure.
-
InvalidRequestException–The action or operation requested is invalid. Verify that the action is typed correctly.
-
ThrottlingException–The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_managedblockchain/_services/async_managed_blockchain.py
1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 | |