@aws-sdk/client-servicediscovery 3.289.0 → 3.290.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 (27) hide show
  1. package/dist-types/commands/CreateHttpNamespaceCommand.d.ts +25 -0
  2. package/dist-types/commands/CreatePrivateDnsNamespaceCommand.d.ts +25 -0
  3. package/dist-types/commands/CreatePublicDnsNamespaceCommand.d.ts +25 -0
  4. package/dist-types/commands/CreateServiceCommand.d.ts +25 -0
  5. package/dist-types/commands/DeleteNamespaceCommand.d.ts +21 -0
  6. package/dist-types/commands/DeleteServiceCommand.d.ts +18 -0
  7. package/dist-types/commands/DeregisterInstanceCommand.d.ts +25 -0
  8. package/dist-types/commands/DiscoverInstancesCommand.d.ts +17 -0
  9. package/dist-types/commands/GetInstanceCommand.d.ts +18 -0
  10. package/dist-types/commands/GetInstancesHealthStatusCommand.d.ts +18 -0
  11. package/dist-types/commands/GetNamespaceCommand.d.ts +9 -0
  12. package/dist-types/commands/GetOperationCommand.d.ts +14 -0
  13. package/dist-types/commands/GetServiceCommand.d.ts +14 -0
  14. package/dist-types/commands/ListInstancesCommand.d.ts +14 -0
  15. package/dist-types/commands/ListNamespacesCommand.d.ts +11 -0
  16. package/dist-types/commands/ListOperationsCommand.d.ts +11 -0
  17. package/dist-types/commands/ListServicesCommand.d.ts +11 -0
  18. package/dist-types/commands/ListTagsForResourceCommand.d.ts +14 -0
  19. package/dist-types/commands/RegisterInstanceCommand.d.ts +25 -0
  20. package/dist-types/commands/TagResourceCommand.d.ts +18 -0
  21. package/dist-types/commands/UntagResourceCommand.d.ts +14 -0
  22. package/dist-types/commands/UpdateHttpNamespaceCommand.d.ts +21 -0
  23. package/dist-types/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +22 -0
  24. package/dist-types/commands/UpdatePrivateDnsNamespaceCommand.d.ts +21 -0
  25. package/dist-types/commands/UpdatePublicDnsNamespaceCommand.d.ts +21 -0
  26. package/dist-types/commands/UpdateServiceCommand.d.ts +17 -0
  27. package/package.json +29 -29
@@ -33,6 +33,31 @@ export interface CreateHttpNamespaceCommandOutput extends CreateHttpNamespaceRes
33
33
  * @see {@link CreateHttpNamespaceCommandOutput} for command's `response` shape.
34
34
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
35
35
  *
36
+ * @throws {@link DuplicateRequest} (client fault)
37
+ * <p>The operation is already in progress.</p>
38
+ *
39
+ * @throws {@link InvalidInput} (client fault)
40
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
41
+ * numeric value might be outside the allowed range, or a string value might exceed length
42
+ * constraints.</p>
43
+ *
44
+ * @throws {@link NamespaceAlreadyExists} (client fault)
45
+ * <p>The namespace that you're trying to create already exists.</p>
46
+ *
47
+ * @throws {@link RequestLimitExceeded} (client fault)
48
+ * <p>The operation can't be completed because you've reached the quota for the number of
49
+ * 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
50
+ * <i>Cloud Map Developer Guide</i>.</p>
51
+ *
52
+ * @throws {@link ResourceLimitExceeded} (client fault)
53
+ * <p>The resource can't be created because you've reached the quota on the number of
54
+ * resources.</p>
55
+ *
56
+ * @throws {@link TooManyTagsException} (client fault)
57
+ * <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
58
+ * applied to a resource is 50.</p>
59
+ *
60
+ *
36
61
  * @example CreateHttpNamespace example
37
62
  * ```javascript
38
63
  * // This example creates an HTTP namespace.
@@ -36,6 +36,31 @@ export interface CreatePrivateDnsNamespaceCommandOutput extends CreatePrivateDns
36
36
  * @see {@link CreatePrivateDnsNamespaceCommandOutput} for command's `response` shape.
37
37
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
38
38
  *
39
+ * @throws {@link DuplicateRequest} (client fault)
40
+ * <p>The operation is already in progress.</p>
41
+ *
42
+ * @throws {@link InvalidInput} (client fault)
43
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
44
+ * numeric value might be outside the allowed range, or a string value might exceed length
45
+ * constraints.</p>
46
+ *
47
+ * @throws {@link NamespaceAlreadyExists} (client fault)
48
+ * <p>The namespace that you're trying to create already exists.</p>
49
+ *
50
+ * @throws {@link RequestLimitExceeded} (client fault)
51
+ * <p>The operation can't be completed because you've reached the quota for the number of
52
+ * 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
53
+ * <i>Cloud Map Developer Guide</i>.</p>
54
+ *
55
+ * @throws {@link ResourceLimitExceeded} (client fault)
56
+ * <p>The resource can't be created because you've reached the quota on the number of
57
+ * resources.</p>
58
+ *
59
+ * @throws {@link TooManyTagsException} (client fault)
60
+ * <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
61
+ * applied to a resource is 50.</p>
62
+ *
63
+ *
39
64
  * @example Example: Create private DNS namespace
40
65
  * ```javascript
41
66
  * // Example: Create private DNS namespace
@@ -38,6 +38,31 @@ export interface CreatePublicDnsNamespaceCommandOutput extends CreatePublicDnsNa
38
38
  * @see {@link CreatePublicDnsNamespaceCommandOutput} for command's `response` shape.
39
39
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
40
40
  *
41
+ * @throws {@link DuplicateRequest} (client fault)
42
+ * <p>The operation is already in progress.</p>
43
+ *
44
+ * @throws {@link InvalidInput} (client fault)
45
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
46
+ * numeric value might be outside the allowed range, or a string value might exceed length
47
+ * constraints.</p>
48
+ *
49
+ * @throws {@link NamespaceAlreadyExists} (client fault)
50
+ * <p>The namespace that you're trying to create already exists.</p>
51
+ *
52
+ * @throws {@link RequestLimitExceeded} (client fault)
53
+ * <p>The operation can't be completed because you've reached the quota for the number of
54
+ * 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
55
+ * <i>Cloud Map Developer Guide</i>.</p>
56
+ *
57
+ * @throws {@link ResourceLimitExceeded} (client fault)
58
+ * <p>The resource can't be created because you've reached the quota on the number of
59
+ * resources.</p>
60
+ *
61
+ * @throws {@link TooManyTagsException} (client fault)
62
+ * <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
63
+ * applied to a resource is 50.</p>
64
+ *
65
+ *
41
66
  * @example CreatePublicDnsNamespace example
42
67
  * ```javascript
43
68
  * // This example creates a public namespace based on DNS.
@@ -70,6 +70,31 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
70
70
  * @see {@link CreateServiceCommandOutput} for command's `response` shape.
71
71
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
72
72
  *
73
+ * @throws {@link InvalidInput} (client fault)
74
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
75
+ * numeric value might be outside the allowed range, or a string value might exceed length
76
+ * constraints.</p>
77
+ *
78
+ * @throws {@link NamespaceNotFound} (client fault)
79
+ * <p>No namespace exists with the specified ID.</p>
80
+ *
81
+ * @throws {@link RequestLimitExceeded} (client fault)
82
+ * <p>The operation can't be completed because you've reached the quota for the number of
83
+ * 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
84
+ * <i>Cloud Map Developer Guide</i>.</p>
85
+ *
86
+ * @throws {@link ResourceLimitExceeded} (client fault)
87
+ * <p>The resource can't be created because you've reached the quota on the number of
88
+ * resources.</p>
89
+ *
90
+ * @throws {@link ServiceAlreadyExists} (client fault)
91
+ * <p>The service can't be created because a service with the same name already exists.</p>
92
+ *
93
+ * @throws {@link TooManyTagsException} (client fault)
94
+ * <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
95
+ * applied to a resource is 50.</p>
96
+ *
97
+ *
73
98
  * @example Example: Create service
74
99
  * ```javascript
75
100
  * // Example: Create service
@@ -30,6 +30,27 @@ export interface DeleteNamespaceCommandOutput extends DeleteNamespaceResponse, _
30
30
  * @see {@link DeleteNamespaceCommandOutput} for command's `response` shape.
31
31
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
32
32
  *
33
+ * @throws {@link DuplicateRequest} (client fault)
34
+ * <p>The operation is already in progress.</p>
35
+ *
36
+ * @throws {@link InvalidInput} (client fault)
37
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
38
+ * numeric value might be outside the allowed range, or a string value might exceed length
39
+ * constraints.</p>
40
+ *
41
+ * @throws {@link NamespaceNotFound} (client fault)
42
+ * <p>No namespace exists with the specified ID.</p>
43
+ *
44
+ * @throws {@link RequestLimitExceeded} (client fault)
45
+ * <p>The operation can't be completed because you've reached the quota for the number of
46
+ * 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
47
+ * <i>Cloud Map Developer Guide</i>.</p>
48
+ *
49
+ * @throws {@link ResourceInUse} (client fault)
50
+ * <p>The specified resource can't be deleted because it contains other resources. For example,
51
+ * you can't delete a service that contains any instances.</p>
52
+ *
53
+ *
33
54
  * @example Example: Delete namespace
34
55
  * ```javascript
35
56
  * // Example: Delete namespace
@@ -30,6 +30,24 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
30
30
  * @see {@link DeleteServiceCommandOutput} for command's `response` shape.
31
31
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidInput} (client fault)
34
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
35
+ * numeric value might be outside the allowed range, or a string value might exceed length
36
+ * constraints.</p>
37
+ *
38
+ * @throws {@link RequestLimitExceeded} (client fault)
39
+ * <p>The operation can't be completed because you've reached the quota for the number of
40
+ * 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
41
+ * <i>Cloud Map Developer Guide</i>.</p>
42
+ *
43
+ * @throws {@link ResourceInUse} (client fault)
44
+ * <p>The specified resource can't be deleted because it contains other resources. For example,
45
+ * you can't delete a service that contains any instances.</p>
46
+ *
47
+ * @throws {@link ServiceNotFound} (client fault)
48
+ * <p>No service exists with the specified ID.</p>
49
+ *
50
+ *
33
51
  * @example Example: Delete service
34
52
  * ```javascript
35
53
  * // Example: Delete service
@@ -30,6 +30,31 @@ export interface DeregisterInstanceCommandOutput extends DeregisterInstanceRespo
30
30
  * @see {@link DeregisterInstanceCommandOutput} for command's `response` shape.
31
31
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
32
32
  *
33
+ * @throws {@link DuplicateRequest} (client fault)
34
+ * <p>The operation is already in progress.</p>
35
+ *
36
+ * @throws {@link InstanceNotFound} (client fault)
37
+ * <p>No instance exists with the specified ID, or the instance was recently registered, and
38
+ * information about the instance hasn't propagated yet.</p>
39
+ *
40
+ * @throws {@link InvalidInput} (client fault)
41
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
42
+ * numeric value might be outside the allowed range, or a string value might exceed length
43
+ * constraints.</p>
44
+ *
45
+ * @throws {@link RequestLimitExceeded} (client fault)
46
+ * <p>The operation can't be completed because you've reached the quota for the number of
47
+ * 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
48
+ * <i>Cloud Map Developer Guide</i>.</p>
49
+ *
50
+ * @throws {@link ResourceInUse} (client fault)
51
+ * <p>The specified resource can't be deleted because it contains other resources. For example,
52
+ * you can't delete a service that contains any instances.</p>
53
+ *
54
+ * @throws {@link ServiceNotFound} (client fault)
55
+ * <p>No service exists with the specified ID.</p>
56
+ *
57
+ *
33
58
  * @example Example: Deregister a service instance
34
59
  * ```javascript
35
60
  * // Example: Deregister a service instance
@@ -31,6 +31,23 @@ export interface DiscoverInstancesCommandOutput extends DiscoverInstancesRespons
31
31
  * @see {@link DiscoverInstancesCommandOutput} for command's `response` shape.
32
32
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidInput} (client fault)
35
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
36
+ * numeric value might be outside the allowed range, or a string value might exceed length
37
+ * constraints.</p>
38
+ *
39
+ * @throws {@link NamespaceNotFound} (client fault)
40
+ * <p>No namespace exists with the specified ID.</p>
41
+ *
42
+ * @throws {@link RequestLimitExceeded} (client fault)
43
+ * <p>The operation can't be completed because you've reached the quota for the number of
44
+ * 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
45
+ * <i>Cloud Map Developer Guide</i>.</p>
46
+ *
47
+ * @throws {@link ServiceNotFound} (client fault)
48
+ * <p>No service exists with the specified ID.</p>
49
+ *
50
+ *
34
51
  * @example Example: Discover registered instances
35
52
  * ```javascript
36
53
  * // Example: Discover registered instances
@@ -29,6 +29,24 @@ export interface GetInstanceCommandOutput extends GetInstanceResponse, __Metadat
29
29
  * @see {@link GetInstanceCommandOutput} for command's `response` shape.
30
30
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
31
31
  *
32
+ * @throws {@link InstanceNotFound} (client fault)
33
+ * <p>No instance exists with the specified ID, or the instance was recently registered, and
34
+ * information about the instance hasn't propagated yet.</p>
35
+ *
36
+ * @throws {@link InvalidInput} (client fault)
37
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
38
+ * numeric value might be outside the allowed range, or a string value might exceed length
39
+ * constraints.</p>
40
+ *
41
+ * @throws {@link RequestLimitExceeded} (client fault)
42
+ * <p>The operation can't be completed because you've reached the quota for the number of
43
+ * 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
44
+ * <i>Cloud Map Developer Guide</i>.</p>
45
+ *
46
+ * @throws {@link ServiceNotFound} (client fault)
47
+ * <p>No service exists with the specified ID.</p>
48
+ *
49
+ *
32
50
  * @example GetInstance example
33
51
  * ```javascript
34
52
  * // This example gets information about a specified instance.
@@ -35,6 +35,24 @@ export interface GetInstancesHealthStatusCommandOutput extends GetInstancesHealt
35
35
  * @see {@link GetInstancesHealthStatusCommandOutput} for command's `response` shape.
36
36
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
37
37
  *
38
+ * @throws {@link InstanceNotFound} (client fault)
39
+ * <p>No instance exists with the specified ID, or the instance was recently registered, and
40
+ * information about the instance hasn't propagated yet.</p>
41
+ *
42
+ * @throws {@link InvalidInput} (client fault)
43
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
44
+ * numeric value might be outside the allowed range, or a string value might exceed length
45
+ * constraints.</p>
46
+ *
47
+ * @throws {@link RequestLimitExceeded} (client fault)
48
+ * <p>The operation can't be completed because you've reached the quota for the number of
49
+ * 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
50
+ * <i>Cloud Map Developer Guide</i>.</p>
51
+ *
52
+ * @throws {@link ServiceNotFound} (client fault)
53
+ * <p>No service exists with the specified ID.</p>
54
+ *
55
+ *
38
56
  * @example GetInstancesHealthStatus example
39
57
  * ```javascript
40
58
  * // This example gets the current health status of one or more instances that are associate with a specified service.
@@ -29,6 +29,15 @@ export interface GetNamespaceCommandOutput extends GetNamespaceResponse, __Metad
29
29
  * @see {@link GetNamespaceCommandOutput} for command's `response` shape.
30
30
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidInput} (client fault)
33
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
34
+ * numeric value might be outside the allowed range, or a string value might exceed length
35
+ * constraints.</p>
36
+ *
37
+ * @throws {@link NamespaceNotFound} (client fault)
38
+ * <p>No namespace exists with the specified ID.</p>
39
+ *
40
+ *
32
41
  * @example GetNamespace example
33
42
  * ```javascript
34
43
  * // This example gets information about a specified namespace.
@@ -33,6 +33,20 @@ export interface GetOperationCommandOutput extends GetOperationResponse, __Metad
33
33
  * @see {@link GetOperationCommandOutput} for command's `response` shape.
34
34
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
35
35
  *
36
+ * @throws {@link InvalidInput} (client fault)
37
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
38
+ * numeric value might be outside the allowed range, or a string value might exceed length
39
+ * constraints.</p>
40
+ *
41
+ * @throws {@link OperationNotFound} (client fault)
42
+ * <p>No operation exists with the specified ID.</p>
43
+ *
44
+ * @throws {@link RequestLimitExceeded} (client fault)
45
+ * <p>The operation can't be completed because you've reached the quota for the number of
46
+ * 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
47
+ * <i>Cloud Map Developer Guide</i>.</p>
48
+ *
49
+ *
36
50
  * @example Example: Get operation result
37
51
  * ```javascript
38
52
  * // Example: Get operation result
@@ -29,6 +29,20 @@ export interface GetServiceCommandOutput extends GetServiceResponse, __MetadataB
29
29
  * @see {@link GetServiceCommandOutput} for command's `response` shape.
30
30
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidInput} (client fault)
33
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
34
+ * numeric value might be outside the allowed range, or a string value might exceed length
35
+ * constraints.</p>
36
+ *
37
+ * @throws {@link RequestLimitExceeded} (client fault)
38
+ * <p>The operation can't be completed because you've reached the quota for the number of
39
+ * 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
40
+ * <i>Cloud Map Developer Guide</i>.</p>
41
+ *
42
+ * @throws {@link ServiceNotFound} (client fault)
43
+ * <p>No service exists with the specified ID.</p>
44
+ *
45
+ *
32
46
  * @example GetService Example
33
47
  * ```javascript
34
48
  * // This example gets the settings for a specified service.
@@ -30,6 +30,20 @@ export interface ListInstancesCommandOutput extends ListInstancesResponse, __Met
30
30
  * @see {@link ListInstancesCommandOutput} for command's `response` shape.
31
31
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidInput} (client fault)
34
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
35
+ * numeric value might be outside the allowed range, or a string value might exceed length
36
+ * constraints.</p>
37
+ *
38
+ * @throws {@link RequestLimitExceeded} (client fault)
39
+ * <p>The operation can't be completed because you've reached the quota for the number of
40
+ * 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
41
+ * <i>Cloud Map Developer Guide</i>.</p>
42
+ *
43
+ * @throws {@link ServiceNotFound} (client fault)
44
+ * <p>No service exists with the specified ID.</p>
45
+ *
46
+ *
33
47
  * @example Example: List service instances
34
48
  * ```javascript
35
49
  * // Example: List service instances
@@ -29,6 +29,17 @@ export interface ListNamespacesCommandOutput extends ListNamespacesResponse, __M
29
29
  * @see {@link ListNamespacesCommandOutput} for command's `response` shape.
30
30
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidInput} (client fault)
33
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
34
+ * numeric value might be outside the allowed range, or a string value might exceed length
35
+ * constraints.</p>
36
+ *
37
+ * @throws {@link RequestLimitExceeded} (client fault)
38
+ * <p>The operation can't be completed because you've reached the quota for the number of
39
+ * 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
40
+ * <i>Cloud Map Developer Guide</i>.</p>
41
+ *
42
+ *
32
43
  * @example Example: List namespaces
33
44
  * ```javascript
34
45
  * // Example: List namespaces
@@ -29,6 +29,17 @@ export interface ListOperationsCommandOutput extends ListOperationsResponse, __M
29
29
  * @see {@link ListOperationsCommandOutput} for command's `response` shape.
30
30
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidInput} (client fault)
33
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
34
+ * numeric value might be outside the allowed range, or a string value might exceed length
35
+ * constraints.</p>
36
+ *
37
+ * @throws {@link RequestLimitExceeded} (client fault)
38
+ * <p>The operation can't be completed because you've reached the quota for the number of
39
+ * 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
40
+ * <i>Cloud Map Developer Guide</i>.</p>
41
+ *
42
+ *
32
43
  * @example ListOperations Example
33
44
  * ```javascript
34
45
  * // This example gets the operations that have a STATUS of either PENDING or SUCCESS.
@@ -30,6 +30,17 @@ export interface ListServicesCommandOutput extends ListServicesResponse, __Metad
30
30
  * @see {@link ListServicesCommandOutput} for command's `response` shape.
31
31
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
32
32
  *
33
+ * @throws {@link InvalidInput} (client fault)
34
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
35
+ * numeric value might be outside the allowed range, or a string value might exceed length
36
+ * constraints.</p>
37
+ *
38
+ * @throws {@link RequestLimitExceeded} (client fault)
39
+ * <p>The operation can't be completed because you've reached the quota for the number of
40
+ * 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
41
+ * <i>Cloud Map Developer Guide</i>.</p>
42
+ *
43
+ *
33
44
  * @example Example: List services
34
45
  * ```javascript
35
46
  * // Example: List services
@@ -29,6 +29,20 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
29
29
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
30
30
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidInput} (client fault)
33
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
34
+ * numeric value might be outside the allowed range, or a string value might exceed length
35
+ * constraints.</p>
36
+ *
37
+ * @throws {@link RequestLimitExceeded} (client fault)
38
+ * <p>The operation can't be completed because you've reached the quota for the number of
39
+ * 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
40
+ * <i>Cloud Map Developer Guide</i>.</p>
41
+ *
42
+ * @throws {@link ResourceNotFoundException} (client fault)
43
+ * <p>The operation can't be completed because the resource was not found.</p>
44
+ *
45
+ *
32
46
  * @example ListTagsForResource example
33
47
  * ```javascript
34
48
  * // This example lists the tags of a resource.
@@ -72,6 +72,31 @@ export interface RegisterInstanceCommandOutput extends RegisterInstanceResponse,
72
72
  * @see {@link RegisterInstanceCommandOutput} for command's `response` shape.
73
73
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
74
74
  *
75
+ * @throws {@link DuplicateRequest} (client fault)
76
+ * <p>The operation is already in progress.</p>
77
+ *
78
+ * @throws {@link InvalidInput} (client fault)
79
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
80
+ * numeric value might be outside the allowed range, or a string value might exceed length
81
+ * constraints.</p>
82
+ *
83
+ * @throws {@link RequestLimitExceeded} (client fault)
84
+ * <p>The operation can't be completed because you've reached the quota for the number of
85
+ * 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
86
+ * <i>Cloud Map Developer Guide</i>.</p>
87
+ *
88
+ * @throws {@link ResourceInUse} (client fault)
89
+ * <p>The specified resource can't be deleted because it contains other resources. For example,
90
+ * you can't delete a service that contains any instances.</p>
91
+ *
92
+ * @throws {@link ResourceLimitExceeded} (client fault)
93
+ * <p>The resource can't be created because you've reached the quota on the number of
94
+ * resources.</p>
95
+ *
96
+ * @throws {@link ServiceNotFound} (client fault)
97
+ * <p>No service exists with the specified ID.</p>
98
+ *
99
+ *
75
100
  * @example Example: Register Instance
76
101
  * ```javascript
77
102
  * // Example: Register Instance
@@ -29,6 +29,24 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
29
29
  * @see {@link TagResourceCommandOutput} for command's `response` shape.
30
30
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidInput} (client fault)
33
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
34
+ * numeric value might be outside the allowed range, or a string value might exceed length
35
+ * constraints.</p>
36
+ *
37
+ * @throws {@link RequestLimitExceeded} (client fault)
38
+ * <p>The operation can't be completed because you've reached the quota for the number of
39
+ * 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
40
+ * <i>Cloud Map Developer Guide</i>.</p>
41
+ *
42
+ * @throws {@link ResourceNotFoundException} (client fault)
43
+ * <p>The operation can't be completed because the resource was not found.</p>
44
+ *
45
+ * @throws {@link TooManyTagsException} (client fault)
46
+ * <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
47
+ * applied to a resource is 50.</p>
48
+ *
49
+ *
32
50
  * @example TagResource example
33
51
  * ```javascript
34
52
  * // This example adds "Department" and "Project" tags to a resource.
@@ -29,6 +29,20 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
29
29
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
30
30
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidInput} (client fault)
33
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
34
+ * numeric value might be outside the allowed range, or a string value might exceed length
35
+ * constraints.</p>
36
+ *
37
+ * @throws {@link RequestLimitExceeded} (client fault)
38
+ * <p>The operation can't be completed because you've reached the quota for the number of
39
+ * 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
40
+ * <i>Cloud Map Developer Guide</i>.</p>
41
+ *
42
+ * @throws {@link ResourceNotFoundException} (client fault)
43
+ * <p>The operation can't be completed because the resource was not found.</p>
44
+ *
45
+ *
32
46
  * @example UntagResource example
33
47
  * ```javascript
34
48
  * // This example removes the "Department" and "Project" tags from a resource.
@@ -30,6 +30,27 @@ export interface UpdateHttpNamespaceCommandOutput extends UpdateHttpNamespaceRes
30
30
  * @see {@link UpdateHttpNamespaceCommandOutput} for command's `response` shape.
31
31
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
32
32
  *
33
+ * @throws {@link DuplicateRequest} (client fault)
34
+ * <p>The operation is already in progress.</p>
35
+ *
36
+ * @throws {@link InvalidInput} (client fault)
37
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
38
+ * numeric value might be outside the allowed range, or a string value might exceed length
39
+ * constraints.</p>
40
+ *
41
+ * @throws {@link NamespaceNotFound} (client fault)
42
+ * <p>No namespace exists with the specified ID.</p>
43
+ *
44
+ * @throws {@link RequestLimitExceeded} (client fault)
45
+ * <p>The operation can't be completed because you've reached the quota for the number of
46
+ * 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
47
+ * <i>Cloud Map Developer Guide</i>.</p>
48
+ *
49
+ * @throws {@link ResourceInUse} (client fault)
50
+ * <p>The specified resource can't be deleted because it contains other resources. For example,
51
+ * you can't delete a service that contains any instances.</p>
52
+ *
53
+ *
33
54
  */
34
55
  export declare class UpdateHttpNamespaceCommand extends $Command<UpdateHttpNamespaceCommandInput, UpdateHttpNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
35
56
  readonly input: UpdateHttpNamespaceCommandInput;
@@ -35,6 +35,28 @@ export interface UpdateInstanceCustomHealthStatusCommandOutput extends __Metadat
35
35
  * @see {@link UpdateInstanceCustomHealthStatusCommandOutput} for command's `response` shape.
36
36
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
37
37
  *
38
+ * @throws {@link CustomHealthNotFound} (client fault)
39
+ * <p>The health check for the instance that's specified by <code>ServiceId</code> and
40
+ * <code>InstanceId</code> isn't a custom health check. </p>
41
+ *
42
+ * @throws {@link InstanceNotFound} (client fault)
43
+ * <p>No instance exists with the specified ID, or the instance was recently registered, and
44
+ * information about the instance hasn't propagated yet.</p>
45
+ *
46
+ * @throws {@link InvalidInput} (client fault)
47
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
48
+ * numeric value might be outside the allowed range, or a string value might exceed length
49
+ * constraints.</p>
50
+ *
51
+ * @throws {@link RequestLimitExceeded} (client fault)
52
+ * <p>The operation can't be completed because you've reached the quota for the number of
53
+ * 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
54
+ * <i>Cloud Map Developer Guide</i>.</p>
55
+ *
56
+ * @throws {@link ServiceNotFound} (client fault)
57
+ * <p>No service exists with the specified ID.</p>
58
+ *
59
+ *
38
60
  * @example UpdateInstanceCustomHealthStatus Example
39
61
  * ```javascript
40
62
  * // This example submits a request to change the health status of an instance associated with a service with a custom health check to HEALTHY.
@@ -30,6 +30,27 @@ export interface UpdatePrivateDnsNamespaceCommandOutput extends UpdatePrivateDns
30
30
  * @see {@link UpdatePrivateDnsNamespaceCommandOutput} for command's `response` shape.
31
31
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
32
32
  *
33
+ * @throws {@link DuplicateRequest} (client fault)
34
+ * <p>The operation is already in progress.</p>
35
+ *
36
+ * @throws {@link InvalidInput} (client fault)
37
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
38
+ * numeric value might be outside the allowed range, or a string value might exceed length
39
+ * constraints.</p>
40
+ *
41
+ * @throws {@link NamespaceNotFound} (client fault)
42
+ * <p>No namespace exists with the specified ID.</p>
43
+ *
44
+ * @throws {@link RequestLimitExceeded} (client fault)
45
+ * <p>The operation can't be completed because you've reached the quota for the number of
46
+ * 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
47
+ * <i>Cloud Map Developer Guide</i>.</p>
48
+ *
49
+ * @throws {@link ResourceInUse} (client fault)
50
+ * <p>The specified resource can't be deleted because it contains other resources. For example,
51
+ * you can't delete a service that contains any instances.</p>
52
+ *
53
+ *
33
54
  */
34
55
  export declare class UpdatePrivateDnsNamespaceCommand extends $Command<UpdatePrivateDnsNamespaceCommandInput, UpdatePrivateDnsNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
35
56
  readonly input: UpdatePrivateDnsNamespaceCommandInput;
@@ -30,6 +30,27 @@ export interface UpdatePublicDnsNamespaceCommandOutput extends UpdatePublicDnsNa
30
30
  * @see {@link UpdatePublicDnsNamespaceCommandOutput} for command's `response` shape.
31
31
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
32
32
  *
33
+ * @throws {@link DuplicateRequest} (client fault)
34
+ * <p>The operation is already in progress.</p>
35
+ *
36
+ * @throws {@link InvalidInput} (client fault)
37
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
38
+ * numeric value might be outside the allowed range, or a string value might exceed length
39
+ * constraints.</p>
40
+ *
41
+ * @throws {@link NamespaceNotFound} (client fault)
42
+ * <p>No namespace exists with the specified ID.</p>
43
+ *
44
+ * @throws {@link RequestLimitExceeded} (client fault)
45
+ * <p>The operation can't be completed because you've reached the quota for the number of
46
+ * 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
47
+ * <i>Cloud Map Developer Guide</i>.</p>
48
+ *
49
+ * @throws {@link ResourceInUse} (client fault)
50
+ * <p>The specified resource can't be deleted because it contains other resources. For example,
51
+ * you can't delete a service that contains any instances.</p>
52
+ *
53
+ *
33
54
  */
34
55
  export declare class UpdatePublicDnsNamespaceCommand extends $Command<UpdatePublicDnsNamespaceCommandInput, UpdatePublicDnsNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
35
56
  readonly input: UpdatePublicDnsNamespaceCommandInput;
@@ -55,6 +55,23 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
55
55
  * @see {@link UpdateServiceCommandOutput} for command's `response` shape.
56
56
  * @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
57
57
  *
58
+ * @throws {@link DuplicateRequest} (client fault)
59
+ * <p>The operation is already in progress.</p>
60
+ *
61
+ * @throws {@link InvalidInput} (client fault)
62
+ * <p>One or more specified values aren't valid. For example, a required value might be missing, a
63
+ * numeric value might be outside the allowed range, or a string value might exceed length
64
+ * constraints.</p>
65
+ *
66
+ * @throws {@link RequestLimitExceeded} (client fault)
67
+ * <p>The operation can't be completed because you've reached the quota for the number of
68
+ * 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
69
+ * <i>Cloud Map Developer Guide</i>.</p>
70
+ *
71
+ * @throws {@link ServiceNotFound} (client fault)
72
+ * <p>No service exists with the specified ID.</p>
73
+ *
74
+ *
58
75
  * @example UpdateService Example
59
76
  * ```javascript
60
77
  * // This example submits a request to replace the DnsConfig and HealthCheckConfig settings of a specified service.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-servicediscovery",
3
3
  "description": "AWS SDK for JavaScript Servicediscovery Client for Node.js, Browser and React Native",
4
- "version": "3.289.0",
4
+ "version": "3.290.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,37 +20,37 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.289.0",
24
- "@aws-sdk/config-resolver": "3.289.0",
25
- "@aws-sdk/credential-provider-node": "3.289.0",
26
- "@aws-sdk/fetch-http-handler": "3.289.0",
27
- "@aws-sdk/hash-node": "3.289.0",
28
- "@aws-sdk/invalid-dependency": "3.289.0",
29
- "@aws-sdk/middleware-content-length": "3.289.0",
30
- "@aws-sdk/middleware-endpoint": "3.289.0",
31
- "@aws-sdk/middleware-host-header": "3.289.0",
32
- "@aws-sdk/middleware-logger": "3.289.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.289.0",
34
- "@aws-sdk/middleware-retry": "3.289.0",
35
- "@aws-sdk/middleware-serde": "3.289.0",
36
- "@aws-sdk/middleware-signing": "3.289.0",
37
- "@aws-sdk/middleware-stack": "3.289.0",
38
- "@aws-sdk/middleware-user-agent": "3.289.0",
39
- "@aws-sdk/node-config-provider": "3.289.0",
40
- "@aws-sdk/node-http-handler": "3.289.0",
41
- "@aws-sdk/protocol-http": "3.289.0",
42
- "@aws-sdk/smithy-client": "3.289.0",
43
- "@aws-sdk/types": "3.289.0",
44
- "@aws-sdk/url-parser": "3.289.0",
23
+ "@aws-sdk/client-sts": "3.290.0",
24
+ "@aws-sdk/config-resolver": "3.290.0",
25
+ "@aws-sdk/credential-provider-node": "3.290.0",
26
+ "@aws-sdk/fetch-http-handler": "3.290.0",
27
+ "@aws-sdk/hash-node": "3.290.0",
28
+ "@aws-sdk/invalid-dependency": "3.290.0",
29
+ "@aws-sdk/middleware-content-length": "3.290.0",
30
+ "@aws-sdk/middleware-endpoint": "3.290.0",
31
+ "@aws-sdk/middleware-host-header": "3.290.0",
32
+ "@aws-sdk/middleware-logger": "3.290.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.290.0",
34
+ "@aws-sdk/middleware-retry": "3.290.0",
35
+ "@aws-sdk/middleware-serde": "3.290.0",
36
+ "@aws-sdk/middleware-signing": "3.290.0",
37
+ "@aws-sdk/middleware-stack": "3.290.0",
38
+ "@aws-sdk/middleware-user-agent": "3.290.0",
39
+ "@aws-sdk/node-config-provider": "3.290.0",
40
+ "@aws-sdk/node-http-handler": "3.290.0",
41
+ "@aws-sdk/protocol-http": "3.290.0",
42
+ "@aws-sdk/smithy-client": "3.290.0",
43
+ "@aws-sdk/types": "3.290.0",
44
+ "@aws-sdk/url-parser": "3.290.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.289.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.289.0",
50
- "@aws-sdk/util-endpoints": "3.289.0",
51
- "@aws-sdk/util-retry": "3.289.0",
52
- "@aws-sdk/util-user-agent-browser": "3.289.0",
53
- "@aws-sdk/util-user-agent-node": "3.289.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.290.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.290.0",
50
+ "@aws-sdk/util-endpoints": "3.290.0",
51
+ "@aws-sdk/util-retry": "3.290.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.290.0",
53
+ "@aws-sdk/util-user-agent-node": "3.290.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "tslib": "^2.3.1",
56
56
  "uuid": "^8.3.2"