Returns information about the specified code signing configuration.
Parameters:
-
code_signing_config_arn
(CodeSigningConfigArn)
–
The The Amazon Resource Name (ARN) of the code signing configuration.
Raises:
Source code in docs_src/capo_lambda/_services/async__lambda.py
| async def get_code_signing_config(
self,
code_signing_config_arn: "capo_lambda.types.code_signing_config_arn.CodeSigningConfigArn",
*,
config_overrides: Optional[AsyncLambdaClientConfig] = None,
) -> "capo_lambda.types.get_code_signing_config_response.GetCodeSigningConfigResponse":
"""<p>Returns information about the specified code signing configuration.</p>
Args:
code_signing_config_arn: <p>The The Amazon Resource Name (ARN) of the code signing configuration. </p>
Raises:
capo_lambda.errors.invalid_parameter_value_exception.InvalidParameterValueException: <p>One of the parameters in the request is not valid.</p>
capo_lambda.errors.resource_not_found_exception.ResourceNotFoundException: <p>The resource specified in the request does not exist.</p>
capo_lambda.errors.service_exception.ServiceException: <p>The Lambda service encountered an internal error.</p>
capo_lambda.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
async def _handler(
req: "AsyncOperationRequest[capo_lambda.types.get_code_signing_config_request.GetCodeSigningConfigRequest]",
) -> AsyncOperationResponse[
"capo_lambda.types.get_code_signing_config_response.GetCodeSigningConfigResponse"
]:
import capo_lambda._operations.aws_gir_api_service.get_code_signing_config
(
output,
http_response,
) = await capo_lambda._operations.aws_gir_api_service.get_code_signing_config.async_get_code_signing_config(
req.options, req.input
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("GetCodeSigningConfig")
)
input_: capo_lambda.types.get_code_signing_config_request.GetCodeSigningConfigRequest = {
"code_signing_config_arn": code_signing_config_arn
}
response = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|