Module Smaws_Client_MediaStore.DeleteCorsPolicy

Deletes the cross-origin resource sharing (CORS) configuration information that is set for the container.

To use this operation, you must have permission to perform the MediaStore:DeleteCorsPolicy action. The container owner has this permission by default and can grant this permission to others.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ContainerInUseException of Types.container_in_use_exception | `ContainerNotFoundException of Types.container_not_found_exception | `CorsPolicyNotFoundException of Types.cors_policy_not_found_exception | `InternalServerError of Types.internal_server_error ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.delete_cors_policy_input -> (Types.delete_cors_policy_output, [> Smaws_Lib.Protocols.AwsJson.error | `ContainerInUseException of Types.container_in_use_exception | `ContainerNotFoundException of Types.container_not_found_exception | `CorsPolicyNotFoundException of Types.cors_policy_not_found_exception | `InternalServerError of Types.internal_server_error ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.delete_cors_policy_input -> (Types.delete_cors_policy_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `ContainerInUseException of Types.container_in_use_exception | `ContainerNotFoundException of Types.container_not_found_exception | `CorsPolicyNotFoundException of Types.cors_policy_not_found_exception | `InternalServerError of Types.internal_server_error ] * Smaws_Lib.Response.metadata) Stdlib.result