Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion generator/ServiceClientGeneratorLib/ServiceModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ public List<Operation> S3AllowListOperations
//new Operation(this, "PutBucketAccelerateConfiguration", DocumentRoot[OperationsKey]["PutBucketAccelerateConfiguration"]),
//new Operation(this, "RestoreObject", DocumentRoot[OperationsKey]["RestoreObject"]),
//new Operation(this, "SelectObjectContent", DocumentRoot[OperationsKey]["SelectObjectContent"]),
//new Operation(this, "PutBucketAnalyticsConfiguration" , DocumentRoot[OperationsKey]["PutBucketAnalyticsConfiguration"]),
new Operation(this, "PutBucketAnalyticsConfiguration" , DocumentRoot[OperationsKey]["PutBucketAnalyticsConfiguration"]),
//new Operation(this, "PutBucketIntelligentTieringConfiguration", DocumentRoot[OperationsKey]["PutBucketIntelligentTieringConfiguration"]),
//new Operation(this, "PutBucketInventoryConfiguration", DocumentRoot[OperationsKey]["PutBucketInventoryConfiguration"]),
new Operation(this, "PutBucketMetricsConfiguration", DocumentRoot[OperationsKey]["PutBucketMetricsConfiguration"]),
Expand Down
57 changes: 56 additions & 1 deletion generator/ServiceModels/s3/s3.customizations.json
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,52 @@
}
}
]
},
"PutBucketAnalyticsConfigurationRequest":{
"modify":[
{
"Id":{"emitPropertyName":"AnalyticsId"}
},
{
"ExpectedBucketOwner":{
"injectXmlIsSet":["return !String.IsNullOrEmpty(this._expectedBucketOwner);"]
}
}
]
},
"AnalyticsConfiguration": {
"modify": [
{
"Id":{"emitPropertyName": "AnalyticsId"}
},
{
"Filter" :{"emitPropertyName": "AnalyticsFilter"}
},
{
"AnalyticsFilter" :{
"injectXmlMarshallCode": ["AnalyticsFilterCustomMarshall(publicRequest, xmlWriter);"]
}
}
]
},
"AnalyticsS3BucketDestination" : {
"modify":[
{
"BucketAccountId" :{
"injectXmlIsSet":["return !String.IsNullOrEmpty(this._bucketAccountId);"]
}
},
{
"BucketName":{
"injectXmlIsSet": ["return !String.IsNullOrEmpty(this._bucketName);"]
}
},
{
"Prefix":{
"injectXmlIsSet": ["return !String.IsNullOrEmpty(this._prefix);"]
}
}
]
}
},
"operationModifiers": {
Expand Down Expand Up @@ -1195,6 +1241,13 @@
"Marshaller" : "Amazon.Util.AWSSDKUtils.Join",
"Unmarshaller" : "StringUnmarshaller"
}
},
"AnalyticsS3BucketDestination":{
"Format":{
"Type": "string",
"Marshaller": "StringUtils.FromString",
"Unmarshaller": "StringUnmarshaller"
}
}
},
"excludeMembers":{
Expand Down Expand Up @@ -1272,6 +1325,8 @@
"NotificationConfiguration",
"CopyPartResult",
"MetricsFilter",
"MetricsAndOperator"
"MetricsAndOperator",
"AnalyticsFilter",
"AnalyticsAndOperator"
]
}
85 changes: 0 additions & 85 deletions sdk/src/Services/S3/Custom/Model/AnalyticsConfiguration.cs

This file was deleted.

92 changes: 0 additions & 92 deletions sdk/src/Services/S3/Custom/Model/AnalyticsS3BucketDestination.cs

This file was deleted.

Loading
Loading