Module Smaws_Client_SSM.PutResourcePolicy

Creates or updates a Systems Manager resource policy. A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. The following resources support Systems Manager resource policies.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InternalServerError of Types.internal_server_error | `MalformedResourcePolicyDocumentException of Types.malformed_resource_policy_document_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ResourcePolicyConflictException of Types.resource_policy_conflict_exception | `ResourcePolicyInvalidParameterException of Types.resource_policy_invalid_parameter_exception | `ResourcePolicyLimitExceededException of Types.resource_policy_limit_exceeded_exception | `ResourcePolicyNotFoundException of Types.resource_policy_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.put_resource_policy_request -> (Types.put_resource_policy_response, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServerError of Types.internal_server_error | `MalformedResourcePolicyDocumentException of Types.malformed_resource_policy_document_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ResourcePolicyConflictException of Types.resource_policy_conflict_exception | `ResourcePolicyInvalidParameterException of Types.resource_policy_invalid_parameter_exception | `ResourcePolicyLimitExceededException of Types.resource_policy_limit_exceeded_exception | `ResourcePolicyNotFoundException of Types.resource_policy_not_found_exception ]) Stdlib.result