Skip to content

Commit 54da308

Browse files
committed
Decorated AnalyticsConfiguration property in PutBucketAnalyticsConfigurationRequest class with [AWSProperty(Required = true)] attribute per S3 service API model.
1 parent 617e843 commit 54da308

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
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 AnalyticsConfiguration property in PutBucketAnalyticsConfigurationRequest class with [AWSProperty(Required = true)] attribute per S3 service API model." ]
7+
}
8+
]
9+
}

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
* express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15+
using Amazon.Runtime;
16+
using Amazon.Runtime.Internal;
1517
using System;
1618
using System.Collections.Generic;
17-
using System.Xml.Serialization;
1819
using System.Text;
19-
20-
using Amazon.Runtime;
20+
using System.Xml.Serialization;
2121

2222
namespace Amazon.S3.Model
2323
{
@@ -162,6 +162,7 @@ internal bool IsSetAnalyticsId()
162162
/// <summary>
163163
/// The configuration and any analyses for the analytics filter.
164164
/// </summary>
165+
[AWSProperty(Required = true)]
165166
public AnalyticsConfiguration AnalyticsConfiguration
166167
{
167168
get { return this.analyticsConfiguration; }

0 commit comments

Comments
 (0)