@aws-sdk/client-servicediscovery 3.864.0 → 3.872.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +6 -5
  2. package/dist-cjs/index.js +16 -1
  3. package/dist-es/models/models_0.js +4 -0
  4. package/dist-es/protocols/Aws_json1_1.js +7 -0
  5. package/dist-types/ServiceDiscovery.d.ts +6 -5
  6. package/dist-types/ServiceDiscoveryClient.d.ts +6 -5
  7. package/dist-types/commands/CreateHttpNamespaceCommand.d.ts +12 -9
  8. package/dist-types/commands/CreatePrivateDnsNamespaceCommand.d.ts +14 -11
  9. package/dist-types/commands/CreatePublicDnsNamespaceCommand.d.ts +14 -13
  10. package/dist-types/commands/CreateServiceCommand.d.ts +14 -10
  11. package/dist-types/commands/DeleteNamespaceCommand.d.ts +7 -6
  12. package/dist-types/commands/DeleteServiceAttributesCommand.d.ts +3 -2
  13. package/dist-types/commands/DeleteServiceCommand.d.ts +7 -6
  14. package/dist-types/commands/DeregisterInstanceCommand.d.ts +9 -8
  15. package/dist-types/commands/DiscoverInstancesCommand.d.ts +11 -8
  16. package/dist-types/commands/DiscoverInstancesRevisionCommand.d.ts +7 -5
  17. package/dist-types/commands/GetInstanceCommand.d.ts +7 -4
  18. package/dist-types/commands/GetInstancesHealthStatusCommand.d.ts +10 -8
  19. package/dist-types/commands/GetNamespaceCommand.d.ts +4 -2
  20. package/dist-types/commands/GetOperationCommand.d.ts +5 -2
  21. package/dist-types/commands/GetServiceAttributesCommand.d.ts +4 -2
  22. package/dist-types/commands/GetServiceCommand.d.ts +5 -2
  23. package/dist-types/commands/ListInstancesCommand.d.ts +7 -3
  24. package/dist-types/commands/ListNamespacesCommand.d.ts +6 -4
  25. package/dist-types/commands/ListOperationsCommand.d.ts +3 -2
  26. package/dist-types/commands/ListServicesCommand.d.ts +6 -3
  27. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -2
  28. package/dist-types/commands/RegisterInstanceCommand.d.ts +28 -22
  29. package/dist-types/commands/TagResourceCommand.d.ts +5 -4
  30. package/dist-types/commands/UntagResourceCommand.d.ts +3 -2
  31. package/dist-types/commands/UpdateHttpNamespaceCommand.d.ts +5 -4
  32. package/dist-types/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +13 -10
  33. package/dist-types/commands/UpdatePrivateDnsNamespaceCommand.d.ts +5 -4
  34. package/dist-types/commands/UpdatePublicDnsNamespaceCommand.d.ts +6 -6
  35. package/dist-types/commands/UpdateServiceAttributesCommand.d.ts +5 -3
  36. package/dist-types/commands/UpdateServiceCommand.d.ts +24 -7
  37. package/dist-types/index.d.ts +6 -5
  38. package/dist-types/models/models_0.d.ts +960 -686
  39. package/dist-types/ts3.4/models/models_0.d.ts +18 -0
  40. package/package.json +2 -2
@@ -35,23 +35,39 @@ declare const UpdateServiceCommand_base: {
35
35
  * <li>
36
36
  * <p>Add, update, or delete <code>HealthCheckConfig</code> for a specified service</p>
37
37
  * <note>
38
- * <p>You can't add, update, or delete a <code>HealthCheckCustomConfig</code> configuration.</p>
38
+ * <p>You can't add, update, or delete a <code>HealthCheckCustomConfig</code>
39
+ * configuration.</p>
39
40
  * </note>
40
41
  * </li>
41
42
  * </ul>
42
43
  * <p>For public and private DNS namespaces, note the following:</p>
43
44
  * <ul>
44
45
  * <li>
45
- * <p>If you omit any existing <code>DnsRecords</code> or <code>HealthCheckConfig</code> configurations from an
46
- * <code>UpdateService</code> request, the configurations are deleted from the service.</p>
46
+ * <p>If you omit any existing <code>DnsRecords</code> or <code>HealthCheckConfig</code>
47
+ * configurations from an <code>UpdateService</code> request, the configurations are deleted from
48
+ * the service.</p>
47
49
  * </li>
48
50
  * <li>
49
51
  * <p>If you omit an existing <code>HealthCheckCustomConfig</code> configuration from an
50
52
  * <code>UpdateService</code> request, the configuration isn't deleted from the service.</p>
51
53
  * </li>
52
54
  * </ul>
53
- * <p>When you update settings for a service, Cloud Map also updates the corresponding settings in all the
54
- * records and health checks that were created by using the specified service.</p>
55
+ * <note>
56
+ * <p>You can't call <code>UpdateService</code> and update settings in the following
57
+ * scenarios:</p>
58
+ * <ul>
59
+ * <li>
60
+ * <p>When the service is associated with an HTTP namespace</p>
61
+ * </li>
62
+ * <li>
63
+ * <p>When the service is associated with a shared namespace and contains instances that were
64
+ * registered by Amazon Web Services accounts other than the account making the <code>UpdateService</code>
65
+ * call</p>
66
+ * </li>
67
+ * </ul>
68
+ * </note>
69
+ * <p>When you update settings for a service, Cloud Map also updates the corresponding settings
70
+ * in all the records and health checks that were created by using the specified service.</p>
55
71
  * @example
56
72
  * Use a bare-bones client and the command you need to make an API call.
57
73
  * ```javascript
@@ -95,8 +111,9 @@ declare const UpdateServiceCommand_base: {
95
111
  * <p>The operation is already in progress.</p>
96
112
  *
97
113
  * @throws {@link InvalidInput} (client fault)
98
- * <p>One or more specified values aren't valid. For example, a required value might be missing, a numeric value
99
- * might be outside the allowed range, or a string value might exceed length constraints.</p>
114
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
115
+ * numeric value might be outside the allowed range, or a string value might exceed length
116
+ * constraints.</p>
100
117
  *
101
118
  * @throws {@link ServiceNotFound} (client fault)
102
119
  * <p>No service exists with the specified ID.</p>
@@ -1,10 +1,11 @@
1
1
  /**
2
2
  * <fullname>Cloud Map</fullname>
3
- * <p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your microservice
4
- * applications run in. When an instance becomes available, you can call the Cloud Map API to register the
5
- * instance with Cloud Map. For public or private DNS namespaces, Cloud Map automatically creates DNS records and
6
- * an optional health check. Clients that submit public or private DNS queries, or HTTP requests, for the service
7
- * receive an answer that contains up to eight healthy records. </p>
3
+ * <p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your
4
+ * microservice applications run in. When an instance becomes available, you can call the Cloud Map
5
+ * API to register the instance with Cloud Map. For public or private DNS namespaces, Cloud Map
6
+ * automatically creates DNS records and an optional health check. Clients that submit public or
7
+ * private DNS queries, or HTTP requests, for the service receive an answer that contains up to
8
+ * eight healthy records. </p>
8
9
  *
9
10
  * @packageDocumentation
10
11
  */