list_members
async
¶
list_members(
network_id: ResourceIdString,
*,
config_overrides: Optional[AsyncManagedBlockchainClientConfig] = None,
name: Optional[String] = None,
status: Optional[MemberStatus] = None,
is_owned: Optional[IsOwned] = None,
max_results: Optional[MemberListMaxResults] = None,
next_token: Optional[PaginationToken] = None,
) -> ListMembersOutput
Returns a list of the members in a network and properties of their configurations.
Applies only to Hyperledger Fabric.
Parameters:
-
network_id(ResourceIdString) –The unique identifier of the network for which to list members.
-
name(Optional[String], default:None) –The optional name of the member to list.
-
status(Optional[MemberStatus], default:None) –An optional status specifier. If provided, only members currently in this status are listed.
-
is_owned(Optional[IsOwned], default:None) –An optional Boolean value. If provided, the request is limited either to members that the current Amazon Web Services account owns (
true) or that other Amazon Web Services accountsn own (false). If omitted, all members are listed. -
max_results(Optional[MemberListMaxResults], default:None) –The maximum number of members to return in the request.
-
next_token(Optional[PaginationToken], default:None) –The pagination token that indicates the next set of results to retrieve.
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
1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 | |