Smaws_Client_SSM.PutComplianceItems
val request :
Smaws_Lib.Context.t ->
put_compliance_items_request ->
(put_compliance_items_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `ComplianceTypeCountLimitExceededException of
compliance_type_count_limit_exceeded_exception
| `InternalServerError of internal_server_error
| `InvalidItemContentException of invalid_item_content_exception
| `InvalidResourceId of invalid_resource_id
| `InvalidResourceType of invalid_resource_type
| `ItemSizeLimitExceededException of item_size_limit_exceeded_exception
| `TotalSizeLimitExceededException of total_size_limit_exceeded_exception ])
Stdlib.result
Registers a compliance type and other compliance details on a designated resource. This operation lets you register custom compliance details with a resource. This call overwrites existing compliance information on the resource, so you must provide a full list of compliance items each time that you send the request.
ComplianceType can be one of the following:
string
.approved
for patches, or Failed
for associations.Critical
.AWS-RunPatchBaseline
.security updates
.Critical
.InstancesWithFailedPatches
.yyyy-MM-dd'T'HH:mm:ss'Z'