@aws-sdk/client-servicediscovery 3.299.0 → 3.301.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 +11 -0
  2. package/dist-types/commands/CreatePrivateDnsNamespaceCommand.d.ts +19 -0
  3. package/dist-types/commands/CreatePublicDnsNamespaceCommand.d.ts +18 -0
  4. package/dist-types/commands/CreateServiceCommand.d.ts +31 -0
  5. package/dist-types/commands/DeleteNamespaceCommand.d.ts +3 -0
  6. package/dist-types/commands/DeleteServiceCommand.d.ts +3 -0
  7. package/dist-types/commands/DeregisterInstanceCommand.d.ts +4 -0
  8. package/dist-types/commands/DiscoverInstancesCommand.d.ts +12 -0
  9. package/dist-types/commands/GetInstanceCommand.d.ts +4 -0
  10. package/dist-types/commands/GetInstancesHealthStatusCommand.d.ts +8 -0
  11. package/dist-types/commands/GetNamespaceCommand.d.ts +3 -0
  12. package/dist-types/commands/GetOperationCommand.d.ts +3 -0
  13. package/dist-types/commands/GetServiceCommand.d.ts +3 -0
  14. package/dist-types/commands/ListInstancesCommand.d.ts +5 -0
  15. package/dist-types/commands/ListNamespacesCommand.d.ts +13 -0
  16. package/dist-types/commands/ListOperationsCommand.d.ts +13 -0
  17. package/dist-types/commands/ListServicesCommand.d.ts +13 -0
  18. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  19. package/dist-types/commands/RegisterInstanceCommand.d.ts +8 -0
  20. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  21. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  22. package/dist-types/commands/UpdateHttpNamespaceCommand.d.ts +7 -0
  23. package/dist-types/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +5 -0
  24. package/dist-types/commands/UpdatePrivateDnsNamespaceCommand.d.ts +14 -0
  25. package/dist-types/commands/UpdatePublicDnsNamespaceCommand.d.ts +14 -0
  26. package/dist-types/commands/UpdateServiceCommand.d.ts +19 -0
  27. package/package.json +8 -8
@@ -30,6 +30,17 @@ export interface CreateHttpNamespaceCommandOutput extends CreateHttpNamespaceRes
30
30
  * import { ServiceDiscoveryClient, CreateHttpNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
31
31
  * // const { ServiceDiscoveryClient, CreateHttpNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
32
32
  * const client = new ServiceDiscoveryClient(config);
33
+ * const input = { // CreateHttpNamespaceRequest
34
+ * Name: "STRING_VALUE", // required
35
+ * CreatorRequestId: "STRING_VALUE",
36
+ * Description: "STRING_VALUE",
37
+ * Tags: [ // TagList
38
+ * { // Tag
39
+ * Key: "STRING_VALUE", // required
40
+ * Value: "STRING_VALUE", // required
41
+ * },
42
+ * ],
43
+ * };
33
44
  * const command = new CreateHttpNamespaceCommand(input);
34
45
  * const response = await client.send(command);
35
46
  * ```
@@ -33,6 +33,25 @@ export interface CreatePrivateDnsNamespaceCommandOutput extends CreatePrivateDns
33
33
  * import { ServiceDiscoveryClient, CreatePrivateDnsNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
34
34
  * // const { ServiceDiscoveryClient, CreatePrivateDnsNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
35
35
  * const client = new ServiceDiscoveryClient(config);
36
+ * const input = { // CreatePrivateDnsNamespaceRequest
37
+ * Name: "STRING_VALUE", // required
38
+ * CreatorRequestId: "STRING_VALUE",
39
+ * Description: "STRING_VALUE",
40
+ * Vpc: "STRING_VALUE", // required
41
+ * Tags: [ // TagList
42
+ * { // Tag
43
+ * Key: "STRING_VALUE", // required
44
+ * Value: "STRING_VALUE", // required
45
+ * },
46
+ * ],
47
+ * Properties: { // PrivateDnsNamespaceProperties
48
+ * DnsProperties: { // PrivateDnsPropertiesMutable
49
+ * SOA: { // SOA
50
+ * TTL: Number("long"), // required
51
+ * },
52
+ * },
53
+ * },
54
+ * };
36
55
  * const command = new CreatePrivateDnsNamespaceCommand(input);
37
56
  * const response = await client.send(command);
38
57
  * ```
@@ -35,6 +35,24 @@ export interface CreatePublicDnsNamespaceCommandOutput extends CreatePublicDnsNa
35
35
  * import { ServiceDiscoveryClient, CreatePublicDnsNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
36
36
  * // const { ServiceDiscoveryClient, CreatePublicDnsNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
37
37
  * const client = new ServiceDiscoveryClient(config);
38
+ * const input = { // CreatePublicDnsNamespaceRequest
39
+ * Name: "STRING_VALUE", // required
40
+ * CreatorRequestId: "STRING_VALUE",
41
+ * Description: "STRING_VALUE",
42
+ * Tags: [ // TagList
43
+ * { // Tag
44
+ * Key: "STRING_VALUE", // required
45
+ * Value: "STRING_VALUE", // required
46
+ * },
47
+ * ],
48
+ * Properties: { // PublicDnsNamespaceProperties
49
+ * DnsProperties: { // PublicDnsPropertiesMutable
50
+ * SOA: { // SOA
51
+ * TTL: Number("long"), // required
52
+ * },
53
+ * },
54
+ * },
55
+ * };
38
56
  * const command = new CreatePublicDnsNamespaceCommand(input);
39
57
  * const response = await client.send(command);
40
58
  * ```
@@ -67,6 +67,37 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
67
67
  * import { ServiceDiscoveryClient, CreateServiceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
68
68
  * // const { ServiceDiscoveryClient, CreateServiceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
69
69
  * const client = new ServiceDiscoveryClient(config);
70
+ * const input = { // CreateServiceRequest
71
+ * Name: "STRING_VALUE", // required
72
+ * NamespaceId: "STRING_VALUE",
73
+ * CreatorRequestId: "STRING_VALUE",
74
+ * Description: "STRING_VALUE",
75
+ * DnsConfig: { // DnsConfig
76
+ * NamespaceId: "STRING_VALUE",
77
+ * RoutingPolicy: "MULTIVALUE" || "WEIGHTED",
78
+ * DnsRecords: [ // DnsRecordList // required
79
+ * { // DnsRecord
80
+ * Type: "SRV" || "A" || "AAAA" || "CNAME", // required
81
+ * TTL: Number("long"), // required
82
+ * },
83
+ * ],
84
+ * },
85
+ * HealthCheckConfig: { // HealthCheckConfig
86
+ * Type: "HTTP" || "HTTPS" || "TCP", // required
87
+ * ResourcePath: "STRING_VALUE",
88
+ * FailureThreshold: Number("int"),
89
+ * },
90
+ * HealthCheckCustomConfig: { // HealthCheckCustomConfig
91
+ * FailureThreshold: Number("int"),
92
+ * },
93
+ * Tags: [ // TagList
94
+ * { // Tag
95
+ * Key: "STRING_VALUE", // required
96
+ * Value: "STRING_VALUE", // required
97
+ * },
98
+ * ],
99
+ * Type: "HTTP",
100
+ * };
70
101
  * const command = new CreateServiceCommand(input);
71
102
  * const response = await client.send(command);
72
103
  * ```
@@ -27,6 +27,9 @@ export interface DeleteNamespaceCommandOutput extends DeleteNamespaceResponse, _
27
27
  * import { ServiceDiscoveryClient, DeleteNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
28
28
  * // const { ServiceDiscoveryClient, DeleteNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
29
29
  * const client = new ServiceDiscoveryClient(config);
30
+ * const input = { // DeleteNamespaceRequest
31
+ * Id: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DeleteNamespaceCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -27,6 +27,9 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
27
27
  * import { ServiceDiscoveryClient, DeleteServiceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
28
28
  * // const { ServiceDiscoveryClient, DeleteServiceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
29
29
  * const client = new ServiceDiscoveryClient(config);
30
+ * const input = { // DeleteServiceRequest
31
+ * Id: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DeleteServiceCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -27,6 +27,10 @@ export interface DeregisterInstanceCommandOutput extends DeregisterInstanceRespo
27
27
  * import { ServiceDiscoveryClient, DeregisterInstanceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
28
28
  * // const { ServiceDiscoveryClient, DeregisterInstanceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
29
29
  * const client = new ServiceDiscoveryClient(config);
30
+ * const input = { // DeregisterInstanceRequest
31
+ * ServiceId: "STRING_VALUE", // required
32
+ * InstanceId: "STRING_VALUE", // required
33
+ * };
30
34
  * const command = new DeregisterInstanceCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -28,6 +28,18 @@ export interface DiscoverInstancesCommandOutput extends DiscoverInstancesRespons
28
28
  * import { ServiceDiscoveryClient, DiscoverInstancesCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
29
29
  * // const { ServiceDiscoveryClient, DiscoverInstancesCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
30
30
  * const client = new ServiceDiscoveryClient(config);
31
+ * const input = { // DiscoverInstancesRequest
32
+ * NamespaceName: "STRING_VALUE", // required
33
+ * ServiceName: "STRING_VALUE", // required
34
+ * MaxResults: Number("int"),
35
+ * QueryParameters: { // Attributes
36
+ * "<keys>": "STRING_VALUE",
37
+ * },
38
+ * OptionalParameters: {
39
+ * "<keys>": "STRING_VALUE",
40
+ * },
41
+ * HealthStatus: "HEALTHY" || "UNHEALTHY" || "ALL" || "HEALTHY_OR_ELSE_ALL",
42
+ * };
31
43
  * const command = new DiscoverInstancesCommand(input);
32
44
  * const response = await client.send(command);
33
45
  * ```
@@ -26,6 +26,10 @@ export interface GetInstanceCommandOutput extends GetInstanceResponse, __Metadat
26
26
  * import { ServiceDiscoveryClient, GetInstanceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
27
27
  * // const { ServiceDiscoveryClient, GetInstanceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
28
28
  * const client = new ServiceDiscoveryClient(config);
29
+ * const input = { // GetInstanceRequest
30
+ * ServiceId: "STRING_VALUE", // required
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetInstanceCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -32,6 +32,14 @@ export interface GetInstancesHealthStatusCommandOutput extends GetInstancesHealt
32
32
  * import { ServiceDiscoveryClient, GetInstancesHealthStatusCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
33
33
  * // const { ServiceDiscoveryClient, GetInstancesHealthStatusCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
34
34
  * const client = new ServiceDiscoveryClient(config);
35
+ * const input = { // GetInstancesHealthStatusRequest
36
+ * ServiceId: "STRING_VALUE", // required
37
+ * Instances: [ // InstanceIdList
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * MaxResults: Number("int"),
41
+ * NextToken: "STRING_VALUE",
42
+ * };
35
43
  * const command = new GetInstancesHealthStatusCommand(input);
36
44
  * const response = await client.send(command);
37
45
  * ```
@@ -26,6 +26,9 @@ export interface GetNamespaceCommandOutput extends GetNamespaceResponse, __Metad
26
26
  * import { ServiceDiscoveryClient, GetNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
27
27
  * // const { ServiceDiscoveryClient, GetNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
28
28
  * const client = new ServiceDiscoveryClient(config);
29
+ * const input = { // GetNamespaceRequest
30
+ * Id: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetNamespaceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -30,6 +30,9 @@ export interface GetOperationCommandOutput extends GetOperationResponse, __Metad
30
30
  * import { ServiceDiscoveryClient, GetOperationCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
31
31
  * // const { ServiceDiscoveryClient, GetOperationCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
32
32
  * const client = new ServiceDiscoveryClient(config);
33
+ * const input = { // GetOperationRequest
34
+ * OperationId: "STRING_VALUE", // required
35
+ * };
33
36
  * const command = new GetOperationCommand(input);
34
37
  * const response = await client.send(command);
35
38
  * ```
@@ -26,6 +26,9 @@ export interface GetServiceCommandOutput extends GetServiceResponse, __MetadataB
26
26
  * import { ServiceDiscoveryClient, GetServiceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
27
27
  * // const { ServiceDiscoveryClient, GetServiceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
28
28
  * const client = new ServiceDiscoveryClient(config);
29
+ * const input = { // GetServiceRequest
30
+ * Id: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetServiceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,11 @@ export interface ListInstancesCommandOutput extends ListInstancesResponse, __Met
27
27
  * import { ServiceDiscoveryClient, ListInstancesCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
28
28
  * // const { ServiceDiscoveryClient, ListInstancesCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
29
29
  * const client = new ServiceDiscoveryClient(config);
30
+ * const input = { // ListInstancesRequest
31
+ * ServiceId: "STRING_VALUE", // required
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * };
30
35
  * const command = new ListInstancesCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -26,6 +26,19 @@ export interface ListNamespacesCommandOutput extends ListNamespacesResponse, __M
26
26
  * import { ServiceDiscoveryClient, ListNamespacesCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
27
27
  * // const { ServiceDiscoveryClient, ListNamespacesCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
28
28
  * const client = new ServiceDiscoveryClient(config);
29
+ * const input = { // ListNamespacesRequest
30
+ * NextToken: "STRING_VALUE",
31
+ * MaxResults: Number("int"),
32
+ * Filters: [ // NamespaceFilters
33
+ * { // NamespaceFilter
34
+ * Name: "TYPE" || "NAME" || "HTTP_NAME", // required
35
+ * Values: [ // FilterValues // required
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * Condition: "EQ" || "IN" || "BETWEEN" || "BEGINS_WITH",
39
+ * },
40
+ * ],
41
+ * };
29
42
  * const command = new ListNamespacesCommand(input);
30
43
  * const response = await client.send(command);
31
44
  * ```
@@ -26,6 +26,19 @@ export interface ListOperationsCommandOutput extends ListOperationsResponse, __M
26
26
  * import { ServiceDiscoveryClient, ListOperationsCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
27
27
  * // const { ServiceDiscoveryClient, ListOperationsCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
28
28
  * const client = new ServiceDiscoveryClient(config);
29
+ * const input = { // ListOperationsRequest
30
+ * NextToken: "STRING_VALUE",
31
+ * MaxResults: Number("int"),
32
+ * Filters: [ // OperationFilters
33
+ * { // OperationFilter
34
+ * Name: "NAMESPACE_ID" || "SERVICE_ID" || "STATUS" || "TYPE" || "UPDATE_DATE", // required
35
+ * Values: [ // FilterValues // required
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * Condition: "EQ" || "IN" || "BETWEEN" || "BEGINS_WITH",
39
+ * },
40
+ * ],
41
+ * };
29
42
  * const command = new ListOperationsCommand(input);
30
43
  * const response = await client.send(command);
31
44
  * ```
@@ -27,6 +27,19 @@ export interface ListServicesCommandOutput extends ListServicesResponse, __Metad
27
27
  * import { ServiceDiscoveryClient, ListServicesCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
28
28
  * // const { ServiceDiscoveryClient, ListServicesCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
29
29
  * const client = new ServiceDiscoveryClient(config);
30
+ * const input = { // ListServicesRequest
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * Filters: [ // ServiceFilters
34
+ * { // ServiceFilter
35
+ * Name: "NAMESPACE_ID", // required
36
+ * Values: [ // FilterValues // required
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * Condition: "EQ" || "IN" || "BETWEEN" || "BEGINS_WITH",
40
+ * },
41
+ * ],
42
+ * };
30
43
  * const command = new ListServicesCommand(input);
31
44
  * const response = await client.send(command);
32
45
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { ServiceDiscoveryClient, ListTagsForResourceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
27
27
  * // const { ServiceDiscoveryClient, ListTagsForResourceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
28
28
  * const client = new ServiceDiscoveryClient(config);
29
+ * const input = { // ListTagsForResourceRequest
30
+ * ResourceARN: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -69,6 +69,14 @@ export interface RegisterInstanceCommandOutput extends RegisterInstanceResponse,
69
69
  * import { ServiceDiscoveryClient, RegisterInstanceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
70
70
  * // const { ServiceDiscoveryClient, RegisterInstanceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
71
71
  * const client = new ServiceDiscoveryClient(config);
72
+ * const input = { // RegisterInstanceRequest
73
+ * ServiceId: "STRING_VALUE", // required
74
+ * InstanceId: "STRING_VALUE", // required
75
+ * CreatorRequestId: "STRING_VALUE",
76
+ * Attributes: { // Attributes // required
77
+ * "<keys>": "STRING_VALUE",
78
+ * },
79
+ * };
72
80
  * const command = new RegisterInstanceCommand(input);
73
81
  * const response = await client.send(command);
74
82
  * ```
@@ -26,6 +26,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { ServiceDiscoveryClient, TagResourceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
27
27
  * // const { ServiceDiscoveryClient, TagResourceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
28
28
  * const client = new ServiceDiscoveryClient(config);
29
+ * const input = { // TagResourceRequest
30
+ * ResourceARN: "STRING_VALUE", // required
31
+ * Tags: [ // TagList // required
32
+ * { // Tag
33
+ * Key: "STRING_VALUE", // required
34
+ * Value: "STRING_VALUE", // required
35
+ * },
36
+ * ],
37
+ * };
29
38
  * const command = new TagResourceCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { ServiceDiscoveryClient, UntagResourceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
27
27
  * // const { ServiceDiscoveryClient, UntagResourceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
28
28
  * const client = new ServiceDiscoveryClient(config);
29
+ * const input = { // UntagResourceRequest
30
+ * ResourceARN: "STRING_VALUE", // required
31
+ * TagKeys: [ // TagKeyList // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -27,6 +27,13 @@ export interface UpdateHttpNamespaceCommandOutput extends UpdateHttpNamespaceRes
27
27
  * import { ServiceDiscoveryClient, UpdateHttpNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
28
28
  * // const { ServiceDiscoveryClient, UpdateHttpNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
29
29
  * const client = new ServiceDiscoveryClient(config);
30
+ * const input = { // UpdateHttpNamespaceRequest
31
+ * Id: "STRING_VALUE", // required
32
+ * UpdaterRequestId: "STRING_VALUE",
33
+ * Namespace: { // HttpNamespaceChange
34
+ * Description: "STRING_VALUE", // required
35
+ * },
36
+ * };
30
37
  * const command = new UpdateHttpNamespaceCommand(input);
31
38
  * const response = await client.send(command);
32
39
  * ```
@@ -32,6 +32,11 @@ export interface UpdateInstanceCustomHealthStatusCommandOutput extends __Metadat
32
32
  * import { ServiceDiscoveryClient, UpdateInstanceCustomHealthStatusCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
33
33
  * // const { ServiceDiscoveryClient, UpdateInstanceCustomHealthStatusCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
34
34
  * const client = new ServiceDiscoveryClient(config);
35
+ * const input = { // UpdateInstanceCustomHealthStatusRequest
36
+ * ServiceId: "STRING_VALUE", // required
37
+ * InstanceId: "STRING_VALUE", // required
38
+ * Status: "HEALTHY" || "UNHEALTHY", // required
39
+ * };
35
40
  * const command = new UpdateInstanceCustomHealthStatusCommand(input);
36
41
  * const response = await client.send(command);
37
42
  * ```
@@ -27,6 +27,20 @@ export interface UpdatePrivateDnsNamespaceCommandOutput extends UpdatePrivateDns
27
27
  * import { ServiceDiscoveryClient, UpdatePrivateDnsNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
28
28
  * // const { ServiceDiscoveryClient, UpdatePrivateDnsNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
29
29
  * const client = new ServiceDiscoveryClient(config);
30
+ * const input = { // UpdatePrivateDnsNamespaceRequest
31
+ * Id: "STRING_VALUE", // required
32
+ * UpdaterRequestId: "STRING_VALUE",
33
+ * Namespace: { // PrivateDnsNamespaceChange
34
+ * Description: "STRING_VALUE",
35
+ * Properties: { // PrivateDnsNamespacePropertiesChange
36
+ * DnsProperties: { // PrivateDnsPropertiesMutableChange
37
+ * SOA: { // SOAChange
38
+ * TTL: Number("long"), // required
39
+ * },
40
+ * },
41
+ * },
42
+ * },
43
+ * };
30
44
  * const command = new UpdatePrivateDnsNamespaceCommand(input);
31
45
  * const response = await client.send(command);
32
46
  * ```
@@ -27,6 +27,20 @@ export interface UpdatePublicDnsNamespaceCommandOutput extends UpdatePublicDnsNa
27
27
  * import { ServiceDiscoveryClient, UpdatePublicDnsNamespaceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
28
28
  * // const { ServiceDiscoveryClient, UpdatePublicDnsNamespaceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
29
29
  * const client = new ServiceDiscoveryClient(config);
30
+ * const input = { // UpdatePublicDnsNamespaceRequest
31
+ * Id: "STRING_VALUE", // required
32
+ * UpdaterRequestId: "STRING_VALUE",
33
+ * Namespace: { // PublicDnsNamespaceChange
34
+ * Description: "STRING_VALUE",
35
+ * Properties: { // PublicDnsNamespacePropertiesChange
36
+ * DnsProperties: { // PublicDnsPropertiesMutableChange
37
+ * SOA: { // SOAChange
38
+ * TTL: Number("long"), // required
39
+ * },
40
+ * },
41
+ * },
42
+ * },
43
+ * };
30
44
  * const command = new UpdatePublicDnsNamespaceCommand(input);
31
45
  * const response = await client.send(command);
32
46
  * ```
@@ -52,6 +52,25 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
52
52
  * import { ServiceDiscoveryClient, UpdateServiceCommand } from "@aws-sdk/client-servicediscovery"; // ES Modules import
53
53
  * // const { ServiceDiscoveryClient, UpdateServiceCommand } = require("@aws-sdk/client-servicediscovery"); // CommonJS import
54
54
  * const client = new ServiceDiscoveryClient(config);
55
+ * const input = { // UpdateServiceRequest
56
+ * Id: "STRING_VALUE", // required
57
+ * Service: { // ServiceChange
58
+ * Description: "STRING_VALUE",
59
+ * DnsConfig: { // DnsConfigChange
60
+ * DnsRecords: [ // DnsRecordList // required
61
+ * { // DnsRecord
62
+ * Type: "SRV" || "A" || "AAAA" || "CNAME", // required
63
+ * TTL: Number("long"), // required
64
+ * },
65
+ * ],
66
+ * },
67
+ * HealthCheckConfig: { // HealthCheckConfig
68
+ * Type: "HTTP" || "HTTPS" || "TCP", // required
69
+ * ResourcePath: "STRING_VALUE",
70
+ * FailureThreshold: Number("int"),
71
+ * },
72
+ * },
73
+ * };
55
74
  * const command = new UpdateServiceCommand(input);
56
75
  * const response = await client.send(command);
57
76
  * ```
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.299.0",
4
+ "version": "3.301.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",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"