From 5fb38702ccca7de964dc5a366af8a6fe148305bb Mon Sep 17 00:00:00 2001 From: skotambkar Date: Wed, 14 Oct 2020 10:02:14 -0700 Subject: [PATCH] generated s3 and s3control clients --- service/s3/deserializers.go | 169 +++++++++++------------ service/s3/go.mod | 2 +- service/s3/go.sum | 1 + service/s3/internal/configtesting/go.sum | 1 + service/s3control/deserializers.go | 64 ++++----- service/s3control/go.mod | 2 +- service/s3control/go.sum | 2 + 7 files changed, 121 insertions(+), 120 deletions(-) diff --git a/service/s3/deserializers.go b/service/s3/deserializers.go index b2343584bc5..3cdda3e9f29 100644 --- a/service/s3/deserializers.go +++ b/service/s3/deserializers.go @@ -66,7 +66,7 @@ func awsRestxml_deserializeOpErrorAbortMultipartUpload(response *smithyhttp.Resp errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -182,7 +182,7 @@ func awsRestxml_deserializeOpErrorCompleteMultipartUpload(response *smithyhttp.R errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -410,7 +410,7 @@ func awsRestxml_deserializeOpErrorCopyObject(response *smithyhttp.Response, meta errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -575,7 +575,7 @@ func awsRestxml_deserializeOpErrorCreateBucket(response *smithyhttp.Response, me errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -694,7 +694,7 @@ func awsRestxml_deserializeOpErrorCreateMultipartUpload(response *smithyhttp.Res errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -892,7 +892,7 @@ func awsRestxml_deserializeOpErrorDeleteBucket(response *smithyhttp.Response, me errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -959,7 +959,7 @@ func awsRestxml_deserializeOpErrorDeleteBucketAnalyticsConfiguration(response *s errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1026,7 +1026,7 @@ func awsRestxml_deserializeOpErrorDeleteBucketCors(response *smithyhttp.Response errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1093,7 +1093,7 @@ func awsRestxml_deserializeOpErrorDeleteBucketEncryption(response *smithyhttp.Re errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1160,7 +1160,7 @@ func awsRestxml_deserializeOpErrorDeleteBucketInventoryConfiguration(response *s errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1227,7 +1227,7 @@ func awsRestxml_deserializeOpErrorDeleteBucketLifecycle(response *smithyhttp.Res errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1294,7 +1294,7 @@ func awsRestxml_deserializeOpErrorDeleteBucketMetricsConfiguration(response *smi errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1361,7 +1361,7 @@ func awsRestxml_deserializeOpErrorDeleteBucketPolicy(response *smithyhttp.Respon errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1428,7 +1428,7 @@ func awsRestxml_deserializeOpErrorDeleteBucketReplication(response *smithyhttp.R errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1495,7 +1495,7 @@ func awsRestxml_deserializeOpErrorDeleteBucketTagging(response *smithyhttp.Respo errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1562,7 +1562,7 @@ func awsRestxml_deserializeOpErrorDeleteBucketWebsite(response *smithyhttp.Respo errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1634,7 +1634,7 @@ func awsRestxml_deserializeOpErrorDeleteObject(response *smithyhttp.Response, me errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1761,7 +1761,7 @@ func awsRestxml_deserializeOpErrorDeleteObjects(response *smithyhttp.Response, m errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1889,7 +1889,7 @@ func awsRestxml_deserializeOpErrorDeleteObjectTagging(response *smithyhttp.Respo errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1969,7 +1969,7 @@ func awsRestxml_deserializeOpErrorDeletePublicAccessBlock(response *smithyhttp.R errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -2064,7 +2064,7 @@ func awsRestxml_deserializeOpErrorGetBucketAccelerateConfiguration(response *smi errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -2204,7 +2204,7 @@ func awsRestxml_deserializeOpErrorGetBucketAcl(response *smithyhttp.Response, me errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -2343,7 +2343,7 @@ func awsRestxml_deserializeOpErrorGetBucketAnalyticsConfiguration(response *smit errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -2476,7 +2476,7 @@ func awsRestxml_deserializeOpErrorGetBucketCors(response *smithyhttp.Response, m errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -2609,7 +2609,7 @@ func awsRestxml_deserializeOpErrorGetBucketEncryption(response *smithyhttp.Respo errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -2742,7 +2742,7 @@ func awsRestxml_deserializeOpErrorGetBucketInventoryConfiguration(response *smit errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -2875,7 +2875,7 @@ func awsRestxml_deserializeOpErrorGetBucketLifecycleConfiguration(response *smit errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -3008,7 +3008,7 @@ func awsRestxml_deserializeOpErrorGetBucketLocation(response *smithyhttp.Respons errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -3148,7 +3148,7 @@ func awsRestxml_deserializeOpErrorGetBucketLogging(response *smithyhttp.Response errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -3281,7 +3281,7 @@ func awsRestxml_deserializeOpErrorGetBucketMetricsConfiguration(response *smithy errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -3414,7 +3414,7 @@ func awsRestxml_deserializeOpErrorGetBucketNotificationConfiguration(response *s errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -3559,7 +3559,7 @@ func awsRestxml_deserializeOpErrorGetBucketPolicy(response *smithyhttp.Response, errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -3702,7 +3702,7 @@ func awsRestxml_deserializeOpErrorGetBucketPolicyStatus(response *smithyhttp.Res errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -3835,7 +3835,7 @@ func awsRestxml_deserializeOpErrorGetBucketReplication(response *smithyhttp.Resp errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -3968,7 +3968,7 @@ func awsRestxml_deserializeOpErrorGetBucketRequestPayment(response *smithyhttp.R errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -4108,7 +4108,7 @@ func awsRestxml_deserializeOpErrorGetBucketTagging(response *smithyhttp.Response errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -4241,7 +4241,7 @@ func awsRestxml_deserializeOpErrorGetBucketVersioning(response *smithyhttp.Respo errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -4394,7 +4394,7 @@ func awsRestxml_deserializeOpErrorGetBucketWebsite(response *smithyhttp.Response errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -4527,7 +4527,7 @@ func awsRestxml_deserializeOpErrorGetObject(response *smithyhttp.Response, metad errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -4832,7 +4832,7 @@ func awsRestxml_deserializeOpErrorGetObjectAcl(response *smithyhttp.Response, me errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -4986,7 +4986,7 @@ func awsRestxml_deserializeOpErrorGetObjectLegalHold(response *smithyhttp.Respon errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -5119,7 +5119,7 @@ func awsRestxml_deserializeOpErrorGetObjectLockConfiguration(response *smithyhtt errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -5252,7 +5252,7 @@ func awsRestxml_deserializeOpErrorGetObjectRetention(response *smithyhttp.Respon errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -5390,7 +5390,7 @@ func awsRestxml_deserializeOpErrorGetObjectTagging(response *smithyhttp.Response errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -5517,7 +5517,7 @@ func awsRestxml_deserializeOpErrorGetObjectTorrent(response *smithyhttp.Response errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -5632,7 +5632,7 @@ func awsRestxml_deserializeOpErrorGetPublicAccessBlock(response *smithyhttp.Resp errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -5737,7 +5737,7 @@ func awsRestxml_deserializeOpErrorHeadBucket(response *smithyhttp.Response, meta errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -5812,7 +5812,7 @@ func awsRestxml_deserializeOpErrorHeadObject(response *smithyhttp.Response, meta errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -5830,9 +5830,6 @@ func awsRestxml_deserializeOpErrorHeadObject(response *smithyhttp.Response, meta } errorBody.Seek(0, io.SeekStart) switch { - case strings.EqualFold("NoSuchKey", errorCode): - return awsRestxml_deserializeErrorNoSuchKey(response, errorBody) - default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -6091,7 +6088,7 @@ func awsRestxml_deserializeOpErrorListBucketAnalyticsConfigurations(response *sm errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -6272,7 +6269,7 @@ func awsRestxml_deserializeOpErrorListBucketInventoryConfigurations(response *sm errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -6453,7 +6450,7 @@ func awsRestxml_deserializeOpErrorListBucketMetricsConfigurations(response *smit errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -6634,7 +6631,7 @@ func awsRestxml_deserializeOpErrorListBuckets(response *smithyhttp.Response, met errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -6773,7 +6770,7 @@ func awsRestxml_deserializeOpErrorListMultipartUploads(response *smithyhttp.Resp errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -7070,7 +7067,7 @@ func awsRestxml_deserializeOpErrorListObjects(response *smithyhttp.Response, met errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -7338,7 +7335,7 @@ func awsRestxml_deserializeOpErrorListObjectsV2(response *smithyhttp.Response, m errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -7639,7 +7636,7 @@ func awsRestxml_deserializeOpErrorListObjectVersions(response *smithyhttp.Respon errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -7947,7 +7944,7 @@ func awsRestxml_deserializeOpErrorListParts(response *smithyhttp.Response, metad errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -8218,7 +8215,7 @@ func awsRestxml_deserializeOpErrorPutBucketAccelerateConfiguration(response *smi errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -8285,7 +8282,7 @@ func awsRestxml_deserializeOpErrorPutBucketAcl(response *smithyhttp.Response, me errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -8352,7 +8349,7 @@ func awsRestxml_deserializeOpErrorPutBucketAnalyticsConfiguration(response *smit errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -8419,7 +8416,7 @@ func awsRestxml_deserializeOpErrorPutBucketCors(response *smithyhttp.Response, m errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -8486,7 +8483,7 @@ func awsRestxml_deserializeOpErrorPutBucketEncryption(response *smithyhttp.Respo errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -8553,7 +8550,7 @@ func awsRestxml_deserializeOpErrorPutBucketInventoryConfiguration(response *smit errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -8620,7 +8617,7 @@ func awsRestxml_deserializeOpErrorPutBucketLifecycleConfiguration(response *smit errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -8687,7 +8684,7 @@ func awsRestxml_deserializeOpErrorPutBucketLogging(response *smithyhttp.Response errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -8754,7 +8751,7 @@ func awsRestxml_deserializeOpErrorPutBucketMetricsConfiguration(response *smithy errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -8821,7 +8818,7 @@ func awsRestxml_deserializeOpErrorPutBucketNotificationConfiguration(response *s errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -8888,7 +8885,7 @@ func awsRestxml_deserializeOpErrorPutBucketPolicy(response *smithyhttp.Response, errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -8955,7 +8952,7 @@ func awsRestxml_deserializeOpErrorPutBucketReplication(response *smithyhttp.Resp errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -9022,7 +9019,7 @@ func awsRestxml_deserializeOpErrorPutBucketRequestPayment(response *smithyhttp.R errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -9089,7 +9086,7 @@ func awsRestxml_deserializeOpErrorPutBucketTagging(response *smithyhttp.Response errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -9156,7 +9153,7 @@ func awsRestxml_deserializeOpErrorPutBucketVersioning(response *smithyhttp.Respo errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -9223,7 +9220,7 @@ func awsRestxml_deserializeOpErrorPutBucketWebsite(response *smithyhttp.Response errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -9295,7 +9292,7 @@ func awsRestxml_deserializeOpErrorPutObject(response *smithyhttp.Response, metad errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -9420,7 +9417,7 @@ func awsRestxml_deserializeOpErrorPutObjectAcl(response *smithyhttp.Response, me errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -9508,7 +9505,7 @@ func awsRestxml_deserializeOpErrorPutObjectLegalHold(response *smithyhttp.Respon errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -9593,7 +9590,7 @@ func awsRestxml_deserializeOpErrorPutObjectLockConfiguration(response *smithyhtt errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -9678,7 +9675,7 @@ func awsRestxml_deserializeOpErrorPutObjectRetention(response *smithyhttp.Respon errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -9763,7 +9760,7 @@ func awsRestxml_deserializeOpErrorPutObjectTagging(response *smithyhttp.Response errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -9843,7 +9840,7 @@ func awsRestxml_deserializeOpErrorPutPublicAccessBlock(response *smithyhttp.Resp errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -9915,7 +9912,7 @@ func awsRestxml_deserializeOpErrorRestoreObject(response *smithyhttp.Response, m errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -10008,7 +10005,7 @@ func awsRestxml_deserializeOpErrorUploadPart(response *smithyhttp.Response, meta errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -10146,7 +10143,7 @@ func awsRestxml_deserializeOpErrorUploadPartCopy(response *smithyhttp.Response, errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } diff --git a/service/s3/go.mod b/service/s3/go.mod index 25286edc413..6c356e87b74 100644 --- a/service/s3/go.mod +++ b/service/s3/go.mod @@ -5,7 +5,7 @@ go 1.15 require ( github.com/aws/aws-sdk-go-v2 v0.26.0 github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v0.0.0-20200930084954-897dfb99530c - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v0.1.0 + github.com/aws/aws-sdk-go-v2/service/internal/s3shared v0.0.0-20201014161145-592e24615bd4 github.com/awslabs/smithy-go v0.1.2-0.20201012175301-b4d8737f29d1 ) diff --git a/service/s3/go.sum b/service/s3/go.sum index dc351771daf..8e9d6217b05 100644 --- a/service/s3/go.sum +++ b/service/s3/go.sum @@ -1,3 +1,4 @@ +github.com/awslabs/smithy-go v0.0.0-20200930175536-2cd7f70a8c2f/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI= github.com/awslabs/smithy-go v0.1.0 h1:yltioxA96yA1Fv+fE+5FFXnbFgw3ngpeEV++TUUktiM= github.com/awslabs/smithy-go v0.1.0/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI= github.com/awslabs/smithy-go v0.1.2-0.20201012175301-b4d8737f29d1 h1:5eAoxqWUc2VMuT3ob/pUYCLliBYEk3dccw6P/reTuRY= diff --git a/service/s3/internal/configtesting/go.sum b/service/s3/internal/configtesting/go.sum index dc351771daf..8e9d6217b05 100644 --- a/service/s3/internal/configtesting/go.sum +++ b/service/s3/internal/configtesting/go.sum @@ -1,3 +1,4 @@ +github.com/awslabs/smithy-go v0.0.0-20200930175536-2cd7f70a8c2f/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI= github.com/awslabs/smithy-go v0.1.0 h1:yltioxA96yA1Fv+fE+5FFXnbFgw3ngpeEV++TUUktiM= github.com/awslabs/smithy-go v0.1.0/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI= github.com/awslabs/smithy-go v0.1.2-0.20201012175301-b4d8737f29d1 h1:5eAoxqWUc2VMuT3ob/pUYCLliBYEk3dccw6P/reTuRY= diff --git a/service/s3control/deserializers.go b/service/s3control/deserializers.go index 89eb3b5e23d..951e3751089 100644 --- a/service/s3control/deserializers.go +++ b/service/s3control/deserializers.go @@ -89,7 +89,7 @@ func awsRestxml_deserializeOpErrorCreateAccessPoint(response *smithyhttp.Respons errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -237,7 +237,7 @@ func awsRestxml_deserializeOpErrorCreateBucket(response *smithyhttp.Response, me errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -398,7 +398,7 @@ func awsRestxml_deserializeOpErrorCreateJob(response *smithyhttp.Response, metad errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -525,7 +525,7 @@ func awsRestxml_deserializeOpErrorDeleteAccessPoint(response *smithyhttp.Respons errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -592,7 +592,7 @@ func awsRestxml_deserializeOpErrorDeleteAccessPointPolicy(response *smithyhttp.R errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -659,7 +659,7 @@ func awsRestxml_deserializeOpErrorDeleteBucket(response *smithyhttp.Response, me errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -726,7 +726,7 @@ func awsRestxml_deserializeOpErrorDeleteBucketLifecycleConfiguration(response *s errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -793,7 +793,7 @@ func awsRestxml_deserializeOpErrorDeleteBucketPolicy(response *smithyhttp.Respon errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -860,7 +860,7 @@ func awsRestxml_deserializeOpErrorDeleteBucketTagging(response *smithyhttp.Respo errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -927,7 +927,7 @@ func awsRestxml_deserializeOpErrorDeleteJobTagging(response *smithyhttp.Response errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1003,7 +1003,7 @@ func awsRestxml_deserializeOpErrorDeletePublicAccessBlock(response *smithyhttp.R errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1098,7 +1098,7 @@ func awsRestxml_deserializeOpErrorDescribeJob(response *smithyhttp.Response, met errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1243,7 +1243,7 @@ func awsRestxml_deserializeOpErrorGetAccessPoint(response *smithyhttp.Response, errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1444,7 +1444,7 @@ func awsRestxml_deserializeOpErrorGetAccessPointPolicy(response *smithyhttp.Resp errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1587,7 +1587,7 @@ func awsRestxml_deserializeOpErrorGetAccessPointPolicyStatus(response *smithyhtt errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1720,7 +1720,7 @@ func awsRestxml_deserializeOpErrorGetBucket(response *smithyhttp.Response, metad errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -1896,7 +1896,7 @@ func awsRestxml_deserializeOpErrorGetBucketLifecycleConfiguration(response *smit errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -2029,7 +2029,7 @@ func awsRestxml_deserializeOpErrorGetBucketPolicy(response *smithyhttp.Response, errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -2172,7 +2172,7 @@ func awsRestxml_deserializeOpErrorGetBucketTagging(response *smithyhttp.Response errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -2305,7 +2305,7 @@ func awsRestxml_deserializeOpErrorGetJobTagging(response *smithyhttp.Response, m errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -2447,7 +2447,7 @@ func awsRestxml_deserializeOpErrorGetPublicAccessBlock(response *smithyhttp.Resp errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -2583,7 +2583,7 @@ func awsRestxml_deserializeOpErrorListAccessPoints(response *smithyhttp.Response errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -2732,7 +2732,7 @@ func awsRestxml_deserializeOpErrorListJobs(response *smithyhttp.Response, metada errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -2890,7 +2890,7 @@ func awsRestxml_deserializeOpErrorListRegionalBuckets(response *smithyhttp.Respo errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -3011,7 +3011,7 @@ func awsRestxml_deserializeOpErrorPutAccessPointPolicy(response *smithyhttp.Resp errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -3078,7 +3078,7 @@ func awsRestxml_deserializeOpErrorPutBucketLifecycleConfiguration(response *smit errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -3145,7 +3145,7 @@ func awsRestxml_deserializeOpErrorPutBucketPolicy(response *smithyhttp.Response, errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -3212,7 +3212,7 @@ func awsRestxml_deserializeOpErrorPutBucketTagging(response *smithyhttp.Response errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -3279,7 +3279,7 @@ func awsRestxml_deserializeOpErrorPutJobTagging(response *smithyhttp.Response, m errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -3358,7 +3358,7 @@ func awsRestxml_deserializeOpErrorPutPublicAccessBlock(response *smithyhttp.Resp errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -3453,7 +3453,7 @@ func awsRestxml_deserializeOpErrorUpdateJobPriority(response *smithyhttp.Respons errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } @@ -3625,7 +3625,7 @@ func awsRestxml_deserializeOpErrorUpdateJobStatus(response *smithyhttp.Response, errorCode := "UnknownError" errorMessage := errorCode - errorComponents, err := s3shared.GetErrorResponseComponents(errorBody) + errorComponents, err := s3shared.GetErrorResponseComponents(errorBody, response.StatusCode) if err != nil { return err } diff --git a/service/s3control/go.mod b/service/s3control/go.mod index 51c6190abb6..4ba995fe096 100644 --- a/service/s3control/go.mod +++ b/service/s3control/go.mod @@ -4,7 +4,7 @@ go 1.15 require ( github.com/aws/aws-sdk-go-v2 v0.26.0 - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v0.1.0 + github.com/aws/aws-sdk-go-v2/service/internal/s3shared v0.0.0-20201014161145-592e24615bd4 github.com/awslabs/smithy-go v0.1.2-0.20201012175301-b4d8737f29d1 ) diff --git a/service/s3control/go.sum b/service/s3control/go.sum index 03ae053aa4b..7be7f695b04 100644 --- a/service/s3control/go.sum +++ b/service/s3control/go.sum @@ -1,3 +1,5 @@ +github.com/awslabs/smithy-go v0.0.0-20200930175536-2cd7f70a8c2f/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI= +github.com/awslabs/smithy-go v0.1.0/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI= github.com/awslabs/smithy-go v0.1.2-0.20201012175301-b4d8737f29d1 h1:5eAoxqWUc2VMuT3ob/pUYCLliBYEk3dccw6P/reTuRY= github.com/awslabs/smithy-go v0.1.2-0.20201012175301-b4d8737f29d1/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=