diff --git a/generator/.DevConfigs/c881e931-b1ff-45ff-9521-9653e179466e.json b/generator/.DevConfigs/c881e931-b1ff-45ff-9521-9653e179466e.json
new file mode 100644
index 000000000000..f986d198f69d
--- /dev/null
+++ b/generator/.DevConfigs/c881e931-b1ff-45ff-9521-9653e179466e.json
@@ -0,0 +1,13 @@
+{
+ "services": [
+ {
+ "serviceName": "S3",
+ "type": "patch",
+ "changeLogMessages": [
+ "Update ExceptionUnmarshallers and add S3 Exception t4 file. Generate PutBucketPolicy, PutObjectLegalHold, PutObjectLockConfiguration, PutObjectRetention, PutPublicAccessBlock, HeadBucket, ListParts, PutObjectTagging",
+ "[Breaking Change] `LastModified` in `Amazon.S3.Model.PartDetail` is `DateTime?` instead of `DateTime` to follow v4 pattern of nullable types",
+ "[Breaking Change] `Tagging` in `PutBucketPolicyRequest` is no longer automatically initialized if null. You must initialize the object."
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/generator/ServiceClientGeneratorLib/Customizations.cs b/generator/ServiceClientGeneratorLib/Customizations.cs
index 1dfb686364eb..e98a96d47cf0 100644
--- a/generator/ServiceClientGeneratorLib/Customizations.cs
+++ b/generator/ServiceClientGeneratorLib/Customizations.cs
@@ -425,6 +425,8 @@ public class CustomizationsModel
public const string StopPaginationOnSameTokenKey = "stopPaginationOnSameToken";
public const string OriginalMemberKey = "originalMember";
public const string OverrideTreatEnumsAsStringKey = "overrideTreatEnumsAsString";
+ public const string ExcludeMembersKey = "excludeMembers";
+
JsonData _documentRoot;
SimpleMethodFormsModel _simpleMethodsModel;
@@ -560,6 +562,40 @@ public bool RetainOriginalMemberOrdering
}
}
+ ///
+ /// Used to exclude property generation, but not at the marshaller level and only at the shape level.
+ /// To use this customization add an entry like below, where the top-level key is the name of the shape and
+ /// the array is filled with members to exclude. To exclude members from marshalling, use ShapeModifiers.Exclude key.
+ /// "excludeMembers":{
+ /// "PartDetail":[
+ /// "ChecksumCRC32",
+ /// "ChecksumCRC32C",
+ /// "ChecksumCRC64NVME",
+ /// "ChecksumSHA1",
+ /// "ChecksumSHA256",
+ /// "ETag",
+ /// "LastModified",
+ /// "PartNumber"
+ /// ]
+ /// }
+ ///
+ public List ExcludeMembers(string shapeName)
+ {
+ var data = _documentRoot[ExcludeMembersKey];
+ if (data == null || data[shapeName] == null) return null;
+ if (!data[shapeName].IsArray)
+ throw new InvalidDataException("The members to exclude must be within an array.");
+
+
+ var excludedMembers = new List();
+ foreach (var member in data[shapeName])
+ {
+ excludedMembers.Add(member.ToString());
+ }
+ return excludedMembers;
+
+ }
+
///
/// A list of uri properties for the service where we should not do validation for presence.
///
diff --git a/generator/ServiceClientGeneratorLib/Generators/Marshallers/RestXmlExceptionUnmarshaller.cs b/generator/ServiceClientGeneratorLib/Generators/Marshallers/RestXmlExceptionUnmarshaller.cs
index 516fcc2b4f42..b46a80ef60f6 100644
--- a/generator/ServiceClientGeneratorLib/Generators/Marshallers/RestXmlExceptionUnmarshaller.cs
+++ b/generator/ServiceClientGeneratorLib/Generators/Marshallers/RestXmlExceptionUnmarshaller.cs
@@ -96,30 +96,79 @@ public override string TransformText()
#line default
#line hidden
this.Write(" Unmarshall(XmlUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse" +
- " errorResponse)\r\n {\r\n ");
+ " errorResponse)\r\n {\r\n");
#line 38 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
+
+ if (this.Config.ServiceId == "S3")
+ {
+
+
+ #line default
+ #line hidden
+ this.Write(@" string id2 = null, amzCfId = null;
+ var s3ErrorResponse = errorResponse as S3ErrorResponse;
+ if (s3ErrorResponse != null)
+ {
+ id2 = s3ErrorResponse.Id2;
+ amzCfId = s3ErrorResponse.AmzCfId;
+ }
+ ");
+
+ #line 49 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(this.UnmarshallerBaseName));
#line default
#line hidden
this.Write(" response = new ");
- #line 38 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
+ #line 49 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(this.UnmarshallerBaseName));
#line default
#line hidden
- this.Write(@"(errorResponse.Message, errorResponse.InnerException,
- errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
+ this.Write("(errorResponse.Message, errorResponse.InnerException,\r\n errorRespo" +
+ "nse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode," +
+ " id2, amzCfId);\r\n\r\n");
+
+ #line 52 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
- while (context.Read())
- {
- if (context.IsStartElement || context.IsAttribute)
- {
-");
+ }
+ else
+ {
+
+
+ #line default
+ #line hidden
+ this.Write(" ");
+
+ #line 57 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
+ this.Write(this.ToStringHelper.ToStringWithCulture(this.UnmarshallerBaseName));
+
+ #line default
+ #line hidden
+ this.Write(" response = new ");
+
+ #line 57 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
+ this.Write(this.ToStringHelper.ToStringWithCulture(this.UnmarshallerBaseName));
+
+ #line default
+ #line hidden
+ this.Write("(errorResponse.Message, errorResponse.InnerException, \r\n errorResp" +
+ "onse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode" +
+ ");\r\n");
+
+ #line 59 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
+
+ }
+
+
+ #line default
+ #line hidden
+ this.Write("\r\n while (context.Read())\r\n {\r\n if (context." +
+ "IsStartElement || context.IsAttribute)\r\n {\r\n");
- #line 45 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
+ #line 67 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
foreach (var member in this.Structure.Members)
{
@@ -132,56 +181,56 @@ public override string TransformText()
#line hidden
this.Write(" if (context.TestExpression(\"");
- #line 52 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
+ #line 74 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.MarshallName));
#line default
#line hidden
this.Write("/");
- #line 52 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
+ #line 74 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(listMarshallName));
#line default
#line hidden
this.Write("\"))\r\n {\r\n var unmarshaller = ");
- #line 54 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
+ #line 76 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.DetermineTypeUnmarshallerInstantiate()));
#line default
#line hidden
this.Write(";\r\n if (response.");
- #line 55 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
+ #line 77 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
this.Write(" == null)\r\n {\r\n response.");
- #line 57 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
+ #line 79 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
this.Write(" = new ");
- #line 57 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
+ #line 79 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.DetermineType()));
#line default
#line hidden
this.Write("();\r\n }\r\n response.");
- #line 59 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
+ #line 81 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
this.Write(".Add(unmarshaller.Unmarshall(context));\r\n }\r\n");
- #line 61 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
+ #line 83 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
}
else
@@ -192,28 +241,28 @@ public override string TransformText()
#line hidden
this.Write(" if (context.TestExpression(\"");
- #line 66 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
+ #line 88 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.MarshallName));
#line default
#line hidden
this.Write("\"))\r\n {\r\n var unmarshaller = ");
- #line 68 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
+ #line 90 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.DetermineTypeUnmarshallerInstantiate()));
#line default
#line hidden
this.Write(";\r\n response.");
- #line 69 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
+ #line 91 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
this.Write(" = unmarshaller.Unmarshall(context);\r\n }\r\n");
- #line 71 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
+ #line 93 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
}
}
@@ -223,7 +272,7 @@ public override string TransformText()
#line hidden
this.Write(" }\r\n }\r\n return response;\r\n }\r\n\r\n");
- #line 80 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
+ #line 102 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlExceptionUnmarshaller.tt"
this.AddStructureSingletonMethod();
diff --git a/generator/ServiceClientGeneratorLib/Generators/Marshallers/RestXmlExceptionUnmarshaller.tt b/generator/ServiceClientGeneratorLib/Generators/Marshallers/RestXmlExceptionUnmarshaller.tt
index 6c8ce78f5466..87e6514e5b7f 100644
--- a/generator/ServiceClientGeneratorLib/Generators/Marshallers/RestXmlExceptionUnmarshaller.tt
+++ b/generator/ServiceClientGeneratorLib/Generators/Marshallers/RestXmlExceptionUnmarshaller.tt
@@ -35,8 +35,30 @@ namespace <#=this.Config.Namespace #>.Model.Internal.MarshallTransformations
///
public <#=this.UnmarshallerBaseName #> Unmarshall(XmlUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
+<#
+ if (this.Config.ServiceId == "S3")
+ {
+#>
+ string id2 = null, amzCfId = null;
+ var s3ErrorResponse = errorResponse as S3ErrorResponse;
+ if (s3ErrorResponse != null)
+ {
+ id2 = s3ErrorResponse.Id2;
+ amzCfId = s3ErrorResponse.AmzCfId;
+ }
+ <#=this.UnmarshallerBaseName #> response = new <#=this.UnmarshallerBaseName #>(errorResponse.Message, errorResponse.InnerException,
+ errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode, id2, amzCfId);
+
+<#
+ }
+ else
+ {
+#>
<#=this.UnmarshallerBaseName #> response = new <#=this.UnmarshallerBaseName #>(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
+<#
+ }
+#>
while (context.Read())
{
diff --git a/generator/ServiceClientGeneratorLib/Generators/Marshallers/RestXmlRequestMarshaller.cs b/generator/ServiceClientGeneratorLib/Generators/Marshallers/RestXmlRequestMarshaller.cs
index 204b38e05929..796f258b545d 100644
--- a/generator/ServiceClientGeneratorLib/Generators/Marshallers/RestXmlRequestMarshaller.cs
+++ b/generator/ServiceClientGeneratorLib/Generators/Marshallers/RestXmlRequestMarshaller.cs
@@ -200,6 +200,7 @@ public IRequest Marshall(AmazonWebServiceRequest input)
else if(payload != null && !payload.Shape.IsStructure)
{
ProcessNonStructurePayload(payload, 3);
+ GenerateRequestChecksumHandling(this.Operation, "content");
}
@@ -207,7 +208,7 @@ public IRequest Marshall(AmazonWebServiceRequest input)
#line hidden
this.Write("\r\n");
- #line 100 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 101 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
if (this.Operation.UnsignedPayload)
{
@@ -217,7 +218,7 @@ public IRequest Marshall(AmazonWebServiceRequest input)
#line hidden
this.Write("\t\t\trequest.DisablePayloadSigning = true;\r\n");
- #line 105 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 106 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
// If there aren't any members that are marshalled as part of the body or streamed
@@ -229,7 +230,7 @@ public IRequest Marshall(AmazonWebServiceRequest input)
#line hidden
this.Write("\t\t\trequest.UseQueryString = true;\r\n");
- #line 112 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 113 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
// We skip endpoint host prefix handling for S3 and S3 Control as it's implemented by endpoint rules.
@@ -243,7 +244,7 @@ public IRequest Marshall(AmazonWebServiceRequest input)
#line hidden
this.Write("\t\t\tPostMarshallCustomization(request, publicRequest);\r\n\t\t\treturn request;\r\n\t\t}\r\n");
- #line 123 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 124 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.AddRequestSingletonMethod();
@@ -252,7 +253,7 @@ public IRequest Marshall(AmazonWebServiceRequest input)
#line hidden
this.Write("\t\tpartial void PostMarshallCustomization(DefaultRequest defaultRequest, ");
- #line 126 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 127 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(this.Operation.Name));
#line default
@@ -261,7 +262,7 @@ public IRequest Marshall(AmazonWebServiceRequest input)
return this.GenerationEnvironment.ToString();
}
- #line 130 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 131 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
void ProcessRequestBodyMembers(string variableName, Operation operation)
@@ -272,7 +273,7 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 135 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 136 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(@" var stringWriter = new XMLEncodedStringWriter(CultureInfo.InvariantCulture);
using (var xmlWriter = XmlWriter.Create(stringWriter, new XmlWriterSettings() { Encoding = System.Text.Encoding.UTF8, OmitXmlDeclaration = true, NewLineHandling = NewLineHandling.Entitize }))
{
@@ -282,7 +283,7 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 139 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 140 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
if(operation.RequestPayloadMember==null)
{
@@ -293,42 +294,42 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 144 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 145 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 145 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 146 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(operation.RequestStructure.MarshallName));
#line default
#line hidden
- #line 145 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 146 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", \"");
#line default
#line hidden
- #line 145 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 146 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(operation.XmlNamespace));
#line default
#line hidden
- #line 145 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 146 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 146 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 147 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -338,56 +339,56 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 150 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 151 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 151 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 152 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(operation.RequestStructure.MarshallName));
#line default
#line hidden
- #line 151 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 152 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n\t\t\t\txmlWriter.WriteAttributeString(\"xmlns\", \"");
#line default
#line hidden
- #line 152 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 153 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(operation.XmlNamespacePrefix));
#line default
#line hidden
- #line 152 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 153 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", null, \"");
#line default
#line hidden
- #line 152 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 153 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(operation.XmlNamespace));
#line default
#line hidden
- #line 152 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 153 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 153 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 154 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
var requestStructureAttributes = operation.RequestStructure.Members.Where(x => x.IsXmlAttribute);
@@ -398,28 +399,28 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 158 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 159 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\tif(");
#line default
#line hidden
- #line 159 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 160 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName + ".IsSet" + member.PropertyName));
#line default
#line hidden
- #line 159 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 160 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("())\r\n");
#line default
#line hidden
- #line 160 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 161 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
WriteXmlAttributeString(level, member, variableName, isPayload: false);
@@ -427,7 +428,7 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 163 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 164 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
}
@@ -440,56 +441,56 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 170 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 171 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\tif (");
#line default
#line hidden
- #line 171 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 172 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName + ".IsSet" + operation.RequestPayloadMember.PropertyName));
#line default
#line hidden
- #line 171 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 172 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("())\r\n\t\t\t\t{\r\n\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 173 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 174 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(operation.RequestPayloadMember.LocationName != operation.RequestStructure.PayloadMemberName ? operation.RequestPayloadMember.LocationName : operation.RequestPayloadMember.Shape.MarshallName));
#line default
#line hidden
- #line 173 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 174 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", \"");
#line default
#line hidden
- #line 173 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 174 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(operation.XmlNamespace));
#line default
#line hidden
- #line 173 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 174 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 174 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 175 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -501,56 +502,56 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 180 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 181 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\tif (");
#line default
#line hidden
- #line 181 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 182 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName + ".IsSet" + operation.RequestPayloadMember.PropertyName));
#line default
#line hidden
- #line 181 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 182 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("())\r\n\t\t\t\t{\r\n\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 183 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 184 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(operation.RequestPayloadMember.LocationName != operation.RequestStructure.PayloadMemberName ? operation.RequestPayloadMember.LocationName : operation.RequestPayloadMember.Shape.MarshallName));
#line default
#line hidden
- #line 183 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 184 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", \"");
#line default
#line hidden
- #line 183 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 184 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(operation.XmlNamespace));
#line default
#line hidden
- #line 183 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 184 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 184 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 185 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -560,70 +561,70 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 188 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 189 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\tif (");
#line default
#line hidden
- #line 189 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 190 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName + ".IsSet" + operation.RequestPayloadMember.PropertyName));
#line default
#line hidden
- #line 189 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 190 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("())\r\n\t\t\t\t{\r\n\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 191 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 192 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(operation.RequestPayloadMember.LocationName != operation.RequestStructure.PayloadMemberName ? operation.RequestPayloadMember.LocationName : operation.RequestPayloadMember.Shape.MarshallName));
#line default
#line hidden
- #line 191 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 192 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n\t\t\t\t\txmlWriter.WriteAttributeString(\"xmlns\",\"");
#line default
#line hidden
- #line 192 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 193 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(operation.XmlNamespacePrefix));
#line default
#line hidden
- #line 192 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 193 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",null,\"");
#line default
#line hidden
- #line 192 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 193 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(operation.XmlNamespace));
#line default
#line hidden
- #line 192 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 193 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 193 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 194 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
@@ -631,7 +632,7 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 196 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 197 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
var requestPayloadAttributes = operation.RequestPayloadMember.Shape.Members.Where(x => x.IsXmlAttribute);
@@ -642,28 +643,28 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 201 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 202 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\tif(");
#line default
#line hidden
- #line 202 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 203 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName + "." + operation.RequestPayloadMember.PropertyName + ".IsSet" + member.PropertyName));
#line default
#line hidden
- #line 202 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 203 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("())\r\n");
#line default
#line hidden
- #line 203 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 204 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
WriteXmlAttributeString(level + 1, member, variableName, isPayload: true, operation);
@@ -671,7 +672,7 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 206 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 207 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
level++;
@@ -695,63 +696,63 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 225 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 226 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', (level + 4) * 4)));
#line default
#line hidden
- #line 225 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 226 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("if(");
#line default
#line hidden
- #line 225 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 226 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName));
#line default
#line hidden
- #line 225 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 226 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(".IsSet");
#line default
#line hidden
- #line 225 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 226 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
- #line 225 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 226 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("())\r\n");
#line default
#line hidden
- #line 226 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 227 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', (level + 4) * 4)));
#line default
#line hidden
- #line 226 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 227 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("{\r\n");
#line default
#line hidden
- #line 227 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 228 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
if(member.IsFlattened)
{
@@ -766,21 +767,21 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 237 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 238 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', (level + 4) * 4)));
#line default
#line hidden
- #line 237 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 238 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("}\r\n");
#line default
#line hidden
- #line 238 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 239 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -790,49 +791,49 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 243 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 244 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 243 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 244 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\tif(");
#line default
#line hidden
- #line 243 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 244 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName));
#line default
#line hidden
- #line 243 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 244 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(".IsSet");
#line default
#line hidden
- #line 243 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 244 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
- #line 243 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 244 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("())\r\n");
#line default
#line hidden
- #line 244 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 245 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
if(string.IsNullOrEmpty(member.XmlNamespace))
{
@@ -841,84 +842,84 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 248 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 249 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 248 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 249 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteElementString(\"");
#line default
#line hidden
- #line 248 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 249 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.MarshallName));
#line default
#line hidden
- #line 248 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 249 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", ");
#line default
#line hidden
- #line 248 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 249 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PrimitiveMarshaller));
#line default
#line hidden
- #line 248 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 249 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("(");
#line default
#line hidden
- #line 248 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 249 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName));
#line default
#line hidden
- #line 248 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 249 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(".");
#line default
#line hidden
- #line 248 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 249 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
- #line 248 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 249 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture((member.IsNullable ? ".Value" : string.Empty)));
#line default
#line hidden
- #line 248 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 249 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("));\r\n");
#line default
#line hidden
- #line 249 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 250 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -929,112 +930,112 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 255 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 256 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 255 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 256 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteElementString(");
#line default
#line hidden
- #line 255 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 256 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(prefix));
#line default
#line hidden
- #line 255 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 256 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(",\"");
#line default
#line hidden
- #line 255 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 256 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.MarshallName));
#line default
#line hidden
- #line 255 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 256 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",\"");
#line default
#line hidden
- #line 255 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 256 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.XmlNamespace));
#line default
#line hidden
- #line 255 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 256 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", ");
#line default
#line hidden
- #line 255 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 256 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PrimitiveMarshaller));
#line default
#line hidden
- #line 255 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 256 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("(");
#line default
#line hidden
- #line 255 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 256 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName));
#line default
#line hidden
- #line 255 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 256 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(".");
#line default
#line hidden
- #line 255 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 256 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
- #line 255 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 256 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture((member.IsNullable ? ".Value" : string.Empty)));
#line default
#line hidden
- #line 255 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 256 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("));\r\n");
#line default
#line hidden
- #line 256 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 257 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
if(member.IsIdempotent)
@@ -1044,42 +1045,42 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 260 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 261 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\telse\t\t\t\t\r\n");
#line default
#line hidden
- #line 262 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 263 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 262 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 263 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteElementString(\"");
#line default
#line hidden
- #line 262 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 263 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.MarshallName));
#line default
#line hidden
- #line 262 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 263 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", Guid.NewGuid().ToString());\t\t\t\t\r\n");
#line default
#line hidden
- #line 263 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 264 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
@@ -1087,21 +1088,21 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 266 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 267 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(""));
#line default
#line hidden
- #line 266 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 267 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\r\n");
#line default
#line hidden
- #line 267 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 268 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
@@ -1111,28 +1112,28 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 271 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 272 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\r\n");
#line default
#line hidden
- #line 273 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 274 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 273 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 274 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\txmlWriter.WriteEndElement();\r\n");
#line default
#line hidden
- #line 274 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 275 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
if(operation.RequestPayloadMember!=null)
{
@@ -1141,21 +1142,21 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 278 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 279 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 278 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 279 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t}\r\n");
#line default
#line hidden
- #line 279 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 280 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
level--;
}
@@ -1164,7 +1165,7 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 282 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 283 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t}\r\n\t\t\ttry \r\n\t\t\t{\r\n\t\t\t\tstring content = stringWriter.ToString();\r\n\t\t\t\trequest.C" +
"ontent = System.Text.Encoding.UTF8.GetBytes(content);\r\n\t\t\t\trequest.Headers[\"Cont" +
"ent-Type\"] = \"application/xml\";\r\n");
@@ -1173,7 +1174,7 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 289 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 290 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
GenerateRequestChecksumHandling(operation, "content");
@@ -1181,21 +1182,21 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 291 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 292 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = \"");
#line default
#line hidden
- #line 292 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 293 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(this.Config.ServiceModel.APIVersion));
#line default
#line hidden
- #line 292 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 293 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\"; \r\n\t\t\t} \r\n\t\t\tcatch (EncoderFallbackException e) \r\n\t\t\t{\r\n\t\t\t\tthrow ne" +
"w AmazonServiceException(\"Unable to marshall request to XML\", e);\r\n\t\t\t}\r\n");
@@ -1203,7 +1204,7 @@ void ProcessRequestBodyMembers(string variableName, Operation operation)
#line default
#line hidden
- #line 298 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 299 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
@@ -1226,63 +1227,63 @@ void ProcessMembers(int level, string variableName, IEnumerable members,
#line default
#line hidden
- #line 316 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 317 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', (level + 4) * 4)));
#line default
#line hidden
- #line 316 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 317 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("if (");
#line default
#line hidden
- #line 316 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 317 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName));
#line default
#line hidden
- #line 316 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 317 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(".IsSet");
#line default
#line hidden
- #line 316 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 317 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
- #line 316 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 317 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("())\r\n");
#line default
#line hidden
- #line 317 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 318 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', (level + 4) * 4)));
#line default
#line hidden
- #line 317 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 318 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("{\r\n");
#line default
#line hidden
- #line 318 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 319 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
if(member.IsFlattened)
{
@@ -1297,21 +1298,21 @@ void ProcessMembers(int level, string variableName, IEnumerable members,
#line default
#line hidden
- #line 328 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 329 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', (level + 4) * 4)));
#line default
#line hidden
- #line 328 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 329 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("}\r\n");
#line default
#line hidden
- #line 329 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 330 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
// we're processing members of a structure as a map's value
@@ -1322,126 +1323,126 @@ void ProcessMembers(int level, string variableName, IEnumerable members,
#line default
#line hidden
- #line 335 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 336 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 335 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 336 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\tif(");
#line default
#line hidden
- #line 335 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 336 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName));
#line default
#line hidden
- #line 335 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 336 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(".IsSet");
#line default
#line hidden
- #line 335 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 336 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
- #line 335 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 336 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("())\r\n");
#line default
#line hidden
- #line 336 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 337 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 336 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 337 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteElementString(\"");
#line default
#line hidden
- #line 336 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 337 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.ModeledName));
#line default
#line hidden
- #line 336 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 337 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", ");
#line default
#line hidden
- #line 336 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 337 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PrimitiveMarshaller));
#line default
#line hidden
- #line 336 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 337 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("(");
#line default
#line hidden
- #line 336 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 337 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName));
#line default
#line hidden
- #line 336 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 337 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(".");
#line default
#line hidden
- #line 336 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 337 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
- #line 336 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 337 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture((member.IsNullable ? ".Value" : string.Empty)));
#line default
#line hidden
- #line 336 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 337 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("));\r\n");
#line default
#line hidden
- #line 337 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 338 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -1451,49 +1452,49 @@ void ProcessMembers(int level, string variableName, IEnumerable members,
#line default
#line hidden
- #line 342 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 343 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 342 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 343 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\tif(");
#line default
#line hidden
- #line 342 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 343 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName));
#line default
#line hidden
- #line 342 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 343 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(".IsSet");
#line default
#line hidden
- #line 342 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 343 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
- #line 342 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 343 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("())\r\n");
#line default
#line hidden
- #line 343 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 344 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
if (!member.IsXmlAttribute)
{
@@ -1502,84 +1503,84 @@ void ProcessMembers(int level, string variableName, IEnumerable members,
#line default
#line hidden
- #line 347 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 348 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 347 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 348 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteElementString(\"");
#line default
#line hidden
- #line 347 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 348 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.MarshallName));
#line default
#line hidden
- #line 347 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 348 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", ");
#line default
#line hidden
- #line 347 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 348 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PrimitiveMarshaller));
#line default
#line hidden
- #line 347 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 348 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("(");
#line default
#line hidden
- #line 347 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 348 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName));
#line default
#line hidden
- #line 347 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 348 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(".");
#line default
#line hidden
- #line 347 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 348 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
- #line 347 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 348 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture((member.IsNullable ? ".Value" : string.Empty)));
#line default
#line hidden
- #line 347 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 348 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("));\r\n");
#line default
#line hidden
- #line 348 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 349 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
@@ -1587,7 +1588,7 @@ void ProcessMembers(int level, string variableName, IEnumerable members,
#line default
#line hidden
- #line 351 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 352 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
else
{
@@ -1606,56 +1607,56 @@ void ProcessStructure(int level, string variableName, Shape shape)
#line default
#line hidden
- #line 364 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 365 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\r\n");
#line default
#line hidden
- #line 365 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 366 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 365 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 366 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\tif (");
#line default
#line hidden
- #line 365 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 366 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName));
#line default
#line hidden
- #line 365 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 366 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(" != null) \r\n");
#line default
#line hidden
- #line 366 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 367 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 366 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 367 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t{\r\n");
#line default
#line hidden
- #line 367 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 368 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
if(string.IsNullOrEmpty(shape.XmlNamespace))
{
@@ -1664,35 +1665,35 @@ void ProcessStructure(int level, string variableName, Shape shape)
#line default
#line hidden
- #line 371 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 372 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 371 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 372 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 371 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 372 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(marshallName));
#line default
#line hidden
- #line 371 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 372 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 372 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 373 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -1704,49 +1705,49 @@ void ProcessStructure(int level, string variableName, Shape shape)
#line default
#line hidden
- #line 379 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 380 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 379 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 380 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 379 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 380 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(marshallName));
#line default
#line hidden
- #line 379 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 380 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", \"");
#line default
#line hidden
- #line 379 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 380 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(shape.XmlNamespace));
#line default
#line hidden
- #line 379 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 380 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 380 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 381 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -1756,77 +1757,77 @@ void ProcessStructure(int level, string variableName, Shape shape)
#line default
#line hidden
- #line 385 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 386 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 385 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 386 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 385 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 386 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(marshallName));
#line default
#line hidden
- #line 385 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 386 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 386 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 387 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 386 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 387 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteAttributeString(\"xmlns\", \"");
#line default
#line hidden
- #line 386 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 387 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(marshallName));
#line default
#line hidden
- #line 386 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 387 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",");
#line default
#line hidden
- #line 386 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 387 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(shape.XmlNamespace));
#line default
#line hidden
- #line 386 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 387 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(", null );\r\n");
#line default
#line hidden
- #line 387 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 388 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
}
@@ -1836,35 +1837,35 @@ void ProcessStructure(int level, string variableName, Shape shape)
#line default
#line hidden
- #line 392 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 393 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 392 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 393 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteEndElement();\r\n");
#line default
#line hidden
- #line 393 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 394 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 393 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 394 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t}\r\n");
#line default
#line hidden
- #line 394 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 395 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
// Only namespaces at the top level Shape matter for a structure, so there is no logic for namespaces here.
@@ -1882,84 +1883,84 @@ void ProcessStructure(int level, string variableName, Member member)
#line default
#line hidden
- #line 407 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 408 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 407 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 408 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\tif (");
#line default
#line hidden
- #line 407 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 408 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName));
#line default
#line hidden
- #line 407 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 408 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(" != null)\r\n");
#line default
#line hidden
- #line 408 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 409 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 408 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 409 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t{\r\n");
#line default
#line hidden
- #line 409 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 410 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 409 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 410 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 409 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 410 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(marshallName));
#line default
#line hidden
- #line 409 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 410 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 410 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 411 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
#line default
#line hidden
- #line 412 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 413 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
ProcessMembers(level + 1, variableName, shape.Members);
@@ -1967,35 +1968,35 @@ void ProcessStructure(int level, string variableName, Member member)
#line default
#line hidden
- #line 415 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 416 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 415 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 416 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteEndElement();\r\n");
#line default
#line hidden
- #line 416 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 417 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 416 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 417 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t}\r\n");
#line default
#line hidden
- #line 417 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 418 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
void ProcessList(int level, string variableName, Member member)
@@ -2007,119 +2008,119 @@ void ProcessList(int level, string variableName, Member member)
#line default
#line hidden
- #line 424 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 425 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 424 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 425 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\tvar ");
#line default
#line hidden
- #line 424 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 425 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(listVariable));
#line default
#line hidden
- #line 424 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 425 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(" = ");
#line default
#line hidden
- #line 424 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 425 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName));
#line default
#line hidden
- #line 424 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 425 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(".");
#line default
#line hidden
- #line 424 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 425 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
- #line 424 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 425 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(";\r\n");
#line default
#line hidden
- #line 425 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 426 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 425 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 426 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\tif (");
#line default
#line hidden
- #line 425 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 426 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(listVariable));
#line default
#line hidden
- #line 425 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 426 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(" != null && (");
#line default
#line hidden
- #line 425 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 426 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(listVariable));
#line default
#line hidden
- #line 425 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 426 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(".Count > 0 || !AWSConfigs.InitializeCollections)) \r\n");
#line default
#line hidden
- #line 426 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 427 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 426 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 427 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t{\r\n");
#line default
#line hidden
- #line 427 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 428 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
if (!member.IsFlattened && !member.Shape.IsFlattened)
{
@@ -2130,35 +2131,35 @@ void ProcessList(int level, string variableName, Member member)
#line default
#line hidden
- #line 433 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 434 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 433 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 434 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 433 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 434 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.MarshallName));
#line default
#line hidden
- #line 433 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 434 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 434 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 435 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -2170,49 +2171,49 @@ void ProcessList(int level, string variableName, Member member)
#line default
#line hidden
- #line 441 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 442 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 441 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 442 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 441 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 442 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.MarshallName));
#line default
#line hidden
- #line 441 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 442 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", \"");
#line default
#line hidden
- #line 441 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 442 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.XmlNamespace));
#line default
#line hidden
- #line 441 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 442 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 442 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 443 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -2222,77 +2223,77 @@ void ProcessList(int level, string variableName, Member member)
#line default
#line hidden
- #line 447 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 448 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 447 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 448 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 447 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 448 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.MarshallName));
#line default
#line hidden
- #line 447 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 448 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 448 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 449 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 448 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 449 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteAttributeString(\"xmlns\",\"");
#line default
#line hidden
- #line 448 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 449 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.XmlNamespacePrefix));
#line default
#line hidden
- #line 448 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 449 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",null,\"");
#line default
#line hidden
- #line 448 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 449 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.XmlNamespace));
#line default
#line hidden
- #line 448 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 449 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 449 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 450 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
}
@@ -2302,63 +2303,63 @@ void ProcessList(int level, string variableName, Member member)
#line default
#line hidden
- #line 454 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 455 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 454 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 455 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\tforeach (var ");
#line default
#line hidden
- #line 454 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 455 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(listItemVariable));
#line default
#line hidden
- #line 454 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 455 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(" in ");
#line default
#line hidden
- #line 454 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 455 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(listVariable));
#line default
#line hidden
- #line 454 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 455 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(") \r\n");
#line default
#line hidden
- #line 455 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 456 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 455 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 456 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t{\r\n");
#line default
#line hidden
- #line 456 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 457 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
if(member.Shape.ListShape.IsStructure)
{
@@ -2378,91 +2379,91 @@ void ProcessList(int level, string variableName, Member member)
#line default
#line hidden
- #line 471 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 472 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 471 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 472 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 471 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 472 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(listMarshallName));
#line default
#line hidden
- #line 471 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 472 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 472 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 473 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 472 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 473 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteValue(");
#line default
#line hidden
- #line 472 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 473 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.ListShape.PrimitiveMarshaller(MarshallLocation.Body)));
#line default
#line hidden
- #line 472 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 473 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("(");
#line default
#line hidden
- #line 472 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 473 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(listItemVariable));
#line default
#line hidden
- #line 472 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 473 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("));\r\n");
#line default
#line hidden
- #line 473 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 474 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 473 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 474 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteEndElement();\r\n");
#line default
#line hidden
- #line 474 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 475 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
@@ -2482,35 +2483,35 @@ void ProcessList(int level, string variableName, Member member)
#line default
#line hidden
- #line 489 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 490 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 489 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 490 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 489 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 490 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(listMarshallName));
#line default
#line hidden
- #line 489 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 490 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 490 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 491 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -2524,49 +2525,49 @@ void ProcessList(int level, string variableName, Member member)
#line default
#line hidden
- #line 499 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 500 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 499 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 500 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 499 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 500 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(listMarshallName));
#line default
#line hidden
- #line 499 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 500 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", \"");
#line default
#line hidden
- #line 499 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 500 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(listMemberXmlNamespaceNode));
#line default
#line hidden
- #line 499 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 500 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n\r\n");
#line default
#line hidden
- #line 501 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 502 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -2576,77 +2577,77 @@ void ProcessList(int level, string variableName, Member member)
#line default
#line hidden
- #line 506 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 507 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 506 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 507 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 506 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 507 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(listMarshallName));
#line default
#line hidden
- #line 506 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 507 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 507 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 508 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 507 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 508 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteAttributeString(\"xmlns\",\"");
#line default
#line hidden
- #line 507 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 508 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(listMemberXmlNamespaceNode[ServiceModel.XmlNamespacePrefixKey]));
#line default
#line hidden
- #line 507 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 508 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",null,\"");
#line default
#line hidden
- #line 507 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 508 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(listMemberXmlNamespaceNode[ServiceModel.XmlNamespaceUriKey]));
#line default
#line hidden
- #line 507 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 508 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 508 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 509 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
}
@@ -2659,7 +2660,7 @@ void ProcessList(int level, string variableName, Member member)
#line default
#line hidden
- #line 516 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 517 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
if (innerShape == null || (innerShape != null && !innerShape.Shape.IsList))
{
@@ -2668,35 +2669,35 @@ void ProcessList(int level, string variableName, Member member)
#line default
#line hidden
- #line 520 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 521 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 520 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 521 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteValue(");
#line default
#line hidden
- #line 520 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 521 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(listItemVariable));
#line default
#line hidden
- #line 520 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 521 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(");\r\n");
#line default
#line hidden
- #line 521 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 522 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
@@ -2704,21 +2705,21 @@ void ProcessList(int level, string variableName, Member member)
#line default
#line hidden
- #line 524 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 525 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 524 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 525 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteEndElement();\r\n");
#line default
#line hidden
- #line 525 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 526 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
}
@@ -2727,21 +2728,21 @@ void ProcessList(int level, string variableName, Member member)
#line default
#line hidden
- #line 529 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 530 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 529 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 530 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t}\t\t\t\r\n");
#line default
#line hidden
- #line 530 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 531 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
if (!member.IsFlattened && !member.Shape.IsFlattened)
{
@@ -2750,21 +2751,21 @@ void ProcessList(int level, string variableName, Member member)
#line default
#line hidden
- #line 534 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 535 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 534 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 535 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteEndElement();\t\t\t\r\n");
#line default
#line hidden
- #line 535 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 536 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
@@ -2772,21 +2773,21 @@ void ProcessList(int level, string variableName, Member member)
#line default
#line hidden
- #line 538 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 539 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 538 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 539 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t}\r\n");
#line default
#line hidden
- #line 539 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 540 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
@@ -2799,35 +2800,35 @@ void ProcessMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 547 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 548 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 547 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 548 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 547 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 548 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.MarshallName));
#line default
#line hidden
- #line 547 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 548 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 548 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 549 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -2839,49 +2840,49 @@ void ProcessMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 555 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 556 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 555 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 556 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 555 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 556 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.MarshallName));
#line default
#line hidden
- #line 555 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 556 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",\"");
#line default
#line hidden
- #line 555 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 556 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.XmlNamespace));
#line default
#line hidden
- #line 555 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 556 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n\r\n");
#line default
#line hidden
- #line 557 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 558 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -2891,77 +2892,77 @@ void ProcessMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 562 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 563 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 562 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 563 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 562 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 563 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.MarshallName));
#line default
#line hidden
- #line 562 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 563 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 563 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 564 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 563 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 564 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteAttributeString(\"xmlns\",\"");
#line default
#line hidden
- #line 563 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 564 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.XmlNamespacePrefix));
#line default
#line hidden
- #line 563 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 564 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",null,\"");
#line default
#line hidden
- #line 563 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 564 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.XmlNamespace));
#line default
#line hidden
- #line 563 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 564 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 564 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 565 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
}
@@ -2970,77 +2971,77 @@ void ProcessMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 568 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 569 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 568 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 569 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\tforeach (var kvp in ");
#line default
#line hidden
- #line 568 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 569 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName));
#line default
#line hidden
- #line 568 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 569 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(".");
#line default
#line hidden
- #line 568 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 569 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
- #line 568 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 569 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(")\r\n");
#line default
#line hidden
- #line 569 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 570 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 569 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 570 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t{\r\n");
#line default
#line hidden
- #line 570 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 571 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 570 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 571 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteStartElement(\"entry\");\r\n");
#line default
#line hidden
- #line 571 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 572 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
if(string.IsNullOrEmpty(member.Shape.KeyShapeXmlNamespace))
{
@@ -3049,42 +3050,42 @@ void ProcessMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 574 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 575 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\r\n");
#line default
#line hidden
- #line 576 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 577 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 576 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 577 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteElementString(\"");
#line default
#line hidden
- #line 576 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 577 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.KeyMarshallName));
#line default
#line hidden
- #line 576 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 577 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", kvp.Key);\r\n");
#line default
#line hidden
- #line 577 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 578 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -3097,49 +3098,49 @@ void ProcessMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 585 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 586 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 585 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 586 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteElementString(\"");
#line default
#line hidden
- #line 585 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 586 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.KeyMarshallName));
#line default
#line hidden
- #line 585 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 586 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",\"");
#line default
#line hidden
- #line 585 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 586 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.KeyShapeXmlNamespace));
#line default
#line hidden
- #line 585 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 586 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",kvp.Key);\r\n");
#line default
#line hidden
- #line 586 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 587 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -3149,63 +3150,63 @@ void ProcessMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 591 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 592 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 591 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 592 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteElementString(\"");
#line default
#line hidden
- #line 591 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 592 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(keyNode[ServiceModel.XmlNamespaceKey][ServiceModel.XmlNamespacePrefixKey]));
#line default
#line hidden
- #line 591 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 592 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",\"");
#line default
#line hidden
- #line 591 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 592 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.KeyMarshallName));
#line default
#line hidden
- #line 591 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 592 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",\"");
#line default
#line hidden
- #line 591 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 592 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.KeyShapeXmlNamespace));
#line default
#line hidden
- #line 591 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 592 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",kvp.Key);\r\n\r\n");
#line default
#line hidden
- #line 593 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 594 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
}
@@ -3220,35 +3221,35 @@ void ProcessMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 603 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 604 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 603 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 604 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 603 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 604 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.ValueMarshallName));
#line default
#line hidden
- #line 603 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 604 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 604 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 605 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
ProcessStructureAsMapValue(level + 2, "kvp.Value", member.Shape.ValueShape);
@@ -3256,21 +3257,21 @@ void ProcessMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 607 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 608 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 607 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 608 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteEndElement();\r\n");
#line default
#line hidden
- #line 608 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 609 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -3282,49 +3283,49 @@ void ProcessMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 615 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 616 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 615 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 616 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteElementString(\"");
#line default
#line hidden
- #line 615 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 616 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.ValueMarshallName));
#line default
#line hidden
- #line 615 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 616 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", kvp.Value");
#line default
#line hidden
- #line 615 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 616 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.ValueShape.IsString ? "" : ".ToString()"));
#line default
#line hidden
- #line 615 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 616 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(");\r\n");
#line default
#line hidden
- #line 616 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 617 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -3337,63 +3338,63 @@ void ProcessMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 624 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 625 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 624 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 625 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteElementString(\"");
#line default
#line hidden
- #line 624 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 625 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.ValueMarshallName));
#line default
#line hidden
- #line 624 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 625 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", \"");
#line default
#line hidden
- #line 624 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 625 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.ValueShapeXmlNamespace));
#line default
#line hidden
- #line 624 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 625 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",kvp.Value");
#line default
#line hidden
- #line 624 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 625 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.ValueShape.IsString ? "" : ".ToString()"));
#line default
#line hidden
- #line 624 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 625 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(");\r\n");
#line default
#line hidden
- #line 625 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 626 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
{
@@ -3402,77 +3403,77 @@ void ProcessMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 629 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 630 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 629 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 630 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteElementString(\"");
#line default
#line hidden
- #line 629 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 630 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(valueNode[ServiceModel.XmlNamespaceKey][ServiceModel.XmlNamespacePrefixKey]));
#line default
#line hidden
- #line 629 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 630 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",\"");
#line default
#line hidden
- #line 629 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 630 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.ValueMarshallName));
#line default
#line hidden
- #line 629 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 630 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", \"");
#line default
#line hidden
- #line 629 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 630 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.ValueShapeXmlNamespace));
#line default
#line hidden
- #line 629 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 630 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",kvp.Value");
#line default
#line hidden
- #line 629 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 630 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.ValueShape.IsString ? "" : ".ToString()"));
#line default
#line hidden
- #line 629 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 630 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(");\r\n");
#line default
#line hidden
- #line 630 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 631 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
}
@@ -3482,49 +3483,49 @@ void ProcessMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 635 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 636 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 635 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 636 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteEndElement();\r\n");
#line default
#line hidden
- #line 636 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 637 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 636 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 637 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t}\r\n");
#line default
#line hidden
- #line 637 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 638 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 637 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 638 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteEndElement();\r\n");
#line default
#line hidden
- #line 638 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 639 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
@@ -3532,7 +3533,7 @@ void ProcessMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 641 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 642 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
// Separating the processing of a flattened map and a regular map for maintability
void ProcessFlattenedMap(int level, string variableName, Member member)
@@ -3542,91 +3543,91 @@ void ProcessFlattenedMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 646 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 647 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 646 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 647 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\tforeach (var kvp in ");
#line default
#line hidden
- #line 646 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 647 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName));
#line default
#line hidden
- #line 646 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 647 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(".");
#line default
#line hidden
- #line 646 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 647 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
- #line 646 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 647 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(")\r\n");
#line default
#line hidden
- #line 647 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 648 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 647 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 648 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t{\r\n");
#line default
#line hidden
- #line 648 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 649 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 648 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 649 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 648 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 649 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.MarshallName));
#line default
#line hidden
- #line 648 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 649 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 649 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 650 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
if(string.IsNullOrEmpty(member.Shape.KeyShapeXmlNamespace))
{
@@ -3635,35 +3636,35 @@ void ProcessFlattenedMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 653 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 654 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 653 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 654 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteElementString(\"");
#line default
#line hidden
- #line 653 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 654 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.KeyMarshallName));
#line default
#line hidden
- #line 653 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 654 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", kvp.Key);\r\n");
#line default
#line hidden
- #line 654 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 655 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -3673,49 +3674,49 @@ void ProcessFlattenedMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 659 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 660 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 659 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 660 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteElementString(\"");
#line default
#line hidden
- #line 659 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 660 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.KeyMarshallName));
#line default
#line hidden
- #line 659 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 660 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",\"");
#line default
#line hidden
- #line 659 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 660 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.KeyShapeXmlNamespace));
#line default
#line hidden
- #line 659 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 660 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", kvp.Key);\r\n");
#line default
#line hidden
- #line 660 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 661 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
if(member.Shape.ValueShape.IsMap)
@@ -3729,35 +3730,35 @@ void ProcessFlattenedMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 669 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 670 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 669 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 670 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 669 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 670 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.ValueMarshallName));
#line default
#line hidden
- #line 669 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 670 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 670 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 671 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
ProcessStructureAsMapValue(level + 2, "kvp.Value", member.Shape.ValueShape);
@@ -3765,21 +3766,21 @@ void ProcessFlattenedMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 673 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 674 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 673 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 674 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteEndElement();\r\n");
#line default
#line hidden
- #line 674 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 675 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -3791,63 +3792,63 @@ void ProcessFlattenedMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 681 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 682 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 681 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 682 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteElementString(\"");
#line default
#line hidden
- #line 681 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 682 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.ValueMarshallName));
#line default
#line hidden
- #line 681 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 682 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", kvp.Value");
#line default
#line hidden
- #line 681 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 682 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.ValueShape.IsString ? "" : ".ToString()"));
#line default
#line hidden
- #line 681 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 682 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(");\r\n");
#line default
#line hidden
- #line 682 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 683 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 682 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 683 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteEndElement();\r\n");
#line default
#line hidden
- #line 683 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 684 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -3857,77 +3858,77 @@ void ProcessFlattenedMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 688 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 689 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 688 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 689 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteElementString(\"");
#line default
#line hidden
- #line 688 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 689 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.ValueMarshallName));
#line default
#line hidden
- #line 688 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 689 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", \"");
#line default
#line hidden
- #line 688 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 689 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.ValueShapeXmlNamespace));
#line default
#line hidden
- #line 688 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 689 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", kvp.Value");
#line default
#line hidden
- #line 688 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 689 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.Shape.ValueShape.IsString ? "" : ".ToString()"));
#line default
#line hidden
- #line 688 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 689 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(");\r\n");
#line default
#line hidden
- #line 689 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 690 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 689 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 690 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteEndElement();\r\n");
#line default
#line hidden
- #line 690 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 691 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
}
@@ -3936,21 +3937,21 @@ void ProcessFlattenedMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 694 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 695 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 694 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 695 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t}\t\r\n");
#line default
#line hidden
- #line 695 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 696 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
@@ -3958,7 +3959,7 @@ void ProcessFlattenedMap(int level, string variableName, Member member)
#line default
#line hidden
- #line 698 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 699 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
void ProcessSubMap(int level, Shape shape, string parentVariableName)
{
@@ -3967,133 +3968,133 @@ void ProcessSubMap(int level, Shape shape, string parentVariableName)
#line default
#line hidden
- #line 702 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 703 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 702 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 703 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteStartElement(\"value\");\r\n");
#line default
#line hidden
- #line 703 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 704 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 703 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 704 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\tforeach (var kvp");
#line default
#line hidden
- #line 703 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 704 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(level));
#line default
#line hidden
- #line 703 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 704 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(" in ");
#line default
#line hidden
- #line 703 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 704 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(parentVariableName));
#line default
#line hidden
- #line 703 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 704 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(".Value) \r\n");
#line default
#line hidden
- #line 704 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 705 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 704 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 705 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t{\r\n");
#line default
#line hidden
- #line 705 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 706 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 705 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 706 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteStartElement(\"entry\");\r\n");
#line default
#line hidden
- #line 706 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 707 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 706 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 707 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteElementString(\"");
#line default
#line hidden
- #line 706 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 707 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(shape.KeyMarshallName));
#line default
#line hidden
- #line 706 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 707 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", kvp");
#line default
#line hidden
- #line 706 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 707 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(level));
#line default
#line hidden
- #line 706 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 707 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(".Key);\r\n");
#line default
#line hidden
- #line 707 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 708 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
if(shape.ValueShape.IsMap)
{
@@ -4106,49 +4107,49 @@ void ProcessSubMap(int level, Shape shape, string parentVariableName)
#line default
#line hidden
- #line 715 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 716 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 715 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 716 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteElementString(\"");
#line default
#line hidden
- #line 715 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 716 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(shape.ValueMarshallName));
#line default
#line hidden
- #line 715 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 716 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", kvp");
#line default
#line hidden
- #line 715 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 716 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(level));
#line default
#line hidden
- #line 715 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 716 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(".Value);\r\n");
#line default
#line hidden
- #line 716 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 717 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
@@ -4156,49 +4157,49 @@ void ProcessSubMap(int level, Shape shape, string parentVariableName)
#line default
#line hidden
- #line 719 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 720 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 719 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 720 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteEndElement();\r\n");
#line default
#line hidden
- #line 720 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 721 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 720 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 721 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t}\t\t\t\r\n");
#line default
#line hidden
- #line 721 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 722 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 721 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 722 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteEndElement();\t\t\t\t\r\n");
#line default
#line hidden
- #line 722 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 723 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
@@ -4206,7 +4207,7 @@ void ProcessSubMap(int level, Shape shape, string parentVariableName)
#line default
#line hidden
- #line 725 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 726 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
protected void ProcessNonStructurePayload(Member payload, int level)
{
@@ -4217,63 +4218,70 @@ protected void ProcessNonStructurePayload(Member payload, int level)
#line default
#line hidden
- #line 731 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 732 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 731 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 732 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("request.Content = Encoding.UTF8.GetBytes(");
#line default
#line hidden
- #line 731 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 732 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(this.Operation.RequestPayloadMember.PrimitiveMarshaller));
#line default
#line hidden
- #line 731 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 732 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("(publicRequest.");
#line default
#line hidden
- #line 731 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 732 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(this.Operation.RequestPayloadMember.PropertyName));
#line default
#line hidden
- #line 731 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 732 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("));\r\n");
#line default
#line hidden
- #line 732 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 733 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+
+
+
+ #line default
+ #line hidden
+
+ #line 735 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 732 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 735 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("request.Headers[\"Content-Type\"] = \"text/plain\";\r\n");
#line default
#line hidden
- #line 733 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 736 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else if(payload.Shape.IsMemoryStream)
@@ -4283,49 +4291,49 @@ protected void ProcessNonStructurePayload(Member payload, int level)
#line default
#line hidden
- #line 738 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 741 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 738 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 741 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("request.ContentStream = publicRequest.");
#line default
#line hidden
- #line 738 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 741 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(this.Operation.RequestPayloadMember.PropertyName));
#line default
#line hidden
- #line 738 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 741 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(";\r\n");
#line default
#line hidden
- #line 739 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 742 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 739 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 742 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("request.Headers[\"Content-Type\"] = \"application/octet-stream\";\r\n");
#line default
#line hidden
- #line 740 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 743 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
}
@@ -4334,7 +4342,7 @@ protected void ProcessNonStructurePayload(Member payload, int level)
#line default
#line hidden
- #line 744 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 747 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
protected void ProcessStructureAsMapValue(int level, string variableName, Shape shape)
{
@@ -4344,49 +4352,49 @@ protected void ProcessStructureAsMapValue(int level, string variableName, Shape
#line default
#line hidden
- #line 749 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 752 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 749 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 752 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\tif (");
#line default
#line hidden
- #line 749 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 752 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName));
#line default
#line hidden
- #line 749 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 752 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(" != null) \r\n");
#line default
#line hidden
- #line 750 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 753 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 750 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 753 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t{\r\n");
#line default
#line hidden
- #line 751 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 754 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
ProcessMembers(level + 1, variableName, shape.Members, insideMap: true);
@@ -4394,21 +4402,21 @@ protected void ProcessStructureAsMapValue(int level, string variableName, Shape
#line default
#line hidden
- #line 754 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 757 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 754 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 757 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t}\r\n");
#line default
#line hidden
- #line 755 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 758 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
@@ -4416,7 +4424,7 @@ protected void ProcessStructureAsMapValue(int level, string variableName, Shape
#line default
#line hidden
- #line 758 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 761 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
protected void ProcessNestedList(int level, string variableName, Member innerMember, Member owningMember)
{
@@ -4436,133 +4444,133 @@ protected void ProcessNestedList(int level, string variableName, Member innerMem
#line default
#line hidden
- #line 773 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 776 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', (level) * 4)));
#line default
#line hidden
- #line 773 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 776 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\tforeach (var ");
#line default
#line hidden
- #line 773 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 776 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(innerListItemVariable));
#line default
#line hidden
- #line 773 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 776 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(" in ");
#line default
#line hidden
- #line 773 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 776 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(listItemVariable));
#line default
#line hidden
- #line 773 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 776 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(")\r\n");
#line default
#line hidden
- #line 774 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 777 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', (level) * 4)));
#line default
#line hidden
- #line 774 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 777 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t{\r\n");
#line default
#line hidden
- #line 775 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 778 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', (level) * 4)));
#line default
#line hidden
- #line 775 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 778 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteStartElement(\"");
#line default
#line hidden
- #line 775 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 778 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(listMarshallName));
#line default
#line hidden
- #line 775 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 778 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\");\r\n");
#line default
#line hidden
- #line 776 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 779 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', (level) * 4)));
#line default
#line hidden
- #line 776 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 779 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteValue(");
#line default
#line hidden
- #line 776 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 779 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(innerListItemVariable));
#line default
#line hidden
- #line 776 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 779 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(");\r\n");
#line default
#line hidden
- #line 777 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 780 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', (level) * 4)));
#line default
#line hidden
- #line 777 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 780 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t\txmlWriter.WriteEndElement();\r\n");
#line default
#line hidden
- #line 778 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 781 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
if (innerShape != null && innerShape.Shape.IsList)
{
@@ -4573,21 +4581,21 @@ protected void ProcessNestedList(int level, string variableName, Member innerMem
#line default
#line hidden
- #line 784 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 787 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', (level) * 4)));
#line default
#line hidden
- #line 784 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 787 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\t}\r\n");
#line default
#line hidden
- #line 785 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 788 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
@@ -4595,7 +4603,7 @@ protected void ProcessNestedList(int level, string variableName, Member innerMem
#line default
#line hidden
- #line 788 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 791 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
// xsi is a common prefix in attributes, but it cannot be included in the local name itself as the xmlWriter class will throw an exception.
// Some services may model the xmlName, with the xsi prefix included like it is here https://github.com/smithy-lang/smithy/blob/7813acbfee4e90b589996ffcfa02fbe73785f654/smithy-aws-protocol-tests/model/restXmlWithNamespace/main.smithy#L147
@@ -4621,7 +4629,7 @@ protected void WriteXmlAttributeString(int level, Member member, string variable
#line default
#line hidden
- #line 809 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 812 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
if(isPayload)
{
@@ -4630,119 +4638,119 @@ protected void WriteXmlAttributeString(int level, Member member, string variable
#line default
#line hidden
- #line 813 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 816 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 813 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 816 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteAttributeString(\"");
#line default
#line hidden
- #line 813 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 816 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(prefix));
#line default
#line hidden
- #line 813 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 816 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",\"");
#line default
#line hidden
- #line 813 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 816 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(localName));
#line default
#line hidden
- #line 813 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 816 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",\"");
#line default
#line hidden
- #line 813 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 816 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.XmlNamespace));
#line default
#line hidden
- #line 813 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 816 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",");
#line default
#line hidden
- #line 813 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 816 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PrimitiveMarshaller));
#line default
#line hidden
- #line 813 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 816 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("(");
#line default
#line hidden
- #line 813 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 816 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName));
#line default
#line hidden
- #line 813 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 816 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(".");
#line default
#line hidden
- #line 813 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 816 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(operation.RequestPayloadMember.PropertyName));
#line default
#line hidden
- #line 813 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 816 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(".");
#line default
#line hidden
- #line 813 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 816 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
- #line 813 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 816 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("));\r\n");
#line default
#line hidden
- #line 814 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 817 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
else
@@ -4752,105 +4760,105 @@ protected void WriteXmlAttributeString(int level, Member member, string variable
#line default
#line hidden
- #line 819 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 822 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(new string(' ', level * 4)));
#line default
#line hidden
- #line 819 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 822 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\t\t\t\t\txmlWriter.WriteAttributeString(\"");
#line default
#line hidden
- #line 819 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 822 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(prefix));
#line default
#line hidden
- #line 819 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 822 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",\"");
#line default
#line hidden
- #line 819 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 822 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(localName));
#line default
#line hidden
- #line 819 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 822 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\", \"");
#line default
#line hidden
- #line 819 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 822 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.XmlNamespace));
#line default
#line hidden
- #line 819 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 822 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("\",");
#line default
#line hidden
- #line 819 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 822 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PrimitiveMarshaller));
#line default
#line hidden
- #line 819 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 822 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("(");
#line default
#line hidden
- #line 819 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 822 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(variableName));
#line default
#line hidden
- #line 819 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 822 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(".");
#line default
#line hidden
- #line 819 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 822 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
- #line 819 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 822 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
this.Write("));\r\n");
#line default
#line hidden
- #line 820 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
+ #line 823 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\Marshallers\RestXmlRequestMarshaller.tt"
}
}
diff --git a/generator/ServiceClientGeneratorLib/Generators/Marshallers/RestXmlRequestMarshaller.tt b/generator/ServiceClientGeneratorLib/Generators/Marshallers/RestXmlRequestMarshaller.tt
index e517734993b2..5d1bd59e41d3 100644
--- a/generator/ServiceClientGeneratorLib/Generators/Marshallers/RestXmlRequestMarshaller.tt
+++ b/generator/ServiceClientGeneratorLib/Generators/Marshallers/RestXmlRequestMarshaller.tt
@@ -94,6 +94,7 @@ namespace <#=this.Config.Namespace #>.Model.Internal.MarshallTransformations
else if(payload != null && !payload.Shape.IsStructure)
{
ProcessNonStructurePayload(payload, 3);
+ GenerateRequestChecksumHandling(this.Operation, "content");
}
#>
@@ -729,6 +730,8 @@ WriteXmlAttributeString(level + 1, member, variableName, isPayload: true, operat
{
#>
<#=new string(' ', level * 4)#>request.Content = Encoding.UTF8.GetBytes(<#=this.Operation.RequestPayloadMember.PrimitiveMarshaller#>(publicRequest.<#=this.Operation.RequestPayloadMember.PropertyName#>));
+<#+
+#>
<#=new string(' ', level * 4)#>request.Headers["Content-Type"] = "text/plain";
<#+
}
diff --git a/generator/ServiceClientGeneratorLib/Generators/SourceFiles/Exceptions/S3ExceptionConstructors.t4 b/generator/ServiceClientGeneratorLib/Generators/SourceFiles/Exceptions/S3ExceptionConstructors.t4
new file mode 100644
index 000000000000..f9b902653487
--- /dev/null
+++ b/generator/ServiceClientGeneratorLib/Generators/SourceFiles/Exceptions/S3ExceptionConstructors.t4
@@ -0,0 +1,13 @@
+ ///
+ /// Construct instance of <#=this.Structure.Name#>
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public <#=this.Structure.Name#>(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode, string amazonId2, string amazonCfId)
+ : base(message, innerException, errorType, errorCode, requestId, statusCode, amazonId2, amazonCfId) { }
\ No newline at end of file
diff --git a/generator/ServiceClientGeneratorLib/Generators/SourceFiles/StructureGenerator.cs b/generator/ServiceClientGeneratorLib/Generators/SourceFiles/StructureGenerator.cs
index 747e5f3bbf1e..5a811944525e 100644
--- a/generator/ServiceClientGeneratorLib/Generators/SourceFiles/StructureGenerator.cs
+++ b/generator/ServiceClientGeneratorLib/Generators/SourceFiles/StructureGenerator.cs
@@ -394,34 +394,39 @@ public override string TransformText()
// If the shape is a response then skip adding ContentLength because the property comes from the base class.
if (this.StructureType == StructureType.Response && member.PropertyName == "ContentLength")
continue;
-
+ if (this.Config.ServiceModel.Customizations.ExcludeMembers(this.Structure.Name) != null)
+ {
+ List excludeMembersList = this.Config.ServiceModel.Customizations.ExcludeMembers(this.Structure.Name);
+ if (excludeMembersList.Contains(member.ModeledName))
+ continue;
+ }
#line default
#line hidden
this.Write(" private ");
- #line 177 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 182 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.DetermineType()));
#line default
#line hidden
this.Write(" ");
- #line 177 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 182 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.VariableName));
#line default
#line hidden
- #line 177 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 182 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.IsCollection ? string.Format(" = AWSConfigs.InitializeCollections ? new {0}() : null;", member.DetermineType()) : ";"));
#line default
#line hidden
this.Write("\r\n");
- #line 178 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 183 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
@@ -430,7 +435,7 @@ public override string TransformText()
#line hidden
this.Write("\r\n");
- #line 182 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 187 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
AddSimpleRequestConstructors(this.ClassName, this.Structure, this.Config.Namespace);
@@ -445,14 +450,14 @@ public override string TransformText()
#line hidden
this.Write(" private RetryableDetails _retryableDetails = new RetryableDetails(");
- #line 191 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 196 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(exceptionShape.Throttling.ToString().ToLower()));
#line default
#line hidden
this.Write(");\r\n");
- #line 192 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 197 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
@@ -460,7 +465,7 @@ public override string TransformText()
#line hidden
this.Write("\r\n");
- #line 195 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 200 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
@@ -687,8 +692,45 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
this.Write(" }\r\n#endif\r\n");
this.Write("\r\n");
- #line 200 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 205 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+
+ if (this.BaseClass == "AmazonS3Exception")
+ {
+
+
+ #line default
+ #line hidden
+ this.Write(" /// \r\n /// Construct instance of ");
+
+ #line 2 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\.\Exceptions\S3ExceptionConstructors.t4"
+ this.Write(this.ToStringHelper.ToStringWithCulture(this.Structure.Name));
+
+ #line default
+ #line hidden
+ this.Write(@"
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public ");
+
+ #line 12 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\.\Exceptions\S3ExceptionConstructors.t4"
+ this.Write(this.ToStringHelper.ToStringWithCulture(this.Structure.Name));
+
+ #line default
+ #line hidden
+ this.Write(@"(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode, string amazonId2, string amazonCfId)
+ : base(message, innerException, errorType, errorCode, requestId, statusCode, amazonId2, amazonCfId) { }");
+ this.Write("\r\n");
+
+ #line 210 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ }
}
foreach(var member in this.Structure.Members)
@@ -703,7 +745,12 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
// If the shape is a response then skip adding ContentLength because the property comes from the base class.
if (this.StructureType == StructureType.Response && member.PropertyName == "ContentLength")
continue;
-
+ if (this.Config.ServiceModel.Customizations.ExcludeMembers(this.Structure.Name) != null)
+ {
+ List excludeMembersList = this.Config.ServiceModel.Customizations.ExcludeMembers(this.Structure.Name);
+ if (excludeMembersList.Contains(member.ModeledName))
+ continue;
+ }
string eventPublisherDocumentation = null;
if (this.StructureType == StructureType.Request && member.ModelShape.IsEventStream)
{
@@ -714,13 +761,13 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
#line default
#line hidden
- #line 222 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 238 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.FormatPropertyDocumentation(member, null, eventPublisherDocumentation, member.IsCollection);
#line default
#line hidden
- #line 223 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 239 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
if(member.IsDeprecated)
{
@@ -730,14 +777,14 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
#line hidden
this.Write(" [Obsolete(\"");
- #line 227 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 243 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.DeprecationMessage));
#line default
#line hidden
this.Write("\")]\r\n");
- #line 228 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 244 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
@@ -766,14 +813,14 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
#line hidden
this.Write(" [AWSProperty(");
- #line 251 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 267 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(string.Join(", ", propertyAttributes)));
#line default
#line hidden
this.Write(")]\r\n");
- #line 252 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 268 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
@@ -801,35 +848,35 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
#line hidden
this.Write(" ");
- #line 274 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 290 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.AccessModifier));
#line default
#line hidden
this.Write(" ");
- #line 274 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 290 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(memberModifier));
#line default
#line hidden
this.Write(" Func> ");
- #line 274 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 290 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
this.Write(" { get; set; }\r\n\r\n");
- #line 276 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 292 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
continue;
}
@@ -839,48 +886,48 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
#line hidden
this.Write(" ");
- #line 280 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 296 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.AccessModifier));
#line default
#line hidden
this.Write(" ");
- #line 280 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 296 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(memberModifier));
#line default
#line hidden
- #line 280 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 296 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.DetermineType()));
#line default
#line hidden
this.Write(" ");
- #line 280 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 296 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
this.Write("\r\n {\r\n get { return this.");
- #line 282 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 298 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.VariableName));
#line default
#line hidden
this.Write("; }\r\n set { this.");
- #line 283 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 299 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.VariableName));
#line default
#line hidden
this.Write(" = value; }\r\n }\r\n\r\n");
- #line 286 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 302 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
if (member.EmitIsSetProperties)
{
@@ -891,7 +938,7 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
this.Write(" /// \r\n /// This property is set to true if the property <" +
"seealso cref=\"");
- #line 291 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 307 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
@@ -904,7 +951,7 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
///
/// If this property is set to false the property \r\n /// True if the related property was set or will be sent " +
"to a service; false otherwise.\r\n /// \r\n");
- #line 303 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 319 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
if(member.IsDeprecated)
{
@@ -923,14 +970,14 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
#line hidden
this.Write(" [Obsolete(\"");
- #line 307 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 323 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.DeprecationMessage));
#line default
#line hidden
this.Write("\")]\r\n");
- #line 308 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 324 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
@@ -939,7 +986,7 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
#line hidden
this.Write(" public bool Is");
- #line 311 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 327 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
@@ -947,7 +994,7 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
this.Write("Set\r\n {\r\n get\r\n {\r\n return Amazon.Uti" +
"l.Internal.InternalSDKUtils.GetIsSet(this.");
- #line 315 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 331 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.VariableName));
#line default
@@ -955,14 +1002,14 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
this.Write(");\r\n }\r\n set\r\n {\r\n Amazon.Util.In" +
"ternal.InternalSDKUtils.SetIsSet(value, ref this.");
- #line 319 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 335 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.VariableName));
#line default
#line hidden
this.Write(");\r\n }\r\n }\r\n\r\n");
- #line 323 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 339 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
@@ -971,21 +1018,21 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
#line hidden
this.Write(" // Check to see if ");
- #line 326 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 342 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
this.Write(" property is set\r\n internal bool IsSet");
- #line 327 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 343 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
this.Write("()\r\n {\r\n");
- #line 329 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 345 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
if (member.EmitIsSetProperties)
{
@@ -995,14 +1042,14 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
#line hidden
this.Write(" return this.Is");
- #line 333 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 349 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.PropertyName));
#line default
#line hidden
this.Write("Set; \r\n");
- #line 334 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 350 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
else if (member.IsNullable)
@@ -1013,14 +1060,14 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
#line hidden
this.Write(" return this.");
- #line 339 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 355 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.VariableName));
#line default
#line hidden
this.Write(".HasValue; \r\n");
- #line 340 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 356 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
else if (member.IsList && (member.MarshallLocation == MarshallLocation.Header || member.MarshallLocation == MarshallLocation.Headers))
@@ -1037,14 +1084,14 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
#line hidden
this.Write(" return this.");
- #line 351 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 367 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.VariableName));
#line default
#line hidden
this.Write(" != null;\r\n");
- #line 352 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 368 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
else
@@ -1055,21 +1102,21 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
#line hidden
this.Write(" return this.");
- #line 357 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 373 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.VariableName));
#line default
#line hidden
this.Write(" != null && this.");
- #line 357 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 373 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.VariableName));
#line default
#line hidden
this.Write(".Count > 0;\r\n");
- #line 358 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 374 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
}
@@ -1081,21 +1128,21 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
#line hidden
this.Write(" return this.");
- #line 364 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 380 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.VariableName));
#line default
#line hidden
this.Write(" != null && (this.");
- #line 364 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 380 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.VariableName));
#line default
#line hidden
this.Write(".Count > 0 || !AWSConfigs.InitializeCollections); \r\n");
- #line 365 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 381 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
else if (member.IsDocument)
@@ -1106,14 +1153,14 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
#line hidden
this.Write(" return !this.");
- #line 370 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 386 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.VariableName));
#line default
#line hidden
this.Write(".IsNull();\r\n");
- #line 371 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 387 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
else
@@ -1125,14 +1172,14 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
#line hidden
this.Write(" return this.");
- #line 377 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 393 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.VariableName));
#line default
#line hidden
this.Write(" != null;\r\n");
- #line 378 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 394 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
@@ -1141,7 +1188,7 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
#line hidden
this.Write(" }\r\n\r\n");
- #line 383 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 399 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
@@ -1156,7 +1203,7 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
"\r\n protected override CoreChecksumResponseBehavior CoreChecksumMode\r\n " +
" {\r\n get\r\n {\r\n if (IsSet");
- #line 397 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 413 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(this.Operation.ChecksumConfiguration.RequestValidationModeMember));
#line default
@@ -1164,7 +1211,7 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
this.Write("())\r\n {\r\n return (CoreChecksumResponseBehavior)" +
"Enum.Parse(typeof(CoreChecksumResponseBehavior), this.");
- #line 399 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 415 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(this.Operation.ChecksumConfiguration.RequestValidationModeMember));
#line default
@@ -1172,7 +1219,7 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
this.Write(");\r\n }\r\n\r\n return CoreChecksumResponseBehavior.DISA" +
"BLED;\r\n }\r\n set { this.");
- #line 404 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 420 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(this.Operation.ChecksumConfiguration.RequestValidationModeMember));
#line default
@@ -1181,7 +1228,7 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
"cksumAlgorithm> _supportedChecksumAlgorithms = new List\r\n" +
" {\r\n ");
- #line 409 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 425 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(string.Join(", ", Operation.ChecksumConfiguration?.ResponseAlgorithms?.Select(s => $"CoreChecksumAlgorithm.{s}").ToArray())));
#line default
@@ -1190,7 +1237,7 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
"ections.ObjectModel.ReadOnlyCollection ChecksumResponseAl" +
"gorithms => _supportedChecksumAlgorithms.AsReadOnly();\r\n\r\n #endregion\r\n");
- #line 416 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 432 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
@@ -1216,7 +1263,7 @@ public override RetryableDetails Retryable
}
");
- #line 436 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 452 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
}
@@ -1231,7 +1278,7 @@ public override RetryableDetails Retryable
#line hidden
this.Write("\r\n");
- #line 446 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 462 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
if (this.StructureType == StructureType.Response && this.Operation.IsEventStreamInput)
@@ -1250,7 +1297,7 @@ void Amazon.Runtime.EventStreams.IEventInputStreamContextOwner.SetEventInputStre
#pragma warning restore CA1033
");
- #line 459 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 475 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
if (this.Structure != null && this.StructureType == StructureType.Response && this.Structure.Members.Any(member => member.Shape.IsStreaming || member.Shape.IsEventStream))
@@ -1284,7 +1331,7 @@ protected virtual void Dispose(bool disposing)
{
");
- #line 487 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 503 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
if (this.Structure != null)
{
@@ -1297,7 +1344,7 @@ protected virtual void Dispose(bool disposing)
this.Write(" this._eventInputStreamContext?.Dispose();\r\n this._" +
"eventInputStreamContext = null;\r\n");
- #line 495 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 511 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
@@ -1311,21 +1358,21 @@ protected virtual void Dispose(bool disposing)
#line hidden
this.Write(" this.");
- #line 503 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 519 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.VariableName));
#line default
#line hidden
this.Write("?.Dispose();\r\n this.");
- #line 504 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 520 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
this.Write(this.ToStringHelper.ToStringWithCulture(member.VariableName));
#line default
#line hidden
this.Write(" = null;\r\n");
- #line 505 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 521 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
}
@@ -1337,7 +1384,7 @@ protected virtual void Dispose(bool disposing)
this.Write(" }\r\n\r\n this._disposed = true;\r\n }\r\n\r\n #endr" +
"egion\r\n");
- #line 516 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 532 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
}
@@ -1348,7 +1395,7 @@ protected virtual void Dispose(bool disposing)
return this.GenerationEnvironment.ToString();
}
- #line 522 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
+ #line 538 "C:\Dev\Repos\aws-sdk-net-staging\generator\ServiceClientGeneratorLib\Generators\SourceFiles\StructureGenerator.tt"
// Set to true when the service model specifies a shape that should be wrapped in a response. ElastiCache CreateCacheCluster is an example of this.
public bool IsWrapped { get; set; }
diff --git a/generator/ServiceClientGeneratorLib/Generators/SourceFiles/StructureGenerator.tt b/generator/ServiceClientGeneratorLib/Generators/SourceFiles/StructureGenerator.tt
index ca926fdb54eb..628f61531657 100644
--- a/generator/ServiceClientGeneratorLib/Generators/SourceFiles/StructureGenerator.tt
+++ b/generator/ServiceClientGeneratorLib/Generators/SourceFiles/StructureGenerator.tt
@@ -172,7 +172,12 @@ namespace <#=this.Config.Namespace#>.Model
// If the shape is a response then skip adding ContentLength because the property comes from the base class.
if (this.StructureType == StructureType.Response && member.PropertyName == "ContentLength")
continue;
-
+ if (this.Config.ServiceModel.Customizations.ExcludeMembers(this.Structure.Name) != null)
+ {
+ List excludeMembersList = this.Config.ServiceModel.Customizations.ExcludeMembers(this.Structure.Name);
+ if (excludeMembersList.Contains(member.ModeledName))
+ continue;
+ }
#>
private <#=member.DetermineType()#> <#=member.VariableName#><#= member.IsCollection ? string.Format(" = AWSConfigs.InitializeCollections ? new {0}() : null;", member.DetermineType()) : ";"#>
<#
@@ -198,6 +203,12 @@ namespace <#=this.Config.Namespace#>.Model
<#@ include file=".\Exceptions\ExceptionConstructors.t4" once="true" #>
<#@ include file=".\Exceptions\ExceptionSerialization.t4" once="true" #>
<#
+ if (this.BaseClass == "AmazonS3Exception")
+ {
+#>
+<#@include file=".\Exceptions\S3ExceptionConstructors.t4" once="true"#>
+<#
+ }
}
foreach(var member in this.Structure.Members)
@@ -212,7 +223,12 @@ namespace <#=this.Config.Namespace#>.Model
// If the shape is a response then skip adding ContentLength because the property comes from the base class.
if (this.StructureType == StructureType.Response && member.PropertyName == "ContentLength")
continue;
-
+ if (this.Config.ServiceModel.Customizations.ExcludeMembers(this.Structure.Name) != null)
+ {
+ List excludeMembersList = this.Config.ServiceModel.Customizations.ExcludeMembers(this.Structure.Name);
+ if (excludeMembersList.Contains(member.ModeledName))
+ continue;
+ }
string eventPublisherDocumentation = null;
if (this.StructureType == StructureType.Request && member.ModelShape.IsEventStream)
{
diff --git a/generator/ServiceClientGeneratorLib/Operation.cs b/generator/ServiceClientGeneratorLib/Operation.cs
index 3378bb30a664..6e6dd374dc5e 100644
--- a/generator/ServiceClientGeneratorLib/Operation.cs
+++ b/generator/ServiceClientGeneratorLib/Operation.cs
@@ -302,6 +302,35 @@ public Member RequestPayloadMember
if (this.RequestStructure != null)
{
var payload = this.RequestStructure.PayloadMemberName;
+ // check to see if the payload member has been overridden by another member defined in the service customizations
+ // file. For example, the payload member could've been included in the "exclude" array and another member
+ // could've been injected.
+ // For example:
+ // "RestoreObjectRequest": {
+ // "exclude": ["RestoreRequest"],
+ // "inject": [
+ // {
+ // "Days": {
+ // "shape": "Days",
+ // "originalMember": "RestoreRequest"
+ // }
+ // }
+ // ]
+ // },
+ // The payload is "RestoreRequest" but it has been excluded via a customization. so we check for
+ // that scenario here.
+ if (this.model.Customizations.ShapeModifiers.TryGetValue(this.RequestStructure.Name, out var customization) && customization.IsExcludedProperty(payload))
+ {
+ foreach (var injectedProperty in customization.InjectedPropertyNames)
+ {
+ var propertyInjector = customization.InjectedPropertyData(injectedProperty);
+ if (string.Equals(propertyInjector.Data[CustomizationsModel.OriginalMemberKey].ToString(), payload, StringComparison.OrdinalIgnoreCase))
+ {
+ payload = injectedProperty;
+ break;
+ }
+ }
+ }
if (!string.IsNullOrWhiteSpace(payload))
{
return this.RequestStructure.Members.Single(m =>
diff --git a/generator/ServiceClientGeneratorLib/ServiceModel.cs b/generator/ServiceClientGeneratorLib/ServiceModel.cs
index 3c8c1abae1f2..881cfaa6ae08 100644
--- a/generator/ServiceClientGeneratorLib/ServiceModel.cs
+++ b/generator/ServiceClientGeneratorLib/ServiceModel.cs
@@ -503,23 +503,23 @@ public List S3AllowListOperations
new Operation(this, "GetObjectRetention", DocumentRoot[OperationsKey]["GetObjectRetention"]),
new Operation(this, "GetObjectTagging", DocumentRoot[OperationsKey]["GetObjectTagging"]),
new Operation(this, "GetPublicAccessBlock", DocumentRoot[OperationsKey]["GetPublicAccessBlock"]),
- //new Operation(this, "HeadBucket", DocumentRoot[OperationsKey]["HeadBucket"]),
+ new Operation(this, "HeadBucket", DocumentRoot[OperationsKey]["HeadBucket"]),
//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"]),
new Operation(this, "ListBuckets", DocumentRoot[OperationsKey]["ListBuckets"]),
new Operation(this, "ListDirectoryBuckets", DocumentRoot[OperationsKey]["ListDirectoryBuckets"]),
- //new Operation(this, "ListParts", DocumentRoot[OperationsKey]["ListParts"]),
+ new Operation(this, "ListParts", DocumentRoot[OperationsKey]["ListParts"]),
//new Operation(this, "PutBucketAccelerateConfiguration", DocumentRoot[OperationsKey]["PutBucketAccelerateConfiguration"]),
new Operation(this, "PutBucketEncryption", DocumentRoot[OperationsKey]["PutBucketEncryption"]),
new Operation(this, "PutBucketReplication", DocumentRoot[OperationsKey]["PutBucketReplication"]),
- //new Operation(this, "PutBucketPolicy", DocumentRoot[OperationsKey]["PutBucketPolicy"]),
- //new Operation(this, "PutObjectLegalHold", DocumentRoot[OperationsKey]["PutObjectLegalHold"]),
- //new Operation(this, "PutObjectLockConfiguration", DocumentRoot[OperationsKey]["PutObjectLockConfiguration"]),
- //new Operation(this, "PutObjectRetention", DocumentRoot[OperationsKey]["PutObjectRetention"]),
- //new Operation(this, "PutObjectTagging", DocumentRoot[OperationsKey]["PutObjectTagging"]),
- //new Operation(this, "PutPublicAccessBlock", DocumentRoot[OperationsKey]["PutPublicAccessBlock"]),
+ new Operation(this, "PutBucketPolicy", DocumentRoot[OperationsKey]["PutBucketPolicy"]),
+ new Operation(this, "PutObjectLegalHold", DocumentRoot[OperationsKey]["PutObjectLegalHold"]),
+ new Operation(this, "PutObjectLockConfiguration", DocumentRoot[OperationsKey]["PutObjectLockConfiguration"]),
+ new Operation(this, "PutObjectRetention", DocumentRoot[OperationsKey]["PutObjectRetention"]),
+ new Operation(this, "PutObjectTagging", DocumentRoot[OperationsKey]["PutObjectTagging"]),
+ new Operation(this, "PutPublicAccessBlock", DocumentRoot[OperationsKey]["PutPublicAccessBlock"]),
//new Operation(this, "RestoreObject", DocumentRoot[OperationsKey]["RestoreObject"]),
//new Operation(this, "SelectObjectContent", DocumentRoot[OperationsKey]["SelectObjectContent"])
};
@@ -544,7 +544,8 @@ public List S3AddParametersList
"ListBuckets",
"ListDirectoryBuckets",
"GetObjectLegalHold",
- "GetObjectRetention"
+ "GetObjectRetention",
+ "PutObjectRetention"
};
}
return _s3AddParametersList;
diff --git a/generator/ServiceModels/s3/s3.customizations.json b/generator/ServiceModels/s3/s3.customizations.json
index 2dbeb50f630e..316de5cd17cf 100644
--- a/generator/ServiceModels/s3/s3.customizations.json
+++ b/generator/ServiceModels/s3/s3.customizations.json
@@ -144,6 +144,13 @@
}
]
},
+ "Initiator": {
+ "modify":[
+ {
+ "ID": {"emitPropertyName" : "Id"}
+ }
+ ]
+ },
"LifecycleRule": {
"modify": [
{
@@ -391,10 +398,40 @@
},
"Payer":{
"renameShape": "string"
+ },
+ "Part":{
+ "renameShape": "PartDetail"
}
},
"overrideTreatEnumsAsString":{
"ObjectAttributesList": false
+ },
+ "dataTypeSwap":{
+ "ListPartsRequest":{
+ "PartNumberMarker":{
+ "Type" : "string",
+ "Marshaller" : "StringUtils.FromString",
+ "Unmarshaller" : "StringUnmarshaller"
+ }
+ },
+ "ListPartsOutput":{
+ "StorageClass":{
+ "Type": "string",
+ "Marshaller" : "StringUtils.FromString",
+ "Unmarshaller" : "StringUnmarshaller"
+ }
+ }
+ },
+ "excludeMembers":{
+ "PartDetail":[
+ "ChecksumCRC32",
+ "ChecksumCRC32C",
+ "ChecksumCRC64NVME",
+ "ChecksumSHA1",
+ "ChecksumSHA256",
+ "ETag",
+ "PartNumber",
+ ]
}
}
diff --git a/sdk/src/Services/S3/Custom/Model/HeadBucketRequest.cs b/sdk/src/Services/S3/Custom/Model/HeadBucketRequest.cs
deleted file mode 100644
index 3b57929adcb4..000000000000
--- a/sdk/src/Services/S3/Custom/Model/HeadBucketRequest.cs
+++ /dev/null
@@ -1,174 +0,0 @@
-/*
- * 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.
- */
-using System;
-using System.Collections.Generic;
-using System.Xml.Serialization;
-using System.Text;
-using System.IO;
-
-using Amazon.Runtime;
-using Amazon.Runtime.Internal;
-
-namespace Amazon.S3.Model
-{
- ///
- /// Container for the parameters to the HeadBucket operation.
- /// You can use this operation to determine if a bucket exists and if you have permission
- /// to access it. The action returns a 200 OK if the bucket exists and you have
- /// permission to access it.
- ///
- ///
- ///
- /// If the bucket does not exist or you do not have permission to access it, the HEAD
- /// request returns a generic 400 Bad Request, 403 Forbidden or 404 Not
- /// Found code. A message body is not included, so you cannot determine the exception
- /// beyond these HTTP response codes.
- ///
- ///
- ///
- /// Directory buckets - You must make requests for this API operation to the
- /// Zonal endpoint. These endpoints support virtual-hosted-style requests in the format
- /// https://bucket_name.s3express-az_id.region.amazonaws.com.
- /// Path-style requests are not supported. For more information, see Regional
- /// and Zonal endpoints in the Amazon S3 User Guide.
- ///
- /// - Authentication and authorization
-
- ///
- /// All HeadBucket requests must be authenticated and signed by using IAM credentials
- /// (access key ID and secret access key for the IAM identities). All headers with the
- /// x-amz- prefix, including x-amz-copy-source, must be signed. For more
- /// information, see REST
- /// Authentication.
- ///
- ///
- ///
- /// Directory bucket - You must use IAM credentials to authenticate and authorize
- /// your access to the HeadBucket API operation, instead of using the temporary
- /// security credentials through the CreateSession API operation.
- ///
- ///
- ///
- /// Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.
- ///
- ///
- Permissions
-
- HTTP Host header syntax
-
- ///
- /// Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com.
- ///
- ///
- ///
- public partial class HeadBucketRequest : AmazonWebServiceRequest
- {
- private string bucketName;
- private string expectedBucketOwner;
-
- ///
- /// Gets and sets the property BucketName.
- ///
- /// The bucket name.
- ///
- ///
- /// Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style
- /// requests in the format Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style
- /// requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket
- /// names must follow the format bucket-base-name--zone-id--x-s3 (for example, amzn-s3-demo-bucket--usw2-az1--x-s3). For
- /// information about bucket naming restrictions, see
- /// Directory bucket naming rules in
- /// the Amazon S3 User Guide.
- ///
- ///
- /// Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of
- /// the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for
- /// directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must
- /// direct requests to the access point hostname. The access point hostname takes the
- /// form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point
- /// through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about
- /// access point ARNs, see
- /// Using access points in
- /// the Amazon S3 User Guide. Object Lambda access points - When you use this API operation with an Object
- /// Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. If the Object Lambda access
- /// point alias in a request is not valid, the error code InvalidAccessPointAliasError is returned. For more information
- /// about InvalidAccessPointAliasError, see
- /// List of Error Codes.
- ///
- ///
- ///
- /// Object Lambda access points are not supported by directory buckets.
- ///
- ///
- ///
- /// S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The
- /// S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When
- /// you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For
- /// more information about S3 on Outposts, see
- /// What is S3 on Outposts? in the Amazon S3 User Guide.
- ///
- ///
- public string BucketName
- {
- get { return this.bucketName; }
- set { this.bucketName = value; }
- }
-
- // Check to see if BucketName property is set
- internal bool IsSetBucketName()
- {
- return this.bucketName != null;
- }
-
- ///
- /// Gets and sets the property ExpectedBucketOwner.
- ///
- /// The account ID of the expected bucket owner. If the account ID that you provide does
- /// not match the actual owner of the bucket, the request fails with the HTTP status code
- /// 403 Forbidden (access denied).
- ///
- ///
- public string ExpectedBucketOwner
- {
- get { return this.expectedBucketOwner; }
- set { this.expectedBucketOwner = value; }
- }
-
- // Check to see if ExpectedBucketOwner property is set
- internal bool IsSetExpectedBucketOwner()
- {
- return !String.IsNullOrEmpty(this.expectedBucketOwner);
- }
-
- }
-}
-
diff --git a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/HeadBucketRequestMarshaller.cs b/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/HeadBucketRequestMarshaller.cs
deleted file mode 100644
index cda08a5541aa..000000000000
--- a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/HeadBucketRequestMarshaller.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * 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.
- */
-
-using Amazon.Runtime.Internal;
-using Amazon.Runtime.Internal.Transform;
-using Amazon.S3.Util;
-
-#pragma warning disable 1591
-
-namespace Amazon.S3.Model.Internal.MarshallTransformations
-{
- ///
- /// Head Bucket Request Marshaller
- ///
- public class HeadBucketRequestMarshaller : IMarshaller, IMarshaller
- {
- public IRequest Marshall(Amazon.Runtime.AmazonWebServiceRequest input)
- {
- return this.Marshall((HeadBucketRequest)input);
- }
-
- public IRequest Marshall(HeadBucketRequest headBucketRequest)
- {
- IRequest request = new DefaultRequest(headBucketRequest, "AmazonS3");
-
- request.HttpMethod = "HEAD";
-
- if (headBucketRequest.IsSetExpectedBucketOwner())
- request.Headers.Add(S3Constants.AmzHeaderExpectedBucketOwner, S3Transforms.ToStringValue(headBucketRequest.ExpectedBucketOwner));
-
- if (string.IsNullOrEmpty(headBucketRequest.BucketName))
- throw new System.ArgumentException("BucketName is a required property and must be set before making this call.", "HeadBucketRequest.BucketName");
-
- request.ResourcePath = "/";
- request.UseQueryString = true;
-
- return request;
- }
-
- private static HeadBucketRequestMarshaller _instance;
-
- ///
- /// Singleton for marshaller
- ///
- public static HeadBucketRequestMarshaller Instance
- {
- get
- {
- if (_instance == null)
- {
- _instance = new HeadBucketRequestMarshaller();
- }
- return _instance;
- }
- }
- }
-}
-
diff --git a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/ListPartsRequestMarshaller.cs b/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/ListPartsRequestMarshaller.cs
index b249a67e8964..8c0f5d585a52 100644
--- a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/ListPartsRequestMarshaller.cs
+++ b/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/ListPartsRequestMarshaller.cs
@@ -25,69 +25,15 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
///
/// List Parts Request Marshaller
///
- public class ListPartsRequestMarshaller : IMarshaller ,IMarshaller
+ public partial class ListPartsRequestMarshaller : IMarshaller ,IMarshaller
{
- public IRequest Marshall(Amazon.Runtime.AmazonWebServiceRequest input)
- {
- return this.Marshall((ListPartsRequest)input);
- }
-
- public IRequest Marshall(ListPartsRequest listPartsRequest)
+ partial void PostMarshallCustomization(DefaultRequest defaultRequest, ListPartsRequest publicRequest)
{
- IRequest request = new DefaultRequest(listPartsRequest, "AmazonS3");
-
- if (listPartsRequest.IsSetRequestPayer())
- request.Headers.Add(S3Constants.AmzHeaderRequestPayer, S3Transforms.ToStringValue(listPartsRequest.RequestPayer.ToString()));
-
- if (listPartsRequest.IsSetExpectedBucketOwner())
- request.Headers.Add(S3Constants.AmzHeaderExpectedBucketOwner, S3Transforms.ToStringValue(listPartsRequest.ExpectedBucketOwner));
-
- request.HttpMethod = "GET";
-
- if (string.IsNullOrEmpty(listPartsRequest.BucketName))
- throw new System.ArgumentException("BucketName is a required property and must be set before making this call.", "ListPartsRequest.BucketName");
- if (string.IsNullOrEmpty(listPartsRequest.Key))
- throw new System.ArgumentException("Key is a required property and must be set before making this call.", "ListPartsRequest.Key");
- request.AddPathResource("{Key+}", S3Transforms.ToStringValue(listPartsRequest.Key));
- request.ResourcePath = "/{Key+}";
-
- if (listPartsRequest.IsSetUploadId())
- request.AddSubResource("uploadId", S3Transforms.ToStringValue(listPartsRequest.UploadId));
-
- if (listPartsRequest.IsSetMaxParts())
- request.Parameters.Add("max-parts", S3Transforms.ToStringValue(listPartsRequest.MaxParts.Value));
- if (listPartsRequest.IsSetPartNumberMarker())
- request.Parameters.Add("part-number-marker", S3Transforms.ToStringValue(listPartsRequest.PartNumberMarker));
- if (listPartsRequest.IsSetEncoding())
- request.Parameters.Add("encoding-type", S3Transforms.ToStringValue(listPartsRequest.Encoding));
- if (listPartsRequest.IsSetSSECustomerAlgorithm())
- request.Headers["x-amz-server-side-encryption-customer-algorithm"] = S3Transforms.ToStringValue(listPartsRequest.SSECustomerAlgorithm);
- if (listPartsRequest.IsSetSSECustomerKey())
- request.Headers["x-amz-server-side-encryption-customer-key"] = S3Transforms.ToStringValue(listPartsRequest.SSECustomerKey);
- if (listPartsRequest.IsSetSSECustomerKeyMD5())
- request.Headers["x-amz-server-side-encryption-customer-key-MD5"] = S3Transforms.ToStringValue(listPartsRequest.SSECustomerKeyMD5);
-
- request.UseQueryString = true;
-
- return request;
+ if (publicRequest.IsSetEncoding())
+ {
+ defaultRequest.Parameters.Add("encoding-type", S3Transforms.ToStringValue(publicRequest.Encoding));
+ }
}
-
- private static ListPartsRequestMarshaller _instance;
-
- ///
- /// Singleton for marshaller
- ///
- public static ListPartsRequestMarshaller Instance
- {
- get
- {
- if (_instance == null)
- {
- _instance = new ListPartsRequestMarshaller();
- }
- return _instance;
- }
- }
}
}
diff --git a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/ListPartsResponseUnmarshaller.cs b/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/ListPartsResponseUnmarshaller.cs
deleted file mode 100644
index dc3f6d67b96c..000000000000
--- a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/ListPartsResponseUnmarshaller.cs
+++ /dev/null
@@ -1,179 +0,0 @@
-/*
- * 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.
- */
-using System;
-using System.Net;
-using System.Collections.Generic;
-using Amazon.S3.Model;
-using Amazon.Runtime;
-using Amazon.Runtime.Internal;
-using Amazon.Runtime.Internal.Transform;
-using Amazon.S3.Util;
-using Amazon.Util;
-
-namespace Amazon.S3.Model.Internal.MarshallTransformations
-{
- ///
- /// Response Unmarshaller for ListParts operation
- ///
- public class ListPartsResponseUnmarshaller : S3ReponseUnmarshaller
- {
- ///
- /// Unmarshaller the response from the service to the response class.
- ///
- ///
- ///
- public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
- {
- ListPartsResponse response = new ListPartsResponse();
-
- while (context.Read())
- {
- if (context.IsStartElement)
- {
- UnmarshallResult(context,response);
- continue;
- }
- }
-
-
- return response;
- }
-
- private static void UnmarshallResult(XmlUnmarshallerContext context,ListPartsResponse response)
- {
-
- int originalDepth = context.CurrentDepth;
- int targetDepth = originalDepth + 1;
-
- if (context.IsStartOfDocument)
- targetDepth += 2;
-
- while (context.Read())
- {
- if (context.IsStartElement || context.IsAttribute)
- {
- if (context.TestExpression("Bucket", targetDepth))
- {
- response.BucketName = StringUnmarshaller.GetInstance().Unmarshall(context);
-
- continue;
- }
- if (context.TestExpression("Key", targetDepth))
- {
- response.Key = StringUnmarshaller.GetInstance().Unmarshall(context);
-
- continue;
- }
- if (context.TestExpression("UploadId", targetDepth))
- {
- response.UploadId = StringUnmarshaller.GetInstance().Unmarshall(context);
-
- continue;
- }
- if (context.TestExpression("PartNumberMarker", targetDepth))
- {
- response.PartNumberMarker = IntUnmarshaller.GetInstance().Unmarshall(context);
-
- continue;
- }
- if (context.TestExpression("NextPartNumberMarker", targetDepth))
- {
- response.NextPartNumberMarker = IntUnmarshaller.GetInstance().Unmarshall(context);
-
- continue;
- }
- if (context.TestExpression("MaxParts", targetDepth))
- {
- response.MaxParts = IntUnmarshaller.GetInstance().Unmarshall(context);
-
- continue;
- }
- if (context.TestExpression("IsTruncated", targetDepth))
- {
- response.IsTruncated = BoolUnmarshaller.GetInstance().Unmarshall(context);
-
- continue;
- }
- if (context.TestExpression("Part", targetDepth))
- {
- if (response.Parts == null)
- {
- response.Parts = new List();
- }
- response.Parts.Add(PartDetailUnmarshaller.Instance.Unmarshall(context));
- continue;
- }
- if (context.TestExpression("Initiator", targetDepth))
- {
- response.Initiator = InitiatorUnmarshaller.Instance.Unmarshall(context);
-
- continue;
- }
- if (context.TestExpression("ChecksumAlgorithm", targetDepth))
- {
- response.ChecksumAlgorithm = StringUnmarshaller.GetInstance().Unmarshall(context);
- continue;
- }
- if (context.TestExpression("Owner", targetDepth))
- {
- response.Owner = OwnerUnmarshaller.Instance.Unmarshall(context);
-
- continue;
- }
- if (context.TestExpression("StorageClass", targetDepth))
- {
- response.StorageClass = StringUnmarshaller.GetInstance().Unmarshall(context);
-
- continue;
- }
- }
- else if (context.IsEndElement && context.CurrentDepth < originalDepth)
- {
- return;
- }
- }
-
- IWebResponseData responseData = context.ResponseData;
- if (responseData.IsHeaderPresent(HeaderKeys.XAmzAbortDateHeader))
- response.AbortDate = S3Transforms.ToDateTime(responseData.GetHeaderValue(HeaderKeys.XAmzAbortDateHeader));
- if (responseData.IsHeaderPresent(HeaderKeys.XAmzAbortRuleIdHeader))
- response.AbortRuleId = S3Transforms.ToString(responseData.GetHeaderValue(HeaderKeys.XAmzAbortRuleIdHeader));
- if (responseData.IsHeaderPresent(S3Constants.AmzHeaderRequestCharged))
- response.RequestCharged = RequestCharged.FindValue(responseData.GetHeaderValue(S3Constants.AmzHeaderRequestCharged));
- if (responseData.IsHeaderPresent(S3Constants.AmzHeaderChecksumType))
- response.ChecksumType = ChecksumType.FindValue(responseData.GetHeaderValue(S3Constants.AmzHeaderChecksumType));
-
- return;
- }
-
- private static ListPartsResponseUnmarshaller _instance;
-
- ///
- /// Singleton for the unmarshaller
- ///
- public static ListPartsResponseUnmarshaller Instance
- {
- get
- {
- if (_instance == null)
- {
- _instance = new ListPartsResponseUnmarshaller();
- }
- return _instance;
- }
- }
- }
-}
-
diff --git a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutBucketPolicyRequestMarshaller.cs b/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutBucketPolicyRequestMarshaller.cs
deleted file mode 100644
index ecdacd03cb72..000000000000
--- a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutBucketPolicyRequestMarshaller.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- * 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.
- */
-
-using System.IO;
-using System.Text;
-using Amazon.Runtime.Internal;
-using Amazon.Runtime.Internal.Transform;
-using Amazon.Runtime.Internal.Util;
-using Amazon.S3.Util;
-using Amazon.Util;
-
-#pragma warning disable 1591
-
-namespace Amazon.S3.Model.Internal.MarshallTransformations
-{
- ///
- /// Put Bucket Policy Request Marshaller
- ///
- public class PutBucketPolicyRequestMarshaller : IMarshaller ,IMarshaller
- {
- public IRequest Marshall(Amazon.Runtime.AmazonWebServiceRequest input)
- {
- return this.Marshall((PutBucketPolicyRequest)input);
- }
-
- public IRequest Marshall(PutBucketPolicyRequest putBucketPolicyRequest)
- {
- IRequest request = new DefaultRequest(putBucketPolicyRequest, "AmazonS3");
-
- request.HttpMethod = "PUT";
-
- if (putBucketPolicyRequest.IsSetChecksumAlgorithm())
- request.Headers.Add(S3Constants.AmzHeaderSdkChecksumAlgorithm, S3Transforms.ToStringValue(putBucketPolicyRequest.ChecksumAlgorithm));
- if (putBucketPolicyRequest.IsSetContentMD5())
- request.Headers.Add(HeaderKeys.ContentMD5Header, S3Transforms.ToStringValue(putBucketPolicyRequest.ContentMD5));
- if (!request.Headers.ContainsKey(HeaderKeys.ContentTypeHeader))
- request.Headers.Add(HeaderKeys.ContentTypeHeader, "text/plain");
- if (putBucketPolicyRequest.IsSetConfirmRemoveSelfBucketAccess())
- request.Headers.Add(HeaderKeys.ConfirmSelfBucketAccess, S3Transforms.ToStringValue(putBucketPolicyRequest.ConfirmRemoveSelfBucketAccess.Value));
- if (putBucketPolicyRequest.IsSetExpectedBucketOwner())
- request.Headers.Add(S3Constants.AmzHeaderExpectedBucketOwner, S3Transforms.ToStringValue(putBucketPolicyRequest.ExpectedBucketOwner));
-
- if (string.IsNullOrEmpty(putBucketPolicyRequest.BucketName))
- throw new System.ArgumentException("BucketName is a required property and must be set before making this call.", "PutBucketPolicyRequest.BucketName");
-
- request.ResourcePath = "/";
-
- request.AddSubResource("policy");
-
- request.ContentStream = new MemoryStream(Encoding.UTF8.GetBytes(putBucketPolicyRequest.Policy));
-
- ChecksumUtils.SetChecksumData(
- request,
- putBucketPolicyRequest.ChecksumAlgorithm,
- fallbackToMD5: false,
- isRequestChecksumRequired: true,
- headerName: S3Constants.AmzHeaderSdkChecksumAlgorithm
- );
-
- return request;
- }
-
- private static PutBucketPolicyRequestMarshaller _instance;
-
- ///
- /// Singleton for marshaller
- ///
- public static PutBucketPolicyRequestMarshaller Instance
- {
- get
- {
- if (_instance == null)
- {
- _instance = new PutBucketPolicyRequestMarshaller();
- }
- return _instance;
- }
- }
- }
-}
-
diff --git a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutBucketPolicyResponseUnmarshaller.cs b/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutBucketPolicyResponseUnmarshaller.cs
deleted file mode 100644
index d1ff5f216086..000000000000
--- a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutBucketPolicyResponseUnmarshaller.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * 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.
- */
-using System;
-using System.Net;
-using System.Collections.Generic;
-using Amazon.S3.Model;
-using Amazon.Runtime;
-using Amazon.Runtime.Internal;
-using Amazon.Runtime.Internal.Transform;
-
-namespace Amazon.S3.Model.Internal.MarshallTransformations
-{
- ///
- /// Response Unmarshaller for PutBucketPolicy operation
- ///
- public class PutBucketPolicyResponseUnmarshaller : S3ReponseUnmarshaller
- {
- ///
- /// Unmarshaller the response from the service to the response class.
- ///
- ///
- ///
- public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
- {
- PutBucketPolicyResponse response = new PutBucketPolicyResponse();
-
-
- return response;
- }
-
- private static PutBucketPolicyResponseUnmarshaller _instance;
-
- ///
- /// Singleton for the unmarshaller
- ///
- public static PutBucketPolicyResponseUnmarshaller Instance
- {
- get
- {
- if (_instance == null)
- {
- _instance = new PutBucketPolicyResponseUnmarshaller();
- }
- return _instance;
- }
- }
- }
-}
-
diff --git a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectTaggingRequestMarshaller.cs b/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectTaggingRequestMarshaller.cs
deleted file mode 100644
index 479e0e42a070..000000000000
--- a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectTaggingRequestMarshaller.cs
+++ /dev/null
@@ -1,108 +0,0 @@
-/*
- * 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.
- */
-
-using Amazon.Runtime;
-using Amazon.Runtime.Internal;
-using Amazon.Runtime.Internal.Transform;
-using System.Globalization;
-using System.Text;
-using Amazon.Util;
-using Amazon.S3.Util;
-using Amazon.Runtime.Internal.Util;
-
-namespace Amazon.S3.Model.Internal.MarshallTransformations
-{
- ///
- /// Delete Object Tagging Request Marshaller
- ///
- public class PutObjectTaggingRequestMarshaller : IMarshaller, IMarshaller
- {
- ///
- /// Marshall PutObjectTaggingRequest into an http request.
- ///
- public IRequest Marshall(Amazon.Runtime.AmazonWebServiceRequest input)
- {
- return this.Marshall((PutObjectTaggingRequest)input);
- }
-
- ///
- /// Marshall PutObjectTaggingRequest into an http request.
- ///
- public IRequest Marshall(PutObjectTaggingRequest putObjectTaggingRequest)
- {
- IRequest request = new DefaultRequest(putObjectTaggingRequest, "AmazonS3");
-
- request.HttpMethod = "PUT";
-
- if (putObjectTaggingRequest.IsSetChecksumAlgorithm())
- request.Headers.Add(S3Constants.AmzHeaderSdkChecksumAlgorithm, S3Transforms.ToStringValue(putObjectTaggingRequest.ChecksumAlgorithm));
- if (putObjectTaggingRequest.IsSetExpectedBucketOwner())
- request.Headers.Add(S3Constants.AmzHeaderExpectedBucketOwner, S3Transforms.ToStringValue(putObjectTaggingRequest.ExpectedBucketOwner));
- if (putObjectTaggingRequest.IsSetRequestPayer())
- request.Headers.Add(S3Constants.AmzHeaderRequestPayer, S3Transforms.ToStringValue(putObjectTaggingRequest.RequestPayer));
-
- if (string.IsNullOrEmpty(putObjectTaggingRequest.BucketName))
- throw new System.ArgumentException("BucketName is a required property and must be set before making this call.", "PutObjectTaggingRequest.BucketName");
- if (string.IsNullOrEmpty(putObjectTaggingRequest.Key))
- throw new System.ArgumentException("Key is a required property and must be set before making this call.", "PutObjectTaggingRequest.Key");
-
- request.AddPathResource("{Key+}", putObjectTaggingRequest.Key);
- request.ResourcePath = "/{Key+}";
- request.AddSubResource("tagging");
-
- if (putObjectTaggingRequest.IsSetVersionId())
- request.AddSubResource("versionId", putObjectTaggingRequest.VersionId);
-
- try
- {
- var content = AmazonS3Util.SerializeTaggingToXml(putObjectTaggingRequest.Tagging);
- request.Content = Encoding.UTF8.GetBytes(content);
- request.Headers[HeaderKeys.ContentTypeHeader] = "application/xml";
-
- ChecksumUtils.SetChecksumData(
- request,
- putObjectTaggingRequest.ChecksumAlgorithm,
- fallbackToMD5: false,
- isRequestChecksumRequired: true,
- headerName: S3Constants.AmzHeaderSdkChecksumAlgorithm
- );
- }
- catch (EncoderFallbackException e)
- {
- throw new AmazonServiceException("Unable to marhsall request to XML", e);
- }
-
- return request;
- }
-
- private static PutObjectTaggingRequestMarshaller _instance;
-
- ///
- /// Singleton for marshaller
- ///
- public static PutObjectTaggingRequestMarshaller Instance
- {
- get
- {
- if (_instance == null)
- {
- _instance = new PutObjectTaggingRequestMarshaller();
- }
- return _instance;
- }
- }
- }
-}
-
diff --git a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectTaggingResponseUnmarshaller.cs b/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectTaggingResponseUnmarshaller.cs
deleted file mode 100644
index 9bede3703f60..000000000000
--- a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectTaggingResponseUnmarshaller.cs
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * 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.
- */
-using Amazon.Runtime;
-using Amazon.Runtime.Internal.Transform;
-
-namespace Amazon.S3.Model.Internal.MarshallTransformations
-{
- ///
- /// Response Unmarshaller for DeleteObjectTagging operation
- ///
- public class PutObjectTaggingResponseUnmarshaller : S3ReponseUnmarshaller
- {
- ///
- /// Unmarshaller the response from the service to the response class.
- ///
- ///
- ///
- public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
- {
- PutObjectTaggingResponse response = new PutObjectTaggingResponse();
-
- UnmarshallResult(context, response);
-
- return response;
- }
-
- private static void UnmarshallResult(XmlUnmarshallerContext context, PutObjectTaggingResponse response)
- {
- IWebResponseData responseData = context.ResponseData;
- if (responseData.IsHeaderPresent("x-amz-version-id"))
- response.VersionId = S3Transforms.ToString(responseData.GetHeaderValue("x-amz-version-id"));
- return;
- }
-
- private static PutObjectTaggingResponseUnmarshaller _instance;
-
- ///
- /// Singleton for the unmarshaller
- ///
- public static PutObjectTaggingResponseUnmarshaller Instance
- {
- get
- {
- if (_instance == null)
- {
- _instance = new PutObjectTaggingResponseUnmarshaller();
- }
- return _instance;
- }
- }
- }
-}
-
diff --git a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutPublicAccessBlockRequestMarshaller.cs b/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutPublicAccessBlockRequestMarshaller.cs
deleted file mode 100644
index 978a77f85c8d..000000000000
--- a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutPublicAccessBlockRequestMarshaller.cs
+++ /dev/null
@@ -1,126 +0,0 @@
-/*
- * 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.
- */
-
-using System.IO;
-using System.Xml;
-using System.Text;
-using Amazon.S3.Util;
-using Amazon.Runtime;
-using Amazon.Runtime.Internal;
-using Amazon.Runtime.Internal.Transform;
-using System.Globalization;
-using Amazon.Util;
-using Amazon.Runtime.Internal.Util;
-
-#pragma warning disable 1591
-
-namespace Amazon.S3.Model.Internal.MarshallTransformations
-{
- ///
- /// PutPublicAccessBlock Request Marshaller
- ///
- public class PutPublicAccessBlockRequestMarshaller : IMarshaller, IMarshaller
- {
- public IRequest Marshall(Amazon.Runtime.AmazonWebServiceRequest input)
- {
- return this.Marshall((PutPublicAccessBlockRequest)input);
- }
-
- public IRequest Marshall(PutPublicAccessBlockRequest putPutPublicAccessBlockRequest)
- {
- IRequest request = new DefaultRequest(putPutPublicAccessBlockRequest, "AmazonS3");
-
- request.HttpMethod = "PUT";
-
- if (putPutPublicAccessBlockRequest.IsSetChecksumAlgorithm())
- request.Headers.Add(S3Constants.AmzHeaderSdkChecksumAlgorithm, S3Transforms.ToStringValue(putPutPublicAccessBlockRequest.ChecksumAlgorithm));
-
- if (putPutPublicAccessBlockRequest.IsSetExpectedBucketOwner())
- request.Headers.Add(S3Constants.AmzHeaderExpectedBucketOwner, S3Transforms.ToStringValue(putPutPublicAccessBlockRequest.ExpectedBucketOwner));
-
- if (string.IsNullOrEmpty(putPutPublicAccessBlockRequest.BucketName))
- throw new System.ArgumentException("BucketName is a required property and must be set before making this call.", "putPutPublicAccessBlockRequest.BucketName");
-
- request.ResourcePath = "/";
-
- request.AddSubResource("publicAccessBlock");
-
- var stringWriter = new XMLEncodedStringWriter(System.Globalization.CultureInfo.InvariantCulture);
- using (var xmlWriter = XmlWriter.Create(stringWriter, new XmlWriterSettings(){ Encoding = Encoding.UTF8, OmitXmlDeclaration = true, NewLineHandling = NewLineHandling.Entitize }))
- {
- var publicAccessBlockConfiguration = putPutPublicAccessBlockRequest.PublicAccessBlockConfiguration;
- if (publicAccessBlockConfiguration != null)
- {
- xmlWriter.WriteStartElement("PublicAccessBlockConfiguration", S3Constants.S3RequestXmlNamespace);
- if (publicAccessBlockConfiguration.IsSetBlockPublicAcls())
- {
- xmlWriter.WriteElementString("BlockPublicAcls", S3Transforms.ToXmlStringValue(publicAccessBlockConfiguration.BlockPublicAcls.Value));
- }
- if (publicAccessBlockConfiguration.IsSetIgnorePublicAcls())
- {
- xmlWriter.WriteElementString("IgnorePublicAcls", S3Transforms.ToXmlStringValue(publicAccessBlockConfiguration.IgnorePublicAcls.Value));
- }
- if (publicAccessBlockConfiguration.IsSetBlockPublicPolicy())
- {
- xmlWriter.WriteElementString("BlockPublicPolicy", S3Transforms.ToXmlStringValue(publicAccessBlockConfiguration.BlockPublicPolicy.Value));
- }
- if (publicAccessBlockConfiguration.IsSetRestrictPublicBuckets())
- {
- xmlWriter.WriteElementString("RestrictPublicBuckets", S3Transforms.ToXmlStringValue(publicAccessBlockConfiguration.RestrictPublicBuckets.Value));
- }
- xmlWriter.WriteEndElement();
- }
- }
- try
- {
- var content = stringWriter.ToString();
- request.Content = Encoding.UTF8.GetBytes(content);
- request.Headers[HeaderKeys.ContentTypeHeader] = "application/xml";
-
- ChecksumUtils.SetChecksumData(
- request,
- putPutPublicAccessBlockRequest.ChecksumAlgorithm,
- fallbackToMD5: false,
- isRequestChecksumRequired: true,
- headerName: S3Constants.AmzHeaderSdkChecksumAlgorithm
- );
- }
- catch (EncoderFallbackException e)
- {
- throw new AmazonServiceException("Unable to marshall request to XML", e);
- }
-
- return request;
- }
-
- private static PutPublicAccessBlockRequestMarshaller _instance;
-
- ///
- /// Singleton for marshaller
- ///
- public static PutPublicAccessBlockRequestMarshaller Instance
- {
- get
- {
- if (_instance == null)
- {
- _instance = new PutPublicAccessBlockRequestMarshaller();
- }
- return _instance;
- }
- }
- }
-}
-
diff --git a/sdk/src/Services/S3/Custom/Model/ListPartsRequest.cs b/sdk/src/Services/S3/Custom/Model/ListPartsRequest.cs
index 471ef211cb96..ef139bd8746e 100644
--- a/sdk/src/Services/S3/Custom/Model/ListPartsRequest.cs
+++ b/sdk/src/Services/S3/Custom/Model/ListPartsRequest.cs
@@ -23,170 +23,9 @@
namespace Amazon.S3.Model
{
- ///
- /// Container for the parameters to the ListParts operation.
- /// Lists the parts that have been uploaded for a specific multipart upload.
- ///
- ///
- ///
- /// To use this operation, you must provide the upload ID in the request. You obtain
- /// this uploadID by sending the initiate multipart upload request through CreateMultipartUpload.
- ///
- ///
- ///
- /// The ListParts request returns a maximum of 1,000 uploaded parts. The limit
- /// of 1,000 parts is also the default value. You can restrict the number of parts in
- /// a response by specifying the max-parts request parameter. If your multipart
- /// upload consists of more than 1,000 parts, the response returns an IsTruncated
- /// field with the value of true, and a NextPartNumberMarker element. To
- /// list remaining uploaded parts, in subsequent ListParts requests, include the
- /// part-number-marker query string parameter and set its value to the NextPartNumberMarker
- /// field value from the previous response.
- ///
- ///
- ///
- /// For more information on multipart uploads, see Uploading
- /// Objects Using Multipart Upload in the Amazon S3 User Guide.
- ///
- ///
- ///
- /// Directory buckets - For directory buckets, you must make requests for this
- /// API operation to the Zonal endpoint. These endpoints support virtual-hosted-style
- /// requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
- /// . Path-style requests are not supported. For more information, see Regional
- /// and Zonal endpoints in the Amazon S3 User Guide.
- ///
- /// - Permissions
-
-
- ///
- /// General purpose bucket permissions - For information about permissions required
- /// to use the multipart upload API, see Multipart
- /// Upload and Permissions in the Amazon S3 User Guide.
- ///
- ///
- ///
- /// If the upload was created using server-side encryption with Key Management Service
- /// (KMS) keys (SSE-KMS) or dual-layer server-side encryption with Amazon Web Services
- /// KMS keys (DSSE-KMS), you must have permission to the kms:Decrypt action for
- /// the ListParts request to succeed.
- ///
- ///
-
- ///
- /// Directory bucket permissions - To grant access to this API operation on a
- /// directory bucket, we recommend that you use the
- /// CreateSession API operation for session-based authorization. Specifically,
- /// you grant the s3express:CreateSession permission to the directory bucket in
- /// a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
- /// API call on the bucket to obtain a session token. With the session token in your request
- /// header, you can make API requests to this operation. After the session token expires,
- /// you make another CreateSession API call to generate a new session token for
- /// use. Amazon Web Services CLI or SDKs create session and refresh the session token
- /// automatically to avoid service interruptions when a session expires. For more information
- /// about authorization, see
- /// CreateSession .
- ///
- ///
- HTTP Host header syntax
-
- ///
- /// Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com.
- ///
- ///
- ///
- /// The following operations are related to ListParts:
- ///
- ///
- ///
public partial class ListPartsRequest : AmazonWebServiceRequest
{
- private string bucketName;
private EncodingType encoding;
- private string expectedBucketOwner;
- private string key;
- private int? maxParts;
- private string partNumberMarker;
- private RequestPayer requestPayer;
- private string _sseCustomerAlgorithm;
- private string _sseCustomerKey;
- private string _sseCustomerKeyMD5;
- private string uploadId;
-
- ///
- /// Gets and sets the property BucketName.
- ///
- /// The name of the bucket to which the parts are being uploaded.
- ///
- ///
- /// Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the
- /// format Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not
- /// supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow
- /// the format bucket-base-name--zone-id--x-s3 (for example, amzn-s3-demo-bucket--usw2-az1--x-s3). For
- /// information about bucket naming restrictions, see
- /// Directory bucket naming rules in
- /// the Amazon S3 User Guide.
- ///
- ///
- /// Access points - When you use this action with an access point for general purpose buckets, you must provide the alias of
- /// the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point for
- /// directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you must
- /// direct requests to the access point hostname. The access point hostname takes the
- /// form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access
- /// point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information
- /// about access point ARNs, see
- /// Using access points in
- /// the Amazon S3 User Guide.
- ///
- ///
- ///
- /// Object Lambda access points are not supported by directory buckets.
- ///
- ///
- ///
- /// S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The
- /// S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When
- /// you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access point alias. For
- /// more information about S3 on Outposts, see
- /// What is S3 on Outposts? in the Amazon S3 User Guide.
- ///
- ///
- public string BucketName
- {
- get { return this.bucketName; }
- set { this.bucketName = value; }
- }
-
- // Check to see if BucketName property is set
- internal bool IsSetBucketName()
- {
- return this.bucketName != null;
- }
///
/// Encoding type used by Amazon S3 to encode the
@@ -211,209 +50,6 @@ internal bool IsSetEncoding()
{
return this.encoding != null;
}
-
- ///
- /// Gets and sets the property ExpectedBucketOwner.
- ///
- /// The account ID of the expected bucket owner. If the account ID that you provide does
- /// not match the actual owner of the bucket, the request fails with the HTTP status code
- /// 403 Forbidden (access denied).
- ///
- ///
- public string ExpectedBucketOwner
- {
- get { return this.expectedBucketOwner; }
- set { this.expectedBucketOwner = value; }
- }
-
- ///
- /// Checks to see if ExpectedBucketOwner is set.
- ///
- /// true, if ExpectedBucketOwner property is set.
- internal bool IsSetExpectedBucketOwner()
- {
- return !String.IsNullOrEmpty(this.expectedBucketOwner);
- }
-
- ///
- /// The object key for which the multipart upload was initiated.
- ///
- ///
- ///
- /// This property will be used as part of the resource path of the HTTP request. In .NET the System.Uri class
- /// is used to construct the uri for the request. The System.Uri class will canonicalize the uri string by compacting characters like "..".
- /// For example an object key of "foo/../bar/file.txt" will be transformed into "bar/file.txt" because the ".."
- /// is interpreted as use parent directory.
- ///
- ///
- /// Starting with .NET 8, the AWS .NET SDK disables System.Uri's feature of canonicalizing the resource path. This allows S3 keys like
- /// "foo/../bar/file.txt" to work correctly with the AWS .NET SDK.
- ///
- ///
- /// For further information view the documentation for the Uri class: https://docs.microsoft.com/en-us/dotnet/api/system.uri
- ///
- ///
- public string Key
- {
- get { return this.key; }
- set { this.key = value; }
- }
-
- // Check to see if Key property is set
- internal bool IsSetKey()
- {
- return this.key != null;
- }
-
- ///
- /// Gets and sets the property MaxParts.
- ///
- /// Sets the maximum number of parts to return.
- ///
- ///
- public int? MaxParts
- {
- get { return this.maxParts; }
- set { this.maxParts = value; }
- }
-
- // Check to see if MaxParts property is set
- internal bool IsSetMaxParts()
- {
- return this.maxParts.HasValue;
- }
-
- ///
- /// Gets and sets the property PartNumberMarker.
- ///
- /// Specifies the part after which listing should begin. Only parts with higher part numbers
- /// will be listed.
- ///
- ///
- public string PartNumberMarker
- {
- get { return this.partNumberMarker; }
- set { this.partNumberMarker = value; }
- }
-
- // Check to see if PartNumberMarker property is set
- internal bool IsSetPartNumberMarker()
- {
- return this.partNumberMarker != null;
- }
-
- ///
- /// Confirms that the requester knows that she or he will be charged for the request.
- /// Bucket owners need not specify this parameter in their requests.
- ///
- public RequestPayer RequestPayer
- {
- get { return this.requestPayer; }
- set { this.requestPayer = value; }
- }
-
- ///
- /// Checks to see if RequetsPayer is set.
- ///
- /// true, if RequestPayer property is set.
- internal bool IsSetRequestPayer()
- {
- return requestPayer != null;
- }
-
- ///
- /// Gets and sets the property SSECustomerAlgorithm.
- ///
- /// The SSE algorithm used to encrypt the object. This is only needed when the object
- /// was created using a checksum algorithm. For more information, see Protecting
- /// data using SSE-C keys in the Amazon S3 User Guide.
- ///
- ///
- ///
- /// This functionality is not supported for directory buckets.
- ///
- ///
- ///
- public string SSECustomerAlgorithm
- {
- get { return this._sseCustomerAlgorithm; }
- set { this._sseCustomerAlgorithm = value; }
- }
-
- // Check to see if SSECustomerAlgorithm property is set
- internal bool IsSetSSECustomerAlgorithm()
- {
- return this._sseCustomerAlgorithm != null;
- }
-
- ///
- /// Gets and sets the property SSECustomerKey.
- ///
- /// The SSE customer key. This is only needed when the object was cureated using a checksum
- /// algorithm. For more information, see Protecting
- /// data using SSE-C keys in the Amazon S3 User Guide.
- ///
- ///
- ///
- /// This functionality is not supported for directory buckets.
- ///
- ///
- ///
- public string SSECustomerKey
- {
- get { return this._sseCustomerKey; }
- set { this._sseCustomerKey = value; }
- }
-
- // Check to see if SSECustomerKey property is set
- internal bool IsSetSSECustomerKey()
- {
- return this._sseCustomerKey != null;
- }
-
- ///
- /// Gets and sets the property SSECustomerKeyMD5.
- ///
- /// The MD5 SSE customer key. This is only needed when the object was cureated using a
- /// checksum algorithm. For more information, see Protecting
- /// data using SSE-C keys in the Amazon S3 User Guide.
- ///
- ///
- ///
- /// This functionality is not supported for directory buckets.
- ///
- ///
- ///
- public string SSECustomerKeyMD5
- {
- get { return this._sseCustomerKeyMD5; }
- set { this._sseCustomerKeyMD5 = value; }
- }
-
- // Check to see if SSECustomerKeyMD5 property is set
- internal bool IsSetSSECustomerKeyMD5()
- {
- return this._sseCustomerKeyMD5 != null;
- }
-
- ///
- /// Gets and sets the property UploadId.
- ///
- /// Upload ID identifying the multipart upload whose parts are being listed.
- ///
- ///
- public string UploadId
- {
- get { return this.uploadId; }
- set { this.uploadId = value; }
- }
-
- // Check to see if UploadId property is set
- internal bool IsSetUploadId()
- {
- return this.uploadId != null;
- }
-
}
}
diff --git a/sdk/src/Services/S3/Custom/Model/PartDetail.cs b/sdk/src/Services/S3/Custom/Model/PartDetail.cs
index c7bb8ef9da2b..496e87566b1e 100644
--- a/sdk/src/Services/S3/Custom/Model/PartDetail.cs
+++ b/sdk/src/Services/S3/Custom/Model/PartDetail.cs
@@ -29,39 +29,7 @@ namespace Amazon.S3.Model
/// A container for elements related to a particular part in a multipart operation.
/// A response can contain zero or more Part elements.
///
- public class PartDetail : PartETag
+ public partial class PartDetail : PartETag
{
- private DateTime? lastModified;
- private long? size;
-
- ///
- /// The date and time at which the part was uploaded.
- ///
- public DateTime LastModified
- {
- get { return this.lastModified.GetValueOrDefault(); }
- set { this.lastModified = value; }
- }
-
- // Check to see if LastModified property is set
- internal bool IsLastModified()
- {
- return this.lastModified.HasValue;
- }
-
- ///
- /// The size of the uploaded part data.
- ///
- public long? Size
- {
- get { return this.size; }
- set { this.size = value; }
- }
-
- // Check to see if Size property is set
- internal bool IsSize()
- {
- return this.size.HasValue;
- }
}
}
diff --git a/sdk/src/Services/S3/Custom/Model/PutBucketPolicyRequest.cs b/sdk/src/Services/S3/Custom/Model/PutBucketPolicyRequest.cs
index b30c375b8858..6f9c62f2c174 100644
--- a/sdk/src/Services/S3/Custom/Model/PutBucketPolicyRequest.cs
+++ b/sdk/src/Services/S3/Custom/Model/PutBucketPolicyRequest.cs
@@ -23,255 +23,8 @@
namespace Amazon.S3.Model
{
- ///
- /// Container for the parameters to the PutBucketPolicy operation.
- /// Applies an Amazon S3 bucket policy to an Amazon S3 bucket.
- ///
- ///
- ///
- /// Directory buckets - For directory buckets, you must make requests for this
- /// API operation to the Regional endpoint. These endpoints support path-style requests
- /// in the format https://s3express-control.region_code.amazonaws.com/bucket-name
- /// . Virtual-hosted-style requests aren't supported. For more information, see Regional
- /// and Zonal endpoints in the Amazon S3 User Guide.
- ///
- /// - Permissions
-
- ///
- /// If you are using an identity other than the root user of the Amazon Web Services account
- /// that owns the bucket, the calling identity must both have the PutBucketPolicy
- /// permissions on the specified bucket and belong to the bucket owner's account in order
- /// to use this operation.
- ///
- ///
- ///
- /// If you don't have PutBucketPolicy permissions, Amazon S3 returns a 403 Access
- /// Denied error. If you have the correct permissions, but you're not using an identity
- /// that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not
- /// Allowed error.
- ///
- ///
- ///
- /// To ensure that bucket owners don't inadvertently lock themselves out of their own
- /// buckets, the root principal in a bucket owner's Amazon Web Services account can perform
- /// the GetBucketPolicy, PutBucketPolicy, and DeleteBucketPolicy
- /// API actions, even if their bucket policy explicitly denies the root principal's access.
- /// Bucket owner root principals can only be blocked from performing these API actions
- /// by VPC endpoint policies and Amazon Web Services Organizations policies.
- ///
- ///
-
- ///
- /// General purpose bucket permissions - The s3:PutBucketPolicy permission
- /// is required in a policy. For more information about general purpose buckets bucket
- /// policies, see Using
- /// Bucket Policies and User Policies in the Amazon S3 User Guide.
- ///
- ///
-
- ///
- /// Directory bucket permissions - To grant access to this API operation, you
- /// must have the s3express:PutBucketPolicy permission in an IAM identity-based
- /// policy instead of a bucket policy. Cross-account access to this API operation isn't
- /// supported. This operation can only be performed by the Amazon Web Services account
- /// that owns the resource. For more information about directory bucket policies and permissions,
- /// see Amazon
- /// Web Services Identity and Access Management (IAM) for S3 Express One Zone in the
- /// Amazon S3 User Guide.
- ///
- ///
- Example bucket policies
-
- ///
- /// General purpose buckets example bucket policies - See Bucket
- /// policy examples in the Amazon S3 User Guide.
- ///
- ///
- ///
- /// Directory bucket example bucket policies - See Example
- /// bucket policies for S3 Express One Zone in the Amazon S3 User Guide.
- ///
- ///
- HTTP Host header syntax
-
- ///
- /// Directory buckets - The HTTP Host header syntax is s3express-control.region.amazonaws.com.
- ///
- ///
- ///
- /// The following operations are related to PutBucketPolicy:
- ///
- ///
- ///
public partial class PutBucketPolicyRequest : AmazonWebServiceRequest
{
- private ChecksumAlgorithm _checksumAlgorithm;
- private bool? confirmRemoveSelfBucketAccess;
- private string expectedBucketOwner;
-
- ///
- /// Gets and sets the property BucketName.
- ///
- /// The name of the bucket.
- ///
- ///
- ///
- /// Directory buckets - When you use this operation with a directory bucket,
- /// you must use path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name
- /// . Virtual-hosted-style requests aren't supported. Directory bucket names must
- /// be unique in the chosen Availability Zone. Bucket names must also follow the format
- /// bucket_base_name--az_id--x-s3 (for example, amzn-s3-demo-bucket--usw2-az1--x-s3).
- /// For information about bucket naming restrictions, see Directory
- /// bucket naming rules in the Amazon S3 User Guide
- ///
- ///
- public string BucketName { get; set; }
-
- // Check to see if BucketName property is set
- internal bool IsSetBucket()
- {
- return this.BucketName != null;
- }
-
- ///
- /// Gets and sets the property ChecksumAlgorithm.
- ///
- /// Indicates the algorithm used to create the checksum for the object when you use the
- /// SDK. This header will not provide any additional functionality if you don't use the
- /// SDK. When you send this header, there must be a corresponding x-amz-checksum-algorithm
- /// or x-amz-trailer header sent. Otherwise, Amazon S3 fails the
- /// request with the HTTP status code 400 Bad Request.
- ///
- ///
- ///
- /// For the x-amz-checksum-algorithm header, replace algorithm
- /// with the supported algorithm from the following list:
- ///
- /// -
- ///
- /// CRC-32
- ///
- ///
-
- ///
- /// CRC-32C
- ///
- ///
-
- ///
- /// CRC-64NVME
- ///
- ///
-
- ///
- /// SHA-1
- ///
- ///
-
- ///
- /// SHA-256
- ///
- ///
- ///
- /// For more information, see Checking
- /// object integrity in the Amazon S3 User Guide.
- ///
- ///
- ///
- /// If the individual checksum value you provide through x-amz-checksum-algorithm
- /// doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm,
- /// Amazon S3 fails the request with a BadDigest error.
- ///
- ///
- ///
- /// For directory buckets, when you use Amazon Web Services SDKs, CRC32 is
- /// the default checksum algorithm that's used for performance.
- ///
- ///
- ///
- public ChecksumAlgorithm ChecksumAlgorithm
- {
- get { return this._checksumAlgorithm; }
- set { this._checksumAlgorithm = value; }
- }
-
- // Check to see if ChecksumAlgorithm property is set
- internal bool IsSetChecksumAlgorithm()
- {
- return this._checksumAlgorithm != null;
- }
-
- ///
- /// Gets and sets the property ContentMD5.
- ///
- /// The MD5 hash of the request body.
- ///
- ///
- ///
- /// For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon
- /// Web Services SDKs, this field is calculated automatically.
- ///
- ///
- ///
- /// This functionality is not supported for directory buckets.
- ///
- ///
- ///
- public string ContentMD5 { get; set; }
-
- // Check to see if ContentMD5 property is set
- internal bool IsSetContentMD5()
- {
- return this.ContentMD5 != null;
- }
-
- ///
- /// Gets and sets the property Policy.
- ///
- /// The bucket policy as a JSON document.
- ///
- ///
- ///
- /// For directory buckets, the only IAM action supported in the bucket policy is s3express:CreateSession.
- ///
- ///
- public string Policy { get; set; }
-
- // Check to see if Policy property is set
- internal bool IsSetPolicy()
- {
- return this.Policy != null;
- }
-
- ///
- /// Gets and sets the property ConfirmRemoveSelfBucketAccess.
- ///
- /// Set this parameter to true to confirm that you want to remove your permissions to
- /// change this bucket policy in the future.
- ///
- ///
- ///
- /// This functionality is not supported for directory buckets.
- ///
- ///
- ///
- public bool? ConfirmRemoveSelfBucketAccess
- {
- get
- {
- return this.confirmRemoveSelfBucketAccess;
- }
- set
- {
- this.confirmRemoveSelfBucketAccess = value;
- }
- }
- // Check to see if ConfirmRemoveSelfBucketAccess property is set
- internal bool IsSetConfirmRemoveSelfBucketAccess()
- {
- return this.confirmRemoveSelfBucketAccess.HasValue;
- }
-
///
/// Overriden to turn off sending SHA256 header.
///
@@ -282,35 +35,6 @@ protected override bool IncludeSHA256Header
return false;
}
}
-
- ///
- /// Gets and sets the property ExpectedBucketOwner.
- ///
- /// The account ID of the expected bucket owner. If the account ID that you provide does
- /// not match the actual owner of the bucket, the request fails with the HTTP status code
- /// 403 Forbidden (access denied).
- ///
- ///
- ///
- /// For directory buckets, this header is not supported in this API operation. If you
- /// specify this header, the request fails with the HTTP status code 501 Not Implemented.
- ///
- ///
- ///
- public string ExpectedBucketOwner
- {
- get { return this.expectedBucketOwner; }
- set { this.expectedBucketOwner = value; }
- }
-
- ///
- /// Checks to see if ExpectedBucketOwner is set.
- ///
- /// true, if ExpectedBucketOwner property is set.
- internal bool IsSetExpectedBucketOwner()
- {
- return !String.IsNullOrEmpty(this.expectedBucketOwner);
- }
}
}
diff --git a/sdk/src/Services/S3/Custom/Model/PutObjectTaggingRequest.cs b/sdk/src/Services/S3/Custom/Model/PutObjectTaggingRequest.cs
deleted file mode 100644
index 4ece968f1f69..000000000000
--- a/sdk/src/Services/S3/Custom/Model/PutObjectTaggingRequest.cs
+++ /dev/null
@@ -1,284 +0,0 @@
-/*
- * 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.
- */
-using System;
-using System.Collections.Generic;
-
-using Amazon.Runtime;
-
-namespace Amazon.S3.Model
-{
- ///
- /// Container for the parameters to the PutObjectTagging operation.
- ///
- ///
- /// This operation is not supported by directory buckets.
- ///
- ///
- ///
- /// Sets the supplied tag-set to an object that already exists in a bucket. A tag is a
- /// key-value pair. For more information, see Object
- /// Tagging.
- ///
- ///
- ///
- /// You can associate tags with an object by sending a PUT request against the tagging
- /// subresource that is associated with the object. You can retrieve tags by sending a
- /// GET request. For more information, see GetObjectTagging.
- ///
- ///
- ///
- /// For tagging-related restrictions related to characters and encodings, see Tag
- /// Restrictions. Note that Amazon S3 limits the maximum number of tags to 10 tags
- /// per object.
- ///
- ///
- ///
- /// To use this operation, you must have permission to perform the s3:PutObjectTagging
- /// action. By default, the bucket owner has this permission and can grant this permission
- /// to others.
- ///
- ///
- ///
- /// To put tags of any other version, use the versionId
query parameter.
- /// You also need permission for the s3:PutObjectVersionTagging
action.
- ///
- ///
- ///
- /// PutObjectTagging
has the following special errors. For more Amazon S3
- /// errors see, Error
- /// Responses.
- ///
- /// -
- ///
- ///
InvalidTag
- The tag provided was not a valid tag. This error can occur
- /// if the tag did not pass input validation. For more information, see Object
- /// Tagging.
- ///
- /// -
- ///
- ///
MalformedXML
- The XML provided does not match the schema.
- ///
- /// -
- ///
- ///
OperationAborted
- A conflicting conditional action is currently in
- /// progress against this resource. Please try again.
- ///
- /// -
- ///
- ///
InternalError
- The service was unable to apply the provided tag to
- /// the object.
- ///
- ///
- ///
- /// The following operations are related to PutObjectTagging
:
- ///
- ///
- ///
- public partial class PutObjectTaggingRequest : AmazonWebServiceRequest
- {
- private string bucketName;
- private ChecksumAlgorithm _checksumAlgorithm;
- private string expectedBucketOwner;
- private string key;
- private RequestPayer requestPayer;
- private Tagging tagging = new Tagging();
- private string versionId;
-
- ///
- /// Gets and sets the property BucketName.
- ///
- /// The bucket name containing the object.
- ///
- ///
- /// Access points - When you use this action with an access point for general purpose buckets, you must
- /// provide the alias of the access point in place of the bucket name or specify the access point ARN. When you
- /// use this action with an access point for directory buckets, you must provide the access point name in place
- /// of the bucket name. When using the access point ARN, you must direct requests to the access point hostname. The
- /// access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When
- /// using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN
- /// in place of the bucket name. For more information about access point ARNs, see
- /// Using access points in
- /// the Amazon S3 User Guide.
- ///
- ///
- /// S3 on Outposts - When you use this action with S3 on Outposts, you must direct requests to the S3 on Outposts
- /// hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When
- /// you use this action with S3 on Outposts, the destination bucket must be the Outposts access point ARN or the access
- /// point alias. For more information about S3 on Outposts, see
- /// What is S3 on Outposts? in
- /// the Amazon S3 User Guide.
- ///
- ///
- public string BucketName
- {
- get { return this.bucketName; }
- set { this.bucketName = value; }
- }
-
- ///
- /// Check to see if Bucket property is set
- ///
- internal bool IsSetBucket()
- {
- return this.bucketName != null;
- }
-
- ///
- /// Gets and sets the property ChecksumAlgorithm.
- ///
- /// Indicates the algorithm used to create the checksum for the object when you use the
- /// SDK. This header will not provide any additional functionality if you don't use the
- /// SDK. When you send this header, there must be a corresponding x-amz-checksum
- /// or x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request
- /// with the HTTP status code 400 Bad Request
. For more information, see
- /// Checking
- /// object integrity in the Amazon S3 User Guide.
- ///
- ///
- ///
- /// If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm
- /// parameter.
- ///
- ///
- public ChecksumAlgorithm ChecksumAlgorithm
- {
- get { return this._checksumAlgorithm; }
- set { this._checksumAlgorithm = value; }
- }
-
- // Check to see if ChecksumAlgorithm property is set
- internal bool IsSetChecksumAlgorithm()
- {
- return this._checksumAlgorithm != null;
- }
-
- ///
- /// Gets and sets the property ExpectedBucketOwner.
- ///
- /// The account ID of the expected bucket owner. If the account ID that you provide does
- /// not match the actual owner of the bucket, the request fails with the HTTP status code
- /// 403 Forbidden
(access denied).
- ///
- ///
- public string ExpectedBucketOwner
- {
- get { return this.expectedBucketOwner; }
- set { this.expectedBucketOwner = value; }
- }
-
- ///
- /// Checks to see if ExpectedBucketOwner is set.
- ///
- /// true, if ExpectedBucketOwner property is set.
- internal bool IsSetExpectedBucketOwner()
- {
- return !String.IsNullOrEmpty(this.expectedBucketOwner);
- }
-
- ///
- /// Gets and sets Key property. This key is used to identify the object in S3.
- ///
- ///
- ///
- /// This property will be used as part of the resource path of the HTTP request. In .NET the System.Uri class
- /// is used to construct the uri for the request. The System.Uri class will canonicalize the uri string by compacting characters like "..".
- /// For example an object key of "foo/../bar/file.txt" will be transformed into "bar/file.txt" because the ".."
- /// is interpreted as use parent directory.
- ///
- ///
- /// Starting with .NET 8, the AWS .NET SDK disables System.Uri's feature of canonicalizing the resource path. This allows S3 keys like
- /// "foo/../bar/file.txt" to work correctly with the AWS .NET SDK.
- ///
- ///
- /// For further information view the documentation for the Uri class: https://docs.microsoft.com/en-us/dotnet/api/system.uri
- ///
- ///
- public string Key
- {
- get { return this.key; }
- set { this.key = value; }
- }
-
- ///
- /// Check to see if Key property is set
- ///
- internal bool IsSetKey()
- {
- return this.key != null;
- }
-
- ///
- /// Confirms that the requester knows that they will be charged for the request.
- /// Bucket owners need not specify this parameter in their requests.
- ///
- public RequestPayer RequestPayer
- {
- get { return this.requestPayer; }
- set { this.requestPayer = value; }
- }
-
- internal bool IsSetRequestPayer()
- {
- return requestPayer != null;
- }
-
- ///
- /// The tag-set for the object. The tag-set must be encoded as URL Query parameters
- ///
- public Tagging Tagging
- {
- get { return this.tagging; }
- set { this.tagging = value; }
- }
-
- ///
- /// Checks if Tagging property is set.
- ///
- internal bool IsSetTagging()
- {
- return this.tagging != null;
- }
-
- ///
- /// Gets and sets the property VersionId.
- ///
- /// The versionId of the object that the tag-set will be added to.
- ///
- ///
- public string VersionId
- {
- get { return this.versionId; }
- set { this.versionId = value; }
- }
-
- // Check to see if VersionId property is set
- internal bool IsSetVersionId()
- {
- return !string.IsNullOrEmpty(this.versionId);
- }
-
- }
-}
-
diff --git a/sdk/src/Services/S3/Custom/Model/Tag.cs b/sdk/src/Services/S3/Custom/Model/Tag.cs
index f7897613bde5..e5962edfe043 100644
--- a/sdk/src/Services/S3/Custom/Model/Tag.cs
+++ b/sdk/src/Services/S3/Custom/Model/Tag.cs
@@ -39,40 +39,4 @@ internal void Marshall(string memberName, XmlWriter xmlWriter)
xmlWriter.WriteEndElement();
}
}
-
- ///
- /// Structure that contains list of Tags
- ///
- public class Tagging
- {
- private List tagSet = AWSConfigs.InitializeCollections ? new List() : null;
-
- ///
- /// TagSet
- ///
- public List TagSet
- {
- get { return this.tagSet; }
- set { this.tagSet = value; }
- }
-
- internal void Marshall(string memberName, XmlWriter xmlWriter)
- {
- xmlWriter.WriteStartElement(memberName);
- {
- xmlWriter.WriteStartElement("TagSet");
- {
- if (this.tagSet != null)
- {
- foreach (var tag in tagSet)
- {
- tag.Marshall("Tag", xmlWriter);
- }
- }
- }
- xmlWriter.WriteEndElement();
- }
- xmlWriter.WriteEndElement();
- }
- }
}
diff --git a/sdk/src/Services/S3/Custom/Model/Tagging.cs b/sdk/src/Services/S3/Custom/Model/Tagging.cs
new file mode 100644
index 000000000000..2ed77ff6e10a
--- /dev/null
+++ b/sdk/src/Services/S3/Custom/Model/Tagging.cs
@@ -0,0 +1,35 @@
+using System;
+using System.Collections.Generic;
+using System.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+using System.Xml;
+
+namespace Amazon.S3.Model
+{
+ public partial class Tagging
+ {
+ internal void Marshall(string memberName, XmlWriter xmlWriter)
+ {
+ xmlWriter.WriteStartElement(memberName);
+ {
+ xmlWriter.WriteStartElement("TagSet");
+ {
+ if (this._tagSet != null)
+ {
+ foreach (var tag in _tagSet)
+ {
+ tag.Marshall("Tag", xmlWriter);
+ }
+ }
+ }
+ xmlWriter.WriteEndElement();
+ }
+ xmlWriter.WriteEndElement();
+ }
+ }
+}
diff --git a/sdk/src/Services/S3/Generated/Model/HeadBucketRequest.cs b/sdk/src/Services/S3/Generated/Model/HeadBucketRequest.cs
new file mode 100644
index 000000000000..71925554d50a
--- /dev/null
+++ b/sdk/src/Services/S3/Generated/Model/HeadBucketRequest.cs
@@ -0,0 +1,192 @@
+/*
+ * 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.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+#pragma warning disable CS0612,CS0618,CS1570
+namespace Amazon.S3.Model
+{
+ ///
+ /// Container for the parameters to the HeadBucket operation.
+ /// You can use this operation to determine if a bucket exists and if you have permission
+ /// to access it. The action returns a 200 OK if the bucket exists and you have
+ /// permission to access it.
+ ///
+ ///
+ ///
+ /// If the bucket does not exist or you do not have permission to access it, the HEAD
+ /// request returns a generic 400 Bad Request, 403 Forbidden or 404 Not
+ /// Found code. A message body is not included, so you cannot determine the exception
+ /// beyond these HTTP response codes.
+ ///
+ /// - Authentication and authorization
-
+ ///
+ /// General purpose buckets - Request to public buckets that grant the s3:ListBucket
+ /// permission publicly do not need to be signed. All other HeadBucket requests
+ /// must be authenticated and signed by using IAM credentials (access key ID and secret
+ /// access key for the IAM identities). All headers with the x-amz- prefix, including
+ /// x-amz-copy-source, must be signed. For more information, see REST
+ /// Authentication.
+ ///
+ ///
+ ///
+ /// Directory buckets - You must use IAM credentials to authenticate and authorize
+ /// your access to the HeadBucket API operation, instead of using the temporary
+ /// security credentials through the CreateSession API operation.
+ ///
+ ///
+ ///
+ /// Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.
+ ///
+ ///
- Permissions
-
- HTTP Host header syntax
-
+ ///
+ /// Directory buckets - The HTTP Host header syntax is Bucket-name.s3express-zone-id.region-code.amazonaws.com.
+ ///
+ ///
+ ///
+ /// You must make requests for this API operation to the Zonal endpoint. These endpoints
+ /// support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com.
+ /// Path-style requests are not supported. For more information about endpoints in Availability
+ /// Zones, see Regional
+ /// and Zonal endpoints for directory buckets in Availability Zones in the Amazon
+ /// S3 User Guide. For more information about endpoints in Local Zones, see Concepts
+ /// for directory buckets in Local Zones in the Amazon S3 User Guide.
+ ///
+ ///
+ ///
+ public partial class HeadBucketRequest : AmazonWebServiceRequest
+ {
+ private string _bucketName;
+ private string _expectedBucketOwner;
+
+ ///
+ /// Gets and sets the property BucketName.
+ ///
+ /// The bucket name.
+ ///
+ ///
+ ///
+ /// Directory buckets - When you use this operation with a directory bucket, you
+ /// must use virtual-hosted-style requests in the format Bucket-name.s3express-zone-id.region-code.amazonaws.com.
+ /// Path-style requests are not supported. Directory bucket names must be unique in the
+ /// chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format
+ /// bucket-base-name--zone-id--x-s3 (for example, amzn-s3-demo-bucket--usw2-az1--x-s3).
+ /// For information about bucket naming restrictions, see Directory
+ /// bucket naming rules in the Amazon S3 User Guide.
+ ///
+ ///
+ ///
+ /// Access points - When you use this action with an access point for general
+ /// purpose buckets, you must provide the alias of the access point in place of the bucket
+ /// name or specify the access point ARN. When you use this action with an access point
+ /// for directory buckets, you must provide the access point name in place of the bucket
+ /// name. When using the access point ARN, you must direct requests to the access point
+ /// hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
+ /// When using this action with an access point through the Amazon Web Services SDKs,
+ /// you provide the access point ARN in place of the bucket name. For more information
+ /// about access point ARNs, see Using
+ /// access points in the Amazon S3 User Guide.
+ ///
+ ///
+ ///
+ /// Object Lambda access points - When you use this API operation with an Object
+ /// Lambda access point, provide the alias of the Object Lambda access point in place
+ /// of the bucket name. If the Object Lambda access point alias in a request is not valid,
+ /// the error code InvalidAccessPointAliasError is returned. For more information
+ /// about InvalidAccessPointAliasError, see List
+ /// of Error Codes.
+ ///
+ ///
+ ///
+ /// Object Lambda access points are not supported by directory buckets.
+ ///
+ ///
+ ///
+ /// S3 on Outposts - When you use this action with S3 on Outposts, you must direct
+ /// requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ /// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com.
+ /// When you use this action with S3 on Outposts, the destination bucket must be the Outposts
+ /// access point ARN or the access point alias. For more information about S3 on Outposts,
+ /// see What
+ /// is S3 on Outposts? in the Amazon S3 User Guide.
+ ///
+ ///
+ public string BucketName
+ {
+ get { return this._bucketName; }
+ set { this._bucketName = value; }
+ }
+
+ // Check to see if BucketName property is set
+ internal bool IsSetBucketName()
+ {
+ return this._bucketName != null;
+ }
+
+ ///
+ /// Gets and sets the property ExpectedBucketOwner.
+ ///
+ /// The account ID of the expected bucket owner. If the account ID that you provide does
+ /// not match the actual owner of the bucket, the request fails with the HTTP status code
+ /// 403 Forbidden (access denied).
+ ///
+ ///
+ public string ExpectedBucketOwner
+ {
+ get { return this._expectedBucketOwner; }
+ set { this._expectedBucketOwner = value; }
+ }
+
+ // Check to see if ExpectedBucketOwner property is set
+ internal bool IsSetExpectedBucketOwner()
+ {
+ return this._expectedBucketOwner != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Custom/Model/HeadBucketResponse.cs b/sdk/src/Services/S3/Generated/Model/HeadBucketResponse.cs
similarity index 89%
rename from sdk/src/Services/S3/Custom/Model/HeadBucketResponse.cs
rename to sdk/src/Services/S3/Generated/Model/HeadBucketResponse.cs
index 42fc92186f20..39313f858f38 100644
--- a/sdk/src/Services/S3/Custom/Model/HeadBucketResponse.cs
+++ b/sdk/src/Services/S3/Generated/Model/HeadBucketResponse.cs
@@ -12,27 +12,33 @@
* 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.Xml.Serialization;
using System.Text;
+using System.IO;
+using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
+#pragma warning disable CS0612,CS0618,CS1570
namespace Amazon.S3.Model
{
///
- /// Returns information about the HeadBucket response metadata.
- /// The HeadBucket operation has a void result type.
+ /// This is the response object from the HeadBucket operation.
///
public partial class HeadBucketResponse : AmazonWebServiceResponse
{
private bool? _accessPointAlias;
+ private string _bucketArn;
private string _bucketLocationName;
private LocationType _bucketLocationType;
private string _bucketRegion;
- private string _bucketArn;
///
/// Gets and sets the property AccessPointAlias.
@@ -41,7 +47,7 @@ public partial class HeadBucketResponse : AmazonWebServiceResponse
///
///
///
- /// For directory buckets, the value of this field is false
.
+ /// For directory buckets, the value of this field is false.
///
///
///
@@ -54,7 +60,34 @@ public bool? AccessPointAlias
// Check to see if AccessPointAlias property is set
internal bool IsSetAccessPointAlias()
{
- return this._accessPointAlias.HasValue;
+ return this._accessPointAlias.HasValue;
+ }
+
+ ///
+ /// Gets and sets the property BucketArn.
+ ///
+ /// The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify Amazon Web
+ /// Services resources across all of Amazon Web Services.
+ ///
+ ///
+ ///
+ /// This parameter is only supported for S3 directory buckets. For more information, see
+ /// Using
+ /// tags with directory buckets.
+ ///
+ ///
+ ///
+ [AWSProperty(Min=1, Max=128)]
+ public string BucketArn
+ {
+ get { return this._bucketArn; }
+ set { this._bucketArn = value; }
+ }
+
+ // Check to see if BucketArn property is set
+ internal bool IsSetBucketArn()
+ {
+ return this._bucketArn != null;
}
///
@@ -64,8 +97,8 @@ internal bool IsSetAccessPointAlias()
///
///
///
- /// For directory buckets, the AZ ID of the Availability Zone where the bucket is created.
- /// An example AZ ID value is usw2-az1.
+ /// For directory buckets, the Zone ID of the Availability Zone or the Local Zone where
+ /// the bucket is created. An example Zone ID value for an Availability Zone is usw2-az1.
///
///
///
@@ -114,7 +147,7 @@ internal bool IsSetBucketLocationType()
/// The Region that the bucket is located.
///
///
- [AWSProperty(Min = 0, Max = 20)]
+ [AWSProperty(Min=0, Max=20)]
public string BucketRegion
{
get { return this._bucketRegion; }
@@ -127,32 +160,5 @@ internal bool IsSetBucketRegion()
return this._bucketRegion != null;
}
- ///
- /// Gets and sets the property BucketArn.
- ///
- /// The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify Amazon Web
- /// Services resources across all of Amazon Web Services.
- ///
- ///
- ///
- /// This parameter is only supported for S3 directory buckets. For more information, see
- /// Using
- /// tags with directory buckets.
- ///
- ///
- ///
- [AWSProperty(Min=1, Max=128)]
- public string BucketArn
- {
- get { return this._bucketArn; }
- set { this._bucketArn = value; }
- }
-
- // Check to see if BucketArn property is set
- internal bool IsSetBucketArn()
- {
- return this._bucketArn != null;
- }
}
-}
-
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Custom/Model/Initiator.cs b/sdk/src/Services/S3/Generated/Model/Initiator.cs
similarity index 72%
rename from sdk/src/Services/S3/Custom/Model/Initiator.cs
rename to sdk/src/Services/S3/Generated/Model/Initiator.cs
index 1fc3f2173f1e..97e432cfcfa1 100644
--- a/sdk/src/Services/S3/Custom/Model/Initiator.cs
+++ b/sdk/src/Services/S3/Generated/Model/Initiator.cs
@@ -12,22 +12,30 @@
* 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.Xml.Serialization;
using System.Text;
using System.IO;
+using System.Net;
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+#pragma warning disable CS0612,CS0618,CS1570
namespace Amazon.S3.Model
{
///
- /// Identifies who initiated the multipart upload.
+ /// Container element that identifies who initiated the multipart upload.
///
- public class Initiator
+ public partial class Initiator
{
-
- private string displayName;
- private string iD;
+ private string _displayName;
+ private string _id;
///
/// Gets and sets the property DisplayName.
@@ -42,18 +50,18 @@ public class Initiator
///
public string DisplayName
{
- get { return this.displayName; }
- set { this.displayName = value; }
+ get { return this._displayName; }
+ set { this._displayName = value; }
}
// Check to see if DisplayName property is set
internal bool IsSetDisplayName()
{
- return this.displayName != null;
+ return this._displayName != null;
}
///
- /// Gets and sets the property ID.
+ /// Gets and sets the property Id.
///
/// If the principal is an Amazon Web Services account, it provides the Canonical User
/// ID. If the principal is an IAM User, it provides a user ARN value.
@@ -68,14 +76,15 @@ internal bool IsSetDisplayName()
///
public string Id
{
- get { return this.iD; }
- set { this.iD = value; }
+ get { return this._id; }
+ set { this._id = value; }
}
- // Check to see if ID property is set
+ // Check to see if Id property is set
internal bool IsSetId()
{
- return this.iD != null;
+ return this._id != null;
}
+
}
-}
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/HeadBucketRequestMarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/HeadBucketRequestMarshaller.cs
new file mode 100644
index 000000000000..41b9a69d1920
--- /dev/null
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/HeadBucketRequestMarshaller.cs
@@ -0,0 +1,92 @@
+/*
+ * 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
+{
+ ///
+ /// HeadBucket Request Marshaller
+ ///
+ public partial class HeadBucketRequestMarshaller : IMarshaller , IMarshaller
+ {
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(AmazonWebServiceRequest input)
+ {
+ return this.Marshall((HeadBucketRequest)input);
+ }
+
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(HeadBucketRequest publicRequest)
+ {
+ var request = new DefaultRequest(publicRequest, "Amazon.S3");
+ request.HttpMethod = "HEAD";
+
+ 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.", "HeadBucketRequest.BucketName");
+ request.ResourcePath = "/";
+
+ PostMarshallCustomization(request, publicRequest);
+ return request;
+ }
+ private static HeadBucketRequestMarshaller _instance = new HeadBucketRequestMarshaller();
+
+ internal static HeadBucketRequestMarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static HeadBucketRequestMarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ partial void PostMarshallCustomization(DefaultRequest defaultRequest, HeadBucketRequest publicRequest);
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/HeadBucketResponseUnmarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/HeadBucketResponseUnmarshaller.cs
similarity index 61%
rename from sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/HeadBucketResponseUnmarshaller.cs
rename to sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/HeadBucketResponseUnmarshaller.cs
index 04681f16653e..d237f9f30fde 100644
--- a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/HeadBucketResponseUnmarshaller.cs
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/HeadBucketResponseUnmarshaller.cs
@@ -12,57 +12,54 @@
* 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.Net;
-using System.IO;
using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Net;
+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;
+#pragma warning disable CS0612,CS0618
namespace Amazon.S3.Model.Internal.MarshallTransformations
{
///
- /// Response Unmarshaller for HeadBucket operation
- ///
+ /// Response Unmarshaller for HeadBucket operation
+ ///
public class HeadBucketResponseUnmarshaller : S3ReponseUnmarshaller
{
///
/// Unmarshaller the response from the service to the response class.
- ///
+ ///
///
///
public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
{
HeadBucketResponse response = new HeadBucketResponse();
-
- UnmarshallResult(context, response);
-
+ if (context.ResponseData.IsHeaderPresent("x-amz-access-point-alias"))
+ response.AccessPointAlias = bool.Parse(context.ResponseData.GetHeaderValue("x-amz-access-point-alias"));
+ if (context.ResponseData.IsHeaderPresent("x-amz-bucket-arn"))
+ response.BucketArn = context.ResponseData.GetHeaderValue("x-amz-bucket-arn");
+ if (context.ResponseData.IsHeaderPresent("x-amz-bucket-location-name"))
+ response.BucketLocationName = context.ResponseData.GetHeaderValue("x-amz-bucket-location-name");
+ if (context.ResponseData.IsHeaderPresent("x-amz-bucket-location-type"))
+ response.BucketLocationType = context.ResponseData.GetHeaderValue("x-amz-bucket-location-type");
+ if (context.ResponseData.IsHeaderPresent("x-amz-bucket-region"))
+ response.BucketRegion = context.ResponseData.GetHeaderValue("x-amz-bucket-region");
+
return response;
- }
-
- private static void UnmarshallResult(XmlUnmarshallerContext context, HeadBucketResponse response)
- {
- IWebResponseData responseData = context.ResponseData;
- if (responseData.IsHeaderPresent("x-amz-bucket-location-type"))
- response.BucketLocationType = LocationType.FindValue(responseData.GetHeaderValue("x-amz-bucket-location-type"));
-
- if (responseData.IsHeaderPresent("x-amz-bucket-location-name"))
- response.BucketLocationName = S3Transforms.ToString(responseData.GetHeaderValue("x-amz-bucket-location-name"));
-
- if (responseData.IsHeaderPresent("x-amz-bucket-region"))
- response.BucketRegion = S3Transforms.ToString(responseData.GetHeaderValue("x-amz-bucket-region"));
-
- if (responseData.IsHeaderPresent("x-amz-access-point-alias"))
- response.AccessPointAlias = S3Transforms.ToBool(responseData.GetHeaderValue("x-amz-access-point-alias"));
-
- if (responseData.IsHeaderPresent("x-amz-bucket-arn"))
- response.BucketArn = S3Transforms.ToString(responseData.GetHeaderValue("x-amz-bucket-arn"));
-
- return;
- }
-
+ }
+
///
/// Unmarshaller error response to exception.
@@ -73,7 +70,7 @@ private static void UnmarshallResult(XmlUnmarshallerContext context, HeadBucketR
///
public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
- var errorResponse = S3ErrorResponseUnmarshaller.Instance.Unmarshall(context);
+ S3ErrorResponse errorResponse = S3ErrorResponseUnmarshaller.Instance.Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
@@ -87,26 +84,26 @@ public override AmazonServiceException UnmarshallException(XmlUnmarshallerContex
return NoSuchBucketExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
-
return base.ConstructS3Exception(context, errorResponse, innerException, statusCode);
}
- private static HeadBucketResponseUnmarshaller _instance;
+ private static HeadBucketResponseUnmarshaller _instance = new HeadBucketResponseUnmarshaller();
+
+ internal static HeadBucketResponseUnmarshaller GetInstance()
+ {
+ return _instance;
+ }
///
- /// Singleton for the unmarshaller
- ///
+ /// Gets the singleton.
+ ///
public static HeadBucketResponseUnmarshaller Instance
{
get
{
- if (_instance == null)
- {
- _instance = new HeadBucketResponseUnmarshaller();
- }
return _instance;
}
}
- }
-}
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/InitiatorUnmarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/InitiatorUnmarshaller.cs
similarity index 64%
rename from sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/InitiatorUnmarshaller.cs
rename to sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/InitiatorUnmarshaller.cs
index a632e9068074..e4222e1edf7c 100644
--- a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/InitiatorUnmarshaller.cs
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/InitiatorUnmarshaller.cs
@@ -12,26 +12,40 @@
* 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.Net;
+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;
+#pragma warning disable CS0612,CS0618
namespace Amazon.S3.Model.Internal.MarshallTransformations
{
- ///
- /// Initiator Unmarshaller
- ///
+ ///
+ /// Response Unmarshaller for Initiator Object
+ ///
public class InitiatorUnmarshaller : IXmlUnmarshaller
{
///
/// Unmarshaller the response from the service to the response class.
- ///
+ ///
///
///
- public Initiator Unmarshall(XmlUnmarshallerContext context)
+ public Initiator Unmarshall(XmlUnmarshallerContext context)
{
- Initiator initiator = new Initiator();
+ Initiator unmarshalledObject = new Initiator();
int originalDepth = context.CurrentDepth;
int targetDepth = originalDepth + 1;
@@ -44,44 +58,35 @@ public Initiator Unmarshall(XmlUnmarshallerContext context)
{
if (context.TestExpression("DisplayName", targetDepth))
{
- initiator.DisplayName = StringUnmarshaller.GetInstance().Unmarshall(context);
-
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.DisplayName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("ID", targetDepth))
{
- initiator.Id = StringUnmarshaller.GetInstance().Unmarshall(context);
-
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.Id = unmarshaller.Unmarshall(context);
continue;
}
}
else if (context.IsEndElement && context.CurrentDepth < originalDepth)
{
- return initiator;
+ return unmarshalledObject;
}
- }
-
-
-
- return initiator;
+ }
+ return unmarshalledObject;
}
-
- private static InitiatorUnmarshaller _instance;
+ private static InitiatorUnmarshaller _instance = new InitiatorUnmarshaller();
///
- /// Singleton for the unmarshaller
- ///
+ /// Gets the singleton.
+ ///
public static InitiatorUnmarshaller Instance
{
get
{
- if (_instance == null)
- {
- _instance = new InitiatorUnmarshaller();
- }
return _instance;
}
}
}
-}
-
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/ListPartsRequestMarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/ListPartsRequestMarshaller.cs
new file mode 100644
index 000000000000..9a2718c8e8f9
--- /dev/null
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/ListPartsRequestMarshaller.cs
@@ -0,0 +1,125 @@
+/*
+ * 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
+{
+ ///
+ /// ListParts Request Marshaller
+ ///
+ public partial class ListPartsRequestMarshaller : IMarshaller , IMarshaller
+ {
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(AmazonWebServiceRequest input)
+ {
+ return this.Marshall((ListPartsRequest)input);
+ }
+
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(ListPartsRequest publicRequest)
+ {
+ var request = new DefaultRequest(publicRequest, "Amazon.S3");
+ request.HttpMethod = "GET";
+
+ if (publicRequest.IsSetExpectedBucketOwner())
+ {
+ request.Headers["x-amz-expected-bucket-owner"] = publicRequest.ExpectedBucketOwner;
+ }
+
+ if (publicRequest.IsSetRequestPayer())
+ {
+ request.Headers["x-amz-request-payer"] = publicRequest.RequestPayer;
+ }
+
+ if (publicRequest.IsSetSSECustomerAlgorithm())
+ {
+ request.Headers["x-amz-server-side-encryption-customer-algorithm"] = publicRequest.SSECustomerAlgorithm;
+ }
+
+ if (publicRequest.IsSetSSECustomerKey())
+ {
+ request.Headers["x-amz-server-side-encryption-customer-key"] = publicRequest.SSECustomerKey;
+ }
+
+ if (publicRequest.IsSetSSECustomerKeyMD5())
+ {
+ request.Headers["x-amz-server-side-encryption-customer-key-MD5"] = publicRequest.SSECustomerKeyMD5;
+ }
+ if (string.IsNullOrEmpty(publicRequest.BucketName))
+ throw new System.ArgumentException("BucketName is a required property and must be set before making this call.", "ListPartsRequest.BucketName");
+ if (string.IsNullOrEmpty(publicRequest.Key))
+ throw new System.ArgumentException("Key is a required property and must be set before making this call.", "ListPartsRequest.Key");
+ request.AddPathResource("{Key+}", StringUtils.FromString(publicRequest.Key));
+
+ if (publicRequest.IsSetMaxParts())
+ request.AddSubResource("max-parts", StringUtils.FromInt(publicRequest.MaxParts));
+
+ if (publicRequest.IsSetPartNumberMarker())
+ request.AddSubResource("part-number-marker", StringUtils.FromString(publicRequest.PartNumberMarker));
+
+ if (publicRequest.IsSetUploadId())
+ request.AddSubResource("uploadId", StringUtils.FromString(publicRequest.UploadId));
+ request.ResourcePath = "/{Key+}";
+
+ request.UseQueryString = true;
+ PostMarshallCustomization(request, publicRequest);
+ return request;
+ }
+ private static ListPartsRequestMarshaller _instance = new ListPartsRequestMarshaller();
+
+ internal static ListPartsRequestMarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static ListPartsRequestMarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ partial void PostMarshallCustomization(DefaultRequest defaultRequest, ListPartsRequest publicRequest);
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/ListPartsResponseUnmarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/ListPartsResponseUnmarshaller.cs
new file mode 100644
index 000000000000..c792d1cf20da
--- /dev/null
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/ListPartsResponseUnmarshaller.cs
@@ -0,0 +1,208 @@
+/*
+ * 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.Net;
+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;
+
+#pragma warning disable CS0612,CS0618
+namespace Amazon.S3.Model.Internal.MarshallTransformations
+{
+ ///
+ /// Response Unmarshaller for ListParts operation
+ ///
+ public class ListPartsResponseUnmarshaller : S3ReponseUnmarshaller
+ {
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
+ {
+ ListPartsResponse response = new ListPartsResponse();
+ UnmarshallResult(context,response);
+ if (context.ResponseData.IsHeaderPresent("x-amz-abort-date"))
+ response.AbortDate = DateTime.Parse(context.ResponseData.GetHeaderValue("x-amz-abort-date"), CultureInfo.InvariantCulture, DateTimeStyles.AssumeUniversal | DateTimeStyles.AdjustToUniversal);
+ if (context.ResponseData.IsHeaderPresent("x-amz-abort-rule-id"))
+ response.AbortRuleId = context.ResponseData.GetHeaderValue("x-amz-abort-rule-id");
+ if (context.ResponseData.IsHeaderPresent("x-amz-request-charged"))
+ response.RequestCharged = context.ResponseData.GetHeaderValue("x-amz-request-charged");
+
+ return response;
+ }
+
+ private static void UnmarshallResult(XmlUnmarshallerContext context, ListPartsResponse response)
+ {
+ int originalDepth = context.CurrentDepth;
+ int targetDepth = originalDepth + 1;
+ if (context.IsStartOfDocument)
+ targetDepth += 1;
+ if (context.IsEmptyResponse)
+ {
+ return;
+ }
+ while (context.Read())
+ {
+ if (context.IsStartElement || context.IsAttribute)
+ {
+ if (context.TestExpression("Bucket", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ response.BucketName = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("ChecksumAlgorithm", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ response.ChecksumAlgorithm = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("ChecksumType", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ response.ChecksumType = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("Initiator", targetDepth))
+ {
+ var unmarshaller = InitiatorUnmarshaller.Instance;
+ response.Initiator = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("IsTruncated", targetDepth))
+ {
+ var unmarshaller = NullableBoolUnmarshaller.Instance;
+ response.IsTruncated = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("Key", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ response.Key = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("MaxParts", targetDepth))
+ {
+ var unmarshaller = NullableIntUnmarshaller.Instance;
+ response.MaxParts = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("NextPartNumberMarker", targetDepth))
+ {
+ var unmarshaller = NullableIntUnmarshaller.Instance;
+ response.NextPartNumberMarker = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("Owner", targetDepth))
+ {
+ var unmarshaller = OwnerUnmarshaller.Instance;
+ response.Owner = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("PartNumberMarker", targetDepth))
+ {
+ var unmarshaller = NullableIntUnmarshaller.Instance;
+ response.PartNumberMarker = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("Part", targetDepth))
+ {
+ if (response.Parts == null)
+ {
+ response.Parts = new List();
+ }
+ var unmarshaller = PartDetailUnmarshaller.Instance;
+ response.Parts.Add(unmarshaller.Unmarshall(context));
+ continue;
+ }
+ if (context.TestExpression("StorageClass", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ response.StorageClass = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ if (context.TestExpression("UploadId", targetDepth))
+ {
+ var unmarshaller = StringUnmarshaller.Instance;
+ response.UploadId = unmarshaller.Unmarshall(context);
+ continue;
+ }
+ }
+ else if (context.IsEndElement && context.CurrentDepth < originalDepth)
+ {
+ return;
+ }
+ }
+
+ return;
+ }
+
+
+ ///
+ /// Unmarshaller error response to exception.
+ ///
+ ///
+ ///
+ ///
+ ///
+ public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
+ {
+ S3ErrorResponse errorResponse = S3ErrorResponseUnmarshaller.Instance.Unmarshall(context);
+ errorResponse.InnerException = innerException;
+ errorResponse.StatusCode = statusCode;
+
+ var responseBodyBytes = context.GetResponseBodyBytes();
+
+ using (var streamCopy = new MemoryStream(responseBodyBytes))
+ using (var contextCopy = new XmlUnmarshallerContext(streamCopy, false, null))
+ {
+ }
+ return base.ConstructS3Exception(context, errorResponse, innerException, statusCode);
+ }
+
+ private static ListPartsResponseUnmarshaller _instance = new ListPartsResponseUnmarshaller();
+
+ internal static ListPartsResponseUnmarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static ListPartsResponseUnmarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/NoSuchBucketExceptionUnmarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/NoSuchBucketExceptionUnmarshaller.cs
similarity index 85%
rename from sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/NoSuchBucketExceptionUnmarshaller.cs
rename to sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/NoSuchBucketExceptionUnmarshaller.cs
index 1cfc493a086f..4ec2bbf6233b 100644
--- a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/NoSuchBucketExceptionUnmarshaller.cs
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/NoSuchBucketExceptionUnmarshaller.cs
@@ -1,4 +1,4 @@
-/*
+/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
@@ -13,10 +13,24 @@
* 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.Net;
+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;
+#pragma warning disable CS0612,CS0618
namespace Amazon.S3.Model.Internal.MarshallTransformations
{
///
@@ -49,10 +63,10 @@ public NoSuchBucketException Unmarshall(XmlUnmarshallerContext context, Amazon.R
id2 = s3ErrorResponse.Id2;
amzCfId = s3ErrorResponse.AmzCfId;
}
-
NoSuchBucketException response = new NoSuchBucketException(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode, id2, amzCfId);
+
while (context.Read())
{
if (context.IsStartElement || context.IsAttribute)
@@ -62,7 +76,7 @@ public NoSuchBucketException Unmarshall(XmlUnmarshallerContext context, Amazon.R
return response;
}
- private static NoSuchBucketExceptionUnmarshaller _instance = new NoSuchBucketExceptionUnmarshaller();
+ private static NoSuchBucketExceptionUnmarshaller _instance = new NoSuchBucketExceptionUnmarshaller();
///
/// Gets the singleton.
@@ -74,6 +88,5 @@ public static NoSuchBucketExceptionUnmarshaller Instance
return _instance;
}
}
-
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/NoSuchKeyExceptionUnmarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/NoSuchKeyExceptionUnmarshaller.cs
index 4de29c1e5ec4..5a901a54d674 100644
--- a/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/NoSuchKeyExceptionUnmarshaller.cs
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/NoSuchKeyExceptionUnmarshaller.cs
@@ -56,8 +56,16 @@ public NoSuchKeyException Unmarshall(XmlUnmarshallerContext context)
///
public NoSuchKeyException Unmarshall(XmlUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
- NoSuchKeyException response = new NoSuchKeyException(errorResponse.Message, errorResponse.InnerException,
- errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
+ string id2 = null, amzCfId = null;
+ var s3ErrorResponse = errorResponse as S3ErrorResponse;
+ if (s3ErrorResponse != null)
+ {
+ id2 = s3ErrorResponse.Id2;
+ amzCfId = s3ErrorResponse.AmzCfId;
+ }
+ NoSuchKeyException response = new NoSuchKeyException(errorResponse.Message, errorResponse.InnerException,
+ errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode, id2, amzCfId);
+
while (context.Read())
{
diff --git a/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/NoSuchUploadExceptionUnmarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/NoSuchUploadExceptionUnmarshaller.cs
index 22490305118d..42dadfb3820c 100644
--- a/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/NoSuchUploadExceptionUnmarshaller.cs
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/NoSuchUploadExceptionUnmarshaller.cs
@@ -56,8 +56,16 @@ public NoSuchUploadException Unmarshall(XmlUnmarshallerContext context)
///
public NoSuchUploadException Unmarshall(XmlUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
- NoSuchUploadException response = new NoSuchUploadException(errorResponse.Message, errorResponse.InnerException,
- errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
+ string id2 = null, amzCfId = null;
+ var s3ErrorResponse = errorResponse as S3ErrorResponse;
+ if (s3ErrorResponse != null)
+ {
+ id2 = s3ErrorResponse.Id2;
+ amzCfId = s3ErrorResponse.AmzCfId;
+ }
+ NoSuchUploadException response = new NoSuchUploadException(errorResponse.Message, errorResponse.InnerException,
+ errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode, id2, amzCfId);
+
while (context.Read())
{
diff --git a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PartDetailUnmarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PartDetailUnmarshaller.cs
similarity index 57%
rename from sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PartDetailUnmarshaller.cs
rename to sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PartDetailUnmarshaller.cs
index 76560976d9c8..78db45fdf990 100644
--- a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PartDetailUnmarshaller.cs
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PartDetailUnmarshaller.cs
@@ -12,26 +12,40 @@
* 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.Net;
+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;
+#pragma warning disable CS0612,CS0618
namespace Amazon.S3.Model.Internal.MarshallTransformations
{
- ///
- /// PartsItem Unmarshaller
- ///
+ ///
+ /// Response Unmarshaller for PartDetail Object
+ ///
public class PartDetailUnmarshaller : IXmlUnmarshaller
{
///
/// Unmarshaller the response from the service to the response class.
- ///
+ ///
///
///
- public PartDetail Unmarshall(XmlUnmarshallerContext context)
+ public PartDetail Unmarshall(XmlUnmarshallerContext context)
{
- PartDetail partsItem = new PartDetail();
+ PartDetail unmarshalledObject = new PartDetail();
int originalDepth = context.CurrentDepth;
int targetDepth = originalDepth + 1;
@@ -44,81 +58,77 @@ public PartDetail Unmarshall(XmlUnmarshallerContext context)
{
if (context.TestExpression("ChecksumCRC32", targetDepth))
{
- partsItem.ChecksumCRC32 = StringUnmarshaller.GetInstance().Unmarshall(context);
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.ChecksumCRC32 = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("ChecksumCRC32C", targetDepth))
{
- partsItem.ChecksumCRC32C = StringUnmarshaller.GetInstance().Unmarshall(context);
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.ChecksumCRC32C = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("ChecksumCRC64NVME", targetDepth))
{
- partsItem.ChecksumCRC64NVME = StringUnmarshaller.GetInstance().Unmarshall(context);
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.ChecksumCRC64NVME = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("ChecksumSHA1", targetDepth))
{
- partsItem.ChecksumSHA1 = StringUnmarshaller.GetInstance().Unmarshall(context);
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.ChecksumSHA1 = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("ChecksumSHA256", targetDepth))
{
- partsItem.ChecksumSHA256 = StringUnmarshaller.GetInstance().Unmarshall(context);
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.ChecksumSHA256 = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("ETag", targetDepth))
{
- partsItem.ETag = StringUnmarshaller.GetInstance().Unmarshall(context);
-
+ var unmarshaller = StringUnmarshaller.Instance;
+ unmarshalledObject.ETag = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("LastModified", targetDepth))
{
- partsItem.LastModified = DateTimeUnmarshaller.GetInstance().Unmarshall(context);
-
+ var unmarshaller = NullableDateTimeUnmarshaller.Instance;
+ unmarshalledObject.LastModified = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("PartNumber", targetDepth))
{
- partsItem.PartNumber = IntUnmarshaller.GetInstance().Unmarshall(context);
-
+ var unmarshaller = NullableIntUnmarshaller.Instance;
+ unmarshalledObject.PartNumber = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("Size", targetDepth))
{
- partsItem.Size = LongUnmarshaller.GetInstance().Unmarshall(context);
-
+ var unmarshaller = NullableLongUnmarshaller.Instance;
+ unmarshalledObject.Size = unmarshaller.Unmarshall(context);
continue;
}
}
else if (context.IsEndElement && context.CurrentDepth < originalDepth)
{
- return partsItem;
+ return unmarshalledObject;
}
- }
-
-
-
- return partsItem;
+ }
+ return unmarshalledObject;
}
-
- private static PartDetailUnmarshaller _instance;
+ private static PartDetailUnmarshaller _instance = new PartDetailUnmarshaller();
///
- /// Singleton for the unmarshaller
- ///
+ /// Gets the singleton.
+ ///
public static PartDetailUnmarshaller Instance
{
get
{
- if (_instance == null)
- {
- _instance = new PartDetailUnmarshaller();
- }
return _instance;
}
}
}
-}
-
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutBucketPolicyRequestMarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutBucketPolicyRequestMarshaller.cs
new file mode 100644
index 000000000000..10ed0c307e35
--- /dev/null
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutBucketPolicyRequestMarshaller.cs
@@ -0,0 +1,119 @@
+/*
+ * 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
+{
+ ///
+ /// PutBucketPolicy Request Marshaller
+ ///
+ public partial class PutBucketPolicyRequestMarshaller : IMarshaller , IMarshaller
+ {
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(AmazonWebServiceRequest input)
+ {
+ return this.Marshall((PutBucketPolicyRequest)input);
+ }
+
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(PutBucketPolicyRequest publicRequest)
+ {
+ var request = new DefaultRequest(publicRequest, "Amazon.S3");
+ request.HttpMethod = "PUT";
+ request.AddSubResource("policy");
+
+ if (publicRequest.IsSetChecksumAlgorithm())
+ {
+ request.Headers["x-amz-sdk-checksum-algorithm"] = publicRequest.ChecksumAlgorithm;
+ }
+
+ if (publicRequest.IsSetConfirmRemoveSelfBucketAccess())
+ {
+ request.Headers["x-amz-confirm-remove-self-bucket-access"] = StringUtils.FromBool(publicRequest.ConfirmRemoveSelfBucketAccess);
+ }
+
+ if (publicRequest.IsSetContentMD5())
+ {
+ request.Headers["Content-MD5"] = publicRequest.ContentMD5;
+ }
+
+ 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.", "PutBucketPolicyRequest.BucketName");
+ request.ResourcePath = "/";
+ request.Content = Encoding.UTF8.GetBytes(StringUtils.FromString(publicRequest.Policy));
+ request.Headers["Content-Type"] = "text/plain";
+ if (publicRequest.IsSetContentMD5())
+ request.Headers[Amazon.Util.HeaderKeys.ContentMD5Header] = publicRequest.ContentMD5;
+ ChecksumUtils.SetChecksumData(
+ request,
+ publicRequest.ChecksumAlgorithm,
+ fallbackToMD5: false,
+ isRequestChecksumRequired: true,
+ headerName: "x-amz-sdk-checksum-algorithm"
+ );
+
+ PostMarshallCustomization(request, publicRequest);
+ return request;
+ }
+ private static PutBucketPolicyRequestMarshaller _instance = new PutBucketPolicyRequestMarshaller();
+
+ internal static PutBucketPolicyRequestMarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static PutBucketPolicyRequestMarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ partial void PostMarshallCustomization(DefaultRequest defaultRequest, PutBucketPolicyRequest publicRequest);
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutBucketPolicyResponseUnmarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutBucketPolicyResponseUnmarshaller.cs
new file mode 100644
index 000000000000..49a8a5fab922
--- /dev/null
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutBucketPolicyResponseUnmarshaller.cs
@@ -0,0 +1,95 @@
+/*
+ * 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.Net;
+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;
+
+#pragma warning disable CS0612,CS0618
+namespace Amazon.S3.Model.Internal.MarshallTransformations
+{
+ ///
+ /// Response Unmarshaller for PutBucketPolicy operation
+ ///
+ public class PutBucketPolicyResponseUnmarshaller : S3ReponseUnmarshaller
+ {
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
+ {
+ PutBucketPolicyResponse response = new PutBucketPolicyResponse();
+
+ return response;
+ }
+
+
+ ///
+ /// Unmarshaller error response to exception.
+ ///
+ ///
+ ///
+ ///
+ ///
+ public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
+ {
+ S3ErrorResponse errorResponse = S3ErrorResponseUnmarshaller.Instance.Unmarshall(context);
+ errorResponse.InnerException = innerException;
+ errorResponse.StatusCode = statusCode;
+
+ var responseBodyBytes = context.GetResponseBodyBytes();
+
+ using (var streamCopy = new MemoryStream(responseBodyBytes))
+ using (var contextCopy = new XmlUnmarshallerContext(streamCopy, false, null))
+ {
+ }
+ return base.ConstructS3Exception(context, errorResponse, innerException, statusCode);
+ }
+
+ private static PutBucketPolicyResponseUnmarshaller _instance = new PutBucketPolicyResponseUnmarshaller();
+
+ internal static PutBucketPolicyResponseUnmarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static PutBucketPolicyResponseUnmarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectLegalHoldRequestMarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectLegalHoldRequestMarshaller.cs
similarity index 60%
rename from sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectLegalHoldRequestMarshaller.cs
rename to sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectLegalHoldRequestMarshaller.cs
index b7d30461c102..77694c32ad19 100644
--- a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectLegalHoldRequestMarshaller.cs
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectLegalHoldRequestMarshaller.cs
@@ -29,15 +29,14 @@
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using System.Xml;
-using Amazon.S3.Util;
-using Amazon.Util;
+#pragma warning disable CS0612,CS0618
namespace Amazon.S3.Model.Internal.MarshallTransformations
{
///
/// PutObjectLegalHold Request Marshaller
///
- public class PutObjectLegalHoldRequestMarshaller : IMarshaller , IMarshaller
+ public partial class PutObjectLegalHoldRequestMarshaller : IMarshaller , IMarshaller
{
///
/// Marshaller the request object to the HTTP request.
@@ -56,37 +55,48 @@ public IRequest Marshall(AmazonWebServiceRequest input)
///
public IRequest Marshall(PutObjectLegalHoldRequest publicRequest)
{
- var request = new DefaultRequest(publicRequest, "AmazonS3");
+ var request = new DefaultRequest(publicRequest, "Amazon.S3");
request.HttpMethod = "PUT";
request.AddSubResource("legal-hold");
-
- if (publicRequest.IsSetChecksumAlgorithm())
- request.Headers.Add(S3Constants.AmzHeaderSdkChecksumAlgorithm, S3Transforms.ToStringValue(publicRequest.ChecksumAlgorithm));
- if (publicRequest.IsSetContentMD5())
- request.Headers.Add(HeaderKeys.ContentMD5Header, S3Transforms.ToStringValue(publicRequest.ContentMD5));
- if (publicRequest.IsSetRequestPayer())
- request.Headers.Add(S3Constants.AmzHeaderRequestPayer, S3Transforms.ToStringValue(publicRequest.RequestPayer.ToString()));
- if (publicRequest.IsSetExpectedBucketOwner())
- request.Headers.Add(S3Constants.AmzHeaderExpectedBucketOwner, S3Transforms.ToStringValue(publicRequest.ExpectedBucketOwner));
- if (!publicRequest.IsSetBucketName())
- throw new System.ArgumentException("BucketName is a required property and must be set before making this call.", "publicRequest.BucketName");
- if (!publicRequest.IsSetKey())
- throw new System.ArgumentException("Key is a required property and must be set before making this call.", "publicRequest.Key");
+
+ if (publicRequest.IsSetChecksumAlgorithm())
+ {
+ request.Headers["x-amz-sdk-checksum-algorithm"] = publicRequest.ChecksumAlgorithm;
+ }
+
+ if (publicRequest.IsSetContentMD5())
+ {
+ request.Headers["Content-MD5"] = publicRequest.ContentMD5;
+ }
+
+ if (publicRequest.IsSetExpectedBucketOwner())
+ {
+ request.Headers["x-amz-expected-bucket-owner"] = publicRequest.ExpectedBucketOwner;
+ }
+
+ if (publicRequest.IsSetRequestPayer())
+ {
+ request.Headers["x-amz-request-payer"] = publicRequest.RequestPayer;
+ }
+ if (string.IsNullOrEmpty(publicRequest.BucketName))
+ throw new System.ArgumentException("BucketName is a required property and must be set before making this call.", "PutObjectLegalHoldRequest.BucketName");
+ if (string.IsNullOrEmpty(publicRequest.Key))
+ throw new System.ArgumentException("Key is a required property and must be set before making this call.", "PutObjectLegalHoldRequest.Key");
+ request.AddPathResource("{Key+}", StringUtils.FromString(publicRequest.Key));
if (publicRequest.IsSetVersionId())
- request.Parameters.Add("versionId", StringUtils.FromString(publicRequest.VersionId));
- request.AddPathResource("{Key+}", S3Transforms.ToStringValue(publicRequest.Key));
- request.ResourcePath = "/{Key+}";
-
+ request.AddSubResource("versionId", StringUtils.FromString(publicRequest.VersionId));
+ request.ResourcePath = "/{Key+}";
var stringWriter = new XMLEncodedStringWriter(CultureInfo.InvariantCulture);
using (var xmlWriter = XmlWriter.Create(stringWriter, new XmlWriterSettings() { Encoding = System.Text.Encoding.UTF8, OmitXmlDeclaration = true, NewLineHandling = NewLineHandling.Entitize }))
{
if (publicRequest.IsSetLegalHold())
{
- xmlWriter.WriteStartElement("LegalHold", S3Constants.S3RequestXmlNamespace);
+ xmlWriter.WriteStartElement("ObjectLockLegalHold", "http://s3.amazonaws.com/doc/2006-03-01/");
if(publicRequest.LegalHold.IsSetStatus())
xmlWriter.WriteElementString("Status", StringUtils.FromString(publicRequest.LegalHold.Status));
-
+
+
xmlWriter.WriteEndElement();
}
}
@@ -94,41 +104,45 @@ public IRequest Marshall(PutObjectLegalHoldRequest publicRequest)
{
string content = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(content);
- request.Headers[HeaderKeys.ContentTypeHeader] = "application/xml";
-
+ request.Headers["Content-Type"] = "application/xml";
+ if (publicRequest.IsSetContentMD5())
+ request.Headers[Amazon.Util.HeaderKeys.ContentMD5Header] = publicRequest.ContentMD5;
ChecksumUtils.SetChecksumData(
- request,
- publicRequest.ChecksumAlgorithm,
- fallbackToMD5: false,
+ request,
+ publicRequest.ChecksumAlgorithm,
+ fallbackToMD5: false,
isRequestChecksumRequired: true,
- headerName: S3Constants.AmzHeaderSdkChecksumAlgorithm
+ headerName: "x-amz-sdk-checksum-algorithm"
);
- }
+ request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2006-03-01";
+ }
catch (EncoderFallbackException e)
{
throw new AmazonServiceException("Unable to marshall request to XML", e);
}
request.UseQueryString = true;
+ PostMarshallCustomization(request, publicRequest);
return request;
}
-
- private static PutObjectLegalHoldRequestMarshaller _instance;
+ private static PutObjectLegalHoldRequestMarshaller _instance = new PutObjectLegalHoldRequestMarshaller();
+
+ internal static PutObjectLegalHoldRequestMarshaller GetInstance()
+ {
+ return _instance;
+ }
///
- /// Singleton for marshaller
- ///
+ /// Gets the singleton.
+ ///
public static PutObjectLegalHoldRequestMarshaller Instance
{
get
{
- if (_instance == null)
- {
- _instance = new PutObjectLegalHoldRequestMarshaller();
- }
return _instance;
}
}
+ partial void PostMarshallCustomization(DefaultRequest defaultRequest, PutObjectLegalHoldRequest publicRequest);
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectLegalHoldResponseUnmarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectLegalHoldResponseUnmarshaller.cs
similarity index 63%
rename from sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectLegalHoldResponseUnmarshaller.cs
rename to sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectLegalHoldResponseUnmarshaller.cs
index 67c8a180a608..674a2b4df928 100644
--- a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectLegalHoldResponseUnmarshaller.cs
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectLegalHoldResponseUnmarshaller.cs
@@ -30,6 +30,7 @@
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
+#pragma warning disable CS0612,CS0618
namespace Amazon.S3.Model.Internal.MarshallTransformations
{
///
@@ -50,8 +51,37 @@ public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext conte
return response;
}
- private static PutObjectLegalHoldResponseUnmarshaller _instance;
-
+
+
+ ///
+ /// Unmarshaller error response to exception.
+ ///
+ ///
+ ///
+ ///
+ ///
+ public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
+ {
+ S3ErrorResponse errorResponse = S3ErrorResponseUnmarshaller.Instance.Unmarshall(context);
+ errorResponse.InnerException = innerException;
+ errorResponse.StatusCode = statusCode;
+
+ var responseBodyBytes = context.GetResponseBodyBytes();
+
+ using (var streamCopy = new MemoryStream(responseBodyBytes))
+ using (var contextCopy = new XmlUnmarshallerContext(streamCopy, false, null))
+ {
+ }
+ return base.ConstructS3Exception(context, errorResponse, innerException, statusCode);
+ }
+
+ private static PutObjectLegalHoldResponseUnmarshaller _instance = new PutObjectLegalHoldResponseUnmarshaller();
+
+ internal static PutObjectLegalHoldResponseUnmarshaller GetInstance()
+ {
+ return _instance;
+ }
+
///
/// Gets the singleton.
///
@@ -59,10 +89,6 @@ public static PutObjectLegalHoldResponseUnmarshaller Instance
{
get
{
- if (_instance == null)
- {
- _instance = new PutObjectLegalHoldResponseUnmarshaller();
- }
return _instance;
}
}
diff --git a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectLockConfigurationRequestMarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectLockConfigurationRequestMarshaller.cs
similarity index 65%
rename from sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectLockConfigurationRequestMarshaller.cs
rename to sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectLockConfigurationRequestMarshaller.cs
index 252cbc5b82ca..5024e1ea6f85 100644
--- a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectLockConfigurationRequestMarshaller.cs
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectLockConfigurationRequestMarshaller.cs
@@ -29,15 +29,14 @@
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using System.Xml;
-using Amazon.Util;
-using Amazon.S3.Util;
+#pragma warning disable CS0612,CS0618
namespace Amazon.S3.Model.Internal.MarshallTransformations
{
///
/// PutObjectLockConfiguration Request Marshaller
///
- public class PutObjectLockConfigurationRequestMarshaller : IMarshaller , IMarshaller
+ public partial class PutObjectLockConfigurationRequestMarshaller : IMarshaller , IMarshaller
{
///
/// Marshaller the request object to the HTTP request.
@@ -56,61 +55,63 @@ public IRequest Marshall(AmazonWebServiceRequest input)
///
public IRequest Marshall(PutObjectLockConfigurationRequest publicRequest)
{
- var request = new DefaultRequest(publicRequest, "AmazonS3");
+ var request = new DefaultRequest(publicRequest, "Amazon.S3");
request.HttpMethod = "PUT";
- string uriResourcePath = "/";
request.AddSubResource("object-lock");
-
- if (publicRequest.IsSetChecksumAlgorithm())
- request.Headers.Add(S3Constants.AmzHeaderSdkChecksumAlgorithm, S3Transforms.ToStringValue(publicRequest.ChecksumAlgorithm));
- if (publicRequest.IsSetContentMD5())
- request.Headers.Add(HeaderKeys.ContentMD5Header, S3Transforms.ToStringValue(publicRequest.ContentMD5));
- if (publicRequest.IsSetRequestPayer())
- request.Headers.Add(S3Constants.AmzHeaderRequestPayer, S3Transforms.ToStringValue(publicRequest.RequestPayer.ToString()));
- if (publicRequest.IsSetToken())
- request.Headers.Add("x-amz-bucket-object-lock-token", publicRequest.Token);
- if (publicRequest.IsSetExpectedBucketOwner())
- request.Headers.Add(S3Constants.AmzHeaderExpectedBucketOwner, S3Transforms.ToStringValue(publicRequest.ExpectedBucketOwner));
- if (!publicRequest.IsSetBucketName())
- throw new System.ArgumentException("BucketName is a required property and must be set before making this call.", "publicRequest.BucketName");
-
- request.ResourcePath = uriResourcePath;
-
+
+ if (publicRequest.IsSetChecksumAlgorithm())
+ {
+ request.Headers["x-amz-sdk-checksum-algorithm"] = publicRequest.ChecksumAlgorithm;
+ }
+
+ if (publicRequest.IsSetContentMD5())
+ {
+ request.Headers["Content-MD5"] = publicRequest.ContentMD5;
+ }
+
+ if (publicRequest.IsSetExpectedBucketOwner())
+ {
+ request.Headers["x-amz-expected-bucket-owner"] = publicRequest.ExpectedBucketOwner;
+ }
+
+ if (publicRequest.IsSetRequestPayer())
+ {
+ request.Headers["x-amz-request-payer"] = publicRequest.RequestPayer;
+ }
+
+ if (publicRequest.IsSetToken())
+ {
+ request.Headers["x-amz-bucket-object-lock-token"] = publicRequest.Token;
+ }
+ if (string.IsNullOrEmpty(publicRequest.BucketName))
+ throw new System.ArgumentException("BucketName is a required property and must be set before making this call.", "PutObjectLockConfigurationRequest.BucketName");
+ request.ResourcePath = "/";
var stringWriter = new XMLEncodedStringWriter(CultureInfo.InvariantCulture);
using (var xmlWriter = XmlWriter.Create(stringWriter, new XmlWriterSettings() { Encoding = System.Text.Encoding.UTF8, OmitXmlDeclaration = true, NewLineHandling = NewLineHandling.Entitize }))
{
if (publicRequest.IsSetObjectLockConfiguration())
{
- xmlWriter.WriteStartElement("ObjectLockConfiguration", S3Constants.S3RequestXmlNamespace);
+ xmlWriter.WriteStartElement("ObjectLockConfiguration", "http://s3.amazonaws.com/doc/2006-03-01/");
if(publicRequest.ObjectLockConfiguration.IsSetObjectLockEnabled())
xmlWriter.WriteElementString("ObjectLockEnabled", StringUtils.FromString(publicRequest.ObjectLockConfiguration.ObjectLockEnabled));
-
- if (publicRequest.ObjectLockConfiguration.Rule != null)
+ if (publicRequest.ObjectLockConfiguration.Rule != null)
{
-
- xmlWriter.WriteStartElement("Rule");
-
-
- if (publicRequest.ObjectLockConfiguration.Rule.DefaultRetention != null)
+ xmlWriter.WriteStartElement("Rule");
+ if (publicRequest.ObjectLockConfiguration.Rule.DefaultRetention != null)
{
-
- xmlWriter.WriteStartElement("DefaultRetention");
-
+ xmlWriter.WriteStartElement("DefaultRetention");
if(publicRequest.ObjectLockConfiguration.Rule.DefaultRetention.IsSetDays())
- xmlWriter.WriteElementString("Days", StringUtils.FromInt(publicRequest.ObjectLockConfiguration.Rule.DefaultRetention.Days));
-
+ xmlWriter.WriteElementString("Days", StringUtils.FromInt(publicRequest.ObjectLockConfiguration.Rule.DefaultRetention.Days.Value));
if(publicRequest.ObjectLockConfiguration.Rule.DefaultRetention.IsSetMode())
- xmlWriter.WriteElementString("Mode", StringUtils.FromString(publicRequest.ObjectLockConfiguration.Rule.DefaultRetention.Mode));
-
+ xmlWriter.WriteElementString("Mode", StringUtils.FromString(publicRequest.ObjectLockConfiguration.Rule.DefaultRetention.Mode));
if(publicRequest.ObjectLockConfiguration.Rule.DefaultRetention.IsSetYears())
- xmlWriter.WriteElementString("Years", StringUtils.FromInt(publicRequest.ObjectLockConfiguration.Rule.DefaultRetention.Years));
-
+ xmlWriter.WriteElementString("Years", StringUtils.FromInt(publicRequest.ObjectLockConfiguration.Rule.DefaultRetention.Years.Value));
xmlWriter.WriteEndElement();
}
xmlWriter.WriteEndElement();
}
-
+
xmlWriter.WriteEndElement();
}
}
@@ -118,40 +119,44 @@ public IRequest Marshall(PutObjectLockConfigurationRequest publicRequest)
{
string content = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(content);
- request.Headers[HeaderKeys.ContentTypeHeader] = "application/xml";
-
+ request.Headers["Content-Type"] = "application/xml";
+ if (publicRequest.IsSetContentMD5())
+ request.Headers[Amazon.Util.HeaderKeys.ContentMD5Header] = publicRequest.ContentMD5;
ChecksumUtils.SetChecksumData(
- request,
- publicRequest.ChecksumAlgorithm,
- fallbackToMD5: false,
+ request,
+ publicRequest.ChecksumAlgorithm,
+ fallbackToMD5: false,
isRequestChecksumRequired: true,
- headerName: S3Constants.AmzHeaderSdkChecksumAlgorithm
+ headerName: "x-amz-sdk-checksum-algorithm"
);
- }
+ request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2006-03-01";
+ }
catch (EncoderFallbackException e)
{
throw new AmazonServiceException("Unable to marshall request to XML", e);
}
+ PostMarshallCustomization(request, publicRequest);
return request;
}
-
- private static PutObjectLockConfigurationRequestMarshaller _instance;
+ private static PutObjectLockConfigurationRequestMarshaller _instance = new PutObjectLockConfigurationRequestMarshaller();
+
+ internal static PutObjectLockConfigurationRequestMarshaller GetInstance()
+ {
+ return _instance;
+ }
///
- /// Singleton for marshaller
- ///
+ /// Gets the singleton.
+ ///
public static PutObjectLockConfigurationRequestMarshaller Instance
{
get
{
- if (_instance == null)
- {
- _instance = new PutObjectLockConfigurationRequestMarshaller();
- }
return _instance;
}
}
+ partial void PostMarshallCustomization(DefaultRequest defaultRequest, PutObjectLockConfigurationRequest publicRequest);
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectLockConfigurationResponseUnmarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectLockConfigurationResponseUnmarshaller.cs
similarity index 63%
rename from sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectLockConfigurationResponseUnmarshaller.cs
rename to sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectLockConfigurationResponseUnmarshaller.cs
index 379482a16d1c..2eb487c33469 100644
--- a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectLockConfigurationResponseUnmarshaller.cs
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectLockConfigurationResponseUnmarshaller.cs
@@ -30,6 +30,7 @@
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
+#pragma warning disable CS0612,CS0618
namespace Amazon.S3.Model.Internal.MarshallTransformations
{
///
@@ -50,8 +51,37 @@ public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext conte
return response;
}
- private static PutObjectLockConfigurationResponseUnmarshaller _instance;
-
+
+
+ ///
+ /// Unmarshaller error response to exception.
+ ///
+ ///
+ ///
+ ///
+ ///
+ public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
+ {
+ S3ErrorResponse errorResponse = S3ErrorResponseUnmarshaller.Instance.Unmarshall(context);
+ errorResponse.InnerException = innerException;
+ errorResponse.StatusCode = statusCode;
+
+ var responseBodyBytes = context.GetResponseBodyBytes();
+
+ using (var streamCopy = new MemoryStream(responseBodyBytes))
+ using (var contextCopy = new XmlUnmarshallerContext(streamCopy, false, null))
+ {
+ }
+ return base.ConstructS3Exception(context, errorResponse, innerException, statusCode);
+ }
+
+ private static PutObjectLockConfigurationResponseUnmarshaller _instance = new PutObjectLockConfigurationResponseUnmarshaller();
+
+ internal static PutObjectLockConfigurationResponseUnmarshaller GetInstance()
+ {
+ return _instance;
+ }
+
///
/// Gets the singleton.
///
@@ -59,10 +89,6 @@ public static PutObjectLockConfigurationResponseUnmarshaller Instance
{
get
{
- if (_instance == null)
- {
- _instance = new PutObjectLockConfigurationResponseUnmarshaller();
- }
return _instance;
}
}
diff --git a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectRetentionRequestMarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectRetentionRequestMarshaller.cs
similarity index 61%
rename from sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectRetentionRequestMarshaller.cs
rename to sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectRetentionRequestMarshaller.cs
index 407dd4075c9c..6eb2480ee2a3 100644
--- a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectRetentionRequestMarshaller.cs
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectRetentionRequestMarshaller.cs
@@ -29,15 +29,14 @@
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using System.Xml;
-using Amazon.Util;
-using Amazon.S3.Util;
+#pragma warning disable CS0612,CS0618
namespace Amazon.S3.Model.Internal.MarshallTransformations
{
///
/// PutObjectRetention Request Marshaller
///
- public class PutObjectRetentionRequestMarshaller : IMarshaller , IMarshaller
+ public partial class PutObjectRetentionRequestMarshaller : IMarshaller , IMarshaller
{
///
/// Marshaller the request object to the HTTP request.
@@ -56,43 +55,56 @@ public IRequest Marshall(AmazonWebServiceRequest input)
///
public IRequest Marshall(PutObjectRetentionRequest publicRequest)
{
- var request = new DefaultRequest(publicRequest, "AmazonS3");
+ var request = new DefaultRequest(publicRequest, "Amazon.S3");
request.HttpMethod = "PUT";
request.AddSubResource("retention");
- if (publicRequest.IsSetBypassGovernanceRetention())
- request.Headers.Add("x-amz-bypass-governance-retention", S3Transforms.ToStringValue(publicRequest.BypassGovernanceRetention.Value));
- if (publicRequest.IsSetChecksumAlgorithm())
- request.Headers.Add(S3Constants.AmzHeaderSdkChecksumAlgorithm, S3Transforms.ToStringValue(publicRequest.ChecksumAlgorithm));
- if (publicRequest.IsSetContentMD5())
- request.Headers.Add(HeaderKeys.ContentMD5Header, S3Transforms.ToStringValue(publicRequest.ContentMD5));
- if (publicRequest.IsSetRequestPayer())
- request.Headers.Add(S3Constants.AmzHeaderRequestPayer, S3Transforms.ToStringValue(publicRequest.RequestPayer.ToString()));
- if (publicRequest.IsSetExpectedBucketOwner())
- request.Headers.Add(S3Constants.AmzHeaderExpectedBucketOwner, S3Transforms.ToStringValue(publicRequest.ExpectedBucketOwner));
- if (!publicRequest.IsSetBucketName())
- throw new System.ArgumentException("BucketName is a required property and must be set before making this call.", "publicRequest.BucketName");
- if (!publicRequest.IsSetKey())
- throw new System.ArgumentException("Key is a required property and must be set before making this call.", "publicRequest.Key");
- request.AddPathResource("{Key+}", publicRequest.Key);
+ if (publicRequest.IsSetBypassGovernanceRetention())
+ {
+ request.Headers["x-amz-bypass-governance-retention"] = StringUtils.FromBool(publicRequest.BypassGovernanceRetention);
+ }
+
+ if (publicRequest.IsSetChecksumAlgorithm())
+ {
+ request.Headers["x-amz-sdk-checksum-algorithm"] = publicRequest.ChecksumAlgorithm;
+ }
+
+ if (publicRequest.IsSetContentMD5())
+ {
+ request.Headers["Content-MD5"] = publicRequest.ContentMD5;
+ }
+
+ if (publicRequest.IsSetExpectedBucketOwner())
+ {
+ request.Headers["x-amz-expected-bucket-owner"] = publicRequest.ExpectedBucketOwner;
+ }
+
+ if (publicRequest.IsSetRequestPayer())
+ {
+ request.Headers["x-amz-request-payer"] = publicRequest.RequestPayer;
+ }
+ if (string.IsNullOrEmpty(publicRequest.BucketName))
+ throw new System.ArgumentException("BucketName is a required property and must be set before making this call.", "PutObjectRetentionRequest.BucketName");
+ if (string.IsNullOrEmpty(publicRequest.Key))
+ throw new System.ArgumentException("Key is a required property and must be set before making this call.", "PutObjectRetentionRequest.Key");
+ request.AddPathResource("{Key+}", StringUtils.FromString(publicRequest.Key));
if (publicRequest.IsSetVersionId())
request.Parameters.Add("versionId", StringUtils.FromString(publicRequest.VersionId));
request.ResourcePath = "/{Key+}";
-
var stringWriter = new XMLEncodedStringWriter(CultureInfo.InvariantCulture);
using (var xmlWriter = XmlWriter.Create(stringWriter, new XmlWriterSettings() { Encoding = System.Text.Encoding.UTF8, OmitXmlDeclaration = true, NewLineHandling = NewLineHandling.Entitize }))
{
if (publicRequest.IsSetRetention())
{
- xmlWriter.WriteStartElement("Retention", S3Constants.S3RequestXmlNamespace);
+ xmlWriter.WriteStartElement("ObjectLockRetention", "http://s3.amazonaws.com/doc/2006-03-01/");
if(publicRequest.Retention.IsSetMode())
xmlWriter.WriteElementString("Mode", StringUtils.FromString(publicRequest.Retention.Mode));
-
+
if(publicRequest.Retention.IsSetRetainUntilDate())
xmlWriter.WriteElementString("RetainUntilDate", StringUtils.FromDateTimeToISO8601WithOptionalMs(publicRequest.Retention.RetainUntilDate.Value));
-
-
+
+
xmlWriter.WriteEndElement();
}
}
@@ -100,41 +112,45 @@ public IRequest Marshall(PutObjectRetentionRequest publicRequest)
{
string content = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(content);
- request.Headers[HeaderKeys.ContentTypeHeader] = "application/xml";
-
+ request.Headers["Content-Type"] = "application/xml";
+ if (publicRequest.IsSetContentMD5())
+ request.Headers[Amazon.Util.HeaderKeys.ContentMD5Header] = publicRequest.ContentMD5;
ChecksumUtils.SetChecksumData(
- request,
- publicRequest.ChecksumAlgorithm,
- fallbackToMD5: false,
+ request,
+ publicRequest.ChecksumAlgorithm,
+ fallbackToMD5: false,
isRequestChecksumRequired: true,
- headerName: S3Constants.AmzHeaderSdkChecksumAlgorithm
+ headerName: "x-amz-sdk-checksum-algorithm"
);
- }
+ request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2006-03-01";
+ }
catch (EncoderFallbackException e)
{
throw new AmazonServiceException("Unable to marshall request to XML", e);
}
request.UseQueryString = true;
+ PostMarshallCustomization(request, publicRequest);
return request;
}
-
- private static PutObjectRetentionRequestMarshaller _instance;
+ private static PutObjectRetentionRequestMarshaller _instance = new PutObjectRetentionRequestMarshaller();
+
+ internal static PutObjectRetentionRequestMarshaller GetInstance()
+ {
+ return _instance;
+ }
///
- /// Singleton for marshaller
- ///
+ /// Gets the singleton.
+ ///
public static PutObjectRetentionRequestMarshaller Instance
{
get
{
- if (_instance == null)
- {
- _instance = new PutObjectRetentionRequestMarshaller();
- }
return _instance;
}
}
+ partial void PostMarshallCustomization(DefaultRequest defaultRequest, PutObjectRetentionRequest publicRequest);
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectRetentionResponseUnmarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectRetentionResponseUnmarshaller.cs
similarity index 63%
rename from sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectRetentionResponseUnmarshaller.cs
rename to sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectRetentionResponseUnmarshaller.cs
index 9a263702cf76..a292cd331177 100644
--- a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectRetentionResponseUnmarshaller.cs
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectRetentionResponseUnmarshaller.cs
@@ -30,6 +30,7 @@
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
+#pragma warning disable CS0612,CS0618
namespace Amazon.S3.Model.Internal.MarshallTransformations
{
///
@@ -50,8 +51,37 @@ public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext conte
return response;
}
- private static PutObjectRetentionResponseUnmarshaller _instance;
-
+
+
+ ///
+ /// Unmarshaller error response to exception.
+ ///
+ ///
+ ///
+ ///
+ ///
+ public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
+ {
+ S3ErrorResponse errorResponse = S3ErrorResponseUnmarshaller.Instance.Unmarshall(context);
+ errorResponse.InnerException = innerException;
+ errorResponse.StatusCode = statusCode;
+
+ var responseBodyBytes = context.GetResponseBodyBytes();
+
+ using (var streamCopy = new MemoryStream(responseBodyBytes))
+ using (var contextCopy = new XmlUnmarshallerContext(streamCopy, false, null))
+ {
+ }
+ return base.ConstructS3Exception(context, errorResponse, innerException, statusCode);
+ }
+
+ private static PutObjectRetentionResponseUnmarshaller _instance = new PutObjectRetentionResponseUnmarshaller();
+
+ internal static PutObjectRetentionResponseUnmarshaller GetInstance()
+ {
+ return _instance;
+ }
+
///
/// Gets the singleton.
///
@@ -59,10 +89,6 @@ public static PutObjectRetentionResponseUnmarshaller Instance
{
get
{
- if (_instance == null)
- {
- _instance = new PutObjectRetentionResponseUnmarshaller();
- }
return _instance;
}
}
diff --git a/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectTaggingRequestMarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectTaggingRequestMarshaller.cs
new file mode 100644
index 000000000000..4f8cd89c3097
--- /dev/null
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectTaggingRequestMarshaller.cs
@@ -0,0 +1,163 @@
+/*
+ * 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
+{
+ ///
+ /// PutObjectTagging Request Marshaller
+ ///
+ public partial class PutObjectTaggingRequestMarshaller : IMarshaller , IMarshaller
+ {
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(AmazonWebServiceRequest input)
+ {
+ return this.Marshall((PutObjectTaggingRequest)input);
+ }
+
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(PutObjectTaggingRequest publicRequest)
+ {
+ var request = new DefaultRequest(publicRequest, "Amazon.S3");
+ request.HttpMethod = "PUT";
+ request.AddSubResource("tagging");
+
+ if (publicRequest.IsSetChecksumAlgorithm())
+ {
+ request.Headers["x-amz-sdk-checksum-algorithm"] = publicRequest.ChecksumAlgorithm;
+ }
+
+ if (publicRequest.IsSetContentMD5())
+ {
+ request.Headers["Content-MD5"] = publicRequest.ContentMD5;
+ }
+
+ if (publicRequest.IsSetExpectedBucketOwner())
+ {
+ request.Headers["x-amz-expected-bucket-owner"] = publicRequest.ExpectedBucketOwner;
+ }
+
+ if (publicRequest.IsSetRequestPayer())
+ {
+ request.Headers["x-amz-request-payer"] = publicRequest.RequestPayer;
+ }
+ if (string.IsNullOrEmpty(publicRequest.BucketName))
+ throw new System.ArgumentException("BucketName is a required property and must be set before making this call.", "PutObjectTaggingRequest.BucketName");
+ if (string.IsNullOrEmpty(publicRequest.Key))
+ throw new System.ArgumentException("Key is a required property and must be set before making this call.", "PutObjectTaggingRequest.Key");
+ request.AddPathResource("{Key+}", StringUtils.FromString(publicRequest.Key));
+
+ if (publicRequest.IsSetVersionId())
+ request.AddSubResource("versionId", StringUtils.FromString(publicRequest.VersionId));
+ request.ResourcePath = "/{Key+}";
+ var stringWriter = new XMLEncodedStringWriter(CultureInfo.InvariantCulture);
+ using (var xmlWriter = XmlWriter.Create(stringWriter, new XmlWriterSettings() { Encoding = System.Text.Encoding.UTF8, OmitXmlDeclaration = true, NewLineHandling = NewLineHandling.Entitize }))
+ {
+ if (publicRequest.IsSetTagging())
+ {
+ xmlWriter.WriteStartElement("Tagging", "http://s3.amazonaws.com/doc/2006-03-01/");
+ var publicRequestTaggingTagSet = publicRequest.Tagging.TagSet;
+ if (publicRequestTaggingTagSet != null && (publicRequestTaggingTagSet.Count > 0 || !AWSConfigs.InitializeCollections))
+ {
+ xmlWriter.WriteStartElement("TagSet");
+ foreach (var publicRequestTaggingTagSetValue in publicRequestTaggingTagSet)
+ {
+ if (publicRequestTaggingTagSetValue != null)
+ {
+ xmlWriter.WriteStartElement("Tag");
+ if(publicRequestTaggingTagSetValue.IsSetKey())
+ xmlWriter.WriteElementString("Key", StringUtils.FromString(publicRequestTaggingTagSetValue.Key));
+ if(publicRequestTaggingTagSetValue.IsSetValue())
+ xmlWriter.WriteElementString("Value", StringUtils.FromString(publicRequestTaggingTagSetValue.Value));
+ xmlWriter.WriteEndElement();
+ }
+ }
+ xmlWriter.WriteEndElement();
+ }
+
+ xmlWriter.WriteEndElement();
+ }
+ }
+ try
+ {
+ string content = stringWriter.ToString();
+ request.Content = System.Text.Encoding.UTF8.GetBytes(content);
+ request.Headers["Content-Type"] = "application/xml";
+ if (publicRequest.IsSetContentMD5())
+ request.Headers[Amazon.Util.HeaderKeys.ContentMD5Header] = publicRequest.ContentMD5;
+ ChecksumUtils.SetChecksumData(
+ request,
+ publicRequest.ChecksumAlgorithm,
+ fallbackToMD5: false,
+ isRequestChecksumRequired: true,
+ headerName: "x-amz-sdk-checksum-algorithm"
+ );
+ request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2006-03-01";
+ }
+ catch (EncoderFallbackException e)
+ {
+ throw new AmazonServiceException("Unable to marshall request to XML", e);
+ }
+
+ request.UseQueryString = true;
+ PostMarshallCustomization(request, publicRequest);
+ return request;
+ }
+ private static PutObjectTaggingRequestMarshaller _instance = new PutObjectTaggingRequestMarshaller();
+
+ internal static PutObjectTaggingRequestMarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static PutObjectTaggingRequestMarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ partial void PostMarshallCustomization(DefaultRequest defaultRequest, PutObjectTaggingRequest publicRequest);
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectTaggingResponseUnmarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectTaggingResponseUnmarshaller.cs
new file mode 100644
index 000000000000..af659611a62d
--- /dev/null
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutObjectTaggingResponseUnmarshaller.cs
@@ -0,0 +1,97 @@
+/*
+ * 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.Net;
+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;
+
+#pragma warning disable CS0612,CS0618
+namespace Amazon.S3.Model.Internal.MarshallTransformations
+{
+ ///
+ /// Response Unmarshaller for PutObjectTagging operation
+ ///
+ public class PutObjectTaggingResponseUnmarshaller : S3ReponseUnmarshaller
+ {
+ ///
+ /// Unmarshaller the response from the service to the response class.
+ ///
+ ///
+ ///
+ public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
+ {
+ PutObjectTaggingResponse response = new PutObjectTaggingResponse();
+ if (context.ResponseData.IsHeaderPresent("x-amz-version-id"))
+ response.VersionId = context.ResponseData.GetHeaderValue("x-amz-version-id");
+
+ return response;
+ }
+
+
+ ///
+ /// Unmarshaller error response to exception.
+ ///
+ ///
+ ///
+ ///
+ ///
+ public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
+ {
+ S3ErrorResponse errorResponse = S3ErrorResponseUnmarshaller.Instance.Unmarshall(context);
+ errorResponse.InnerException = innerException;
+ errorResponse.StatusCode = statusCode;
+
+ var responseBodyBytes = context.GetResponseBodyBytes();
+
+ using (var streamCopy = new MemoryStream(responseBodyBytes))
+ using (var contextCopy = new XmlUnmarshallerContext(streamCopy, false, null))
+ {
+ }
+ return base.ConstructS3Exception(context, errorResponse, innerException, statusCode);
+ }
+
+ private static PutObjectTaggingResponseUnmarshaller _instance = new PutObjectTaggingResponseUnmarshaller();
+
+ internal static PutObjectTaggingResponseUnmarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static PutObjectTaggingResponseUnmarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutPublicAccessBlockRequestMarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutPublicAccessBlockRequestMarshaller.cs
new file mode 100644
index 000000000000..725b697ea361
--- /dev/null
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutPublicAccessBlockRequestMarshaller.cs
@@ -0,0 +1,145 @@
+/*
+ * 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
+{
+ ///
+ /// PutPublicAccessBlock Request Marshaller
+ ///
+ public partial class PutPublicAccessBlockRequestMarshaller : IMarshaller , IMarshaller
+ {
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(AmazonWebServiceRequest input)
+ {
+ return this.Marshall((PutPublicAccessBlockRequest)input);
+ }
+
+ ///
+ /// Marshaller the request object to the HTTP request.
+ ///
+ ///
+ ///
+ public IRequest Marshall(PutPublicAccessBlockRequest publicRequest)
+ {
+ var request = new DefaultRequest(publicRequest, "Amazon.S3");
+ request.HttpMethod = "PUT";
+ request.AddSubResource("publicAccessBlock");
+
+ if (publicRequest.IsSetChecksumAlgorithm())
+ {
+ request.Headers["x-amz-sdk-checksum-algorithm"] = publicRequest.ChecksumAlgorithm;
+ }
+
+ if (publicRequest.IsSetContentMD5())
+ {
+ request.Headers["Content-MD5"] = publicRequest.ContentMD5;
+ }
+
+ 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.", "PutPublicAccessBlockRequest.BucketName");
+ request.ResourcePath = "/";
+ var stringWriter = new XMLEncodedStringWriter(CultureInfo.InvariantCulture);
+ using (var xmlWriter = XmlWriter.Create(stringWriter, new XmlWriterSettings() { Encoding = System.Text.Encoding.UTF8, OmitXmlDeclaration = true, NewLineHandling = NewLineHandling.Entitize }))
+ {
+ if (publicRequest.IsSetPublicAccessBlockConfiguration())
+ {
+ xmlWriter.WriteStartElement("PublicAccessBlockConfiguration", "http://s3.amazonaws.com/doc/2006-03-01/");
+ if(publicRequest.PublicAccessBlockConfiguration.IsSetBlockPublicAcls())
+ xmlWriter.WriteElementString("BlockPublicAcls", StringUtils.FromBool(publicRequest.PublicAccessBlockConfiguration.BlockPublicAcls.Value));
+
+ if(publicRequest.PublicAccessBlockConfiguration.IsSetBlockPublicPolicy())
+ xmlWriter.WriteElementString("BlockPublicPolicy", StringUtils.FromBool(publicRequest.PublicAccessBlockConfiguration.BlockPublicPolicy.Value));
+
+ if(publicRequest.PublicAccessBlockConfiguration.IsSetIgnorePublicAcls())
+ xmlWriter.WriteElementString("IgnorePublicAcls", StringUtils.FromBool(publicRequest.PublicAccessBlockConfiguration.IgnorePublicAcls.Value));
+
+ if(publicRequest.PublicAccessBlockConfiguration.IsSetRestrictPublicBuckets())
+ xmlWriter.WriteElementString("RestrictPublicBuckets", StringUtils.FromBool(publicRequest.PublicAccessBlockConfiguration.RestrictPublicBuckets.Value));
+
+
+ xmlWriter.WriteEndElement();
+ }
+ }
+ try
+ {
+ string content = stringWriter.ToString();
+ request.Content = System.Text.Encoding.UTF8.GetBytes(content);
+ request.Headers["Content-Type"] = "application/xml";
+ if (publicRequest.IsSetContentMD5())
+ request.Headers[Amazon.Util.HeaderKeys.ContentMD5Header] = publicRequest.ContentMD5;
+ ChecksumUtils.SetChecksumData(
+ request,
+ publicRequest.ChecksumAlgorithm,
+ fallbackToMD5: false,
+ isRequestChecksumRequired: true,
+ headerName: "x-amz-sdk-checksum-algorithm"
+ );
+ request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2006-03-01";
+ }
+ catch (EncoderFallbackException e)
+ {
+ throw new AmazonServiceException("Unable to marshall request to XML", e);
+ }
+
+ PostMarshallCustomization(request, publicRequest);
+ return request;
+ }
+ private static PutPublicAccessBlockRequestMarshaller _instance = new PutPublicAccessBlockRequestMarshaller();
+
+ internal static PutPublicAccessBlockRequestMarshaller GetInstance()
+ {
+ return _instance;
+ }
+
+ ///
+ /// Gets the singleton.
+ ///
+ public static PutPublicAccessBlockRequestMarshaller Instance
+ {
+ get
+ {
+ return _instance;
+ }
+ }
+
+ partial void PostMarshallCustomization(DefaultRequest defaultRequest, PutPublicAccessBlockRequest publicRequest);
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutPublicAccessBlockResponseUnmarshaller.cs b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutPublicAccessBlockResponseUnmarshaller.cs
similarity index 50%
rename from sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutPublicAccessBlockResponseUnmarshaller.cs
rename to sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutPublicAccessBlockResponseUnmarshaller.cs
index 9d22d01d34fd..cc7e64a9caad 100644
--- a/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutPublicAccessBlockResponseUnmarshaller.cs
+++ b/sdk/src/Services/S3/Generated/Model/Internal/MarshallTransformations/PutPublicAccessBlockResponseUnmarshaller.cs
@@ -12,50 +12,84 @@
* 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.Net;
using System.Collections.Generic;
+using System.Globalization;
+using System.IO;
+using System.Net;
+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;
+#pragma warning disable CS0612,CS0618
namespace Amazon.S3.Model.Internal.MarshallTransformations
{
///
/// Response Unmarshaller for PutPublicAccessBlock operation
- ///
+ ///
public class PutPublicAccessBlockResponseUnmarshaller : S3ReponseUnmarshaller
{
///
/// Unmarshaller the response from the service to the response class.
- ///
+ ///
///
///
public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
{
PutPublicAccessBlockResponse response = new PutPublicAccessBlockResponse();
+
return response;
+ }
+
+
+ ///
+ /// Unmarshaller error response to exception.
+ ///
+ ///
+ ///
+ ///
+ ///
+ public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
+ {
+ S3ErrorResponse errorResponse = S3ErrorResponseUnmarshaller.Instance.Unmarshall(context);
+ errorResponse.InnerException = innerException;
+ errorResponse.StatusCode = statusCode;
+
+ var responseBodyBytes = context.GetResponseBodyBytes();
+
+ using (var streamCopy = new MemoryStream(responseBodyBytes))
+ using (var contextCopy = new XmlUnmarshallerContext(streamCopy, false, null))
+ {
+ }
+ return base.ConstructS3Exception(context, errorResponse, innerException, statusCode);
}
- private static PutPublicAccessBlockResponseUnmarshaller _instance;
+ private static PutPublicAccessBlockResponseUnmarshaller _instance = new PutPublicAccessBlockResponseUnmarshaller();
+
+ internal static PutPublicAccessBlockResponseUnmarshaller GetInstance()
+ {
+ return _instance;
+ }
///
- /// Singleton for the unmarshaller
- ///
+ /// Gets the singleton.
+ ///
public static PutPublicAccessBlockResponseUnmarshaller Instance
{
get
{
- if (_instance == null)
- {
- _instance = new PutPublicAccessBlockResponseUnmarshaller();
- }
return _instance;
}
}
-
}
-}
-
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Generated/Model/ListPartsRequest.cs b/sdk/src/Services/S3/Generated/Model/ListPartsRequest.cs
new file mode 100644
index 000000000000..ba27ef5c3dc0
--- /dev/null
+++ b/sdk/src/Services/S3/Generated/Model/ListPartsRequest.cs
@@ -0,0 +1,410 @@
+/*
+ * 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.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+#pragma warning disable CS0612,CS0618,CS1570
+namespace Amazon.S3.Model
+{
+ ///
+ /// Container for the parameters to the ListParts operation.
+ ///
+ ///
+ /// End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning DisplayName.
+ /// Update your applications to use canonical IDs (unique identifier for Amazon Web Services
+ /// accounts), Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full
+ /// resource naming) as a direct replacement of DisplayName.
+ ///
+ ///
+ ///
+ /// This change affects the following Amazon Web Services Regions: US East (N. Virginia)
+ /// Region, US West (N. California) Region, US West (Oregon) Region, Asia Pacific (Singapore)
+ /// Region, Asia Pacific (Sydney) Region, Asia Pacific (Tokyo) Region, Europe (Ireland)
+ /// Region, and South America (São Paulo) Region.
+ ///
+ ///
+ ///
+ /// Lists the parts that have been uploaded for a specific multipart upload.
+ ///
+ ///
+ ///
+ /// To use this operation, you must provide the upload ID in the request. You obtain
+ /// this uploadID by sending the initiate multipart upload request through CreateMultipartUpload.
+ ///
+ ///
+ ///
+ /// The ListParts request returns a maximum of 1,000 uploaded parts. The limit
+ /// of 1,000 parts is also the default value. You can restrict the number of parts in
+ /// a response by specifying the max-parts request parameter. If your multipart
+ /// upload consists of more than 1,000 parts, the response returns an IsTruncated
+ /// field with the value of true, and a NextPartNumberMarker element. To
+ /// list remaining uploaded parts, in subsequent ListParts requests, include the
+ /// part-number-marker query string parameter and set its value to the NextPartNumberMarker
+ /// field value from the previous response.
+ ///
+ ///
+ ///
+ /// For more information on multipart uploads, see Uploading
+ /// Objects Using Multipart Upload in the Amazon S3 User Guide.
+ ///
+ ///
+ ///
+ /// Directory buckets - For directory buckets, you must make requests for this
+ /// API operation to the Zonal endpoint. These endpoints support virtual-hosted-style
+ /// requests in the format https://amzn-s3-demo-bucket.s3express-zone-id.region-code.amazonaws.com/key-name
+ /// . Path-style requests are not supported. For more information about endpoints
+ /// in Availability Zones, see Regional
+ /// and Zonal endpoints for directory buckets in Availability Zones in the Amazon
+ /// S3 User Guide. For more information about endpoints in Local Zones, see Concepts
+ /// for directory buckets in Local Zones in the Amazon S3 User Guide.
+ ///
+ /// - Permissions
-
-
+ ///
+ /// General purpose bucket permissions - For information about permissions required
+ /// to use the multipart upload API, see Multipart
+ /// Upload and Permissions in the Amazon S3 User Guide.
+ ///
+ ///
+ ///
+ /// If the upload was created using server-side encryption with Key Management Service
+ /// (KMS) keys (SSE-KMS) or dual-layer server-side encryption with Amazon Web Services
+ /// KMS keys (DSSE-KMS), you must have permission to the kms:Decrypt action for
+ /// the ListParts request to succeed.
+ ///
+ ///
-
+ ///
+ /// Directory bucket permissions - To grant access to this API operation on a
+ /// directory bucket, we recommend that you use the
+ /// CreateSession API operation for session-based authorization. Specifically,
+ /// you grant the s3express:CreateSession permission to the directory bucket in
+ /// a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
+ /// API call on the bucket to obtain a session token. With the session token in your request
+ /// header, you can make API requests to this operation. After the session token expires,
+ /// you make another CreateSession API call to generate a new session token for
+ /// use. Amazon Web Services CLI or SDKs create session and refresh the session token
+ /// automatically to avoid service interruptions when a session expires. For more information
+ /// about authorization, see
+ /// CreateSession .
+ ///
+ ///
- HTTP Host header syntax
-
+ ///
+ /// Directory buckets - The HTTP Host header syntax is Bucket-name.s3express-zone-id.region-code.amazonaws.com.
+ ///
+ ///
+ ///
+ /// The following operations are related to ListParts:
+ ///
+ ///
+ ///
+ public partial class ListPartsRequest : AmazonWebServiceRequest
+ {
+ private string _bucketName;
+ private string _expectedBucketOwner;
+ private string _key;
+ private int? _maxParts;
+ private string _partNumberMarker;
+ private RequestPayer _requestPayer;
+ private string _sseCustomerAlgorithm;
+ private string _sseCustomerKey;
+ private string _sseCustomerKeyMD5;
+ private string _uploadId;
+
+ ///
+ /// Gets and sets the property BucketName.
+ ///
+ /// The name of the bucket to which the parts are being uploaded.
+ ///
+ ///
+ ///
+ /// Directory buckets - When you use this operation with a directory bucket, you
+ /// must use virtual-hosted-style requests in the format Bucket-name.s3express-zone-id.region-code.amazonaws.com.
+ /// Path-style requests are not supported. Directory bucket names must be unique in the
+ /// chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format
+ /// bucket-base-name--zone-id--x-s3 (for example, amzn-s3-demo-bucket--usw2-az1--x-s3).
+ /// For information about bucket naming restrictions, see Directory
+ /// bucket naming rules in the Amazon S3 User Guide.
+ ///
+ ///
+ ///
+ /// Access points - When you use this action with an access point for general
+ /// purpose buckets, you must provide the alias of the access point in place of the bucket
+ /// name or specify the access point ARN. When you use this action with an access point
+ /// for directory buckets, you must provide the access point name in place of the bucket
+ /// name. When using the access point ARN, you must direct requests to the access point
+ /// hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
+ /// When using this action with an access point through the Amazon Web Services SDKs,
+ /// you provide the access point ARN in place of the bucket name. For more information
+ /// about access point ARNs, see Using
+ /// access points in the Amazon S3 User Guide.
+ ///
+ ///
+ ///
+ /// Object Lambda access points are not supported by directory buckets.
+ ///
+ ///
+ ///
+ /// S3 on Outposts - When you use this action with S3 on Outposts, you must direct
+ /// requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ /// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com.
+ /// When you use this action with S3 on Outposts, the destination bucket must be the Outposts
+ /// access point ARN or the access point alias. For more information about S3 on Outposts,
+ /// see What
+ /// is S3 on Outposts? in the Amazon S3 User Guide.
+ ///
+ ///
+ public string BucketName
+ {
+ get { return this._bucketName; }
+ set { this._bucketName = value; }
+ }
+
+ // Check to see if BucketName property is set
+ internal bool IsSetBucketName()
+ {
+ return this._bucketName != null;
+ }
+
+ ///
+ /// Gets and sets the property ExpectedBucketOwner.
+ ///
+ /// The account ID of the expected bucket owner. If the account ID that you provide does
+ /// not match the actual owner of the bucket, the request fails with the HTTP status code
+ /// 403 Forbidden (access denied).
+ ///
+ ///
+ public string ExpectedBucketOwner
+ {
+ get { return this._expectedBucketOwner; }
+ set { this._expectedBucketOwner = value; }
+ }
+
+ // Check to see if ExpectedBucketOwner property is set
+ internal bool IsSetExpectedBucketOwner()
+ {
+ return this._expectedBucketOwner != null;
+ }
+
+ ///
+ /// Gets and sets the property Key.
+ ///
+ /// Object key for which the multipart upload was initiated.
+ ///
+ ///
+ [AWSProperty(Required=true, Min=1)]
+ public string Key
+ {
+ get { return this._key; }
+ set { this._key = value; }
+ }
+
+ // Check to see if Key property is set
+ internal bool IsSetKey()
+ {
+ return this._key != null;
+ }
+
+ ///
+ /// Gets and sets the property MaxParts.
+ ///
+ /// Sets the maximum number of parts to return.
+ ///
+ ///
+ public int? MaxParts
+ {
+ get { return this._maxParts; }
+ set { this._maxParts = value; }
+ }
+
+ // Check to see if MaxParts property is set
+ internal bool IsSetMaxParts()
+ {
+ return this._maxParts.HasValue;
+ }
+
+ ///
+ /// Gets and sets the property PartNumberMarker.
+ ///
+ /// Specifies the part after which listing should begin. Only parts with higher part numbers
+ /// will be listed.
+ ///
+ ///
+ public string PartNumberMarker
+ {
+ get { return this._partNumberMarker; }
+ set { this._partNumberMarker = value; }
+ }
+
+ // Check to see if PartNumberMarker property is set
+ internal bool IsSetPartNumberMarker()
+ {
+ return this._partNumberMarker != null;
+ }
+
+ ///
+ /// Gets and sets the property RequestPayer.
+ ///
+ public RequestPayer RequestPayer
+ {
+ get { return this._requestPayer; }
+ set { this._requestPayer = value; }
+ }
+
+ // Check to see if RequestPayer property is set
+ internal bool IsSetRequestPayer()
+ {
+ return this._requestPayer != null;
+ }
+
+ ///
+ /// Gets and sets the property SSECustomerAlgorithm.
+ ///
+ /// The server-side encryption (SSE) algorithm used to encrypt the object. This parameter
+ /// is needed only when the object was created using a checksum algorithm. For more information,
+ /// see Protecting
+ /// data using SSE-C keys in the Amazon S3 User Guide.
+ ///
+ ///
+ ///
+ /// This functionality is not supported for directory buckets.
+ ///
+ ///
+ ///
+ public string SSECustomerAlgorithm
+ {
+ get { return this._sseCustomerAlgorithm; }
+ set { this._sseCustomerAlgorithm = value; }
+ }
+
+ // Check to see if SSECustomerAlgorithm property is set
+ internal bool IsSetSSECustomerAlgorithm()
+ {
+ return this._sseCustomerAlgorithm != null;
+ }
+
+ ///
+ /// Gets and sets the property SSECustomerKey.
+ ///
+ /// The server-side encryption (SSE) customer managed key. This parameter is needed only
+ /// when the object was created using a checksum algorithm. For more information, see
+ /// Protecting
+ /// data using SSE-C keys in the Amazon S3 User Guide.
+ ///
+ ///
+ ///
+ /// This functionality is not supported for directory buckets.
+ ///
+ ///
+ ///
+ [AWSProperty(Sensitive=true)]
+ public string SSECustomerKey
+ {
+ get { return this._sseCustomerKey; }
+ set { this._sseCustomerKey = value; }
+ }
+
+ // Check to see if SSECustomerKey property is set
+ internal bool IsSetSSECustomerKey()
+ {
+ return this._sseCustomerKey != null;
+ }
+
+ ///
+ /// Gets and sets the property SSECustomerKeyMD5.
+ ///
+ /// The MD5 server-side encryption (SSE) customer managed key. This parameter is needed
+ /// only when the object was created using a checksum algorithm. For more information,
+ /// see Protecting
+ /// data using SSE-C keys in the Amazon S3 User Guide.
+ ///
+ ///
+ ///
+ /// This functionality is not supported for directory buckets.
+ ///
+ ///
+ ///
+ public string SSECustomerKeyMD5
+ {
+ get { return this._sseCustomerKeyMD5; }
+ set { this._sseCustomerKeyMD5 = value; }
+ }
+
+ // Check to see if SSECustomerKeyMD5 property is set
+ internal bool IsSetSSECustomerKeyMD5()
+ {
+ return this._sseCustomerKeyMD5 != null;
+ }
+
+ ///
+ /// Gets and sets the property UploadId.
+ ///
+ /// Upload ID identifying the multipart upload whose parts are being listed.
+ ///
+ ///
+ [AWSProperty(Required=true)]
+ public string UploadId
+ {
+ get { return this._uploadId; }
+ set { this._uploadId = value; }
+ }
+
+ // Check to see if UploadId property is set
+ internal bool IsSetUploadId()
+ {
+ return this._uploadId != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Custom/Model/ListPartsResponse.cs b/sdk/src/Services/S3/Generated/Model/ListPartsResponse.cs
similarity index 59%
rename from sdk/src/Services/S3/Custom/Model/ListPartsResponse.cs
rename to sdk/src/Services/S3/Generated/Model/ListPartsResponse.cs
index a5600265bbc7..8a99b1605ebb 100644
--- a/sdk/src/Services/S3/Custom/Model/ListPartsResponse.cs
+++ b/sdk/src/Services/S3/Generated/Model/ListPartsResponse.cs
@@ -12,216 +12,257 @@
* 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.Xml.Serialization;
using System.Text;
+using System.IO;
+using System.Net;
using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+#pragma warning disable CS0612,CS0618,CS1570
namespace Amazon.S3.Model
{
///
- /// Returns information about the ListParts response and response metadata.
+ /// This is the response object from the ListParts operation.
///
- public class ListPartsResponse : AmazonWebServiceResponse
+ public partial class ListPartsResponse : AmazonWebServiceResponse
{
- private string bucketName;
+ private DateTime? _abortDate;
+ private string _abortRuleId;
+ private string _bucketName;
private ChecksumAlgorithm _checksumAlgorithm;
- private string key;
- private string uploadId;
- private Owner owner;
- private Initiator initiator;
- private S3StorageClass storageClass;
- private int? partNumberMarker;
- private int? nextPartNumberMarker;
- private int? maxParts;
- private bool? isTruncated;
- private List parts = AWSConfigs.InitializeCollections ? new List() : null;
- private DateTime? abortDate;
- private string abortRuleId;
- private RequestCharged requestCharged;
- private ChecksumType checksumType;
+ private ChecksumType _checksumType;
+ private Initiator _initiator;
+ private bool? _isTruncated;
+ private string _key;
+ private int? _maxParts;
+ private int? _nextPartNumberMarker;
+ private Owner _owner;
+ private int? _partNumberMarker;
+ private List _parts = AWSConfigs.InitializeCollections ? new List() : null;
+ private RequestCharged _requestCharged;
+ private string _storageClass;
+ private string _uploadId;
///
- /// Gets and sets the property BucketName.
+ /// Gets and sets the property AbortDate.
///
- /// The name of the bucket to which the multipart upload was initiated. Does not return
- /// the access point ARN or access point alias if used.
+ /// If the bucket has a lifecycle rule configured with an action to abort incomplete multipart
+ /// uploads and the prefix in the lifecycle rule matches the object name in the request,
+ /// then the response includes this header indicating when the initiated multipart upload
+ /// will become eligible for abort operation. For more information, see Aborting
+ /// Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration.
+ ///
+ ///
+ ///
+ /// The response will also include the x-amz-abort-rule-id header that will provide
+ /// the ID of the lifecycle configuration rule that defines this action.
///
+ ///
+ ///
+ /// This functionality is not supported for directory buckets.
+ ///
+ ///
///
- public string BucketName
+ public DateTime? AbortDate
{
- get { return this.bucketName; }
- set { this.bucketName = value; }
+ get { return this._abortDate; }
+ set { this._abortDate = value; }
}
- // Check to see if BucketName property is set
- internal bool IsSetBucketName()
+ // Check to see if AbortDate property is set
+ internal bool IsSetAbortDate()
{
- return this.bucketName != null;
+ return this._abortDate.HasValue;
}
///
- /// Gets and sets the property ChecksumAlgorithm.
+ /// Gets and sets the property AbortRuleId.
///
- /// The algorithm that was used to create a checksum of the object.
+ /// This header is returned along with the x-amz-abort-date header. It identifies
+ /// applicable lifecycle configuration rule that defines the action to abort incomplete
+ /// multipart uploads.
///
+ ///
+ ///
+ /// This functionality is not supported for directory buckets.
+ ///
+ ///
///
- public ChecksumAlgorithm ChecksumAlgorithm
+ public string AbortRuleId
{
- get { return this._checksumAlgorithm; }
- set { this._checksumAlgorithm = value; }
+ get { return this._abortRuleId; }
+ set { this._abortRuleId = value; }
}
- // Check to see if ChecksumAlgorithm property is set
- internal bool IsSetChecksumAlgorithm()
+ // Check to see if AbortRuleId property is set
+ internal bool IsSetAbortRuleId()
{
- return this._checksumAlgorithm != null;
+ return this._abortRuleId != null;
}
///
- /// Object key for which the multipart upload was initiated.
- ///
+ /// Gets and sets the property BucketName.
+ ///
+ /// The name of the bucket to which the multipart upload was initiated. Does not return
+ /// the access point ARN or access point alias if used.
+ ///
///
- public string Key
+ public string BucketName
{
- get { return this.key; }
- set { this.key = value; }
+ get { return this._bucketName; }
+ set { this._bucketName = value; }
}
- // Check to see if Key property is set
- internal bool IsSetKey()
+ // Check to see if BucketName property is set
+ internal bool IsSetBucketName()
{
- return this.key != null;
+ return this._bucketName != null;
}
///
- /// Upload ID identifying the multipart upload whose parts are being listed.
- ///
+ /// Gets and sets the property ChecksumAlgorithm.
+ ///
+ /// The algorithm that was used to create a checksum of the object.
+ ///
///
- public string UploadId
+ public ChecksumAlgorithm ChecksumAlgorithm
{
- get { return this.uploadId; }
- set { this.uploadId = value; }
+ get { return this._checksumAlgorithm; }
+ set { this._checksumAlgorithm = value; }
}
- // Check to see if UploadId property is set
- internal bool IsSetUploadId()
+ // Check to see if ChecksumAlgorithm property is set
+ internal bool IsSetChecksumAlgorithm()
{
- return this.uploadId != null;
+ return this._checksumAlgorithm != null;
}
///
- /// Gets and sets the property PartNumberMarker.
+ /// Gets and sets the property ChecksumType.
///
- /// Specifies the part after which listing should begin. Only parts with higher part numbers
- /// will be listed.
+ /// The checksum type, which determines how part-level checksums are combined to create
+ /// an object-level checksum for multipart objects. You can use this header response to
+ /// verify that the checksum type that is received is the same checksum type that was
+ /// specified in CreateMultipartUpload request. For more information, see Checking
+ /// object integrity in the Amazon S3 User Guide.
///
///
- public int? PartNumberMarker
+ public ChecksumType ChecksumType
{
- get { return this.partNumberMarker; }
- set { this.partNumberMarker = value; }
+ get { return this._checksumType; }
+ set { this._checksumType = value; }
}
- // Check to see if PartNumberMarker property is set
- internal bool IsSetPartNumberMarker()
+ // Check to see if ChecksumType property is set
+ internal bool IsSetChecksumType()
{
- return this.partNumberMarker.HasValue;
+ return this._checksumType != null;
}
///
- /// Gets and sets the property NextPartNumberMarker.
+ /// Gets and sets the property Initiator.
///
- /// When a list is truncated, this element specifies the last part in the list, as well
- /// as the value to use for the part-number-marker request parameter in a
- /// subsequent request.
+ /// Container element that identifies who initiated the multipart upload. If the initiator
+ /// is an Amazon Web Services account, this element provides the same information as the
+ /// Owner element. If the initiator is an IAM User, this element provides the user
+ /// ARN and display name.
///
- ///
///
- public int? NextPartNumberMarker
+ public Initiator Initiator
{
- get { return this.nextPartNumberMarker; }
- set { this.nextPartNumberMarker = value; }
+ get { return this._initiator; }
+ set { this._initiator = value; }
}
- // Check to see if NextPartNumberMarker property is set
- internal bool IsSetNextPartNumberMarker()
+ // Check to see if Initiator property is set
+ internal bool IsSetInitiator()
{
- return this.nextPartNumberMarker.HasValue;
+ return this._initiator != null;
}
///
- /// Maximum number of parts that were allowed in the response.
- ///
+ /// Gets and sets the property IsTruncated.
+ ///
+ /// Indicates whether the returned list of parts is truncated. A true value indicates
+ /// that the list was truncated. A list can be truncated if the number of parts exceeds
+ /// the limit returned in the MaxParts element.
+ ///
///
- public int? MaxParts
+ public bool? IsTruncated
{
- get { return this.maxParts; }
- set { this.maxParts = value; }
+ get { return this._isTruncated; }
+ set { this._isTruncated = value; }
}
- // Check to see if MaxParts property is set
- internal bool IsSetMaxParts()
+ // Check to see if IsTruncated property is set
+ internal bool IsSetIsTruncated()
{
- return this.maxParts.HasValue;
+ return this._isTruncated.HasValue;
}
///
- /// Indicates whether the returned list of parts is truncated.
- ///
+ /// Gets and sets the property Key.
+ ///
+ /// Object key for which the multipart upload was initiated.
+ ///
///
- public bool? IsTruncated
+ [AWSProperty(Min=1)]
+ public string Key
{
- get { return this.isTruncated; }
- set { this.isTruncated = value; }
+ get { return this._key; }
+ set { this._key = value; }
}
- // Check to see if IsTruncated property is set
- internal bool IsSetIsTruncated()
+ // Check to see if Key property is set
+ internal bool IsSetKey()
{
- return this.isTruncated.HasValue;
+ return this._key != null;
}
///
- /// Gets and sets the Parts property.
+ /// Gets and sets the property MaxParts.
///
- /// PartDetails is a container for elements related to a particular part. A response can contain
- /// zero or more Part elements.
+ /// Maximum number of parts that were allowed in the response.
///
///
- public List Parts
+ public int? MaxParts
{
- get { return this.parts; }
- set { this.parts = value; }
+ get { return this._maxParts; }
+ set { this._maxParts = value; }
}
- // Check to see if Parts property is set
- internal bool IsSetParts()
+ // Check to see if MaxParts property is set
+ internal bool IsSetMaxParts()
{
- return this.parts != null && (this.parts.Count > 0 || !AWSConfigs.InitializeCollections);
+ return this._maxParts.HasValue;
}
///
- /// Gets and sets the property Initiator.
+ /// Gets and sets the property NextPartNumberMarker.
///
- /// Container element that identifies who initiated the multipart upload. If the initiator
- /// is an Amazon Web Services account, this element provides the same information as the
- /// Owner element. If the initiator is an IAM User, this element provides
- /// the user ARN and display name.
+ /// When a list is truncated, this element specifies the last part in the list, as well
+ /// as the value to use for the part-number-marker request parameter in a subsequent
+ /// request.
///
///
- public Initiator Initiator
+ public int? NextPartNumberMarker
{
- get { return this.initiator; }
- set { this.initiator = value; }
+ get { return this._nextPartNumberMarker; }
+ set { this._nextPartNumberMarker = value; }
}
- // Check to see if Initiator property is set
- internal bool IsSetInitiator()
+ // Check to see if NextPartNumberMarker property is set
+ internal bool IsSetNextPartNumberMarker()
{
- return this.initiator != null;
+ return this._nextPartNumberMarker.HasValue;
}
///
@@ -240,140 +281,116 @@ internal bool IsSetInitiator()
///
public Owner Owner
{
- get { return this.owner; }
- set { this.owner = value; }
+ get { return this._owner; }
+ set { this._owner = value; }
}
// Check to see if Owner property is set
internal bool IsSetOwner()
{
- return this.owner != null;
+ return this._owner != null;
}
///
- /// Gets and sets the property StorageClass.
- ///
- /// The class of storage used to store the uploaded object.
- ///
- ///
+ /// Gets and sets the property PartNumberMarker.
///
- /// Directory buckets - Only the S3 Express One Zone storage class is supported
- /// by directory buckets to store objects.
+ /// Specifies the part after which listing should begin. Only parts with higher part numbers
+ /// will be listed.
///
- ///
///
- public string StorageClass
+ public int? PartNumberMarker
{
- get { return this.storageClass; }
- set { this.storageClass = value; }
+ get { return this._partNumberMarker; }
+ set { this._partNumberMarker = value; }
}
- // Check to see if StorageClass property is set
- internal bool IsSetStorageClass()
+ // Check to see if PartNumberMarker property is set
+ internal bool IsSetPartNumberMarker()
{
- return this.storageClass != null;
+ return this._partNumberMarker.HasValue;
}
///
- /// Gets and sets the property AbortDate.
- ///
- /// If the bucket has a lifecycle rule configured with an action to abort incomplete multipart
- /// uploads and the prefix in the lifecycle rule matches the object name in the request,
- /// then the response includes this header indicating when the initiated multipart upload
- /// will become eligible for abort operation. For more information, see Aborting
- /// Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration.
- ///
- ///
+ /// Gets and sets the property Parts.
///
- /// The response will also include the x-amz-abort-rule-id header that will
- /// provide the ID of the lifecycle configuration rule that defines this action.
+ /// Container for elements related to a particular part. A response can contain zero or
+ /// more Part elements.
///
- ///
- ///
- /// This functionality is not supported for directory buckets.
- ///
- ///
+ ///
+ /// Starting with version 4 of the SDK this property will default to null. If no data for this property is returned
+ /// from the service the property will also be null. This was changed to improve performance and allow the SDK and caller
+ /// to distinguish between a property not set or a property being empty to clear out a value. To retain the previous
+ /// SDK behavior set the AWSConfigs.InitializeCollections static property to true.
///
- public DateTime? AbortDate
+ public List Parts
{
- get { return this.abortDate; }
- set { this.abortDate = value; }
+ get { return this._parts; }
+ set { this._parts = value; }
}
- // Check to see if AbortDate property is set
- internal bool IsSetAbortDate()
+ // Check to see if Parts property is set
+ internal bool IsSetParts()
{
- return this.abortDate.HasValue;
+ return this._parts != null && (this._parts.Count > 0 || !AWSConfigs.InitializeCollections);
}
///
- /// Gets and sets the property AbortRuleId.
- ///
- /// This header is returned along with the x-amz-abort-date header. It identifies
- /// applicable lifecycle configuration rule that defines the action to abort incomplete
- /// multipart uploads.
- ///
- ///
- ///
- /// This functionality is not supported for directory buckets.
- ///
- ///
+ /// Gets and sets the property RequestCharged.
///
- public string AbortRuleId
+ public RequestCharged RequestCharged
{
- get { return this.abortRuleId; }
- set { this.abortRuleId = value; }
+ get { return this._requestCharged; }
+ set { this._requestCharged = value; }
}
- // Check to see if AbortRuleId property is set
- internal bool IsSetAbortRuleId()
+ // Check to see if RequestCharged property is set
+ internal bool IsSetRequestCharged()
{
- return this.abortRuleId != null;
+ return this._requestCharged != null;
}
///
- /// If present, indicates that the requester was successfully charged for the request.
+ /// Gets and sets the property StorageClass.
+ ///
+ /// The class of storage used to store the uploaded object.
+ ///
+ ///
+ ///
+ /// Directory buckets - Directory buckets only support EXPRESS_ONEZONE
+ /// (the S3 Express One Zone storage class) in Availability Zones and ONEZONE_IA
+ /// (the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones.
+ ///
+ ///
///
- public RequestCharged RequestCharged
+ public string StorageClass
{
- get { return this.requestCharged; }
- set { this.requestCharged = value; }
+ get { return this._storageClass; }
+ set { this._storageClass = value; }
}
- ///
- /// Checks to see if RequestCharged is set.
- ///
- /// true, if RequestCharged property is set.
- internal bool IsSetRequestCharged()
+ // Check to see if StorageClass property is set
+ internal bool IsSetStorageClass()
{
- return requestCharged != null;
+ return this._storageClass != null;
}
///
- /// Gets and sets the property ChecksumType.
+ /// Gets and sets the property UploadId.
///
- /// The checksum type, which determines how part-level checksums are combined to
- /// create an object-level checksum for multipart objects. You can use this header
- /// response to verify that the checksum type that is received is the same checksum
- /// type that was specified in the CreateMultipartUpload request.
- /// For more information, see
- /// Checking object integrity in the Amazon S3 User Guide.
+ /// Upload ID identifying the multipart upload whose parts are being listed.
///
///
- public ChecksumType ChecksumType
+ public string UploadId
{
- get { return this.checksumType; }
- set { this.checksumType = value; }
+ get { return this._uploadId; }
+ set { this._uploadId = value; }
}
- ///
- /// Checks to see if ChecksumType is set.
- ///
- /// true, if ChecksumType property is set.
- internal bool IsSetChecksumType()
+ // Check to see if UploadId property is set
+ internal bool IsSetUploadId()
{
- return checksumType != null;
+ return this._uploadId != null;
}
+
}
-}
-
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Custom/Model/NoSuchBucketException.cs b/sdk/src/Services/S3/Generated/Model/NoSuchBucketException.cs
similarity index 88%
rename from sdk/src/Services/S3/Custom/Model/NoSuchBucketException.cs
rename to sdk/src/Services/S3/Generated/Model/NoSuchBucketException.cs
index a7ea4354722e..35bb2a11d86f 100644
--- a/sdk/src/Services/S3/Custom/Model/NoSuchBucketException.cs
+++ b/sdk/src/Services/S3/Generated/Model/NoSuchBucketException.cs
@@ -1,4 +1,4 @@
-/*
+/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
@@ -12,24 +12,29 @@
* 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.Xml.Serialization;
using System.Text;
using System.IO;
+using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
-using System.Net;
+#pragma warning disable CS0612,CS0618,CS1570
namespace Amazon.S3.Model
{
///
/// The specified bucket does not exist.
///
-#if !NETSTANDARD
+ #if !NETSTANDARD
[Serializable]
-#endif
+ #endif
public partial class NoSuchBucketException : AmazonS3Exception
{
@@ -40,23 +45,23 @@ public partial class NoSuchBucketException : AmazonS3Exception
///
/// Describes the error encountered.
///
- public NoSuchBucketException(string message)
- : base(message) { }
+ public NoSuchBucketException(string message)
+ : base(message) {}
///
/// Construct instance of NoSuchBucketException
///
///
///
- public NoSuchBucketException(string message, Exception innerException)
- : base(message, innerException) { }
+ public NoSuchBucketException(string message, Exception innerException)
+ : base(message, innerException) {}
///
/// Construct instance of NoSuchBucketException
///
///
- public NoSuchBucketException(Exception innerException)
- : base(innerException) { }
+ public NoSuchBucketException(Exception innerException)
+ : base(innerException) {}
///
/// Construct instance of NoSuchBucketException
@@ -67,8 +72,8 @@ public NoSuchBucketException(Exception innerException)
///
///
///
- public NoSuchBucketException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
- : base(message, innerException, errorType, errorCode, requestId, statusCode) { }
+ public NoSuchBucketException(string message, Exception innerException, Amazon.Runtime.ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
+ : base(message, innerException, errorType, errorCode, requestId, statusCode) {}
///
/// Construct instance of NoSuchBucketException
@@ -78,22 +83,9 @@ public NoSuchBucketException(string message, Exception innerException, ErrorType
///
///
///
- public NoSuchBucketException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
- : base(message, errorType, errorCode, requestId, statusCode) { }
+ public NoSuchBucketException(string message, Amazon.Runtime.ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
+ : base(message, errorType, errorCode, requestId, statusCode) {}
- ///
- /// Construct instance of NoSuchBucketException
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- public NoSuchBucketException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode, string amazonId2, string amazonCfId)
- : base(message, innerException, errorType, errorCode, requestId, statusCode, amazonId2, amazonCfId) { }
#if !NETSTANDARD
///
@@ -124,5 +116,18 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
}
#endif
+ ///
+ /// Construct instance of NoSuchBucketException
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public NoSuchBucketException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode, string amazonId2, string amazonCfId)
+ : base(message, innerException, errorType, errorCode, requestId, statusCode, amazonId2, amazonCfId) { }
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Generated/Model/NoSuchKeyException.cs b/sdk/src/Services/S3/Generated/Model/NoSuchKeyException.cs
index 5e5556afce6f..778ade21d370 100644
--- a/sdk/src/Services/S3/Generated/Model/NoSuchKeyException.cs
+++ b/sdk/src/Services/S3/Generated/Model/NoSuchKeyException.cs
@@ -116,5 +116,18 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
}
#endif
+ ///
+ /// Construct instance of NoSuchKeyException
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public NoSuchKeyException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode, string amazonId2, string amazonCfId)
+ : base(message, innerException, errorType, errorCode, requestId, statusCode, amazonId2, amazonCfId) { }
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Generated/Model/NoSuchUploadException.cs b/sdk/src/Services/S3/Generated/Model/NoSuchUploadException.cs
index f34e2985d5f7..409739b74a25 100644
--- a/sdk/src/Services/S3/Generated/Model/NoSuchUploadException.cs
+++ b/sdk/src/Services/S3/Generated/Model/NoSuchUploadException.cs
@@ -116,5 +116,18 @@ public override void GetObjectData(System.Runtime.Serialization.SerializationInf
}
#endif
+ ///
+ /// Construct instance of NoSuchUploadException
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public NoSuchUploadException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode, string amazonId2, string amazonCfId)
+ : base(message, innerException, errorType, errorCode, requestId, statusCode, amazonId2, amazonCfId) { }
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Generated/Model/PartDetail.cs b/sdk/src/Services/S3/Generated/Model/PartDetail.cs
new file mode 100644
index 000000000000..14ccfdb2b019
--- /dev/null
+++ b/sdk/src/Services/S3/Generated/Model/PartDetail.cs
@@ -0,0 +1,77 @@
+/*
+ * 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.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+#pragma warning disable CS0612,CS0618,CS1570
+namespace Amazon.S3.Model
+{
+ ///
+ /// Container for elements related to a part.
+ ///
+ public partial class PartDetail
+ {
+ private DateTime? _lastModified;
+ private long? _size;
+
+ ///
+ /// Gets and sets the property LastModified.
+ ///
+ /// Date and time at which the part was uploaded.
+ ///
+ ///
+ public DateTime? LastModified
+ {
+ get { return this._lastModified; }
+ set { this._lastModified = value; }
+ }
+
+ // Check to see if LastModified property is set
+ internal bool IsSetLastModified()
+ {
+ return this._lastModified.HasValue;
+ }
+
+ ///
+ /// Gets and sets the property Size.
+ ///
+ /// Size in bytes of the uploaded part data.
+ ///
+ ///
+ public long? Size
+ {
+ get { return this._size; }
+ set { this._size = value; }
+ }
+
+ // Check to see if Size property is set
+ internal bool IsSetSize()
+ {
+ return this._size.HasValue;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Generated/Model/PutBucketPolicyRequest.cs b/sdk/src/Services/S3/Generated/Model/PutBucketPolicyRequest.cs
new file mode 100644
index 000000000000..76f45ab65484
--- /dev/null
+++ b/sdk/src/Services/S3/Generated/Model/PutBucketPolicyRequest.cs
@@ -0,0 +1,322 @@
+/*
+ * 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.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+#pragma warning disable CS0612,CS0618,CS1570
+namespace Amazon.S3.Model
+{
+ ///
+ /// Container for the parameters to the PutBucketPolicy operation.
+ /// Applies an Amazon S3 bucket policy to an Amazon S3 bucket.
+ ///
+ ///
+ ///
+ /// Directory buckets - For directory buckets, you must make requests for this
+ /// API operation to the Regional endpoint. These endpoints support path-style requests
+ /// in the format https://s3express-control.region-code.amazonaws.com/bucket-name
+ /// . Virtual-hosted-style requests aren't supported. For more information about endpoints
+ /// in Availability Zones, see Regional
+ /// and Zonal endpoints for directory buckets in Availability Zones in the Amazon
+ /// S3 User Guide. For more information about endpoints in Local Zones, see Concepts
+ /// for directory buckets in Local Zones in the Amazon S3 User Guide.
+ ///
+ /// - Permissions
-
+ ///
+ /// If you are using an identity other than the root user of the Amazon Web Services account
+ /// that owns the bucket, the calling identity must both have the PutBucketPolicy
+ /// permissions on the specified bucket and belong to the bucket owner's account in order
+ /// to use this operation.
+ ///
+ ///
+ ///
+ /// If you don't have PutBucketPolicy permissions, Amazon S3 returns a 403 Access
+ /// Denied error. If you have the correct permissions, but you're not using an identity
+ /// that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not
+ /// Allowed error.
+ ///
+ ///
+ ///
+ /// To ensure that bucket owners don't inadvertently lock themselves out of their own
+ /// buckets, the root principal in a bucket owner's Amazon Web Services account can perform
+ /// the GetBucketPolicy, PutBucketPolicy, and DeleteBucketPolicy
+ /// API actions, even if their bucket policy explicitly denies the root principal's access.
+ /// Bucket owner root principals can only be blocked from performing these API actions
+ /// by VPC endpoint policies and Amazon Web Services Organizations policies.
+ ///
+ ///
-
+ ///
+ /// General purpose bucket permissions - The s3:PutBucketPolicy permission
+ /// is required in a policy. For more information about general purpose buckets bucket
+ /// policies, see Using
+ /// Bucket Policies and User Policies in the Amazon S3 User Guide.
+ ///
+ ///
-
+ ///
+ /// Directory bucket permissions - To grant access to this API operation, you
+ /// must have the s3express:PutBucketPolicy permission in an IAM identity-based
+ /// policy instead of a bucket policy. Cross-account access to this API operation isn't
+ /// supported. This operation can only be performed by the Amazon Web Services account
+ /// that owns the resource. For more information about directory bucket policies and permissions,
+ /// see Amazon
+ /// Web Services Identity and Access Management (IAM) for S3 Express One Zone in the
+ /// Amazon S3 User Guide.
+ ///
+ ///
- Example bucket policies
-
+ ///
+ /// General purpose buckets example bucket policies - See Bucket
+ /// policy examples in the Amazon S3 User Guide.
+ ///
+ ///
+ ///
+ /// Directory bucket example bucket policies - See Example
+ /// bucket policies for S3 Express One Zone in the Amazon S3 User Guide.
+ ///
+ ///
- HTTP Host header syntax
-
+ ///
+ /// Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.
+ ///
+ ///
+ ///
+ /// The following operations are related to PutBucketPolicy:
+ ///
+ ///
+ ///
+ public partial class PutBucketPolicyRequest : AmazonWebServiceRequest
+ {
+ private string _bucketName;
+ private ChecksumAlgorithm _checksumAlgorithm;
+ private bool? _confirmRemoveSelfBucketAccess;
+ private string _contentMD5;
+ private string _expectedBucketOwner;
+ private string _policy;
+
+ ///
+ /// Gets and sets the property BucketName.
+ ///
+ /// The name of the bucket.
+ ///
+ ///
+ ///
+ /// Directory buckets - When you use this operation with a directory bucket,
+ /// you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name
+ /// . Virtual-hosted-style requests aren't supported. Directory bucket names must
+ /// be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must
+ /// also follow the format bucket-base-name--zone-id--x-s3 (for
+ /// example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information
+ /// about bucket naming restrictions, see Directory
+ /// bucket naming rules in the Amazon S3 User Guide
+ ///
+ ///
+ public string BucketName
+ {
+ get { return this._bucketName; }
+ set { this._bucketName = value; }
+ }
+
+ // Check to see if BucketName property is set
+ internal bool IsSetBucketName()
+ {
+ return this._bucketName != null;
+ }
+
+ ///
+ /// Gets and sets the property ChecksumAlgorithm.
+ ///
+ /// Indicates the algorithm used to create the checksum for the request when you use the
+ /// SDK. This header will not provide any additional functionality if you don't use the
+ /// SDK. When you send this header, there must be a corresponding x-amz-checksum-algorithm
+ /// or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with
+ /// the HTTP status code 400 Bad Request.
+ ///
+ ///
+ ///
+ /// For the x-amz-checksum-algorithm header, replace algorithm
+ /// with the supported algorithm from the following list:
+ ///
+ /// -
+ ///
+ /// CRC32
+ ///
+ ///
-
+ ///
+ /// CRC32C
+ ///
+ ///
-
+ ///
+ /// CRC64NVME
+ ///
+ ///
-
+ ///
+ /// SHA1
+ ///
+ ///
-
+ ///
+ /// SHA256
+ ///
+ ///
+ ///
+ /// For more information, see Checking
+ /// object integrity in the Amazon S3 User Guide.
+ ///
+ ///
+ ///
+ /// If the individual checksum value you provide through x-amz-checksum-algorithm
+ /// doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm,
+ /// Amazon S3 fails the request with a BadDigest error.
+ ///
+ ///
+ ///
+ /// For directory buckets, when you use Amazon Web Services SDKs, CRC32 is the
+ /// default checksum algorithm that's used for performance.
+ ///
+ ///
+ ///
+ public ChecksumAlgorithm ChecksumAlgorithm
+ {
+ get { return this._checksumAlgorithm; }
+ set { this._checksumAlgorithm = value; }
+ }
+
+ // Check to see if ChecksumAlgorithm property is set
+ internal bool IsSetChecksumAlgorithm()
+ {
+ return this._checksumAlgorithm != null;
+ }
+
+ ///
+ /// Gets and sets the property ConfirmRemoveSelfBucketAccess.
+ ///
+ /// Set this parameter to true to confirm that you want to remove your permissions to
+ /// change this bucket policy in the future.
+ ///
+ ///
+ ///
+ /// This functionality is not supported for directory buckets.
+ ///
+ ///
+ ///
+ public bool? ConfirmRemoveSelfBucketAccess
+ {
+ get { return this._confirmRemoveSelfBucketAccess; }
+ set { this._confirmRemoveSelfBucketAccess = value; }
+ }
+
+ // Check to see if ConfirmRemoveSelfBucketAccess property is set
+ internal bool IsSetConfirmRemoveSelfBucketAccess()
+ {
+ return this._confirmRemoveSelfBucketAccess.HasValue;
+ }
+
+ ///
+ /// Gets and sets the property ContentMD5.
+ ///
+ /// The MD5 hash of the request body.
+ ///
+ ///
+ ///
+ /// For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon
+ /// Web Services SDKs, this field is calculated automatically.
+ ///
+ ///
+ ///
+ /// This functionality is not supported for directory buckets.
+ ///
+ ///
+ ///
+ public string ContentMD5
+ {
+ get { return this._contentMD5; }
+ set { this._contentMD5 = value; }
+ }
+
+ // Check to see if ContentMD5 property is set
+ internal bool IsSetContentMD5()
+ {
+ return this._contentMD5 != null;
+ }
+
+ ///
+ /// Gets and sets the property ExpectedBucketOwner.
+ ///
+ /// The account ID of the expected bucket owner. If the account ID that you provide does
+ /// not match the actual owner of the bucket, the request fails with the HTTP status code
+ /// 403 Forbidden (access denied).
+ ///
+ ///
+ ///
+ /// For directory buckets, this header is not supported in this API operation. If you
+ /// specify this header, the request fails with the HTTP status code 501 Not Implemented.
+ ///
+ ///
+ ///
+ public string ExpectedBucketOwner
+ {
+ get { return this._expectedBucketOwner; }
+ set { this._expectedBucketOwner = value; }
+ }
+
+ // Check to see if ExpectedBucketOwner property is set
+ internal bool IsSetExpectedBucketOwner()
+ {
+ return this._expectedBucketOwner != null;
+ }
+
+ ///
+ /// Gets and sets the property Policy.
+ ///
+ /// The bucket policy as a JSON document.
+ ///
+ ///
+ ///
+ /// For directory buckets, the only IAM action supported in the bucket policy is s3express:CreateSession.
+ ///
+ ///
+ [AWSProperty(Required=true)]
+ public string Policy
+ {
+ get { return this._policy; }
+ set { this._policy = value; }
+ }
+
+ // Check to see if Policy property is set
+ internal bool IsSetPolicy()
+ {
+ return this._policy != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Custom/Model/PutBucketPolicyResponse.cs b/sdk/src/Services/S3/Generated/Model/PutBucketPolicyResponse.cs
similarity index 74%
rename from sdk/src/Services/S3/Custom/Model/PutBucketPolicyResponse.cs
rename to sdk/src/Services/S3/Generated/Model/PutBucketPolicyResponse.cs
index 9e4f6882e7e3..e6285295aa0e 100644
--- a/sdk/src/Services/S3/Custom/Model/PutBucketPolicyResponse.cs
+++ b/sdk/src/Services/S3/Generated/Model/PutBucketPolicyResponse.cs
@@ -12,21 +12,28 @@
* 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.Xml.Serialization;
using System.Text;
+using System.IO;
+using System.Net;
using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+#pragma warning disable CS0612,CS0618,CS1570
namespace Amazon.S3.Model
{
///
- /// Returns information about the PutBucketPolicy response metadata.
- /// The PutBucketPolicy operation has a void result type.
+ /// This is the response object from the PutBucketPolicy operation.
///
public partial class PutBucketPolicyResponse : AmazonWebServiceResponse
{
+
}
-}
-
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Custom/Model/PutObjectLegalHoldRequest.cs b/sdk/src/Services/S3/Generated/Model/PutObjectLegalHoldRequest.cs
similarity index 68%
rename from sdk/src/Services/S3/Custom/Model/PutObjectLegalHoldRequest.cs
rename to sdk/src/Services/S3/Generated/Model/PutObjectLegalHoldRequest.cs
index 2351c4475f00..dfba751c35fb 100644
--- a/sdk/src/Services/S3/Custom/Model/PutObjectLegalHoldRequest.cs
+++ b/sdk/src/Services/S3/Generated/Model/PutObjectLegalHoldRequest.cs
@@ -21,17 +21,19 @@
using System.Xml.Serialization;
using System.Text;
using System.IO;
+using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
+#pragma warning disable CS0612,CS0618,CS1570
namespace Amazon.S3.Model
{
///
/// Container for the parameters to the PutObjectLegalHold operation.
///
///
- /// This operation is not supported by directory buckets.
+ /// This operation is not supported for directory buckets.
///
///
///
@@ -49,7 +51,7 @@ public partial class PutObjectLegalHoldRequest : AmazonWebServiceRequest
private string _bucketName;
private ChecksumAlgorithm _checksumAlgorithm;
private string _contentMD5;
- private string expectedBucketOwner;
+ private string _expectedBucketOwner;
private string _key;
private ObjectLockLegalHold _legalHold;
private RequestPayer _requestPayer;
@@ -59,15 +61,19 @@ public partial class PutObjectLegalHoldRequest : AmazonWebServiceRequest
/// Gets and sets the property BucketName.
///
/// The bucket name containing the object that you want to place a legal hold on.
- ///
- ///
- /// Access points - When you use this action with an access point for general purpose buckets, you must provide the alias
- /// of the access point in place of the bucket name or specify the access point ARN. When you use this action with an access point
- /// for directory buckets, you must provide the access point name in place of the bucket name. When using the access point ARN, you
- /// must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When
- /// using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the
- /// bucket name. For more information about access point ARNs, see
- /// Using access points in the Amazon S3 User Guide.
+ ///
+ ///
+ ///
+ /// Access points - When you use this action with an access point for general
+ /// purpose buckets, you must provide the alias of the access point in place of the bucket
+ /// name or specify the access point ARN. When you use this action with an access point
+ /// for directory buckets, you must provide the access point name in place of the bucket
+ /// name. When using the access point ARN, you must direct requests to the access point
+ /// hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
+ /// When using this action with an access point through the Amazon Web Services SDKs,
+ /// you provide the access point ARN in place of the bucket name. For more information
+ /// about access point ARNs, see Using
+ /// access points in the Amazon S3 User Guide.
///
///
public string BucketName
@@ -79,7 +85,7 @@ public string BucketName
// Check to see if BucketName property is set
internal bool IsSetBucketName()
{
- return !string.IsNullOrEmpty(this._bucketName);
+ return this._bucketName != null;
}
///
@@ -87,15 +93,14 @@ internal bool IsSetBucketName()
///
/// Indicates the algorithm used to create the checksum for the object when you use the
/// SDK. This header will not provide any additional functionality if you don't use the
- /// SDK. When you send this header, there must be a corresponding x-amz-checksum
- /// or x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request
- /// with the HTTP status code 400 Bad Request
. For more information, see
- /// Checking
+ /// SDK. When you send this header, there must be a corresponding x-amz-checksum
+ /// or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the
+ /// HTTP status code 400 Bad Request. For more information, see Checking
/// object integrity in the Amazon S3 User Guide.
///
///
///
- /// If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm
+ /// If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm
/// parameter.
///
///
@@ -131,7 +136,7 @@ public string ContentMD5
// Check to see if ContentMD5 property is set
internal bool IsSetContentMD5()
{
- return !string.IsNullOrEmpty(this._contentMD5);
+ return this._contentMD5 != null;
}
///
@@ -139,42 +144,28 @@ internal bool IsSetContentMD5()
///
/// The account ID of the expected bucket owner. If the account ID that you provide does
/// not match the actual owner of the bucket, the request fails with the HTTP status code
- /// 403 Forbidden
(access denied).
+ /// 403 Forbidden (access denied).
///
///
public string ExpectedBucketOwner
{
- get { return this.expectedBucketOwner; }
- set { this.expectedBucketOwner = value; }
+ get { return this._expectedBucketOwner; }
+ set { this._expectedBucketOwner = value; }
}
// Check to see if ExpectedBucketOwner property is set
internal bool IsSetExpectedBucketOwner()
{
- return !String.IsNullOrEmpty(this.expectedBucketOwner);
+ return this._expectedBucketOwner != null;
}
///
/// Gets and sets the property Key.
///
- /// The key name for the object that you want to place a Legal Hold on.
+ /// The key name for the object that you want to place a legal hold on.
///
///
- ///
- ///
- /// This property will be used as part of the resource path of the HTTP request. In .NET the System.Uri class
- /// is used to construct the uri for the request. The System.Uri class will canonicalize the uri string by compacting characters like "..".
- /// For example an object key of "foo/../bar/file.txt" will be transformed into "bar/file.txt" because the ".."
- /// is interpreted as use parent directory.
- ///
- ///
- /// Starting with .NET 8, the AWS .NET SDK disables System.Uri's feature of canonicalizing the resource path. This allows S3 keys like
- /// "foo/../bar/file.txt" to work correctly with the AWS .NET SDK.
- ///
- ///
- /// For further information view the documentation for the Uri class: https://docs.microsoft.com/en-us/dotnet/api/system.uri
- ///
- ///
+ [AWSProperty(Required=true, Min=1)]
public string Key
{
get { return this._key; }
@@ -184,13 +175,13 @@ public string Key
// Check to see if Key property is set
internal bool IsSetKey()
{
- return !string.IsNullOrEmpty(this._key);
+ return this._key != null;
}
///
/// Gets and sets the property LegalHold.
///
- /// Container element for the Legal Hold configuration you want to apply to the specified
+ /// Container element for the legal hold configuration you want to apply to the specified
/// object.
///
///
@@ -224,7 +215,7 @@ internal bool IsSetRequestPayer()
///
/// Gets and sets the property VersionId.
///
- /// The version ID of the object that you want to place a Legal Hold on.
+ /// The version ID of the object that you want to place a legal hold on.
///
///
public string VersionId
@@ -236,7 +227,7 @@ public string VersionId
// Check to see if VersionId property is set
internal bool IsSetVersionId()
{
- return !string.IsNullOrEmpty(this._versionId);
+ return this._versionId != null;
}
}
diff --git a/sdk/src/Services/S3/Custom/Model/PutObjectLegalHoldResponse.cs b/sdk/src/Services/S3/Generated/Model/PutObjectLegalHoldResponse.cs
similarity index 96%
rename from sdk/src/Services/S3/Custom/Model/PutObjectLegalHoldResponse.cs
rename to sdk/src/Services/S3/Generated/Model/PutObjectLegalHoldResponse.cs
index 87231d8770dc..3202eb760203 100644
--- a/sdk/src/Services/S3/Custom/Model/PutObjectLegalHoldResponse.cs
+++ b/sdk/src/Services/S3/Generated/Model/PutObjectLegalHoldResponse.cs
@@ -21,10 +21,12 @@
using System.Xml.Serialization;
using System.Text;
using System.IO;
+using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
+#pragma warning disable CS0612,CS0618,CS1570
namespace Amazon.S3.Model
{
///
diff --git a/sdk/src/Services/S3/Custom/Model/PutObjectLockConfigurationRequest.cs b/sdk/src/Services/S3/Generated/Model/PutObjectLockConfigurationRequest.cs
similarity index 81%
rename from sdk/src/Services/S3/Custom/Model/PutObjectLockConfigurationRequest.cs
rename to sdk/src/Services/S3/Generated/Model/PutObjectLockConfigurationRequest.cs
index 86a50272af6d..308d90e7b144 100644
--- a/sdk/src/Services/S3/Custom/Model/PutObjectLockConfigurationRequest.cs
+++ b/sdk/src/Services/S3/Generated/Model/PutObjectLockConfigurationRequest.cs
@@ -21,17 +21,19 @@
using System.Xml.Serialization;
using System.Text;
using System.IO;
+using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
+#pragma warning disable CS0612,CS0618,CS1570
namespace Amazon.S3.Model
{
///
/// Container for the parameters to the PutObjectLockConfiguration operation.
///
///
- /// This operation is not supported by directory buckets.
+ /// This operation is not supported for directory buckets.
///
///
///
@@ -42,13 +44,12 @@ namespace Amazon.S3.Model
///
/// -
///
- /// The
DefaultRetention
settings require both a mode and a period.
+ /// The DefaultRetention settings require both a mode and a period.
///
/// -
///
- /// The
DefaultRetention
period can be either Days
or Years
- /// but you must select one. You cannot specify Days
and Years
- /// at the same time.
+ /// The DefaultRetention period can be either Days or Years but you
+ /// must select one. You cannot specify Days and Years at the same time.
///
/// -
///
@@ -63,10 +64,10 @@ public partial class PutObjectLockConfigurationRequest : AmazonWebServiceRequest
private string _bucketName;
private ChecksumAlgorithm _checksumAlgorithm;
private string _contentMD5;
+ private string _expectedBucketOwner;
private ObjectLockConfiguration _objectLockConfiguration;
private RequestPayer _requestPayer;
private string _token;
- private string expectedBucketOwner;
///
/// Gets and sets the property BucketName.
@@ -83,7 +84,7 @@ public string BucketName
// Check to see if BucketName property is set
internal bool IsSetBucketName()
{
- return !string.IsNullOrEmpty(this._bucketName);
+ return this._bucketName != null;
}
///
@@ -91,15 +92,14 @@ internal bool IsSetBucketName()
///
/// Indicates the algorithm used to create the checksum for the object when you use the
/// SDK. This header will not provide any additional functionality if you don't use the
- /// SDK. When you send this header, there must be a corresponding
x-amz-checksum
- /// or x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request
- /// with the HTTP status code 400 Bad Request
. For more information, see
- /// Checking
+ /// SDK. When you send this header, there must be a corresponding x-amz-checksum
+ /// or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the
+ /// HTTP status code 400 Bad Request. For more information, see Checking
/// object integrity in the Amazon S3 User Guide.
///
///
///
- /// If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm
+ /// If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm
/// parameter.
///
///
@@ -135,7 +135,27 @@ public string ContentMD5
// Check to see if ContentMD5 property is set
internal bool IsSetContentMD5()
{
- return !string.IsNullOrEmpty(this._contentMD5);
+ return this._contentMD5 != null;
+ }
+
+ ///
+ /// Gets and sets the property ExpectedBucketOwner.
+ ///
+ /// The account ID of the expected bucket owner. If the account ID that you provide does
+ /// not match the actual owner of the bucket, the request fails with the HTTP status code
+ /// 403 Forbidden (access denied).
+ ///
+ ///
+ public string ExpectedBucketOwner
+ {
+ get { return this._expectedBucketOwner; }
+ set { this._expectedBucketOwner = value; }
+ }
+
+ // Check to see if ExpectedBucketOwner property is set
+ internal bool IsSetExpectedBucketOwner()
+ {
+ return this._expectedBucketOwner != null;
}
///
@@ -172,7 +192,10 @@ internal bool IsSetRequestPayer()
}
///
- /// Gets and sets the property Token.
+ /// Gets and sets the property Token.
+ ///
+ /// A token to allow Object Lock to be enabled for an existing bucket.
+ ///
///
public string Token
{
@@ -183,30 +206,7 @@ public string Token
// Check to see if Token property is set
internal bool IsSetToken()
{
- return !string.IsNullOrEmpty(this._token);
- }
-
- ///
- /// Gets and sets the property ExpectedBucketOwner.
- ///
- /// The account ID of the expected bucket owner. If the account ID that you provide does
- /// not match the actual owner of the bucket, the request fails with the HTTP status code
- /// 403 Forbidden
(access denied).
- ///
- ///
- public string ExpectedBucketOwner
- {
- get { return this.expectedBucketOwner; }
- set { this.expectedBucketOwner = value; }
- }
-
- ///
- /// Checks to see if ExpectedBucketOwner is set.
- ///
- /// true, if ExpectedBucketOwner property is set.
- internal bool IsSetExpectedBucketOwner()
- {
- return !String.IsNullOrEmpty(this.expectedBucketOwner);
+ return this._token != null;
}
}
diff --git a/sdk/src/Services/S3/Custom/Model/PutObjectLockConfigurationResponse.cs b/sdk/src/Services/S3/Generated/Model/PutObjectLockConfigurationResponse.cs
similarity index 96%
rename from sdk/src/Services/S3/Custom/Model/PutObjectLockConfigurationResponse.cs
rename to sdk/src/Services/S3/Generated/Model/PutObjectLockConfigurationResponse.cs
index b3d8443457e1..88661e3506be 100644
--- a/sdk/src/Services/S3/Custom/Model/PutObjectLockConfigurationResponse.cs
+++ b/sdk/src/Services/S3/Generated/Model/PutObjectLockConfigurationResponse.cs
@@ -21,10 +21,12 @@
using System.Xml.Serialization;
using System.Text;
using System.IO;
+using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
+#pragma warning disable CS0612,CS0618,CS1570
namespace Amazon.S3.Model
{
///
diff --git a/sdk/src/Services/S3/Custom/Model/PutObjectRetentionRequest.cs b/sdk/src/Services/S3/Generated/Model/PutObjectRetentionRequest.cs
similarity index 69%
rename from sdk/src/Services/S3/Custom/Model/PutObjectRetentionRequest.cs
rename to sdk/src/Services/S3/Generated/Model/PutObjectRetentionRequest.cs
index 898e471ea1bc..f3d82c58cc7a 100644
--- a/sdk/src/Services/S3/Custom/Model/PutObjectRetentionRequest.cs
+++ b/sdk/src/Services/S3/Generated/Model/PutObjectRetentionRequest.cs
@@ -21,25 +21,27 @@
using System.Xml.Serialization;
using System.Text;
using System.IO;
+using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
+#pragma warning disable CS0612,CS0618,CS1570
namespace Amazon.S3.Model
{
///
/// Container for the parameters to the PutObjectRetention operation.
///
///
- /// This operation is not supported by directory buckets.
+ /// This operation is not supported for directory buckets.
///
///
///
/// Places an Object Retention configuration on an object. For more information, see Locking Objects.
- /// Users or accounts require the s3:PutObjectRetention
permission in order
- /// to place an Object Retention configuration on objects. Bypassing a Governance Retention
- /// configuration requires the s3:BypassGovernanceRetention
permission.
+ /// Users or accounts require the s3:PutObjectRetention permission in order to
+ /// place an Object Retention configuration on objects. Bypassing a Governance Retention
+ /// configuration requires the s3:BypassGovernanceRetention permission.
///
///
///
@@ -52,7 +54,7 @@ public partial class PutObjectRetentionRequest : AmazonWebServiceRequest
private bool? _bypassGovernanceRetention;
private ChecksumAlgorithm _checksumAlgorithm;
private string _contentMD5;
- private string expectedBucketOwner;
+ private string _expectedBucketOwner;
private string _key;
private RequestPayer _requestPayer;
private ObjectLockRetention _retention;
@@ -61,18 +63,21 @@ public partial class PutObjectRetentionRequest : AmazonWebServiceRequest
///
/// Gets and sets the property BucketName.
///
- /// The bucket name that contains the object you want to apply this Object Retention configuration to.
- ///
- ///
- /// Access points - When you use this action with an access point for general purpose buckets, you
- /// must provide the alias of the access point in place of the bucket name or specify the access point ARN. When
- /// you use this action with an access point for directory buckets, you must provide the access point name in
- /// place of the bucket name. When using the access point ARN, you must direct requests to the access point
- /// hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When
- /// using this action with an access point through the Amazon Web Services SDKs, you provide the access point
- /// ARN in place of the bucket name. For more information about access point ARNs, see
- /// Using access points in
- /// the Amazon S3 User Guide.
+ /// The bucket name that contains the object you want to apply this Object Retention configuration
+ /// to.
+ ///
+ ///
+ ///
+ /// Access points - When you use this action with an access point for general
+ /// purpose buckets, you must provide the alias of the access point in place of the bucket
+ /// name or specify the access point ARN. When you use this action with an access point
+ /// for directory buckets, you must provide the access point name in place of the bucket
+ /// name. When using the access point ARN, you must direct requests to the access point
+ /// hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
+ /// When using this action with an access point through the Amazon Web Services SDKs,
+ /// you provide the access point ARN in place of the bucket name. For more information
+ /// about access point ARNs, see Using
+ /// access points in the Amazon S3 User Guide.
///
///
public string BucketName
@@ -84,7 +89,7 @@ public string BucketName
// Check to see if BucketName property is set
internal bool IsSetBucketName()
{
- return !string.IsNullOrEmpty(this._bucketName);
+ return this._bucketName != null;
}
///
@@ -110,15 +115,14 @@ internal bool IsSetBypassGovernanceRetention()
///
/// Indicates the algorithm used to create the checksum for the object when you use the
/// SDK. This header will not provide any additional functionality if you don't use the
- /// SDK. When you send this header, there must be a corresponding x-amz-checksum
- /// or x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request
- /// with the HTTP status code 400 Bad Request
. For more information, see
- /// Checking
+ /// SDK. When you send this header, there must be a corresponding x-amz-checksum
+ /// or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the
+ /// HTTP status code 400 Bad Request. For more information, see Checking
/// object integrity in the Amazon S3 User Guide.
///
///
///
- /// If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm
+ /// If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm
/// parameter.
///
///
@@ -154,7 +158,7 @@ public string ContentMD5
// Check to see if ContentMD5 property is set
internal bool IsSetContentMD5()
{
- return !string.IsNullOrEmpty(this._contentMD5);
+ return this._contentMD5 != null;
}
///
@@ -162,19 +166,19 @@ internal bool IsSetContentMD5()
///
/// The account ID of the expected bucket owner. If the account ID that you provide does
/// not match the actual owner of the bucket, the request fails with the HTTP status code
- /// 403 Forbidden
(access denied).
+ /// 403 Forbidden (access denied).
///
///
public string ExpectedBucketOwner
{
- get { return this.expectedBucketOwner; }
- set { this.expectedBucketOwner = value; }
+ get { return this._expectedBucketOwner; }
+ set { this._expectedBucketOwner = value; }
}
// Check to see if ExpectedBucketOwner property is set
internal bool IsSetExpectedBucketOwner()
{
- return !String.IsNullOrEmpty(this.expectedBucketOwner);
+ return this._expectedBucketOwner != null;
}
///
@@ -184,21 +188,7 @@ internal bool IsSetExpectedBucketOwner()
/// to.
///
///
- ///
- ///
- /// This property will be used as part of the resource path of the HTTP request. In .NET the System.Uri class
- /// is used to construct the uri for the request. The System.Uri class will canonicalize the uri string by compacting characters like "..".
- /// For example an object key of "foo/../bar/file.txt" will be transformed into "bar/file.txt" because the ".."
- /// is interpreted as use parent directory.
- ///
- ///
- /// Starting with .NET 8, the AWS .NET SDK disables System.Uri's feature of canonicalizing the resource path. This allows S3 keys like
- /// "foo/../bar/file.txt" to work correctly with the AWS .NET SDK.
- ///
- ///
- /// For further information view the documentation for the Uri class: https://docs.microsoft.com/en-us/dotnet/api/system.uri
- ///
- ///
+ [AWSProperty(Required=true, Min=1)]
public string Key
{
get { return this._key; }
@@ -208,7 +198,7 @@ public string Key
// Check to see if Key property is set
internal bool IsSetKey()
{
- return !string.IsNullOrEmpty(this._key);
+ return this._key != null;
}
///
@@ -260,7 +250,7 @@ public string VersionId
// Check to see if VersionId property is set
internal bool IsSetVersionId()
{
- return !string.IsNullOrEmpty(this._versionId);
+ return this._versionId != null;
}
}
diff --git a/sdk/src/Services/S3/Custom/Model/PutObjectRetentionResponse.cs b/sdk/src/Services/S3/Generated/Model/PutObjectRetentionResponse.cs
similarity index 96%
rename from sdk/src/Services/S3/Custom/Model/PutObjectRetentionResponse.cs
rename to sdk/src/Services/S3/Generated/Model/PutObjectRetentionResponse.cs
index 30728943d159..7e4d99fb0feb 100644
--- a/sdk/src/Services/S3/Custom/Model/PutObjectRetentionResponse.cs
+++ b/sdk/src/Services/S3/Generated/Model/PutObjectRetentionResponse.cs
@@ -21,10 +21,12 @@
using System.Xml.Serialization;
using System.Text;
using System.IO;
+using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
+#pragma warning disable CS0612,CS0618,CS1570
namespace Amazon.S3.Model
{
///
diff --git a/sdk/src/Services/S3/Generated/Model/PutObjectTaggingRequest.cs b/sdk/src/Services/S3/Generated/Model/PutObjectTaggingRequest.cs
new file mode 100644
index 000000000000..7f0c5dd8d936
--- /dev/null
+++ b/sdk/src/Services/S3/Generated/Model/PutObjectTaggingRequest.cs
@@ -0,0 +1,303 @@
+/*
+ * 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.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+#pragma warning disable CS0612,CS0618,CS1570
+namespace Amazon.S3.Model
+{
+ ///
+ /// Container for the parameters to the PutObjectTagging operation.
+ ///
+ ///
+ /// This operation is not supported for directory buckets.
+ ///
+ ///
+ ///
+ /// Sets the supplied tag-set to an object that already exists in a bucket. A tag is a
+ /// key-value pair. For more information, see Object
+ /// Tagging.
+ ///
+ ///
+ ///
+ /// You can associate tags with an object by sending a PUT request against the tagging
+ /// subresource that is associated with the object. You can retrieve tags by sending a
+ /// GET request. For more information, see GetObjectTagging.
+ ///
+ ///
+ ///
+ /// For tagging-related restrictions related to characters and encodings, see Tag
+ /// Restrictions. Note that Amazon S3 limits the maximum number of tags to 10 tags
+ /// per object.
+ ///
+ ///
+ ///
+ /// To use this operation, you must have permission to perform the s3:PutObjectTagging
+ /// action. By default, the bucket owner has this permission and can grant this permission
+ /// to others.
+ ///
+ ///
+ ///
+ /// To put tags of any other version, use the versionId query parameter. You also
+ /// need permission for the s3:PutObjectVersionTagging action.
+ ///
+ ///
+ ///
+ /// PutObjectTagging has the following special errors. For more Amazon S3 errors
+ /// see, Error
+ /// Responses.
+ ///
+ /// -
+ ///
+ /// InvalidTag - The tag provided was not a valid tag. This error can occur if
+ /// the tag did not pass input validation. For more information, see Object
+ /// Tagging.
+ ///
+ ///
-
+ ///
+ /// MalformedXML - The XML provided does not match the schema.
+ ///
+ ///
-
+ ///
+ /// OperationAborted - A conflicting conditional action is currently in progress
+ /// against this resource. Please try again.
+ ///
+ ///
-
+ ///
+ /// InternalError - The service was unable to apply the provided tag to the object.
+ ///
+ ///
+ ///
+ /// The following operations are related to PutObjectTagging:
+ ///
+ ///
+ ///
+ public partial class PutObjectTaggingRequest : AmazonWebServiceRequest
+ {
+ private string _bucketName;
+ private ChecksumAlgorithm _checksumAlgorithm;
+ private string _contentMD5;
+ private string _expectedBucketOwner;
+ private string _key;
+ private RequestPayer _requestPayer;
+ private Tagging _tagging;
+ private string _versionId;
+
+ ///
+ /// Gets and sets the property BucketName.
+ ///
+ /// The bucket name containing the object.
+ ///
+ ///
+ ///
+ /// Access points - When you use this action with an access point for general
+ /// purpose buckets, you must provide the alias of the access point in place of the bucket
+ /// name or specify the access point ARN. When you use this action with an access point
+ /// for directory buckets, you must provide the access point name in place of the bucket
+ /// name. When using the access point ARN, you must direct requests to the access point
+ /// hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
+ /// When using this action with an access point through the Amazon Web Services SDKs,
+ /// you provide the access point ARN in place of the bucket name. For more information
+ /// about access point ARNs, see Using
+ /// access points in the Amazon S3 User Guide.
+ ///
+ ///
+ ///
+ /// S3 on Outposts - When you use this action with S3 on Outposts, you must direct
+ /// requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ /// AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com.
+ /// When you use this action with S3 on Outposts, the destination bucket must be the Outposts
+ /// access point ARN or the access point alias. For more information about S3 on Outposts,
+ /// see What
+ /// is S3 on Outposts? in the Amazon S3 User Guide.
+ ///
+ ///
+ public string BucketName
+ {
+ get { return this._bucketName; }
+ set { this._bucketName = value; }
+ }
+
+ // Check to see if BucketName property is set
+ internal bool IsSetBucketName()
+ {
+ return this._bucketName != null;
+ }
+
+ ///
+ /// Gets and sets the property ChecksumAlgorithm.
+ ///
+ /// Indicates the algorithm used to create the checksum for the object when you use the
+ /// SDK. This header will not provide any additional functionality if you don't use the
+ /// SDK. When you send this header, there must be a corresponding x-amz-checksum
+ /// or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the
+ /// HTTP status code 400 Bad Request. For more information, see Checking
+ /// object integrity in the Amazon S3 User Guide.
+ ///
+ ///
+ ///
+ /// If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm
+ /// parameter.
+ ///
+ ///
+ public ChecksumAlgorithm ChecksumAlgorithm
+ {
+ get { return this._checksumAlgorithm; }
+ set { this._checksumAlgorithm = value; }
+ }
+
+ // Check to see if ChecksumAlgorithm property is set
+ internal bool IsSetChecksumAlgorithm()
+ {
+ return this._checksumAlgorithm != null;
+ }
+
+ ///
+ /// Gets and sets the property ContentMD5.
+ ///
+ /// The MD5 hash for the request body.
+ ///
+ ///
+ ///
+ /// For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon
+ /// Web Services SDKs, this field is calculated automatically.
+ ///
+ ///
+ public string ContentMD5
+ {
+ get { return this._contentMD5; }
+ set { this._contentMD5 = value; }
+ }
+
+ // Check to see if ContentMD5 property is set
+ internal bool IsSetContentMD5()
+ {
+ return this._contentMD5 != null;
+ }
+
+ ///
+ /// Gets and sets the property ExpectedBucketOwner.
+ ///
+ /// The account ID of the expected bucket owner. If the account ID that you provide does
+ /// not match the actual owner of the bucket, the request fails with the HTTP status code
+ /// 403 Forbidden (access denied).
+ ///
+ ///
+ public string ExpectedBucketOwner
+ {
+ get { return this._expectedBucketOwner; }
+ set { this._expectedBucketOwner = value; }
+ }
+
+ // Check to see if ExpectedBucketOwner property is set
+ internal bool IsSetExpectedBucketOwner()
+ {
+ return this._expectedBucketOwner != null;
+ }
+
+ ///
+ /// Gets and sets the property Key.
+ ///
+ /// Name of the object key.
+ ///
+ ///
+ [AWSProperty(Required=true, Min=1)]
+ public string Key
+ {
+ get { return this._key; }
+ set { this._key = value; }
+ }
+
+ // Check to see if Key property is set
+ internal bool IsSetKey()
+ {
+ return this._key != null;
+ }
+
+ ///
+ /// Gets and sets the property RequestPayer.
+ ///
+ public RequestPayer RequestPayer
+ {
+ get { return this._requestPayer; }
+ set { this._requestPayer = value; }
+ }
+
+ // Check to see if RequestPayer property is set
+ internal bool IsSetRequestPayer()
+ {
+ return this._requestPayer != null;
+ }
+
+ ///
+ /// Gets and sets the property Tagging.
+ ///
+ /// Container for the TagSet and Tag elements
+ ///
+ ///
+ [AWSProperty(Required=true)]
+ public Tagging Tagging
+ {
+ get { return this._tagging; }
+ set { this._tagging = value; }
+ }
+
+ // Check to see if Tagging property is set
+ internal bool IsSetTagging()
+ {
+ return this._tagging != null;
+ }
+
+ ///
+ /// Gets and sets the property VersionId.
+ ///
+ /// The versionId of the object that the tag-set will be added to.
+ ///
+ ///
+ public string VersionId
+ {
+ get { return this._versionId; }
+ set { this._versionId = value; }
+ }
+
+ // Check to see if VersionId property is set
+ internal bool IsSetVersionId()
+ {
+ return this._versionId != null;
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Custom/Model/PutObjectTaggingResponse.cs b/sdk/src/Services/S3/Generated/Model/PutObjectTaggingResponse.cs
similarity index 52%
rename from sdk/src/Services/S3/Custom/Model/PutObjectTaggingResponse.cs
rename to sdk/src/Services/S3/Generated/Model/PutObjectTaggingResponse.cs
index d66f0d536479..f28d83bedf43 100644
--- a/sdk/src/Services/S3/Custom/Model/PutObjectTaggingResponse.cs
+++ b/sdk/src/Services/S3/Generated/Model/PutObjectTaggingResponse.cs
@@ -13,30 +13,46 @@
* 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.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+#pragma warning disable CS0612,CS0618,CS1570
namespace Amazon.S3.Model
{
///
- /// Returns information about the PutObjectTagging response and response metadata.
+ /// This is the response object from the PutObjectTagging operation.
///
- public class PutObjectTaggingResponse : AmazonWebServiceResponse
+ public partial class PutObjectTaggingResponse : AmazonWebServiceResponse
{
- private string versionId;
+ private string _versionId;
///
- /// Version of the object.
+ /// Gets and sets the property VersionId.
+ ///
+ /// The versionId of the object the tag-set was added to.
+ ///
///
public string VersionId
{
- get { return this.versionId; }
- set { this.versionId = value; }
+ get { return this._versionId; }
+ set { this._versionId = value; }
}
// Check to see if VersionId property is set
internal bool IsSetVersionId()
{
- return this.versionId != null;
+ return this._versionId != null;
}
+
}
}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Custom/Model/PutPublicAccessBlockRequest.cs b/sdk/src/Services/S3/Generated/Model/PutPublicAccessBlockRequest.cs
similarity index 61%
rename from sdk/src/Services/S3/Custom/Model/PutPublicAccessBlockRequest.cs
rename to sdk/src/Services/S3/Generated/Model/PutPublicAccessBlockRequest.cs
index 7ac97a5d31a8..062370f9a9f7 100644
--- a/sdk/src/Services/S3/Custom/Model/PutPublicAccessBlockRequest.cs
+++ b/sdk/src/Services/S3/Generated/Model/PutPublicAccessBlockRequest.cs
@@ -12,38 +12,43 @@
* 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.Xml.Serialization;
using System.Text;
using System.IO;
+using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
+#pragma warning disable CS0612,CS0618,CS1570
namespace Amazon.S3.Model
{
///
/// Container for the parameters to the PutPublicAccessBlock operation.
///
///
- /// This operation is not supported by directory buckets.
+ /// This operation is not supported for directory buckets.
///
///
///
- /// Creates or modifies the PublicAccessBlock
configuration for an Amazon
- /// S3 bucket. To use this operation, you must have the s3:PutBucketPublicAccessBlock
- /// permission. For more information about Amazon S3 permissions, see Specifying
+ /// Creates or modifies the PublicAccessBlock configuration for an Amazon S3 bucket.
+ /// To use this operation, you must have the s3:PutBucketPublicAccessBlock permission.
+ /// For more information about Amazon S3 permissions, see Specifying
/// Permissions in a Policy.
///
///
///
- /// When Amazon S3 evaluates the PublicAccessBlock
configuration for a bucket
- /// or an object, it checks the PublicAccessBlock
configuration for both
- /// the bucket (or the bucket that contains the object) and the bucket owner's account.
- /// If the PublicAccessBlock
configurations are different between the bucket
- /// and the account, Amazon S3 uses the most restrictive combination of the bucket-level
- /// and account-level settings.
+ /// When Amazon S3 evaluates the PublicAccessBlock configuration for a bucket or
+ /// an object, it checks the PublicAccessBlock configuration for both the bucket
+ /// (or the bucket that contains the object) and the bucket owner's account. If the PublicAccessBlock
+ /// configurations are different between the bucket and the account, Amazon S3 uses the
+ /// most restrictive combination of the bucket-level and account-level settings.
///
///
///
@@ -53,7 +58,7 @@ namespace Amazon.S3.Model
///
///
///
- /// The following operations are related to PutPublicAccessBlock
:
+ /// The following operations are related to PutPublicAccessBlock:
///
/// -
///
@@ -79,29 +84,29 @@ namespace Amazon.S3.Model
///
public partial class PutPublicAccessBlockRequest : AmazonWebServiceRequest
{
- private string bucketName;
+ private string _bucketName;
private ChecksumAlgorithm _checksumAlgorithm;
- private string contentMD5;
- private PublicAccessBlockConfiguration publicAccessBlockConfiguration;
- private string expectedBucketOwner;
+ private string _contentMD5;
+ private string _expectedBucketOwner;
+ private PublicAccessBlockConfiguration _publicAccessBlockConfiguration;
///
/// Gets and sets the property BucketName.
///
- /// The name of the Amazon S3 bucket whose Public Access Block configuration you want
- /// to set.
+ /// The name of the Amazon S3 bucket whose PublicAccessBlock configuration you
+ /// want to set.
///
///
public string BucketName
{
- get { return this.bucketName; }
- set { this.bucketName = value; }
+ get { return this._bucketName; }
+ set { this._bucketName = value; }
}
// Check to see if BucketName property is set
internal bool IsSetBucketName()
{
- return this.BucketName != null;
+ return this._bucketName != null;
}
///
@@ -109,15 +114,14 @@ internal bool IsSetBucketName()
///
/// Indicates the algorithm used to create the checksum for the object when you use the
/// SDK. This header will not provide any additional functionality if you don't use the
- /// SDK. When you send this header, there must be a corresponding x-amz-checksum
- /// or x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request
- /// with the HTTP status code 400 Bad Request
. For more information, see
- /// Checking
+ /// SDK. When you send this header, there must be a corresponding x-amz-checksum
+ /// or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the
+ /// HTTP status code 400 Bad Request. For more information, see Checking
/// object integrity in the Amazon S3 User Guide.
///
///
///
- /// If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm
+ /// If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm
/// parameter.
///
///
@@ -136,7 +140,7 @@ internal bool IsSetChecksumAlgorithm()
///
/// Gets and sets the property ContentMD5.
///
- /// The MD5 hash of the PutPublicAccessBlock
request body.
+ /// The MD5 hash of the PutPublicAccessBlock request body.
///
///
///
@@ -146,57 +150,57 @@ internal bool IsSetChecksumAlgorithm()
///
public string ContentMD5
{
- get { return this.contentMD5; }
- set { this.contentMD5 = value; }
+ get { return this._contentMD5; }
+ set { this._contentMD5 = value; }
}
// Check to see if ContentMD5 property is set
internal bool IsSetContentMD5()
{
- return this.contentMD5 != null;
+ return this._contentMD5 != null;
}
///
- /// Gets and sets the property PublicAccessBlockConfiguration.
+ /// Gets and sets the property ExpectedBucketOwner.
///
- /// The Public Access Block configuration that you want to apply to this Amazon S3 bucket.
+ /// The account ID of the expected bucket owner. If the account ID that you provide does
+ /// not match the actual owner of the bucket, the request fails with the HTTP status code
+ /// 403 Forbidden (access denied).
///
///
- public PublicAccessBlockConfiguration PublicAccessBlockConfiguration
+ public string ExpectedBucketOwner
{
- get { return this.publicAccessBlockConfiguration; }
- set { this.publicAccessBlockConfiguration = value; }
+ get { return this._expectedBucketOwner; }
+ set { this._expectedBucketOwner = value; }
}
- // Check to see if PublicAccessBlockConfiguration property is set
- internal bool IsSetPublicAccessBlockConfiguration()
+ // Check to see if ExpectedBucketOwner property is set
+ internal bool IsSetExpectedBucketOwner()
{
- return this.PublicAccessBlockConfiguration != null;
+ return this._expectedBucketOwner != null;
}
///
- /// Gets and sets the property ExpectedBucketOwner.
+ /// Gets and sets the property PublicAccessBlockConfiguration.
///
- /// The account ID of the expected bucket owner. If the account ID that you provide does
- /// not match the actual owner of the bucket, the request fails with the HTTP status code
- /// 403 Forbidden
(access denied).
+ /// The PublicAccessBlock configuration that you want to apply to this Amazon S3
+ /// bucket. You can enable the configuration options in any combination. For more information
+ /// about when Amazon S3 considers a bucket or object public, see The
+ /// Meaning of "Public" in the Amazon S3 User Guide.
///
///
- public string ExpectedBucketOwner
+ [AWSProperty(Required=true)]
+ public PublicAccessBlockConfiguration PublicAccessBlockConfiguration
{
- get { return this.expectedBucketOwner; }
- set { this.expectedBucketOwner = value; }
+ get { return this._publicAccessBlockConfiguration; }
+ set { this._publicAccessBlockConfiguration = value; }
}
- ///
- /// Checks to see if ExpectedBucketOwner is set.
- ///
- /// true, if ExpectedBucketOwner property is set.
- internal bool IsSetExpectedBucketOwner()
+ // Check to see if PublicAccessBlockConfiguration property is set
+ internal bool IsSetPublicAccessBlockConfiguration()
{
- return !String.IsNullOrEmpty(this.expectedBucketOwner);
+ return this._publicAccessBlockConfiguration != null;
}
}
-}
-
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Custom/Model/PutPublicAccessBlockResponse.cs b/sdk/src/Services/S3/Generated/Model/PutPublicAccessBlockResponse.cs
similarity index 84%
rename from sdk/src/Services/S3/Custom/Model/PutPublicAccessBlockResponse.cs
rename to sdk/src/Services/S3/Generated/Model/PutPublicAccessBlockResponse.cs
index c8d973a1d716..54dc92dafdbe 100644
--- a/sdk/src/Services/S3/Custom/Model/PutPublicAccessBlockResponse.cs
+++ b/sdk/src/Services/S3/Generated/Model/PutPublicAccessBlockResponse.cs
@@ -12,22 +12,28 @@
* 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.Xml.Serialization;
using System.Text;
using System.IO;
+using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
+#pragma warning disable CS0612,CS0618,CS1570
namespace Amazon.S3.Model
{
///
/// This is the response object from the PutPublicAccessBlock operation.
///
public partial class PutPublicAccessBlockResponse : AmazonWebServiceResponse
- {
+ {
+
}
-}
-
+}
\ No newline at end of file
diff --git a/sdk/src/Services/S3/Generated/Model/Tagging.cs b/sdk/src/Services/S3/Generated/Model/Tagging.cs
new file mode 100644
index 000000000000..73864d5651b9
--- /dev/null
+++ b/sdk/src/Services/S3/Generated/Model/Tagging.cs
@@ -0,0 +1,64 @@
+/*
+ * 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.Xml.Serialization;
+using System.Text;
+using System.IO;
+using System.Net;
+
+using Amazon.Runtime;
+using Amazon.Runtime.Internal;
+
+#pragma warning disable CS0612,CS0618,CS1570
+namespace Amazon.S3.Model
+{
+ ///
+ /// Container for TagSet elements.
+ ///
+ public partial class Tagging
+ {
+ private List _tagSet = AWSConfigs.InitializeCollections ? new List() : null;
+
+ ///
+ /// Gets and sets the property TagSet.
+ ///
+ /// A collection for a set of tags
+ ///
+ ///
+ /// Starting with version 4 of the SDK this property will default to null. If no data for this property is returned
+ /// from the service the property will also be null. This was changed to improve performance and allow the SDK and caller
+ /// to distinguish between a property not set or a property being empty to clear out a value. To retain the previous
+ /// SDK behavior set the AWSConfigs.InitializeCollections static property to true.
+ ///
+ [AWSProperty(Required=true)]
+ public List TagSet
+ {
+ get { return this._tagSet; }
+ set { this._tagSet = value; }
+ }
+
+ // Check to see if TagSet property is set
+ internal bool IsSetTagSet()
+ {
+ return this._tagSet != null && (this._tagSet.Count > 0 || !AWSConfigs.InitializeCollections);
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/sdk/test/Services/S3/IntegrationTests/ObjectTaggingTests.cs b/sdk/test/Services/S3/IntegrationTests/ObjectTaggingTests.cs
index 351a3101c075..12fb661818a2 100644
--- a/sdk/test/Services/S3/IntegrationTests/ObjectTaggingTests.cs
+++ b/sdk/test/Services/S3/IntegrationTests/ObjectTaggingTests.cs
@@ -220,10 +220,12 @@ public void PutObjectTaggingWithVersionTest()
// Put tagging for each version of the object
//
- Client.PutObjectTagging(new PutObjectTaggingRequest{
+ Client.PutObjectTagging(new PutObjectTaggingRequest
+ {
BucketName = bucketName,
Key = key,
- Tagging = {
+ Tagging = new Tagging
+ {
TagSet = new List{
new Tag{ Key = "key", Value = "Value"}
}
@@ -235,7 +237,8 @@ public void PutObjectTaggingWithVersionTest()
{
BucketName = bucketName,
Key = key,
- Tagging = {
+ Tagging = new Tagging
+ {
TagSet = new List{
new Tag{ Key = "key", Value = "Value2"}
},