@aws-sdk/client-application-discovery-service 3.128.0 → 3.132.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 +30 -0
- package/dist-cjs/models/models_0.js +7 -1
- package/dist-cjs/protocols/Aws_json1_1.js +17 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +17 -0
- package/dist-types/models/models_0.d.ts +16 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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.132.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.131.0...v3.132.0) (2022-07-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-application-discovery-service:** Add AWS Agentless Collector details to the GetDiscoverySummary API response ([d790bda](https://github.com/aws/aws-sdk-js-v3/commit/d790bda6e7dffcb5a74c12550d4bbd14bdb4051c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-application-discovery-service
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-application-discovery-service
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TagFilter = exports.DescribeImportTasksResponse = exports.ImportTask = exports.ImportStatus = exports.DescribeImportTasksRequest = exports.ImportTaskFilter = exports.ImportTaskFilterName = exports.DescribeExportTasksResponse = exports.DescribeExportTasksRequest = exports.ExportFilter = exports.DescribeExportConfigurationsResponse = exports.ExportInfo = exports.ExportStatus = exports.DescribeExportConfigurationsRequest = exports.OperationNotPermittedException = exports.DescribeContinuousExportsResponse = exports.ContinuousExportDescription = exports.ContinuousExportStatus = exports.DataSource = exports.DescribeContinuousExportsRequest = exports.DescribeConfigurationsResponse = exports.DescribeConfigurationsRequest = exports.DescribeAgentsResponse = exports.DescribeAgentsRequest = exports.Filter = exports.DeleteTagsResponse = exports.DeleteTagsRequest = exports.DeleteApplicationsResponse = exports.DeleteApplicationsRequest = exports.ResourceNotFoundException = exports.CreateTagsResponse = exports.CreateTagsRequest = exports.Tag = exports.CreateApplicationResponse = exports.CreateApplicationRequest = exports.BatchDeleteImportDataResponse = exports.BatchDeleteImportDataError = exports.BatchDeleteImportDataErrorCode = exports.BatchDeleteImportDataRequest = exports.ServerInternalErrorException = exports.InvalidParameterValueException = exports.InvalidParameterException = exports.HomeRegionNotSetException = exports.AuthorizationErrorException = exports.AssociateConfigurationItemsToApplicationResponse = exports.AssociateConfigurationItemsToApplicationRequest = exports.AgentInfo = exports.AgentStatus = exports.AgentNetworkInfo = exports.AgentConfigurationStatus = void 0;
|
|
4
|
-
exports.UpdateApplicationResponse = exports.UpdateApplicationRequest = exports.StopDataCollectionByAgentIdsResponse = exports.StopDataCollectionByAgentIdsRequest = exports.StopContinuousExportResponse = exports.StopContinuousExportRequest = exports.StartImportTaskResponse = exports.StartImportTaskRequest = exports.StartExportTaskResponse = exports.StartExportTaskRequest = exports.ExportDataFormat = exports.StartDataCollectionByAgentIdsResponse = exports.StartDataCollectionByAgentIdsRequest = exports.StartContinuousExportResponse = exports.StartContinuousExportRequest = exports.ResourceInUseException = exports.ConflictErrorException = exports.ListServerNeighborsResponse = exports.NeighborConnectionDetail = exports.ListServerNeighborsRequest = exports.ListConfigurationsResponse = exports.ListConfigurationsRequest = exports.OrderByElement = exports.OrderString = exports.GetDiscoverySummaryResponse = exports.CustomerMeCollectorInfo = exports.CustomerConnectorInfo = exports.CustomerAgentInfo = exports.GetDiscoverySummaryRequest = exports.ExportConfigurationsResponse = exports.DisassociateConfigurationItemsFromApplicationResponse = exports.DisassociateConfigurationItemsFromApplicationRequest = exports.DescribeTagsResponse = exports.ConfigurationTag = exports.ConfigurationItemType = exports.DescribeTagsRequest = void 0;
|
|
4
|
+
exports.UpdateApplicationResponse = exports.UpdateApplicationRequest = exports.StopDataCollectionByAgentIdsResponse = exports.StopDataCollectionByAgentIdsRequest = exports.StopContinuousExportResponse = exports.StopContinuousExportRequest = exports.StartImportTaskResponse = exports.StartImportTaskRequest = exports.StartExportTaskResponse = exports.StartExportTaskRequest = exports.ExportDataFormat = exports.StartDataCollectionByAgentIdsResponse = exports.StartDataCollectionByAgentIdsRequest = exports.StartContinuousExportResponse = exports.StartContinuousExportRequest = exports.ResourceInUseException = exports.ConflictErrorException = exports.ListServerNeighborsResponse = exports.NeighborConnectionDetail = exports.ListServerNeighborsRequest = exports.ListConfigurationsResponse = exports.ListConfigurationsRequest = exports.OrderByElement = exports.OrderString = exports.GetDiscoverySummaryResponse = exports.CustomerMeCollectorInfo = exports.CustomerConnectorInfo = exports.CustomerAgentInfo = exports.CustomerAgentlessCollectorInfo = exports.GetDiscoverySummaryRequest = exports.ExportConfigurationsResponse = exports.DisassociateConfigurationItemsFromApplicationResponse = exports.DisassociateConfigurationItemsFromApplicationRequest = exports.DescribeTagsResponse = exports.ConfigurationTag = exports.ConfigurationItemType = exports.DescribeTagsRequest = void 0;
|
|
5
5
|
const ApplicationDiscoveryServiceServiceException_1 = require("./ApplicationDiscoveryServiceServiceException");
|
|
6
6
|
var AgentConfigurationStatus;
|
|
7
7
|
(function (AgentConfigurationStatus) {
|
|
@@ -414,6 +414,12 @@ var GetDiscoverySummaryRequest;
|
|
|
414
414
|
...obj,
|
|
415
415
|
});
|
|
416
416
|
})(GetDiscoverySummaryRequest = exports.GetDiscoverySummaryRequest || (exports.GetDiscoverySummaryRequest = {}));
|
|
417
|
+
var CustomerAgentlessCollectorInfo;
|
|
418
|
+
(function (CustomerAgentlessCollectorInfo) {
|
|
419
|
+
CustomerAgentlessCollectorInfo.filterSensitiveLog = (obj) => ({
|
|
420
|
+
...obj,
|
|
421
|
+
});
|
|
422
|
+
})(CustomerAgentlessCollectorInfo = exports.CustomerAgentlessCollectorInfo || (exports.CustomerAgentlessCollectorInfo = {}));
|
|
417
423
|
var CustomerAgentInfo;
|
|
418
424
|
(function (CustomerAgentInfo) {
|
|
419
425
|
CustomerAgentInfo.filterSensitiveLog = (obj) => ({
|
|
@@ -2154,6 +2154,17 @@ const deserializeAws_json1_1CustomerAgentInfo = (output, context) => {
|
|
|
2154
2154
|
unknownAgents: (0, smithy_client_1.expectInt32)(output.unknownAgents),
|
|
2155
2155
|
};
|
|
2156
2156
|
};
|
|
2157
|
+
const deserializeAws_json1_1CustomerAgentlessCollectorInfo = (output, context) => {
|
|
2158
|
+
return {
|
|
2159
|
+
activeAgentlessCollectors: (0, smithy_client_1.expectInt32)(output.activeAgentlessCollectors),
|
|
2160
|
+
denyListedAgentlessCollectors: (0, smithy_client_1.expectInt32)(output.denyListedAgentlessCollectors),
|
|
2161
|
+
healthyAgentlessCollectors: (0, smithy_client_1.expectInt32)(output.healthyAgentlessCollectors),
|
|
2162
|
+
shutdownAgentlessCollectors: (0, smithy_client_1.expectInt32)(output.shutdownAgentlessCollectors),
|
|
2163
|
+
totalAgentlessCollectors: (0, smithy_client_1.expectInt32)(output.totalAgentlessCollectors),
|
|
2164
|
+
unhealthyAgentlessCollectors: (0, smithy_client_1.expectInt32)(output.unhealthyAgentlessCollectors),
|
|
2165
|
+
unknownAgentlessCollectors: (0, smithy_client_1.expectInt32)(output.unknownAgentlessCollectors),
|
|
2166
|
+
};
|
|
2167
|
+
};
|
|
2157
2168
|
const deserializeAws_json1_1CustomerConnectorInfo = (output, context) => {
|
|
2158
2169
|
return {
|
|
2159
2170
|
activeConnectors: (0, smithy_client_1.expectInt32)(output.activeConnectors),
|
|
@@ -2289,6 +2300,9 @@ const deserializeAws_json1_1ExportsInfo = (output, context) => {
|
|
|
2289
2300
|
const deserializeAws_json1_1GetDiscoverySummaryResponse = (output, context) => {
|
|
2290
2301
|
return {
|
|
2291
2302
|
agentSummary: output.agentSummary != null ? deserializeAws_json1_1CustomerAgentInfo(output.agentSummary, context) : undefined,
|
|
2303
|
+
agentlessCollectorSummary: output.agentlessCollectorSummary != null
|
|
2304
|
+
? deserializeAws_json1_1CustomerAgentlessCollectorInfo(output.agentlessCollectorSummary, context)
|
|
2305
|
+
: undefined,
|
|
2292
2306
|
applications: (0, smithy_client_1.expectLong)(output.applications),
|
|
2293
2307
|
connectorSummary: output.connectorSummary != null
|
|
2294
2308
|
? deserializeAws_json1_1CustomerConnectorInfo(output.connectorSummary, context)
|
|
@@ -2502,6 +2516,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
2502
2516
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
2503
2517
|
const sanitizeErrorCode = (rawValue) => {
|
|
2504
2518
|
let cleanValue = rawValue;
|
|
2519
|
+
if (typeof cleanValue === "number") {
|
|
2520
|
+
cleanValue = cleanValue.toString();
|
|
2521
|
+
}
|
|
2505
2522
|
if (cleanValue.indexOf(":") >= 0) {
|
|
2506
2523
|
cleanValue = cleanValue.split(":")[0];
|
|
2507
2524
|
}
|
|
@@ -318,6 +318,10 @@ export var GetDiscoverySummaryRequest;
|
|
|
318
318
|
(function (GetDiscoverySummaryRequest) {
|
|
319
319
|
GetDiscoverySummaryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
320
320
|
})(GetDiscoverySummaryRequest || (GetDiscoverySummaryRequest = {}));
|
|
321
|
+
export var CustomerAgentlessCollectorInfo;
|
|
322
|
+
(function (CustomerAgentlessCollectorInfo) {
|
|
323
|
+
CustomerAgentlessCollectorInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
324
|
+
})(CustomerAgentlessCollectorInfo || (CustomerAgentlessCollectorInfo = {}));
|
|
321
325
|
export var CustomerAgentInfo;
|
|
322
326
|
(function (CustomerAgentInfo) {
|
|
323
327
|
CustomerAgentInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -2545,6 +2545,17 @@ var deserializeAws_json1_1CustomerAgentInfo = function (output, context) {
|
|
|
2545
2545
|
unknownAgents: __expectInt32(output.unknownAgents),
|
|
2546
2546
|
};
|
|
2547
2547
|
};
|
|
2548
|
+
var deserializeAws_json1_1CustomerAgentlessCollectorInfo = function (output, context) {
|
|
2549
|
+
return {
|
|
2550
|
+
activeAgentlessCollectors: __expectInt32(output.activeAgentlessCollectors),
|
|
2551
|
+
denyListedAgentlessCollectors: __expectInt32(output.denyListedAgentlessCollectors),
|
|
2552
|
+
healthyAgentlessCollectors: __expectInt32(output.healthyAgentlessCollectors),
|
|
2553
|
+
shutdownAgentlessCollectors: __expectInt32(output.shutdownAgentlessCollectors),
|
|
2554
|
+
totalAgentlessCollectors: __expectInt32(output.totalAgentlessCollectors),
|
|
2555
|
+
unhealthyAgentlessCollectors: __expectInt32(output.unhealthyAgentlessCollectors),
|
|
2556
|
+
unknownAgentlessCollectors: __expectInt32(output.unknownAgentlessCollectors),
|
|
2557
|
+
};
|
|
2558
|
+
};
|
|
2548
2559
|
var deserializeAws_json1_1CustomerConnectorInfo = function (output, context) {
|
|
2549
2560
|
return {
|
|
2550
2561
|
activeConnectors: __expectInt32(output.activeConnectors),
|
|
@@ -2679,6 +2690,9 @@ var deserializeAws_json1_1ExportsInfo = function (output, context) {
|
|
|
2679
2690
|
var deserializeAws_json1_1GetDiscoverySummaryResponse = function (output, context) {
|
|
2680
2691
|
return {
|
|
2681
2692
|
agentSummary: output.agentSummary != null ? deserializeAws_json1_1CustomerAgentInfo(output.agentSummary, context) : undefined,
|
|
2693
|
+
agentlessCollectorSummary: output.agentlessCollectorSummary != null
|
|
2694
|
+
? deserializeAws_json1_1CustomerAgentlessCollectorInfo(output.agentlessCollectorSummary, context)
|
|
2695
|
+
: undefined,
|
|
2682
2696
|
applications: __expectLong(output.applications),
|
|
2683
2697
|
connectorSummary: output.connectorSummary != null
|
|
2684
2698
|
? deserializeAws_json1_1CustomerConnectorInfo(output.connectorSummary, context)
|
|
@@ -2903,6 +2917,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
2903
2917
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
2904
2918
|
var sanitizeErrorCode = function (rawValue) {
|
|
2905
2919
|
var cleanValue = rawValue;
|
|
2920
|
+
if (typeof cleanValue === "number") {
|
|
2921
|
+
cleanValue = cleanValue.toString();
|
|
2922
|
+
}
|
|
2906
2923
|
if (cleanValue.indexOf(":") >= 0) {
|
|
2907
2924
|
cleanValue = cleanValue.split(":")[0];
|
|
2908
2925
|
}
|
|
@@ -1212,6 +1212,21 @@ export declare namespace GetDiscoverySummaryRequest {
|
|
|
1212
1212
|
*/
|
|
1213
1213
|
const filterSensitiveLog: (obj: GetDiscoverySummaryRequest) => any;
|
|
1214
1214
|
}
|
|
1215
|
+
export interface CustomerAgentlessCollectorInfo {
|
|
1216
|
+
activeAgentlessCollectors: number | undefined;
|
|
1217
|
+
healthyAgentlessCollectors: number | undefined;
|
|
1218
|
+
denyListedAgentlessCollectors: number | undefined;
|
|
1219
|
+
shutdownAgentlessCollectors: number | undefined;
|
|
1220
|
+
unhealthyAgentlessCollectors: number | undefined;
|
|
1221
|
+
totalAgentlessCollectors: number | undefined;
|
|
1222
|
+
unknownAgentlessCollectors: number | undefined;
|
|
1223
|
+
}
|
|
1224
|
+
export declare namespace CustomerAgentlessCollectorInfo {
|
|
1225
|
+
/**
|
|
1226
|
+
* @internal
|
|
1227
|
+
*/
|
|
1228
|
+
const filterSensitiveLog: (obj: CustomerAgentlessCollectorInfo) => any;
|
|
1229
|
+
}
|
|
1215
1230
|
/**
|
|
1216
1231
|
* <p>Inventory data for installed discovery agents.</p>
|
|
1217
1232
|
*/
|
|
@@ -1376,6 +1391,7 @@ export interface GetDiscoverySummaryResponse {
|
|
|
1376
1391
|
* </p>
|
|
1377
1392
|
*/
|
|
1378
1393
|
meCollectorSummary?: CustomerMeCollectorInfo;
|
|
1394
|
+
agentlessCollectorSummary?: CustomerAgentlessCollectorInfo;
|
|
1379
1395
|
}
|
|
1380
1396
|
export declare namespace GetDiscoverySummaryResponse {
|
|
1381
1397
|
/**
|
|
@@ -600,6 +600,19 @@ export declare namespace GetDiscoverySummaryRequest {
|
|
|
600
600
|
|
|
601
601
|
const filterSensitiveLog: (obj: GetDiscoverySummaryRequest) => any;
|
|
602
602
|
}
|
|
603
|
+
export interface CustomerAgentlessCollectorInfo {
|
|
604
|
+
activeAgentlessCollectors: number | undefined;
|
|
605
|
+
healthyAgentlessCollectors: number | undefined;
|
|
606
|
+
denyListedAgentlessCollectors: number | undefined;
|
|
607
|
+
shutdownAgentlessCollectors: number | undefined;
|
|
608
|
+
unhealthyAgentlessCollectors: number | undefined;
|
|
609
|
+
totalAgentlessCollectors: number | undefined;
|
|
610
|
+
unknownAgentlessCollectors: number | undefined;
|
|
611
|
+
}
|
|
612
|
+
export declare namespace CustomerAgentlessCollectorInfo {
|
|
613
|
+
|
|
614
|
+
const filterSensitiveLog: (obj: CustomerAgentlessCollectorInfo) => any;
|
|
615
|
+
}
|
|
603
616
|
|
|
604
617
|
export interface CustomerAgentInfo {
|
|
605
618
|
|
|
@@ -678,6 +691,7 @@ export interface GetDiscoverySummaryResponse {
|
|
|
678
691
|
connectorSummary?: CustomerConnectorInfo;
|
|
679
692
|
|
|
680
693
|
meCollectorSummary?: CustomerMeCollectorInfo;
|
|
694
|
+
agentlessCollectorSummary?: CustomerAgentlessCollectorInfo;
|
|
681
695
|
}
|
|
682
696
|
export declare namespace GetDiscoverySummaryResponse {
|
|
683
697
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-application-discovery-service",
|
|
3
3
|
"description": "AWS SDK for JavaScript Application Discovery Service Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.132.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,10 +18,10 @@
|
|
|
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.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.131.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.131.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
31
|
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
32
|
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.130.0",
|
|
34
34
|
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
35
|
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.127.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
46
|
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.130.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|