1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package devopsguru
4
5import (
6	"context"
7	"fmt"
8	"github.com/aws/aws-sdk-go-v2/service/devopsguru/types"
9	smithy "github.com/aws/smithy-go"
10	"github.com/aws/smithy-go/middleware"
11)
12
13type validateOpAddNotificationChannel struct {
14}
15
16func (*validateOpAddNotificationChannel) ID() string {
17	return "OperationInputValidation"
18}
19
20func (m *validateOpAddNotificationChannel) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
21	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
22) {
23	input, ok := in.Parameters.(*AddNotificationChannelInput)
24	if !ok {
25		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
26	}
27	if err := validateOpAddNotificationChannelInput(input); err != nil {
28		return out, metadata, err
29	}
30	return next.HandleInitialize(ctx, in)
31}
32
33type validateOpDescribeAccountOverview struct {
34}
35
36func (*validateOpDescribeAccountOverview) ID() string {
37	return "OperationInputValidation"
38}
39
40func (m *validateOpDescribeAccountOverview) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
41	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
42) {
43	input, ok := in.Parameters.(*DescribeAccountOverviewInput)
44	if !ok {
45		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
46	}
47	if err := validateOpDescribeAccountOverviewInput(input); err != nil {
48		return out, metadata, err
49	}
50	return next.HandleInitialize(ctx, in)
51}
52
53type validateOpDescribeAnomaly struct {
54}
55
56func (*validateOpDescribeAnomaly) ID() string {
57	return "OperationInputValidation"
58}
59
60func (m *validateOpDescribeAnomaly) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
61	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
62) {
63	input, ok := in.Parameters.(*DescribeAnomalyInput)
64	if !ok {
65		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
66	}
67	if err := validateOpDescribeAnomalyInput(input); err != nil {
68		return out, metadata, err
69	}
70	return next.HandleInitialize(ctx, in)
71}
72
73type validateOpDescribeInsight struct {
74}
75
76func (*validateOpDescribeInsight) ID() string {
77	return "OperationInputValidation"
78}
79
80func (m *validateOpDescribeInsight) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
81	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
82) {
83	input, ok := in.Parameters.(*DescribeInsightInput)
84	if !ok {
85		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
86	}
87	if err := validateOpDescribeInsightInput(input); err != nil {
88		return out, metadata, err
89	}
90	return next.HandleInitialize(ctx, in)
91}
92
93type validateOpDescribeResourceCollectionHealth struct {
94}
95
96func (*validateOpDescribeResourceCollectionHealth) ID() string {
97	return "OperationInputValidation"
98}
99
100func (m *validateOpDescribeResourceCollectionHealth) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
101	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
102) {
103	input, ok := in.Parameters.(*DescribeResourceCollectionHealthInput)
104	if !ok {
105		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
106	}
107	if err := validateOpDescribeResourceCollectionHealthInput(input); err != nil {
108		return out, metadata, err
109	}
110	return next.HandleInitialize(ctx, in)
111}
112
113type validateOpGetResourceCollection struct {
114}
115
116func (*validateOpGetResourceCollection) ID() string {
117	return "OperationInputValidation"
118}
119
120func (m *validateOpGetResourceCollection) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
121	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
122) {
123	input, ok := in.Parameters.(*GetResourceCollectionInput)
124	if !ok {
125		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
126	}
127	if err := validateOpGetResourceCollectionInput(input); err != nil {
128		return out, metadata, err
129	}
130	return next.HandleInitialize(ctx, in)
131}
132
133type validateOpListAnomaliesForInsight struct {
134}
135
136func (*validateOpListAnomaliesForInsight) ID() string {
137	return "OperationInputValidation"
138}
139
140func (m *validateOpListAnomaliesForInsight) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
141	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
142) {
143	input, ok := in.Parameters.(*ListAnomaliesForInsightInput)
144	if !ok {
145		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
146	}
147	if err := validateOpListAnomaliesForInsightInput(input); err != nil {
148		return out, metadata, err
149	}
150	return next.HandleInitialize(ctx, in)
151}
152
153type validateOpListEvents struct {
154}
155
156func (*validateOpListEvents) ID() string {
157	return "OperationInputValidation"
158}
159
160func (m *validateOpListEvents) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
161	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
162) {
163	input, ok := in.Parameters.(*ListEventsInput)
164	if !ok {
165		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
166	}
167	if err := validateOpListEventsInput(input); err != nil {
168		return out, metadata, err
169	}
170	return next.HandleInitialize(ctx, in)
171}
172
173type validateOpListInsights struct {
174}
175
176func (*validateOpListInsights) ID() string {
177	return "OperationInputValidation"
178}
179
180func (m *validateOpListInsights) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
181	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
182) {
183	input, ok := in.Parameters.(*ListInsightsInput)
184	if !ok {
185		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
186	}
187	if err := validateOpListInsightsInput(input); err != nil {
188		return out, metadata, err
189	}
190	return next.HandleInitialize(ctx, in)
191}
192
193type validateOpListRecommendations struct {
194}
195
196func (*validateOpListRecommendations) ID() string {
197	return "OperationInputValidation"
198}
199
200func (m *validateOpListRecommendations) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
201	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
202) {
203	input, ok := in.Parameters.(*ListRecommendationsInput)
204	if !ok {
205		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
206	}
207	if err := validateOpListRecommendationsInput(input); err != nil {
208		return out, metadata, err
209	}
210	return next.HandleInitialize(ctx, in)
211}
212
213type validateOpRemoveNotificationChannel struct {
214}
215
216func (*validateOpRemoveNotificationChannel) ID() string {
217	return "OperationInputValidation"
218}
219
220func (m *validateOpRemoveNotificationChannel) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
221	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
222) {
223	input, ok := in.Parameters.(*RemoveNotificationChannelInput)
224	if !ok {
225		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
226	}
227	if err := validateOpRemoveNotificationChannelInput(input); err != nil {
228		return out, metadata, err
229	}
230	return next.HandleInitialize(ctx, in)
231}
232
233type validateOpSearchInsights struct {
234}
235
236func (*validateOpSearchInsights) ID() string {
237	return "OperationInputValidation"
238}
239
240func (m *validateOpSearchInsights) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
241	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
242) {
243	input, ok := in.Parameters.(*SearchInsightsInput)
244	if !ok {
245		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
246	}
247	if err := validateOpSearchInsightsInput(input); err != nil {
248		return out, metadata, err
249	}
250	return next.HandleInitialize(ctx, in)
251}
252
253type validateOpUpdateResourceCollection struct {
254}
255
256func (*validateOpUpdateResourceCollection) ID() string {
257	return "OperationInputValidation"
258}
259
260func (m *validateOpUpdateResourceCollection) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
261	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
262) {
263	input, ok := in.Parameters.(*UpdateResourceCollectionInput)
264	if !ok {
265		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
266	}
267	if err := validateOpUpdateResourceCollectionInput(input); err != nil {
268		return out, metadata, err
269	}
270	return next.HandleInitialize(ctx, in)
271}
272
273type validateOpUpdateServiceIntegration struct {
274}
275
276func (*validateOpUpdateServiceIntegration) ID() string {
277	return "OperationInputValidation"
278}
279
280func (m *validateOpUpdateServiceIntegration) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
281	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
282) {
283	input, ok := in.Parameters.(*UpdateServiceIntegrationInput)
284	if !ok {
285		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
286	}
287	if err := validateOpUpdateServiceIntegrationInput(input); err != nil {
288		return out, metadata, err
289	}
290	return next.HandleInitialize(ctx, in)
291}
292
293func addOpAddNotificationChannelValidationMiddleware(stack *middleware.Stack) error {
294	return stack.Initialize.Add(&validateOpAddNotificationChannel{}, middleware.After)
295}
296
297func addOpDescribeAccountOverviewValidationMiddleware(stack *middleware.Stack) error {
298	return stack.Initialize.Add(&validateOpDescribeAccountOverview{}, middleware.After)
299}
300
301func addOpDescribeAnomalyValidationMiddleware(stack *middleware.Stack) error {
302	return stack.Initialize.Add(&validateOpDescribeAnomaly{}, middleware.After)
303}
304
305func addOpDescribeInsightValidationMiddleware(stack *middleware.Stack) error {
306	return stack.Initialize.Add(&validateOpDescribeInsight{}, middleware.After)
307}
308
309func addOpDescribeResourceCollectionHealthValidationMiddleware(stack *middleware.Stack) error {
310	return stack.Initialize.Add(&validateOpDescribeResourceCollectionHealth{}, middleware.After)
311}
312
313func addOpGetResourceCollectionValidationMiddleware(stack *middleware.Stack) error {
314	return stack.Initialize.Add(&validateOpGetResourceCollection{}, middleware.After)
315}
316
317func addOpListAnomaliesForInsightValidationMiddleware(stack *middleware.Stack) error {
318	return stack.Initialize.Add(&validateOpListAnomaliesForInsight{}, middleware.After)
319}
320
321func addOpListEventsValidationMiddleware(stack *middleware.Stack) error {
322	return stack.Initialize.Add(&validateOpListEvents{}, middleware.After)
323}
324
325func addOpListInsightsValidationMiddleware(stack *middleware.Stack) error {
326	return stack.Initialize.Add(&validateOpListInsights{}, middleware.After)
327}
328
329func addOpListRecommendationsValidationMiddleware(stack *middleware.Stack) error {
330	return stack.Initialize.Add(&validateOpListRecommendations{}, middleware.After)
331}
332
333func addOpRemoveNotificationChannelValidationMiddleware(stack *middleware.Stack) error {
334	return stack.Initialize.Add(&validateOpRemoveNotificationChannel{}, middleware.After)
335}
336
337func addOpSearchInsightsValidationMiddleware(stack *middleware.Stack) error {
338	return stack.Initialize.Add(&validateOpSearchInsights{}, middleware.After)
339}
340
341func addOpUpdateResourceCollectionValidationMiddleware(stack *middleware.Stack) error {
342	return stack.Initialize.Add(&validateOpUpdateResourceCollection{}, middleware.After)
343}
344
345func addOpUpdateServiceIntegrationValidationMiddleware(stack *middleware.Stack) error {
346	return stack.Initialize.Add(&validateOpUpdateServiceIntegration{}, middleware.After)
347}
348
349func validateEventTimeRange(v *types.EventTimeRange) error {
350	if v == nil {
351		return nil
352	}
353	invalidParams := smithy.InvalidParamsError{Context: "EventTimeRange"}
354	if v.FromTime == nil {
355		invalidParams.Add(smithy.NewErrParamRequired("FromTime"))
356	}
357	if v.ToTime == nil {
358		invalidParams.Add(smithy.NewErrParamRequired("ToTime"))
359	}
360	if invalidParams.Len() > 0 {
361		return invalidParams
362	} else {
363		return nil
364	}
365}
366
367func validateListEventsFilters(v *types.ListEventsFilters) error {
368	if v == nil {
369		return nil
370	}
371	invalidParams := smithy.InvalidParamsError{Context: "ListEventsFilters"}
372	if v.EventTimeRange != nil {
373		if err := validateEventTimeRange(v.EventTimeRange); err != nil {
374			invalidParams.AddNested("EventTimeRange", err.(smithy.InvalidParamsError))
375		}
376	}
377	if invalidParams.Len() > 0 {
378		return invalidParams
379	} else {
380		return nil
381	}
382}
383
384func validateListInsightsAnyStatusFilter(v *types.ListInsightsAnyStatusFilter) error {
385	if v == nil {
386		return nil
387	}
388	invalidParams := smithy.InvalidParamsError{Context: "ListInsightsAnyStatusFilter"}
389	if len(v.Type) == 0 {
390		invalidParams.Add(smithy.NewErrParamRequired("Type"))
391	}
392	if v.StartTimeRange == nil {
393		invalidParams.Add(smithy.NewErrParamRequired("StartTimeRange"))
394	}
395	if invalidParams.Len() > 0 {
396		return invalidParams
397	} else {
398		return nil
399	}
400}
401
402func validateListInsightsClosedStatusFilter(v *types.ListInsightsClosedStatusFilter) error {
403	if v == nil {
404		return nil
405	}
406	invalidParams := smithy.InvalidParamsError{Context: "ListInsightsClosedStatusFilter"}
407	if len(v.Type) == 0 {
408		invalidParams.Add(smithy.NewErrParamRequired("Type"))
409	}
410	if v.EndTimeRange == nil {
411		invalidParams.Add(smithy.NewErrParamRequired("EndTimeRange"))
412	}
413	if invalidParams.Len() > 0 {
414		return invalidParams
415	} else {
416		return nil
417	}
418}
419
420func validateListInsightsOngoingStatusFilter(v *types.ListInsightsOngoingStatusFilter) error {
421	if v == nil {
422		return nil
423	}
424	invalidParams := smithy.InvalidParamsError{Context: "ListInsightsOngoingStatusFilter"}
425	if len(v.Type) == 0 {
426		invalidParams.Add(smithy.NewErrParamRequired("Type"))
427	}
428	if invalidParams.Len() > 0 {
429		return invalidParams
430	} else {
431		return nil
432	}
433}
434
435func validateListInsightsStatusFilter(v *types.ListInsightsStatusFilter) error {
436	if v == nil {
437		return nil
438	}
439	invalidParams := smithy.InvalidParamsError{Context: "ListInsightsStatusFilter"}
440	if v.Ongoing != nil {
441		if err := validateListInsightsOngoingStatusFilter(v.Ongoing); err != nil {
442			invalidParams.AddNested("Ongoing", err.(smithy.InvalidParamsError))
443		}
444	}
445	if v.Closed != nil {
446		if err := validateListInsightsClosedStatusFilter(v.Closed); err != nil {
447			invalidParams.AddNested("Closed", err.(smithy.InvalidParamsError))
448		}
449	}
450	if v.Any != nil {
451		if err := validateListInsightsAnyStatusFilter(v.Any); err != nil {
452			invalidParams.AddNested("Any", err.(smithy.InvalidParamsError))
453		}
454	}
455	if invalidParams.Len() > 0 {
456		return invalidParams
457	} else {
458		return nil
459	}
460}
461
462func validateNotificationChannelConfig(v *types.NotificationChannelConfig) error {
463	if v == nil {
464		return nil
465	}
466	invalidParams := smithy.InvalidParamsError{Context: "NotificationChannelConfig"}
467	if v.Sns == nil {
468		invalidParams.Add(smithy.NewErrParamRequired("Sns"))
469	}
470	if invalidParams.Len() > 0 {
471		return invalidParams
472	} else {
473		return nil
474	}
475}
476
477func validateOpAddNotificationChannelInput(v *AddNotificationChannelInput) error {
478	if v == nil {
479		return nil
480	}
481	invalidParams := smithy.InvalidParamsError{Context: "AddNotificationChannelInput"}
482	if v.Config == nil {
483		invalidParams.Add(smithy.NewErrParamRequired("Config"))
484	} else if v.Config != nil {
485		if err := validateNotificationChannelConfig(v.Config); err != nil {
486			invalidParams.AddNested("Config", err.(smithy.InvalidParamsError))
487		}
488	}
489	if invalidParams.Len() > 0 {
490		return invalidParams
491	} else {
492		return nil
493	}
494}
495
496func validateOpDescribeAccountOverviewInput(v *DescribeAccountOverviewInput) error {
497	if v == nil {
498		return nil
499	}
500	invalidParams := smithy.InvalidParamsError{Context: "DescribeAccountOverviewInput"}
501	if v.FromTime == nil {
502		invalidParams.Add(smithy.NewErrParamRequired("FromTime"))
503	}
504	if invalidParams.Len() > 0 {
505		return invalidParams
506	} else {
507		return nil
508	}
509}
510
511func validateOpDescribeAnomalyInput(v *DescribeAnomalyInput) error {
512	if v == nil {
513		return nil
514	}
515	invalidParams := smithy.InvalidParamsError{Context: "DescribeAnomalyInput"}
516	if v.Id == nil {
517		invalidParams.Add(smithy.NewErrParamRequired("Id"))
518	}
519	if invalidParams.Len() > 0 {
520		return invalidParams
521	} else {
522		return nil
523	}
524}
525
526func validateOpDescribeInsightInput(v *DescribeInsightInput) error {
527	if v == nil {
528		return nil
529	}
530	invalidParams := smithy.InvalidParamsError{Context: "DescribeInsightInput"}
531	if v.Id == nil {
532		invalidParams.Add(smithy.NewErrParamRequired("Id"))
533	}
534	if invalidParams.Len() > 0 {
535		return invalidParams
536	} else {
537		return nil
538	}
539}
540
541func validateOpDescribeResourceCollectionHealthInput(v *DescribeResourceCollectionHealthInput) error {
542	if v == nil {
543		return nil
544	}
545	invalidParams := smithy.InvalidParamsError{Context: "DescribeResourceCollectionHealthInput"}
546	if len(v.ResourceCollectionType) == 0 {
547		invalidParams.Add(smithy.NewErrParamRequired("ResourceCollectionType"))
548	}
549	if invalidParams.Len() > 0 {
550		return invalidParams
551	} else {
552		return nil
553	}
554}
555
556func validateOpGetResourceCollectionInput(v *GetResourceCollectionInput) error {
557	if v == nil {
558		return nil
559	}
560	invalidParams := smithy.InvalidParamsError{Context: "GetResourceCollectionInput"}
561	if len(v.ResourceCollectionType) == 0 {
562		invalidParams.Add(smithy.NewErrParamRequired("ResourceCollectionType"))
563	}
564	if invalidParams.Len() > 0 {
565		return invalidParams
566	} else {
567		return nil
568	}
569}
570
571func validateOpListAnomaliesForInsightInput(v *ListAnomaliesForInsightInput) error {
572	if v == nil {
573		return nil
574	}
575	invalidParams := smithy.InvalidParamsError{Context: "ListAnomaliesForInsightInput"}
576	if v.InsightId == nil {
577		invalidParams.Add(smithy.NewErrParamRequired("InsightId"))
578	}
579	if invalidParams.Len() > 0 {
580		return invalidParams
581	} else {
582		return nil
583	}
584}
585
586func validateOpListEventsInput(v *ListEventsInput) error {
587	if v == nil {
588		return nil
589	}
590	invalidParams := smithy.InvalidParamsError{Context: "ListEventsInput"}
591	if v.Filters == nil {
592		invalidParams.Add(smithy.NewErrParamRequired("Filters"))
593	} else if v.Filters != nil {
594		if err := validateListEventsFilters(v.Filters); err != nil {
595			invalidParams.AddNested("Filters", err.(smithy.InvalidParamsError))
596		}
597	}
598	if invalidParams.Len() > 0 {
599		return invalidParams
600	} else {
601		return nil
602	}
603}
604
605func validateOpListInsightsInput(v *ListInsightsInput) error {
606	if v == nil {
607		return nil
608	}
609	invalidParams := smithy.InvalidParamsError{Context: "ListInsightsInput"}
610	if v.StatusFilter == nil {
611		invalidParams.Add(smithy.NewErrParamRequired("StatusFilter"))
612	} else if v.StatusFilter != nil {
613		if err := validateListInsightsStatusFilter(v.StatusFilter); err != nil {
614			invalidParams.AddNested("StatusFilter", err.(smithy.InvalidParamsError))
615		}
616	}
617	if invalidParams.Len() > 0 {
618		return invalidParams
619	} else {
620		return nil
621	}
622}
623
624func validateOpListRecommendationsInput(v *ListRecommendationsInput) error {
625	if v == nil {
626		return nil
627	}
628	invalidParams := smithy.InvalidParamsError{Context: "ListRecommendationsInput"}
629	if v.InsightId == nil {
630		invalidParams.Add(smithy.NewErrParamRequired("InsightId"))
631	}
632	if invalidParams.Len() > 0 {
633		return invalidParams
634	} else {
635		return nil
636	}
637}
638
639func validateOpRemoveNotificationChannelInput(v *RemoveNotificationChannelInput) error {
640	if v == nil {
641		return nil
642	}
643	invalidParams := smithy.InvalidParamsError{Context: "RemoveNotificationChannelInput"}
644	if v.Id == nil {
645		invalidParams.Add(smithy.NewErrParamRequired("Id"))
646	}
647	if invalidParams.Len() > 0 {
648		return invalidParams
649	} else {
650		return nil
651	}
652}
653
654func validateOpSearchInsightsInput(v *SearchInsightsInput) error {
655	if v == nil {
656		return nil
657	}
658	invalidParams := smithy.InvalidParamsError{Context: "SearchInsightsInput"}
659	if v.StartTimeRange == nil {
660		invalidParams.Add(smithy.NewErrParamRequired("StartTimeRange"))
661	}
662	if len(v.Type) == 0 {
663		invalidParams.Add(smithy.NewErrParamRequired("Type"))
664	}
665	if invalidParams.Len() > 0 {
666		return invalidParams
667	} else {
668		return nil
669	}
670}
671
672func validateOpUpdateResourceCollectionInput(v *UpdateResourceCollectionInput) error {
673	if v == nil {
674		return nil
675	}
676	invalidParams := smithy.InvalidParamsError{Context: "UpdateResourceCollectionInput"}
677	if len(v.Action) == 0 {
678		invalidParams.Add(smithy.NewErrParamRequired("Action"))
679	}
680	if v.ResourceCollection == nil {
681		invalidParams.Add(smithy.NewErrParamRequired("ResourceCollection"))
682	}
683	if invalidParams.Len() > 0 {
684		return invalidParams
685	} else {
686		return nil
687	}
688}
689
690func validateOpUpdateServiceIntegrationInput(v *UpdateServiceIntegrationInput) error {
691	if v == nil {
692		return nil
693	}
694	invalidParams := smithy.InvalidParamsError{Context: "UpdateServiceIntegrationInput"}
695	if v.ServiceIntegration == nil {
696		invalidParams.Add(smithy.NewErrParamRequired("ServiceIntegration"))
697	}
698	if invalidParams.Len() > 0 {
699		return invalidParams
700	} else {
701		return nil
702	}
703}
704