diff --git a/service/accessanalyzer/api_op_CreateAnalyzer.go b/service/accessanalyzer/api_op_CreateAnalyzer.go index eb1bcc7f6ac..547f7fd3b85 100644 --- a/service/accessanalyzer/api_op_CreateAnalyzer.go +++ b/service/accessanalyzer/api_op_CreateAnalyzer.go @@ -111,6 +111,9 @@ func (c *Client) addOperationCreateAnalyzerMiddlewares(stack *middleware.Stack, if err = addOpCreateAnalyzerValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateAnalyzer(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -122,3 +125,12 @@ func (c *Client) addOperationCreateAnalyzerMiddlewares(stack *middleware.Stack, } return nil } + +func newServiceMetadataMiddleware_opCreateAnalyzer(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "access-analyzer", + OperationName: "CreateAnalyzer", + } +} diff --git a/service/accessanalyzer/api_op_CreateArchiveRule.go b/service/accessanalyzer/api_op_CreateArchiveRule.go index c37c7517e80..cbd2b390e53 100644 --- a/service/accessanalyzer/api_op_CreateArchiveRule.go +++ b/service/accessanalyzer/api_op_CreateArchiveRule.go @@ -107,6 +107,9 @@ func (c *Client) addOperationCreateArchiveRuleMiddlewares(stack *middleware.Stac if err = addOpCreateArchiveRuleValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateArchiveRule(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -118,3 +121,12 @@ func (c *Client) addOperationCreateArchiveRuleMiddlewares(stack *middleware.Stac } return nil } + +func newServiceMetadataMiddleware_opCreateArchiveRule(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "access-analyzer", + OperationName: "CreateArchiveRule", + } +} diff --git a/service/accessanalyzer/api_op_DeleteAnalyzer.go b/service/accessanalyzer/api_op_DeleteAnalyzer.go index b207fa908f6..c136a0284db 100644 --- a/service/accessanalyzer/api_op_DeleteAnalyzer.go +++ b/service/accessanalyzer/api_op_DeleteAnalyzer.go @@ -94,6 +94,9 @@ func (c *Client) addOperationDeleteAnalyzerMiddlewares(stack *middleware.Stack, if err = addOpDeleteAnalyzerValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteAnalyzer(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -105,3 +108,12 @@ func (c *Client) addOperationDeleteAnalyzerMiddlewares(stack *middleware.Stack, } return nil } + +func newServiceMetadataMiddleware_opDeleteAnalyzer(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "access-analyzer", + OperationName: "DeleteAnalyzer", + } +} diff --git a/service/accessanalyzer/api_op_DeleteArchiveRule.go b/service/accessanalyzer/api_op_DeleteArchiveRule.go index 18ef3ec15db..2fcafb1430e 100644 --- a/service/accessanalyzer/api_op_DeleteArchiveRule.go +++ b/service/accessanalyzer/api_op_DeleteArchiveRule.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDeleteArchiveRuleMiddlewares(stack *middleware.Stac if err = addOpDeleteArchiveRuleValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteArchiveRule(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -107,3 +110,12 @@ func (c *Client) addOperationDeleteArchiveRuleMiddlewares(stack *middleware.Stac } return nil } + +func newServiceMetadataMiddleware_opDeleteArchiveRule(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "access-analyzer", + OperationName: "DeleteArchiveRule", + } +} diff --git a/service/accessanalyzer/api_op_GetAnalyzer.go b/service/accessanalyzer/api_op_GetAnalyzer.go index b58493cb2b2..c327e6a07f7 100644 --- a/service/accessanalyzer/api_op_GetAnalyzer.go +++ b/service/accessanalyzer/api_op_GetAnalyzer.go @@ -96,6 +96,9 @@ func (c *Client) addOperationGetAnalyzerMiddlewares(stack *middleware.Stack, opt if err = addOpGetAnalyzerValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAnalyzer(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -107,3 +110,12 @@ func (c *Client) addOperationGetAnalyzerMiddlewares(stack *middleware.Stack, opt } return nil } + +func newServiceMetadataMiddleware_opGetAnalyzer(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "access-analyzer", + OperationName: "GetAnalyzer", + } +} diff --git a/service/accessanalyzer/api_op_GetArchiveRule.go b/service/accessanalyzer/api_op_GetArchiveRule.go index c814b3e2560..9079d21e5cc 100644 --- a/service/accessanalyzer/api_op_GetArchiveRule.go +++ b/service/accessanalyzer/api_op_GetArchiveRule.go @@ -104,6 +104,9 @@ func (c *Client) addOperationGetArchiveRuleMiddlewares(stack *middleware.Stack, if err = addOpGetArchiveRuleValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetArchiveRule(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -115,3 +118,12 @@ func (c *Client) addOperationGetArchiveRuleMiddlewares(stack *middleware.Stack, } return nil } + +func newServiceMetadataMiddleware_opGetArchiveRule(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "access-analyzer", + OperationName: "GetArchiveRule", + } +} diff --git a/service/accessanalyzer/api_op_ListAnalyzers.go b/service/accessanalyzer/api_op_ListAnalyzers.go index caae1ff1936..357c9138e42 100644 --- a/service/accessanalyzer/api_op_ListAnalyzers.go +++ b/service/accessanalyzer/api_op_ListAnalyzers.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListAnalyzersMiddlewares(stack *middleware.Stack, o if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListAnalyzers(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -197,3 +200,12 @@ func (p *ListAnalyzersPaginator) NextPage(ctx context.Context, optFns ...func(*O return result, nil } + +func newServiceMetadataMiddleware_opListAnalyzers(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "access-analyzer", + OperationName: "ListAnalyzers", + } +} diff --git a/service/accessanalyzer/api_op_ListArchiveRules.go b/service/accessanalyzer/api_op_ListArchiveRules.go index 3cb4b168f70..ee12f0a0830 100644 --- a/service/accessanalyzer/api_op_ListArchiveRules.go +++ b/service/accessanalyzer/api_op_ListArchiveRules.go @@ -106,6 +106,9 @@ func (c *Client) addOperationListArchiveRulesMiddlewares(stack *middleware.Stack if err = addOpListArchiveRulesValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListArchiveRules(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -203,3 +206,12 @@ func (p *ListArchiveRulesPaginator) NextPage(ctx context.Context, optFns ...func return result, nil } + +func newServiceMetadataMiddleware_opListArchiveRules(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "access-analyzer", + OperationName: "ListArchiveRules", + } +} diff --git a/service/accessanalyzer/api_op_UpdateArchiveRule.go b/service/accessanalyzer/api_op_UpdateArchiveRule.go index b29fa2416b3..e703d77f837 100644 --- a/service/accessanalyzer/api_op_UpdateArchiveRule.go +++ b/service/accessanalyzer/api_op_UpdateArchiveRule.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateArchiveRuleMiddlewares(stack *middleware.Stac if err = addOpUpdateArchiveRuleValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateArchiveRule(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -114,3 +117,12 @@ func (c *Client) addOperationUpdateArchiveRuleMiddlewares(stack *middleware.Stac } return nil } + +func newServiceMetadataMiddleware_opUpdateArchiveRule(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "access-analyzer", + OperationName: "UpdateArchiveRule", + } +} diff --git a/service/amp/api_op_CreateWorkspace.go b/service/amp/api_op_CreateWorkspace.go index 10b06f0753d..a690f39326a 100644 --- a/service/amp/api_op_CreateWorkspace.go +++ b/service/amp/api_op_CreateWorkspace.go @@ -106,6 +106,9 @@ func (c *Client) addOperationCreateWorkspaceMiddlewares(stack *middleware.Stack, if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateWorkspace(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -117,3 +120,12 @@ func (c *Client) addOperationCreateWorkspaceMiddlewares(stack *middleware.Stack, } return nil } + +func newServiceMetadataMiddleware_opCreateWorkspace(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "aps", + OperationName: "CreateWorkspace", + } +} diff --git a/service/amp/api_op_DeleteWorkspace.go b/service/amp/api_op_DeleteWorkspace.go index da9b65d6fd3..9a810aac86e 100644 --- a/service/amp/api_op_DeleteWorkspace.go +++ b/service/amp/api_op_DeleteWorkspace.go @@ -92,6 +92,9 @@ func (c *Client) addOperationDeleteWorkspaceMiddlewares(stack *middleware.Stack, if err = addOpDeleteWorkspaceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteWorkspace(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -103,3 +106,12 @@ func (c *Client) addOperationDeleteWorkspaceMiddlewares(stack *middleware.Stack, } return nil } + +func newServiceMetadataMiddleware_opDeleteWorkspace(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "aps", + OperationName: "DeleteWorkspace", + } +} diff --git a/service/amp/api_op_DescribeWorkspace.go b/service/amp/api_op_DescribeWorkspace.go index 10e1d7b0960..7e3e5083647 100644 --- a/service/amp/api_op_DescribeWorkspace.go +++ b/service/amp/api_op_DescribeWorkspace.go @@ -96,6 +96,9 @@ func (c *Client) addOperationDescribeWorkspaceMiddlewares(stack *middleware.Stac if err = addOpDescribeWorkspaceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeWorkspace(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -107,3 +110,12 @@ func (c *Client) addOperationDescribeWorkspaceMiddlewares(stack *middleware.Stac } return nil } + +func newServiceMetadataMiddleware_opDescribeWorkspace(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "aps", + OperationName: "DescribeWorkspace", + } +} diff --git a/service/amp/api_op_ListWorkspaces.go b/service/amp/api_op_ListWorkspaces.go index be889f36bb6..6dc2fad2831 100644 --- a/service/amp/api_op_ListWorkspaces.go +++ b/service/amp/api_op_ListWorkspaces.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListWorkspacesMiddlewares(stack *middleware.Stack, if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListWorkspaces(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -201,3 +204,12 @@ func (p *ListWorkspacesPaginator) NextPage(ctx context.Context, optFns ...func(* return result, nil } + +func newServiceMetadataMiddleware_opListWorkspaces(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "aps", + OperationName: "ListWorkspaces", + } +} diff --git a/service/amp/api_op_UpdateWorkspaceAlias.go b/service/amp/api_op_UpdateWorkspaceAlias.go index 1128224807f..55a8cf55fc7 100644 --- a/service/amp/api_op_UpdateWorkspaceAlias.go +++ b/service/amp/api_op_UpdateWorkspaceAlias.go @@ -95,6 +95,9 @@ func (c *Client) addOperationUpdateWorkspaceAliasMiddlewares(stack *middleware.S if err = addOpUpdateWorkspaceAliasValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateWorkspaceAlias(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -106,3 +109,12 @@ func (c *Client) addOperationUpdateWorkspaceAliasMiddlewares(stack *middleware.S } return nil } + +func newServiceMetadataMiddleware_opUpdateWorkspaceAlias(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "aps", + OperationName: "UpdateWorkspaceAlias", + } +} diff --git a/service/appmesh/api_op_CreateGatewayRoute.go b/service/appmesh/api_op_CreateGatewayRoute.go index 78f70c092cf..178d89a01a7 100644 --- a/service/appmesh/api_op_CreateGatewayRoute.go +++ b/service/appmesh/api_op_CreateGatewayRoute.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateGatewayRouteMiddlewares(stack *middleware.Sta if err = addOpCreateGatewayRouteValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGatewayRoute(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -143,3 +146,12 @@ func (c *Client) addOperationCreateGatewayRouteMiddlewares(stack *middleware.Sta } return nil } + +func newServiceMetadataMiddleware_opCreateGatewayRoute(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "CreateGatewayRoute", + } +} diff --git a/service/appmesh/api_op_CreateMesh.go b/service/appmesh/api_op_CreateMesh.go index c15f93426d3..7dcad4e88cf 100644 --- a/service/appmesh/api_op_CreateMesh.go +++ b/service/appmesh/api_op_CreateMesh.go @@ -114,6 +114,9 @@ func (c *Client) addOperationCreateMeshMiddlewares(stack *middleware.Stack, opti if err = addOpCreateMeshValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMesh(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -125,3 +128,12 @@ func (c *Client) addOperationCreateMeshMiddlewares(stack *middleware.Stack, opti } return nil } + +func newServiceMetadataMiddleware_opCreateMesh(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "CreateMesh", + } +} diff --git a/service/appmesh/api_op_CreateRoute.go b/service/appmesh/api_op_CreateRoute.go index 49b06c4da3c..ce4fbd7e492 100644 --- a/service/appmesh/api_op_CreateRoute.go +++ b/service/appmesh/api_op_CreateRoute.go @@ -133,6 +133,9 @@ func (c *Client) addOperationCreateRouteMiddlewares(stack *middleware.Stack, opt if err = addOpCreateRouteValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRoute(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -144,3 +147,12 @@ func (c *Client) addOperationCreateRouteMiddlewares(stack *middleware.Stack, opt } return nil } + +func newServiceMetadataMiddleware_opCreateRoute(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "CreateRoute", + } +} diff --git a/service/appmesh/api_op_CreateVirtualGateway.go b/service/appmesh/api_op_CreateVirtualGateway.go index 335c15a02de..57be4a91415 100644 --- a/service/appmesh/api_op_CreateVirtualGateway.go +++ b/service/appmesh/api_op_CreateVirtualGateway.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateVirtualGatewayMiddlewares(stack *middleware.S if err = addOpCreateVirtualGatewayValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVirtualGateway(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -139,3 +142,12 @@ func (c *Client) addOperationCreateVirtualGatewayMiddlewares(stack *middleware.S } return nil } + +func newServiceMetadataMiddleware_opCreateVirtualGateway(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "CreateVirtualGateway", + } +} diff --git a/service/appmesh/api_op_CreateVirtualNode.go b/service/appmesh/api_op_CreateVirtualNode.go index 5d5ae5ed421..57083794f5d 100644 --- a/service/appmesh/api_op_CreateVirtualNode.go +++ b/service/appmesh/api_op_CreateVirtualNode.go @@ -145,6 +145,9 @@ func (c *Client) addOperationCreateVirtualNodeMiddlewares(stack *middleware.Stac if err = addOpCreateVirtualNodeValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVirtualNode(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -156,3 +159,12 @@ func (c *Client) addOperationCreateVirtualNodeMiddlewares(stack *middleware.Stac } return nil } + +func newServiceMetadataMiddleware_opCreateVirtualNode(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "CreateVirtualNode", + } +} diff --git a/service/appmesh/api_op_CreateVirtualRouter.go b/service/appmesh/api_op_CreateVirtualRouter.go index c1449da4ffb..434737b1d7b 100644 --- a/service/appmesh/api_op_CreateVirtualRouter.go +++ b/service/appmesh/api_op_CreateVirtualRouter.go @@ -130,6 +130,9 @@ func (c *Client) addOperationCreateVirtualRouterMiddlewares(stack *middleware.St if err = addOpCreateVirtualRouterValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVirtualRouter(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -141,3 +144,12 @@ func (c *Client) addOperationCreateVirtualRouterMiddlewares(stack *middleware.St } return nil } + +func newServiceMetadataMiddleware_opCreateVirtualRouter(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "CreateVirtualRouter", + } +} diff --git a/service/appmesh/api_op_CreateVirtualService.go b/service/appmesh/api_op_CreateVirtualService.go index e6d24493bee..8762abc3213 100644 --- a/service/appmesh/api_op_CreateVirtualService.go +++ b/service/appmesh/api_op_CreateVirtualService.go @@ -129,6 +129,9 @@ func (c *Client) addOperationCreateVirtualServiceMiddlewares(stack *middleware.S if err = addOpCreateVirtualServiceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateVirtualService(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -140,3 +143,12 @@ func (c *Client) addOperationCreateVirtualServiceMiddlewares(stack *middleware.S } return nil } + +func newServiceMetadataMiddleware_opCreateVirtualService(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "CreateVirtualService", + } +} diff --git a/service/appmesh/api_op_DeleteGatewayRoute.go b/service/appmesh/api_op_DeleteGatewayRoute.go index 9a0b15bf83a..53125204a7c 100644 --- a/service/appmesh/api_op_DeleteGatewayRoute.go +++ b/service/appmesh/api_op_DeleteGatewayRoute.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteGatewayRouteMiddlewares(stack *middleware.Sta if err = addOpDeleteGatewayRouteValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGatewayRoute(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -121,3 +124,12 @@ func (c *Client) addOperationDeleteGatewayRouteMiddlewares(stack *middleware.Sta } return nil } + +func newServiceMetadataMiddleware_opDeleteGatewayRoute(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "DeleteGatewayRoute", + } +} diff --git a/service/appmesh/api_op_DeleteMesh.go b/service/appmesh/api_op_DeleteMesh.go index 804057cdc96..9cdf3b84323 100644 --- a/service/appmesh/api_op_DeleteMesh.go +++ b/service/appmesh/api_op_DeleteMesh.go @@ -98,6 +98,9 @@ func (c *Client) addOperationDeleteMeshMiddlewares(stack *middleware.Stack, opti if err = addOpDeleteMeshValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMesh(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -109,3 +112,12 @@ func (c *Client) addOperationDeleteMeshMiddlewares(stack *middleware.Stack, opti } return nil } + +func newServiceMetadataMiddleware_opDeleteMesh(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "DeleteMesh", + } +} diff --git a/service/appmesh/api_op_DeleteRoute.go b/service/appmesh/api_op_DeleteRoute.go index 436a8d416a5..8e967a58444 100644 --- a/service/appmesh/api_op_DeleteRoute.go +++ b/service/appmesh/api_op_DeleteRoute.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDeleteRouteMiddlewares(stack *middleware.Stack, opt if err = addOpDeleteRouteValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRoute(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -123,3 +126,12 @@ func (c *Client) addOperationDeleteRouteMiddlewares(stack *middleware.Stack, opt } return nil } + +func newServiceMetadataMiddleware_opDeleteRoute(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "DeleteRoute", + } +} diff --git a/service/appmesh/api_op_DeleteVirtualGateway.go b/service/appmesh/api_op_DeleteVirtualGateway.go index 88eacada4aa..8b0be0f08f3 100644 --- a/service/appmesh/api_op_DeleteVirtualGateway.go +++ b/service/appmesh/api_op_DeleteVirtualGateway.go @@ -106,6 +106,9 @@ func (c *Client) addOperationDeleteVirtualGatewayMiddlewares(stack *middleware.S if err = addOpDeleteVirtualGatewayValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVirtualGateway(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -117,3 +120,12 @@ func (c *Client) addOperationDeleteVirtualGatewayMiddlewares(stack *middleware.S } return nil } + +func newServiceMetadataMiddleware_opDeleteVirtualGateway(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "DeleteVirtualGateway", + } +} diff --git a/service/appmesh/api_op_DeleteVirtualNode.go b/service/appmesh/api_op_DeleteVirtualNode.go index 97966ffb71a..732de5a64fe 100644 --- a/service/appmesh/api_op_DeleteVirtualNode.go +++ b/service/appmesh/api_op_DeleteVirtualNode.go @@ -109,6 +109,9 @@ func (c *Client) addOperationDeleteVirtualNodeMiddlewares(stack *middleware.Stac if err = addOpDeleteVirtualNodeValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVirtualNode(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -120,3 +123,12 @@ func (c *Client) addOperationDeleteVirtualNodeMiddlewares(stack *middleware.Stac } return nil } + +func newServiceMetadataMiddleware_opDeleteVirtualNode(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "DeleteVirtualNode", + } +} diff --git a/service/appmesh/api_op_DeleteVirtualRouter.go b/service/appmesh/api_op_DeleteVirtualRouter.go index 74a2dac6c76..63261554f11 100644 --- a/service/appmesh/api_op_DeleteVirtualRouter.go +++ b/service/appmesh/api_op_DeleteVirtualRouter.go @@ -108,6 +108,9 @@ func (c *Client) addOperationDeleteVirtualRouterMiddlewares(stack *middleware.St if err = addOpDeleteVirtualRouterValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVirtualRouter(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -119,3 +122,12 @@ func (c *Client) addOperationDeleteVirtualRouterMiddlewares(stack *middleware.St } return nil } + +func newServiceMetadataMiddleware_opDeleteVirtualRouter(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "DeleteVirtualRouter", + } +} diff --git a/service/appmesh/api_op_DeleteVirtualService.go b/service/appmesh/api_op_DeleteVirtualService.go index c76fc8ae5fd..add2a131b58 100644 --- a/service/appmesh/api_op_DeleteVirtualService.go +++ b/service/appmesh/api_op_DeleteVirtualService.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDeleteVirtualServiceMiddlewares(stack *middleware.S if err = addOpDeleteVirtualServiceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteVirtualService(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -118,3 +121,12 @@ func (c *Client) addOperationDeleteVirtualServiceMiddlewares(stack *middleware.S } return nil } + +func newServiceMetadataMiddleware_opDeleteVirtualService(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "DeleteVirtualService", + } +} diff --git a/service/appmesh/api_op_DescribeGatewayRoute.go b/service/appmesh/api_op_DescribeGatewayRoute.go index 45fd43d048f..cbf22706b4b 100644 --- a/service/appmesh/api_op_DescribeGatewayRoute.go +++ b/service/appmesh/api_op_DescribeGatewayRoute.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDescribeGatewayRouteMiddlewares(stack *middleware.S if err = addOpDescribeGatewayRouteValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGatewayRoute(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -121,3 +124,12 @@ func (c *Client) addOperationDescribeGatewayRouteMiddlewares(stack *middleware.S } return nil } + +func newServiceMetadataMiddleware_opDescribeGatewayRoute(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "DescribeGatewayRoute", + } +} diff --git a/service/appmesh/api_op_DescribeMesh.go b/service/appmesh/api_op_DescribeMesh.go index eaff6c00bea..828b29e00c6 100644 --- a/service/appmesh/api_op_DescribeMesh.go +++ b/service/appmesh/api_op_DescribeMesh.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeMeshMiddlewares(stack *middleware.Stack, op if err = addOpDescribeMeshValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMesh(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -113,3 +116,12 @@ func (c *Client) addOperationDescribeMeshMiddlewares(stack *middleware.Stack, op } return nil } + +func newServiceMetadataMiddleware_opDescribeMesh(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "DescribeMesh", + } +} diff --git a/service/appmesh/api_op_DescribeRoute.go b/service/appmesh/api_op_DescribeRoute.go index 26a82d4a359..215a7616b8a 100644 --- a/service/appmesh/api_op_DescribeRoute.go +++ b/service/appmesh/api_op_DescribeRoute.go @@ -112,6 +112,9 @@ func (c *Client) addOperationDescribeRouteMiddlewares(stack *middleware.Stack, o if err = addOpDescribeRouteValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRoute(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -123,3 +126,12 @@ func (c *Client) addOperationDescribeRouteMiddlewares(stack *middleware.Stack, o } return nil } + +func newServiceMetadataMiddleware_opDescribeRoute(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "DescribeRoute", + } +} diff --git a/service/appmesh/api_op_DescribeVirtualGateway.go b/service/appmesh/api_op_DescribeVirtualGateway.go index 0f6ad5c6dc2..3f0733abd2e 100644 --- a/service/appmesh/api_op_DescribeVirtualGateway.go +++ b/service/appmesh/api_op_DescribeVirtualGateway.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDescribeVirtualGatewayMiddlewares(stack *middleware if err = addOpDescribeVirtualGatewayValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVirtualGateway(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -116,3 +119,12 @@ func (c *Client) addOperationDescribeVirtualGatewayMiddlewares(stack *middleware } return nil } + +func newServiceMetadataMiddleware_opDescribeVirtualGateway(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "DescribeVirtualGateway", + } +} diff --git a/service/appmesh/api_op_DescribeVirtualNode.go b/service/appmesh/api_op_DescribeVirtualNode.go index de9c1c07b70..3e90e5f3606 100644 --- a/service/appmesh/api_op_DescribeVirtualNode.go +++ b/service/appmesh/api_op_DescribeVirtualNode.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeVirtualNodeMiddlewares(stack *middleware.St if err = addOpDescribeVirtualNodeValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVirtualNode(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -118,3 +121,12 @@ func (c *Client) addOperationDescribeVirtualNodeMiddlewares(stack *middleware.St } return nil } + +func newServiceMetadataMiddleware_opDescribeVirtualNode(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "DescribeVirtualNode", + } +} diff --git a/service/appmesh/api_op_DescribeVirtualRouter.go b/service/appmesh/api_op_DescribeVirtualRouter.go index 3f8795c5fc0..d6c3fb439ce 100644 --- a/service/appmesh/api_op_DescribeVirtualRouter.go +++ b/service/appmesh/api_op_DescribeVirtualRouter.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeVirtualRouterMiddlewares(stack *middleware. if err = addOpDescribeVirtualRouterValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVirtualRouter(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -118,3 +121,12 @@ func (c *Client) addOperationDescribeVirtualRouterMiddlewares(stack *middleware. } return nil } + +func newServiceMetadataMiddleware_opDescribeVirtualRouter(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "DescribeVirtualRouter", + } +} diff --git a/service/appmesh/api_op_DescribeVirtualService.go b/service/appmesh/api_op_DescribeVirtualService.go index c48ced9b2b2..a8a7c44aa74 100644 --- a/service/appmesh/api_op_DescribeVirtualService.go +++ b/service/appmesh/api_op_DescribeVirtualService.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeVirtualServiceMiddlewares(stack *middleware if err = addOpDescribeVirtualServiceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeVirtualService(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -118,3 +121,12 @@ func (c *Client) addOperationDescribeVirtualServiceMiddlewares(stack *middleware } return nil } + +func newServiceMetadataMiddleware_opDescribeVirtualService(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "DescribeVirtualService", + } +} diff --git a/service/appmesh/api_op_ListGatewayRoutes.go b/service/appmesh/api_op_ListGatewayRoutes.go index 07aebd7900e..9e33f85cdab 100644 --- a/service/appmesh/api_op_ListGatewayRoutes.go +++ b/service/appmesh/api_op_ListGatewayRoutes.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListGatewayRoutesMiddlewares(stack *middleware.Stac if err = addOpListGatewayRoutesValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGatewayRoutes(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -232,3 +235,12 @@ func (p *ListGatewayRoutesPaginator) NextPage(ctx context.Context, optFns ...fun return result, nil } + +func newServiceMetadataMiddleware_opListGatewayRoutes(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "ListGatewayRoutes", + } +} diff --git a/service/appmesh/api_op_ListMeshes.go b/service/appmesh/api_op_ListMeshes.go index 1d9d7540a63..b4f1099f03a 100644 --- a/service/appmesh/api_op_ListMeshes.go +++ b/service/appmesh/api_op_ListMeshes.go @@ -111,6 +111,9 @@ func (c *Client) addOperationListMeshesMiddlewares(stack *middleware.Stack, opti if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMeshes(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -213,3 +216,12 @@ func (p *ListMeshesPaginator) NextPage(ctx context.Context, optFns ...func(*Opti return result, nil } + +func newServiceMetadataMiddleware_opListMeshes(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "ListMeshes", + } +} diff --git a/service/appmesh/api_op_ListRoutes.go b/service/appmesh/api_op_ListRoutes.go index b2370117045..0eb60512bd0 100644 --- a/service/appmesh/api_op_ListRoutes.go +++ b/service/appmesh/api_op_ListRoutes.go @@ -129,6 +129,9 @@ func (c *Client) addOperationListRoutesMiddlewares(stack *middleware.Stack, opti if err = addOpListRoutesValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRoutes(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -231,3 +234,12 @@ func (p *ListRoutesPaginator) NextPage(ctx context.Context, optFns ...func(*Opti return result, nil } + +func newServiceMetadataMiddleware_opListRoutes(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "ListRoutes", + } +} diff --git a/service/appmesh/api_op_ListVirtualGateways.go b/service/appmesh/api_op_ListVirtualGateways.go index 840ac1c75f9..a8a4f036410 100644 --- a/service/appmesh/api_op_ListVirtualGateways.go +++ b/service/appmesh/api_op_ListVirtualGateways.go @@ -122,6 +122,9 @@ func (c *Client) addOperationListVirtualGatewaysMiddlewares(stack *middleware.St if err = addOpListVirtualGatewaysValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVirtualGateways(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -226,3 +229,12 @@ func (p *ListVirtualGatewaysPaginator) NextPage(ctx context.Context, optFns ...f return result, nil } + +func newServiceMetadataMiddleware_opListVirtualGateways(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "ListVirtualGateways", + } +} diff --git a/service/appmesh/api_op_ListVirtualNodes.go b/service/appmesh/api_op_ListVirtualNodes.go index 5a22f0b448f..35e1e9b8544 100644 --- a/service/appmesh/api_op_ListVirtualNodes.go +++ b/service/appmesh/api_op_ListVirtualNodes.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListVirtualNodesMiddlewares(stack *middleware.Stack if err = addOpListVirtualNodesValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVirtualNodes(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -227,3 +230,12 @@ func (p *ListVirtualNodesPaginator) NextPage(ctx context.Context, optFns ...func return result, nil } + +func newServiceMetadataMiddleware_opListVirtualNodes(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "ListVirtualNodes", + } +} diff --git a/service/appmesh/api_op_ListVirtualRouters.go b/service/appmesh/api_op_ListVirtualRouters.go index 61862beb076..534794214a8 100644 --- a/service/appmesh/api_op_ListVirtualRouters.go +++ b/service/appmesh/api_op_ListVirtualRouters.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListVirtualRoutersMiddlewares(stack *middleware.Sta if err = addOpListVirtualRoutersValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVirtualRouters(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -228,3 +231,12 @@ func (p *ListVirtualRoutersPaginator) NextPage(ctx context.Context, optFns ...fu return result, nil } + +func newServiceMetadataMiddleware_opListVirtualRouters(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "ListVirtualRouters", + } +} diff --git a/service/appmesh/api_op_ListVirtualServices.go b/service/appmesh/api_op_ListVirtualServices.go index 607f13151e1..c7effd422a6 100644 --- a/service/appmesh/api_op_ListVirtualServices.go +++ b/service/appmesh/api_op_ListVirtualServices.go @@ -124,6 +124,9 @@ func (c *Client) addOperationListVirtualServicesMiddlewares(stack *middleware.St if err = addOpListVirtualServicesValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListVirtualServices(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -228,3 +231,12 @@ func (p *ListVirtualServicesPaginator) NextPage(ctx context.Context, optFns ...f return result, nil } + +func newServiceMetadataMiddleware_opListVirtualServices(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "ListVirtualServices", + } +} diff --git a/service/appmesh/api_op_UpdateGatewayRoute.go b/service/appmesh/api_op_UpdateGatewayRoute.go index 7d50b7b4081..607ed8e1745 100644 --- a/service/appmesh/api_op_UpdateGatewayRoute.go +++ b/service/appmesh/api_op_UpdateGatewayRoute.go @@ -120,6 +120,9 @@ func (c *Client) addOperationUpdateGatewayRouteMiddlewares(stack *middleware.Sta if err = addOpUpdateGatewayRouteValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateGatewayRoute(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -131,3 +134,12 @@ func (c *Client) addOperationUpdateGatewayRouteMiddlewares(stack *middleware.Sta } return nil } + +func newServiceMetadataMiddleware_opUpdateGatewayRoute(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "UpdateGatewayRoute", + } +} diff --git a/service/appmesh/api_op_UpdateMesh.go b/service/appmesh/api_op_UpdateMesh.go index cbdf804ab3f..466654da831 100644 --- a/service/appmesh/api_op_UpdateMesh.go +++ b/service/appmesh/api_op_UpdateMesh.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateMeshMiddlewares(stack *middleware.Stack, opti if err = addOpUpdateMeshValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMesh(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -114,3 +117,12 @@ func (c *Client) addOperationUpdateMeshMiddlewares(stack *middleware.Stack, opti } return nil } + +func newServiceMetadataMiddleware_opUpdateMesh(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "UpdateMesh", + } +} diff --git a/service/appmesh/api_op_UpdateRoute.go b/service/appmesh/api_op_UpdateRoute.go index b34332601fc..9258e0db379 100644 --- a/service/appmesh/api_op_UpdateRoute.go +++ b/service/appmesh/api_op_UpdateRoute.go @@ -121,6 +121,9 @@ func (c *Client) addOperationUpdateRouteMiddlewares(stack *middleware.Stack, opt if err = addOpUpdateRouteValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateRoute(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -132,3 +135,12 @@ func (c *Client) addOperationUpdateRouteMiddlewares(stack *middleware.Stack, opt } return nil } + +func newServiceMetadataMiddleware_opUpdateRoute(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "UpdateRoute", + } +} diff --git a/service/appmesh/api_op_UpdateVirtualGateway.go b/service/appmesh/api_op_UpdateVirtualGateway.go index f9117c719c6..02c87427c0f 100644 --- a/service/appmesh/api_op_UpdateVirtualGateway.go +++ b/service/appmesh/api_op_UpdateVirtualGateway.go @@ -115,6 +115,9 @@ func (c *Client) addOperationUpdateVirtualGatewayMiddlewares(stack *middleware.S if err = addOpUpdateVirtualGatewayValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVirtualGateway(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -126,3 +129,12 @@ func (c *Client) addOperationUpdateVirtualGatewayMiddlewares(stack *middleware.S } return nil } + +func newServiceMetadataMiddleware_opUpdateVirtualGateway(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "UpdateVirtualGateway", + } +} diff --git a/service/appmesh/api_op_UpdateVirtualNode.go b/service/appmesh/api_op_UpdateVirtualNode.go index 0c89f917c38..151ee120d18 100644 --- a/service/appmesh/api_op_UpdateVirtualNode.go +++ b/service/appmesh/api_op_UpdateVirtualNode.go @@ -116,6 +116,9 @@ func (c *Client) addOperationUpdateVirtualNodeMiddlewares(stack *middleware.Stac if err = addOpUpdateVirtualNodeValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVirtualNode(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -127,3 +130,12 @@ func (c *Client) addOperationUpdateVirtualNodeMiddlewares(stack *middleware.Stac } return nil } + +func newServiceMetadataMiddleware_opUpdateVirtualNode(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "UpdateVirtualNode", + } +} diff --git a/service/appmesh/api_op_UpdateVirtualRouter.go b/service/appmesh/api_op_UpdateVirtualRouter.go index 51a7579bd04..11c03b2dd75 100644 --- a/service/appmesh/api_op_UpdateVirtualRouter.go +++ b/service/appmesh/api_op_UpdateVirtualRouter.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateVirtualRouterMiddlewares(stack *middleware.St if err = addOpUpdateVirtualRouterValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVirtualRouter(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -128,3 +131,12 @@ func (c *Client) addOperationUpdateVirtualRouterMiddlewares(stack *middleware.St } return nil } + +func newServiceMetadataMiddleware_opUpdateVirtualRouter(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "UpdateVirtualRouter", + } +} diff --git a/service/appmesh/api_op_UpdateVirtualService.go b/service/appmesh/api_op_UpdateVirtualService.go index 6d1bb77094f..48f915759c8 100644 --- a/service/appmesh/api_op_UpdateVirtualService.go +++ b/service/appmesh/api_op_UpdateVirtualService.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateVirtualServiceMiddlewares(stack *middleware.S if err = addOpUpdateVirtualServiceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateVirtualService(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -128,3 +131,12 @@ func (c *Client) addOperationUpdateVirtualServiceMiddlewares(stack *middleware.S } return nil } + +func newServiceMetadataMiddleware_opUpdateVirtualService(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "appmesh", + OperationName: "UpdateVirtualService", + } +} diff --git a/service/braket/api_op_CancelQuantumTask.go b/service/braket/api_op_CancelQuantumTask.go index 6c1e271815b..8dbf10520e2 100644 --- a/service/braket/api_op_CancelQuantumTask.go +++ b/service/braket/api_op_CancelQuantumTask.go @@ -104,6 +104,9 @@ func (c *Client) addOperationCancelQuantumTaskMiddlewares(stack *middleware.Stac if err = addOpCancelQuantumTaskValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelQuantumTask(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -115,3 +118,12 @@ func (c *Client) addOperationCancelQuantumTaskMiddlewares(stack *middleware.Stac } return nil } + +func newServiceMetadataMiddleware_opCancelQuantumTask(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "braket", + OperationName: "CancelQuantumTask", + } +} diff --git a/service/braket/api_op_CreateQuantumTask.go b/service/braket/api_op_CreateQuantumTask.go index d151b1ec8d1..8d73b203cbd 100644 --- a/service/braket/api_op_CreateQuantumTask.go +++ b/service/braket/api_op_CreateQuantumTask.go @@ -128,6 +128,9 @@ func (c *Client) addOperationCreateQuantumTaskMiddlewares(stack *middleware.Stac if err = addOpCreateQuantumTaskValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateQuantumTask(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -139,3 +142,12 @@ func (c *Client) addOperationCreateQuantumTaskMiddlewares(stack *middleware.Stac } return nil } + +func newServiceMetadataMiddleware_opCreateQuantumTask(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "braket", + OperationName: "CreateQuantumTask", + } +} diff --git a/service/braket/api_op_GetDevice.go b/service/braket/api_op_GetDevice.go index da6e0bba6a0..6f4a642de7a 100644 --- a/service/braket/api_op_GetDevice.go +++ b/service/braket/api_op_GetDevice.go @@ -121,6 +121,9 @@ func (c *Client) addOperationGetDeviceMiddlewares(stack *middleware.Stack, optio if err = addOpGetDeviceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDevice(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -132,3 +135,12 @@ func (c *Client) addOperationGetDeviceMiddlewares(stack *middleware.Stack, optio } return nil } + +func newServiceMetadataMiddleware_opGetDevice(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "braket", + OperationName: "GetDevice", + } +} diff --git a/service/braket/api_op_GetQuantumTask.go b/service/braket/api_op_GetQuantumTask.go index 238419f1957..01712c2cf7f 100644 --- a/service/braket/api_op_GetQuantumTask.go +++ b/service/braket/api_op_GetQuantumTask.go @@ -141,6 +141,9 @@ func (c *Client) addOperationGetQuantumTaskMiddlewares(stack *middleware.Stack, if err = addOpGetQuantumTaskValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetQuantumTask(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -152,3 +155,12 @@ func (c *Client) addOperationGetQuantumTaskMiddlewares(stack *middleware.Stack, } return nil } + +func newServiceMetadataMiddleware_opGetQuantumTask(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "braket", + OperationName: "GetQuantumTask", + } +} diff --git a/service/braket/api_op_SearchDevices.go b/service/braket/api_op_SearchDevices.go index 8ee5559911e..ce076291874 100644 --- a/service/braket/api_op_SearchDevices.go +++ b/service/braket/api_op_SearchDevices.go @@ -109,6 +109,9 @@ func (c *Client) addOperationSearchDevicesMiddlewares(stack *middleware.Stack, o if err = addOpSearchDevicesValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchDevices(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -205,3 +208,12 @@ func (p *SearchDevicesPaginator) NextPage(ctx context.Context, optFns ...func(*O return result, nil } + +func newServiceMetadataMiddleware_opSearchDevices(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "braket", + OperationName: "SearchDevices", + } +} diff --git a/service/braket/api_op_SearchQuantumTasks.go b/service/braket/api_op_SearchQuantumTasks.go index 40b0ee0ed3c..5599ed8a029 100644 --- a/service/braket/api_op_SearchQuantumTasks.go +++ b/service/braket/api_op_SearchQuantumTasks.go @@ -109,6 +109,9 @@ func (c *Client) addOperationSearchQuantumTasksMiddlewares(stack *middleware.Sta if err = addOpSearchQuantumTasksValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchQuantumTasks(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -207,3 +210,12 @@ func (p *SearchQuantumTasksPaginator) NextPage(ctx context.Context, optFns ...fu return result, nil } + +func newServiceMetadataMiddleware_opSearchQuantumTasks(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "braket", + OperationName: "SearchQuantumTasks", + } +} diff --git a/service/codeguruprofiler/api_op_AddNotificationChannels.go b/service/codeguruprofiler/api_op_AddNotificationChannels.go index 552afe80ec0..a577f92ca36 100644 --- a/service/codeguruprofiler/api_op_AddNotificationChannels.go +++ b/service/codeguruprofiler/api_op_AddNotificationChannels.go @@ -99,6 +99,9 @@ func (c *Client) addOperationAddNotificationChannelsMiddlewares(stack *middlewar if err = addOpAddNotificationChannelsValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAddNotificationChannels(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -110,3 +113,12 @@ func (c *Client) addOperationAddNotificationChannelsMiddlewares(stack *middlewar } return nil } + +func newServiceMetadataMiddleware_opAddNotificationChannels(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "codeguru-profiler", + OperationName: "AddNotificationChannels", + } +} diff --git a/service/codeguruprofiler/api_op_BatchGetFrameMetricData.go b/service/codeguruprofiler/api_op_BatchGetFrameMetricData.go index 93621db9844..aa5b0ce7007 100644 --- a/service/codeguruprofiler/api_op_BatchGetFrameMetricData.go +++ b/service/codeguruprofiler/api_op_BatchGetFrameMetricData.go @@ -177,6 +177,9 @@ func (c *Client) addOperationBatchGetFrameMetricDataMiddlewares(stack *middlewar if err = addOpBatchGetFrameMetricDataValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetFrameMetricData(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -188,3 +191,12 @@ func (c *Client) addOperationBatchGetFrameMetricDataMiddlewares(stack *middlewar } return nil } + +func newServiceMetadataMiddleware_opBatchGetFrameMetricData(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "codeguru-profiler", + OperationName: "BatchGetFrameMetricData", + } +} diff --git a/service/codeguruprofiler/api_op_ConfigureAgent.go b/service/codeguruprofiler/api_op_ConfigureAgent.go index 823e42f186a..4da052704f5 100644 --- a/service/codeguruprofiler/api_op_ConfigureAgent.go +++ b/service/codeguruprofiler/api_op_ConfigureAgent.go @@ -141,6 +141,9 @@ func (c *Client) addOperationConfigureAgentMiddlewares(stack *middleware.Stack, if err = addOpConfigureAgentValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opConfigureAgent(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -152,3 +155,12 @@ func (c *Client) addOperationConfigureAgentMiddlewares(stack *middleware.Stack, } return nil } + +func newServiceMetadataMiddleware_opConfigureAgent(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "codeguru-profiler", + OperationName: "ConfigureAgent", + } +} diff --git a/service/codeguruprofiler/api_op_CreateProfilingGroup.go b/service/codeguruprofiler/api_op_CreateProfilingGroup.go index 62aea1c8781..2527150ac0c 100644 --- a/service/codeguruprofiler/api_op_CreateProfilingGroup.go +++ b/service/codeguruprofiler/api_op_CreateProfilingGroup.go @@ -118,6 +118,9 @@ func (c *Client) addOperationCreateProfilingGroupMiddlewares(stack *middleware.S if err = addOpCreateProfilingGroupValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateProfilingGroup(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -129,3 +132,12 @@ func (c *Client) addOperationCreateProfilingGroupMiddlewares(stack *middleware.S } return nil } + +func newServiceMetadataMiddleware_opCreateProfilingGroup(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "codeguru-profiler", + OperationName: "CreateProfilingGroup", + } +} diff --git a/service/codeguruprofiler/api_op_DeleteProfilingGroup.go b/service/codeguruprofiler/api_op_DeleteProfilingGroup.go index 19c0064f5f6..7de628e2496 100644 --- a/service/codeguruprofiler/api_op_DeleteProfilingGroup.go +++ b/service/codeguruprofiler/api_op_DeleteProfilingGroup.go @@ -89,6 +89,9 @@ func (c *Client) addOperationDeleteProfilingGroupMiddlewares(stack *middleware.S if err = addOpDeleteProfilingGroupValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteProfilingGroup(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -100,3 +103,12 @@ func (c *Client) addOperationDeleteProfilingGroupMiddlewares(stack *middleware.S } return nil } + +func newServiceMetadataMiddleware_opDeleteProfilingGroup(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "codeguru-profiler", + OperationName: "DeleteProfilingGroup", + } +} diff --git a/service/codeguruprofiler/api_op_DescribeProfilingGroup.go b/service/codeguruprofiler/api_op_DescribeProfilingGroup.go index 3e16930cf50..55bc7326d9f 100644 --- a/service/codeguruprofiler/api_op_DescribeProfilingGroup.go +++ b/service/codeguruprofiler/api_op_DescribeProfilingGroup.go @@ -100,6 +100,9 @@ func (c *Client) addOperationDescribeProfilingGroupMiddlewares(stack *middleware if err = addOpDescribeProfilingGroupValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeProfilingGroup(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -111,3 +114,12 @@ func (c *Client) addOperationDescribeProfilingGroupMiddlewares(stack *middleware } return nil } + +func newServiceMetadataMiddleware_opDescribeProfilingGroup(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "codeguru-profiler", + OperationName: "DescribeProfilingGroup", + } +} diff --git a/service/codeguruprofiler/api_op_GetNotificationConfiguration.go b/service/codeguruprofiler/api_op_GetNotificationConfiguration.go index 285c4210b14..f00a9cbee2e 100644 --- a/service/codeguruprofiler/api_op_GetNotificationConfiguration.go +++ b/service/codeguruprofiler/api_op_GetNotificationConfiguration.go @@ -97,6 +97,9 @@ func (c *Client) addOperationGetNotificationConfigurationMiddlewares(stack *midd if err = addOpGetNotificationConfigurationValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetNotificationConfiguration(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -108,3 +111,12 @@ func (c *Client) addOperationGetNotificationConfigurationMiddlewares(stack *midd } return nil } + +func newServiceMetadataMiddleware_opGetNotificationConfiguration(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "codeguru-profiler", + OperationName: "GetNotificationConfiguration", + } +} diff --git a/service/codeguruprofiler/api_op_GetPolicy.go b/service/codeguruprofiler/api_op_GetPolicy.go index b93ff194d42..28189471d39 100644 --- a/service/codeguruprofiler/api_op_GetPolicy.go +++ b/service/codeguruprofiler/api_op_GetPolicy.go @@ -100,6 +100,9 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio if err = addOpGetPolicyValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetPolicy(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -111,3 +114,12 @@ func (c *Client) addOperationGetPolicyMiddlewares(stack *middleware.Stack, optio } return nil } + +func newServiceMetadataMiddleware_opGetPolicy(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "codeguru-profiler", + OperationName: "GetPolicy", + } +} diff --git a/service/codeguruprofiler/api_op_GetProfile.go b/service/codeguruprofiler/api_op_GetProfile.go index 809a70e786d..60958a5212f 100644 --- a/service/codeguruprofiler/api_op_GetProfile.go +++ b/service/codeguruprofiler/api_op_GetProfile.go @@ -183,6 +183,9 @@ func (c *Client) addOperationGetProfileMiddlewares(stack *middleware.Stack, opti if err = addOpGetProfileValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetProfile(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -194,3 +197,12 @@ func (c *Client) addOperationGetProfileMiddlewares(stack *middleware.Stack, opti } return nil } + +func newServiceMetadataMiddleware_opGetProfile(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "codeguru-profiler", + OperationName: "GetProfile", + } +} diff --git a/service/codeguruprofiler/api_op_GetRecommendations.go b/service/codeguruprofiler/api_op_GetRecommendations.go index 7a051c38412..715bd569512 100644 --- a/service/codeguruprofiler/api_op_GetRecommendations.go +++ b/service/codeguruprofiler/api_op_GetRecommendations.go @@ -173,6 +173,9 @@ func (c *Client) addOperationGetRecommendationsMiddlewares(stack *middleware.Sta if err = addOpGetRecommendationsValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetRecommendations(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -184,3 +187,12 @@ func (c *Client) addOperationGetRecommendationsMiddlewares(stack *middleware.Sta } return nil } + +func newServiceMetadataMiddleware_opGetRecommendations(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "codeguru-profiler", + OperationName: "GetRecommendations", + } +} diff --git a/service/codeguruprofiler/api_op_ListFindingsReports.go b/service/codeguruprofiler/api_op_ListFindingsReports.go index 1d706bedece..a551afd2a79 100644 --- a/service/codeguruprofiler/api_op_ListFindingsReports.go +++ b/service/codeguruprofiler/api_op_ListFindingsReports.go @@ -141,6 +141,9 @@ func (c *Client) addOperationListFindingsReportsMiddlewares(stack *middleware.St if err = addOpListFindingsReportsValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListFindingsReports(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -243,3 +246,12 @@ func (p *ListFindingsReportsPaginator) NextPage(ctx context.Context, optFns ...f return result, nil } + +func newServiceMetadataMiddleware_opListFindingsReports(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "codeguru-profiler", + OperationName: "ListFindingsReports", + } +} diff --git a/service/codeguruprofiler/api_op_ListProfileTimes.go b/service/codeguruprofiler/api_op_ListProfileTimes.go index 51bb489f002..eb2a88f215b 100644 --- a/service/codeguruprofiler/api_op_ListProfileTimes.go +++ b/service/codeguruprofiler/api_op_ListProfileTimes.go @@ -148,6 +148,9 @@ func (c *Client) addOperationListProfileTimesMiddlewares(stack *middleware.Stack if err = addOpListProfileTimesValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProfileTimes(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -249,3 +252,12 @@ func (p *ListProfileTimesPaginator) NextPage(ctx context.Context, optFns ...func return result, nil } + +func newServiceMetadataMiddleware_opListProfileTimes(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "codeguru-profiler", + OperationName: "ListProfileTimes", + } +} diff --git a/service/codeguruprofiler/api_op_ListProfilingGroups.go b/service/codeguruprofiler/api_op_ListProfilingGroups.go index 88f6979b9f5..4018fc5a753 100644 --- a/service/codeguruprofiler/api_op_ListProfilingGroups.go +++ b/service/codeguruprofiler/api_op_ListProfilingGroups.go @@ -131,6 +131,9 @@ func (c *Client) addOperationListProfilingGroupsMiddlewares(stack *middleware.St if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListProfilingGroups(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -233,3 +236,12 @@ func (p *ListProfilingGroupsPaginator) NextPage(ctx context.Context, optFns ...f return result, nil } + +func newServiceMetadataMiddleware_opListProfilingGroups(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "codeguru-profiler", + OperationName: "ListProfilingGroups", + } +} diff --git a/service/codeguruprofiler/api_op_PostAgentProfile.go b/service/codeguruprofiler/api_op_PostAgentProfile.go index 9c7f02574bb..5c59a5d4d66 100644 --- a/service/codeguruprofiler/api_op_PostAgentProfile.go +++ b/service/codeguruprofiler/api_op_PostAgentProfile.go @@ -115,6 +115,9 @@ func (c *Client) addOperationPostAgentProfileMiddlewares(stack *middleware.Stack if err = addOpPostAgentProfileValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPostAgentProfile(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -126,3 +129,12 @@ func (c *Client) addOperationPostAgentProfileMiddlewares(stack *middleware.Stack } return nil } + +func newServiceMetadataMiddleware_opPostAgentProfile(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "codeguru-profiler", + OperationName: "PostAgentProfile", + } +} diff --git a/service/codeguruprofiler/api_op_PutPermission.go b/service/codeguruprofiler/api_op_PutPermission.go index 8fbcc0f5fdf..3386218e3e4 100644 --- a/service/codeguruprofiler/api_op_PutPermission.go +++ b/service/codeguruprofiler/api_op_PutPermission.go @@ -140,6 +140,9 @@ func (c *Client) addOperationPutPermissionMiddlewares(stack *middleware.Stack, o if err = addOpPutPermissionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutPermission(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -151,3 +154,12 @@ func (c *Client) addOperationPutPermissionMiddlewares(stack *middleware.Stack, o } return nil } + +func newServiceMetadataMiddleware_opPutPermission(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "codeguru-profiler", + OperationName: "PutPermission", + } +} diff --git a/service/codeguruprofiler/api_op_RemoveNotificationChannel.go b/service/codeguruprofiler/api_op_RemoveNotificationChannel.go index 65f32546d51..6cbbfe4d0df 100644 --- a/service/codeguruprofiler/api_op_RemoveNotificationChannel.go +++ b/service/codeguruprofiler/api_op_RemoveNotificationChannel.go @@ -100,6 +100,9 @@ func (c *Client) addOperationRemoveNotificationChannelMiddlewares(stack *middlew if err = addOpRemoveNotificationChannelValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemoveNotificationChannel(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -111,3 +114,12 @@ func (c *Client) addOperationRemoveNotificationChannelMiddlewares(stack *middlew } return nil } + +func newServiceMetadataMiddleware_opRemoveNotificationChannel(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "codeguru-profiler", + OperationName: "RemoveNotificationChannel", + } +} diff --git a/service/codeguruprofiler/api_op_RemovePermission.go b/service/codeguruprofiler/api_op_RemovePermission.go index 4be19c71a4f..10000b58ff6 100644 --- a/service/codeguruprofiler/api_op_RemovePermission.go +++ b/service/codeguruprofiler/api_op_RemovePermission.go @@ -126,6 +126,9 @@ func (c *Client) addOperationRemovePermissionMiddlewares(stack *middleware.Stack if err = addOpRemovePermissionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRemovePermission(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -137,3 +140,12 @@ func (c *Client) addOperationRemovePermissionMiddlewares(stack *middleware.Stack } return nil } + +func newServiceMetadataMiddleware_opRemovePermission(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "codeguru-profiler", + OperationName: "RemovePermission", + } +} diff --git a/service/codeguruprofiler/api_op_SubmitFeedback.go b/service/codeguruprofiler/api_op_SubmitFeedback.go index 33092fc7930..7dd00a5a52c 100644 --- a/service/codeguruprofiler/api_op_SubmitFeedback.go +++ b/service/codeguruprofiler/api_op_SubmitFeedback.go @@ -106,6 +106,9 @@ func (c *Client) addOperationSubmitFeedbackMiddlewares(stack *middleware.Stack, if err = addOpSubmitFeedbackValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSubmitFeedback(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -117,3 +120,12 @@ func (c *Client) addOperationSubmitFeedbackMiddlewares(stack *middleware.Stack, } return nil } + +func newServiceMetadataMiddleware_opSubmitFeedback(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "codeguru-profiler", + OperationName: "SubmitFeedback", + } +} diff --git a/service/codeguruprofiler/api_op_UpdateProfilingGroup.go b/service/codeguruprofiler/api_op_UpdateProfilingGroup.go index 8d634c3dbc6..dcd32e59352 100644 --- a/service/codeguruprofiler/api_op_UpdateProfilingGroup.go +++ b/service/codeguruprofiler/api_op_UpdateProfilingGroup.go @@ -103,6 +103,9 @@ func (c *Client) addOperationUpdateProfilingGroupMiddlewares(stack *middleware.S if err = addOpUpdateProfilingGroupValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateProfilingGroup(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -114,3 +117,12 @@ func (c *Client) addOperationUpdateProfilingGroupMiddlewares(stack *middleware.S } return nil } + +func newServiceMetadataMiddleware_opUpdateProfilingGroup(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "codeguru-profiler", + OperationName: "UpdateProfilingGroup", + } +} diff --git a/service/groundstation/api_op_CancelContact.go b/service/groundstation/api_op_CancelContact.go index ee10fbc8088..3447a0ed603 100644 --- a/service/groundstation/api_op_CancelContact.go +++ b/service/groundstation/api_op_CancelContact.go @@ -93,6 +93,9 @@ func (c *Client) addOperationCancelContactMiddlewares(stack *middleware.Stack, o if err = addOpCancelContactValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCancelContact(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -104,3 +107,12 @@ func (c *Client) addOperationCancelContactMiddlewares(stack *middleware.Stack, o } return nil } + +func newServiceMetadataMiddleware_opCancelContact(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "CancelContact", + } +} diff --git a/service/groundstation/api_op_CreateConfig.go b/service/groundstation/api_op_CreateConfig.go index 79af8aae5b2..bee285cd127 100644 --- a/service/groundstation/api_op_CreateConfig.go +++ b/service/groundstation/api_op_CreateConfig.go @@ -109,6 +109,9 @@ func (c *Client) addOperationCreateConfigMiddlewares(stack *middleware.Stack, op if err = addOpCreateConfigValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateConfig(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -120,3 +123,12 @@ func (c *Client) addOperationCreateConfigMiddlewares(stack *middleware.Stack, op } return nil } + +func newServiceMetadataMiddleware_opCreateConfig(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "CreateConfig", + } +} diff --git a/service/groundstation/api_op_CreateDataflowEndpointGroup.go b/service/groundstation/api_op_CreateDataflowEndpointGroup.go index 1b06c39f325..7afc1a3424f 100644 --- a/service/groundstation/api_op_CreateDataflowEndpointGroup.go +++ b/service/groundstation/api_op_CreateDataflowEndpointGroup.go @@ -101,6 +101,9 @@ func (c *Client) addOperationCreateDataflowEndpointGroupMiddlewares(stack *middl if err = addOpCreateDataflowEndpointGroupValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateDataflowEndpointGroup(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -112,3 +115,12 @@ func (c *Client) addOperationCreateDataflowEndpointGroupMiddlewares(stack *middl } return nil } + +func newServiceMetadataMiddleware_opCreateDataflowEndpointGroup(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "CreateDataflowEndpointGroup", + } +} diff --git a/service/groundstation/api_op_CreateMissionProfile.go b/service/groundstation/api_op_CreateMissionProfile.go index 8345bcd2786..e65f31d2103 100644 --- a/service/groundstation/api_op_CreateMissionProfile.go +++ b/service/groundstation/api_op_CreateMissionProfile.go @@ -123,6 +123,9 @@ func (c *Client) addOperationCreateMissionProfileMiddlewares(stack *middleware.S if err = addOpCreateMissionProfileValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMissionProfile(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -134,3 +137,12 @@ func (c *Client) addOperationCreateMissionProfileMiddlewares(stack *middleware.S } return nil } + +func newServiceMetadataMiddleware_opCreateMissionProfile(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "CreateMissionProfile", + } +} diff --git a/service/groundstation/api_op_DeleteConfig.go b/service/groundstation/api_op_DeleteConfig.go index c7bfbd06c56..cefdca9712e 100644 --- a/service/groundstation/api_op_DeleteConfig.go +++ b/service/groundstation/api_op_DeleteConfig.go @@ -105,6 +105,9 @@ func (c *Client) addOperationDeleteConfigMiddlewares(stack *middleware.Stack, op if err = addOpDeleteConfigValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteConfig(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -116,3 +119,12 @@ func (c *Client) addOperationDeleteConfigMiddlewares(stack *middleware.Stack, op } return nil } + +func newServiceMetadataMiddleware_opDeleteConfig(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "DeleteConfig", + } +} diff --git a/service/groundstation/api_op_DeleteDataflowEndpointGroup.go b/service/groundstation/api_op_DeleteDataflowEndpointGroup.go index ebf280e0b44..f857b1e1fe2 100644 --- a/service/groundstation/api_op_DeleteDataflowEndpointGroup.go +++ b/service/groundstation/api_op_DeleteDataflowEndpointGroup.go @@ -93,6 +93,9 @@ func (c *Client) addOperationDeleteDataflowEndpointGroupMiddlewares(stack *middl if err = addOpDeleteDataflowEndpointGroupValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteDataflowEndpointGroup(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -104,3 +107,12 @@ func (c *Client) addOperationDeleteDataflowEndpointGroupMiddlewares(stack *middl } return nil } + +func newServiceMetadataMiddleware_opDeleteDataflowEndpointGroup(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "DeleteDataflowEndpointGroup", + } +} diff --git a/service/groundstation/api_op_DeleteMissionProfile.go b/service/groundstation/api_op_DeleteMissionProfile.go index c8c71588276..1ae6e4fa0c8 100644 --- a/service/groundstation/api_op_DeleteMissionProfile.go +++ b/service/groundstation/api_op_DeleteMissionProfile.go @@ -93,6 +93,9 @@ func (c *Client) addOperationDeleteMissionProfileMiddlewares(stack *middleware.S if err = addOpDeleteMissionProfileValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMissionProfile(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -104,3 +107,12 @@ func (c *Client) addOperationDeleteMissionProfileMiddlewares(stack *middleware.S } return nil } + +func newServiceMetadataMiddleware_opDeleteMissionProfile(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "DeleteMissionProfile", + } +} diff --git a/service/groundstation/api_op_DescribeContact.go b/service/groundstation/api_op_DescribeContact.go index 0b57cd1bbed..17d95a56381 100644 --- a/service/groundstation/api_op_DescribeContact.go +++ b/service/groundstation/api_op_DescribeContact.go @@ -136,6 +136,9 @@ func (c *Client) addOperationDescribeContactMiddlewares(stack *middleware.Stack, if err = addOpDescribeContactValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeContact(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -147,3 +150,12 @@ func (c *Client) addOperationDescribeContactMiddlewares(stack *middleware.Stack, } return nil } + +func newServiceMetadataMiddleware_opDescribeContact(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "DescribeContact", + } +} diff --git a/service/groundstation/api_op_GetConfig.go b/service/groundstation/api_op_GetConfig.go index 85095930699..3c554fab9f6 100644 --- a/service/groundstation/api_op_GetConfig.go +++ b/service/groundstation/api_op_GetConfig.go @@ -122,6 +122,9 @@ func (c *Client) addOperationGetConfigMiddlewares(stack *middleware.Stack, optio if err = addOpGetConfigValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetConfig(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -133,3 +136,12 @@ func (c *Client) addOperationGetConfigMiddlewares(stack *middleware.Stack, optio } return nil } + +func newServiceMetadataMiddleware_opGetConfig(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "GetConfig", + } +} diff --git a/service/groundstation/api_op_GetDataflowEndpointGroup.go b/service/groundstation/api_op_GetDataflowEndpointGroup.go index 8e4f5517fde..c0ca68f4e4c 100644 --- a/service/groundstation/api_op_GetDataflowEndpointGroup.go +++ b/service/groundstation/api_op_GetDataflowEndpointGroup.go @@ -103,6 +103,9 @@ func (c *Client) addOperationGetDataflowEndpointGroupMiddlewares(stack *middlewa if err = addOpGetDataflowEndpointGroupValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDataflowEndpointGroup(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -114,3 +117,12 @@ func (c *Client) addOperationGetDataflowEndpointGroupMiddlewares(stack *middlewa } return nil } + +func newServiceMetadataMiddleware_opGetDataflowEndpointGroup(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "GetDataflowEndpointGroup", + } +} diff --git a/service/groundstation/api_op_GetMissionProfile.go b/service/groundstation/api_op_GetMissionProfile.go index eab23468c85..9689ef4ecea 100644 --- a/service/groundstation/api_op_GetMissionProfile.go +++ b/service/groundstation/api_op_GetMissionProfile.go @@ -125,6 +125,9 @@ func (c *Client) addOperationGetMissionProfileMiddlewares(stack *middleware.Stac if err = addOpGetMissionProfileValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMissionProfile(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -136,3 +139,12 @@ func (c *Client) addOperationGetMissionProfileMiddlewares(stack *middleware.Stac } return nil } + +func newServiceMetadataMiddleware_opGetMissionProfile(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "GetMissionProfile", + } +} diff --git a/service/groundstation/api_op_GetSatellite.go b/service/groundstation/api_op_GetSatellite.go index 644215af039..4cb991d1542 100644 --- a/service/groundstation/api_op_GetSatellite.go +++ b/service/groundstation/api_op_GetSatellite.go @@ -102,6 +102,9 @@ func (c *Client) addOperationGetSatelliteMiddlewares(stack *middleware.Stack, op if err = addOpGetSatelliteValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetSatellite(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -113,3 +116,12 @@ func (c *Client) addOperationGetSatelliteMiddlewares(stack *middleware.Stack, op } return nil } + +func newServiceMetadataMiddleware_opGetSatellite(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "GetSatellite", + } +} diff --git a/service/groundstation/api_op_ListConfigs.go b/service/groundstation/api_op_ListConfigs.go index 7a434ffd18b..befb90fd0a8 100644 --- a/service/groundstation/api_op_ListConfigs.go +++ b/service/groundstation/api_op_ListConfigs.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListConfigsMiddlewares(stack *middleware.Stack, opt if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListConfigs(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -194,3 +197,12 @@ func (p *ListConfigsPaginator) NextPage(ctx context.Context, optFns ...func(*Opt return result, nil } + +func newServiceMetadataMiddleware_opListConfigs(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "ListConfigs", + } +} diff --git a/service/groundstation/api_op_ListContacts.go b/service/groundstation/api_op_ListContacts.go index 080fcf89d0d..30f8863e41d 100644 --- a/service/groundstation/api_op_ListContacts.go +++ b/service/groundstation/api_op_ListContacts.go @@ -127,6 +127,9 @@ func (c *Client) addOperationListContactsMiddlewares(stack *middleware.Stack, op if err = addOpListContactsValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListContacts(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -223,3 +226,12 @@ func (p *ListContactsPaginator) NextPage(ctx context.Context, optFns ...func(*Op return result, nil } + +func newServiceMetadataMiddleware_opListContacts(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "ListContacts", + } +} diff --git a/service/groundstation/api_op_ListDataflowEndpointGroups.go b/service/groundstation/api_op_ListDataflowEndpointGroups.go index c411f003566..116dd383038 100644 --- a/service/groundstation/api_op_ListDataflowEndpointGroups.go +++ b/service/groundstation/api_op_ListDataflowEndpointGroups.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListDataflowEndpointGroupsMiddlewares(stack *middle if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDataflowEndpointGroups(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -198,3 +201,12 @@ func (p *ListDataflowEndpointGroupsPaginator) NextPage(ctx context.Context, optF return result, nil } + +func newServiceMetadataMiddleware_opListDataflowEndpointGroups(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "ListDataflowEndpointGroups", + } +} diff --git a/service/groundstation/api_op_ListGroundStations.go b/service/groundstation/api_op_ListGroundStations.go index 8c62cde5a5a..379d05e3647 100644 --- a/service/groundstation/api_op_ListGroundStations.go +++ b/service/groundstation/api_op_ListGroundStations.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListGroundStationsMiddlewares(stack *middleware.Sta if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGroundStations(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -199,3 +202,12 @@ func (p *ListGroundStationsPaginator) NextPage(ctx context.Context, optFns ...fu return result, nil } + +func newServiceMetadataMiddleware_opListGroundStations(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "ListGroundStations", + } +} diff --git a/service/groundstation/api_op_ListMissionProfiles.go b/service/groundstation/api_op_ListMissionProfiles.go index 929f4dfd994..849d43d7095 100644 --- a/service/groundstation/api_op_ListMissionProfiles.go +++ b/service/groundstation/api_op_ListMissionProfiles.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListMissionProfilesMiddlewares(stack *middleware.St if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMissionProfiles(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -196,3 +199,12 @@ func (p *ListMissionProfilesPaginator) NextPage(ctx context.Context, optFns ...f return result, nil } + +func newServiceMetadataMiddleware_opListMissionProfiles(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "ListMissionProfiles", + } +} diff --git a/service/groundstation/api_op_ListSatellites.go b/service/groundstation/api_op_ListSatellites.go index cd8c5d25e2e..939182eca0b 100644 --- a/service/groundstation/api_op_ListSatellites.go +++ b/service/groundstation/api_op_ListSatellites.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListSatellitesMiddlewares(stack *middleware.Stack, if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListSatellites(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -195,3 +198,12 @@ func (p *ListSatellitesPaginator) NextPage(ctx context.Context, optFns ...func(* return result, nil } + +func newServiceMetadataMiddleware_opListSatellites(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "ListSatellites", + } +} diff --git a/service/groundstation/api_op_ReserveContact.go b/service/groundstation/api_op_ReserveContact.go index e167a5fe604..8d5705a9552 100644 --- a/service/groundstation/api_op_ReserveContact.go +++ b/service/groundstation/api_op_ReserveContact.go @@ -117,6 +117,9 @@ func (c *Client) addOperationReserveContactMiddlewares(stack *middleware.Stack, if err = addOpReserveContactValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opReserveContact(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -128,3 +131,12 @@ func (c *Client) addOperationReserveContactMiddlewares(stack *middleware.Stack, } return nil } + +func newServiceMetadataMiddleware_opReserveContact(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "ReserveContact", + } +} diff --git a/service/groundstation/api_op_UpdateConfig.go b/service/groundstation/api_op_UpdateConfig.go index 4e0456e1bc3..249feded872 100644 --- a/service/groundstation/api_op_UpdateConfig.go +++ b/service/groundstation/api_op_UpdateConfig.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateConfigMiddlewares(stack *middleware.Stack, op if err = addOpUpdateConfigValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateConfig(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -128,3 +131,12 @@ func (c *Client) addOperationUpdateConfigMiddlewares(stack *middleware.Stack, op } return nil } + +func newServiceMetadataMiddleware_opUpdateConfig(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "UpdateConfig", + } +} diff --git a/service/groundstation/api_op_UpdateMissionProfile.go b/service/groundstation/api_op_UpdateMissionProfile.go index 17c3b5367ca..1b54aee150c 100644 --- a/service/groundstation/api_op_UpdateMissionProfile.go +++ b/service/groundstation/api_op_UpdateMissionProfile.go @@ -117,6 +117,9 @@ func (c *Client) addOperationUpdateMissionProfileMiddlewares(stack *middleware.S if err = addOpUpdateMissionProfileValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateMissionProfile(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -128,3 +131,12 @@ func (c *Client) addOperationUpdateMissionProfileMiddlewares(stack *middleware.S } return nil } + +func newServiceMetadataMiddleware_opUpdateMissionProfile(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "groundstation", + OperationName: "UpdateMissionProfile", + } +} diff --git a/service/location/api_op_AssociateTrackerConsumer.go b/service/location/api_op_AssociateTrackerConsumer.go index 141324ff263..cb89abb4b7b 100644 --- a/service/location/api_op_AssociateTrackerConsumer.go +++ b/service/location/api_op_AssociateTrackerConsumer.go @@ -101,6 +101,9 @@ func (c *Client) addOperationAssociateTrackerConsumerMiddlewares(stack *middlewa if err = addOpAssociateTrackerConsumerValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAssociateTrackerConsumer(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -112,3 +115,12 @@ func (c *Client) addOperationAssociateTrackerConsumerMiddlewares(stack *middlewa } return nil } + +func newServiceMetadataMiddleware_opAssociateTrackerConsumer(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "AssociateTrackerConsumer", + } +} diff --git a/service/location/api_op_BatchDeleteDevicePositionHistory.go b/service/location/api_op_BatchDeleteDevicePositionHistory.go index f6de3726457..37a72fe6eda 100644 --- a/service/location/api_op_BatchDeleteDevicePositionHistory.go +++ b/service/location/api_op_BatchDeleteDevicePositionHistory.go @@ -102,6 +102,9 @@ func (c *Client) addOperationBatchDeleteDevicePositionHistoryMiddlewares(stack * if err = addOpBatchDeleteDevicePositionHistoryValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteDevicePositionHistory(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -113,3 +116,12 @@ func (c *Client) addOperationBatchDeleteDevicePositionHistoryMiddlewares(stack * } return nil } + +func newServiceMetadataMiddleware_opBatchDeleteDevicePositionHistory(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "BatchDeleteDevicePositionHistory", + } +} diff --git a/service/location/api_op_BatchDeleteGeofence.go b/service/location/api_op_BatchDeleteGeofence.go index 9d51102ad77..39789bb762d 100644 --- a/service/location/api_op_BatchDeleteGeofence.go +++ b/service/location/api_op_BatchDeleteGeofence.go @@ -100,6 +100,9 @@ func (c *Client) addOperationBatchDeleteGeofenceMiddlewares(stack *middleware.St if err = addOpBatchDeleteGeofenceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchDeleteGeofence(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -111,3 +114,12 @@ func (c *Client) addOperationBatchDeleteGeofenceMiddlewares(stack *middleware.St } return nil } + +func newServiceMetadataMiddleware_opBatchDeleteGeofence(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "BatchDeleteGeofence", + } +} diff --git a/service/location/api_op_BatchEvaluateGeofences.go b/service/location/api_op_BatchEvaluateGeofences.go index f94ae969c4c..011eea4eaf9 100644 --- a/service/location/api_op_BatchEvaluateGeofences.go +++ b/service/location/api_op_BatchEvaluateGeofences.go @@ -99,6 +99,9 @@ func (c *Client) addOperationBatchEvaluateGeofencesMiddlewares(stack *middleware if err = addOpBatchEvaluateGeofencesValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchEvaluateGeofences(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -110,3 +113,11 @@ func (c *Client) addOperationBatchEvaluateGeofencesMiddlewares(stack *middleware } return nil } + +func newServiceMetadataMiddleware_opBatchEvaluateGeofences(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "BatchEvaluateGeofences", + } +} diff --git a/service/location/api_op_BatchGetDevicePosition.go b/service/location/api_op_BatchGetDevicePosition.go index e25e039f273..09b0abd2e92 100644 --- a/service/location/api_op_BatchGetDevicePosition.go +++ b/service/location/api_op_BatchGetDevicePosition.go @@ -109,6 +109,9 @@ func (c *Client) addOperationBatchGetDevicePositionMiddlewares(stack *middleware if err = addOpBatchGetDevicePositionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchGetDevicePosition(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -120,3 +123,12 @@ func (c *Client) addOperationBatchGetDevicePositionMiddlewares(stack *middleware } return nil } + +func newServiceMetadataMiddleware_opBatchGetDevicePosition(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "BatchGetDevicePosition", + } +} diff --git a/service/location/api_op_BatchPutGeofence.go b/service/location/api_op_BatchPutGeofence.go index 1e8a5aa86b8..0d599c5f308 100644 --- a/service/location/api_op_BatchPutGeofence.go +++ b/service/location/api_op_BatchPutGeofence.go @@ -107,6 +107,9 @@ func (c *Client) addOperationBatchPutGeofenceMiddlewares(stack *middleware.Stack if err = addOpBatchPutGeofenceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchPutGeofence(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -118,3 +121,12 @@ func (c *Client) addOperationBatchPutGeofenceMiddlewares(stack *middleware.Stack } return nil } + +func newServiceMetadataMiddleware_opBatchPutGeofence(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "BatchPutGeofence", + } +} diff --git a/service/location/api_op_BatchUpdateDevicePosition.go b/service/location/api_op_BatchUpdateDevicePosition.go index 0a5087fa5ed..431a625cc1b 100644 --- a/service/location/api_op_BatchUpdateDevicePosition.go +++ b/service/location/api_op_BatchUpdateDevicePosition.go @@ -103,6 +103,9 @@ func (c *Client) addOperationBatchUpdateDevicePositionMiddlewares(stack *middlew if err = addOpBatchUpdateDevicePositionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opBatchUpdateDevicePosition(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -114,3 +117,12 @@ func (c *Client) addOperationBatchUpdateDevicePositionMiddlewares(stack *middlew } return nil } + +func newServiceMetadataMiddleware_opBatchUpdateDevicePosition(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "BatchUpdateDevicePosition", + } +} diff --git a/service/location/api_op_CalculateRoute.go b/service/location/api_op_CalculateRoute.go index 96cdf87b235..f7258bcb8e0 100644 --- a/service/location/api_op_CalculateRoute.go +++ b/service/location/api_op_CalculateRoute.go @@ -234,6 +234,9 @@ func (c *Client) addOperationCalculateRouteMiddlewares(stack *middleware.Stack, if err = addOpCalculateRouteValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCalculateRoute(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -245,3 +248,12 @@ func (c *Client) addOperationCalculateRouteMiddlewares(stack *middleware.Stack, } return nil } + +func newServiceMetadataMiddleware_opCalculateRoute(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "CalculateRoute", + } +} diff --git a/service/location/api_op_CreateGeofenceCollection.go b/service/location/api_op_CreateGeofenceCollection.go index cea4096623c..4c98db9c94a 100644 --- a/service/location/api_op_CreateGeofenceCollection.go +++ b/service/location/api_op_CreateGeofenceCollection.go @@ -169,6 +169,9 @@ func (c *Client) addOperationCreateGeofenceCollectionMiddlewares(stack *middlewa if err = addOpCreateGeofenceCollectionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateGeofenceCollection(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -180,3 +183,12 @@ func (c *Client) addOperationCreateGeofenceCollectionMiddlewares(stack *middlewa } return nil } + +func newServiceMetadataMiddleware_opCreateGeofenceCollection(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "CreateGeofenceCollection", + } +} diff --git a/service/location/api_op_CreateMap.go b/service/location/api_op_CreateMap.go index 003cde169cc..364cdd2feb8 100644 --- a/service/location/api_op_CreateMap.go +++ b/service/location/api_op_CreateMap.go @@ -155,6 +155,9 @@ func (c *Client) addOperationCreateMapMiddlewares(stack *middleware.Stack, optio if err = addOpCreateMapValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateMap(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -166,3 +169,12 @@ func (c *Client) addOperationCreateMapMiddlewares(stack *middleware.Stack, optio } return nil } + +func newServiceMetadataMiddleware_opCreateMap(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "CreateMap", + } +} diff --git a/service/location/api_op_CreatePlaceIndex.go b/service/location/api_op_CreatePlaceIndex.go index bcab0ee5fa6..f610475f8a3 100644 --- a/service/location/api_op_CreatePlaceIndex.go +++ b/service/location/api_op_CreatePlaceIndex.go @@ -173,6 +173,9 @@ func (c *Client) addOperationCreatePlaceIndexMiddlewares(stack *middleware.Stack if err = addOpCreatePlaceIndexValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreatePlaceIndex(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -184,3 +187,12 @@ func (c *Client) addOperationCreatePlaceIndexMiddlewares(stack *middleware.Stack } return nil } + +func newServiceMetadataMiddleware_opCreatePlaceIndex(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "CreatePlaceIndex", + } +} diff --git a/service/location/api_op_CreateRouteCalculator.go b/service/location/api_op_CreateRouteCalculator.go index 5fc7572beb6..9285419ac32 100644 --- a/service/location/api_op_CreateRouteCalculator.go +++ b/service/location/api_op_CreateRouteCalculator.go @@ -171,6 +171,9 @@ func (c *Client) addOperationCreateRouteCalculatorMiddlewares(stack *middleware. if err = addOpCreateRouteCalculatorValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateRouteCalculator(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -182,3 +185,12 @@ func (c *Client) addOperationCreateRouteCalculatorMiddlewares(stack *middleware. } return nil } + +func newServiceMetadataMiddleware_opCreateRouteCalculator(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "CreateRouteCalculator", + } +} diff --git a/service/location/api_op_CreateTracker.go b/service/location/api_op_CreateTracker.go index 7ad8f318d19..91e752755b3 100644 --- a/service/location/api_op_CreateTracker.go +++ b/service/location/api_op_CreateTracker.go @@ -170,6 +170,9 @@ func (c *Client) addOperationCreateTrackerMiddlewares(stack *middleware.Stack, o if err = addOpCreateTrackerValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateTracker(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -181,3 +184,12 @@ func (c *Client) addOperationCreateTrackerMiddlewares(stack *middleware.Stack, o } return nil } + +func newServiceMetadataMiddleware_opCreateTracker(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "CreateTracker", + } +} diff --git a/service/location/api_op_DeleteGeofenceCollection.go b/service/location/api_op_DeleteGeofenceCollection.go index 6de8336629d..7f14e60b562 100644 --- a/service/location/api_op_DeleteGeofenceCollection.go +++ b/service/location/api_op_DeleteGeofenceCollection.go @@ -89,6 +89,9 @@ func (c *Client) addOperationDeleteGeofenceCollectionMiddlewares(stack *middlewa if err = addOpDeleteGeofenceCollectionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteGeofenceCollection(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -100,3 +103,12 @@ func (c *Client) addOperationDeleteGeofenceCollectionMiddlewares(stack *middlewa } return nil } + +func newServiceMetadataMiddleware_opDeleteGeofenceCollection(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "DeleteGeofenceCollection", + } +} diff --git a/service/location/api_op_DeleteMap.go b/service/location/api_op_DeleteMap.go index 7a6020cfabe..e9d6916e529 100644 --- a/service/location/api_op_DeleteMap.go +++ b/service/location/api_op_DeleteMap.go @@ -89,6 +89,9 @@ func (c *Client) addOperationDeleteMapMiddlewares(stack *middleware.Stack, optio if err = addOpDeleteMapValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteMap(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -100,3 +103,12 @@ func (c *Client) addOperationDeleteMapMiddlewares(stack *middleware.Stack, optio } return nil } + +func newServiceMetadataMiddleware_opDeleteMap(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "DeleteMap", + } +} diff --git a/service/location/api_op_DeletePlaceIndex.go b/service/location/api_op_DeletePlaceIndex.go index 5cd9a34de41..9b620d993d6 100644 --- a/service/location/api_op_DeletePlaceIndex.go +++ b/service/location/api_op_DeletePlaceIndex.go @@ -88,6 +88,9 @@ func (c *Client) addOperationDeletePlaceIndexMiddlewares(stack *middleware.Stack if err = addOpDeletePlaceIndexValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeletePlaceIndex(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -99,3 +102,12 @@ func (c *Client) addOperationDeletePlaceIndexMiddlewares(stack *middleware.Stack } return nil } + +func newServiceMetadataMiddleware_opDeletePlaceIndex(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "DeletePlaceIndex", + } +} diff --git a/service/location/api_op_DeleteRouteCalculator.go b/service/location/api_op_DeleteRouteCalculator.go index bbf7b75cc56..9e0678a6db4 100644 --- a/service/location/api_op_DeleteRouteCalculator.go +++ b/service/location/api_op_DeleteRouteCalculator.go @@ -88,6 +88,9 @@ func (c *Client) addOperationDeleteRouteCalculatorMiddlewares(stack *middleware. if err = addOpDeleteRouteCalculatorValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteRouteCalculator(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -99,3 +102,12 @@ func (c *Client) addOperationDeleteRouteCalculatorMiddlewares(stack *middleware. } return nil } + +func newServiceMetadataMiddleware_opDeleteRouteCalculator(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "DeleteRouteCalculator", + } +} diff --git a/service/location/api_op_DeleteTracker.go b/service/location/api_op_DeleteTracker.go index 97ef181fa19..de963f27ca3 100644 --- a/service/location/api_op_DeleteTracker.go +++ b/service/location/api_op_DeleteTracker.go @@ -90,6 +90,9 @@ func (c *Client) addOperationDeleteTrackerMiddlewares(stack *middleware.Stack, o if err = addOpDeleteTrackerValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteTracker(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -101,3 +104,12 @@ func (c *Client) addOperationDeleteTrackerMiddlewares(stack *middleware.Stack, o } return nil } + +func newServiceMetadataMiddleware_opDeleteTracker(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "DeleteTracker", + } +} diff --git a/service/location/api_op_DescribeGeofenceCollection.go b/service/location/api_op_DescribeGeofenceCollection.go index ec8f96203d2..842e7f3c4d1 100644 --- a/service/location/api_op_DescribeGeofenceCollection.go +++ b/service/location/api_op_DescribeGeofenceCollection.go @@ -134,6 +134,9 @@ func (c *Client) addOperationDescribeGeofenceCollectionMiddlewares(stack *middle if err = addOpDescribeGeofenceCollectionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeGeofenceCollection(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -145,3 +148,11 @@ func (c *Client) addOperationDescribeGeofenceCollectionMiddlewares(stack *middle } return nil } + +func newServiceMetadataMiddleware_opDescribeGeofenceCollection(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "DescribeGeofenceCollection", + } +} diff --git a/service/location/api_op_DescribeMap.go b/service/location/api_op_DescribeMap.go index 0fd79540de5..356e82d314d 100644 --- a/service/location/api_op_DescribeMap.go +++ b/service/location/api_op_DescribeMap.go @@ -136,6 +136,9 @@ func (c *Client) addOperationDescribeMapMiddlewares(stack *middleware.Stack, opt if err = addOpDescribeMapValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeMap(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -147,3 +150,11 @@ func (c *Client) addOperationDescribeMapMiddlewares(stack *middleware.Stack, opt } return nil } + +func newServiceMetadataMiddleware_opDescribeMap(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "DescribeMap", + } +} diff --git a/service/location/api_op_DescribePlaceIndex.go b/service/location/api_op_DescribePlaceIndex.go index 743619c687e..0181ee1c070 100644 --- a/service/location/api_op_DescribePlaceIndex.go +++ b/service/location/api_op_DescribePlaceIndex.go @@ -145,6 +145,9 @@ func (c *Client) addOperationDescribePlaceIndexMiddlewares(stack *middleware.Sta if err = addOpDescribePlaceIndexValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribePlaceIndex(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -156,3 +159,11 @@ func (c *Client) addOperationDescribePlaceIndexMiddlewares(stack *middleware.Sta } return nil } + +func newServiceMetadataMiddleware_opDescribePlaceIndex(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "DescribePlaceIndex", + } +} diff --git a/service/location/api_op_DescribeRouteCalculator.go b/service/location/api_op_DescribeRouteCalculator.go index b1359a073bf..4e612507b83 100644 --- a/service/location/api_op_DescribeRouteCalculator.go +++ b/service/location/api_op_DescribeRouteCalculator.go @@ -144,6 +144,9 @@ func (c *Client) addOperationDescribeRouteCalculatorMiddlewares(stack *middlewar if err = addOpDescribeRouteCalculatorValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeRouteCalculator(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -155,3 +158,11 @@ func (c *Client) addOperationDescribeRouteCalculatorMiddlewares(stack *middlewar } return nil } + +func newServiceMetadataMiddleware_opDescribeRouteCalculator(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "DescribeRouteCalculator", + } +} diff --git a/service/location/api_op_DescribeTracker.go b/service/location/api_op_DescribeTracker.go index 972e31e20e7..7a75877fd98 100644 --- a/service/location/api_op_DescribeTracker.go +++ b/service/location/api_op_DescribeTracker.go @@ -134,6 +134,9 @@ func (c *Client) addOperationDescribeTrackerMiddlewares(stack *middleware.Stack, if err = addOpDescribeTrackerValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeTracker(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -145,3 +148,11 @@ func (c *Client) addOperationDescribeTrackerMiddlewares(stack *middleware.Stack, } return nil } + +func newServiceMetadataMiddleware_opDescribeTracker(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "DescribeTracker", + } +} diff --git a/service/location/api_op_DisassociateTrackerConsumer.go b/service/location/api_op_DisassociateTrackerConsumer.go index 7b788b20d31..4d88770d06a 100644 --- a/service/location/api_op_DisassociateTrackerConsumer.go +++ b/service/location/api_op_DisassociateTrackerConsumer.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDisassociateTrackerConsumerMiddlewares(stack *middl if err = addOpDisassociateTrackerConsumerValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisassociateTrackerConsumer(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -110,3 +113,12 @@ func (c *Client) addOperationDisassociateTrackerConsumerMiddlewares(stack *middl } return nil } + +func newServiceMetadataMiddleware_opDisassociateTrackerConsumer(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "DisassociateTrackerConsumer", + } +} diff --git a/service/location/api_op_GetDevicePosition.go b/service/location/api_op_GetDevicePosition.go index 2511a11fb15..227e1ae0fde 100644 --- a/service/location/api_op_GetDevicePosition.go +++ b/service/location/api_op_GetDevicePosition.go @@ -117,6 +117,9 @@ func (c *Client) addOperationGetDevicePositionMiddlewares(stack *middleware.Stac if err = addOpGetDevicePositionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDevicePosition(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -128,3 +131,12 @@ func (c *Client) addOperationGetDevicePositionMiddlewares(stack *middleware.Stac } return nil } + +func newServiceMetadataMiddleware_opGetDevicePosition(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "GetDevicePosition", + } +} diff --git a/service/location/api_op_GetDevicePositionHistory.go b/service/location/api_op_GetDevicePositionHistory.go index b5f09c02839..d085d5bc876 100644 --- a/service/location/api_op_GetDevicePositionHistory.go +++ b/service/location/api_op_GetDevicePositionHistory.go @@ -128,6 +128,9 @@ func (c *Client) addOperationGetDevicePositionHistoryMiddlewares(stack *middlewa if err = addOpGetDevicePositionHistoryValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetDevicePositionHistory(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -215,3 +218,12 @@ func (p *GetDevicePositionHistoryPaginator) NextPage(ctx context.Context, optFns return result, nil } + +func newServiceMetadataMiddleware_opGetDevicePositionHistory(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "GetDevicePositionHistory", + } +} diff --git a/service/location/api_op_GetGeofence.go b/service/location/api_op_GetGeofence.go index 0dc2713ce5a..ffddc81559a 100644 --- a/service/location/api_op_GetGeofence.go +++ b/service/location/api_op_GetGeofence.go @@ -138,6 +138,9 @@ func (c *Client) addOperationGetGeofenceMiddlewares(stack *middleware.Stack, opt if err = addOpGetGeofenceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetGeofence(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -149,3 +152,12 @@ func (c *Client) addOperationGetGeofenceMiddlewares(stack *middleware.Stack, opt } return nil } + +func newServiceMetadataMiddleware_opGetGeofence(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "GetGeofence", + } +} diff --git a/service/location/api_op_GetMapGlyphs.go b/service/location/api_op_GetMapGlyphs.go index cb64c56f653..b5225dc811d 100644 --- a/service/location/api_op_GetMapGlyphs.go +++ b/service/location/api_op_GetMapGlyphs.go @@ -107,6 +107,9 @@ func (c *Client) addOperationGetMapGlyphsMiddlewares(stack *middleware.Stack, op if err = addOpGetMapGlyphsValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMapGlyphs(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -118,3 +121,12 @@ func (c *Client) addOperationGetMapGlyphsMiddlewares(stack *middleware.Stack, op } return nil } + +func newServiceMetadataMiddleware_opGetMapGlyphs(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "GetMapGlyphs", + } +} diff --git a/service/location/api_op_GetMapSprites.go b/service/location/api_op_GetMapSprites.go index f6dab0f5006..f1bfdc8b23f 100644 --- a/service/location/api_op_GetMapSprites.go +++ b/service/location/api_op_GetMapSprites.go @@ -116,6 +116,9 @@ func (c *Client) addOperationGetMapSpritesMiddlewares(stack *middleware.Stack, o if err = addOpGetMapSpritesValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMapSprites(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -127,3 +130,12 @@ func (c *Client) addOperationGetMapSpritesMiddlewares(stack *middleware.Stack, o } return nil } + +func newServiceMetadataMiddleware_opGetMapSprites(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "GetMapSprites", + } +} diff --git a/service/location/api_op_GetMapStyleDescriptor.go b/service/location/api_op_GetMapStyleDescriptor.go index e813de4024b..6992761e0a7 100644 --- a/service/location/api_op_GetMapStyleDescriptor.go +++ b/service/location/api_op_GetMapStyleDescriptor.go @@ -97,6 +97,9 @@ func (c *Client) addOperationGetMapStyleDescriptorMiddlewares(stack *middleware. if err = addOpGetMapStyleDescriptorValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMapStyleDescriptor(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -108,3 +111,12 @@ func (c *Client) addOperationGetMapStyleDescriptorMiddlewares(stack *middleware. } return nil } + +func newServiceMetadataMiddleware_opGetMapStyleDescriptor(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "GetMapStyleDescriptor", + } +} diff --git a/service/location/api_op_GetMapTile.go b/service/location/api_op_GetMapTile.go index 36e9b647234..1132ea1a2f6 100644 --- a/service/location/api_op_GetMapTile.go +++ b/service/location/api_op_GetMapTile.go @@ -114,6 +114,9 @@ func (c *Client) addOperationGetMapTileMiddlewares(stack *middleware.Stack, opti if err = addOpGetMapTileValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetMapTile(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -125,3 +128,12 @@ func (c *Client) addOperationGetMapTileMiddlewares(stack *middleware.Stack, opti } return nil } + +func newServiceMetadataMiddleware_opGetMapTile(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "GetMapTile", + } +} diff --git a/service/location/api_op_ListDevicePositions.go b/service/location/api_op_ListDevicePositions.go index 0326327c300..a1ff7eaf03b 100644 --- a/service/location/api_op_ListDevicePositions.go +++ b/service/location/api_op_ListDevicePositions.go @@ -109,6 +109,9 @@ func (c *Client) addOperationListDevicePositionsMiddlewares(stack *middleware.St if err = addOpListDevicePositionsValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListDevicePositions(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -208,3 +211,12 @@ func (p *ListDevicePositionsPaginator) NextPage(ctx context.Context, optFns ...f return result, nil } + +func newServiceMetadataMiddleware_opListDevicePositions(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "ListDevicePositions", + } +} diff --git a/service/location/api_op_ListGeofenceCollections.go b/service/location/api_op_ListGeofenceCollections.go index be6454ee161..b97e4ad27c2 100644 --- a/service/location/api_op_ListGeofenceCollections.go +++ b/service/location/api_op_ListGeofenceCollections.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListGeofenceCollectionsMiddlewares(stack *middlewar if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGeofenceCollections(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -199,3 +202,12 @@ func (p *ListGeofenceCollectionsPaginator) NextPage(ctx context.Context, optFns return result, nil } + +func newServiceMetadataMiddleware_opListGeofenceCollections(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "ListGeofenceCollections", + } +} diff --git a/service/location/api_op_ListGeofences.go b/service/location/api_op_ListGeofences.go index f953c3d2c47..f00a586f12e 100644 --- a/service/location/api_op_ListGeofences.go +++ b/service/location/api_op_ListGeofences.go @@ -103,6 +103,9 @@ func (c *Client) addOperationListGeofencesMiddlewares(stack *middleware.Stack, o if err = addOpListGeofencesValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListGeofences(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -187,3 +190,12 @@ func (p *ListGeofencesPaginator) NextPage(ctx context.Context, optFns ...func(*O return result, nil } + +func newServiceMetadataMiddleware_opListGeofences(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "ListGeofences", + } +} diff --git a/service/location/api_op_ListMaps.go b/service/location/api_op_ListMaps.go index b3410d288e7..05ae5b64592 100644 --- a/service/location/api_op_ListMaps.go +++ b/service/location/api_op_ListMaps.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListMapsMiddlewares(stack *middleware.Stack, option if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListMaps(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -196,3 +199,12 @@ func (p *ListMapsPaginator) NextPage(ctx context.Context, optFns ...func(*Option return result, nil } + +func newServiceMetadataMiddleware_opListMaps(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "ListMaps", + } +} diff --git a/service/location/api_op_ListPlaceIndexes.go b/service/location/api_op_ListPlaceIndexes.go index cb59b122007..f1863910978 100644 --- a/service/location/api_op_ListPlaceIndexes.go +++ b/service/location/api_op_ListPlaceIndexes.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListPlaceIndexesMiddlewares(stack *middleware.Stack if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListPlaceIndexes(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -197,3 +200,12 @@ func (p *ListPlaceIndexesPaginator) NextPage(ctx context.Context, optFns ...func return result, nil } + +func newServiceMetadataMiddleware_opListPlaceIndexes(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "ListPlaceIndexes", + } +} diff --git a/service/location/api_op_ListRouteCalculators.go b/service/location/api_op_ListRouteCalculators.go index 8fb158e53c0..efcd3aa92f3 100644 --- a/service/location/api_op_ListRouteCalculators.go +++ b/service/location/api_op_ListRouteCalculators.go @@ -99,6 +99,9 @@ func (c *Client) addOperationListRouteCalculatorsMiddlewares(stack *middleware.S if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListRouteCalculators(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -198,3 +201,12 @@ func (p *ListRouteCalculatorsPaginator) NextPage(ctx context.Context, optFns ... return result, nil } + +func newServiceMetadataMiddleware_opListRouteCalculators(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "ListRouteCalculators", + } +} diff --git a/service/location/api_op_ListTagsForResource.go b/service/location/api_op_ListTagsForResource.go index 92325be94af..cf4e72353f4 100644 --- a/service/location/api_op_ListTagsForResource.go +++ b/service/location/api_op_ListTagsForResource.go @@ -92,6 +92,9 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St if err = addOpListTagsForResourceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTagsForResource(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -103,3 +106,12 @@ func (c *Client) addOperationListTagsForResourceMiddlewares(stack *middleware.St } return nil } + +func newServiceMetadataMiddleware_opListTagsForResource(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "ListTagsForResource", + } +} diff --git a/service/location/api_op_ListTrackerConsumers.go b/service/location/api_op_ListTrackerConsumers.go index 2dbd149f679..a8d234e2c16 100644 --- a/service/location/api_op_ListTrackerConsumers.go +++ b/service/location/api_op_ListTrackerConsumers.go @@ -107,6 +107,9 @@ func (c *Client) addOperationListTrackerConsumersMiddlewares(stack *middleware.S if err = addOpListTrackerConsumersValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrackerConsumers(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -206,3 +209,12 @@ func (p *ListTrackerConsumersPaginator) NextPage(ctx context.Context, optFns ... return result, nil } + +func newServiceMetadataMiddleware_opListTrackerConsumers(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "ListTrackerConsumers", + } +} diff --git a/service/location/api_op_ListTrackers.go b/service/location/api_op_ListTrackers.go index a7516d6bb6a..01585170b14 100644 --- a/service/location/api_op_ListTrackers.go +++ b/service/location/api_op_ListTrackers.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListTrackersMiddlewares(stack *middleware.Stack, op if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListTrackers(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -197,3 +200,12 @@ func (p *ListTrackersPaginator) NextPage(ctx context.Context, optFns ...func(*Op return result, nil } + +func newServiceMetadataMiddleware_opListTrackers(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "ListTrackers", + } +} diff --git a/service/location/api_op_PutGeofence.go b/service/location/api_op_PutGeofence.go index 9ee13dca803..262c81584f2 100644 --- a/service/location/api_op_PutGeofence.go +++ b/service/location/api_op_PutGeofence.go @@ -123,6 +123,9 @@ func (c *Client) addOperationPutGeofenceMiddlewares(stack *middleware.Stack, opt if err = addOpPutGeofenceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opPutGeofence(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -134,3 +137,12 @@ func (c *Client) addOperationPutGeofenceMiddlewares(stack *middleware.Stack, opt } return nil } + +func newServiceMetadataMiddleware_opPutGeofence(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "PutGeofence", + } +} diff --git a/service/location/api_op_SearchPlaceIndexForPosition.go b/service/location/api_op_SearchPlaceIndexForPosition.go index 6825093c298..353e0e07177 100644 --- a/service/location/api_op_SearchPlaceIndexForPosition.go +++ b/service/location/api_op_SearchPlaceIndexForPosition.go @@ -119,6 +119,9 @@ func (c *Client) addOperationSearchPlaceIndexForPositionMiddlewares(stack *middl if err = addOpSearchPlaceIndexForPositionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchPlaceIndexForPosition(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -130,3 +133,12 @@ func (c *Client) addOperationSearchPlaceIndexForPositionMiddlewares(stack *middl } return nil } + +func newServiceMetadataMiddleware_opSearchPlaceIndexForPosition(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "SearchPlaceIndexForPosition", + } +} diff --git a/service/location/api_op_SearchPlaceIndexForText.go b/service/location/api_op_SearchPlaceIndexForText.go index 87ab502fdbc..94ad18c9958 100644 --- a/service/location/api_op_SearchPlaceIndexForText.go +++ b/service/location/api_op_SearchPlaceIndexForText.go @@ -158,6 +158,9 @@ func (c *Client) addOperationSearchPlaceIndexForTextMiddlewares(stack *middlewar if err = addOpSearchPlaceIndexForTextValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opSearchPlaceIndexForText(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -169,3 +172,12 @@ func (c *Client) addOperationSearchPlaceIndexForTextMiddlewares(stack *middlewar } return nil } + +func newServiceMetadataMiddleware_opSearchPlaceIndexForText(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "SearchPlaceIndexForText", + } +} diff --git a/service/location/api_op_TagResource.go b/service/location/api_op_TagResource.go index 3b8edb8e0ce..79ef26cf930 100644 --- a/service/location/api_op_TagResource.go +++ b/service/location/api_op_TagResource.go @@ -103,6 +103,9 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt if err = addOpTagResourceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTagResource(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -114,3 +117,12 @@ func (c *Client) addOperationTagResourceMiddlewares(stack *middleware.Stack, opt } return nil } + +func newServiceMetadataMiddleware_opTagResource(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "TagResource", + } +} diff --git a/service/location/api_op_UntagResource.go b/service/location/api_op_UntagResource.go index 3119fc936d7..d84d7dc1fee 100644 --- a/service/location/api_op_UntagResource.go +++ b/service/location/api_op_UntagResource.go @@ -93,6 +93,9 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o if err = addOpUntagResourceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUntagResource(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -104,3 +107,12 @@ func (c *Client) addOperationUntagResourceMiddlewares(stack *middleware.Stack, o } return nil } + +func newServiceMetadataMiddleware_opUntagResource(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "geo", + OperationName: "UntagResource", + } +} diff --git a/service/mgn/api_op_ChangeServerLifeCycleState.go b/service/mgn/api_op_ChangeServerLifeCycleState.go index 93094b70aa1..f31145214ab 100644 --- a/service/mgn/api_op_ChangeServerLifeCycleState.go +++ b/service/mgn/api_op_ChangeServerLifeCycleState.go @@ -122,6 +122,9 @@ func (c *Client) addOperationChangeServerLifeCycleStateMiddlewares(stack *middle if err = addOpChangeServerLifeCycleStateValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opChangeServerLifeCycleState(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -133,3 +136,12 @@ func (c *Client) addOperationChangeServerLifeCycleStateMiddlewares(stack *middle } return nil } + +func newServiceMetadataMiddleware_opChangeServerLifeCycleState(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "ChangeServerLifeCycleState", + } +} diff --git a/service/mgn/api_op_CreateReplicationConfigurationTemplate.go b/service/mgn/api_op_CreateReplicationConfigurationTemplate.go index 67e8e6f7760..1f9ac16b267 100644 --- a/service/mgn/api_op_CreateReplicationConfigurationTemplate.go +++ b/service/mgn/api_op_CreateReplicationConfigurationTemplate.go @@ -204,6 +204,9 @@ func (c *Client) addOperationCreateReplicationConfigurationTemplateMiddlewares(s if err = addOpCreateReplicationConfigurationTemplateValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateReplicationConfigurationTemplate(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -215,3 +218,12 @@ func (c *Client) addOperationCreateReplicationConfigurationTemplateMiddlewares(s } return nil } + +func newServiceMetadataMiddleware_opCreateReplicationConfigurationTemplate(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "CreateReplicationConfigurationTemplate", + } +} diff --git a/service/mgn/api_op_DeleteJob.go b/service/mgn/api_op_DeleteJob.go index 6423b2afdf0..b6e39987237 100644 --- a/service/mgn/api_op_DeleteJob.go +++ b/service/mgn/api_op_DeleteJob.go @@ -87,6 +87,9 @@ func (c *Client) addOperationDeleteJobMiddlewares(stack *middleware.Stack, optio if err = addOpDeleteJobValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteJob(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -98,3 +101,12 @@ func (c *Client) addOperationDeleteJobMiddlewares(stack *middleware.Stack, optio } return nil } + +func newServiceMetadataMiddleware_opDeleteJob(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "DeleteJob", + } +} diff --git a/service/mgn/api_op_DeleteReplicationConfigurationTemplate.go b/service/mgn/api_op_DeleteReplicationConfigurationTemplate.go index 04bb4f631a0..4f0d209d45b 100644 --- a/service/mgn/api_op_DeleteReplicationConfigurationTemplate.go +++ b/service/mgn/api_op_DeleteReplicationConfigurationTemplate.go @@ -88,6 +88,9 @@ func (c *Client) addOperationDeleteReplicationConfigurationTemplateMiddlewares(s if err = addOpDeleteReplicationConfigurationTemplateValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteReplicationConfigurationTemplate(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -99,3 +102,12 @@ func (c *Client) addOperationDeleteReplicationConfigurationTemplateMiddlewares(s } return nil } + +func newServiceMetadataMiddleware_opDeleteReplicationConfigurationTemplate(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "DeleteReplicationConfigurationTemplate", + } +} diff --git a/service/mgn/api_op_DeleteSourceServer.go b/service/mgn/api_op_DeleteSourceServer.go index d77eca59d13..a0841b2b43f 100644 --- a/service/mgn/api_op_DeleteSourceServer.go +++ b/service/mgn/api_op_DeleteSourceServer.go @@ -87,6 +87,9 @@ func (c *Client) addOperationDeleteSourceServerMiddlewares(stack *middleware.Sta if err = addOpDeleteSourceServerValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteSourceServer(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -98,3 +101,12 @@ func (c *Client) addOperationDeleteSourceServerMiddlewares(stack *middleware.Sta } return nil } + +func newServiceMetadataMiddleware_opDeleteSourceServer(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "DeleteSourceServer", + } +} diff --git a/service/mgn/api_op_DescribeJobLogItems.go b/service/mgn/api_op_DescribeJobLogItems.go index ace887df671..a358f8a2951 100644 --- a/service/mgn/api_op_DescribeJobLogItems.go +++ b/service/mgn/api_op_DescribeJobLogItems.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeJobLogItemsMiddlewares(stack *middleware.St if err = addOpDescribeJobLogItemsValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobLogItems(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -196,3 +199,12 @@ func (p *DescribeJobLogItemsPaginator) NextPage(ctx context.Context, optFns ...f return result, nil } + +func newServiceMetadataMiddleware_opDescribeJobLogItems(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "DescribeJobLogItems", + } +} diff --git a/service/mgn/api_op_DescribeJobs.go b/service/mgn/api_op_DescribeJobs.go index e5ac37feda1..cf5d39db833 100644 --- a/service/mgn/api_op_DescribeJobs.go +++ b/service/mgn/api_op_DescribeJobs.go @@ -107,6 +107,9 @@ func (c *Client) addOperationDescribeJobsMiddlewares(stack *middleware.Stack, op if err = addOpDescribeJobsValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeJobs(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -199,3 +202,12 @@ func (p *DescribeJobsPaginator) NextPage(ctx context.Context, optFns ...func(*Op return result, nil } + +func newServiceMetadataMiddleware_opDescribeJobs(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "DescribeJobs", + } +} diff --git a/service/mgn/api_op_DescribeReplicationConfigurationTemplates.go b/service/mgn/api_op_DescribeReplicationConfigurationTemplates.go index ad6e5e7ee7a..034c182ed34 100644 --- a/service/mgn/api_op_DescribeReplicationConfigurationTemplates.go +++ b/service/mgn/api_op_DescribeReplicationConfigurationTemplates.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeReplicationConfigurationTemplatesMiddleware if err = addOpDescribeReplicationConfigurationTemplatesValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeReplicationConfigurationTemplates(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -198,3 +201,12 @@ func (p *DescribeReplicationConfigurationTemplatesPaginator) NextPage(ctx contex return result, nil } + +func newServiceMetadataMiddleware_opDescribeReplicationConfigurationTemplates(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "DescribeReplicationConfigurationTemplates", + } +} diff --git a/service/mgn/api_op_DescribeSourceServers.go b/service/mgn/api_op_DescribeSourceServers.go index e556991a586..714bc5a7e05 100644 --- a/service/mgn/api_op_DescribeSourceServers.go +++ b/service/mgn/api_op_DescribeSourceServers.go @@ -102,6 +102,9 @@ func (c *Client) addOperationDescribeSourceServersMiddlewares(stack *middleware. if err = addOpDescribeSourceServersValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeSourceServers(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -196,3 +199,12 @@ func (p *DescribeSourceServersPaginator) NextPage(ctx context.Context, optFns .. return result, nil } + +func newServiceMetadataMiddleware_opDescribeSourceServers(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "DescribeSourceServers", + } +} diff --git a/service/mgn/api_op_DisconnectFromService.go b/service/mgn/api_op_DisconnectFromService.go index f7e173dd017..d6d2dc77739 100644 --- a/service/mgn/api_op_DisconnectFromService.go +++ b/service/mgn/api_op_DisconnectFromService.go @@ -124,6 +124,9 @@ func (c *Client) addOperationDisconnectFromServiceMiddlewares(stack *middleware. if err = addOpDisconnectFromServiceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDisconnectFromService(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -135,3 +138,12 @@ func (c *Client) addOperationDisconnectFromServiceMiddlewares(stack *middleware. } return nil } + +func newServiceMetadataMiddleware_opDisconnectFromService(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "DisconnectFromService", + } +} diff --git a/service/mgn/api_op_FinalizeCutover.go b/service/mgn/api_op_FinalizeCutover.go index 0cf6f1497ba..15b8ec19a10 100644 --- a/service/mgn/api_op_FinalizeCutover.go +++ b/service/mgn/api_op_FinalizeCutover.go @@ -123,6 +123,9 @@ func (c *Client) addOperationFinalizeCutoverMiddlewares(stack *middleware.Stack, if err = addOpFinalizeCutoverValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opFinalizeCutover(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -134,3 +137,12 @@ func (c *Client) addOperationFinalizeCutoverMiddlewares(stack *middleware.Stack, } return nil } + +func newServiceMetadataMiddleware_opFinalizeCutover(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "FinalizeCutover", + } +} diff --git a/service/mgn/api_op_GetLaunchConfiguration.go b/service/mgn/api_op_GetLaunchConfiguration.go index ca2ce2cb835..6260201e5d1 100644 --- a/service/mgn/api_op_GetLaunchConfiguration.go +++ b/service/mgn/api_op_GetLaunchConfiguration.go @@ -113,6 +113,9 @@ func (c *Client) addOperationGetLaunchConfigurationMiddlewares(stack *middleware if err = addOpGetLaunchConfigurationValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetLaunchConfiguration(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -124,3 +127,12 @@ func (c *Client) addOperationGetLaunchConfigurationMiddlewares(stack *middleware } return nil } + +func newServiceMetadataMiddleware_opGetLaunchConfiguration(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "GetLaunchConfiguration", + } +} diff --git a/service/mgn/api_op_GetReplicationConfiguration.go b/service/mgn/api_op_GetReplicationConfiguration.go index 9f376c645ad..3dacb78fc7e 100644 --- a/service/mgn/api_op_GetReplicationConfiguration.go +++ b/service/mgn/api_op_GetReplicationConfiguration.go @@ -135,6 +135,9 @@ func (c *Client) addOperationGetReplicationConfigurationMiddlewares(stack *middl if err = addOpGetReplicationConfigurationValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetReplicationConfiguration(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -146,3 +149,12 @@ func (c *Client) addOperationGetReplicationConfigurationMiddlewares(stack *middl } return nil } + +func newServiceMetadataMiddleware_opGetReplicationConfiguration(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "GetReplicationConfiguration", + } +} diff --git a/service/mgn/api_op_MarkAsArchived.go b/service/mgn/api_op_MarkAsArchived.go index f64f3ea6244..d4de694c846 100644 --- a/service/mgn/api_op_MarkAsArchived.go +++ b/service/mgn/api_op_MarkAsArchived.go @@ -115,6 +115,9 @@ func (c *Client) addOperationMarkAsArchivedMiddlewares(stack *middleware.Stack, if err = addOpMarkAsArchivedValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opMarkAsArchived(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -126,3 +129,12 @@ func (c *Client) addOperationMarkAsArchivedMiddlewares(stack *middleware.Stack, } return nil } + +func newServiceMetadataMiddleware_opMarkAsArchived(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "MarkAsArchived", + } +} diff --git a/service/mgn/api_op_RetryDataReplication.go b/service/mgn/api_op_RetryDataReplication.go index 4e5b7214f26..d23fd8f5963 100644 --- a/service/mgn/api_op_RetryDataReplication.go +++ b/service/mgn/api_op_RetryDataReplication.go @@ -116,6 +116,9 @@ func (c *Client) addOperationRetryDataReplicationMiddlewares(stack *middleware.S if err = addOpRetryDataReplicationValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRetryDataReplication(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -127,3 +130,12 @@ func (c *Client) addOperationRetryDataReplicationMiddlewares(stack *middleware.S } return nil } + +func newServiceMetadataMiddleware_opRetryDataReplication(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "RetryDataReplication", + } +} diff --git a/service/mgn/api_op_StartCutover.go b/service/mgn/api_op_StartCutover.go index 2ced65404ce..8584d9fbc1c 100644 --- a/service/mgn/api_op_StartCutover.go +++ b/service/mgn/api_op_StartCutover.go @@ -97,6 +97,9 @@ func (c *Client) addOperationStartCutoverMiddlewares(stack *middleware.Stack, op if err = addOpStartCutoverValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartCutover(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -108,3 +111,12 @@ func (c *Client) addOperationStartCutoverMiddlewares(stack *middleware.Stack, op } return nil } + +func newServiceMetadataMiddleware_opStartCutover(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "StartCutover", + } +} diff --git a/service/mgn/api_op_StartTest.go b/service/mgn/api_op_StartTest.go index e762146325b..2aa9077d97e 100644 --- a/service/mgn/api_op_StartTest.go +++ b/service/mgn/api_op_StartTest.go @@ -97,6 +97,9 @@ func (c *Client) addOperationStartTestMiddlewares(stack *middleware.Stack, optio if err = addOpStartTestValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opStartTest(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -108,3 +111,12 @@ func (c *Client) addOperationStartTestMiddlewares(stack *middleware.Stack, optio } return nil } + +func newServiceMetadataMiddleware_opStartTest(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "StartTest", + } +} diff --git a/service/mgn/api_op_TerminateTargetInstances.go b/service/mgn/api_op_TerminateTargetInstances.go index d9f66777df9..4b8fcdcae23 100644 --- a/service/mgn/api_op_TerminateTargetInstances.go +++ b/service/mgn/api_op_TerminateTargetInstances.go @@ -97,6 +97,9 @@ func (c *Client) addOperationTerminateTargetInstancesMiddlewares(stack *middlewa if err = addOpTerminateTargetInstancesValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opTerminateTargetInstances(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -108,3 +111,12 @@ func (c *Client) addOperationTerminateTargetInstancesMiddlewares(stack *middlewa } return nil } + +func newServiceMetadataMiddleware_opTerminateTargetInstances(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "TerminateTargetInstances", + } +} diff --git a/service/mgn/api_op_UpdateLaunchConfiguration.go b/service/mgn/api_op_UpdateLaunchConfiguration.go index 42bf65fe7fb..64395237a42 100644 --- a/service/mgn/api_op_UpdateLaunchConfiguration.go +++ b/service/mgn/api_op_UpdateLaunchConfiguration.go @@ -131,6 +131,9 @@ func (c *Client) addOperationUpdateLaunchConfigurationMiddlewares(stack *middlew if err = addOpUpdateLaunchConfigurationValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateLaunchConfiguration(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -142,3 +145,12 @@ func (c *Client) addOperationUpdateLaunchConfigurationMiddlewares(stack *middlew } return nil } + +func newServiceMetadataMiddleware_opUpdateLaunchConfiguration(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "UpdateLaunchConfiguration", + } +} diff --git a/service/mgn/api_op_UpdateReplicationConfiguration.go b/service/mgn/api_op_UpdateReplicationConfiguration.go index 924b042039d..e8f0f04d1a0 100644 --- a/service/mgn/api_op_UpdateReplicationConfiguration.go +++ b/service/mgn/api_op_UpdateReplicationConfiguration.go @@ -178,6 +178,9 @@ func (c *Client) addOperationUpdateReplicationConfigurationMiddlewares(stack *mi if err = addOpUpdateReplicationConfigurationValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateReplicationConfiguration(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -189,3 +192,12 @@ func (c *Client) addOperationUpdateReplicationConfigurationMiddlewares(stack *mi } return nil } + +func newServiceMetadataMiddleware_opUpdateReplicationConfiguration(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "UpdateReplicationConfiguration", + } +} diff --git a/service/mgn/api_op_UpdateReplicationConfigurationTemplate.go b/service/mgn/api_op_UpdateReplicationConfigurationTemplate.go index 11618e00844..8035f0c5bac 100644 --- a/service/mgn/api_op_UpdateReplicationConfigurationTemplate.go +++ b/service/mgn/api_op_UpdateReplicationConfigurationTemplate.go @@ -181,6 +181,9 @@ func (c *Client) addOperationUpdateReplicationConfigurationTemplateMiddlewares(s if err = addOpUpdateReplicationConfigurationTemplateValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateReplicationConfigurationTemplate(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -192,3 +195,12 @@ func (c *Client) addOperationUpdateReplicationConfigurationTemplateMiddlewares(s } return nil } + +func newServiceMetadataMiddleware_opUpdateReplicationConfigurationTemplate(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "mgn", + OperationName: "UpdateReplicationConfigurationTemplate", + } +} diff --git a/service/proton/api_op_AcceptEnvironmentAccountConnection.go b/service/proton/api_op_AcceptEnvironmentAccountConnection.go index ac48dc097a9..a72220812c7 100644 --- a/service/proton/api_op_AcceptEnvironmentAccountConnection.go +++ b/service/proton/api_op_AcceptEnvironmentAccountConnection.go @@ -98,6 +98,9 @@ func (c *Client) addOperationAcceptEnvironmentAccountConnectionMiddlewares(stack if err = addOpAcceptEnvironmentAccountConnectionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opAcceptEnvironmentAccountConnection(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -109,3 +112,12 @@ func (c *Client) addOperationAcceptEnvironmentAccountConnectionMiddlewares(stack } return nil } + +func newServiceMetadataMiddleware_opAcceptEnvironmentAccountConnection(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "AcceptEnvironmentAccountConnection", + } +} diff --git a/service/proton/api_op_CreateEnvironment.go b/service/proton/api_op_CreateEnvironment.go index 2a7d01c3e7a..8c1c431d88e 100644 --- a/service/proton/api_op_CreateEnvironment.go +++ b/service/proton/api_op_CreateEnvironment.go @@ -146,6 +146,9 @@ func (c *Client) addOperationCreateEnvironmentMiddlewares(stack *middleware.Stac if err = addOpCreateEnvironmentValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEnvironment(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -157,3 +160,12 @@ func (c *Client) addOperationCreateEnvironmentMiddlewares(stack *middleware.Stac } return nil } + +func newServiceMetadataMiddleware_opCreateEnvironment(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "CreateEnvironment", + } +} diff --git a/service/proton/api_op_CreateEnvironmentAccountConnection.go b/service/proton/api_op_CreateEnvironmentAccountConnection.go index f5becd9cfd7..10785669a11 100644 --- a/service/proton/api_op_CreateEnvironmentAccountConnection.go +++ b/service/proton/api_op_CreateEnvironmentAccountConnection.go @@ -121,6 +121,9 @@ func (c *Client) addOperationCreateEnvironmentAccountConnectionMiddlewares(stack if err = addOpCreateEnvironmentAccountConnectionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEnvironmentAccountConnection(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -132,3 +135,12 @@ func (c *Client) addOperationCreateEnvironmentAccountConnectionMiddlewares(stack } return nil } + +func newServiceMetadataMiddleware_opCreateEnvironmentAccountConnection(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "CreateEnvironmentAccountConnection", + } +} diff --git a/service/proton/api_op_CreateEnvironmentTemplate.go b/service/proton/api_op_CreateEnvironmentTemplate.go index f018a2ba368..5f85f777219 100644 --- a/service/proton/api_op_CreateEnvironmentTemplate.go +++ b/service/proton/api_op_CreateEnvironmentTemplate.go @@ -132,6 +132,9 @@ func (c *Client) addOperationCreateEnvironmentTemplateMiddlewares(stack *middlew if err = addOpCreateEnvironmentTemplateValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEnvironmentTemplate(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -143,3 +146,12 @@ func (c *Client) addOperationCreateEnvironmentTemplateMiddlewares(stack *middlew } return nil } + +func newServiceMetadataMiddleware_opCreateEnvironmentTemplate(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "CreateEnvironmentTemplate", + } +} diff --git a/service/proton/api_op_CreateEnvironmentTemplateVersion.go b/service/proton/api_op_CreateEnvironmentTemplateVersion.go index a7d21825a49..d0b67951216 100644 --- a/service/proton/api_op_CreateEnvironmentTemplateVersion.go +++ b/service/proton/api_op_CreateEnvironmentTemplateVersion.go @@ -119,6 +119,9 @@ func (c *Client) addOperationCreateEnvironmentTemplateVersionMiddlewares(stack * if err = addOpCreateEnvironmentTemplateVersionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateEnvironmentTemplateVersion(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -130,3 +133,12 @@ func (c *Client) addOperationCreateEnvironmentTemplateVersionMiddlewares(stack * } return nil } + +func newServiceMetadataMiddleware_opCreateEnvironmentTemplateVersion(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "CreateEnvironmentTemplateVersion", + } +} diff --git a/service/proton/api_op_CreateService.go b/service/proton/api_op_CreateService.go index 1856c04e955..0088580d71e 100644 --- a/service/proton/api_op_CreateService.go +++ b/service/proton/api_op_CreateService.go @@ -157,6 +157,9 @@ func (c *Client) addOperationCreateServiceMiddlewares(stack *middleware.Stack, o if err = addOpCreateServiceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateService(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -168,3 +171,12 @@ func (c *Client) addOperationCreateServiceMiddlewares(stack *middleware.Stack, o } return nil } + +func newServiceMetadataMiddleware_opCreateService(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "CreateService", + } +} diff --git a/service/proton/api_op_CreateServiceTemplate.go b/service/proton/api_op_CreateServiceTemplate.go index d57d02e2908..4309c3b31b5 100644 --- a/service/proton/api_op_CreateServiceTemplate.go +++ b/service/proton/api_op_CreateServiceTemplate.go @@ -126,6 +126,9 @@ func (c *Client) addOperationCreateServiceTemplateMiddlewares(stack *middleware. if err = addOpCreateServiceTemplateValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateServiceTemplate(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -137,3 +140,12 @@ func (c *Client) addOperationCreateServiceTemplateMiddlewares(stack *middleware. } return nil } + +func newServiceMetadataMiddleware_opCreateServiceTemplate(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "CreateServiceTemplate", + } +} diff --git a/service/proton/api_op_CreateServiceTemplateVersion.go b/service/proton/api_op_CreateServiceTemplateVersion.go index e4681605620..a97fd8a794c 100644 --- a/service/proton/api_op_CreateServiceTemplateVersion.go +++ b/service/proton/api_op_CreateServiceTemplateVersion.go @@ -125,6 +125,9 @@ func (c *Client) addOperationCreateServiceTemplateVersionMiddlewares(stack *midd if err = addOpCreateServiceTemplateVersionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateServiceTemplateVersion(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -136,3 +139,12 @@ func (c *Client) addOperationCreateServiceTemplateVersionMiddlewares(stack *midd } return nil } + +func newServiceMetadataMiddleware_opCreateServiceTemplateVersion(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "CreateServiceTemplateVersion", + } +} diff --git a/service/proton/api_op_DeleteEnvironment.go b/service/proton/api_op_DeleteEnvironment.go index b8fb58e4d03..963e3894352 100644 --- a/service/proton/api_op_DeleteEnvironment.go +++ b/service/proton/api_op_DeleteEnvironment.go @@ -92,6 +92,9 @@ func (c *Client) addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stac if err = addOpDeleteEnvironmentValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEnvironment(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -103,3 +106,12 @@ func (c *Client) addOperationDeleteEnvironmentMiddlewares(stack *middleware.Stac } return nil } + +func newServiceMetadataMiddleware_opDeleteEnvironment(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "DeleteEnvironment", + } +} diff --git a/service/proton/api_op_DeleteEnvironmentAccountConnection.go b/service/proton/api_op_DeleteEnvironmentAccountConnection.go index f5c6fe2a4b6..382c643963f 100644 --- a/service/proton/api_op_DeleteEnvironmentAccountConnection.go +++ b/service/proton/api_op_DeleteEnvironmentAccountConnection.go @@ -99,6 +99,9 @@ func (c *Client) addOperationDeleteEnvironmentAccountConnectionMiddlewares(stack if err = addOpDeleteEnvironmentAccountConnectionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEnvironmentAccountConnection(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -110,3 +113,12 @@ func (c *Client) addOperationDeleteEnvironmentAccountConnectionMiddlewares(stack } return nil } + +func newServiceMetadataMiddleware_opDeleteEnvironmentAccountConnection(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "DeleteEnvironmentAccountConnection", + } +} diff --git a/service/proton/api_op_DeleteEnvironmentTemplate.go b/service/proton/api_op_DeleteEnvironmentTemplate.go index 4cdabc186ad..7d74c10691e 100644 --- a/service/proton/api_op_DeleteEnvironmentTemplate.go +++ b/service/proton/api_op_DeleteEnvironmentTemplate.go @@ -93,6 +93,9 @@ func (c *Client) addOperationDeleteEnvironmentTemplateMiddlewares(stack *middlew if err = addOpDeleteEnvironmentTemplateValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEnvironmentTemplate(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -104,3 +107,12 @@ func (c *Client) addOperationDeleteEnvironmentTemplateMiddlewares(stack *middlew } return nil } + +func newServiceMetadataMiddleware_opDeleteEnvironmentTemplate(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "DeleteEnvironmentTemplate", + } +} diff --git a/service/proton/api_op_DeleteEnvironmentTemplateVersion.go b/service/proton/api_op_DeleteEnvironmentTemplateVersion.go index a0576f22845..bb3217407ab 100644 --- a/service/proton/api_op_DeleteEnvironmentTemplateVersion.go +++ b/service/proton/api_op_DeleteEnvironmentTemplateVersion.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteEnvironmentTemplateVersionMiddlewares(stack * if err = addOpDeleteEnvironmentTemplateVersionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteEnvironmentTemplateVersion(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -121,3 +124,12 @@ func (c *Client) addOperationDeleteEnvironmentTemplateVersionMiddlewares(stack * } return nil } + +func newServiceMetadataMiddleware_opDeleteEnvironmentTemplateVersion(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "DeleteEnvironmentTemplateVersion", + } +} diff --git a/service/proton/api_op_DeleteService.go b/service/proton/api_op_DeleteService.go index d9afad16b9f..7208082c6fc 100644 --- a/service/proton/api_op_DeleteService.go +++ b/service/proton/api_op_DeleteService.go @@ -92,6 +92,9 @@ func (c *Client) addOperationDeleteServiceMiddlewares(stack *middleware.Stack, o if err = addOpDeleteServiceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteService(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -103,3 +106,12 @@ func (c *Client) addOperationDeleteServiceMiddlewares(stack *middleware.Stack, o } return nil } + +func newServiceMetadataMiddleware_opDeleteService(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "DeleteService", + } +} diff --git a/service/proton/api_op_DeleteServiceTemplate.go b/service/proton/api_op_DeleteServiceTemplate.go index 453f4241878..98ef24596e7 100644 --- a/service/proton/api_op_DeleteServiceTemplate.go +++ b/service/proton/api_op_DeleteServiceTemplate.go @@ -93,6 +93,9 @@ func (c *Client) addOperationDeleteServiceTemplateMiddlewares(stack *middleware. if err = addOpDeleteServiceTemplateValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteServiceTemplate(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -104,3 +107,12 @@ func (c *Client) addOperationDeleteServiceTemplateMiddlewares(stack *middleware. } return nil } + +func newServiceMetadataMiddleware_opDeleteServiceTemplate(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "DeleteServiceTemplate", + } +} diff --git a/service/proton/api_op_DeleteServiceTemplateVersion.go b/service/proton/api_op_DeleteServiceTemplateVersion.go index 6ec275fc8a0..9f477ead7dd 100644 --- a/service/proton/api_op_DeleteServiceTemplateVersion.go +++ b/service/proton/api_op_DeleteServiceTemplateVersion.go @@ -110,6 +110,9 @@ func (c *Client) addOperationDeleteServiceTemplateVersionMiddlewares(stack *midd if err = addOpDeleteServiceTemplateVersionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDeleteServiceTemplateVersion(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -121,3 +124,12 @@ func (c *Client) addOperationDeleteServiceTemplateVersionMiddlewares(stack *midd } return nil } + +func newServiceMetadataMiddleware_opDeleteServiceTemplateVersion(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "DeleteServiceTemplateVersion", + } +} diff --git a/service/proton/api_op_GetAccountSettings.go b/service/proton/api_op_GetAccountSettings.go index 3124c275f23..810510629e7 100644 --- a/service/proton/api_op_GetAccountSettings.go +++ b/service/proton/api_op_GetAccountSettings.go @@ -84,6 +84,9 @@ func (c *Client) addOperationGetAccountSettingsMiddlewares(stack *middleware.Sta if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetAccountSettings(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -95,3 +98,12 @@ func (c *Client) addOperationGetAccountSettingsMiddlewares(stack *middleware.Sta } return nil } + +func newServiceMetadataMiddleware_opGetAccountSettings(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "GetAccountSettings", + } +} diff --git a/service/proton/api_op_GetEnvironment.go b/service/proton/api_op_GetEnvironment.go index 82f294b2c7e..a38030b984f 100644 --- a/service/proton/api_op_GetEnvironment.go +++ b/service/proton/api_op_GetEnvironment.go @@ -99,6 +99,9 @@ func (c *Client) addOperationGetEnvironmentMiddlewares(stack *middleware.Stack, if err = addOpGetEnvironmentValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEnvironment(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -287,3 +290,12 @@ func environmentDeployedStateRetryable(ctx context.Context, input *GetEnvironmen return true, nil } + +func newServiceMetadataMiddleware_opGetEnvironment(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "GetEnvironment", + } +} diff --git a/service/proton/api_op_GetEnvironmentAccountConnection.go b/service/proton/api_op_GetEnvironmentAccountConnection.go index 945b0186252..a4741e5e5ef 100644 --- a/service/proton/api_op_GetEnvironmentAccountConnection.go +++ b/service/proton/api_op_GetEnvironmentAccountConnection.go @@ -96,6 +96,9 @@ func (c *Client) addOperationGetEnvironmentAccountConnectionMiddlewares(stack *m if err = addOpGetEnvironmentAccountConnectionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEnvironmentAccountConnection(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -107,3 +110,12 @@ func (c *Client) addOperationGetEnvironmentAccountConnectionMiddlewares(stack *m } return nil } + +func newServiceMetadataMiddleware_opGetEnvironmentAccountConnection(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "GetEnvironmentAccountConnection", + } +} diff --git a/service/proton/api_op_GetEnvironmentTemplate.go b/service/proton/api_op_GetEnvironmentTemplate.go index 3b7c368b317..e5dc1299d58 100644 --- a/service/proton/api_op_GetEnvironmentTemplate.go +++ b/service/proton/api_op_GetEnvironmentTemplate.go @@ -94,6 +94,9 @@ func (c *Client) addOperationGetEnvironmentTemplateMiddlewares(stack *middleware if err = addOpGetEnvironmentTemplateValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEnvironmentTemplate(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -105,3 +108,12 @@ func (c *Client) addOperationGetEnvironmentTemplateMiddlewares(stack *middleware } return nil } + +func newServiceMetadataMiddleware_opGetEnvironmentTemplate(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "GetEnvironmentTemplate", + } +} diff --git a/service/proton/api_op_GetEnvironmentTemplateVersion.go b/service/proton/api_op_GetEnvironmentTemplateVersion.go index 337a7856952..0a85a67c664 100644 --- a/service/proton/api_op_GetEnvironmentTemplateVersion.go +++ b/service/proton/api_op_GetEnvironmentTemplateVersion.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetEnvironmentTemplateVersionMiddlewares(stack *mid if err = addOpGetEnvironmentTemplateVersionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetEnvironmentTemplateVersion(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -318,3 +321,12 @@ func environmentTemplateVersionRegisteredStateRetryable(ctx context.Context, inp return true, nil } + +func newServiceMetadataMiddleware_opGetEnvironmentTemplateVersion(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "GetEnvironmentTemplateVersion", + } +} diff --git a/service/proton/api_op_GetService.go b/service/proton/api_op_GetService.go index a834829a26a..625db866f17 100644 --- a/service/proton/api_op_GetService.go +++ b/service/proton/api_op_GetService.go @@ -98,6 +98,9 @@ func (c *Client) addOperationGetServiceMiddlewares(stack *middleware.Stack, opti if err = addOpGetServiceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetService(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -865,3 +868,12 @@ func servicePipelineDeployedStateRetryable(ctx context.Context, input *GetServic return true, nil } + +func newServiceMetadataMiddleware_opGetService(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "GetService", + } +} diff --git a/service/proton/api_op_GetServiceInstance.go b/service/proton/api_op_GetServiceInstance.go index 003e8ba6c58..88b490932d8 100644 --- a/service/proton/api_op_GetServiceInstance.go +++ b/service/proton/api_op_GetServiceInstance.go @@ -105,6 +105,9 @@ func (c *Client) addOperationGetServiceInstanceMiddlewares(stack *middleware.Sta if err = addOpGetServiceInstanceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceInstance(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -294,3 +297,12 @@ func serviceInstanceDeployedStateRetryable(ctx context.Context, input *GetServic return true, nil } + +func newServiceMetadataMiddleware_opGetServiceInstance(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "GetServiceInstance", + } +} diff --git a/service/proton/api_op_GetServiceTemplate.go b/service/proton/api_op_GetServiceTemplate.go index aba895fef07..74f2ebb1e3e 100644 --- a/service/proton/api_op_GetServiceTemplate.go +++ b/service/proton/api_op_GetServiceTemplate.go @@ -94,6 +94,9 @@ func (c *Client) addOperationGetServiceTemplateMiddlewares(stack *middleware.Sta if err = addOpGetServiceTemplateValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceTemplate(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -105,3 +108,12 @@ func (c *Client) addOperationGetServiceTemplateMiddlewares(stack *middleware.Sta } return nil } + +func newServiceMetadataMiddleware_opGetServiceTemplate(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "GetServiceTemplate", + } +} diff --git a/service/proton/api_op_GetServiceTemplateVersion.go b/service/proton/api_op_GetServiceTemplateVersion.go index ebec7a4887e..8a8c8c4f1b4 100644 --- a/service/proton/api_op_GetServiceTemplateVersion.go +++ b/service/proton/api_op_GetServiceTemplateVersion.go @@ -109,6 +109,9 @@ func (c *Client) addOperationGetServiceTemplateVersionMiddlewares(stack *middlew if err = addOpGetServiceTemplateVersionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opGetServiceTemplateVersion(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -318,3 +321,12 @@ func serviceTemplateVersionRegisteredStateRetryable(ctx context.Context, input * return true, nil } + +func newServiceMetadataMiddleware_opGetServiceTemplateVersion(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "GetServiceTemplateVersion", + } +} diff --git a/service/proton/api_op_ListEnvironmentAccountConnections.go b/service/proton/api_op_ListEnvironmentAccountConnections.go index bdcd89daeef..1b3c94cc1c0 100644 --- a/service/proton/api_op_ListEnvironmentAccountConnections.go +++ b/service/proton/api_op_ListEnvironmentAccountConnections.go @@ -117,6 +117,9 @@ func (c *Client) addOperationListEnvironmentAccountConnectionsMiddlewares(stack if err = addOpListEnvironmentAccountConnectionsValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironmentAccountConnections(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -217,3 +220,12 @@ func (p *ListEnvironmentAccountConnectionsPaginator) NextPage(ctx context.Contex return result, nil } + +func newServiceMetadataMiddleware_opListEnvironmentAccountConnections(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "ListEnvironmentAccountConnections", + } +} diff --git a/service/proton/api_op_ListEnvironmentTemplateVersions.go b/service/proton/api_op_ListEnvironmentTemplateVersions.go index 4f9536f8532..1e805b46791 100644 --- a/service/proton/api_op_ListEnvironmentTemplateVersions.go +++ b/service/proton/api_op_ListEnvironmentTemplateVersions.go @@ -114,6 +114,9 @@ func (c *Client) addOperationListEnvironmentTemplateVersionsMiddlewares(stack *m if err = addOpListEnvironmentTemplateVersionsValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironmentTemplateVersions(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -215,3 +218,12 @@ func (p *ListEnvironmentTemplateVersionsPaginator) NextPage(ctx context.Context, return result, nil } + +func newServiceMetadataMiddleware_opListEnvironmentTemplateVersions(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "ListEnvironmentTemplateVersions", + } +} diff --git a/service/proton/api_op_ListEnvironmentTemplates.go b/service/proton/api_op_ListEnvironmentTemplates.go index 5fee09ed41e..63dc1322128 100644 --- a/service/proton/api_op_ListEnvironmentTemplates.go +++ b/service/proton/api_op_ListEnvironmentTemplates.go @@ -100,6 +100,9 @@ func (c *Client) addOperationListEnvironmentTemplatesMiddlewares(stack *middlewa if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironmentTemplates(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -199,3 +202,12 @@ func (p *ListEnvironmentTemplatesPaginator) NextPage(ctx context.Context, optFns return result, nil } + +func newServiceMetadataMiddleware_opListEnvironmentTemplates(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "ListEnvironmentTemplates", + } +} diff --git a/service/proton/api_op_ListEnvironments.go b/service/proton/api_op_ListEnvironments.go index 1be01911bf8..5e393b51233 100644 --- a/service/proton/api_op_ListEnvironments.go +++ b/service/proton/api_op_ListEnvironments.go @@ -104,6 +104,9 @@ func (c *Client) addOperationListEnvironmentsMiddlewares(stack *middleware.Stack if err = addOpListEnvironmentsValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListEnvironments(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -201,3 +204,12 @@ func (p *ListEnvironmentsPaginator) NextPage(ctx context.Context, optFns ...func return result, nil } + +func newServiceMetadataMiddleware_opListEnvironments(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "ListEnvironments", + } +} diff --git a/service/proton/api_op_ListServiceInstances.go b/service/proton/api_op_ListServiceInstances.go index 2039800fec0..15febc8bc8f 100644 --- a/service/proton/api_op_ListServiceInstances.go +++ b/service/proton/api_op_ListServiceInstances.go @@ -101,6 +101,9 @@ func (c *Client) addOperationListServiceInstancesMiddlewares(stack *middleware.S if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceInstances(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -199,3 +202,12 @@ func (p *ListServiceInstancesPaginator) NextPage(ctx context.Context, optFns ... return result, nil } + +func newServiceMetadataMiddleware_opListServiceInstances(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "ListServiceInstances", + } +} diff --git a/service/proton/api_op_ListServiceTemplateVersions.go b/service/proton/api_op_ListServiceTemplateVersions.go index 6d02c3586af..6997bb7d54b 100644 --- a/service/proton/api_op_ListServiceTemplateVersions.go +++ b/service/proton/api_op_ListServiceTemplateVersions.go @@ -113,6 +113,9 @@ func (c *Client) addOperationListServiceTemplateVersionsMiddlewares(stack *middl if err = addOpListServiceTemplateVersionsValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceTemplateVersions(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -213,3 +216,12 @@ func (p *ListServiceTemplateVersionsPaginator) NextPage(ctx context.Context, opt return result, nil } + +func newServiceMetadataMiddleware_opListServiceTemplateVersions(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "ListServiceTemplateVersions", + } +} diff --git a/service/proton/api_op_ListServiceTemplates.go b/service/proton/api_op_ListServiceTemplates.go index 01009429545..898bfe9107d 100644 --- a/service/proton/api_op_ListServiceTemplates.go +++ b/service/proton/api_op_ListServiceTemplates.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListServiceTemplatesMiddlewares(stack *middleware.S if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServiceTemplates(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -196,3 +199,12 @@ func (p *ListServiceTemplatesPaginator) NextPage(ctx context.Context, optFns ... return result, nil } + +func newServiceMetadataMiddleware_opListServiceTemplates(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "ListServiceTemplates", + } +} diff --git a/service/proton/api_op_ListServices.go b/service/proton/api_op_ListServices.go index 8c59fd55e83..1e0733d6719 100644 --- a/service/proton/api_op_ListServices.go +++ b/service/proton/api_op_ListServices.go @@ -98,6 +98,9 @@ func (c *Client) addOperationListServicesMiddlewares(stack *middleware.Stack, op if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opListServices(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -194,3 +197,12 @@ func (p *ListServicesPaginator) NextPage(ctx context.Context, optFns ...func(*Op return result, nil } + +func newServiceMetadataMiddleware_opListServices(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "ListServices", + } +} diff --git a/service/proton/api_op_RejectEnvironmentAccountConnection.go b/service/proton/api_op_RejectEnvironmentAccountConnection.go index 44cfcb5fa23..eef3782e918 100644 --- a/service/proton/api_op_RejectEnvironmentAccountConnection.go +++ b/service/proton/api_op_RejectEnvironmentAccountConnection.go @@ -99,6 +99,9 @@ func (c *Client) addOperationRejectEnvironmentAccountConnectionMiddlewares(stack if err = addOpRejectEnvironmentAccountConnectionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opRejectEnvironmentAccountConnection(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -110,3 +113,12 @@ func (c *Client) addOperationRejectEnvironmentAccountConnectionMiddlewares(stack } return nil } + +func newServiceMetadataMiddleware_opRejectEnvironmentAccountConnection(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "RejectEnvironmentAccountConnection", + } +} diff --git a/service/proton/api_op_UpdateAccountSettings.go b/service/proton/api_op_UpdateAccountSettings.go index a0892626c73..66ac17851fa 100644 --- a/service/proton/api_op_UpdateAccountSettings.go +++ b/service/proton/api_op_UpdateAccountSettings.go @@ -89,6 +89,9 @@ func (c *Client) addOperationUpdateAccountSettingsMiddlewares(stack *middleware. if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateAccountSettings(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -100,3 +103,12 @@ func (c *Client) addOperationUpdateAccountSettingsMiddlewares(stack *middleware. } return nil } + +func newServiceMetadataMiddleware_opUpdateAccountSettings(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "UpdateAccountSettings", + } +} diff --git a/service/proton/api_op_UpdateEnvironment.go b/service/proton/api_op_UpdateEnvironment.go index db8291afd2c..fb1f4029f4c 100644 --- a/service/proton/api_op_UpdateEnvironment.go +++ b/service/proton/api_op_UpdateEnvironment.go @@ -157,6 +157,9 @@ func (c *Client) addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stac if err = addOpUpdateEnvironmentValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEnvironment(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -168,3 +171,12 @@ func (c *Client) addOperationUpdateEnvironmentMiddlewares(stack *middleware.Stac } return nil } + +func newServiceMetadataMiddleware_opUpdateEnvironment(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "UpdateEnvironment", + } +} diff --git a/service/proton/api_op_UpdateEnvironmentAccountConnection.go b/service/proton/api_op_UpdateEnvironmentAccountConnection.go index 1708adf6f27..f801828e287 100644 --- a/service/proton/api_op_UpdateEnvironmentAccountConnection.go +++ b/service/proton/api_op_UpdateEnvironmentAccountConnection.go @@ -102,6 +102,9 @@ func (c *Client) addOperationUpdateEnvironmentAccountConnectionMiddlewares(stack if err = addOpUpdateEnvironmentAccountConnectionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEnvironmentAccountConnection(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -113,3 +116,12 @@ func (c *Client) addOperationUpdateEnvironmentAccountConnectionMiddlewares(stack } return nil } + +func newServiceMetadataMiddleware_opUpdateEnvironmentAccountConnection(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "UpdateEnvironmentAccountConnection", + } +} diff --git a/service/proton/api_op_UpdateEnvironmentTemplate.go b/service/proton/api_op_UpdateEnvironmentTemplate.go index b181f4f8874..1b48f7d0e1b 100644 --- a/service/proton/api_op_UpdateEnvironmentTemplate.go +++ b/service/proton/api_op_UpdateEnvironmentTemplate.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUpdateEnvironmentTemplateMiddlewares(stack *middlew if err = addOpUpdateEnvironmentTemplateValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEnvironmentTemplate(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -112,3 +115,12 @@ func (c *Client) addOperationUpdateEnvironmentTemplateMiddlewares(stack *middlew } return nil } + +func newServiceMetadataMiddleware_opUpdateEnvironmentTemplate(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "UpdateEnvironmentTemplate", + } +} diff --git a/service/proton/api_op_UpdateEnvironmentTemplateVersion.go b/service/proton/api_op_UpdateEnvironmentTemplateVersion.go index 218d41ca39b..0a5d46253f7 100644 --- a/service/proton/api_op_UpdateEnvironmentTemplateVersion.go +++ b/service/proton/api_op_UpdateEnvironmentTemplateVersion.go @@ -110,6 +110,9 @@ func (c *Client) addOperationUpdateEnvironmentTemplateVersionMiddlewares(stack * if err = addOpUpdateEnvironmentTemplateVersionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateEnvironmentTemplateVersion(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -121,3 +124,12 @@ func (c *Client) addOperationUpdateEnvironmentTemplateVersionMiddlewares(stack * } return nil } + +func newServiceMetadataMiddleware_opUpdateEnvironmentTemplateVersion(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "UpdateEnvironmentTemplateVersion", + } +} diff --git a/service/proton/api_op_UpdateService.go b/service/proton/api_op_UpdateService.go index 4970b9a679e..4ffa0a8d3f3 100644 --- a/service/proton/api_op_UpdateService.go +++ b/service/proton/api_op_UpdateService.go @@ -111,6 +111,9 @@ func (c *Client) addOperationUpdateServiceMiddlewares(stack *middleware.Stack, o if err = addOpUpdateServiceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateService(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -122,3 +125,12 @@ func (c *Client) addOperationUpdateServiceMiddlewares(stack *middleware.Stack, o } return nil } + +func newServiceMetadataMiddleware_opUpdateService(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "UpdateService", + } +} diff --git a/service/proton/api_op_UpdateServiceInstance.go b/service/proton/api_op_UpdateServiceInstance.go index a3d7faecd70..66f7c957a8b 100644 --- a/service/proton/api_op_UpdateServiceInstance.go +++ b/service/proton/api_op_UpdateServiceInstance.go @@ -141,6 +141,9 @@ func (c *Client) addOperationUpdateServiceInstanceMiddlewares(stack *middleware. if err = addOpUpdateServiceInstanceValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServiceInstance(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -152,3 +155,12 @@ func (c *Client) addOperationUpdateServiceInstanceMiddlewares(stack *middleware. } return nil } + +func newServiceMetadataMiddleware_opUpdateServiceInstance(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "UpdateServiceInstance", + } +} diff --git a/service/proton/api_op_UpdateServicePipeline.go b/service/proton/api_op_UpdateServicePipeline.go index 8bc47133956..371a1956190 100644 --- a/service/proton/api_op_UpdateServicePipeline.go +++ b/service/proton/api_op_UpdateServicePipeline.go @@ -140,6 +140,9 @@ func (c *Client) addOperationUpdateServicePipelineMiddlewares(stack *middleware. if err = addOpUpdateServicePipelineValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServicePipeline(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -151,3 +154,12 @@ func (c *Client) addOperationUpdateServicePipelineMiddlewares(stack *middleware. } return nil } + +func newServiceMetadataMiddleware_opUpdateServicePipeline(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "UpdateServicePipeline", + } +} diff --git a/service/proton/api_op_UpdateServiceTemplate.go b/service/proton/api_op_UpdateServiceTemplate.go index 5d4940fcdbc..4e12058c182 100644 --- a/service/proton/api_op_UpdateServiceTemplate.go +++ b/service/proton/api_op_UpdateServiceTemplate.go @@ -101,6 +101,9 @@ func (c *Client) addOperationUpdateServiceTemplateMiddlewares(stack *middleware. if err = addOpUpdateServiceTemplateValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServiceTemplate(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -112,3 +115,12 @@ func (c *Client) addOperationUpdateServiceTemplateMiddlewares(stack *middleware. } return nil } + +func newServiceMetadataMiddleware_opUpdateServiceTemplate(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "UpdateServiceTemplate", + } +} diff --git a/service/proton/api_op_UpdateServiceTemplateVersion.go b/service/proton/api_op_UpdateServiceTemplateVersion.go index 814c5660dd4..1b93d2e20f3 100644 --- a/service/proton/api_op_UpdateServiceTemplateVersion.go +++ b/service/proton/api_op_UpdateServiceTemplateVersion.go @@ -114,6 +114,9 @@ func (c *Client) addOperationUpdateServiceTemplateVersionMiddlewares(stack *midd if err = addOpUpdateServiceTemplateVersionValidationMiddleware(stack); err != nil { return err } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opUpdateServiceTemplateVersion(options.Region), middleware.Before); err != nil { + return err + } if err = addRequestIDRetrieverMiddleware(stack); err != nil { return err } @@ -125,3 +128,12 @@ func (c *Client) addOperationUpdateServiceTemplateVersionMiddlewares(stack *midd } return nil } + +func newServiceMetadataMiddleware_opUpdateServiceTemplateVersion(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + SigningName: "proton", + OperationName: "UpdateServiceTemplateVersion", + } +}