From 11fb4befd413b68afa07e770c347dacd32c94035 Mon Sep 17 00:00:00 2001 From: skotambkar Date: Fri, 2 Oct 2020 15:03:03 -0700 Subject: [PATCH 1/7] add middleware, customization for route53 custom error deserialization --- .../customization/AwsCustomGoDependency.java | 2 + .../Route53ErrorCustomizations.java | 51 ++++++++ ...mithy.go.codegen.integration.GoIntegration | 1 + .../customizations/custom_error_deser.go | 93 +++++++++++++ .../customizations/custom_error_deser_test.go | 122 ++++++++++++++++++ 5 files changed, 269 insertions(+) create mode 100644 codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/customization/Route53ErrorCustomizations.java create mode 100644 service/route53/internal/customizations/custom_error_deser.go create mode 100644 service/route53/internal/customizations/custom_error_deser_test.go diff --git a/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/customization/AwsCustomGoDependency.java b/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/customization/AwsCustomGoDependency.java index cc354182804..6dbe43e3316 100644 --- a/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/customization/AwsCustomGoDependency.java +++ b/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/customization/AwsCustomGoDependency.java @@ -37,6 +37,8 @@ public final class AwsCustomGoDependency extends AwsGoDependency { "service/kinesis/internal/customizations", "kinesiscust"); public static final GoDependency MACHINE_LEARNING_CUSTOMIZATION = aws( "service/machinelearning/internal/customizations", "mlcust"); + public static final GoDependency ROUTE53_CUSTOMIZATION = aws( + "service/route53/internal/customizations", "route53cust"); private AwsCustomGoDependency() { super(); diff --git a/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/customization/Route53ErrorCustomizations.java b/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/customization/Route53ErrorCustomizations.java new file mode 100644 index 00000000000..7f964c3f98e --- /dev/null +++ b/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/customization/Route53ErrorCustomizations.java @@ -0,0 +1,51 @@ +package software.amazon.smithy.aws.go.codegen.customization; + +import java.util.List; +import software.amazon.smithy.aws.traits.ServiceTrait; +import software.amazon.smithy.go.codegen.SymbolUtils; +import software.amazon.smithy.go.codegen.integration.GoIntegration; +import software.amazon.smithy.go.codegen.integration.MiddlewareRegistrar; +import software.amazon.smithy.go.codegen.integration.RuntimeClientPlugin; +import software.amazon.smithy.model.Model; +import software.amazon.smithy.model.shapes.OperationShape; +import software.amazon.smithy.model.shapes.ServiceShape; +import software.amazon.smithy.utils.ListUtils; + +public class Route53ErrorCustomizations implements GoIntegration { + private static String ADD_ERROR_HANDLER_INTERNAL = "HandleCustomErrorDeserialization"; + + @Override + public byte getOrder() { + // The associated customization ordering is relative to operation deserializers + // and thus the integration should be added at the end. + return 127; + } + + @Override + public List getClientPlugins() { + return ListUtils.of( + RuntimeClientPlugin.builder() + .operationPredicate(Route53ErrorCustomizations::supportsCustomError) + .registerMiddleware(MiddlewareRegistrar.builder() + .resolvedFunction(SymbolUtils.createValueSymbolBuilder(ADD_ERROR_HANDLER_INTERNAL, + AwsCustomGoDependency.ROUTE53_CUSTOMIZATION).build()) + .build()) + .build() + ); + } + + // returns true if the operation supports custom route53 error response + private static boolean supportsCustomError(Model model, ServiceShape service, OperationShape operation){ + if (!isRoute53Service(model, service)) { + return false; + } + + return operation.getId().getName().equalsIgnoreCase("ChangeResourceRecordSets"); + } + + // returns true if service is route53 + private static boolean isRoute53Service(Model model, ServiceShape service) { + String serviceId= service.expectTrait(ServiceTrait.class).getSdkId(); + return serviceId.equalsIgnoreCase("Route 53"); + } +} diff --git a/codegen/smithy-aws-go-codegen/src/main/resources/META-INF/services/software.amazon.smithy.go.codegen.integration.GoIntegration b/codegen/smithy-aws-go-codegen/src/main/resources/META-INF/services/software.amazon.smithy.go.codegen.integration.GoIntegration index 96901634328..2d1c940d64f 100644 --- a/codegen/smithy-aws-go-codegen/src/main/resources/META-INF/services/software.amazon.smithy.go.codegen.integration.GoIntegration +++ b/codegen/smithy-aws-go-codegen/src/main/resources/META-INF/services/software.amazon.smithy.go.codegen.integration.GoIntegration @@ -22,3 +22,4 @@ software.amazon.smithy.aws.go.codegen.customization.MachineLearningCustomization software.amazon.smithy.aws.go.codegen.customization.S3AcceptEncodingGzip software.amazon.smithy.aws.go.codegen.customization.KinesisCustomizations software.amazon.smithy.aws.go.codegen.customization.S3ErrorWith200Status +software.amazon.smithy.aws.go.codegen.customization.Route53ErrorCustomizations diff --git a/service/route53/internal/customizations/custom_error_deser.go b/service/route53/internal/customizations/custom_error_deser.go new file mode 100644 index 00000000000..46a5cf1b8f8 --- /dev/null +++ b/service/route53/internal/customizations/custom_error_deser.go @@ -0,0 +1,93 @@ +package customizations + +import ( + "bytes" + "context" + "encoding/xml" + "fmt" + "io" + "io/ioutil" + "strings" + + "github.com/awslabs/smithy-go" + "github.com/awslabs/smithy-go/middleware" + "github.com/awslabs/smithy-go/ptr" + smithyhttp "github.com/awslabs/smithy-go/transport/http" + smithyxml "github.com/awslabs/smithy-go/xml" + + awsmiddle "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/route53/types" +) + +// HandleCustomErrorDeserialization check if Route53 response is an error and needs +// custom error deserialization. +// +func HandleCustomErrorDeserialization(stack *middleware.Stack) { + stack.Deserialize.Insert(&processResponseMiddleware{}, "OperationDeserializer", middleware.After) +} + +// middleware to process raw response and look for error response with InvalidChangeBatch error tag +type processResponseMiddleware struct{} + +// ID returns the middleware ID. +func (*processResponseMiddleware) ID() string { return "Route53:ProcessResponseForCustomErrorResponse" } + +func (m *processResponseMiddleware) HandleDeserialize( + ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + // check if success response + if response.StatusCode >= 200 && response.StatusCode < 300 { + return + } + + var readBuff bytes.Buffer + body := io.TeeReader(response.Body, &readBuff) + + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + + // rewind response body + response.Body = ioutil.NopCloser(io.MultiReader(&readBuff, response.Body)) + + // if start tag is "InvalidChangeBatch", the error response needs custom unmarshaling. + if strings.EqualFold(t.Name.Local, "InvalidChangeBatch") { + return out, metadata, route53CustomErrorDeser(&metadata, response) + } + + return out, metadata, err +} + +// error type for invalidChangeBatchError +type invalidChangeBatchError struct { + Messages []string `xml:"Messages>Message"` + RequestID string `xml:"RequestId"` +} + +func route53CustomErrorDeser(metadata *middleware.Metadata, response *smithyhttp.Response) error { + err := invalidChangeBatchError{} + xml.NewDecoder(response.Body).Decode(&err) + + // set request id in metadata + if len(err.RequestID) != 0 { + awsmiddle.SetRequestIDMetadata(metadata, err.RequestID) + } + + return &types.InvalidChangeBatch{ + Message: ptr.String("ChangeBatch errors occurred"), + Messages: ptr.StringSlice(err.Messages), + } +} diff --git a/service/route53/internal/customizations/custom_error_deser_test.go b/service/route53/internal/customizations/custom_error_deser_test.go new file mode 100644 index 00000000000..bf2bf014882 --- /dev/null +++ b/service/route53/internal/customizations/custom_error_deser_test.go @@ -0,0 +1,122 @@ +package customizations_test + +import ( + "context" + "errors" + "net/http" + "net/http/httptest" + "strings" + "testing" + + "github.com/aws/aws-sdk-go-v2/aws" + "github.com/aws/aws-sdk-go-v2/service/route53" + "github.com/aws/aws-sdk-go-v2/service/route53/types" +) + +func TestCustomErrorDeserialization(t *testing.T) { + cases := map[string]struct { + responseStatus int + responseBody []byte + expectedError string + expectedRequestID string + expectedResponseID string + }{ + "invalidChangeBatchError": { + responseStatus: 500, + responseBody: []byte(` + + + Tried to create resource record set duplicate.example.com. type A, but it already exists + + b25f48e8-84fd-11e6-80d9-574e0c4664cb + `), + expectedError: "InvalidChangeBatch: ChangeBatch errors occurred", + expectedRequestID: "b25f48e8-84fd-11e6-80d9-574e0c4664cb", + }, + "standardRestXMLError": { + responseStatus: 500, + responseBody: []byte(` + + + Sender + MalformedXML + 1 validation error detected: Value null at 'route53#ChangeSet' failed to satisfy constraint: Member must not be null + + b25f48e8-84fd-11e6-80d9-574e0c4664cb + + `), + expectedError: "1 validation error detected:", + expectedRequestID: "b25f48e8-84fd-11e6-80d9-574e0c4664cb", + }, + "Success response": { + responseStatus: 200, + responseBody: []byte(` + + + mockComment + mockID + + `), + expectedResponseID: "mockID", + }, + } + + for name, c := range cases { + server := httptest.NewServer(http.HandlerFunc( + func(w http.ResponseWriter, r *http.Request) { + w.WriteHeader(c.responseStatus) + w.Write(c.responseBody) + })) + defer server.Close() + + t.Run(name, func(t *testing.T) { + svc := route53.NewFromConfig(aws.Config{ + Region: "us-east-1", + EndpointResolver: aws.EndpointResolverFunc(func(service, region string) (aws.Endpoint, error) { + return aws.Endpoint{ + URL: server.URL, + SigningName: "route53", + }, nil + }), + Retryer: aws.NoOpRetryer{}, + }) + resp, err := svc.ChangeResourceRecordSets(context.Background(), &route53.ChangeResourceRecordSetsInput{ + ChangeBatch: &types.ChangeBatch{ + Changes: []*types.Change{}, + Comment: aws.String("mock"), + }, + HostedZoneId: aws.String("zone"), + }) + + if err == nil && len(c.expectedError) != 0 { + t.Fatalf("expected err, got none") + } + + if len(c.expectedError) != 0 { + if e, a := c.expectedError, err.Error(); !strings.Contains(a, e) { + t.Fatalf("expected error to be %s, got %s", e, a) + } + + var awsResponseError responseError + if !errors.As(err, &awsResponseError) { + t.Fatalf("expected error to be of type %T, was not", awsResponseError) + } + + if e, a := c.expectedRequestID, awsResponseError.ServiceRequestID(); !strings.EqualFold(e, a) { + t.Fatalf("expected request id to be %s, got %s", e, a) + } + } + + if len(c.expectedResponseID) != 0 { + if e, a := c.expectedResponseID, *resp.ChangeInfo.Id; !strings.EqualFold(e, a) { + t.Fatalf("expected response to have id %v, got %v", e, a) + } + } + + }) + } +} + +type responseError interface { + ServiceRequestID() string +} From ecced05d41462dc98c3f47a8ad60fadb51cfa8db Mon Sep 17 00:00:00 2001 From: skotambkar Date: Fri, 2 Oct 2020 16:16:19 -0700 Subject: [PATCH 2/7] update gohash --- .../software/amazon/smithy/aws/go/codegen/AwsGoDependency.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/AwsGoDependency.java b/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/AwsGoDependency.java index 3a5e94001e5..41b8d7a04d4 100644 --- a/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/AwsGoDependency.java +++ b/codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/AwsGoDependency.java @@ -81,6 +81,6 @@ protected static GoDependency module( } private static final class Versions { - private static final String AWS_SDK = "v0.0.0-20201001231852-1fc1ab173989"; + private static final String AWS_SDK = "v0.0.0-20201002231452-4f578e93925d"; } } From d02e3f980d902d088a0983b7b01b945abecace29 Mon Sep 17 00:00:00 2001 From: skotambkar Date: Fri, 2 Oct 2020 16:22:52 -0700 Subject: [PATCH 3/7] generated route53 service --- service/route53/api_op_ChangeResourceRecordSets.go | 2 ++ service/route53/go.sum | 2 ++ 2 files changed, 4 insertions(+) diff --git a/service/route53/api_op_ChangeResourceRecordSets.go b/service/route53/api_op_ChangeResourceRecordSets.go index a8d18e15b7e..4256d291683 100644 --- a/service/route53/api_op_ChangeResourceRecordSets.go +++ b/service/route53/api_op_ChangeResourceRecordSets.go @@ -7,6 +7,7 @@ import ( awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" "github.com/aws/aws-sdk-go-v2/aws/retry" "github.com/aws/aws-sdk-go-v2/aws/signer/v4" + route53cust "github.com/aws/aws-sdk-go-v2/service/route53/internal/customizations" "github.com/aws/aws-sdk-go-v2/service/route53/types" smithy "github.com/awslabs/smithy-go" "github.com/awslabs/smithy-go/middleware" @@ -95,6 +96,7 @@ func (c *Client) ChangeResourceRecordSets(ctx context.Context, params *ChangeRes stack.Initialize.Add(newServiceMetadataMiddleware_opChangeResourceRecordSets(options.Region), middleware.Before) addRequestIDRetrieverMiddleware(stack) addResponseErrorMiddleware(stack) + route53cust.HandleCustomErrorDeserialization(stack) for _, fn := range options.APIOptions { if err := fn(stack); err != nil { diff --git a/service/route53/go.sum b/service/route53/go.sum index c3b6b1245d1..fe0e8f51d2f 100644 --- a/service/route53/go.sum +++ b/service/route53/go.sum @@ -1,3 +1,5 @@ +github.com/aws/aws-sdk-go-v2 v0.0.0-20201002220303-ffee47617303 h1:WvnHYDpFtCsvvaih/t1GB+kXFhcAtjQvxaMTfH7MyOE= +github.com/aws/aws-sdk-go-v2 v0.0.0-20201002220303-ffee47617303/go.mod h1:KAhGbTQM7VGrReUuwuRBIp+SSiB01L/jdfvwjtCJtEo= github.com/awslabs/smithy-go v0.0.0-20200930175536-2cd7f70a8c2f/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI= github.com/awslabs/smithy-go v0.1.1 h1:v1hUSAYf3w2ClKr58C+AtwoyPVoBjWyWT8thf7/VRtU= github.com/awslabs/smithy-go v0.1.1/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI= From 564c9714dc0db95206a5cac14440d54915f768f6 Mon Sep 17 00:00:00 2001 From: skotambkar Date: Fri, 2 Oct 2020 16:40:50 -0700 Subject: [PATCH 4/7] adds doc.go --- .../route53/internal/customizations/doc.go | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 service/route53/internal/customizations/doc.go diff --git a/service/route53/internal/customizations/doc.go b/service/route53/internal/customizations/doc.go new file mode 100644 index 00000000000..53ad86302ec --- /dev/null +++ b/service/route53/internal/customizations/doc.go @@ -0,0 +1,41 @@ +/* +Package customizations provides customizations for the Amazon Route53 API client. + +This package provides support for following customizations + Process Response Middleware: used for custom error deserializing + + +Process Response Middleware + +Route53 operation: ChangeResourceRecordSets can have an error response returned in +a slightly different format. This customization is only applicable to +ChangeResourceRecordSets operation of Route53. + +Here's a sample error response: + + + + Tried to create resource record set duplicate.example.com. type A, but it already exists + + + + +The processResponse middleware customizations enables SDK to check for an error +response starting with `InvalidChangeBatch` tag prior to deserialization. + +As this check in error response needs to be performed earlier than response +deserialization. Since the behavior of Deserialization is in +reverse order to the other stack steps its easier to consider that "after" means +"before". + + Middleware layering: + + HTTP Response -> process response error -> deserialize + + +In case the returned error response has `InvalidChangeBatch` format, the error is +deserialized and returned. The operation deserializer does not attempt to deserialize +as an error is returned by the process response error middleware. + +*/ +package customizations From 35d944bdd4878e9718e67a55ed5fc19d215b4a14 Mon Sep 17 00:00:00 2001 From: skotambkar Date: Mon, 5 Oct 2020 10:16:04 -0700 Subject: [PATCH 5/7] feedback around test and doc.go --- .../customizations/custom_error_deser_test.go | 17 ++-- .../route53/internal/customizations/doc.go | 78 +++++++++---------- 2 files changed, 47 insertions(+), 48 deletions(-) diff --git a/service/route53/internal/customizations/custom_error_deser_test.go b/service/route53/internal/customizations/custom_error_deser_test.go index bf2bf014882..3dcc173fe6b 100644 --- a/service/route53/internal/customizations/custom_error_deser_test.go +++ b/service/route53/internal/customizations/custom_error_deser_test.go @@ -33,6 +33,7 @@ func TestCustomErrorDeserialization(t *testing.T) { expectedError: "InvalidChangeBatch: ChangeBatch errors occurred", expectedRequestID: "b25f48e8-84fd-11e6-80d9-574e0c4664cb", }, + "standardRestXMLError": { responseStatus: 500, responseBody: []byte(` @@ -48,6 +49,7 @@ func TestCustomErrorDeserialization(t *testing.T) { expectedError: "1 validation error detected:", expectedRequestID: "b25f48e8-84fd-11e6-80d9-574e0c4664cb", }, + "Success response": { responseStatus: 200, responseBody: []byte(` @@ -97,12 +99,15 @@ func TestCustomErrorDeserialization(t *testing.T) { t.Fatalf("expected error to be %s, got %s", e, a) } - var awsResponseError responseError - if !errors.As(err, &awsResponseError) { - t.Fatalf("expected error to be of type %T, was not", awsResponseError) + var responseError interface { + ServiceRequestID() string + } + + if !errors.As(err, &responseError) { + t.Fatalf("expected error to be of type %T, was not", responseError) } - if e, a := c.expectedRequestID, awsResponseError.ServiceRequestID(); !strings.EqualFold(e, a) { + if e, a := c.expectedRequestID, responseError.ServiceRequestID(); !strings.EqualFold(e, a) { t.Fatalf("expected request id to be %s, got %s", e, a) } } @@ -116,7 +121,3 @@ func TestCustomErrorDeserialization(t *testing.T) { }) } } - -type responseError interface { - ServiceRequestID() string -} diff --git a/service/route53/internal/customizations/doc.go b/service/route53/internal/customizations/doc.go index 53ad86302ec..30b551154bc 100644 --- a/service/route53/internal/customizations/doc.go +++ b/service/route53/internal/customizations/doc.go @@ -1,41 +1,39 @@ -/* -Package customizations provides customizations for the Amazon Route53 API client. - -This package provides support for following customizations - Process Response Middleware: used for custom error deserializing - - -Process Response Middleware - -Route53 operation: ChangeResourceRecordSets can have an error response returned in -a slightly different format. This customization is only applicable to -ChangeResourceRecordSets operation of Route53. - -Here's a sample error response: - - - - Tried to create resource record set duplicate.example.com. type A, but it already exists - - - - -The processResponse middleware customizations enables SDK to check for an error -response starting with `InvalidChangeBatch` tag prior to deserialization. - -As this check in error response needs to be performed earlier than response -deserialization. Since the behavior of Deserialization is in -reverse order to the other stack steps its easier to consider that "after" means -"before". - - Middleware layering: - - HTTP Response -> process response error -> deserialize - - -In case the returned error response has `InvalidChangeBatch` format, the error is -deserialized and returned. The operation deserializer does not attempt to deserialize -as an error is returned by the process response error middleware. - -*/ +// Package customizations provides customizations for the Amazon Route53 API client. +// +// This package provides support for following customizations +// Process Response Middleware: used for custom error deserializing +// +// +// Process Response Middleware +// +// Route53 operation "ChangeResourceRecordSets" can have an error response returned in +// a slightly different format. This customization is only applicable to +// ChangeResourceRecordSets operation of Route53. +// +// Here's a sample error response: +// +// +// +// Tried to create resource record set duplicate.example.com. type A, but it already exists +// +// +// +// +// The processResponse middleware customizations enables SDK to check for an error +// response starting with `InvalidChangeBatch` tag prior to deserialization. +// +// As this check in error response needs to be performed earlier than response +// deserialization. Since the behavior of Deserialization is in +// reverse order to the other stack steps its easier to consider that "after" means +// "before". +// +// Middleware layering: +// +// HTTP Response -> process response error -> deserialize +// +// +// In case the returned error response has `InvalidChangeBatch` format, the error is +// deserialized and returned. The operation deserializer does not attempt to deserialize +// as an error is returned by the process response error middleware. +// package customizations From 36f8dc6bcc52399e46c75c5967ec204f75c5ec79 Mon Sep 17 00:00:00 2001 From: skotambkar Date: Mon, 5 Oct 2020 10:27:27 -0700 Subject: [PATCH 6/7] feedback on doc.go formatting --- service/route53/internal/customizations/doc.go | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/service/route53/internal/customizations/doc.go b/service/route53/internal/customizations/doc.go index 30b551154bc..46b9bcd4dfb 100644 --- a/service/route53/internal/customizations/doc.go +++ b/service/route53/internal/customizations/doc.go @@ -1,6 +1,7 @@ // Package customizations provides customizations for the Amazon Route53 API client. // // This package provides support for following customizations +// // Process Response Middleware: used for custom error deserializing // // @@ -11,16 +12,17 @@ // ChangeResourceRecordSets operation of Route53. // // Here's a sample error response: -// -// -// -// Tried to create resource record set duplicate.example.com. type A, but it already exists -// -// +// +// +// +// +// Tried to create resource record set duplicate.example.com. type A, but it already exists +// +// // // // The processResponse middleware customizations enables SDK to check for an error -// response starting with `InvalidChangeBatch` tag prior to deserialization. +// response starting with "InvalidChangeBatch" tag prior to deserialization. // // As this check in error response needs to be performed earlier than response // deserialization. Since the behavior of Deserialization is in @@ -29,7 +31,7 @@ // // Middleware layering: // -// HTTP Response -> process response error -> deserialize +// HTTP Response -> process response error -> deserialize // // // In case the returned error response has `InvalidChangeBatch` format, the error is From 2684125c671bc56b77c0035123519f38ae2c252e Mon Sep 17 00:00:00 2001 From: skotambkar Date: Mon, 5 Oct 2020 10:59:32 -0700 Subject: [PATCH 7/7] update gohash --- service/route53/go.mod | 2 +- service/route53/go.sum | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/service/route53/go.mod b/service/route53/go.mod index 10c6dd76db7..bb6f7d60072 100644 --- a/service/route53/go.mod +++ b/service/route53/go.mod @@ -3,7 +3,7 @@ module github.com/aws/aws-sdk-go-v2/service/route53 go 1.15 require ( - github.com/aws/aws-sdk-go-v2 v0.0.0-20201001231852-1fc1ab173989 + github.com/aws/aws-sdk-go-v2 v0.0.0-20201005175632-36f8dc6bcc52 github.com/awslabs/smithy-go v0.1.1 ) diff --git a/service/route53/go.sum b/service/route53/go.sum index fe0e8f51d2f..c3b6b1245d1 100644 --- a/service/route53/go.sum +++ b/service/route53/go.sum @@ -1,5 +1,3 @@ -github.com/aws/aws-sdk-go-v2 v0.0.0-20201002220303-ffee47617303 h1:WvnHYDpFtCsvvaih/t1GB+kXFhcAtjQvxaMTfH7MyOE= -github.com/aws/aws-sdk-go-v2 v0.0.0-20201002220303-ffee47617303/go.mod h1:KAhGbTQM7VGrReUuwuRBIp+SSiB01L/jdfvwjtCJtEo= github.com/awslabs/smithy-go v0.0.0-20200930175536-2cd7f70a8c2f/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI= github.com/awslabs/smithy-go v0.1.1 h1:v1hUSAYf3w2ClKr58C+AtwoyPVoBjWyWT8thf7/VRtU= github.com/awslabs/smithy-go v0.1.1/go.mod h1:hPOQwnmBLHsUphH13tVSjQhTAFma0/0XoZGbBcOuABI=