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 {
18
18
ServiceInputTypes ,
19
19
ServiceOutputTypes ,
20
20
} from "../ApplicationDiscoveryServiceClient" ;
21
- import { DescribeAgentsRequest , DescribeAgentsResponse } from "../models/models_0" ;
21
+ import {
22
+ DescribeAgentsRequest ,
23
+ DescribeAgentsResponse ,
24
+ DescribeAgentsResponseFilterSensitiveLog ,
25
+ } from "../models/models_0" ;
22
26
import { de_DescribeAgentsCommand , se_DescribeAgentsCommand } from "../protocols/Aws_json1_1" ;
23
27
24
28
/**
@@ -168,7 +172,7 @@ export class DescribeAgentsCommand extends $Command<
168
172
clientName,
169
173
commandName,
170
174
inputFilterSensitiveLog : ( _ : any ) => _ ,
171
- outputFilterSensitiveLog : ( _ : any ) => _ ,
175
+ outputFilterSensitiveLog : DescribeAgentsResponseFilterSensitiveLog ,
172
176
} ;
173
177
const { requestHandler } = configuration ;
174
178
return stack . resolve (
Original file line number Diff line number Diff line change 1
1
// smithy-typescript generated code
2
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client" ;
2
+ import { ExceptionOptionType as __ExceptionOptionType , SENSITIVE_STRING } from "@smithy/smithy-client" ;
3
3
4
4
import { ApplicationDiscoveryServiceServiceException as __BaseException } from "./ApplicationDiscoveryServiceServiceException" ;
5
5
@@ -2428,3 +2428,26 @@ export interface UpdateApplicationRequest {
2428
2428
* @public
2429
2429
*/
2430
2430
export 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 969
969
}
970
970
},
971
971
"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" : {}
973
974
}
974
975
},
975
976
"com.amazonaws.applicationdiscoveryservice#AgentNetworkInfoList" : {
4515
4516
"type" : " double" ,
4516
4517
"traits" : {
4517
4518
"smithy.api#range" : {
4518
- "min" : 0 ,
4519
- "max" : 100
4519
+ "min" : 0.0 ,
4520
+ "max" : 100.0
4520
4521
}
4521
4522
}
4522
4523
},
4548
4549
}
4549
4550
}
4550
4551
}
4551
- }
4552
+ }
You can’t perform that action at this time.
0 commit comments