Smaws_Client_MediaStore.GetContainerPolicyRetrieves the access policy for the specified container. For information about the data that is included in an access policy, see the AWS Identity and Access Management User Guide.
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
| `PolicyNotFoundException of Types.policy_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_container_policy_input ->
(Types.get_container_policy_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
| `PolicyNotFoundException of Types.policy_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_container_policy_input ->
(Types.get_container_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
| `InternalServerError of Types.internal_server_error
| `PolicyNotFoundException of Types.policy_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result