Module Smaws_Client_SSMContacts.PutContactPolicy

Adds a resource policy to the specified contact or escalation plan. The resource policy is used to share the contact or escalation plan using Resource Access Manager (RAM). For more information about cross-account sharing, see Setting up cross-account functionality.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ConflictException of Types.conflict_exception | `InternalServerException of Types.internal_server_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ThrottlingException of Types.throttling_exception | `ValidationException of Types.validation_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.put_contact_policy_request -> (Types.put_contact_policy_result, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ConflictException of Types.conflict_exception | `InternalServerException of Types.internal_server_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ThrottlingException of Types.throttling_exception | `ValidationException of Types.validation_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.put_contact_policy_request -> (Types.put_contact_policy_result Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ConflictException of Types.conflict_exception | `InternalServerException of Types.internal_server_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ThrottlingException of Types.throttling_exception | `ValidationException of Types.validation_exception ] * Smaws_Lib.Response.metadata) Stdlib.result