Smaws_Client_MediaStore.DeleteCorsPolicyDeletes 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 ] ->
stringval 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.resultval 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