@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
package/README.md
CHANGED
|
@@ -8,11 +8,12 @@ AWS SDK for JavaScript ServiceDiscovery Client for Node.js, Browser and React Na
|
|
|
8
8
|
|
|
9
9
|
<fullname>Cloud Map</fullname>
|
|
10
10
|
|
|
11
|
-
<p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your
|
|
12
|
-
applications run in. When an instance becomes available, you can call the Cloud Map
|
|
13
|
-
instance with Cloud Map. For public or private DNS namespaces, Cloud Map
|
|
14
|
-
an optional health check. Clients that submit public or
|
|
15
|
-
receive an answer that contains up to
|
|
11
|
+
<p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your
|
|
12
|
+
microservice applications run in. When an instance becomes available, you can call the Cloud Map
|
|
13
|
+
API to register the instance with Cloud Map. For public or private DNS namespaces, Cloud Map
|
|
14
|
+
automatically creates DNS records and an optional health check. Clients that submit public or
|
|
15
|
+
private DNS queries, or HTTP requests, for the service receive an answer that contains up to
|
|
16
|
+
eight healthy records. </p>
|
|
16
17
|
|
|
17
18
|
## Installing
|
|
18
19
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -449,6 +449,11 @@ var ServiceAlreadyExists = class _ServiceAlreadyExists extends ServiceDiscoveryS
|
|
|
449
449
|
* @public
|
|
450
450
|
*/
|
|
451
451
|
ServiceId;
|
|
452
|
+
/**
|
|
453
|
+
* <p>The ARN of the existing service.</p>
|
|
454
|
+
* @public
|
|
455
|
+
*/
|
|
456
|
+
ServiceArn;
|
|
452
457
|
/**
|
|
453
458
|
* @internal
|
|
454
459
|
*/
|
|
@@ -462,6 +467,7 @@ var ServiceAlreadyExists = class _ServiceAlreadyExists extends ServiceDiscoveryS
|
|
|
462
467
|
this.Message = opts.Message;
|
|
463
468
|
this.CreatorRequestId = opts.CreatorRequestId;
|
|
464
469
|
this.ServiceId = opts.ServiceId;
|
|
470
|
+
this.ServiceArn = opts.ServiceArn;
|
|
465
471
|
}
|
|
466
472
|
};
|
|
467
473
|
var CustomHealthNotFound = class _CustomHealthNotFound extends ServiceDiscoveryServiceException {
|
|
@@ -632,6 +638,7 @@ var OperationNotFound = class _OperationNotFound extends ServiceDiscoveryService
|
|
|
632
638
|
var NamespaceFilterName = {
|
|
633
639
|
HTTP_NAME: "HTTP_NAME",
|
|
634
640
|
NAME: "NAME",
|
|
641
|
+
RESOURCE_OWNER: "RESOURCE_OWNER",
|
|
635
642
|
TYPE: "TYPE"
|
|
636
643
|
};
|
|
637
644
|
var OperationFilterName = {
|
|
@@ -642,7 +649,8 @@ var OperationFilterName = {
|
|
|
642
649
|
UPDATE_DATE: "UPDATE_DATE"
|
|
643
650
|
};
|
|
644
651
|
var ServiceFilterName = {
|
|
645
|
-
NAMESPACE_ID: "NAMESPACE_ID"
|
|
652
|
+
NAMESPACE_ID: "NAMESPACE_ID",
|
|
653
|
+
RESOURCE_OWNER: "RESOURCE_OWNER"
|
|
646
654
|
};
|
|
647
655
|
var ResourceNotFoundException = class _ResourceNotFoundException extends ServiceDiscoveryServiceException {
|
|
648
656
|
static {
|
|
@@ -1573,6 +1581,7 @@ var de_Namespace = /* @__PURE__ */ __name((output, context) => {
|
|
|
1573
1581
|
Id: import_smithy_client.expectString,
|
|
1574
1582
|
Name: import_smithy_client.expectString,
|
|
1575
1583
|
Properties: import_smithy_client._json,
|
|
1584
|
+
ResourceOwner: import_smithy_client.expectString,
|
|
1576
1585
|
ServiceCount: import_smithy_client.expectInt32,
|
|
1577
1586
|
Type: import_smithy_client.expectString
|
|
1578
1587
|
});
|
|
@@ -1591,6 +1600,7 @@ var de_NamespaceSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1591
1600
|
Id: import_smithy_client.expectString,
|
|
1592
1601
|
Name: import_smithy_client.expectString,
|
|
1593
1602
|
Properties: import_smithy_client._json,
|
|
1603
|
+
ResourceOwner: import_smithy_client.expectString,
|
|
1594
1604
|
ServiceCount: import_smithy_client.expectInt32,
|
|
1595
1605
|
Type: import_smithy_client.expectString
|
|
1596
1606
|
});
|
|
@@ -1601,6 +1611,7 @@ var de_Operation = /* @__PURE__ */ __name((output, context) => {
|
|
|
1601
1611
|
ErrorCode: import_smithy_client.expectString,
|
|
1602
1612
|
ErrorMessage: import_smithy_client.expectString,
|
|
1603
1613
|
Id: import_smithy_client.expectString,
|
|
1614
|
+
OwnerAccount: import_smithy_client.expectString,
|
|
1604
1615
|
Status: import_smithy_client.expectString,
|
|
1605
1616
|
Targets: import_smithy_client._json,
|
|
1606
1617
|
Type: import_smithy_client.expectString,
|
|
@@ -1611,6 +1622,7 @@ var de_Service = /* @__PURE__ */ __name((output, context) => {
|
|
|
1611
1622
|
return (0, import_smithy_client.take)(output, {
|
|
1612
1623
|
Arn: import_smithy_client.expectString,
|
|
1613
1624
|
CreateDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateDate"),
|
|
1625
|
+
CreatedByAccount: import_smithy_client.expectString,
|
|
1614
1626
|
CreatorRequestId: import_smithy_client.expectString,
|
|
1615
1627
|
Description: import_smithy_client.expectString,
|
|
1616
1628
|
DnsConfig: import_smithy_client._json,
|
|
@@ -1620,6 +1632,7 @@ var de_Service = /* @__PURE__ */ __name((output, context) => {
|
|
|
1620
1632
|
InstanceCount: import_smithy_client.expectInt32,
|
|
1621
1633
|
Name: import_smithy_client.expectString,
|
|
1622
1634
|
NamespaceId: import_smithy_client.expectString,
|
|
1635
|
+
ResourceOwner: import_smithy_client.expectString,
|
|
1623
1636
|
Type: import_smithy_client.expectString
|
|
1624
1637
|
});
|
|
1625
1638
|
}, "de_Service");
|
|
@@ -1633,6 +1646,7 @@ var de_ServiceSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1633
1646
|
return (0, import_smithy_client.take)(output, {
|
|
1634
1647
|
Arn: import_smithy_client.expectString,
|
|
1635
1648
|
CreateDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateDate"),
|
|
1649
|
+
CreatedByAccount: import_smithy_client.expectString,
|
|
1636
1650
|
Description: import_smithy_client.expectString,
|
|
1637
1651
|
DnsConfig: import_smithy_client._json,
|
|
1638
1652
|
HealthCheckConfig: import_smithy_client._json,
|
|
@@ -1640,6 +1654,7 @@ var de_ServiceSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1640
1654
|
Id: import_smithy_client.expectString,
|
|
1641
1655
|
InstanceCount: import_smithy_client.expectInt32,
|
|
1642
1656
|
Name: import_smithy_client.expectString,
|
|
1657
|
+
ResourceOwner: import_smithy_client.expectString,
|
|
1643
1658
|
Type: import_smithy_client.expectString
|
|
1644
1659
|
});
|
|
1645
1660
|
}, "de_ServiceSummary");
|
|
@@ -120,6 +120,7 @@ export class ServiceAlreadyExists extends __BaseException {
|
|
|
120
120
|
Message;
|
|
121
121
|
CreatorRequestId;
|
|
122
122
|
ServiceId;
|
|
123
|
+
ServiceArn;
|
|
123
124
|
constructor(opts) {
|
|
124
125
|
super({
|
|
125
126
|
name: "ServiceAlreadyExists",
|
|
@@ -130,6 +131,7 @@ export class ServiceAlreadyExists extends __BaseException {
|
|
|
130
131
|
this.Message = opts.Message;
|
|
131
132
|
this.CreatorRequestId = opts.CreatorRequestId;
|
|
132
133
|
this.ServiceId = opts.ServiceId;
|
|
134
|
+
this.ServiceArn = opts.ServiceArn;
|
|
133
135
|
}
|
|
134
136
|
}
|
|
135
137
|
export class CustomHealthNotFound extends __BaseException {
|
|
@@ -264,6 +266,7 @@ export class OperationNotFound extends __BaseException {
|
|
|
264
266
|
export const NamespaceFilterName = {
|
|
265
267
|
HTTP_NAME: "HTTP_NAME",
|
|
266
268
|
NAME: "NAME",
|
|
269
|
+
RESOURCE_OWNER: "RESOURCE_OWNER",
|
|
267
270
|
TYPE: "TYPE",
|
|
268
271
|
};
|
|
269
272
|
export const OperationFilterName = {
|
|
@@ -275,6 +278,7 @@ export const OperationFilterName = {
|
|
|
275
278
|
};
|
|
276
279
|
export const ServiceFilterName = {
|
|
277
280
|
NAMESPACE_ID: "NAMESPACE_ID",
|
|
281
|
+
RESOURCE_OWNER: "RESOURCE_OWNER",
|
|
278
282
|
};
|
|
279
283
|
export class ResourceNotFoundException extends __BaseException {
|
|
280
284
|
name = "ResourceNotFoundException";
|
|
@@ -891,6 +891,7 @@ const de_Namespace = (output, context) => {
|
|
|
891
891
|
Id: __expectString,
|
|
892
892
|
Name: __expectString,
|
|
893
893
|
Properties: _json,
|
|
894
|
+
ResourceOwner: __expectString,
|
|
894
895
|
ServiceCount: __expectInt32,
|
|
895
896
|
Type: __expectString,
|
|
896
897
|
});
|
|
@@ -911,6 +912,7 @@ const de_NamespaceSummary = (output, context) => {
|
|
|
911
912
|
Id: __expectString,
|
|
912
913
|
Name: __expectString,
|
|
913
914
|
Properties: _json,
|
|
915
|
+
ResourceOwner: __expectString,
|
|
914
916
|
ServiceCount: __expectInt32,
|
|
915
917
|
Type: __expectString,
|
|
916
918
|
});
|
|
@@ -921,6 +923,7 @@ const de_Operation = (output, context) => {
|
|
|
921
923
|
ErrorCode: __expectString,
|
|
922
924
|
ErrorMessage: __expectString,
|
|
923
925
|
Id: __expectString,
|
|
926
|
+
OwnerAccount: __expectString,
|
|
924
927
|
Status: __expectString,
|
|
925
928
|
Targets: _json,
|
|
926
929
|
Type: __expectString,
|
|
@@ -931,6 +934,7 @@ const de_Service = (output, context) => {
|
|
|
931
934
|
return take(output, {
|
|
932
935
|
Arn: __expectString,
|
|
933
936
|
CreateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
937
|
+
CreatedByAccount: __expectString,
|
|
934
938
|
CreatorRequestId: __expectString,
|
|
935
939
|
Description: __expectString,
|
|
936
940
|
DnsConfig: _json,
|
|
@@ -940,6 +944,7 @@ const de_Service = (output, context) => {
|
|
|
940
944
|
InstanceCount: __expectInt32,
|
|
941
945
|
Name: __expectString,
|
|
942
946
|
NamespaceId: __expectString,
|
|
947
|
+
ResourceOwner: __expectString,
|
|
943
948
|
Type: __expectString,
|
|
944
949
|
});
|
|
945
950
|
};
|
|
@@ -955,6 +960,7 @@ const de_ServiceSummary = (output, context) => {
|
|
|
955
960
|
return take(output, {
|
|
956
961
|
Arn: __expectString,
|
|
957
962
|
CreateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
963
|
+
CreatedByAccount: __expectString,
|
|
958
964
|
Description: __expectString,
|
|
959
965
|
DnsConfig: _json,
|
|
960
966
|
HealthCheckConfig: _json,
|
|
@@ -962,6 +968,7 @@ const de_ServiceSummary = (output, context) => {
|
|
|
962
968
|
Id: __expectString,
|
|
963
969
|
InstanceCount: __expectInt32,
|
|
964
970
|
Name: __expectString,
|
|
971
|
+
ResourceOwner: __expectString,
|
|
965
972
|
Type: __expectString,
|
|
966
973
|
});
|
|
967
974
|
};
|
|
@@ -217,11 +217,12 @@ export interface ServiceDiscovery {
|
|
|
217
217
|
}
|
|
218
218
|
/**
|
|
219
219
|
* <fullname>Cloud Map</fullname>
|
|
220
|
-
* <p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your
|
|
221
|
-
* applications run in. When an instance becomes available, you can call the Cloud Map
|
|
222
|
-
* instance with Cloud Map. For public or private DNS namespaces, Cloud Map
|
|
223
|
-
* an optional health check. Clients that submit public or
|
|
224
|
-
* receive an answer that contains up to
|
|
220
|
+
* <p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your
|
|
221
|
+
* microservice applications run in. When an instance becomes available, you can call the Cloud Map
|
|
222
|
+
* API to register the instance with Cloud Map. For public or private DNS namespaces, Cloud Map
|
|
223
|
+
* automatically creates DNS records and an optional health check. Clients that submit public or
|
|
224
|
+
* private DNS queries, or HTTP requests, for the service receive an answer that contains up to
|
|
225
|
+
* eight healthy records. </p>
|
|
225
226
|
* @public
|
|
226
227
|
*/
|
|
227
228
|
export declare class ServiceDiscovery extends ServiceDiscoveryClient implements ServiceDiscovery {
|
|
@@ -200,11 +200,12 @@ export interface ServiceDiscoveryClientResolvedConfig extends ServiceDiscoveryCl
|
|
|
200
200
|
}
|
|
201
201
|
/**
|
|
202
202
|
* <fullname>Cloud Map</fullname>
|
|
203
|
-
* <p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your
|
|
204
|
-
* applications run in. When an instance becomes available, you can call the Cloud Map
|
|
205
|
-
* instance with Cloud Map. For public or private DNS namespaces, Cloud Map
|
|
206
|
-
* an optional health check. Clients that submit public or
|
|
207
|
-
* receive an answer that contains up to
|
|
203
|
+
* <p>With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your
|
|
204
|
+
* microservice applications run in. When an instance becomes available, you can call the Cloud Map
|
|
205
|
+
* API to register the instance with Cloud Map. For public or private DNS namespaces, Cloud Map
|
|
206
|
+
* automatically creates DNS records and an optional health check. Clients that submit public or
|
|
207
|
+
* private DNS queries, or HTTP requests, for the service receive an answer that contains up to
|
|
208
|
+
* eight healthy records. </p>
|
|
208
209
|
* @public
|
|
209
210
|
*/
|
|
210
211
|
export declare class ServiceDiscoveryClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ServiceDiscoveryClientResolvedConfig> {
|
|
@@ -27,10 +27,11 @@ declare const CreateHttpNamespaceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates an HTTP namespace. Service instances registered using an HTTP namespace can be
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
30
|
+
* <p>Creates an HTTP namespace. Service instances registered using an HTTP namespace can be
|
|
31
|
+
* discovered using a <code>DiscoverInstances</code> request but can't be discovered using
|
|
32
|
+
* DNS.</p>
|
|
33
|
+
* <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
|
|
34
|
+
* <i>Cloud Map Developer Guide</i>.</p>
|
|
34
35
|
* @example
|
|
35
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
37
|
* ```javascript
|
|
@@ -66,18 +67,20 @@ declare const CreateHttpNamespaceCommand_base: {
|
|
|
66
67
|
* <p>The operation is already in progress.</p>
|
|
67
68
|
*
|
|
68
69
|
* @throws {@link InvalidInput} (client fault)
|
|
69
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
70
|
-
* 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>
|
|
71
73
|
*
|
|
72
74
|
* @throws {@link NamespaceAlreadyExists} (client fault)
|
|
73
75
|
* <p>The namespace that you're trying to create already exists.</p>
|
|
74
76
|
*
|
|
75
77
|
* @throws {@link ResourceLimitExceeded} (client fault)
|
|
76
|
-
* <p>The resource can't be created because you've reached the quota on the number of
|
|
78
|
+
* <p>The resource can't be created because you've reached the quota on the number of
|
|
79
|
+
* resources.</p>
|
|
77
80
|
*
|
|
78
81
|
* @throws {@link TooManyTagsException} (client fault)
|
|
79
|
-
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
|
|
80
|
-
* resource is 50.</p>
|
|
82
|
+
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
|
|
83
|
+
* applied to a resource is 50.</p>
|
|
81
84
|
*
|
|
82
85
|
* @throws {@link ServiceDiscoveryServiceException}
|
|
83
86
|
* <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
|
|
@@ -27,12 +27,13 @@ declare const CreatePrivateDnsNamespaceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a private namespace based on DNS, which is visible only inside a specified Amazon
|
|
31
|
-
* namespace defines your service naming scheme. For example, if you name your namespace
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* discovered using either a <code>DiscoverInstances</code> request or
|
|
35
|
-
* number of namespaces that you can create using the same
|
|
30
|
+
* <p>Creates a private namespace based on DNS, which is visible only inside a specified Amazon
|
|
31
|
+
* VPC. The namespace defines your service naming scheme. For example, if you name your namespace
|
|
32
|
+
* <code>example.com</code> and name your service <code>backend</code>, the resulting DNS name for
|
|
33
|
+
* the service is <code>backend.example.com</code>. Service instances that are registered using a
|
|
34
|
+
* private DNS namespace can be discovered using either a <code>DiscoverInstances</code> request or
|
|
35
|
+
* using DNS. For the current quota on the number of namespaces that you can create using the same
|
|
36
|
+
* 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
|
|
36
37
|
* <i>Cloud Map Developer Guide</i>.</p>
|
|
37
38
|
* @example
|
|
38
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -77,18 +78,20 @@ declare const CreatePrivateDnsNamespaceCommand_base: {
|
|
|
77
78
|
* <p>The operation is already in progress.</p>
|
|
78
79
|
*
|
|
79
80
|
* @throws {@link InvalidInput} (client fault)
|
|
80
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
81
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
81
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
82
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
83
|
+
* constraints.</p>
|
|
82
84
|
*
|
|
83
85
|
* @throws {@link NamespaceAlreadyExists} (client fault)
|
|
84
86
|
* <p>The namespace that you're trying to create already exists.</p>
|
|
85
87
|
*
|
|
86
88
|
* @throws {@link ResourceLimitExceeded} (client fault)
|
|
87
|
-
* <p>The resource can't be created because you've reached the quota on the number of
|
|
89
|
+
* <p>The resource can't be created because you've reached the quota on the number of
|
|
90
|
+
* resources.</p>
|
|
88
91
|
*
|
|
89
92
|
* @throws {@link TooManyTagsException} (client fault)
|
|
90
|
-
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
|
|
91
|
-
* resource is 50.</p>
|
|
93
|
+
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
|
|
94
|
+
* applied to a resource is 50.</p>
|
|
92
95
|
*
|
|
93
96
|
* @throws {@link ServiceDiscoveryServiceException}
|
|
94
97
|
* <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
|
|
@@ -27,16 +27,15 @@ declare const CreatePublicDnsNamespaceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a public namespace based on DNS, which is visible on the internet. The namespace
|
|
31
|
-
* service naming scheme. For example, if you name your namespace
|
|
32
|
-
* <code>
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* 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
|
|
30
|
+
* <p>Creates a public namespace based on DNS, which is visible on the internet. The namespace
|
|
31
|
+
* defines your service naming scheme. For example, if you name your namespace
|
|
32
|
+
* <code>example.com</code> and name your service <code>backend</code>, the resulting DNS name for
|
|
33
|
+
* the service is <code>backend.example.com</code>. You can discover instances that were registered
|
|
34
|
+
* with a public DNS namespace by using either a <code>DiscoverInstances</code> request or using
|
|
35
|
+
* 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
|
|
36
36
|
* <i>Cloud Map Developer Guide</i>.</p>
|
|
37
37
|
* <important>
|
|
38
|
-
* <p>The <code>CreatePublicDnsNamespace</code> API operation is not supported in the Amazon Web Services GovCloud (US)
|
|
39
|
-
* Regions.</p>
|
|
38
|
+
* <p>The <code>CreatePublicDnsNamespace</code> API operation is not supported in the Amazon Web Services GovCloud (US) Regions.</p>
|
|
40
39
|
* </important>
|
|
41
40
|
* @example
|
|
42
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -80,18 +79,20 @@ declare const CreatePublicDnsNamespaceCommand_base: {
|
|
|
80
79
|
* <p>The operation is already in progress.</p>
|
|
81
80
|
*
|
|
82
81
|
* @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
|
|
82
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
83
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
84
|
+
* constraints.</p>
|
|
85
85
|
*
|
|
86
86
|
* @throws {@link NamespaceAlreadyExists} (client fault)
|
|
87
87
|
* <p>The namespace that you're trying to create already exists.</p>
|
|
88
88
|
*
|
|
89
89
|
* @throws {@link ResourceLimitExceeded} (client fault)
|
|
90
|
-
* <p>The resource can't be created because you've reached the quota on the number of
|
|
90
|
+
* <p>The resource can't be created because you've reached the quota on the number of
|
|
91
|
+
* resources.</p>
|
|
91
92
|
*
|
|
92
93
|
* @throws {@link TooManyTagsException} (client fault)
|
|
93
|
-
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
|
|
94
|
-
* resource is 50.</p>
|
|
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>
|
|
95
96
|
*
|
|
96
97
|
* @throws {@link ServiceDiscoveryServiceException}
|
|
97
98
|
* <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
|
|
@@ -64,11 +64,11 @@ declare const CreateServiceCommand_base: {
|
|
|
64
64
|
* <p>Optionally, a health check</p>
|
|
65
65
|
* </li>
|
|
66
66
|
* </ul>
|
|
67
|
-
* <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
|
|
68
|
-
* values in the configuration to create the specified entities.</p>
|
|
69
|
-
* <p>For the current quota on the number of instances that you can register using the same
|
|
70
|
-
* the same service, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html">Cloud Map
|
|
71
|
-
*
|
|
67
|
+
* <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
|
|
68
|
+
* Cloud Map uses the values in the configuration to create the specified entities.</p>
|
|
69
|
+
* <p>For the current quota on the number of instances that you can register using the same
|
|
70
|
+
* 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
|
|
71
|
+
* <i>Cloud Map Developer Guide</i>.</p>
|
|
72
72
|
* @example
|
|
73
73
|
* Use a bare-bones client and the command you need to make an API call.
|
|
74
74
|
* ```javascript
|
|
@@ -112,6 +112,7 @@ declare const CreateServiceCommand_base: {
|
|
|
112
112
|
* // Service: { // Service
|
|
113
113
|
* // Id: "STRING_VALUE",
|
|
114
114
|
* // Arn: "STRING_VALUE",
|
|
115
|
+
* // ResourceOwner: "STRING_VALUE",
|
|
115
116
|
* // Name: "STRING_VALUE",
|
|
116
117
|
* // NamespaceId: "STRING_VALUE",
|
|
117
118
|
* // Description: "STRING_VALUE",
|
|
@@ -137,6 +138,7 @@ declare const CreateServiceCommand_base: {
|
|
|
137
138
|
* // },
|
|
138
139
|
* // CreateDate: new Date("TIMESTAMP"),
|
|
139
140
|
* // CreatorRequestId: "STRING_VALUE",
|
|
141
|
+
* // CreatedByAccount: "STRING_VALUE",
|
|
140
142
|
* // },
|
|
141
143
|
* // };
|
|
142
144
|
*
|
|
@@ -149,21 +151,23 @@ declare const CreateServiceCommand_base: {
|
|
|
149
151
|
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
|
|
150
152
|
*
|
|
151
153
|
* @throws {@link InvalidInput} (client fault)
|
|
152
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
153
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
154
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
155
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
156
|
+
* constraints.</p>
|
|
154
157
|
*
|
|
155
158
|
* @throws {@link NamespaceNotFound} (client fault)
|
|
156
159
|
* <p>No namespace exists with the specified ID.</p>
|
|
157
160
|
*
|
|
158
161
|
* @throws {@link ResourceLimitExceeded} (client fault)
|
|
159
|
-
* <p>The resource can't be created because you've reached the quota on the number of
|
|
162
|
+
* <p>The resource can't be created because you've reached the quota on the number of
|
|
163
|
+
* resources.</p>
|
|
160
164
|
*
|
|
161
165
|
* @throws {@link ServiceAlreadyExists} (client fault)
|
|
162
166
|
* <p>The service can't be created because a service with the same name already exists.</p>
|
|
163
167
|
*
|
|
164
168
|
* @throws {@link TooManyTagsException} (client fault)
|
|
165
|
-
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
|
|
166
|
-
* resource is 50.</p>
|
|
169
|
+
* <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
|
|
170
|
+
* applied to a resource is 50.</p>
|
|
167
171
|
*
|
|
168
172
|
* @throws {@link ServiceDiscoveryServiceException}
|
|
169
173
|
* <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
|
|
@@ -27,8 +27,8 @@ declare const DeleteNamespaceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a namespace from the current account. If the namespace still contains one or more
|
|
31
|
-
* request fails.</p>
|
|
30
|
+
* <p>Deletes a namespace from the current account. If the namespace still contains one or more
|
|
31
|
+
* services, the request fails.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -56,15 +56,16 @@ declare const DeleteNamespaceCommand_base: {
|
|
|
56
56
|
* <p>The operation is already in progress.</p>
|
|
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 NamespaceNotFound} (client fault)
|
|
63
64
|
* <p>No namespace exists with the specified ID.</p>
|
|
64
65
|
*
|
|
65
66
|
* @throws {@link ResourceInUse} (client fault)
|
|
66
|
-
* <p>The specified resource can't be deleted because it contains other resources. For example,
|
|
67
|
-
* a service that contains any instances.</p>
|
|
67
|
+
* <p>The specified resource can't be deleted because it contains other resources. For example,
|
|
68
|
+
* you can't delete a service that contains any instances.</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 DeleteServiceAttributesCommand_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 ServiceNotFound} (client fault)
|
|
60
61
|
* <p>No service exists with the specified ID.</p>
|
|
@@ -27,8 +27,8 @@ declare const DeleteServiceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a specified service and all associated service attributes. If the service still
|
|
31
|
-
* fails.</p>
|
|
30
|
+
* <p>Deletes a specified service and all associated service attributes. If the service still
|
|
31
|
+
* contains one or more registered instances, the request fails.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -51,12 +51,13 @@ declare const DeleteServiceCommand_base: {
|
|
|
51
51
|
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link InvalidInput} (client fault)
|
|
54
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
55
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
54
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
55
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
56
|
+
* constraints.</p>
|
|
56
57
|
*
|
|
57
58
|
* @throws {@link ResourceInUse} (client fault)
|
|
58
|
-
* <p>The specified resource can't be deleted because it contains other resources. For example,
|
|
59
|
-
* a service that contains any instances.</p>
|
|
59
|
+
* <p>The specified resource can't be deleted because it contains other resources. For example,
|
|
60
|
+
* you can't delete a service that contains any instances.</p>
|
|
60
61
|
*
|
|
61
62
|
* @throws {@link ServiceNotFound} (client fault)
|
|
62
63
|
* <p>No service exists with the specified ID.</p>
|
|
@@ -27,8 +27,8 @@ declare const DeregisterInstanceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes the Amazon Route 53 DNS records and health check, if any, that Cloud Map created for the
|
|
31
|
-
* instance.</p>
|
|
30
|
+
* <p>Deletes the Amazon Route 53 DNS records and health check, if any, that Cloud Map created for the
|
|
31
|
+
* specified instance.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -57,16 +57,17 @@ declare const DeregisterInstanceCommand_base: {
|
|
|
57
57
|
* <p>The operation is already in progress.</p>
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link InstanceNotFound} (client fault)
|
|
60
|
-
* <p>No instance exists with the specified ID, or the instance was recently registered, and
|
|
61
|
-
* the instance hasn't propagated yet.</p>
|
|
60
|
+
* <p>No instance exists with the specified ID, or the instance was recently registered, and
|
|
61
|
+
* information about the instance hasn't propagated yet.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link InvalidInput} (client fault)
|
|
64
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
65
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
64
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
65
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
66
|
+
* constraints.</p>
|
|
66
67
|
*
|
|
67
68
|
* @throws {@link ResourceInUse} (client fault)
|
|
68
|
-
* <p>The specified resource can't be deleted because it contains other resources. For example,
|
|
69
|
-
* a service that contains any instances.</p>
|
|
69
|
+
* <p>The specified resource can't be deleted because it contains other resources. For example,
|
|
70
|
+
* you can't delete a service that contains any instances.</p>
|
|
70
71
|
*
|
|
71
72
|
* @throws {@link ServiceNotFound} (client fault)
|
|
72
73
|
* <p>No service exists with the specified ID.</p>
|
|
@@ -28,9 +28,10 @@ declare const DiscoverInstancesCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Discovers registered instances for a specified namespace and service. You can use
|
|
31
|
-
* <code>DiscoverInstances</code> to discover instances for any type of namespace.
|
|
32
|
-
*
|
|
33
|
-
* public and private DNS namespaces, you can also
|
|
31
|
+
* <code>DiscoverInstances</code> to discover instances for any type of namespace.
|
|
32
|
+
* <code>DiscoverInstances</code> returns a randomized list of instances allowing customers to
|
|
33
|
+
* distribute traffic evenly across instances. For public and private DNS namespaces, you can also
|
|
34
|
+
* use DNS queries to discover instances.</p>
|
|
34
35
|
* @example
|
|
35
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
37
|
* ```javascript
|
|
@@ -48,6 +49,7 @@ declare const DiscoverInstancesCommand_base: {
|
|
|
48
49
|
* "<keys>": "STRING_VALUE",
|
|
49
50
|
* },
|
|
50
51
|
* HealthStatus: "HEALTHY" || "UNHEALTHY" || "ALL" || "HEALTHY_OR_ELSE_ALL",
|
|
52
|
+
* OwnerAccount: "STRING_VALUE",
|
|
51
53
|
* };
|
|
52
54
|
* const command = new DiscoverInstancesCommand(input);
|
|
53
55
|
* const response = await client.send(command);
|
|
@@ -75,16 +77,17 @@ declare const DiscoverInstancesCommand_base: {
|
|
|
75
77
|
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
|
|
76
78
|
*
|
|
77
79
|
* @throws {@link InvalidInput} (client fault)
|
|
78
|
-
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
79
|
-
* might be outside the allowed range, or a string value might exceed length
|
|
80
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
81
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
82
|
+
* constraints.</p>
|
|
80
83
|
*
|
|
81
84
|
* @throws {@link NamespaceNotFound} (client fault)
|
|
82
85
|
* <p>No namespace exists with the specified ID.</p>
|
|
83
86
|
*
|
|
84
87
|
* @throws {@link RequestLimitExceeded} (client fault)
|
|
85
|
-
* <p>The operation can't be completed because you've reached the quota for the number of
|
|
86
|
-
* information, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/throttling.html">Cloud Map API request
|
|
87
|
-
*
|
|
88
|
+
* <p>The operation can't be completed because you've reached the quota for the number of
|
|
89
|
+
* 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
|
|
90
|
+
* <i>Cloud Map Developer Guide</i>.</p>
|
|
88
91
|
*
|
|
89
92
|
* @throws {@link ServiceNotFound} (client fault)
|
|
90
93
|
* <p>No service exists with the specified ID.</p>
|
|
@@ -37,6 +37,7 @@ declare const DiscoverInstancesRevisionCommand_base: {
|
|
|
37
37
|
* const input = { // DiscoverInstancesRevisionRequest
|
|
38
38
|
* NamespaceName: "STRING_VALUE", // required
|
|
39
39
|
* ServiceName: "STRING_VALUE", // required
|
|
40
|
+
* OwnerAccount: "STRING_VALUE",
|
|
40
41
|
* };
|
|
41
42
|
* const command = new DiscoverInstancesRevisionCommand(input);
|
|
42
43
|
* const response = await client.send(command);
|
|
@@ -53,16 +54,17 @@ declare const DiscoverInstancesRevisionCommand_base: {
|
|
|
53
54
|
* @see {@link ServiceDiscoveryClientResolvedConfig | config} for ServiceDiscoveryClient's `config` shape.
|
|
54
55
|
*
|
|
55
56
|
* @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
|
|
57
|
+
* <p>One or more specified values aren't valid. For example, a required value might be missing, a
|
|
58
|
+
* numeric value might be outside the allowed range, or a string value might exceed length
|
|
59
|
+
* constraints.</p>
|
|
58
60
|
*
|
|
59
61
|
* @throws {@link NamespaceNotFound} (client fault)
|
|
60
62
|
* <p>No namespace exists with the specified ID.</p>
|
|
61
63
|
*
|
|
62
64
|
* @throws {@link RequestLimitExceeded} (client fault)
|
|
63
|
-
* <p>The operation can't be completed because you've reached the quota for the number of
|
|
64
|
-
* information, see <a href="https://docs.aws.amazon.com/cloud-map/latest/dg/throttling.html">Cloud Map API request
|
|
65
|
-
*
|
|
65
|
+
* <p>The operation can't be completed because you've reached the quota for the number of
|
|
66
|
+
* 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
|
|
67
|
+
* <i>Cloud Map Developer Guide</i>.</p>
|
|
66
68
|
*
|
|
67
69
|
* @throws {@link ServiceNotFound} (client fault)
|
|
68
70
|
* <p>No service exists with the specified ID.</p>
|