Smaws_Client_SSM.PutComplianceItems
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'
val request :
Smaws_Lib.Context.t ->
Types.put_compliance_items_request ->
(Types.put_compliance_items_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `ComplianceTypeCountLimitExceededException of
Types.compliance_type_count_limit_exceeded_exception
| `InternalServerError of Types.internal_server_error
| `InvalidItemContentException of Types.invalid_item_content_exception
| `InvalidResourceId of Types.invalid_resource_id
| `InvalidResourceType of Types.invalid_resource_type
| `ItemSizeLimitExceededException of
Types.item_size_limit_exceeded_exception
| `TotalSizeLimitExceededException of
Types.total_size_limit_exceeded_exception ])
Stdlib.result