File tree 4 files changed +50
-5
lines changed
codegen/sdk-codegen/aws-models
4 files changed +50
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,11 @@ import { Command as $Command } from "@smithy/smithy-client";
5
5
import { MetadataBearer as __MetadataBearer } from "@smithy/types" ;
6
6
7
7
import { commonParams } from "../endpoint/EndpointParameters" ;
8
- import { DescribeInstanceInformationRequest , DescribeInstanceInformationResult } from "../models/models_0" ;
8
+ import {
9
+ DescribeInstanceInformationRequest ,
10
+ DescribeInstanceInformationResult ,
11
+ DescribeInstanceInformationResultFilterSensitiveLog ,
12
+ } from "../models/models_0" ;
9
13
import { de_DescribeInstanceInformationCommand , se_DescribeInstanceInformationCommand } from "../protocols/Aws_json1_1" ;
10
14
import { ServiceInputTypes , ServiceOutputTypes , SSMClientResolvedConfig } from "../SSMClient" ;
11
15
@@ -164,7 +168,7 @@ export class DescribeInstanceInformationCommand extends $Command
164
168
} )
165
169
. s ( "AmazonSSM" , "DescribeInstanceInformation" , { } )
166
170
. n ( "SSMClient" , "DescribeInstanceInformationCommand" )
167
- . f ( void 0 , void 0 )
171
+ . f ( void 0 , DescribeInstanceInformationResultFilterSensitiveLog )
168
172
. ser ( se_DescribeInstanceInformationCommand )
169
173
. de ( de_DescribeInstanceInformationCommand )
170
174
. build ( ) { }
Original file line number Diff line number Diff line change @@ -5,7 +5,11 @@ import { Command as $Command } from "@smithy/smithy-client";
5
5
import { MetadataBearer as __MetadataBearer } from "@smithy/types" ;
6
6
7
7
import { commonParams } from "../endpoint/EndpointParameters" ;
8
- import { DescribeInstancePropertiesRequest , DescribeInstancePropertiesResult } from "../models/models_0" ;
8
+ import {
9
+ DescribeInstancePropertiesRequest ,
10
+ DescribeInstancePropertiesResult ,
11
+ DescribeInstancePropertiesResultFilterSensitiveLog ,
12
+ } from "../models/models_0" ;
9
13
import { de_DescribeInstancePropertiesCommand , se_DescribeInstancePropertiesCommand } from "../protocols/Aws_json1_1" ;
10
14
import { ServiceInputTypes , ServiceOutputTypes , SSMClientResolvedConfig } from "../SSMClient" ;
11
15
@@ -168,7 +172,7 @@ export class DescribeInstancePropertiesCommand extends $Command
168
172
} )
169
173
. s ( "AmazonSSM" , "DescribeInstanceProperties" , { } )
170
174
. n ( "SSMClient" , "DescribeInstancePropertiesCommand" )
171
- . f ( void 0 , void 0 )
175
+ . f ( void 0 , DescribeInstancePropertiesResultFilterSensitiveLog )
172
176
. ser ( se_DescribeInstancePropertiesCommand )
173
177
. de ( de_DescribeInstancePropertiesCommand )
174
178
. build ( ) { }
Original file line number Diff line number Diff line change @@ -9647,6 +9647,24 @@ export const DescribeAssociationResultFilterSensitiveLog = (obj: DescribeAssocia
9647
9647
} ) ,
9648
9648
} ) ;
9649
9649
9650
+ /**
9651
+ * @internal
9652
+ */
9653
+ export const InstanceInformationFilterSensitiveLog = ( obj : InstanceInformation ) : any => ( {
9654
+ ...obj ,
9655
+ ...( obj . IPAddress && { IPAddress : SENSITIVE_STRING } ) ,
9656
+ } ) ;
9657
+
9658
+ /**
9659
+ * @internal
9660
+ */
9661
+ export const DescribeInstanceInformationResultFilterSensitiveLog = ( obj : DescribeInstanceInformationResult ) : any => ( {
9662
+ ...obj ,
9663
+ ...( obj . InstanceInformationList && {
9664
+ InstanceInformationList : obj . InstanceInformationList . map ( ( item ) => InstanceInformationFilterSensitiveLog ( item ) ) ,
9665
+ } ) ,
9666
+ } ) ;
9667
+
9650
9668
/**
9651
9669
* @internal
9652
9670
*/
@@ -9677,6 +9695,24 @@ export const DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog =
9677
9695
} ) ,
9678
9696
} ) ;
9679
9697
9698
+ /**
9699
+ * @internal
9700
+ */
9701
+ export const InstancePropertyFilterSensitiveLog = ( obj : InstanceProperty ) : any => ( {
9702
+ ...obj ,
9703
+ ...( obj . IPAddress && { IPAddress : SENSITIVE_STRING } ) ,
9704
+ } ) ;
9705
+
9706
+ /**
9707
+ * @internal
9708
+ */
9709
+ export const DescribeInstancePropertiesResultFilterSensitiveLog = ( obj : DescribeInstancePropertiesResult ) : any => ( {
9710
+ ...obj ,
9711
+ ...( obj . InstanceProperties && {
9712
+ InstanceProperties : obj . InstanceProperties . map ( ( item ) => InstancePropertyFilterSensitiveLog ( item ) ) ,
9713
+ } ) ,
9714
+ } ) ;
9715
+
9680
9716
/**
9681
9717
* @internal
9682
9718
*/
Original file line number Diff line number Diff line change 14454
14454
"smithy.api#length": {
14455
14455
"min": 1,
14456
14456
"max": 46
14457
- }
14457
+ },
14458
+ "smithy.api#sensitive": {}
14458
14459
}
14459
14460
},
14460
14461
"com.amazonaws.ssm#ISO8601String": {
You can’t perform that action at this time.
0 commit comments