@aws-sdk/client-servicediscovery 3.325.0 → 3.326.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 +6 -0
  2. package/dist-types/commands/CreatePrivateDnsNamespaceCommand.d.ts +6 -0
  3. package/dist-types/commands/CreatePublicDnsNamespaceCommand.d.ts +6 -0
  4. package/dist-types/commands/CreateServiceCommand.d.ts +34 -0
  5. package/dist-types/commands/DeleteNamespaceCommand.d.ts +6 -0
  6. package/dist-types/commands/DeleteServiceCommand.d.ts +4 -0
  7. package/dist-types/commands/DeregisterInstanceCommand.d.ts +6 -0
  8. package/dist-types/commands/DiscoverInstancesCommand.d.ts +16 -0
  9. package/dist-types/commands/GetInstanceCommand.d.ts +12 -0
  10. package/dist-types/commands/GetInstancesHealthStatusCommand.d.ts +9 -0
  11. package/dist-types/commands/GetNamespaceCommand.d.ts +26 -0
  12. package/dist-types/commands/GetOperationCommand.d.ts +17 -0
  13. package/dist-types/commands/GetServiceCommand.d.ts +34 -0
  14. package/dist-types/commands/ListInstancesCommand.d.ts +14 -0
  15. package/dist-types/commands/ListNamespacesCommand.d.ts +28 -0
  16. package/dist-types/commands/ListOperationsCommand.d.ts +12 -0
  17. package/dist-types/commands/ListServicesCommand.d.ts +35 -0
  18. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  19. package/dist-types/commands/RegisterInstanceCommand.d.ts +6 -0
  20. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  21. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  22. package/dist-types/commands/UpdateHttpNamespaceCommand.d.ts +6 -0
  23. package/dist-types/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +4 -0
  24. package/dist-types/commands/UpdatePrivateDnsNamespaceCommand.d.ts +6 -0
  25. package/dist-types/commands/UpdatePublicDnsNamespaceCommand.d.ts +6 -0
  26. package/dist-types/commands/UpdateServiceCommand.d.ts +6 -0
  27. package/package.json +3 -3
@@ -43,6 +43,10 @@ export interface CreateHttpNamespaceCommandOutput extends CreateHttpNamespaceRes
43
43
  * };
44
44
  * const command = new CreateHttpNamespaceCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // CreateHttpNamespaceResponse
47
+ * // OperationId: "STRING_VALUE",
48
+ * // };
49
+ *
46
50
  * ```
47
51
  *
48
52
  * @param CreateHttpNamespaceCommandInput - {@link CreateHttpNamespaceCommandInput}
@@ -70,6 +74,8 @@ export interface CreateHttpNamespaceCommandOutput extends CreateHttpNamespaceRes
70
74
  * <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
71
75
  * applied to a resource is 50.</p>
72
76
  *
77
+ * @throws {@link ServiceDiscoveryServiceException}
78
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
73
79
  *
74
80
  * @example CreateHttpNamespace example
75
81
  * ```javascript
@@ -54,6 +54,10 @@ export interface CreatePrivateDnsNamespaceCommandOutput extends CreatePrivateDns
54
54
  * };
55
55
  * const command = new CreatePrivateDnsNamespaceCommand(input);
56
56
  * const response = await client.send(command);
57
+ * // { // CreatePrivateDnsNamespaceResponse
58
+ * // OperationId: "STRING_VALUE",
59
+ * // };
60
+ *
57
61
  * ```
58
62
  *
59
63
  * @param CreatePrivateDnsNamespaceCommandInput - {@link CreatePrivateDnsNamespaceCommandInput}
@@ -81,6 +85,8 @@ export interface CreatePrivateDnsNamespaceCommandOutput extends CreatePrivateDns
81
85
  * <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
82
86
  * applied to a resource is 50.</p>
83
87
  *
88
+ * @throws {@link ServiceDiscoveryServiceException}
89
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
84
90
  *
85
91
  * @example Example: Create private DNS namespace
86
92
  * ```javascript
@@ -55,6 +55,10 @@ export interface CreatePublicDnsNamespaceCommandOutput extends CreatePublicDnsNa
55
55
  * };
56
56
  * const command = new CreatePublicDnsNamespaceCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // CreatePublicDnsNamespaceResponse
59
+ * // OperationId: "STRING_VALUE",
60
+ * // };
61
+ *
58
62
  * ```
59
63
  *
60
64
  * @param CreatePublicDnsNamespaceCommandInput - {@link CreatePublicDnsNamespaceCommandInput}
@@ -82,6 +86,8 @@ export interface CreatePublicDnsNamespaceCommandOutput extends CreatePublicDnsNa
82
86
  * <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
83
87
  * applied to a resource is 50.</p>
84
88
  *
89
+ * @throws {@link ServiceDiscoveryServiceException}
90
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
85
91
  *
86
92
  * @example CreatePublicDnsNamespace example
87
93
  * ```javascript
@@ -100,6 +100,38 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
100
100
  * };
101
101
  * const command = new CreateServiceCommand(input);
102
102
  * const response = await client.send(command);
103
+ * // { // CreateServiceResponse
104
+ * // Service: { // Service
105
+ * // Id: "STRING_VALUE",
106
+ * // Arn: "STRING_VALUE",
107
+ * // Name: "STRING_VALUE",
108
+ * // NamespaceId: "STRING_VALUE",
109
+ * // Description: "STRING_VALUE",
110
+ * // InstanceCount: Number("int"),
111
+ * // DnsConfig: { // DnsConfig
112
+ * // NamespaceId: "STRING_VALUE",
113
+ * // RoutingPolicy: "MULTIVALUE" || "WEIGHTED",
114
+ * // DnsRecords: [ // DnsRecordList // required
115
+ * // { // DnsRecord
116
+ * // Type: "SRV" || "A" || "AAAA" || "CNAME", // required
117
+ * // TTL: Number("long"), // required
118
+ * // },
119
+ * // ],
120
+ * // },
121
+ * // Type: "HTTP" || "DNS_HTTP" || "DNS",
122
+ * // HealthCheckConfig: { // HealthCheckConfig
123
+ * // Type: "HTTP" || "HTTPS" || "TCP", // required
124
+ * // ResourcePath: "STRING_VALUE",
125
+ * // FailureThreshold: Number("int"),
126
+ * // },
127
+ * // HealthCheckCustomConfig: { // HealthCheckCustomConfig
128
+ * // FailureThreshold: Number("int"),
129
+ * // },
130
+ * // CreateDate: new Date("TIMESTAMP"),
131
+ * // CreatorRequestId: "STRING_VALUE",
132
+ * // },
133
+ * // };
134
+ *
103
135
  * ```
104
136
  *
105
137
  * @param CreateServiceCommandInput - {@link CreateServiceCommandInput}
@@ -127,6 +159,8 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
127
159
  * <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
128
160
  * applied to a resource is 50.</p>
129
161
  *
162
+ * @throws {@link ServiceDiscoveryServiceException}
163
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
130
164
  *
131
165
  * @example Example: Create service
132
166
  * ```javascript
@@ -32,6 +32,10 @@ export interface DeleteNamespaceCommandOutput extends DeleteNamespaceResponse, _
32
32
  * };
33
33
  * const command = new DeleteNamespaceCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // DeleteNamespaceResponse
36
+ * // OperationId: "STRING_VALUE",
37
+ * // };
38
+ *
35
39
  * ```
36
40
  *
37
41
  * @param DeleteNamespaceCommandInput - {@link DeleteNamespaceCommandInput}
@@ -55,6 +59,8 @@ export interface DeleteNamespaceCommandOutput extends DeleteNamespaceResponse, _
55
59
  * <p>The specified resource can't be deleted because it contains other resources. For example,
56
60
  * you can't delete a service that contains any instances.</p>
57
61
  *
62
+ * @throws {@link ServiceDiscoveryServiceException}
63
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
58
64
  *
59
65
  * @example Example: Delete namespace
60
66
  * ```javascript
@@ -32,6 +32,8 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
32
32
  * };
33
33
  * const command = new DeleteServiceCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DeleteServiceCommandInput - {@link DeleteServiceCommandInput}
@@ -52,6 +54,8 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
52
54
  * @throws {@link ServiceNotFound} (client fault)
53
55
  * <p>No service exists with the specified ID.</p>
54
56
  *
57
+ * @throws {@link ServiceDiscoveryServiceException}
58
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
55
59
  *
56
60
  * @example Example: Delete service
57
61
  * ```javascript
@@ -33,6 +33,10 @@ export interface DeregisterInstanceCommandOutput extends DeregisterInstanceRespo
33
33
  * };
34
34
  * const command = new DeregisterInstanceCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // DeregisterInstanceResponse
37
+ * // OperationId: "STRING_VALUE",
38
+ * // };
39
+ *
36
40
  * ```
37
41
  *
38
42
  * @param DeregisterInstanceCommandInput - {@link DeregisterInstanceCommandInput}
@@ -60,6 +64,8 @@ export interface DeregisterInstanceCommandOutput extends DeregisterInstanceRespo
60
64
  * @throws {@link ServiceNotFound} (client fault)
61
65
  * <p>No service exists with the specified ID.</p>
62
66
  *
67
+ * @throws {@link ServiceDiscoveryServiceException}
68
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
63
69
  *
64
70
  * @example Example: Deregister a service instance
65
71
  * ```javascript
@@ -42,6 +42,20 @@ export interface DiscoverInstancesCommandOutput extends DiscoverInstancesRespons
42
42
  * };
43
43
  * const command = new DiscoverInstancesCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // DiscoverInstancesResponse
46
+ * // Instances: [ // HttpInstanceSummaryList
47
+ * // { // HttpInstanceSummary
48
+ * // InstanceId: "STRING_VALUE",
49
+ * // NamespaceName: "STRING_VALUE",
50
+ * // ServiceName: "STRING_VALUE",
51
+ * // HealthStatus: "HEALTHY" || "UNHEALTHY" || "UNKNOWN",
52
+ * // Attributes: { // Attributes
53
+ * // "<keys>": "STRING_VALUE",
54
+ * // },
55
+ * // },
56
+ * // ],
57
+ * // };
58
+ *
45
59
  * ```
46
60
  *
47
61
  * @param DiscoverInstancesCommandInput - {@link DiscoverInstancesCommandInput}
@@ -66,6 +80,8 @@ export interface DiscoverInstancesCommandOutput extends DiscoverInstancesRespons
66
80
  * @throws {@link ServiceNotFound} (client fault)
67
81
  * <p>No service exists with the specified ID.</p>
68
82
  *
83
+ * @throws {@link ServiceDiscoveryServiceException}
84
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
69
85
  *
70
86
  * @example Example: Discover registered instances
71
87
  * ```javascript
@@ -32,6 +32,16 @@ export interface GetInstanceCommandOutput extends GetInstanceResponse, __Metadat
32
32
  * };
33
33
  * const command = new GetInstanceCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetInstanceResponse
36
+ * // Instance: { // Instance
37
+ * // Id: "STRING_VALUE", // required
38
+ * // CreatorRequestId: "STRING_VALUE",
39
+ * // Attributes: { // Attributes
40
+ * // "<keys>": "STRING_VALUE",
41
+ * // },
42
+ * // },
43
+ * // };
44
+ *
35
45
  * ```
36
46
  *
37
47
  * @param GetInstanceCommandInput - {@link GetInstanceCommandInput}
@@ -52,6 +62,8 @@ export interface GetInstanceCommandOutput extends GetInstanceResponse, __Metadat
52
62
  * @throws {@link ServiceNotFound} (client fault)
53
63
  * <p>No service exists with the specified ID.</p>
54
64
  *
65
+ * @throws {@link ServiceDiscoveryServiceException}
66
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
55
67
  *
56
68
  * @example GetInstance example
57
69
  * ```javascript
@@ -42,6 +42,13 @@ export interface GetInstancesHealthStatusCommandOutput extends GetInstancesHealt
42
42
  * };
43
43
  * const command = new GetInstancesHealthStatusCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // GetInstancesHealthStatusResponse
46
+ * // Status: { // InstanceHealthStatusMap
47
+ * // "<keys>": "HEALTHY" || "UNHEALTHY" || "UNKNOWN",
48
+ * // },
49
+ * // NextToken: "STRING_VALUE",
50
+ * // };
51
+ *
45
52
  * ```
46
53
  *
47
54
  * @param GetInstancesHealthStatusCommandInput - {@link GetInstancesHealthStatusCommandInput}
@@ -62,6 +69,8 @@ export interface GetInstancesHealthStatusCommandOutput extends GetInstancesHealt
62
69
  * @throws {@link ServiceNotFound} (client fault)
63
70
  * <p>No service exists with the specified ID.</p>
64
71
  *
72
+ * @throws {@link ServiceDiscoveryServiceException}
73
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
65
74
  *
66
75
  * @example GetInstancesHealthStatus example
67
76
  * ```javascript
@@ -31,6 +31,30 @@ export interface GetNamespaceCommandOutput extends GetNamespaceResponse, __Metad
31
31
  * };
32
32
  * const command = new GetNamespaceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetNamespaceResponse
35
+ * // Namespace: { // Namespace
36
+ * // Id: "STRING_VALUE",
37
+ * // Arn: "STRING_VALUE",
38
+ * // Name: "STRING_VALUE",
39
+ * // Type: "DNS_PUBLIC" || "DNS_PRIVATE" || "HTTP",
40
+ * // Description: "STRING_VALUE",
41
+ * // ServiceCount: Number("int"),
42
+ * // Properties: { // NamespaceProperties
43
+ * // DnsProperties: { // DnsProperties
44
+ * // HostedZoneId: "STRING_VALUE",
45
+ * // SOA: { // SOA
46
+ * // TTL: Number("long"), // required
47
+ * // },
48
+ * // },
49
+ * // HttpProperties: { // HttpProperties
50
+ * // HttpName: "STRING_VALUE",
51
+ * // },
52
+ * // },
53
+ * // CreateDate: new Date("TIMESTAMP"),
54
+ * // CreatorRequestId: "STRING_VALUE",
55
+ * // },
56
+ * // };
57
+ *
34
58
  * ```
35
59
  *
36
60
  * @param GetNamespaceCommandInput - {@link GetNamespaceCommandInput}
@@ -47,6 +71,8 @@ export interface GetNamespaceCommandOutput extends GetNamespaceResponse, __Metad
47
71
  * @throws {@link NamespaceNotFound} (client fault)
48
72
  * <p>No namespace exists with the specified ID.</p>
49
73
  *
74
+ * @throws {@link ServiceDiscoveryServiceException}
75
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
50
76
  *
51
77
  * @example GetNamespace example
52
78
  * ```javascript
@@ -35,6 +35,21 @@ export interface GetOperationCommandOutput extends GetOperationResponse, __Metad
35
35
  * };
36
36
  * const command = new GetOperationCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // GetOperationResponse
39
+ * // Operation: { // Operation
40
+ * // Id: "STRING_VALUE",
41
+ * // Type: "CREATE_NAMESPACE" || "DELETE_NAMESPACE" || "UPDATE_NAMESPACE" || "UPDATE_SERVICE" || "REGISTER_INSTANCE" || "DEREGISTER_INSTANCE",
42
+ * // Status: "SUBMITTED" || "PENDING" || "SUCCESS" || "FAIL",
43
+ * // ErrorMessage: "STRING_VALUE",
44
+ * // ErrorCode: "STRING_VALUE",
45
+ * // CreateDate: new Date("TIMESTAMP"),
46
+ * // UpdateDate: new Date("TIMESTAMP"),
47
+ * // Targets: { // OperationTargetsMap
48
+ * // "<keys>": "STRING_VALUE",
49
+ * // },
50
+ * // },
51
+ * // };
52
+ *
38
53
  * ```
39
54
  *
40
55
  * @param GetOperationCommandInput - {@link GetOperationCommandInput}
@@ -51,6 +66,8 @@ export interface GetOperationCommandOutput extends GetOperationResponse, __Metad
51
66
  * @throws {@link OperationNotFound} (client fault)
52
67
  * <p>No operation exists with the specified ID.</p>
53
68
  *
69
+ * @throws {@link ServiceDiscoveryServiceException}
70
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
54
71
  *
55
72
  * @example Example: Get operation result
56
73
  * ```javascript
@@ -31,6 +31,38 @@ export interface GetServiceCommandOutput extends GetServiceResponse, __MetadataB
31
31
  * };
32
32
  * const command = new GetServiceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetServiceResponse
35
+ * // Service: { // Service
36
+ * // Id: "STRING_VALUE",
37
+ * // Arn: "STRING_VALUE",
38
+ * // Name: "STRING_VALUE",
39
+ * // NamespaceId: "STRING_VALUE",
40
+ * // Description: "STRING_VALUE",
41
+ * // InstanceCount: Number("int"),
42
+ * // DnsConfig: { // DnsConfig
43
+ * // NamespaceId: "STRING_VALUE",
44
+ * // RoutingPolicy: "MULTIVALUE" || "WEIGHTED",
45
+ * // DnsRecords: [ // DnsRecordList // required
46
+ * // { // DnsRecord
47
+ * // Type: "SRV" || "A" || "AAAA" || "CNAME", // required
48
+ * // TTL: Number("long"), // required
49
+ * // },
50
+ * // ],
51
+ * // },
52
+ * // Type: "HTTP" || "DNS_HTTP" || "DNS",
53
+ * // HealthCheckConfig: { // HealthCheckConfig
54
+ * // Type: "HTTP" || "HTTPS" || "TCP", // required
55
+ * // ResourcePath: "STRING_VALUE",
56
+ * // FailureThreshold: Number("int"),
57
+ * // },
58
+ * // HealthCheckCustomConfig: { // HealthCheckCustomConfig
59
+ * // FailureThreshold: Number("int"),
60
+ * // },
61
+ * // CreateDate: new Date("TIMESTAMP"),
62
+ * // CreatorRequestId: "STRING_VALUE",
63
+ * // },
64
+ * // };
65
+ *
34
66
  * ```
35
67
  *
36
68
  * @param GetServiceCommandInput - {@link GetServiceCommandInput}
@@ -47,6 +79,8 @@ export interface GetServiceCommandOutput extends GetServiceResponse, __MetadataB
47
79
  * @throws {@link ServiceNotFound} (client fault)
48
80
  * <p>No service exists with the specified ID.</p>
49
81
  *
82
+ * @throws {@link ServiceDiscoveryServiceException}
83
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
50
84
  *
51
85
  * @example GetService Example
52
86
  * ```javascript
@@ -34,6 +34,18 @@ export interface ListInstancesCommandOutput extends ListInstancesResponse, __Met
34
34
  * };
35
35
  * const command = new ListInstancesCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListInstancesResponse
38
+ * // Instances: [ // InstanceSummaryList
39
+ * // { // InstanceSummary
40
+ * // Id: "STRING_VALUE",
41
+ * // Attributes: { // Attributes
42
+ * // "<keys>": "STRING_VALUE",
43
+ * // },
44
+ * // },
45
+ * // ],
46
+ * // NextToken: "STRING_VALUE",
47
+ * // };
48
+ *
37
49
  * ```
38
50
  *
39
51
  * @param ListInstancesCommandInput - {@link ListInstancesCommandInput}
@@ -50,6 +62,8 @@ export interface ListInstancesCommandOutput extends ListInstancesResponse, __Met
50
62
  * @throws {@link ServiceNotFound} (client fault)
51
63
  * <p>No service exists with the specified ID.</p>
52
64
  *
65
+ * @throws {@link ServiceDiscoveryServiceException}
66
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
53
67
  *
54
68
  * @example Example: List service instances
55
69
  * ```javascript
@@ -41,6 +41,32 @@ export interface ListNamespacesCommandOutput extends ListNamespacesResponse, __M
41
41
  * };
42
42
  * const command = new ListNamespacesCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // ListNamespacesResponse
45
+ * // Namespaces: [ // NamespaceSummariesList
46
+ * // { // NamespaceSummary
47
+ * // Id: "STRING_VALUE",
48
+ * // Arn: "STRING_VALUE",
49
+ * // Name: "STRING_VALUE",
50
+ * // Type: "DNS_PUBLIC" || "DNS_PRIVATE" || "HTTP",
51
+ * // Description: "STRING_VALUE",
52
+ * // ServiceCount: Number("int"),
53
+ * // Properties: { // NamespaceProperties
54
+ * // DnsProperties: { // DnsProperties
55
+ * // HostedZoneId: "STRING_VALUE",
56
+ * // SOA: { // SOA
57
+ * // TTL: Number("long"), // required
58
+ * // },
59
+ * // },
60
+ * // HttpProperties: { // HttpProperties
61
+ * // HttpName: "STRING_VALUE",
62
+ * // },
63
+ * // },
64
+ * // CreateDate: new Date("TIMESTAMP"),
65
+ * // },
66
+ * // ],
67
+ * // NextToken: "STRING_VALUE",
68
+ * // };
69
+ *
44
70
  * ```
45
71
  *
46
72
  * @param ListNamespacesCommandInput - {@link ListNamespacesCommandInput}
@@ -54,6 +80,8 @@ export interface ListNamespacesCommandOutput extends ListNamespacesResponse, __M
54
80
  * numeric value might be outside the allowed range, or a string value might exceed length
55
81
  * constraints.</p>
56
82
  *
83
+ * @throws {@link ServiceDiscoveryServiceException}
84
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
57
85
  *
58
86
  * @example Example: List namespaces
59
87
  * ```javascript
@@ -41,6 +41,16 @@ export interface ListOperationsCommandOutput extends ListOperationsResponse, __M
41
41
  * };
42
42
  * const command = new ListOperationsCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // ListOperationsResponse
45
+ * // Operations: [ // OperationSummaryList
46
+ * // { // OperationSummary
47
+ * // Id: "STRING_VALUE",
48
+ * // Status: "SUBMITTED" || "PENDING" || "SUCCESS" || "FAIL",
49
+ * // },
50
+ * // ],
51
+ * // NextToken: "STRING_VALUE",
52
+ * // };
53
+ *
44
54
  * ```
45
55
  *
46
56
  * @param ListOperationsCommandInput - {@link ListOperationsCommandInput}
@@ -54,6 +64,8 @@ export interface ListOperationsCommandOutput extends ListOperationsResponse, __M
54
64
  * numeric value might be outside the allowed range, or a string value might exceed length
55
65
  * constraints.</p>
56
66
  *
67
+ * @throws {@link ServiceDiscoveryServiceException}
68
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
57
69
  *
58
70
  * @example ListOperations Example
59
71
  * ```javascript
@@ -42,6 +42,39 @@ export interface ListServicesCommandOutput extends ListServicesResponse, __Metad
42
42
  * };
43
43
  * const command = new ListServicesCommand(input);
44
44
  * const response = await client.send(command);
45
+ * // { // ListServicesResponse
46
+ * // Services: [ // ServiceSummariesList
47
+ * // { // ServiceSummary
48
+ * // Id: "STRING_VALUE",
49
+ * // Arn: "STRING_VALUE",
50
+ * // Name: "STRING_VALUE",
51
+ * // Type: "HTTP" || "DNS_HTTP" || "DNS",
52
+ * // Description: "STRING_VALUE",
53
+ * // InstanceCount: Number("int"),
54
+ * // DnsConfig: { // DnsConfig
55
+ * // NamespaceId: "STRING_VALUE",
56
+ * // RoutingPolicy: "MULTIVALUE" || "WEIGHTED",
57
+ * // DnsRecords: [ // DnsRecordList // required
58
+ * // { // DnsRecord
59
+ * // Type: "SRV" || "A" || "AAAA" || "CNAME", // required
60
+ * // TTL: Number("long"), // required
61
+ * // },
62
+ * // ],
63
+ * // },
64
+ * // HealthCheckConfig: { // HealthCheckConfig
65
+ * // Type: "HTTP" || "HTTPS" || "TCP", // required
66
+ * // ResourcePath: "STRING_VALUE",
67
+ * // FailureThreshold: Number("int"),
68
+ * // },
69
+ * // HealthCheckCustomConfig: { // HealthCheckCustomConfig
70
+ * // FailureThreshold: Number("int"),
71
+ * // },
72
+ * // CreateDate: new Date("TIMESTAMP"),
73
+ * // },
74
+ * // ],
75
+ * // NextToken: "STRING_VALUE",
76
+ * // };
77
+ *
45
78
  * ```
46
79
  *
47
80
  * @param ListServicesCommandInput - {@link ListServicesCommandInput}
@@ -55,6 +88,8 @@ export interface ListServicesCommandOutput extends ListServicesResponse, __Metad
55
88
  * numeric value might be outside the allowed range, or a string value might exceed length
56
89
  * constraints.</p>
57
90
  *
91
+ * @throws {@link ServiceDiscoveryServiceException}
92
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
58
93
  *
59
94
  * @example Example: List services
60
95
  * ```javascript
@@ -31,6 +31,15 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceResponse
35
+ * // Tags: [ // TagList
36
+ * // { // Tag
37
+ * // Key: "STRING_VALUE", // required
38
+ * // Value: "STRING_VALUE", // required
39
+ * // },
40
+ * // ],
41
+ * // };
42
+ *
34
43
  * ```
35
44
  *
36
45
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -47,6 +56,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
47
56
  * @throws {@link ResourceNotFoundException} (client fault)
48
57
  * <p>The operation can't be completed because the resource was not found.</p>
49
58
  *
59
+ * @throws {@link ServiceDiscoveryServiceException}
60
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
50
61
  *
51
62
  * @example ListTagsForResource example
52
63
  * ```javascript
@@ -79,6 +79,10 @@ export interface RegisterInstanceCommandOutput extends RegisterInstanceResponse,
79
79
  * };
80
80
  * const command = new RegisterInstanceCommand(input);
81
81
  * const response = await client.send(command);
82
+ * // { // RegisterInstanceResponse
83
+ * // OperationId: "STRING_VALUE",
84
+ * // };
85
+ *
82
86
  * ```
83
87
  *
84
88
  * @param RegisterInstanceCommandInput - {@link RegisterInstanceCommandInput}
@@ -106,6 +110,8 @@ export interface RegisterInstanceCommandOutput extends RegisterInstanceResponse,
106
110
  * @throws {@link ServiceNotFound} (client fault)
107
111
  * <p>No service exists with the specified ID.</p>
108
112
  *
113
+ * @throws {@link ServiceDiscoveryServiceException}
114
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
109
115
  *
110
116
  * @example Example: Register Instance
111
117
  * ```javascript
@@ -37,6 +37,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
37
37
  * };
38
38
  * const command = new TagResourceCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -57,6 +59,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
57
59
  * <p>The list of tags on the resource is over the quota. The maximum number of tags that can be
58
60
  * applied to a resource is 50.</p>
59
61
  *
62
+ * @throws {@link ServiceDiscoveryServiceException}
63
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
60
64
  *
61
65
  * @example TagResource example
62
66
  * ```javascript
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -50,6 +52,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
50
52
  * @throws {@link ResourceNotFoundException} (client fault)
51
53
  * <p>The operation can't be completed because the resource was not found.</p>
52
54
  *
55
+ * @throws {@link ServiceDiscoveryServiceException}
56
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
53
57
  *
54
58
  * @example UntagResource example
55
59
  * ```javascript
@@ -36,6 +36,10 @@ export interface UpdateHttpNamespaceCommandOutput extends UpdateHttpNamespaceRes
36
36
  * };
37
37
  * const command = new UpdateHttpNamespaceCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // UpdateHttpNamespaceResponse
40
+ * // OperationId: "STRING_VALUE",
41
+ * // };
42
+ *
39
43
  * ```
40
44
  *
41
45
  * @param UpdateHttpNamespaceCommandInput - {@link UpdateHttpNamespaceCommandInput}
@@ -59,6 +63,8 @@ export interface UpdateHttpNamespaceCommandOutput extends UpdateHttpNamespaceRes
59
63
  * <p>The specified resource can't be deleted because it contains other resources. For example,
60
64
  * you can't delete a service that contains any instances.</p>
61
65
  *
66
+ * @throws {@link ServiceDiscoveryServiceException}
67
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
62
68
  *
63
69
  */
64
70
  export declare class UpdateHttpNamespaceCommand extends $Command<UpdateHttpNamespaceCommandInput, UpdateHttpNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
@@ -39,6 +39,8 @@ export interface UpdateInstanceCustomHealthStatusCommandOutput extends __Metadat
39
39
  * };
40
40
  * const command = new UpdateInstanceCustomHealthStatusCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // {};
43
+ *
42
44
  * ```
43
45
  *
44
46
  * @param UpdateInstanceCustomHealthStatusCommandInput - {@link UpdateInstanceCustomHealthStatusCommandInput}
@@ -63,6 +65,8 @@ export interface UpdateInstanceCustomHealthStatusCommandOutput extends __Metadat
63
65
  * @throws {@link ServiceNotFound} (client fault)
64
66
  * <p>No service exists with the specified ID.</p>
65
67
  *
68
+ * @throws {@link ServiceDiscoveryServiceException}
69
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
66
70
  *
67
71
  * @example UpdateInstanceCustomHealthStatus Example
68
72
  * ```javascript
@@ -43,6 +43,10 @@ export interface UpdatePrivateDnsNamespaceCommandOutput extends UpdatePrivateDns
43
43
  * };
44
44
  * const command = new UpdatePrivateDnsNamespaceCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // UpdatePrivateDnsNamespaceResponse
47
+ * // OperationId: "STRING_VALUE",
48
+ * // };
49
+ *
46
50
  * ```
47
51
  *
48
52
  * @param UpdatePrivateDnsNamespaceCommandInput - {@link UpdatePrivateDnsNamespaceCommandInput}
@@ -66,6 +70,8 @@ export interface UpdatePrivateDnsNamespaceCommandOutput extends UpdatePrivateDns
66
70
  * <p>The specified resource can't be deleted because it contains other resources. For example,
67
71
  * you can't delete a service that contains any instances.</p>
68
72
  *
73
+ * @throws {@link ServiceDiscoveryServiceException}
74
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
69
75
  *
70
76
  */
71
77
  export declare class UpdatePrivateDnsNamespaceCommand extends $Command<UpdatePrivateDnsNamespaceCommandInput, UpdatePrivateDnsNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
@@ -43,6 +43,10 @@ export interface UpdatePublicDnsNamespaceCommandOutput extends UpdatePublicDnsNa
43
43
  * };
44
44
  * const command = new UpdatePublicDnsNamespaceCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // UpdatePublicDnsNamespaceResponse
47
+ * // OperationId: "STRING_VALUE",
48
+ * // };
49
+ *
46
50
  * ```
47
51
  *
48
52
  * @param UpdatePublicDnsNamespaceCommandInput - {@link UpdatePublicDnsNamespaceCommandInput}
@@ -66,6 +70,8 @@ export interface UpdatePublicDnsNamespaceCommandOutput extends UpdatePublicDnsNa
66
70
  * <p>The specified resource can't be deleted because it contains other resources. For example,
67
71
  * you can't delete a service that contains any instances.</p>
68
72
  *
73
+ * @throws {@link ServiceDiscoveryServiceException}
74
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
69
75
  *
70
76
  */
71
77
  export declare class UpdatePublicDnsNamespaceCommand extends $Command<UpdatePublicDnsNamespaceCommandInput, UpdatePublicDnsNamespaceCommandOutput, ServiceDiscoveryClientResolvedConfig> {
@@ -73,6 +73,10 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
73
73
  * };
74
74
  * const command = new UpdateServiceCommand(input);
75
75
  * const response = await client.send(command);
76
+ * // { // UpdateServiceResponse
77
+ * // OperationId: "STRING_VALUE",
78
+ * // };
79
+ *
76
80
  * ```
77
81
  *
78
82
  * @param UpdateServiceCommandInput - {@link UpdateServiceCommandInput}
@@ -92,6 +96,8 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
92
96
  * @throws {@link ServiceNotFound} (client fault)
93
97
  * <p>No service exists with the specified ID.</p>
94
98
  *
99
+ * @throws {@link ServiceDiscoveryServiceException}
100
+ * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
95
101
  *
96
102
  * @example UpdateService Example
97
103
  * ```javascript
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.325.0",
4
+ "version": "3.326.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.325.0",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",