Skip to content
Draft
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 @@ -555,7 +555,7 @@ public List<Operation> S3AllowListOperations
new Operation(this, "GetBucketMetricsConfiguration", DocumentRoot[OperationsKey]["GetBucketMetricsConfiguration"]),
//new Operation(this, "GetBucketVersioning", DocumentRoot[OperationsKey]["GetBucketVersioning"]),
//new Operation(this, "GetBucketWebsite", DocumentRoot[OperationsKey]["GetBucketWebsite"]),
//new Operation(this, "ListBucketAnalyticsConfigurations", DocumentRoot[OperationsKey]["ListBucketAnalyticsConfigurations"]),
new Operation(this, "ListBucketAnalyticsConfigurations", DocumentRoot[OperationsKey]["ListBucketAnalyticsConfigurations"]),
//new Operation(this, "ListBucketIntelligentTieringConfigurations", DocumentRoot[OperationsKey]["ListBucketIntelligentTieringConfigurations"]),
//new Operation(this, "ListBucketInventoryConfigurations", DocumentRoot[OperationsKey]["ListBucketInventoryConfigurations"]),
new Operation(this, "ListBucketMetricsConfigurations", DocumentRoot[OperationsKey]["ListBucketMetricsConfigurations"]),
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/

/*
* Do not modify this file. This file is generated from the s3-2006-03-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;

using Amazon.S3.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using System.Xml;

#pragma warning disable CS0612,CS0618
namespace Amazon.S3.Model.Internal.MarshallTransformations
{
/// <summary>
/// ListBucketAnalyticsConfigurations Request Marshaller
/// </summary>
public partial class ListBucketAnalyticsConfigurationsRequestMarshaller : IMarshaller<IRequest, ListBucketAnalyticsConfigurationsRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((ListBucketAnalyticsConfigurationsRequest)input);
}

/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ListBucketAnalyticsConfigurationsRequest publicRequest)
{
var request = new DefaultRequest(publicRequest, "Amazon.S3");
PreMarshallCustomization(request, publicRequest);
request.HttpMethod = "GET";
request.AddSubResource("analytics");

if (publicRequest.IsSetExpectedBucketOwner())
{
request.Headers["x-amz-expected-bucket-owner"] = publicRequest.ExpectedBucketOwner;
}
if (string.IsNullOrEmpty(publicRequest.BucketName))
throw new System.ArgumentException("BucketName is a required property and must be set before making this call.", "ListBucketAnalyticsConfigurationsRequest.BucketName");

if (publicRequest.IsSetContinuationToken())
request.Parameters.Add("continuation-token", StringUtils.FromString(publicRequest.ContinuationToken));
request.ResourcePath = "/";

PostMarshallCustomization(request, publicRequest);
request.UseQueryString = true;
return request;
}
private static ListBucketAnalyticsConfigurationsRequestMarshaller _instance = new ListBucketAnalyticsConfigurationsRequestMarshaller();

internal static ListBucketAnalyticsConfigurationsRequestMarshaller GetInstance()
{
return _instance;
}

/// <summary>
/// Gets the singleton.
/// </summary>
public static ListBucketAnalyticsConfigurationsRequestMarshaller Instance
{
get
{
return _instance;
}
}

partial void PostMarshallCustomization(DefaultRequest defaultRequest, ListBucketAnalyticsConfigurationsRequest publicRequest);
partial void PreMarshallCustomization(DefaultRequest defaultRequest, ListBucketAnalyticsConfigurationsRequest publicRequest);
}
}
Loading