Smaws_Client_ServiceDiscovery
ServiceDiscovery client library built on EIO.
module Types : sig ... end
val make_update_service_response :
?operation_id:Types.operation_id ->
unit ->
Types.update_service_response
val make_dns_record :
tt_l:Types.record_tt_l ->
type_:Types.record_type ->
unit ->
Types.dns_record
val make_dns_config_change :
dns_records:Types.dns_record_list ->
unit ->
Types.dns_config_change
val make_health_check_config :
?failure_threshold:Types.failure_threshold ->
?resource_path:Types.resource_path ->
type_:Types.health_check_type ->
unit ->
Types.health_check_config
val make_service_change :
?health_check_config:Types.health_check_config ->
?dns_config:Types.dns_config_change ->
?description:Types.resource_description ->
unit ->
Types.service_change
val make_update_service_request :
service:Types.service_change ->
id:Types.resource_id ->
unit ->
Types.update_service_request
val make_update_service_attributes_request :
attributes:Types.service_attributes_map ->
service_id:Types.resource_id ->
unit ->
Types.update_service_attributes_request
val make_update_public_dns_namespace_response :
?operation_id:Types.operation_id ->
unit ->
Types.update_public_dns_namespace_response
val make_soa_change : tt_l:Types.record_tt_l -> unit -> Types.soa_change
val make_public_dns_properties_mutable_change :
so_a:Types.soa_change ->
unit ->
Types.public_dns_properties_mutable_change
val make_public_dns_namespace_properties_change :
dns_properties:Types.public_dns_properties_mutable_change ->
unit ->
Types.public_dns_namespace_properties_change
val make_public_dns_namespace_change :
?properties:Types.public_dns_namespace_properties_change ->
?description:Types.resource_description ->
unit ->
Types.public_dns_namespace_change
val make_update_public_dns_namespace_request :
?updater_request_id:Types.resource_id ->
namespace:Types.public_dns_namespace_change ->
id:Types.resource_id ->
unit ->
Types.update_public_dns_namespace_request
val make_update_private_dns_namespace_response :
?operation_id:Types.operation_id ->
unit ->
Types.update_private_dns_namespace_response
val make_private_dns_properties_mutable_change :
so_a:Types.soa_change ->
unit ->
Types.private_dns_properties_mutable_change
val make_private_dns_namespace_properties_change :
dns_properties:Types.private_dns_properties_mutable_change ->
unit ->
Types.private_dns_namespace_properties_change
val make_private_dns_namespace_change :
?properties:Types.private_dns_namespace_properties_change ->
?description:Types.resource_description ->
unit ->
Types.private_dns_namespace_change
val make_update_private_dns_namespace_request :
?updater_request_id:Types.resource_id ->
namespace:Types.private_dns_namespace_change ->
id:Types.resource_id ->
unit ->
Types.update_private_dns_namespace_request
val make_update_instance_custom_health_status_request :
status:Types.custom_health_status ->
instance_id:Types.resource_id ->
service_id:Types.resource_id ->
unit ->
Types.update_instance_custom_health_status_request
val make_update_http_namespace_response :
?operation_id:Types.operation_id ->
unit ->
Types.update_http_namespace_response
val make_http_namespace_change :
description:Types.resource_description ->
unit ->
Types.http_namespace_change
val make_update_http_namespace_request :
?updater_request_id:Types.resource_id ->
namespace:Types.http_namespace_change ->
id:Types.resource_id ->
unit ->
Types.update_http_namespace_request
val make_untag_resource_request :
tag_keys:Types.tag_key_list ->
resource_ar_n:Types.amazon_resource_name ->
unit ->
Types.untag_resource_request
val make_tag : value:Types.tag_value -> key:Types.tag_key -> unit -> Types.tag
val make_tag_resource_request :
tags:Types.tag_list ->
resource_ar_n:Types.amazon_resource_name ->
unit ->
Types.tag_resource_request
val make_dns_config :
?routing_policy:Types.routing_policy ->
?namespace_id:Types.resource_id ->
dns_records:Types.dns_record_list ->
unit ->
Types.dns_config
val make_health_check_custom_config :
?failure_threshold:Types.failure_threshold ->
unit ->
Types.health_check_custom_config
val make_service_summary :
?create_date:Types.timestamp ->
?health_check_custom_config:Types.health_check_custom_config ->
?health_check_config:Types.health_check_config ->
?dns_config:Types.dns_config ->
?instance_count:Types.resource_count ->
?description:Types.resource_description ->
?type_:Types.service_type ->
?name:Types.service_name ->
?arn:Types.arn ->
?id:Types.resource_id ->
unit ->
Types.service_summary
val make_service_filter :
?condition:Types.filter_condition ->
values:Types.filter_values ->
name:Types.service_filter_name ->
unit ->
Types.service_filter
val make_service_attributes :
?attributes:Types.service_attributes_map ->
?service_arn:Types.arn ->
unit ->
Types.service_attributes
val make_service :
?creator_request_id:Types.resource_id ->
?create_date:Types.timestamp ->
?health_check_custom_config:Types.health_check_custom_config ->
?health_check_config:Types.health_check_config ->
?type_:Types.service_type ->
?dns_config:Types.dns_config ->
?instance_count:Types.resource_count ->
?description:Types.resource_description ->
?namespace_id:Types.resource_id ->
?name:Types.service_name ->
?arn:Types.arn ->
?id:Types.resource_id ->
unit ->
Types.service
val make_so_a : tt_l:Types.record_tt_l -> unit -> Types.so_a
val make_register_instance_response :
?operation_id:Types.operation_id ->
unit ->
Types.register_instance_response
val make_register_instance_request :
?creator_request_id:Types.resource_id ->
attributes:Types.attributes ->
instance_id:Types.instance_id ->
service_id:Types.resource_id ->
unit ->
Types.register_instance_request
val make_list_tags_for_resource_response :
?tags:Types.tag_list ->
unit ->
Types.list_tags_for_resource_response
val make_list_tags_for_resource_request :
resource_ar_n:Types.amazon_resource_name ->
unit ->
Types.list_tags_for_resource_request
val make_list_services_response :
?next_token:Types.next_token ->
?services:Types.service_summaries_list ->
unit ->
Types.list_services_response
val make_list_services_request :
?filters:Types.service_filters ->
?max_results:Types.max_results ->
?next_token:Types.next_token ->
unit ->
Types.list_services_request
val make_operation_summary :
?status:Types.operation_status ->
?id:Types.operation_id ->
unit ->
Types.operation_summary
val make_list_operations_response :
?next_token:Types.next_token ->
?operations:Types.operation_summary_list ->
unit ->
Types.list_operations_response
val make_operation_filter :
?condition:Types.filter_condition ->
values:Types.filter_values ->
name:Types.operation_filter_name ->
unit ->
Types.operation_filter
val make_list_operations_request :
?filters:Types.operation_filters ->
?max_results:Types.max_results ->
?next_token:Types.next_token ->
unit ->
Types.list_operations_request
val make_dns_properties :
?so_a:Types.so_a ->
?hosted_zone_id:Types.resource_id ->
unit ->
Types.dns_properties
val make_http_properties :
?http_name:Types.namespace_name ->
unit ->
Types.http_properties
val make_namespace_properties :
?http_properties:Types.http_properties ->
?dns_properties:Types.dns_properties ->
unit ->
Types.namespace_properties
val make_namespace_summary :
?create_date:Types.timestamp ->
?properties:Types.namespace_properties ->
?service_count:Types.resource_count ->
?description:Types.resource_description ->
?type_:Types.namespace_type ->
?name:Types.namespace_name ->
?arn:Types.arn ->
?id:Types.resource_id ->
unit ->
Types.namespace_summary
val make_list_namespaces_response :
?next_token:Types.next_token ->
?namespaces:Types.namespace_summaries_list ->
unit ->
Types.list_namespaces_response
val make_namespace_filter :
?condition:Types.filter_condition ->
values:Types.filter_values ->
name:Types.namespace_filter_name ->
unit ->
Types.namespace_filter
val make_list_namespaces_request :
?filters:Types.namespace_filters ->
?max_results:Types.max_results ->
?next_token:Types.next_token ->
unit ->
Types.list_namespaces_request
val make_instance_summary :
?attributes:Types.attributes ->
?id:Types.resource_id ->
unit ->
Types.instance_summary
val make_list_instances_response :
?next_token:Types.next_token ->
?instances:Types.instance_summary_list ->
unit ->
Types.list_instances_response
val make_list_instances_request :
?max_results:Types.max_results ->
?next_token:Types.next_token ->
service_id:Types.resource_id ->
unit ->
Types.list_instances_request
val make_get_service_attributes_response :
?service_attributes:Types.service_attributes ->
unit ->
Types.get_service_attributes_response
val make_get_service_attributes_request :
service_id:Types.resource_id ->
unit ->
Types.get_service_attributes_request
val make_get_service_response :
?service:Types.service ->
unit ->
Types.get_service_response
val make_get_service_request :
id:Types.resource_id ->
unit ->
Types.get_service_request
val make_operation :
?targets:Types.operation_targets_map ->
?update_date:Types.timestamp ->
?create_date:Types.timestamp ->
?error_code:Types.code ->
?error_message:Types.message ->
?status:Types.operation_status ->
?type_:Types.operation_type ->
?id:Types.operation_id ->
unit ->
Types.operation
val make_get_operation_response :
?operation:Types.operation ->
unit ->
Types.get_operation_response
val make_get_operation_request :
operation_id:Types.resource_id ->
unit ->
Types.get_operation_request
val make_namespace :
?creator_request_id:Types.resource_id ->
?create_date:Types.timestamp ->
?properties:Types.namespace_properties ->
?service_count:Types.resource_count ->
?description:Types.resource_description ->
?type_:Types.namespace_type ->
?name:Types.namespace_name ->
?arn:Types.arn ->
?id:Types.resource_id ->
unit ->
Types.namespace
val make_get_namespace_response :
?namespace:Types.namespace ->
unit ->
Types.get_namespace_response
val make_get_namespace_request :
id:Types.resource_id ->
unit ->
Types.get_namespace_request
val make_get_instances_health_status_response :
?next_token:Types.next_token ->
?status:Types.instance_health_status_map ->
unit ->
Types.get_instances_health_status_response
val make_get_instances_health_status_request :
?next_token:Types.next_token ->
?max_results:Types.max_results ->
?instances:Types.instance_id_list ->
service_id:Types.resource_id ->
unit ->
Types.get_instances_health_status_request
val make_instance :
?attributes:Types.attributes ->
?creator_request_id:Types.resource_id ->
id:Types.resource_id ->
unit ->
Types.instance
val make_get_instance_response :
?instance:Types.instance ->
unit ->
Types.get_instance_response
val make_get_instance_request :
instance_id:Types.resource_id ->
service_id:Types.resource_id ->
unit ->
Types.get_instance_request
val make_discover_instances_revision_response :
?instances_revision:Types.revision ->
unit ->
Types.discover_instances_revision_response
val make_discover_instances_revision_request :
service_name:Types.service_name ->
namespace_name:Types.namespace_name ->
unit ->
Types.discover_instances_revision_request
val make_http_instance_summary :
?attributes:Types.attributes ->
?health_status:Types.health_status ->
?service_name:Types.service_name ->
?namespace_name:Types.namespace_name_http ->
?instance_id:Types.resource_id ->
unit ->
Types.http_instance_summary
val make_discover_instances_response :
?instances_revision:Types.revision ->
?instances:Types.http_instance_summary_list ->
unit ->
Types.discover_instances_response
val make_discover_instances_request :
?health_status:Types.health_status_filter ->
?optional_parameters:Types.attributes ->
?query_parameters:Types.attributes ->
?max_results:Types.discover_max_results ->
service_name:Types.service_name ->
namespace_name:Types.namespace_name ->
unit ->
Types.discover_instances_request
val make_deregister_instance_response :
?operation_id:Types.operation_id ->
unit ->
Types.deregister_instance_response
val make_deregister_instance_request :
instance_id:Types.resource_id ->
service_id:Types.resource_id ->
unit ->
Types.deregister_instance_request
val make_delete_service_attributes_request :
attributes:Types.service_attribute_key_list ->
service_id:Types.resource_id ->
unit ->
Types.delete_service_attributes_request
val make_delete_service_request :
id:Types.resource_id ->
unit ->
Types.delete_service_request
val make_delete_namespace_response :
?operation_id:Types.operation_id ->
unit ->
Types.delete_namespace_response
val make_delete_namespace_request :
id:Types.resource_id ->
unit ->
Types.delete_namespace_request
val make_create_service_response :
?service:Types.service ->
unit ->
Types.create_service_response
val make_create_service_request :
?type_:Types.service_type_option ->
?tags:Types.tag_list ->
?health_check_custom_config:Types.health_check_custom_config ->
?health_check_config:Types.health_check_config ->
?dns_config:Types.dns_config ->
?description:Types.resource_description ->
?creator_request_id:Types.resource_id ->
?namespace_id:Types.resource_id ->
name:Types.service_name ->
unit ->
Types.create_service_request
val make_create_public_dns_namespace_response :
?operation_id:Types.operation_id ->
unit ->
Types.create_public_dns_namespace_response
val make_public_dns_properties_mutable :
so_a:Types.so_a ->
unit ->
Types.public_dns_properties_mutable
val make_public_dns_namespace_properties :
dns_properties:Types.public_dns_properties_mutable ->
unit ->
Types.public_dns_namespace_properties
val make_create_public_dns_namespace_request :
?properties:Types.public_dns_namespace_properties ->
?tags:Types.tag_list ->
?description:Types.resource_description ->
?creator_request_id:Types.resource_id ->
name:Types.namespace_name_public ->
unit ->
Types.create_public_dns_namespace_request
val make_create_private_dns_namespace_response :
?operation_id:Types.operation_id ->
unit ->
Types.create_private_dns_namespace_response
val make_private_dns_properties_mutable :
so_a:Types.so_a ->
unit ->
Types.private_dns_properties_mutable
val make_private_dns_namespace_properties :
dns_properties:Types.private_dns_properties_mutable ->
unit ->
Types.private_dns_namespace_properties
val make_create_private_dns_namespace_request :
?properties:Types.private_dns_namespace_properties ->
?tags:Types.tag_list ->
?description:Types.resource_description ->
?creator_request_id:Types.resource_id ->
vpc:Types.resource_id ->
name:Types.namespace_name_private ->
unit ->
Types.create_private_dns_namespace_request
val make_create_http_namespace_response :
?operation_id:Types.operation_id ->
unit ->
Types.create_http_namespace_response
val make_create_http_namespace_request :
?tags:Types.tag_list ->
?description:Types.resource_description ->
?creator_request_id:Types.resource_id ->
name:Types.namespace_name_http ->
unit ->
Types.create_http_namespace_request
Operations
module CreateHttpNamespace : sig ... end
Creates an HTTP namespace. Service instances registered using an HTTP namespace can be discovered using a DiscoverInstances
request but can't be discovered using DNS.
module CreatePrivateDnsNamespace : sig ... end
Creates a private namespace based on DNS, which is visible only inside a specified Amazon VPC. The namespace defines your service naming scheme. For example, if you name your namespace example.com
and name your service backend
, the resulting DNS name for the service is backend.example.com
. Service instances that are registered using a private DNS namespace can be discovered using either a DiscoverInstances
request or using DNS. For the current quota on the number of namespaces that you can create using the same Amazon Web Services account, see Cloud Map quotas in the Cloud Map Developer Guide.
module CreatePublicDnsNamespace : sig ... end
Creates a public namespace based on DNS, which is visible on the internet. The namespace defines your service naming scheme. For example, if you name your namespace example.com
and name your service backend
, the resulting DNS name for the service is backend.example.com
. You can discover instances that were registered with a public DNS namespace by using either a DiscoverInstances
request or using DNS. For the current quota on the number of namespaces that you can create using the same Amazon Web Services account, see Cloud Map quotas in the Cloud Map Developer Guide.
module CreateService : sig ... end
Creates a service. This action defines the configuration for the following entities:
module DeleteNamespace : sig ... end
Deletes a namespace from the current account. If the namespace still contains one or more services, the request fails.
module DeleteService : sig ... end
Deletes a specified service and all associated service attributes. If the service still contains one or more registered instances, the request fails.
module DeleteServiceAttributes : sig ... end
Deletes specific attributes associated with a service.
module DeregisterInstance : sig ... end
Deletes the Amazon Route 53 DNS records and health check, if any, that Cloud Map created for the specified instance.
module DiscoverInstances : sig ... end
Discovers registered instances for a specified namespace and service. You can use DiscoverInstances
to discover instances for any type of namespace. DiscoverInstances
returns a randomized list of instances allowing customers to distribute traffic evenly across instances. For public and private DNS namespaces, you can also use DNS queries to discover instances.
module DiscoverInstancesRevision : sig ... end
Discovers the increasing revision associated with an instance.
module GetInstance : sig ... end
Gets information about a specified instance.
module GetInstancesHealthStatus : sig ... end
Gets the current health status (Healthy
, Unhealthy
, or Unknown
) of one or more instances that are associated with a specified service.
module GetNamespace : sig ... end
Gets information about a namespace.
module GetOperation : sig ... end
Gets information about any operation that returns an operation ID in the response, such as a CreateHttpNamespace
request.
module GetService : sig ... end
Gets the settings for a specified service.
module GetServiceAttributes : sig ... end
Returns the attributes associated with a specified service.
module ListInstances : sig ... end
Lists summary information about the instances that you registered by using a specified service.
module ListNamespaces : sig ... end
Lists summary information about the namespaces that were created by the current Amazon Web Services account.
module ListOperations : sig ... end
Lists operations that match the criteria that you specify.
module ListServices : sig ... end
Lists summary information for all the services that are associated with one or more namespaces.
module ListTagsForResource : sig ... end
Lists tags for the specified resource.
module RegisterInstance : sig ... end
Creates or updates one or more records and, optionally, creates a health check based on the settings in a specified service. When you submit a RegisterInstance
request, the following occurs:
module TagResource : sig ... end
Adds one or more tags to the specified resource.
module UntagResource : sig ... end
Removes one or more tags from the specified resource.
module UpdateHttpNamespace : sig ... end
Updates an HTTP namespace.
module UpdateInstanceCustomHealthStatus : sig ... end
Submits a request to change the health status of a custom health check to healthy or unhealthy.
module UpdatePrivateDnsNamespace : sig ... end
Updates a private DNS namespace.
module UpdatePublicDnsNamespace : sig ... end
Updates a public DNS namespace.
module UpdateService : sig ... end
Submits a request to perform the following operations:
module UpdateServiceAttributes : sig ... end
Submits a request to update a specified service to add service-level attributes.
module Json_serializers : sig ... end
module Json_deserializers : sig ... end