@aws-sdk/client-servicediscovery 3.95.0 → 3.105.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.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/ServiceDiscoveryClient.js +2 -0
- package/dist-cjs/runtimeConfig.js +2 -0
- package/dist-es/ServiceDiscoveryClient.js +2 -0
- package/dist-es/runtimeConfig.js +2 -0
- package/dist-types/models/models_0.d.ts +8 -24
- package/dist-types/ts3.4/models/models_0.d.ts +8 -24
- package/package.json +7 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-servicediscovery
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-servicediscovery
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.95.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.94.0...v3.95.0) (2022-05-19)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-servicediscovery
|
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
11
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
@@ -25,6 +26,7 @@ class ServiceDiscoveryClient extends smithy_client_1.Client {
|
|
|
25
26
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
27
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
28
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
28
30
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
31
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
32
|
}
|
|
@@ -17,8 +17,10 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
|
+
const smithy_client_2 = require("@aws-sdk/smithy-client");
|
|
20
21
|
const getRuntimeConfig = (config) => {
|
|
21
22
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
23
|
+
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
24
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
25
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
26
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
@@ -25,6 +26,7 @@ var ServiceDiscoveryClient = (function (_super) {
|
|
|
25
26
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
27
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
28
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
28
30
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
31
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
32
|
return _this;
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -14,8 +14,10 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
15
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
16
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
17
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
17
18
|
export var getRuntimeConfig = function (config) {
|
|
18
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
19
21
|
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
22
|
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
21
23
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
@@ -1122,18 +1122,14 @@ export interface DiscoverInstancesRequest {
|
|
|
1122
1122
|
* <p>Filters to scope the results based on custom attributes for the instance (for example, <code>{version=v1,
|
|
1123
1123
|
* az=1a}</code>). Only instances that match all the specified key-value pairs are returned.</p>
|
|
1124
1124
|
*/
|
|
1125
|
-
QueryParameters?:
|
|
1126
|
-
[key: string]: string;
|
|
1127
|
-
};
|
|
1125
|
+
QueryParameters?: Record<string, string>;
|
|
1128
1126
|
/**
|
|
1129
1127
|
* <p>Opportunistic filters to scope the results based on custom attributes. If there are instances that match both
|
|
1130
1128
|
* the filters specified in both the <code>QueryParameters</code> parameter and this parameter, all of these instances
|
|
1131
1129
|
* are returned. Otherwise, the filters are ignored, and only instances that match the filters that are specified in the
|
|
1132
1130
|
* <code>QueryParameters</code> parameter are returned.</p>
|
|
1133
1131
|
*/
|
|
1134
|
-
OptionalParameters?:
|
|
1135
|
-
[key: string]: string;
|
|
1136
|
-
};
|
|
1132
|
+
OptionalParameters?: Record<string, string>;
|
|
1137
1133
|
/**
|
|
1138
1134
|
* <p>The health status of the instances that you want to discover. This parameter is ignored for services that don't
|
|
1139
1135
|
* have a health check configured, and
|
|
@@ -1202,9 +1198,7 @@ export interface HttpInstanceSummary {
|
|
|
1202
1198
|
/**
|
|
1203
1199
|
* <p>If you included any attributes when you registered the instance, the values of those attributes.</p>
|
|
1204
1200
|
*/
|
|
1205
|
-
Attributes?:
|
|
1206
|
-
[key: string]: string;
|
|
1207
|
-
};
|
|
1201
|
+
Attributes?: Record<string, string>;
|
|
1208
1202
|
}
|
|
1209
1203
|
export declare namespace HttpInstanceSummary {
|
|
1210
1204
|
/**
|
|
@@ -1424,9 +1418,7 @@ export interface Instance {
|
|
|
1424
1418
|
* </dd>
|
|
1425
1419
|
* </dl>
|
|
1426
1420
|
*/
|
|
1427
|
-
Attributes?:
|
|
1428
|
-
[key: string]: string;
|
|
1429
|
-
};
|
|
1421
|
+
Attributes?: Record<string, string>;
|
|
1430
1422
|
}
|
|
1431
1423
|
export declare namespace Instance {
|
|
1432
1424
|
/**
|
|
@@ -1485,9 +1477,7 @@ export interface GetInstancesHealthStatusResponse {
|
|
|
1485
1477
|
* <p>A complex type that contains the IDs and the health status of the instances that you specified in the
|
|
1486
1478
|
* <code>GetInstancesHealthStatus</code> request.</p>
|
|
1487
1479
|
*/
|
|
1488
|
-
Status?:
|
|
1489
|
-
[key: string]: HealthStatus | string;
|
|
1490
|
-
};
|
|
1480
|
+
Status?: Record<string, HealthStatus | string>;
|
|
1491
1481
|
/**
|
|
1492
1482
|
* <p>If more than <code>MaxResults</code> instances match the specified criteria, you can submit another
|
|
1493
1483
|
* <code>GetInstancesHealthStatus</code> request to get the next group of results. Specify the value of
|
|
@@ -1771,9 +1761,7 @@ export interface Operation {
|
|
|
1771
1761
|
* </dd>
|
|
1772
1762
|
* </dl>
|
|
1773
1763
|
*/
|
|
1774
|
-
Targets?:
|
|
1775
|
-
[key: string]: string;
|
|
1776
|
-
};
|
|
1764
|
+
Targets?: Record<string, string>;
|
|
1777
1765
|
}
|
|
1778
1766
|
export declare namespace Operation {
|
|
1779
1767
|
/**
|
|
@@ -1906,9 +1894,7 @@ export interface InstanceSummary {
|
|
|
1906
1894
|
* </dd>
|
|
1907
1895
|
* </dl>
|
|
1908
1896
|
*/
|
|
1909
|
-
Attributes?:
|
|
1910
|
-
[key: string]: string;
|
|
1911
|
-
};
|
|
1897
|
+
Attributes?: Record<string, string>;
|
|
1912
1898
|
}
|
|
1913
1899
|
export declare namespace InstanceSummary {
|
|
1914
1900
|
/**
|
|
@@ -2791,9 +2777,7 @@ export interface RegisterInstanceRequest {
|
|
|
2791
2777
|
* </dd>
|
|
2792
2778
|
* </dl>
|
|
2793
2779
|
*/
|
|
2794
|
-
Attributes:
|
|
2795
|
-
[key: string]: string;
|
|
2796
|
-
} | undefined;
|
|
2780
|
+
Attributes: Record<string, string> | undefined;
|
|
2797
2781
|
}
|
|
2798
2782
|
export declare namespace RegisterInstanceRequest {
|
|
2799
2783
|
/**
|
|
@@ -426,13 +426,9 @@ export interface DiscoverInstancesRequest {
|
|
|
426
426
|
|
|
427
427
|
MaxResults?: number;
|
|
428
428
|
|
|
429
|
-
QueryParameters?:
|
|
430
|
-
[key: string]: string;
|
|
431
|
-
};
|
|
429
|
+
QueryParameters?: Record<string, string>;
|
|
432
430
|
|
|
433
|
-
OptionalParameters?:
|
|
434
|
-
[key: string]: string;
|
|
435
|
-
};
|
|
431
|
+
OptionalParameters?: Record<string, string>;
|
|
436
432
|
|
|
437
433
|
HealthStatus?: HealthStatusFilter | string;
|
|
438
434
|
}
|
|
@@ -456,9 +452,7 @@ export interface HttpInstanceSummary {
|
|
|
456
452
|
|
|
457
453
|
HealthStatus?: HealthStatus | string;
|
|
458
454
|
|
|
459
|
-
Attributes?:
|
|
460
|
-
[key: string]: string;
|
|
461
|
-
};
|
|
455
|
+
Attributes?: Record<string, string>;
|
|
462
456
|
}
|
|
463
457
|
export declare namespace HttpInstanceSummary {
|
|
464
458
|
|
|
@@ -522,9 +516,7 @@ export interface Instance {
|
|
|
522
516
|
|
|
523
517
|
CreatorRequestId?: string;
|
|
524
518
|
|
|
525
|
-
Attributes?:
|
|
526
|
-
[key: string]: string;
|
|
527
|
-
};
|
|
519
|
+
Attributes?: Record<string, string>;
|
|
528
520
|
}
|
|
529
521
|
export declare namespace Instance {
|
|
530
522
|
|
|
@@ -554,9 +546,7 @@ export declare namespace GetInstancesHealthStatusRequest {
|
|
|
554
546
|
}
|
|
555
547
|
export interface GetInstancesHealthStatusResponse {
|
|
556
548
|
|
|
557
|
-
Status?:
|
|
558
|
-
[key: string]: HealthStatus | string;
|
|
559
|
-
};
|
|
549
|
+
Status?: Record<string, HealthStatus | string>;
|
|
560
550
|
|
|
561
551
|
NextToken?: string;
|
|
562
552
|
}
|
|
@@ -674,9 +664,7 @@ export interface Operation {
|
|
|
674
664
|
|
|
675
665
|
UpdateDate?: Date;
|
|
676
666
|
|
|
677
|
-
Targets?:
|
|
678
|
-
[key: string]: string;
|
|
679
|
-
};
|
|
667
|
+
Targets?: Record<string, string>;
|
|
680
668
|
}
|
|
681
669
|
export declare namespace Operation {
|
|
682
670
|
|
|
@@ -728,9 +716,7 @@ export interface InstanceSummary {
|
|
|
728
716
|
|
|
729
717
|
Id?: string;
|
|
730
718
|
|
|
731
|
-
Attributes?:
|
|
732
|
-
[key: string]: string;
|
|
733
|
-
};
|
|
719
|
+
Attributes?: Record<string, string>;
|
|
734
720
|
}
|
|
735
721
|
export declare namespace InstanceSummary {
|
|
736
722
|
|
|
@@ -1036,9 +1022,7 @@ export interface RegisterInstanceRequest {
|
|
|
1036
1022
|
|
|
1037
1023
|
CreatorRequestId?: string;
|
|
1038
1024
|
|
|
1039
|
-
Attributes:
|
|
1040
|
-
[key: string]: string;
|
|
1041
|
-
} | undefined;
|
|
1025
|
+
Attributes: Record<string, string> | undefined;
|
|
1042
1026
|
}
|
|
1043
1027
|
export declare namespace RegisterInstanceRequest {
|
|
1044
1028
|
|
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.105.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,15 +18,16 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.105.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.105.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.78.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.78.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.78.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.105.0",
|
|
30
31
|
"@aws-sdk/middleware-retry": "3.80.0",
|
|
31
32
|
"@aws-sdk/middleware-serde": "3.78.0",
|
|
32
33
|
"@aws-sdk/middleware-signing": "3.78.0",
|
|
@@ -35,15 +36,15 @@
|
|
|
35
36
|
"@aws-sdk/node-config-provider": "3.80.0",
|
|
36
37
|
"@aws-sdk/node-http-handler": "3.94.0",
|
|
37
38
|
"@aws-sdk/protocol-http": "3.78.0",
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
+
"@aws-sdk/smithy-client": "3.99.0",
|
|
39
40
|
"@aws-sdk/types": "3.78.0",
|
|
40
41
|
"@aws-sdk/url-parser": "3.78.0",
|
|
41
42
|
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.99.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.99.0",
|
|
47
48
|
"@aws-sdk/util-user-agent-browser": "3.78.0",
|
|
48
49
|
"@aws-sdk/util-user-agent-node": "3.80.0",
|
|
49
50
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|