@aws-sdk/client-servicediscovery 3.712.0 → 3.713.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.
|
@@ -63,6 +63,20 @@ declare const DeleteServiceAttributesCommand_base: {
|
|
|
63
63
|
* <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
|
|
64
64
|
*
|
|
65
65
|
* @public
|
|
66
|
+
* @example DeleteServiceAttributes example
|
|
67
|
+
* ```javascript
|
|
68
|
+
* // Example: Delete service attribute by providing attribute key and service ID
|
|
69
|
+
* const input = {
|
|
70
|
+
* "Attributes": [
|
|
71
|
+
* "port"
|
|
72
|
+
* ],
|
|
73
|
+
* "ServiceId": "srv-e4anhexample0004"
|
|
74
|
+
* };
|
|
75
|
+
* const command = new DeleteServiceAttributesCommand(input);
|
|
76
|
+
* await client.send(command);
|
|
77
|
+
* // example id: example-delete-service-attributes-1587416462902
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
66
80
|
*/
|
|
67
81
|
export declare class DeleteServiceAttributesCommand extends DeleteServiceAttributesCommand_base {
|
|
68
82
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -67,6 +67,27 @@ declare const GetServiceAttributesCommand_base: {
|
|
|
67
67
|
* <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
|
|
68
68
|
*
|
|
69
69
|
* @public
|
|
70
|
+
* @example GetServiceAttributes Example
|
|
71
|
+
* ```javascript
|
|
72
|
+
* // This example gets the attributes for a specified service.
|
|
73
|
+
* const input = {
|
|
74
|
+
* "ServiceId": "srv-e4anhexample0004"
|
|
75
|
+
* };
|
|
76
|
+
* const command = new GetServiceAttributesCommand(input);
|
|
77
|
+
* const response = await client.send(command);
|
|
78
|
+
* /* response ==
|
|
79
|
+
* {
|
|
80
|
+
* "ServiceAttributes": {
|
|
81
|
+
* "Attributes": {
|
|
82
|
+
* "port": "80"
|
|
83
|
+
* },
|
|
84
|
+
* "ServiceArn": "arn:aws:servicediscovery:us-west-2:123456789012:service/srv-e4anhexample0004"
|
|
85
|
+
* }
|
|
86
|
+
* }
|
|
87
|
+
* *\/
|
|
88
|
+
* // example id: get-service-attributes-example-1590117234294
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
70
91
|
*/
|
|
71
92
|
export declare class GetServiceAttributesCommand extends GetServiceAttributesCommand_base {
|
|
72
93
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -66,6 +66,20 @@ declare const UpdateServiceAttributesCommand_base: {
|
|
|
66
66
|
* <p>Base exception class for all service exceptions from ServiceDiscovery service.</p>
|
|
67
67
|
*
|
|
68
68
|
* @public
|
|
69
|
+
* @example UpdateServiceAttributes Example
|
|
70
|
+
* ```javascript
|
|
71
|
+
* // This example submits a request to update the specified service to add a port attribute with the value 80.
|
|
72
|
+
* const input = {
|
|
73
|
+
* "Attributes": {
|
|
74
|
+
* "port": "80"
|
|
75
|
+
* },
|
|
76
|
+
* "ServiceId": "srv-e4anhexample0004"
|
|
77
|
+
* };
|
|
78
|
+
* const command = new UpdateServiceAttributesCommand(input);
|
|
79
|
+
* await client.send(command);
|
|
80
|
+
* // example id: update-service-attributes-example-1590117830880
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
69
83
|
*/
|
|
70
84
|
export declare class UpdateServiceAttributesCommand extends UpdateServiceAttributesCommand_base {
|
|
71
85
|
/** @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.
|
|
4
|
+
"version": "3.713.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",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.713.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.713.0",
|
|
25
|
+
"@aws-sdk/core": "3.713.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.713.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.713.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.713.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.713.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.713.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.713.0",
|
|
32
|
+
"@aws-sdk/types": "3.713.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.713.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.713.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.713.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.13",
|
|
37
37
|
"@smithy/core": "^2.5.5",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.1.2",
|