Exports data based on the source data update.
Parameters:
-
export_arn
(Arn)
–
The Amazon Resource Name (ARN) of the Export object that generated this specific execution.
-
execution_id
(GenericString)
–
The ID for this specific execution.
Raises:
Source code in docs_src/capo_bcm_data_exports/_services/bcm_data_exports.py
| def get_execution(
self,
export_arn: "capo_bcm_data_exports.types.arn.Arn",
execution_id: "capo_bcm_data_exports.types.generic_string.GenericString",
*,
config_overrides: Optional[BCMDataExportsClientConfig] = None,
) -> "capo_bcm_data_exports.types.get_execution_response.GetExecutionResponse":
"""<p>Exports data based on the source data update.</p>
Args:
export_arn: <p>The Amazon Resource Name (ARN) of the Export object that generated this specific execution.</p>
execution_id: <p>The ID for this specific execution.</p>
Raises:
capo_bcm_data_exports.errors.internal_server_exception.InternalServerException: <p>An error on the server occurred during the processing of your request. Try again later.</p>
capo_bcm_data_exports.errors.resource_not_found_exception.ResourceNotFoundException: <p>The specified Amazon Resource Name (ARN) in the request doesn't exist.</p>
capo_bcm_data_exports.errors.throttling_exception.ThrottlingException: <p>The request was denied due to request throttling.</p>
capo_bcm_data_exports.errors.validation_exception.ValidationException: <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
capo_bcm_data_exports.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_bcm_data_exports.types.get_execution_request.GetExecutionRequest]",
) -> OperationResponse[
"capo_bcm_data_exports.types.get_execution_response.GetExecutionResponse"
]:
import capo_bcm_data_exports._operations.aws_billing_and_cost_management_data_exports.get_execution
output, http_response = (
capo_bcm_data_exports._operations.aws_billing_and_cost_management_data_exports.get_execution.get_execution(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("GetExecution")
)
input_: capo_bcm_data_exports.types.get_execution_request.GetExecutionRequest = {
"export_arn": export_arn,
"execution_id": execution_id,
}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|