Skip to content

Commit 76518fd

Browse files
committed
Decorated AnalyticsId and StorageClassAnalysis properties in AnalyticsConfiguration class with [AWSProperty(Required = true)] attribute per S3 service API model.
1 parent 54da308 commit 76518fd

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"services": [
3+
{
4+
"serviceName": "S3",
5+
"type": "patch",
6+
"changeLogMessages": [ "Decorated AnalyticsId and StorageClassAnalysis properties in AnalyticsConfiguration class with [AWSProperty(Required = true)] attribute per S3 service API model." ]
7+
}
8+
]
9+
}

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using System.Xml.Serialization;
1818
using System.Text;
1919
using System.IO;
20+
using Amazon.Runtime.Internal;
2021

2122

2223
namespace Amazon.S3.Model
@@ -51,6 +52,7 @@ internal bool IsSetAnalyticsFilter()
5152
/// <summary>
5253
/// The identifier used to represent an analytics configuration.
5354
/// </summary>
55+
[AWSProperty(Required = true)]
5456
public string AnalyticsId
5557
{
5658
get { return this.analyticsId; }
@@ -67,6 +69,7 @@ internal bool IsSetAnalyticsId()
6769
/// If present, it indicates that data related to access patterns will be collected
6870
/// and made available to analyze the tradeoffs between different storage classes.
6971
/// </summary>
72+
[AWSProperty(Required = true)]
7073
public StorageClassAnalysis StorageClassAnalysis
7174
{
7275
get { return this.storageClassAnalysis; }

0 commit comments

Comments
 (0)