@aws-sdk/client-servicediscovery 3.775.0 → 3.782.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 (31) hide show
  1. package/dist-types/commands/CreateHttpNamespaceCommand.d.ts +7 -7
  2. package/dist-types/commands/CreatePrivateDnsNamespaceCommand.d.ts +7 -7
  3. package/dist-types/commands/CreatePublicDnsNamespaceCommand.d.ts +7 -7
  4. package/dist-types/commands/CreateServiceCommand.d.ts +25 -25
  5. package/dist-types/commands/DeleteNamespaceCommand.d.ts +5 -5
  6. package/dist-types/commands/DeleteServiceAttributesCommand.d.ts +8 -5
  7. package/dist-types/commands/DeleteServiceCommand.d.ts +7 -4
  8. package/dist-types/commands/DeregisterInstanceCommand.d.ts +6 -6
  9. package/dist-types/commands/DiscoverInstancesCommand.d.ts +15 -15
  10. package/dist-types/commands/DiscoverInstancesRevisionCommand.d.ts +6 -6
  11. package/dist-types/commands/GetInstanceCommand.d.ts +13 -13
  12. package/dist-types/commands/GetInstancesHealthStatusCommand.d.ts +7 -7
  13. package/dist-types/commands/GetNamespaceCommand.d.ts +1 -30
  14. package/dist-types/commands/GetOperationCommand.d.ts +12 -12
  15. package/dist-types/commands/GetServiceAttributesCommand.d.ts +8 -8
  16. package/dist-types/commands/GetServiceCommand.d.ts +1 -29
  17. package/dist-types/commands/ListInstancesCommand.d.ts +9 -9
  18. package/dist-types/commands/ListNamespacesCommand.d.ts +35 -35
  19. package/dist-types/commands/ListOperationsCommand.d.ts +14 -14
  20. package/dist-types/commands/ListServicesCommand.d.ts +14 -14
  21. package/dist-types/commands/ListTagsForResourceCommand.d.ts +9 -9
  22. package/dist-types/commands/RegisterInstanceCommand.d.ts +10 -10
  23. package/dist-types/commands/TagResourceCommand.d.ts +12 -9
  24. package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
  25. package/dist-types/commands/UpdateHttpNamespaceCommand.d.ts +7 -7
  26. package/dist-types/commands/UpdateInstanceCustomHealthStatusCommand.d.ts +9 -6
  27. package/dist-types/commands/UpdatePrivateDnsNamespaceCommand.d.ts +18 -19
  28. package/dist-types/commands/UpdatePublicDnsNamespaceCommand.d.ts +1 -0
  29. package/dist-types/commands/UpdateServiceAttributesCommand.d.ts +9 -6
  30. package/dist-types/commands/UpdateServiceCommand.d.ts +14 -14
  31. package/package.json +5 -5
@@ -82,25 +82,25 @@ declare const CreateHttpNamespaceCommand_base: {
82
82
  * @throws {@link ServiceDiscoveryServiceException}
83
83
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
84
84
  *
85
- * @public
85
+ *
86
86
  * @example CreateHttpNamespace example
87
87
  * ```javascript
88
88
  * // This example creates an HTTP namespace.
89
89
  * const input = {
90
- * "CreatorRequestId": "example-creator-request-id-0001",
91
- * "Description": "Example.com AWS Cloud Map HTTP Namespace",
92
- * "Name": "example-http.com"
90
+ * CreatorRequestId: "example-creator-request-id-0001",
91
+ * Description: "Example.com AWS Cloud Map HTTP Namespace",
92
+ * Name: "example-http.com"
93
93
  * };
94
94
  * const command = new CreateHttpNamespaceCommand(input);
95
95
  * const response = await client.send(command);
96
- * /* response ==
96
+ * /* response is
97
97
  * {
98
- * "OperationId": "httpvoqozuhfet5kzxoxg-a-response-example"
98
+ * OperationId: "httpvoqozuhfet5kzxoxg-a-response-example"
99
99
  * }
100
100
  * *\/
101
- * // example id: createhttpnamespace-example-1590114811304
102
101
  * ```
103
102
  *
103
+ * @public
104
104
  */
105
105
  export declare class CreateHttpNamespaceCommand extends CreateHttpNamespaceCommand_base {
106
106
  /** @internal type navigation helper, not in runtime. */
@@ -93,25 +93,25 @@ declare const CreatePrivateDnsNamespaceCommand_base: {
93
93
  * @throws {@link ServiceDiscoveryServiceException}
94
94
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
95
95
  *
96
- * @public
96
+ *
97
97
  * @example Example: Create private DNS namespace
98
98
  * ```javascript
99
99
  * // Example: Create private DNS namespace
100
100
  * const input = {
101
- * "CreatorRequestId": "eedd6892-50f3-41b2-8af9-611d6e1d1a8c",
102
- * "Name": "example.com",
103
- * "Vpc": "vpc-1c56417b"
101
+ * CreatorRequestId: "eedd6892-50f3-41b2-8af9-611d6e1d1a8c",
102
+ * Name: "example.com",
103
+ * Vpc: "vpc-1c56417b"
104
104
  * };
105
105
  * const command = new CreatePrivateDnsNamespaceCommand(input);
106
106
  * const response = await client.send(command);
107
- * /* response ==
107
+ * /* response is
108
108
  * {
109
- * "OperationId": "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd"
109
+ * OperationId: "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd"
110
110
  * }
111
111
  * *\/
112
- * // example id: example-create-private-dns-namespace-1587058592930
113
112
  * ```
114
113
  *
114
+ * @public
115
115
  */
116
116
  export declare class CreatePrivateDnsNamespaceCommand extends CreatePrivateDnsNamespaceCommand_base {
117
117
  /** @internal type navigation helper, not in runtime. */
@@ -96,25 +96,25 @@ declare const CreatePublicDnsNamespaceCommand_base: {
96
96
  * @throws {@link ServiceDiscoveryServiceException}
97
97
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
98
98
  *
99
- * @public
99
+ *
100
100
  * @example CreatePublicDnsNamespace example
101
101
  * ```javascript
102
102
  * // This example creates a public namespace based on DNS.
103
103
  * const input = {
104
- * "CreatorRequestId": "example-creator-request-id-0003",
105
- * "Description": "Example.com AWS Cloud Map Public DNS Namespace",
106
- * "Name": "example-public-dns.com"
104
+ * CreatorRequestId: "example-creator-request-id-0003",
105
+ * Description: "Example.com AWS Cloud Map Public DNS Namespace",
106
+ * Name: "example-public-dns.com"
107
107
  * };
108
108
  * const command = new CreatePublicDnsNamespaceCommand(input);
109
109
  * const response = await client.send(command);
110
- * /* response ==
110
+ * /* response is
111
111
  * {
112
- * "OperationId": "dns2voqozuhfet5kzxoxg-a-response-example"
112
+ * OperationId: "dns2voqozuhfet5kzxoxg-a-response-example"
113
113
  * }
114
114
  * *\/
115
- * // example id: createpublicdnsnamespace-example-1590114940910
116
115
  * ```
117
116
  *
117
+ * @public
118
118
  */
119
119
  export declare class CreatePublicDnsNamespaceCommand extends CreatePublicDnsNamespaceCommand_base {
120
120
  /** @internal type navigation helper, not in runtime. */
@@ -168,52 +168,52 @@ declare const CreateServiceCommand_base: {
168
168
  * @throws {@link ServiceDiscoveryServiceException}
169
169
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
170
170
  *
171
- * @public
171
+ *
172
172
  * @example Example: Create service
173
173
  * ```javascript
174
174
  * // Example: Create service
175
175
  * const input = {
176
- * "CreatorRequestId": "567c1193-6b00-4308-bd57-ad38a8822d25",
177
- * "DnsConfig": {
178
- * "DnsRecords": [
176
+ * CreatorRequestId: "567c1193-6b00-4308-bd57-ad38a8822d25",
177
+ * DnsConfig: {
178
+ * DnsRecords: [
179
179
  * {
180
- * "TTL": 60,
181
- * "Type": "A"
180
+ * TTL: 60,
181
+ * Type: "A"
182
182
  * }
183
183
  * ],
184
- * "NamespaceId": "ns-ylexjili4cdxy3xm",
185
- * "RoutingPolicy": "MULTIVALUE"
184
+ * NamespaceId: "ns-ylexjili4cdxy3xm",
185
+ * RoutingPolicy: "MULTIVALUE"
186
186
  * },
187
- * "Name": "myservice",
188
- * "NamespaceId": "ns-ylexjili4cdxy3xm"
187
+ * Name: "myservice",
188
+ * NamespaceId: "ns-ylexjili4cdxy3xm"
189
189
  * };
190
190
  * const command = new CreateServiceCommand(input);
191
191
  * const response = await client.send(command);
192
- * /* response ==
192
+ * /* response is
193
193
  * {
194
- * "Service": {
195
- * "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:service/srv-p5zdwlg5uvvzjita",
196
- * "CreateDate": 1587081768.334,
197
- * "CreatorRequestId": "567c1193-6b00-4308-bd57-ad38a8822d25",
198
- * "DnsConfig": {
199
- * "DnsRecords": [
194
+ * Service: {
195
+ * Arn: "arn:aws:servicediscovery:us-west-2:123456789012:service/srv-p5zdwlg5uvvzjita",
196
+ * CreateDate: 1.587081768334E9,
197
+ * CreatorRequestId: "567c1193-6b00-4308-bd57-ad38a8822d25",
198
+ * DnsConfig: {
199
+ * DnsRecords: [
200
200
  * {
201
- * "TTL": 60,
202
- * "Type": "A"
201
+ * TTL: 60,
202
+ * Type: "A"
203
203
  * }
204
204
  * ],
205
- * "NamespaceId": "ns-ylexjili4cdxy3xm",
206
- * "RoutingPolicy": "MULTIVALUE"
205
+ * NamespaceId: "ns-ylexjili4cdxy3xm",
206
+ * RoutingPolicy: "MULTIVALUE"
207
207
  * },
208
- * "Id": "srv-p5zdwlg5uvvzjita",
209
- * "Name": "myservice",
210
- * "NamespaceId": "ns-ylexjili4cdxy3xm"
208
+ * Id: "srv-p5zdwlg5uvvzjita",
209
+ * Name: "myservice",
210
+ * NamespaceId: "ns-ylexjili4cdxy3xm"
211
211
  * }
212
212
  * }
213
213
  * *\/
214
- * // example id: example-create-service-1587235913584
215
214
  * ```
216
215
  *
216
+ * @public
217
217
  */
218
218
  export declare class CreateServiceCommand extends CreateServiceCommand_base {
219
219
  /** @internal type navigation helper, not in runtime. */
@@ -69,23 +69,23 @@ declare const DeleteNamespaceCommand_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 Example: Delete namespace
74
74
  * ```javascript
75
75
  * // Example: Delete namespace
76
76
  * const input = {
77
- * "Id": "ns-ylexjili4cdxy3xm"
77
+ * Id: "ns-ylexjili4cdxy3xm"
78
78
  * };
79
79
  * const command = new DeleteNamespaceCommand(input);
80
80
  * const response = await client.send(command);
81
- * /* response ==
81
+ * /* response is
82
82
  * {
83
- * "OperationId": "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k98y6drk"
83
+ * OperationId: "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k98y6drk"
84
84
  * }
85
85
  * *\/
86
- * // example id: example-delete-namespace-1587416093508
87
86
  * ```
88
87
  *
88
+ * @public
89
89
  */
90
90
  export declare class DeleteNamespaceCommand extends DeleteNamespaceCommand_base {
91
91
  /** @internal type navigation helper, not in runtime. */
@@ -62,21 +62,24 @@ declare const DeleteServiceAttributesCommand_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 DeleteServiceAttributes example
67
67
  * ```javascript
68
68
  * // Example: Delete service attribute by providing attribute key and service ID
69
69
  * const input = {
70
- * "Attributes": [
70
+ * Attributes: [
71
71
  * "port"
72
72
  * ],
73
- * "ServiceId": "srv-e4anhexample0004"
73
+ * ServiceId: "srv-e4anhexample0004"
74
74
  * };
75
75
  * const command = new DeleteServiceAttributesCommand(input);
76
- * await client.send(command);
77
- * // example id: example-delete-service-attributes-1587416462902
76
+ * const response = await client.send(command);
77
+ * /* response is
78
+ * { /* empty *\/ }
79
+ * *\/
78
80
  * ```
79
81
  *
82
+ * @public
80
83
  */
81
84
  export declare class DeleteServiceAttributesCommand extends DeleteServiceAttributesCommand_base {
82
85
  /** @internal type navigation helper, not in runtime. */
@@ -64,18 +64,21 @@ declare const DeleteServiceCommand_base: {
64
64
  * @throws {@link ServiceDiscoveryServiceException}
65
65
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
66
66
  *
67
- * @public
67
+ *
68
68
  * @example Example: Delete service
69
69
  * ```javascript
70
70
  * // Example: Delete service
71
71
  * const input = {
72
- * "Id": "srv-p5zdwlg5uvvzjita"
72
+ * Id: "srv-p5zdwlg5uvvzjita"
73
73
  * };
74
74
  * const command = new DeleteServiceCommand(input);
75
- * await client.send(command);
76
- * // example id: example-delete-service-1587416462902
75
+ * const response = await client.send(command);
76
+ * /* response is
77
+ * { /* empty *\/ }
78
+ * *\/
77
79
  * ```
78
80
  *
81
+ * @public
79
82
  */
80
83
  export declare class DeleteServiceCommand extends DeleteServiceCommand_base {
81
84
  /** @internal type navigation helper, not in runtime. */
@@ -74,24 +74,24 @@ declare const DeregisterInstanceCommand_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 Example: Deregister a service instance
79
79
  * ```javascript
80
80
  * // Example: Deregister a service instance
81
81
  * const input = {
82
- * "InstanceId": "myservice-53",
83
- * "ServiceId": "srv-p5zdwlg5uvvzjita"
82
+ * InstanceId: "myservice-53",
83
+ * ServiceId: "srv-p5zdwlg5uvvzjita"
84
84
  * };
85
85
  * const command = new DeregisterInstanceCommand(input);
86
86
  * const response = await client.send(command);
87
- * /* response ==
87
+ * /* response is
88
88
  * {
89
- * "OperationId": "4yejorelbukcjzpnr6tlmrghsjwpngf4-k98rnaiq"
89
+ * OperationId: "4yejorelbukcjzpnr6tlmrghsjwpngf4-k98rnaiq"
90
90
  * }
91
91
  * *\/
92
- * // example id: example-deregister-a-service-instance-1587416305738
93
92
  * ```
94
93
  *
94
+ * @public
95
95
  */
96
96
  export declare class DeregisterInstanceCommand extends DeregisterInstanceCommand_base {
97
97
  /** @internal type navigation helper, not in runtime. */
@@ -92,37 +92,37 @@ declare const DiscoverInstancesCommand_base: {
92
92
  * @throws {@link ServiceDiscoveryServiceException}
93
93
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
94
94
  *
95
- * @public
95
+ *
96
96
  * @example Example: Discover registered instances
97
97
  * ```javascript
98
98
  * // Example: Discover registered instances
99
99
  * const input = {
100
- * "HealthStatus": "ALL",
101
- * "MaxResults": 10,
102
- * "NamespaceName": "example.com",
103
- * "ServiceName": "myservice"
100
+ * HealthStatus: "ALL",
101
+ * MaxResults: 10,
102
+ * NamespaceName: "example.com",
103
+ * ServiceName: "myservice"
104
104
  * };
105
105
  * const command = new DiscoverInstancesCommand(input);
106
106
  * const response = await client.send(command);
107
- * /* response ==
107
+ * /* response is
108
108
  * {
109
- * "Instances": [
109
+ * Instances: [
110
110
  * {
111
- * "Attributes": {
112
- * "AWS_INSTANCE_IPV4": "172.2.1.3",
113
- * "AWS_INSTANCE_PORT": "808"
111
+ * Attributes: {
112
+ * AWS_INSTANCE_IPV4: "172.2.1.3",
113
+ * AWS_INSTANCE_PORT: "808"
114
114
  * },
115
- * "HealthStatus": "UNKNOWN",
116
- * "InstanceId": "myservice-53",
117
- * "NamespaceName": "example.com",
118
- * "ServiceName": "myservice"
115
+ * HealthStatus: "UNKNOWN",
116
+ * InstanceId: "myservice-53",
117
+ * NamespaceName: "example.com",
118
+ * ServiceName: "myservice"
119
119
  * }
120
120
  * ]
121
121
  * }
122
122
  * *\/
123
- * // example id: example-discover-registered-instances-1587236343568
124
123
  * ```
125
124
  *
125
+ * @public
126
126
  */
127
127
  export declare class DiscoverInstancesCommand extends DiscoverInstancesCommand_base {
128
128
  /** @internal type navigation helper, not in runtime. */
@@ -70,24 +70,24 @@ declare const DiscoverInstancesRevisionCommand_base: {
70
70
  * @throws {@link ServiceDiscoveryServiceException}
71
71
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
72
72
  *
73
- * @public
73
+ *
74
74
  * @example To discover the revision for a registered instance
75
75
  * ```javascript
76
76
  * // The following example discovers the revision ID for a registered instance.
77
77
  * const input = {
78
- * "NamespaceName": "example-namespace",
79
- * "ServiceName": "example-service"
78
+ * NamespaceName: "example-namespace",
79
+ * ServiceName: "example-service"
80
80
  * };
81
81
  * const command = new DiscoverInstancesRevisionCommand(input);
82
82
  * const response = await client.send(command);
83
- * /* response ==
83
+ * /* response is
84
84
  * {
85
- * "InstancesRevision": 123456
85
+ * InstancesRevision: 123456
86
86
  * }
87
87
  * *\/
88
- * // example id: to-discover-the-revision-for-a-registered-instance-1712867460953
89
88
  * ```
90
89
  *
90
+ * @public
91
91
  */
92
92
  export declare class DiscoverInstancesRevisionCommand extends DiscoverInstancesRevisionCommand_base {
93
93
  /** @internal type navigation helper, not in runtime. */
@@ -72,33 +72,33 @@ declare const GetInstanceCommand_base: {
72
72
  * @throws {@link ServiceDiscoveryServiceException}
73
73
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
74
74
  *
75
- * @public
75
+ *
76
76
  * @example GetInstance example
77
77
  * ```javascript
78
78
  * // This example gets information about a specified instance.
79
79
  * const input = {
80
- * "InstanceId": "i-abcd1234",
81
- * "ServiceId": "srv-e4anhexample0004"
80
+ * InstanceId: "i-abcd1234",
81
+ * ServiceId: "srv-e4anhexample0004"
82
82
  * };
83
83
  * const command = new GetInstanceCommand(input);
84
84
  * const response = await client.send(command);
85
- * /* response ==
85
+ * /* response is
86
86
  * {
87
- * "Instance": {
88
- * "Attributes": {
89
- * "AWS_INSTANCE_IPV4": "192.0.2.44",
90
- * "AWS_INSTANCE_PORT": "80",
91
- * "color": "green",
92
- * "region": "us-west-2",
93
- * "stage": "beta"
87
+ * Instance: {
88
+ * Attributes: {
89
+ * AWS_INSTANCE_IPV4: "192.0.2.44",
90
+ * AWS_INSTANCE_PORT: "80",
91
+ * color: "green",
92
+ * region: "us-west-2",
93
+ * stage: "beta"
94
94
  * },
95
- * "Id": "i-abcd1234"
95
+ * Id: "i-abcd1234"
96
96
  * }
97
97
  * }
98
98
  * *\/
99
- * // example id: getinstance-example-1590115065598
100
99
  * ```
101
100
  *
101
+ * @public
102
102
  */
103
103
  export declare class GetInstanceCommand extends GetInstanceCommand_base {
104
104
  /** @internal type navigation helper, not in runtime. */
@@ -78,26 +78,26 @@ declare const GetInstancesHealthStatusCommand_base: {
78
78
  * @throws {@link ServiceDiscoveryServiceException}
79
79
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
80
80
  *
81
- * @public
81
+ *
82
82
  * @example GetInstancesHealthStatus example
83
83
  * ```javascript
84
84
  * // This example gets the current health status of one or more instances that are associate with a specified service.
85
85
  * const input = {
86
- * "ServiceId": "srv-e4anhexample0004"
86
+ * ServiceId: "srv-e4anhexample0004"
87
87
  * };
88
88
  * const command = new GetInstancesHealthStatusCommand(input);
89
89
  * const response = await client.send(command);
90
- * /* response ==
90
+ * /* response is
91
91
  * {
92
- * "Status": {
93
- * "i-abcd1234": "HEALTHY",
94
- * "i-abcd1235": "UNHEALTHY"
92
+ * Status: {
93
+ * i-abcd1234: "HEALTHY",
94
+ * i-abcd1235: "UNHEALTHY"
95
95
  * }
96
96
  * }
97
97
  * *\/
98
- * // example id: getinstanceshealthstatus-example-1590115176146
99
98
  * ```
100
99
  *
100
+ * @public
101
101
  */
102
102
  export declare class GetInstancesHealthStatusCommand extends GetInstancesHealthStatusCommand_base {
103
103
  /** @internal type navigation helper, not in runtime. */
@@ -81,37 +81,8 @@ declare const GetNamespaceCommand_base: {
81
81
  * @throws {@link ServiceDiscoveryServiceException}
82
82
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
83
83
  *
84
- * @public
85
- * @example GetNamespace example
86
- * ```javascript
87
- * // This example gets information about a specified namespace.
88
- * const input = {
89
- * "Id": "ns-e4anhexample0004"
90
- * };
91
- * const command = new GetNamespaceCommand(input);
92
- * const response = await client.send(command);
93
- * /* response ==
94
- * {
95
- * "Namespace": {
96
- * "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-e1tpmexample0001",
97
- * "CreateDate": "20181118T211712Z",
98
- * "CreatorRequestId": "example-creator-request-id-0001",
99
- * "Description": "Example.com AWS Cloud Map HTTP Namespace",
100
- * "Id": "ns-e1tpmexample0001",
101
- * "Name": "example-http.com",
102
- * "Properties": {
103
- * "DnsProperties": {},
104
- * "HttpProperties": {
105
- * "HttpName": "example-http.com"
106
- * }
107
- * },
108
- * "Type": "HTTP"
109
- * }
110
- * }
111
- * *\/
112
- * // example id: getnamespace-example-1590115383708
113
- * ```
114
84
  *
85
+ * @public
115
86
  */
116
87
  export declare class GetNamespaceCommand extends GetNamespaceCommand_base {
117
88
  /** @internal type navigation helper, not in runtime. */
@@ -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. */