Module Smaws_Client_Inspector.CreateAssessmentTemplate

Creates an assessment template for the assessment target that is specified by the ARN of the assessment target. If the service-linked role isn’t already registered, this action also creates and registers a service-linked role to grant Amazon Inspector access to AWS Services needed to perform security assessments.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalException of Types.internal_exception | `InvalidInputException of Types.invalid_input_exception | `LimitExceededException of Types.limit_exceeded_exception | `NoSuchEntityException of Types.no_such_entity_exception | `ServiceTemporarilyUnavailableException of Types.service_temporarily_unavailable_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_assessment_template_request -> (Types.create_assessment_template_response, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalException of Types.internal_exception | `InvalidInputException of Types.invalid_input_exception | `LimitExceededException of Types.limit_exceeded_exception | `NoSuchEntityException of Types.no_such_entity_exception | `ServiceTemporarilyUnavailableException of Types.service_temporarily_unavailable_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_assessment_template_request -> (Types.create_assessment_template_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalException of Types.internal_exception | `InvalidInputException of Types.invalid_input_exception | `LimitExceededException of Types.limit_exceeded_exception | `NoSuchEntityException of Types.no_such_entity_exception | `ServiceTemporarilyUnavailableException of Types.service_temporarily_unavailable_exception ] * Smaws_Lib.Response.metadata) Stdlib.result