@aws-sdk/client-servicediscovery 3.560.0 → 3.563.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.
|
@@ -70,6 +70,23 @@ declare const DiscoverInstancesRevisionCommand_base: {
|
|
|
70
70
|
* <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
|
|
71
71
|
*
|
|
72
72
|
* @public
|
|
73
|
+
* @example To discover the revision for a registered instance
|
|
74
|
+
* ```javascript
|
|
75
|
+
* // The following example discovers the revision ID for a registered instance.
|
|
76
|
+
* const input = {
|
|
77
|
+
* "NamespaceName": "example-namespace",
|
|
78
|
+
* "ServiceName": "example-service"
|
|
79
|
+
* };
|
|
80
|
+
* const command = new DiscoverInstancesRevisionCommand(input);
|
|
81
|
+
* const response = await client.send(command);
|
|
82
|
+
* /* response ==
|
|
83
|
+
* {
|
|
84
|
+
* "InstancesRevision": 123456
|
|
85
|
+
* }
|
|
86
|
+
* *\/
|
|
87
|
+
* // example id: to-discover-the-revision-for-a-registered-instance-1712867460953
|
|
88
|
+
* ```
|
|
89
|
+
*
|
|
73
90
|
*/
|
|
74
91
|
export declare class DiscoverInstancesRevisionCommand extends DiscoverInstancesRevisionCommand_base {
|
|
75
92
|
}
|
|
@@ -73,6 +73,25 @@ declare const UpdateHttpNamespaceCommand_base: {
|
|
|
73
73
|
* <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
|
|
74
74
|
*
|
|
75
75
|
* @public
|
|
76
|
+
* @example To update a HTTP namespace
|
|
77
|
+
* ```javascript
|
|
78
|
+
* // The following example updates the description of a HTTP namespace.
|
|
79
|
+
* const input = {
|
|
80
|
+
* "Id": "ns-vh4nbmEXAMPLE",
|
|
81
|
+
* "Namespace": {
|
|
82
|
+
* "Description": "The updated namespace description."
|
|
83
|
+
* }
|
|
84
|
+
* };
|
|
85
|
+
* const command = new UpdateHttpNamespaceCommand(input);
|
|
86
|
+
* const response = await client.send(command);
|
|
87
|
+
* /* response ==
|
|
88
|
+
* {
|
|
89
|
+
* "OperationId": "ft52xe2koxhoeormaceymagglsdjyvEXAMPLE"
|
|
90
|
+
* }
|
|
91
|
+
* *\/
|
|
92
|
+
* // example id: to-update-a-http-namespace-17128EXAMPLE
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
76
95
|
*/
|
|
77
96
|
export declare class UpdateHttpNamespaceCommand extends UpdateHttpNamespaceCommand_base {
|
|
78
97
|
}
|
|
@@ -80,6 +80,46 @@ declare const UpdatePrivateDnsNamespaceCommand_base: {
|
|
|
80
80
|
* <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
|
|
81
81
|
*
|
|
82
82
|
* @public
|
|
83
|
+
* @example To update a private DNS namespace
|
|
84
|
+
* ```javascript
|
|
85
|
+
* // The following example updates the description of a private DNS namespace.
|
|
86
|
+
* const input = {
|
|
87
|
+
* "Id": "ns-bk3aEXAMPLE",
|
|
88
|
+
* "Namespace": {
|
|
89
|
+
* "Description": "The updated namespace description."
|
|
90
|
+
* },
|
|
91
|
+
* "UpdaterRequestId": ""
|
|
92
|
+
* };
|
|
93
|
+
* const command = new UpdatePrivateDnsNamespaceCommand(input);
|
|
94
|
+
* const response = await client.send(command);
|
|
95
|
+
* /* response ==
|
|
96
|
+
* {
|
|
97
|
+
* "OperationId": "ft52xe2koxhoeormaceymagglsdjyvEXAMPLE"
|
|
98
|
+
* }
|
|
99
|
+
* *\/
|
|
100
|
+
* // example id: to-update-a-private-dns-namespace-1712868389604
|
|
101
|
+
* ```
|
|
102
|
+
*
|
|
103
|
+
* @example To update a public DNS namespace
|
|
104
|
+
* ```javascript
|
|
105
|
+
* // The following example updates the description of a public DNS namespace.
|
|
106
|
+
* const input = {
|
|
107
|
+
* "Id": "ns-bk3aEXAMPLE",
|
|
108
|
+
* "Namespace": {
|
|
109
|
+
* "Description": "The updated namespace description."
|
|
110
|
+
* },
|
|
111
|
+
* "UpdaterRequestId": ""
|
|
112
|
+
* };
|
|
113
|
+
* const command = new UpdatePrivateDnsNamespaceCommand(input);
|
|
114
|
+
* const response = await client.send(command);
|
|
115
|
+
* /* response ==
|
|
116
|
+
* {
|
|
117
|
+
* "OperationId": "ft52xe2koxhoeormaceymagglsdjEXAMPLE"
|
|
118
|
+
* }
|
|
119
|
+
* *\/
|
|
120
|
+
* // example id: to-update-a-public-dns-namespace-1712868389604
|
|
121
|
+
* ```
|
|
122
|
+
*
|
|
83
123
|
*/
|
|
84
124
|
export declare class UpdatePrivateDnsNamespaceCommand extends UpdatePrivateDnsNamespaceCommand_base {
|
|
85
125
|
}
|
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.
|
|
4
|
+
"version": "3.563.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",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
23
|
"@aws-sdk/client-sts": "3.556.0",
|
|
24
24
|
"@aws-sdk/core": "3.556.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.563.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|