@aws-sdk/client-servicediscovery 3.864.0 → 3.868.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.
- package/README.md +6 -5
- package/dist-cjs/index.js +16 -1
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +7 -0
- package/dist-types/ServiceDiscovery.d.ts +6 -5
- package/dist-types/ServiceDiscoveryClient.d.ts +6 -5
- package/dist-types/commands/CreateHttpNamespaceCommand.d.ts +12 -9
- package/dist-types/commands/CreatePrivateDnsNamespaceCommand.d.ts +14 -11
- package/dist-types/commands/CreatePublicDnsNamespaceCommand.d.ts +14 -13
- package/dist-types/commands/CreateServiceCommand.d.ts +14 -10
- package/dist-types/commands/DeleteNamespaceCommand.d.ts +7 -6
- package/dist-types/commands/DeleteServiceAttributesCommand.d.ts +3 -2
- package/dist-types/commands/DeleteServiceCommand.d.ts +7 -6
- package/dist-types/commands/DeregisterInstanceCommand.d.ts +9 -8
- package/dist-types/commands/DiscoverInstancesCommand.d.ts +11 -8
- package/dist-types/commands/DiscoverInstancesRevisionCommand.d.ts +7 -5
- package/dist-types/commands/GetInstanceCommand.d.ts +7 -4
- package/dist-types/commands/GetInstancesHealthStatusCommand.d.ts +10 -8
- package/dist-types/commands/GetNamespaceCommand.d.ts +4 -2
- package/dist-types/commands/GetOperationCommand.d.ts +5 -2
- package/dist-types/commands/GetServiceAttributesCommand.d.ts +4 -2
- package/dist-types/commands/GetServiceCommand.d.ts +5 -2
- package/dist-types/commands/ListInstancesCommand.d.ts +7 -3
- package/dist-types/commands/ListNamespacesCommand.d.ts +6 -4
- package/dist-types/commands/ListOperationsCommand.d.ts +3 -2
- package/dist-types/commands/ListServicesCommand.d.ts +6 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -2
- package/dist-types/commands/RegisterInstanceCommand.d.ts +28 -22
- package/dist-types/commands/TagResourceCommand.d.ts +5 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -2
- package/dist-types/commands/UpdateHttpNamespaceCommand.d.ts +5 -4
- package/dist-types/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +13 -10
- package/dist-types/commands/UpdatePrivateDnsNamespaceCommand.d.ts +5 -4
- package/dist-types/commands/UpdatePublicDnsNamespaceCommand.d.ts +6 -6
- package/dist-types/commands/UpdateServiceAttributesCommand.d.ts +5 -3
- package/dist-types/commands/UpdateServiceCommand.d.ts +24 -7
- package/dist-types/index.d.ts +6 -5
- package/dist-types/models/models_0.d.ts +960 -686
- package/dist-types/ts3.4/models/models_0.d.ts +18 -0
- package/package.json +1 -1
|
@@ -41,12 +41,14 @@ declare const GetInstanceCommand_base: {
|
|
|
41
41
|
* const command = new GetInstanceCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
43
|
* // { // GetInstanceResponse
|
|
44
|
+
* // ResourceOwner: "STRING_VALUE",
|
|
44
45
|
* // Instance: { // Instance
|
|
45
46
|
* // Id: "STRING_VALUE", // required
|
|
46
47
|
* // CreatorRequestId: "STRING_VALUE",
|
|
47
48
|
* // Attributes: { // Attributes
|
|
48
49
|
* // "<keys>": "STRING_VALUE",
|
|
49
50
|
* // },
|
|
51
|
+
* // CreatedByAccount: "STRING_VALUE",
|
|
50
52
|
* // },
|
|
51
53
|
* // };
|
|
52
54
|
*
|
|
@@ -59,12 +61,13 @@ declare const GetInstanceCommand_base: {
|
|
|
59
61
|
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
|
|
60
62
|
*
|
|
61
63
|
* @throws {@link InstanceNotFound} (client fault)
|
|
62
|
-
* <p>No instance exists with the specified ID, or the instance was recently registered, and
|
|
63
|
-
* the instance hasn't propagated yet.</p>
|
|
64
|
+
* <p>No instance exists with the specified ID, or the instance was recently registered, and
|
|
65
|
+
* information about the instance hasn't propagated yet.</p>
|
|
64
66
|
*
|
|
65
67
|
* @throws {@link InvalidInput} (client fault)
|
|
66
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
67
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
68
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
69
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
70
|
+
* constraints.</p>
|
|
68
71
|
*
|
|
69
72
|
* @throws {@link ServiceNotFound} (client fault)
|
|
70
73
|
* <p>No service exists with the specified ID.</p>
|
|
@@ -27,11 +27,12 @@ declare const GetInstancesHealthStatusCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Gets the current health status (<code>Healthy</code>, <code>Unhealthy</code>, or
|
|
31
|
-
*
|
|
30
|
+
* <p>Gets the current health status (<code>Healthy</code>, <code>Unhealthy</code>, or
|
|
31
|
+
* <code>Unknown</code>) of one or more instances that are associated with a specified
|
|
32
|
+
* service.</p>
|
|
32
33
|
* <note>
|
|
33
|
-
* <p>There's a brief delay between when you register an instance and when the health status for
|
|
34
|
-
* available. </p>
|
|
34
|
+
* <p>There's a brief delay between when you register an instance and when the health status for
|
|
35
|
+
* the instance is available. </p>
|
|
35
36
|
* </note>
|
|
36
37
|
* @example
|
|
37
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -65,12 +66,13 @@ declare const GetInstancesHealthStatusCommand_base: {
|
|
|
65
66
|
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
|
|
66
67
|
*
|
|
67
68
|
* @throws {@link InstanceNotFound} (client fault)
|
|
68
|
-
* <p>No instance exists with the specified ID, or the instance was recently registered, and
|
|
69
|
-
* the instance hasn't propagated yet.</p>
|
|
69
|
+
* <p>No instance exists with the specified ID, or the instance was recently registered, and
|
|
70
|
+
* information about the instance hasn't propagated yet.</p>
|
|
70
71
|
*
|
|
71
72
|
* @throws {@link InvalidInput} (client fault)
|
|
72
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
73
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
73
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
74
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
75
|
+
* constraints.</p>
|
|
74
76
|
*
|
|
75
77
|
* @throws {@link ServiceNotFound} (client fault)
|
|
76
78
|
* <p>No service exists with the specified ID.</p>
|
|
@@ -43,6 +43,7 @@ declare const GetNamespaceCommand_base: {
|
|
|
43
43
|
* // Namespace: { // Namespace
|
|
44
44
|
* // Id: "STRING_VALUE",
|
|
45
45
|
* // Arn: "STRING_VALUE",
|
|
46
|
+
* // ResourceOwner: "STRING_VALUE",
|
|
46
47
|
* // Name: "STRING_VALUE",
|
|
47
48
|
* // Type: "DNS_PUBLIC" || "DNS_PRIVATE" || "HTTP",
|
|
48
49
|
* // Description: "STRING_VALUE",
|
|
@@ -72,8 +73,9 @@ declare const GetNamespaceCommand_base: {
|
|
|
72
73
|
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
|
|
73
74
|
*
|
|
74
75
|
* @throws {@link InvalidInput} (client fault)
|
|
75
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
76
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
76
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
77
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
78
|
+
* constraints.</p>
|
|
77
79
|
*
|
|
78
80
|
* @throws {@link NamespaceNotFound} (client fault)
|
|
79
81
|
* <p>No namespace exists with the specified ID.</p>
|
|
@@ -40,12 +40,14 @@ declare const GetOperationCommand_base: {
|
|
|
40
40
|
* const client = new ServiceDiscoveryClient(config);
|
|
41
41
|
* const input = { // GetOperationRequest
|
|
42
42
|
* OperationId: "STRING_VALUE", // required
|
|
43
|
+
* OwnerAccount: "STRING_VALUE",
|
|
43
44
|
* };
|
|
44
45
|
* const command = new GetOperationCommand(input);
|
|
45
46
|
* const response = await client.send(command);
|
|
46
47
|
* // { // GetOperationResponse
|
|
47
48
|
* // Operation: { // Operation
|
|
48
49
|
* // Id: "STRING_VALUE",
|
|
50
|
+
* // OwnerAccount: "STRING_VALUE",
|
|
49
51
|
* // Type: "CREATE_NAMESPACE" || "DELETE_NAMESPACE" || "UPDATE_NAMESPACE" || "UPDATE_SERVICE" || "REGISTER_INSTANCE" || "DEREGISTER_INSTANCE",
|
|
50
52
|
* // Status: "SUBMITTED" || "PENDING" || "SUCCESS" || "FAIL",
|
|
51
53
|
* // ErrorMessage: "STRING_VALUE",
|
|
@@ -67,8 +69,9 @@ declare const GetOperationCommand_base: {
|
|
|
67
69
|
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
|
|
68
70
|
*
|
|
69
71
|
* @throws {@link InvalidInput} (client fault)
|
|
70
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
71
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
72
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
73
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
74
|
+
* constraints.</p>
|
|
72
75
|
*
|
|
73
76
|
* @throws {@link OperationNotFound} (client fault)
|
|
74
77
|
* <p>No operation exists with the specified ID.</p>
|
|
@@ -42,6 +42,7 @@ declare const GetServiceAttributesCommand_base: {
|
|
|
42
42
|
* // { // GetServiceAttributesResponse
|
|
43
43
|
* // ServiceAttributes: { // ServiceAttributes
|
|
44
44
|
* // ServiceArn: "STRING_VALUE",
|
|
45
|
+
* // ResourceOwner: "STRING_VALUE",
|
|
45
46
|
* // Attributes: { // ServiceAttributesMap
|
|
46
47
|
* // "<keys>": "STRING_VALUE",
|
|
47
48
|
* // },
|
|
@@ -57,8 +58,9 @@ declare const GetServiceAttributesCommand_base: {
|
|
|
57
58
|
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
|
|
58
59
|
*
|
|
59
60
|
* @throws {@link InvalidInput} (client fault)
|
|
60
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
61
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
61
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
62
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
63
|
+
* constraints.</p>
|
|
62
64
|
*
|
|
63
65
|
* @throws {@link ServiceNotFound} (client fault)
|
|
64
66
|
* <p>No service exists with the specified ID.</p>
|
|
@@ -43,6 +43,7 @@ declare const GetServiceCommand_base: {
|
|
|
43
43
|
* // Service: { // Service
|
|
44
44
|
* // Id: "STRING_VALUE",
|
|
45
45
|
* // Arn: "STRING_VALUE",
|
|
46
|
+
* // ResourceOwner: "STRING_VALUE",
|
|
46
47
|
* // Name: "STRING_VALUE",
|
|
47
48
|
* // NamespaceId: "STRING_VALUE",
|
|
48
49
|
* // Description: "STRING_VALUE",
|
|
@@ -68,6 +69,7 @@ declare const GetServiceCommand_base: {
|
|
|
68
69
|
* // },
|
|
69
70
|
* // CreateDate: new Date("TIMESTAMP"),
|
|
70
71
|
* // CreatorRequestId: "STRING_VALUE",
|
|
72
|
+
* // CreatedByAccount: "STRING_VALUE",
|
|
71
73
|
* // },
|
|
72
74
|
* // };
|
|
73
75
|
*
|
|
@@ -80,8 +82,9 @@ declare const GetServiceCommand_base: {
|
|
|
80
82
|
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
|
|
81
83
|
*
|
|
82
84
|
* @throws {@link InvalidInput} (client fault)
|
|
83
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
84
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
85
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
86
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
87
|
+
* constraints.</p>
|
|
85
88
|
*
|
|
86
89
|
* @throws {@link ServiceNotFound} (client fault)
|
|
87
90
|
* <p>No service exists with the specified ID.</p>
|
|
@@ -27,7 +27,8 @@ declare const ListInstancesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists summary information about the instances that you registered by using a specified
|
|
30
|
+
* <p>Lists summary information about the instances that you registered by using a specified
|
|
31
|
+
* service.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -42,12 +43,14 @@ declare const ListInstancesCommand_base: {
|
|
|
42
43
|
* const command = new ListInstancesCommand(input);
|
|
43
44
|
* const response = await client.send(command);
|
|
44
45
|
* // { // ListInstancesResponse
|
|
46
|
+
* // ResourceOwner: "STRING_VALUE",
|
|
45
47
|
* // Instances: [ // InstanceSummaryList
|
|
46
48
|
* // { // InstanceSummary
|
|
47
49
|
* // Id: "STRING_VALUE",
|
|
48
50
|
* // Attributes: { // Attributes
|
|
49
51
|
* // "<keys>": "STRING_VALUE",
|
|
50
52
|
* // },
|
|
53
|
+
* // CreatedByAccount: "STRING_VALUE",
|
|
51
54
|
* // },
|
|
52
55
|
* // ],
|
|
53
56
|
* // NextToken: "STRING_VALUE",
|
|
@@ -62,8 +65,9 @@ declare const ListInstancesCommand_base: {
|
|
|
62
65
|
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
|
|
63
66
|
*
|
|
64
67
|
* @throws {@link InvalidInput} (client fault)
|
|
65
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
66
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
68
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
69
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
70
|
+
* constraints.</p>
|
|
67
71
|
*
|
|
68
72
|
* @throws {@link ServiceNotFound} (client fault)
|
|
69
73
|
* <p>No service exists with the specified ID.</p>
|
|
@@ -27,7 +27,7 @@ declare const ListNamespacesCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists summary information about the namespaces that were created by the current Amazon Web Services account.</p>
|
|
30
|
+
* <p>Lists summary information about the namespaces that were created by the current Amazon Web Services account and shared with the current Amazon Web Services account.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -39,7 +39,7 @@ declare const ListNamespacesCommand_base: {
|
|
|
39
39
|
* MaxResults: Number("int"),
|
|
40
40
|
* Filters: [ // NamespaceFilters
|
|
41
41
|
* { // NamespaceFilter
|
|
42
|
-
* Name: "TYPE" || "NAME" || "HTTP_NAME", // required
|
|
42
|
+
* Name: "TYPE" || "NAME" || "HTTP_NAME" || "RESOURCE_OWNER", // required
|
|
43
43
|
* Values: [ // FilterValues // required
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
@@ -54,6 +54,7 @@ declare const ListNamespacesCommand_base: {
|
|
|
54
54
|
* // { // NamespaceSummary
|
|
55
55
|
* // Id: "STRING_VALUE",
|
|
56
56
|
* // Arn: "STRING_VALUE",
|
|
57
|
+
* // ResourceOwner: "STRING_VALUE",
|
|
57
58
|
* // Name: "STRING_VALUE",
|
|
58
59
|
* // Type: "DNS_PUBLIC" || "DNS_PRIVATE" || "HTTP",
|
|
59
60
|
* // Description: "STRING_VALUE",
|
|
@@ -84,8 +85,9 @@ declare const ListNamespacesCommand_base: {
|
|
|
84
85
|
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
|
|
85
86
|
*
|
|
86
87
|
* @throws {@link InvalidInput} (client fault)
|
|
87
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
88
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
88
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
89
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
90
|
+
* constraints.</p>
|
|
89
91
|
*
|
|
90
92
|
* @throws {@link ServiceDiscoveryServiceException}
|
|
91
93
|
* <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
|
|
@@ -68,8 +68,9 @@ declare const ListOperationsCommand_base: {
|
|
|
68
68
|
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link InvalidInput} (client fault)
|
|
71
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
72
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
71
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
72
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
73
|
+
* constraints.</p>
|
|
73
74
|
*
|
|
74
75
|
* @throws {@link ServiceDiscoveryServiceException}
|
|
75
76
|
* <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
|
|
@@ -40,7 +40,7 @@ declare const ListServicesCommand_base: {
|
|
|
40
40
|
* MaxResults: Number("int"),
|
|
41
41
|
* Filters: [ // ServiceFilters
|
|
42
42
|
* { // ServiceFilter
|
|
43
|
-
* Name: "NAMESPACE_ID", // required
|
|
43
|
+
* Name: "NAMESPACE_ID" || "RESOURCE_OWNER", // required
|
|
44
44
|
* Values: [ // FilterValues // required
|
|
45
45
|
* "STRING_VALUE",
|
|
46
46
|
* ],
|
|
@@ -55,6 +55,7 @@ declare const ListServicesCommand_base: {
|
|
|
55
55
|
* // { // ServiceSummary
|
|
56
56
|
* // Id: "STRING_VALUE",
|
|
57
57
|
* // Arn: "STRING_VALUE",
|
|
58
|
+
* // ResourceOwner: "STRING_VALUE",
|
|
58
59
|
* // Name: "STRING_VALUE",
|
|
59
60
|
* // Type: "HTTP" || "DNS_HTTP" || "DNS",
|
|
60
61
|
* // Description: "STRING_VALUE",
|
|
@@ -78,6 +79,7 @@ declare const ListServicesCommand_base: {
|
|
|
78
79
|
* // FailureThreshold: Number("int"),
|
|
79
80
|
* // },
|
|
80
81
|
* // CreateDate: new Date("TIMESTAMP"),
|
|
82
|
+
* // CreatedByAccount: "STRING_VALUE",
|
|
81
83
|
* // },
|
|
82
84
|
* // ],
|
|
83
85
|
* // NextToken: "STRING_VALUE",
|
|
@@ -92,8 +94,9 @@ declare const ListServicesCommand_base: {
|
|
|
92
94
|
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
|
|
93
95
|
*
|
|
94
96
|
* @throws {@link InvalidInput} (client fault)
|
|
95
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
96
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
97
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
98
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
99
|
+
* constraints.</p>
|
|
97
100
|
*
|
|
98
101
|
* @throws {@link ServiceDiscoveryServiceException}
|
|
99
102
|
* <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
|
|
@@ -57,8 +57,9 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
57
57
|
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link InvalidInput} (client fault)
|
|
60
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
61
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
60
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
61
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
62
|
+
* constraints.</p>
|
|
62
63
|
*
|
|
63
64
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
65
|
* <p>The operation can't be completed because the resource was not found.</p>
|
|
@@ -27,46 +27,50 @@ declare const RegisterInstanceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates or updates one or more records and, optionally, creates a health check based on the
|
|
31
|
-
* specified service. When you submit a <code>RegisterInstance</code> request, the
|
|
30
|
+
* <p>Creates or updates one or more records and, optionally, creates a health check based on the
|
|
31
|
+
* settings in a specified service. When you submit a <code>RegisterInstance</code> request, the
|
|
32
|
+
* following occurs:</p>
|
|
32
33
|
* <ul>
|
|
33
34
|
* <li>
|
|
34
|
-
* <p>For each DNS record that you define in the service that's specified by
|
|
35
|
-
*
|
|
35
|
+
* <p>For each DNS record that you define in the service that's specified by
|
|
36
|
+
* <code>ServiceId</code>, a record is created or updated in the hosted zone that's associated
|
|
37
|
+
* with the corresponding namespace.</p>
|
|
36
38
|
* </li>
|
|
37
39
|
* <li>
|
|
38
|
-
* <p>If the service includes <code>HealthCheckConfig</code>, a health check is created based on
|
|
39
|
-
* in the health check configuration.</p>
|
|
40
|
+
* <p>If the service includes <code>HealthCheckConfig</code>, a health check is created based on
|
|
41
|
+
* the settings in the health check configuration.</p>
|
|
40
42
|
* </li>
|
|
41
43
|
* <li>
|
|
42
44
|
* <p>The health check, if any, is associated with each of the new or updated records.</p>
|
|
43
45
|
* </li>
|
|
44
46
|
* </ul>
|
|
45
47
|
* <important>
|
|
46
|
-
* <p>One <code>RegisterInstance</code> request must complete before you can submit another
|
|
47
|
-
* the same service ID and instance ID.</p>
|
|
48
|
+
* <p>One <code>RegisterInstance</code> request must complete before you can submit another
|
|
49
|
+
* request and specify the same service ID and instance ID.</p>
|
|
48
50
|
* </important>
|
|
49
51
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html">CreateService</a>.</p>
|
|
50
|
-
* <p>When Cloud Map receives a DNS query for the specified DNS name, it returns the applicable
|
|
52
|
+
* <p>When Cloud Map receives a DNS query for the specified DNS name, it returns the applicable
|
|
53
|
+
* value:</p>
|
|
51
54
|
* <ul>
|
|
52
55
|
* <li>
|
|
53
56
|
* <p>
|
|
54
|
-
* <b>If the health check is healthy</b>: returns all the
|
|
57
|
+
* <b>If the health check is healthy</b>: returns all the
|
|
58
|
+
* records</p>
|
|
55
59
|
* </li>
|
|
56
60
|
* <li>
|
|
57
61
|
* <p>
|
|
58
|
-
* <b>If the health check is unhealthy</b>: returns the applicable
|
|
59
|
-
* last healthy instance</p>
|
|
62
|
+
* <b>If the health check is unhealthy</b>: returns the applicable
|
|
63
|
+
* value for the last healthy instance</p>
|
|
60
64
|
* </li>
|
|
61
65
|
* <li>
|
|
62
66
|
* <p>
|
|
63
|
-
* <b>If you didn't specify a health check configuration</b>:
|
|
64
|
-
* records</p>
|
|
67
|
+
* <b>If you didn't specify a health check configuration</b>:
|
|
68
|
+
* returns all the records</p>
|
|
65
69
|
* </li>
|
|
66
70
|
* </ul>
|
|
67
|
-
* <p>For the current quota on the number of instances that you can register using the same
|
|
68
|
-
* the same service, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map
|
|
69
|
-
*
|
|
71
|
+
* <p>For the current quota on the number of instances that you can register using the same
|
|
72
|
+
* 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
|
|
73
|
+
* <i>Cloud Map Developer Guide</i>.</p>
|
|
70
74
|
* @example
|
|
71
75
|
* Use a bare-bones client and the command you need to make an API call.
|
|
72
76
|
* ```javascript
|
|
@@ -99,15 +103,17 @@ declare const RegisterInstanceCommand_base: {
|
|
|
99
103
|
* <p>The operation is already in progress.</p>
|
|
100
104
|
*
|
|
101
105
|
* @throws {@link InvalidInput} (client fault)
|
|
102
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
103
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
106
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
107
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
108
|
+
* constraints.</p>
|
|
104
109
|
*
|
|
105
110
|
* @throws {@link ResourceInUse} (client fault)
|
|
106
|
-
* <p>The specified resource can't be deleted because it contains other resources. For example,
|
|
107
|
-
* a service that contains any instances.</p>
|
|
111
|
+
* <p>The specified resource can't be deleted because it contains other resources. For example,
|
|
112
|
+
* you can't delete a service that contains any instances.</p>
|
|
108
113
|
*
|
|
109
114
|
* @throws {@link ResourceLimitExceeded} (client fault)
|
|
110
|
-
* <p>The resource can't be created because you've reached the quota on the number of
|
|
115
|
+
* <p>The resource can't be created because you've reached the quota on the number of
|
|
116
|
+
* resources.</p>
|
|
111
117
|
*
|
|
112
118
|
* @throws {@link ServiceNotFound} (client fault)
|
|
113
119
|
* <p>No service exists with the specified ID.</p>
|
|
@@ -56,15 +56,16 @@ declare const TagResourceCommand_base: {
|
|
|
56
56
|
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link InvalidInput} (client fault)
|
|
59
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
60
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
59
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
60
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
61
|
+
* constraints.</p>
|
|
61
62
|
*
|
|
62
63
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
64
|
* <p>The operation can't be completed because the resource was not found.</p>
|
|
64
65
|
*
|
|
65
66
|
* @throws {@link TooManyTagsException} (client fault)
|
|
66
|
-
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
|
|
67
|
-
* resource is 50.</p>
|
|
67
|
+
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
|
|
68
|
+
* applied to a resource is 50.</p>
|
|
68
69
|
*
|
|
69
70
|
* @throws {@link ServiceDiscoveryServiceException}
|
|
70
71
|
* <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
|
|
@@ -53,8 +53,9 @@ declare const UntagResourceCommand_base: {
|
|
|
53
53
|
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link InvalidInput} (client fault)
|
|
56
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
57
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
56
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
57
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
58
|
+
* constraints.</p>
|
|
58
59
|
*
|
|
59
60
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
61
|
* <p>The operation can't be completed because the resource was not found.</p>
|
|
@@ -60,15 +60,16 @@ declare const UpdateHttpNamespaceCommand_base: {
|
|
|
60
60
|
* <p>The operation is already in progress.</p>
|
|
61
61
|
*
|
|
62
62
|
* @throws {@link InvalidInput} (client fault)
|
|
63
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
64
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
63
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
64
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
65
|
+
* constraints.</p>
|
|
65
66
|
*
|
|
66
67
|
* @throws {@link NamespaceNotFound} (client fault)
|
|
67
68
|
* <p>No namespace exists with the specified ID.</p>
|
|
68
69
|
*
|
|
69
70
|
* @throws {@link ResourceInUse} (client fault)
|
|
70
|
-
* <p>The specified resource can't be deleted because it contains other resources. For example,
|
|
71
|
-
* a service that contains any instances.</p>
|
|
71
|
+
* <p>The specified resource can't be deleted because it contains other resources. For example,
|
|
72
|
+
* you can't delete a service that contains any instances.</p>
|
|
72
73
|
*
|
|
73
74
|
* @throws {@link ServiceDiscoveryServiceException}
|
|
74
75
|
* <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
|
|
@@ -27,10 +27,12 @@ declare const UpdateInstanceCustomHealthStatusCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Submits a request to change the health status of a custom health check to healthy or
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
30
|
+
* <p>Submits a request to change the health status of a custom health check to healthy or
|
|
31
|
+
* unhealthy.</p>
|
|
32
|
+
* <p>You can use <code>UpdateInstanceCustomHealthStatus</code> to change the status only for
|
|
33
|
+
* custom health checks, which you define using <code>HealthCheckCustomConfig</code> when you create
|
|
34
|
+
* a service. You can't use it to change the status for Route 53 health checks, which you define using
|
|
35
|
+
* <code>HealthCheckConfig</code>.</p>
|
|
34
36
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_HealthCheckCustomConfig.html">HealthCheckCustomConfig</a>.</p>
|
|
35
37
|
* @example
|
|
36
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -56,16 +58,17 @@ declare const UpdateInstanceCustomHealthStatusCommand_base: {
|
|
|
56
58
|
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
|
|
57
59
|
*
|
|
58
60
|
* @throws {@link CustomHealthNotFound} (client fault)
|
|
59
|
-
* <p>The health check for the instance that's specified by <code>ServiceId</code> and
|
|
60
|
-
*
|
|
61
|
+
* <p>The health check for the instance that's specified by <code>ServiceId</code> and
|
|
62
|
+
* <code>InstanceId</code> isn't a custom health check. </p>
|
|
61
63
|
*
|
|
62
64
|
* @throws {@link InstanceNotFound} (client fault)
|
|
63
|
-
* <p>No instance exists with the specified ID, or the instance was recently registered, and
|
|
64
|
-
* the instance hasn't propagated yet.</p>
|
|
65
|
+
* <p>No instance exists with the specified ID, or the instance was recently registered, and
|
|
66
|
+
* information about the instance hasn't propagated yet.</p>
|
|
65
67
|
*
|
|
66
68
|
* @throws {@link InvalidInput} (client fault)
|
|
67
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
68
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
69
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
70
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
71
|
+
* constraints.</p>
|
|
69
72
|
*
|
|
70
73
|
* @throws {@link ServiceNotFound} (client fault)
|
|
71
74
|
* <p>No service exists with the specified ID.</p>
|
|
@@ -67,15 +67,16 @@ declare const UpdatePrivateDnsNamespaceCommand_base: {
|
|
|
67
67
|
* <p>The operation is already in progress.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link InvalidInput} (client fault)
|
|
70
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
71
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
70
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
71
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
72
|
+
* constraints.</p>
|
|
72
73
|
*
|
|
73
74
|
* @throws {@link NamespaceNotFound} (client fault)
|
|
74
75
|
* <p>No namespace exists with the specified ID.</p>
|
|
75
76
|
*
|
|
76
77
|
* @throws {@link ResourceInUse} (client fault)
|
|
77
|
-
* <p>The specified resource can't be deleted because it contains other resources. For example,
|
|
78
|
-
* a service that contains any instances.</p>
|
|
78
|
+
* <p>The specified resource can't be deleted because it contains other resources. For example,
|
|
79
|
+
* you can't delete a service that contains any instances.</p>
|
|
79
80
|
*
|
|
80
81
|
* @throws {@link ServiceDiscoveryServiceException}
|
|
81
82
|
* <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
|
|
@@ -27,8 +27,7 @@ declare const UpdatePublicDnsNamespaceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Updates a public DNS
|
|
31
|
-
* namespace.</p>
|
|
30
|
+
* <p>Updates a public DNS namespace.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -67,15 +66,16 @@ declare const UpdatePublicDnsNamespaceCommand_base: {
|
|
|
67
66
|
* <p>The operation is already in progress.</p>
|
|
68
67
|
*
|
|
69
68
|
* @throws {@link InvalidInput} (client fault)
|
|
70
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
71
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
69
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
70
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
71
|
+
* constraints.</p>
|
|
72
72
|
*
|
|
73
73
|
* @throws {@link NamespaceNotFound} (client fault)
|
|
74
74
|
* <p>No namespace exists with the specified ID.</p>
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link ResourceInUse} (client fault)
|
|
77
|
-
* <p>The specified resource can't be deleted because it contains other resources. For example,
|
|
78
|
-
* a service that contains any instances.</p>
|
|
77
|
+
* <p>The specified resource can't be deleted because it contains other resources. For example,
|
|
78
|
+
* you can't delete a service that contains any instances.</p>
|
|
79
79
|
*
|
|
80
80
|
* @throws {@link ServiceDiscoveryServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
|
|
@@ -53,11 +53,13 @@ declare const UpdateServiceAttributesCommand_base: {
|
|
|
53
53
|
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link InvalidInput} (client fault)
|
|
56
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
57
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
56
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
57
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
58
|
+
* constraints.</p>
|
|
58
59
|
*
|
|
59
60
|
* @throws {@link ServiceAttributesLimitExceededException} (client fault)
|
|
60
|
-
* <p>The attribute can't be added to the service because you've exceeded the quota for the number
|
|
61
|
+
* <p>The attribute can't be added to the service because you've exceeded the quota for the number
|
|
62
|
+
* of attributes you can add to a service.</p>
|
|
61
63
|
*
|
|
62
64
|
* @throws {@link ServiceNotFound} (client fault)
|
|
63
65
|
* <p>No service exists with the specified ID.</p>
|