Skip to content

Commit 597d355

Browse files
Generate PutBucketOwnershipControls S3 operation
1 parent 0c6b6c4 commit 597d355

File tree

9 files changed

+455
-332
lines changed

9 files changed

+455
-332
lines changed

generator/ServiceClientGeneratorLib/ServiceModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ public List<Operation> S3AllowListOperations
576576
new Operation(this, "CreateBucketMetadataConfiguration",DocumentRoot[OperationsKey]["CreateBucketMetadataConfiguration"]),
577577
new Operation(this, "GetBucketMetadataConfiguration", DocumentRoot[OperationsKey]["GetBucketMetadataConfiguration"]),
578578
new Operation(this, "RenameObject", DocumentRoot[OperationsKey]["RenameObject"]),
579+
new Operation(this, "PutBucketOwnershipControls", DocumentRoot[OperationsKey]["PutBucketOwnershipControls"]),
579580
};
580581
}
581582
return _s3AllowListOperations.Where(operation => operation.data != null).ToList();

generator/ServiceModels/s3/s3.customizations.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,6 +1245,13 @@
12451245
"SourceIfNoneMatch" :{"injectXmlIsSet":["return !string.IsNullOrEmpty(this._sourceIfNoneMatch);"]}
12461246
}
12471247
]
1248+
},
1249+
"PutBucketOwnershipControlsRequest":{
1250+
"modify":[
1251+
{
1252+
"ExpectedBucketOwner" :{"injectXmlIsSet":["return !string.IsNullOrEmpty(this._expectedBucketOwner);"]}
1253+
}
1254+
]
12481255
}
12491256

12501257
},

sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutBucketOwnershipControlsRequestMarshaller.cs

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

sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutBucketOwnershipControlsResponseUnmarshaller.cs

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

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

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

0 commit comments

Comments
 (0)