Returns the system tables configuration of your account in the current Region. For each Amazon EMR platform, the response shows which system tables are enabled, how they are encrypted, and the status of each table. You can request a single platform.
Parameters:
Raises:
Source code in docs_src/capo_emr/_services/emr.py
| def get_system_tables_configuration(
self,
*,
config_overrides: Optional[EMRClientConfig] = None,
platform: Optional[
"capo_emr.types.system_tables_platform.SystemTablesPlatform"
] = None,
) -> "capo_emr.types.get_system_tables_configuration_output.GetSystemTablesConfigurationOutput":
"""<p>Returns the system tables configuration of your account in the current Region. For each Amazon EMR platform, the response shows which system tables are enabled, how they are encrypted, and the status of each table. You can request a single platform.</p>
Args:
platform: <p>The platform to return. If you omit it, the response includes every platform.</p>
Raises:
capo_emr.errors.access_denied_exception.AccessDeniedException: <p>You do not have sufficient permissions to perform this operation.</p>
capo_emr.errors.internal_server_exception.InternalServerException: <p>This exception occurs when there is an internal failure in the Amazon EMR service.</p>
capo_emr.errors.throttling_exception.ThrottlingException: <p>The request was denied because of request throttling. Retry the request after a delay.</p>
capo_emr.errors.validation_exception.ValidationException: <p>The request failed because an input parameter is not valid.</p>
capo_emr.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_emr.types.get_system_tables_configuration_input.GetSystemTablesConfigurationInput]",
) -> OperationResponse[
"capo_emr.types.get_system_tables_configuration_output.GetSystemTablesConfigurationOutput"
]:
import capo_emr._operations.elastic_map_reduce.get_system_tables_configuration
output, http_response = (
capo_emr._operations.elastic_map_reduce.get_system_tables_configuration.get_system_tables_configuration(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("GetSystemTablesConfiguration")
)
input_: capo_emr.types.get_system_tables_configuration_input.GetSystemTablesConfigurationInput = {}
if platform is not None:
input_["platform"] = platform
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|