@aws-sdk/client-servicediscovery 3.774.0 → 3.777.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 (37) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/ServiceDiscoveryClient.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/CreateHttpNamespaceCommand.d.ts +7 -7
  8. package/dist-types/commands/CreatePrivateDnsNamespaceCommand.d.ts +7 -7
  9. package/dist-types/commands/CreatePublicDnsNamespaceCommand.d.ts +7 -7
  10. package/dist-types/commands/CreateServiceCommand.d.ts +25 -25
  11. package/dist-types/commands/DeleteNamespaceCommand.d.ts +5 -5
  12. package/dist-types/commands/DeleteServiceAttributesCommand.d.ts +8 -5
  13. package/dist-types/commands/DeleteServiceCommand.d.ts +7 -4
  14. package/dist-types/commands/DeregisterInstanceCommand.d.ts +6 -6
  15. package/dist-types/commands/DiscoverInstancesCommand.d.ts +15 -15
  16. package/dist-types/commands/DiscoverInstancesRevisionCommand.d.ts +6 -6
  17. package/dist-types/commands/GetInstanceCommand.d.ts +13 -13
  18. package/dist-types/commands/GetInstancesHealthStatusCommand.d.ts +7 -7
  19. package/dist-types/commands/GetNamespaceCommand.d.ts +1 -30
  20. package/dist-types/commands/GetOperationCommand.d.ts +12 -12
  21. package/dist-types/commands/GetServiceAttributesCommand.d.ts +8 -8
  22. package/dist-types/commands/GetServiceCommand.d.ts +1 -29
  23. package/dist-types/commands/ListInstancesCommand.d.ts +9 -9
  24. package/dist-types/commands/ListNamespacesCommand.d.ts +35 -35
  25. package/dist-types/commands/ListOperationsCommand.d.ts +14 -14
  26. package/dist-types/commands/ListServicesCommand.d.ts +14 -14
  27. package/dist-types/commands/ListTagsForResourceCommand.d.ts +9 -9
  28. package/dist-types/commands/RegisterInstanceCommand.d.ts +10 -10
  29. package/dist-types/commands/TagResourceCommand.d.ts +12 -9
  30. package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
  31. package/dist-types/commands/UpdateHttpNamespaceCommand.d.ts +7 -7
  32. package/dist-types/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +9 -6
  33. package/dist-types/commands/UpdatePrivateDnsNamespaceCommand.d.ts +18 -19
  34. package/dist-types/commands/UpdatePublicDnsNamespaceCommand.d.ts +1 -0
  35. package/dist-types/commands/UpdateServiceAttributesCommand.d.ts +9 -6
  36. package/dist-types/commands/UpdateServiceCommand.d.ts +14 -14
  37. package/package.json +33 -33
@@ -76,32 +76,32 @@ declare const GetOperationCommand_base: {
76
76
  * @throws {@link ServiceDiscoveryServiceException}
77
77
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
78
78
  *
79
- * @public
79
+ *
80
80
  * @example Example: Get operation result
81
81
  * ```javascript
82
82
  * // Example: Get operation result
83
83
  * const input = {
84
- * "OperationId": "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd"
84
+ * OperationId: "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd"
85
85
  * };
86
86
  * const command = new GetOperationCommand(input);
87
87
  * const response = await client.send(command);
88
- * /* response ==
88
+ * /* response is
89
89
  * {
90
- * "Operation": {
91
- * "CreateDate": 1587055860.121,
92
- * "Id": "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd",
93
- * "Status": "SUCCESS",
94
- * "Targets": {
95
- * "NAMESPACE": "ns-ylexjili4cdxy3xm"
90
+ * Operation: {
91
+ * CreateDate: 1.587055860121E9,
92
+ * Id: "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd",
93
+ * Status: "SUCCESS",
94
+ * Targets: {
95
+ * NAMESPACE: "ns-ylexjili4cdxy3xm"
96
96
  * },
97
- * "Type": "CREATE_NAMESPACE",
98
- * "UpdateDate": 1587055900.469
97
+ * Type: "CREATE_NAMESPACE",
98
+ * UpdateDate: 1.587055900469E9
99
99
  * }
100
100
  * }
101
101
  * *\/
102
- * // example id: example-get-operation-result-1587073807124
103
102
  * ```
104
103
  *
104
+ * @public
105
105
  */
106
106
  export declare class GetOperationCommand extends GetOperationCommand_base {
107
107
  /** @internal type navigation helper, not in runtime. */
@@ -66,28 +66,28 @@ declare const GetServiceAttributesCommand_base: {
66
66
  * @throws {@link ServiceDiscoveryServiceException}
67
67
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
68
68
  *
69
- * @public
69
+ *
70
70
  * @example GetServiceAttributes Example
71
71
  * ```javascript
72
72
  * // This example gets the attributes for a specified service.
73
73
  * const input = {
74
- * "ServiceId": "srv-e4anhexample0004"
74
+ * ServiceId: "srv-e4anhexample0004"
75
75
  * };
76
76
  * const command = new GetServiceAttributesCommand(input);
77
77
  * const response = await client.send(command);
78
- * /* response ==
78
+ * /* response is
79
79
  * {
80
- * "ServiceAttributes": {
81
- * "Attributes": {
82
- * "port": "80"
80
+ * ServiceAttributes: {
81
+ * Attributes: {
82
+ * port: "80"
83
83
  * },
84
- * "ServiceArn": "arn:aws:servicediscovery:us-west-2:123456789012:service/srv-e4anhexample0004"
84
+ * ServiceArn: "arn:aws:servicediscovery:us-west-2:123456789012:service/srv-e4anhexample0004"
85
85
  * }
86
86
  * }
87
87
  * *\/
88
- * // example id: get-service-attributes-example-1590117234294
89
88
  * ```
90
89
  *
90
+ * @public
91
91
  */
92
92
  export declare class GetServiceAttributesCommand extends GetServiceAttributesCommand_base {
93
93
  /** @internal type navigation helper, not in runtime. */
@@ -89,36 +89,8 @@ declare const GetServiceCommand_base: {
89
89
  * @throws {@link ServiceDiscoveryServiceException}
90
90
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
91
91
  *
92
- * @public
93
- * @example GetService Example
94
- * ```javascript
95
- * // This example gets the settings for a specified service.
96
- * const input = {
97
- * "Id": "srv-e4anhexample0004"
98
- * };
99
- * const command = new GetServiceCommand(input);
100
- * const response = await client.send(command);
101
- * /* response ==
102
- * {
103
- * "Service": {
104
- * "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:service/srv-e4anhexample0004",
105
- * "CreateDate": "20181118T211707Z",
106
- * "CreatorRequestId": "example-creator-request-id-0004",
107
- * "Description": "Example.com AWS Cloud Map HTTP Service",
108
- * "HealthCheckConfig": {
109
- * "FailureThreshold": 3,
110
- * "ResourcePath": "/",
111
- * "Type": "HTTPS"
112
- * },
113
- * "Id": "srv-e4anhexample0004",
114
- * "Name": "example-http-service",
115
- * "NamespaceId": "ns-e4anhexample0004"
116
- * }
117
- * }
118
- * *\/
119
- * // example id: getservice-example-1590117234294
120
- * ```
121
92
  *
93
+ * @public
122
94
  */
123
95
  export declare class GetServiceCommand extends GetServiceCommand_base {
124
96
  /** @internal type navigation helper, not in runtime. */
@@ -71,31 +71,31 @@ declare const ListInstancesCommand_base: {
71
71
  * @throws {@link ServiceDiscoveryServiceException}
72
72
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
73
73
  *
74
- * @public
74
+ *
75
75
  * @example Example: List service instances
76
76
  * ```javascript
77
77
  * // Example: List service instances
78
78
  * const input = {
79
- * "ServiceId": "srv-qzpwvt2tfqcegapy"
79
+ * ServiceId: "srv-qzpwvt2tfqcegapy"
80
80
  * };
81
81
  * const command = new ListInstancesCommand(input);
82
82
  * const response = await client.send(command);
83
- * /* response ==
83
+ * /* response is
84
84
  * {
85
- * "Instances": [
85
+ * Instances: [
86
86
  * {
87
- * "Attributes": {
88
- * "AWS_INSTANCE_IPV4": "172.2.1.3",
89
- * "AWS_INSTANCE_PORT": "808"
87
+ * Attributes: {
88
+ * AWS_INSTANCE_IPV4: "172.2.1.3",
89
+ * AWS_INSTANCE_PORT: "808"
90
90
  * },
91
- * "Id": "i-06bdabbae60f65a4e"
91
+ * Id: "i-06bdabbae60f65a4e"
92
92
  * }
93
93
  * ]
94
94
  * }
95
95
  * *\/
96
- * // example id: example-list-service-instances-1587236237008
97
96
  * ```
98
97
  *
98
+ * @public
99
99
  */
100
100
  export declare class ListInstancesCommand extends ListInstancesCommand_base {
101
101
  /** @internal type navigation helper, not in runtime. */
@@ -90,66 +90,66 @@ declare const ListNamespacesCommand_base: {
90
90
  * @throws {@link ServiceDiscoveryServiceException}
91
91
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
92
92
  *
93
- * @public
93
+ *
94
94
  * @example Example: List namespaces
95
95
  * ```javascript
96
96
  * // Example: List namespaces
97
- * const input = {};
97
+ * const input = { /* empty *\/ };
98
98
  * const command = new ListNamespacesCommand(input);
99
99
  * const response = await client.send(command);
100
- * /* response ==
100
+ * /* response is
101
101
  * {
102
- * "Namespaces": [
102
+ * Namespaces: [
103
103
  * {
104
- * "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-a3ccy2e7e3a7rile",
105
- * "CreateDate": 1585354387.357,
106
- * "Id": "ns-a3ccy2e7e3a7rile",
107
- * "Name": "local",
108
- * "Properties": {
109
- * "DnsProperties": {
110
- * "HostedZoneId": "Z06752353VBUDTC32S84S"
104
+ * Arn: "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-a3ccy2e7e3a7rile",
105
+ * CreateDate: 1.585354387357E9,
106
+ * Id: "ns-a3ccy2e7e3a7rile",
107
+ * Name: "local",
108
+ * Properties: {
109
+ * DnsProperties: {
110
+ * HostedZoneId: "Z06752353VBUDTC32S84S"
111
111
  * },
112
- * "HttpProperties": {
113
- * "HttpName": "local"
112
+ * HttpProperties: {
113
+ * HttpName: "local"
114
114
  * }
115
115
  * },
116
- * "Type": "DNS_PRIVATE"
116
+ * Type: "DNS_PRIVATE"
117
117
  * },
118
118
  * {
119
- * "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-pocfyjtrsmwtvcxx",
120
- * "CreateDate": 1586468974.698,
121
- * "Description": "My second namespace",
122
- * "Id": "ns-pocfyjtrsmwtvcxx",
123
- * "Name": "My-second-namespace",
124
- * "Properties": {
125
- * "DnsProperties": {},
126
- * "HttpProperties": {
127
- * "HttpName": "My-second-namespace"
119
+ * Arn: "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-pocfyjtrsmwtvcxx",
120
+ * CreateDate: 1.586468974698E9,
121
+ * Description: "My second namespace",
122
+ * Id: "ns-pocfyjtrsmwtvcxx",
123
+ * Name: "My-second-namespace",
124
+ * Properties: {
125
+ * DnsProperties: { /* empty *\/ },
126
+ * HttpProperties: {
127
+ * HttpName: "My-second-namespace"
128
128
  * }
129
129
  * },
130
- * "Type": "HTTP"
130
+ * Type: "HTTP"
131
131
  * },
132
132
  * {
133
- * "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-ylexjili4cdxy3xm",
134
- * "CreateDate": 1587055896.798,
135
- * "Id": "ns-ylexjili4cdxy3xm",
136
- * "Name": "example.com",
137
- * "Properties": {
138
- * "DnsProperties": {
139
- * "HostedZoneId": "Z09983722P0QME1B3KC8I"
133
+ * Arn: "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-ylexjili4cdxy3xm",
134
+ * CreateDate: 1.587055896798E9,
135
+ * Id: "ns-ylexjili4cdxy3xm",
136
+ * Name: "example.com",
137
+ * Properties: {
138
+ * DnsProperties: {
139
+ * HostedZoneId: "Z09983722P0QME1B3KC8I"
140
140
  * },
141
- * "HttpProperties": {
142
- * "HttpName": "example.com"
141
+ * HttpProperties: {
142
+ * HttpName: "example.com"
143
143
  * }
144
144
  * },
145
- * "Type": "DNS_PRIVATE"
145
+ * Type: "DNS_PRIVATE"
146
146
  * }
147
147
  * ]
148
148
  * }
149
149
  * *\/
150
- * // example id: example-list-namespaces-1587401553154
151
150
  * ```
152
151
  *
152
+ * @public
153
153
  */
154
154
  export declare class ListNamespacesCommand extends ListNamespacesCommand_base {
155
155
  /** @internal type navigation helper, not in runtime. */
@@ -74,16 +74,16 @@ declare const ListOperationsCommand_base: {
74
74
  * @throws {@link ServiceDiscoveryServiceException}
75
75
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
76
76
  *
77
- * @public
77
+ *
78
78
  * @example ListOperations Example
79
79
  * ```javascript
80
80
  * // This example gets the operations that have a STATUS of either PENDING or SUCCESS.
81
81
  * const input = {
82
- * "Filters": [
82
+ * Filters: [
83
83
  * {
84
- * "Condition": "IN",
85
- * "Name": "STATUS",
86
- * "Values": [
84
+ * Condition: "IN",
85
+ * Name: "STATUS",
86
+ * Values: [
87
87
  * "PENDING",
88
88
  * "SUCCESS"
89
89
  * ]
@@ -92,27 +92,27 @@ declare const ListOperationsCommand_base: {
92
92
  * };
93
93
  * const command = new ListOperationsCommand(input);
94
94
  * const response = await client.send(command);
95
- * /* response ==
95
+ * /* response is
96
96
  * {
97
- * "Operations": [
97
+ * Operations: [
98
98
  * {
99
- * "Id": "76yy8ovhpdz0plmjzbsnqgnrqvpv2qdt-kexample",
100
- * "Status": "SUCCESS"
99
+ * Id: "76yy8ovhpdz0plmjzbsnqgnrqvpv2qdt-kexample",
100
+ * Status: "SUCCESS"
101
101
  * },
102
102
  * {
103
- * "Id": "prysnyzpji3u2ciy45nke83x2zanl7yk-dexample",
104
- * "Status": "SUCCESS"
103
+ * Id: "prysnyzpji3u2ciy45nke83x2zanl7yk-dexample",
104
+ * Status: "SUCCESS"
105
105
  * },
106
106
  * {
107
- * "Id": "ko4ekftir7kzlbechsh7xvcdgcpk66gh-7example",
108
- * "Status": "PENDING"
107
+ * Id: "ko4ekftir7kzlbechsh7xvcdgcpk66gh-7example",
108
+ * Status: "PENDING"
109
109
  * }
110
110
  * ]
111
111
  * }
112
112
  * *\/
113
- * // example id: listoperations-example-1590117354396
114
113
  * ```
115
114
  *
115
+ * @public
116
116
  */
117
117
  export declare class ListOperationsCommand extends ListOperationsCommand_base {
118
118
  /** @internal type navigation helper, not in runtime. */
@@ -98,37 +98,37 @@ declare const ListServicesCommand_base: {
98
98
  * @throws {@link ServiceDiscoveryServiceException}
99
99
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
100
100
  *
101
- * @public
101
+ *
102
102
  * @example Example: List services
103
103
  * ```javascript
104
104
  * // Example: List services
105
- * const input = {};
105
+ * const input = { /* empty *\/ };
106
106
  * const command = new ListServicesCommand(input);
107
107
  * const response = await client.send(command);
108
- * /* response ==
108
+ * /* response is
109
109
  * {
110
- * "Services": [
110
+ * Services: [
111
111
  * {
112
- * "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:service/srv-p5zdwlg5uvvzjita",
113
- * "CreateDate": 1587081768.334,
114
- * "DnsConfig": {
115
- * "DnsRecords": [
112
+ * Arn: "arn:aws:servicediscovery:us-west-2:123456789012:service/srv-p5zdwlg5uvvzjita",
113
+ * CreateDate: 1.587081768334E9,
114
+ * DnsConfig: {
115
+ * DnsRecords: [
116
116
  * {
117
- * "TTL": 60,
118
- * "Type": "A"
117
+ * TTL: 60,
118
+ * Type: "A"
119
119
  * }
120
120
  * ],
121
- * "RoutingPolicy": "MULTIVALUE"
121
+ * RoutingPolicy: "MULTIVALUE"
122
122
  * },
123
- * "Id": "srv-p5zdwlg5uvvzjita",
124
- * "Name": "myservice"
123
+ * Id: "srv-p5zdwlg5uvvzjita",
124
+ * Name: "myservice"
125
125
  * }
126
126
  * ]
127
127
  * }
128
128
  * *\/
129
- * // example id: example-list-services-1587236889840
130
129
  * ```
131
130
  *
131
+ * @public
132
132
  */
133
133
  export declare class ListServicesCommand extends ListServicesCommand_base {
134
134
  /** @internal type navigation helper, not in runtime. */
@@ -66,32 +66,32 @@ declare const ListTagsForResourceCommand_base: {
66
66
  * @throws {@link ServiceDiscoveryServiceException}
67
67
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
68
68
  *
69
- * @public
69
+ *
70
70
  * @example ListTagsForResource example
71
71
  * ```javascript
72
72
  * // This example lists the tags of a resource.
73
73
  * const input = {
74
- * "ResourceARN": "arn:aws:servicediscovery:us-east-1:123456789012:namespace/ns-ylexjili4cdxy3xm"
74
+ * ResourceARN: "arn:aws:servicediscovery:us-east-1:123456789012:namespace/ns-ylexjili4cdxy3xm"
75
75
  * };
76
76
  * const command = new ListTagsForResourceCommand(input);
77
77
  * const response = await client.send(command);
78
- * /* response ==
78
+ * /* response is
79
79
  * {
80
- * "Tags": [
80
+ * Tags: [
81
81
  * {
82
- * "Key": "Project",
83
- * "Value": "Zeta"
82
+ * Key: "Project",
83
+ * Value: "Zeta"
84
84
  * },
85
85
  * {
86
- * "Key": "Department",
87
- * "Value": "Engineering"
86
+ * Key: "Department",
87
+ * Value: "Engineering"
88
88
  * }
89
89
  * ]
90
90
  * }
91
91
  * *\/
92
- * // example id: listtagsforresource-example-1590093928416
93
92
  * ```
94
93
  *
94
+ * @public
95
95
  */
96
96
  export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
97
97
  /** @internal type navigation helper, not in runtime. */
@@ -115,29 +115,29 @@ declare const RegisterInstanceCommand_base: {
115
115
  * @throws {@link ServiceDiscoveryServiceException}
116
116
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
117
117
  *
118
- * @public
118
+ *
119
119
  * @example Example: Register Instance
120
120
  * ```javascript
121
121
  * // Example: Register Instance
122
122
  * const input = {
123
- * "Attributes": {
124
- * "AWS_INSTANCE_IPV4": "172.2.1.3",
125
- * "AWS_INSTANCE_PORT": "808"
123
+ * Attributes: {
124
+ * AWS_INSTANCE_IPV4: "172.2.1.3",
125
+ * AWS_INSTANCE_PORT: "808"
126
126
  * },
127
- * "CreatorRequestId": "7a48a98a-72e6-4849-bfa7-1a458e030d7b",
128
- * "InstanceId": "myservice-53",
129
- * "ServiceId": "srv-p5zdwlg5uvvzjita"
127
+ * CreatorRequestId: "7a48a98a-72e6-4849-bfa7-1a458e030d7b",
128
+ * InstanceId: "myservice-53",
129
+ * ServiceId: "srv-p5zdwlg5uvvzjita"
130
130
  * };
131
131
  * const command = new RegisterInstanceCommand(input);
132
132
  * const response = await client.send(command);
133
- * /* response ==
133
+ * /* response is
134
134
  * {
135
- * "OperationId": "4yejorelbukcjzpnr6tlmrghsjwpngf4-k95yg2u7"
135
+ * OperationId: "4yejorelbukcjzpnr6tlmrghsjwpngf4-k95yg2u7"
136
136
  * }
137
137
  * *\/
138
- * // example id: example-register-instance-1587236116314
139
138
  * ```
140
139
  *
140
+ * @public
141
141
  */
142
142
  export declare class RegisterInstanceCommand extends RegisterInstanceCommand_base {
143
143
  /** @internal type navigation helper, not in runtime. */
@@ -69,28 +69,31 @@ declare const TagResourceCommand_base: {
69
69
  * @throws {@link ServiceDiscoveryServiceException}
70
70
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
71
71
  *
72
- * @public
72
+ *
73
73
  * @example TagResource example
74
74
  * ```javascript
75
75
  * // This example adds "Department" and "Project" tags to a resource.
76
76
  * const input = {
77
- * "ResourceARN": "arn:aws:servicediscovery:us-east-1:123456789012:namespace/ns-ylexjili4cdxy3xm",
78
- * "Tags": [
77
+ * ResourceARN: "arn:aws:servicediscovery:us-east-1:123456789012:namespace/ns-ylexjili4cdxy3xm",
78
+ * Tags: [
79
79
  * {
80
- * "Key": "Department",
81
- * "Value": "Engineering"
80
+ * Key: "Department",
81
+ * Value: "Engineering"
82
82
  * },
83
83
  * {
84
- * "Key": "Project",
85
- * "Value": "Zeta"
84
+ * Key: "Project",
85
+ * Value: "Zeta"
86
86
  * }
87
87
  * ]
88
88
  * };
89
89
  * const command = new TagResourceCommand(input);
90
- * await client.send(command);
91
- * // example id: tagresource-example-1590093532240
90
+ * const response = await client.send(command);
91
+ * /* response is
92
+ * { /* empty *\/ }
93
+ * *\/
92
94
  * ```
93
95
  *
96
+ * @public
94
97
  */
95
98
  export declare class TagResourceCommand extends TagResourceCommand_base {
96
99
  /** @internal type navigation helper, not in runtime. */
@@ -62,22 +62,25 @@ declare const UntagResourceCommand_base: {
62
62
  * @throws {@link ServiceDiscoveryServiceException}
63
63
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
64
64
  *
65
- * @public
65
+ *
66
66
  * @example UntagResource example
67
67
  * ```javascript
68
68
  * // This example removes the "Department" and "Project" tags from a resource.
69
69
  * const input = {
70
- * "ResourceARN": "arn:aws:servicediscovery:us-east-1:123456789012:namespace/ns-ylexjili4cdxy3xm",
71
- * "TagKeys": [
70
+ * ResourceARN: "arn:aws:servicediscovery:us-east-1:123456789012:namespace/ns-ylexjili4cdxy3xm",
71
+ * TagKeys: [
72
72
  * "Project",
73
73
  * "Department"
74
74
  * ]
75
75
  * };
76
76
  * const command = new UntagResourceCommand(input);
77
- * await client.send(command);
78
- * // example id: untagresource-example-1590094024672
77
+ * const response = await client.send(command);
78
+ * /* response is
79
+ * { /* empty *\/ }
80
+ * *\/
79
81
  * ```
80
82
  *
83
+ * @public
81
84
  */
82
85
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
83
86
  /** @internal type navigation helper, not in runtime. */
@@ -73,26 +73,26 @@ declare const UpdateHttpNamespaceCommand_base: {
73
73
  * @throws {@link ServiceDiscoveryServiceException}
74
74
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
75
75
  *
76
- * @public
76
+ *
77
77
  * @example To update a HTTP namespace
78
78
  * ```javascript
79
79
  * // The following example updates the description of a HTTP namespace.
80
80
  * const input = {
81
- * "Id": "ns-vh4nbmEXAMPLE",
82
- * "Namespace": {
83
- * "Description": "The updated namespace description."
81
+ * Id: "ns-vh4nbmEXAMPLE",
82
+ * Namespace: {
83
+ * Description: "The updated namespace description."
84
84
  * }
85
85
  * };
86
86
  * const command = new UpdateHttpNamespaceCommand(input);
87
87
  * const response = await client.send(command);
88
- * /* response ==
88
+ * /* response is
89
89
  * {
90
- * "OperationId": "ft52xe2koxhoeormaceymagglsdjyvEXAMPLE"
90
+ * OperationId: "ft52xe2koxhoeormaceymagglsdjyvEXAMPLE"
91
91
  * }
92
92
  * *\/
93
- * // example id: to-update-a-http-namespace-17128EXAMPLE
94
93
  * ```
95
94
  *
95
+ * @public
96
96
  */
97
97
  export declare class UpdateHttpNamespaceCommand extends UpdateHttpNamespaceCommand_base {
98
98
  /** @internal type navigation helper, not in runtime. */
@@ -73,20 +73,23 @@ declare const UpdateInstanceCustomHealthStatusCommand_base: {
73
73
  * @throws {@link ServiceDiscoveryServiceException}
74
74
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
75
75
  *
76
- * @public
76
+ *
77
77
  * @example UpdateInstanceCustomHealthStatus Example
78
78
  * ```javascript
79
79
  * // This example submits a request to change the health status of an instance associated with a service with a custom health check to HEALTHY.
80
80
  * const input = {
81
- * "InstanceId": "i-abcd1234",
82
- * "ServiceId": "srv-e4anhexample0004",
83
- * "Status": "HEALTHY"
81
+ * InstanceId: "i-abcd1234",
82
+ * ServiceId: "srv-e4anhexample0004",
83
+ * Status: "HEALTHY"
84
84
  * };
85
85
  * const command = new UpdateInstanceCustomHealthStatusCommand(input);
86
- * await client.send(command);
87
- * // example id: updateinstancecustomhealthstatus-example-1590118408574
86
+ * const response = await client.send(command);
87
+ * /* response is
88
+ * { /* metadata only *\/ }
89
+ * *\/
88
90
  * ```
89
91
  *
92
+ * @public
90
93
  */
91
94
  export declare class UpdateInstanceCustomHealthStatusCommand extends UpdateInstanceCustomHealthStatusCommand_base {
92
95
  /** @internal type navigation helper, not in runtime. */