@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
@@ -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.774.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",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.774.0",
24
- "@aws-sdk/credential-provider-node": "3.774.0",
25
- "@aws-sdk/middleware-host-header": "3.774.0",
26
- "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
- "@aws-sdk/middleware-user-agent": "3.774.0",
29
- "@aws-sdk/region-config-resolver": "3.734.0",
30
- "@aws-sdk/types": "3.734.0",
31
- "@aws-sdk/util-endpoints": "3.743.0",
32
- "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.774.0",
34
- "@smithy/config-resolver": "^4.0.1",
35
- "@smithy/core": "^3.1.5",
36
- "@smithy/fetch-http-handler": "^5.0.1",
37
- "@smithy/hash-node": "^4.0.1",
38
- "@smithy/invalid-dependency": "^4.0.1",
39
- "@smithy/middleware-content-length": "^4.0.1",
40
- "@smithy/middleware-endpoint": "^4.0.6",
41
- "@smithy/middleware-retry": "^4.0.7",
42
- "@smithy/middleware-serde": "^4.0.2",
43
- "@smithy/middleware-stack": "^4.0.1",
44
- "@smithy/node-config-provider": "^4.0.1",
45
- "@smithy/node-http-handler": "^4.0.3",
46
- "@smithy/protocol-http": "^5.0.1",
47
- "@smithy/smithy-client": "^4.1.6",
48
- "@smithy/types": "^4.1.0",
49
- "@smithy/url-parser": "^4.0.1",
23
+ "@aws-sdk/core": "3.775.0",
24
+ "@aws-sdk/credential-provider-node": "3.777.0",
25
+ "@aws-sdk/middleware-host-header": "3.775.0",
26
+ "@aws-sdk/middleware-logger": "3.775.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
+ "@aws-sdk/middleware-user-agent": "3.775.0",
29
+ "@aws-sdk/region-config-resolver": "3.775.0",
30
+ "@aws-sdk/types": "3.775.0",
31
+ "@aws-sdk/util-endpoints": "3.775.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.775.0",
33
+ "@aws-sdk/util-user-agent-node": "3.775.0",
34
+ "@smithy/config-resolver": "^4.1.0",
35
+ "@smithy/core": "^3.2.0",
36
+ "@smithy/fetch-http-handler": "^5.0.2",
37
+ "@smithy/hash-node": "^4.0.2",
38
+ "@smithy/invalid-dependency": "^4.0.2",
39
+ "@smithy/middleware-content-length": "^4.0.2",
40
+ "@smithy/middleware-endpoint": "^4.1.0",
41
+ "@smithy/middleware-retry": "^4.1.0",
42
+ "@smithy/middleware-serde": "^4.0.3",
43
+ "@smithy/middleware-stack": "^4.0.2",
44
+ "@smithy/node-config-provider": "^4.0.2",
45
+ "@smithy/node-http-handler": "^4.0.4",
46
+ "@smithy/protocol-http": "^5.1.0",
47
+ "@smithy/smithy-client": "^4.2.0",
48
+ "@smithy/types": "^4.2.0",
49
+ "@smithy/url-parser": "^4.0.2",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.7",
54
- "@smithy/util-defaults-mode-node": "^4.0.7",
55
- "@smithy/util-endpoints": "^3.0.1",
56
- "@smithy/util-middleware": "^4.0.1",
57
- "@smithy/util-retry": "^4.0.1",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.8",
54
+ "@smithy/util-defaults-mode-node": "^4.0.8",
55
+ "@smithy/util-endpoints": "^3.0.2",
56
+ "@smithy/util-middleware": "^4.0.2",
57
+ "@smithy/util-retry": "^4.0.2",
58
58
  "@smithy/util-utf8": "^4.0.0",
59
59
  "@types/uuid": "^9.0.1",
60
60
  "tslib": "^2.6.2",