@aws-sdk/client-servicediscovery 3.775.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 (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 +2 -2
@@ -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. */
@@ -80,47 +80,46 @@ declare const UpdatePrivateDnsNamespaceCommand_base: {
80
80
  * @throws {@link ServiceDiscoveryServiceException}
81
81
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
82
82
  *
83
- * @public
84
- * @example To update a public DNS namespace
83
+ *
84
+ * @example To update a private DNS namespace
85
85
  * ```javascript
86
- * // The following example updates the description of a public DNS namespace.
86
+ * // The following example updates the description of a private DNS namespace.
87
87
  * const input = {
88
- * "Id": "ns-bk3aEXAMPLE",
89
- * "Namespace": {
90
- * "Description": "The updated namespace description."
88
+ * Id: "ns-bk3aEXAMPLE",
89
+ * Namespace: {
90
+ * Description: "The updated namespace description."
91
91
  * },
92
- * "UpdaterRequestId": ""
92
+ * UpdaterRequestId: ""
93
93
  * };
94
94
  * const command = new UpdatePrivateDnsNamespaceCommand(input);
95
95
  * const response = await client.send(command);
96
- * /* response ==
96
+ * /* response is
97
97
  * {
98
- * "OperationId": "ft52xe2koxhoeormaceymagglsdjEXAMPLE"
98
+ * OperationId: "ft52xe2koxhoeormaceymagglsdjyvEXAMPLE"
99
99
  * }
100
100
  * *\/
101
- * // example id: to-update-a-public-dns-namespace-1712868389604
102
101
  * ```
103
102
  *
104
- * @example To update a private DNS namespace
103
+ * @example To update a public DNS namespace
105
104
  * ```javascript
106
- * // The following example updates the description of a private DNS namespace.
105
+ * // The following example updates the description of a public DNS namespace.
107
106
  * const input = {
108
- * "Id": "ns-bk3aEXAMPLE",
109
- * "Namespace": {
110
- * "Description": "The updated namespace description."
107
+ * Id: "ns-bk3aEXAMPLE",
108
+ * Namespace: {
109
+ * Description: "The updated namespace description."
111
110
  * },
112
- * "UpdaterRequestId": ""
111
+ * UpdaterRequestId: ""
113
112
  * };
114
113
  * const command = new UpdatePrivateDnsNamespaceCommand(input);
115
114
  * const response = await client.send(command);
116
- * /* response ==
115
+ * /* response is
117
116
  * {
118
- * "OperationId": "ft52xe2koxhoeormaceymagglsdjyvEXAMPLE"
117
+ * OperationId: "ft52xe2koxhoeormaceymagglsdjEXAMPLE"
119
118
  * }
120
119
  * *\/
121
- * // example id: to-update-a-private-dns-namespace-1712868389604
122
120
  * ```
123
121
  *
122
+ * @public
124
123
  */
125
124
  export declare class UpdatePrivateDnsNamespaceCommand extends UpdatePrivateDnsNamespaceCommand_base {
126
125
  /** @internal type navigation helper, not in runtime. */
@@ -80,6 +80,7 @@ declare const UpdatePublicDnsNamespaceCommand_base: {
80
80
  * @throws {@link ServiceDiscoveryServiceException}
81
81
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
82
82
  *
83
+ *
83
84
  * @public
84
85
  */
85
86
  export declare class UpdatePublicDnsNamespaceCommand extends UpdatePublicDnsNamespaceCommand_base {
@@ -65,21 +65,24 @@ declare const UpdateServiceAttributesCommand_base: {
65
65
  * @throws {@link ServiceDiscoveryServiceException}
66
66
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
67
67
  *
68
- * @public
68
+ *
69
69
  * @example UpdateServiceAttributes Example
70
70
  * ```javascript
71
71
  * // This example submits a request to update the specified service to add a port attribute with the value 80.
72
72
  * const input = {
73
- * "Attributes": {
74
- * "port": "80"
73
+ * Attributes: {
74
+ * port: "80"
75
75
  * },
76
- * "ServiceId": "srv-e4anhexample0004"
76
+ * ServiceId: "srv-e4anhexample0004"
77
77
  * };
78
78
  * const command = new UpdateServiceAttributesCommand(input);
79
- * await client.send(command);
80
- * // example id: update-service-attributes-example-1590117830880
79
+ * const response = await client.send(command);
80
+ * /* response is
81
+ * { /* empty *\/ }
82
+ * *\/
81
83
  * ```
82
84
  *
85
+ * @public
83
86
  */
84
87
  export declare class UpdateServiceAttributesCommand extends UpdateServiceAttributesCommand_base {
85
88
  /** @internal type navigation helper, not in runtime. */
@@ -104,38 +104,38 @@ declare const UpdateServiceCommand_base: {
104
104
  * @throws {@link ServiceDiscoveryServiceException}
105
105
  * <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
106
106
  *
107
- * @public
107
+ *
108
108
  * @example UpdateService Example
109
109
  * ```javascript
110
110
  * // This example submits a request to replace the DnsConfig and HealthCheckConfig settings of a specified service.
111
111
  * const input = {
112
- * "Id": "srv-e4anhexample0004",
113
- * "Service": {
114
- * "DnsConfig": {
115
- * "DnsRecords": [
112
+ * Id: "srv-e4anhexample0004",
113
+ * Service: {
114
+ * DnsConfig: {
115
+ * DnsRecords: [
116
116
  * {
117
- * "TTL": 60,
118
- * "Type": "A"
117
+ * TTL: 60,
118
+ * Type: "A"
119
119
  * }
120
120
  * ]
121
121
  * },
122
- * "HealthCheckConfig": {
123
- * "FailureThreshold": 2,
124
- * "ResourcePath": "/",
125
- * "Type": "HTTP"
122
+ * HealthCheckConfig: {
123
+ * FailureThreshold: 2,
124
+ * ResourcePath: "/",
125
+ * Type: "HTTP"
126
126
  * }
127
127
  * }
128
128
  * };
129
129
  * const command = new UpdateServiceCommand(input);
130
130
  * const response = await client.send(command);
131
- * /* response ==
131
+ * /* response is
132
132
  * {
133
- * "OperationId": "m35hsdrkxwjffm3xef4bxyy6vc3ewakx-jdn3y5g5"
133
+ * OperationId: "m35hsdrkxwjffm3xef4bxyy6vc3ewakx-jdn3y5g5"
134
134
  * }
135
135
  * *\/
136
- * // example id: updateservice-example-1590117830880
137
136
  * ```
138
137
  *
138
+ * @public
139
139
  */
140
140
  export declare class UpdateServiceCommand extends UpdateServiceCommand_base {
141
141
  /** @internal type navigation helper, not in runtime. */
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.775.0",
4
+ "version": "3.777.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-servicediscovery",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.775.0",
24
+ "@aws-sdk/credential-provider-node": "3.777.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",