// UpdateEndpoint adds the middleware to the middleware stack based on the UpdateEndpointOptions.
UpdateEndpoint adds the middleware to the middleware stack based on the UpdateEndpointOptions.
// UpdateEndpoint adds the middleware to the middleware stack based on the UpdateEndpointOptions .
func UpdateEndpoint(stack *middleware.Stack, options UpdateEndpointOptions) error {
	return stack.Serialize.Insert(&s3shared.EnableDualstack{
		UseDualstack: options.UseDualstack,
		ServiceID:    "s3-control",
	}, "OperationSerializer", middleware.After)
}
func UpdateEndpoint ( stack * middleware . Stack , options UpdateEndpointOptions ) error { return stack . Serialize . Insert ( & s3shared . EnableDualstack { UseDualstack : options . UseDualstack , ServiceID : " " , } , " " , middleware . After ) }
UpdateEndpoint adds the middleware to the middleware stack based on the UpdateEndpointOptions.
UpdateEndpoint adds the middleware to the middleware stack based on the UpdateEndpointOptions .
// enable dual stack support