Skip to content

Commit 1422594

Browse files
committed
generate create session
stack-info: PR: #4115, branch: peterrsongg/petesong/phase-3-pr-2/1
1 parent 5df2118 commit 1422594

File tree

9 files changed

+575
-310
lines changed

9 files changed

+575
-310
lines changed

generator/ServiceClientGeneratorLib/ServiceModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ public List<Operation> S3AllowListOperations
547547
new Operation(this, "UploadPartCopy", DocumentRoot[OperationsKey]["UploadPartCopy"]),
548548
new Operation(this, "ListObjectsV2", DocumentRoot[OperationsKey]["ListObjectsV2"]),
549549
// phase 3 (including those moved from phase 1)
550-
//new Operation(this, "CreateSession", DocumentRoot[OperationsKey]["CreateSession"]),
550+
new Operation(this, "CreateSession", DocumentRoot[OperationsKey]["CreateSession"]),
551551
//new Operation(this, "GetBucketAnalyticsConfiguration", DocumentRoot[OperationsKey]["GetBucketAnalyticsConfiguration"]),
552552
//new Operation(this, "GetBucketIntelligentTieringConfiguration", DocumentRoot[OperationsKey]["GetBucketIntelligentTieringConfiguration"]),
553553
//new Operation(this, "GetBucketInventoryConfiguration", DocumentRoot[OperationsKey]["GetBucketInventoryConfiguration"]),

generator/ServiceModels/s3/s3.customizations.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -843,6 +843,28 @@
843843
"Id":{"emitPropertyName": "MetricsId"}
844844
}
845845
]
846+
},
847+
"CreateSessionRequest":{
848+
"modify" :[
849+
{
850+
"ServerSideEncryption": {
851+
"injectXmlIsSet" :[
852+
"return this._serverSideEncryption != null && this._serverSideEncryption != ServerSideEncryptionMethod.None;"
853+
]
854+
}
855+
}
856+
]
857+
},
858+
"CreateSessionOutput":{
859+
"modify" :[
860+
{
861+
"ServerSideEncryption": {
862+
"injectXmlIsSet" :[
863+
"return this._serverSideEncryption != null && this._serverSideEncryption != ServerSideEncryptionMethod.None;"
864+
]
865+
}
866+
}
867+
]
846868
}
847869
},
848870
"operationModifiers": {

sdk/src/Services/S3/Custom/Model/CreateSessionRequest.cs

Lines changed: 0 additions & 179 deletions
This file was deleted.

0 commit comments

Comments
 (0)