Represents the properties of the import.
Parameters:
-
import_arn
(ImportArn)
–
The Amazon Resource Name (ARN) associated with the table you're importing to.
Raises:
Source code in docs_src/capo_dynamodb/_services/async_dynamo_db.py
| async def describe_import(
self,
import_arn: "capo_dynamodb.types.import_arn.ImportArn",
*,
config_overrides: Optional[AsyncDynamoDBClientConfig] = None,
) -> "capo_dynamodb.types.describe_import_output.DescribeImportOutput":
"""<p> Represents the properties of the import. </p>
Args:
import_arn: <p> The Amazon Resource Name (ARN) associated with the table you're importing to. </p>
Raises:
capo_dynamodb.errors.import_not_found_exception.ImportNotFoundException: <p> The specified import was not found. </p>
capo_dynamodb.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
async def _handler(
req: "AsyncOperationRequest[capo_dynamodb.types.describe_import_input.DescribeImportInput]",
) -> AsyncOperationResponse[
"capo_dynamodb.types.describe_import_output.DescribeImportOutput"
]:
import capo_dynamodb._operations.dynamo_db_20120810.describe_import
(
output,
http_response,
) = await capo_dynamodb._operations.dynamo_db_20120810.describe_import.async_describe_import(
req.options, req.input
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DescribeImport")
)
input_: capo_dynamodb.types.describe_import_input.DescribeImportInput = {
"import_arn": import_arn
}
response = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|