Skip to content

Commit

Permalink
Custom updates for S3
Browse files Browse the repository at this point in the history
  • Loading branch information
peterrsongg committed Nov 19, 2024
1 parent 2391de1 commit 1732fba
Show file tree
Hide file tree
Showing 92 changed files with 93 additions and 93 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// AbortIncompleteMultipartUpload Unmarshaller
/// </summary>
public class AbortIncompleteMultipartUploadUnmarshaller : IUnmarshaller<LifecycleRuleAbortIncompleteMultipartUpload, XmlUnmarshallerContext>, IUnmarshaller<LifecycleRuleAbortIncompleteMultipartUpload, JsonUnmarshallerContext>
public class AbortIncompleteMultipartUploadUnmarshaller : IXmlUnmarshaller<LifecycleRuleAbortIncompleteMultipartUpload, XmlUnmarshallerContext>, IXmlUnmarshaller<LifecycleRuleAbortIncompleteMultipartUpload, JsonUnmarshallerContext>
{
/// <summary>
/// Invoke the unmarshaller
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// AccessControlTranslation unmarshaller
/// </summary>
public class AccessControlTranslationUnmarshaller : IUnmarshaller<AccessControlTranslation, XmlUnmarshallerContext>, IUnmarshaller<AccessControlTranslation, JsonUnmarshallerContext>
public class AccessControlTranslationUnmarshaller : IXmlUnmarshaller<AccessControlTranslation, XmlUnmarshallerContext>, IXmlUnmarshaller<AccessControlTranslation, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// AnalyticsConfiguration Unmarshaller
/// </summary>
public class AnalyticsConfigurationUnmarshaller : IUnmarshaller<AnalyticsConfiguration, XmlUnmarshallerContext>, IUnmarshaller<AnalyticsConfiguration, JsonUnmarshallerContext>
public class AnalyticsConfigurationUnmarshaller : IXmlUnmarshaller<AnalyticsConfiguration, XmlUnmarshallerContext>, IXmlUnmarshaller<AnalyticsConfiguration, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// AnalyticsExportDestinationUnmarshaller
/// </summary>
public class AnalyticsExportDestinationUnmarshaller : IUnmarshaller<AnalyticsExportDestination, XmlUnmarshallerContext>, IUnmarshaller<AnalyticsExportDestination, JsonUnmarshallerContext>
public class AnalyticsExportDestinationUnmarshaller : IXmlUnmarshaller<AnalyticsExportDestination, XmlUnmarshallerContext>, IXmlUnmarshaller<AnalyticsExportDestination, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// AnalyticsFilter Unmarshaller
/// </summary>
public class AnalyticsPredicateListUnmarshaller : IUnmarshaller<List<AnalyticsFilterPredicate>, XmlUnmarshallerContext>, IUnmarshaller<List<AnalyticsFilterPredicate>, JsonUnmarshallerContext>
public class AnalyticsPredicateListUnmarshaller : IXmlUnmarshaller<List<AnalyticsFilterPredicate>, XmlUnmarshallerContext>, IXmlUnmarshaller<List<AnalyticsFilterPredicate>, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// AnalyticsS3BucketDestination Unmarshaller
/// </summary>
public class AnalyticsS3BucketDestinationUnmarshaller : IUnmarshaller<AnalyticsS3BucketDestination, XmlUnmarshallerContext>, IUnmarshaller<AnalyticsS3BucketDestination, JsonUnmarshallerContext>
public class AnalyticsS3BucketDestinationUnmarshaller : IXmlUnmarshaller<AnalyticsS3BucketDestination, XmlUnmarshallerContext>, IXmlUnmarshaller<AnalyticsS3BucketDestination, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// Response Unmarshaller for BucketAlreadyExistsException operation
/// </summary>
public class BucketAlreadyExistsExceptionUnmarshaller : IErrorResponseUnmarshaller<BucketAlreadyExistsException, XmlUnmarshallerContext>
public class BucketAlreadyExistsExceptionUnmarshaller : IXmlErrorResponseUnmarshaller<BucketAlreadyExistsException, XmlUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// Response Unmarshaller for BucketAlreadyOwnedByYouException operation
/// </summary>
public class BucketAlreadyOwnedByYouExceptionUnmarshaller : IErrorResponseUnmarshaller<BucketAlreadyOwnedByYouException, XmlUnmarshallerContext>
public class BucketAlreadyOwnedByYouExceptionUnmarshaller : IXmlErrorResponseUnmarshaller<BucketAlreadyOwnedByYouException, XmlUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// Bucket Unmarshaller
/// </summary>
public class BucketUnmarshaller : IUnmarshaller<S3Bucket, XmlUnmarshallerContext>, IUnmarshaller<S3Bucket, JsonUnmarshallerContext>
public class BucketUnmarshaller : IXmlUnmarshaller<S3Bucket, XmlUnmarshallerContext>, IXmlUnmarshaller<S3Bucket, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// CORSRule Unmarshaller
/// </summary>
public class CORSRuleUnmarshaller : IUnmarshaller<CORSRule, XmlUnmarshallerContext>, IUnmarshaller<CORSRule, JsonUnmarshallerContext>
public class CORSRuleUnmarshaller : IXmlUnmarshaller<CORSRule, XmlUnmarshallerContext>, IXmlUnmarshaller<CORSRule, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// Response Unmarshaller for Checksum Object
/// </summary>
public class ChecksumUnmarshaller : IUnmarshaller<Checksum, XmlUnmarshallerContext>
public class ChecksumUnmarshaller : IXmlUnmarshaller<Checksum, XmlUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// LambdaFunction unmarshaller
/// </summary>
public class LambdaFunctionConfigurationUnmarshaller : IUnmarshaller<LambdaFunctionConfiguration, XmlUnmarshallerContext>, IUnmarshaller<LambdaFunctionConfiguration, JsonUnmarshallerContext>
public class LambdaFunctionConfigurationUnmarshaller : IXmlUnmarshaller<LambdaFunctionConfiguration, XmlUnmarshallerContext>, IXmlUnmarshaller<LambdaFunctionConfiguration, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// CommonPrefixesItem Unmarshaller
/// </summary>
public class CommonPrefixesItemUnmarshaller : IUnmarshaller<string, XmlUnmarshallerContext>, IUnmarshaller<string, JsonUnmarshallerContext>
public class CommonPrefixesItemUnmarshaller : IXmlUnmarshaller<string, XmlUnmarshallerContext>, IXmlUnmarshaller<string, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// ContentsItem Unmarshaller
/// </summary>
public class ContentsItemUnmarshaller : IUnmarshaller<S3Object, XmlUnmarshallerContext>, IUnmarshaller<S3Object, JsonUnmarshallerContext>
public class ContentsItemUnmarshaller : IXmlUnmarshaller<S3Object, XmlUnmarshallerContext>, IXmlUnmarshaller<S3Object, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private static void UnmarshallResult(XmlUnmarshallerContext context, CreateSessi
/// <returns></returns>
public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
ErrorResponse errorResponse = ErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
ErrorResponse errorResponse = XmlErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// Response Unmarshaller for DefaultRetention Object
/// </summary>
public class DefaultRetentionUnmarshaller : IUnmarshaller<DefaultRetention, XmlUnmarshallerContext>, IUnmarshaller<DefaultRetention, JsonUnmarshallerContext>
public class DefaultRetentionUnmarshaller : IXmlUnmarshaller<DefaultRetention, XmlUnmarshallerContext>, IXmlUnmarshaller<DefaultRetention, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// DeleteMarkerReplication unmarshaller
/// </summary>
public class DeleteMarkerReplicationUnmarshaller : IUnmarshaller<DeleteMarkerReplication, XmlUnmarshallerContext>
public class DeleteMarkerReplicationUnmarshaller : IXmlUnmarshaller<DeleteMarkerReplication, XmlUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// DeletedObject Unmarshaller
/// </summary>
public class DeletedObjectUnmarshaller : IUnmarshaller<DeletedObject, XmlUnmarshallerContext>, IUnmarshaller<DeletedObject, JsonUnmarshallerContext>
public class DeletedObjectUnmarshaller : IXmlUnmarshaller<DeletedObject, XmlUnmarshallerContext>, IXmlUnmarshaller<DeletedObject, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// EncryptionConfiguration unmarshaller
/// </summary>
public class EncryptionConfigurationUnmarshaller : IUnmarshaller<EncryptionConfiguration, XmlUnmarshallerContext>, IUnmarshaller<EncryptionConfiguration, JsonUnmarshallerContext>
public class EncryptionConfigurationUnmarshaller : IXmlUnmarshaller<EncryptionConfiguration, XmlUnmarshallerContext>, IXmlUnmarshaller<EncryptionConfiguration, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// ErrorsItem Unmarshaller
/// </summary>
public class ErrorsItemUnmarshaller : IUnmarshaller<DeleteError, XmlUnmarshallerContext>, IUnmarshaller<DeleteError, JsonUnmarshallerContext>
public class ErrorsItemUnmarshaller : IXmlUnmarshaller<DeleteError, XmlUnmarshallerContext>, IXmlUnmarshaller<DeleteError, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// Response Unmarshaller for EventBridgeConfiguration Object
/// </summary>
public class EventBridgeConfigurationUnmarshaller : IUnmarshaller<EventBridgeConfiguration, XmlUnmarshallerContext>
public class EventBridgeConfigurationUnmarshaller : IXmlUnmarshaller<EventBridgeConfiguration, XmlUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// ExistingObjectReplication unmarshaller
/// </summary>
public class ExistingObjectReplicationUnmarshaller : IUnmarshaller<ExistingObjectReplication, XmlUnmarshallerContext>, IUnmarshaller<ExistingObjectReplication, JsonUnmarshallerContext>
public class ExistingObjectReplicationUnmarshaller : IXmlUnmarshaller<ExistingObjectReplication, XmlUnmarshallerContext>, IXmlUnmarshaller<ExistingObjectReplication, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// Expiration Unmarshaller
/// </summary>
public class ExpirationUnmarshaller : IUnmarshaller<LifecycleRuleExpiration, XmlUnmarshallerContext>, IUnmarshaller<LifecycleRuleExpiration, JsonUnmarshallerContext>
public class ExpirationUnmarshaller : IXmlUnmarshaller<LifecycleRuleExpiration, XmlUnmarshallerContext>, IXmlUnmarshaller<LifecycleRuleExpiration, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// FilterRule Unmarshaller
/// </summary>
public class FilterRuleUnmarshaller : IUnmarshaller<FilterRule, XmlUnmarshallerContext>, IUnmarshaller<FilterRule, JsonUnmarshallerContext>
public class FilterRuleUnmarshaller : IXmlUnmarshaller<FilterRule, XmlUnmarshallerContext>, IXmlUnmarshaller<FilterRule, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// Filter Unmarshaller
/// </summary>
public class FilterUnmarshaller : IUnmarshaller<Filter, XmlUnmarshallerContext>, IUnmarshaller<Filter, JsonUnmarshallerContext>
public class FilterUnmarshaller : IXmlUnmarshaller<Filter, XmlUnmarshallerContext>, IXmlUnmarshaller<Filter, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// Response Unmarshaller for GetObjectAttributesParts Object
/// </summary>
public class GetObjectAttributesPartsUnmarshaller : IUnmarshaller<GetObjectAttributesParts, XmlUnmarshallerContext>
public class GetObjectAttributesPartsUnmarshaller : IXmlUnmarshaller<GetObjectAttributesParts, XmlUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// Grant Unmarshaller
/// </summary>
public class GrantUnmarshaller : IUnmarshaller<S3Grant, XmlUnmarshallerContext>, IUnmarshaller<S3Grant, JsonUnmarshallerContext>
public class GrantUnmarshaller : IXmlUnmarshaller<S3Grant, XmlUnmarshallerContext>, IXmlUnmarshaller<S3Grant, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// Grantee Unmarshaller
/// </summary>
public class GranteeUnmarshaller : IUnmarshaller<S3Grantee, XmlUnmarshallerContext>, IUnmarshaller<S3Grantee, JsonUnmarshallerContext>
public class GranteeUnmarshaller : IXmlUnmarshaller<S3Grantee, XmlUnmarshallerContext>, IXmlUnmarshaller<S3Grantee, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private static void UnmarshallResult(XmlUnmarshallerContext context, HeadBucketR
/// <returns></returns>
public override AmazonServiceException UnmarshallException(XmlUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
ErrorResponse errorResponse = ErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
ErrorResponse errorResponse = XmlErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// Initiator Unmarshaller
/// </summary>
public class InitiatorUnmarshaller : IUnmarshaller<Initiator, XmlUnmarshallerContext>, IUnmarshaller<Initiator, JsonUnmarshallerContext>
public class InitiatorUnmarshaller : IXmlUnmarshaller<Initiator, XmlUnmarshallerContext>, IXmlUnmarshaller<Initiator, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// Unmarshaller for IntelligentTieringConfiguration
/// </summary>
public class IntelligentTieringConfigurationUnmarshaller : IUnmarshaller<IntelligentTieringConfiguration, XmlUnmarshallerContext>, IUnmarshaller<IntelligentTieringConfiguration, JsonUnmarshallerContext>
public class IntelligentTieringConfigurationUnmarshaller : IXmlUnmarshaller<IntelligentTieringConfiguration, XmlUnmarshallerContext>, IXmlUnmarshaller<IntelligentTieringConfiguration, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// IntelligentTieringFilter Unmarshaller
/// </summary>
public class IntelligentTieringPredicateListFilterUnmarshaller : IUnmarshaller<List<IntelligentTieringFilterPredicate>, XmlUnmarshallerContext>, IUnmarshaller<List<IntelligentTieringFilterPredicate>, JsonUnmarshallerContext>
public class IntelligentTieringPredicateListFilterUnmarshaller : IXmlUnmarshaller<List<IntelligentTieringFilterPredicate>, XmlUnmarshallerContext>, IXmlUnmarshaller<List<IntelligentTieringFilterPredicate>, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Amazon.S3.Model.Internal.MarshallTransformations
/// <summary>
/// InventoryConfiguration Unmarshaller
/// </summary>
public class InventoryConfigurationUnmarshaller : IUnmarshaller<InventoryConfiguration, XmlUnmarshallerContext>, IUnmarshaller<InventoryConfiguration, JsonUnmarshallerContext>
public class InventoryConfigurationUnmarshaller : IXmlUnmarshaller<InventoryConfiguration, XmlUnmarshallerContext>, IXmlUnmarshaller<InventoryConfiguration, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
Expand Down
Loading

0 comments on commit 1732fba

Please sign in to comment.