File tree Expand file tree Collapse file tree 8 files changed +105
-11
lines changed
codegen/sdk-codegen/aws-models Expand file tree Collapse file tree 8 files changed +105
-11
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,12 @@ import {
14
14
} from "@smithy/types" ;
15
15
16
16
import { EC2ClientResolvedConfig , ServiceInputTypes , ServiceOutputTypes } from "../EC2Client" ;
17
- import { BundleInstanceRequest , BundleInstanceResult } from "../models/models_0" ;
17
+ import {
18
+ BundleInstanceRequest ,
19
+ BundleInstanceRequestFilterSensitiveLog ,
20
+ BundleInstanceResult ,
21
+ BundleInstanceResultFilterSensitiveLog ,
22
+ } from "../models/models_0" ;
18
23
import { de_BundleInstanceCommand , se_BundleInstanceCommand } from "../protocols/Aws_ec2" ;
19
24
20
25
/**
@@ -146,8 +151,8 @@ export class BundleInstanceCommand extends $Command<
146
151
logger,
147
152
clientName,
148
153
commandName,
149
- inputFilterSensitiveLog : ( _ : any ) => _ ,
150
- outputFilterSensitiveLog : ( _ : any ) => _ ,
154
+ inputFilterSensitiveLog : BundleInstanceRequestFilterSensitiveLog ,
155
+ outputFilterSensitiveLog : BundleInstanceResultFilterSensitiveLog ,
151
156
} ;
152
157
const { requestHandler } = configuration ;
153
158
return stack . resolve (
Original file line number Diff line number Diff line change @@ -14,7 +14,11 @@ import {
14
14
} from "@smithy/types" ;
15
15
16
16
import { EC2ClientResolvedConfig , ServiceInputTypes , ServiceOutputTypes } from "../EC2Client" ;
17
- import { CancelBundleTaskRequest , CancelBundleTaskResult } from "../models/models_0" ;
17
+ import {
18
+ CancelBundleTaskRequest ,
19
+ CancelBundleTaskResult ,
20
+ CancelBundleTaskResultFilterSensitiveLog ,
21
+ } from "../models/models_0" ;
18
22
import { de_CancelBundleTaskCommand , se_CancelBundleTaskCommand } from "../protocols/Aws_ec2" ;
19
23
20
24
/**
@@ -134,7 +138,7 @@ export class CancelBundleTaskCommand extends $Command<
134
138
clientName,
135
139
commandName,
136
140
inputFilterSensitiveLog : ( _ : any ) => _ ,
137
- outputFilterSensitiveLog : ( _ : any ) => _ ,
141
+ outputFilterSensitiveLog : CancelBundleTaskResultFilterSensitiveLog ,
138
142
} ;
139
143
const { requestHandler } = configuration ;
140
144
return stack . resolve (
Original file line number Diff line number Diff line change @@ -14,7 +14,11 @@ import {
14
14
} from "@smithy/types" ;
15
15
16
16
import { EC2ClientResolvedConfig , ServiceInputTypes , ServiceOutputTypes } from "../EC2Client" ;
17
- import { DescribeBundleTasksRequest , DescribeBundleTasksResult } from "../models/models_3" ;
17
+ import {
18
+ DescribeBundleTasksRequest ,
19
+ DescribeBundleTasksResult ,
20
+ DescribeBundleTasksResultFilterSensitiveLog ,
21
+ } from "../models/models_3" ;
18
22
import { de_DescribeBundleTasksCommand , se_DescribeBundleTasksCommand } from "../protocols/Aws_ec2" ;
19
23
20
24
/**
@@ -149,7 +153,7 @@ export class DescribeBundleTasksCommand extends $Command<
149
153
clientName,
150
154
commandName,
151
155
inputFilterSensitiveLog : ( _ : any ) => _ ,
152
- outputFilterSensitiveLog : ( _ : any ) => _ ,
156
+ outputFilterSensitiveLog : DescribeBundleTasksResultFilterSensitiveLog ,
153
157
} ;
154
158
const { requestHandler } = configuration ;
155
159
return stack . resolve (
Original file line number Diff line number Diff line change @@ -14,7 +14,11 @@ import {
14
14
} from "@smithy/types" ;
15
15
16
16
import { EC2ClientResolvedConfig , ServiceInputTypes , ServiceOutputTypes } from "../EC2Client" ;
17
- import { GetPasswordDataRequest , GetPasswordDataResult } from "../models/models_5" ;
17
+ import {
18
+ GetPasswordDataRequest ,
19
+ GetPasswordDataResult ,
20
+ GetPasswordDataResultFilterSensitiveLog ,
21
+ } from "../models/models_5" ;
18
22
import { de_GetPasswordDataCommand , se_GetPasswordDataCommand } from "../protocols/Aws_ec2" ;
19
23
20
24
/**
@@ -128,7 +132,7 @@ export class GetPasswordDataCommand extends $Command<
128
132
clientName,
129
133
commandName,
130
134
inputFilterSensitiveLog : ( _ : any ) => _ ,
131
- outputFilterSensitiveLog : ( _ : any ) => _ ,
135
+ outputFilterSensitiveLog : GetPasswordDataResultFilterSensitiveLog ,
132
136
} ;
133
137
const { requestHandler } = configuration ;
134
138
return stack . resolve (
Original file line number Diff line number Diff line change @@ -9542,6 +9542,54 @@ export const AttachVerifiedAccessTrustProviderResultFilterSensitiveLog = (
9542
9542
} ) ,
9543
9543
} ) ;
9544
9544
9545
+ /**
9546
+ * @internal
9547
+ */
9548
+ export const S3StorageFilterSensitiveLog = ( obj : S3Storage ) : any => ( {
9549
+ ...obj ,
9550
+ ...( obj . UploadPolicySignature && { UploadPolicySignature : SENSITIVE_STRING } ) ,
9551
+ } ) ;
9552
+
9553
+ /**
9554
+ * @internal
9555
+ */
9556
+ export const StorageFilterSensitiveLog = ( obj : Storage ) : any => ( {
9557
+ ...obj ,
9558
+ ...( obj . S3 && { S3 : S3StorageFilterSensitiveLog ( obj . S3 ) } ) ,
9559
+ } ) ;
9560
+
9561
+ /**
9562
+ * @internal
9563
+ */
9564
+ export const BundleInstanceRequestFilterSensitiveLog = ( obj : BundleInstanceRequest ) : any => ( {
9565
+ ...obj ,
9566
+ ...( obj . Storage && { Storage : StorageFilterSensitiveLog ( obj . Storage ) } ) ,
9567
+ } ) ;
9568
+
9569
+ /**
9570
+ * @internal
9571
+ */
9572
+ export const BundleTaskFilterSensitiveLog = ( obj : BundleTask ) : any => ( {
9573
+ ...obj ,
9574
+ ...( obj . Storage && { Storage : StorageFilterSensitiveLog ( obj . Storage ) } ) ,
9575
+ } ) ;
9576
+
9577
+ /**
9578
+ * @internal
9579
+ */
9580
+ export const BundleInstanceResultFilterSensitiveLog = ( obj : BundleInstanceResult ) : any => ( {
9581
+ ...obj ,
9582
+ ...( obj . BundleTask && { BundleTask : BundleTaskFilterSensitiveLog ( obj . BundleTask ) } ) ,
9583
+ } ) ;
9584
+
9585
+ /**
9586
+ * @internal
9587
+ */
9588
+ export const CancelBundleTaskResultFilterSensitiveLog = ( obj : CancelBundleTaskResult ) : any => ( {
9589
+ ...obj ,
9590
+ ...( obj . BundleTask && { BundleTask : BundleTaskFilterSensitiveLog ( obj . BundleTask ) } ) ,
9591
+ } ) ;
9592
+
9545
9593
/**
9546
9594
* @internal
9547
9595
*/
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import {
16
16
AttachmentStatus ,
17
17
AutoPlacement ,
18
18
BundleTask ,
19
+ BundleTaskFilterSensitiveLog ,
19
20
ByoipCidr ,
20
21
CapacityReservation ,
21
22
CapacityReservationFleetState ,
@@ -10278,6 +10279,14 @@ export const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog = (
10278
10279
} ) ,
10279
10280
} ) ;
10280
10281
10282
+ /**
10283
+ * @internal
10284
+ */
10285
+ export const DescribeBundleTasksResultFilterSensitiveLog = ( obj : DescribeBundleTasksResult ) : any => ( {
10286
+ ...obj ,
10287
+ ...( obj . BundleTasks && { BundleTasks : obj . BundleTasks . map ( ( item ) => BundleTaskFilterSensitiveLog ( item ) ) } ) ,
10288
+ } ) ;
10289
+
10281
10290
/**
10282
10291
* @internal
10283
10292
*/
Original file line number Diff line number Diff line change @@ -8616,6 +8616,14 @@ export const GetLaunchTemplateDataResultFilterSensitiveLog = (obj: GetLaunchTemp
8616
8616
} ) ,
8617
8617
} ) ;
8618
8618
8619
+ /**
8620
+ * @internal
8621
+ */
8622
+ export const GetPasswordDataResultFilterSensitiveLog = ( obj : GetPasswordDataResult ) : any => ( {
8623
+ ...obj ,
8624
+ ...( obj . PasswordData && { PasswordData : SENSITIVE_STRING } ) ,
8625
+ } ) ;
8626
+
8619
8627
/**
8620
8628
* @internal
8621
8629
*/
Original file line number Diff line number Diff line change 51641
51641
}
51642
51642
},
51643
51643
"PasswordData": {
51644
- "target": "com.amazonaws.ec2#String ",
51644
+ "target": "com.amazonaws.ec2#PasswordData ",
51645
51645
"traits": {
51646
51646
"aws.protocols#ec2QueryName": "PasswordData",
51647
51647
"smithy.api#documentation": "<p>The password of the instance. Returns an empty string if the password is not\n available.</p>",
79119
79119
}
79120
79120
}
79121
79121
},
79122
+ "com.amazonaws.ec2#PasswordData": {
79123
+ "type": "string",
79124
+ "traits": {
79125
+ "smithy.api#sensitive": {}
79126
+ }
79127
+ },
79122
79128
"com.amazonaws.ec2#PathComponent": {
79123
79129
"type": "structure",
79124
79130
"members": {
88883
88889
}
88884
88890
},
88885
88891
"UploadPolicySignature": {
88886
- "target": "com.amazonaws.ec2#String ",
88892
+ "target": "com.amazonaws.ec2#S3StorageUploadPolicySignature ",
88887
88893
"traits": {
88888
88894
"aws.protocols#ec2QueryName": "UploadPolicySignature",
88889
88895
"smithy.api#documentation": "<p>The signature of the JSON document.</p>",
88895
88901
"smithy.api#documentation": "<p>Describes the storage parameters for Amazon S3 and Amazon S3 buckets for an instance store-backed AMI.</p>"
88896
88902
}
88897
88903
},
88904
+ "com.amazonaws.ec2#S3StorageUploadPolicySignature": {
88905
+ "type": "string",
88906
+ "traits": {
88907
+ "smithy.api#sensitive": {}
88908
+ }
88909
+ },
88898
88910
"com.amazonaws.ec2#SSEType": {
88899
88911
"type": "enum",
88900
88912
"members": {
You can’t perform that action at this time.
0 commit comments