1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package configservice
4
5import (
6	"bytes"
7	"context"
8	"fmt"
9	"github.com/aws/aws-sdk-go-v2/service/configservice/types"
10	smithy "github.com/aws/smithy-go"
11	"github.com/aws/smithy-go/encoding/httpbinding"
12	smithyjson "github.com/aws/smithy-go/encoding/json"
13	"github.com/aws/smithy-go/middleware"
14	smithytime "github.com/aws/smithy-go/time"
15	smithyhttp "github.com/aws/smithy-go/transport/http"
16	"strings"
17)
18
19type awsAwsjson11_serializeOpBatchGetAggregateResourceConfig struct {
20}
21
22func (*awsAwsjson11_serializeOpBatchGetAggregateResourceConfig) ID() string {
23	return "OperationSerializer"
24}
25
26func (m *awsAwsjson11_serializeOpBatchGetAggregateResourceConfig) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
27	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
28) {
29	request, ok := in.Request.(*smithyhttp.Request)
30	if !ok {
31		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
32	}
33
34	input, ok := in.Parameters.(*BatchGetAggregateResourceConfigInput)
35	_ = input
36	if !ok {
37		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
38	}
39
40	request.Request.URL.Path = "/"
41	request.Request.Method = "POST"
42	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
43	if err != nil {
44		return out, metadata, &smithy.SerializationError{Err: err}
45	}
46	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
47	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.BatchGetAggregateResourceConfig")
48
49	jsonEncoder := smithyjson.NewEncoder()
50	if err := awsAwsjson11_serializeOpDocumentBatchGetAggregateResourceConfigInput(input, jsonEncoder.Value); err != nil {
51		return out, metadata, &smithy.SerializationError{Err: err}
52	}
53
54	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
55		return out, metadata, &smithy.SerializationError{Err: err}
56	}
57
58	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
59		return out, metadata, &smithy.SerializationError{Err: err}
60	}
61	in.Request = request
62
63	return next.HandleSerialize(ctx, in)
64}
65
66type awsAwsjson11_serializeOpBatchGetResourceConfig struct {
67}
68
69func (*awsAwsjson11_serializeOpBatchGetResourceConfig) ID() string {
70	return "OperationSerializer"
71}
72
73func (m *awsAwsjson11_serializeOpBatchGetResourceConfig) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
74	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
75) {
76	request, ok := in.Request.(*smithyhttp.Request)
77	if !ok {
78		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
79	}
80
81	input, ok := in.Parameters.(*BatchGetResourceConfigInput)
82	_ = input
83	if !ok {
84		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
85	}
86
87	request.Request.URL.Path = "/"
88	request.Request.Method = "POST"
89	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
90	if err != nil {
91		return out, metadata, &smithy.SerializationError{Err: err}
92	}
93	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
94	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.BatchGetResourceConfig")
95
96	jsonEncoder := smithyjson.NewEncoder()
97	if err := awsAwsjson11_serializeOpDocumentBatchGetResourceConfigInput(input, jsonEncoder.Value); err != nil {
98		return out, metadata, &smithy.SerializationError{Err: err}
99	}
100
101	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
102		return out, metadata, &smithy.SerializationError{Err: err}
103	}
104
105	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
106		return out, metadata, &smithy.SerializationError{Err: err}
107	}
108	in.Request = request
109
110	return next.HandleSerialize(ctx, in)
111}
112
113type awsAwsjson11_serializeOpDeleteAggregationAuthorization struct {
114}
115
116func (*awsAwsjson11_serializeOpDeleteAggregationAuthorization) ID() string {
117	return "OperationSerializer"
118}
119
120func (m *awsAwsjson11_serializeOpDeleteAggregationAuthorization) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
121	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
122) {
123	request, ok := in.Request.(*smithyhttp.Request)
124	if !ok {
125		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
126	}
127
128	input, ok := in.Parameters.(*DeleteAggregationAuthorizationInput)
129	_ = input
130	if !ok {
131		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
132	}
133
134	request.Request.URL.Path = "/"
135	request.Request.Method = "POST"
136	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
137	if err != nil {
138		return out, metadata, &smithy.SerializationError{Err: err}
139	}
140	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
141	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DeleteAggregationAuthorization")
142
143	jsonEncoder := smithyjson.NewEncoder()
144	if err := awsAwsjson11_serializeOpDocumentDeleteAggregationAuthorizationInput(input, jsonEncoder.Value); err != nil {
145		return out, metadata, &smithy.SerializationError{Err: err}
146	}
147
148	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
149		return out, metadata, &smithy.SerializationError{Err: err}
150	}
151
152	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
153		return out, metadata, &smithy.SerializationError{Err: err}
154	}
155	in.Request = request
156
157	return next.HandleSerialize(ctx, in)
158}
159
160type awsAwsjson11_serializeOpDeleteConfigRule struct {
161}
162
163func (*awsAwsjson11_serializeOpDeleteConfigRule) ID() string {
164	return "OperationSerializer"
165}
166
167func (m *awsAwsjson11_serializeOpDeleteConfigRule) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
168	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
169) {
170	request, ok := in.Request.(*smithyhttp.Request)
171	if !ok {
172		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
173	}
174
175	input, ok := in.Parameters.(*DeleteConfigRuleInput)
176	_ = input
177	if !ok {
178		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
179	}
180
181	request.Request.URL.Path = "/"
182	request.Request.Method = "POST"
183	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
184	if err != nil {
185		return out, metadata, &smithy.SerializationError{Err: err}
186	}
187	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
188	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DeleteConfigRule")
189
190	jsonEncoder := smithyjson.NewEncoder()
191	if err := awsAwsjson11_serializeOpDocumentDeleteConfigRuleInput(input, jsonEncoder.Value); err != nil {
192		return out, metadata, &smithy.SerializationError{Err: err}
193	}
194
195	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
196		return out, metadata, &smithy.SerializationError{Err: err}
197	}
198
199	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
200		return out, metadata, &smithy.SerializationError{Err: err}
201	}
202	in.Request = request
203
204	return next.HandleSerialize(ctx, in)
205}
206
207type awsAwsjson11_serializeOpDeleteConfigurationAggregator struct {
208}
209
210func (*awsAwsjson11_serializeOpDeleteConfigurationAggregator) ID() string {
211	return "OperationSerializer"
212}
213
214func (m *awsAwsjson11_serializeOpDeleteConfigurationAggregator) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
215	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
216) {
217	request, ok := in.Request.(*smithyhttp.Request)
218	if !ok {
219		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
220	}
221
222	input, ok := in.Parameters.(*DeleteConfigurationAggregatorInput)
223	_ = input
224	if !ok {
225		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
226	}
227
228	request.Request.URL.Path = "/"
229	request.Request.Method = "POST"
230	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
231	if err != nil {
232		return out, metadata, &smithy.SerializationError{Err: err}
233	}
234	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
235	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DeleteConfigurationAggregator")
236
237	jsonEncoder := smithyjson.NewEncoder()
238	if err := awsAwsjson11_serializeOpDocumentDeleteConfigurationAggregatorInput(input, jsonEncoder.Value); err != nil {
239		return out, metadata, &smithy.SerializationError{Err: err}
240	}
241
242	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
243		return out, metadata, &smithy.SerializationError{Err: err}
244	}
245
246	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
247		return out, metadata, &smithy.SerializationError{Err: err}
248	}
249	in.Request = request
250
251	return next.HandleSerialize(ctx, in)
252}
253
254type awsAwsjson11_serializeOpDeleteConfigurationRecorder struct {
255}
256
257func (*awsAwsjson11_serializeOpDeleteConfigurationRecorder) ID() string {
258	return "OperationSerializer"
259}
260
261func (m *awsAwsjson11_serializeOpDeleteConfigurationRecorder) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
262	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
263) {
264	request, ok := in.Request.(*smithyhttp.Request)
265	if !ok {
266		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
267	}
268
269	input, ok := in.Parameters.(*DeleteConfigurationRecorderInput)
270	_ = input
271	if !ok {
272		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
273	}
274
275	request.Request.URL.Path = "/"
276	request.Request.Method = "POST"
277	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
278	if err != nil {
279		return out, metadata, &smithy.SerializationError{Err: err}
280	}
281	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
282	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DeleteConfigurationRecorder")
283
284	jsonEncoder := smithyjson.NewEncoder()
285	if err := awsAwsjson11_serializeOpDocumentDeleteConfigurationRecorderInput(input, jsonEncoder.Value); err != nil {
286		return out, metadata, &smithy.SerializationError{Err: err}
287	}
288
289	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
290		return out, metadata, &smithy.SerializationError{Err: err}
291	}
292
293	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
294		return out, metadata, &smithy.SerializationError{Err: err}
295	}
296	in.Request = request
297
298	return next.HandleSerialize(ctx, in)
299}
300
301type awsAwsjson11_serializeOpDeleteConformancePack struct {
302}
303
304func (*awsAwsjson11_serializeOpDeleteConformancePack) ID() string {
305	return "OperationSerializer"
306}
307
308func (m *awsAwsjson11_serializeOpDeleteConformancePack) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
309	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
310) {
311	request, ok := in.Request.(*smithyhttp.Request)
312	if !ok {
313		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
314	}
315
316	input, ok := in.Parameters.(*DeleteConformancePackInput)
317	_ = input
318	if !ok {
319		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
320	}
321
322	request.Request.URL.Path = "/"
323	request.Request.Method = "POST"
324	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
325	if err != nil {
326		return out, metadata, &smithy.SerializationError{Err: err}
327	}
328	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
329	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DeleteConformancePack")
330
331	jsonEncoder := smithyjson.NewEncoder()
332	if err := awsAwsjson11_serializeOpDocumentDeleteConformancePackInput(input, jsonEncoder.Value); err != nil {
333		return out, metadata, &smithy.SerializationError{Err: err}
334	}
335
336	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
337		return out, metadata, &smithy.SerializationError{Err: err}
338	}
339
340	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
341		return out, metadata, &smithy.SerializationError{Err: err}
342	}
343	in.Request = request
344
345	return next.HandleSerialize(ctx, in)
346}
347
348type awsAwsjson11_serializeOpDeleteDeliveryChannel struct {
349}
350
351func (*awsAwsjson11_serializeOpDeleteDeliveryChannel) ID() string {
352	return "OperationSerializer"
353}
354
355func (m *awsAwsjson11_serializeOpDeleteDeliveryChannel) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
356	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
357) {
358	request, ok := in.Request.(*smithyhttp.Request)
359	if !ok {
360		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
361	}
362
363	input, ok := in.Parameters.(*DeleteDeliveryChannelInput)
364	_ = input
365	if !ok {
366		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
367	}
368
369	request.Request.URL.Path = "/"
370	request.Request.Method = "POST"
371	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
372	if err != nil {
373		return out, metadata, &smithy.SerializationError{Err: err}
374	}
375	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
376	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DeleteDeliveryChannel")
377
378	jsonEncoder := smithyjson.NewEncoder()
379	if err := awsAwsjson11_serializeOpDocumentDeleteDeliveryChannelInput(input, jsonEncoder.Value); err != nil {
380		return out, metadata, &smithy.SerializationError{Err: err}
381	}
382
383	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
384		return out, metadata, &smithy.SerializationError{Err: err}
385	}
386
387	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
388		return out, metadata, &smithy.SerializationError{Err: err}
389	}
390	in.Request = request
391
392	return next.HandleSerialize(ctx, in)
393}
394
395type awsAwsjson11_serializeOpDeleteEvaluationResults struct {
396}
397
398func (*awsAwsjson11_serializeOpDeleteEvaluationResults) ID() string {
399	return "OperationSerializer"
400}
401
402func (m *awsAwsjson11_serializeOpDeleteEvaluationResults) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
403	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
404) {
405	request, ok := in.Request.(*smithyhttp.Request)
406	if !ok {
407		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
408	}
409
410	input, ok := in.Parameters.(*DeleteEvaluationResultsInput)
411	_ = input
412	if !ok {
413		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
414	}
415
416	request.Request.URL.Path = "/"
417	request.Request.Method = "POST"
418	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
419	if err != nil {
420		return out, metadata, &smithy.SerializationError{Err: err}
421	}
422	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
423	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DeleteEvaluationResults")
424
425	jsonEncoder := smithyjson.NewEncoder()
426	if err := awsAwsjson11_serializeOpDocumentDeleteEvaluationResultsInput(input, jsonEncoder.Value); err != nil {
427		return out, metadata, &smithy.SerializationError{Err: err}
428	}
429
430	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
431		return out, metadata, &smithy.SerializationError{Err: err}
432	}
433
434	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
435		return out, metadata, &smithy.SerializationError{Err: err}
436	}
437	in.Request = request
438
439	return next.HandleSerialize(ctx, in)
440}
441
442type awsAwsjson11_serializeOpDeleteOrganizationConfigRule struct {
443}
444
445func (*awsAwsjson11_serializeOpDeleteOrganizationConfigRule) ID() string {
446	return "OperationSerializer"
447}
448
449func (m *awsAwsjson11_serializeOpDeleteOrganizationConfigRule) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
450	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
451) {
452	request, ok := in.Request.(*smithyhttp.Request)
453	if !ok {
454		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
455	}
456
457	input, ok := in.Parameters.(*DeleteOrganizationConfigRuleInput)
458	_ = input
459	if !ok {
460		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
461	}
462
463	request.Request.URL.Path = "/"
464	request.Request.Method = "POST"
465	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
466	if err != nil {
467		return out, metadata, &smithy.SerializationError{Err: err}
468	}
469	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
470	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DeleteOrganizationConfigRule")
471
472	jsonEncoder := smithyjson.NewEncoder()
473	if err := awsAwsjson11_serializeOpDocumentDeleteOrganizationConfigRuleInput(input, jsonEncoder.Value); err != nil {
474		return out, metadata, &smithy.SerializationError{Err: err}
475	}
476
477	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
478		return out, metadata, &smithy.SerializationError{Err: err}
479	}
480
481	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
482		return out, metadata, &smithy.SerializationError{Err: err}
483	}
484	in.Request = request
485
486	return next.HandleSerialize(ctx, in)
487}
488
489type awsAwsjson11_serializeOpDeleteOrganizationConformancePack struct {
490}
491
492func (*awsAwsjson11_serializeOpDeleteOrganizationConformancePack) ID() string {
493	return "OperationSerializer"
494}
495
496func (m *awsAwsjson11_serializeOpDeleteOrganizationConformancePack) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
497	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
498) {
499	request, ok := in.Request.(*smithyhttp.Request)
500	if !ok {
501		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
502	}
503
504	input, ok := in.Parameters.(*DeleteOrganizationConformancePackInput)
505	_ = input
506	if !ok {
507		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
508	}
509
510	request.Request.URL.Path = "/"
511	request.Request.Method = "POST"
512	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
513	if err != nil {
514		return out, metadata, &smithy.SerializationError{Err: err}
515	}
516	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
517	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DeleteOrganizationConformancePack")
518
519	jsonEncoder := smithyjson.NewEncoder()
520	if err := awsAwsjson11_serializeOpDocumentDeleteOrganizationConformancePackInput(input, jsonEncoder.Value); err != nil {
521		return out, metadata, &smithy.SerializationError{Err: err}
522	}
523
524	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
525		return out, metadata, &smithy.SerializationError{Err: err}
526	}
527
528	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
529		return out, metadata, &smithy.SerializationError{Err: err}
530	}
531	in.Request = request
532
533	return next.HandleSerialize(ctx, in)
534}
535
536type awsAwsjson11_serializeOpDeletePendingAggregationRequest struct {
537}
538
539func (*awsAwsjson11_serializeOpDeletePendingAggregationRequest) ID() string {
540	return "OperationSerializer"
541}
542
543func (m *awsAwsjson11_serializeOpDeletePendingAggregationRequest) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
544	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
545) {
546	request, ok := in.Request.(*smithyhttp.Request)
547	if !ok {
548		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
549	}
550
551	input, ok := in.Parameters.(*DeletePendingAggregationRequestInput)
552	_ = input
553	if !ok {
554		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
555	}
556
557	request.Request.URL.Path = "/"
558	request.Request.Method = "POST"
559	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
560	if err != nil {
561		return out, metadata, &smithy.SerializationError{Err: err}
562	}
563	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
564	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DeletePendingAggregationRequest")
565
566	jsonEncoder := smithyjson.NewEncoder()
567	if err := awsAwsjson11_serializeOpDocumentDeletePendingAggregationRequestInput(input, jsonEncoder.Value); err != nil {
568		return out, metadata, &smithy.SerializationError{Err: err}
569	}
570
571	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
572		return out, metadata, &smithy.SerializationError{Err: err}
573	}
574
575	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
576		return out, metadata, &smithy.SerializationError{Err: err}
577	}
578	in.Request = request
579
580	return next.HandleSerialize(ctx, in)
581}
582
583type awsAwsjson11_serializeOpDeleteRemediationConfiguration struct {
584}
585
586func (*awsAwsjson11_serializeOpDeleteRemediationConfiguration) ID() string {
587	return "OperationSerializer"
588}
589
590func (m *awsAwsjson11_serializeOpDeleteRemediationConfiguration) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
591	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
592) {
593	request, ok := in.Request.(*smithyhttp.Request)
594	if !ok {
595		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
596	}
597
598	input, ok := in.Parameters.(*DeleteRemediationConfigurationInput)
599	_ = input
600	if !ok {
601		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
602	}
603
604	request.Request.URL.Path = "/"
605	request.Request.Method = "POST"
606	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
607	if err != nil {
608		return out, metadata, &smithy.SerializationError{Err: err}
609	}
610	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
611	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DeleteRemediationConfiguration")
612
613	jsonEncoder := smithyjson.NewEncoder()
614	if err := awsAwsjson11_serializeOpDocumentDeleteRemediationConfigurationInput(input, jsonEncoder.Value); err != nil {
615		return out, metadata, &smithy.SerializationError{Err: err}
616	}
617
618	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
619		return out, metadata, &smithy.SerializationError{Err: err}
620	}
621
622	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
623		return out, metadata, &smithy.SerializationError{Err: err}
624	}
625	in.Request = request
626
627	return next.HandleSerialize(ctx, in)
628}
629
630type awsAwsjson11_serializeOpDeleteRemediationExceptions struct {
631}
632
633func (*awsAwsjson11_serializeOpDeleteRemediationExceptions) ID() string {
634	return "OperationSerializer"
635}
636
637func (m *awsAwsjson11_serializeOpDeleteRemediationExceptions) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
638	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
639) {
640	request, ok := in.Request.(*smithyhttp.Request)
641	if !ok {
642		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
643	}
644
645	input, ok := in.Parameters.(*DeleteRemediationExceptionsInput)
646	_ = input
647	if !ok {
648		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
649	}
650
651	request.Request.URL.Path = "/"
652	request.Request.Method = "POST"
653	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
654	if err != nil {
655		return out, metadata, &smithy.SerializationError{Err: err}
656	}
657	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
658	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DeleteRemediationExceptions")
659
660	jsonEncoder := smithyjson.NewEncoder()
661	if err := awsAwsjson11_serializeOpDocumentDeleteRemediationExceptionsInput(input, jsonEncoder.Value); err != nil {
662		return out, metadata, &smithy.SerializationError{Err: err}
663	}
664
665	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
666		return out, metadata, &smithy.SerializationError{Err: err}
667	}
668
669	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
670		return out, metadata, &smithy.SerializationError{Err: err}
671	}
672	in.Request = request
673
674	return next.HandleSerialize(ctx, in)
675}
676
677type awsAwsjson11_serializeOpDeleteResourceConfig struct {
678}
679
680func (*awsAwsjson11_serializeOpDeleteResourceConfig) ID() string {
681	return "OperationSerializer"
682}
683
684func (m *awsAwsjson11_serializeOpDeleteResourceConfig) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
685	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
686) {
687	request, ok := in.Request.(*smithyhttp.Request)
688	if !ok {
689		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
690	}
691
692	input, ok := in.Parameters.(*DeleteResourceConfigInput)
693	_ = input
694	if !ok {
695		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
696	}
697
698	request.Request.URL.Path = "/"
699	request.Request.Method = "POST"
700	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
701	if err != nil {
702		return out, metadata, &smithy.SerializationError{Err: err}
703	}
704	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
705	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DeleteResourceConfig")
706
707	jsonEncoder := smithyjson.NewEncoder()
708	if err := awsAwsjson11_serializeOpDocumentDeleteResourceConfigInput(input, jsonEncoder.Value); err != nil {
709		return out, metadata, &smithy.SerializationError{Err: err}
710	}
711
712	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
713		return out, metadata, &smithy.SerializationError{Err: err}
714	}
715
716	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
717		return out, metadata, &smithy.SerializationError{Err: err}
718	}
719	in.Request = request
720
721	return next.HandleSerialize(ctx, in)
722}
723
724type awsAwsjson11_serializeOpDeleteRetentionConfiguration struct {
725}
726
727func (*awsAwsjson11_serializeOpDeleteRetentionConfiguration) ID() string {
728	return "OperationSerializer"
729}
730
731func (m *awsAwsjson11_serializeOpDeleteRetentionConfiguration) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
732	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
733) {
734	request, ok := in.Request.(*smithyhttp.Request)
735	if !ok {
736		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
737	}
738
739	input, ok := in.Parameters.(*DeleteRetentionConfigurationInput)
740	_ = input
741	if !ok {
742		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
743	}
744
745	request.Request.URL.Path = "/"
746	request.Request.Method = "POST"
747	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
748	if err != nil {
749		return out, metadata, &smithy.SerializationError{Err: err}
750	}
751	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
752	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DeleteRetentionConfiguration")
753
754	jsonEncoder := smithyjson.NewEncoder()
755	if err := awsAwsjson11_serializeOpDocumentDeleteRetentionConfigurationInput(input, jsonEncoder.Value); err != nil {
756		return out, metadata, &smithy.SerializationError{Err: err}
757	}
758
759	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
760		return out, metadata, &smithy.SerializationError{Err: err}
761	}
762
763	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
764		return out, metadata, &smithy.SerializationError{Err: err}
765	}
766	in.Request = request
767
768	return next.HandleSerialize(ctx, in)
769}
770
771type awsAwsjson11_serializeOpDeleteStoredQuery struct {
772}
773
774func (*awsAwsjson11_serializeOpDeleteStoredQuery) ID() string {
775	return "OperationSerializer"
776}
777
778func (m *awsAwsjson11_serializeOpDeleteStoredQuery) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
779	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
780) {
781	request, ok := in.Request.(*smithyhttp.Request)
782	if !ok {
783		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
784	}
785
786	input, ok := in.Parameters.(*DeleteStoredQueryInput)
787	_ = input
788	if !ok {
789		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
790	}
791
792	request.Request.URL.Path = "/"
793	request.Request.Method = "POST"
794	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
795	if err != nil {
796		return out, metadata, &smithy.SerializationError{Err: err}
797	}
798	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
799	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DeleteStoredQuery")
800
801	jsonEncoder := smithyjson.NewEncoder()
802	if err := awsAwsjson11_serializeOpDocumentDeleteStoredQueryInput(input, jsonEncoder.Value); err != nil {
803		return out, metadata, &smithy.SerializationError{Err: err}
804	}
805
806	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
807		return out, metadata, &smithy.SerializationError{Err: err}
808	}
809
810	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
811		return out, metadata, &smithy.SerializationError{Err: err}
812	}
813	in.Request = request
814
815	return next.HandleSerialize(ctx, in)
816}
817
818type awsAwsjson11_serializeOpDeliverConfigSnapshot struct {
819}
820
821func (*awsAwsjson11_serializeOpDeliverConfigSnapshot) ID() string {
822	return "OperationSerializer"
823}
824
825func (m *awsAwsjson11_serializeOpDeliverConfigSnapshot) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
826	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
827) {
828	request, ok := in.Request.(*smithyhttp.Request)
829	if !ok {
830		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
831	}
832
833	input, ok := in.Parameters.(*DeliverConfigSnapshotInput)
834	_ = input
835	if !ok {
836		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
837	}
838
839	request.Request.URL.Path = "/"
840	request.Request.Method = "POST"
841	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
842	if err != nil {
843		return out, metadata, &smithy.SerializationError{Err: err}
844	}
845	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
846	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DeliverConfigSnapshot")
847
848	jsonEncoder := smithyjson.NewEncoder()
849	if err := awsAwsjson11_serializeOpDocumentDeliverConfigSnapshotInput(input, jsonEncoder.Value); err != nil {
850		return out, metadata, &smithy.SerializationError{Err: err}
851	}
852
853	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
854		return out, metadata, &smithy.SerializationError{Err: err}
855	}
856
857	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
858		return out, metadata, &smithy.SerializationError{Err: err}
859	}
860	in.Request = request
861
862	return next.HandleSerialize(ctx, in)
863}
864
865type awsAwsjson11_serializeOpDescribeAggregateComplianceByConfigRules struct {
866}
867
868func (*awsAwsjson11_serializeOpDescribeAggregateComplianceByConfigRules) ID() string {
869	return "OperationSerializer"
870}
871
872func (m *awsAwsjson11_serializeOpDescribeAggregateComplianceByConfigRules) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
873	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
874) {
875	request, ok := in.Request.(*smithyhttp.Request)
876	if !ok {
877		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
878	}
879
880	input, ok := in.Parameters.(*DescribeAggregateComplianceByConfigRulesInput)
881	_ = input
882	if !ok {
883		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
884	}
885
886	request.Request.URL.Path = "/"
887	request.Request.Method = "POST"
888	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
889	if err != nil {
890		return out, metadata, &smithy.SerializationError{Err: err}
891	}
892	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
893	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeAggregateComplianceByConfigRules")
894
895	jsonEncoder := smithyjson.NewEncoder()
896	if err := awsAwsjson11_serializeOpDocumentDescribeAggregateComplianceByConfigRulesInput(input, jsonEncoder.Value); err != nil {
897		return out, metadata, &smithy.SerializationError{Err: err}
898	}
899
900	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
901		return out, metadata, &smithy.SerializationError{Err: err}
902	}
903
904	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
905		return out, metadata, &smithy.SerializationError{Err: err}
906	}
907	in.Request = request
908
909	return next.HandleSerialize(ctx, in)
910}
911
912type awsAwsjson11_serializeOpDescribeAggregateComplianceByConformancePacks struct {
913}
914
915func (*awsAwsjson11_serializeOpDescribeAggregateComplianceByConformancePacks) ID() string {
916	return "OperationSerializer"
917}
918
919func (m *awsAwsjson11_serializeOpDescribeAggregateComplianceByConformancePacks) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
920	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
921) {
922	request, ok := in.Request.(*smithyhttp.Request)
923	if !ok {
924		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
925	}
926
927	input, ok := in.Parameters.(*DescribeAggregateComplianceByConformancePacksInput)
928	_ = input
929	if !ok {
930		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
931	}
932
933	request.Request.URL.Path = "/"
934	request.Request.Method = "POST"
935	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
936	if err != nil {
937		return out, metadata, &smithy.SerializationError{Err: err}
938	}
939	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
940	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeAggregateComplianceByConformancePacks")
941
942	jsonEncoder := smithyjson.NewEncoder()
943	if err := awsAwsjson11_serializeOpDocumentDescribeAggregateComplianceByConformancePacksInput(input, jsonEncoder.Value); err != nil {
944		return out, metadata, &smithy.SerializationError{Err: err}
945	}
946
947	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
948		return out, metadata, &smithy.SerializationError{Err: err}
949	}
950
951	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
952		return out, metadata, &smithy.SerializationError{Err: err}
953	}
954	in.Request = request
955
956	return next.HandleSerialize(ctx, in)
957}
958
959type awsAwsjson11_serializeOpDescribeAggregationAuthorizations struct {
960}
961
962func (*awsAwsjson11_serializeOpDescribeAggregationAuthorizations) ID() string {
963	return "OperationSerializer"
964}
965
966func (m *awsAwsjson11_serializeOpDescribeAggregationAuthorizations) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
967	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
968) {
969	request, ok := in.Request.(*smithyhttp.Request)
970	if !ok {
971		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
972	}
973
974	input, ok := in.Parameters.(*DescribeAggregationAuthorizationsInput)
975	_ = input
976	if !ok {
977		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
978	}
979
980	request.Request.URL.Path = "/"
981	request.Request.Method = "POST"
982	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
983	if err != nil {
984		return out, metadata, &smithy.SerializationError{Err: err}
985	}
986	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
987	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeAggregationAuthorizations")
988
989	jsonEncoder := smithyjson.NewEncoder()
990	if err := awsAwsjson11_serializeOpDocumentDescribeAggregationAuthorizationsInput(input, jsonEncoder.Value); err != nil {
991		return out, metadata, &smithy.SerializationError{Err: err}
992	}
993
994	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
995		return out, metadata, &smithy.SerializationError{Err: err}
996	}
997
998	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
999		return out, metadata, &smithy.SerializationError{Err: err}
1000	}
1001	in.Request = request
1002
1003	return next.HandleSerialize(ctx, in)
1004}
1005
1006type awsAwsjson11_serializeOpDescribeComplianceByConfigRule struct {
1007}
1008
1009func (*awsAwsjson11_serializeOpDescribeComplianceByConfigRule) ID() string {
1010	return "OperationSerializer"
1011}
1012
1013func (m *awsAwsjson11_serializeOpDescribeComplianceByConfigRule) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1014	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1015) {
1016	request, ok := in.Request.(*smithyhttp.Request)
1017	if !ok {
1018		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1019	}
1020
1021	input, ok := in.Parameters.(*DescribeComplianceByConfigRuleInput)
1022	_ = input
1023	if !ok {
1024		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1025	}
1026
1027	request.Request.URL.Path = "/"
1028	request.Request.Method = "POST"
1029	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1030	if err != nil {
1031		return out, metadata, &smithy.SerializationError{Err: err}
1032	}
1033	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1034	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeComplianceByConfigRule")
1035
1036	jsonEncoder := smithyjson.NewEncoder()
1037	if err := awsAwsjson11_serializeOpDocumentDescribeComplianceByConfigRuleInput(input, jsonEncoder.Value); err != nil {
1038		return out, metadata, &smithy.SerializationError{Err: err}
1039	}
1040
1041	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1042		return out, metadata, &smithy.SerializationError{Err: err}
1043	}
1044
1045	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1046		return out, metadata, &smithy.SerializationError{Err: err}
1047	}
1048	in.Request = request
1049
1050	return next.HandleSerialize(ctx, in)
1051}
1052
1053type awsAwsjson11_serializeOpDescribeComplianceByResource struct {
1054}
1055
1056func (*awsAwsjson11_serializeOpDescribeComplianceByResource) ID() string {
1057	return "OperationSerializer"
1058}
1059
1060func (m *awsAwsjson11_serializeOpDescribeComplianceByResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1061	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1062) {
1063	request, ok := in.Request.(*smithyhttp.Request)
1064	if !ok {
1065		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1066	}
1067
1068	input, ok := in.Parameters.(*DescribeComplianceByResourceInput)
1069	_ = input
1070	if !ok {
1071		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1072	}
1073
1074	request.Request.URL.Path = "/"
1075	request.Request.Method = "POST"
1076	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1077	if err != nil {
1078		return out, metadata, &smithy.SerializationError{Err: err}
1079	}
1080	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1081	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeComplianceByResource")
1082
1083	jsonEncoder := smithyjson.NewEncoder()
1084	if err := awsAwsjson11_serializeOpDocumentDescribeComplianceByResourceInput(input, jsonEncoder.Value); err != nil {
1085		return out, metadata, &smithy.SerializationError{Err: err}
1086	}
1087
1088	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1089		return out, metadata, &smithy.SerializationError{Err: err}
1090	}
1091
1092	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1093		return out, metadata, &smithy.SerializationError{Err: err}
1094	}
1095	in.Request = request
1096
1097	return next.HandleSerialize(ctx, in)
1098}
1099
1100type awsAwsjson11_serializeOpDescribeConfigRuleEvaluationStatus struct {
1101}
1102
1103func (*awsAwsjson11_serializeOpDescribeConfigRuleEvaluationStatus) ID() string {
1104	return "OperationSerializer"
1105}
1106
1107func (m *awsAwsjson11_serializeOpDescribeConfigRuleEvaluationStatus) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1108	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1109) {
1110	request, ok := in.Request.(*smithyhttp.Request)
1111	if !ok {
1112		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1113	}
1114
1115	input, ok := in.Parameters.(*DescribeConfigRuleEvaluationStatusInput)
1116	_ = input
1117	if !ok {
1118		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1119	}
1120
1121	request.Request.URL.Path = "/"
1122	request.Request.Method = "POST"
1123	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1124	if err != nil {
1125		return out, metadata, &smithy.SerializationError{Err: err}
1126	}
1127	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1128	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeConfigRuleEvaluationStatus")
1129
1130	jsonEncoder := smithyjson.NewEncoder()
1131	if err := awsAwsjson11_serializeOpDocumentDescribeConfigRuleEvaluationStatusInput(input, jsonEncoder.Value); err != nil {
1132		return out, metadata, &smithy.SerializationError{Err: err}
1133	}
1134
1135	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1136		return out, metadata, &smithy.SerializationError{Err: err}
1137	}
1138
1139	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1140		return out, metadata, &smithy.SerializationError{Err: err}
1141	}
1142	in.Request = request
1143
1144	return next.HandleSerialize(ctx, in)
1145}
1146
1147type awsAwsjson11_serializeOpDescribeConfigRules struct {
1148}
1149
1150func (*awsAwsjson11_serializeOpDescribeConfigRules) ID() string {
1151	return "OperationSerializer"
1152}
1153
1154func (m *awsAwsjson11_serializeOpDescribeConfigRules) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1155	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1156) {
1157	request, ok := in.Request.(*smithyhttp.Request)
1158	if !ok {
1159		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1160	}
1161
1162	input, ok := in.Parameters.(*DescribeConfigRulesInput)
1163	_ = input
1164	if !ok {
1165		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1166	}
1167
1168	request.Request.URL.Path = "/"
1169	request.Request.Method = "POST"
1170	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1171	if err != nil {
1172		return out, metadata, &smithy.SerializationError{Err: err}
1173	}
1174	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1175	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeConfigRules")
1176
1177	jsonEncoder := smithyjson.NewEncoder()
1178	if err := awsAwsjson11_serializeOpDocumentDescribeConfigRulesInput(input, jsonEncoder.Value); err != nil {
1179		return out, metadata, &smithy.SerializationError{Err: err}
1180	}
1181
1182	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1183		return out, metadata, &smithy.SerializationError{Err: err}
1184	}
1185
1186	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1187		return out, metadata, &smithy.SerializationError{Err: err}
1188	}
1189	in.Request = request
1190
1191	return next.HandleSerialize(ctx, in)
1192}
1193
1194type awsAwsjson11_serializeOpDescribeConfigurationAggregators struct {
1195}
1196
1197func (*awsAwsjson11_serializeOpDescribeConfigurationAggregators) ID() string {
1198	return "OperationSerializer"
1199}
1200
1201func (m *awsAwsjson11_serializeOpDescribeConfigurationAggregators) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1202	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1203) {
1204	request, ok := in.Request.(*smithyhttp.Request)
1205	if !ok {
1206		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1207	}
1208
1209	input, ok := in.Parameters.(*DescribeConfigurationAggregatorsInput)
1210	_ = input
1211	if !ok {
1212		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1213	}
1214
1215	request.Request.URL.Path = "/"
1216	request.Request.Method = "POST"
1217	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1218	if err != nil {
1219		return out, metadata, &smithy.SerializationError{Err: err}
1220	}
1221	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1222	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeConfigurationAggregators")
1223
1224	jsonEncoder := smithyjson.NewEncoder()
1225	if err := awsAwsjson11_serializeOpDocumentDescribeConfigurationAggregatorsInput(input, jsonEncoder.Value); err != nil {
1226		return out, metadata, &smithy.SerializationError{Err: err}
1227	}
1228
1229	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1230		return out, metadata, &smithy.SerializationError{Err: err}
1231	}
1232
1233	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1234		return out, metadata, &smithy.SerializationError{Err: err}
1235	}
1236	in.Request = request
1237
1238	return next.HandleSerialize(ctx, in)
1239}
1240
1241type awsAwsjson11_serializeOpDescribeConfigurationAggregatorSourcesStatus struct {
1242}
1243
1244func (*awsAwsjson11_serializeOpDescribeConfigurationAggregatorSourcesStatus) ID() string {
1245	return "OperationSerializer"
1246}
1247
1248func (m *awsAwsjson11_serializeOpDescribeConfigurationAggregatorSourcesStatus) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1249	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1250) {
1251	request, ok := in.Request.(*smithyhttp.Request)
1252	if !ok {
1253		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1254	}
1255
1256	input, ok := in.Parameters.(*DescribeConfigurationAggregatorSourcesStatusInput)
1257	_ = input
1258	if !ok {
1259		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1260	}
1261
1262	request.Request.URL.Path = "/"
1263	request.Request.Method = "POST"
1264	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1265	if err != nil {
1266		return out, metadata, &smithy.SerializationError{Err: err}
1267	}
1268	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1269	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeConfigurationAggregatorSourcesStatus")
1270
1271	jsonEncoder := smithyjson.NewEncoder()
1272	if err := awsAwsjson11_serializeOpDocumentDescribeConfigurationAggregatorSourcesStatusInput(input, jsonEncoder.Value); err != nil {
1273		return out, metadata, &smithy.SerializationError{Err: err}
1274	}
1275
1276	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1277		return out, metadata, &smithy.SerializationError{Err: err}
1278	}
1279
1280	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1281		return out, metadata, &smithy.SerializationError{Err: err}
1282	}
1283	in.Request = request
1284
1285	return next.HandleSerialize(ctx, in)
1286}
1287
1288type awsAwsjson11_serializeOpDescribeConfigurationRecorders struct {
1289}
1290
1291func (*awsAwsjson11_serializeOpDescribeConfigurationRecorders) ID() string {
1292	return "OperationSerializer"
1293}
1294
1295func (m *awsAwsjson11_serializeOpDescribeConfigurationRecorders) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1296	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1297) {
1298	request, ok := in.Request.(*smithyhttp.Request)
1299	if !ok {
1300		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1301	}
1302
1303	input, ok := in.Parameters.(*DescribeConfigurationRecordersInput)
1304	_ = input
1305	if !ok {
1306		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1307	}
1308
1309	request.Request.URL.Path = "/"
1310	request.Request.Method = "POST"
1311	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1312	if err != nil {
1313		return out, metadata, &smithy.SerializationError{Err: err}
1314	}
1315	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1316	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeConfigurationRecorders")
1317
1318	jsonEncoder := smithyjson.NewEncoder()
1319	if err := awsAwsjson11_serializeOpDocumentDescribeConfigurationRecordersInput(input, jsonEncoder.Value); err != nil {
1320		return out, metadata, &smithy.SerializationError{Err: err}
1321	}
1322
1323	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1324		return out, metadata, &smithy.SerializationError{Err: err}
1325	}
1326
1327	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1328		return out, metadata, &smithy.SerializationError{Err: err}
1329	}
1330	in.Request = request
1331
1332	return next.HandleSerialize(ctx, in)
1333}
1334
1335type awsAwsjson11_serializeOpDescribeConfigurationRecorderStatus struct {
1336}
1337
1338func (*awsAwsjson11_serializeOpDescribeConfigurationRecorderStatus) ID() string {
1339	return "OperationSerializer"
1340}
1341
1342func (m *awsAwsjson11_serializeOpDescribeConfigurationRecorderStatus) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1343	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1344) {
1345	request, ok := in.Request.(*smithyhttp.Request)
1346	if !ok {
1347		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1348	}
1349
1350	input, ok := in.Parameters.(*DescribeConfigurationRecorderStatusInput)
1351	_ = input
1352	if !ok {
1353		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1354	}
1355
1356	request.Request.URL.Path = "/"
1357	request.Request.Method = "POST"
1358	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1359	if err != nil {
1360		return out, metadata, &smithy.SerializationError{Err: err}
1361	}
1362	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1363	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeConfigurationRecorderStatus")
1364
1365	jsonEncoder := smithyjson.NewEncoder()
1366	if err := awsAwsjson11_serializeOpDocumentDescribeConfigurationRecorderStatusInput(input, jsonEncoder.Value); err != nil {
1367		return out, metadata, &smithy.SerializationError{Err: err}
1368	}
1369
1370	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1371		return out, metadata, &smithy.SerializationError{Err: err}
1372	}
1373
1374	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1375		return out, metadata, &smithy.SerializationError{Err: err}
1376	}
1377	in.Request = request
1378
1379	return next.HandleSerialize(ctx, in)
1380}
1381
1382type awsAwsjson11_serializeOpDescribeConformancePackCompliance struct {
1383}
1384
1385func (*awsAwsjson11_serializeOpDescribeConformancePackCompliance) ID() string {
1386	return "OperationSerializer"
1387}
1388
1389func (m *awsAwsjson11_serializeOpDescribeConformancePackCompliance) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1390	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1391) {
1392	request, ok := in.Request.(*smithyhttp.Request)
1393	if !ok {
1394		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1395	}
1396
1397	input, ok := in.Parameters.(*DescribeConformancePackComplianceInput)
1398	_ = input
1399	if !ok {
1400		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1401	}
1402
1403	request.Request.URL.Path = "/"
1404	request.Request.Method = "POST"
1405	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1406	if err != nil {
1407		return out, metadata, &smithy.SerializationError{Err: err}
1408	}
1409	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1410	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeConformancePackCompliance")
1411
1412	jsonEncoder := smithyjson.NewEncoder()
1413	if err := awsAwsjson11_serializeOpDocumentDescribeConformancePackComplianceInput(input, jsonEncoder.Value); err != nil {
1414		return out, metadata, &smithy.SerializationError{Err: err}
1415	}
1416
1417	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1418		return out, metadata, &smithy.SerializationError{Err: err}
1419	}
1420
1421	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1422		return out, metadata, &smithy.SerializationError{Err: err}
1423	}
1424	in.Request = request
1425
1426	return next.HandleSerialize(ctx, in)
1427}
1428
1429type awsAwsjson11_serializeOpDescribeConformancePacks struct {
1430}
1431
1432func (*awsAwsjson11_serializeOpDescribeConformancePacks) ID() string {
1433	return "OperationSerializer"
1434}
1435
1436func (m *awsAwsjson11_serializeOpDescribeConformancePacks) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1437	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1438) {
1439	request, ok := in.Request.(*smithyhttp.Request)
1440	if !ok {
1441		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1442	}
1443
1444	input, ok := in.Parameters.(*DescribeConformancePacksInput)
1445	_ = input
1446	if !ok {
1447		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1448	}
1449
1450	request.Request.URL.Path = "/"
1451	request.Request.Method = "POST"
1452	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1453	if err != nil {
1454		return out, metadata, &smithy.SerializationError{Err: err}
1455	}
1456	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1457	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeConformancePacks")
1458
1459	jsonEncoder := smithyjson.NewEncoder()
1460	if err := awsAwsjson11_serializeOpDocumentDescribeConformancePacksInput(input, jsonEncoder.Value); err != nil {
1461		return out, metadata, &smithy.SerializationError{Err: err}
1462	}
1463
1464	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1465		return out, metadata, &smithy.SerializationError{Err: err}
1466	}
1467
1468	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1469		return out, metadata, &smithy.SerializationError{Err: err}
1470	}
1471	in.Request = request
1472
1473	return next.HandleSerialize(ctx, in)
1474}
1475
1476type awsAwsjson11_serializeOpDescribeConformancePackStatus struct {
1477}
1478
1479func (*awsAwsjson11_serializeOpDescribeConformancePackStatus) ID() string {
1480	return "OperationSerializer"
1481}
1482
1483func (m *awsAwsjson11_serializeOpDescribeConformancePackStatus) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1484	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1485) {
1486	request, ok := in.Request.(*smithyhttp.Request)
1487	if !ok {
1488		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1489	}
1490
1491	input, ok := in.Parameters.(*DescribeConformancePackStatusInput)
1492	_ = input
1493	if !ok {
1494		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1495	}
1496
1497	request.Request.URL.Path = "/"
1498	request.Request.Method = "POST"
1499	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1500	if err != nil {
1501		return out, metadata, &smithy.SerializationError{Err: err}
1502	}
1503	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1504	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeConformancePackStatus")
1505
1506	jsonEncoder := smithyjson.NewEncoder()
1507	if err := awsAwsjson11_serializeOpDocumentDescribeConformancePackStatusInput(input, jsonEncoder.Value); err != nil {
1508		return out, metadata, &smithy.SerializationError{Err: err}
1509	}
1510
1511	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1512		return out, metadata, &smithy.SerializationError{Err: err}
1513	}
1514
1515	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1516		return out, metadata, &smithy.SerializationError{Err: err}
1517	}
1518	in.Request = request
1519
1520	return next.HandleSerialize(ctx, in)
1521}
1522
1523type awsAwsjson11_serializeOpDescribeDeliveryChannels struct {
1524}
1525
1526func (*awsAwsjson11_serializeOpDescribeDeliveryChannels) ID() string {
1527	return "OperationSerializer"
1528}
1529
1530func (m *awsAwsjson11_serializeOpDescribeDeliveryChannels) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1531	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1532) {
1533	request, ok := in.Request.(*smithyhttp.Request)
1534	if !ok {
1535		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1536	}
1537
1538	input, ok := in.Parameters.(*DescribeDeliveryChannelsInput)
1539	_ = input
1540	if !ok {
1541		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1542	}
1543
1544	request.Request.URL.Path = "/"
1545	request.Request.Method = "POST"
1546	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1547	if err != nil {
1548		return out, metadata, &smithy.SerializationError{Err: err}
1549	}
1550	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1551	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeDeliveryChannels")
1552
1553	jsonEncoder := smithyjson.NewEncoder()
1554	if err := awsAwsjson11_serializeOpDocumentDescribeDeliveryChannelsInput(input, jsonEncoder.Value); err != nil {
1555		return out, metadata, &smithy.SerializationError{Err: err}
1556	}
1557
1558	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1559		return out, metadata, &smithy.SerializationError{Err: err}
1560	}
1561
1562	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1563		return out, metadata, &smithy.SerializationError{Err: err}
1564	}
1565	in.Request = request
1566
1567	return next.HandleSerialize(ctx, in)
1568}
1569
1570type awsAwsjson11_serializeOpDescribeDeliveryChannelStatus struct {
1571}
1572
1573func (*awsAwsjson11_serializeOpDescribeDeliveryChannelStatus) ID() string {
1574	return "OperationSerializer"
1575}
1576
1577func (m *awsAwsjson11_serializeOpDescribeDeliveryChannelStatus) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1578	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1579) {
1580	request, ok := in.Request.(*smithyhttp.Request)
1581	if !ok {
1582		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1583	}
1584
1585	input, ok := in.Parameters.(*DescribeDeliveryChannelStatusInput)
1586	_ = input
1587	if !ok {
1588		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1589	}
1590
1591	request.Request.URL.Path = "/"
1592	request.Request.Method = "POST"
1593	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1594	if err != nil {
1595		return out, metadata, &smithy.SerializationError{Err: err}
1596	}
1597	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1598	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeDeliveryChannelStatus")
1599
1600	jsonEncoder := smithyjson.NewEncoder()
1601	if err := awsAwsjson11_serializeOpDocumentDescribeDeliveryChannelStatusInput(input, jsonEncoder.Value); err != nil {
1602		return out, metadata, &smithy.SerializationError{Err: err}
1603	}
1604
1605	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1606		return out, metadata, &smithy.SerializationError{Err: err}
1607	}
1608
1609	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1610		return out, metadata, &smithy.SerializationError{Err: err}
1611	}
1612	in.Request = request
1613
1614	return next.HandleSerialize(ctx, in)
1615}
1616
1617type awsAwsjson11_serializeOpDescribeOrganizationConfigRules struct {
1618}
1619
1620func (*awsAwsjson11_serializeOpDescribeOrganizationConfigRules) ID() string {
1621	return "OperationSerializer"
1622}
1623
1624func (m *awsAwsjson11_serializeOpDescribeOrganizationConfigRules) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1625	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1626) {
1627	request, ok := in.Request.(*smithyhttp.Request)
1628	if !ok {
1629		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1630	}
1631
1632	input, ok := in.Parameters.(*DescribeOrganizationConfigRulesInput)
1633	_ = input
1634	if !ok {
1635		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1636	}
1637
1638	request.Request.URL.Path = "/"
1639	request.Request.Method = "POST"
1640	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1641	if err != nil {
1642		return out, metadata, &smithy.SerializationError{Err: err}
1643	}
1644	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1645	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeOrganizationConfigRules")
1646
1647	jsonEncoder := smithyjson.NewEncoder()
1648	if err := awsAwsjson11_serializeOpDocumentDescribeOrganizationConfigRulesInput(input, jsonEncoder.Value); err != nil {
1649		return out, metadata, &smithy.SerializationError{Err: err}
1650	}
1651
1652	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1653		return out, metadata, &smithy.SerializationError{Err: err}
1654	}
1655
1656	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1657		return out, metadata, &smithy.SerializationError{Err: err}
1658	}
1659	in.Request = request
1660
1661	return next.HandleSerialize(ctx, in)
1662}
1663
1664type awsAwsjson11_serializeOpDescribeOrganizationConfigRuleStatuses struct {
1665}
1666
1667func (*awsAwsjson11_serializeOpDescribeOrganizationConfigRuleStatuses) ID() string {
1668	return "OperationSerializer"
1669}
1670
1671func (m *awsAwsjson11_serializeOpDescribeOrganizationConfigRuleStatuses) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1672	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1673) {
1674	request, ok := in.Request.(*smithyhttp.Request)
1675	if !ok {
1676		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1677	}
1678
1679	input, ok := in.Parameters.(*DescribeOrganizationConfigRuleStatusesInput)
1680	_ = input
1681	if !ok {
1682		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1683	}
1684
1685	request.Request.URL.Path = "/"
1686	request.Request.Method = "POST"
1687	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1688	if err != nil {
1689		return out, metadata, &smithy.SerializationError{Err: err}
1690	}
1691	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1692	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeOrganizationConfigRuleStatuses")
1693
1694	jsonEncoder := smithyjson.NewEncoder()
1695	if err := awsAwsjson11_serializeOpDocumentDescribeOrganizationConfigRuleStatusesInput(input, jsonEncoder.Value); err != nil {
1696		return out, metadata, &smithy.SerializationError{Err: err}
1697	}
1698
1699	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1700		return out, metadata, &smithy.SerializationError{Err: err}
1701	}
1702
1703	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1704		return out, metadata, &smithy.SerializationError{Err: err}
1705	}
1706	in.Request = request
1707
1708	return next.HandleSerialize(ctx, in)
1709}
1710
1711type awsAwsjson11_serializeOpDescribeOrganizationConformancePacks struct {
1712}
1713
1714func (*awsAwsjson11_serializeOpDescribeOrganizationConformancePacks) ID() string {
1715	return "OperationSerializer"
1716}
1717
1718func (m *awsAwsjson11_serializeOpDescribeOrganizationConformancePacks) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1719	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1720) {
1721	request, ok := in.Request.(*smithyhttp.Request)
1722	if !ok {
1723		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1724	}
1725
1726	input, ok := in.Parameters.(*DescribeOrganizationConformancePacksInput)
1727	_ = input
1728	if !ok {
1729		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1730	}
1731
1732	request.Request.URL.Path = "/"
1733	request.Request.Method = "POST"
1734	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1735	if err != nil {
1736		return out, metadata, &smithy.SerializationError{Err: err}
1737	}
1738	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1739	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeOrganizationConformancePacks")
1740
1741	jsonEncoder := smithyjson.NewEncoder()
1742	if err := awsAwsjson11_serializeOpDocumentDescribeOrganizationConformancePacksInput(input, jsonEncoder.Value); err != nil {
1743		return out, metadata, &smithy.SerializationError{Err: err}
1744	}
1745
1746	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1747		return out, metadata, &smithy.SerializationError{Err: err}
1748	}
1749
1750	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1751		return out, metadata, &smithy.SerializationError{Err: err}
1752	}
1753	in.Request = request
1754
1755	return next.HandleSerialize(ctx, in)
1756}
1757
1758type awsAwsjson11_serializeOpDescribeOrganizationConformancePackStatuses struct {
1759}
1760
1761func (*awsAwsjson11_serializeOpDescribeOrganizationConformancePackStatuses) ID() string {
1762	return "OperationSerializer"
1763}
1764
1765func (m *awsAwsjson11_serializeOpDescribeOrganizationConformancePackStatuses) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1766	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1767) {
1768	request, ok := in.Request.(*smithyhttp.Request)
1769	if !ok {
1770		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1771	}
1772
1773	input, ok := in.Parameters.(*DescribeOrganizationConformancePackStatusesInput)
1774	_ = input
1775	if !ok {
1776		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1777	}
1778
1779	request.Request.URL.Path = "/"
1780	request.Request.Method = "POST"
1781	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1782	if err != nil {
1783		return out, metadata, &smithy.SerializationError{Err: err}
1784	}
1785	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1786	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeOrganizationConformancePackStatuses")
1787
1788	jsonEncoder := smithyjson.NewEncoder()
1789	if err := awsAwsjson11_serializeOpDocumentDescribeOrganizationConformancePackStatusesInput(input, jsonEncoder.Value); err != nil {
1790		return out, metadata, &smithy.SerializationError{Err: err}
1791	}
1792
1793	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1794		return out, metadata, &smithy.SerializationError{Err: err}
1795	}
1796
1797	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1798		return out, metadata, &smithy.SerializationError{Err: err}
1799	}
1800	in.Request = request
1801
1802	return next.HandleSerialize(ctx, in)
1803}
1804
1805type awsAwsjson11_serializeOpDescribePendingAggregationRequests struct {
1806}
1807
1808func (*awsAwsjson11_serializeOpDescribePendingAggregationRequests) ID() string {
1809	return "OperationSerializer"
1810}
1811
1812func (m *awsAwsjson11_serializeOpDescribePendingAggregationRequests) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1813	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1814) {
1815	request, ok := in.Request.(*smithyhttp.Request)
1816	if !ok {
1817		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1818	}
1819
1820	input, ok := in.Parameters.(*DescribePendingAggregationRequestsInput)
1821	_ = input
1822	if !ok {
1823		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1824	}
1825
1826	request.Request.URL.Path = "/"
1827	request.Request.Method = "POST"
1828	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1829	if err != nil {
1830		return out, metadata, &smithy.SerializationError{Err: err}
1831	}
1832	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1833	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribePendingAggregationRequests")
1834
1835	jsonEncoder := smithyjson.NewEncoder()
1836	if err := awsAwsjson11_serializeOpDocumentDescribePendingAggregationRequestsInput(input, jsonEncoder.Value); err != nil {
1837		return out, metadata, &smithy.SerializationError{Err: err}
1838	}
1839
1840	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1841		return out, metadata, &smithy.SerializationError{Err: err}
1842	}
1843
1844	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1845		return out, metadata, &smithy.SerializationError{Err: err}
1846	}
1847	in.Request = request
1848
1849	return next.HandleSerialize(ctx, in)
1850}
1851
1852type awsAwsjson11_serializeOpDescribeRemediationConfigurations struct {
1853}
1854
1855func (*awsAwsjson11_serializeOpDescribeRemediationConfigurations) ID() string {
1856	return "OperationSerializer"
1857}
1858
1859func (m *awsAwsjson11_serializeOpDescribeRemediationConfigurations) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1860	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1861) {
1862	request, ok := in.Request.(*smithyhttp.Request)
1863	if !ok {
1864		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1865	}
1866
1867	input, ok := in.Parameters.(*DescribeRemediationConfigurationsInput)
1868	_ = input
1869	if !ok {
1870		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1871	}
1872
1873	request.Request.URL.Path = "/"
1874	request.Request.Method = "POST"
1875	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1876	if err != nil {
1877		return out, metadata, &smithy.SerializationError{Err: err}
1878	}
1879	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1880	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeRemediationConfigurations")
1881
1882	jsonEncoder := smithyjson.NewEncoder()
1883	if err := awsAwsjson11_serializeOpDocumentDescribeRemediationConfigurationsInput(input, jsonEncoder.Value); err != nil {
1884		return out, metadata, &smithy.SerializationError{Err: err}
1885	}
1886
1887	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1888		return out, metadata, &smithy.SerializationError{Err: err}
1889	}
1890
1891	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1892		return out, metadata, &smithy.SerializationError{Err: err}
1893	}
1894	in.Request = request
1895
1896	return next.HandleSerialize(ctx, in)
1897}
1898
1899type awsAwsjson11_serializeOpDescribeRemediationExceptions struct {
1900}
1901
1902func (*awsAwsjson11_serializeOpDescribeRemediationExceptions) ID() string {
1903	return "OperationSerializer"
1904}
1905
1906func (m *awsAwsjson11_serializeOpDescribeRemediationExceptions) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1907	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1908) {
1909	request, ok := in.Request.(*smithyhttp.Request)
1910	if !ok {
1911		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1912	}
1913
1914	input, ok := in.Parameters.(*DescribeRemediationExceptionsInput)
1915	_ = input
1916	if !ok {
1917		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1918	}
1919
1920	request.Request.URL.Path = "/"
1921	request.Request.Method = "POST"
1922	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1923	if err != nil {
1924		return out, metadata, &smithy.SerializationError{Err: err}
1925	}
1926	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1927	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeRemediationExceptions")
1928
1929	jsonEncoder := smithyjson.NewEncoder()
1930	if err := awsAwsjson11_serializeOpDocumentDescribeRemediationExceptionsInput(input, jsonEncoder.Value); err != nil {
1931		return out, metadata, &smithy.SerializationError{Err: err}
1932	}
1933
1934	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1935		return out, metadata, &smithy.SerializationError{Err: err}
1936	}
1937
1938	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1939		return out, metadata, &smithy.SerializationError{Err: err}
1940	}
1941	in.Request = request
1942
1943	return next.HandleSerialize(ctx, in)
1944}
1945
1946type awsAwsjson11_serializeOpDescribeRemediationExecutionStatus struct {
1947}
1948
1949func (*awsAwsjson11_serializeOpDescribeRemediationExecutionStatus) ID() string {
1950	return "OperationSerializer"
1951}
1952
1953func (m *awsAwsjson11_serializeOpDescribeRemediationExecutionStatus) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
1954	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
1955) {
1956	request, ok := in.Request.(*smithyhttp.Request)
1957	if !ok {
1958		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
1959	}
1960
1961	input, ok := in.Parameters.(*DescribeRemediationExecutionStatusInput)
1962	_ = input
1963	if !ok {
1964		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
1965	}
1966
1967	request.Request.URL.Path = "/"
1968	request.Request.Method = "POST"
1969	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
1970	if err != nil {
1971		return out, metadata, &smithy.SerializationError{Err: err}
1972	}
1973	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
1974	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeRemediationExecutionStatus")
1975
1976	jsonEncoder := smithyjson.NewEncoder()
1977	if err := awsAwsjson11_serializeOpDocumentDescribeRemediationExecutionStatusInput(input, jsonEncoder.Value); err != nil {
1978		return out, metadata, &smithy.SerializationError{Err: err}
1979	}
1980
1981	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
1982		return out, metadata, &smithy.SerializationError{Err: err}
1983	}
1984
1985	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
1986		return out, metadata, &smithy.SerializationError{Err: err}
1987	}
1988	in.Request = request
1989
1990	return next.HandleSerialize(ctx, in)
1991}
1992
1993type awsAwsjson11_serializeOpDescribeRetentionConfigurations struct {
1994}
1995
1996func (*awsAwsjson11_serializeOpDescribeRetentionConfigurations) ID() string {
1997	return "OperationSerializer"
1998}
1999
2000func (m *awsAwsjson11_serializeOpDescribeRetentionConfigurations) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2001	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2002) {
2003	request, ok := in.Request.(*smithyhttp.Request)
2004	if !ok {
2005		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2006	}
2007
2008	input, ok := in.Parameters.(*DescribeRetentionConfigurationsInput)
2009	_ = input
2010	if !ok {
2011		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2012	}
2013
2014	request.Request.URL.Path = "/"
2015	request.Request.Method = "POST"
2016	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2017	if err != nil {
2018		return out, metadata, &smithy.SerializationError{Err: err}
2019	}
2020	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2021	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.DescribeRetentionConfigurations")
2022
2023	jsonEncoder := smithyjson.NewEncoder()
2024	if err := awsAwsjson11_serializeOpDocumentDescribeRetentionConfigurationsInput(input, jsonEncoder.Value); err != nil {
2025		return out, metadata, &smithy.SerializationError{Err: err}
2026	}
2027
2028	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2029		return out, metadata, &smithy.SerializationError{Err: err}
2030	}
2031
2032	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2033		return out, metadata, &smithy.SerializationError{Err: err}
2034	}
2035	in.Request = request
2036
2037	return next.HandleSerialize(ctx, in)
2038}
2039
2040type awsAwsjson11_serializeOpGetAggregateComplianceDetailsByConfigRule struct {
2041}
2042
2043func (*awsAwsjson11_serializeOpGetAggregateComplianceDetailsByConfigRule) ID() string {
2044	return "OperationSerializer"
2045}
2046
2047func (m *awsAwsjson11_serializeOpGetAggregateComplianceDetailsByConfigRule) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2048	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2049) {
2050	request, ok := in.Request.(*smithyhttp.Request)
2051	if !ok {
2052		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2053	}
2054
2055	input, ok := in.Parameters.(*GetAggregateComplianceDetailsByConfigRuleInput)
2056	_ = input
2057	if !ok {
2058		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2059	}
2060
2061	request.Request.URL.Path = "/"
2062	request.Request.Method = "POST"
2063	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2064	if err != nil {
2065		return out, metadata, &smithy.SerializationError{Err: err}
2066	}
2067	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2068	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.GetAggregateComplianceDetailsByConfigRule")
2069
2070	jsonEncoder := smithyjson.NewEncoder()
2071	if err := awsAwsjson11_serializeOpDocumentGetAggregateComplianceDetailsByConfigRuleInput(input, jsonEncoder.Value); err != nil {
2072		return out, metadata, &smithy.SerializationError{Err: err}
2073	}
2074
2075	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2076		return out, metadata, &smithy.SerializationError{Err: err}
2077	}
2078
2079	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2080		return out, metadata, &smithy.SerializationError{Err: err}
2081	}
2082	in.Request = request
2083
2084	return next.HandleSerialize(ctx, in)
2085}
2086
2087type awsAwsjson11_serializeOpGetAggregateConfigRuleComplianceSummary struct {
2088}
2089
2090func (*awsAwsjson11_serializeOpGetAggregateConfigRuleComplianceSummary) ID() string {
2091	return "OperationSerializer"
2092}
2093
2094func (m *awsAwsjson11_serializeOpGetAggregateConfigRuleComplianceSummary) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2095	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2096) {
2097	request, ok := in.Request.(*smithyhttp.Request)
2098	if !ok {
2099		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2100	}
2101
2102	input, ok := in.Parameters.(*GetAggregateConfigRuleComplianceSummaryInput)
2103	_ = input
2104	if !ok {
2105		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2106	}
2107
2108	request.Request.URL.Path = "/"
2109	request.Request.Method = "POST"
2110	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2111	if err != nil {
2112		return out, metadata, &smithy.SerializationError{Err: err}
2113	}
2114	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2115	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.GetAggregateConfigRuleComplianceSummary")
2116
2117	jsonEncoder := smithyjson.NewEncoder()
2118	if err := awsAwsjson11_serializeOpDocumentGetAggregateConfigRuleComplianceSummaryInput(input, jsonEncoder.Value); err != nil {
2119		return out, metadata, &smithy.SerializationError{Err: err}
2120	}
2121
2122	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2123		return out, metadata, &smithy.SerializationError{Err: err}
2124	}
2125
2126	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2127		return out, metadata, &smithy.SerializationError{Err: err}
2128	}
2129	in.Request = request
2130
2131	return next.HandleSerialize(ctx, in)
2132}
2133
2134type awsAwsjson11_serializeOpGetAggregateConformancePackComplianceSummary struct {
2135}
2136
2137func (*awsAwsjson11_serializeOpGetAggregateConformancePackComplianceSummary) ID() string {
2138	return "OperationSerializer"
2139}
2140
2141func (m *awsAwsjson11_serializeOpGetAggregateConformancePackComplianceSummary) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2142	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2143) {
2144	request, ok := in.Request.(*smithyhttp.Request)
2145	if !ok {
2146		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2147	}
2148
2149	input, ok := in.Parameters.(*GetAggregateConformancePackComplianceSummaryInput)
2150	_ = input
2151	if !ok {
2152		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2153	}
2154
2155	request.Request.URL.Path = "/"
2156	request.Request.Method = "POST"
2157	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2158	if err != nil {
2159		return out, metadata, &smithy.SerializationError{Err: err}
2160	}
2161	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2162	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.GetAggregateConformancePackComplianceSummary")
2163
2164	jsonEncoder := smithyjson.NewEncoder()
2165	if err := awsAwsjson11_serializeOpDocumentGetAggregateConformancePackComplianceSummaryInput(input, jsonEncoder.Value); err != nil {
2166		return out, metadata, &smithy.SerializationError{Err: err}
2167	}
2168
2169	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2170		return out, metadata, &smithy.SerializationError{Err: err}
2171	}
2172
2173	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2174		return out, metadata, &smithy.SerializationError{Err: err}
2175	}
2176	in.Request = request
2177
2178	return next.HandleSerialize(ctx, in)
2179}
2180
2181type awsAwsjson11_serializeOpGetAggregateDiscoveredResourceCounts struct {
2182}
2183
2184func (*awsAwsjson11_serializeOpGetAggregateDiscoveredResourceCounts) ID() string {
2185	return "OperationSerializer"
2186}
2187
2188func (m *awsAwsjson11_serializeOpGetAggregateDiscoveredResourceCounts) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2189	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2190) {
2191	request, ok := in.Request.(*smithyhttp.Request)
2192	if !ok {
2193		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2194	}
2195
2196	input, ok := in.Parameters.(*GetAggregateDiscoveredResourceCountsInput)
2197	_ = input
2198	if !ok {
2199		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2200	}
2201
2202	request.Request.URL.Path = "/"
2203	request.Request.Method = "POST"
2204	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2205	if err != nil {
2206		return out, metadata, &smithy.SerializationError{Err: err}
2207	}
2208	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2209	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.GetAggregateDiscoveredResourceCounts")
2210
2211	jsonEncoder := smithyjson.NewEncoder()
2212	if err := awsAwsjson11_serializeOpDocumentGetAggregateDiscoveredResourceCountsInput(input, jsonEncoder.Value); err != nil {
2213		return out, metadata, &smithy.SerializationError{Err: err}
2214	}
2215
2216	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2217		return out, metadata, &smithy.SerializationError{Err: err}
2218	}
2219
2220	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2221		return out, metadata, &smithy.SerializationError{Err: err}
2222	}
2223	in.Request = request
2224
2225	return next.HandleSerialize(ctx, in)
2226}
2227
2228type awsAwsjson11_serializeOpGetAggregateResourceConfig struct {
2229}
2230
2231func (*awsAwsjson11_serializeOpGetAggregateResourceConfig) ID() string {
2232	return "OperationSerializer"
2233}
2234
2235func (m *awsAwsjson11_serializeOpGetAggregateResourceConfig) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2236	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2237) {
2238	request, ok := in.Request.(*smithyhttp.Request)
2239	if !ok {
2240		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2241	}
2242
2243	input, ok := in.Parameters.(*GetAggregateResourceConfigInput)
2244	_ = input
2245	if !ok {
2246		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2247	}
2248
2249	request.Request.URL.Path = "/"
2250	request.Request.Method = "POST"
2251	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2252	if err != nil {
2253		return out, metadata, &smithy.SerializationError{Err: err}
2254	}
2255	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2256	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.GetAggregateResourceConfig")
2257
2258	jsonEncoder := smithyjson.NewEncoder()
2259	if err := awsAwsjson11_serializeOpDocumentGetAggregateResourceConfigInput(input, jsonEncoder.Value); err != nil {
2260		return out, metadata, &smithy.SerializationError{Err: err}
2261	}
2262
2263	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2264		return out, metadata, &smithy.SerializationError{Err: err}
2265	}
2266
2267	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2268		return out, metadata, &smithy.SerializationError{Err: err}
2269	}
2270	in.Request = request
2271
2272	return next.HandleSerialize(ctx, in)
2273}
2274
2275type awsAwsjson11_serializeOpGetComplianceDetailsByConfigRule struct {
2276}
2277
2278func (*awsAwsjson11_serializeOpGetComplianceDetailsByConfigRule) ID() string {
2279	return "OperationSerializer"
2280}
2281
2282func (m *awsAwsjson11_serializeOpGetComplianceDetailsByConfigRule) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2283	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2284) {
2285	request, ok := in.Request.(*smithyhttp.Request)
2286	if !ok {
2287		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2288	}
2289
2290	input, ok := in.Parameters.(*GetComplianceDetailsByConfigRuleInput)
2291	_ = input
2292	if !ok {
2293		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2294	}
2295
2296	request.Request.URL.Path = "/"
2297	request.Request.Method = "POST"
2298	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2299	if err != nil {
2300		return out, metadata, &smithy.SerializationError{Err: err}
2301	}
2302	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2303	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.GetComplianceDetailsByConfigRule")
2304
2305	jsonEncoder := smithyjson.NewEncoder()
2306	if err := awsAwsjson11_serializeOpDocumentGetComplianceDetailsByConfigRuleInput(input, jsonEncoder.Value); err != nil {
2307		return out, metadata, &smithy.SerializationError{Err: err}
2308	}
2309
2310	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2311		return out, metadata, &smithy.SerializationError{Err: err}
2312	}
2313
2314	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2315		return out, metadata, &smithy.SerializationError{Err: err}
2316	}
2317	in.Request = request
2318
2319	return next.HandleSerialize(ctx, in)
2320}
2321
2322type awsAwsjson11_serializeOpGetComplianceDetailsByResource struct {
2323}
2324
2325func (*awsAwsjson11_serializeOpGetComplianceDetailsByResource) ID() string {
2326	return "OperationSerializer"
2327}
2328
2329func (m *awsAwsjson11_serializeOpGetComplianceDetailsByResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2330	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2331) {
2332	request, ok := in.Request.(*smithyhttp.Request)
2333	if !ok {
2334		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2335	}
2336
2337	input, ok := in.Parameters.(*GetComplianceDetailsByResourceInput)
2338	_ = input
2339	if !ok {
2340		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2341	}
2342
2343	request.Request.URL.Path = "/"
2344	request.Request.Method = "POST"
2345	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2346	if err != nil {
2347		return out, metadata, &smithy.SerializationError{Err: err}
2348	}
2349	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2350	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.GetComplianceDetailsByResource")
2351
2352	jsonEncoder := smithyjson.NewEncoder()
2353	if err := awsAwsjson11_serializeOpDocumentGetComplianceDetailsByResourceInput(input, jsonEncoder.Value); err != nil {
2354		return out, metadata, &smithy.SerializationError{Err: err}
2355	}
2356
2357	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2358		return out, metadata, &smithy.SerializationError{Err: err}
2359	}
2360
2361	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2362		return out, metadata, &smithy.SerializationError{Err: err}
2363	}
2364	in.Request = request
2365
2366	return next.HandleSerialize(ctx, in)
2367}
2368
2369type awsAwsjson11_serializeOpGetComplianceSummaryByConfigRule struct {
2370}
2371
2372func (*awsAwsjson11_serializeOpGetComplianceSummaryByConfigRule) ID() string {
2373	return "OperationSerializer"
2374}
2375
2376func (m *awsAwsjson11_serializeOpGetComplianceSummaryByConfigRule) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2377	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2378) {
2379	request, ok := in.Request.(*smithyhttp.Request)
2380	if !ok {
2381		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2382	}
2383
2384	input, ok := in.Parameters.(*GetComplianceSummaryByConfigRuleInput)
2385	_ = input
2386	if !ok {
2387		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2388	}
2389
2390	request.Request.URL.Path = "/"
2391	request.Request.Method = "POST"
2392	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2393	if err != nil {
2394		return out, metadata, &smithy.SerializationError{Err: err}
2395	}
2396	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2397	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.GetComplianceSummaryByConfigRule")
2398
2399	if request, err = request.SetStream(strings.NewReader(`{}`)); err != nil {
2400		return out, metadata, &smithy.SerializationError{Err: err}
2401	}
2402
2403	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2404		return out, metadata, &smithy.SerializationError{Err: err}
2405	}
2406	in.Request = request
2407
2408	return next.HandleSerialize(ctx, in)
2409}
2410
2411type awsAwsjson11_serializeOpGetComplianceSummaryByResourceType struct {
2412}
2413
2414func (*awsAwsjson11_serializeOpGetComplianceSummaryByResourceType) ID() string {
2415	return "OperationSerializer"
2416}
2417
2418func (m *awsAwsjson11_serializeOpGetComplianceSummaryByResourceType) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2419	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2420) {
2421	request, ok := in.Request.(*smithyhttp.Request)
2422	if !ok {
2423		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2424	}
2425
2426	input, ok := in.Parameters.(*GetComplianceSummaryByResourceTypeInput)
2427	_ = input
2428	if !ok {
2429		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2430	}
2431
2432	request.Request.URL.Path = "/"
2433	request.Request.Method = "POST"
2434	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2435	if err != nil {
2436		return out, metadata, &smithy.SerializationError{Err: err}
2437	}
2438	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2439	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.GetComplianceSummaryByResourceType")
2440
2441	jsonEncoder := smithyjson.NewEncoder()
2442	if err := awsAwsjson11_serializeOpDocumentGetComplianceSummaryByResourceTypeInput(input, jsonEncoder.Value); err != nil {
2443		return out, metadata, &smithy.SerializationError{Err: err}
2444	}
2445
2446	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2447		return out, metadata, &smithy.SerializationError{Err: err}
2448	}
2449
2450	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2451		return out, metadata, &smithy.SerializationError{Err: err}
2452	}
2453	in.Request = request
2454
2455	return next.HandleSerialize(ctx, in)
2456}
2457
2458type awsAwsjson11_serializeOpGetConformancePackComplianceDetails struct {
2459}
2460
2461func (*awsAwsjson11_serializeOpGetConformancePackComplianceDetails) ID() string {
2462	return "OperationSerializer"
2463}
2464
2465func (m *awsAwsjson11_serializeOpGetConformancePackComplianceDetails) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2466	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2467) {
2468	request, ok := in.Request.(*smithyhttp.Request)
2469	if !ok {
2470		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2471	}
2472
2473	input, ok := in.Parameters.(*GetConformancePackComplianceDetailsInput)
2474	_ = input
2475	if !ok {
2476		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2477	}
2478
2479	request.Request.URL.Path = "/"
2480	request.Request.Method = "POST"
2481	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2482	if err != nil {
2483		return out, metadata, &smithy.SerializationError{Err: err}
2484	}
2485	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2486	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.GetConformancePackComplianceDetails")
2487
2488	jsonEncoder := smithyjson.NewEncoder()
2489	if err := awsAwsjson11_serializeOpDocumentGetConformancePackComplianceDetailsInput(input, jsonEncoder.Value); err != nil {
2490		return out, metadata, &smithy.SerializationError{Err: err}
2491	}
2492
2493	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2494		return out, metadata, &smithy.SerializationError{Err: err}
2495	}
2496
2497	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2498		return out, metadata, &smithy.SerializationError{Err: err}
2499	}
2500	in.Request = request
2501
2502	return next.HandleSerialize(ctx, in)
2503}
2504
2505type awsAwsjson11_serializeOpGetConformancePackComplianceSummary struct {
2506}
2507
2508func (*awsAwsjson11_serializeOpGetConformancePackComplianceSummary) ID() string {
2509	return "OperationSerializer"
2510}
2511
2512func (m *awsAwsjson11_serializeOpGetConformancePackComplianceSummary) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2513	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2514) {
2515	request, ok := in.Request.(*smithyhttp.Request)
2516	if !ok {
2517		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2518	}
2519
2520	input, ok := in.Parameters.(*GetConformancePackComplianceSummaryInput)
2521	_ = input
2522	if !ok {
2523		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2524	}
2525
2526	request.Request.URL.Path = "/"
2527	request.Request.Method = "POST"
2528	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2529	if err != nil {
2530		return out, metadata, &smithy.SerializationError{Err: err}
2531	}
2532	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2533	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.GetConformancePackComplianceSummary")
2534
2535	jsonEncoder := smithyjson.NewEncoder()
2536	if err := awsAwsjson11_serializeOpDocumentGetConformancePackComplianceSummaryInput(input, jsonEncoder.Value); err != nil {
2537		return out, metadata, &smithy.SerializationError{Err: err}
2538	}
2539
2540	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2541		return out, metadata, &smithy.SerializationError{Err: err}
2542	}
2543
2544	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2545		return out, metadata, &smithy.SerializationError{Err: err}
2546	}
2547	in.Request = request
2548
2549	return next.HandleSerialize(ctx, in)
2550}
2551
2552type awsAwsjson11_serializeOpGetDiscoveredResourceCounts struct {
2553}
2554
2555func (*awsAwsjson11_serializeOpGetDiscoveredResourceCounts) ID() string {
2556	return "OperationSerializer"
2557}
2558
2559func (m *awsAwsjson11_serializeOpGetDiscoveredResourceCounts) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2560	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2561) {
2562	request, ok := in.Request.(*smithyhttp.Request)
2563	if !ok {
2564		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2565	}
2566
2567	input, ok := in.Parameters.(*GetDiscoveredResourceCountsInput)
2568	_ = input
2569	if !ok {
2570		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2571	}
2572
2573	request.Request.URL.Path = "/"
2574	request.Request.Method = "POST"
2575	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2576	if err != nil {
2577		return out, metadata, &smithy.SerializationError{Err: err}
2578	}
2579	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2580	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.GetDiscoveredResourceCounts")
2581
2582	jsonEncoder := smithyjson.NewEncoder()
2583	if err := awsAwsjson11_serializeOpDocumentGetDiscoveredResourceCountsInput(input, jsonEncoder.Value); err != nil {
2584		return out, metadata, &smithy.SerializationError{Err: err}
2585	}
2586
2587	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2588		return out, metadata, &smithy.SerializationError{Err: err}
2589	}
2590
2591	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2592		return out, metadata, &smithy.SerializationError{Err: err}
2593	}
2594	in.Request = request
2595
2596	return next.HandleSerialize(ctx, in)
2597}
2598
2599type awsAwsjson11_serializeOpGetOrganizationConfigRuleDetailedStatus struct {
2600}
2601
2602func (*awsAwsjson11_serializeOpGetOrganizationConfigRuleDetailedStatus) ID() string {
2603	return "OperationSerializer"
2604}
2605
2606func (m *awsAwsjson11_serializeOpGetOrganizationConfigRuleDetailedStatus) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2607	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2608) {
2609	request, ok := in.Request.(*smithyhttp.Request)
2610	if !ok {
2611		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2612	}
2613
2614	input, ok := in.Parameters.(*GetOrganizationConfigRuleDetailedStatusInput)
2615	_ = input
2616	if !ok {
2617		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2618	}
2619
2620	request.Request.URL.Path = "/"
2621	request.Request.Method = "POST"
2622	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2623	if err != nil {
2624		return out, metadata, &smithy.SerializationError{Err: err}
2625	}
2626	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2627	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.GetOrganizationConfigRuleDetailedStatus")
2628
2629	jsonEncoder := smithyjson.NewEncoder()
2630	if err := awsAwsjson11_serializeOpDocumentGetOrganizationConfigRuleDetailedStatusInput(input, jsonEncoder.Value); err != nil {
2631		return out, metadata, &smithy.SerializationError{Err: err}
2632	}
2633
2634	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2635		return out, metadata, &smithy.SerializationError{Err: err}
2636	}
2637
2638	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2639		return out, metadata, &smithy.SerializationError{Err: err}
2640	}
2641	in.Request = request
2642
2643	return next.HandleSerialize(ctx, in)
2644}
2645
2646type awsAwsjson11_serializeOpGetOrganizationConformancePackDetailedStatus struct {
2647}
2648
2649func (*awsAwsjson11_serializeOpGetOrganizationConformancePackDetailedStatus) ID() string {
2650	return "OperationSerializer"
2651}
2652
2653func (m *awsAwsjson11_serializeOpGetOrganizationConformancePackDetailedStatus) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2654	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2655) {
2656	request, ok := in.Request.(*smithyhttp.Request)
2657	if !ok {
2658		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2659	}
2660
2661	input, ok := in.Parameters.(*GetOrganizationConformancePackDetailedStatusInput)
2662	_ = input
2663	if !ok {
2664		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2665	}
2666
2667	request.Request.URL.Path = "/"
2668	request.Request.Method = "POST"
2669	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2670	if err != nil {
2671		return out, metadata, &smithy.SerializationError{Err: err}
2672	}
2673	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2674	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.GetOrganizationConformancePackDetailedStatus")
2675
2676	jsonEncoder := smithyjson.NewEncoder()
2677	if err := awsAwsjson11_serializeOpDocumentGetOrganizationConformancePackDetailedStatusInput(input, jsonEncoder.Value); err != nil {
2678		return out, metadata, &smithy.SerializationError{Err: err}
2679	}
2680
2681	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2682		return out, metadata, &smithy.SerializationError{Err: err}
2683	}
2684
2685	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2686		return out, metadata, &smithy.SerializationError{Err: err}
2687	}
2688	in.Request = request
2689
2690	return next.HandleSerialize(ctx, in)
2691}
2692
2693type awsAwsjson11_serializeOpGetResourceConfigHistory struct {
2694}
2695
2696func (*awsAwsjson11_serializeOpGetResourceConfigHistory) ID() string {
2697	return "OperationSerializer"
2698}
2699
2700func (m *awsAwsjson11_serializeOpGetResourceConfigHistory) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2701	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2702) {
2703	request, ok := in.Request.(*smithyhttp.Request)
2704	if !ok {
2705		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2706	}
2707
2708	input, ok := in.Parameters.(*GetResourceConfigHistoryInput)
2709	_ = input
2710	if !ok {
2711		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2712	}
2713
2714	request.Request.URL.Path = "/"
2715	request.Request.Method = "POST"
2716	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2717	if err != nil {
2718		return out, metadata, &smithy.SerializationError{Err: err}
2719	}
2720	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2721	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.GetResourceConfigHistory")
2722
2723	jsonEncoder := smithyjson.NewEncoder()
2724	if err := awsAwsjson11_serializeOpDocumentGetResourceConfigHistoryInput(input, jsonEncoder.Value); err != nil {
2725		return out, metadata, &smithy.SerializationError{Err: err}
2726	}
2727
2728	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2729		return out, metadata, &smithy.SerializationError{Err: err}
2730	}
2731
2732	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2733		return out, metadata, &smithy.SerializationError{Err: err}
2734	}
2735	in.Request = request
2736
2737	return next.HandleSerialize(ctx, in)
2738}
2739
2740type awsAwsjson11_serializeOpGetStoredQuery struct {
2741}
2742
2743func (*awsAwsjson11_serializeOpGetStoredQuery) ID() string {
2744	return "OperationSerializer"
2745}
2746
2747func (m *awsAwsjson11_serializeOpGetStoredQuery) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2748	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2749) {
2750	request, ok := in.Request.(*smithyhttp.Request)
2751	if !ok {
2752		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2753	}
2754
2755	input, ok := in.Parameters.(*GetStoredQueryInput)
2756	_ = input
2757	if !ok {
2758		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2759	}
2760
2761	request.Request.URL.Path = "/"
2762	request.Request.Method = "POST"
2763	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2764	if err != nil {
2765		return out, metadata, &smithy.SerializationError{Err: err}
2766	}
2767	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2768	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.GetStoredQuery")
2769
2770	jsonEncoder := smithyjson.NewEncoder()
2771	if err := awsAwsjson11_serializeOpDocumentGetStoredQueryInput(input, jsonEncoder.Value); err != nil {
2772		return out, metadata, &smithy.SerializationError{Err: err}
2773	}
2774
2775	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2776		return out, metadata, &smithy.SerializationError{Err: err}
2777	}
2778
2779	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2780		return out, metadata, &smithy.SerializationError{Err: err}
2781	}
2782	in.Request = request
2783
2784	return next.HandleSerialize(ctx, in)
2785}
2786
2787type awsAwsjson11_serializeOpListAggregateDiscoveredResources struct {
2788}
2789
2790func (*awsAwsjson11_serializeOpListAggregateDiscoveredResources) ID() string {
2791	return "OperationSerializer"
2792}
2793
2794func (m *awsAwsjson11_serializeOpListAggregateDiscoveredResources) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2795	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2796) {
2797	request, ok := in.Request.(*smithyhttp.Request)
2798	if !ok {
2799		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2800	}
2801
2802	input, ok := in.Parameters.(*ListAggregateDiscoveredResourcesInput)
2803	_ = input
2804	if !ok {
2805		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2806	}
2807
2808	request.Request.URL.Path = "/"
2809	request.Request.Method = "POST"
2810	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2811	if err != nil {
2812		return out, metadata, &smithy.SerializationError{Err: err}
2813	}
2814	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2815	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.ListAggregateDiscoveredResources")
2816
2817	jsonEncoder := smithyjson.NewEncoder()
2818	if err := awsAwsjson11_serializeOpDocumentListAggregateDiscoveredResourcesInput(input, jsonEncoder.Value); err != nil {
2819		return out, metadata, &smithy.SerializationError{Err: err}
2820	}
2821
2822	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2823		return out, metadata, &smithy.SerializationError{Err: err}
2824	}
2825
2826	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2827		return out, metadata, &smithy.SerializationError{Err: err}
2828	}
2829	in.Request = request
2830
2831	return next.HandleSerialize(ctx, in)
2832}
2833
2834type awsAwsjson11_serializeOpListDiscoveredResources struct {
2835}
2836
2837func (*awsAwsjson11_serializeOpListDiscoveredResources) ID() string {
2838	return "OperationSerializer"
2839}
2840
2841func (m *awsAwsjson11_serializeOpListDiscoveredResources) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2842	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2843) {
2844	request, ok := in.Request.(*smithyhttp.Request)
2845	if !ok {
2846		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2847	}
2848
2849	input, ok := in.Parameters.(*ListDiscoveredResourcesInput)
2850	_ = input
2851	if !ok {
2852		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2853	}
2854
2855	request.Request.URL.Path = "/"
2856	request.Request.Method = "POST"
2857	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2858	if err != nil {
2859		return out, metadata, &smithy.SerializationError{Err: err}
2860	}
2861	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2862	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.ListDiscoveredResources")
2863
2864	jsonEncoder := smithyjson.NewEncoder()
2865	if err := awsAwsjson11_serializeOpDocumentListDiscoveredResourcesInput(input, jsonEncoder.Value); err != nil {
2866		return out, metadata, &smithy.SerializationError{Err: err}
2867	}
2868
2869	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2870		return out, metadata, &smithy.SerializationError{Err: err}
2871	}
2872
2873	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2874		return out, metadata, &smithy.SerializationError{Err: err}
2875	}
2876	in.Request = request
2877
2878	return next.HandleSerialize(ctx, in)
2879}
2880
2881type awsAwsjson11_serializeOpListStoredQueries struct {
2882}
2883
2884func (*awsAwsjson11_serializeOpListStoredQueries) ID() string {
2885	return "OperationSerializer"
2886}
2887
2888func (m *awsAwsjson11_serializeOpListStoredQueries) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2889	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2890) {
2891	request, ok := in.Request.(*smithyhttp.Request)
2892	if !ok {
2893		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2894	}
2895
2896	input, ok := in.Parameters.(*ListStoredQueriesInput)
2897	_ = input
2898	if !ok {
2899		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2900	}
2901
2902	request.Request.URL.Path = "/"
2903	request.Request.Method = "POST"
2904	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2905	if err != nil {
2906		return out, metadata, &smithy.SerializationError{Err: err}
2907	}
2908	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2909	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.ListStoredQueries")
2910
2911	jsonEncoder := smithyjson.NewEncoder()
2912	if err := awsAwsjson11_serializeOpDocumentListStoredQueriesInput(input, jsonEncoder.Value); err != nil {
2913		return out, metadata, &smithy.SerializationError{Err: err}
2914	}
2915
2916	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2917		return out, metadata, &smithy.SerializationError{Err: err}
2918	}
2919
2920	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2921		return out, metadata, &smithy.SerializationError{Err: err}
2922	}
2923	in.Request = request
2924
2925	return next.HandleSerialize(ctx, in)
2926}
2927
2928type awsAwsjson11_serializeOpListTagsForResource struct {
2929}
2930
2931func (*awsAwsjson11_serializeOpListTagsForResource) ID() string {
2932	return "OperationSerializer"
2933}
2934
2935func (m *awsAwsjson11_serializeOpListTagsForResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2936	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2937) {
2938	request, ok := in.Request.(*smithyhttp.Request)
2939	if !ok {
2940		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2941	}
2942
2943	input, ok := in.Parameters.(*ListTagsForResourceInput)
2944	_ = input
2945	if !ok {
2946		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2947	}
2948
2949	request.Request.URL.Path = "/"
2950	request.Request.Method = "POST"
2951	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2952	if err != nil {
2953		return out, metadata, &smithy.SerializationError{Err: err}
2954	}
2955	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
2956	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.ListTagsForResource")
2957
2958	jsonEncoder := smithyjson.NewEncoder()
2959	if err := awsAwsjson11_serializeOpDocumentListTagsForResourceInput(input, jsonEncoder.Value); err != nil {
2960		return out, metadata, &smithy.SerializationError{Err: err}
2961	}
2962
2963	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
2964		return out, metadata, &smithy.SerializationError{Err: err}
2965	}
2966
2967	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
2968		return out, metadata, &smithy.SerializationError{Err: err}
2969	}
2970	in.Request = request
2971
2972	return next.HandleSerialize(ctx, in)
2973}
2974
2975type awsAwsjson11_serializeOpPutAggregationAuthorization struct {
2976}
2977
2978func (*awsAwsjson11_serializeOpPutAggregationAuthorization) ID() string {
2979	return "OperationSerializer"
2980}
2981
2982func (m *awsAwsjson11_serializeOpPutAggregationAuthorization) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
2983	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
2984) {
2985	request, ok := in.Request.(*smithyhttp.Request)
2986	if !ok {
2987		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
2988	}
2989
2990	input, ok := in.Parameters.(*PutAggregationAuthorizationInput)
2991	_ = input
2992	if !ok {
2993		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
2994	}
2995
2996	request.Request.URL.Path = "/"
2997	request.Request.Method = "POST"
2998	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
2999	if err != nil {
3000		return out, metadata, &smithy.SerializationError{Err: err}
3001	}
3002	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3003	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.PutAggregationAuthorization")
3004
3005	jsonEncoder := smithyjson.NewEncoder()
3006	if err := awsAwsjson11_serializeOpDocumentPutAggregationAuthorizationInput(input, jsonEncoder.Value); err != nil {
3007		return out, metadata, &smithy.SerializationError{Err: err}
3008	}
3009
3010	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3011		return out, metadata, &smithy.SerializationError{Err: err}
3012	}
3013
3014	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3015		return out, metadata, &smithy.SerializationError{Err: err}
3016	}
3017	in.Request = request
3018
3019	return next.HandleSerialize(ctx, in)
3020}
3021
3022type awsAwsjson11_serializeOpPutConfigRule struct {
3023}
3024
3025func (*awsAwsjson11_serializeOpPutConfigRule) ID() string {
3026	return "OperationSerializer"
3027}
3028
3029func (m *awsAwsjson11_serializeOpPutConfigRule) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3030	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3031) {
3032	request, ok := in.Request.(*smithyhttp.Request)
3033	if !ok {
3034		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3035	}
3036
3037	input, ok := in.Parameters.(*PutConfigRuleInput)
3038	_ = input
3039	if !ok {
3040		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3041	}
3042
3043	request.Request.URL.Path = "/"
3044	request.Request.Method = "POST"
3045	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3046	if err != nil {
3047		return out, metadata, &smithy.SerializationError{Err: err}
3048	}
3049	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3050	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.PutConfigRule")
3051
3052	jsonEncoder := smithyjson.NewEncoder()
3053	if err := awsAwsjson11_serializeOpDocumentPutConfigRuleInput(input, jsonEncoder.Value); err != nil {
3054		return out, metadata, &smithy.SerializationError{Err: err}
3055	}
3056
3057	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3058		return out, metadata, &smithy.SerializationError{Err: err}
3059	}
3060
3061	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3062		return out, metadata, &smithy.SerializationError{Err: err}
3063	}
3064	in.Request = request
3065
3066	return next.HandleSerialize(ctx, in)
3067}
3068
3069type awsAwsjson11_serializeOpPutConfigurationAggregator struct {
3070}
3071
3072func (*awsAwsjson11_serializeOpPutConfigurationAggregator) ID() string {
3073	return "OperationSerializer"
3074}
3075
3076func (m *awsAwsjson11_serializeOpPutConfigurationAggregator) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3077	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3078) {
3079	request, ok := in.Request.(*smithyhttp.Request)
3080	if !ok {
3081		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3082	}
3083
3084	input, ok := in.Parameters.(*PutConfigurationAggregatorInput)
3085	_ = input
3086	if !ok {
3087		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3088	}
3089
3090	request.Request.URL.Path = "/"
3091	request.Request.Method = "POST"
3092	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3093	if err != nil {
3094		return out, metadata, &smithy.SerializationError{Err: err}
3095	}
3096	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3097	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.PutConfigurationAggregator")
3098
3099	jsonEncoder := smithyjson.NewEncoder()
3100	if err := awsAwsjson11_serializeOpDocumentPutConfigurationAggregatorInput(input, jsonEncoder.Value); err != nil {
3101		return out, metadata, &smithy.SerializationError{Err: err}
3102	}
3103
3104	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3105		return out, metadata, &smithy.SerializationError{Err: err}
3106	}
3107
3108	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3109		return out, metadata, &smithy.SerializationError{Err: err}
3110	}
3111	in.Request = request
3112
3113	return next.HandleSerialize(ctx, in)
3114}
3115
3116type awsAwsjson11_serializeOpPutConfigurationRecorder struct {
3117}
3118
3119func (*awsAwsjson11_serializeOpPutConfigurationRecorder) ID() string {
3120	return "OperationSerializer"
3121}
3122
3123func (m *awsAwsjson11_serializeOpPutConfigurationRecorder) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3124	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3125) {
3126	request, ok := in.Request.(*smithyhttp.Request)
3127	if !ok {
3128		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3129	}
3130
3131	input, ok := in.Parameters.(*PutConfigurationRecorderInput)
3132	_ = input
3133	if !ok {
3134		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3135	}
3136
3137	request.Request.URL.Path = "/"
3138	request.Request.Method = "POST"
3139	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3140	if err != nil {
3141		return out, metadata, &smithy.SerializationError{Err: err}
3142	}
3143	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3144	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.PutConfigurationRecorder")
3145
3146	jsonEncoder := smithyjson.NewEncoder()
3147	if err := awsAwsjson11_serializeOpDocumentPutConfigurationRecorderInput(input, jsonEncoder.Value); err != nil {
3148		return out, metadata, &smithy.SerializationError{Err: err}
3149	}
3150
3151	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3152		return out, metadata, &smithy.SerializationError{Err: err}
3153	}
3154
3155	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3156		return out, metadata, &smithy.SerializationError{Err: err}
3157	}
3158	in.Request = request
3159
3160	return next.HandleSerialize(ctx, in)
3161}
3162
3163type awsAwsjson11_serializeOpPutConformancePack struct {
3164}
3165
3166func (*awsAwsjson11_serializeOpPutConformancePack) ID() string {
3167	return "OperationSerializer"
3168}
3169
3170func (m *awsAwsjson11_serializeOpPutConformancePack) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3171	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3172) {
3173	request, ok := in.Request.(*smithyhttp.Request)
3174	if !ok {
3175		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3176	}
3177
3178	input, ok := in.Parameters.(*PutConformancePackInput)
3179	_ = input
3180	if !ok {
3181		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3182	}
3183
3184	request.Request.URL.Path = "/"
3185	request.Request.Method = "POST"
3186	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3187	if err != nil {
3188		return out, metadata, &smithy.SerializationError{Err: err}
3189	}
3190	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3191	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.PutConformancePack")
3192
3193	jsonEncoder := smithyjson.NewEncoder()
3194	if err := awsAwsjson11_serializeOpDocumentPutConformancePackInput(input, jsonEncoder.Value); err != nil {
3195		return out, metadata, &smithy.SerializationError{Err: err}
3196	}
3197
3198	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3199		return out, metadata, &smithy.SerializationError{Err: err}
3200	}
3201
3202	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3203		return out, metadata, &smithy.SerializationError{Err: err}
3204	}
3205	in.Request = request
3206
3207	return next.HandleSerialize(ctx, in)
3208}
3209
3210type awsAwsjson11_serializeOpPutDeliveryChannel struct {
3211}
3212
3213func (*awsAwsjson11_serializeOpPutDeliveryChannel) ID() string {
3214	return "OperationSerializer"
3215}
3216
3217func (m *awsAwsjson11_serializeOpPutDeliveryChannel) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3218	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3219) {
3220	request, ok := in.Request.(*smithyhttp.Request)
3221	if !ok {
3222		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3223	}
3224
3225	input, ok := in.Parameters.(*PutDeliveryChannelInput)
3226	_ = input
3227	if !ok {
3228		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3229	}
3230
3231	request.Request.URL.Path = "/"
3232	request.Request.Method = "POST"
3233	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3234	if err != nil {
3235		return out, metadata, &smithy.SerializationError{Err: err}
3236	}
3237	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3238	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.PutDeliveryChannel")
3239
3240	jsonEncoder := smithyjson.NewEncoder()
3241	if err := awsAwsjson11_serializeOpDocumentPutDeliveryChannelInput(input, jsonEncoder.Value); err != nil {
3242		return out, metadata, &smithy.SerializationError{Err: err}
3243	}
3244
3245	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3246		return out, metadata, &smithy.SerializationError{Err: err}
3247	}
3248
3249	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3250		return out, metadata, &smithy.SerializationError{Err: err}
3251	}
3252	in.Request = request
3253
3254	return next.HandleSerialize(ctx, in)
3255}
3256
3257type awsAwsjson11_serializeOpPutEvaluations struct {
3258}
3259
3260func (*awsAwsjson11_serializeOpPutEvaluations) ID() string {
3261	return "OperationSerializer"
3262}
3263
3264func (m *awsAwsjson11_serializeOpPutEvaluations) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3265	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3266) {
3267	request, ok := in.Request.(*smithyhttp.Request)
3268	if !ok {
3269		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3270	}
3271
3272	input, ok := in.Parameters.(*PutEvaluationsInput)
3273	_ = input
3274	if !ok {
3275		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3276	}
3277
3278	request.Request.URL.Path = "/"
3279	request.Request.Method = "POST"
3280	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3281	if err != nil {
3282		return out, metadata, &smithy.SerializationError{Err: err}
3283	}
3284	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3285	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.PutEvaluations")
3286
3287	jsonEncoder := smithyjson.NewEncoder()
3288	if err := awsAwsjson11_serializeOpDocumentPutEvaluationsInput(input, jsonEncoder.Value); err != nil {
3289		return out, metadata, &smithy.SerializationError{Err: err}
3290	}
3291
3292	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3293		return out, metadata, &smithy.SerializationError{Err: err}
3294	}
3295
3296	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3297		return out, metadata, &smithy.SerializationError{Err: err}
3298	}
3299	in.Request = request
3300
3301	return next.HandleSerialize(ctx, in)
3302}
3303
3304type awsAwsjson11_serializeOpPutExternalEvaluation struct {
3305}
3306
3307func (*awsAwsjson11_serializeOpPutExternalEvaluation) ID() string {
3308	return "OperationSerializer"
3309}
3310
3311func (m *awsAwsjson11_serializeOpPutExternalEvaluation) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3312	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3313) {
3314	request, ok := in.Request.(*smithyhttp.Request)
3315	if !ok {
3316		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3317	}
3318
3319	input, ok := in.Parameters.(*PutExternalEvaluationInput)
3320	_ = input
3321	if !ok {
3322		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3323	}
3324
3325	request.Request.URL.Path = "/"
3326	request.Request.Method = "POST"
3327	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3328	if err != nil {
3329		return out, metadata, &smithy.SerializationError{Err: err}
3330	}
3331	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3332	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.PutExternalEvaluation")
3333
3334	jsonEncoder := smithyjson.NewEncoder()
3335	if err := awsAwsjson11_serializeOpDocumentPutExternalEvaluationInput(input, jsonEncoder.Value); err != nil {
3336		return out, metadata, &smithy.SerializationError{Err: err}
3337	}
3338
3339	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3340		return out, metadata, &smithy.SerializationError{Err: err}
3341	}
3342
3343	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3344		return out, metadata, &smithy.SerializationError{Err: err}
3345	}
3346	in.Request = request
3347
3348	return next.HandleSerialize(ctx, in)
3349}
3350
3351type awsAwsjson11_serializeOpPutOrganizationConfigRule struct {
3352}
3353
3354func (*awsAwsjson11_serializeOpPutOrganizationConfigRule) ID() string {
3355	return "OperationSerializer"
3356}
3357
3358func (m *awsAwsjson11_serializeOpPutOrganizationConfigRule) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3359	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3360) {
3361	request, ok := in.Request.(*smithyhttp.Request)
3362	if !ok {
3363		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3364	}
3365
3366	input, ok := in.Parameters.(*PutOrganizationConfigRuleInput)
3367	_ = input
3368	if !ok {
3369		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3370	}
3371
3372	request.Request.URL.Path = "/"
3373	request.Request.Method = "POST"
3374	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3375	if err != nil {
3376		return out, metadata, &smithy.SerializationError{Err: err}
3377	}
3378	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3379	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.PutOrganizationConfigRule")
3380
3381	jsonEncoder := smithyjson.NewEncoder()
3382	if err := awsAwsjson11_serializeOpDocumentPutOrganizationConfigRuleInput(input, jsonEncoder.Value); err != nil {
3383		return out, metadata, &smithy.SerializationError{Err: err}
3384	}
3385
3386	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3387		return out, metadata, &smithy.SerializationError{Err: err}
3388	}
3389
3390	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3391		return out, metadata, &smithy.SerializationError{Err: err}
3392	}
3393	in.Request = request
3394
3395	return next.HandleSerialize(ctx, in)
3396}
3397
3398type awsAwsjson11_serializeOpPutOrganizationConformancePack struct {
3399}
3400
3401func (*awsAwsjson11_serializeOpPutOrganizationConformancePack) ID() string {
3402	return "OperationSerializer"
3403}
3404
3405func (m *awsAwsjson11_serializeOpPutOrganizationConformancePack) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3406	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3407) {
3408	request, ok := in.Request.(*smithyhttp.Request)
3409	if !ok {
3410		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3411	}
3412
3413	input, ok := in.Parameters.(*PutOrganizationConformancePackInput)
3414	_ = input
3415	if !ok {
3416		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3417	}
3418
3419	request.Request.URL.Path = "/"
3420	request.Request.Method = "POST"
3421	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3422	if err != nil {
3423		return out, metadata, &smithy.SerializationError{Err: err}
3424	}
3425	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3426	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.PutOrganizationConformancePack")
3427
3428	jsonEncoder := smithyjson.NewEncoder()
3429	if err := awsAwsjson11_serializeOpDocumentPutOrganizationConformancePackInput(input, jsonEncoder.Value); err != nil {
3430		return out, metadata, &smithy.SerializationError{Err: err}
3431	}
3432
3433	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3434		return out, metadata, &smithy.SerializationError{Err: err}
3435	}
3436
3437	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3438		return out, metadata, &smithy.SerializationError{Err: err}
3439	}
3440	in.Request = request
3441
3442	return next.HandleSerialize(ctx, in)
3443}
3444
3445type awsAwsjson11_serializeOpPutRemediationConfigurations struct {
3446}
3447
3448func (*awsAwsjson11_serializeOpPutRemediationConfigurations) ID() string {
3449	return "OperationSerializer"
3450}
3451
3452func (m *awsAwsjson11_serializeOpPutRemediationConfigurations) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3453	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3454) {
3455	request, ok := in.Request.(*smithyhttp.Request)
3456	if !ok {
3457		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3458	}
3459
3460	input, ok := in.Parameters.(*PutRemediationConfigurationsInput)
3461	_ = input
3462	if !ok {
3463		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3464	}
3465
3466	request.Request.URL.Path = "/"
3467	request.Request.Method = "POST"
3468	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3469	if err != nil {
3470		return out, metadata, &smithy.SerializationError{Err: err}
3471	}
3472	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3473	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.PutRemediationConfigurations")
3474
3475	jsonEncoder := smithyjson.NewEncoder()
3476	if err := awsAwsjson11_serializeOpDocumentPutRemediationConfigurationsInput(input, jsonEncoder.Value); err != nil {
3477		return out, metadata, &smithy.SerializationError{Err: err}
3478	}
3479
3480	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3481		return out, metadata, &smithy.SerializationError{Err: err}
3482	}
3483
3484	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3485		return out, metadata, &smithy.SerializationError{Err: err}
3486	}
3487	in.Request = request
3488
3489	return next.HandleSerialize(ctx, in)
3490}
3491
3492type awsAwsjson11_serializeOpPutRemediationExceptions struct {
3493}
3494
3495func (*awsAwsjson11_serializeOpPutRemediationExceptions) ID() string {
3496	return "OperationSerializer"
3497}
3498
3499func (m *awsAwsjson11_serializeOpPutRemediationExceptions) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3500	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3501) {
3502	request, ok := in.Request.(*smithyhttp.Request)
3503	if !ok {
3504		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3505	}
3506
3507	input, ok := in.Parameters.(*PutRemediationExceptionsInput)
3508	_ = input
3509	if !ok {
3510		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3511	}
3512
3513	request.Request.URL.Path = "/"
3514	request.Request.Method = "POST"
3515	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3516	if err != nil {
3517		return out, metadata, &smithy.SerializationError{Err: err}
3518	}
3519	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3520	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.PutRemediationExceptions")
3521
3522	jsonEncoder := smithyjson.NewEncoder()
3523	if err := awsAwsjson11_serializeOpDocumentPutRemediationExceptionsInput(input, jsonEncoder.Value); err != nil {
3524		return out, metadata, &smithy.SerializationError{Err: err}
3525	}
3526
3527	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3528		return out, metadata, &smithy.SerializationError{Err: err}
3529	}
3530
3531	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3532		return out, metadata, &smithy.SerializationError{Err: err}
3533	}
3534	in.Request = request
3535
3536	return next.HandleSerialize(ctx, in)
3537}
3538
3539type awsAwsjson11_serializeOpPutResourceConfig struct {
3540}
3541
3542func (*awsAwsjson11_serializeOpPutResourceConfig) ID() string {
3543	return "OperationSerializer"
3544}
3545
3546func (m *awsAwsjson11_serializeOpPutResourceConfig) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3547	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3548) {
3549	request, ok := in.Request.(*smithyhttp.Request)
3550	if !ok {
3551		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3552	}
3553
3554	input, ok := in.Parameters.(*PutResourceConfigInput)
3555	_ = input
3556	if !ok {
3557		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3558	}
3559
3560	request.Request.URL.Path = "/"
3561	request.Request.Method = "POST"
3562	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3563	if err != nil {
3564		return out, metadata, &smithy.SerializationError{Err: err}
3565	}
3566	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3567	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.PutResourceConfig")
3568
3569	jsonEncoder := smithyjson.NewEncoder()
3570	if err := awsAwsjson11_serializeOpDocumentPutResourceConfigInput(input, jsonEncoder.Value); err != nil {
3571		return out, metadata, &smithy.SerializationError{Err: err}
3572	}
3573
3574	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3575		return out, metadata, &smithy.SerializationError{Err: err}
3576	}
3577
3578	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3579		return out, metadata, &smithy.SerializationError{Err: err}
3580	}
3581	in.Request = request
3582
3583	return next.HandleSerialize(ctx, in)
3584}
3585
3586type awsAwsjson11_serializeOpPutRetentionConfiguration struct {
3587}
3588
3589func (*awsAwsjson11_serializeOpPutRetentionConfiguration) ID() string {
3590	return "OperationSerializer"
3591}
3592
3593func (m *awsAwsjson11_serializeOpPutRetentionConfiguration) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3594	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3595) {
3596	request, ok := in.Request.(*smithyhttp.Request)
3597	if !ok {
3598		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3599	}
3600
3601	input, ok := in.Parameters.(*PutRetentionConfigurationInput)
3602	_ = input
3603	if !ok {
3604		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3605	}
3606
3607	request.Request.URL.Path = "/"
3608	request.Request.Method = "POST"
3609	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3610	if err != nil {
3611		return out, metadata, &smithy.SerializationError{Err: err}
3612	}
3613	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3614	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.PutRetentionConfiguration")
3615
3616	jsonEncoder := smithyjson.NewEncoder()
3617	if err := awsAwsjson11_serializeOpDocumentPutRetentionConfigurationInput(input, jsonEncoder.Value); err != nil {
3618		return out, metadata, &smithy.SerializationError{Err: err}
3619	}
3620
3621	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3622		return out, metadata, &smithy.SerializationError{Err: err}
3623	}
3624
3625	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3626		return out, metadata, &smithy.SerializationError{Err: err}
3627	}
3628	in.Request = request
3629
3630	return next.HandleSerialize(ctx, in)
3631}
3632
3633type awsAwsjson11_serializeOpPutStoredQuery struct {
3634}
3635
3636func (*awsAwsjson11_serializeOpPutStoredQuery) ID() string {
3637	return "OperationSerializer"
3638}
3639
3640func (m *awsAwsjson11_serializeOpPutStoredQuery) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3641	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3642) {
3643	request, ok := in.Request.(*smithyhttp.Request)
3644	if !ok {
3645		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3646	}
3647
3648	input, ok := in.Parameters.(*PutStoredQueryInput)
3649	_ = input
3650	if !ok {
3651		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3652	}
3653
3654	request.Request.URL.Path = "/"
3655	request.Request.Method = "POST"
3656	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3657	if err != nil {
3658		return out, metadata, &smithy.SerializationError{Err: err}
3659	}
3660	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3661	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.PutStoredQuery")
3662
3663	jsonEncoder := smithyjson.NewEncoder()
3664	if err := awsAwsjson11_serializeOpDocumentPutStoredQueryInput(input, jsonEncoder.Value); err != nil {
3665		return out, metadata, &smithy.SerializationError{Err: err}
3666	}
3667
3668	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3669		return out, metadata, &smithy.SerializationError{Err: err}
3670	}
3671
3672	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3673		return out, metadata, &smithy.SerializationError{Err: err}
3674	}
3675	in.Request = request
3676
3677	return next.HandleSerialize(ctx, in)
3678}
3679
3680type awsAwsjson11_serializeOpSelectAggregateResourceConfig struct {
3681}
3682
3683func (*awsAwsjson11_serializeOpSelectAggregateResourceConfig) ID() string {
3684	return "OperationSerializer"
3685}
3686
3687func (m *awsAwsjson11_serializeOpSelectAggregateResourceConfig) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3688	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3689) {
3690	request, ok := in.Request.(*smithyhttp.Request)
3691	if !ok {
3692		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3693	}
3694
3695	input, ok := in.Parameters.(*SelectAggregateResourceConfigInput)
3696	_ = input
3697	if !ok {
3698		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3699	}
3700
3701	request.Request.URL.Path = "/"
3702	request.Request.Method = "POST"
3703	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3704	if err != nil {
3705		return out, metadata, &smithy.SerializationError{Err: err}
3706	}
3707	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3708	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.SelectAggregateResourceConfig")
3709
3710	jsonEncoder := smithyjson.NewEncoder()
3711	if err := awsAwsjson11_serializeOpDocumentSelectAggregateResourceConfigInput(input, jsonEncoder.Value); err != nil {
3712		return out, metadata, &smithy.SerializationError{Err: err}
3713	}
3714
3715	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3716		return out, metadata, &smithy.SerializationError{Err: err}
3717	}
3718
3719	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3720		return out, metadata, &smithy.SerializationError{Err: err}
3721	}
3722	in.Request = request
3723
3724	return next.HandleSerialize(ctx, in)
3725}
3726
3727type awsAwsjson11_serializeOpSelectResourceConfig struct {
3728}
3729
3730func (*awsAwsjson11_serializeOpSelectResourceConfig) ID() string {
3731	return "OperationSerializer"
3732}
3733
3734func (m *awsAwsjson11_serializeOpSelectResourceConfig) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3735	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3736) {
3737	request, ok := in.Request.(*smithyhttp.Request)
3738	if !ok {
3739		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3740	}
3741
3742	input, ok := in.Parameters.(*SelectResourceConfigInput)
3743	_ = input
3744	if !ok {
3745		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3746	}
3747
3748	request.Request.URL.Path = "/"
3749	request.Request.Method = "POST"
3750	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3751	if err != nil {
3752		return out, metadata, &smithy.SerializationError{Err: err}
3753	}
3754	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3755	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.SelectResourceConfig")
3756
3757	jsonEncoder := smithyjson.NewEncoder()
3758	if err := awsAwsjson11_serializeOpDocumentSelectResourceConfigInput(input, jsonEncoder.Value); err != nil {
3759		return out, metadata, &smithy.SerializationError{Err: err}
3760	}
3761
3762	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3763		return out, metadata, &smithy.SerializationError{Err: err}
3764	}
3765
3766	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3767		return out, metadata, &smithy.SerializationError{Err: err}
3768	}
3769	in.Request = request
3770
3771	return next.HandleSerialize(ctx, in)
3772}
3773
3774type awsAwsjson11_serializeOpStartConfigRulesEvaluation struct {
3775}
3776
3777func (*awsAwsjson11_serializeOpStartConfigRulesEvaluation) ID() string {
3778	return "OperationSerializer"
3779}
3780
3781func (m *awsAwsjson11_serializeOpStartConfigRulesEvaluation) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3782	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3783) {
3784	request, ok := in.Request.(*smithyhttp.Request)
3785	if !ok {
3786		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3787	}
3788
3789	input, ok := in.Parameters.(*StartConfigRulesEvaluationInput)
3790	_ = input
3791	if !ok {
3792		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3793	}
3794
3795	request.Request.URL.Path = "/"
3796	request.Request.Method = "POST"
3797	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3798	if err != nil {
3799		return out, metadata, &smithy.SerializationError{Err: err}
3800	}
3801	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3802	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.StartConfigRulesEvaluation")
3803
3804	jsonEncoder := smithyjson.NewEncoder()
3805	if err := awsAwsjson11_serializeOpDocumentStartConfigRulesEvaluationInput(input, jsonEncoder.Value); err != nil {
3806		return out, metadata, &smithy.SerializationError{Err: err}
3807	}
3808
3809	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3810		return out, metadata, &smithy.SerializationError{Err: err}
3811	}
3812
3813	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3814		return out, metadata, &smithy.SerializationError{Err: err}
3815	}
3816	in.Request = request
3817
3818	return next.HandleSerialize(ctx, in)
3819}
3820
3821type awsAwsjson11_serializeOpStartConfigurationRecorder struct {
3822}
3823
3824func (*awsAwsjson11_serializeOpStartConfigurationRecorder) ID() string {
3825	return "OperationSerializer"
3826}
3827
3828func (m *awsAwsjson11_serializeOpStartConfigurationRecorder) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3829	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3830) {
3831	request, ok := in.Request.(*smithyhttp.Request)
3832	if !ok {
3833		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3834	}
3835
3836	input, ok := in.Parameters.(*StartConfigurationRecorderInput)
3837	_ = input
3838	if !ok {
3839		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3840	}
3841
3842	request.Request.URL.Path = "/"
3843	request.Request.Method = "POST"
3844	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3845	if err != nil {
3846		return out, metadata, &smithy.SerializationError{Err: err}
3847	}
3848	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3849	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.StartConfigurationRecorder")
3850
3851	jsonEncoder := smithyjson.NewEncoder()
3852	if err := awsAwsjson11_serializeOpDocumentStartConfigurationRecorderInput(input, jsonEncoder.Value); err != nil {
3853		return out, metadata, &smithy.SerializationError{Err: err}
3854	}
3855
3856	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3857		return out, metadata, &smithy.SerializationError{Err: err}
3858	}
3859
3860	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3861		return out, metadata, &smithy.SerializationError{Err: err}
3862	}
3863	in.Request = request
3864
3865	return next.HandleSerialize(ctx, in)
3866}
3867
3868type awsAwsjson11_serializeOpStartRemediationExecution struct {
3869}
3870
3871func (*awsAwsjson11_serializeOpStartRemediationExecution) ID() string {
3872	return "OperationSerializer"
3873}
3874
3875func (m *awsAwsjson11_serializeOpStartRemediationExecution) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3876	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3877) {
3878	request, ok := in.Request.(*smithyhttp.Request)
3879	if !ok {
3880		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3881	}
3882
3883	input, ok := in.Parameters.(*StartRemediationExecutionInput)
3884	_ = input
3885	if !ok {
3886		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3887	}
3888
3889	request.Request.URL.Path = "/"
3890	request.Request.Method = "POST"
3891	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3892	if err != nil {
3893		return out, metadata, &smithy.SerializationError{Err: err}
3894	}
3895	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3896	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.StartRemediationExecution")
3897
3898	jsonEncoder := smithyjson.NewEncoder()
3899	if err := awsAwsjson11_serializeOpDocumentStartRemediationExecutionInput(input, jsonEncoder.Value); err != nil {
3900		return out, metadata, &smithy.SerializationError{Err: err}
3901	}
3902
3903	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3904		return out, metadata, &smithy.SerializationError{Err: err}
3905	}
3906
3907	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3908		return out, metadata, &smithy.SerializationError{Err: err}
3909	}
3910	in.Request = request
3911
3912	return next.HandleSerialize(ctx, in)
3913}
3914
3915type awsAwsjson11_serializeOpStopConfigurationRecorder struct {
3916}
3917
3918func (*awsAwsjson11_serializeOpStopConfigurationRecorder) ID() string {
3919	return "OperationSerializer"
3920}
3921
3922func (m *awsAwsjson11_serializeOpStopConfigurationRecorder) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3923	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3924) {
3925	request, ok := in.Request.(*smithyhttp.Request)
3926	if !ok {
3927		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3928	}
3929
3930	input, ok := in.Parameters.(*StopConfigurationRecorderInput)
3931	_ = input
3932	if !ok {
3933		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3934	}
3935
3936	request.Request.URL.Path = "/"
3937	request.Request.Method = "POST"
3938	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3939	if err != nil {
3940		return out, metadata, &smithy.SerializationError{Err: err}
3941	}
3942	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3943	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.StopConfigurationRecorder")
3944
3945	jsonEncoder := smithyjson.NewEncoder()
3946	if err := awsAwsjson11_serializeOpDocumentStopConfigurationRecorderInput(input, jsonEncoder.Value); err != nil {
3947		return out, metadata, &smithy.SerializationError{Err: err}
3948	}
3949
3950	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3951		return out, metadata, &smithy.SerializationError{Err: err}
3952	}
3953
3954	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
3955		return out, metadata, &smithy.SerializationError{Err: err}
3956	}
3957	in.Request = request
3958
3959	return next.HandleSerialize(ctx, in)
3960}
3961
3962type awsAwsjson11_serializeOpTagResource struct {
3963}
3964
3965func (*awsAwsjson11_serializeOpTagResource) ID() string {
3966	return "OperationSerializer"
3967}
3968
3969func (m *awsAwsjson11_serializeOpTagResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
3970	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
3971) {
3972	request, ok := in.Request.(*smithyhttp.Request)
3973	if !ok {
3974		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
3975	}
3976
3977	input, ok := in.Parameters.(*TagResourceInput)
3978	_ = input
3979	if !ok {
3980		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
3981	}
3982
3983	request.Request.URL.Path = "/"
3984	request.Request.Method = "POST"
3985	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
3986	if err != nil {
3987		return out, metadata, &smithy.SerializationError{Err: err}
3988	}
3989	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
3990	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.TagResource")
3991
3992	jsonEncoder := smithyjson.NewEncoder()
3993	if err := awsAwsjson11_serializeOpDocumentTagResourceInput(input, jsonEncoder.Value); err != nil {
3994		return out, metadata, &smithy.SerializationError{Err: err}
3995	}
3996
3997	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
3998		return out, metadata, &smithy.SerializationError{Err: err}
3999	}
4000
4001	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
4002		return out, metadata, &smithy.SerializationError{Err: err}
4003	}
4004	in.Request = request
4005
4006	return next.HandleSerialize(ctx, in)
4007}
4008
4009type awsAwsjson11_serializeOpUntagResource struct {
4010}
4011
4012func (*awsAwsjson11_serializeOpUntagResource) ID() string {
4013	return "OperationSerializer"
4014}
4015
4016func (m *awsAwsjson11_serializeOpUntagResource) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
4017	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
4018) {
4019	request, ok := in.Request.(*smithyhttp.Request)
4020	if !ok {
4021		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)}
4022	}
4023
4024	input, ok := in.Parameters.(*UntagResourceInput)
4025	_ = input
4026	if !ok {
4027		return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)}
4028	}
4029
4030	request.Request.URL.Path = "/"
4031	request.Request.Method = "POST"
4032	httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header)
4033	if err != nil {
4034		return out, metadata, &smithy.SerializationError{Err: err}
4035	}
4036	httpBindingEncoder.SetHeader("Content-Type").String("application/x-amz-json-1.1")
4037	httpBindingEncoder.SetHeader("X-Amz-Target").String("StarlingDoveService.UntagResource")
4038
4039	jsonEncoder := smithyjson.NewEncoder()
4040	if err := awsAwsjson11_serializeOpDocumentUntagResourceInput(input, jsonEncoder.Value); err != nil {
4041		return out, metadata, &smithy.SerializationError{Err: err}
4042	}
4043
4044	if request, err = request.SetStream(bytes.NewReader(jsonEncoder.Bytes())); err != nil {
4045		return out, metadata, &smithy.SerializationError{Err: err}
4046	}
4047
4048	if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil {
4049		return out, metadata, &smithy.SerializationError{Err: err}
4050	}
4051	in.Request = request
4052
4053	return next.HandleSerialize(ctx, in)
4054}
4055func awsAwsjson11_serializeDocumentAccountAggregationSource(v *types.AccountAggregationSource, value smithyjson.Value) error {
4056	object := value.Object()
4057	defer object.Close()
4058
4059	if v.AccountIds != nil {
4060		ok := object.Key("AccountIds")
4061		if err := awsAwsjson11_serializeDocumentAccountAggregationSourceAccountList(v.AccountIds, ok); err != nil {
4062			return err
4063		}
4064	}
4065
4066	if v.AllAwsRegions {
4067		ok := object.Key("AllAwsRegions")
4068		ok.Boolean(v.AllAwsRegions)
4069	}
4070
4071	if v.AwsRegions != nil {
4072		ok := object.Key("AwsRegions")
4073		if err := awsAwsjson11_serializeDocumentAggregatorRegionList(v.AwsRegions, ok); err != nil {
4074			return err
4075		}
4076	}
4077
4078	return nil
4079}
4080
4081func awsAwsjson11_serializeDocumentAccountAggregationSourceAccountList(v []string, value smithyjson.Value) error {
4082	array := value.Array()
4083	defer array.Close()
4084
4085	for i := range v {
4086		av := array.Value()
4087		av.String(v[i])
4088	}
4089	return nil
4090}
4091
4092func awsAwsjson11_serializeDocumentAccountAggregationSourceList(v []types.AccountAggregationSource, value smithyjson.Value) error {
4093	array := value.Array()
4094	defer array.Close()
4095
4096	for i := range v {
4097		av := array.Value()
4098		if err := awsAwsjson11_serializeDocumentAccountAggregationSource(&v[i], av); err != nil {
4099			return err
4100		}
4101	}
4102	return nil
4103}
4104
4105func awsAwsjson11_serializeDocumentAggregateConformancePackComplianceFilters(v *types.AggregateConformancePackComplianceFilters, value smithyjson.Value) error {
4106	object := value.Object()
4107	defer object.Close()
4108
4109	if v.AccountId != nil {
4110		ok := object.Key("AccountId")
4111		ok.String(*v.AccountId)
4112	}
4113
4114	if v.AwsRegion != nil {
4115		ok := object.Key("AwsRegion")
4116		ok.String(*v.AwsRegion)
4117	}
4118
4119	if len(v.ComplianceType) > 0 {
4120		ok := object.Key("ComplianceType")
4121		ok.String(string(v.ComplianceType))
4122	}
4123
4124	if v.ConformancePackName != nil {
4125		ok := object.Key("ConformancePackName")
4126		ok.String(*v.ConformancePackName)
4127	}
4128
4129	return nil
4130}
4131
4132func awsAwsjson11_serializeDocumentAggregateConformancePackComplianceSummaryFilters(v *types.AggregateConformancePackComplianceSummaryFilters, value smithyjson.Value) error {
4133	object := value.Object()
4134	defer object.Close()
4135
4136	if v.AccountId != nil {
4137		ok := object.Key("AccountId")
4138		ok.String(*v.AccountId)
4139	}
4140
4141	if v.AwsRegion != nil {
4142		ok := object.Key("AwsRegion")
4143		ok.String(*v.AwsRegion)
4144	}
4145
4146	return nil
4147}
4148
4149func awsAwsjson11_serializeDocumentAggregatedSourceStatusTypeList(v []types.AggregatedSourceStatusType, value smithyjson.Value) error {
4150	array := value.Array()
4151	defer array.Close()
4152
4153	for i := range v {
4154		av := array.Value()
4155		av.String(string(v[i]))
4156	}
4157	return nil
4158}
4159
4160func awsAwsjson11_serializeDocumentAggregateResourceIdentifier(v *types.AggregateResourceIdentifier, value smithyjson.Value) error {
4161	object := value.Object()
4162	defer object.Close()
4163
4164	if v.ResourceId != nil {
4165		ok := object.Key("ResourceId")
4166		ok.String(*v.ResourceId)
4167	}
4168
4169	if v.ResourceName != nil {
4170		ok := object.Key("ResourceName")
4171		ok.String(*v.ResourceName)
4172	}
4173
4174	if len(v.ResourceType) > 0 {
4175		ok := object.Key("ResourceType")
4176		ok.String(string(v.ResourceType))
4177	}
4178
4179	if v.SourceAccountId != nil {
4180		ok := object.Key("SourceAccountId")
4181		ok.String(*v.SourceAccountId)
4182	}
4183
4184	if v.SourceRegion != nil {
4185		ok := object.Key("SourceRegion")
4186		ok.String(*v.SourceRegion)
4187	}
4188
4189	return nil
4190}
4191
4192func awsAwsjson11_serializeDocumentAggregatorRegionList(v []string, value smithyjson.Value) error {
4193	array := value.Array()
4194	defer array.Close()
4195
4196	for i := range v {
4197		av := array.Value()
4198		av.String(v[i])
4199	}
4200	return nil
4201}
4202
4203func awsAwsjson11_serializeDocumentComplianceResourceTypes(v []string, value smithyjson.Value) error {
4204	array := value.Array()
4205	defer array.Close()
4206
4207	for i := range v {
4208		av := array.Value()
4209		av.String(v[i])
4210	}
4211	return nil
4212}
4213
4214func awsAwsjson11_serializeDocumentComplianceTypes(v []types.ComplianceType, value smithyjson.Value) error {
4215	array := value.Array()
4216	defer array.Close()
4217
4218	for i := range v {
4219		av := array.Value()
4220		av.String(string(v[i]))
4221	}
4222	return nil
4223}
4224
4225func awsAwsjson11_serializeDocumentConfigRule(v *types.ConfigRule, value smithyjson.Value) error {
4226	object := value.Object()
4227	defer object.Close()
4228
4229	if v.ConfigRuleArn != nil {
4230		ok := object.Key("ConfigRuleArn")
4231		ok.String(*v.ConfigRuleArn)
4232	}
4233
4234	if v.ConfigRuleId != nil {
4235		ok := object.Key("ConfigRuleId")
4236		ok.String(*v.ConfigRuleId)
4237	}
4238
4239	if v.ConfigRuleName != nil {
4240		ok := object.Key("ConfigRuleName")
4241		ok.String(*v.ConfigRuleName)
4242	}
4243
4244	if len(v.ConfigRuleState) > 0 {
4245		ok := object.Key("ConfigRuleState")
4246		ok.String(string(v.ConfigRuleState))
4247	}
4248
4249	if v.CreatedBy != nil {
4250		ok := object.Key("CreatedBy")
4251		ok.String(*v.CreatedBy)
4252	}
4253
4254	if v.Description != nil {
4255		ok := object.Key("Description")
4256		ok.String(*v.Description)
4257	}
4258
4259	if v.InputParameters != nil {
4260		ok := object.Key("InputParameters")
4261		ok.String(*v.InputParameters)
4262	}
4263
4264	if len(v.MaximumExecutionFrequency) > 0 {
4265		ok := object.Key("MaximumExecutionFrequency")
4266		ok.String(string(v.MaximumExecutionFrequency))
4267	}
4268
4269	if v.Scope != nil {
4270		ok := object.Key("Scope")
4271		if err := awsAwsjson11_serializeDocumentScope(v.Scope, ok); err != nil {
4272			return err
4273		}
4274	}
4275
4276	if v.Source != nil {
4277		ok := object.Key("Source")
4278		if err := awsAwsjson11_serializeDocumentSource(v.Source, ok); err != nil {
4279			return err
4280		}
4281	}
4282
4283	return nil
4284}
4285
4286func awsAwsjson11_serializeDocumentConfigRuleComplianceFilters(v *types.ConfigRuleComplianceFilters, value smithyjson.Value) error {
4287	object := value.Object()
4288	defer object.Close()
4289
4290	if v.AccountId != nil {
4291		ok := object.Key("AccountId")
4292		ok.String(*v.AccountId)
4293	}
4294
4295	if v.AwsRegion != nil {
4296		ok := object.Key("AwsRegion")
4297		ok.String(*v.AwsRegion)
4298	}
4299
4300	if len(v.ComplianceType) > 0 {
4301		ok := object.Key("ComplianceType")
4302		ok.String(string(v.ComplianceType))
4303	}
4304
4305	if v.ConfigRuleName != nil {
4306		ok := object.Key("ConfigRuleName")
4307		ok.String(*v.ConfigRuleName)
4308	}
4309
4310	return nil
4311}
4312
4313func awsAwsjson11_serializeDocumentConfigRuleComplianceSummaryFilters(v *types.ConfigRuleComplianceSummaryFilters, value smithyjson.Value) error {
4314	object := value.Object()
4315	defer object.Close()
4316
4317	if v.AccountId != nil {
4318		ok := object.Key("AccountId")
4319		ok.String(*v.AccountId)
4320	}
4321
4322	if v.AwsRegion != nil {
4323		ok := object.Key("AwsRegion")
4324		ok.String(*v.AwsRegion)
4325	}
4326
4327	return nil
4328}
4329
4330func awsAwsjson11_serializeDocumentConfigRuleNames(v []string, value smithyjson.Value) error {
4331	array := value.Array()
4332	defer array.Close()
4333
4334	for i := range v {
4335		av := array.Value()
4336		av.String(v[i])
4337	}
4338	return nil
4339}
4340
4341func awsAwsjson11_serializeDocumentConfigSnapshotDeliveryProperties(v *types.ConfigSnapshotDeliveryProperties, value smithyjson.Value) error {
4342	object := value.Object()
4343	defer object.Close()
4344
4345	if len(v.DeliveryFrequency) > 0 {
4346		ok := object.Key("deliveryFrequency")
4347		ok.String(string(v.DeliveryFrequency))
4348	}
4349
4350	return nil
4351}
4352
4353func awsAwsjson11_serializeDocumentConfigurationAggregatorNameList(v []string, value smithyjson.Value) error {
4354	array := value.Array()
4355	defer array.Close()
4356
4357	for i := range v {
4358		av := array.Value()
4359		av.String(v[i])
4360	}
4361	return nil
4362}
4363
4364func awsAwsjson11_serializeDocumentConfigurationRecorder(v *types.ConfigurationRecorder, value smithyjson.Value) error {
4365	object := value.Object()
4366	defer object.Close()
4367
4368	if v.Name != nil {
4369		ok := object.Key("name")
4370		ok.String(*v.Name)
4371	}
4372
4373	if v.RecordingGroup != nil {
4374		ok := object.Key("recordingGroup")
4375		if err := awsAwsjson11_serializeDocumentRecordingGroup(v.RecordingGroup, ok); err != nil {
4376			return err
4377		}
4378	}
4379
4380	if v.RoleARN != nil {
4381		ok := object.Key("roleARN")
4382		ok.String(*v.RoleARN)
4383	}
4384
4385	return nil
4386}
4387
4388func awsAwsjson11_serializeDocumentConfigurationRecorderNameList(v []string, value smithyjson.Value) error {
4389	array := value.Array()
4390	defer array.Close()
4391
4392	for i := range v {
4393		av := array.Value()
4394		av.String(v[i])
4395	}
4396	return nil
4397}
4398
4399func awsAwsjson11_serializeDocumentConformancePackComplianceFilters(v *types.ConformancePackComplianceFilters, value smithyjson.Value) error {
4400	object := value.Object()
4401	defer object.Close()
4402
4403	if len(v.ComplianceType) > 0 {
4404		ok := object.Key("ComplianceType")
4405		ok.String(string(v.ComplianceType))
4406	}
4407
4408	if v.ConfigRuleNames != nil {
4409		ok := object.Key("ConfigRuleNames")
4410		if err := awsAwsjson11_serializeDocumentConformancePackConfigRuleNames(v.ConfigRuleNames, ok); err != nil {
4411			return err
4412		}
4413	}
4414
4415	return nil
4416}
4417
4418func awsAwsjson11_serializeDocumentConformancePackComplianceResourceIds(v []string, value smithyjson.Value) error {
4419	array := value.Array()
4420	defer array.Close()
4421
4422	for i := range v {
4423		av := array.Value()
4424		av.String(v[i])
4425	}
4426	return nil
4427}
4428
4429func awsAwsjson11_serializeDocumentConformancePackConfigRuleNames(v []string, value smithyjson.Value) error {
4430	array := value.Array()
4431	defer array.Close()
4432
4433	for i := range v {
4434		av := array.Value()
4435		av.String(v[i])
4436	}
4437	return nil
4438}
4439
4440func awsAwsjson11_serializeDocumentConformancePackEvaluationFilters(v *types.ConformancePackEvaluationFilters, value smithyjson.Value) error {
4441	object := value.Object()
4442	defer object.Close()
4443
4444	if len(v.ComplianceType) > 0 {
4445		ok := object.Key("ComplianceType")
4446		ok.String(string(v.ComplianceType))
4447	}
4448
4449	if v.ConfigRuleNames != nil {
4450		ok := object.Key("ConfigRuleNames")
4451		if err := awsAwsjson11_serializeDocumentConformancePackConfigRuleNames(v.ConfigRuleNames, ok); err != nil {
4452			return err
4453		}
4454	}
4455
4456	if v.ResourceIds != nil {
4457		ok := object.Key("ResourceIds")
4458		if err := awsAwsjson11_serializeDocumentConformancePackComplianceResourceIds(v.ResourceIds, ok); err != nil {
4459			return err
4460		}
4461	}
4462
4463	if v.ResourceType != nil {
4464		ok := object.Key("ResourceType")
4465		ok.String(*v.ResourceType)
4466	}
4467
4468	return nil
4469}
4470
4471func awsAwsjson11_serializeDocumentConformancePackInputParameter(v *types.ConformancePackInputParameter, value smithyjson.Value) error {
4472	object := value.Object()
4473	defer object.Close()
4474
4475	if v.ParameterName != nil {
4476		ok := object.Key("ParameterName")
4477		ok.String(*v.ParameterName)
4478	}
4479
4480	if v.ParameterValue != nil {
4481		ok := object.Key("ParameterValue")
4482		ok.String(*v.ParameterValue)
4483	}
4484
4485	return nil
4486}
4487
4488func awsAwsjson11_serializeDocumentConformancePackInputParameters(v []types.ConformancePackInputParameter, value smithyjson.Value) error {
4489	array := value.Array()
4490	defer array.Close()
4491
4492	for i := range v {
4493		av := array.Value()
4494		if err := awsAwsjson11_serializeDocumentConformancePackInputParameter(&v[i], av); err != nil {
4495			return err
4496		}
4497	}
4498	return nil
4499}
4500
4501func awsAwsjson11_serializeDocumentConformancePackNamesList(v []string, value smithyjson.Value) error {
4502	array := value.Array()
4503	defer array.Close()
4504
4505	for i := range v {
4506		av := array.Value()
4507		av.String(v[i])
4508	}
4509	return nil
4510}
4511
4512func awsAwsjson11_serializeDocumentConformancePackNamesToSummarizeList(v []string, value smithyjson.Value) error {
4513	array := value.Array()
4514	defer array.Close()
4515
4516	for i := range v {
4517		av := array.Value()
4518		av.String(v[i])
4519	}
4520	return nil
4521}
4522
4523func awsAwsjson11_serializeDocumentDeliveryChannel(v *types.DeliveryChannel, value smithyjson.Value) error {
4524	object := value.Object()
4525	defer object.Close()
4526
4527	if v.ConfigSnapshotDeliveryProperties != nil {
4528		ok := object.Key("configSnapshotDeliveryProperties")
4529		if err := awsAwsjson11_serializeDocumentConfigSnapshotDeliveryProperties(v.ConfigSnapshotDeliveryProperties, ok); err != nil {
4530			return err
4531		}
4532	}
4533
4534	if v.Name != nil {
4535		ok := object.Key("name")
4536		ok.String(*v.Name)
4537	}
4538
4539	if v.S3BucketName != nil {
4540		ok := object.Key("s3BucketName")
4541		ok.String(*v.S3BucketName)
4542	}
4543
4544	if v.S3KeyPrefix != nil {
4545		ok := object.Key("s3KeyPrefix")
4546		ok.String(*v.S3KeyPrefix)
4547	}
4548
4549	if v.S3KmsKeyArn != nil {
4550		ok := object.Key("s3KmsKeyArn")
4551		ok.String(*v.S3KmsKeyArn)
4552	}
4553
4554	if v.SnsTopicARN != nil {
4555		ok := object.Key("snsTopicARN")
4556		ok.String(*v.SnsTopicARN)
4557	}
4558
4559	return nil
4560}
4561
4562func awsAwsjson11_serializeDocumentDeliveryChannelNameList(v []string, value smithyjson.Value) error {
4563	array := value.Array()
4564	defer array.Close()
4565
4566	for i := range v {
4567		av := array.Value()
4568		av.String(v[i])
4569	}
4570	return nil
4571}
4572
4573func awsAwsjson11_serializeDocumentEvaluation(v *types.Evaluation, value smithyjson.Value) error {
4574	object := value.Object()
4575	defer object.Close()
4576
4577	if v.Annotation != nil {
4578		ok := object.Key("Annotation")
4579		ok.String(*v.Annotation)
4580	}
4581
4582	if v.ComplianceResourceId != nil {
4583		ok := object.Key("ComplianceResourceId")
4584		ok.String(*v.ComplianceResourceId)
4585	}
4586
4587	if v.ComplianceResourceType != nil {
4588		ok := object.Key("ComplianceResourceType")
4589		ok.String(*v.ComplianceResourceType)
4590	}
4591
4592	if len(v.ComplianceType) > 0 {
4593		ok := object.Key("ComplianceType")
4594		ok.String(string(v.ComplianceType))
4595	}
4596
4597	if v.OrderingTimestamp != nil {
4598		ok := object.Key("OrderingTimestamp")
4599		ok.Double(smithytime.FormatEpochSeconds(*v.OrderingTimestamp))
4600	}
4601
4602	return nil
4603}
4604
4605func awsAwsjson11_serializeDocumentEvaluations(v []types.Evaluation, value smithyjson.Value) error {
4606	array := value.Array()
4607	defer array.Close()
4608
4609	for i := range v {
4610		av := array.Value()
4611		if err := awsAwsjson11_serializeDocumentEvaluation(&v[i], av); err != nil {
4612			return err
4613		}
4614	}
4615	return nil
4616}
4617
4618func awsAwsjson11_serializeDocumentExcludedAccounts(v []string, value smithyjson.Value) error {
4619	array := value.Array()
4620	defer array.Close()
4621
4622	for i := range v {
4623		av := array.Value()
4624		av.String(v[i])
4625	}
4626	return nil
4627}
4628
4629func awsAwsjson11_serializeDocumentExecutionControls(v *types.ExecutionControls, value smithyjson.Value) error {
4630	object := value.Object()
4631	defer object.Close()
4632
4633	if v.SsmControls != nil {
4634		ok := object.Key("SsmControls")
4635		if err := awsAwsjson11_serializeDocumentSsmControls(v.SsmControls, ok); err != nil {
4636			return err
4637		}
4638	}
4639
4640	return nil
4641}
4642
4643func awsAwsjson11_serializeDocumentExternalEvaluation(v *types.ExternalEvaluation, value smithyjson.Value) error {
4644	object := value.Object()
4645	defer object.Close()
4646
4647	if v.Annotation != nil {
4648		ok := object.Key("Annotation")
4649		ok.String(*v.Annotation)
4650	}
4651
4652	if v.ComplianceResourceId != nil {
4653		ok := object.Key("ComplianceResourceId")
4654		ok.String(*v.ComplianceResourceId)
4655	}
4656
4657	if v.ComplianceResourceType != nil {
4658		ok := object.Key("ComplianceResourceType")
4659		ok.String(*v.ComplianceResourceType)
4660	}
4661
4662	if len(v.ComplianceType) > 0 {
4663		ok := object.Key("ComplianceType")
4664		ok.String(string(v.ComplianceType))
4665	}
4666
4667	if v.OrderingTimestamp != nil {
4668		ok := object.Key("OrderingTimestamp")
4669		ok.Double(smithytime.FormatEpochSeconds(*v.OrderingTimestamp))
4670	}
4671
4672	return nil
4673}
4674
4675func awsAwsjson11_serializeDocumentOrganizationAggregationSource(v *types.OrganizationAggregationSource, value smithyjson.Value) error {
4676	object := value.Object()
4677	defer object.Close()
4678
4679	if v.AllAwsRegions {
4680		ok := object.Key("AllAwsRegions")
4681		ok.Boolean(v.AllAwsRegions)
4682	}
4683
4684	if v.AwsRegions != nil {
4685		ok := object.Key("AwsRegions")
4686		if err := awsAwsjson11_serializeDocumentAggregatorRegionList(v.AwsRegions, ok); err != nil {
4687			return err
4688		}
4689	}
4690
4691	if v.RoleArn != nil {
4692		ok := object.Key("RoleArn")
4693		ok.String(*v.RoleArn)
4694	}
4695
4696	return nil
4697}
4698
4699func awsAwsjson11_serializeDocumentOrganizationConfigRuleNames(v []string, value smithyjson.Value) error {
4700	array := value.Array()
4701	defer array.Close()
4702
4703	for i := range v {
4704		av := array.Value()
4705		av.String(v[i])
4706	}
4707	return nil
4708}
4709
4710func awsAwsjson11_serializeDocumentOrganizationConfigRuleTriggerTypes(v []types.OrganizationConfigRuleTriggerType, value smithyjson.Value) error {
4711	array := value.Array()
4712	defer array.Close()
4713
4714	for i := range v {
4715		av := array.Value()
4716		av.String(string(v[i]))
4717	}
4718	return nil
4719}
4720
4721func awsAwsjson11_serializeDocumentOrganizationConformancePackNames(v []string, value smithyjson.Value) error {
4722	array := value.Array()
4723	defer array.Close()
4724
4725	for i := range v {
4726		av := array.Value()
4727		av.String(v[i])
4728	}
4729	return nil
4730}
4731
4732func awsAwsjson11_serializeDocumentOrganizationCustomRuleMetadata(v *types.OrganizationCustomRuleMetadata, value smithyjson.Value) error {
4733	object := value.Object()
4734	defer object.Close()
4735
4736	if v.Description != nil {
4737		ok := object.Key("Description")
4738		ok.String(*v.Description)
4739	}
4740
4741	if v.InputParameters != nil {
4742		ok := object.Key("InputParameters")
4743		ok.String(*v.InputParameters)
4744	}
4745
4746	if v.LambdaFunctionArn != nil {
4747		ok := object.Key("LambdaFunctionArn")
4748		ok.String(*v.LambdaFunctionArn)
4749	}
4750
4751	if len(v.MaximumExecutionFrequency) > 0 {
4752		ok := object.Key("MaximumExecutionFrequency")
4753		ok.String(string(v.MaximumExecutionFrequency))
4754	}
4755
4756	if v.OrganizationConfigRuleTriggerTypes != nil {
4757		ok := object.Key("OrganizationConfigRuleTriggerTypes")
4758		if err := awsAwsjson11_serializeDocumentOrganizationConfigRuleTriggerTypes(v.OrganizationConfigRuleTriggerTypes, ok); err != nil {
4759			return err
4760		}
4761	}
4762
4763	if v.ResourceIdScope != nil {
4764		ok := object.Key("ResourceIdScope")
4765		ok.String(*v.ResourceIdScope)
4766	}
4767
4768	if v.ResourceTypesScope != nil {
4769		ok := object.Key("ResourceTypesScope")
4770		if err := awsAwsjson11_serializeDocumentResourceTypesScope(v.ResourceTypesScope, ok); err != nil {
4771			return err
4772		}
4773	}
4774
4775	if v.TagKeyScope != nil {
4776		ok := object.Key("TagKeyScope")
4777		ok.String(*v.TagKeyScope)
4778	}
4779
4780	if v.TagValueScope != nil {
4781		ok := object.Key("TagValueScope")
4782		ok.String(*v.TagValueScope)
4783	}
4784
4785	return nil
4786}
4787
4788func awsAwsjson11_serializeDocumentOrganizationManagedRuleMetadata(v *types.OrganizationManagedRuleMetadata, value smithyjson.Value) error {
4789	object := value.Object()
4790	defer object.Close()
4791
4792	if v.Description != nil {
4793		ok := object.Key("Description")
4794		ok.String(*v.Description)
4795	}
4796
4797	if v.InputParameters != nil {
4798		ok := object.Key("InputParameters")
4799		ok.String(*v.InputParameters)
4800	}
4801
4802	if len(v.MaximumExecutionFrequency) > 0 {
4803		ok := object.Key("MaximumExecutionFrequency")
4804		ok.String(string(v.MaximumExecutionFrequency))
4805	}
4806
4807	if v.ResourceIdScope != nil {
4808		ok := object.Key("ResourceIdScope")
4809		ok.String(*v.ResourceIdScope)
4810	}
4811
4812	if v.ResourceTypesScope != nil {
4813		ok := object.Key("ResourceTypesScope")
4814		if err := awsAwsjson11_serializeDocumentResourceTypesScope(v.ResourceTypesScope, ok); err != nil {
4815			return err
4816		}
4817	}
4818
4819	if v.RuleIdentifier != nil {
4820		ok := object.Key("RuleIdentifier")
4821		ok.String(*v.RuleIdentifier)
4822	}
4823
4824	if v.TagKeyScope != nil {
4825		ok := object.Key("TagKeyScope")
4826		ok.String(*v.TagKeyScope)
4827	}
4828
4829	if v.TagValueScope != nil {
4830		ok := object.Key("TagValueScope")
4831		ok.String(*v.TagValueScope)
4832	}
4833
4834	return nil
4835}
4836
4837func awsAwsjson11_serializeDocumentOrganizationResourceDetailedStatusFilters(v *types.OrganizationResourceDetailedStatusFilters, value smithyjson.Value) error {
4838	object := value.Object()
4839	defer object.Close()
4840
4841	if v.AccountId != nil {
4842		ok := object.Key("AccountId")
4843		ok.String(*v.AccountId)
4844	}
4845
4846	if len(v.Status) > 0 {
4847		ok := object.Key("Status")
4848		ok.String(string(v.Status))
4849	}
4850
4851	return nil
4852}
4853
4854func awsAwsjson11_serializeDocumentRecordingGroup(v *types.RecordingGroup, value smithyjson.Value) error {
4855	object := value.Object()
4856	defer object.Close()
4857
4858	if v.AllSupported {
4859		ok := object.Key("allSupported")
4860		ok.Boolean(v.AllSupported)
4861	}
4862
4863	if v.IncludeGlobalResourceTypes {
4864		ok := object.Key("includeGlobalResourceTypes")
4865		ok.Boolean(v.IncludeGlobalResourceTypes)
4866	}
4867
4868	if v.ResourceTypes != nil {
4869		ok := object.Key("resourceTypes")
4870		if err := awsAwsjson11_serializeDocumentResourceTypeList(v.ResourceTypes, ok); err != nil {
4871			return err
4872		}
4873	}
4874
4875	return nil
4876}
4877
4878func awsAwsjson11_serializeDocumentReevaluateConfigRuleNames(v []string, value smithyjson.Value) error {
4879	array := value.Array()
4880	defer array.Close()
4881
4882	for i := range v {
4883		av := array.Value()
4884		av.String(v[i])
4885	}
4886	return nil
4887}
4888
4889func awsAwsjson11_serializeDocumentRemediationConfiguration(v *types.RemediationConfiguration, value smithyjson.Value) error {
4890	object := value.Object()
4891	defer object.Close()
4892
4893	if v.Arn != nil {
4894		ok := object.Key("Arn")
4895		ok.String(*v.Arn)
4896	}
4897
4898	if v.Automatic {
4899		ok := object.Key("Automatic")
4900		ok.Boolean(v.Automatic)
4901	}
4902
4903	if v.ConfigRuleName != nil {
4904		ok := object.Key("ConfigRuleName")
4905		ok.String(*v.ConfigRuleName)
4906	}
4907
4908	if v.CreatedByService != nil {
4909		ok := object.Key("CreatedByService")
4910		ok.String(*v.CreatedByService)
4911	}
4912
4913	if v.ExecutionControls != nil {
4914		ok := object.Key("ExecutionControls")
4915		if err := awsAwsjson11_serializeDocumentExecutionControls(v.ExecutionControls, ok); err != nil {
4916			return err
4917		}
4918	}
4919
4920	if v.MaximumAutomaticAttempts != nil {
4921		ok := object.Key("MaximumAutomaticAttempts")
4922		ok.Integer(*v.MaximumAutomaticAttempts)
4923	}
4924
4925	if v.Parameters != nil {
4926		ok := object.Key("Parameters")
4927		if err := awsAwsjson11_serializeDocumentRemediationParameters(v.Parameters, ok); err != nil {
4928			return err
4929		}
4930	}
4931
4932	if v.ResourceType != nil {
4933		ok := object.Key("ResourceType")
4934		ok.String(*v.ResourceType)
4935	}
4936
4937	if v.RetryAttemptSeconds != nil {
4938		ok := object.Key("RetryAttemptSeconds")
4939		ok.Long(*v.RetryAttemptSeconds)
4940	}
4941
4942	if v.TargetId != nil {
4943		ok := object.Key("TargetId")
4944		ok.String(*v.TargetId)
4945	}
4946
4947	if len(v.TargetType) > 0 {
4948		ok := object.Key("TargetType")
4949		ok.String(string(v.TargetType))
4950	}
4951
4952	if v.TargetVersion != nil {
4953		ok := object.Key("TargetVersion")
4954		ok.String(*v.TargetVersion)
4955	}
4956
4957	return nil
4958}
4959
4960func awsAwsjson11_serializeDocumentRemediationConfigurations(v []types.RemediationConfiguration, value smithyjson.Value) error {
4961	array := value.Array()
4962	defer array.Close()
4963
4964	for i := range v {
4965		av := array.Value()
4966		if err := awsAwsjson11_serializeDocumentRemediationConfiguration(&v[i], av); err != nil {
4967			return err
4968		}
4969	}
4970	return nil
4971}
4972
4973func awsAwsjson11_serializeDocumentRemediationExceptionResourceKey(v *types.RemediationExceptionResourceKey, value smithyjson.Value) error {
4974	object := value.Object()
4975	defer object.Close()
4976
4977	if v.ResourceId != nil {
4978		ok := object.Key("ResourceId")
4979		ok.String(*v.ResourceId)
4980	}
4981
4982	if v.ResourceType != nil {
4983		ok := object.Key("ResourceType")
4984		ok.String(*v.ResourceType)
4985	}
4986
4987	return nil
4988}
4989
4990func awsAwsjson11_serializeDocumentRemediationExceptionResourceKeys(v []types.RemediationExceptionResourceKey, value smithyjson.Value) error {
4991	array := value.Array()
4992	defer array.Close()
4993
4994	for i := range v {
4995		av := array.Value()
4996		if err := awsAwsjson11_serializeDocumentRemediationExceptionResourceKey(&v[i], av); err != nil {
4997			return err
4998		}
4999	}
5000	return nil
5001}
5002
5003func awsAwsjson11_serializeDocumentRemediationParameters(v map[string]types.RemediationParameterValue, value smithyjson.Value) error {
5004	object := value.Object()
5005	defer object.Close()
5006
5007	for key := range v {
5008		om := object.Key(key)
5009		mapVar := v[key]
5010		if err := awsAwsjson11_serializeDocumentRemediationParameterValue(&mapVar, om); err != nil {
5011			return err
5012		}
5013	}
5014	return nil
5015}
5016
5017func awsAwsjson11_serializeDocumentRemediationParameterValue(v *types.RemediationParameterValue, value smithyjson.Value) error {
5018	object := value.Object()
5019	defer object.Close()
5020
5021	if v.ResourceValue != nil {
5022		ok := object.Key("ResourceValue")
5023		if err := awsAwsjson11_serializeDocumentResourceValue(v.ResourceValue, ok); err != nil {
5024			return err
5025		}
5026	}
5027
5028	if v.StaticValue != nil {
5029		ok := object.Key("StaticValue")
5030		if err := awsAwsjson11_serializeDocumentStaticValue(v.StaticValue, ok); err != nil {
5031			return err
5032		}
5033	}
5034
5035	return nil
5036}
5037
5038func awsAwsjson11_serializeDocumentResourceCountFilters(v *types.ResourceCountFilters, value smithyjson.Value) error {
5039	object := value.Object()
5040	defer object.Close()
5041
5042	if v.AccountId != nil {
5043		ok := object.Key("AccountId")
5044		ok.String(*v.AccountId)
5045	}
5046
5047	if v.Region != nil {
5048		ok := object.Key("Region")
5049		ok.String(*v.Region)
5050	}
5051
5052	if len(v.ResourceType) > 0 {
5053		ok := object.Key("ResourceType")
5054		ok.String(string(v.ResourceType))
5055	}
5056
5057	return nil
5058}
5059
5060func awsAwsjson11_serializeDocumentResourceFilters(v *types.ResourceFilters, value smithyjson.Value) error {
5061	object := value.Object()
5062	defer object.Close()
5063
5064	if v.AccountId != nil {
5065		ok := object.Key("AccountId")
5066		ok.String(*v.AccountId)
5067	}
5068
5069	if v.Region != nil {
5070		ok := object.Key("Region")
5071		ok.String(*v.Region)
5072	}
5073
5074	if v.ResourceId != nil {
5075		ok := object.Key("ResourceId")
5076		ok.String(*v.ResourceId)
5077	}
5078
5079	if v.ResourceName != nil {
5080		ok := object.Key("ResourceName")
5081		ok.String(*v.ResourceName)
5082	}
5083
5084	return nil
5085}
5086
5087func awsAwsjson11_serializeDocumentResourceIdentifiersList(v []types.AggregateResourceIdentifier, value smithyjson.Value) error {
5088	array := value.Array()
5089	defer array.Close()
5090
5091	for i := range v {
5092		av := array.Value()
5093		if err := awsAwsjson11_serializeDocumentAggregateResourceIdentifier(&v[i], av); err != nil {
5094			return err
5095		}
5096	}
5097	return nil
5098}
5099
5100func awsAwsjson11_serializeDocumentResourceIdList(v []string, value smithyjson.Value) error {
5101	array := value.Array()
5102	defer array.Close()
5103
5104	for i := range v {
5105		av := array.Value()
5106		av.String(v[i])
5107	}
5108	return nil
5109}
5110
5111func awsAwsjson11_serializeDocumentResourceKey(v *types.ResourceKey, value smithyjson.Value) error {
5112	object := value.Object()
5113	defer object.Close()
5114
5115	if v.ResourceId != nil {
5116		ok := object.Key("resourceId")
5117		ok.String(*v.ResourceId)
5118	}
5119
5120	if len(v.ResourceType) > 0 {
5121		ok := object.Key("resourceType")
5122		ok.String(string(v.ResourceType))
5123	}
5124
5125	return nil
5126}
5127
5128func awsAwsjson11_serializeDocumentResourceKeys(v []types.ResourceKey, value smithyjson.Value) error {
5129	array := value.Array()
5130	defer array.Close()
5131
5132	for i := range v {
5133		av := array.Value()
5134		if err := awsAwsjson11_serializeDocumentResourceKey(&v[i], av); err != nil {
5135			return err
5136		}
5137	}
5138	return nil
5139}
5140
5141func awsAwsjson11_serializeDocumentResourceTypeList(v []types.ResourceType, value smithyjson.Value) error {
5142	array := value.Array()
5143	defer array.Close()
5144
5145	for i := range v {
5146		av := array.Value()
5147		av.String(string(v[i]))
5148	}
5149	return nil
5150}
5151
5152func awsAwsjson11_serializeDocumentResourceTypes(v []string, value smithyjson.Value) error {
5153	array := value.Array()
5154	defer array.Close()
5155
5156	for i := range v {
5157		av := array.Value()
5158		av.String(v[i])
5159	}
5160	return nil
5161}
5162
5163func awsAwsjson11_serializeDocumentResourceTypesScope(v []string, value smithyjson.Value) error {
5164	array := value.Array()
5165	defer array.Close()
5166
5167	for i := range v {
5168		av := array.Value()
5169		av.String(v[i])
5170	}
5171	return nil
5172}
5173
5174func awsAwsjson11_serializeDocumentResourceValue(v *types.ResourceValue, value smithyjson.Value) error {
5175	object := value.Object()
5176	defer object.Close()
5177
5178	if len(v.Value) > 0 {
5179		ok := object.Key("Value")
5180		ok.String(string(v.Value))
5181	}
5182
5183	return nil
5184}
5185
5186func awsAwsjson11_serializeDocumentRetentionConfigurationNameList(v []string, value smithyjson.Value) error {
5187	array := value.Array()
5188	defer array.Close()
5189
5190	for i := range v {
5191		av := array.Value()
5192		av.String(v[i])
5193	}
5194	return nil
5195}
5196
5197func awsAwsjson11_serializeDocumentScope(v *types.Scope, value smithyjson.Value) error {
5198	object := value.Object()
5199	defer object.Close()
5200
5201	if v.ComplianceResourceId != nil {
5202		ok := object.Key("ComplianceResourceId")
5203		ok.String(*v.ComplianceResourceId)
5204	}
5205
5206	if v.ComplianceResourceTypes != nil {
5207		ok := object.Key("ComplianceResourceTypes")
5208		if err := awsAwsjson11_serializeDocumentComplianceResourceTypes(v.ComplianceResourceTypes, ok); err != nil {
5209			return err
5210		}
5211	}
5212
5213	if v.TagKey != nil {
5214		ok := object.Key("TagKey")
5215		ok.String(*v.TagKey)
5216	}
5217
5218	if v.TagValue != nil {
5219		ok := object.Key("TagValue")
5220		ok.String(*v.TagValue)
5221	}
5222
5223	return nil
5224}
5225
5226func awsAwsjson11_serializeDocumentSource(v *types.Source, value smithyjson.Value) error {
5227	object := value.Object()
5228	defer object.Close()
5229
5230	if len(v.Owner) > 0 {
5231		ok := object.Key("Owner")
5232		ok.String(string(v.Owner))
5233	}
5234
5235	if v.SourceDetails != nil {
5236		ok := object.Key("SourceDetails")
5237		if err := awsAwsjson11_serializeDocumentSourceDetails(v.SourceDetails, ok); err != nil {
5238			return err
5239		}
5240	}
5241
5242	if v.SourceIdentifier != nil {
5243		ok := object.Key("SourceIdentifier")
5244		ok.String(*v.SourceIdentifier)
5245	}
5246
5247	return nil
5248}
5249
5250func awsAwsjson11_serializeDocumentSourceDetail(v *types.SourceDetail, value smithyjson.Value) error {
5251	object := value.Object()
5252	defer object.Close()
5253
5254	if len(v.EventSource) > 0 {
5255		ok := object.Key("EventSource")
5256		ok.String(string(v.EventSource))
5257	}
5258
5259	if len(v.MaximumExecutionFrequency) > 0 {
5260		ok := object.Key("MaximumExecutionFrequency")
5261		ok.String(string(v.MaximumExecutionFrequency))
5262	}
5263
5264	if len(v.MessageType) > 0 {
5265		ok := object.Key("MessageType")
5266		ok.String(string(v.MessageType))
5267	}
5268
5269	return nil
5270}
5271
5272func awsAwsjson11_serializeDocumentSourceDetails(v []types.SourceDetail, value smithyjson.Value) error {
5273	array := value.Array()
5274	defer array.Close()
5275
5276	for i := range v {
5277		av := array.Value()
5278		if err := awsAwsjson11_serializeDocumentSourceDetail(&v[i], av); err != nil {
5279			return err
5280		}
5281	}
5282	return nil
5283}
5284
5285func awsAwsjson11_serializeDocumentSsmControls(v *types.SsmControls, value smithyjson.Value) error {
5286	object := value.Object()
5287	defer object.Close()
5288
5289	if v.ConcurrentExecutionRatePercentage != nil {
5290		ok := object.Key("ConcurrentExecutionRatePercentage")
5291		ok.Integer(*v.ConcurrentExecutionRatePercentage)
5292	}
5293
5294	if v.ErrorPercentage != nil {
5295		ok := object.Key("ErrorPercentage")
5296		ok.Integer(*v.ErrorPercentage)
5297	}
5298
5299	return nil
5300}
5301
5302func awsAwsjson11_serializeDocumentStaticParameterValues(v []string, value smithyjson.Value) error {
5303	array := value.Array()
5304	defer array.Close()
5305
5306	for i := range v {
5307		av := array.Value()
5308		av.String(v[i])
5309	}
5310	return nil
5311}
5312
5313func awsAwsjson11_serializeDocumentStaticValue(v *types.StaticValue, value smithyjson.Value) error {
5314	object := value.Object()
5315	defer object.Close()
5316
5317	if v.Values != nil {
5318		ok := object.Key("Values")
5319		if err := awsAwsjson11_serializeDocumentStaticParameterValues(v.Values, ok); err != nil {
5320			return err
5321		}
5322	}
5323
5324	return nil
5325}
5326
5327func awsAwsjson11_serializeDocumentStatusDetailFilters(v *types.StatusDetailFilters, value smithyjson.Value) error {
5328	object := value.Object()
5329	defer object.Close()
5330
5331	if v.AccountId != nil {
5332		ok := object.Key("AccountId")
5333		ok.String(*v.AccountId)
5334	}
5335
5336	if len(v.MemberAccountRuleStatus) > 0 {
5337		ok := object.Key("MemberAccountRuleStatus")
5338		ok.String(string(v.MemberAccountRuleStatus))
5339	}
5340
5341	return nil
5342}
5343
5344func awsAwsjson11_serializeDocumentStoredQuery(v *types.StoredQuery, value smithyjson.Value) error {
5345	object := value.Object()
5346	defer object.Close()
5347
5348	if v.Description != nil {
5349		ok := object.Key("Description")
5350		ok.String(*v.Description)
5351	}
5352
5353	if v.Expression != nil {
5354		ok := object.Key("Expression")
5355		ok.String(*v.Expression)
5356	}
5357
5358	if v.QueryArn != nil {
5359		ok := object.Key("QueryArn")
5360		ok.String(*v.QueryArn)
5361	}
5362
5363	if v.QueryId != nil {
5364		ok := object.Key("QueryId")
5365		ok.String(*v.QueryId)
5366	}
5367
5368	if v.QueryName != nil {
5369		ok := object.Key("QueryName")
5370		ok.String(*v.QueryName)
5371	}
5372
5373	return nil
5374}
5375
5376func awsAwsjson11_serializeDocumentTag(v *types.Tag, value smithyjson.Value) error {
5377	object := value.Object()
5378	defer object.Close()
5379
5380	if v.Key != nil {
5381		ok := object.Key("Key")
5382		ok.String(*v.Key)
5383	}
5384
5385	if v.Value != nil {
5386		ok := object.Key("Value")
5387		ok.String(*v.Value)
5388	}
5389
5390	return nil
5391}
5392
5393func awsAwsjson11_serializeDocumentTagKeyList(v []string, value smithyjson.Value) error {
5394	array := value.Array()
5395	defer array.Close()
5396
5397	for i := range v {
5398		av := array.Value()
5399		av.String(v[i])
5400	}
5401	return nil
5402}
5403
5404func awsAwsjson11_serializeDocumentTagList(v []types.Tag, value smithyjson.Value) error {
5405	array := value.Array()
5406	defer array.Close()
5407
5408	for i := range v {
5409		av := array.Value()
5410		if err := awsAwsjson11_serializeDocumentTag(&v[i], av); err != nil {
5411			return err
5412		}
5413	}
5414	return nil
5415}
5416
5417func awsAwsjson11_serializeDocumentTags(v map[string]string, value smithyjson.Value) error {
5418	object := value.Object()
5419	defer object.Close()
5420
5421	for key := range v {
5422		om := object.Key(key)
5423		om.String(v[key])
5424	}
5425	return nil
5426}
5427
5428func awsAwsjson11_serializeDocumentTagsList(v []types.Tag, value smithyjson.Value) error {
5429	array := value.Array()
5430	defer array.Close()
5431
5432	for i := range v {
5433		av := array.Value()
5434		if err := awsAwsjson11_serializeDocumentTag(&v[i], av); err != nil {
5435			return err
5436		}
5437	}
5438	return nil
5439}
5440
5441func awsAwsjson11_serializeOpDocumentBatchGetAggregateResourceConfigInput(v *BatchGetAggregateResourceConfigInput, value smithyjson.Value) error {
5442	object := value.Object()
5443	defer object.Close()
5444
5445	if v.ConfigurationAggregatorName != nil {
5446		ok := object.Key("ConfigurationAggregatorName")
5447		ok.String(*v.ConfigurationAggregatorName)
5448	}
5449
5450	if v.ResourceIdentifiers != nil {
5451		ok := object.Key("ResourceIdentifiers")
5452		if err := awsAwsjson11_serializeDocumentResourceIdentifiersList(v.ResourceIdentifiers, ok); err != nil {
5453			return err
5454		}
5455	}
5456
5457	return nil
5458}
5459
5460func awsAwsjson11_serializeOpDocumentBatchGetResourceConfigInput(v *BatchGetResourceConfigInput, value smithyjson.Value) error {
5461	object := value.Object()
5462	defer object.Close()
5463
5464	if v.ResourceKeys != nil {
5465		ok := object.Key("resourceKeys")
5466		if err := awsAwsjson11_serializeDocumentResourceKeys(v.ResourceKeys, ok); err != nil {
5467			return err
5468		}
5469	}
5470
5471	return nil
5472}
5473
5474func awsAwsjson11_serializeOpDocumentDeleteAggregationAuthorizationInput(v *DeleteAggregationAuthorizationInput, value smithyjson.Value) error {
5475	object := value.Object()
5476	defer object.Close()
5477
5478	if v.AuthorizedAccountId != nil {
5479		ok := object.Key("AuthorizedAccountId")
5480		ok.String(*v.AuthorizedAccountId)
5481	}
5482
5483	if v.AuthorizedAwsRegion != nil {
5484		ok := object.Key("AuthorizedAwsRegion")
5485		ok.String(*v.AuthorizedAwsRegion)
5486	}
5487
5488	return nil
5489}
5490
5491func awsAwsjson11_serializeOpDocumentDeleteConfigRuleInput(v *DeleteConfigRuleInput, value smithyjson.Value) error {
5492	object := value.Object()
5493	defer object.Close()
5494
5495	if v.ConfigRuleName != nil {
5496		ok := object.Key("ConfigRuleName")
5497		ok.String(*v.ConfigRuleName)
5498	}
5499
5500	return nil
5501}
5502
5503func awsAwsjson11_serializeOpDocumentDeleteConfigurationAggregatorInput(v *DeleteConfigurationAggregatorInput, value smithyjson.Value) error {
5504	object := value.Object()
5505	defer object.Close()
5506
5507	if v.ConfigurationAggregatorName != nil {
5508		ok := object.Key("ConfigurationAggregatorName")
5509		ok.String(*v.ConfigurationAggregatorName)
5510	}
5511
5512	return nil
5513}
5514
5515func awsAwsjson11_serializeOpDocumentDeleteConfigurationRecorderInput(v *DeleteConfigurationRecorderInput, value smithyjson.Value) error {
5516	object := value.Object()
5517	defer object.Close()
5518
5519	if v.ConfigurationRecorderName != nil {
5520		ok := object.Key("ConfigurationRecorderName")
5521		ok.String(*v.ConfigurationRecorderName)
5522	}
5523
5524	return nil
5525}
5526
5527func awsAwsjson11_serializeOpDocumentDeleteConformancePackInput(v *DeleteConformancePackInput, value smithyjson.Value) error {
5528	object := value.Object()
5529	defer object.Close()
5530
5531	if v.ConformancePackName != nil {
5532		ok := object.Key("ConformancePackName")
5533		ok.String(*v.ConformancePackName)
5534	}
5535
5536	return nil
5537}
5538
5539func awsAwsjson11_serializeOpDocumentDeleteDeliveryChannelInput(v *DeleteDeliveryChannelInput, value smithyjson.Value) error {
5540	object := value.Object()
5541	defer object.Close()
5542
5543	if v.DeliveryChannelName != nil {
5544		ok := object.Key("DeliveryChannelName")
5545		ok.String(*v.DeliveryChannelName)
5546	}
5547
5548	return nil
5549}
5550
5551func awsAwsjson11_serializeOpDocumentDeleteEvaluationResultsInput(v *DeleteEvaluationResultsInput, value smithyjson.Value) error {
5552	object := value.Object()
5553	defer object.Close()
5554
5555	if v.ConfigRuleName != nil {
5556		ok := object.Key("ConfigRuleName")
5557		ok.String(*v.ConfigRuleName)
5558	}
5559
5560	return nil
5561}
5562
5563func awsAwsjson11_serializeOpDocumentDeleteOrganizationConfigRuleInput(v *DeleteOrganizationConfigRuleInput, value smithyjson.Value) error {
5564	object := value.Object()
5565	defer object.Close()
5566
5567	if v.OrganizationConfigRuleName != nil {
5568		ok := object.Key("OrganizationConfigRuleName")
5569		ok.String(*v.OrganizationConfigRuleName)
5570	}
5571
5572	return nil
5573}
5574
5575func awsAwsjson11_serializeOpDocumentDeleteOrganizationConformancePackInput(v *DeleteOrganizationConformancePackInput, value smithyjson.Value) error {
5576	object := value.Object()
5577	defer object.Close()
5578
5579	if v.OrganizationConformancePackName != nil {
5580		ok := object.Key("OrganizationConformancePackName")
5581		ok.String(*v.OrganizationConformancePackName)
5582	}
5583
5584	return nil
5585}
5586
5587func awsAwsjson11_serializeOpDocumentDeletePendingAggregationRequestInput(v *DeletePendingAggregationRequestInput, value smithyjson.Value) error {
5588	object := value.Object()
5589	defer object.Close()
5590
5591	if v.RequesterAccountId != nil {
5592		ok := object.Key("RequesterAccountId")
5593		ok.String(*v.RequesterAccountId)
5594	}
5595
5596	if v.RequesterAwsRegion != nil {
5597		ok := object.Key("RequesterAwsRegion")
5598		ok.String(*v.RequesterAwsRegion)
5599	}
5600
5601	return nil
5602}
5603
5604func awsAwsjson11_serializeOpDocumentDeleteRemediationConfigurationInput(v *DeleteRemediationConfigurationInput, value smithyjson.Value) error {
5605	object := value.Object()
5606	defer object.Close()
5607
5608	if v.ConfigRuleName != nil {
5609		ok := object.Key("ConfigRuleName")
5610		ok.String(*v.ConfigRuleName)
5611	}
5612
5613	if v.ResourceType != nil {
5614		ok := object.Key("ResourceType")
5615		ok.String(*v.ResourceType)
5616	}
5617
5618	return nil
5619}
5620
5621func awsAwsjson11_serializeOpDocumentDeleteRemediationExceptionsInput(v *DeleteRemediationExceptionsInput, value smithyjson.Value) error {
5622	object := value.Object()
5623	defer object.Close()
5624
5625	if v.ConfigRuleName != nil {
5626		ok := object.Key("ConfigRuleName")
5627		ok.String(*v.ConfigRuleName)
5628	}
5629
5630	if v.ResourceKeys != nil {
5631		ok := object.Key("ResourceKeys")
5632		if err := awsAwsjson11_serializeDocumentRemediationExceptionResourceKeys(v.ResourceKeys, ok); err != nil {
5633			return err
5634		}
5635	}
5636
5637	return nil
5638}
5639
5640func awsAwsjson11_serializeOpDocumentDeleteResourceConfigInput(v *DeleteResourceConfigInput, value smithyjson.Value) error {
5641	object := value.Object()
5642	defer object.Close()
5643
5644	if v.ResourceId != nil {
5645		ok := object.Key("ResourceId")
5646		ok.String(*v.ResourceId)
5647	}
5648
5649	if v.ResourceType != nil {
5650		ok := object.Key("ResourceType")
5651		ok.String(*v.ResourceType)
5652	}
5653
5654	return nil
5655}
5656
5657func awsAwsjson11_serializeOpDocumentDeleteRetentionConfigurationInput(v *DeleteRetentionConfigurationInput, value smithyjson.Value) error {
5658	object := value.Object()
5659	defer object.Close()
5660
5661	if v.RetentionConfigurationName != nil {
5662		ok := object.Key("RetentionConfigurationName")
5663		ok.String(*v.RetentionConfigurationName)
5664	}
5665
5666	return nil
5667}
5668
5669func awsAwsjson11_serializeOpDocumentDeleteStoredQueryInput(v *DeleteStoredQueryInput, value smithyjson.Value) error {
5670	object := value.Object()
5671	defer object.Close()
5672
5673	if v.QueryName != nil {
5674		ok := object.Key("QueryName")
5675		ok.String(*v.QueryName)
5676	}
5677
5678	return nil
5679}
5680
5681func awsAwsjson11_serializeOpDocumentDeliverConfigSnapshotInput(v *DeliverConfigSnapshotInput, value smithyjson.Value) error {
5682	object := value.Object()
5683	defer object.Close()
5684
5685	if v.DeliveryChannelName != nil {
5686		ok := object.Key("deliveryChannelName")
5687		ok.String(*v.DeliveryChannelName)
5688	}
5689
5690	return nil
5691}
5692
5693func awsAwsjson11_serializeOpDocumentDescribeAggregateComplianceByConfigRulesInput(v *DescribeAggregateComplianceByConfigRulesInput, value smithyjson.Value) error {
5694	object := value.Object()
5695	defer object.Close()
5696
5697	if v.ConfigurationAggregatorName != nil {
5698		ok := object.Key("ConfigurationAggregatorName")
5699		ok.String(*v.ConfigurationAggregatorName)
5700	}
5701
5702	if v.Filters != nil {
5703		ok := object.Key("Filters")
5704		if err := awsAwsjson11_serializeDocumentConfigRuleComplianceFilters(v.Filters, ok); err != nil {
5705			return err
5706		}
5707	}
5708
5709	if v.Limit != 0 {
5710		ok := object.Key("Limit")
5711		ok.Integer(v.Limit)
5712	}
5713
5714	if v.NextToken != nil {
5715		ok := object.Key("NextToken")
5716		ok.String(*v.NextToken)
5717	}
5718
5719	return nil
5720}
5721
5722func awsAwsjson11_serializeOpDocumentDescribeAggregateComplianceByConformancePacksInput(v *DescribeAggregateComplianceByConformancePacksInput, value smithyjson.Value) error {
5723	object := value.Object()
5724	defer object.Close()
5725
5726	if v.ConfigurationAggregatorName != nil {
5727		ok := object.Key("ConfigurationAggregatorName")
5728		ok.String(*v.ConfigurationAggregatorName)
5729	}
5730
5731	if v.Filters != nil {
5732		ok := object.Key("Filters")
5733		if err := awsAwsjson11_serializeDocumentAggregateConformancePackComplianceFilters(v.Filters, ok); err != nil {
5734			return err
5735		}
5736	}
5737
5738	if v.Limit != 0 {
5739		ok := object.Key("Limit")
5740		ok.Integer(v.Limit)
5741	}
5742
5743	if v.NextToken != nil {
5744		ok := object.Key("NextToken")
5745		ok.String(*v.NextToken)
5746	}
5747
5748	return nil
5749}
5750
5751func awsAwsjson11_serializeOpDocumentDescribeAggregationAuthorizationsInput(v *DescribeAggregationAuthorizationsInput, value smithyjson.Value) error {
5752	object := value.Object()
5753	defer object.Close()
5754
5755	if v.Limit != 0 {
5756		ok := object.Key("Limit")
5757		ok.Integer(v.Limit)
5758	}
5759
5760	if v.NextToken != nil {
5761		ok := object.Key("NextToken")
5762		ok.String(*v.NextToken)
5763	}
5764
5765	return nil
5766}
5767
5768func awsAwsjson11_serializeOpDocumentDescribeComplianceByConfigRuleInput(v *DescribeComplianceByConfigRuleInput, value smithyjson.Value) error {
5769	object := value.Object()
5770	defer object.Close()
5771
5772	if v.ComplianceTypes != nil {
5773		ok := object.Key("ComplianceTypes")
5774		if err := awsAwsjson11_serializeDocumentComplianceTypes(v.ComplianceTypes, ok); err != nil {
5775			return err
5776		}
5777	}
5778
5779	if v.ConfigRuleNames != nil {
5780		ok := object.Key("ConfigRuleNames")
5781		if err := awsAwsjson11_serializeDocumentConfigRuleNames(v.ConfigRuleNames, ok); err != nil {
5782			return err
5783		}
5784	}
5785
5786	if v.NextToken != nil {
5787		ok := object.Key("NextToken")
5788		ok.String(*v.NextToken)
5789	}
5790
5791	return nil
5792}
5793
5794func awsAwsjson11_serializeOpDocumentDescribeComplianceByResourceInput(v *DescribeComplianceByResourceInput, value smithyjson.Value) error {
5795	object := value.Object()
5796	defer object.Close()
5797
5798	if v.ComplianceTypes != nil {
5799		ok := object.Key("ComplianceTypes")
5800		if err := awsAwsjson11_serializeDocumentComplianceTypes(v.ComplianceTypes, ok); err != nil {
5801			return err
5802		}
5803	}
5804
5805	if v.Limit != 0 {
5806		ok := object.Key("Limit")
5807		ok.Integer(v.Limit)
5808	}
5809
5810	if v.NextToken != nil {
5811		ok := object.Key("NextToken")
5812		ok.String(*v.NextToken)
5813	}
5814
5815	if v.ResourceId != nil {
5816		ok := object.Key("ResourceId")
5817		ok.String(*v.ResourceId)
5818	}
5819
5820	if v.ResourceType != nil {
5821		ok := object.Key("ResourceType")
5822		ok.String(*v.ResourceType)
5823	}
5824
5825	return nil
5826}
5827
5828func awsAwsjson11_serializeOpDocumentDescribeConfigRuleEvaluationStatusInput(v *DescribeConfigRuleEvaluationStatusInput, value smithyjson.Value) error {
5829	object := value.Object()
5830	defer object.Close()
5831
5832	if v.ConfigRuleNames != nil {
5833		ok := object.Key("ConfigRuleNames")
5834		if err := awsAwsjson11_serializeDocumentConfigRuleNames(v.ConfigRuleNames, ok); err != nil {
5835			return err
5836		}
5837	}
5838
5839	if v.Limit != 0 {
5840		ok := object.Key("Limit")
5841		ok.Integer(v.Limit)
5842	}
5843
5844	if v.NextToken != nil {
5845		ok := object.Key("NextToken")
5846		ok.String(*v.NextToken)
5847	}
5848
5849	return nil
5850}
5851
5852func awsAwsjson11_serializeOpDocumentDescribeConfigRulesInput(v *DescribeConfigRulesInput, value smithyjson.Value) error {
5853	object := value.Object()
5854	defer object.Close()
5855
5856	if v.ConfigRuleNames != nil {
5857		ok := object.Key("ConfigRuleNames")
5858		if err := awsAwsjson11_serializeDocumentConfigRuleNames(v.ConfigRuleNames, ok); err != nil {
5859			return err
5860		}
5861	}
5862
5863	if v.NextToken != nil {
5864		ok := object.Key("NextToken")
5865		ok.String(*v.NextToken)
5866	}
5867
5868	return nil
5869}
5870
5871func awsAwsjson11_serializeOpDocumentDescribeConfigurationAggregatorsInput(v *DescribeConfigurationAggregatorsInput, value smithyjson.Value) error {
5872	object := value.Object()
5873	defer object.Close()
5874
5875	if v.ConfigurationAggregatorNames != nil {
5876		ok := object.Key("ConfigurationAggregatorNames")
5877		if err := awsAwsjson11_serializeDocumentConfigurationAggregatorNameList(v.ConfigurationAggregatorNames, ok); err != nil {
5878			return err
5879		}
5880	}
5881
5882	if v.Limit != 0 {
5883		ok := object.Key("Limit")
5884		ok.Integer(v.Limit)
5885	}
5886
5887	if v.NextToken != nil {
5888		ok := object.Key("NextToken")
5889		ok.String(*v.NextToken)
5890	}
5891
5892	return nil
5893}
5894
5895func awsAwsjson11_serializeOpDocumentDescribeConfigurationAggregatorSourcesStatusInput(v *DescribeConfigurationAggregatorSourcesStatusInput, value smithyjson.Value) error {
5896	object := value.Object()
5897	defer object.Close()
5898
5899	if v.ConfigurationAggregatorName != nil {
5900		ok := object.Key("ConfigurationAggregatorName")
5901		ok.String(*v.ConfigurationAggregatorName)
5902	}
5903
5904	if v.Limit != 0 {
5905		ok := object.Key("Limit")
5906		ok.Integer(v.Limit)
5907	}
5908
5909	if v.NextToken != nil {
5910		ok := object.Key("NextToken")
5911		ok.String(*v.NextToken)
5912	}
5913
5914	if v.UpdateStatus != nil {
5915		ok := object.Key("UpdateStatus")
5916		if err := awsAwsjson11_serializeDocumentAggregatedSourceStatusTypeList(v.UpdateStatus, ok); err != nil {
5917			return err
5918		}
5919	}
5920
5921	return nil
5922}
5923
5924func awsAwsjson11_serializeOpDocumentDescribeConfigurationRecordersInput(v *DescribeConfigurationRecordersInput, value smithyjson.Value) error {
5925	object := value.Object()
5926	defer object.Close()
5927
5928	if v.ConfigurationRecorderNames != nil {
5929		ok := object.Key("ConfigurationRecorderNames")
5930		if err := awsAwsjson11_serializeDocumentConfigurationRecorderNameList(v.ConfigurationRecorderNames, ok); err != nil {
5931			return err
5932		}
5933	}
5934
5935	return nil
5936}
5937
5938func awsAwsjson11_serializeOpDocumentDescribeConfigurationRecorderStatusInput(v *DescribeConfigurationRecorderStatusInput, value smithyjson.Value) error {
5939	object := value.Object()
5940	defer object.Close()
5941
5942	if v.ConfigurationRecorderNames != nil {
5943		ok := object.Key("ConfigurationRecorderNames")
5944		if err := awsAwsjson11_serializeDocumentConfigurationRecorderNameList(v.ConfigurationRecorderNames, ok); err != nil {
5945			return err
5946		}
5947	}
5948
5949	return nil
5950}
5951
5952func awsAwsjson11_serializeOpDocumentDescribeConformancePackComplianceInput(v *DescribeConformancePackComplianceInput, value smithyjson.Value) error {
5953	object := value.Object()
5954	defer object.Close()
5955
5956	if v.ConformancePackName != nil {
5957		ok := object.Key("ConformancePackName")
5958		ok.String(*v.ConformancePackName)
5959	}
5960
5961	if v.Filters != nil {
5962		ok := object.Key("Filters")
5963		if err := awsAwsjson11_serializeDocumentConformancePackComplianceFilters(v.Filters, ok); err != nil {
5964			return err
5965		}
5966	}
5967
5968	if v.Limit != 0 {
5969		ok := object.Key("Limit")
5970		ok.Integer(v.Limit)
5971	}
5972
5973	if v.NextToken != nil {
5974		ok := object.Key("NextToken")
5975		ok.String(*v.NextToken)
5976	}
5977
5978	return nil
5979}
5980
5981func awsAwsjson11_serializeOpDocumentDescribeConformancePacksInput(v *DescribeConformancePacksInput, value smithyjson.Value) error {
5982	object := value.Object()
5983	defer object.Close()
5984
5985	if v.ConformancePackNames != nil {
5986		ok := object.Key("ConformancePackNames")
5987		if err := awsAwsjson11_serializeDocumentConformancePackNamesList(v.ConformancePackNames, ok); err != nil {
5988			return err
5989		}
5990	}
5991
5992	if v.Limit != 0 {
5993		ok := object.Key("Limit")
5994		ok.Integer(v.Limit)
5995	}
5996
5997	if v.NextToken != nil {
5998		ok := object.Key("NextToken")
5999		ok.String(*v.NextToken)
6000	}
6001
6002	return nil
6003}
6004
6005func awsAwsjson11_serializeOpDocumentDescribeConformancePackStatusInput(v *DescribeConformancePackStatusInput, value smithyjson.Value) error {
6006	object := value.Object()
6007	defer object.Close()
6008
6009	if v.ConformancePackNames != nil {
6010		ok := object.Key("ConformancePackNames")
6011		if err := awsAwsjson11_serializeDocumentConformancePackNamesList(v.ConformancePackNames, ok); err != nil {
6012			return err
6013		}
6014	}
6015
6016	if v.Limit != 0 {
6017		ok := object.Key("Limit")
6018		ok.Integer(v.Limit)
6019	}
6020
6021	if v.NextToken != nil {
6022		ok := object.Key("NextToken")
6023		ok.String(*v.NextToken)
6024	}
6025
6026	return nil
6027}
6028
6029func awsAwsjson11_serializeOpDocumentDescribeDeliveryChannelsInput(v *DescribeDeliveryChannelsInput, value smithyjson.Value) error {
6030	object := value.Object()
6031	defer object.Close()
6032
6033	if v.DeliveryChannelNames != nil {
6034		ok := object.Key("DeliveryChannelNames")
6035		if err := awsAwsjson11_serializeDocumentDeliveryChannelNameList(v.DeliveryChannelNames, ok); err != nil {
6036			return err
6037		}
6038	}
6039
6040	return nil
6041}
6042
6043func awsAwsjson11_serializeOpDocumentDescribeDeliveryChannelStatusInput(v *DescribeDeliveryChannelStatusInput, value smithyjson.Value) error {
6044	object := value.Object()
6045	defer object.Close()
6046
6047	if v.DeliveryChannelNames != nil {
6048		ok := object.Key("DeliveryChannelNames")
6049		if err := awsAwsjson11_serializeDocumentDeliveryChannelNameList(v.DeliveryChannelNames, ok); err != nil {
6050			return err
6051		}
6052	}
6053
6054	return nil
6055}
6056
6057func awsAwsjson11_serializeOpDocumentDescribeOrganizationConfigRulesInput(v *DescribeOrganizationConfigRulesInput, value smithyjson.Value) error {
6058	object := value.Object()
6059	defer object.Close()
6060
6061	if v.Limit != 0 {
6062		ok := object.Key("Limit")
6063		ok.Integer(v.Limit)
6064	}
6065
6066	if v.NextToken != nil {
6067		ok := object.Key("NextToken")
6068		ok.String(*v.NextToken)
6069	}
6070
6071	if v.OrganizationConfigRuleNames != nil {
6072		ok := object.Key("OrganizationConfigRuleNames")
6073		if err := awsAwsjson11_serializeDocumentOrganizationConfigRuleNames(v.OrganizationConfigRuleNames, ok); err != nil {
6074			return err
6075		}
6076	}
6077
6078	return nil
6079}
6080
6081func awsAwsjson11_serializeOpDocumentDescribeOrganizationConfigRuleStatusesInput(v *DescribeOrganizationConfigRuleStatusesInput, value smithyjson.Value) error {
6082	object := value.Object()
6083	defer object.Close()
6084
6085	if v.Limit != 0 {
6086		ok := object.Key("Limit")
6087		ok.Integer(v.Limit)
6088	}
6089
6090	if v.NextToken != nil {
6091		ok := object.Key("NextToken")
6092		ok.String(*v.NextToken)
6093	}
6094
6095	if v.OrganizationConfigRuleNames != nil {
6096		ok := object.Key("OrganizationConfigRuleNames")
6097		if err := awsAwsjson11_serializeDocumentOrganizationConfigRuleNames(v.OrganizationConfigRuleNames, ok); err != nil {
6098			return err
6099		}
6100	}
6101
6102	return nil
6103}
6104
6105func awsAwsjson11_serializeOpDocumentDescribeOrganizationConformancePacksInput(v *DescribeOrganizationConformancePacksInput, value smithyjson.Value) error {
6106	object := value.Object()
6107	defer object.Close()
6108
6109	if v.Limit != 0 {
6110		ok := object.Key("Limit")
6111		ok.Integer(v.Limit)
6112	}
6113
6114	if v.NextToken != nil {
6115		ok := object.Key("NextToken")
6116		ok.String(*v.NextToken)
6117	}
6118
6119	if v.OrganizationConformancePackNames != nil {
6120		ok := object.Key("OrganizationConformancePackNames")
6121		if err := awsAwsjson11_serializeDocumentOrganizationConformancePackNames(v.OrganizationConformancePackNames, ok); err != nil {
6122			return err
6123		}
6124	}
6125
6126	return nil
6127}
6128
6129func awsAwsjson11_serializeOpDocumentDescribeOrganizationConformancePackStatusesInput(v *DescribeOrganizationConformancePackStatusesInput, value smithyjson.Value) error {
6130	object := value.Object()
6131	defer object.Close()
6132
6133	if v.Limit != 0 {
6134		ok := object.Key("Limit")
6135		ok.Integer(v.Limit)
6136	}
6137
6138	if v.NextToken != nil {
6139		ok := object.Key("NextToken")
6140		ok.String(*v.NextToken)
6141	}
6142
6143	if v.OrganizationConformancePackNames != nil {
6144		ok := object.Key("OrganizationConformancePackNames")
6145		if err := awsAwsjson11_serializeDocumentOrganizationConformancePackNames(v.OrganizationConformancePackNames, ok); err != nil {
6146			return err
6147		}
6148	}
6149
6150	return nil
6151}
6152
6153func awsAwsjson11_serializeOpDocumentDescribePendingAggregationRequestsInput(v *DescribePendingAggregationRequestsInput, value smithyjson.Value) error {
6154	object := value.Object()
6155	defer object.Close()
6156
6157	if v.Limit != 0 {
6158		ok := object.Key("Limit")
6159		ok.Integer(v.Limit)
6160	}
6161
6162	if v.NextToken != nil {
6163		ok := object.Key("NextToken")
6164		ok.String(*v.NextToken)
6165	}
6166
6167	return nil
6168}
6169
6170func awsAwsjson11_serializeOpDocumentDescribeRemediationConfigurationsInput(v *DescribeRemediationConfigurationsInput, value smithyjson.Value) error {
6171	object := value.Object()
6172	defer object.Close()
6173
6174	if v.ConfigRuleNames != nil {
6175		ok := object.Key("ConfigRuleNames")
6176		if err := awsAwsjson11_serializeDocumentConfigRuleNames(v.ConfigRuleNames, ok); err != nil {
6177			return err
6178		}
6179	}
6180
6181	return nil
6182}
6183
6184func awsAwsjson11_serializeOpDocumentDescribeRemediationExceptionsInput(v *DescribeRemediationExceptionsInput, value smithyjson.Value) error {
6185	object := value.Object()
6186	defer object.Close()
6187
6188	if v.ConfigRuleName != nil {
6189		ok := object.Key("ConfigRuleName")
6190		ok.String(*v.ConfigRuleName)
6191	}
6192
6193	if v.Limit != 0 {
6194		ok := object.Key("Limit")
6195		ok.Integer(v.Limit)
6196	}
6197
6198	if v.NextToken != nil {
6199		ok := object.Key("NextToken")
6200		ok.String(*v.NextToken)
6201	}
6202
6203	if v.ResourceKeys != nil {
6204		ok := object.Key("ResourceKeys")
6205		if err := awsAwsjson11_serializeDocumentRemediationExceptionResourceKeys(v.ResourceKeys, ok); err != nil {
6206			return err
6207		}
6208	}
6209
6210	return nil
6211}
6212
6213func awsAwsjson11_serializeOpDocumentDescribeRemediationExecutionStatusInput(v *DescribeRemediationExecutionStatusInput, value smithyjson.Value) error {
6214	object := value.Object()
6215	defer object.Close()
6216
6217	if v.ConfigRuleName != nil {
6218		ok := object.Key("ConfigRuleName")
6219		ok.String(*v.ConfigRuleName)
6220	}
6221
6222	if v.Limit != 0 {
6223		ok := object.Key("Limit")
6224		ok.Integer(v.Limit)
6225	}
6226
6227	if v.NextToken != nil {
6228		ok := object.Key("NextToken")
6229		ok.String(*v.NextToken)
6230	}
6231
6232	if v.ResourceKeys != nil {
6233		ok := object.Key("ResourceKeys")
6234		if err := awsAwsjson11_serializeDocumentResourceKeys(v.ResourceKeys, ok); err != nil {
6235			return err
6236		}
6237	}
6238
6239	return nil
6240}
6241
6242func awsAwsjson11_serializeOpDocumentDescribeRetentionConfigurationsInput(v *DescribeRetentionConfigurationsInput, value smithyjson.Value) error {
6243	object := value.Object()
6244	defer object.Close()
6245
6246	if v.NextToken != nil {
6247		ok := object.Key("NextToken")
6248		ok.String(*v.NextToken)
6249	}
6250
6251	if v.RetentionConfigurationNames != nil {
6252		ok := object.Key("RetentionConfigurationNames")
6253		if err := awsAwsjson11_serializeDocumentRetentionConfigurationNameList(v.RetentionConfigurationNames, ok); err != nil {
6254			return err
6255		}
6256	}
6257
6258	return nil
6259}
6260
6261func awsAwsjson11_serializeOpDocumentGetAggregateComplianceDetailsByConfigRuleInput(v *GetAggregateComplianceDetailsByConfigRuleInput, value smithyjson.Value) error {
6262	object := value.Object()
6263	defer object.Close()
6264
6265	if v.AccountId != nil {
6266		ok := object.Key("AccountId")
6267		ok.String(*v.AccountId)
6268	}
6269
6270	if v.AwsRegion != nil {
6271		ok := object.Key("AwsRegion")
6272		ok.String(*v.AwsRegion)
6273	}
6274
6275	if len(v.ComplianceType) > 0 {
6276		ok := object.Key("ComplianceType")
6277		ok.String(string(v.ComplianceType))
6278	}
6279
6280	if v.ConfigRuleName != nil {
6281		ok := object.Key("ConfigRuleName")
6282		ok.String(*v.ConfigRuleName)
6283	}
6284
6285	if v.ConfigurationAggregatorName != nil {
6286		ok := object.Key("ConfigurationAggregatorName")
6287		ok.String(*v.ConfigurationAggregatorName)
6288	}
6289
6290	if v.Limit != 0 {
6291		ok := object.Key("Limit")
6292		ok.Integer(v.Limit)
6293	}
6294
6295	if v.NextToken != nil {
6296		ok := object.Key("NextToken")
6297		ok.String(*v.NextToken)
6298	}
6299
6300	return nil
6301}
6302
6303func awsAwsjson11_serializeOpDocumentGetAggregateConfigRuleComplianceSummaryInput(v *GetAggregateConfigRuleComplianceSummaryInput, value smithyjson.Value) error {
6304	object := value.Object()
6305	defer object.Close()
6306
6307	if v.ConfigurationAggregatorName != nil {
6308		ok := object.Key("ConfigurationAggregatorName")
6309		ok.String(*v.ConfigurationAggregatorName)
6310	}
6311
6312	if v.Filters != nil {
6313		ok := object.Key("Filters")
6314		if err := awsAwsjson11_serializeDocumentConfigRuleComplianceSummaryFilters(v.Filters, ok); err != nil {
6315			return err
6316		}
6317	}
6318
6319	if len(v.GroupByKey) > 0 {
6320		ok := object.Key("GroupByKey")
6321		ok.String(string(v.GroupByKey))
6322	}
6323
6324	if v.Limit != 0 {
6325		ok := object.Key("Limit")
6326		ok.Integer(v.Limit)
6327	}
6328
6329	if v.NextToken != nil {
6330		ok := object.Key("NextToken")
6331		ok.String(*v.NextToken)
6332	}
6333
6334	return nil
6335}
6336
6337func awsAwsjson11_serializeOpDocumentGetAggregateConformancePackComplianceSummaryInput(v *GetAggregateConformancePackComplianceSummaryInput, value smithyjson.Value) error {
6338	object := value.Object()
6339	defer object.Close()
6340
6341	if v.ConfigurationAggregatorName != nil {
6342		ok := object.Key("ConfigurationAggregatorName")
6343		ok.String(*v.ConfigurationAggregatorName)
6344	}
6345
6346	if v.Filters != nil {
6347		ok := object.Key("Filters")
6348		if err := awsAwsjson11_serializeDocumentAggregateConformancePackComplianceSummaryFilters(v.Filters, ok); err != nil {
6349			return err
6350		}
6351	}
6352
6353	if len(v.GroupByKey) > 0 {
6354		ok := object.Key("GroupByKey")
6355		ok.String(string(v.GroupByKey))
6356	}
6357
6358	if v.Limit != 0 {
6359		ok := object.Key("Limit")
6360		ok.Integer(v.Limit)
6361	}
6362
6363	if v.NextToken != nil {
6364		ok := object.Key("NextToken")
6365		ok.String(*v.NextToken)
6366	}
6367
6368	return nil
6369}
6370
6371func awsAwsjson11_serializeOpDocumentGetAggregateDiscoveredResourceCountsInput(v *GetAggregateDiscoveredResourceCountsInput, value smithyjson.Value) error {
6372	object := value.Object()
6373	defer object.Close()
6374
6375	if v.ConfigurationAggregatorName != nil {
6376		ok := object.Key("ConfigurationAggregatorName")
6377		ok.String(*v.ConfigurationAggregatorName)
6378	}
6379
6380	if v.Filters != nil {
6381		ok := object.Key("Filters")
6382		if err := awsAwsjson11_serializeDocumentResourceCountFilters(v.Filters, ok); err != nil {
6383			return err
6384		}
6385	}
6386
6387	if len(v.GroupByKey) > 0 {
6388		ok := object.Key("GroupByKey")
6389		ok.String(string(v.GroupByKey))
6390	}
6391
6392	if v.Limit != 0 {
6393		ok := object.Key("Limit")
6394		ok.Integer(v.Limit)
6395	}
6396
6397	if v.NextToken != nil {
6398		ok := object.Key("NextToken")
6399		ok.String(*v.NextToken)
6400	}
6401
6402	return nil
6403}
6404
6405func awsAwsjson11_serializeOpDocumentGetAggregateResourceConfigInput(v *GetAggregateResourceConfigInput, value smithyjson.Value) error {
6406	object := value.Object()
6407	defer object.Close()
6408
6409	if v.ConfigurationAggregatorName != nil {
6410		ok := object.Key("ConfigurationAggregatorName")
6411		ok.String(*v.ConfigurationAggregatorName)
6412	}
6413
6414	if v.ResourceIdentifier != nil {
6415		ok := object.Key("ResourceIdentifier")
6416		if err := awsAwsjson11_serializeDocumentAggregateResourceIdentifier(v.ResourceIdentifier, ok); err != nil {
6417			return err
6418		}
6419	}
6420
6421	return nil
6422}
6423
6424func awsAwsjson11_serializeOpDocumentGetComplianceDetailsByConfigRuleInput(v *GetComplianceDetailsByConfigRuleInput, value smithyjson.Value) error {
6425	object := value.Object()
6426	defer object.Close()
6427
6428	if v.ComplianceTypes != nil {
6429		ok := object.Key("ComplianceTypes")
6430		if err := awsAwsjson11_serializeDocumentComplianceTypes(v.ComplianceTypes, ok); err != nil {
6431			return err
6432		}
6433	}
6434
6435	if v.ConfigRuleName != nil {
6436		ok := object.Key("ConfigRuleName")
6437		ok.String(*v.ConfigRuleName)
6438	}
6439
6440	if v.Limit != 0 {
6441		ok := object.Key("Limit")
6442		ok.Integer(v.Limit)
6443	}
6444
6445	if v.NextToken != nil {
6446		ok := object.Key("NextToken")
6447		ok.String(*v.NextToken)
6448	}
6449
6450	return nil
6451}
6452
6453func awsAwsjson11_serializeOpDocumentGetComplianceDetailsByResourceInput(v *GetComplianceDetailsByResourceInput, value smithyjson.Value) error {
6454	object := value.Object()
6455	defer object.Close()
6456
6457	if v.ComplianceTypes != nil {
6458		ok := object.Key("ComplianceTypes")
6459		if err := awsAwsjson11_serializeDocumentComplianceTypes(v.ComplianceTypes, ok); err != nil {
6460			return err
6461		}
6462	}
6463
6464	if v.NextToken != nil {
6465		ok := object.Key("NextToken")
6466		ok.String(*v.NextToken)
6467	}
6468
6469	if v.ResourceId != nil {
6470		ok := object.Key("ResourceId")
6471		ok.String(*v.ResourceId)
6472	}
6473
6474	if v.ResourceType != nil {
6475		ok := object.Key("ResourceType")
6476		ok.String(*v.ResourceType)
6477	}
6478
6479	return nil
6480}
6481
6482func awsAwsjson11_serializeOpDocumentGetComplianceSummaryByResourceTypeInput(v *GetComplianceSummaryByResourceTypeInput, value smithyjson.Value) error {
6483	object := value.Object()
6484	defer object.Close()
6485
6486	if v.ResourceTypes != nil {
6487		ok := object.Key("ResourceTypes")
6488		if err := awsAwsjson11_serializeDocumentResourceTypes(v.ResourceTypes, ok); err != nil {
6489			return err
6490		}
6491	}
6492
6493	return nil
6494}
6495
6496func awsAwsjson11_serializeOpDocumentGetConformancePackComplianceDetailsInput(v *GetConformancePackComplianceDetailsInput, value smithyjson.Value) error {
6497	object := value.Object()
6498	defer object.Close()
6499
6500	if v.ConformancePackName != nil {
6501		ok := object.Key("ConformancePackName")
6502		ok.String(*v.ConformancePackName)
6503	}
6504
6505	if v.Filters != nil {
6506		ok := object.Key("Filters")
6507		if err := awsAwsjson11_serializeDocumentConformancePackEvaluationFilters(v.Filters, ok); err != nil {
6508			return err
6509		}
6510	}
6511
6512	if v.Limit != 0 {
6513		ok := object.Key("Limit")
6514		ok.Integer(v.Limit)
6515	}
6516
6517	if v.NextToken != nil {
6518		ok := object.Key("NextToken")
6519		ok.String(*v.NextToken)
6520	}
6521
6522	return nil
6523}
6524
6525func awsAwsjson11_serializeOpDocumentGetConformancePackComplianceSummaryInput(v *GetConformancePackComplianceSummaryInput, value smithyjson.Value) error {
6526	object := value.Object()
6527	defer object.Close()
6528
6529	if v.ConformancePackNames != nil {
6530		ok := object.Key("ConformancePackNames")
6531		if err := awsAwsjson11_serializeDocumentConformancePackNamesToSummarizeList(v.ConformancePackNames, ok); err != nil {
6532			return err
6533		}
6534	}
6535
6536	if v.Limit != 0 {
6537		ok := object.Key("Limit")
6538		ok.Integer(v.Limit)
6539	}
6540
6541	if v.NextToken != nil {
6542		ok := object.Key("NextToken")
6543		ok.String(*v.NextToken)
6544	}
6545
6546	return nil
6547}
6548
6549func awsAwsjson11_serializeOpDocumentGetDiscoveredResourceCountsInput(v *GetDiscoveredResourceCountsInput, value smithyjson.Value) error {
6550	object := value.Object()
6551	defer object.Close()
6552
6553	if v.Limit != 0 {
6554		ok := object.Key("limit")
6555		ok.Integer(v.Limit)
6556	}
6557
6558	if v.NextToken != nil {
6559		ok := object.Key("nextToken")
6560		ok.String(*v.NextToken)
6561	}
6562
6563	if v.ResourceTypes != nil {
6564		ok := object.Key("resourceTypes")
6565		if err := awsAwsjson11_serializeDocumentResourceTypes(v.ResourceTypes, ok); err != nil {
6566			return err
6567		}
6568	}
6569
6570	return nil
6571}
6572
6573func awsAwsjson11_serializeOpDocumentGetOrganizationConfigRuleDetailedStatusInput(v *GetOrganizationConfigRuleDetailedStatusInput, value smithyjson.Value) error {
6574	object := value.Object()
6575	defer object.Close()
6576
6577	if v.Filters != nil {
6578		ok := object.Key("Filters")
6579		if err := awsAwsjson11_serializeDocumentStatusDetailFilters(v.Filters, ok); err != nil {
6580			return err
6581		}
6582	}
6583
6584	if v.Limit != 0 {
6585		ok := object.Key("Limit")
6586		ok.Integer(v.Limit)
6587	}
6588
6589	if v.NextToken != nil {
6590		ok := object.Key("NextToken")
6591		ok.String(*v.NextToken)
6592	}
6593
6594	if v.OrganizationConfigRuleName != nil {
6595		ok := object.Key("OrganizationConfigRuleName")
6596		ok.String(*v.OrganizationConfigRuleName)
6597	}
6598
6599	return nil
6600}
6601
6602func awsAwsjson11_serializeOpDocumentGetOrganizationConformancePackDetailedStatusInput(v *GetOrganizationConformancePackDetailedStatusInput, value smithyjson.Value) error {
6603	object := value.Object()
6604	defer object.Close()
6605
6606	if v.Filters != nil {
6607		ok := object.Key("Filters")
6608		if err := awsAwsjson11_serializeDocumentOrganizationResourceDetailedStatusFilters(v.Filters, ok); err != nil {
6609			return err
6610		}
6611	}
6612
6613	if v.Limit != 0 {
6614		ok := object.Key("Limit")
6615		ok.Integer(v.Limit)
6616	}
6617
6618	if v.NextToken != nil {
6619		ok := object.Key("NextToken")
6620		ok.String(*v.NextToken)
6621	}
6622
6623	if v.OrganizationConformancePackName != nil {
6624		ok := object.Key("OrganizationConformancePackName")
6625		ok.String(*v.OrganizationConformancePackName)
6626	}
6627
6628	return nil
6629}
6630
6631func awsAwsjson11_serializeOpDocumentGetResourceConfigHistoryInput(v *GetResourceConfigHistoryInput, value smithyjson.Value) error {
6632	object := value.Object()
6633	defer object.Close()
6634
6635	if len(v.ChronologicalOrder) > 0 {
6636		ok := object.Key("chronologicalOrder")
6637		ok.String(string(v.ChronologicalOrder))
6638	}
6639
6640	if v.EarlierTime != nil {
6641		ok := object.Key("earlierTime")
6642		ok.Double(smithytime.FormatEpochSeconds(*v.EarlierTime))
6643	}
6644
6645	if v.LaterTime != nil {
6646		ok := object.Key("laterTime")
6647		ok.Double(smithytime.FormatEpochSeconds(*v.LaterTime))
6648	}
6649
6650	if v.Limit != 0 {
6651		ok := object.Key("limit")
6652		ok.Integer(v.Limit)
6653	}
6654
6655	if v.NextToken != nil {
6656		ok := object.Key("nextToken")
6657		ok.String(*v.NextToken)
6658	}
6659
6660	if v.ResourceId != nil {
6661		ok := object.Key("resourceId")
6662		ok.String(*v.ResourceId)
6663	}
6664
6665	if len(v.ResourceType) > 0 {
6666		ok := object.Key("resourceType")
6667		ok.String(string(v.ResourceType))
6668	}
6669
6670	return nil
6671}
6672
6673func awsAwsjson11_serializeOpDocumentGetStoredQueryInput(v *GetStoredQueryInput, value smithyjson.Value) error {
6674	object := value.Object()
6675	defer object.Close()
6676
6677	if v.QueryName != nil {
6678		ok := object.Key("QueryName")
6679		ok.String(*v.QueryName)
6680	}
6681
6682	return nil
6683}
6684
6685func awsAwsjson11_serializeOpDocumentListAggregateDiscoveredResourcesInput(v *ListAggregateDiscoveredResourcesInput, value smithyjson.Value) error {
6686	object := value.Object()
6687	defer object.Close()
6688
6689	if v.ConfigurationAggregatorName != nil {
6690		ok := object.Key("ConfigurationAggregatorName")
6691		ok.String(*v.ConfigurationAggregatorName)
6692	}
6693
6694	if v.Filters != nil {
6695		ok := object.Key("Filters")
6696		if err := awsAwsjson11_serializeDocumentResourceFilters(v.Filters, ok); err != nil {
6697			return err
6698		}
6699	}
6700
6701	if v.Limit != 0 {
6702		ok := object.Key("Limit")
6703		ok.Integer(v.Limit)
6704	}
6705
6706	if v.NextToken != nil {
6707		ok := object.Key("NextToken")
6708		ok.String(*v.NextToken)
6709	}
6710
6711	if len(v.ResourceType) > 0 {
6712		ok := object.Key("ResourceType")
6713		ok.String(string(v.ResourceType))
6714	}
6715
6716	return nil
6717}
6718
6719func awsAwsjson11_serializeOpDocumentListDiscoveredResourcesInput(v *ListDiscoveredResourcesInput, value smithyjson.Value) error {
6720	object := value.Object()
6721	defer object.Close()
6722
6723	if v.IncludeDeletedResources {
6724		ok := object.Key("includeDeletedResources")
6725		ok.Boolean(v.IncludeDeletedResources)
6726	}
6727
6728	if v.Limit != 0 {
6729		ok := object.Key("limit")
6730		ok.Integer(v.Limit)
6731	}
6732
6733	if v.NextToken != nil {
6734		ok := object.Key("nextToken")
6735		ok.String(*v.NextToken)
6736	}
6737
6738	if v.ResourceIds != nil {
6739		ok := object.Key("resourceIds")
6740		if err := awsAwsjson11_serializeDocumentResourceIdList(v.ResourceIds, ok); err != nil {
6741			return err
6742		}
6743	}
6744
6745	if v.ResourceName != nil {
6746		ok := object.Key("resourceName")
6747		ok.String(*v.ResourceName)
6748	}
6749
6750	if len(v.ResourceType) > 0 {
6751		ok := object.Key("resourceType")
6752		ok.String(string(v.ResourceType))
6753	}
6754
6755	return nil
6756}
6757
6758func awsAwsjson11_serializeOpDocumentListStoredQueriesInput(v *ListStoredQueriesInput, value smithyjson.Value) error {
6759	object := value.Object()
6760	defer object.Close()
6761
6762	if v.MaxResults != 0 {
6763		ok := object.Key("MaxResults")
6764		ok.Integer(v.MaxResults)
6765	}
6766
6767	if v.NextToken != nil {
6768		ok := object.Key("NextToken")
6769		ok.String(*v.NextToken)
6770	}
6771
6772	return nil
6773}
6774
6775func awsAwsjson11_serializeOpDocumentListTagsForResourceInput(v *ListTagsForResourceInput, value smithyjson.Value) error {
6776	object := value.Object()
6777	defer object.Close()
6778
6779	if v.Limit != 0 {
6780		ok := object.Key("Limit")
6781		ok.Integer(v.Limit)
6782	}
6783
6784	if v.NextToken != nil {
6785		ok := object.Key("NextToken")
6786		ok.String(*v.NextToken)
6787	}
6788
6789	if v.ResourceArn != nil {
6790		ok := object.Key("ResourceArn")
6791		ok.String(*v.ResourceArn)
6792	}
6793
6794	return nil
6795}
6796
6797func awsAwsjson11_serializeOpDocumentPutAggregationAuthorizationInput(v *PutAggregationAuthorizationInput, value smithyjson.Value) error {
6798	object := value.Object()
6799	defer object.Close()
6800
6801	if v.AuthorizedAccountId != nil {
6802		ok := object.Key("AuthorizedAccountId")
6803		ok.String(*v.AuthorizedAccountId)
6804	}
6805
6806	if v.AuthorizedAwsRegion != nil {
6807		ok := object.Key("AuthorizedAwsRegion")
6808		ok.String(*v.AuthorizedAwsRegion)
6809	}
6810
6811	if v.Tags != nil {
6812		ok := object.Key("Tags")
6813		if err := awsAwsjson11_serializeDocumentTagsList(v.Tags, ok); err != nil {
6814			return err
6815		}
6816	}
6817
6818	return nil
6819}
6820
6821func awsAwsjson11_serializeOpDocumentPutConfigRuleInput(v *PutConfigRuleInput, value smithyjson.Value) error {
6822	object := value.Object()
6823	defer object.Close()
6824
6825	if v.ConfigRule != nil {
6826		ok := object.Key("ConfigRule")
6827		if err := awsAwsjson11_serializeDocumentConfigRule(v.ConfigRule, ok); err != nil {
6828			return err
6829		}
6830	}
6831
6832	if v.Tags != nil {
6833		ok := object.Key("Tags")
6834		if err := awsAwsjson11_serializeDocumentTagsList(v.Tags, ok); err != nil {
6835			return err
6836		}
6837	}
6838
6839	return nil
6840}
6841
6842func awsAwsjson11_serializeOpDocumentPutConfigurationAggregatorInput(v *PutConfigurationAggregatorInput, value smithyjson.Value) error {
6843	object := value.Object()
6844	defer object.Close()
6845
6846	if v.AccountAggregationSources != nil {
6847		ok := object.Key("AccountAggregationSources")
6848		if err := awsAwsjson11_serializeDocumentAccountAggregationSourceList(v.AccountAggregationSources, ok); err != nil {
6849			return err
6850		}
6851	}
6852
6853	if v.ConfigurationAggregatorName != nil {
6854		ok := object.Key("ConfigurationAggregatorName")
6855		ok.String(*v.ConfigurationAggregatorName)
6856	}
6857
6858	if v.OrganizationAggregationSource != nil {
6859		ok := object.Key("OrganizationAggregationSource")
6860		if err := awsAwsjson11_serializeDocumentOrganizationAggregationSource(v.OrganizationAggregationSource, ok); err != nil {
6861			return err
6862		}
6863	}
6864
6865	if v.Tags != nil {
6866		ok := object.Key("Tags")
6867		if err := awsAwsjson11_serializeDocumentTagsList(v.Tags, ok); err != nil {
6868			return err
6869		}
6870	}
6871
6872	return nil
6873}
6874
6875func awsAwsjson11_serializeOpDocumentPutConfigurationRecorderInput(v *PutConfigurationRecorderInput, value smithyjson.Value) error {
6876	object := value.Object()
6877	defer object.Close()
6878
6879	if v.ConfigurationRecorder != nil {
6880		ok := object.Key("ConfigurationRecorder")
6881		if err := awsAwsjson11_serializeDocumentConfigurationRecorder(v.ConfigurationRecorder, ok); err != nil {
6882			return err
6883		}
6884	}
6885
6886	return nil
6887}
6888
6889func awsAwsjson11_serializeOpDocumentPutConformancePackInput(v *PutConformancePackInput, value smithyjson.Value) error {
6890	object := value.Object()
6891	defer object.Close()
6892
6893	if v.ConformancePackInputParameters != nil {
6894		ok := object.Key("ConformancePackInputParameters")
6895		if err := awsAwsjson11_serializeDocumentConformancePackInputParameters(v.ConformancePackInputParameters, ok); err != nil {
6896			return err
6897		}
6898	}
6899
6900	if v.ConformancePackName != nil {
6901		ok := object.Key("ConformancePackName")
6902		ok.String(*v.ConformancePackName)
6903	}
6904
6905	if v.DeliveryS3Bucket != nil {
6906		ok := object.Key("DeliveryS3Bucket")
6907		ok.String(*v.DeliveryS3Bucket)
6908	}
6909
6910	if v.DeliveryS3KeyPrefix != nil {
6911		ok := object.Key("DeliveryS3KeyPrefix")
6912		ok.String(*v.DeliveryS3KeyPrefix)
6913	}
6914
6915	if v.TemplateBody != nil {
6916		ok := object.Key("TemplateBody")
6917		ok.String(*v.TemplateBody)
6918	}
6919
6920	if v.TemplateS3Uri != nil {
6921		ok := object.Key("TemplateS3Uri")
6922		ok.String(*v.TemplateS3Uri)
6923	}
6924
6925	return nil
6926}
6927
6928func awsAwsjson11_serializeOpDocumentPutDeliveryChannelInput(v *PutDeliveryChannelInput, value smithyjson.Value) error {
6929	object := value.Object()
6930	defer object.Close()
6931
6932	if v.DeliveryChannel != nil {
6933		ok := object.Key("DeliveryChannel")
6934		if err := awsAwsjson11_serializeDocumentDeliveryChannel(v.DeliveryChannel, ok); err != nil {
6935			return err
6936		}
6937	}
6938
6939	return nil
6940}
6941
6942func awsAwsjson11_serializeOpDocumentPutEvaluationsInput(v *PutEvaluationsInput, value smithyjson.Value) error {
6943	object := value.Object()
6944	defer object.Close()
6945
6946	if v.Evaluations != nil {
6947		ok := object.Key("Evaluations")
6948		if err := awsAwsjson11_serializeDocumentEvaluations(v.Evaluations, ok); err != nil {
6949			return err
6950		}
6951	}
6952
6953	if v.ResultToken != nil {
6954		ok := object.Key("ResultToken")
6955		ok.String(*v.ResultToken)
6956	}
6957
6958	if v.TestMode {
6959		ok := object.Key("TestMode")
6960		ok.Boolean(v.TestMode)
6961	}
6962
6963	return nil
6964}
6965
6966func awsAwsjson11_serializeOpDocumentPutExternalEvaluationInput(v *PutExternalEvaluationInput, value smithyjson.Value) error {
6967	object := value.Object()
6968	defer object.Close()
6969
6970	if v.ConfigRuleName != nil {
6971		ok := object.Key("ConfigRuleName")
6972		ok.String(*v.ConfigRuleName)
6973	}
6974
6975	if v.ExternalEvaluation != nil {
6976		ok := object.Key("ExternalEvaluation")
6977		if err := awsAwsjson11_serializeDocumentExternalEvaluation(v.ExternalEvaluation, ok); err != nil {
6978			return err
6979		}
6980	}
6981
6982	return nil
6983}
6984
6985func awsAwsjson11_serializeOpDocumentPutOrganizationConfigRuleInput(v *PutOrganizationConfigRuleInput, value smithyjson.Value) error {
6986	object := value.Object()
6987	defer object.Close()
6988
6989	if v.ExcludedAccounts != nil {
6990		ok := object.Key("ExcludedAccounts")
6991		if err := awsAwsjson11_serializeDocumentExcludedAccounts(v.ExcludedAccounts, ok); err != nil {
6992			return err
6993		}
6994	}
6995
6996	if v.OrganizationConfigRuleName != nil {
6997		ok := object.Key("OrganizationConfigRuleName")
6998		ok.String(*v.OrganizationConfigRuleName)
6999	}
7000
7001	if v.OrganizationCustomRuleMetadata != nil {
7002		ok := object.Key("OrganizationCustomRuleMetadata")
7003		if err := awsAwsjson11_serializeDocumentOrganizationCustomRuleMetadata(v.OrganizationCustomRuleMetadata, ok); err != nil {
7004			return err
7005		}
7006	}
7007
7008	if v.OrganizationManagedRuleMetadata != nil {
7009		ok := object.Key("OrganizationManagedRuleMetadata")
7010		if err := awsAwsjson11_serializeDocumentOrganizationManagedRuleMetadata(v.OrganizationManagedRuleMetadata, ok); err != nil {
7011			return err
7012		}
7013	}
7014
7015	return nil
7016}
7017
7018func awsAwsjson11_serializeOpDocumentPutOrganizationConformancePackInput(v *PutOrganizationConformancePackInput, value smithyjson.Value) error {
7019	object := value.Object()
7020	defer object.Close()
7021
7022	if v.ConformancePackInputParameters != nil {
7023		ok := object.Key("ConformancePackInputParameters")
7024		if err := awsAwsjson11_serializeDocumentConformancePackInputParameters(v.ConformancePackInputParameters, ok); err != nil {
7025			return err
7026		}
7027	}
7028
7029	if v.DeliveryS3Bucket != nil {
7030		ok := object.Key("DeliveryS3Bucket")
7031		ok.String(*v.DeliveryS3Bucket)
7032	}
7033
7034	if v.DeliveryS3KeyPrefix != nil {
7035		ok := object.Key("DeliveryS3KeyPrefix")
7036		ok.String(*v.DeliveryS3KeyPrefix)
7037	}
7038
7039	if v.ExcludedAccounts != nil {
7040		ok := object.Key("ExcludedAccounts")
7041		if err := awsAwsjson11_serializeDocumentExcludedAccounts(v.ExcludedAccounts, ok); err != nil {
7042			return err
7043		}
7044	}
7045
7046	if v.OrganizationConformancePackName != nil {
7047		ok := object.Key("OrganizationConformancePackName")
7048		ok.String(*v.OrganizationConformancePackName)
7049	}
7050
7051	if v.TemplateBody != nil {
7052		ok := object.Key("TemplateBody")
7053		ok.String(*v.TemplateBody)
7054	}
7055
7056	if v.TemplateS3Uri != nil {
7057		ok := object.Key("TemplateS3Uri")
7058		ok.String(*v.TemplateS3Uri)
7059	}
7060
7061	return nil
7062}
7063
7064func awsAwsjson11_serializeOpDocumentPutRemediationConfigurationsInput(v *PutRemediationConfigurationsInput, value smithyjson.Value) error {
7065	object := value.Object()
7066	defer object.Close()
7067
7068	if v.RemediationConfigurations != nil {
7069		ok := object.Key("RemediationConfigurations")
7070		if err := awsAwsjson11_serializeDocumentRemediationConfigurations(v.RemediationConfigurations, ok); err != nil {
7071			return err
7072		}
7073	}
7074
7075	return nil
7076}
7077
7078func awsAwsjson11_serializeOpDocumentPutRemediationExceptionsInput(v *PutRemediationExceptionsInput, value smithyjson.Value) error {
7079	object := value.Object()
7080	defer object.Close()
7081
7082	if v.ConfigRuleName != nil {
7083		ok := object.Key("ConfigRuleName")
7084		ok.String(*v.ConfigRuleName)
7085	}
7086
7087	if v.ExpirationTime != nil {
7088		ok := object.Key("ExpirationTime")
7089		ok.Double(smithytime.FormatEpochSeconds(*v.ExpirationTime))
7090	}
7091
7092	if v.Message != nil {
7093		ok := object.Key("Message")
7094		ok.String(*v.Message)
7095	}
7096
7097	if v.ResourceKeys != nil {
7098		ok := object.Key("ResourceKeys")
7099		if err := awsAwsjson11_serializeDocumentRemediationExceptionResourceKeys(v.ResourceKeys, ok); err != nil {
7100			return err
7101		}
7102	}
7103
7104	return nil
7105}
7106
7107func awsAwsjson11_serializeOpDocumentPutResourceConfigInput(v *PutResourceConfigInput, value smithyjson.Value) error {
7108	object := value.Object()
7109	defer object.Close()
7110
7111	if v.Configuration != nil {
7112		ok := object.Key("Configuration")
7113		ok.String(*v.Configuration)
7114	}
7115
7116	if v.ResourceId != nil {
7117		ok := object.Key("ResourceId")
7118		ok.String(*v.ResourceId)
7119	}
7120
7121	if v.ResourceName != nil {
7122		ok := object.Key("ResourceName")
7123		ok.String(*v.ResourceName)
7124	}
7125
7126	if v.ResourceType != nil {
7127		ok := object.Key("ResourceType")
7128		ok.String(*v.ResourceType)
7129	}
7130
7131	if v.SchemaVersionId != nil {
7132		ok := object.Key("SchemaVersionId")
7133		ok.String(*v.SchemaVersionId)
7134	}
7135
7136	if v.Tags != nil {
7137		ok := object.Key("Tags")
7138		if err := awsAwsjson11_serializeDocumentTags(v.Tags, ok); err != nil {
7139			return err
7140		}
7141	}
7142
7143	return nil
7144}
7145
7146func awsAwsjson11_serializeOpDocumentPutRetentionConfigurationInput(v *PutRetentionConfigurationInput, value smithyjson.Value) error {
7147	object := value.Object()
7148	defer object.Close()
7149
7150	{
7151		ok := object.Key("RetentionPeriodInDays")
7152		ok.Integer(v.RetentionPeriodInDays)
7153	}
7154
7155	return nil
7156}
7157
7158func awsAwsjson11_serializeOpDocumentPutStoredQueryInput(v *PutStoredQueryInput, value smithyjson.Value) error {
7159	object := value.Object()
7160	defer object.Close()
7161
7162	if v.StoredQuery != nil {
7163		ok := object.Key("StoredQuery")
7164		if err := awsAwsjson11_serializeDocumentStoredQuery(v.StoredQuery, ok); err != nil {
7165			return err
7166		}
7167	}
7168
7169	if v.Tags != nil {
7170		ok := object.Key("Tags")
7171		if err := awsAwsjson11_serializeDocumentTagsList(v.Tags, ok); err != nil {
7172			return err
7173		}
7174	}
7175
7176	return nil
7177}
7178
7179func awsAwsjson11_serializeOpDocumentSelectAggregateResourceConfigInput(v *SelectAggregateResourceConfigInput, value smithyjson.Value) error {
7180	object := value.Object()
7181	defer object.Close()
7182
7183	if v.ConfigurationAggregatorName != nil {
7184		ok := object.Key("ConfigurationAggregatorName")
7185		ok.String(*v.ConfigurationAggregatorName)
7186	}
7187
7188	if v.Expression != nil {
7189		ok := object.Key("Expression")
7190		ok.String(*v.Expression)
7191	}
7192
7193	if v.Limit != 0 {
7194		ok := object.Key("Limit")
7195		ok.Integer(v.Limit)
7196	}
7197
7198	if v.MaxResults != 0 {
7199		ok := object.Key("MaxResults")
7200		ok.Integer(v.MaxResults)
7201	}
7202
7203	if v.NextToken != nil {
7204		ok := object.Key("NextToken")
7205		ok.String(*v.NextToken)
7206	}
7207
7208	return nil
7209}
7210
7211func awsAwsjson11_serializeOpDocumentSelectResourceConfigInput(v *SelectResourceConfigInput, value smithyjson.Value) error {
7212	object := value.Object()
7213	defer object.Close()
7214
7215	if v.Expression != nil {
7216		ok := object.Key("Expression")
7217		ok.String(*v.Expression)
7218	}
7219
7220	if v.Limit != 0 {
7221		ok := object.Key("Limit")
7222		ok.Integer(v.Limit)
7223	}
7224
7225	if v.NextToken != nil {
7226		ok := object.Key("NextToken")
7227		ok.String(*v.NextToken)
7228	}
7229
7230	return nil
7231}
7232
7233func awsAwsjson11_serializeOpDocumentStartConfigRulesEvaluationInput(v *StartConfigRulesEvaluationInput, value smithyjson.Value) error {
7234	object := value.Object()
7235	defer object.Close()
7236
7237	if v.ConfigRuleNames != nil {
7238		ok := object.Key("ConfigRuleNames")
7239		if err := awsAwsjson11_serializeDocumentReevaluateConfigRuleNames(v.ConfigRuleNames, ok); err != nil {
7240			return err
7241		}
7242	}
7243
7244	return nil
7245}
7246
7247func awsAwsjson11_serializeOpDocumentStartConfigurationRecorderInput(v *StartConfigurationRecorderInput, value smithyjson.Value) error {
7248	object := value.Object()
7249	defer object.Close()
7250
7251	if v.ConfigurationRecorderName != nil {
7252		ok := object.Key("ConfigurationRecorderName")
7253		ok.String(*v.ConfigurationRecorderName)
7254	}
7255
7256	return nil
7257}
7258
7259func awsAwsjson11_serializeOpDocumentStartRemediationExecutionInput(v *StartRemediationExecutionInput, value smithyjson.Value) error {
7260	object := value.Object()
7261	defer object.Close()
7262
7263	if v.ConfigRuleName != nil {
7264		ok := object.Key("ConfigRuleName")
7265		ok.String(*v.ConfigRuleName)
7266	}
7267
7268	if v.ResourceKeys != nil {
7269		ok := object.Key("ResourceKeys")
7270		if err := awsAwsjson11_serializeDocumentResourceKeys(v.ResourceKeys, ok); err != nil {
7271			return err
7272		}
7273	}
7274
7275	return nil
7276}
7277
7278func awsAwsjson11_serializeOpDocumentStopConfigurationRecorderInput(v *StopConfigurationRecorderInput, value smithyjson.Value) error {
7279	object := value.Object()
7280	defer object.Close()
7281
7282	if v.ConfigurationRecorderName != nil {
7283		ok := object.Key("ConfigurationRecorderName")
7284		ok.String(*v.ConfigurationRecorderName)
7285	}
7286
7287	return nil
7288}
7289
7290func awsAwsjson11_serializeOpDocumentTagResourceInput(v *TagResourceInput, value smithyjson.Value) error {
7291	object := value.Object()
7292	defer object.Close()
7293
7294	if v.ResourceArn != nil {
7295		ok := object.Key("ResourceArn")
7296		ok.String(*v.ResourceArn)
7297	}
7298
7299	if v.Tags != nil {
7300		ok := object.Key("Tags")
7301		if err := awsAwsjson11_serializeDocumentTagList(v.Tags, ok); err != nil {
7302			return err
7303		}
7304	}
7305
7306	return nil
7307}
7308
7309func awsAwsjson11_serializeOpDocumentUntagResourceInput(v *UntagResourceInput, value smithyjson.Value) error {
7310	object := value.Object()
7311	defer object.Close()
7312
7313	if v.ResourceArn != nil {
7314		ok := object.Key("ResourceArn")
7315		ok.String(*v.ResourceArn)
7316	}
7317
7318	if v.TagKeys != nil {
7319		ok := object.Key("TagKeys")
7320		if err := awsAwsjson11_serializeDocumentTagKeyList(v.TagKeys, ok); err != nil {
7321			return err
7322		}
7323	}
7324
7325	return nil
7326}
7327