Smaws_Client_MediaStore.StartAccessLoggingStarts access logging on the specified container. When you enable access logging on a container, MediaStore delivers access logs for objects stored in that container to Amazon CloudWatch Logs.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ContainerInUseException of Types.container_in_use_exception
| `ContainerNotFoundException of Types.container_not_found_exception
| `InternalServerError of Types.internal_server_error ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.start_access_logging_input ->
(Types.start_access_logging_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `ContainerInUseException of Types.container_in_use_exception
| `ContainerNotFoundException of Types.container_not_found_exception
| `InternalServerError of Types.internal_server_error ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.start_access_logging_input ->
(Types.start_access_logging_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ContainerInUseException of Types.container_in_use_exception
| `ContainerNotFoundException of Types.container_not_found_exception
| `InternalServerError of Types.internal_server_error ]
* Smaws_Lib.Response.metadata)
Stdlib.result