Retrieves multiple analysis rule schemas.
Parameters:
-
collaboration_identifier
(CollaborationIdentifier)
–
The unique identifier of the collaboration that contains the schema analysis rule.
-
schema_analysis_rule_requests
(SchemaAnalysisRuleRequestList)
–
The information that's necessary to retrieve a schema analysis rule.
Raises:
Source code in docs_src/capo_cleanrooms/_services/async_clean_rooms.py
| async def batch_get_schema_analysis_rule(
self,
collaboration_identifier: "capo_cleanrooms.types.collaboration_identifier.CollaborationIdentifier",
schema_analysis_rule_requests: "capo_cleanrooms.types.schema_analysis_rule_request_list.SchemaAnalysisRuleRequestList",
*,
config_overrides: Optional[AsyncCleanRoomsClientConfig] = None,
) -> "capo_cleanrooms.types.batch_get_schema_analysis_rule_output.BatchGetSchemaAnalysisRuleOutput":
"""<p>Retrieves multiple analysis rule schemas.</p>
Args:
collaboration_identifier: <p>The unique identifier of the collaboration that contains the schema analysis rule.</p>
schema_analysis_rule_requests: <p>The information that's necessary to retrieve a schema analysis rule.</p>
Raises:
capo_cleanrooms.errors.access_denied_exception.AccessDeniedException: <p>Caller does not have sufficient access to perform this action.</p>
capo_cleanrooms.errors.internal_server_exception.InternalServerException: <p>Unexpected error during processing of request.</p>
capo_cleanrooms.errors.resource_not_found_exception.ResourceNotFoundException: <p>Request references a resource which does not exist.</p>
capo_cleanrooms.errors.throttling_exception.ThrottlingException: <p>Request was denied due to request throttling.</p>
capo_cleanrooms.errors.validation_exception.ValidationException: <p>The input fails to satisfy the specified constraints.</p>
capo_cleanrooms.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
async def _handler(
req: "AsyncOperationRequest[capo_cleanrooms.types.batch_get_schema_analysis_rule_input.BatchGetSchemaAnalysisRuleInput]",
) -> AsyncOperationResponse[
"capo_cleanrooms.types.batch_get_schema_analysis_rule_output.BatchGetSchemaAnalysisRuleOutput"
]:
import capo_cleanrooms._operations.aws_bastion_control_plane_service_lambda.batch_get_schema_analysis_rule
(
output,
http_response,
) = await capo_cleanrooms._operations.aws_bastion_control_plane_service_lambda.batch_get_schema_analysis_rule.async_batch_get_schema_analysis_rule(
req.options, req.input
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("BatchGetSchemaAnalysisRule")
)
input_: capo_cleanrooms.types.batch_get_schema_analysis_rule_input.BatchGetSchemaAnalysisRuleInput = {
"collaboration_identifier": collaboration_identifier,
"schema_analysis_rule_requests": schema_analysis_rule_requests,
}
response = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|