Module Smaws_Client_MediaStore

MediaStore client library built on EIO.

Types

module Types : sig ... end

Builders

val make_untag_resource_output : unit -> unit
val make_untag_resource_input : tag_keys:Types.tag_key_list -> resource:Types.container_ar_n -> unit -> Types.untag_resource_input
val make_tag_resource_output : unit -> unit
val make_tag : ?value:Types.tag_value -> key:Types.tag_key -> unit -> Types.tag
val make_tag_resource_input : tags:Types.tag_list -> resource:Types.container_ar_n -> unit -> Types.tag_resource_input
val make_stop_access_logging_output : unit -> unit
val make_stop_access_logging_input : container_name:Types.container_name -> unit -> Types.stop_access_logging_input
val make_start_access_logging_output : unit -> unit
val make_start_access_logging_input : container_name:Types.container_name -> unit -> Types.start_access_logging_input
val make_put_metric_policy_output : unit -> unit
val make_metric_policy_rule : object_group_name:Types.object_group_name -> object_group:Types.object_group -> unit -> Types.metric_policy_rule
val make_metric_policy : ?metric_policy_rules:Types.metric_policy_rules -> container_level_metrics:Types.container_level_metrics -> unit -> Types.metric_policy
val make_put_metric_policy_input : metric_policy:Types.metric_policy -> container_name:Types.container_name -> unit -> Types.put_metric_policy_input
val make_put_lifecycle_policy_output : unit -> unit
val make_put_lifecycle_policy_input : lifecycle_policy:Types.lifecycle_policy -> container_name:Types.container_name -> unit -> Types.put_lifecycle_policy_input
val make_put_cors_policy_output : unit -> unit
val make_cors_rule : ?expose_headers:Types.expose_headers -> ?max_age_seconds:Types.max_age_seconds -> ?allowed_methods:Types.allowed_methods -> allowed_headers:Types.allowed_headers -> allowed_origins:Types.allowed_origins -> unit -> Types.cors_rule
val make_put_cors_policy_input : cors_policy:Types.cors_policy -> container_name:Types.container_name -> unit -> Types.put_cors_policy_input
val make_put_container_policy_output : unit -> unit
val make_put_container_policy_input : policy:Types.container_policy -> container_name:Types.container_name -> unit -> Types.put_container_policy_input
val make_list_tags_for_resource_output : ?tags:Types.tag_list -> unit -> Types.list_tags_for_resource_output
val make_list_tags_for_resource_input : resource:Types.container_ar_n -> unit -> Types.list_tags_for_resource_input
val make_container : ?access_logging_enabled:Types.container_access_logging_enabled -> ?status:Types.container_status -> ?name:Types.container_name -> ?ar_n:Types.container_ar_n -> ?creation_time:Types.time_stamp -> ?endpoint:Types.endpoint -> unit -> Types.container
val make_list_containers_output : ?next_token:Types.pagination_token -> containers:Types.container_list -> unit -> Types.list_containers_output
val make_list_containers_input : ?max_results:Types.container_list_limit -> ?next_token:Types.pagination_token -> unit -> Types.list_containers_input
val make_get_metric_policy_output : metric_policy:Types.metric_policy -> unit -> Types.get_metric_policy_output
val make_get_metric_policy_input : container_name:Types.container_name -> unit -> Types.get_metric_policy_input
val make_get_lifecycle_policy_output : lifecycle_policy:Types.lifecycle_policy -> unit -> Types.get_lifecycle_policy_output
val make_get_lifecycle_policy_input : container_name:Types.container_name -> unit -> Types.get_lifecycle_policy_input
val make_get_cors_policy_output : cors_policy:Types.cors_policy -> unit -> Types.get_cors_policy_output
val make_get_cors_policy_input : container_name:Types.container_name -> unit -> Types.get_cors_policy_input
val make_get_container_policy_output : policy:Types.container_policy -> unit -> Types.get_container_policy_output
val make_get_container_policy_input : container_name:Types.container_name -> unit -> Types.get_container_policy_input
val make_describe_container_output : ?container:Types.container -> unit -> Types.describe_container_output
val make_describe_container_input : ?container_name:Types.container_name -> unit -> Types.describe_container_input
val make_delete_metric_policy_output : unit -> unit
val make_delete_metric_policy_input : container_name:Types.container_name -> unit -> Types.delete_metric_policy_input
val make_delete_lifecycle_policy_output : unit -> unit
val make_delete_lifecycle_policy_input : container_name:Types.container_name -> unit -> Types.delete_lifecycle_policy_input
val make_delete_cors_policy_output : unit -> unit
val make_delete_cors_policy_input : container_name:Types.container_name -> unit -> Types.delete_cors_policy_input
val make_delete_container_policy_output : unit -> unit
val make_delete_container_policy_input : container_name:Types.container_name -> unit -> Types.delete_container_policy_input
val make_delete_container_output : unit -> unit
val make_delete_container_input : container_name:Types.container_name -> unit -> Types.delete_container_input
val make_create_container_output : container:Types.container -> unit -> Types.create_container_output
val make_create_container_input : ?tags:Types.tag_list -> container_name:Types.container_name -> unit -> Types.create_container_input

Operations

module CreateContainer : sig ... end

Creates a storage container to hold objects. A container is similar to a bucket in the Amazon S3 service.

module DeleteContainer : sig ... end

Deletes the specified container. Before you make a DeleteContainer request, delete any objects in the container or in any folders in the container. You can delete only empty containers.

module DeleteContainerPolicy : sig ... end

Deletes the access policy that is associated with the specified container.

module DeleteCorsPolicy : sig ... end

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

module DeleteLifecyclePolicy : sig ... end

Removes an object lifecycle policy from a container. It takes up to 20 minutes for the change to take effect.

module DeleteMetricPolicy : sig ... end

Deletes the metric policy that is associated with the specified container. If there is no metric policy associated with the container, MediaStore doesn't send metrics to CloudWatch.

module DescribeContainer : sig ... end

Retrieves the properties of the requested container. This request is commonly used to retrieve the endpoint of a container. An endpoint is a value assigned by the service when a new container is created. A container's endpoint does not change after it has been assigned. The DescribeContainer request returns a single Container object based on ContainerName. To return all Container objects that are associated with a specified AWS account, use ListContainers.

module GetContainerPolicy : sig ... end

Retrieves 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.

module GetCorsPolicy : sig ... end

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

module GetLifecyclePolicy : sig ... end

Retrieves the object lifecycle policy that is assigned to a container.

module GetMetricPolicy : sig ... end

Returns the metric policy for the specified container.

module ListContainers : sig ... end

Lists the properties of all containers in AWS Elemental MediaStore.

module ListTagsForResource : sig ... end

Returns a list of the tags assigned to the specified container.

module PutContainerPolicy : sig ... end

Creates an access policy for the specified container to restrict the users and clients that can access it. For information about the data that is included in an access policy, see the AWS Identity and Access Management User Guide.

module PutCorsPolicy : sig ... end

Sets the cross-origin resource sharing (CORS) configuration on a container so that the container can service cross-origin requests. For example, you might want to enable a request whose origin is http://www.example.com to access your AWS Elemental MediaStore container at my.example.container.com by using the browser's XMLHttpRequest capability.

module PutLifecyclePolicy : sig ... end

Writes an object lifecycle policy to a container. If the container already has an object lifecycle policy, the service replaces the existing policy with the new policy. It takes up to 20 minutes for the change to take effect.

module PutMetricPolicy : sig ... end

The metric policy that you want to add to the container. A metric policy allows AWS Elemental MediaStore to send metrics to Amazon CloudWatch. It takes up to 20 minutes for the new policy to take effect.

module StartAccessLogging : sig ... end

Starts 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.

module StopAccessLogging : sig ... end

Stops access logging on the specified container. When you stop access logging on a container, MediaStore stops sending access logs to Amazon CloudWatch Logs. These access logs are not saved and are not retrievable.

module TagResource : sig ... end

Adds tags to the specified AWS Elemental MediaStore container. Tags are key:value pairs that you can associate with AWS resources. For example, the tag key might be "customer" and the tag value might be "companyA." You can specify one or more tags to add to each container. You can add up to 50 tags to each container. For more information about tagging, including naming and usage conventions, see Tagging Resources in MediaStore.

module UntagResource : sig ... end
module Json_serializers : sig ... end
module Json_deserializers : sig ... end