@aws-sdk/client-application-discovery-service 3.414.0 → 3.415.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/dist-cjs/commands/DescribeAgentsCommand.js +2 -1
- package/dist-cjs/models/models_0.js +16 -1
- package/dist-es/commands/DescribeAgentsCommand.js +2 -1
- package/dist-es/models/models_0.js +12 -0
- package/dist-types/models/models_0.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
8
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
10
|
class DescribeAgentsCommand extends smithy_client_1.Command {
|
|
10
11
|
static getEndpointParameterInstructions() {
|
|
@@ -31,7 +32,7 @@ class DescribeAgentsCommand extends smithy_client_1.Command {
|
|
|
31
32
|
clientName,
|
|
32
33
|
commandName,
|
|
33
34
|
inputFilterSensitiveLog: (_) => _,
|
|
34
|
-
outputFilterSensitiveLog:
|
|
35
|
+
outputFilterSensitiveLog: models_0_1.DescribeAgentsResponseFilterSensitiveLog,
|
|
35
36
|
};
|
|
36
37
|
const { requestHandler } = configuration;
|
|
37
38
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ExportPreferences = exports.Tenancy = exports.TermLength = exports.PurchasingOption = exports.OfferingClass = exports.ExportDataFormat = exports.ResourceInUseException = exports.ConflictErrorException = exports.OrderString = exports.ConfigurationItemType = exports.ImportStatus = exports.ImportTaskFilterName = exports.ExportStatus = exports.OperationNotPermittedException = exports.ContinuousExportStatus = exports.DataSource = exports.ResourceNotFoundException = exports.BatchDeleteImportDataErrorCode = exports.ServerInternalErrorException = exports.InvalidParameterValueException = exports.InvalidParameterException = exports.HomeRegionNotSetException = exports.AuthorizationErrorException = exports.AgentStatus = void 0;
|
|
3
|
+
exports.DescribeAgentsResponseFilterSensitiveLog = exports.AgentInfoFilterSensitiveLog = exports.AgentNetworkInfoFilterSensitiveLog = exports.ExportPreferences = exports.Tenancy = exports.TermLength = exports.PurchasingOption = exports.OfferingClass = exports.ExportDataFormat = exports.ResourceInUseException = exports.ConflictErrorException = exports.OrderString = exports.ConfigurationItemType = exports.ImportStatus = exports.ImportTaskFilterName = exports.ExportStatus = exports.OperationNotPermittedException = exports.ContinuousExportStatus = exports.DataSource = exports.ResourceNotFoundException = exports.BatchDeleteImportDataErrorCode = exports.ServerInternalErrorException = exports.InvalidParameterValueException = exports.InvalidParameterException = exports.HomeRegionNotSetException = exports.AuthorizationErrorException = exports.AgentStatus = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
4
5
|
const ApplicationDiscoveryServiceServiceException_1 = require("./ApplicationDiscoveryServiceServiceException");
|
|
5
6
|
exports.AgentStatus = {
|
|
6
7
|
BLACKLISTED: "BLACKLISTED",
|
|
@@ -205,3 +206,17 @@ var ExportPreferences;
|
|
|
205
206
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
206
207
|
};
|
|
207
208
|
})(ExportPreferences = exports.ExportPreferences || (exports.ExportPreferences = {}));
|
|
209
|
+
const AgentNetworkInfoFilterSensitiveLog = (obj) => ({
|
|
210
|
+
...obj,
|
|
211
|
+
});
|
|
212
|
+
exports.AgentNetworkInfoFilterSensitiveLog = AgentNetworkInfoFilterSensitiveLog;
|
|
213
|
+
const AgentInfoFilterSensitiveLog = (obj) => ({
|
|
214
|
+
...obj,
|
|
215
|
+
...(obj.agentNetworkInfoList && { agentNetworkInfoList: smithy_client_1.SENSITIVE_STRING }),
|
|
216
|
+
});
|
|
217
|
+
exports.AgentInfoFilterSensitiveLog = AgentInfoFilterSensitiveLog;
|
|
218
|
+
const DescribeAgentsResponseFilterSensitiveLog = (obj) => ({
|
|
219
|
+
...obj,
|
|
220
|
+
...(obj.agentsInfo && { agentsInfo: obj.agentsInfo.map((item) => (0, exports.AgentInfoFilterSensitiveLog)(item)) }),
|
|
221
|
+
});
|
|
222
|
+
exports.DescribeAgentsResponseFilterSensitiveLog = DescribeAgentsResponseFilterSensitiveLog;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { DescribeAgentsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { de_DescribeAgentsCommand, se_DescribeAgentsCommand } from "../protocols/Aws_json1_1";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class DescribeAgentsCommand extends $Command {
|
|
@@ -28,7 +29,7 @@ export class DescribeAgentsCommand extends $Command {
|
|
|
28
29
|
clientName,
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
|
-
outputFilterSensitiveLog:
|
|
32
|
+
outputFilterSensitiveLog: DescribeAgentsResponseFilterSensitiveLog,
|
|
32
33
|
};
|
|
33
34
|
const { requestHandler } = configuration;
|
|
34
35
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
1
2
|
import { ApplicationDiscoveryServiceServiceException as __BaseException } from "./ApplicationDiscoveryServiceServiceException";
|
|
2
3
|
export const AgentStatus = {
|
|
3
4
|
BLACKLISTED: "BLACKLISTED",
|
|
@@ -193,3 +194,14 @@ export var ExportPreferences;
|
|
|
193
194
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
194
195
|
};
|
|
195
196
|
})(ExportPreferences || (ExportPreferences = {}));
|
|
197
|
+
export const AgentNetworkInfoFilterSensitiveLog = (obj) => ({
|
|
198
|
+
...obj,
|
|
199
|
+
});
|
|
200
|
+
export const AgentInfoFilterSensitiveLog = (obj) => ({
|
|
201
|
+
...obj,
|
|
202
|
+
...(obj.agentNetworkInfoList && { agentNetworkInfoList: SENSITIVE_STRING }),
|
|
203
|
+
});
|
|
204
|
+
export const DescribeAgentsResponseFilterSensitiveLog = (obj) => ({
|
|
205
|
+
...obj,
|
|
206
|
+
...(obj.agentsInfo && { agentsInfo: obj.agentsInfo.map((item) => AgentInfoFilterSensitiveLog(item)) }),
|
|
207
|
+
});
|
|
@@ -2106,3 +2106,15 @@ export interface UpdateApplicationRequest {
|
|
|
2106
2106
|
*/
|
|
2107
2107
|
export interface UpdateApplicationResponse {
|
|
2108
2108
|
}
|
|
2109
|
+
/**
|
|
2110
|
+
* @internal
|
|
2111
|
+
*/
|
|
2112
|
+
export declare const AgentNetworkInfoFilterSensitiveLog: (obj: AgentNetworkInfo) => any;
|
|
2113
|
+
/**
|
|
2114
|
+
* @internal
|
|
2115
|
+
*/
|
|
2116
|
+
export declare const AgentInfoFilterSensitiveLog: (obj: AgentInfo) => any;
|
|
2117
|
+
/**
|
|
2118
|
+
* @internal
|
|
2119
|
+
*/
|
|
2120
|
+
export declare const DescribeAgentsResponseFilterSensitiveLog: (obj: DescribeAgentsResponse) => any;
|
|
@@ -523,3 +523,10 @@ export interface UpdateApplicationRequest {
|
|
|
523
523
|
description?: string;
|
|
524
524
|
}
|
|
525
525
|
export interface UpdateApplicationResponse {}
|
|
526
|
+
export declare const AgentNetworkInfoFilterSensitiveLog: (
|
|
527
|
+
obj: AgentNetworkInfo
|
|
528
|
+
) => any;
|
|
529
|
+
export declare const AgentInfoFilterSensitiveLog: (obj: AgentInfo) => any;
|
|
530
|
+
export declare const DescribeAgentsResponseFilterSensitiveLog: (
|
|
531
|
+
obj: DescribeAgentsResponse
|
|
532
|
+
) => any;
|
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.415.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",
|