getProtectedQuery method
Returns query processing metadata.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter membershipIdentifier :
The identifier for a membership in a protected query instance.
Parameter protectedQueryIdentifier :
The identifier for a protected query instance.
Implementation
Future<GetProtectedQueryOutput> getProtectedQuery({
required String membershipIdentifier,
required String protectedQueryIdentifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/memberships/${Uri.encodeComponent(membershipIdentifier)}/protectedQueries/${Uri.encodeComponent(protectedQueryIdentifier)}',
exceptionFnMap: _exceptionFns,
);
return GetProtectedQueryOutput.fromJson(response);
}