New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/client-servicediscovery

Package Overview
Dependencies
Maintainers
5
Versions
434
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-servicediscovery - npm Package Compare versions

Comparing version 3.556.0 to 3.560.0

21

dist-types/commands/CreateHttpNamespaceCommand.d.ts

@@ -29,7 +29,6 @@ import { Command as $Command } from "@smithy/smithy-client";

/**
* <p>Creates an HTTP namespace. Service instances registered using an HTTP namespace can be
* discovered using a <code>DiscoverInstances</code> request but can't be discovered using
* DNS.</p>
* <p>For the current quota on the number of namespaces that you can create using the same Amazon Web Services account, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map quotas</a> in the
* <i>Cloud Map Developer Guide</i>.</p>
* <p>Creates an HTTP namespace. Service instances registered using an HTTP namespace can be discovered using a
* <code>DiscoverInstances</code> request but can't be discovered using DNS.</p>
* <p>For the current quota on the number of namespaces that you can create using the same Amazon Web Services account, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map
* quotas</a> in the <i>Cloud Map Developer Guide</i>.</p>
* @example

@@ -70,5 +69,4 @@ * Use a bare-bones client and the command you need to make an API call.

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -79,8 +77,7 @@ * @throws {@link NamespaceAlreadyExists} (client fault)

* @throws {@link ResourceLimitExceeded} (client fault)
* <p>The resource can't be created because you've reached the quota on the number of
* resources.</p>
* <p>The resource can't be created because you've reached the quota on the number of resources.</p>
*
* @throws {@link TooManyTagsException} (client fault)
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
* applied to a resource is 50.</p>
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be applied to a
* resource is 50.</p>
*

@@ -87,0 +84,0 @@ * @throws {@link ServiceDiscoveryServiceException}

@@ -29,9 +29,8 @@ import { Command as $Command } from "@smithy/smithy-client";

/**
* <p>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
* <code>example.com</code> and name your service <code>backend</code>, the resulting DNS name for
* the service is <code>backend.example.com</code>. Service instances that are registered using a
* private DNS namespace can be discovered using either a <code>DiscoverInstances</code> 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 <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map quotas</a> in the
* <p>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 <code>example.com</code>
* and name your service <code>backend</code>, the resulting DNS name for the service is
* <code>backend.example.com</code>. Service instances that are registered using a private DNS namespace can be
* discovered using either a <code>DiscoverInstances</code> 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 <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map quotas</a> in the
* <i>Cloud Map Developer Guide</i>.</p>

@@ -81,5 +80,4 @@ * @example

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -90,8 +88,7 @@ * @throws {@link NamespaceAlreadyExists} (client fault)

* @throws {@link ResourceLimitExceeded} (client fault)
* <p>The resource can't be created because you've reached the quota on the number of
* resources.</p>
* <p>The resource can't be created because you've reached the quota on the number of resources.</p>
*
* @throws {@link TooManyTagsException} (client fault)
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
* applied to a resource is 50.</p>
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be applied to a
* resource is 50.</p>
*

@@ -98,0 +95,0 @@ * @throws {@link ServiceDiscoveryServiceException}

@@ -29,11 +29,12 @@ import { Command as $Command } from "@smithy/smithy-client";

/**
* <p>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
* <code>example.com</code> and name your service <code>backend</code>, the resulting DNS name for
* the service is <code>backend.example.com</code>. You can discover instances that were registered
* with a public DNS namespace by using either a <code>DiscoverInstances</code> 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 <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map quotas</a> in the
* <p>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 <code>example.com</code> and name your service
* <code>backend</code>, the resulting DNS name for the service is <code>backend.example.com</code>. You can
* discover instances that were registered with a public DNS namespace by using either a
* <code>DiscoverInstances</code> 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 <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map quotas</a> in the
* <i>Cloud Map Developer Guide</i>.</p>
* <important>
* <p>The <code>CreatePublicDnsNamespace</code> API operation is not supported in the Amazon Web Services GovCloud (US) Regions.</p>
* <p>The <code>CreatePublicDnsNamespace</code> API operation is not supported in the Amazon Web Services GovCloud (US)
* Regions.</p>
* </important>

@@ -82,5 +83,4 @@ * @example

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -91,8 +91,7 @@ * @throws {@link NamespaceAlreadyExists} (client fault)

* @throws {@link ResourceLimitExceeded} (client fault)
* <p>The resource can't be created because you've reached the quota on the number of
* resources.</p>
* <p>The resource can't be created because you've reached the quota on the number of resources.</p>
*
* @throws {@link TooManyTagsException} (client fault)
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
* applied to a resource is 50.</p>
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be applied to a
* resource is 50.</p>
*

@@ -99,0 +98,0 @@ * @throws {@link ServiceDiscoveryServiceException}

@@ -66,7 +66,7 @@ import { Command as $Command } from "@smithy/smithy-client";

* </ul>
* <p>After you create the service, you can submit a <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html">RegisterInstance</a> request, and
* Cloud Map uses the values in the configuration to create the specified entities.</p>
* <p>For the current quota on the number of instances that you can register using the same
* namespace and using the same service, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map quotas</a> in the
* <i>Cloud Map Developer Guide</i>.</p>
* <p>After you create the service, you can submit a <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html">RegisterInstance</a> request, and Cloud Map uses the
* values in the configuration to create the specified entities.</p>
* <p>For the current quota on the number of instances that you can register using the same namespace and using
* the same service, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map
* quotas</a> in the <i>Cloud Map Developer Guide</i>.</p>
* @example

@@ -152,5 +152,4 @@ * Use a bare-bones client and the command you need to make an API call.

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -161,4 +160,3 @@ * @throws {@link NamespaceNotFound} (client fault)

* @throws {@link ResourceLimitExceeded} (client fault)
* <p>The resource can't be created because you've reached the quota on the number of
* resources.</p>
* <p>The resource can't be created because you've reached the quota on the number of resources.</p>
*

@@ -169,4 +167,4 @@ * @throws {@link ServiceAlreadyExists} (client fault)

* @throws {@link TooManyTagsException} (client fault)
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
* applied to a resource is 50.</p>
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be applied to a
* resource is 50.</p>
*

@@ -173,0 +171,0 @@ * @throws {@link ServiceDiscoveryServiceException}

@@ -29,4 +29,4 @@ import { Command as $Command } from "@smithy/smithy-client";

/**
* <p>Deletes a namespace from the current account. If the namespace still contains one or more
* services, the request fails.</p>
* <p>Deletes a namespace from the current account. If the namespace still contains one or more services, the
* request fails.</p>
* @example

@@ -59,5 +59,4 @@ * Use a bare-bones client and the command you need to make an API call.

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -68,4 +67,4 @@ * @throws {@link NamespaceNotFound} (client fault)

* @throws {@link ResourceInUse} (client fault)
* <p>The specified resource can't be deleted because it contains other resources. For example,
* you can't delete a service that contains any instances.</p>
* <p>The specified resource can't be deleted because it contains other resources. For example, you can't delete
* a service that contains any instances.</p>
*

@@ -72,0 +71,0 @@ * @throws {@link ServiceDiscoveryServiceException}

@@ -29,4 +29,4 @@ import { Command as $Command } from "@smithy/smithy-client";

/**
* <p>Deletes a specified service. If the service still contains one or more registered instances,
* the request fails.</p>
* <p>Deletes a specified service. If the service still contains one or more registered instances, the request
* fails.</p>
* @example

@@ -54,9 +54,8 @@ * Use a bare-bones client and the command you need to make an API call.

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*
* @throws {@link ResourceInUse} (client fault)
* <p>The specified resource can't be deleted because it contains other resources. For example,
* you can't delete a service that contains any instances.</p>
* <p>The specified resource can't be deleted because it contains other resources. For example, you can't delete
* a service that contains any instances.</p>
*

@@ -63,0 +62,0 @@ * @throws {@link ServiceNotFound} (client fault)

@@ -29,4 +29,4 @@ import { Command as $Command } from "@smithy/smithy-client";

/**
* <p>Deletes the Amazon Route 53 DNS records and health check, if any, that Cloud Map created for the
* specified instance.</p>
* <p>Deletes the Amazon Route 53 DNS records and health check, if any, that Cloud Map created for the specified
* instance.</p>
* @example

@@ -60,13 +60,12 @@ * Use a bare-bones client and the command you need to make an API call.

* @throws {@link InstanceNotFound} (client fault)
* <p>No instance exists with the specified ID, or the instance was recently registered, and
* information about the instance hasn't propagated yet.</p>
* <p>No instance exists with the specified ID, or the instance was recently registered, and information about
* the instance hasn't propagated yet.</p>
*
* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*
* @throws {@link ResourceInUse} (client fault)
* <p>The specified resource can't be deleted because it contains other resources. For example,
* you can't delete a service that contains any instances.</p>
* <p>The specified resource can't be deleted because it contains other resources. For example, you can't delete
* a service that contains any instances.</p>
*

@@ -73,0 +72,0 @@ * @throws {@link ServiceNotFound} (client fault)

@@ -30,6 +30,5 @@ import { Command as $Command } from "@smithy/smithy-client";

* <p>Discovers registered instances for a specified namespace and service. You can use
* <code>DiscoverInstances</code> to discover instances for any type of namespace.
* <code>DiscoverInstances</code> 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.</p>
* <code>DiscoverInstances</code> to discover instances for any type of namespace. <code>DiscoverInstances</code>
* 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.</p>
* @example

@@ -79,5 +78,4 @@ * Use a bare-bones client and the command you need to make an API call.

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -88,5 +86,5 @@ * @throws {@link NamespaceNotFound} (client fault)

* @throws {@link RequestLimitExceeded} (client fault)
* <p>The operation can't be completed because you've reached the quota for the number of
* requests. For more information, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/throttling.html">Cloud Map API request throttling quota</a> in the
* <i>Cloud Map Developer Guide</i>.</p>
* <p>The operation can't be completed because you've reached the quota for the number of requests. For more
* information, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/throttling.html">Cloud Map API request
* throttling quota</a> in the <i>Cloud Map Developer Guide</i>.</p>
*

@@ -93,0 +91,0 @@ * @throws {@link ServiceNotFound} (client fault)

@@ -55,5 +55,4 @@ import { Command as $Command } from "@smithy/smithy-client";

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -64,5 +63,5 @@ * @throws {@link NamespaceNotFound} (client fault)

* @throws {@link RequestLimitExceeded} (client fault)
* <p>The operation can't be completed because you've reached the quota for the number of
* requests. For more information, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/throttling.html">Cloud Map API request throttling quota</a> in the
* <i>Cloud Map Developer Guide</i>.</p>
* <p>The operation can't be completed because you've reached the quota for the number of requests. For more
* information, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/throttling.html">Cloud Map API request
* throttling quota</a> in the <i>Cloud Map Developer Guide</i>.</p>
*

@@ -69,0 +68,0 @@ * @throws {@link ServiceNotFound} (client fault)

@@ -61,9 +61,8 @@ import { Command as $Command } from "@smithy/smithy-client";

* @throws {@link InstanceNotFound} (client fault)
* <p>No instance exists with the specified ID, or the instance was recently registered, and
* information about the instance hasn't propagated yet.</p>
* <p>No instance exists with the specified ID, or the instance was recently registered, and information about
* the instance hasn't propagated yet.</p>
*
* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -70,0 +69,0 @@ * @throws {@link ServiceNotFound} (client fault)

@@ -29,8 +29,7 @@ import { Command as $Command } from "@smithy/smithy-client";

/**
* <p>Gets the current health status (<code>Healthy</code>, <code>Unhealthy</code>, or
* <code>Unknown</code>) of one or more instances that are associated with a specified
* service.</p>
* <p>Gets the current health status (<code>Healthy</code>, <code>Unhealthy</code>, or <code>Unknown</code>) of
* one or more instances that are associated with a specified service.</p>
* <note>
* <p>There's a brief delay between when you register an instance and when the health status for
* the instance is available. </p>
* <p>There's a brief delay between when you register an instance and when the health status for the instance is
* available. </p>
* </note>

@@ -69,9 +68,8 @@ * @example

* @throws {@link InstanceNotFound} (client fault)
* <p>No instance exists with the specified ID, or the instance was recently registered, and
* information about the instance hasn't propagated yet.</p>
* <p>No instance exists with the specified ID, or the instance was recently registered, and information about
* the instance hasn't propagated yet.</p>
*
* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -78,0 +76,0 @@ * @throws {@link ServiceNotFound} (client fault)

@@ -74,5 +74,4 @@ import { Command as $Command } from "@smithy/smithy-client";

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -79,0 +78,0 @@ * @throws {@link NamespaceNotFound} (client fault)

@@ -69,5 +69,4 @@ import { Command as $Command } from "@smithy/smithy-client";

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -74,0 +73,0 @@ * @throws {@link OperationNotFound} (client fault)

@@ -82,5 +82,4 @@ import { Command as $Command } from "@smithy/smithy-client";

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -87,0 +86,0 @@ * @throws {@link ServiceNotFound} (client fault)

@@ -29,4 +29,3 @@ import { Command as $Command } from "@smithy/smithy-client";

/**
* <p>Lists summary information about the instances that you registered by using a specified
* service.</p>
* <p>Lists summary information about the instances that you registered by using a specified service.</p>
* @example

@@ -66,5 +65,4 @@ * Use a bare-bones client and the command you need to make an API call.

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -71,0 +69,0 @@ * @throws {@link ServiceNotFound} (client fault)

@@ -86,5 +86,4 @@ import { Command as $Command } from "@smithy/smithy-client";

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -91,0 +90,0 @@ * @throws {@link ServiceDiscoveryServiceException}

@@ -70,5 +70,4 @@ import { Command as $Command } from "@smithy/smithy-client";

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -75,0 +74,0 @@ * @throws {@link ServiceDiscoveryServiceException}

@@ -30,3 +30,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* <p>Lists summary information for all the services that are associated with one or more
* specified namespaces.</p>
* namespaces.</p>
* @example

@@ -95,5 +95,4 @@ * Use a bare-bones client and the command you need to make an API call.

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -100,0 +99,0 @@ * @throws {@link ServiceDiscoveryServiceException}

@@ -59,5 +59,4 @@ import { Command as $Command } from "@smithy/smithy-client";

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -64,0 +63,0 @@ * @throws {@link ResourceNotFoundException} (client fault)

@@ -29,14 +29,12 @@ import { Command as $Command } from "@smithy/smithy-client";

/**
* <p>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 <code>RegisterInstance</code> request, the
* following occurs:</p>
* <p>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 <code>RegisterInstance</code> request, the following occurs:</p>
* <ul>
* <li>
* <p>For each DNS record that you define in the service that's specified by
* <code>ServiceId</code>, a record is created or updated in the hosted zone that's associated
* with the corresponding namespace.</p>
* <p>For each DNS record that you define in the service that's specified by <code>ServiceId</code>, a record
* is created or updated in the hosted zone that's associated with the corresponding namespace.</p>
* </li>
* <li>
* <p>If the service includes <code>HealthCheckConfig</code>, a health check is created based on
* the settings in the health check configuration.</p>
* <p>If the service includes <code>HealthCheckConfig</code>, a health check is created based on the settings
* in the health check configuration.</p>
* </li>

@@ -48,28 +46,26 @@ * <li>

* <important>
* <p>One <code>RegisterInstance</code> request must complete before you can submit another
* request and specify the same service ID and instance ID.</p>
* <p>One <code>RegisterInstance</code> request must complete before you can submit another request and specify
* the same service ID and instance ID.</p>
* </important>
* <p>For more information, see <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html">CreateService</a>.</p>
* <p>When Cloud Map receives a DNS query for the specified DNS name, it returns the applicable
* value:</p>
* <p>When Cloud Map receives a DNS query for the specified DNS name, it returns the applicable value:</p>
* <ul>
* <li>
* <p>
* <b>If the health check is healthy</b>: returns all the
* records</p>
* <b>If the health check is healthy</b>: returns all the records</p>
* </li>
* <li>
* <p>
* <b>If the health check is unhealthy</b>: returns the applicable
* value for the last healthy instance</p>
* <b>If the health check is unhealthy</b>: returns the applicable value for the
* last healthy instance</p>
* </li>
* <li>
* <p>
* <b>If you didn't specify a health check configuration</b>:
* returns all the records</p>
* <b>If you didn't specify a health check configuration</b>: returns all the
* records</p>
* </li>
* </ul>
* <p>For the current quota on the number of instances that you can register using the same
* namespace and using the same service, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map quotas</a> in the
* <i>Cloud Map Developer Guide</i>.</p>
* <p>For the current quota on the number of instances that you can register using the same namespace and using
* the same service, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map
* quotas</a> in the <i>Cloud Map Developer Guide</i>.</p>
* @example

@@ -107,13 +103,11 @@ * Use a bare-bones client and the command you need to make an API call.

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*
* @throws {@link ResourceInUse} (client fault)
* <p>The specified resource can't be deleted because it contains other resources. For example,
* you can't delete a service that contains any instances.</p>
* <p>The specified resource can't be deleted because it contains other resources. For example, you can't delete
* a service that contains any instances.</p>
*
* @throws {@link ResourceLimitExceeded} (client fault)
* <p>The resource can't be created because you've reached the quota on the number of
* resources.</p>
* <p>The resource can't be created because you've reached the quota on the number of resources.</p>
*

@@ -120,0 +114,0 @@ * @throws {@link ServiceNotFound} (client fault)

@@ -58,5 +58,4 @@ import { Command as $Command } from "@smithy/smithy-client";

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -67,4 +66,4 @@ * @throws {@link ResourceNotFoundException} (client fault)

* @throws {@link TooManyTagsException} (client fault)
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
* applied to a resource is 50.</p>
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be applied to a
* resource is 50.</p>
*

@@ -71,0 +70,0 @@ * @throws {@link ServiceDiscoveryServiceException}

@@ -55,5 +55,4 @@ import { Command as $Command } from "@smithy/smithy-client";

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -60,0 +59,0 @@ * @throws {@link ResourceNotFoundException} (client fault)

@@ -62,5 +62,4 @@ import { Command as $Command } from "@smithy/smithy-client";

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -71,4 +70,4 @@ * @throws {@link NamespaceNotFound} (client fault)

* @throws {@link ResourceInUse} (client fault)
* <p>The specified resource can't be deleted because it contains other resources. For example,
* you can't delete a service that contains any instances.</p>
* <p>The specified resource can't be deleted because it contains other resources. For example, you can't delete
* a service that contains any instances.</p>
*

@@ -75,0 +74,0 @@ * @throws {@link ServiceDiscoveryServiceException}

@@ -29,8 +29,6 @@ import { Command as $Command } from "@smithy/smithy-client";

/**
* <p>Submits a request to change the health status of a custom health check to healthy or
* unhealthy.</p>
* <p>You can use <code>UpdateInstanceCustomHealthStatus</code> to change the status only for
* custom health checks, which you define using <code>HealthCheckCustomConfig</code> when you create
* a service. You can't use it to change the status for Route 53 health checks, which you define using
* <code>HealthCheckConfig</code>.</p>
* <p>Submits a request to change the health status of a custom health check to healthy or unhealthy.</p>
* <p>You can use <code>UpdateInstanceCustomHealthStatus</code> to change the status only for custom health
* checks, which you define using <code>HealthCheckCustomConfig</code> when you create a service. You can't use it
* to change the status for Route 53 health checks, which you define using <code>HealthCheckConfig</code>.</p>
* <p>For more information, see <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_HealthCheckCustomConfig.html">HealthCheckCustomConfig</a>.</p>

@@ -61,13 +59,12 @@ * @example

* @throws {@link CustomHealthNotFound} (client fault)
* <p>The health check for the instance that's specified by <code>ServiceId</code> and
* <code>InstanceId</code> isn't a custom health check. </p>
* <p>The health check for the instance that's specified by <code>ServiceId</code> and <code>InstanceId</code>
* isn't a custom health check. </p>
*
* @throws {@link InstanceNotFound} (client fault)
* <p>No instance exists with the specified ID, or the instance was recently registered, and
* information about the instance hasn't propagated yet.</p>
* <p>No instance exists with the specified ID, or the instance was recently registered, and information about
* the instance hasn't propagated yet.</p>
*
* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -74,0 +71,0 @@ * @throws {@link ServiceNotFound} (client fault)

@@ -69,5 +69,4 @@ import { Command as $Command } from "@smithy/smithy-client";

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -78,4 +77,4 @@ * @throws {@link NamespaceNotFound} (client fault)

* @throws {@link ResourceInUse} (client fault)
* <p>The specified resource can't be deleted because it contains other resources. For example,
* you can't delete a service that contains any instances.</p>
* <p>The specified resource can't be deleted because it contains other resources. For example, you can't delete
* a service that contains any instances.</p>
*

@@ -82,0 +81,0 @@ * @throws {@link ServiceDiscoveryServiceException}

@@ -69,5 +69,4 @@ import { Command as $Command } from "@smithy/smithy-client";

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -78,4 +77,4 @@ * @throws {@link NamespaceNotFound} (client fault)

* @throws {@link ResourceInUse} (client fault)
* <p>The specified resource can't be deleted because it contains other resources. For example,
* you can't delete a service that contains any instances.</p>
* <p>The specified resource can't be deleted because it contains other resources. For example, you can't delete
* a service that contains any instances.</p>
*

@@ -82,0 +81,0 @@ * @throws {@link ServiceDiscoveryServiceException}

@@ -37,4 +37,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* <note>
* <p>You can't add, update, or delete a <code>HealthCheckCustomConfig</code>
* configuration.</p>
* <p>You can't add, update, or delete a <code>HealthCheckCustomConfig</code> configuration.</p>
* </note>

@@ -46,5 +45,4 @@ * </li>

* <li>
* <p>If you omit any existing <code>DnsRecords</code> or <code>HealthCheckConfig</code>
* configurations from an <code>UpdateService</code> request, the configurations are deleted from
* the service.</p>
* <p>If you omit any existing <code>DnsRecords</code> or <code>HealthCheckConfig</code> configurations from an
* <code>UpdateService</code> request, the configurations are deleted from the service.</p>
* </li>

@@ -56,4 +54,4 @@ * <li>

* </ul>
* <p>When you update settings for a service, Cloud Map also updates the corresponding settings
* in all the records and health checks that were created by using the specified service.</p>
* <p>When you update settings for a service, Cloud Map also updates the corresponding settings in all the
* records and health checks that were created by using the specified service.</p>
* @example

@@ -102,5 +100,4 @@ * Use a bare-bones client and the command you need to make an API call.

* @throws {@link InvalidInput} (client fault)
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
* numeric value might be outside the allowed range, or a string value might exceed length
* constraints.</p>
* <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
* might be outside the allowed range, or a string value might exceed length constraints.</p>
*

@@ -107,0 +104,0 @@ * @throws {@link ServiceNotFound} (client fault)

/**
* <fullname>Cloud Map</fullname>
* <p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your
* microservice applications run in. When an instance becomes available, you can call the Cloud Map
* API to register the instance with Cloud Map. For public or private DNS namespaces, Cloud Map
* automatically creates DNS records and an optional health check. Clients that submit public or
* private DNS queries, or HTTP requests, for the service receive an answer that contains up to
* eight healthy records. </p>
* <p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your microservice
* applications run in. When an instance becomes available, you can call the Cloud Map API to register the
* instance with Cloud Map. For public or private DNS namespaces, Cloud Map automatically creates DNS records and
* an optional health check. Clients that submit public or private DNS queries, or HTTP requests, for the service
* receive an answer that contains up to eight healthy records. </p>
*

@@ -10,0 +9,0 @@ * @packageDocumentation

@@ -199,8 +199,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";

* <fullname>Cloud Map</fullname>
* <p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your
* microservice applications run in. When an instance becomes available, you can call the Cloud Map
* API to register the instance with Cloud Map. For public or private DNS namespaces, Cloud Map
* automatically creates DNS records and an optional health check. Clients that submit public or
* private DNS queries, or HTTP requests, for the service receive an answer that contains up to
* eight healthy records. </p>
* <p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your microservice
* applications run in. When an instance becomes available, you can call the Cloud Map API to register the
* instance with Cloud Map. For public or private DNS namespaces, Cloud Map automatically creates DNS records and
* an optional health check. Clients that submit public or private DNS queries, or HTTP requests, for the service
* receive an answer that contains up to eight healthy records. </p>
* @public

@@ -207,0 +206,0 @@ */

@@ -182,8 +182,7 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";

* <fullname>Cloud Map</fullname>
* <p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your
* microservice applications run in. When an instance becomes available, you can call the Cloud Map
* API to register the instance with Cloud Map. For public or private DNS namespaces, Cloud Map
* automatically creates DNS records and an optional health check. Clients that submit public or
* private DNS queries, or HTTP requests, for the service receive an answer that contains up to
* eight healthy records. </p>
* <p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your microservice
* applications run in. When an instance becomes available, you can call the Cloud Map API to register the
* instance with Cloud Map. For public or private DNS namespaces, Cloud Map automatically creates DNS records and
* an optional health check. Clients that submit public or private DNS queries, or HTTP requests, for the service
* receive an answer that contains up to eight healthy records. </p>
* @public

@@ -190,0 +189,0 @@ */

{
"name": "@aws-sdk/client-servicediscovery",
"description": "AWS SDK for JavaScript Servicediscovery Client for Node.js, Browser and React Native",
"version": "3.556.0",
"version": "3.560.0",
"scripts": {

@@ -6,0 +6,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

@@ -11,8 +11,7 @@ <!-- generated file, do not edit directly -->

<p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your
microservice applications run in. When an instance becomes available, you can call the Cloud Map
API to register the instance with Cloud Map. For public or private DNS namespaces, Cloud Map
automatically creates DNS records and an optional health check. Clients that submit public or
private DNS queries, or HTTP requests, for the service receive an answer that contains up to
eight healthy records. </p>
<p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your microservice
applications run in. When an instance becomes available, you can call the Cloud Map API to register the
instance with Cloud Map. For public or private DNS namespaces, Cloud Map automatically creates DNS records and
an optional health check. Clients that submit public or private DNS queries, or HTTP requests, for the service
receive an answer that contains up to eight healthy records. </p>

@@ -19,0 +18,0 @@ ## Installing

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc