File tree Expand file tree Collapse file tree 3 files changed +35
-7
lines changed
clients/client-application-discovery-service/src
codegen/sdk-codegen/aws-models Expand file tree Collapse file tree 3 files changed +35
-7
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,11 @@ import {
1818 ServiceInputTypes ,
1919 ServiceOutputTypes ,
2020} from "../ApplicationDiscoveryServiceClient" ;
21- import { DescribeAgentsRequest , DescribeAgentsResponse } from "../models/models_0" ;
21+ import {
22+ DescribeAgentsRequest ,
23+ DescribeAgentsResponse ,
24+ DescribeAgentsResponseFilterSensitiveLog ,
25+ } from "../models/models_0" ;
2226import { de_DescribeAgentsCommand , se_DescribeAgentsCommand } from "../protocols/Aws_json1_1" ;
2327
2428/**
@@ -168,7 +172,7 @@ export class DescribeAgentsCommand extends $Command<
168172 clientName,
169173 commandName,
170174 inputFilterSensitiveLog : ( _ : any ) => _ ,
171- outputFilterSensitiveLog : ( _ : any ) => _ ,
175+ outputFilterSensitiveLog : DescribeAgentsResponseFilterSensitiveLog ,
172176 } ;
173177 const { requestHandler } = configuration ;
174178 return stack . resolve (
Original file line number Diff line number Diff line change 11// smithy-typescript generated code
2- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client" ;
2+ import { ExceptionOptionType as __ExceptionOptionType , SENSITIVE_STRING } from "@smithy/smithy-client" ;
33
44import { ApplicationDiscoveryServiceServiceException as __BaseException } from "./ApplicationDiscoveryServiceServiceException" ;
55
@@ -2428,3 +2428,26 @@ export interface UpdateApplicationRequest {
24282428 * @public
24292429 */
24302430export interface UpdateApplicationResponse { }
2431+
2432+ /**
2433+ * @internal
2434+ */
2435+ export const AgentNetworkInfoFilterSensitiveLog = ( obj : AgentNetworkInfo ) : any => ( {
2436+ ...obj ,
2437+ } ) ;
2438+
2439+ /**
2440+ * @internal
2441+ */
2442+ export const AgentInfoFilterSensitiveLog = ( obj : AgentInfo ) : any => ( {
2443+ ...obj ,
2444+ ...( obj . agentNetworkInfoList && { agentNetworkInfoList : SENSITIVE_STRING } ) ,
2445+ } ) ;
2446+
2447+ /**
2448+ * @internal
2449+ */
2450+ export const DescribeAgentsResponseFilterSensitiveLog = ( obj : DescribeAgentsResponse ) : any => ( {
2451+ ...obj ,
2452+ ...( obj . agentsInfo && { agentsInfo : obj . agentsInfo . map ( ( item ) => AgentInfoFilterSensitiveLog ( item ) ) } ) ,
2453+ } ) ;
Original file line number Diff line number Diff line change 969969 }
970970 },
971971 "traits" : {
972- "smithy.api#documentation" : " <p>Network details about the host where the agent/collector resides.</p>"
972+ "smithy.api#documentation" : " <p>Network details about the host where the agent/collector resides.</p>" ,
973+ "smithy.api#sensitive" : {}
973974 }
974975 },
975976 "com.amazonaws.applicationdiscoveryservice#AgentNetworkInfoList" : {
45154516 "type" : " double" ,
45164517 "traits" : {
45174518 "smithy.api#range" : {
4518- "min" : 0 ,
4519- "max" : 100
4519+ "min" : 0.0 ,
4520+ "max" : 100.0
45204521 }
45214522 }
45224523 },
45484549 }
45494550 }
45504551 }
4551- }
4552+ }
You can’t perform that action at this time.
0 commit comments