1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package alexaforbusiness
4
5import (
6	"context"
7	"fmt"
8	"github.com/aws/aws-sdk-go-v2/service/alexaforbusiness/types"
9	smithy "github.com/aws/smithy-go"
10	"github.com/aws/smithy-go/middleware"
11)
12
13type validateOpApproveSkill struct {
14}
15
16func (*validateOpApproveSkill) ID() string {
17	return "OperationInputValidation"
18}
19
20func (m *validateOpApproveSkill) 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.(*ApproveSkillInput)
24	if !ok {
25		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
26	}
27	if err := validateOpApproveSkillInput(input); err != nil {
28		return out, metadata, err
29	}
30	return next.HandleInitialize(ctx, in)
31}
32
33type validateOpAssociateContactWithAddressBook struct {
34}
35
36func (*validateOpAssociateContactWithAddressBook) ID() string {
37	return "OperationInputValidation"
38}
39
40func (m *validateOpAssociateContactWithAddressBook) 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.(*AssociateContactWithAddressBookInput)
44	if !ok {
45		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
46	}
47	if err := validateOpAssociateContactWithAddressBookInput(input); err != nil {
48		return out, metadata, err
49	}
50	return next.HandleInitialize(ctx, in)
51}
52
53type validateOpAssociateDeviceWithNetworkProfile struct {
54}
55
56func (*validateOpAssociateDeviceWithNetworkProfile) ID() string {
57	return "OperationInputValidation"
58}
59
60func (m *validateOpAssociateDeviceWithNetworkProfile) 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.(*AssociateDeviceWithNetworkProfileInput)
64	if !ok {
65		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
66	}
67	if err := validateOpAssociateDeviceWithNetworkProfileInput(input); err != nil {
68		return out, metadata, err
69	}
70	return next.HandleInitialize(ctx, in)
71}
72
73type validateOpAssociateSkillWithSkillGroup struct {
74}
75
76func (*validateOpAssociateSkillWithSkillGroup) ID() string {
77	return "OperationInputValidation"
78}
79
80func (m *validateOpAssociateSkillWithSkillGroup) 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.(*AssociateSkillWithSkillGroupInput)
84	if !ok {
85		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
86	}
87	if err := validateOpAssociateSkillWithSkillGroupInput(input); err != nil {
88		return out, metadata, err
89	}
90	return next.HandleInitialize(ctx, in)
91}
92
93type validateOpAssociateSkillWithUsers struct {
94}
95
96func (*validateOpAssociateSkillWithUsers) ID() string {
97	return "OperationInputValidation"
98}
99
100func (m *validateOpAssociateSkillWithUsers) 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.(*AssociateSkillWithUsersInput)
104	if !ok {
105		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
106	}
107	if err := validateOpAssociateSkillWithUsersInput(input); err != nil {
108		return out, metadata, err
109	}
110	return next.HandleInitialize(ctx, in)
111}
112
113type validateOpCreateAddressBook struct {
114}
115
116func (*validateOpCreateAddressBook) ID() string {
117	return "OperationInputValidation"
118}
119
120func (m *validateOpCreateAddressBook) 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.(*CreateAddressBookInput)
124	if !ok {
125		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
126	}
127	if err := validateOpCreateAddressBookInput(input); err != nil {
128		return out, metadata, err
129	}
130	return next.HandleInitialize(ctx, in)
131}
132
133type validateOpCreateBusinessReportSchedule struct {
134}
135
136func (*validateOpCreateBusinessReportSchedule) ID() string {
137	return "OperationInputValidation"
138}
139
140func (m *validateOpCreateBusinessReportSchedule) 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.(*CreateBusinessReportScheduleInput)
144	if !ok {
145		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
146	}
147	if err := validateOpCreateBusinessReportScheduleInput(input); err != nil {
148		return out, metadata, err
149	}
150	return next.HandleInitialize(ctx, in)
151}
152
153type validateOpCreateConferenceProvider struct {
154}
155
156func (*validateOpCreateConferenceProvider) ID() string {
157	return "OperationInputValidation"
158}
159
160func (m *validateOpCreateConferenceProvider) 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.(*CreateConferenceProviderInput)
164	if !ok {
165		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
166	}
167	if err := validateOpCreateConferenceProviderInput(input); err != nil {
168		return out, metadata, err
169	}
170	return next.HandleInitialize(ctx, in)
171}
172
173type validateOpCreateContact struct {
174}
175
176func (*validateOpCreateContact) ID() string {
177	return "OperationInputValidation"
178}
179
180func (m *validateOpCreateContact) 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.(*CreateContactInput)
184	if !ok {
185		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
186	}
187	if err := validateOpCreateContactInput(input); err != nil {
188		return out, metadata, err
189	}
190	return next.HandleInitialize(ctx, in)
191}
192
193type validateOpCreateGatewayGroup struct {
194}
195
196func (*validateOpCreateGatewayGroup) ID() string {
197	return "OperationInputValidation"
198}
199
200func (m *validateOpCreateGatewayGroup) 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.(*CreateGatewayGroupInput)
204	if !ok {
205		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
206	}
207	if err := validateOpCreateGatewayGroupInput(input); err != nil {
208		return out, metadata, err
209	}
210	return next.HandleInitialize(ctx, in)
211}
212
213type validateOpCreateNetworkProfile struct {
214}
215
216func (*validateOpCreateNetworkProfile) ID() string {
217	return "OperationInputValidation"
218}
219
220func (m *validateOpCreateNetworkProfile) 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.(*CreateNetworkProfileInput)
224	if !ok {
225		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
226	}
227	if err := validateOpCreateNetworkProfileInput(input); err != nil {
228		return out, metadata, err
229	}
230	return next.HandleInitialize(ctx, in)
231}
232
233type validateOpCreateProfile struct {
234}
235
236func (*validateOpCreateProfile) ID() string {
237	return "OperationInputValidation"
238}
239
240func (m *validateOpCreateProfile) 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.(*CreateProfileInput)
244	if !ok {
245		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
246	}
247	if err := validateOpCreateProfileInput(input); err != nil {
248		return out, metadata, err
249	}
250	return next.HandleInitialize(ctx, in)
251}
252
253type validateOpCreateRoom struct {
254}
255
256func (*validateOpCreateRoom) ID() string {
257	return "OperationInputValidation"
258}
259
260func (m *validateOpCreateRoom) 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.(*CreateRoomInput)
264	if !ok {
265		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
266	}
267	if err := validateOpCreateRoomInput(input); err != nil {
268		return out, metadata, err
269	}
270	return next.HandleInitialize(ctx, in)
271}
272
273type validateOpCreateSkillGroup struct {
274}
275
276func (*validateOpCreateSkillGroup) ID() string {
277	return "OperationInputValidation"
278}
279
280func (m *validateOpCreateSkillGroup) 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.(*CreateSkillGroupInput)
284	if !ok {
285		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
286	}
287	if err := validateOpCreateSkillGroupInput(input); err != nil {
288		return out, metadata, err
289	}
290	return next.HandleInitialize(ctx, in)
291}
292
293type validateOpCreateUser struct {
294}
295
296func (*validateOpCreateUser) ID() string {
297	return "OperationInputValidation"
298}
299
300func (m *validateOpCreateUser) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
301	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
302) {
303	input, ok := in.Parameters.(*CreateUserInput)
304	if !ok {
305		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
306	}
307	if err := validateOpCreateUserInput(input); err != nil {
308		return out, metadata, err
309	}
310	return next.HandleInitialize(ctx, in)
311}
312
313type validateOpDeleteAddressBook struct {
314}
315
316func (*validateOpDeleteAddressBook) ID() string {
317	return "OperationInputValidation"
318}
319
320func (m *validateOpDeleteAddressBook) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
321	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
322) {
323	input, ok := in.Parameters.(*DeleteAddressBookInput)
324	if !ok {
325		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
326	}
327	if err := validateOpDeleteAddressBookInput(input); err != nil {
328		return out, metadata, err
329	}
330	return next.HandleInitialize(ctx, in)
331}
332
333type validateOpDeleteBusinessReportSchedule struct {
334}
335
336func (*validateOpDeleteBusinessReportSchedule) ID() string {
337	return "OperationInputValidation"
338}
339
340func (m *validateOpDeleteBusinessReportSchedule) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
341	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
342) {
343	input, ok := in.Parameters.(*DeleteBusinessReportScheduleInput)
344	if !ok {
345		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
346	}
347	if err := validateOpDeleteBusinessReportScheduleInput(input); err != nil {
348		return out, metadata, err
349	}
350	return next.HandleInitialize(ctx, in)
351}
352
353type validateOpDeleteConferenceProvider struct {
354}
355
356func (*validateOpDeleteConferenceProvider) ID() string {
357	return "OperationInputValidation"
358}
359
360func (m *validateOpDeleteConferenceProvider) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
361	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
362) {
363	input, ok := in.Parameters.(*DeleteConferenceProviderInput)
364	if !ok {
365		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
366	}
367	if err := validateOpDeleteConferenceProviderInput(input); err != nil {
368		return out, metadata, err
369	}
370	return next.HandleInitialize(ctx, in)
371}
372
373type validateOpDeleteContact struct {
374}
375
376func (*validateOpDeleteContact) ID() string {
377	return "OperationInputValidation"
378}
379
380func (m *validateOpDeleteContact) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
381	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
382) {
383	input, ok := in.Parameters.(*DeleteContactInput)
384	if !ok {
385		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
386	}
387	if err := validateOpDeleteContactInput(input); err != nil {
388		return out, metadata, err
389	}
390	return next.HandleInitialize(ctx, in)
391}
392
393type validateOpDeleteDevice struct {
394}
395
396func (*validateOpDeleteDevice) ID() string {
397	return "OperationInputValidation"
398}
399
400func (m *validateOpDeleteDevice) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
401	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
402) {
403	input, ok := in.Parameters.(*DeleteDeviceInput)
404	if !ok {
405		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
406	}
407	if err := validateOpDeleteDeviceInput(input); err != nil {
408		return out, metadata, err
409	}
410	return next.HandleInitialize(ctx, in)
411}
412
413type validateOpDeleteDeviceUsageData struct {
414}
415
416func (*validateOpDeleteDeviceUsageData) ID() string {
417	return "OperationInputValidation"
418}
419
420func (m *validateOpDeleteDeviceUsageData) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
421	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
422) {
423	input, ok := in.Parameters.(*DeleteDeviceUsageDataInput)
424	if !ok {
425		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
426	}
427	if err := validateOpDeleteDeviceUsageDataInput(input); err != nil {
428		return out, metadata, err
429	}
430	return next.HandleInitialize(ctx, in)
431}
432
433type validateOpDeleteGatewayGroup struct {
434}
435
436func (*validateOpDeleteGatewayGroup) ID() string {
437	return "OperationInputValidation"
438}
439
440func (m *validateOpDeleteGatewayGroup) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
441	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
442) {
443	input, ok := in.Parameters.(*DeleteGatewayGroupInput)
444	if !ok {
445		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
446	}
447	if err := validateOpDeleteGatewayGroupInput(input); err != nil {
448		return out, metadata, err
449	}
450	return next.HandleInitialize(ctx, in)
451}
452
453type validateOpDeleteNetworkProfile struct {
454}
455
456func (*validateOpDeleteNetworkProfile) ID() string {
457	return "OperationInputValidation"
458}
459
460func (m *validateOpDeleteNetworkProfile) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
461	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
462) {
463	input, ok := in.Parameters.(*DeleteNetworkProfileInput)
464	if !ok {
465		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
466	}
467	if err := validateOpDeleteNetworkProfileInput(input); err != nil {
468		return out, metadata, err
469	}
470	return next.HandleInitialize(ctx, in)
471}
472
473type validateOpDeleteRoomSkillParameter struct {
474}
475
476func (*validateOpDeleteRoomSkillParameter) ID() string {
477	return "OperationInputValidation"
478}
479
480func (m *validateOpDeleteRoomSkillParameter) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
481	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
482) {
483	input, ok := in.Parameters.(*DeleteRoomSkillParameterInput)
484	if !ok {
485		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
486	}
487	if err := validateOpDeleteRoomSkillParameterInput(input); err != nil {
488		return out, metadata, err
489	}
490	return next.HandleInitialize(ctx, in)
491}
492
493type validateOpDeleteSkillAuthorization struct {
494}
495
496func (*validateOpDeleteSkillAuthorization) ID() string {
497	return "OperationInputValidation"
498}
499
500func (m *validateOpDeleteSkillAuthorization) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
501	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
502) {
503	input, ok := in.Parameters.(*DeleteSkillAuthorizationInput)
504	if !ok {
505		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
506	}
507	if err := validateOpDeleteSkillAuthorizationInput(input); err != nil {
508		return out, metadata, err
509	}
510	return next.HandleInitialize(ctx, in)
511}
512
513type validateOpDeleteUser struct {
514}
515
516func (*validateOpDeleteUser) ID() string {
517	return "OperationInputValidation"
518}
519
520func (m *validateOpDeleteUser) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
521	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
522) {
523	input, ok := in.Parameters.(*DeleteUserInput)
524	if !ok {
525		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
526	}
527	if err := validateOpDeleteUserInput(input); err != nil {
528		return out, metadata, err
529	}
530	return next.HandleInitialize(ctx, in)
531}
532
533type validateOpDisassociateContactFromAddressBook struct {
534}
535
536func (*validateOpDisassociateContactFromAddressBook) ID() string {
537	return "OperationInputValidation"
538}
539
540func (m *validateOpDisassociateContactFromAddressBook) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
541	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
542) {
543	input, ok := in.Parameters.(*DisassociateContactFromAddressBookInput)
544	if !ok {
545		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
546	}
547	if err := validateOpDisassociateContactFromAddressBookInput(input); err != nil {
548		return out, metadata, err
549	}
550	return next.HandleInitialize(ctx, in)
551}
552
553type validateOpDisassociateSkillFromSkillGroup struct {
554}
555
556func (*validateOpDisassociateSkillFromSkillGroup) ID() string {
557	return "OperationInputValidation"
558}
559
560func (m *validateOpDisassociateSkillFromSkillGroup) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
561	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
562) {
563	input, ok := in.Parameters.(*DisassociateSkillFromSkillGroupInput)
564	if !ok {
565		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
566	}
567	if err := validateOpDisassociateSkillFromSkillGroupInput(input); err != nil {
568		return out, metadata, err
569	}
570	return next.HandleInitialize(ctx, in)
571}
572
573type validateOpDisassociateSkillFromUsers struct {
574}
575
576func (*validateOpDisassociateSkillFromUsers) ID() string {
577	return "OperationInputValidation"
578}
579
580func (m *validateOpDisassociateSkillFromUsers) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
581	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
582) {
583	input, ok := in.Parameters.(*DisassociateSkillFromUsersInput)
584	if !ok {
585		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
586	}
587	if err := validateOpDisassociateSkillFromUsersInput(input); err != nil {
588		return out, metadata, err
589	}
590	return next.HandleInitialize(ctx, in)
591}
592
593type validateOpForgetSmartHomeAppliances struct {
594}
595
596func (*validateOpForgetSmartHomeAppliances) ID() string {
597	return "OperationInputValidation"
598}
599
600func (m *validateOpForgetSmartHomeAppliances) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
601	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
602) {
603	input, ok := in.Parameters.(*ForgetSmartHomeAppliancesInput)
604	if !ok {
605		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
606	}
607	if err := validateOpForgetSmartHomeAppliancesInput(input); err != nil {
608		return out, metadata, err
609	}
610	return next.HandleInitialize(ctx, in)
611}
612
613type validateOpGetAddressBook struct {
614}
615
616func (*validateOpGetAddressBook) ID() string {
617	return "OperationInputValidation"
618}
619
620func (m *validateOpGetAddressBook) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
621	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
622) {
623	input, ok := in.Parameters.(*GetAddressBookInput)
624	if !ok {
625		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
626	}
627	if err := validateOpGetAddressBookInput(input); err != nil {
628		return out, metadata, err
629	}
630	return next.HandleInitialize(ctx, in)
631}
632
633type validateOpGetConferenceProvider struct {
634}
635
636func (*validateOpGetConferenceProvider) ID() string {
637	return "OperationInputValidation"
638}
639
640func (m *validateOpGetConferenceProvider) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
641	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
642) {
643	input, ok := in.Parameters.(*GetConferenceProviderInput)
644	if !ok {
645		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
646	}
647	if err := validateOpGetConferenceProviderInput(input); err != nil {
648		return out, metadata, err
649	}
650	return next.HandleInitialize(ctx, in)
651}
652
653type validateOpGetContact struct {
654}
655
656func (*validateOpGetContact) ID() string {
657	return "OperationInputValidation"
658}
659
660func (m *validateOpGetContact) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
661	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
662) {
663	input, ok := in.Parameters.(*GetContactInput)
664	if !ok {
665		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
666	}
667	if err := validateOpGetContactInput(input); err != nil {
668		return out, metadata, err
669	}
670	return next.HandleInitialize(ctx, in)
671}
672
673type validateOpGetGatewayGroup struct {
674}
675
676func (*validateOpGetGatewayGroup) ID() string {
677	return "OperationInputValidation"
678}
679
680func (m *validateOpGetGatewayGroup) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
681	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
682) {
683	input, ok := in.Parameters.(*GetGatewayGroupInput)
684	if !ok {
685		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
686	}
687	if err := validateOpGetGatewayGroupInput(input); err != nil {
688		return out, metadata, err
689	}
690	return next.HandleInitialize(ctx, in)
691}
692
693type validateOpGetGateway struct {
694}
695
696func (*validateOpGetGateway) ID() string {
697	return "OperationInputValidation"
698}
699
700func (m *validateOpGetGateway) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
701	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
702) {
703	input, ok := in.Parameters.(*GetGatewayInput)
704	if !ok {
705		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
706	}
707	if err := validateOpGetGatewayInput(input); err != nil {
708		return out, metadata, err
709	}
710	return next.HandleInitialize(ctx, in)
711}
712
713type validateOpGetNetworkProfile struct {
714}
715
716func (*validateOpGetNetworkProfile) ID() string {
717	return "OperationInputValidation"
718}
719
720func (m *validateOpGetNetworkProfile) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
721	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
722) {
723	input, ok := in.Parameters.(*GetNetworkProfileInput)
724	if !ok {
725		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
726	}
727	if err := validateOpGetNetworkProfileInput(input); err != nil {
728		return out, metadata, err
729	}
730	return next.HandleInitialize(ctx, in)
731}
732
733type validateOpGetRoomSkillParameter struct {
734}
735
736func (*validateOpGetRoomSkillParameter) ID() string {
737	return "OperationInputValidation"
738}
739
740func (m *validateOpGetRoomSkillParameter) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
741	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
742) {
743	input, ok := in.Parameters.(*GetRoomSkillParameterInput)
744	if !ok {
745		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
746	}
747	if err := validateOpGetRoomSkillParameterInput(input); err != nil {
748		return out, metadata, err
749	}
750	return next.HandleInitialize(ctx, in)
751}
752
753type validateOpListDeviceEvents struct {
754}
755
756func (*validateOpListDeviceEvents) ID() string {
757	return "OperationInputValidation"
758}
759
760func (m *validateOpListDeviceEvents) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
761	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
762) {
763	input, ok := in.Parameters.(*ListDeviceEventsInput)
764	if !ok {
765		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
766	}
767	if err := validateOpListDeviceEventsInput(input); err != nil {
768		return out, metadata, err
769	}
770	return next.HandleInitialize(ctx, in)
771}
772
773type validateOpListSkillsStoreSkillsByCategory struct {
774}
775
776func (*validateOpListSkillsStoreSkillsByCategory) ID() string {
777	return "OperationInputValidation"
778}
779
780func (m *validateOpListSkillsStoreSkillsByCategory) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
781	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
782) {
783	input, ok := in.Parameters.(*ListSkillsStoreSkillsByCategoryInput)
784	if !ok {
785		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
786	}
787	if err := validateOpListSkillsStoreSkillsByCategoryInput(input); err != nil {
788		return out, metadata, err
789	}
790	return next.HandleInitialize(ctx, in)
791}
792
793type validateOpListSmartHomeAppliances struct {
794}
795
796func (*validateOpListSmartHomeAppliances) ID() string {
797	return "OperationInputValidation"
798}
799
800func (m *validateOpListSmartHomeAppliances) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
801	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
802) {
803	input, ok := in.Parameters.(*ListSmartHomeAppliancesInput)
804	if !ok {
805		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
806	}
807	if err := validateOpListSmartHomeAppliancesInput(input); err != nil {
808		return out, metadata, err
809	}
810	return next.HandleInitialize(ctx, in)
811}
812
813type validateOpListTags struct {
814}
815
816func (*validateOpListTags) ID() string {
817	return "OperationInputValidation"
818}
819
820func (m *validateOpListTags) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
821	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
822) {
823	input, ok := in.Parameters.(*ListTagsInput)
824	if !ok {
825		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
826	}
827	if err := validateOpListTagsInput(input); err != nil {
828		return out, metadata, err
829	}
830	return next.HandleInitialize(ctx, in)
831}
832
833type validateOpPutConferencePreference struct {
834}
835
836func (*validateOpPutConferencePreference) ID() string {
837	return "OperationInputValidation"
838}
839
840func (m *validateOpPutConferencePreference) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
841	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
842) {
843	input, ok := in.Parameters.(*PutConferencePreferenceInput)
844	if !ok {
845		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
846	}
847	if err := validateOpPutConferencePreferenceInput(input); err != nil {
848		return out, metadata, err
849	}
850	return next.HandleInitialize(ctx, in)
851}
852
853type validateOpPutInvitationConfiguration struct {
854}
855
856func (*validateOpPutInvitationConfiguration) ID() string {
857	return "OperationInputValidation"
858}
859
860func (m *validateOpPutInvitationConfiguration) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
861	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
862) {
863	input, ok := in.Parameters.(*PutInvitationConfigurationInput)
864	if !ok {
865		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
866	}
867	if err := validateOpPutInvitationConfigurationInput(input); err != nil {
868		return out, metadata, err
869	}
870	return next.HandleInitialize(ctx, in)
871}
872
873type validateOpPutRoomSkillParameter struct {
874}
875
876func (*validateOpPutRoomSkillParameter) ID() string {
877	return "OperationInputValidation"
878}
879
880func (m *validateOpPutRoomSkillParameter) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
881	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
882) {
883	input, ok := in.Parameters.(*PutRoomSkillParameterInput)
884	if !ok {
885		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
886	}
887	if err := validateOpPutRoomSkillParameterInput(input); err != nil {
888		return out, metadata, err
889	}
890	return next.HandleInitialize(ctx, in)
891}
892
893type validateOpPutSkillAuthorization struct {
894}
895
896func (*validateOpPutSkillAuthorization) ID() string {
897	return "OperationInputValidation"
898}
899
900func (m *validateOpPutSkillAuthorization) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
901	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
902) {
903	input, ok := in.Parameters.(*PutSkillAuthorizationInput)
904	if !ok {
905		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
906	}
907	if err := validateOpPutSkillAuthorizationInput(input); err != nil {
908		return out, metadata, err
909	}
910	return next.HandleInitialize(ctx, in)
911}
912
913type validateOpRegisterAVSDevice struct {
914}
915
916func (*validateOpRegisterAVSDevice) ID() string {
917	return "OperationInputValidation"
918}
919
920func (m *validateOpRegisterAVSDevice) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
921	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
922) {
923	input, ok := in.Parameters.(*RegisterAVSDeviceInput)
924	if !ok {
925		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
926	}
927	if err := validateOpRegisterAVSDeviceInput(input); err != nil {
928		return out, metadata, err
929	}
930	return next.HandleInitialize(ctx, in)
931}
932
933type validateOpRejectSkill struct {
934}
935
936func (*validateOpRejectSkill) ID() string {
937	return "OperationInputValidation"
938}
939
940func (m *validateOpRejectSkill) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
941	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
942) {
943	input, ok := in.Parameters.(*RejectSkillInput)
944	if !ok {
945		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
946	}
947	if err := validateOpRejectSkillInput(input); err != nil {
948		return out, metadata, err
949	}
950	return next.HandleInitialize(ctx, in)
951}
952
953type validateOpResolveRoom struct {
954}
955
956func (*validateOpResolveRoom) ID() string {
957	return "OperationInputValidation"
958}
959
960func (m *validateOpResolveRoom) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
961	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
962) {
963	input, ok := in.Parameters.(*ResolveRoomInput)
964	if !ok {
965		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
966	}
967	if err := validateOpResolveRoomInput(input); err != nil {
968		return out, metadata, err
969	}
970	return next.HandleInitialize(ctx, in)
971}
972
973type validateOpSearchAddressBooks struct {
974}
975
976func (*validateOpSearchAddressBooks) ID() string {
977	return "OperationInputValidation"
978}
979
980func (m *validateOpSearchAddressBooks) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
981	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
982) {
983	input, ok := in.Parameters.(*SearchAddressBooksInput)
984	if !ok {
985		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
986	}
987	if err := validateOpSearchAddressBooksInput(input); err != nil {
988		return out, metadata, err
989	}
990	return next.HandleInitialize(ctx, in)
991}
992
993type validateOpSearchContacts struct {
994}
995
996func (*validateOpSearchContacts) ID() string {
997	return "OperationInputValidation"
998}
999
1000func (m *validateOpSearchContacts) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
1001	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
1002) {
1003	input, ok := in.Parameters.(*SearchContactsInput)
1004	if !ok {
1005		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
1006	}
1007	if err := validateOpSearchContactsInput(input); err != nil {
1008		return out, metadata, err
1009	}
1010	return next.HandleInitialize(ctx, in)
1011}
1012
1013type validateOpSearchDevices struct {
1014}
1015
1016func (*validateOpSearchDevices) ID() string {
1017	return "OperationInputValidation"
1018}
1019
1020func (m *validateOpSearchDevices) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
1021	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
1022) {
1023	input, ok := in.Parameters.(*SearchDevicesInput)
1024	if !ok {
1025		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
1026	}
1027	if err := validateOpSearchDevicesInput(input); err != nil {
1028		return out, metadata, err
1029	}
1030	return next.HandleInitialize(ctx, in)
1031}
1032
1033type validateOpSearchNetworkProfiles struct {
1034}
1035
1036func (*validateOpSearchNetworkProfiles) ID() string {
1037	return "OperationInputValidation"
1038}
1039
1040func (m *validateOpSearchNetworkProfiles) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
1041	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
1042) {
1043	input, ok := in.Parameters.(*SearchNetworkProfilesInput)
1044	if !ok {
1045		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
1046	}
1047	if err := validateOpSearchNetworkProfilesInput(input); err != nil {
1048		return out, metadata, err
1049	}
1050	return next.HandleInitialize(ctx, in)
1051}
1052
1053type validateOpSearchProfiles struct {
1054}
1055
1056func (*validateOpSearchProfiles) ID() string {
1057	return "OperationInputValidation"
1058}
1059
1060func (m *validateOpSearchProfiles) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
1061	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
1062) {
1063	input, ok := in.Parameters.(*SearchProfilesInput)
1064	if !ok {
1065		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
1066	}
1067	if err := validateOpSearchProfilesInput(input); err != nil {
1068		return out, metadata, err
1069	}
1070	return next.HandleInitialize(ctx, in)
1071}
1072
1073type validateOpSearchRooms struct {
1074}
1075
1076func (*validateOpSearchRooms) ID() string {
1077	return "OperationInputValidation"
1078}
1079
1080func (m *validateOpSearchRooms) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
1081	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
1082) {
1083	input, ok := in.Parameters.(*SearchRoomsInput)
1084	if !ok {
1085		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
1086	}
1087	if err := validateOpSearchRoomsInput(input); err != nil {
1088		return out, metadata, err
1089	}
1090	return next.HandleInitialize(ctx, in)
1091}
1092
1093type validateOpSearchSkillGroups struct {
1094}
1095
1096func (*validateOpSearchSkillGroups) ID() string {
1097	return "OperationInputValidation"
1098}
1099
1100func (m *validateOpSearchSkillGroups) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
1101	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
1102) {
1103	input, ok := in.Parameters.(*SearchSkillGroupsInput)
1104	if !ok {
1105		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
1106	}
1107	if err := validateOpSearchSkillGroupsInput(input); err != nil {
1108		return out, metadata, err
1109	}
1110	return next.HandleInitialize(ctx, in)
1111}
1112
1113type validateOpSearchUsers struct {
1114}
1115
1116func (*validateOpSearchUsers) ID() string {
1117	return "OperationInputValidation"
1118}
1119
1120func (m *validateOpSearchUsers) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
1121	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
1122) {
1123	input, ok := in.Parameters.(*SearchUsersInput)
1124	if !ok {
1125		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
1126	}
1127	if err := validateOpSearchUsersInput(input); err != nil {
1128		return out, metadata, err
1129	}
1130	return next.HandleInitialize(ctx, in)
1131}
1132
1133type validateOpSendAnnouncement struct {
1134}
1135
1136func (*validateOpSendAnnouncement) ID() string {
1137	return "OperationInputValidation"
1138}
1139
1140func (m *validateOpSendAnnouncement) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
1141	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
1142) {
1143	input, ok := in.Parameters.(*SendAnnouncementInput)
1144	if !ok {
1145		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
1146	}
1147	if err := validateOpSendAnnouncementInput(input); err != nil {
1148		return out, metadata, err
1149	}
1150	return next.HandleInitialize(ctx, in)
1151}
1152
1153type validateOpStartDeviceSync struct {
1154}
1155
1156func (*validateOpStartDeviceSync) ID() string {
1157	return "OperationInputValidation"
1158}
1159
1160func (m *validateOpStartDeviceSync) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
1161	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
1162) {
1163	input, ok := in.Parameters.(*StartDeviceSyncInput)
1164	if !ok {
1165		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
1166	}
1167	if err := validateOpStartDeviceSyncInput(input); err != nil {
1168		return out, metadata, err
1169	}
1170	return next.HandleInitialize(ctx, in)
1171}
1172
1173type validateOpStartSmartHomeApplianceDiscovery struct {
1174}
1175
1176func (*validateOpStartSmartHomeApplianceDiscovery) ID() string {
1177	return "OperationInputValidation"
1178}
1179
1180func (m *validateOpStartSmartHomeApplianceDiscovery) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
1181	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
1182) {
1183	input, ok := in.Parameters.(*StartSmartHomeApplianceDiscoveryInput)
1184	if !ok {
1185		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
1186	}
1187	if err := validateOpStartSmartHomeApplianceDiscoveryInput(input); err != nil {
1188		return out, metadata, err
1189	}
1190	return next.HandleInitialize(ctx, in)
1191}
1192
1193type validateOpTagResource struct {
1194}
1195
1196func (*validateOpTagResource) ID() string {
1197	return "OperationInputValidation"
1198}
1199
1200func (m *validateOpTagResource) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
1201	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
1202) {
1203	input, ok := in.Parameters.(*TagResourceInput)
1204	if !ok {
1205		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
1206	}
1207	if err := validateOpTagResourceInput(input); err != nil {
1208		return out, metadata, err
1209	}
1210	return next.HandleInitialize(ctx, in)
1211}
1212
1213type validateOpUntagResource struct {
1214}
1215
1216func (*validateOpUntagResource) ID() string {
1217	return "OperationInputValidation"
1218}
1219
1220func (m *validateOpUntagResource) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
1221	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
1222) {
1223	input, ok := in.Parameters.(*UntagResourceInput)
1224	if !ok {
1225		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
1226	}
1227	if err := validateOpUntagResourceInput(input); err != nil {
1228		return out, metadata, err
1229	}
1230	return next.HandleInitialize(ctx, in)
1231}
1232
1233type validateOpUpdateAddressBook struct {
1234}
1235
1236func (*validateOpUpdateAddressBook) ID() string {
1237	return "OperationInputValidation"
1238}
1239
1240func (m *validateOpUpdateAddressBook) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
1241	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
1242) {
1243	input, ok := in.Parameters.(*UpdateAddressBookInput)
1244	if !ok {
1245		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
1246	}
1247	if err := validateOpUpdateAddressBookInput(input); err != nil {
1248		return out, metadata, err
1249	}
1250	return next.HandleInitialize(ctx, in)
1251}
1252
1253type validateOpUpdateBusinessReportSchedule struct {
1254}
1255
1256func (*validateOpUpdateBusinessReportSchedule) ID() string {
1257	return "OperationInputValidation"
1258}
1259
1260func (m *validateOpUpdateBusinessReportSchedule) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
1261	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
1262) {
1263	input, ok := in.Parameters.(*UpdateBusinessReportScheduleInput)
1264	if !ok {
1265		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
1266	}
1267	if err := validateOpUpdateBusinessReportScheduleInput(input); err != nil {
1268		return out, metadata, err
1269	}
1270	return next.HandleInitialize(ctx, in)
1271}
1272
1273type validateOpUpdateConferenceProvider struct {
1274}
1275
1276func (*validateOpUpdateConferenceProvider) ID() string {
1277	return "OperationInputValidation"
1278}
1279
1280func (m *validateOpUpdateConferenceProvider) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
1281	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
1282) {
1283	input, ok := in.Parameters.(*UpdateConferenceProviderInput)
1284	if !ok {
1285		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
1286	}
1287	if err := validateOpUpdateConferenceProviderInput(input); err != nil {
1288		return out, metadata, err
1289	}
1290	return next.HandleInitialize(ctx, in)
1291}
1292
1293type validateOpUpdateContact struct {
1294}
1295
1296func (*validateOpUpdateContact) ID() string {
1297	return "OperationInputValidation"
1298}
1299
1300func (m *validateOpUpdateContact) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
1301	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
1302) {
1303	input, ok := in.Parameters.(*UpdateContactInput)
1304	if !ok {
1305		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
1306	}
1307	if err := validateOpUpdateContactInput(input); err != nil {
1308		return out, metadata, err
1309	}
1310	return next.HandleInitialize(ctx, in)
1311}
1312
1313type validateOpUpdateGatewayGroup struct {
1314}
1315
1316func (*validateOpUpdateGatewayGroup) ID() string {
1317	return "OperationInputValidation"
1318}
1319
1320func (m *validateOpUpdateGatewayGroup) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
1321	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
1322) {
1323	input, ok := in.Parameters.(*UpdateGatewayGroupInput)
1324	if !ok {
1325		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
1326	}
1327	if err := validateOpUpdateGatewayGroupInput(input); err != nil {
1328		return out, metadata, err
1329	}
1330	return next.HandleInitialize(ctx, in)
1331}
1332
1333type validateOpUpdateGateway struct {
1334}
1335
1336func (*validateOpUpdateGateway) ID() string {
1337	return "OperationInputValidation"
1338}
1339
1340func (m *validateOpUpdateGateway) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
1341	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
1342) {
1343	input, ok := in.Parameters.(*UpdateGatewayInput)
1344	if !ok {
1345		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
1346	}
1347	if err := validateOpUpdateGatewayInput(input); err != nil {
1348		return out, metadata, err
1349	}
1350	return next.HandleInitialize(ctx, in)
1351}
1352
1353type validateOpUpdateNetworkProfile struct {
1354}
1355
1356func (*validateOpUpdateNetworkProfile) ID() string {
1357	return "OperationInputValidation"
1358}
1359
1360func (m *validateOpUpdateNetworkProfile) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) (
1361	out middleware.InitializeOutput, metadata middleware.Metadata, err error,
1362) {
1363	input, ok := in.Parameters.(*UpdateNetworkProfileInput)
1364	if !ok {
1365		return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters)
1366	}
1367	if err := validateOpUpdateNetworkProfileInput(input); err != nil {
1368		return out, metadata, err
1369	}
1370	return next.HandleInitialize(ctx, in)
1371}
1372
1373func addOpApproveSkillValidationMiddleware(stack *middleware.Stack) error {
1374	return stack.Initialize.Add(&validateOpApproveSkill{}, middleware.After)
1375}
1376
1377func addOpAssociateContactWithAddressBookValidationMiddleware(stack *middleware.Stack) error {
1378	return stack.Initialize.Add(&validateOpAssociateContactWithAddressBook{}, middleware.After)
1379}
1380
1381func addOpAssociateDeviceWithNetworkProfileValidationMiddleware(stack *middleware.Stack) error {
1382	return stack.Initialize.Add(&validateOpAssociateDeviceWithNetworkProfile{}, middleware.After)
1383}
1384
1385func addOpAssociateSkillWithSkillGroupValidationMiddleware(stack *middleware.Stack) error {
1386	return stack.Initialize.Add(&validateOpAssociateSkillWithSkillGroup{}, middleware.After)
1387}
1388
1389func addOpAssociateSkillWithUsersValidationMiddleware(stack *middleware.Stack) error {
1390	return stack.Initialize.Add(&validateOpAssociateSkillWithUsers{}, middleware.After)
1391}
1392
1393func addOpCreateAddressBookValidationMiddleware(stack *middleware.Stack) error {
1394	return stack.Initialize.Add(&validateOpCreateAddressBook{}, middleware.After)
1395}
1396
1397func addOpCreateBusinessReportScheduleValidationMiddleware(stack *middleware.Stack) error {
1398	return stack.Initialize.Add(&validateOpCreateBusinessReportSchedule{}, middleware.After)
1399}
1400
1401func addOpCreateConferenceProviderValidationMiddleware(stack *middleware.Stack) error {
1402	return stack.Initialize.Add(&validateOpCreateConferenceProvider{}, middleware.After)
1403}
1404
1405func addOpCreateContactValidationMiddleware(stack *middleware.Stack) error {
1406	return stack.Initialize.Add(&validateOpCreateContact{}, middleware.After)
1407}
1408
1409func addOpCreateGatewayGroupValidationMiddleware(stack *middleware.Stack) error {
1410	return stack.Initialize.Add(&validateOpCreateGatewayGroup{}, middleware.After)
1411}
1412
1413func addOpCreateNetworkProfileValidationMiddleware(stack *middleware.Stack) error {
1414	return stack.Initialize.Add(&validateOpCreateNetworkProfile{}, middleware.After)
1415}
1416
1417func addOpCreateProfileValidationMiddleware(stack *middleware.Stack) error {
1418	return stack.Initialize.Add(&validateOpCreateProfile{}, middleware.After)
1419}
1420
1421func addOpCreateRoomValidationMiddleware(stack *middleware.Stack) error {
1422	return stack.Initialize.Add(&validateOpCreateRoom{}, middleware.After)
1423}
1424
1425func addOpCreateSkillGroupValidationMiddleware(stack *middleware.Stack) error {
1426	return stack.Initialize.Add(&validateOpCreateSkillGroup{}, middleware.After)
1427}
1428
1429func addOpCreateUserValidationMiddleware(stack *middleware.Stack) error {
1430	return stack.Initialize.Add(&validateOpCreateUser{}, middleware.After)
1431}
1432
1433func addOpDeleteAddressBookValidationMiddleware(stack *middleware.Stack) error {
1434	return stack.Initialize.Add(&validateOpDeleteAddressBook{}, middleware.After)
1435}
1436
1437func addOpDeleteBusinessReportScheduleValidationMiddleware(stack *middleware.Stack) error {
1438	return stack.Initialize.Add(&validateOpDeleteBusinessReportSchedule{}, middleware.After)
1439}
1440
1441func addOpDeleteConferenceProviderValidationMiddleware(stack *middleware.Stack) error {
1442	return stack.Initialize.Add(&validateOpDeleteConferenceProvider{}, middleware.After)
1443}
1444
1445func addOpDeleteContactValidationMiddleware(stack *middleware.Stack) error {
1446	return stack.Initialize.Add(&validateOpDeleteContact{}, middleware.After)
1447}
1448
1449func addOpDeleteDeviceValidationMiddleware(stack *middleware.Stack) error {
1450	return stack.Initialize.Add(&validateOpDeleteDevice{}, middleware.After)
1451}
1452
1453func addOpDeleteDeviceUsageDataValidationMiddleware(stack *middleware.Stack) error {
1454	return stack.Initialize.Add(&validateOpDeleteDeviceUsageData{}, middleware.After)
1455}
1456
1457func addOpDeleteGatewayGroupValidationMiddleware(stack *middleware.Stack) error {
1458	return stack.Initialize.Add(&validateOpDeleteGatewayGroup{}, middleware.After)
1459}
1460
1461func addOpDeleteNetworkProfileValidationMiddleware(stack *middleware.Stack) error {
1462	return stack.Initialize.Add(&validateOpDeleteNetworkProfile{}, middleware.After)
1463}
1464
1465func addOpDeleteRoomSkillParameterValidationMiddleware(stack *middleware.Stack) error {
1466	return stack.Initialize.Add(&validateOpDeleteRoomSkillParameter{}, middleware.After)
1467}
1468
1469func addOpDeleteSkillAuthorizationValidationMiddleware(stack *middleware.Stack) error {
1470	return stack.Initialize.Add(&validateOpDeleteSkillAuthorization{}, middleware.After)
1471}
1472
1473func addOpDeleteUserValidationMiddleware(stack *middleware.Stack) error {
1474	return stack.Initialize.Add(&validateOpDeleteUser{}, middleware.After)
1475}
1476
1477func addOpDisassociateContactFromAddressBookValidationMiddleware(stack *middleware.Stack) error {
1478	return stack.Initialize.Add(&validateOpDisassociateContactFromAddressBook{}, middleware.After)
1479}
1480
1481func addOpDisassociateSkillFromSkillGroupValidationMiddleware(stack *middleware.Stack) error {
1482	return stack.Initialize.Add(&validateOpDisassociateSkillFromSkillGroup{}, middleware.After)
1483}
1484
1485func addOpDisassociateSkillFromUsersValidationMiddleware(stack *middleware.Stack) error {
1486	return stack.Initialize.Add(&validateOpDisassociateSkillFromUsers{}, middleware.After)
1487}
1488
1489func addOpForgetSmartHomeAppliancesValidationMiddleware(stack *middleware.Stack) error {
1490	return stack.Initialize.Add(&validateOpForgetSmartHomeAppliances{}, middleware.After)
1491}
1492
1493func addOpGetAddressBookValidationMiddleware(stack *middleware.Stack) error {
1494	return stack.Initialize.Add(&validateOpGetAddressBook{}, middleware.After)
1495}
1496
1497func addOpGetConferenceProviderValidationMiddleware(stack *middleware.Stack) error {
1498	return stack.Initialize.Add(&validateOpGetConferenceProvider{}, middleware.After)
1499}
1500
1501func addOpGetContactValidationMiddleware(stack *middleware.Stack) error {
1502	return stack.Initialize.Add(&validateOpGetContact{}, middleware.After)
1503}
1504
1505func addOpGetGatewayGroupValidationMiddleware(stack *middleware.Stack) error {
1506	return stack.Initialize.Add(&validateOpGetGatewayGroup{}, middleware.After)
1507}
1508
1509func addOpGetGatewayValidationMiddleware(stack *middleware.Stack) error {
1510	return stack.Initialize.Add(&validateOpGetGateway{}, middleware.After)
1511}
1512
1513func addOpGetNetworkProfileValidationMiddleware(stack *middleware.Stack) error {
1514	return stack.Initialize.Add(&validateOpGetNetworkProfile{}, middleware.After)
1515}
1516
1517func addOpGetRoomSkillParameterValidationMiddleware(stack *middleware.Stack) error {
1518	return stack.Initialize.Add(&validateOpGetRoomSkillParameter{}, middleware.After)
1519}
1520
1521func addOpListDeviceEventsValidationMiddleware(stack *middleware.Stack) error {
1522	return stack.Initialize.Add(&validateOpListDeviceEvents{}, middleware.After)
1523}
1524
1525func addOpListSkillsStoreSkillsByCategoryValidationMiddleware(stack *middleware.Stack) error {
1526	return stack.Initialize.Add(&validateOpListSkillsStoreSkillsByCategory{}, middleware.After)
1527}
1528
1529func addOpListSmartHomeAppliancesValidationMiddleware(stack *middleware.Stack) error {
1530	return stack.Initialize.Add(&validateOpListSmartHomeAppliances{}, middleware.After)
1531}
1532
1533func addOpListTagsValidationMiddleware(stack *middleware.Stack) error {
1534	return stack.Initialize.Add(&validateOpListTags{}, middleware.After)
1535}
1536
1537func addOpPutConferencePreferenceValidationMiddleware(stack *middleware.Stack) error {
1538	return stack.Initialize.Add(&validateOpPutConferencePreference{}, middleware.After)
1539}
1540
1541func addOpPutInvitationConfigurationValidationMiddleware(stack *middleware.Stack) error {
1542	return stack.Initialize.Add(&validateOpPutInvitationConfiguration{}, middleware.After)
1543}
1544
1545func addOpPutRoomSkillParameterValidationMiddleware(stack *middleware.Stack) error {
1546	return stack.Initialize.Add(&validateOpPutRoomSkillParameter{}, middleware.After)
1547}
1548
1549func addOpPutSkillAuthorizationValidationMiddleware(stack *middleware.Stack) error {
1550	return stack.Initialize.Add(&validateOpPutSkillAuthorization{}, middleware.After)
1551}
1552
1553func addOpRegisterAVSDeviceValidationMiddleware(stack *middleware.Stack) error {
1554	return stack.Initialize.Add(&validateOpRegisterAVSDevice{}, middleware.After)
1555}
1556
1557func addOpRejectSkillValidationMiddleware(stack *middleware.Stack) error {
1558	return stack.Initialize.Add(&validateOpRejectSkill{}, middleware.After)
1559}
1560
1561func addOpResolveRoomValidationMiddleware(stack *middleware.Stack) error {
1562	return stack.Initialize.Add(&validateOpResolveRoom{}, middleware.After)
1563}
1564
1565func addOpSearchAddressBooksValidationMiddleware(stack *middleware.Stack) error {
1566	return stack.Initialize.Add(&validateOpSearchAddressBooks{}, middleware.After)
1567}
1568
1569func addOpSearchContactsValidationMiddleware(stack *middleware.Stack) error {
1570	return stack.Initialize.Add(&validateOpSearchContacts{}, middleware.After)
1571}
1572
1573func addOpSearchDevicesValidationMiddleware(stack *middleware.Stack) error {
1574	return stack.Initialize.Add(&validateOpSearchDevices{}, middleware.After)
1575}
1576
1577func addOpSearchNetworkProfilesValidationMiddleware(stack *middleware.Stack) error {
1578	return stack.Initialize.Add(&validateOpSearchNetworkProfiles{}, middleware.After)
1579}
1580
1581func addOpSearchProfilesValidationMiddleware(stack *middleware.Stack) error {
1582	return stack.Initialize.Add(&validateOpSearchProfiles{}, middleware.After)
1583}
1584
1585func addOpSearchRoomsValidationMiddleware(stack *middleware.Stack) error {
1586	return stack.Initialize.Add(&validateOpSearchRooms{}, middleware.After)
1587}
1588
1589func addOpSearchSkillGroupsValidationMiddleware(stack *middleware.Stack) error {
1590	return stack.Initialize.Add(&validateOpSearchSkillGroups{}, middleware.After)
1591}
1592
1593func addOpSearchUsersValidationMiddleware(stack *middleware.Stack) error {
1594	return stack.Initialize.Add(&validateOpSearchUsers{}, middleware.After)
1595}
1596
1597func addOpSendAnnouncementValidationMiddleware(stack *middleware.Stack) error {
1598	return stack.Initialize.Add(&validateOpSendAnnouncement{}, middleware.After)
1599}
1600
1601func addOpStartDeviceSyncValidationMiddleware(stack *middleware.Stack) error {
1602	return stack.Initialize.Add(&validateOpStartDeviceSync{}, middleware.After)
1603}
1604
1605func addOpStartSmartHomeApplianceDiscoveryValidationMiddleware(stack *middleware.Stack) error {
1606	return stack.Initialize.Add(&validateOpStartSmartHomeApplianceDiscovery{}, middleware.After)
1607}
1608
1609func addOpTagResourceValidationMiddleware(stack *middleware.Stack) error {
1610	return stack.Initialize.Add(&validateOpTagResource{}, middleware.After)
1611}
1612
1613func addOpUntagResourceValidationMiddleware(stack *middleware.Stack) error {
1614	return stack.Initialize.Add(&validateOpUntagResource{}, middleware.After)
1615}
1616
1617func addOpUpdateAddressBookValidationMiddleware(stack *middleware.Stack) error {
1618	return stack.Initialize.Add(&validateOpUpdateAddressBook{}, middleware.After)
1619}
1620
1621func addOpUpdateBusinessReportScheduleValidationMiddleware(stack *middleware.Stack) error {
1622	return stack.Initialize.Add(&validateOpUpdateBusinessReportSchedule{}, middleware.After)
1623}
1624
1625func addOpUpdateConferenceProviderValidationMiddleware(stack *middleware.Stack) error {
1626	return stack.Initialize.Add(&validateOpUpdateConferenceProvider{}, middleware.After)
1627}
1628
1629func addOpUpdateContactValidationMiddleware(stack *middleware.Stack) error {
1630	return stack.Initialize.Add(&validateOpUpdateContact{}, middleware.After)
1631}
1632
1633func addOpUpdateGatewayGroupValidationMiddleware(stack *middleware.Stack) error {
1634	return stack.Initialize.Add(&validateOpUpdateGatewayGroup{}, middleware.After)
1635}
1636
1637func addOpUpdateGatewayValidationMiddleware(stack *middleware.Stack) error {
1638	return stack.Initialize.Add(&validateOpUpdateGateway{}, middleware.After)
1639}
1640
1641func addOpUpdateNetworkProfileValidationMiddleware(stack *middleware.Stack) error {
1642	return stack.Initialize.Add(&validateOpUpdateNetworkProfile{}, middleware.After)
1643}
1644
1645func validateAudio(v *types.Audio) error {
1646	if v == nil {
1647		return nil
1648	}
1649	invalidParams := smithy.InvalidParamsError{Context: "Audio"}
1650	if len(v.Locale) == 0 {
1651		invalidParams.Add(smithy.NewErrParamRequired("Locale"))
1652	}
1653	if v.Location == nil {
1654		invalidParams.Add(smithy.NewErrParamRequired("Location"))
1655	}
1656	if invalidParams.Len() > 0 {
1657		return invalidParams
1658	} else {
1659		return nil
1660	}
1661}
1662
1663func validateAudioList(v []types.Audio) error {
1664	if v == nil {
1665		return nil
1666	}
1667	invalidParams := smithy.InvalidParamsError{Context: "AudioList"}
1668	for i := range v {
1669		if err := validateAudio(&v[i]); err != nil {
1670			invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError))
1671		}
1672	}
1673	if invalidParams.Len() > 0 {
1674		return invalidParams
1675	} else {
1676		return nil
1677	}
1678}
1679
1680func validateBusinessReportContentRange(v *types.BusinessReportContentRange) error {
1681	if v == nil {
1682		return nil
1683	}
1684	invalidParams := smithy.InvalidParamsError{Context: "BusinessReportContentRange"}
1685	if len(v.Interval) == 0 {
1686		invalidParams.Add(smithy.NewErrParamRequired("Interval"))
1687	}
1688	if invalidParams.Len() > 0 {
1689		return invalidParams
1690	} else {
1691		return nil
1692	}
1693}
1694
1695func validateContent(v *types.Content) error {
1696	if v == nil {
1697		return nil
1698	}
1699	invalidParams := smithy.InvalidParamsError{Context: "Content"}
1700	if v.TextList != nil {
1701		if err := validateTextList(v.TextList); err != nil {
1702			invalidParams.AddNested("TextList", err.(smithy.InvalidParamsError))
1703		}
1704	}
1705	if v.SsmlList != nil {
1706		if err := validateSsmlList(v.SsmlList); err != nil {
1707			invalidParams.AddNested("SsmlList", err.(smithy.InvalidParamsError))
1708		}
1709	}
1710	if v.AudioList != nil {
1711		if err := validateAudioList(v.AudioList); err != nil {
1712			invalidParams.AddNested("AudioList", err.(smithy.InvalidParamsError))
1713		}
1714	}
1715	if invalidParams.Len() > 0 {
1716		return invalidParams
1717	} else {
1718		return nil
1719	}
1720}
1721
1722func validateCreateEndOfMeetingReminder(v *types.CreateEndOfMeetingReminder) error {
1723	if v == nil {
1724		return nil
1725	}
1726	invalidParams := smithy.InvalidParamsError{Context: "CreateEndOfMeetingReminder"}
1727	if v.ReminderAtMinutes == nil {
1728		invalidParams.Add(smithy.NewErrParamRequired("ReminderAtMinutes"))
1729	}
1730	if len(v.ReminderType) == 0 {
1731		invalidParams.Add(smithy.NewErrParamRequired("ReminderType"))
1732	}
1733	if v.Enabled == nil {
1734		invalidParams.Add(smithy.NewErrParamRequired("Enabled"))
1735	}
1736	if invalidParams.Len() > 0 {
1737		return invalidParams
1738	} else {
1739		return nil
1740	}
1741}
1742
1743func validateCreateInstantBooking(v *types.CreateInstantBooking) error {
1744	if v == nil {
1745		return nil
1746	}
1747	invalidParams := smithy.InvalidParamsError{Context: "CreateInstantBooking"}
1748	if v.DurationInMinutes == nil {
1749		invalidParams.Add(smithy.NewErrParamRequired("DurationInMinutes"))
1750	}
1751	if v.Enabled == nil {
1752		invalidParams.Add(smithy.NewErrParamRequired("Enabled"))
1753	}
1754	if invalidParams.Len() > 0 {
1755		return invalidParams
1756	} else {
1757		return nil
1758	}
1759}
1760
1761func validateCreateMeetingRoomConfiguration(v *types.CreateMeetingRoomConfiguration) error {
1762	if v == nil {
1763		return nil
1764	}
1765	invalidParams := smithy.InvalidParamsError{Context: "CreateMeetingRoomConfiguration"}
1766	if v.EndOfMeetingReminder != nil {
1767		if err := validateCreateEndOfMeetingReminder(v.EndOfMeetingReminder); err != nil {
1768			invalidParams.AddNested("EndOfMeetingReminder", err.(smithy.InvalidParamsError))
1769		}
1770	}
1771	if v.InstantBooking != nil {
1772		if err := validateCreateInstantBooking(v.InstantBooking); err != nil {
1773			invalidParams.AddNested("InstantBooking", err.(smithy.InvalidParamsError))
1774		}
1775	}
1776	if v.RequireCheckIn != nil {
1777		if err := validateCreateRequireCheckIn(v.RequireCheckIn); err != nil {
1778			invalidParams.AddNested("RequireCheckIn", err.(smithy.InvalidParamsError))
1779		}
1780	}
1781	if invalidParams.Len() > 0 {
1782		return invalidParams
1783	} else {
1784		return nil
1785	}
1786}
1787
1788func validateCreateRequireCheckIn(v *types.CreateRequireCheckIn) error {
1789	if v == nil {
1790		return nil
1791	}
1792	invalidParams := smithy.InvalidParamsError{Context: "CreateRequireCheckIn"}
1793	if v.ReleaseAfterMinutes == nil {
1794		invalidParams.Add(smithy.NewErrParamRequired("ReleaseAfterMinutes"))
1795	}
1796	if v.Enabled == nil {
1797		invalidParams.Add(smithy.NewErrParamRequired("Enabled"))
1798	}
1799	if invalidParams.Len() > 0 {
1800		return invalidParams
1801	} else {
1802		return nil
1803	}
1804}
1805
1806func validateFilter(v *types.Filter) error {
1807	if v == nil {
1808		return nil
1809	}
1810	invalidParams := smithy.InvalidParamsError{Context: "Filter"}
1811	if v.Key == nil {
1812		invalidParams.Add(smithy.NewErrParamRequired("Key"))
1813	}
1814	if v.Values == nil {
1815		invalidParams.Add(smithy.NewErrParamRequired("Values"))
1816	}
1817	if invalidParams.Len() > 0 {
1818		return invalidParams
1819	} else {
1820		return nil
1821	}
1822}
1823
1824func validateFilterList(v []types.Filter) error {
1825	if v == nil {
1826		return nil
1827	}
1828	invalidParams := smithy.InvalidParamsError{Context: "FilterList"}
1829	for i := range v {
1830		if err := validateFilter(&v[i]); err != nil {
1831			invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError))
1832		}
1833	}
1834	if invalidParams.Len() > 0 {
1835		return invalidParams
1836	} else {
1837		return nil
1838	}
1839}
1840
1841func validateIPDialIn(v *types.IPDialIn) error {
1842	if v == nil {
1843		return nil
1844	}
1845	invalidParams := smithy.InvalidParamsError{Context: "IPDialIn"}
1846	if v.Endpoint == nil {
1847		invalidParams.Add(smithy.NewErrParamRequired("Endpoint"))
1848	}
1849	if len(v.CommsProtocol) == 0 {
1850		invalidParams.Add(smithy.NewErrParamRequired("CommsProtocol"))
1851	}
1852	if invalidParams.Len() > 0 {
1853		return invalidParams
1854	} else {
1855		return nil
1856	}
1857}
1858
1859func validateMeetingSetting(v *types.MeetingSetting) error {
1860	if v == nil {
1861		return nil
1862	}
1863	invalidParams := smithy.InvalidParamsError{Context: "MeetingSetting"}
1864	if len(v.RequirePin) == 0 {
1865		invalidParams.Add(smithy.NewErrParamRequired("RequirePin"))
1866	}
1867	if invalidParams.Len() > 0 {
1868		return invalidParams
1869	} else {
1870		return nil
1871	}
1872}
1873
1874func validatePhoneNumber(v *types.PhoneNumber) error {
1875	if v == nil {
1876		return nil
1877	}
1878	invalidParams := smithy.InvalidParamsError{Context: "PhoneNumber"}
1879	if v.Number == nil {
1880		invalidParams.Add(smithy.NewErrParamRequired("Number"))
1881	}
1882	if len(v.Type) == 0 {
1883		invalidParams.Add(smithy.NewErrParamRequired("Type"))
1884	}
1885	if invalidParams.Len() > 0 {
1886		return invalidParams
1887	} else {
1888		return nil
1889	}
1890}
1891
1892func validatePhoneNumberList(v []types.PhoneNumber) error {
1893	if v == nil {
1894		return nil
1895	}
1896	invalidParams := smithy.InvalidParamsError{Context: "PhoneNumberList"}
1897	for i := range v {
1898		if err := validatePhoneNumber(&v[i]); err != nil {
1899			invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError))
1900		}
1901	}
1902	if invalidParams.Len() > 0 {
1903		return invalidParams
1904	} else {
1905		return nil
1906	}
1907}
1908
1909func validatePSTNDialIn(v *types.PSTNDialIn) error {
1910	if v == nil {
1911		return nil
1912	}
1913	invalidParams := smithy.InvalidParamsError{Context: "PSTNDialIn"}
1914	if v.CountryCode == nil {
1915		invalidParams.Add(smithy.NewErrParamRequired("CountryCode"))
1916	}
1917	if v.PhoneNumber == nil {
1918		invalidParams.Add(smithy.NewErrParamRequired("PhoneNumber"))
1919	}
1920	if v.OneClickIdDelay == nil {
1921		invalidParams.Add(smithy.NewErrParamRequired("OneClickIdDelay"))
1922	}
1923	if v.OneClickPinDelay == nil {
1924		invalidParams.Add(smithy.NewErrParamRequired("OneClickPinDelay"))
1925	}
1926	if invalidParams.Len() > 0 {
1927		return invalidParams
1928	} else {
1929		return nil
1930	}
1931}
1932
1933func validateRoomSkillParameter(v *types.RoomSkillParameter) error {
1934	if v == nil {
1935		return nil
1936	}
1937	invalidParams := smithy.InvalidParamsError{Context: "RoomSkillParameter"}
1938	if v.ParameterKey == nil {
1939		invalidParams.Add(smithy.NewErrParamRequired("ParameterKey"))
1940	}
1941	if v.ParameterValue == nil {
1942		invalidParams.Add(smithy.NewErrParamRequired("ParameterValue"))
1943	}
1944	if invalidParams.Len() > 0 {
1945		return invalidParams
1946	} else {
1947		return nil
1948	}
1949}
1950
1951func validateSipAddress(v *types.SipAddress) error {
1952	if v == nil {
1953		return nil
1954	}
1955	invalidParams := smithy.InvalidParamsError{Context: "SipAddress"}
1956	if v.Uri == nil {
1957		invalidParams.Add(smithy.NewErrParamRequired("Uri"))
1958	}
1959	if len(v.Type) == 0 {
1960		invalidParams.Add(smithy.NewErrParamRequired("Type"))
1961	}
1962	if invalidParams.Len() > 0 {
1963		return invalidParams
1964	} else {
1965		return nil
1966	}
1967}
1968
1969func validateSipAddressList(v []types.SipAddress) error {
1970	if v == nil {
1971		return nil
1972	}
1973	invalidParams := smithy.InvalidParamsError{Context: "SipAddressList"}
1974	for i := range v {
1975		if err := validateSipAddress(&v[i]); err != nil {
1976			invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError))
1977		}
1978	}
1979	if invalidParams.Len() > 0 {
1980		return invalidParams
1981	} else {
1982		return nil
1983	}
1984}
1985
1986func validateSort(v *types.Sort) error {
1987	if v == nil {
1988		return nil
1989	}
1990	invalidParams := smithy.InvalidParamsError{Context: "Sort"}
1991	if v.Key == nil {
1992		invalidParams.Add(smithy.NewErrParamRequired("Key"))
1993	}
1994	if len(v.Value) == 0 {
1995		invalidParams.Add(smithy.NewErrParamRequired("Value"))
1996	}
1997	if invalidParams.Len() > 0 {
1998		return invalidParams
1999	} else {
2000		return nil
2001	}
2002}
2003
2004func validateSortList(v []types.Sort) error {
2005	if v == nil {
2006		return nil
2007	}
2008	invalidParams := smithy.InvalidParamsError{Context: "SortList"}
2009	for i := range v {
2010		if err := validateSort(&v[i]); err != nil {
2011			invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError))
2012		}
2013	}
2014	if invalidParams.Len() > 0 {
2015		return invalidParams
2016	} else {
2017		return nil
2018	}
2019}
2020
2021func validateSsml(v *types.Ssml) error {
2022	if v == nil {
2023		return nil
2024	}
2025	invalidParams := smithy.InvalidParamsError{Context: "Ssml"}
2026	if len(v.Locale) == 0 {
2027		invalidParams.Add(smithy.NewErrParamRequired("Locale"))
2028	}
2029	if v.Value == nil {
2030		invalidParams.Add(smithy.NewErrParamRequired("Value"))
2031	}
2032	if invalidParams.Len() > 0 {
2033		return invalidParams
2034	} else {
2035		return nil
2036	}
2037}
2038
2039func validateSsmlList(v []types.Ssml) error {
2040	if v == nil {
2041		return nil
2042	}
2043	invalidParams := smithy.InvalidParamsError{Context: "SsmlList"}
2044	for i := range v {
2045		if err := validateSsml(&v[i]); err != nil {
2046			invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError))
2047		}
2048	}
2049	if invalidParams.Len() > 0 {
2050		return invalidParams
2051	} else {
2052		return nil
2053	}
2054}
2055
2056func validateTag(v *types.Tag) error {
2057	if v == nil {
2058		return nil
2059	}
2060	invalidParams := smithy.InvalidParamsError{Context: "Tag"}
2061	if v.Key == nil {
2062		invalidParams.Add(smithy.NewErrParamRequired("Key"))
2063	}
2064	if v.Value == nil {
2065		invalidParams.Add(smithy.NewErrParamRequired("Value"))
2066	}
2067	if invalidParams.Len() > 0 {
2068		return invalidParams
2069	} else {
2070		return nil
2071	}
2072}
2073
2074func validateTagList(v []types.Tag) error {
2075	if v == nil {
2076		return nil
2077	}
2078	invalidParams := smithy.InvalidParamsError{Context: "TagList"}
2079	for i := range v {
2080		if err := validateTag(&v[i]); err != nil {
2081			invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError))
2082		}
2083	}
2084	if invalidParams.Len() > 0 {
2085		return invalidParams
2086	} else {
2087		return nil
2088	}
2089}
2090
2091func validateText(v *types.Text) error {
2092	if v == nil {
2093		return nil
2094	}
2095	invalidParams := smithy.InvalidParamsError{Context: "Text"}
2096	if len(v.Locale) == 0 {
2097		invalidParams.Add(smithy.NewErrParamRequired("Locale"))
2098	}
2099	if v.Value == nil {
2100		invalidParams.Add(smithy.NewErrParamRequired("Value"))
2101	}
2102	if invalidParams.Len() > 0 {
2103		return invalidParams
2104	} else {
2105		return nil
2106	}
2107}
2108
2109func validateTextList(v []types.Text) error {
2110	if v == nil {
2111		return nil
2112	}
2113	invalidParams := smithy.InvalidParamsError{Context: "TextList"}
2114	for i := range v {
2115		if err := validateText(&v[i]); err != nil {
2116			invalidParams.AddNested(fmt.Sprintf("[%d]", i), err.(smithy.InvalidParamsError))
2117		}
2118	}
2119	if invalidParams.Len() > 0 {
2120		return invalidParams
2121	} else {
2122		return nil
2123	}
2124}
2125
2126func validateOpApproveSkillInput(v *ApproveSkillInput) error {
2127	if v == nil {
2128		return nil
2129	}
2130	invalidParams := smithy.InvalidParamsError{Context: "ApproveSkillInput"}
2131	if v.SkillId == nil {
2132		invalidParams.Add(smithy.NewErrParamRequired("SkillId"))
2133	}
2134	if invalidParams.Len() > 0 {
2135		return invalidParams
2136	} else {
2137		return nil
2138	}
2139}
2140
2141func validateOpAssociateContactWithAddressBookInput(v *AssociateContactWithAddressBookInput) error {
2142	if v == nil {
2143		return nil
2144	}
2145	invalidParams := smithy.InvalidParamsError{Context: "AssociateContactWithAddressBookInput"}
2146	if v.ContactArn == nil {
2147		invalidParams.Add(smithy.NewErrParamRequired("ContactArn"))
2148	}
2149	if v.AddressBookArn == nil {
2150		invalidParams.Add(smithy.NewErrParamRequired("AddressBookArn"))
2151	}
2152	if invalidParams.Len() > 0 {
2153		return invalidParams
2154	} else {
2155		return nil
2156	}
2157}
2158
2159func validateOpAssociateDeviceWithNetworkProfileInput(v *AssociateDeviceWithNetworkProfileInput) error {
2160	if v == nil {
2161		return nil
2162	}
2163	invalidParams := smithy.InvalidParamsError{Context: "AssociateDeviceWithNetworkProfileInput"}
2164	if v.DeviceArn == nil {
2165		invalidParams.Add(smithy.NewErrParamRequired("DeviceArn"))
2166	}
2167	if v.NetworkProfileArn == nil {
2168		invalidParams.Add(smithy.NewErrParamRequired("NetworkProfileArn"))
2169	}
2170	if invalidParams.Len() > 0 {
2171		return invalidParams
2172	} else {
2173		return nil
2174	}
2175}
2176
2177func validateOpAssociateSkillWithSkillGroupInput(v *AssociateSkillWithSkillGroupInput) error {
2178	if v == nil {
2179		return nil
2180	}
2181	invalidParams := smithy.InvalidParamsError{Context: "AssociateSkillWithSkillGroupInput"}
2182	if v.SkillId == nil {
2183		invalidParams.Add(smithy.NewErrParamRequired("SkillId"))
2184	}
2185	if invalidParams.Len() > 0 {
2186		return invalidParams
2187	} else {
2188		return nil
2189	}
2190}
2191
2192func validateOpAssociateSkillWithUsersInput(v *AssociateSkillWithUsersInput) error {
2193	if v == nil {
2194		return nil
2195	}
2196	invalidParams := smithy.InvalidParamsError{Context: "AssociateSkillWithUsersInput"}
2197	if v.SkillId == nil {
2198		invalidParams.Add(smithy.NewErrParamRequired("SkillId"))
2199	}
2200	if invalidParams.Len() > 0 {
2201		return invalidParams
2202	} else {
2203		return nil
2204	}
2205}
2206
2207func validateOpCreateAddressBookInput(v *CreateAddressBookInput) error {
2208	if v == nil {
2209		return nil
2210	}
2211	invalidParams := smithy.InvalidParamsError{Context: "CreateAddressBookInput"}
2212	if v.Name == nil {
2213		invalidParams.Add(smithy.NewErrParamRequired("Name"))
2214	}
2215	if invalidParams.Len() > 0 {
2216		return invalidParams
2217	} else {
2218		return nil
2219	}
2220}
2221
2222func validateOpCreateBusinessReportScheduleInput(v *CreateBusinessReportScheduleInput) error {
2223	if v == nil {
2224		return nil
2225	}
2226	invalidParams := smithy.InvalidParamsError{Context: "CreateBusinessReportScheduleInput"}
2227	if len(v.Format) == 0 {
2228		invalidParams.Add(smithy.NewErrParamRequired("Format"))
2229	}
2230	if v.ContentRange == nil {
2231		invalidParams.Add(smithy.NewErrParamRequired("ContentRange"))
2232	} else if v.ContentRange != nil {
2233		if err := validateBusinessReportContentRange(v.ContentRange); err != nil {
2234			invalidParams.AddNested("ContentRange", err.(smithy.InvalidParamsError))
2235		}
2236	}
2237	if v.Tags != nil {
2238		if err := validateTagList(v.Tags); err != nil {
2239			invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError))
2240		}
2241	}
2242	if invalidParams.Len() > 0 {
2243		return invalidParams
2244	} else {
2245		return nil
2246	}
2247}
2248
2249func validateOpCreateConferenceProviderInput(v *CreateConferenceProviderInput) error {
2250	if v == nil {
2251		return nil
2252	}
2253	invalidParams := smithy.InvalidParamsError{Context: "CreateConferenceProviderInput"}
2254	if v.ConferenceProviderName == nil {
2255		invalidParams.Add(smithy.NewErrParamRequired("ConferenceProviderName"))
2256	}
2257	if len(v.ConferenceProviderType) == 0 {
2258		invalidParams.Add(smithy.NewErrParamRequired("ConferenceProviderType"))
2259	}
2260	if v.IPDialIn != nil {
2261		if err := validateIPDialIn(v.IPDialIn); err != nil {
2262			invalidParams.AddNested("IPDialIn", err.(smithy.InvalidParamsError))
2263		}
2264	}
2265	if v.PSTNDialIn != nil {
2266		if err := validatePSTNDialIn(v.PSTNDialIn); err != nil {
2267			invalidParams.AddNested("PSTNDialIn", err.(smithy.InvalidParamsError))
2268		}
2269	}
2270	if v.MeetingSetting == nil {
2271		invalidParams.Add(smithy.NewErrParamRequired("MeetingSetting"))
2272	} else if v.MeetingSetting != nil {
2273		if err := validateMeetingSetting(v.MeetingSetting); err != nil {
2274			invalidParams.AddNested("MeetingSetting", err.(smithy.InvalidParamsError))
2275		}
2276	}
2277	if invalidParams.Len() > 0 {
2278		return invalidParams
2279	} else {
2280		return nil
2281	}
2282}
2283
2284func validateOpCreateContactInput(v *CreateContactInput) error {
2285	if v == nil {
2286		return nil
2287	}
2288	invalidParams := smithy.InvalidParamsError{Context: "CreateContactInput"}
2289	if v.FirstName == nil {
2290		invalidParams.Add(smithy.NewErrParamRequired("FirstName"))
2291	}
2292	if v.PhoneNumbers != nil {
2293		if err := validatePhoneNumberList(v.PhoneNumbers); err != nil {
2294			invalidParams.AddNested("PhoneNumbers", err.(smithy.InvalidParamsError))
2295		}
2296	}
2297	if v.SipAddresses != nil {
2298		if err := validateSipAddressList(v.SipAddresses); err != nil {
2299			invalidParams.AddNested("SipAddresses", err.(smithy.InvalidParamsError))
2300		}
2301	}
2302	if invalidParams.Len() > 0 {
2303		return invalidParams
2304	} else {
2305		return nil
2306	}
2307}
2308
2309func validateOpCreateGatewayGroupInput(v *CreateGatewayGroupInput) error {
2310	if v == nil {
2311		return nil
2312	}
2313	invalidParams := smithy.InvalidParamsError{Context: "CreateGatewayGroupInput"}
2314	if v.Name == nil {
2315		invalidParams.Add(smithy.NewErrParamRequired("Name"))
2316	}
2317	if v.ClientRequestToken == nil {
2318		invalidParams.Add(smithy.NewErrParamRequired("ClientRequestToken"))
2319	}
2320	if invalidParams.Len() > 0 {
2321		return invalidParams
2322	} else {
2323		return nil
2324	}
2325}
2326
2327func validateOpCreateNetworkProfileInput(v *CreateNetworkProfileInput) error {
2328	if v == nil {
2329		return nil
2330	}
2331	invalidParams := smithy.InvalidParamsError{Context: "CreateNetworkProfileInput"}
2332	if v.NetworkProfileName == nil {
2333		invalidParams.Add(smithy.NewErrParamRequired("NetworkProfileName"))
2334	}
2335	if v.Ssid == nil {
2336		invalidParams.Add(smithy.NewErrParamRequired("Ssid"))
2337	}
2338	if len(v.SecurityType) == 0 {
2339		invalidParams.Add(smithy.NewErrParamRequired("SecurityType"))
2340	}
2341	if v.ClientRequestToken == nil {
2342		invalidParams.Add(smithy.NewErrParamRequired("ClientRequestToken"))
2343	}
2344	if invalidParams.Len() > 0 {
2345		return invalidParams
2346	} else {
2347		return nil
2348	}
2349}
2350
2351func validateOpCreateProfileInput(v *CreateProfileInput) error {
2352	if v == nil {
2353		return nil
2354	}
2355	invalidParams := smithy.InvalidParamsError{Context: "CreateProfileInput"}
2356	if v.ProfileName == nil {
2357		invalidParams.Add(smithy.NewErrParamRequired("ProfileName"))
2358	}
2359	if v.Timezone == nil {
2360		invalidParams.Add(smithy.NewErrParamRequired("Timezone"))
2361	}
2362	if v.Address == nil {
2363		invalidParams.Add(smithy.NewErrParamRequired("Address"))
2364	}
2365	if len(v.DistanceUnit) == 0 {
2366		invalidParams.Add(smithy.NewErrParamRequired("DistanceUnit"))
2367	}
2368	if len(v.TemperatureUnit) == 0 {
2369		invalidParams.Add(smithy.NewErrParamRequired("TemperatureUnit"))
2370	}
2371	if len(v.WakeWord) == 0 {
2372		invalidParams.Add(smithy.NewErrParamRequired("WakeWord"))
2373	}
2374	if v.MeetingRoomConfiguration != nil {
2375		if err := validateCreateMeetingRoomConfiguration(v.MeetingRoomConfiguration); err != nil {
2376			invalidParams.AddNested("MeetingRoomConfiguration", err.(smithy.InvalidParamsError))
2377		}
2378	}
2379	if v.Tags != nil {
2380		if err := validateTagList(v.Tags); err != nil {
2381			invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError))
2382		}
2383	}
2384	if invalidParams.Len() > 0 {
2385		return invalidParams
2386	} else {
2387		return nil
2388	}
2389}
2390
2391func validateOpCreateRoomInput(v *CreateRoomInput) error {
2392	if v == nil {
2393		return nil
2394	}
2395	invalidParams := smithy.InvalidParamsError{Context: "CreateRoomInput"}
2396	if v.RoomName == nil {
2397		invalidParams.Add(smithy.NewErrParamRequired("RoomName"))
2398	}
2399	if v.Tags != nil {
2400		if err := validateTagList(v.Tags); err != nil {
2401			invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError))
2402		}
2403	}
2404	if invalidParams.Len() > 0 {
2405		return invalidParams
2406	} else {
2407		return nil
2408	}
2409}
2410
2411func validateOpCreateSkillGroupInput(v *CreateSkillGroupInput) error {
2412	if v == nil {
2413		return nil
2414	}
2415	invalidParams := smithy.InvalidParamsError{Context: "CreateSkillGroupInput"}
2416	if v.SkillGroupName == nil {
2417		invalidParams.Add(smithy.NewErrParamRequired("SkillGroupName"))
2418	}
2419	if v.Tags != nil {
2420		if err := validateTagList(v.Tags); err != nil {
2421			invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError))
2422		}
2423	}
2424	if invalidParams.Len() > 0 {
2425		return invalidParams
2426	} else {
2427		return nil
2428	}
2429}
2430
2431func validateOpCreateUserInput(v *CreateUserInput) error {
2432	if v == nil {
2433		return nil
2434	}
2435	invalidParams := smithy.InvalidParamsError{Context: "CreateUserInput"}
2436	if v.UserId == nil {
2437		invalidParams.Add(smithy.NewErrParamRequired("UserId"))
2438	}
2439	if v.Tags != nil {
2440		if err := validateTagList(v.Tags); err != nil {
2441			invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError))
2442		}
2443	}
2444	if invalidParams.Len() > 0 {
2445		return invalidParams
2446	} else {
2447		return nil
2448	}
2449}
2450
2451func validateOpDeleteAddressBookInput(v *DeleteAddressBookInput) error {
2452	if v == nil {
2453		return nil
2454	}
2455	invalidParams := smithy.InvalidParamsError{Context: "DeleteAddressBookInput"}
2456	if v.AddressBookArn == nil {
2457		invalidParams.Add(smithy.NewErrParamRequired("AddressBookArn"))
2458	}
2459	if invalidParams.Len() > 0 {
2460		return invalidParams
2461	} else {
2462		return nil
2463	}
2464}
2465
2466func validateOpDeleteBusinessReportScheduleInput(v *DeleteBusinessReportScheduleInput) error {
2467	if v == nil {
2468		return nil
2469	}
2470	invalidParams := smithy.InvalidParamsError{Context: "DeleteBusinessReportScheduleInput"}
2471	if v.ScheduleArn == nil {
2472		invalidParams.Add(smithy.NewErrParamRequired("ScheduleArn"))
2473	}
2474	if invalidParams.Len() > 0 {
2475		return invalidParams
2476	} else {
2477		return nil
2478	}
2479}
2480
2481func validateOpDeleteConferenceProviderInput(v *DeleteConferenceProviderInput) error {
2482	if v == nil {
2483		return nil
2484	}
2485	invalidParams := smithy.InvalidParamsError{Context: "DeleteConferenceProviderInput"}
2486	if v.ConferenceProviderArn == nil {
2487		invalidParams.Add(smithy.NewErrParamRequired("ConferenceProviderArn"))
2488	}
2489	if invalidParams.Len() > 0 {
2490		return invalidParams
2491	} else {
2492		return nil
2493	}
2494}
2495
2496func validateOpDeleteContactInput(v *DeleteContactInput) error {
2497	if v == nil {
2498		return nil
2499	}
2500	invalidParams := smithy.InvalidParamsError{Context: "DeleteContactInput"}
2501	if v.ContactArn == nil {
2502		invalidParams.Add(smithy.NewErrParamRequired("ContactArn"))
2503	}
2504	if invalidParams.Len() > 0 {
2505		return invalidParams
2506	} else {
2507		return nil
2508	}
2509}
2510
2511func validateOpDeleteDeviceInput(v *DeleteDeviceInput) error {
2512	if v == nil {
2513		return nil
2514	}
2515	invalidParams := smithy.InvalidParamsError{Context: "DeleteDeviceInput"}
2516	if v.DeviceArn == nil {
2517		invalidParams.Add(smithy.NewErrParamRequired("DeviceArn"))
2518	}
2519	if invalidParams.Len() > 0 {
2520		return invalidParams
2521	} else {
2522		return nil
2523	}
2524}
2525
2526func validateOpDeleteDeviceUsageDataInput(v *DeleteDeviceUsageDataInput) error {
2527	if v == nil {
2528		return nil
2529	}
2530	invalidParams := smithy.InvalidParamsError{Context: "DeleteDeviceUsageDataInput"}
2531	if v.DeviceArn == nil {
2532		invalidParams.Add(smithy.NewErrParamRequired("DeviceArn"))
2533	}
2534	if len(v.DeviceUsageType) == 0 {
2535		invalidParams.Add(smithy.NewErrParamRequired("DeviceUsageType"))
2536	}
2537	if invalidParams.Len() > 0 {
2538		return invalidParams
2539	} else {
2540		return nil
2541	}
2542}
2543
2544func validateOpDeleteGatewayGroupInput(v *DeleteGatewayGroupInput) error {
2545	if v == nil {
2546		return nil
2547	}
2548	invalidParams := smithy.InvalidParamsError{Context: "DeleteGatewayGroupInput"}
2549	if v.GatewayGroupArn == nil {
2550		invalidParams.Add(smithy.NewErrParamRequired("GatewayGroupArn"))
2551	}
2552	if invalidParams.Len() > 0 {
2553		return invalidParams
2554	} else {
2555		return nil
2556	}
2557}
2558
2559func validateOpDeleteNetworkProfileInput(v *DeleteNetworkProfileInput) error {
2560	if v == nil {
2561		return nil
2562	}
2563	invalidParams := smithy.InvalidParamsError{Context: "DeleteNetworkProfileInput"}
2564	if v.NetworkProfileArn == nil {
2565		invalidParams.Add(smithy.NewErrParamRequired("NetworkProfileArn"))
2566	}
2567	if invalidParams.Len() > 0 {
2568		return invalidParams
2569	} else {
2570		return nil
2571	}
2572}
2573
2574func validateOpDeleteRoomSkillParameterInput(v *DeleteRoomSkillParameterInput) error {
2575	if v == nil {
2576		return nil
2577	}
2578	invalidParams := smithy.InvalidParamsError{Context: "DeleteRoomSkillParameterInput"}
2579	if v.SkillId == nil {
2580		invalidParams.Add(smithy.NewErrParamRequired("SkillId"))
2581	}
2582	if v.ParameterKey == nil {
2583		invalidParams.Add(smithy.NewErrParamRequired("ParameterKey"))
2584	}
2585	if invalidParams.Len() > 0 {
2586		return invalidParams
2587	} else {
2588		return nil
2589	}
2590}
2591
2592func validateOpDeleteSkillAuthorizationInput(v *DeleteSkillAuthorizationInput) error {
2593	if v == nil {
2594		return nil
2595	}
2596	invalidParams := smithy.InvalidParamsError{Context: "DeleteSkillAuthorizationInput"}
2597	if v.SkillId == nil {
2598		invalidParams.Add(smithy.NewErrParamRequired("SkillId"))
2599	}
2600	if invalidParams.Len() > 0 {
2601		return invalidParams
2602	} else {
2603		return nil
2604	}
2605}
2606
2607func validateOpDeleteUserInput(v *DeleteUserInput) error {
2608	if v == nil {
2609		return nil
2610	}
2611	invalidParams := smithy.InvalidParamsError{Context: "DeleteUserInput"}
2612	if v.EnrollmentId == nil {
2613		invalidParams.Add(smithy.NewErrParamRequired("EnrollmentId"))
2614	}
2615	if invalidParams.Len() > 0 {
2616		return invalidParams
2617	} else {
2618		return nil
2619	}
2620}
2621
2622func validateOpDisassociateContactFromAddressBookInput(v *DisassociateContactFromAddressBookInput) error {
2623	if v == nil {
2624		return nil
2625	}
2626	invalidParams := smithy.InvalidParamsError{Context: "DisassociateContactFromAddressBookInput"}
2627	if v.ContactArn == nil {
2628		invalidParams.Add(smithy.NewErrParamRequired("ContactArn"))
2629	}
2630	if v.AddressBookArn == nil {
2631		invalidParams.Add(smithy.NewErrParamRequired("AddressBookArn"))
2632	}
2633	if invalidParams.Len() > 0 {
2634		return invalidParams
2635	} else {
2636		return nil
2637	}
2638}
2639
2640func validateOpDisassociateSkillFromSkillGroupInput(v *DisassociateSkillFromSkillGroupInput) error {
2641	if v == nil {
2642		return nil
2643	}
2644	invalidParams := smithy.InvalidParamsError{Context: "DisassociateSkillFromSkillGroupInput"}
2645	if v.SkillId == nil {
2646		invalidParams.Add(smithy.NewErrParamRequired("SkillId"))
2647	}
2648	if invalidParams.Len() > 0 {
2649		return invalidParams
2650	} else {
2651		return nil
2652	}
2653}
2654
2655func validateOpDisassociateSkillFromUsersInput(v *DisassociateSkillFromUsersInput) error {
2656	if v == nil {
2657		return nil
2658	}
2659	invalidParams := smithy.InvalidParamsError{Context: "DisassociateSkillFromUsersInput"}
2660	if v.SkillId == nil {
2661		invalidParams.Add(smithy.NewErrParamRequired("SkillId"))
2662	}
2663	if invalidParams.Len() > 0 {
2664		return invalidParams
2665	} else {
2666		return nil
2667	}
2668}
2669
2670func validateOpForgetSmartHomeAppliancesInput(v *ForgetSmartHomeAppliancesInput) error {
2671	if v == nil {
2672		return nil
2673	}
2674	invalidParams := smithy.InvalidParamsError{Context: "ForgetSmartHomeAppliancesInput"}
2675	if v.RoomArn == nil {
2676		invalidParams.Add(smithy.NewErrParamRequired("RoomArn"))
2677	}
2678	if invalidParams.Len() > 0 {
2679		return invalidParams
2680	} else {
2681		return nil
2682	}
2683}
2684
2685func validateOpGetAddressBookInput(v *GetAddressBookInput) error {
2686	if v == nil {
2687		return nil
2688	}
2689	invalidParams := smithy.InvalidParamsError{Context: "GetAddressBookInput"}
2690	if v.AddressBookArn == nil {
2691		invalidParams.Add(smithy.NewErrParamRequired("AddressBookArn"))
2692	}
2693	if invalidParams.Len() > 0 {
2694		return invalidParams
2695	} else {
2696		return nil
2697	}
2698}
2699
2700func validateOpGetConferenceProviderInput(v *GetConferenceProviderInput) error {
2701	if v == nil {
2702		return nil
2703	}
2704	invalidParams := smithy.InvalidParamsError{Context: "GetConferenceProviderInput"}
2705	if v.ConferenceProviderArn == nil {
2706		invalidParams.Add(smithy.NewErrParamRequired("ConferenceProviderArn"))
2707	}
2708	if invalidParams.Len() > 0 {
2709		return invalidParams
2710	} else {
2711		return nil
2712	}
2713}
2714
2715func validateOpGetContactInput(v *GetContactInput) error {
2716	if v == nil {
2717		return nil
2718	}
2719	invalidParams := smithy.InvalidParamsError{Context: "GetContactInput"}
2720	if v.ContactArn == nil {
2721		invalidParams.Add(smithy.NewErrParamRequired("ContactArn"))
2722	}
2723	if invalidParams.Len() > 0 {
2724		return invalidParams
2725	} else {
2726		return nil
2727	}
2728}
2729
2730func validateOpGetGatewayGroupInput(v *GetGatewayGroupInput) error {
2731	if v == nil {
2732		return nil
2733	}
2734	invalidParams := smithy.InvalidParamsError{Context: "GetGatewayGroupInput"}
2735	if v.GatewayGroupArn == nil {
2736		invalidParams.Add(smithy.NewErrParamRequired("GatewayGroupArn"))
2737	}
2738	if invalidParams.Len() > 0 {
2739		return invalidParams
2740	} else {
2741		return nil
2742	}
2743}
2744
2745func validateOpGetGatewayInput(v *GetGatewayInput) error {
2746	if v == nil {
2747		return nil
2748	}
2749	invalidParams := smithy.InvalidParamsError{Context: "GetGatewayInput"}
2750	if v.GatewayArn == nil {
2751		invalidParams.Add(smithy.NewErrParamRequired("GatewayArn"))
2752	}
2753	if invalidParams.Len() > 0 {
2754		return invalidParams
2755	} else {
2756		return nil
2757	}
2758}
2759
2760func validateOpGetNetworkProfileInput(v *GetNetworkProfileInput) error {
2761	if v == nil {
2762		return nil
2763	}
2764	invalidParams := smithy.InvalidParamsError{Context: "GetNetworkProfileInput"}
2765	if v.NetworkProfileArn == nil {
2766		invalidParams.Add(smithy.NewErrParamRequired("NetworkProfileArn"))
2767	}
2768	if invalidParams.Len() > 0 {
2769		return invalidParams
2770	} else {
2771		return nil
2772	}
2773}
2774
2775func validateOpGetRoomSkillParameterInput(v *GetRoomSkillParameterInput) error {
2776	if v == nil {
2777		return nil
2778	}
2779	invalidParams := smithy.InvalidParamsError{Context: "GetRoomSkillParameterInput"}
2780	if v.SkillId == nil {
2781		invalidParams.Add(smithy.NewErrParamRequired("SkillId"))
2782	}
2783	if v.ParameterKey == nil {
2784		invalidParams.Add(smithy.NewErrParamRequired("ParameterKey"))
2785	}
2786	if invalidParams.Len() > 0 {
2787		return invalidParams
2788	} else {
2789		return nil
2790	}
2791}
2792
2793func validateOpListDeviceEventsInput(v *ListDeviceEventsInput) error {
2794	if v == nil {
2795		return nil
2796	}
2797	invalidParams := smithy.InvalidParamsError{Context: "ListDeviceEventsInput"}
2798	if v.DeviceArn == nil {
2799		invalidParams.Add(smithy.NewErrParamRequired("DeviceArn"))
2800	}
2801	if invalidParams.Len() > 0 {
2802		return invalidParams
2803	} else {
2804		return nil
2805	}
2806}
2807
2808func validateOpListSkillsStoreSkillsByCategoryInput(v *ListSkillsStoreSkillsByCategoryInput) error {
2809	if v == nil {
2810		return nil
2811	}
2812	invalidParams := smithy.InvalidParamsError{Context: "ListSkillsStoreSkillsByCategoryInput"}
2813	if v.CategoryId == nil {
2814		invalidParams.Add(smithy.NewErrParamRequired("CategoryId"))
2815	}
2816	if invalidParams.Len() > 0 {
2817		return invalidParams
2818	} else {
2819		return nil
2820	}
2821}
2822
2823func validateOpListSmartHomeAppliancesInput(v *ListSmartHomeAppliancesInput) error {
2824	if v == nil {
2825		return nil
2826	}
2827	invalidParams := smithy.InvalidParamsError{Context: "ListSmartHomeAppliancesInput"}
2828	if v.RoomArn == nil {
2829		invalidParams.Add(smithy.NewErrParamRequired("RoomArn"))
2830	}
2831	if invalidParams.Len() > 0 {
2832		return invalidParams
2833	} else {
2834		return nil
2835	}
2836}
2837
2838func validateOpListTagsInput(v *ListTagsInput) error {
2839	if v == nil {
2840		return nil
2841	}
2842	invalidParams := smithy.InvalidParamsError{Context: "ListTagsInput"}
2843	if v.Arn == nil {
2844		invalidParams.Add(smithy.NewErrParamRequired("Arn"))
2845	}
2846	if invalidParams.Len() > 0 {
2847		return invalidParams
2848	} else {
2849		return nil
2850	}
2851}
2852
2853func validateOpPutConferencePreferenceInput(v *PutConferencePreferenceInput) error {
2854	if v == nil {
2855		return nil
2856	}
2857	invalidParams := smithy.InvalidParamsError{Context: "PutConferencePreferenceInput"}
2858	if v.ConferencePreference == nil {
2859		invalidParams.Add(smithy.NewErrParamRequired("ConferencePreference"))
2860	}
2861	if invalidParams.Len() > 0 {
2862		return invalidParams
2863	} else {
2864		return nil
2865	}
2866}
2867
2868func validateOpPutInvitationConfigurationInput(v *PutInvitationConfigurationInput) error {
2869	if v == nil {
2870		return nil
2871	}
2872	invalidParams := smithy.InvalidParamsError{Context: "PutInvitationConfigurationInput"}
2873	if v.OrganizationName == nil {
2874		invalidParams.Add(smithy.NewErrParamRequired("OrganizationName"))
2875	}
2876	if invalidParams.Len() > 0 {
2877		return invalidParams
2878	} else {
2879		return nil
2880	}
2881}
2882
2883func validateOpPutRoomSkillParameterInput(v *PutRoomSkillParameterInput) error {
2884	if v == nil {
2885		return nil
2886	}
2887	invalidParams := smithy.InvalidParamsError{Context: "PutRoomSkillParameterInput"}
2888	if v.SkillId == nil {
2889		invalidParams.Add(smithy.NewErrParamRequired("SkillId"))
2890	}
2891	if v.RoomSkillParameter == nil {
2892		invalidParams.Add(smithy.NewErrParamRequired("RoomSkillParameter"))
2893	} else if v.RoomSkillParameter != nil {
2894		if err := validateRoomSkillParameter(v.RoomSkillParameter); err != nil {
2895			invalidParams.AddNested("RoomSkillParameter", err.(smithy.InvalidParamsError))
2896		}
2897	}
2898	if invalidParams.Len() > 0 {
2899		return invalidParams
2900	} else {
2901		return nil
2902	}
2903}
2904
2905func validateOpPutSkillAuthorizationInput(v *PutSkillAuthorizationInput) error {
2906	if v == nil {
2907		return nil
2908	}
2909	invalidParams := smithy.InvalidParamsError{Context: "PutSkillAuthorizationInput"}
2910	if v.AuthorizationResult == nil {
2911		invalidParams.Add(smithy.NewErrParamRequired("AuthorizationResult"))
2912	}
2913	if v.SkillId == nil {
2914		invalidParams.Add(smithy.NewErrParamRequired("SkillId"))
2915	}
2916	if invalidParams.Len() > 0 {
2917		return invalidParams
2918	} else {
2919		return nil
2920	}
2921}
2922
2923func validateOpRegisterAVSDeviceInput(v *RegisterAVSDeviceInput) error {
2924	if v == nil {
2925		return nil
2926	}
2927	invalidParams := smithy.InvalidParamsError{Context: "RegisterAVSDeviceInput"}
2928	if v.ClientId == nil {
2929		invalidParams.Add(smithy.NewErrParamRequired("ClientId"))
2930	}
2931	if v.UserCode == nil {
2932		invalidParams.Add(smithy.NewErrParamRequired("UserCode"))
2933	}
2934	if v.ProductId == nil {
2935		invalidParams.Add(smithy.NewErrParamRequired("ProductId"))
2936	}
2937	if v.AmazonId == nil {
2938		invalidParams.Add(smithy.NewErrParamRequired("AmazonId"))
2939	}
2940	if invalidParams.Len() > 0 {
2941		return invalidParams
2942	} else {
2943		return nil
2944	}
2945}
2946
2947func validateOpRejectSkillInput(v *RejectSkillInput) error {
2948	if v == nil {
2949		return nil
2950	}
2951	invalidParams := smithy.InvalidParamsError{Context: "RejectSkillInput"}
2952	if v.SkillId == nil {
2953		invalidParams.Add(smithy.NewErrParamRequired("SkillId"))
2954	}
2955	if invalidParams.Len() > 0 {
2956		return invalidParams
2957	} else {
2958		return nil
2959	}
2960}
2961
2962func validateOpResolveRoomInput(v *ResolveRoomInput) error {
2963	if v == nil {
2964		return nil
2965	}
2966	invalidParams := smithy.InvalidParamsError{Context: "ResolveRoomInput"}
2967	if v.UserId == nil {
2968		invalidParams.Add(smithy.NewErrParamRequired("UserId"))
2969	}
2970	if v.SkillId == nil {
2971		invalidParams.Add(smithy.NewErrParamRequired("SkillId"))
2972	}
2973	if invalidParams.Len() > 0 {
2974		return invalidParams
2975	} else {
2976		return nil
2977	}
2978}
2979
2980func validateOpSearchAddressBooksInput(v *SearchAddressBooksInput) error {
2981	if v == nil {
2982		return nil
2983	}
2984	invalidParams := smithy.InvalidParamsError{Context: "SearchAddressBooksInput"}
2985	if v.Filters != nil {
2986		if err := validateFilterList(v.Filters); err != nil {
2987			invalidParams.AddNested("Filters", err.(smithy.InvalidParamsError))
2988		}
2989	}
2990	if v.SortCriteria != nil {
2991		if err := validateSortList(v.SortCriteria); err != nil {
2992			invalidParams.AddNested("SortCriteria", err.(smithy.InvalidParamsError))
2993		}
2994	}
2995	if invalidParams.Len() > 0 {
2996		return invalidParams
2997	} else {
2998		return nil
2999	}
3000}
3001
3002func validateOpSearchContactsInput(v *SearchContactsInput) error {
3003	if v == nil {
3004		return nil
3005	}
3006	invalidParams := smithy.InvalidParamsError{Context: "SearchContactsInput"}
3007	if v.Filters != nil {
3008		if err := validateFilterList(v.Filters); err != nil {
3009			invalidParams.AddNested("Filters", err.(smithy.InvalidParamsError))
3010		}
3011	}
3012	if v.SortCriteria != nil {
3013		if err := validateSortList(v.SortCriteria); err != nil {
3014			invalidParams.AddNested("SortCriteria", err.(smithy.InvalidParamsError))
3015		}
3016	}
3017	if invalidParams.Len() > 0 {
3018		return invalidParams
3019	} else {
3020		return nil
3021	}
3022}
3023
3024func validateOpSearchDevicesInput(v *SearchDevicesInput) error {
3025	if v == nil {
3026		return nil
3027	}
3028	invalidParams := smithy.InvalidParamsError{Context: "SearchDevicesInput"}
3029	if v.Filters != nil {
3030		if err := validateFilterList(v.Filters); err != nil {
3031			invalidParams.AddNested("Filters", err.(smithy.InvalidParamsError))
3032		}
3033	}
3034	if v.SortCriteria != nil {
3035		if err := validateSortList(v.SortCriteria); err != nil {
3036			invalidParams.AddNested("SortCriteria", err.(smithy.InvalidParamsError))
3037		}
3038	}
3039	if invalidParams.Len() > 0 {
3040		return invalidParams
3041	} else {
3042		return nil
3043	}
3044}
3045
3046func validateOpSearchNetworkProfilesInput(v *SearchNetworkProfilesInput) error {
3047	if v == nil {
3048		return nil
3049	}
3050	invalidParams := smithy.InvalidParamsError{Context: "SearchNetworkProfilesInput"}
3051	if v.Filters != nil {
3052		if err := validateFilterList(v.Filters); err != nil {
3053			invalidParams.AddNested("Filters", err.(smithy.InvalidParamsError))
3054		}
3055	}
3056	if v.SortCriteria != nil {
3057		if err := validateSortList(v.SortCriteria); err != nil {
3058			invalidParams.AddNested("SortCriteria", err.(smithy.InvalidParamsError))
3059		}
3060	}
3061	if invalidParams.Len() > 0 {
3062		return invalidParams
3063	} else {
3064		return nil
3065	}
3066}
3067
3068func validateOpSearchProfilesInput(v *SearchProfilesInput) error {
3069	if v == nil {
3070		return nil
3071	}
3072	invalidParams := smithy.InvalidParamsError{Context: "SearchProfilesInput"}
3073	if v.Filters != nil {
3074		if err := validateFilterList(v.Filters); err != nil {
3075			invalidParams.AddNested("Filters", err.(smithy.InvalidParamsError))
3076		}
3077	}
3078	if v.SortCriteria != nil {
3079		if err := validateSortList(v.SortCriteria); err != nil {
3080			invalidParams.AddNested("SortCriteria", err.(smithy.InvalidParamsError))
3081		}
3082	}
3083	if invalidParams.Len() > 0 {
3084		return invalidParams
3085	} else {
3086		return nil
3087	}
3088}
3089
3090func validateOpSearchRoomsInput(v *SearchRoomsInput) error {
3091	if v == nil {
3092		return nil
3093	}
3094	invalidParams := smithy.InvalidParamsError{Context: "SearchRoomsInput"}
3095	if v.Filters != nil {
3096		if err := validateFilterList(v.Filters); err != nil {
3097			invalidParams.AddNested("Filters", err.(smithy.InvalidParamsError))
3098		}
3099	}
3100	if v.SortCriteria != nil {
3101		if err := validateSortList(v.SortCriteria); err != nil {
3102			invalidParams.AddNested("SortCriteria", err.(smithy.InvalidParamsError))
3103		}
3104	}
3105	if invalidParams.Len() > 0 {
3106		return invalidParams
3107	} else {
3108		return nil
3109	}
3110}
3111
3112func validateOpSearchSkillGroupsInput(v *SearchSkillGroupsInput) error {
3113	if v == nil {
3114		return nil
3115	}
3116	invalidParams := smithy.InvalidParamsError{Context: "SearchSkillGroupsInput"}
3117	if v.Filters != nil {
3118		if err := validateFilterList(v.Filters); err != nil {
3119			invalidParams.AddNested("Filters", err.(smithy.InvalidParamsError))
3120		}
3121	}
3122	if v.SortCriteria != nil {
3123		if err := validateSortList(v.SortCriteria); err != nil {
3124			invalidParams.AddNested("SortCriteria", err.(smithy.InvalidParamsError))
3125		}
3126	}
3127	if invalidParams.Len() > 0 {
3128		return invalidParams
3129	} else {
3130		return nil
3131	}
3132}
3133
3134func validateOpSearchUsersInput(v *SearchUsersInput) error {
3135	if v == nil {
3136		return nil
3137	}
3138	invalidParams := smithy.InvalidParamsError{Context: "SearchUsersInput"}
3139	if v.Filters != nil {
3140		if err := validateFilterList(v.Filters); err != nil {
3141			invalidParams.AddNested("Filters", err.(smithy.InvalidParamsError))
3142		}
3143	}
3144	if v.SortCriteria != nil {
3145		if err := validateSortList(v.SortCriteria); err != nil {
3146			invalidParams.AddNested("SortCriteria", err.(smithy.InvalidParamsError))
3147		}
3148	}
3149	if invalidParams.Len() > 0 {
3150		return invalidParams
3151	} else {
3152		return nil
3153	}
3154}
3155
3156func validateOpSendAnnouncementInput(v *SendAnnouncementInput) error {
3157	if v == nil {
3158		return nil
3159	}
3160	invalidParams := smithy.InvalidParamsError{Context: "SendAnnouncementInput"}
3161	if v.RoomFilters == nil {
3162		invalidParams.Add(smithy.NewErrParamRequired("RoomFilters"))
3163	} else if v.RoomFilters != nil {
3164		if err := validateFilterList(v.RoomFilters); err != nil {
3165			invalidParams.AddNested("RoomFilters", err.(smithy.InvalidParamsError))
3166		}
3167	}
3168	if v.Content == nil {
3169		invalidParams.Add(smithy.NewErrParamRequired("Content"))
3170	} else if v.Content != nil {
3171		if err := validateContent(v.Content); err != nil {
3172			invalidParams.AddNested("Content", err.(smithy.InvalidParamsError))
3173		}
3174	}
3175	if v.ClientRequestToken == nil {
3176		invalidParams.Add(smithy.NewErrParamRequired("ClientRequestToken"))
3177	}
3178	if invalidParams.Len() > 0 {
3179		return invalidParams
3180	} else {
3181		return nil
3182	}
3183}
3184
3185func validateOpStartDeviceSyncInput(v *StartDeviceSyncInput) error {
3186	if v == nil {
3187		return nil
3188	}
3189	invalidParams := smithy.InvalidParamsError{Context: "StartDeviceSyncInput"}
3190	if v.Features == nil {
3191		invalidParams.Add(smithy.NewErrParamRequired("Features"))
3192	}
3193	if invalidParams.Len() > 0 {
3194		return invalidParams
3195	} else {
3196		return nil
3197	}
3198}
3199
3200func validateOpStartSmartHomeApplianceDiscoveryInput(v *StartSmartHomeApplianceDiscoveryInput) error {
3201	if v == nil {
3202		return nil
3203	}
3204	invalidParams := smithy.InvalidParamsError{Context: "StartSmartHomeApplianceDiscoveryInput"}
3205	if v.RoomArn == nil {
3206		invalidParams.Add(smithy.NewErrParamRequired("RoomArn"))
3207	}
3208	if invalidParams.Len() > 0 {
3209		return invalidParams
3210	} else {
3211		return nil
3212	}
3213}
3214
3215func validateOpTagResourceInput(v *TagResourceInput) error {
3216	if v == nil {
3217		return nil
3218	}
3219	invalidParams := smithy.InvalidParamsError{Context: "TagResourceInput"}
3220	if v.Arn == nil {
3221		invalidParams.Add(smithy.NewErrParamRequired("Arn"))
3222	}
3223	if v.Tags == nil {
3224		invalidParams.Add(smithy.NewErrParamRequired("Tags"))
3225	} else if v.Tags != nil {
3226		if err := validateTagList(v.Tags); err != nil {
3227			invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError))
3228		}
3229	}
3230	if invalidParams.Len() > 0 {
3231		return invalidParams
3232	} else {
3233		return nil
3234	}
3235}
3236
3237func validateOpUntagResourceInput(v *UntagResourceInput) error {
3238	if v == nil {
3239		return nil
3240	}
3241	invalidParams := smithy.InvalidParamsError{Context: "UntagResourceInput"}
3242	if v.Arn == nil {
3243		invalidParams.Add(smithy.NewErrParamRequired("Arn"))
3244	}
3245	if v.TagKeys == nil {
3246		invalidParams.Add(smithy.NewErrParamRequired("TagKeys"))
3247	}
3248	if invalidParams.Len() > 0 {
3249		return invalidParams
3250	} else {
3251		return nil
3252	}
3253}
3254
3255func validateOpUpdateAddressBookInput(v *UpdateAddressBookInput) error {
3256	if v == nil {
3257		return nil
3258	}
3259	invalidParams := smithy.InvalidParamsError{Context: "UpdateAddressBookInput"}
3260	if v.AddressBookArn == nil {
3261		invalidParams.Add(smithy.NewErrParamRequired("AddressBookArn"))
3262	}
3263	if invalidParams.Len() > 0 {
3264		return invalidParams
3265	} else {
3266		return nil
3267	}
3268}
3269
3270func validateOpUpdateBusinessReportScheduleInput(v *UpdateBusinessReportScheduleInput) error {
3271	if v == nil {
3272		return nil
3273	}
3274	invalidParams := smithy.InvalidParamsError{Context: "UpdateBusinessReportScheduleInput"}
3275	if v.ScheduleArn == nil {
3276		invalidParams.Add(smithy.NewErrParamRequired("ScheduleArn"))
3277	}
3278	if invalidParams.Len() > 0 {
3279		return invalidParams
3280	} else {
3281		return nil
3282	}
3283}
3284
3285func validateOpUpdateConferenceProviderInput(v *UpdateConferenceProviderInput) error {
3286	if v == nil {
3287		return nil
3288	}
3289	invalidParams := smithy.InvalidParamsError{Context: "UpdateConferenceProviderInput"}
3290	if v.ConferenceProviderArn == nil {
3291		invalidParams.Add(smithy.NewErrParamRequired("ConferenceProviderArn"))
3292	}
3293	if len(v.ConferenceProviderType) == 0 {
3294		invalidParams.Add(smithy.NewErrParamRequired("ConferenceProviderType"))
3295	}
3296	if v.IPDialIn != nil {
3297		if err := validateIPDialIn(v.IPDialIn); err != nil {
3298			invalidParams.AddNested("IPDialIn", err.(smithy.InvalidParamsError))
3299		}
3300	}
3301	if v.PSTNDialIn != nil {
3302		if err := validatePSTNDialIn(v.PSTNDialIn); err != nil {
3303			invalidParams.AddNested("PSTNDialIn", err.(smithy.InvalidParamsError))
3304		}
3305	}
3306	if v.MeetingSetting == nil {
3307		invalidParams.Add(smithy.NewErrParamRequired("MeetingSetting"))
3308	} else if v.MeetingSetting != nil {
3309		if err := validateMeetingSetting(v.MeetingSetting); err != nil {
3310			invalidParams.AddNested("MeetingSetting", err.(smithy.InvalidParamsError))
3311		}
3312	}
3313	if invalidParams.Len() > 0 {
3314		return invalidParams
3315	} else {
3316		return nil
3317	}
3318}
3319
3320func validateOpUpdateContactInput(v *UpdateContactInput) error {
3321	if v == nil {
3322		return nil
3323	}
3324	invalidParams := smithy.InvalidParamsError{Context: "UpdateContactInput"}
3325	if v.ContactArn == nil {
3326		invalidParams.Add(smithy.NewErrParamRequired("ContactArn"))
3327	}
3328	if v.PhoneNumbers != nil {
3329		if err := validatePhoneNumberList(v.PhoneNumbers); err != nil {
3330			invalidParams.AddNested("PhoneNumbers", err.(smithy.InvalidParamsError))
3331		}
3332	}
3333	if v.SipAddresses != nil {
3334		if err := validateSipAddressList(v.SipAddresses); err != nil {
3335			invalidParams.AddNested("SipAddresses", err.(smithy.InvalidParamsError))
3336		}
3337	}
3338	if invalidParams.Len() > 0 {
3339		return invalidParams
3340	} else {
3341		return nil
3342	}
3343}
3344
3345func validateOpUpdateGatewayGroupInput(v *UpdateGatewayGroupInput) error {
3346	if v == nil {
3347		return nil
3348	}
3349	invalidParams := smithy.InvalidParamsError{Context: "UpdateGatewayGroupInput"}
3350	if v.GatewayGroupArn == nil {
3351		invalidParams.Add(smithy.NewErrParamRequired("GatewayGroupArn"))
3352	}
3353	if invalidParams.Len() > 0 {
3354		return invalidParams
3355	} else {
3356		return nil
3357	}
3358}
3359
3360func validateOpUpdateGatewayInput(v *UpdateGatewayInput) error {
3361	if v == nil {
3362		return nil
3363	}
3364	invalidParams := smithy.InvalidParamsError{Context: "UpdateGatewayInput"}
3365	if v.GatewayArn == nil {
3366		invalidParams.Add(smithy.NewErrParamRequired("GatewayArn"))
3367	}
3368	if invalidParams.Len() > 0 {
3369		return invalidParams
3370	} else {
3371		return nil
3372	}
3373}
3374
3375func validateOpUpdateNetworkProfileInput(v *UpdateNetworkProfileInput) error {
3376	if v == nil {
3377		return nil
3378	}
3379	invalidParams := smithy.InvalidParamsError{Context: "UpdateNetworkProfileInput"}
3380	if v.NetworkProfileArn == nil {
3381		invalidParams.Add(smithy.NewErrParamRequired("NetworkProfileArn"))
3382	}
3383	if invalidParams.Len() > 0 {
3384		return invalidParams
3385	} else {
3386		return nil
3387	}
3388}
3389