from .responses import ManagedBlockchainResponse url_bases = [r"https?://managedblockchain\.(.+)\.amazonaws.com"] url_paths = { "{0}/networks$": ManagedBlockchainResponse().network_response, "{0}/networks/(?P[^/.]+)$": ManagedBlockchainResponse().networkid_response, "{0}/networks/(?P[^/.]+)/proposals$": ManagedBlockchainResponse().proposal_response, "{0}/networks/(?P[^/.]+)/proposals/(?P[^/.]+)$": ManagedBlockchainResponse().proposalid_response, "{0}/networks/(?P[^/.]+)/proposals/(?P[^/.]+)/votes$": ManagedBlockchainResponse().proposal_votes_response, "{0}/invitations$": ManagedBlockchainResponse().invitation_response, "{0}/invitations/(?P[^/.]+)$": ManagedBlockchainResponse().invitationid_response, "{0}/networks/(?P[^/.]+)/members$": ManagedBlockchainResponse().member_response, "{0}/networks/(?P[^/.]+)/members/(?P[^/.]+)$": ManagedBlockchainResponse().memberid_response, "{0}/networks/(?P[^/.]+)/members/(?P[^/.]+)/nodes$": ManagedBlockchainResponse().node_response, "{0}/networks/(?P[^/.]+)/members/(?P[^/.]+)/nodes?(?P[^/.]+)$": ManagedBlockchainResponse().node_response, "{0}/networks/(?P[^/.]+)/members/(?P[^/.]+)/nodes/(?P[^/.]+)$": ManagedBlockchainResponse().nodeid_response, # >= botocore 1.19.41 (API change - memberId is now part of query-string or body) "{0}/networks/(?P[^/.]+)/nodes$": ManagedBlockchainResponse().node_response, "{0}/networks/(?P[^/.]+)/nodes/(?P[^/.]+)$": ManagedBlockchainResponse().nodeid_response, }