1// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
2
3package quicksight
4
5import (
6	"fmt"
7	"time"
8
9	"github.com/aws/aws-sdk-go/aws"
10	"github.com/aws/aws-sdk-go/aws/awsutil"
11	"github.com/aws/aws-sdk-go/aws/request"
12	"github.com/aws/aws-sdk-go/private/protocol"
13)
14
15const opCancelIngestion = "CancelIngestion"
16
17// CancelIngestionRequest generates a "aws/request.Request" representing the
18// client's request for the CancelIngestion operation. The "output" return
19// value will be populated with the request's response once the request completes
20// successfully.
21//
22// Use "Send" method on the returned Request to send the API call to the service.
23// the "output" return value is not valid until after Send returns without error.
24//
25// See CancelIngestion for more information on using the CancelIngestion
26// API call, and error handling.
27//
28// This method is useful when you want to inject custom logic or configuration
29// into the SDK's request lifecycle. Such as custom headers, or retry logic.
30//
31//
32//    // Example sending a request using the CancelIngestionRequest method.
33//    req, resp := client.CancelIngestionRequest(params)
34//
35//    err := req.Send()
36//    if err == nil { // resp is now filled
37//        fmt.Println(resp)
38//    }
39//
40// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CancelIngestion
41func (c *QuickSight) CancelIngestionRequest(input *CancelIngestionInput) (req *request.Request, output *CancelIngestionOutput) {
42	op := &request.Operation{
43		Name:       opCancelIngestion,
44		HTTPMethod: "DELETE",
45		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}",
46	}
47
48	if input == nil {
49		input = &CancelIngestionInput{}
50	}
51
52	output = &CancelIngestionOutput{}
53	req = c.newRequest(op, input, output)
54	return
55}
56
57// CancelIngestion API operation for Amazon QuickSight.
58//
59// Cancels an ongoing ingestion of data into SPICE.
60//
61// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
62// with awserr.Error's Code and Message methods to get detailed information about
63// the error.
64//
65// See the AWS API reference guide for Amazon QuickSight's
66// API operation CancelIngestion for usage and error information.
67//
68// Returned Error Types:
69//   * AccessDeniedException
70//   You don't have access to this item. The provided credentials couldn't be
71//   validated. You might not be authorized to carry out the request. Make sure
72//   that your account is authorized to use the Amazon QuickSight service, that
73//   your policies have the correct permissions, and that you are using the correct
74//   access keys.
75//
76//   * InvalidParameterValueException
77//   One or more parameters has a value that isn't valid.
78//
79//   * ResourceNotFoundException
80//   One or more resources can't be found.
81//
82//   * ThrottlingException
83//   Access is throttled.
84//
85//   * ResourceExistsException
86//   The resource specified already exists.
87//
88//   * InternalFailureException
89//   An internal failure occurred.
90//
91// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CancelIngestion
92func (c *QuickSight) CancelIngestion(input *CancelIngestionInput) (*CancelIngestionOutput, error) {
93	req, out := c.CancelIngestionRequest(input)
94	return out, req.Send()
95}
96
97// CancelIngestionWithContext is the same as CancelIngestion with the addition of
98// the ability to pass a context and additional request options.
99//
100// See CancelIngestion for details on how to use this API operation.
101//
102// The context must be non-nil and will be used for request cancellation. If
103// the context is nil a panic will occur. In the future the SDK may create
104// sub-contexts for http.Requests. See https://golang.org/pkg/context/
105// for more information on using Contexts.
106func (c *QuickSight) CancelIngestionWithContext(ctx aws.Context, input *CancelIngestionInput, opts ...request.Option) (*CancelIngestionOutput, error) {
107	req, out := c.CancelIngestionRequest(input)
108	req.SetContext(ctx)
109	req.ApplyOptions(opts...)
110	return out, req.Send()
111}
112
113const opCreateDashboard = "CreateDashboard"
114
115// CreateDashboardRequest generates a "aws/request.Request" representing the
116// client's request for the CreateDashboard operation. The "output" return
117// value will be populated with the request's response once the request completes
118// successfully.
119//
120// Use "Send" method on the returned Request to send the API call to the service.
121// the "output" return value is not valid until after Send returns without error.
122//
123// See CreateDashboard for more information on using the CreateDashboard
124// API call, and error handling.
125//
126// This method is useful when you want to inject custom logic or configuration
127// into the SDK's request lifecycle. Such as custom headers, or retry logic.
128//
129//
130//    // Example sending a request using the CreateDashboardRequest method.
131//    req, resp := client.CreateDashboardRequest(params)
132//
133//    err := req.Send()
134//    if err == nil { // resp is now filled
135//        fmt.Println(resp)
136//    }
137//
138// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDashboard
139func (c *QuickSight) CreateDashboardRequest(input *CreateDashboardInput) (req *request.Request, output *CreateDashboardOutput) {
140	op := &request.Operation{
141		Name:       opCreateDashboard,
142		HTTPMethod: "POST",
143		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
144	}
145
146	if input == nil {
147		input = &CreateDashboardInput{}
148	}
149
150	output = &CreateDashboardOutput{}
151	req = c.newRequest(op, input, output)
152	return
153}
154
155// CreateDashboard API operation for Amazon QuickSight.
156//
157// Creates a dashboard from a template. To first create a template, see the
158// CreateTemplate API operation.
159//
160// A dashboard is an entity in QuickSight that identifies QuickSight reports,
161// created from analyses. You can share QuickSight dashboards. With the right
162// permissions, you can create scheduled email reports from them. The CreateDashboard,
163// DescribeDashboard, and ListDashboardsByUser API operations act on the dashboard
164// entity. If you have the correct permissions, you can create a dashboard from
165// a template that exists in a different AWS account.
166//
167// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
168// with awserr.Error's Code and Message methods to get detailed information about
169// the error.
170//
171// See the AWS API reference guide for Amazon QuickSight's
172// API operation CreateDashboard for usage and error information.
173//
174// Returned Error Types:
175//   * ResourceNotFoundException
176//   One or more resources can't be found.
177//
178//   * InvalidParameterValueException
179//   One or more parameters has a value that isn't valid.
180//
181//   * ThrottlingException
182//   Access is throttled.
183//
184//   * ResourceExistsException
185//   The resource specified already exists.
186//
187//   * ConflictException
188//   Updating or deleting a resource can cause an inconsistent state.
189//
190//   * UnsupportedUserEditionException
191//   This error indicates that you are calling an operation on an Amazon QuickSight
192//   subscription where the edition doesn't include support for that operation.
193//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
194//   Not every operation and capability is available in every edition.
195//
196//   * InternalFailureException
197//   An internal failure occurred.
198//
199// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDashboard
200func (c *QuickSight) CreateDashboard(input *CreateDashboardInput) (*CreateDashboardOutput, error) {
201	req, out := c.CreateDashboardRequest(input)
202	return out, req.Send()
203}
204
205// CreateDashboardWithContext is the same as CreateDashboard with the addition of
206// the ability to pass a context and additional request options.
207//
208// See CreateDashboard for details on how to use this API operation.
209//
210// The context must be non-nil and will be used for request cancellation. If
211// the context is nil a panic will occur. In the future the SDK may create
212// sub-contexts for http.Requests. See https://golang.org/pkg/context/
213// for more information on using Contexts.
214func (c *QuickSight) CreateDashboardWithContext(ctx aws.Context, input *CreateDashboardInput, opts ...request.Option) (*CreateDashboardOutput, error) {
215	req, out := c.CreateDashboardRequest(input)
216	req.SetContext(ctx)
217	req.ApplyOptions(opts...)
218	return out, req.Send()
219}
220
221const opCreateDataSet = "CreateDataSet"
222
223// CreateDataSetRequest generates a "aws/request.Request" representing the
224// client's request for the CreateDataSet operation. The "output" return
225// value will be populated with the request's response once the request completes
226// successfully.
227//
228// Use "Send" method on the returned Request to send the API call to the service.
229// the "output" return value is not valid until after Send returns without error.
230//
231// See CreateDataSet for more information on using the CreateDataSet
232// API call, and error handling.
233//
234// This method is useful when you want to inject custom logic or configuration
235// into the SDK's request lifecycle. Such as custom headers, or retry logic.
236//
237//
238//    // Example sending a request using the CreateDataSetRequest method.
239//    req, resp := client.CreateDataSetRequest(params)
240//
241//    err := req.Send()
242//    if err == nil { // resp is now filled
243//        fmt.Println(resp)
244//    }
245//
246// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSet
247func (c *QuickSight) CreateDataSetRequest(input *CreateDataSetInput) (req *request.Request, output *CreateDataSetOutput) {
248	op := &request.Operation{
249		Name:       opCreateDataSet,
250		HTTPMethod: "POST",
251		HTTPPath:   "/accounts/{AwsAccountId}/data-sets",
252	}
253
254	if input == nil {
255		input = &CreateDataSetInput{}
256	}
257
258	output = &CreateDataSetOutput{}
259	req = c.newRequest(op, input, output)
260	return
261}
262
263// CreateDataSet API operation for Amazon QuickSight.
264//
265// Creates a dataset.
266//
267// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
268// with awserr.Error's Code and Message methods to get detailed information about
269// the error.
270//
271// See the AWS API reference guide for Amazon QuickSight's
272// API operation CreateDataSet for usage and error information.
273//
274// Returned Error Types:
275//   * AccessDeniedException
276//   You don't have access to this item. The provided credentials couldn't be
277//   validated. You might not be authorized to carry out the request. Make sure
278//   that your account is authorized to use the Amazon QuickSight service, that
279//   your policies have the correct permissions, and that you are using the correct
280//   access keys.
281//
282//   * ConflictException
283//   Updating or deleting a resource can cause an inconsistent state.
284//
285//   * InvalidParameterValueException
286//   One or more parameters has a value that isn't valid.
287//
288//   * LimitExceededException
289//   A limit is exceeded.
290//
291//   * ResourceExistsException
292//   The resource specified already exists.
293//
294//   * ResourceNotFoundException
295//   One or more resources can't be found.
296//
297//   * ThrottlingException
298//   Access is throttled.
299//
300//   * UnsupportedUserEditionException
301//   This error indicates that you are calling an operation on an Amazon QuickSight
302//   subscription where the edition doesn't include support for that operation.
303//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
304//   Not every operation and capability is available in every edition.
305//
306//   * InternalFailureException
307//   An internal failure occurred.
308//
309// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSet
310func (c *QuickSight) CreateDataSet(input *CreateDataSetInput) (*CreateDataSetOutput, error) {
311	req, out := c.CreateDataSetRequest(input)
312	return out, req.Send()
313}
314
315// CreateDataSetWithContext is the same as CreateDataSet with the addition of
316// the ability to pass a context and additional request options.
317//
318// See CreateDataSet for details on how to use this API operation.
319//
320// The context must be non-nil and will be used for request cancellation. If
321// the context is nil a panic will occur. In the future the SDK may create
322// sub-contexts for http.Requests. See https://golang.org/pkg/context/
323// for more information on using Contexts.
324func (c *QuickSight) CreateDataSetWithContext(ctx aws.Context, input *CreateDataSetInput, opts ...request.Option) (*CreateDataSetOutput, error) {
325	req, out := c.CreateDataSetRequest(input)
326	req.SetContext(ctx)
327	req.ApplyOptions(opts...)
328	return out, req.Send()
329}
330
331const opCreateDataSource = "CreateDataSource"
332
333// CreateDataSourceRequest generates a "aws/request.Request" representing the
334// client's request for the CreateDataSource operation. The "output" return
335// value will be populated with the request's response once the request completes
336// successfully.
337//
338// Use "Send" method on the returned Request to send the API call to the service.
339// the "output" return value is not valid until after Send returns without error.
340//
341// See CreateDataSource for more information on using the CreateDataSource
342// API call, and error handling.
343//
344// This method is useful when you want to inject custom logic or configuration
345// into the SDK's request lifecycle. Such as custom headers, or retry logic.
346//
347//
348//    // Example sending a request using the CreateDataSourceRequest method.
349//    req, resp := client.CreateDataSourceRequest(params)
350//
351//    err := req.Send()
352//    if err == nil { // resp is now filled
353//        fmt.Println(resp)
354//    }
355//
356// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSource
357func (c *QuickSight) CreateDataSourceRequest(input *CreateDataSourceInput) (req *request.Request, output *CreateDataSourceOutput) {
358	op := &request.Operation{
359		Name:       opCreateDataSource,
360		HTTPMethod: "POST",
361		HTTPPath:   "/accounts/{AwsAccountId}/data-sources",
362	}
363
364	if input == nil {
365		input = &CreateDataSourceInput{}
366	}
367
368	output = &CreateDataSourceOutput{}
369	req = c.newRequest(op, input, output)
370	return
371}
372
373// CreateDataSource API operation for Amazon QuickSight.
374//
375// Creates a data source.
376//
377// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
378// with awserr.Error's Code and Message methods to get detailed information about
379// the error.
380//
381// See the AWS API reference guide for Amazon QuickSight's
382// API operation CreateDataSource for usage and error information.
383//
384// Returned Error Types:
385//   * AccessDeniedException
386//   You don't have access to this item. The provided credentials couldn't be
387//   validated. You might not be authorized to carry out the request. Make sure
388//   that your account is authorized to use the Amazon QuickSight service, that
389//   your policies have the correct permissions, and that you are using the correct
390//   access keys.
391//
392//   * ConflictException
393//   Updating or deleting a resource can cause an inconsistent state.
394//
395//   * InvalidParameterValueException
396//   One or more parameters has a value that isn't valid.
397//
398//   * LimitExceededException
399//   A limit is exceeded.
400//
401//   * ResourceNotFoundException
402//   One or more resources can't be found.
403//
404//   * ResourceExistsException
405//   The resource specified already exists.
406//
407//   * ThrottlingException
408//   Access is throttled.
409//
410//   * InternalFailureException
411//   An internal failure occurred.
412//
413// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSource
414func (c *QuickSight) CreateDataSource(input *CreateDataSourceInput) (*CreateDataSourceOutput, error) {
415	req, out := c.CreateDataSourceRequest(input)
416	return out, req.Send()
417}
418
419// CreateDataSourceWithContext is the same as CreateDataSource with the addition of
420// the ability to pass a context and additional request options.
421//
422// See CreateDataSource for details on how to use this API operation.
423//
424// The context must be non-nil and will be used for request cancellation. If
425// the context is nil a panic will occur. In the future the SDK may create
426// sub-contexts for http.Requests. See https://golang.org/pkg/context/
427// for more information on using Contexts.
428func (c *QuickSight) CreateDataSourceWithContext(ctx aws.Context, input *CreateDataSourceInput, opts ...request.Option) (*CreateDataSourceOutput, error) {
429	req, out := c.CreateDataSourceRequest(input)
430	req.SetContext(ctx)
431	req.ApplyOptions(opts...)
432	return out, req.Send()
433}
434
435const opCreateGroup = "CreateGroup"
436
437// CreateGroupRequest generates a "aws/request.Request" representing the
438// client's request for the CreateGroup operation. The "output" return
439// value will be populated with the request's response once the request completes
440// successfully.
441//
442// Use "Send" method on the returned Request to send the API call to the service.
443// the "output" return value is not valid until after Send returns without error.
444//
445// See CreateGroup for more information on using the CreateGroup
446// API call, and error handling.
447//
448// This method is useful when you want to inject custom logic or configuration
449// into the SDK's request lifecycle. Such as custom headers, or retry logic.
450//
451//
452//    // Example sending a request using the CreateGroupRequest method.
453//    req, resp := client.CreateGroupRequest(params)
454//
455//    err := req.Send()
456//    if err == nil { // resp is now filled
457//        fmt.Println(resp)
458//    }
459//
460// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroup
461func (c *QuickSight) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, output *CreateGroupOutput) {
462	op := &request.Operation{
463		Name:       opCreateGroup,
464		HTTPMethod: "POST",
465		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups",
466	}
467
468	if input == nil {
469		input = &CreateGroupInput{}
470	}
471
472	output = &CreateGroupOutput{}
473	req = c.newRequest(op, input, output)
474	return
475}
476
477// CreateGroup API operation for Amazon QuickSight.
478//
479// Creates an Amazon QuickSight group.
480//
481// The permissions resource is arn:aws:quicksight:us-east-1:<relevant-aws-account-id>:group/default/<group-name> .
482//
483// The response is a group object.
484//
485// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
486// with awserr.Error's Code and Message methods to get detailed information about
487// the error.
488//
489// See the AWS API reference guide for Amazon QuickSight's
490// API operation CreateGroup for usage and error information.
491//
492// Returned Error Types:
493//   * AccessDeniedException
494//   You don't have access to this item. The provided credentials couldn't be
495//   validated. You might not be authorized to carry out the request. Make sure
496//   that your account is authorized to use the Amazon QuickSight service, that
497//   your policies have the correct permissions, and that you are using the correct
498//   access keys.
499//
500//   * InvalidParameterValueException
501//   One or more parameters has a value that isn't valid.
502//
503//   * ResourceExistsException
504//   The resource specified already exists.
505//
506//   * ResourceNotFoundException
507//   One or more resources can't be found.
508//
509//   * ThrottlingException
510//   Access is throttled.
511//
512//   * PreconditionNotMetException
513//   One or more preconditions aren't met.
514//
515//   * LimitExceededException
516//   A limit is exceeded.
517//
518//   * InternalFailureException
519//   An internal failure occurred.
520//
521//   * ResourceUnavailableException
522//   This resource is currently unavailable.
523//
524// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroup
525func (c *QuickSight) CreateGroup(input *CreateGroupInput) (*CreateGroupOutput, error) {
526	req, out := c.CreateGroupRequest(input)
527	return out, req.Send()
528}
529
530// CreateGroupWithContext is the same as CreateGroup with the addition of
531// the ability to pass a context and additional request options.
532//
533// See CreateGroup for details on how to use this API operation.
534//
535// The context must be non-nil and will be used for request cancellation. If
536// the context is nil a panic will occur. In the future the SDK may create
537// sub-contexts for http.Requests. See https://golang.org/pkg/context/
538// for more information on using Contexts.
539func (c *QuickSight) CreateGroupWithContext(ctx aws.Context, input *CreateGroupInput, opts ...request.Option) (*CreateGroupOutput, error) {
540	req, out := c.CreateGroupRequest(input)
541	req.SetContext(ctx)
542	req.ApplyOptions(opts...)
543	return out, req.Send()
544}
545
546const opCreateGroupMembership = "CreateGroupMembership"
547
548// CreateGroupMembershipRequest generates a "aws/request.Request" representing the
549// client's request for the CreateGroupMembership operation. The "output" return
550// value will be populated with the request's response once the request completes
551// successfully.
552//
553// Use "Send" method on the returned Request to send the API call to the service.
554// the "output" return value is not valid until after Send returns without error.
555//
556// See CreateGroupMembership for more information on using the CreateGroupMembership
557// API call, and error handling.
558//
559// This method is useful when you want to inject custom logic or configuration
560// into the SDK's request lifecycle. Such as custom headers, or retry logic.
561//
562//
563//    // Example sending a request using the CreateGroupMembershipRequest method.
564//    req, resp := client.CreateGroupMembershipRequest(params)
565//
566//    err := req.Send()
567//    if err == nil { // resp is now filled
568//        fmt.Println(resp)
569//    }
570//
571// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroupMembership
572func (c *QuickSight) CreateGroupMembershipRequest(input *CreateGroupMembershipInput) (req *request.Request, output *CreateGroupMembershipOutput) {
573	op := &request.Operation{
574		Name:       opCreateGroupMembership,
575		HTTPMethod: "PUT",
576		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}",
577	}
578
579	if input == nil {
580		input = &CreateGroupMembershipInput{}
581	}
582
583	output = &CreateGroupMembershipOutput{}
584	req = c.newRequest(op, input, output)
585	return
586}
587
588// CreateGroupMembership API operation for Amazon QuickSight.
589//
590// Adds an Amazon QuickSight user to an Amazon QuickSight group.
591//
592// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
593// with awserr.Error's Code and Message methods to get detailed information about
594// the error.
595//
596// See the AWS API reference guide for Amazon QuickSight's
597// API operation CreateGroupMembership for usage and error information.
598//
599// Returned Error Types:
600//   * AccessDeniedException
601//   You don't have access to this item. The provided credentials couldn't be
602//   validated. You might not be authorized to carry out the request. Make sure
603//   that your account is authorized to use the Amazon QuickSight service, that
604//   your policies have the correct permissions, and that you are using the correct
605//   access keys.
606//
607//   * InvalidParameterValueException
608//   One or more parameters has a value that isn't valid.
609//
610//   * ResourceNotFoundException
611//   One or more resources can't be found.
612//
613//   * ThrottlingException
614//   Access is throttled.
615//
616//   * PreconditionNotMetException
617//   One or more preconditions aren't met.
618//
619//   * InternalFailureException
620//   An internal failure occurred.
621//
622//   * ResourceUnavailableException
623//   This resource is currently unavailable.
624//
625// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroupMembership
626func (c *QuickSight) CreateGroupMembership(input *CreateGroupMembershipInput) (*CreateGroupMembershipOutput, error) {
627	req, out := c.CreateGroupMembershipRequest(input)
628	return out, req.Send()
629}
630
631// CreateGroupMembershipWithContext is the same as CreateGroupMembership with the addition of
632// the ability to pass a context and additional request options.
633//
634// See CreateGroupMembership for details on how to use this API operation.
635//
636// The context must be non-nil and will be used for request cancellation. If
637// the context is nil a panic will occur. In the future the SDK may create
638// sub-contexts for http.Requests. See https://golang.org/pkg/context/
639// for more information on using Contexts.
640func (c *QuickSight) CreateGroupMembershipWithContext(ctx aws.Context, input *CreateGroupMembershipInput, opts ...request.Option) (*CreateGroupMembershipOutput, error) {
641	req, out := c.CreateGroupMembershipRequest(input)
642	req.SetContext(ctx)
643	req.ApplyOptions(opts...)
644	return out, req.Send()
645}
646
647const opCreateIAMPolicyAssignment = "CreateIAMPolicyAssignment"
648
649// CreateIAMPolicyAssignmentRequest generates a "aws/request.Request" representing the
650// client's request for the CreateIAMPolicyAssignment operation. The "output" return
651// value will be populated with the request's response once the request completes
652// successfully.
653//
654// Use "Send" method on the returned Request to send the API call to the service.
655// the "output" return value is not valid until after Send returns without error.
656//
657// See CreateIAMPolicyAssignment for more information on using the CreateIAMPolicyAssignment
658// API call, and error handling.
659//
660// This method is useful when you want to inject custom logic or configuration
661// into the SDK's request lifecycle. Such as custom headers, or retry logic.
662//
663//
664//    // Example sending a request using the CreateIAMPolicyAssignmentRequest method.
665//    req, resp := client.CreateIAMPolicyAssignmentRequest(params)
666//
667//    err := req.Send()
668//    if err == nil { // resp is now filled
669//        fmt.Println(resp)
670//    }
671//
672// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIAMPolicyAssignment
673func (c *QuickSight) CreateIAMPolicyAssignmentRequest(input *CreateIAMPolicyAssignmentInput) (req *request.Request, output *CreateIAMPolicyAssignmentOutput) {
674	op := &request.Operation{
675		Name:       opCreateIAMPolicyAssignment,
676		HTTPMethod: "POST",
677		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/",
678	}
679
680	if input == nil {
681		input = &CreateIAMPolicyAssignmentInput{}
682	}
683
684	output = &CreateIAMPolicyAssignmentOutput{}
685	req = c.newRequest(op, input, output)
686	return
687}
688
689// CreateIAMPolicyAssignment API operation for Amazon QuickSight.
690//
691// Creates an assignment with one specified IAM policy, identified by its Amazon
692// Resource Name (ARN). This policy will be assigned to specified groups or
693// users of Amazon QuickSight. The users and groups need to be in the same namespace.
694//
695// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
696// with awserr.Error's Code and Message methods to get detailed information about
697// the error.
698//
699// See the AWS API reference guide for Amazon QuickSight's
700// API operation CreateIAMPolicyAssignment for usage and error information.
701//
702// Returned Error Types:
703//   * AccessDeniedException
704//   You don't have access to this item. The provided credentials couldn't be
705//   validated. You might not be authorized to carry out the request. Make sure
706//   that your account is authorized to use the Amazon QuickSight service, that
707//   your policies have the correct permissions, and that you are using the correct
708//   access keys.
709//
710//   * InvalidParameterValueException
711//   One or more parameters has a value that isn't valid.
712//
713//   * ResourceExistsException
714//   The resource specified already exists.
715//
716//   * ResourceNotFoundException
717//   One or more resources can't be found.
718//
719//   * ThrottlingException
720//   Access is throttled.
721//
722//   * ConcurrentUpdatingException
723//   A resource is already in a state that indicates an action is happening that
724//   must complete before a new update can be applied.
725//
726//   * InternalFailureException
727//   An internal failure occurred.
728//
729// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIAMPolicyAssignment
730func (c *QuickSight) CreateIAMPolicyAssignment(input *CreateIAMPolicyAssignmentInput) (*CreateIAMPolicyAssignmentOutput, error) {
731	req, out := c.CreateIAMPolicyAssignmentRequest(input)
732	return out, req.Send()
733}
734
735// CreateIAMPolicyAssignmentWithContext is the same as CreateIAMPolicyAssignment with the addition of
736// the ability to pass a context and additional request options.
737//
738// See CreateIAMPolicyAssignment for details on how to use this API operation.
739//
740// The context must be non-nil and will be used for request cancellation. If
741// the context is nil a panic will occur. In the future the SDK may create
742// sub-contexts for http.Requests. See https://golang.org/pkg/context/
743// for more information on using Contexts.
744func (c *QuickSight) CreateIAMPolicyAssignmentWithContext(ctx aws.Context, input *CreateIAMPolicyAssignmentInput, opts ...request.Option) (*CreateIAMPolicyAssignmentOutput, error) {
745	req, out := c.CreateIAMPolicyAssignmentRequest(input)
746	req.SetContext(ctx)
747	req.ApplyOptions(opts...)
748	return out, req.Send()
749}
750
751const opCreateIngestion = "CreateIngestion"
752
753// CreateIngestionRequest generates a "aws/request.Request" representing the
754// client's request for the CreateIngestion operation. The "output" return
755// value will be populated with the request's response once the request completes
756// successfully.
757//
758// Use "Send" method on the returned Request to send the API call to the service.
759// the "output" return value is not valid until after Send returns without error.
760//
761// See CreateIngestion for more information on using the CreateIngestion
762// API call, and error handling.
763//
764// This method is useful when you want to inject custom logic or configuration
765// into the SDK's request lifecycle. Such as custom headers, or retry logic.
766//
767//
768//    // Example sending a request using the CreateIngestionRequest method.
769//    req, resp := client.CreateIngestionRequest(params)
770//
771//    err := req.Send()
772//    if err == nil { // resp is now filled
773//        fmt.Println(resp)
774//    }
775//
776// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIngestion
777func (c *QuickSight) CreateIngestionRequest(input *CreateIngestionInput) (req *request.Request, output *CreateIngestionOutput) {
778	op := &request.Operation{
779		Name:       opCreateIngestion,
780		HTTPMethod: "PUT",
781		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}",
782	}
783
784	if input == nil {
785		input = &CreateIngestionInput{}
786	}
787
788	output = &CreateIngestionOutput{}
789	req = c.newRequest(op, input, output)
790	return
791}
792
793// CreateIngestion API operation for Amazon QuickSight.
794//
795// Creates and starts a new SPICE ingestion on a dataset
796//
797// Any ingestions operating on tagged datasets inherit the same tags automatically
798// for use in access control. For an example, see How do I create an IAM policy
799// to control access to Amazon EC2 resources using tags? (https://aws.amazon.com/premiumsupport/knowledge-center/iam-ec2-resource-tags/)
800// in the AWS Knowledge Center. Tags are visible on the tagged dataset, but
801// not on the ingestion resource.
802//
803// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
804// with awserr.Error's Code and Message methods to get detailed information about
805// the error.
806//
807// See the AWS API reference guide for Amazon QuickSight's
808// API operation CreateIngestion for usage and error information.
809//
810// Returned Error Types:
811//   * AccessDeniedException
812//   You don't have access to this item. The provided credentials couldn't be
813//   validated. You might not be authorized to carry out the request. Make sure
814//   that your account is authorized to use the Amazon QuickSight service, that
815//   your policies have the correct permissions, and that you are using the correct
816//   access keys.
817//
818//   * InvalidParameterValueException
819//   One or more parameters has a value that isn't valid.
820//
821//   * ResourceNotFoundException
822//   One or more resources can't be found.
823//
824//   * ThrottlingException
825//   Access is throttled.
826//
827//   * LimitExceededException
828//   A limit is exceeded.
829//
830//   * ResourceExistsException
831//   The resource specified already exists.
832//
833//   * InternalFailureException
834//   An internal failure occurred.
835//
836// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIngestion
837func (c *QuickSight) CreateIngestion(input *CreateIngestionInput) (*CreateIngestionOutput, error) {
838	req, out := c.CreateIngestionRequest(input)
839	return out, req.Send()
840}
841
842// CreateIngestionWithContext is the same as CreateIngestion with the addition of
843// the ability to pass a context and additional request options.
844//
845// See CreateIngestion for details on how to use this API operation.
846//
847// The context must be non-nil and will be used for request cancellation. If
848// the context is nil a panic will occur. In the future the SDK may create
849// sub-contexts for http.Requests. See https://golang.org/pkg/context/
850// for more information on using Contexts.
851func (c *QuickSight) CreateIngestionWithContext(ctx aws.Context, input *CreateIngestionInput, opts ...request.Option) (*CreateIngestionOutput, error) {
852	req, out := c.CreateIngestionRequest(input)
853	req.SetContext(ctx)
854	req.ApplyOptions(opts...)
855	return out, req.Send()
856}
857
858const opCreateTemplate = "CreateTemplate"
859
860// CreateTemplateRequest generates a "aws/request.Request" representing the
861// client's request for the CreateTemplate operation. The "output" return
862// value will be populated with the request's response once the request completes
863// successfully.
864//
865// Use "Send" method on the returned Request to send the API call to the service.
866// the "output" return value is not valid until after Send returns without error.
867//
868// See CreateTemplate for more information on using the CreateTemplate
869// API call, and error handling.
870//
871// This method is useful when you want to inject custom logic or configuration
872// into the SDK's request lifecycle. Such as custom headers, or retry logic.
873//
874//
875//    // Example sending a request using the CreateTemplateRequest method.
876//    req, resp := client.CreateTemplateRequest(params)
877//
878//    err := req.Send()
879//    if err == nil { // resp is now filled
880//        fmt.Println(resp)
881//    }
882//
883// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplate
884func (c *QuickSight) CreateTemplateRequest(input *CreateTemplateInput) (req *request.Request, output *CreateTemplateOutput) {
885	op := &request.Operation{
886		Name:       opCreateTemplate,
887		HTTPMethod: "POST",
888		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}",
889	}
890
891	if input == nil {
892		input = &CreateTemplateInput{}
893	}
894
895	output = &CreateTemplateOutput{}
896	req = c.newRequest(op, input, output)
897	return
898}
899
900// CreateTemplate API operation for Amazon QuickSight.
901//
902// Creates a template from an existing QuickSight analysis or template. You
903// can use the resulting template to create a dashboard.
904//
905// A template is an entity in QuickSight that encapsulates the metadata required
906// to create an analysis and that you can use to create s dashboard. A template
907// adds a layer of abstraction by using placeholders to replace the dataset
908// associated with the analysis. You can use templates to create dashboards
909// by replacing dataset placeholders with datasets that follow the same schema
910// that was used to create the source analysis and template.
911//
912// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
913// with awserr.Error's Code and Message methods to get detailed information about
914// the error.
915//
916// See the AWS API reference guide for Amazon QuickSight's
917// API operation CreateTemplate for usage and error information.
918//
919// Returned Error Types:
920//   * InvalidParameterValueException
921//   One or more parameters has a value that isn't valid.
922//
923//   * AccessDeniedException
924//   You don't have access to this item. The provided credentials couldn't be
925//   validated. You might not be authorized to carry out the request. Make sure
926//   that your account is authorized to use the Amazon QuickSight service, that
927//   your policies have the correct permissions, and that you are using the correct
928//   access keys.
929//
930//   * ResourceExistsException
931//   The resource specified already exists.
932//
933//   * ResourceNotFoundException
934//   One or more resources can't be found.
935//
936//   * ThrottlingException
937//   Access is throttled.
938//
939//   * LimitExceededException
940//   A limit is exceeded.
941//
942//   * UnsupportedUserEditionException
943//   This error indicates that you are calling an operation on an Amazon QuickSight
944//   subscription where the edition doesn't include support for that operation.
945//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
946//   Not every operation and capability is available in every edition.
947//
948//   * ConflictException
949//   Updating or deleting a resource can cause an inconsistent state.
950//
951//   * InternalFailureException
952//   An internal failure occurred.
953//
954// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplate
955func (c *QuickSight) CreateTemplate(input *CreateTemplateInput) (*CreateTemplateOutput, error) {
956	req, out := c.CreateTemplateRequest(input)
957	return out, req.Send()
958}
959
960// CreateTemplateWithContext is the same as CreateTemplate with the addition of
961// the ability to pass a context and additional request options.
962//
963// See CreateTemplate for details on how to use this API operation.
964//
965// The context must be non-nil and will be used for request cancellation. If
966// the context is nil a panic will occur. In the future the SDK may create
967// sub-contexts for http.Requests. See https://golang.org/pkg/context/
968// for more information on using Contexts.
969func (c *QuickSight) CreateTemplateWithContext(ctx aws.Context, input *CreateTemplateInput, opts ...request.Option) (*CreateTemplateOutput, error) {
970	req, out := c.CreateTemplateRequest(input)
971	req.SetContext(ctx)
972	req.ApplyOptions(opts...)
973	return out, req.Send()
974}
975
976const opCreateTemplateAlias = "CreateTemplateAlias"
977
978// CreateTemplateAliasRequest generates a "aws/request.Request" representing the
979// client's request for the CreateTemplateAlias operation. The "output" return
980// value will be populated with the request's response once the request completes
981// successfully.
982//
983// Use "Send" method on the returned Request to send the API call to the service.
984// the "output" return value is not valid until after Send returns without error.
985//
986// See CreateTemplateAlias for more information on using the CreateTemplateAlias
987// API call, and error handling.
988//
989// This method is useful when you want to inject custom logic or configuration
990// into the SDK's request lifecycle. Such as custom headers, or retry logic.
991//
992//
993//    // Example sending a request using the CreateTemplateAliasRequest method.
994//    req, resp := client.CreateTemplateAliasRequest(params)
995//
996//    err := req.Send()
997//    if err == nil { // resp is now filled
998//        fmt.Println(resp)
999//    }
1000//
1001// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplateAlias
1002func (c *QuickSight) CreateTemplateAliasRequest(input *CreateTemplateAliasInput) (req *request.Request, output *CreateTemplateAliasOutput) {
1003	op := &request.Operation{
1004		Name:       opCreateTemplateAlias,
1005		HTTPMethod: "POST",
1006		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
1007	}
1008
1009	if input == nil {
1010		input = &CreateTemplateAliasInput{}
1011	}
1012
1013	output = &CreateTemplateAliasOutput{}
1014	req = c.newRequest(op, input, output)
1015	return
1016}
1017
1018// CreateTemplateAlias API operation for Amazon QuickSight.
1019//
1020// Creates a template alias for a template.
1021//
1022// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1023// with awserr.Error's Code and Message methods to get detailed information about
1024// the error.
1025//
1026// See the AWS API reference guide for Amazon QuickSight's
1027// API operation CreateTemplateAlias for usage and error information.
1028//
1029// Returned Error Types:
1030//   * ThrottlingException
1031//   Access is throttled.
1032//
1033//   * ResourceNotFoundException
1034//   One or more resources can't be found.
1035//
1036//   * ConflictException
1037//   Updating or deleting a resource can cause an inconsistent state.
1038//
1039//   * ResourceExistsException
1040//   The resource specified already exists.
1041//
1042//   * LimitExceededException
1043//   A limit is exceeded.
1044//
1045//   * UnsupportedUserEditionException
1046//   This error indicates that you are calling an operation on an Amazon QuickSight
1047//   subscription where the edition doesn't include support for that operation.
1048//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
1049//   Not every operation and capability is available in every edition.
1050//
1051//   * ConflictException
1052//   Updating or deleting a resource can cause an inconsistent state.
1053//
1054//   * InternalFailureException
1055//   An internal failure occurred.
1056//
1057// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplateAlias
1058func (c *QuickSight) CreateTemplateAlias(input *CreateTemplateAliasInput) (*CreateTemplateAliasOutput, error) {
1059	req, out := c.CreateTemplateAliasRequest(input)
1060	return out, req.Send()
1061}
1062
1063// CreateTemplateAliasWithContext is the same as CreateTemplateAlias with the addition of
1064// the ability to pass a context and additional request options.
1065//
1066// See CreateTemplateAlias for details on how to use this API operation.
1067//
1068// The context must be non-nil and will be used for request cancellation. If
1069// the context is nil a panic will occur. In the future the SDK may create
1070// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1071// for more information on using Contexts.
1072func (c *QuickSight) CreateTemplateAliasWithContext(ctx aws.Context, input *CreateTemplateAliasInput, opts ...request.Option) (*CreateTemplateAliasOutput, error) {
1073	req, out := c.CreateTemplateAliasRequest(input)
1074	req.SetContext(ctx)
1075	req.ApplyOptions(opts...)
1076	return out, req.Send()
1077}
1078
1079const opCreateTheme = "CreateTheme"
1080
1081// CreateThemeRequest generates a "aws/request.Request" representing the
1082// client's request for the CreateTheme operation. The "output" return
1083// value will be populated with the request's response once the request completes
1084// successfully.
1085//
1086// Use "Send" method on the returned Request to send the API call to the service.
1087// the "output" return value is not valid until after Send returns without error.
1088//
1089// See CreateTheme for more information on using the CreateTheme
1090// API call, and error handling.
1091//
1092// This method is useful when you want to inject custom logic or configuration
1093// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1094//
1095//
1096//    // Example sending a request using the CreateThemeRequest method.
1097//    req, resp := client.CreateThemeRequest(params)
1098//
1099//    err := req.Send()
1100//    if err == nil { // resp is now filled
1101//        fmt.Println(resp)
1102//    }
1103//
1104// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTheme
1105func (c *QuickSight) CreateThemeRequest(input *CreateThemeInput) (req *request.Request, output *CreateThemeOutput) {
1106	op := &request.Operation{
1107		Name:       opCreateTheme,
1108		HTTPMethod: "POST",
1109		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}",
1110	}
1111
1112	if input == nil {
1113		input = &CreateThemeInput{}
1114	}
1115
1116	output = &CreateThemeOutput{}
1117	req = c.newRequest(op, input, output)
1118	return
1119}
1120
1121// CreateTheme API operation for Amazon QuickSight.
1122//
1123// Creates a theme.
1124//
1125// A theme is set of configuration options for color and layout. Themes apply
1126// to analyses and dashboards. For more information, see Using Themes in Amazon
1127// QuickSight (https://docs.aws.amazon.com/quicksight/latest/user/themes-in-quicksight.html)
1128// in the Amazon QuickSight User Guide.
1129//
1130// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1131// with awserr.Error's Code and Message methods to get detailed information about
1132// the error.
1133//
1134// See the AWS API reference guide for Amazon QuickSight's
1135// API operation CreateTheme for usage and error information.
1136//
1137// Returned Error Types:
1138//   * AccessDeniedException
1139//   You don't have access to this item. The provided credentials couldn't be
1140//   validated. You might not be authorized to carry out the request. Make sure
1141//   that your account is authorized to use the Amazon QuickSight service, that
1142//   your policies have the correct permissions, and that you are using the correct
1143//   access keys.
1144//
1145//   * InvalidParameterValueException
1146//   One or more parameters has a value that isn't valid.
1147//
1148//   * ResourceExistsException
1149//   The resource specified already exists.
1150//
1151//   * ResourceNotFoundException
1152//   One or more resources can't be found.
1153//
1154//   * ThrottlingException
1155//   Access is throttled.
1156//
1157//   * UnsupportedUserEditionException
1158//   This error indicates that you are calling an operation on an Amazon QuickSight
1159//   subscription where the edition doesn't include support for that operation.
1160//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
1161//   Not every operation and capability is available in every edition.
1162//
1163//   * LimitExceededException
1164//   A limit is exceeded.
1165//
1166//   * InternalFailureException
1167//   An internal failure occurred.
1168//
1169// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTheme
1170func (c *QuickSight) CreateTheme(input *CreateThemeInput) (*CreateThemeOutput, error) {
1171	req, out := c.CreateThemeRequest(input)
1172	return out, req.Send()
1173}
1174
1175// CreateThemeWithContext is the same as CreateTheme with the addition of
1176// the ability to pass a context and additional request options.
1177//
1178// See CreateTheme for details on how to use this API operation.
1179//
1180// The context must be non-nil and will be used for request cancellation. If
1181// the context is nil a panic will occur. In the future the SDK may create
1182// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1183// for more information on using Contexts.
1184func (c *QuickSight) CreateThemeWithContext(ctx aws.Context, input *CreateThemeInput, opts ...request.Option) (*CreateThemeOutput, error) {
1185	req, out := c.CreateThemeRequest(input)
1186	req.SetContext(ctx)
1187	req.ApplyOptions(opts...)
1188	return out, req.Send()
1189}
1190
1191const opCreateThemeAlias = "CreateThemeAlias"
1192
1193// CreateThemeAliasRequest generates a "aws/request.Request" representing the
1194// client's request for the CreateThemeAlias operation. The "output" return
1195// value will be populated with the request's response once the request completes
1196// successfully.
1197//
1198// Use "Send" method on the returned Request to send the API call to the service.
1199// the "output" return value is not valid until after Send returns without error.
1200//
1201// See CreateThemeAlias for more information on using the CreateThemeAlias
1202// API call, and error handling.
1203//
1204// This method is useful when you want to inject custom logic or configuration
1205// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1206//
1207//
1208//    // Example sending a request using the CreateThemeAliasRequest method.
1209//    req, resp := client.CreateThemeAliasRequest(params)
1210//
1211//    err := req.Send()
1212//    if err == nil { // resp is now filled
1213//        fmt.Println(resp)
1214//    }
1215//
1216// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateThemeAlias
1217func (c *QuickSight) CreateThemeAliasRequest(input *CreateThemeAliasInput) (req *request.Request, output *CreateThemeAliasOutput) {
1218	op := &request.Operation{
1219		Name:       opCreateThemeAlias,
1220		HTTPMethod: "POST",
1221		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}",
1222	}
1223
1224	if input == nil {
1225		input = &CreateThemeAliasInput{}
1226	}
1227
1228	output = &CreateThemeAliasOutput{}
1229	req = c.newRequest(op, input, output)
1230	return
1231}
1232
1233// CreateThemeAlias API operation for Amazon QuickSight.
1234//
1235// Creates a theme alias for a theme.
1236//
1237// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1238// with awserr.Error's Code and Message methods to get detailed information about
1239// the error.
1240//
1241// See the AWS API reference guide for Amazon QuickSight's
1242// API operation CreateThemeAlias for usage and error information.
1243//
1244// Returned Error Types:
1245//   * ConflictException
1246//   Updating or deleting a resource can cause an inconsistent state.
1247//
1248//   * InvalidParameterValueException
1249//   One or more parameters has a value that isn't valid.
1250//
1251//   * LimitExceededException
1252//   A limit is exceeded.
1253//
1254//   * ResourceExistsException
1255//   The resource specified already exists.
1256//
1257//   * ResourceNotFoundException
1258//   One or more resources can't be found.
1259//
1260//   * ThrottlingException
1261//   Access is throttled.
1262//
1263//   * UnsupportedUserEditionException
1264//   This error indicates that you are calling an operation on an Amazon QuickSight
1265//   subscription where the edition doesn't include support for that operation.
1266//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
1267//   Not every operation and capability is available in every edition.
1268//
1269//   * InternalFailureException
1270//   An internal failure occurred.
1271//
1272// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateThemeAlias
1273func (c *QuickSight) CreateThemeAlias(input *CreateThemeAliasInput) (*CreateThemeAliasOutput, error) {
1274	req, out := c.CreateThemeAliasRequest(input)
1275	return out, req.Send()
1276}
1277
1278// CreateThemeAliasWithContext is the same as CreateThemeAlias with the addition of
1279// the ability to pass a context and additional request options.
1280//
1281// See CreateThemeAlias for details on how to use this API operation.
1282//
1283// The context must be non-nil and will be used for request cancellation. If
1284// the context is nil a panic will occur. In the future the SDK may create
1285// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1286// for more information on using Contexts.
1287func (c *QuickSight) CreateThemeAliasWithContext(ctx aws.Context, input *CreateThemeAliasInput, opts ...request.Option) (*CreateThemeAliasOutput, error) {
1288	req, out := c.CreateThemeAliasRequest(input)
1289	req.SetContext(ctx)
1290	req.ApplyOptions(opts...)
1291	return out, req.Send()
1292}
1293
1294const opDeleteDashboard = "DeleteDashboard"
1295
1296// DeleteDashboardRequest generates a "aws/request.Request" representing the
1297// client's request for the DeleteDashboard operation. The "output" return
1298// value will be populated with the request's response once the request completes
1299// successfully.
1300//
1301// Use "Send" method on the returned Request to send the API call to the service.
1302// the "output" return value is not valid until after Send returns without error.
1303//
1304// See DeleteDashboard for more information on using the DeleteDashboard
1305// API call, and error handling.
1306//
1307// This method is useful when you want to inject custom logic or configuration
1308// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1309//
1310//
1311//    // Example sending a request using the DeleteDashboardRequest method.
1312//    req, resp := client.DeleteDashboardRequest(params)
1313//
1314//    err := req.Send()
1315//    if err == nil { // resp is now filled
1316//        fmt.Println(resp)
1317//    }
1318//
1319// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDashboard
1320func (c *QuickSight) DeleteDashboardRequest(input *DeleteDashboardInput) (req *request.Request, output *DeleteDashboardOutput) {
1321	op := &request.Operation{
1322		Name:       opDeleteDashboard,
1323		HTTPMethod: "DELETE",
1324		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
1325	}
1326
1327	if input == nil {
1328		input = &DeleteDashboardInput{}
1329	}
1330
1331	output = &DeleteDashboardOutput{}
1332	req = c.newRequest(op, input, output)
1333	return
1334}
1335
1336// DeleteDashboard API operation for Amazon QuickSight.
1337//
1338// Deletes a dashboard.
1339//
1340// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1341// with awserr.Error's Code and Message methods to get detailed information about
1342// the error.
1343//
1344// See the AWS API reference guide for Amazon QuickSight's
1345// API operation DeleteDashboard for usage and error information.
1346//
1347// Returned Error Types:
1348//   * ThrottlingException
1349//   Access is throttled.
1350//
1351//   * InvalidParameterValueException
1352//   One or more parameters has a value that isn't valid.
1353//
1354//   * ConflictException
1355//   Updating or deleting a resource can cause an inconsistent state.
1356//
1357//   * ResourceNotFoundException
1358//   One or more resources can't be found.
1359//
1360//   * UnsupportedUserEditionException
1361//   This error indicates that you are calling an operation on an Amazon QuickSight
1362//   subscription where the edition doesn't include support for that operation.
1363//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
1364//   Not every operation and capability is available in every edition.
1365//
1366//   * InternalFailureException
1367//   An internal failure occurred.
1368//
1369// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDashboard
1370func (c *QuickSight) DeleteDashboard(input *DeleteDashboardInput) (*DeleteDashboardOutput, error) {
1371	req, out := c.DeleteDashboardRequest(input)
1372	return out, req.Send()
1373}
1374
1375// DeleteDashboardWithContext is the same as DeleteDashboard with the addition of
1376// the ability to pass a context and additional request options.
1377//
1378// See DeleteDashboard for details on how to use this API operation.
1379//
1380// The context must be non-nil and will be used for request cancellation. If
1381// the context is nil a panic will occur. In the future the SDK may create
1382// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1383// for more information on using Contexts.
1384func (c *QuickSight) DeleteDashboardWithContext(ctx aws.Context, input *DeleteDashboardInput, opts ...request.Option) (*DeleteDashboardOutput, error) {
1385	req, out := c.DeleteDashboardRequest(input)
1386	req.SetContext(ctx)
1387	req.ApplyOptions(opts...)
1388	return out, req.Send()
1389}
1390
1391const opDeleteDataSet = "DeleteDataSet"
1392
1393// DeleteDataSetRequest generates a "aws/request.Request" representing the
1394// client's request for the DeleteDataSet operation. The "output" return
1395// value will be populated with the request's response once the request completes
1396// successfully.
1397//
1398// Use "Send" method on the returned Request to send the API call to the service.
1399// the "output" return value is not valid until after Send returns without error.
1400//
1401// See DeleteDataSet for more information on using the DeleteDataSet
1402// API call, and error handling.
1403//
1404// This method is useful when you want to inject custom logic or configuration
1405// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1406//
1407//
1408//    // Example sending a request using the DeleteDataSetRequest method.
1409//    req, resp := client.DeleteDataSetRequest(params)
1410//
1411//    err := req.Send()
1412//    if err == nil { // resp is now filled
1413//        fmt.Println(resp)
1414//    }
1415//
1416// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSet
1417func (c *QuickSight) DeleteDataSetRequest(input *DeleteDataSetInput) (req *request.Request, output *DeleteDataSetOutput) {
1418	op := &request.Operation{
1419		Name:       opDeleteDataSet,
1420		HTTPMethod: "DELETE",
1421		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}",
1422	}
1423
1424	if input == nil {
1425		input = &DeleteDataSetInput{}
1426	}
1427
1428	output = &DeleteDataSetOutput{}
1429	req = c.newRequest(op, input, output)
1430	return
1431}
1432
1433// DeleteDataSet API operation for Amazon QuickSight.
1434//
1435// Deletes a dataset.
1436//
1437// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1438// with awserr.Error's Code and Message methods to get detailed information about
1439// the error.
1440//
1441// See the AWS API reference guide for Amazon QuickSight's
1442// API operation DeleteDataSet for usage and error information.
1443//
1444// Returned Error Types:
1445//   * AccessDeniedException
1446//   You don't have access to this item. The provided credentials couldn't be
1447//   validated. You might not be authorized to carry out the request. Make sure
1448//   that your account is authorized to use the Amazon QuickSight service, that
1449//   your policies have the correct permissions, and that you are using the correct
1450//   access keys.
1451//
1452//   * InvalidParameterValueException
1453//   One or more parameters has a value that isn't valid.
1454//
1455//   * ThrottlingException
1456//   Access is throttled.
1457//
1458//   * ResourceNotFoundException
1459//   One or more resources can't be found.
1460//
1461//   * InternalFailureException
1462//   An internal failure occurred.
1463//
1464// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSet
1465func (c *QuickSight) DeleteDataSet(input *DeleteDataSetInput) (*DeleteDataSetOutput, error) {
1466	req, out := c.DeleteDataSetRequest(input)
1467	return out, req.Send()
1468}
1469
1470// DeleteDataSetWithContext is the same as DeleteDataSet with the addition of
1471// the ability to pass a context and additional request options.
1472//
1473// See DeleteDataSet for details on how to use this API operation.
1474//
1475// The context must be non-nil and will be used for request cancellation. If
1476// the context is nil a panic will occur. In the future the SDK may create
1477// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1478// for more information on using Contexts.
1479func (c *QuickSight) DeleteDataSetWithContext(ctx aws.Context, input *DeleteDataSetInput, opts ...request.Option) (*DeleteDataSetOutput, error) {
1480	req, out := c.DeleteDataSetRequest(input)
1481	req.SetContext(ctx)
1482	req.ApplyOptions(opts...)
1483	return out, req.Send()
1484}
1485
1486const opDeleteDataSource = "DeleteDataSource"
1487
1488// DeleteDataSourceRequest generates a "aws/request.Request" representing the
1489// client's request for the DeleteDataSource operation. The "output" return
1490// value will be populated with the request's response once the request completes
1491// successfully.
1492//
1493// Use "Send" method on the returned Request to send the API call to the service.
1494// the "output" return value is not valid until after Send returns without error.
1495//
1496// See DeleteDataSource for more information on using the DeleteDataSource
1497// API call, and error handling.
1498//
1499// This method is useful when you want to inject custom logic or configuration
1500// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1501//
1502//
1503//    // Example sending a request using the DeleteDataSourceRequest method.
1504//    req, resp := client.DeleteDataSourceRequest(params)
1505//
1506//    err := req.Send()
1507//    if err == nil { // resp is now filled
1508//        fmt.Println(resp)
1509//    }
1510//
1511// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSource
1512func (c *QuickSight) DeleteDataSourceRequest(input *DeleteDataSourceInput) (req *request.Request, output *DeleteDataSourceOutput) {
1513	op := &request.Operation{
1514		Name:       opDeleteDataSource,
1515		HTTPMethod: "DELETE",
1516		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}",
1517	}
1518
1519	if input == nil {
1520		input = &DeleteDataSourceInput{}
1521	}
1522
1523	output = &DeleteDataSourceOutput{}
1524	req = c.newRequest(op, input, output)
1525	return
1526}
1527
1528// DeleteDataSource API operation for Amazon QuickSight.
1529//
1530// Deletes the data source permanently. This action breaks all the datasets
1531// that reference the deleted data source.
1532//
1533// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1534// with awserr.Error's Code and Message methods to get detailed information about
1535// the error.
1536//
1537// See the AWS API reference guide for Amazon QuickSight's
1538// API operation DeleteDataSource for usage and error information.
1539//
1540// Returned Error Types:
1541//   * AccessDeniedException
1542//   You don't have access to this item. The provided credentials couldn't be
1543//   validated. You might not be authorized to carry out the request. Make sure
1544//   that your account is authorized to use the Amazon QuickSight service, that
1545//   your policies have the correct permissions, and that you are using the correct
1546//   access keys.
1547//
1548//   * InvalidParameterValueException
1549//   One or more parameters has a value that isn't valid.
1550//
1551//   * ThrottlingException
1552//   Access is throttled.
1553//
1554//   * ResourceNotFoundException
1555//   One or more resources can't be found.
1556//
1557//   * InternalFailureException
1558//   An internal failure occurred.
1559//
1560// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSource
1561func (c *QuickSight) DeleteDataSource(input *DeleteDataSourceInput) (*DeleteDataSourceOutput, error) {
1562	req, out := c.DeleteDataSourceRequest(input)
1563	return out, req.Send()
1564}
1565
1566// DeleteDataSourceWithContext is the same as DeleteDataSource with the addition of
1567// the ability to pass a context and additional request options.
1568//
1569// See DeleteDataSource for details on how to use this API operation.
1570//
1571// The context must be non-nil and will be used for request cancellation. If
1572// the context is nil a panic will occur. In the future the SDK may create
1573// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1574// for more information on using Contexts.
1575func (c *QuickSight) DeleteDataSourceWithContext(ctx aws.Context, input *DeleteDataSourceInput, opts ...request.Option) (*DeleteDataSourceOutput, error) {
1576	req, out := c.DeleteDataSourceRequest(input)
1577	req.SetContext(ctx)
1578	req.ApplyOptions(opts...)
1579	return out, req.Send()
1580}
1581
1582const opDeleteGroup = "DeleteGroup"
1583
1584// DeleteGroupRequest generates a "aws/request.Request" representing the
1585// client's request for the DeleteGroup operation. The "output" return
1586// value will be populated with the request's response once the request completes
1587// successfully.
1588//
1589// Use "Send" method on the returned Request to send the API call to the service.
1590// the "output" return value is not valid until after Send returns without error.
1591//
1592// See DeleteGroup for more information on using the DeleteGroup
1593// API call, and error handling.
1594//
1595// This method is useful when you want to inject custom logic or configuration
1596// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1597//
1598//
1599//    // Example sending a request using the DeleteGroupRequest method.
1600//    req, resp := client.DeleteGroupRequest(params)
1601//
1602//    err := req.Send()
1603//    if err == nil { // resp is now filled
1604//        fmt.Println(resp)
1605//    }
1606//
1607// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroup
1608func (c *QuickSight) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, output *DeleteGroupOutput) {
1609	op := &request.Operation{
1610		Name:       opDeleteGroup,
1611		HTTPMethod: "DELETE",
1612		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}",
1613	}
1614
1615	if input == nil {
1616		input = &DeleteGroupInput{}
1617	}
1618
1619	output = &DeleteGroupOutput{}
1620	req = c.newRequest(op, input, output)
1621	return
1622}
1623
1624// DeleteGroup API operation for Amazon QuickSight.
1625//
1626// Removes a user group from Amazon QuickSight.
1627//
1628// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1629// with awserr.Error's Code and Message methods to get detailed information about
1630// the error.
1631//
1632// See the AWS API reference guide for Amazon QuickSight's
1633// API operation DeleteGroup for usage and error information.
1634//
1635// Returned Error Types:
1636//   * AccessDeniedException
1637//   You don't have access to this item. The provided credentials couldn't be
1638//   validated. You might not be authorized to carry out the request. Make sure
1639//   that your account is authorized to use the Amazon QuickSight service, that
1640//   your policies have the correct permissions, and that you are using the correct
1641//   access keys.
1642//
1643//   * InvalidParameterValueException
1644//   One or more parameters has a value that isn't valid.
1645//
1646//   * ResourceNotFoundException
1647//   One or more resources can't be found.
1648//
1649//   * ThrottlingException
1650//   Access is throttled.
1651//
1652//   * PreconditionNotMetException
1653//   One or more preconditions aren't met.
1654//
1655//   * InternalFailureException
1656//   An internal failure occurred.
1657//
1658//   * ResourceUnavailableException
1659//   This resource is currently unavailable.
1660//
1661// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroup
1662func (c *QuickSight) DeleteGroup(input *DeleteGroupInput) (*DeleteGroupOutput, error) {
1663	req, out := c.DeleteGroupRequest(input)
1664	return out, req.Send()
1665}
1666
1667// DeleteGroupWithContext is the same as DeleteGroup with the addition of
1668// the ability to pass a context and additional request options.
1669//
1670// See DeleteGroup for details on how to use this API operation.
1671//
1672// The context must be non-nil and will be used for request cancellation. If
1673// the context is nil a panic will occur. In the future the SDK may create
1674// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1675// for more information on using Contexts.
1676func (c *QuickSight) DeleteGroupWithContext(ctx aws.Context, input *DeleteGroupInput, opts ...request.Option) (*DeleteGroupOutput, error) {
1677	req, out := c.DeleteGroupRequest(input)
1678	req.SetContext(ctx)
1679	req.ApplyOptions(opts...)
1680	return out, req.Send()
1681}
1682
1683const opDeleteGroupMembership = "DeleteGroupMembership"
1684
1685// DeleteGroupMembershipRequest generates a "aws/request.Request" representing the
1686// client's request for the DeleteGroupMembership operation. The "output" return
1687// value will be populated with the request's response once the request completes
1688// successfully.
1689//
1690// Use "Send" method on the returned Request to send the API call to the service.
1691// the "output" return value is not valid until after Send returns without error.
1692//
1693// See DeleteGroupMembership for more information on using the DeleteGroupMembership
1694// API call, and error handling.
1695//
1696// This method is useful when you want to inject custom logic or configuration
1697// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1698//
1699//
1700//    // Example sending a request using the DeleteGroupMembershipRequest method.
1701//    req, resp := client.DeleteGroupMembershipRequest(params)
1702//
1703//    err := req.Send()
1704//    if err == nil { // resp is now filled
1705//        fmt.Println(resp)
1706//    }
1707//
1708// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroupMembership
1709func (c *QuickSight) DeleteGroupMembershipRequest(input *DeleteGroupMembershipInput) (req *request.Request, output *DeleteGroupMembershipOutput) {
1710	op := &request.Operation{
1711		Name:       opDeleteGroupMembership,
1712		HTTPMethod: "DELETE",
1713		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}",
1714	}
1715
1716	if input == nil {
1717		input = &DeleteGroupMembershipInput{}
1718	}
1719
1720	output = &DeleteGroupMembershipOutput{}
1721	req = c.newRequest(op, input, output)
1722	return
1723}
1724
1725// DeleteGroupMembership API operation for Amazon QuickSight.
1726//
1727// Removes a user from a group so that the user is no longer a member of the
1728// group.
1729//
1730// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1731// with awserr.Error's Code and Message methods to get detailed information about
1732// the error.
1733//
1734// See the AWS API reference guide for Amazon QuickSight's
1735// API operation DeleteGroupMembership for usage and error information.
1736//
1737// Returned Error Types:
1738//   * AccessDeniedException
1739//   You don't have access to this item. The provided credentials couldn't be
1740//   validated. You might not be authorized to carry out the request. Make sure
1741//   that your account is authorized to use the Amazon QuickSight service, that
1742//   your policies have the correct permissions, and that you are using the correct
1743//   access keys.
1744//
1745//   * InvalidParameterValueException
1746//   One or more parameters has a value that isn't valid.
1747//
1748//   * ResourceNotFoundException
1749//   One or more resources can't be found.
1750//
1751//   * ThrottlingException
1752//   Access is throttled.
1753//
1754//   * PreconditionNotMetException
1755//   One or more preconditions aren't met.
1756//
1757//   * InternalFailureException
1758//   An internal failure occurred.
1759//
1760//   * ResourceUnavailableException
1761//   This resource is currently unavailable.
1762//
1763// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroupMembership
1764func (c *QuickSight) DeleteGroupMembership(input *DeleteGroupMembershipInput) (*DeleteGroupMembershipOutput, error) {
1765	req, out := c.DeleteGroupMembershipRequest(input)
1766	return out, req.Send()
1767}
1768
1769// DeleteGroupMembershipWithContext is the same as DeleteGroupMembership with the addition of
1770// the ability to pass a context and additional request options.
1771//
1772// See DeleteGroupMembership for details on how to use this API operation.
1773//
1774// The context must be non-nil and will be used for request cancellation. If
1775// the context is nil a panic will occur. In the future the SDK may create
1776// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1777// for more information on using Contexts.
1778func (c *QuickSight) DeleteGroupMembershipWithContext(ctx aws.Context, input *DeleteGroupMembershipInput, opts ...request.Option) (*DeleteGroupMembershipOutput, error) {
1779	req, out := c.DeleteGroupMembershipRequest(input)
1780	req.SetContext(ctx)
1781	req.ApplyOptions(opts...)
1782	return out, req.Send()
1783}
1784
1785const opDeleteIAMPolicyAssignment = "DeleteIAMPolicyAssignment"
1786
1787// DeleteIAMPolicyAssignmentRequest generates a "aws/request.Request" representing the
1788// client's request for the DeleteIAMPolicyAssignment operation. The "output" return
1789// value will be populated with the request's response once the request completes
1790// successfully.
1791//
1792// Use "Send" method on the returned Request to send the API call to the service.
1793// the "output" return value is not valid until after Send returns without error.
1794//
1795// See DeleteIAMPolicyAssignment for more information on using the DeleteIAMPolicyAssignment
1796// API call, and error handling.
1797//
1798// This method is useful when you want to inject custom logic or configuration
1799// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1800//
1801//
1802//    // Example sending a request using the DeleteIAMPolicyAssignmentRequest method.
1803//    req, resp := client.DeleteIAMPolicyAssignmentRequest(params)
1804//
1805//    err := req.Send()
1806//    if err == nil { // resp is now filled
1807//        fmt.Println(resp)
1808//    }
1809//
1810// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteIAMPolicyAssignment
1811func (c *QuickSight) DeleteIAMPolicyAssignmentRequest(input *DeleteIAMPolicyAssignmentInput) (req *request.Request, output *DeleteIAMPolicyAssignmentOutput) {
1812	op := &request.Operation{
1813		Name:       opDeleteIAMPolicyAssignment,
1814		HTTPMethod: "DELETE",
1815		HTTPPath:   "/accounts/{AwsAccountId}/namespace/{Namespace}/iam-policy-assignments/{AssignmentName}",
1816	}
1817
1818	if input == nil {
1819		input = &DeleteIAMPolicyAssignmentInput{}
1820	}
1821
1822	output = &DeleteIAMPolicyAssignmentOutput{}
1823	req = c.newRequest(op, input, output)
1824	return
1825}
1826
1827// DeleteIAMPolicyAssignment API operation for Amazon QuickSight.
1828//
1829// Deletes an existing IAM policy assignment.
1830//
1831// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1832// with awserr.Error's Code and Message methods to get detailed information about
1833// the error.
1834//
1835// See the AWS API reference guide for Amazon QuickSight's
1836// API operation DeleteIAMPolicyAssignment for usage and error information.
1837//
1838// Returned Error Types:
1839//   * AccessDeniedException
1840//   You don't have access to this item. The provided credentials couldn't be
1841//   validated. You might not be authorized to carry out the request. Make sure
1842//   that your account is authorized to use the Amazon QuickSight service, that
1843//   your policies have the correct permissions, and that you are using the correct
1844//   access keys.
1845//
1846//   * InvalidParameterValueException
1847//   One or more parameters has a value that isn't valid.
1848//
1849//   * ResourceExistsException
1850//   The resource specified already exists.
1851//
1852//   * ResourceNotFoundException
1853//   One or more resources can't be found.
1854//
1855//   * ThrottlingException
1856//   Access is throttled.
1857//
1858//   * ConcurrentUpdatingException
1859//   A resource is already in a state that indicates an action is happening that
1860//   must complete before a new update can be applied.
1861//
1862//   * InternalFailureException
1863//   An internal failure occurred.
1864//
1865// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteIAMPolicyAssignment
1866func (c *QuickSight) DeleteIAMPolicyAssignment(input *DeleteIAMPolicyAssignmentInput) (*DeleteIAMPolicyAssignmentOutput, error) {
1867	req, out := c.DeleteIAMPolicyAssignmentRequest(input)
1868	return out, req.Send()
1869}
1870
1871// DeleteIAMPolicyAssignmentWithContext is the same as DeleteIAMPolicyAssignment with the addition of
1872// the ability to pass a context and additional request options.
1873//
1874// See DeleteIAMPolicyAssignment for details on how to use this API operation.
1875//
1876// The context must be non-nil and will be used for request cancellation. If
1877// the context is nil a panic will occur. In the future the SDK may create
1878// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1879// for more information on using Contexts.
1880func (c *QuickSight) DeleteIAMPolicyAssignmentWithContext(ctx aws.Context, input *DeleteIAMPolicyAssignmentInput, opts ...request.Option) (*DeleteIAMPolicyAssignmentOutput, error) {
1881	req, out := c.DeleteIAMPolicyAssignmentRequest(input)
1882	req.SetContext(ctx)
1883	req.ApplyOptions(opts...)
1884	return out, req.Send()
1885}
1886
1887const opDeleteTemplate = "DeleteTemplate"
1888
1889// DeleteTemplateRequest generates a "aws/request.Request" representing the
1890// client's request for the DeleteTemplate operation. The "output" return
1891// value will be populated with the request's response once the request completes
1892// successfully.
1893//
1894// Use "Send" method on the returned Request to send the API call to the service.
1895// the "output" return value is not valid until after Send returns without error.
1896//
1897// See DeleteTemplate for more information on using the DeleteTemplate
1898// API call, and error handling.
1899//
1900// This method is useful when you want to inject custom logic or configuration
1901// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1902//
1903//
1904//    // Example sending a request using the DeleteTemplateRequest method.
1905//    req, resp := client.DeleteTemplateRequest(params)
1906//
1907//    err := req.Send()
1908//    if err == nil { // resp is now filled
1909//        fmt.Println(resp)
1910//    }
1911//
1912// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplate
1913func (c *QuickSight) DeleteTemplateRequest(input *DeleteTemplateInput) (req *request.Request, output *DeleteTemplateOutput) {
1914	op := &request.Operation{
1915		Name:       opDeleteTemplate,
1916		HTTPMethod: "DELETE",
1917		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}",
1918	}
1919
1920	if input == nil {
1921		input = &DeleteTemplateInput{}
1922	}
1923
1924	output = &DeleteTemplateOutput{}
1925	req = c.newRequest(op, input, output)
1926	return
1927}
1928
1929// DeleteTemplate API operation for Amazon QuickSight.
1930//
1931// Deletes a template.
1932//
1933// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1934// with awserr.Error's Code and Message methods to get detailed information about
1935// the error.
1936//
1937// See the AWS API reference guide for Amazon QuickSight's
1938// API operation DeleteTemplate for usage and error information.
1939//
1940// Returned Error Types:
1941//   * InvalidParameterValueException
1942//   One or more parameters has a value that isn't valid.
1943//
1944//   * ResourceNotFoundException
1945//   One or more resources can't be found.
1946//
1947//   * ThrottlingException
1948//   Access is throttled.
1949//
1950//   * ConflictException
1951//   Updating or deleting a resource can cause an inconsistent state.
1952//
1953//   * LimitExceededException
1954//   A limit is exceeded.
1955//
1956//   * UnsupportedUserEditionException
1957//   This error indicates that you are calling an operation on an Amazon QuickSight
1958//   subscription where the edition doesn't include support for that operation.
1959//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
1960//   Not every operation and capability is available in every edition.
1961//
1962//   * InternalFailureException
1963//   An internal failure occurred.
1964//
1965// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplate
1966func (c *QuickSight) DeleteTemplate(input *DeleteTemplateInput) (*DeleteTemplateOutput, error) {
1967	req, out := c.DeleteTemplateRequest(input)
1968	return out, req.Send()
1969}
1970
1971// DeleteTemplateWithContext is the same as DeleteTemplate with the addition of
1972// the ability to pass a context and additional request options.
1973//
1974// See DeleteTemplate for details on how to use this API operation.
1975//
1976// The context must be non-nil and will be used for request cancellation. If
1977// the context is nil a panic will occur. In the future the SDK may create
1978// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1979// for more information on using Contexts.
1980func (c *QuickSight) DeleteTemplateWithContext(ctx aws.Context, input *DeleteTemplateInput, opts ...request.Option) (*DeleteTemplateOutput, error) {
1981	req, out := c.DeleteTemplateRequest(input)
1982	req.SetContext(ctx)
1983	req.ApplyOptions(opts...)
1984	return out, req.Send()
1985}
1986
1987const opDeleteTemplateAlias = "DeleteTemplateAlias"
1988
1989// DeleteTemplateAliasRequest generates a "aws/request.Request" representing the
1990// client's request for the DeleteTemplateAlias operation. The "output" return
1991// value will be populated with the request's response once the request completes
1992// successfully.
1993//
1994// Use "Send" method on the returned Request to send the API call to the service.
1995// the "output" return value is not valid until after Send returns without error.
1996//
1997// See DeleteTemplateAlias for more information on using the DeleteTemplateAlias
1998// API call, and error handling.
1999//
2000// This method is useful when you want to inject custom logic or configuration
2001// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2002//
2003//
2004//    // Example sending a request using the DeleteTemplateAliasRequest method.
2005//    req, resp := client.DeleteTemplateAliasRequest(params)
2006//
2007//    err := req.Send()
2008//    if err == nil { // resp is now filled
2009//        fmt.Println(resp)
2010//    }
2011//
2012// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplateAlias
2013func (c *QuickSight) DeleteTemplateAliasRequest(input *DeleteTemplateAliasInput) (req *request.Request, output *DeleteTemplateAliasOutput) {
2014	op := &request.Operation{
2015		Name:       opDeleteTemplateAlias,
2016		HTTPMethod: "DELETE",
2017		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
2018	}
2019
2020	if input == nil {
2021		input = &DeleteTemplateAliasInput{}
2022	}
2023
2024	output = &DeleteTemplateAliasOutput{}
2025	req = c.newRequest(op, input, output)
2026	return
2027}
2028
2029// DeleteTemplateAlias API operation for Amazon QuickSight.
2030//
2031// Deletes the item that the specified template alias points to. If you provide
2032// a specific alias, you delete the version of the template that the alias points
2033// to.
2034//
2035// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2036// with awserr.Error's Code and Message methods to get detailed information about
2037// the error.
2038//
2039// See the AWS API reference guide for Amazon QuickSight's
2040// API operation DeleteTemplateAlias for usage and error information.
2041//
2042// Returned Error Types:
2043//   * ThrottlingException
2044//   Access is throttled.
2045//
2046//   * ResourceNotFoundException
2047//   One or more resources can't be found.
2048//
2049//   * UnsupportedUserEditionException
2050//   This error indicates that you are calling an operation on an Amazon QuickSight
2051//   subscription where the edition doesn't include support for that operation.
2052//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
2053//   Not every operation and capability is available in every edition.
2054//
2055//   * ConflictException
2056//   Updating or deleting a resource can cause an inconsistent state.
2057//
2058//   * InternalFailureException
2059//   An internal failure occurred.
2060//
2061// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplateAlias
2062func (c *QuickSight) DeleteTemplateAlias(input *DeleteTemplateAliasInput) (*DeleteTemplateAliasOutput, error) {
2063	req, out := c.DeleteTemplateAliasRequest(input)
2064	return out, req.Send()
2065}
2066
2067// DeleteTemplateAliasWithContext is the same as DeleteTemplateAlias with the addition of
2068// the ability to pass a context and additional request options.
2069//
2070// See DeleteTemplateAlias for details on how to use this API operation.
2071//
2072// The context must be non-nil and will be used for request cancellation. If
2073// the context is nil a panic will occur. In the future the SDK may create
2074// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2075// for more information on using Contexts.
2076func (c *QuickSight) DeleteTemplateAliasWithContext(ctx aws.Context, input *DeleteTemplateAliasInput, opts ...request.Option) (*DeleteTemplateAliasOutput, error) {
2077	req, out := c.DeleteTemplateAliasRequest(input)
2078	req.SetContext(ctx)
2079	req.ApplyOptions(opts...)
2080	return out, req.Send()
2081}
2082
2083const opDeleteTheme = "DeleteTheme"
2084
2085// DeleteThemeRequest generates a "aws/request.Request" representing the
2086// client's request for the DeleteTheme operation. The "output" return
2087// value will be populated with the request's response once the request completes
2088// successfully.
2089//
2090// Use "Send" method on the returned Request to send the API call to the service.
2091// the "output" return value is not valid until after Send returns without error.
2092//
2093// See DeleteTheme for more information on using the DeleteTheme
2094// API call, and error handling.
2095//
2096// This method is useful when you want to inject custom logic or configuration
2097// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2098//
2099//
2100//    // Example sending a request using the DeleteThemeRequest method.
2101//    req, resp := client.DeleteThemeRequest(params)
2102//
2103//    err := req.Send()
2104//    if err == nil { // resp is now filled
2105//        fmt.Println(resp)
2106//    }
2107//
2108// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTheme
2109func (c *QuickSight) DeleteThemeRequest(input *DeleteThemeInput) (req *request.Request, output *DeleteThemeOutput) {
2110	op := &request.Operation{
2111		Name:       opDeleteTheme,
2112		HTTPMethod: "DELETE",
2113		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}",
2114	}
2115
2116	if input == nil {
2117		input = &DeleteThemeInput{}
2118	}
2119
2120	output = &DeleteThemeOutput{}
2121	req = c.newRequest(op, input, output)
2122	return
2123}
2124
2125// DeleteTheme API operation for Amazon QuickSight.
2126//
2127// Deletes a theme.
2128//
2129// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2130// with awserr.Error's Code and Message methods to get detailed information about
2131// the error.
2132//
2133// See the AWS API reference guide for Amazon QuickSight's
2134// API operation DeleteTheme for usage and error information.
2135//
2136// Returned Error Types:
2137//   * AccessDeniedException
2138//   You don't have access to this item. The provided credentials couldn't be
2139//   validated. You might not be authorized to carry out the request. Make sure
2140//   that your account is authorized to use the Amazon QuickSight service, that
2141//   your policies have the correct permissions, and that you are using the correct
2142//   access keys.
2143//
2144//   * ConflictException
2145//   Updating or deleting a resource can cause an inconsistent state.
2146//
2147//   * InvalidParameterValueException
2148//   One or more parameters has a value that isn't valid.
2149//
2150//   * ResourceNotFoundException
2151//   One or more resources can't be found.
2152//
2153//   * ThrottlingException
2154//   Access is throttled.
2155//
2156//   * UnsupportedUserEditionException
2157//   This error indicates that you are calling an operation on an Amazon QuickSight
2158//   subscription where the edition doesn't include support for that operation.
2159//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
2160//   Not every operation and capability is available in every edition.
2161//
2162//   * InternalFailureException
2163//   An internal failure occurred.
2164//
2165// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTheme
2166func (c *QuickSight) DeleteTheme(input *DeleteThemeInput) (*DeleteThemeOutput, error) {
2167	req, out := c.DeleteThemeRequest(input)
2168	return out, req.Send()
2169}
2170
2171// DeleteThemeWithContext is the same as DeleteTheme with the addition of
2172// the ability to pass a context and additional request options.
2173//
2174// See DeleteTheme for details on how to use this API operation.
2175//
2176// The context must be non-nil and will be used for request cancellation. If
2177// the context is nil a panic will occur. In the future the SDK may create
2178// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2179// for more information on using Contexts.
2180func (c *QuickSight) DeleteThemeWithContext(ctx aws.Context, input *DeleteThemeInput, opts ...request.Option) (*DeleteThemeOutput, error) {
2181	req, out := c.DeleteThemeRequest(input)
2182	req.SetContext(ctx)
2183	req.ApplyOptions(opts...)
2184	return out, req.Send()
2185}
2186
2187const opDeleteThemeAlias = "DeleteThemeAlias"
2188
2189// DeleteThemeAliasRequest generates a "aws/request.Request" representing the
2190// client's request for the DeleteThemeAlias operation. The "output" return
2191// value will be populated with the request's response once the request completes
2192// successfully.
2193//
2194// Use "Send" method on the returned Request to send the API call to the service.
2195// the "output" return value is not valid until after Send returns without error.
2196//
2197// See DeleteThemeAlias for more information on using the DeleteThemeAlias
2198// API call, and error handling.
2199//
2200// This method is useful when you want to inject custom logic or configuration
2201// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2202//
2203//
2204//    // Example sending a request using the DeleteThemeAliasRequest method.
2205//    req, resp := client.DeleteThemeAliasRequest(params)
2206//
2207//    err := req.Send()
2208//    if err == nil { // resp is now filled
2209//        fmt.Println(resp)
2210//    }
2211//
2212// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteThemeAlias
2213func (c *QuickSight) DeleteThemeAliasRequest(input *DeleteThemeAliasInput) (req *request.Request, output *DeleteThemeAliasOutput) {
2214	op := &request.Operation{
2215		Name:       opDeleteThemeAlias,
2216		HTTPMethod: "DELETE",
2217		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}",
2218	}
2219
2220	if input == nil {
2221		input = &DeleteThemeAliasInput{}
2222	}
2223
2224	output = &DeleteThemeAliasOutput{}
2225	req = c.newRequest(op, input, output)
2226	return
2227}
2228
2229// DeleteThemeAlias API operation for Amazon QuickSight.
2230//
2231// Deletes the version of the theme that the specified theme alias points to.
2232// If you provide a specific alias, you delete the version of the theme that
2233// the alias points to.
2234//
2235// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2236// with awserr.Error's Code and Message methods to get detailed information about
2237// the error.
2238//
2239// See the AWS API reference guide for Amazon QuickSight's
2240// API operation DeleteThemeAlias for usage and error information.
2241//
2242// Returned Error Types:
2243//   * ConflictException
2244//   Updating or deleting a resource can cause an inconsistent state.
2245//
2246//   * InvalidParameterValueException
2247//   One or more parameters has a value that isn't valid.
2248//
2249//   * ResourceNotFoundException
2250//   One or more resources can't be found.
2251//
2252//   * ThrottlingException
2253//   Access is throttled.
2254//
2255//   * UnsupportedUserEditionException
2256//   This error indicates that you are calling an operation on an Amazon QuickSight
2257//   subscription where the edition doesn't include support for that operation.
2258//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
2259//   Not every operation and capability is available in every edition.
2260//
2261//   * InternalFailureException
2262//   An internal failure occurred.
2263//
2264// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteThemeAlias
2265func (c *QuickSight) DeleteThemeAlias(input *DeleteThemeAliasInput) (*DeleteThemeAliasOutput, error) {
2266	req, out := c.DeleteThemeAliasRequest(input)
2267	return out, req.Send()
2268}
2269
2270// DeleteThemeAliasWithContext is the same as DeleteThemeAlias with the addition of
2271// the ability to pass a context and additional request options.
2272//
2273// See DeleteThemeAlias for details on how to use this API operation.
2274//
2275// The context must be non-nil and will be used for request cancellation. If
2276// the context is nil a panic will occur. In the future the SDK may create
2277// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2278// for more information on using Contexts.
2279func (c *QuickSight) DeleteThemeAliasWithContext(ctx aws.Context, input *DeleteThemeAliasInput, opts ...request.Option) (*DeleteThemeAliasOutput, error) {
2280	req, out := c.DeleteThemeAliasRequest(input)
2281	req.SetContext(ctx)
2282	req.ApplyOptions(opts...)
2283	return out, req.Send()
2284}
2285
2286const opDeleteUser = "DeleteUser"
2287
2288// DeleteUserRequest generates a "aws/request.Request" representing the
2289// client's request for the DeleteUser operation. The "output" return
2290// value will be populated with the request's response once the request completes
2291// successfully.
2292//
2293// Use "Send" method on the returned Request to send the API call to the service.
2294// the "output" return value is not valid until after Send returns without error.
2295//
2296// See DeleteUser for more information on using the DeleteUser
2297// API call, and error handling.
2298//
2299// This method is useful when you want to inject custom logic or configuration
2300// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2301//
2302//
2303//    // Example sending a request using the DeleteUserRequest method.
2304//    req, resp := client.DeleteUserRequest(params)
2305//
2306//    err := req.Send()
2307//    if err == nil { // resp is now filled
2308//        fmt.Println(resp)
2309//    }
2310//
2311// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUser
2312func (c *QuickSight) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) {
2313	op := &request.Operation{
2314		Name:       opDeleteUser,
2315		HTTPMethod: "DELETE",
2316		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}",
2317	}
2318
2319	if input == nil {
2320		input = &DeleteUserInput{}
2321	}
2322
2323	output = &DeleteUserOutput{}
2324	req = c.newRequest(op, input, output)
2325	return
2326}
2327
2328// DeleteUser API operation for Amazon QuickSight.
2329//
2330// Deletes the Amazon QuickSight user that is associated with the identity of
2331// the AWS Identity and Access Management (IAM) user or role that's making the
2332// call. The IAM user isn't deleted as a result of this call.
2333//
2334// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2335// with awserr.Error's Code and Message methods to get detailed information about
2336// the error.
2337//
2338// See the AWS API reference guide for Amazon QuickSight's
2339// API operation DeleteUser for usage and error information.
2340//
2341// Returned Error Types:
2342//   * AccessDeniedException
2343//   You don't have access to this item. The provided credentials couldn't be
2344//   validated. You might not be authorized to carry out the request. Make sure
2345//   that your account is authorized to use the Amazon QuickSight service, that
2346//   your policies have the correct permissions, and that you are using the correct
2347//   access keys.
2348//
2349//   * InvalidParameterValueException
2350//   One or more parameters has a value that isn't valid.
2351//
2352//   * ResourceNotFoundException
2353//   One or more resources can't be found.
2354//
2355//   * ThrottlingException
2356//   Access is throttled.
2357//
2358//   * InternalFailureException
2359//   An internal failure occurred.
2360//
2361//   * ResourceUnavailableException
2362//   This resource is currently unavailable.
2363//
2364// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUser
2365func (c *QuickSight) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) {
2366	req, out := c.DeleteUserRequest(input)
2367	return out, req.Send()
2368}
2369
2370// DeleteUserWithContext is the same as DeleteUser with the addition of
2371// the ability to pass a context and additional request options.
2372//
2373// See DeleteUser for details on how to use this API operation.
2374//
2375// The context must be non-nil and will be used for request cancellation. If
2376// the context is nil a panic will occur. In the future the SDK may create
2377// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2378// for more information on using Contexts.
2379func (c *QuickSight) DeleteUserWithContext(ctx aws.Context, input *DeleteUserInput, opts ...request.Option) (*DeleteUserOutput, error) {
2380	req, out := c.DeleteUserRequest(input)
2381	req.SetContext(ctx)
2382	req.ApplyOptions(opts...)
2383	return out, req.Send()
2384}
2385
2386const opDeleteUserByPrincipalId = "DeleteUserByPrincipalId"
2387
2388// DeleteUserByPrincipalIdRequest generates a "aws/request.Request" representing the
2389// client's request for the DeleteUserByPrincipalId operation. The "output" return
2390// value will be populated with the request's response once the request completes
2391// successfully.
2392//
2393// Use "Send" method on the returned Request to send the API call to the service.
2394// the "output" return value is not valid until after Send returns without error.
2395//
2396// See DeleteUserByPrincipalId for more information on using the DeleteUserByPrincipalId
2397// API call, and error handling.
2398//
2399// This method is useful when you want to inject custom logic or configuration
2400// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2401//
2402//
2403//    // Example sending a request using the DeleteUserByPrincipalIdRequest method.
2404//    req, resp := client.DeleteUserByPrincipalIdRequest(params)
2405//
2406//    err := req.Send()
2407//    if err == nil { // resp is now filled
2408//        fmt.Println(resp)
2409//    }
2410//
2411// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUserByPrincipalId
2412func (c *QuickSight) DeleteUserByPrincipalIdRequest(input *DeleteUserByPrincipalIdInput) (req *request.Request, output *DeleteUserByPrincipalIdOutput) {
2413	op := &request.Operation{
2414		Name:       opDeleteUserByPrincipalId,
2415		HTTPMethod: "DELETE",
2416		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/user-principals/{PrincipalId}",
2417	}
2418
2419	if input == nil {
2420		input = &DeleteUserByPrincipalIdInput{}
2421	}
2422
2423	output = &DeleteUserByPrincipalIdOutput{}
2424	req = c.newRequest(op, input, output)
2425	return
2426}
2427
2428// DeleteUserByPrincipalId API operation for Amazon QuickSight.
2429//
2430// Deletes a user identified by its principal ID.
2431//
2432// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2433// with awserr.Error's Code and Message methods to get detailed information about
2434// the error.
2435//
2436// See the AWS API reference guide for Amazon QuickSight's
2437// API operation DeleteUserByPrincipalId for usage and error information.
2438//
2439// Returned Error Types:
2440//   * AccessDeniedException
2441//   You don't have access to this item. The provided credentials couldn't be
2442//   validated. You might not be authorized to carry out the request. Make sure
2443//   that your account is authorized to use the Amazon QuickSight service, that
2444//   your policies have the correct permissions, and that you are using the correct
2445//   access keys.
2446//
2447//   * InvalidParameterValueException
2448//   One or more parameters has a value that isn't valid.
2449//
2450//   * ResourceNotFoundException
2451//   One or more resources can't be found.
2452//
2453//   * ThrottlingException
2454//   Access is throttled.
2455//
2456//   * InternalFailureException
2457//   An internal failure occurred.
2458//
2459//   * ResourceUnavailableException
2460//   This resource is currently unavailable.
2461//
2462// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUserByPrincipalId
2463func (c *QuickSight) DeleteUserByPrincipalId(input *DeleteUserByPrincipalIdInput) (*DeleteUserByPrincipalIdOutput, error) {
2464	req, out := c.DeleteUserByPrincipalIdRequest(input)
2465	return out, req.Send()
2466}
2467
2468// DeleteUserByPrincipalIdWithContext is the same as DeleteUserByPrincipalId with the addition of
2469// the ability to pass a context and additional request options.
2470//
2471// See DeleteUserByPrincipalId for details on how to use this API operation.
2472//
2473// The context must be non-nil and will be used for request cancellation. If
2474// the context is nil a panic will occur. In the future the SDK may create
2475// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2476// for more information on using Contexts.
2477func (c *QuickSight) DeleteUserByPrincipalIdWithContext(ctx aws.Context, input *DeleteUserByPrincipalIdInput, opts ...request.Option) (*DeleteUserByPrincipalIdOutput, error) {
2478	req, out := c.DeleteUserByPrincipalIdRequest(input)
2479	req.SetContext(ctx)
2480	req.ApplyOptions(opts...)
2481	return out, req.Send()
2482}
2483
2484const opDescribeDashboard = "DescribeDashboard"
2485
2486// DescribeDashboardRequest generates a "aws/request.Request" representing the
2487// client's request for the DescribeDashboard operation. The "output" return
2488// value will be populated with the request's response once the request completes
2489// successfully.
2490//
2491// Use "Send" method on the returned Request to send the API call to the service.
2492// the "output" return value is not valid until after Send returns without error.
2493//
2494// See DescribeDashboard for more information on using the DescribeDashboard
2495// API call, and error handling.
2496//
2497// This method is useful when you want to inject custom logic or configuration
2498// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2499//
2500//
2501//    // Example sending a request using the DescribeDashboardRequest method.
2502//    req, resp := client.DescribeDashboardRequest(params)
2503//
2504//    err := req.Send()
2505//    if err == nil { // resp is now filled
2506//        fmt.Println(resp)
2507//    }
2508//
2509// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboard
2510func (c *QuickSight) DescribeDashboardRequest(input *DescribeDashboardInput) (req *request.Request, output *DescribeDashboardOutput) {
2511	op := &request.Operation{
2512		Name:       opDescribeDashboard,
2513		HTTPMethod: "GET",
2514		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
2515	}
2516
2517	if input == nil {
2518		input = &DescribeDashboardInput{}
2519	}
2520
2521	output = &DescribeDashboardOutput{}
2522	req = c.newRequest(op, input, output)
2523	return
2524}
2525
2526// DescribeDashboard API operation for Amazon QuickSight.
2527//
2528// Provides a summary for a dashboard.
2529//
2530// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2531// with awserr.Error's Code and Message methods to get detailed information about
2532// the error.
2533//
2534// See the AWS API reference guide for Amazon QuickSight's
2535// API operation DescribeDashboard for usage and error information.
2536//
2537// Returned Error Types:
2538//   * InvalidParameterValueException
2539//   One or more parameters has a value that isn't valid.
2540//
2541//   * ResourceNotFoundException
2542//   One or more resources can't be found.
2543//
2544//   * AccessDeniedException
2545//   You don't have access to this item. The provided credentials couldn't be
2546//   validated. You might not be authorized to carry out the request. Make sure
2547//   that your account is authorized to use the Amazon QuickSight service, that
2548//   your policies have the correct permissions, and that you are using the correct
2549//   access keys.
2550//
2551//   * ThrottlingException
2552//   Access is throttled.
2553//
2554//   * UnsupportedUserEditionException
2555//   This error indicates that you are calling an operation on an Amazon QuickSight
2556//   subscription where the edition doesn't include support for that operation.
2557//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
2558//   Not every operation and capability is available in every edition.
2559//
2560//   * InternalFailureException
2561//   An internal failure occurred.
2562//
2563// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboard
2564func (c *QuickSight) DescribeDashboard(input *DescribeDashboardInput) (*DescribeDashboardOutput, error) {
2565	req, out := c.DescribeDashboardRequest(input)
2566	return out, req.Send()
2567}
2568
2569// DescribeDashboardWithContext is the same as DescribeDashboard with the addition of
2570// the ability to pass a context and additional request options.
2571//
2572// See DescribeDashboard for details on how to use this API operation.
2573//
2574// The context must be non-nil and will be used for request cancellation. If
2575// the context is nil a panic will occur. In the future the SDK may create
2576// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2577// for more information on using Contexts.
2578func (c *QuickSight) DescribeDashboardWithContext(ctx aws.Context, input *DescribeDashboardInput, opts ...request.Option) (*DescribeDashboardOutput, error) {
2579	req, out := c.DescribeDashboardRequest(input)
2580	req.SetContext(ctx)
2581	req.ApplyOptions(opts...)
2582	return out, req.Send()
2583}
2584
2585const opDescribeDashboardPermissions = "DescribeDashboardPermissions"
2586
2587// DescribeDashboardPermissionsRequest generates a "aws/request.Request" representing the
2588// client's request for the DescribeDashboardPermissions operation. The "output" return
2589// value will be populated with the request's response once the request completes
2590// successfully.
2591//
2592// Use "Send" method on the returned Request to send the API call to the service.
2593// the "output" return value is not valid until after Send returns without error.
2594//
2595// See DescribeDashboardPermissions for more information on using the DescribeDashboardPermissions
2596// API call, and error handling.
2597//
2598// This method is useful when you want to inject custom logic or configuration
2599// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2600//
2601//
2602//    // Example sending a request using the DescribeDashboardPermissionsRequest method.
2603//    req, resp := client.DescribeDashboardPermissionsRequest(params)
2604//
2605//    err := req.Send()
2606//    if err == nil { // resp is now filled
2607//        fmt.Println(resp)
2608//    }
2609//
2610// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboardPermissions
2611func (c *QuickSight) DescribeDashboardPermissionsRequest(input *DescribeDashboardPermissionsInput) (req *request.Request, output *DescribeDashboardPermissionsOutput) {
2612	op := &request.Operation{
2613		Name:       opDescribeDashboardPermissions,
2614		HTTPMethod: "GET",
2615		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions",
2616	}
2617
2618	if input == nil {
2619		input = &DescribeDashboardPermissionsInput{}
2620	}
2621
2622	output = &DescribeDashboardPermissionsOutput{}
2623	req = c.newRequest(op, input, output)
2624	return
2625}
2626
2627// DescribeDashboardPermissions API operation for Amazon QuickSight.
2628//
2629// Describes read and write permissions for a dashboard.
2630//
2631// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2632// with awserr.Error's Code and Message methods to get detailed information about
2633// the error.
2634//
2635// See the AWS API reference guide for Amazon QuickSight's
2636// API operation DescribeDashboardPermissions for usage and error information.
2637//
2638// Returned Error Types:
2639//   * InvalidParameterValueException
2640//   One or more parameters has a value that isn't valid.
2641//
2642//   * ResourceNotFoundException
2643//   One or more resources can't be found.
2644//
2645//   * ThrottlingException
2646//   Access is throttled.
2647//
2648//   * UnsupportedUserEditionException
2649//   This error indicates that you are calling an operation on an Amazon QuickSight
2650//   subscription where the edition doesn't include support for that operation.
2651//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
2652//   Not every operation and capability is available in every edition.
2653//
2654//   * InternalFailureException
2655//   An internal failure occurred.
2656//
2657// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboardPermissions
2658func (c *QuickSight) DescribeDashboardPermissions(input *DescribeDashboardPermissionsInput) (*DescribeDashboardPermissionsOutput, error) {
2659	req, out := c.DescribeDashboardPermissionsRequest(input)
2660	return out, req.Send()
2661}
2662
2663// DescribeDashboardPermissionsWithContext is the same as DescribeDashboardPermissions with the addition of
2664// the ability to pass a context and additional request options.
2665//
2666// See DescribeDashboardPermissions for details on how to use this API operation.
2667//
2668// The context must be non-nil and will be used for request cancellation. If
2669// the context is nil a panic will occur. In the future the SDK may create
2670// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2671// for more information on using Contexts.
2672func (c *QuickSight) DescribeDashboardPermissionsWithContext(ctx aws.Context, input *DescribeDashboardPermissionsInput, opts ...request.Option) (*DescribeDashboardPermissionsOutput, error) {
2673	req, out := c.DescribeDashboardPermissionsRequest(input)
2674	req.SetContext(ctx)
2675	req.ApplyOptions(opts...)
2676	return out, req.Send()
2677}
2678
2679const opDescribeDataSet = "DescribeDataSet"
2680
2681// DescribeDataSetRequest generates a "aws/request.Request" representing the
2682// client's request for the DescribeDataSet operation. The "output" return
2683// value will be populated with the request's response once the request completes
2684// successfully.
2685//
2686// Use "Send" method on the returned Request to send the API call to the service.
2687// the "output" return value is not valid until after Send returns without error.
2688//
2689// See DescribeDataSet for more information on using the DescribeDataSet
2690// API call, and error handling.
2691//
2692// This method is useful when you want to inject custom logic or configuration
2693// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2694//
2695//
2696//    // Example sending a request using the DescribeDataSetRequest method.
2697//    req, resp := client.DescribeDataSetRequest(params)
2698//
2699//    err := req.Send()
2700//    if err == nil { // resp is now filled
2701//        fmt.Println(resp)
2702//    }
2703//
2704// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSet
2705func (c *QuickSight) DescribeDataSetRequest(input *DescribeDataSetInput) (req *request.Request, output *DescribeDataSetOutput) {
2706	op := &request.Operation{
2707		Name:       opDescribeDataSet,
2708		HTTPMethod: "GET",
2709		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}",
2710	}
2711
2712	if input == nil {
2713		input = &DescribeDataSetInput{}
2714	}
2715
2716	output = &DescribeDataSetOutput{}
2717	req = c.newRequest(op, input, output)
2718	return
2719}
2720
2721// DescribeDataSet API operation for Amazon QuickSight.
2722//
2723// Describes a dataset.
2724//
2725// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2726// with awserr.Error's Code and Message methods to get detailed information about
2727// the error.
2728//
2729// See the AWS API reference guide for Amazon QuickSight's
2730// API operation DescribeDataSet for usage and error information.
2731//
2732// Returned Error Types:
2733//   * AccessDeniedException
2734//   You don't have access to this item. The provided credentials couldn't be
2735//   validated. You might not be authorized to carry out the request. Make sure
2736//   that your account is authorized to use the Amazon QuickSight service, that
2737//   your policies have the correct permissions, and that you are using the correct
2738//   access keys.
2739//
2740//   * InvalidParameterValueException
2741//   One or more parameters has a value that isn't valid.
2742//
2743//   * ThrottlingException
2744//   Access is throttled.
2745//
2746//   * ResourceNotFoundException
2747//   One or more resources can't be found.
2748//
2749//   * InternalFailureException
2750//   An internal failure occurred.
2751//
2752// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSet
2753func (c *QuickSight) DescribeDataSet(input *DescribeDataSetInput) (*DescribeDataSetOutput, error) {
2754	req, out := c.DescribeDataSetRequest(input)
2755	return out, req.Send()
2756}
2757
2758// DescribeDataSetWithContext is the same as DescribeDataSet with the addition of
2759// the ability to pass a context and additional request options.
2760//
2761// See DescribeDataSet for details on how to use this API operation.
2762//
2763// The context must be non-nil and will be used for request cancellation. If
2764// the context is nil a panic will occur. In the future the SDK may create
2765// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2766// for more information on using Contexts.
2767func (c *QuickSight) DescribeDataSetWithContext(ctx aws.Context, input *DescribeDataSetInput, opts ...request.Option) (*DescribeDataSetOutput, error) {
2768	req, out := c.DescribeDataSetRequest(input)
2769	req.SetContext(ctx)
2770	req.ApplyOptions(opts...)
2771	return out, req.Send()
2772}
2773
2774const opDescribeDataSetPermissions = "DescribeDataSetPermissions"
2775
2776// DescribeDataSetPermissionsRequest generates a "aws/request.Request" representing the
2777// client's request for the DescribeDataSetPermissions operation. The "output" return
2778// value will be populated with the request's response once the request completes
2779// successfully.
2780//
2781// Use "Send" method on the returned Request to send the API call to the service.
2782// the "output" return value is not valid until after Send returns without error.
2783//
2784// See DescribeDataSetPermissions for more information on using the DescribeDataSetPermissions
2785// API call, and error handling.
2786//
2787// This method is useful when you want to inject custom logic or configuration
2788// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2789//
2790//
2791//    // Example sending a request using the DescribeDataSetPermissionsRequest method.
2792//    req, resp := client.DescribeDataSetPermissionsRequest(params)
2793//
2794//    err := req.Send()
2795//    if err == nil { // resp is now filled
2796//        fmt.Println(resp)
2797//    }
2798//
2799// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSetPermissions
2800func (c *QuickSight) DescribeDataSetPermissionsRequest(input *DescribeDataSetPermissionsInput) (req *request.Request, output *DescribeDataSetPermissionsOutput) {
2801	op := &request.Operation{
2802		Name:       opDescribeDataSetPermissions,
2803		HTTPMethod: "GET",
2804		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions",
2805	}
2806
2807	if input == nil {
2808		input = &DescribeDataSetPermissionsInput{}
2809	}
2810
2811	output = &DescribeDataSetPermissionsOutput{}
2812	req = c.newRequest(op, input, output)
2813	return
2814}
2815
2816// DescribeDataSetPermissions API operation for Amazon QuickSight.
2817//
2818// Describes the permissions on a dataset.
2819//
2820// The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/data-set-id.
2821//
2822// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2823// with awserr.Error's Code and Message methods to get detailed information about
2824// the error.
2825//
2826// See the AWS API reference guide for Amazon QuickSight's
2827// API operation DescribeDataSetPermissions for usage and error information.
2828//
2829// Returned Error Types:
2830//   * AccessDeniedException
2831//   You don't have access to this item. The provided credentials couldn't be
2832//   validated. You might not be authorized to carry out the request. Make sure
2833//   that your account is authorized to use the Amazon QuickSight service, that
2834//   your policies have the correct permissions, and that you are using the correct
2835//   access keys.
2836//
2837//   * InvalidParameterValueException
2838//   One or more parameters has a value that isn't valid.
2839//
2840//   * ThrottlingException
2841//   Access is throttled.
2842//
2843//   * ResourceNotFoundException
2844//   One or more resources can't be found.
2845//
2846//   * InternalFailureException
2847//   An internal failure occurred.
2848//
2849// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSetPermissions
2850func (c *QuickSight) DescribeDataSetPermissions(input *DescribeDataSetPermissionsInput) (*DescribeDataSetPermissionsOutput, error) {
2851	req, out := c.DescribeDataSetPermissionsRequest(input)
2852	return out, req.Send()
2853}
2854
2855// DescribeDataSetPermissionsWithContext is the same as DescribeDataSetPermissions with the addition of
2856// the ability to pass a context and additional request options.
2857//
2858// See DescribeDataSetPermissions for details on how to use this API operation.
2859//
2860// The context must be non-nil and will be used for request cancellation. If
2861// the context is nil a panic will occur. In the future the SDK may create
2862// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2863// for more information on using Contexts.
2864func (c *QuickSight) DescribeDataSetPermissionsWithContext(ctx aws.Context, input *DescribeDataSetPermissionsInput, opts ...request.Option) (*DescribeDataSetPermissionsOutput, error) {
2865	req, out := c.DescribeDataSetPermissionsRequest(input)
2866	req.SetContext(ctx)
2867	req.ApplyOptions(opts...)
2868	return out, req.Send()
2869}
2870
2871const opDescribeDataSource = "DescribeDataSource"
2872
2873// DescribeDataSourceRequest generates a "aws/request.Request" representing the
2874// client's request for the DescribeDataSource operation. The "output" return
2875// value will be populated with the request's response once the request completes
2876// successfully.
2877//
2878// Use "Send" method on the returned Request to send the API call to the service.
2879// the "output" return value is not valid until after Send returns without error.
2880//
2881// See DescribeDataSource for more information on using the DescribeDataSource
2882// API call, and error handling.
2883//
2884// This method is useful when you want to inject custom logic or configuration
2885// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2886//
2887//
2888//    // Example sending a request using the DescribeDataSourceRequest method.
2889//    req, resp := client.DescribeDataSourceRequest(params)
2890//
2891//    err := req.Send()
2892//    if err == nil { // resp is now filled
2893//        fmt.Println(resp)
2894//    }
2895//
2896// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSource
2897func (c *QuickSight) DescribeDataSourceRequest(input *DescribeDataSourceInput) (req *request.Request, output *DescribeDataSourceOutput) {
2898	op := &request.Operation{
2899		Name:       opDescribeDataSource,
2900		HTTPMethod: "GET",
2901		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}",
2902	}
2903
2904	if input == nil {
2905		input = &DescribeDataSourceInput{}
2906	}
2907
2908	output = &DescribeDataSourceOutput{}
2909	req = c.newRequest(op, input, output)
2910	return
2911}
2912
2913// DescribeDataSource API operation for Amazon QuickSight.
2914//
2915// Describes a data source.
2916//
2917// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2918// with awserr.Error's Code and Message methods to get detailed information about
2919// the error.
2920//
2921// See the AWS API reference guide for Amazon QuickSight's
2922// API operation DescribeDataSource for usage and error information.
2923//
2924// Returned Error Types:
2925//   * AccessDeniedException
2926//   You don't have access to this item. The provided credentials couldn't be
2927//   validated. You might not be authorized to carry out the request. Make sure
2928//   that your account is authorized to use the Amazon QuickSight service, that
2929//   your policies have the correct permissions, and that you are using the correct
2930//   access keys.
2931//
2932//   * InvalidParameterValueException
2933//   One or more parameters has a value that isn't valid.
2934//
2935//   * ThrottlingException
2936//   Access is throttled.
2937//
2938//   * ResourceNotFoundException
2939//   One or more resources can't be found.
2940//
2941//   * InternalFailureException
2942//   An internal failure occurred.
2943//
2944// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSource
2945func (c *QuickSight) DescribeDataSource(input *DescribeDataSourceInput) (*DescribeDataSourceOutput, error) {
2946	req, out := c.DescribeDataSourceRequest(input)
2947	return out, req.Send()
2948}
2949
2950// DescribeDataSourceWithContext is the same as DescribeDataSource with the addition of
2951// the ability to pass a context and additional request options.
2952//
2953// See DescribeDataSource for details on how to use this API operation.
2954//
2955// The context must be non-nil and will be used for request cancellation. If
2956// the context is nil a panic will occur. In the future the SDK may create
2957// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2958// for more information on using Contexts.
2959func (c *QuickSight) DescribeDataSourceWithContext(ctx aws.Context, input *DescribeDataSourceInput, opts ...request.Option) (*DescribeDataSourceOutput, error) {
2960	req, out := c.DescribeDataSourceRequest(input)
2961	req.SetContext(ctx)
2962	req.ApplyOptions(opts...)
2963	return out, req.Send()
2964}
2965
2966const opDescribeDataSourcePermissions = "DescribeDataSourcePermissions"
2967
2968// DescribeDataSourcePermissionsRequest generates a "aws/request.Request" representing the
2969// client's request for the DescribeDataSourcePermissions operation. The "output" return
2970// value will be populated with the request's response once the request completes
2971// successfully.
2972//
2973// Use "Send" method on the returned Request to send the API call to the service.
2974// the "output" return value is not valid until after Send returns without error.
2975//
2976// See DescribeDataSourcePermissions for more information on using the DescribeDataSourcePermissions
2977// API call, and error handling.
2978//
2979// This method is useful when you want to inject custom logic or configuration
2980// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2981//
2982//
2983//    // Example sending a request using the DescribeDataSourcePermissionsRequest method.
2984//    req, resp := client.DescribeDataSourcePermissionsRequest(params)
2985//
2986//    err := req.Send()
2987//    if err == nil { // resp is now filled
2988//        fmt.Println(resp)
2989//    }
2990//
2991// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSourcePermissions
2992func (c *QuickSight) DescribeDataSourcePermissionsRequest(input *DescribeDataSourcePermissionsInput) (req *request.Request, output *DescribeDataSourcePermissionsOutput) {
2993	op := &request.Operation{
2994		Name:       opDescribeDataSourcePermissions,
2995		HTTPMethod: "GET",
2996		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions",
2997	}
2998
2999	if input == nil {
3000		input = &DescribeDataSourcePermissionsInput{}
3001	}
3002
3003	output = &DescribeDataSourcePermissionsOutput{}
3004	req = c.newRequest(op, input, output)
3005	return
3006}
3007
3008// DescribeDataSourcePermissions API operation for Amazon QuickSight.
3009//
3010// Describes the resource permissions for a data source.
3011//
3012// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3013// with awserr.Error's Code and Message methods to get detailed information about
3014// the error.
3015//
3016// See the AWS API reference guide for Amazon QuickSight's
3017// API operation DescribeDataSourcePermissions for usage and error information.
3018//
3019// Returned Error Types:
3020//   * AccessDeniedException
3021//   You don't have access to this item. The provided credentials couldn't be
3022//   validated. You might not be authorized to carry out the request. Make sure
3023//   that your account is authorized to use the Amazon QuickSight service, that
3024//   your policies have the correct permissions, and that you are using the correct
3025//   access keys.
3026//
3027//   * InvalidParameterValueException
3028//   One or more parameters has a value that isn't valid.
3029//
3030//   * ThrottlingException
3031//   Access is throttled.
3032//
3033//   * ResourceNotFoundException
3034//   One or more resources can't be found.
3035//
3036//   * InternalFailureException
3037//   An internal failure occurred.
3038//
3039// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSourcePermissions
3040func (c *QuickSight) DescribeDataSourcePermissions(input *DescribeDataSourcePermissionsInput) (*DescribeDataSourcePermissionsOutput, error) {
3041	req, out := c.DescribeDataSourcePermissionsRequest(input)
3042	return out, req.Send()
3043}
3044
3045// DescribeDataSourcePermissionsWithContext is the same as DescribeDataSourcePermissions with the addition of
3046// the ability to pass a context and additional request options.
3047//
3048// See DescribeDataSourcePermissions for details on how to use this API operation.
3049//
3050// The context must be non-nil and will be used for request cancellation. If
3051// the context is nil a panic will occur. In the future the SDK may create
3052// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3053// for more information on using Contexts.
3054func (c *QuickSight) DescribeDataSourcePermissionsWithContext(ctx aws.Context, input *DescribeDataSourcePermissionsInput, opts ...request.Option) (*DescribeDataSourcePermissionsOutput, error) {
3055	req, out := c.DescribeDataSourcePermissionsRequest(input)
3056	req.SetContext(ctx)
3057	req.ApplyOptions(opts...)
3058	return out, req.Send()
3059}
3060
3061const opDescribeGroup = "DescribeGroup"
3062
3063// DescribeGroupRequest generates a "aws/request.Request" representing the
3064// client's request for the DescribeGroup operation. The "output" return
3065// value will be populated with the request's response once the request completes
3066// successfully.
3067//
3068// Use "Send" method on the returned Request to send the API call to the service.
3069// the "output" return value is not valid until after Send returns without error.
3070//
3071// See DescribeGroup for more information on using the DescribeGroup
3072// API call, and error handling.
3073//
3074// This method is useful when you want to inject custom logic or configuration
3075// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3076//
3077//
3078//    // Example sending a request using the DescribeGroupRequest method.
3079//    req, resp := client.DescribeGroupRequest(params)
3080//
3081//    err := req.Send()
3082//    if err == nil { // resp is now filled
3083//        fmt.Println(resp)
3084//    }
3085//
3086// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeGroup
3087func (c *QuickSight) DescribeGroupRequest(input *DescribeGroupInput) (req *request.Request, output *DescribeGroupOutput) {
3088	op := &request.Operation{
3089		Name:       opDescribeGroup,
3090		HTTPMethod: "GET",
3091		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}",
3092	}
3093
3094	if input == nil {
3095		input = &DescribeGroupInput{}
3096	}
3097
3098	output = &DescribeGroupOutput{}
3099	req = c.newRequest(op, input, output)
3100	return
3101}
3102
3103// DescribeGroup API operation for Amazon QuickSight.
3104//
3105// Returns an Amazon QuickSight group's description and Amazon Resource Name
3106// (ARN).
3107//
3108// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3109// with awserr.Error's Code and Message methods to get detailed information about
3110// the error.
3111//
3112// See the AWS API reference guide for Amazon QuickSight's
3113// API operation DescribeGroup for usage and error information.
3114//
3115// Returned Error Types:
3116//   * AccessDeniedException
3117//   You don't have access to this item. The provided credentials couldn't be
3118//   validated. You might not be authorized to carry out the request. Make sure
3119//   that your account is authorized to use the Amazon QuickSight service, that
3120//   your policies have the correct permissions, and that you are using the correct
3121//   access keys.
3122//
3123//   * InvalidParameterValueException
3124//   One or more parameters has a value that isn't valid.
3125//
3126//   * ResourceNotFoundException
3127//   One or more resources can't be found.
3128//
3129//   * ThrottlingException
3130//   Access is throttled.
3131//
3132//   * PreconditionNotMetException
3133//   One or more preconditions aren't met.
3134//
3135//   * InternalFailureException
3136//   An internal failure occurred.
3137//
3138//   * ResourceUnavailableException
3139//   This resource is currently unavailable.
3140//
3141// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeGroup
3142func (c *QuickSight) DescribeGroup(input *DescribeGroupInput) (*DescribeGroupOutput, error) {
3143	req, out := c.DescribeGroupRequest(input)
3144	return out, req.Send()
3145}
3146
3147// DescribeGroupWithContext is the same as DescribeGroup with the addition of
3148// the ability to pass a context and additional request options.
3149//
3150// See DescribeGroup for details on how to use this API operation.
3151//
3152// The context must be non-nil and will be used for request cancellation. If
3153// the context is nil a panic will occur. In the future the SDK may create
3154// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3155// for more information on using Contexts.
3156func (c *QuickSight) DescribeGroupWithContext(ctx aws.Context, input *DescribeGroupInput, opts ...request.Option) (*DescribeGroupOutput, error) {
3157	req, out := c.DescribeGroupRequest(input)
3158	req.SetContext(ctx)
3159	req.ApplyOptions(opts...)
3160	return out, req.Send()
3161}
3162
3163const opDescribeIAMPolicyAssignment = "DescribeIAMPolicyAssignment"
3164
3165// DescribeIAMPolicyAssignmentRequest generates a "aws/request.Request" representing the
3166// client's request for the DescribeIAMPolicyAssignment operation. The "output" return
3167// value will be populated with the request's response once the request completes
3168// successfully.
3169//
3170// Use "Send" method on the returned Request to send the API call to the service.
3171// the "output" return value is not valid until after Send returns without error.
3172//
3173// See DescribeIAMPolicyAssignment for more information on using the DescribeIAMPolicyAssignment
3174// API call, and error handling.
3175//
3176// This method is useful when you want to inject custom logic or configuration
3177// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3178//
3179//
3180//    // Example sending a request using the DescribeIAMPolicyAssignmentRequest method.
3181//    req, resp := client.DescribeIAMPolicyAssignmentRequest(params)
3182//
3183//    err := req.Send()
3184//    if err == nil { // resp is now filled
3185//        fmt.Println(resp)
3186//    }
3187//
3188// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIAMPolicyAssignment
3189func (c *QuickSight) DescribeIAMPolicyAssignmentRequest(input *DescribeIAMPolicyAssignmentInput) (req *request.Request, output *DescribeIAMPolicyAssignmentOutput) {
3190	op := &request.Operation{
3191		Name:       opDescribeIAMPolicyAssignment,
3192		HTTPMethod: "GET",
3193		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}",
3194	}
3195
3196	if input == nil {
3197		input = &DescribeIAMPolicyAssignmentInput{}
3198	}
3199
3200	output = &DescribeIAMPolicyAssignmentOutput{}
3201	req = c.newRequest(op, input, output)
3202	return
3203}
3204
3205// DescribeIAMPolicyAssignment API operation for Amazon QuickSight.
3206//
3207// Describes an existing IAM policy assignment, as specified by the assignment
3208// name.
3209//
3210// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3211// with awserr.Error's Code and Message methods to get detailed information about
3212// the error.
3213//
3214// See the AWS API reference guide for Amazon QuickSight's
3215// API operation DescribeIAMPolicyAssignment for usage and error information.
3216//
3217// Returned Error Types:
3218//   * AccessDeniedException
3219//   You don't have access to this item. The provided credentials couldn't be
3220//   validated. You might not be authorized to carry out the request. Make sure
3221//   that your account is authorized to use the Amazon QuickSight service, that
3222//   your policies have the correct permissions, and that you are using the correct
3223//   access keys.
3224//
3225//   * InvalidParameterValueException
3226//   One or more parameters has a value that isn't valid.
3227//
3228//   * ResourceNotFoundException
3229//   One or more resources can't be found.
3230//
3231//   * ThrottlingException
3232//   Access is throttled.
3233//
3234//   * InvalidNextTokenException
3235//   The NextToken value isn't valid.
3236//
3237//   * InternalFailureException
3238//   An internal failure occurred.
3239//
3240// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIAMPolicyAssignment
3241func (c *QuickSight) DescribeIAMPolicyAssignment(input *DescribeIAMPolicyAssignmentInput) (*DescribeIAMPolicyAssignmentOutput, error) {
3242	req, out := c.DescribeIAMPolicyAssignmentRequest(input)
3243	return out, req.Send()
3244}
3245
3246// DescribeIAMPolicyAssignmentWithContext is the same as DescribeIAMPolicyAssignment with the addition of
3247// the ability to pass a context and additional request options.
3248//
3249// See DescribeIAMPolicyAssignment for details on how to use this API operation.
3250//
3251// The context must be non-nil and will be used for request cancellation. If
3252// the context is nil a panic will occur. In the future the SDK may create
3253// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3254// for more information on using Contexts.
3255func (c *QuickSight) DescribeIAMPolicyAssignmentWithContext(ctx aws.Context, input *DescribeIAMPolicyAssignmentInput, opts ...request.Option) (*DescribeIAMPolicyAssignmentOutput, error) {
3256	req, out := c.DescribeIAMPolicyAssignmentRequest(input)
3257	req.SetContext(ctx)
3258	req.ApplyOptions(opts...)
3259	return out, req.Send()
3260}
3261
3262const opDescribeIngestion = "DescribeIngestion"
3263
3264// DescribeIngestionRequest generates a "aws/request.Request" representing the
3265// client's request for the DescribeIngestion operation. The "output" return
3266// value will be populated with the request's response once the request completes
3267// successfully.
3268//
3269// Use "Send" method on the returned Request to send the API call to the service.
3270// the "output" return value is not valid until after Send returns without error.
3271//
3272// See DescribeIngestion for more information on using the DescribeIngestion
3273// API call, and error handling.
3274//
3275// This method is useful when you want to inject custom logic or configuration
3276// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3277//
3278//
3279//    // Example sending a request using the DescribeIngestionRequest method.
3280//    req, resp := client.DescribeIngestionRequest(params)
3281//
3282//    err := req.Send()
3283//    if err == nil { // resp is now filled
3284//        fmt.Println(resp)
3285//    }
3286//
3287// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIngestion
3288func (c *QuickSight) DescribeIngestionRequest(input *DescribeIngestionInput) (req *request.Request, output *DescribeIngestionOutput) {
3289	op := &request.Operation{
3290		Name:       opDescribeIngestion,
3291		HTTPMethod: "GET",
3292		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}",
3293	}
3294
3295	if input == nil {
3296		input = &DescribeIngestionInput{}
3297	}
3298
3299	output = &DescribeIngestionOutput{}
3300	req = c.newRequest(op, input, output)
3301	return
3302}
3303
3304// DescribeIngestion API operation for Amazon QuickSight.
3305//
3306// Describes a SPICE ingestion.
3307//
3308// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3309// with awserr.Error's Code and Message methods to get detailed information about
3310// the error.
3311//
3312// See the AWS API reference guide for Amazon QuickSight's
3313// API operation DescribeIngestion for usage and error information.
3314//
3315// Returned Error Types:
3316//   * AccessDeniedException
3317//   You don't have access to this item. The provided credentials couldn't be
3318//   validated. You might not be authorized to carry out the request. Make sure
3319//   that your account is authorized to use the Amazon QuickSight service, that
3320//   your policies have the correct permissions, and that you are using the correct
3321//   access keys.
3322//
3323//   * InvalidParameterValueException
3324//   One or more parameters has a value that isn't valid.
3325//
3326//   * ResourceNotFoundException
3327//   One or more resources can't be found.
3328//
3329//   * ThrottlingException
3330//   Access is throttled.
3331//
3332//   * ResourceExistsException
3333//   The resource specified already exists.
3334//
3335//   * InternalFailureException
3336//   An internal failure occurred.
3337//
3338// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIngestion
3339func (c *QuickSight) DescribeIngestion(input *DescribeIngestionInput) (*DescribeIngestionOutput, error) {
3340	req, out := c.DescribeIngestionRequest(input)
3341	return out, req.Send()
3342}
3343
3344// DescribeIngestionWithContext is the same as DescribeIngestion with the addition of
3345// the ability to pass a context and additional request options.
3346//
3347// See DescribeIngestion for details on how to use this API operation.
3348//
3349// The context must be non-nil and will be used for request cancellation. If
3350// the context is nil a panic will occur. In the future the SDK may create
3351// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3352// for more information on using Contexts.
3353func (c *QuickSight) DescribeIngestionWithContext(ctx aws.Context, input *DescribeIngestionInput, opts ...request.Option) (*DescribeIngestionOutput, error) {
3354	req, out := c.DescribeIngestionRequest(input)
3355	req.SetContext(ctx)
3356	req.ApplyOptions(opts...)
3357	return out, req.Send()
3358}
3359
3360const opDescribeTemplate = "DescribeTemplate"
3361
3362// DescribeTemplateRequest generates a "aws/request.Request" representing the
3363// client's request for the DescribeTemplate operation. The "output" return
3364// value will be populated with the request's response once the request completes
3365// successfully.
3366//
3367// Use "Send" method on the returned Request to send the API call to the service.
3368// the "output" return value is not valid until after Send returns without error.
3369//
3370// See DescribeTemplate for more information on using the DescribeTemplate
3371// API call, and error handling.
3372//
3373// This method is useful when you want to inject custom logic or configuration
3374// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3375//
3376//
3377//    // Example sending a request using the DescribeTemplateRequest method.
3378//    req, resp := client.DescribeTemplateRequest(params)
3379//
3380//    err := req.Send()
3381//    if err == nil { // resp is now filled
3382//        fmt.Println(resp)
3383//    }
3384//
3385// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplate
3386func (c *QuickSight) DescribeTemplateRequest(input *DescribeTemplateInput) (req *request.Request, output *DescribeTemplateOutput) {
3387	op := &request.Operation{
3388		Name:       opDescribeTemplate,
3389		HTTPMethod: "GET",
3390		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}",
3391	}
3392
3393	if input == nil {
3394		input = &DescribeTemplateInput{}
3395	}
3396
3397	output = &DescribeTemplateOutput{}
3398	req = c.newRequest(op, input, output)
3399	return
3400}
3401
3402// DescribeTemplate API operation for Amazon QuickSight.
3403//
3404// Describes a template's metadata.
3405//
3406// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3407// with awserr.Error's Code and Message methods to get detailed information about
3408// the error.
3409//
3410// See the AWS API reference guide for Amazon QuickSight's
3411// API operation DescribeTemplate for usage and error information.
3412//
3413// Returned Error Types:
3414//   * InvalidParameterValueException
3415//   One or more parameters has a value that isn't valid.
3416//
3417//   * AccessDeniedException
3418//   You don't have access to this item. The provided credentials couldn't be
3419//   validated. You might not be authorized to carry out the request. Make sure
3420//   that your account is authorized to use the Amazon QuickSight service, that
3421//   your policies have the correct permissions, and that you are using the correct
3422//   access keys.
3423//
3424//   * ResourceExistsException
3425//   The resource specified already exists.
3426//
3427//   * ResourceNotFoundException
3428//   One or more resources can't be found.
3429//
3430//   * ThrottlingException
3431//   Access is throttled.
3432//
3433//   * ConflictException
3434//   Updating or deleting a resource can cause an inconsistent state.
3435//
3436//   * UnsupportedUserEditionException
3437//   This error indicates that you are calling an operation on an Amazon QuickSight
3438//   subscription where the edition doesn't include support for that operation.
3439//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
3440//   Not every operation and capability is available in every edition.
3441//
3442//   * InternalFailureException
3443//   An internal failure occurred.
3444//
3445// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplate
3446func (c *QuickSight) DescribeTemplate(input *DescribeTemplateInput) (*DescribeTemplateOutput, error) {
3447	req, out := c.DescribeTemplateRequest(input)
3448	return out, req.Send()
3449}
3450
3451// DescribeTemplateWithContext is the same as DescribeTemplate with the addition of
3452// the ability to pass a context and additional request options.
3453//
3454// See DescribeTemplate for details on how to use this API operation.
3455//
3456// The context must be non-nil and will be used for request cancellation. If
3457// the context is nil a panic will occur. In the future the SDK may create
3458// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3459// for more information on using Contexts.
3460func (c *QuickSight) DescribeTemplateWithContext(ctx aws.Context, input *DescribeTemplateInput, opts ...request.Option) (*DescribeTemplateOutput, error) {
3461	req, out := c.DescribeTemplateRequest(input)
3462	req.SetContext(ctx)
3463	req.ApplyOptions(opts...)
3464	return out, req.Send()
3465}
3466
3467const opDescribeTemplateAlias = "DescribeTemplateAlias"
3468
3469// DescribeTemplateAliasRequest generates a "aws/request.Request" representing the
3470// client's request for the DescribeTemplateAlias operation. The "output" return
3471// value will be populated with the request's response once the request completes
3472// successfully.
3473//
3474// Use "Send" method on the returned Request to send the API call to the service.
3475// the "output" return value is not valid until after Send returns without error.
3476//
3477// See DescribeTemplateAlias for more information on using the DescribeTemplateAlias
3478// API call, and error handling.
3479//
3480// This method is useful when you want to inject custom logic or configuration
3481// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3482//
3483//
3484//    // Example sending a request using the DescribeTemplateAliasRequest method.
3485//    req, resp := client.DescribeTemplateAliasRequest(params)
3486//
3487//    err := req.Send()
3488//    if err == nil { // resp is now filled
3489//        fmt.Println(resp)
3490//    }
3491//
3492// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplateAlias
3493func (c *QuickSight) DescribeTemplateAliasRequest(input *DescribeTemplateAliasInput) (req *request.Request, output *DescribeTemplateAliasOutput) {
3494	op := &request.Operation{
3495		Name:       opDescribeTemplateAlias,
3496		HTTPMethod: "GET",
3497		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
3498	}
3499
3500	if input == nil {
3501		input = &DescribeTemplateAliasInput{}
3502	}
3503
3504	output = &DescribeTemplateAliasOutput{}
3505	req = c.newRequest(op, input, output)
3506	return
3507}
3508
3509// DescribeTemplateAlias API operation for Amazon QuickSight.
3510//
3511// Describes the template alias for a template.
3512//
3513// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3514// with awserr.Error's Code and Message methods to get detailed information about
3515// the error.
3516//
3517// See the AWS API reference guide for Amazon QuickSight's
3518// API operation DescribeTemplateAlias for usage and error information.
3519//
3520// Returned Error Types:
3521//   * ThrottlingException
3522//   Access is throttled.
3523//
3524//   * ResourceNotFoundException
3525//   One or more resources can't be found.
3526//
3527//   * UnsupportedUserEditionException
3528//   This error indicates that you are calling an operation on an Amazon QuickSight
3529//   subscription where the edition doesn't include support for that operation.
3530//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
3531//   Not every operation and capability is available in every edition.
3532//
3533//   * InternalFailureException
3534//   An internal failure occurred.
3535//
3536// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplateAlias
3537func (c *QuickSight) DescribeTemplateAlias(input *DescribeTemplateAliasInput) (*DescribeTemplateAliasOutput, error) {
3538	req, out := c.DescribeTemplateAliasRequest(input)
3539	return out, req.Send()
3540}
3541
3542// DescribeTemplateAliasWithContext is the same as DescribeTemplateAlias with the addition of
3543// the ability to pass a context and additional request options.
3544//
3545// See DescribeTemplateAlias for details on how to use this API operation.
3546//
3547// The context must be non-nil and will be used for request cancellation. If
3548// the context is nil a panic will occur. In the future the SDK may create
3549// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3550// for more information on using Contexts.
3551func (c *QuickSight) DescribeTemplateAliasWithContext(ctx aws.Context, input *DescribeTemplateAliasInput, opts ...request.Option) (*DescribeTemplateAliasOutput, error) {
3552	req, out := c.DescribeTemplateAliasRequest(input)
3553	req.SetContext(ctx)
3554	req.ApplyOptions(opts...)
3555	return out, req.Send()
3556}
3557
3558const opDescribeTemplatePermissions = "DescribeTemplatePermissions"
3559
3560// DescribeTemplatePermissionsRequest generates a "aws/request.Request" representing the
3561// client's request for the DescribeTemplatePermissions operation. The "output" return
3562// value will be populated with the request's response once the request completes
3563// successfully.
3564//
3565// Use "Send" method on the returned Request to send the API call to the service.
3566// the "output" return value is not valid until after Send returns without error.
3567//
3568// See DescribeTemplatePermissions for more information on using the DescribeTemplatePermissions
3569// API call, and error handling.
3570//
3571// This method is useful when you want to inject custom logic or configuration
3572// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3573//
3574//
3575//    // Example sending a request using the DescribeTemplatePermissionsRequest method.
3576//    req, resp := client.DescribeTemplatePermissionsRequest(params)
3577//
3578//    err := req.Send()
3579//    if err == nil { // resp is now filled
3580//        fmt.Println(resp)
3581//    }
3582//
3583// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplatePermissions
3584func (c *QuickSight) DescribeTemplatePermissionsRequest(input *DescribeTemplatePermissionsInput) (req *request.Request, output *DescribeTemplatePermissionsOutput) {
3585	op := &request.Operation{
3586		Name:       opDescribeTemplatePermissions,
3587		HTTPMethod: "GET",
3588		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/permissions",
3589	}
3590
3591	if input == nil {
3592		input = &DescribeTemplatePermissionsInput{}
3593	}
3594
3595	output = &DescribeTemplatePermissionsOutput{}
3596	req = c.newRequest(op, input, output)
3597	return
3598}
3599
3600// DescribeTemplatePermissions API operation for Amazon QuickSight.
3601//
3602// Describes read and write permissions on a template.
3603//
3604// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3605// with awserr.Error's Code and Message methods to get detailed information about
3606// the error.
3607//
3608// See the AWS API reference guide for Amazon QuickSight's
3609// API operation DescribeTemplatePermissions for usage and error information.
3610//
3611// Returned Error Types:
3612//   * ThrottlingException
3613//   Access is throttled.
3614//
3615//   * InvalidParameterValueException
3616//   One or more parameters has a value that isn't valid.
3617//
3618//   * ConflictException
3619//   Updating or deleting a resource can cause an inconsistent state.
3620//
3621//   * ResourceNotFoundException
3622//   One or more resources can't be found.
3623//
3624//   * UnsupportedUserEditionException
3625//   This error indicates that you are calling an operation on an Amazon QuickSight
3626//   subscription where the edition doesn't include support for that operation.
3627//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
3628//   Not every operation and capability is available in every edition.
3629//
3630//   * InternalFailureException
3631//   An internal failure occurred.
3632//
3633// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplatePermissions
3634func (c *QuickSight) DescribeTemplatePermissions(input *DescribeTemplatePermissionsInput) (*DescribeTemplatePermissionsOutput, error) {
3635	req, out := c.DescribeTemplatePermissionsRequest(input)
3636	return out, req.Send()
3637}
3638
3639// DescribeTemplatePermissionsWithContext is the same as DescribeTemplatePermissions with the addition of
3640// the ability to pass a context and additional request options.
3641//
3642// See DescribeTemplatePermissions for details on how to use this API operation.
3643//
3644// The context must be non-nil and will be used for request cancellation. If
3645// the context is nil a panic will occur. In the future the SDK may create
3646// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3647// for more information on using Contexts.
3648func (c *QuickSight) DescribeTemplatePermissionsWithContext(ctx aws.Context, input *DescribeTemplatePermissionsInput, opts ...request.Option) (*DescribeTemplatePermissionsOutput, error) {
3649	req, out := c.DescribeTemplatePermissionsRequest(input)
3650	req.SetContext(ctx)
3651	req.ApplyOptions(opts...)
3652	return out, req.Send()
3653}
3654
3655const opDescribeTheme = "DescribeTheme"
3656
3657// DescribeThemeRequest generates a "aws/request.Request" representing the
3658// client's request for the DescribeTheme operation. The "output" return
3659// value will be populated with the request's response once the request completes
3660// successfully.
3661//
3662// Use "Send" method on the returned Request to send the API call to the service.
3663// the "output" return value is not valid until after Send returns without error.
3664//
3665// See DescribeTheme for more information on using the DescribeTheme
3666// API call, and error handling.
3667//
3668// This method is useful when you want to inject custom logic or configuration
3669// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3670//
3671//
3672//    // Example sending a request using the DescribeThemeRequest method.
3673//    req, resp := client.DescribeThemeRequest(params)
3674//
3675//    err := req.Send()
3676//    if err == nil { // resp is now filled
3677//        fmt.Println(resp)
3678//    }
3679//
3680// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTheme
3681func (c *QuickSight) DescribeThemeRequest(input *DescribeThemeInput) (req *request.Request, output *DescribeThemeOutput) {
3682	op := &request.Operation{
3683		Name:       opDescribeTheme,
3684		HTTPMethod: "GET",
3685		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}",
3686	}
3687
3688	if input == nil {
3689		input = &DescribeThemeInput{}
3690	}
3691
3692	output = &DescribeThemeOutput{}
3693	req = c.newRequest(op, input, output)
3694	return
3695}
3696
3697// DescribeTheme API operation for Amazon QuickSight.
3698//
3699// Describes a theme.
3700//
3701// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3702// with awserr.Error's Code and Message methods to get detailed information about
3703// the error.
3704//
3705// See the AWS API reference guide for Amazon QuickSight's
3706// API operation DescribeTheme for usage and error information.
3707//
3708// Returned Error Types:
3709//   * AccessDeniedException
3710//   You don't have access to this item. The provided credentials couldn't be
3711//   validated. You might not be authorized to carry out the request. Make sure
3712//   that your account is authorized to use the Amazon QuickSight service, that
3713//   your policies have the correct permissions, and that you are using the correct
3714//   access keys.
3715//
3716//   * InvalidParameterValueException
3717//   One or more parameters has a value that isn't valid.
3718//
3719//   * ResourceExistsException
3720//   The resource specified already exists.
3721//
3722//   * ResourceNotFoundException
3723//   One or more resources can't be found.
3724//
3725//   * ThrottlingException
3726//   Access is throttled.
3727//
3728//   * UnsupportedUserEditionException
3729//   This error indicates that you are calling an operation on an Amazon QuickSight
3730//   subscription where the edition doesn't include support for that operation.
3731//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
3732//   Not every operation and capability is available in every edition.
3733//
3734//   * InternalFailureException
3735//   An internal failure occurred.
3736//
3737// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTheme
3738func (c *QuickSight) DescribeTheme(input *DescribeThemeInput) (*DescribeThemeOutput, error) {
3739	req, out := c.DescribeThemeRequest(input)
3740	return out, req.Send()
3741}
3742
3743// DescribeThemeWithContext is the same as DescribeTheme with the addition of
3744// the ability to pass a context and additional request options.
3745//
3746// See DescribeTheme for details on how to use this API operation.
3747//
3748// The context must be non-nil and will be used for request cancellation. If
3749// the context is nil a panic will occur. In the future the SDK may create
3750// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3751// for more information on using Contexts.
3752func (c *QuickSight) DescribeThemeWithContext(ctx aws.Context, input *DescribeThemeInput, opts ...request.Option) (*DescribeThemeOutput, error) {
3753	req, out := c.DescribeThemeRequest(input)
3754	req.SetContext(ctx)
3755	req.ApplyOptions(opts...)
3756	return out, req.Send()
3757}
3758
3759const opDescribeThemeAlias = "DescribeThemeAlias"
3760
3761// DescribeThemeAliasRequest generates a "aws/request.Request" representing the
3762// client's request for the DescribeThemeAlias operation. The "output" return
3763// value will be populated with the request's response once the request completes
3764// successfully.
3765//
3766// Use "Send" method on the returned Request to send the API call to the service.
3767// the "output" return value is not valid until after Send returns without error.
3768//
3769// See DescribeThemeAlias for more information on using the DescribeThemeAlias
3770// API call, and error handling.
3771//
3772// This method is useful when you want to inject custom logic or configuration
3773// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3774//
3775//
3776//    // Example sending a request using the DescribeThemeAliasRequest method.
3777//    req, resp := client.DescribeThemeAliasRequest(params)
3778//
3779//    err := req.Send()
3780//    if err == nil { // resp is now filled
3781//        fmt.Println(resp)
3782//    }
3783//
3784// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeThemeAlias
3785func (c *QuickSight) DescribeThemeAliasRequest(input *DescribeThemeAliasInput) (req *request.Request, output *DescribeThemeAliasOutput) {
3786	op := &request.Operation{
3787		Name:       opDescribeThemeAlias,
3788		HTTPMethod: "GET",
3789		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}",
3790	}
3791
3792	if input == nil {
3793		input = &DescribeThemeAliasInput{}
3794	}
3795
3796	output = &DescribeThemeAliasOutput{}
3797	req = c.newRequest(op, input, output)
3798	return
3799}
3800
3801// DescribeThemeAlias API operation for Amazon QuickSight.
3802//
3803// Describes the alias for a theme.
3804//
3805// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3806// with awserr.Error's Code and Message methods to get detailed information about
3807// the error.
3808//
3809// See the AWS API reference guide for Amazon QuickSight's
3810// API operation DescribeThemeAlias for usage and error information.
3811//
3812// Returned Error Types:
3813//   * ConflictException
3814//   Updating or deleting a resource can cause an inconsistent state.
3815//
3816//   * InvalidParameterValueException
3817//   One or more parameters has a value that isn't valid.
3818//
3819//   * ResourceNotFoundException
3820//   One or more resources can't be found.
3821//
3822//   * ThrottlingException
3823//   Access is throttled.
3824//
3825//   * UnsupportedUserEditionException
3826//   This error indicates that you are calling an operation on an Amazon QuickSight
3827//   subscription where the edition doesn't include support for that operation.
3828//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
3829//   Not every operation and capability is available in every edition.
3830//
3831//   * InternalFailureException
3832//   An internal failure occurred.
3833//
3834// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeThemeAlias
3835func (c *QuickSight) DescribeThemeAlias(input *DescribeThemeAliasInput) (*DescribeThemeAliasOutput, error) {
3836	req, out := c.DescribeThemeAliasRequest(input)
3837	return out, req.Send()
3838}
3839
3840// DescribeThemeAliasWithContext is the same as DescribeThemeAlias with the addition of
3841// the ability to pass a context and additional request options.
3842//
3843// See DescribeThemeAlias for details on how to use this API operation.
3844//
3845// The context must be non-nil and will be used for request cancellation. If
3846// the context is nil a panic will occur. In the future the SDK may create
3847// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3848// for more information on using Contexts.
3849func (c *QuickSight) DescribeThemeAliasWithContext(ctx aws.Context, input *DescribeThemeAliasInput, opts ...request.Option) (*DescribeThemeAliasOutput, error) {
3850	req, out := c.DescribeThemeAliasRequest(input)
3851	req.SetContext(ctx)
3852	req.ApplyOptions(opts...)
3853	return out, req.Send()
3854}
3855
3856const opDescribeThemePermissions = "DescribeThemePermissions"
3857
3858// DescribeThemePermissionsRequest generates a "aws/request.Request" representing the
3859// client's request for the DescribeThemePermissions operation. The "output" return
3860// value will be populated with the request's response once the request completes
3861// successfully.
3862//
3863// Use "Send" method on the returned Request to send the API call to the service.
3864// the "output" return value is not valid until after Send returns without error.
3865//
3866// See DescribeThemePermissions for more information on using the DescribeThemePermissions
3867// API call, and error handling.
3868//
3869// This method is useful when you want to inject custom logic or configuration
3870// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3871//
3872//
3873//    // Example sending a request using the DescribeThemePermissionsRequest method.
3874//    req, resp := client.DescribeThemePermissionsRequest(params)
3875//
3876//    err := req.Send()
3877//    if err == nil { // resp is now filled
3878//        fmt.Println(resp)
3879//    }
3880//
3881// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeThemePermissions
3882func (c *QuickSight) DescribeThemePermissionsRequest(input *DescribeThemePermissionsInput) (req *request.Request, output *DescribeThemePermissionsOutput) {
3883	op := &request.Operation{
3884		Name:       opDescribeThemePermissions,
3885		HTTPMethod: "GET",
3886		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/permissions",
3887	}
3888
3889	if input == nil {
3890		input = &DescribeThemePermissionsInput{}
3891	}
3892
3893	output = &DescribeThemePermissionsOutput{}
3894	req = c.newRequest(op, input, output)
3895	return
3896}
3897
3898// DescribeThemePermissions API operation for Amazon QuickSight.
3899//
3900// Describes the read and write permissions for a theme.
3901//
3902// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3903// with awserr.Error's Code and Message methods to get detailed information about
3904// the error.
3905//
3906// See the AWS API reference guide for Amazon QuickSight's
3907// API operation DescribeThemePermissions for usage and error information.
3908//
3909// Returned Error Types:
3910//   * AccessDeniedException
3911//   You don't have access to this item. The provided credentials couldn't be
3912//   validated. You might not be authorized to carry out the request. Make sure
3913//   that your account is authorized to use the Amazon QuickSight service, that
3914//   your policies have the correct permissions, and that you are using the correct
3915//   access keys.
3916//
3917//   * InvalidParameterValueException
3918//   One or more parameters has a value that isn't valid.
3919//
3920//   * ResourceNotFoundException
3921//   One or more resources can't be found.
3922//
3923//   * ThrottlingException
3924//   Access is throttled.
3925//
3926//   * UnsupportedUserEditionException
3927//   This error indicates that you are calling an operation on an Amazon QuickSight
3928//   subscription where the edition doesn't include support for that operation.
3929//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
3930//   Not every operation and capability is available in every edition.
3931//
3932//   * InternalFailureException
3933//   An internal failure occurred.
3934//
3935// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeThemePermissions
3936func (c *QuickSight) DescribeThemePermissions(input *DescribeThemePermissionsInput) (*DescribeThemePermissionsOutput, error) {
3937	req, out := c.DescribeThemePermissionsRequest(input)
3938	return out, req.Send()
3939}
3940
3941// DescribeThemePermissionsWithContext is the same as DescribeThemePermissions with the addition of
3942// the ability to pass a context and additional request options.
3943//
3944// See DescribeThemePermissions for details on how to use this API operation.
3945//
3946// The context must be non-nil and will be used for request cancellation. If
3947// the context is nil a panic will occur. In the future the SDK may create
3948// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3949// for more information on using Contexts.
3950func (c *QuickSight) DescribeThemePermissionsWithContext(ctx aws.Context, input *DescribeThemePermissionsInput, opts ...request.Option) (*DescribeThemePermissionsOutput, error) {
3951	req, out := c.DescribeThemePermissionsRequest(input)
3952	req.SetContext(ctx)
3953	req.ApplyOptions(opts...)
3954	return out, req.Send()
3955}
3956
3957const opDescribeUser = "DescribeUser"
3958
3959// DescribeUserRequest generates a "aws/request.Request" representing the
3960// client's request for the DescribeUser operation. The "output" return
3961// value will be populated with the request's response once the request completes
3962// successfully.
3963//
3964// Use "Send" method on the returned Request to send the API call to the service.
3965// the "output" return value is not valid until after Send returns without error.
3966//
3967// See DescribeUser for more information on using the DescribeUser
3968// API call, and error handling.
3969//
3970// This method is useful when you want to inject custom logic or configuration
3971// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3972//
3973//
3974//    // Example sending a request using the DescribeUserRequest method.
3975//    req, resp := client.DescribeUserRequest(params)
3976//
3977//    err := req.Send()
3978//    if err == nil { // resp is now filled
3979//        fmt.Println(resp)
3980//    }
3981//
3982// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeUser
3983func (c *QuickSight) DescribeUserRequest(input *DescribeUserInput) (req *request.Request, output *DescribeUserOutput) {
3984	op := &request.Operation{
3985		Name:       opDescribeUser,
3986		HTTPMethod: "GET",
3987		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}",
3988	}
3989
3990	if input == nil {
3991		input = &DescribeUserInput{}
3992	}
3993
3994	output = &DescribeUserOutput{}
3995	req = c.newRequest(op, input, output)
3996	return
3997}
3998
3999// DescribeUser API operation for Amazon QuickSight.
4000//
4001// Returns information about a user, given the user name.
4002//
4003// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4004// with awserr.Error's Code and Message methods to get detailed information about
4005// the error.
4006//
4007// See the AWS API reference guide for Amazon QuickSight's
4008// API operation DescribeUser for usage and error information.
4009//
4010// Returned Error Types:
4011//   * AccessDeniedException
4012//   You don't have access to this item. The provided credentials couldn't be
4013//   validated. You might not be authorized to carry out the request. Make sure
4014//   that your account is authorized to use the Amazon QuickSight service, that
4015//   your policies have the correct permissions, and that you are using the correct
4016//   access keys.
4017//
4018//   * InvalidParameterValueException
4019//   One or more parameters has a value that isn't valid.
4020//
4021//   * ResourceNotFoundException
4022//   One or more resources can't be found.
4023//
4024//   * ThrottlingException
4025//   Access is throttled.
4026//
4027//   * InternalFailureException
4028//   An internal failure occurred.
4029//
4030//   * ResourceUnavailableException
4031//   This resource is currently unavailable.
4032//
4033// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeUser
4034func (c *QuickSight) DescribeUser(input *DescribeUserInput) (*DescribeUserOutput, error) {
4035	req, out := c.DescribeUserRequest(input)
4036	return out, req.Send()
4037}
4038
4039// DescribeUserWithContext is the same as DescribeUser with the addition of
4040// the ability to pass a context and additional request options.
4041//
4042// See DescribeUser for details on how to use this API operation.
4043//
4044// The context must be non-nil and will be used for request cancellation. If
4045// the context is nil a panic will occur. In the future the SDK may create
4046// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4047// for more information on using Contexts.
4048func (c *QuickSight) DescribeUserWithContext(ctx aws.Context, input *DescribeUserInput, opts ...request.Option) (*DescribeUserOutput, error) {
4049	req, out := c.DescribeUserRequest(input)
4050	req.SetContext(ctx)
4051	req.ApplyOptions(opts...)
4052	return out, req.Send()
4053}
4054
4055const opGetDashboardEmbedUrl = "GetDashboardEmbedUrl"
4056
4057// GetDashboardEmbedUrlRequest generates a "aws/request.Request" representing the
4058// client's request for the GetDashboardEmbedUrl operation. The "output" return
4059// value will be populated with the request's response once the request completes
4060// successfully.
4061//
4062// Use "Send" method on the returned Request to send the API call to the service.
4063// the "output" return value is not valid until after Send returns without error.
4064//
4065// See GetDashboardEmbedUrl for more information on using the GetDashboardEmbedUrl
4066// API call, and error handling.
4067//
4068// This method is useful when you want to inject custom logic or configuration
4069// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4070//
4071//
4072//    // Example sending a request using the GetDashboardEmbedUrlRequest method.
4073//    req, resp := client.GetDashboardEmbedUrlRequest(params)
4074//
4075//    err := req.Send()
4076//    if err == nil { // resp is now filled
4077//        fmt.Println(resp)
4078//    }
4079//
4080// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GetDashboardEmbedUrl
4081func (c *QuickSight) GetDashboardEmbedUrlRequest(input *GetDashboardEmbedUrlInput) (req *request.Request, output *GetDashboardEmbedUrlOutput) {
4082	op := &request.Operation{
4083		Name:       opGetDashboardEmbedUrl,
4084		HTTPMethod: "GET",
4085		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/embed-url",
4086	}
4087
4088	if input == nil {
4089		input = &GetDashboardEmbedUrlInput{}
4090	}
4091
4092	output = &GetDashboardEmbedUrlOutput{}
4093	req = c.newRequest(op, input, output)
4094	return
4095}
4096
4097// GetDashboardEmbedUrl API operation for Amazon QuickSight.
4098//
4099// Generates a URL and authorization code that you can embed in your web server
4100// code. Before you use this command, make sure that you have configured the
4101// dashboards and permissions.
4102//
4103// Currently, you can use GetDashboardEmbedURL only from the server, not from
4104// the user's browser. The following rules apply to the combination of URL and
4105// authorization code:
4106//
4107//    * They must be used together.
4108//
4109//    * They can be used one time only.
4110//
4111//    * They are valid for 5 minutes after you run this command.
4112//
4113//    * The resulting user session is valid for 10 hours.
4114//
4115// For more information, see Embedding Amazon QuickSight Dashboards (https://docs.aws.amazon.com/quicksight/latest/user/embedding-dashboards.html)
4116// in the Amazon QuickSight User Guide or Embedding Amazon QuickSight Dashboards
4117// (https://docs.aws.amazon.com/quicksight/latest/APIReference/qs-dev-embedded-dashboards.html)
4118// in the Amazon QuickSight API Reference.
4119//
4120// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4121// with awserr.Error's Code and Message methods to get detailed information about
4122// the error.
4123//
4124// See the AWS API reference guide for Amazon QuickSight's
4125// API operation GetDashboardEmbedUrl for usage and error information.
4126//
4127// Returned Error Types:
4128//   * AccessDeniedException
4129//   You don't have access to this item. The provided credentials couldn't be
4130//   validated. You might not be authorized to carry out the request. Make sure
4131//   that your account is authorized to use the Amazon QuickSight service, that
4132//   your policies have the correct permissions, and that you are using the correct
4133//   access keys.
4134//
4135//   * InvalidParameterValueException
4136//   One or more parameters has a value that isn't valid.
4137//
4138//   * ResourceExistsException
4139//   The resource specified already exists.
4140//
4141//   * ResourceNotFoundException
4142//   One or more resources can't be found.
4143//
4144//   * ThrottlingException
4145//   Access is throttled.
4146//
4147//   * DomainNotWhitelistedException
4148//   The domain specified isn't on the allow list. All domains for embedded dashboards
4149//   must be added to the approved list by an Amazon QuickSight admin.
4150//
4151//   * UserNotFoundException
4152//   The user with the provided name isn't found. This error can happen in any
4153//   operation that requires finding a user based on a provided user name, such
4154//   as DeleteUser, DescribeUser, and so on.
4155//
4156//   * IdentityTypeNotSupportedException
4157//   The identity type specified isn't supported. Supported identity types include
4158//   IAM and QUICKSIGHT.
4159//
4160//   * SessionLifetimeInMinutesInvalidException
4161//   The number of minutes specified for the lifetime of a session isn't valid.
4162//   The session lifetime must be 15-600 minutes.
4163//
4164//   * UnsupportedUserEditionException
4165//   This error indicates that you are calling an operation on an Amazon QuickSight
4166//   subscription where the edition doesn't include support for that operation.
4167//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
4168//   Not every operation and capability is available in every edition.
4169//
4170//   * InternalFailureException
4171//   An internal failure occurred.
4172//
4173// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GetDashboardEmbedUrl
4174func (c *QuickSight) GetDashboardEmbedUrl(input *GetDashboardEmbedUrlInput) (*GetDashboardEmbedUrlOutput, error) {
4175	req, out := c.GetDashboardEmbedUrlRequest(input)
4176	return out, req.Send()
4177}
4178
4179// GetDashboardEmbedUrlWithContext is the same as GetDashboardEmbedUrl with the addition of
4180// the ability to pass a context and additional request options.
4181//
4182// See GetDashboardEmbedUrl for details on how to use this API operation.
4183//
4184// The context must be non-nil and will be used for request cancellation. If
4185// the context is nil a panic will occur. In the future the SDK may create
4186// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4187// for more information on using Contexts.
4188func (c *QuickSight) GetDashboardEmbedUrlWithContext(ctx aws.Context, input *GetDashboardEmbedUrlInput, opts ...request.Option) (*GetDashboardEmbedUrlOutput, error) {
4189	req, out := c.GetDashboardEmbedUrlRequest(input)
4190	req.SetContext(ctx)
4191	req.ApplyOptions(opts...)
4192	return out, req.Send()
4193}
4194
4195const opListDashboardVersions = "ListDashboardVersions"
4196
4197// ListDashboardVersionsRequest generates a "aws/request.Request" representing the
4198// client's request for the ListDashboardVersions operation. The "output" return
4199// value will be populated with the request's response once the request completes
4200// successfully.
4201//
4202// Use "Send" method on the returned Request to send the API call to the service.
4203// the "output" return value is not valid until after Send returns without error.
4204//
4205// See ListDashboardVersions for more information on using the ListDashboardVersions
4206// API call, and error handling.
4207//
4208// This method is useful when you want to inject custom logic or configuration
4209// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4210//
4211//
4212//    // Example sending a request using the ListDashboardVersionsRequest method.
4213//    req, resp := client.ListDashboardVersionsRequest(params)
4214//
4215//    err := req.Send()
4216//    if err == nil { // resp is now filled
4217//        fmt.Println(resp)
4218//    }
4219//
4220// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboardVersions
4221func (c *QuickSight) ListDashboardVersionsRequest(input *ListDashboardVersionsInput) (req *request.Request, output *ListDashboardVersionsOutput) {
4222	op := &request.Operation{
4223		Name:       opListDashboardVersions,
4224		HTTPMethod: "GET",
4225		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions",
4226		Paginator: &request.Paginator{
4227			InputTokens:     []string{"NextToken"},
4228			OutputTokens:    []string{"NextToken"},
4229			LimitToken:      "MaxResults",
4230			TruncationToken: "",
4231		},
4232	}
4233
4234	if input == nil {
4235		input = &ListDashboardVersionsInput{}
4236	}
4237
4238	output = &ListDashboardVersionsOutput{}
4239	req = c.newRequest(op, input, output)
4240	return
4241}
4242
4243// ListDashboardVersions API operation for Amazon QuickSight.
4244//
4245// Lists all the versions of the dashboards in the QuickSight subscription.
4246//
4247// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4248// with awserr.Error's Code and Message methods to get detailed information about
4249// the error.
4250//
4251// See the AWS API reference guide for Amazon QuickSight's
4252// API operation ListDashboardVersions for usage and error information.
4253//
4254// Returned Error Types:
4255//   * InvalidParameterValueException
4256//   One or more parameters has a value that isn't valid.
4257//
4258//   * ResourceNotFoundException
4259//   One or more resources can't be found.
4260//
4261//   * ThrottlingException
4262//   Access is throttled.
4263//
4264//   * InvalidNextTokenException
4265//   The NextToken value isn't valid.
4266//
4267//   * UnsupportedUserEditionException
4268//   This error indicates that you are calling an operation on an Amazon QuickSight
4269//   subscription where the edition doesn't include support for that operation.
4270//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
4271//   Not every operation and capability is available in every edition.
4272//
4273//   * InternalFailureException
4274//   An internal failure occurred.
4275//
4276// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboardVersions
4277func (c *QuickSight) ListDashboardVersions(input *ListDashboardVersionsInput) (*ListDashboardVersionsOutput, error) {
4278	req, out := c.ListDashboardVersionsRequest(input)
4279	return out, req.Send()
4280}
4281
4282// ListDashboardVersionsWithContext is the same as ListDashboardVersions with the addition of
4283// the ability to pass a context and additional request options.
4284//
4285// See ListDashboardVersions for details on how to use this API operation.
4286//
4287// The context must be non-nil and will be used for request cancellation. If
4288// the context is nil a panic will occur. In the future the SDK may create
4289// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4290// for more information on using Contexts.
4291func (c *QuickSight) ListDashboardVersionsWithContext(ctx aws.Context, input *ListDashboardVersionsInput, opts ...request.Option) (*ListDashboardVersionsOutput, error) {
4292	req, out := c.ListDashboardVersionsRequest(input)
4293	req.SetContext(ctx)
4294	req.ApplyOptions(opts...)
4295	return out, req.Send()
4296}
4297
4298// ListDashboardVersionsPages iterates over the pages of a ListDashboardVersions operation,
4299// calling the "fn" function with the response data for each page. To stop
4300// iterating, return false from the fn function.
4301//
4302// See ListDashboardVersions method for more information on how to use this operation.
4303//
4304// Note: This operation can generate multiple requests to a service.
4305//
4306//    // Example iterating over at most 3 pages of a ListDashboardVersions operation.
4307//    pageNum := 0
4308//    err := client.ListDashboardVersionsPages(params,
4309//        func(page *quicksight.ListDashboardVersionsOutput, lastPage bool) bool {
4310//            pageNum++
4311//            fmt.Println(page)
4312//            return pageNum <= 3
4313//        })
4314//
4315func (c *QuickSight) ListDashboardVersionsPages(input *ListDashboardVersionsInput, fn func(*ListDashboardVersionsOutput, bool) bool) error {
4316	return c.ListDashboardVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
4317}
4318
4319// ListDashboardVersionsPagesWithContext same as ListDashboardVersionsPages except
4320// it takes a Context and allows setting request options on the pages.
4321//
4322// The context must be non-nil and will be used for request cancellation. If
4323// the context is nil a panic will occur. In the future the SDK may create
4324// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4325// for more information on using Contexts.
4326func (c *QuickSight) ListDashboardVersionsPagesWithContext(ctx aws.Context, input *ListDashboardVersionsInput, fn func(*ListDashboardVersionsOutput, bool) bool, opts ...request.Option) error {
4327	p := request.Pagination{
4328		NewRequest: func() (*request.Request, error) {
4329			var inCpy *ListDashboardVersionsInput
4330			if input != nil {
4331				tmp := *input
4332				inCpy = &tmp
4333			}
4334			req, _ := c.ListDashboardVersionsRequest(inCpy)
4335			req.SetContext(ctx)
4336			req.ApplyOptions(opts...)
4337			return req, nil
4338		},
4339	}
4340
4341	for p.Next() {
4342		if !fn(p.Page().(*ListDashboardVersionsOutput), !p.HasNextPage()) {
4343			break
4344		}
4345	}
4346
4347	return p.Err()
4348}
4349
4350const opListDashboards = "ListDashboards"
4351
4352// ListDashboardsRequest generates a "aws/request.Request" representing the
4353// client's request for the ListDashboards operation. The "output" return
4354// value will be populated with the request's response once the request completes
4355// successfully.
4356//
4357// Use "Send" method on the returned Request to send the API call to the service.
4358// the "output" return value is not valid until after Send returns without error.
4359//
4360// See ListDashboards for more information on using the ListDashboards
4361// API call, and error handling.
4362//
4363// This method is useful when you want to inject custom logic or configuration
4364// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4365//
4366//
4367//    // Example sending a request using the ListDashboardsRequest method.
4368//    req, resp := client.ListDashboardsRequest(params)
4369//
4370//    err := req.Send()
4371//    if err == nil { // resp is now filled
4372//        fmt.Println(resp)
4373//    }
4374//
4375// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboards
4376func (c *QuickSight) ListDashboardsRequest(input *ListDashboardsInput) (req *request.Request, output *ListDashboardsOutput) {
4377	op := &request.Operation{
4378		Name:       opListDashboards,
4379		HTTPMethod: "GET",
4380		HTTPPath:   "/accounts/{AwsAccountId}/dashboards",
4381		Paginator: &request.Paginator{
4382			InputTokens:     []string{"NextToken"},
4383			OutputTokens:    []string{"NextToken"},
4384			LimitToken:      "MaxResults",
4385			TruncationToken: "",
4386		},
4387	}
4388
4389	if input == nil {
4390		input = &ListDashboardsInput{}
4391	}
4392
4393	output = &ListDashboardsOutput{}
4394	req = c.newRequest(op, input, output)
4395	return
4396}
4397
4398// ListDashboards API operation for Amazon QuickSight.
4399//
4400// Lists dashboards in an AWS account.
4401//
4402// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4403// with awserr.Error's Code and Message methods to get detailed information about
4404// the error.
4405//
4406// See the AWS API reference guide for Amazon QuickSight's
4407// API operation ListDashboards for usage and error information.
4408//
4409// Returned Error Types:
4410//   * ThrottlingException
4411//   Access is throttled.
4412//
4413//   * InvalidNextTokenException
4414//   The NextToken value isn't valid.
4415//
4416//   * UnsupportedUserEditionException
4417//   This error indicates that you are calling an operation on an Amazon QuickSight
4418//   subscription where the edition doesn't include support for that operation.
4419//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
4420//   Not every operation and capability is available in every edition.
4421//
4422//   * InternalFailureException
4423//   An internal failure occurred.
4424//
4425// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboards
4426func (c *QuickSight) ListDashboards(input *ListDashboardsInput) (*ListDashboardsOutput, error) {
4427	req, out := c.ListDashboardsRequest(input)
4428	return out, req.Send()
4429}
4430
4431// ListDashboardsWithContext is the same as ListDashboards with the addition of
4432// the ability to pass a context and additional request options.
4433//
4434// See ListDashboards for details on how to use this API operation.
4435//
4436// The context must be non-nil and will be used for request cancellation. If
4437// the context is nil a panic will occur. In the future the SDK may create
4438// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4439// for more information on using Contexts.
4440func (c *QuickSight) ListDashboardsWithContext(ctx aws.Context, input *ListDashboardsInput, opts ...request.Option) (*ListDashboardsOutput, error) {
4441	req, out := c.ListDashboardsRequest(input)
4442	req.SetContext(ctx)
4443	req.ApplyOptions(opts...)
4444	return out, req.Send()
4445}
4446
4447// ListDashboardsPages iterates over the pages of a ListDashboards operation,
4448// calling the "fn" function with the response data for each page. To stop
4449// iterating, return false from the fn function.
4450//
4451// See ListDashboards method for more information on how to use this operation.
4452//
4453// Note: This operation can generate multiple requests to a service.
4454//
4455//    // Example iterating over at most 3 pages of a ListDashboards operation.
4456//    pageNum := 0
4457//    err := client.ListDashboardsPages(params,
4458//        func(page *quicksight.ListDashboardsOutput, lastPage bool) bool {
4459//            pageNum++
4460//            fmt.Println(page)
4461//            return pageNum <= 3
4462//        })
4463//
4464func (c *QuickSight) ListDashboardsPages(input *ListDashboardsInput, fn func(*ListDashboardsOutput, bool) bool) error {
4465	return c.ListDashboardsPagesWithContext(aws.BackgroundContext(), input, fn)
4466}
4467
4468// ListDashboardsPagesWithContext same as ListDashboardsPages except
4469// it takes a Context and allows setting request options on the pages.
4470//
4471// The context must be non-nil and will be used for request cancellation. If
4472// the context is nil a panic will occur. In the future the SDK may create
4473// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4474// for more information on using Contexts.
4475func (c *QuickSight) ListDashboardsPagesWithContext(ctx aws.Context, input *ListDashboardsInput, fn func(*ListDashboardsOutput, bool) bool, opts ...request.Option) error {
4476	p := request.Pagination{
4477		NewRequest: func() (*request.Request, error) {
4478			var inCpy *ListDashboardsInput
4479			if input != nil {
4480				tmp := *input
4481				inCpy = &tmp
4482			}
4483			req, _ := c.ListDashboardsRequest(inCpy)
4484			req.SetContext(ctx)
4485			req.ApplyOptions(opts...)
4486			return req, nil
4487		},
4488	}
4489
4490	for p.Next() {
4491		if !fn(p.Page().(*ListDashboardsOutput), !p.HasNextPage()) {
4492			break
4493		}
4494	}
4495
4496	return p.Err()
4497}
4498
4499const opListDataSets = "ListDataSets"
4500
4501// ListDataSetsRequest generates a "aws/request.Request" representing the
4502// client's request for the ListDataSets operation. The "output" return
4503// value will be populated with the request's response once the request completes
4504// successfully.
4505//
4506// Use "Send" method on the returned Request to send the API call to the service.
4507// the "output" return value is not valid until after Send returns without error.
4508//
4509// See ListDataSets for more information on using the ListDataSets
4510// API call, and error handling.
4511//
4512// This method is useful when you want to inject custom logic or configuration
4513// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4514//
4515//
4516//    // Example sending a request using the ListDataSetsRequest method.
4517//    req, resp := client.ListDataSetsRequest(params)
4518//
4519//    err := req.Send()
4520//    if err == nil { // resp is now filled
4521//        fmt.Println(resp)
4522//    }
4523//
4524// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSets
4525func (c *QuickSight) ListDataSetsRequest(input *ListDataSetsInput) (req *request.Request, output *ListDataSetsOutput) {
4526	op := &request.Operation{
4527		Name:       opListDataSets,
4528		HTTPMethod: "GET",
4529		HTTPPath:   "/accounts/{AwsAccountId}/data-sets",
4530		Paginator: &request.Paginator{
4531			InputTokens:     []string{"NextToken"},
4532			OutputTokens:    []string{"NextToken"},
4533			LimitToken:      "MaxResults",
4534			TruncationToken: "",
4535		},
4536	}
4537
4538	if input == nil {
4539		input = &ListDataSetsInput{}
4540	}
4541
4542	output = &ListDataSetsOutput{}
4543	req = c.newRequest(op, input, output)
4544	return
4545}
4546
4547// ListDataSets API operation for Amazon QuickSight.
4548//
4549// Lists all of the datasets belonging to the current AWS account in an AWS
4550// Region.
4551//
4552// The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/*.
4553//
4554// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4555// with awserr.Error's Code and Message methods to get detailed information about
4556// the error.
4557//
4558// See the AWS API reference guide for Amazon QuickSight's
4559// API operation ListDataSets for usage and error information.
4560//
4561// Returned Error Types:
4562//   * AccessDeniedException
4563//   You don't have access to this item. The provided credentials couldn't be
4564//   validated. You might not be authorized to carry out the request. Make sure
4565//   that your account is authorized to use the Amazon QuickSight service, that
4566//   your policies have the correct permissions, and that you are using the correct
4567//   access keys.
4568//
4569//   * InvalidParameterValueException
4570//   One or more parameters has a value that isn't valid.
4571//
4572//   * ThrottlingException
4573//   Access is throttled.
4574//
4575//   * InvalidNextTokenException
4576//   The NextToken value isn't valid.
4577//
4578//   * InternalFailureException
4579//   An internal failure occurred.
4580//
4581// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSets
4582func (c *QuickSight) ListDataSets(input *ListDataSetsInput) (*ListDataSetsOutput, error) {
4583	req, out := c.ListDataSetsRequest(input)
4584	return out, req.Send()
4585}
4586
4587// ListDataSetsWithContext is the same as ListDataSets with the addition of
4588// the ability to pass a context and additional request options.
4589//
4590// See ListDataSets for details on how to use this API operation.
4591//
4592// The context must be non-nil and will be used for request cancellation. If
4593// the context is nil a panic will occur. In the future the SDK may create
4594// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4595// for more information on using Contexts.
4596func (c *QuickSight) ListDataSetsWithContext(ctx aws.Context, input *ListDataSetsInput, opts ...request.Option) (*ListDataSetsOutput, error) {
4597	req, out := c.ListDataSetsRequest(input)
4598	req.SetContext(ctx)
4599	req.ApplyOptions(opts...)
4600	return out, req.Send()
4601}
4602
4603// ListDataSetsPages iterates over the pages of a ListDataSets operation,
4604// calling the "fn" function with the response data for each page. To stop
4605// iterating, return false from the fn function.
4606//
4607// See ListDataSets method for more information on how to use this operation.
4608//
4609// Note: This operation can generate multiple requests to a service.
4610//
4611//    // Example iterating over at most 3 pages of a ListDataSets operation.
4612//    pageNum := 0
4613//    err := client.ListDataSetsPages(params,
4614//        func(page *quicksight.ListDataSetsOutput, lastPage bool) bool {
4615//            pageNum++
4616//            fmt.Println(page)
4617//            return pageNum <= 3
4618//        })
4619//
4620func (c *QuickSight) ListDataSetsPages(input *ListDataSetsInput, fn func(*ListDataSetsOutput, bool) bool) error {
4621	return c.ListDataSetsPagesWithContext(aws.BackgroundContext(), input, fn)
4622}
4623
4624// ListDataSetsPagesWithContext same as ListDataSetsPages except
4625// it takes a Context and allows setting request options on the pages.
4626//
4627// The context must be non-nil and will be used for request cancellation. If
4628// the context is nil a panic will occur. In the future the SDK may create
4629// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4630// for more information on using Contexts.
4631func (c *QuickSight) ListDataSetsPagesWithContext(ctx aws.Context, input *ListDataSetsInput, fn func(*ListDataSetsOutput, bool) bool, opts ...request.Option) error {
4632	p := request.Pagination{
4633		NewRequest: func() (*request.Request, error) {
4634			var inCpy *ListDataSetsInput
4635			if input != nil {
4636				tmp := *input
4637				inCpy = &tmp
4638			}
4639			req, _ := c.ListDataSetsRequest(inCpy)
4640			req.SetContext(ctx)
4641			req.ApplyOptions(opts...)
4642			return req, nil
4643		},
4644	}
4645
4646	for p.Next() {
4647		if !fn(p.Page().(*ListDataSetsOutput), !p.HasNextPage()) {
4648			break
4649		}
4650	}
4651
4652	return p.Err()
4653}
4654
4655const opListDataSources = "ListDataSources"
4656
4657// ListDataSourcesRequest generates a "aws/request.Request" representing the
4658// client's request for the ListDataSources operation. The "output" return
4659// value will be populated with the request's response once the request completes
4660// successfully.
4661//
4662// Use "Send" method on the returned Request to send the API call to the service.
4663// the "output" return value is not valid until after Send returns without error.
4664//
4665// See ListDataSources for more information on using the ListDataSources
4666// API call, and error handling.
4667//
4668// This method is useful when you want to inject custom logic or configuration
4669// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4670//
4671//
4672//    // Example sending a request using the ListDataSourcesRequest method.
4673//    req, resp := client.ListDataSourcesRequest(params)
4674//
4675//    err := req.Send()
4676//    if err == nil { // resp is now filled
4677//        fmt.Println(resp)
4678//    }
4679//
4680// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSources
4681func (c *QuickSight) ListDataSourcesRequest(input *ListDataSourcesInput) (req *request.Request, output *ListDataSourcesOutput) {
4682	op := &request.Operation{
4683		Name:       opListDataSources,
4684		HTTPMethod: "GET",
4685		HTTPPath:   "/accounts/{AwsAccountId}/data-sources",
4686		Paginator: &request.Paginator{
4687			InputTokens:     []string{"NextToken"},
4688			OutputTokens:    []string{"NextToken"},
4689			LimitToken:      "MaxResults",
4690			TruncationToken: "",
4691		},
4692	}
4693
4694	if input == nil {
4695		input = &ListDataSourcesInput{}
4696	}
4697
4698	output = &ListDataSourcesOutput{}
4699	req = c.newRequest(op, input, output)
4700	return
4701}
4702
4703// ListDataSources API operation for Amazon QuickSight.
4704//
4705// Lists data sources in current AWS Region that belong to this AWS account.
4706//
4707// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4708// with awserr.Error's Code and Message methods to get detailed information about
4709// the error.
4710//
4711// See the AWS API reference guide for Amazon QuickSight's
4712// API operation ListDataSources for usage and error information.
4713//
4714// Returned Error Types:
4715//   * AccessDeniedException
4716//   You don't have access to this item. The provided credentials couldn't be
4717//   validated. You might not be authorized to carry out the request. Make sure
4718//   that your account is authorized to use the Amazon QuickSight service, that
4719//   your policies have the correct permissions, and that you are using the correct
4720//   access keys.
4721//
4722//   * InvalidParameterValueException
4723//   One or more parameters has a value that isn't valid.
4724//
4725//   * ThrottlingException
4726//   Access is throttled.
4727//
4728//   * InvalidNextTokenException
4729//   The NextToken value isn't valid.
4730//
4731//   * InternalFailureException
4732//   An internal failure occurred.
4733//
4734// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSources
4735func (c *QuickSight) ListDataSources(input *ListDataSourcesInput) (*ListDataSourcesOutput, error) {
4736	req, out := c.ListDataSourcesRequest(input)
4737	return out, req.Send()
4738}
4739
4740// ListDataSourcesWithContext is the same as ListDataSources with the addition of
4741// the ability to pass a context and additional request options.
4742//
4743// See ListDataSources for details on how to use this API operation.
4744//
4745// The context must be non-nil and will be used for request cancellation. If
4746// the context is nil a panic will occur. In the future the SDK may create
4747// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4748// for more information on using Contexts.
4749func (c *QuickSight) ListDataSourcesWithContext(ctx aws.Context, input *ListDataSourcesInput, opts ...request.Option) (*ListDataSourcesOutput, error) {
4750	req, out := c.ListDataSourcesRequest(input)
4751	req.SetContext(ctx)
4752	req.ApplyOptions(opts...)
4753	return out, req.Send()
4754}
4755
4756// ListDataSourcesPages iterates over the pages of a ListDataSources operation,
4757// calling the "fn" function with the response data for each page. To stop
4758// iterating, return false from the fn function.
4759//
4760// See ListDataSources method for more information on how to use this operation.
4761//
4762// Note: This operation can generate multiple requests to a service.
4763//
4764//    // Example iterating over at most 3 pages of a ListDataSources operation.
4765//    pageNum := 0
4766//    err := client.ListDataSourcesPages(params,
4767//        func(page *quicksight.ListDataSourcesOutput, lastPage bool) bool {
4768//            pageNum++
4769//            fmt.Println(page)
4770//            return pageNum <= 3
4771//        })
4772//
4773func (c *QuickSight) ListDataSourcesPages(input *ListDataSourcesInput, fn func(*ListDataSourcesOutput, bool) bool) error {
4774	return c.ListDataSourcesPagesWithContext(aws.BackgroundContext(), input, fn)
4775}
4776
4777// ListDataSourcesPagesWithContext same as ListDataSourcesPages except
4778// it takes a Context and allows setting request options on the pages.
4779//
4780// The context must be non-nil and will be used for request cancellation. If
4781// the context is nil a panic will occur. In the future the SDK may create
4782// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4783// for more information on using Contexts.
4784func (c *QuickSight) ListDataSourcesPagesWithContext(ctx aws.Context, input *ListDataSourcesInput, fn func(*ListDataSourcesOutput, bool) bool, opts ...request.Option) error {
4785	p := request.Pagination{
4786		NewRequest: func() (*request.Request, error) {
4787			var inCpy *ListDataSourcesInput
4788			if input != nil {
4789				tmp := *input
4790				inCpy = &tmp
4791			}
4792			req, _ := c.ListDataSourcesRequest(inCpy)
4793			req.SetContext(ctx)
4794			req.ApplyOptions(opts...)
4795			return req, nil
4796		},
4797	}
4798
4799	for p.Next() {
4800		if !fn(p.Page().(*ListDataSourcesOutput), !p.HasNextPage()) {
4801			break
4802		}
4803	}
4804
4805	return p.Err()
4806}
4807
4808const opListGroupMemberships = "ListGroupMemberships"
4809
4810// ListGroupMembershipsRequest generates a "aws/request.Request" representing the
4811// client's request for the ListGroupMemberships operation. The "output" return
4812// value will be populated with the request's response once the request completes
4813// successfully.
4814//
4815// Use "Send" method on the returned Request to send the API call to the service.
4816// the "output" return value is not valid until after Send returns without error.
4817//
4818// See ListGroupMemberships for more information on using the ListGroupMemberships
4819// API call, and error handling.
4820//
4821// This method is useful when you want to inject custom logic or configuration
4822// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4823//
4824//
4825//    // Example sending a request using the ListGroupMembershipsRequest method.
4826//    req, resp := client.ListGroupMembershipsRequest(params)
4827//
4828//    err := req.Send()
4829//    if err == nil { // resp is now filled
4830//        fmt.Println(resp)
4831//    }
4832//
4833// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroupMemberships
4834func (c *QuickSight) ListGroupMembershipsRequest(input *ListGroupMembershipsInput) (req *request.Request, output *ListGroupMembershipsOutput) {
4835	op := &request.Operation{
4836		Name:       opListGroupMemberships,
4837		HTTPMethod: "GET",
4838		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members",
4839	}
4840
4841	if input == nil {
4842		input = &ListGroupMembershipsInput{}
4843	}
4844
4845	output = &ListGroupMembershipsOutput{}
4846	req = c.newRequest(op, input, output)
4847	return
4848}
4849
4850// ListGroupMemberships API operation for Amazon QuickSight.
4851//
4852// Lists member users in a group.
4853//
4854// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4855// with awserr.Error's Code and Message methods to get detailed information about
4856// the error.
4857//
4858// See the AWS API reference guide for Amazon QuickSight's
4859// API operation ListGroupMemberships for usage and error information.
4860//
4861// Returned Error Types:
4862//   * AccessDeniedException
4863//   You don't have access to this item. The provided credentials couldn't be
4864//   validated. You might not be authorized to carry out the request. Make sure
4865//   that your account is authorized to use the Amazon QuickSight service, that
4866//   your policies have the correct permissions, and that you are using the correct
4867//   access keys.
4868//
4869//   * InvalidParameterValueException
4870//   One or more parameters has a value that isn't valid.
4871//
4872//   * ResourceNotFoundException
4873//   One or more resources can't be found.
4874//
4875//   * ThrottlingException
4876//   Access is throttled.
4877//
4878//   * InvalidNextTokenException
4879//   The NextToken value isn't valid.
4880//
4881//   * PreconditionNotMetException
4882//   One or more preconditions aren't met.
4883//
4884//   * InternalFailureException
4885//   An internal failure occurred.
4886//
4887//   * ResourceUnavailableException
4888//   This resource is currently unavailable.
4889//
4890// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroupMemberships
4891func (c *QuickSight) ListGroupMemberships(input *ListGroupMembershipsInput) (*ListGroupMembershipsOutput, error) {
4892	req, out := c.ListGroupMembershipsRequest(input)
4893	return out, req.Send()
4894}
4895
4896// ListGroupMembershipsWithContext is the same as ListGroupMemberships with the addition of
4897// the ability to pass a context and additional request options.
4898//
4899// See ListGroupMemberships for details on how to use this API operation.
4900//
4901// The context must be non-nil and will be used for request cancellation. If
4902// the context is nil a panic will occur. In the future the SDK may create
4903// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4904// for more information on using Contexts.
4905func (c *QuickSight) ListGroupMembershipsWithContext(ctx aws.Context, input *ListGroupMembershipsInput, opts ...request.Option) (*ListGroupMembershipsOutput, error) {
4906	req, out := c.ListGroupMembershipsRequest(input)
4907	req.SetContext(ctx)
4908	req.ApplyOptions(opts...)
4909	return out, req.Send()
4910}
4911
4912const opListGroups = "ListGroups"
4913
4914// ListGroupsRequest generates a "aws/request.Request" representing the
4915// client's request for the ListGroups operation. The "output" return
4916// value will be populated with the request's response once the request completes
4917// successfully.
4918//
4919// Use "Send" method on the returned Request to send the API call to the service.
4920// the "output" return value is not valid until after Send returns without error.
4921//
4922// See ListGroups for more information on using the ListGroups
4923// API call, and error handling.
4924//
4925// This method is useful when you want to inject custom logic or configuration
4926// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4927//
4928//
4929//    // Example sending a request using the ListGroupsRequest method.
4930//    req, resp := client.ListGroupsRequest(params)
4931//
4932//    err := req.Send()
4933//    if err == nil { // resp is now filled
4934//        fmt.Println(resp)
4935//    }
4936//
4937// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroups
4938func (c *QuickSight) ListGroupsRequest(input *ListGroupsInput) (req *request.Request, output *ListGroupsOutput) {
4939	op := &request.Operation{
4940		Name:       opListGroups,
4941		HTTPMethod: "GET",
4942		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups",
4943	}
4944
4945	if input == nil {
4946		input = &ListGroupsInput{}
4947	}
4948
4949	output = &ListGroupsOutput{}
4950	req = c.newRequest(op, input, output)
4951	return
4952}
4953
4954// ListGroups API operation for Amazon QuickSight.
4955//
4956// Lists all user groups in Amazon QuickSight.
4957//
4958// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4959// with awserr.Error's Code and Message methods to get detailed information about
4960// the error.
4961//
4962// See the AWS API reference guide for Amazon QuickSight's
4963// API operation ListGroups for usage and error information.
4964//
4965// Returned Error Types:
4966//   * AccessDeniedException
4967//   You don't have access to this item. The provided credentials couldn't be
4968//   validated. You might not be authorized to carry out the request. Make sure
4969//   that your account is authorized to use the Amazon QuickSight service, that
4970//   your policies have the correct permissions, and that you are using the correct
4971//   access keys.
4972//
4973//   * InvalidParameterValueException
4974//   One or more parameters has a value that isn't valid.
4975//
4976//   * ResourceNotFoundException
4977//   One or more resources can't be found.
4978//
4979//   * ThrottlingException
4980//   Access is throttled.
4981//
4982//   * InvalidNextTokenException
4983//   The NextToken value isn't valid.
4984//
4985//   * PreconditionNotMetException
4986//   One or more preconditions aren't met.
4987//
4988//   * InternalFailureException
4989//   An internal failure occurred.
4990//
4991//   * ResourceUnavailableException
4992//   This resource is currently unavailable.
4993//
4994// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroups
4995func (c *QuickSight) ListGroups(input *ListGroupsInput) (*ListGroupsOutput, error) {
4996	req, out := c.ListGroupsRequest(input)
4997	return out, req.Send()
4998}
4999
5000// ListGroupsWithContext is the same as ListGroups with the addition of
5001// the ability to pass a context and additional request options.
5002//
5003// See ListGroups for details on how to use this API operation.
5004//
5005// The context must be non-nil and will be used for request cancellation. If
5006// the context is nil a panic will occur. In the future the SDK may create
5007// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5008// for more information on using Contexts.
5009func (c *QuickSight) ListGroupsWithContext(ctx aws.Context, input *ListGroupsInput, opts ...request.Option) (*ListGroupsOutput, error) {
5010	req, out := c.ListGroupsRequest(input)
5011	req.SetContext(ctx)
5012	req.ApplyOptions(opts...)
5013	return out, req.Send()
5014}
5015
5016const opListIAMPolicyAssignments = "ListIAMPolicyAssignments"
5017
5018// ListIAMPolicyAssignmentsRequest generates a "aws/request.Request" representing the
5019// client's request for the ListIAMPolicyAssignments operation. The "output" return
5020// value will be populated with the request's response once the request completes
5021// successfully.
5022//
5023// Use "Send" method on the returned Request to send the API call to the service.
5024// the "output" return value is not valid until after Send returns without error.
5025//
5026// See ListIAMPolicyAssignments for more information on using the ListIAMPolicyAssignments
5027// API call, and error handling.
5028//
5029// This method is useful when you want to inject custom logic or configuration
5030// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5031//
5032//
5033//    // Example sending a request using the ListIAMPolicyAssignmentsRequest method.
5034//    req, resp := client.ListIAMPolicyAssignmentsRequest(params)
5035//
5036//    err := req.Send()
5037//    if err == nil { // resp is now filled
5038//        fmt.Println(resp)
5039//    }
5040//
5041// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignments
5042func (c *QuickSight) ListIAMPolicyAssignmentsRequest(input *ListIAMPolicyAssignmentsInput) (req *request.Request, output *ListIAMPolicyAssignmentsOutput) {
5043	op := &request.Operation{
5044		Name:       opListIAMPolicyAssignments,
5045		HTTPMethod: "GET",
5046		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments",
5047	}
5048
5049	if input == nil {
5050		input = &ListIAMPolicyAssignmentsInput{}
5051	}
5052
5053	output = &ListIAMPolicyAssignmentsOutput{}
5054	req = c.newRequest(op, input, output)
5055	return
5056}
5057
5058// ListIAMPolicyAssignments API operation for Amazon QuickSight.
5059//
5060// Lists IAM policy assignments in the current Amazon QuickSight account.
5061//
5062// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5063// with awserr.Error's Code and Message methods to get detailed information about
5064// the error.
5065//
5066// See the AWS API reference guide for Amazon QuickSight's
5067// API operation ListIAMPolicyAssignments for usage and error information.
5068//
5069// Returned Error Types:
5070//   * AccessDeniedException
5071//   You don't have access to this item. The provided credentials couldn't be
5072//   validated. You might not be authorized to carry out the request. Make sure
5073//   that your account is authorized to use the Amazon QuickSight service, that
5074//   your policies have the correct permissions, and that you are using the correct
5075//   access keys.
5076//
5077//   * InvalidParameterValueException
5078//   One or more parameters has a value that isn't valid.
5079//
5080//   * ResourceNotFoundException
5081//   One or more resources can't be found.
5082//
5083//   * ThrottlingException
5084//   Access is throttled.
5085//
5086//   * InvalidNextTokenException
5087//   The NextToken value isn't valid.
5088//
5089//   * InternalFailureException
5090//   An internal failure occurred.
5091//
5092// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignments
5093func (c *QuickSight) ListIAMPolicyAssignments(input *ListIAMPolicyAssignmentsInput) (*ListIAMPolicyAssignmentsOutput, error) {
5094	req, out := c.ListIAMPolicyAssignmentsRequest(input)
5095	return out, req.Send()
5096}
5097
5098// ListIAMPolicyAssignmentsWithContext is the same as ListIAMPolicyAssignments with the addition of
5099// the ability to pass a context and additional request options.
5100//
5101// See ListIAMPolicyAssignments for details on how to use this API operation.
5102//
5103// The context must be non-nil and will be used for request cancellation. If
5104// the context is nil a panic will occur. In the future the SDK may create
5105// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5106// for more information on using Contexts.
5107func (c *QuickSight) ListIAMPolicyAssignmentsWithContext(ctx aws.Context, input *ListIAMPolicyAssignmentsInput, opts ...request.Option) (*ListIAMPolicyAssignmentsOutput, error) {
5108	req, out := c.ListIAMPolicyAssignmentsRequest(input)
5109	req.SetContext(ctx)
5110	req.ApplyOptions(opts...)
5111	return out, req.Send()
5112}
5113
5114const opListIAMPolicyAssignmentsForUser = "ListIAMPolicyAssignmentsForUser"
5115
5116// ListIAMPolicyAssignmentsForUserRequest generates a "aws/request.Request" representing the
5117// client's request for the ListIAMPolicyAssignmentsForUser operation. The "output" return
5118// value will be populated with the request's response once the request completes
5119// successfully.
5120//
5121// Use "Send" method on the returned Request to send the API call to the service.
5122// the "output" return value is not valid until after Send returns without error.
5123//
5124// See ListIAMPolicyAssignmentsForUser for more information on using the ListIAMPolicyAssignmentsForUser
5125// API call, and error handling.
5126//
5127// This method is useful when you want to inject custom logic or configuration
5128// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5129//
5130//
5131//    // Example sending a request using the ListIAMPolicyAssignmentsForUserRequest method.
5132//    req, resp := client.ListIAMPolicyAssignmentsForUserRequest(params)
5133//
5134//    err := req.Send()
5135//    if err == nil { // resp is now filled
5136//        fmt.Println(resp)
5137//    }
5138//
5139// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignmentsForUser
5140func (c *QuickSight) ListIAMPolicyAssignmentsForUserRequest(input *ListIAMPolicyAssignmentsForUserInput) (req *request.Request, output *ListIAMPolicyAssignmentsForUserOutput) {
5141	op := &request.Operation{
5142		Name:       opListIAMPolicyAssignmentsForUser,
5143		HTTPMethod: "GET",
5144		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/iam-policy-assignments",
5145	}
5146
5147	if input == nil {
5148		input = &ListIAMPolicyAssignmentsForUserInput{}
5149	}
5150
5151	output = &ListIAMPolicyAssignmentsForUserOutput{}
5152	req = c.newRequest(op, input, output)
5153	return
5154}
5155
5156// ListIAMPolicyAssignmentsForUser API operation for Amazon QuickSight.
5157//
5158// Lists all the IAM policy assignments, including the Amazon Resource Names
5159// (ARNs) for the IAM policies assigned to the specified user and group or groups
5160// that the user belongs to.
5161//
5162// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5163// with awserr.Error's Code and Message methods to get detailed information about
5164// the error.
5165//
5166// See the AWS API reference guide for Amazon QuickSight's
5167// API operation ListIAMPolicyAssignmentsForUser for usage and error information.
5168//
5169// Returned Error Types:
5170//   * AccessDeniedException
5171//   You don't have access to this item. The provided credentials couldn't be
5172//   validated. You might not be authorized to carry out the request. Make sure
5173//   that your account is authorized to use the Amazon QuickSight service, that
5174//   your policies have the correct permissions, and that you are using the correct
5175//   access keys.
5176//
5177//   * InvalidParameterValueException
5178//   One or more parameters has a value that isn't valid.
5179//
5180//   * ResourceExistsException
5181//   The resource specified already exists.
5182//
5183//   * ResourceNotFoundException
5184//   One or more resources can't be found.
5185//
5186//   * ThrottlingException
5187//   Access is throttled.
5188//
5189//   * ConcurrentUpdatingException
5190//   A resource is already in a state that indicates an action is happening that
5191//   must complete before a new update can be applied.
5192//
5193//   * InternalFailureException
5194//   An internal failure occurred.
5195//
5196// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignmentsForUser
5197func (c *QuickSight) ListIAMPolicyAssignmentsForUser(input *ListIAMPolicyAssignmentsForUserInput) (*ListIAMPolicyAssignmentsForUserOutput, error) {
5198	req, out := c.ListIAMPolicyAssignmentsForUserRequest(input)
5199	return out, req.Send()
5200}
5201
5202// ListIAMPolicyAssignmentsForUserWithContext is the same as ListIAMPolicyAssignmentsForUser with the addition of
5203// the ability to pass a context and additional request options.
5204//
5205// See ListIAMPolicyAssignmentsForUser for details on how to use this API operation.
5206//
5207// The context must be non-nil and will be used for request cancellation. If
5208// the context is nil a panic will occur. In the future the SDK may create
5209// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5210// for more information on using Contexts.
5211func (c *QuickSight) ListIAMPolicyAssignmentsForUserWithContext(ctx aws.Context, input *ListIAMPolicyAssignmentsForUserInput, opts ...request.Option) (*ListIAMPolicyAssignmentsForUserOutput, error) {
5212	req, out := c.ListIAMPolicyAssignmentsForUserRequest(input)
5213	req.SetContext(ctx)
5214	req.ApplyOptions(opts...)
5215	return out, req.Send()
5216}
5217
5218const opListIngestions = "ListIngestions"
5219
5220// ListIngestionsRequest generates a "aws/request.Request" representing the
5221// client's request for the ListIngestions operation. The "output" return
5222// value will be populated with the request's response once the request completes
5223// successfully.
5224//
5225// Use "Send" method on the returned Request to send the API call to the service.
5226// the "output" return value is not valid until after Send returns without error.
5227//
5228// See ListIngestions for more information on using the ListIngestions
5229// API call, and error handling.
5230//
5231// This method is useful when you want to inject custom logic or configuration
5232// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5233//
5234//
5235//    // Example sending a request using the ListIngestionsRequest method.
5236//    req, resp := client.ListIngestionsRequest(params)
5237//
5238//    err := req.Send()
5239//    if err == nil { // resp is now filled
5240//        fmt.Println(resp)
5241//    }
5242//
5243// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIngestions
5244func (c *QuickSight) ListIngestionsRequest(input *ListIngestionsInput) (req *request.Request, output *ListIngestionsOutput) {
5245	op := &request.Operation{
5246		Name:       opListIngestions,
5247		HTTPMethod: "GET",
5248		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions",
5249		Paginator: &request.Paginator{
5250			InputTokens:     []string{"NextToken"},
5251			OutputTokens:    []string{"NextToken"},
5252			LimitToken:      "MaxResults",
5253			TruncationToken: "",
5254		},
5255	}
5256
5257	if input == nil {
5258		input = &ListIngestionsInput{}
5259	}
5260
5261	output = &ListIngestionsOutput{}
5262	req = c.newRequest(op, input, output)
5263	return
5264}
5265
5266// ListIngestions API operation for Amazon QuickSight.
5267//
5268// Lists the history of SPICE ingestions for a dataset.
5269//
5270// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5271// with awserr.Error's Code and Message methods to get detailed information about
5272// the error.
5273//
5274// See the AWS API reference guide for Amazon QuickSight's
5275// API operation ListIngestions for usage and error information.
5276//
5277// Returned Error Types:
5278//   * AccessDeniedException
5279//   You don't have access to this item. The provided credentials couldn't be
5280//   validated. You might not be authorized to carry out the request. Make sure
5281//   that your account is authorized to use the Amazon QuickSight service, that
5282//   your policies have the correct permissions, and that you are using the correct
5283//   access keys.
5284//
5285//   * InvalidParameterValueException
5286//   One or more parameters has a value that isn't valid.
5287//
5288//   * ResourceNotFoundException
5289//   One or more resources can't be found.
5290//
5291//   * ThrottlingException
5292//   Access is throttled.
5293//
5294//   * ResourceExistsException
5295//   The resource specified already exists.
5296//
5297//   * InvalidNextTokenException
5298//   The NextToken value isn't valid.
5299//
5300//   * InternalFailureException
5301//   An internal failure occurred.
5302//
5303// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIngestions
5304func (c *QuickSight) ListIngestions(input *ListIngestionsInput) (*ListIngestionsOutput, error) {
5305	req, out := c.ListIngestionsRequest(input)
5306	return out, req.Send()
5307}
5308
5309// ListIngestionsWithContext is the same as ListIngestions with the addition of
5310// the ability to pass a context and additional request options.
5311//
5312// See ListIngestions for details on how to use this API operation.
5313//
5314// The context must be non-nil and will be used for request cancellation. If
5315// the context is nil a panic will occur. In the future the SDK may create
5316// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5317// for more information on using Contexts.
5318func (c *QuickSight) ListIngestionsWithContext(ctx aws.Context, input *ListIngestionsInput, opts ...request.Option) (*ListIngestionsOutput, error) {
5319	req, out := c.ListIngestionsRequest(input)
5320	req.SetContext(ctx)
5321	req.ApplyOptions(opts...)
5322	return out, req.Send()
5323}
5324
5325// ListIngestionsPages iterates over the pages of a ListIngestions operation,
5326// calling the "fn" function with the response data for each page. To stop
5327// iterating, return false from the fn function.
5328//
5329// See ListIngestions method for more information on how to use this operation.
5330//
5331// Note: This operation can generate multiple requests to a service.
5332//
5333//    // Example iterating over at most 3 pages of a ListIngestions operation.
5334//    pageNum := 0
5335//    err := client.ListIngestionsPages(params,
5336//        func(page *quicksight.ListIngestionsOutput, lastPage bool) bool {
5337//            pageNum++
5338//            fmt.Println(page)
5339//            return pageNum <= 3
5340//        })
5341//
5342func (c *QuickSight) ListIngestionsPages(input *ListIngestionsInput, fn func(*ListIngestionsOutput, bool) bool) error {
5343	return c.ListIngestionsPagesWithContext(aws.BackgroundContext(), input, fn)
5344}
5345
5346// ListIngestionsPagesWithContext same as ListIngestionsPages except
5347// it takes a Context and allows setting request options on the pages.
5348//
5349// The context must be non-nil and will be used for request cancellation. If
5350// the context is nil a panic will occur. In the future the SDK may create
5351// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5352// for more information on using Contexts.
5353func (c *QuickSight) ListIngestionsPagesWithContext(ctx aws.Context, input *ListIngestionsInput, fn func(*ListIngestionsOutput, bool) bool, opts ...request.Option) error {
5354	p := request.Pagination{
5355		NewRequest: func() (*request.Request, error) {
5356			var inCpy *ListIngestionsInput
5357			if input != nil {
5358				tmp := *input
5359				inCpy = &tmp
5360			}
5361			req, _ := c.ListIngestionsRequest(inCpy)
5362			req.SetContext(ctx)
5363			req.ApplyOptions(opts...)
5364			return req, nil
5365		},
5366	}
5367
5368	for p.Next() {
5369		if !fn(p.Page().(*ListIngestionsOutput), !p.HasNextPage()) {
5370			break
5371		}
5372	}
5373
5374	return p.Err()
5375}
5376
5377const opListTagsForResource = "ListTagsForResource"
5378
5379// ListTagsForResourceRequest generates a "aws/request.Request" representing the
5380// client's request for the ListTagsForResource operation. The "output" return
5381// value will be populated with the request's response once the request completes
5382// successfully.
5383//
5384// Use "Send" method on the returned Request to send the API call to the service.
5385// the "output" return value is not valid until after Send returns without error.
5386//
5387// See ListTagsForResource for more information on using the ListTagsForResource
5388// API call, and error handling.
5389//
5390// This method is useful when you want to inject custom logic or configuration
5391// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5392//
5393//
5394//    // Example sending a request using the ListTagsForResourceRequest method.
5395//    req, resp := client.ListTagsForResourceRequest(params)
5396//
5397//    err := req.Send()
5398//    if err == nil { // resp is now filled
5399//        fmt.Println(resp)
5400//    }
5401//
5402// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTagsForResource
5403func (c *QuickSight) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
5404	op := &request.Operation{
5405		Name:       opListTagsForResource,
5406		HTTPMethod: "GET",
5407		HTTPPath:   "/resources/{ResourceArn}/tags",
5408	}
5409
5410	if input == nil {
5411		input = &ListTagsForResourceInput{}
5412	}
5413
5414	output = &ListTagsForResourceOutput{}
5415	req = c.newRequest(op, input, output)
5416	return
5417}
5418
5419// ListTagsForResource API operation for Amazon QuickSight.
5420//
5421// Lists the tags assigned to a resource.
5422//
5423// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5424// with awserr.Error's Code and Message methods to get detailed information about
5425// the error.
5426//
5427// See the AWS API reference guide for Amazon QuickSight's
5428// API operation ListTagsForResource for usage and error information.
5429//
5430// Returned Error Types:
5431//   * AccessDeniedException
5432//   You don't have access to this item. The provided credentials couldn't be
5433//   validated. You might not be authorized to carry out the request. Make sure
5434//   that your account is authorized to use the Amazon QuickSight service, that
5435//   your policies have the correct permissions, and that you are using the correct
5436//   access keys.
5437//
5438//   * InvalidParameterValueException
5439//   One or more parameters has a value that isn't valid.
5440//
5441//   * ResourceNotFoundException
5442//   One or more resources can't be found.
5443//
5444//   * ThrottlingException
5445//   Access is throttled.
5446//
5447//   * InternalFailureException
5448//   An internal failure occurred.
5449//
5450// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTagsForResource
5451func (c *QuickSight) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
5452	req, out := c.ListTagsForResourceRequest(input)
5453	return out, req.Send()
5454}
5455
5456// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
5457// the ability to pass a context and additional request options.
5458//
5459// See ListTagsForResource for details on how to use this API operation.
5460//
5461// The context must be non-nil and will be used for request cancellation. If
5462// the context is nil a panic will occur. In the future the SDK may create
5463// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5464// for more information on using Contexts.
5465func (c *QuickSight) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
5466	req, out := c.ListTagsForResourceRequest(input)
5467	req.SetContext(ctx)
5468	req.ApplyOptions(opts...)
5469	return out, req.Send()
5470}
5471
5472const opListTemplateAliases = "ListTemplateAliases"
5473
5474// ListTemplateAliasesRequest generates a "aws/request.Request" representing the
5475// client's request for the ListTemplateAliases operation. The "output" return
5476// value will be populated with the request's response once the request completes
5477// successfully.
5478//
5479// Use "Send" method on the returned Request to send the API call to the service.
5480// the "output" return value is not valid until after Send returns without error.
5481//
5482// See ListTemplateAliases for more information on using the ListTemplateAliases
5483// API call, and error handling.
5484//
5485// This method is useful when you want to inject custom logic or configuration
5486// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5487//
5488//
5489//    // Example sending a request using the ListTemplateAliasesRequest method.
5490//    req, resp := client.ListTemplateAliasesRequest(params)
5491//
5492//    err := req.Send()
5493//    if err == nil { // resp is now filled
5494//        fmt.Println(resp)
5495//    }
5496//
5497// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateAliases
5498func (c *QuickSight) ListTemplateAliasesRequest(input *ListTemplateAliasesInput) (req *request.Request, output *ListTemplateAliasesOutput) {
5499	op := &request.Operation{
5500		Name:       opListTemplateAliases,
5501		HTTPMethod: "GET",
5502		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases",
5503		Paginator: &request.Paginator{
5504			InputTokens:     []string{"NextToken"},
5505			OutputTokens:    []string{"NextToken"},
5506			LimitToken:      "MaxResults",
5507			TruncationToken: "",
5508		},
5509	}
5510
5511	if input == nil {
5512		input = &ListTemplateAliasesInput{}
5513	}
5514
5515	output = &ListTemplateAliasesOutput{}
5516	req = c.newRequest(op, input, output)
5517	return
5518}
5519
5520// ListTemplateAliases API operation for Amazon QuickSight.
5521//
5522// Lists all the aliases of a template.
5523//
5524// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5525// with awserr.Error's Code and Message methods to get detailed information about
5526// the error.
5527//
5528// See the AWS API reference guide for Amazon QuickSight's
5529// API operation ListTemplateAliases for usage and error information.
5530//
5531// Returned Error Types:
5532//   * InvalidNextTokenException
5533//   The NextToken value isn't valid.
5534//
5535//   * ThrottlingException
5536//   Access is throttled.
5537//
5538//   * ResourceNotFoundException
5539//   One or more resources can't be found.
5540//
5541//   * UnsupportedUserEditionException
5542//   This error indicates that you are calling an operation on an Amazon QuickSight
5543//   subscription where the edition doesn't include support for that operation.
5544//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
5545//   Not every operation and capability is available in every edition.
5546//
5547//   * InternalFailureException
5548//   An internal failure occurred.
5549//
5550// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateAliases
5551func (c *QuickSight) ListTemplateAliases(input *ListTemplateAliasesInput) (*ListTemplateAliasesOutput, error) {
5552	req, out := c.ListTemplateAliasesRequest(input)
5553	return out, req.Send()
5554}
5555
5556// ListTemplateAliasesWithContext is the same as ListTemplateAliases with the addition of
5557// the ability to pass a context and additional request options.
5558//
5559// See ListTemplateAliases for details on how to use this API operation.
5560//
5561// The context must be non-nil and will be used for request cancellation. If
5562// the context is nil a panic will occur. In the future the SDK may create
5563// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5564// for more information on using Contexts.
5565func (c *QuickSight) ListTemplateAliasesWithContext(ctx aws.Context, input *ListTemplateAliasesInput, opts ...request.Option) (*ListTemplateAliasesOutput, error) {
5566	req, out := c.ListTemplateAliasesRequest(input)
5567	req.SetContext(ctx)
5568	req.ApplyOptions(opts...)
5569	return out, req.Send()
5570}
5571
5572// ListTemplateAliasesPages iterates over the pages of a ListTemplateAliases operation,
5573// calling the "fn" function with the response data for each page. To stop
5574// iterating, return false from the fn function.
5575//
5576// See ListTemplateAliases method for more information on how to use this operation.
5577//
5578// Note: This operation can generate multiple requests to a service.
5579//
5580//    // Example iterating over at most 3 pages of a ListTemplateAliases operation.
5581//    pageNum := 0
5582//    err := client.ListTemplateAliasesPages(params,
5583//        func(page *quicksight.ListTemplateAliasesOutput, lastPage bool) bool {
5584//            pageNum++
5585//            fmt.Println(page)
5586//            return pageNum <= 3
5587//        })
5588//
5589func (c *QuickSight) ListTemplateAliasesPages(input *ListTemplateAliasesInput, fn func(*ListTemplateAliasesOutput, bool) bool) error {
5590	return c.ListTemplateAliasesPagesWithContext(aws.BackgroundContext(), input, fn)
5591}
5592
5593// ListTemplateAliasesPagesWithContext same as ListTemplateAliasesPages except
5594// it takes a Context and allows setting request options on the pages.
5595//
5596// The context must be non-nil and will be used for request cancellation. If
5597// the context is nil a panic will occur. In the future the SDK may create
5598// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5599// for more information on using Contexts.
5600func (c *QuickSight) ListTemplateAliasesPagesWithContext(ctx aws.Context, input *ListTemplateAliasesInput, fn func(*ListTemplateAliasesOutput, bool) bool, opts ...request.Option) error {
5601	p := request.Pagination{
5602		NewRequest: func() (*request.Request, error) {
5603			var inCpy *ListTemplateAliasesInput
5604			if input != nil {
5605				tmp := *input
5606				inCpy = &tmp
5607			}
5608			req, _ := c.ListTemplateAliasesRequest(inCpy)
5609			req.SetContext(ctx)
5610			req.ApplyOptions(opts...)
5611			return req, nil
5612		},
5613	}
5614
5615	for p.Next() {
5616		if !fn(p.Page().(*ListTemplateAliasesOutput), !p.HasNextPage()) {
5617			break
5618		}
5619	}
5620
5621	return p.Err()
5622}
5623
5624const opListTemplateVersions = "ListTemplateVersions"
5625
5626// ListTemplateVersionsRequest generates a "aws/request.Request" representing the
5627// client's request for the ListTemplateVersions operation. The "output" return
5628// value will be populated with the request's response once the request completes
5629// successfully.
5630//
5631// Use "Send" method on the returned Request to send the API call to the service.
5632// the "output" return value is not valid until after Send returns without error.
5633//
5634// See ListTemplateVersions for more information on using the ListTemplateVersions
5635// API call, and error handling.
5636//
5637// This method is useful when you want to inject custom logic or configuration
5638// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5639//
5640//
5641//    // Example sending a request using the ListTemplateVersionsRequest method.
5642//    req, resp := client.ListTemplateVersionsRequest(params)
5643//
5644//    err := req.Send()
5645//    if err == nil { // resp is now filled
5646//        fmt.Println(resp)
5647//    }
5648//
5649// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateVersions
5650func (c *QuickSight) ListTemplateVersionsRequest(input *ListTemplateVersionsInput) (req *request.Request, output *ListTemplateVersionsOutput) {
5651	op := &request.Operation{
5652		Name:       opListTemplateVersions,
5653		HTTPMethod: "GET",
5654		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/versions",
5655		Paginator: &request.Paginator{
5656			InputTokens:     []string{"NextToken"},
5657			OutputTokens:    []string{"NextToken"},
5658			LimitToken:      "MaxResults",
5659			TruncationToken: "",
5660		},
5661	}
5662
5663	if input == nil {
5664		input = &ListTemplateVersionsInput{}
5665	}
5666
5667	output = &ListTemplateVersionsOutput{}
5668	req = c.newRequest(op, input, output)
5669	return
5670}
5671
5672// ListTemplateVersions API operation for Amazon QuickSight.
5673//
5674// Lists all the versions of the templates in the current Amazon QuickSight
5675// account.
5676//
5677// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5678// with awserr.Error's Code and Message methods to get detailed information about
5679// the error.
5680//
5681// See the AWS API reference guide for Amazon QuickSight's
5682// API operation ListTemplateVersions for usage and error information.
5683//
5684// Returned Error Types:
5685//   * ThrottlingException
5686//   Access is throttled.
5687//
5688//   * InvalidParameterValueException
5689//   One or more parameters has a value that isn't valid.
5690//
5691//   * ResourceNotFoundException
5692//   One or more resources can't be found.
5693//
5694//   * InvalidNextTokenException
5695//   The NextToken value isn't valid.
5696//
5697//   * UnsupportedUserEditionException
5698//   This error indicates that you are calling an operation on an Amazon QuickSight
5699//   subscription where the edition doesn't include support for that operation.
5700//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
5701//   Not every operation and capability is available in every edition.
5702//
5703//   * InternalFailureException
5704//   An internal failure occurred.
5705//
5706// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateVersions
5707func (c *QuickSight) ListTemplateVersions(input *ListTemplateVersionsInput) (*ListTemplateVersionsOutput, error) {
5708	req, out := c.ListTemplateVersionsRequest(input)
5709	return out, req.Send()
5710}
5711
5712// ListTemplateVersionsWithContext is the same as ListTemplateVersions with the addition of
5713// the ability to pass a context and additional request options.
5714//
5715// See ListTemplateVersions for details on how to use this API operation.
5716//
5717// The context must be non-nil and will be used for request cancellation. If
5718// the context is nil a panic will occur. In the future the SDK may create
5719// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5720// for more information on using Contexts.
5721func (c *QuickSight) ListTemplateVersionsWithContext(ctx aws.Context, input *ListTemplateVersionsInput, opts ...request.Option) (*ListTemplateVersionsOutput, error) {
5722	req, out := c.ListTemplateVersionsRequest(input)
5723	req.SetContext(ctx)
5724	req.ApplyOptions(opts...)
5725	return out, req.Send()
5726}
5727
5728// ListTemplateVersionsPages iterates over the pages of a ListTemplateVersions operation,
5729// calling the "fn" function with the response data for each page. To stop
5730// iterating, return false from the fn function.
5731//
5732// See ListTemplateVersions method for more information on how to use this operation.
5733//
5734// Note: This operation can generate multiple requests to a service.
5735//
5736//    // Example iterating over at most 3 pages of a ListTemplateVersions operation.
5737//    pageNum := 0
5738//    err := client.ListTemplateVersionsPages(params,
5739//        func(page *quicksight.ListTemplateVersionsOutput, lastPage bool) bool {
5740//            pageNum++
5741//            fmt.Println(page)
5742//            return pageNum <= 3
5743//        })
5744//
5745func (c *QuickSight) ListTemplateVersionsPages(input *ListTemplateVersionsInput, fn func(*ListTemplateVersionsOutput, bool) bool) error {
5746	return c.ListTemplateVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
5747}
5748
5749// ListTemplateVersionsPagesWithContext same as ListTemplateVersionsPages except
5750// it takes a Context and allows setting request options on the pages.
5751//
5752// The context must be non-nil and will be used for request cancellation. If
5753// the context is nil a panic will occur. In the future the SDK may create
5754// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5755// for more information on using Contexts.
5756func (c *QuickSight) ListTemplateVersionsPagesWithContext(ctx aws.Context, input *ListTemplateVersionsInput, fn func(*ListTemplateVersionsOutput, bool) bool, opts ...request.Option) error {
5757	p := request.Pagination{
5758		NewRequest: func() (*request.Request, error) {
5759			var inCpy *ListTemplateVersionsInput
5760			if input != nil {
5761				tmp := *input
5762				inCpy = &tmp
5763			}
5764			req, _ := c.ListTemplateVersionsRequest(inCpy)
5765			req.SetContext(ctx)
5766			req.ApplyOptions(opts...)
5767			return req, nil
5768		},
5769	}
5770
5771	for p.Next() {
5772		if !fn(p.Page().(*ListTemplateVersionsOutput), !p.HasNextPage()) {
5773			break
5774		}
5775	}
5776
5777	return p.Err()
5778}
5779
5780const opListTemplates = "ListTemplates"
5781
5782// ListTemplatesRequest generates a "aws/request.Request" representing the
5783// client's request for the ListTemplates operation. The "output" return
5784// value will be populated with the request's response once the request completes
5785// successfully.
5786//
5787// Use "Send" method on the returned Request to send the API call to the service.
5788// the "output" return value is not valid until after Send returns without error.
5789//
5790// See ListTemplates for more information on using the ListTemplates
5791// API call, and error handling.
5792//
5793// This method is useful when you want to inject custom logic or configuration
5794// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5795//
5796//
5797//    // Example sending a request using the ListTemplatesRequest method.
5798//    req, resp := client.ListTemplatesRequest(params)
5799//
5800//    err := req.Send()
5801//    if err == nil { // resp is now filled
5802//        fmt.Println(resp)
5803//    }
5804//
5805// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplates
5806func (c *QuickSight) ListTemplatesRequest(input *ListTemplatesInput) (req *request.Request, output *ListTemplatesOutput) {
5807	op := &request.Operation{
5808		Name:       opListTemplates,
5809		HTTPMethod: "GET",
5810		HTTPPath:   "/accounts/{AwsAccountId}/templates",
5811		Paginator: &request.Paginator{
5812			InputTokens:     []string{"NextToken"},
5813			OutputTokens:    []string{"NextToken"},
5814			LimitToken:      "MaxResults",
5815			TruncationToken: "",
5816		},
5817	}
5818
5819	if input == nil {
5820		input = &ListTemplatesInput{}
5821	}
5822
5823	output = &ListTemplatesOutput{}
5824	req = c.newRequest(op, input, output)
5825	return
5826}
5827
5828// ListTemplates API operation for Amazon QuickSight.
5829//
5830// Lists all the templates in the current Amazon QuickSight account.
5831//
5832// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5833// with awserr.Error's Code and Message methods to get detailed information about
5834// the error.
5835//
5836// See the AWS API reference guide for Amazon QuickSight's
5837// API operation ListTemplates for usage and error information.
5838//
5839// Returned Error Types:
5840//   * ThrottlingException
5841//   Access is throttled.
5842//
5843//   * InvalidParameterValueException
5844//   One or more parameters has a value that isn't valid.
5845//
5846//   * ResourceNotFoundException
5847//   One or more resources can't be found.
5848//
5849//   * InvalidNextTokenException
5850//   The NextToken value isn't valid.
5851//
5852//   * UnsupportedUserEditionException
5853//   This error indicates that you are calling an operation on an Amazon QuickSight
5854//   subscription where the edition doesn't include support for that operation.
5855//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
5856//   Not every operation and capability is available in every edition.
5857//
5858//   * InternalFailureException
5859//   An internal failure occurred.
5860//
5861// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplates
5862func (c *QuickSight) ListTemplates(input *ListTemplatesInput) (*ListTemplatesOutput, error) {
5863	req, out := c.ListTemplatesRequest(input)
5864	return out, req.Send()
5865}
5866
5867// ListTemplatesWithContext is the same as ListTemplates with the addition of
5868// the ability to pass a context and additional request options.
5869//
5870// See ListTemplates for details on how to use this API operation.
5871//
5872// The context must be non-nil and will be used for request cancellation. If
5873// the context is nil a panic will occur. In the future the SDK may create
5874// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5875// for more information on using Contexts.
5876func (c *QuickSight) ListTemplatesWithContext(ctx aws.Context, input *ListTemplatesInput, opts ...request.Option) (*ListTemplatesOutput, error) {
5877	req, out := c.ListTemplatesRequest(input)
5878	req.SetContext(ctx)
5879	req.ApplyOptions(opts...)
5880	return out, req.Send()
5881}
5882
5883// ListTemplatesPages iterates over the pages of a ListTemplates operation,
5884// calling the "fn" function with the response data for each page. To stop
5885// iterating, return false from the fn function.
5886//
5887// See ListTemplates method for more information on how to use this operation.
5888//
5889// Note: This operation can generate multiple requests to a service.
5890//
5891//    // Example iterating over at most 3 pages of a ListTemplates operation.
5892//    pageNum := 0
5893//    err := client.ListTemplatesPages(params,
5894//        func(page *quicksight.ListTemplatesOutput, lastPage bool) bool {
5895//            pageNum++
5896//            fmt.Println(page)
5897//            return pageNum <= 3
5898//        })
5899//
5900func (c *QuickSight) ListTemplatesPages(input *ListTemplatesInput, fn func(*ListTemplatesOutput, bool) bool) error {
5901	return c.ListTemplatesPagesWithContext(aws.BackgroundContext(), input, fn)
5902}
5903
5904// ListTemplatesPagesWithContext same as ListTemplatesPages except
5905// it takes a Context and allows setting request options on the pages.
5906//
5907// The context must be non-nil and will be used for request cancellation. If
5908// the context is nil a panic will occur. In the future the SDK may create
5909// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5910// for more information on using Contexts.
5911func (c *QuickSight) ListTemplatesPagesWithContext(ctx aws.Context, input *ListTemplatesInput, fn func(*ListTemplatesOutput, bool) bool, opts ...request.Option) error {
5912	p := request.Pagination{
5913		NewRequest: func() (*request.Request, error) {
5914			var inCpy *ListTemplatesInput
5915			if input != nil {
5916				tmp := *input
5917				inCpy = &tmp
5918			}
5919			req, _ := c.ListTemplatesRequest(inCpy)
5920			req.SetContext(ctx)
5921			req.ApplyOptions(opts...)
5922			return req, nil
5923		},
5924	}
5925
5926	for p.Next() {
5927		if !fn(p.Page().(*ListTemplatesOutput), !p.HasNextPage()) {
5928			break
5929		}
5930	}
5931
5932	return p.Err()
5933}
5934
5935const opListThemeAliases = "ListThemeAliases"
5936
5937// ListThemeAliasesRequest generates a "aws/request.Request" representing the
5938// client's request for the ListThemeAliases operation. The "output" return
5939// value will be populated with the request's response once the request completes
5940// successfully.
5941//
5942// Use "Send" method on the returned Request to send the API call to the service.
5943// the "output" return value is not valid until after Send returns without error.
5944//
5945// See ListThemeAliases for more information on using the ListThemeAliases
5946// API call, and error handling.
5947//
5948// This method is useful when you want to inject custom logic or configuration
5949// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5950//
5951//
5952//    // Example sending a request using the ListThemeAliasesRequest method.
5953//    req, resp := client.ListThemeAliasesRequest(params)
5954//
5955//    err := req.Send()
5956//    if err == nil { // resp is now filled
5957//        fmt.Println(resp)
5958//    }
5959//
5960// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeAliases
5961func (c *QuickSight) ListThemeAliasesRequest(input *ListThemeAliasesInput) (req *request.Request, output *ListThemeAliasesOutput) {
5962	op := &request.Operation{
5963		Name:       opListThemeAliases,
5964		HTTPMethod: "GET",
5965		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases",
5966	}
5967
5968	if input == nil {
5969		input = &ListThemeAliasesInput{}
5970	}
5971
5972	output = &ListThemeAliasesOutput{}
5973	req = c.newRequest(op, input, output)
5974	return
5975}
5976
5977// ListThemeAliases API operation for Amazon QuickSight.
5978//
5979// Lists all the aliases of a theme.
5980//
5981// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5982// with awserr.Error's Code and Message methods to get detailed information about
5983// the error.
5984//
5985// See the AWS API reference guide for Amazon QuickSight's
5986// API operation ListThemeAliases for usage and error information.
5987//
5988// Returned Error Types:
5989//   * ConflictException
5990//   Updating or deleting a resource can cause an inconsistent state.
5991//
5992//   * InvalidNextTokenException
5993//   The NextToken value isn't valid.
5994//
5995//   * InvalidParameterValueException
5996//   One or more parameters has a value that isn't valid.
5997//
5998//   * ResourceNotFoundException
5999//   One or more resources can't be found.
6000//
6001//   * ThrottlingException
6002//   Access is throttled.
6003//
6004//   * UnsupportedUserEditionException
6005//   This error indicates that you are calling an operation on an Amazon QuickSight
6006//   subscription where the edition doesn't include support for that operation.
6007//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
6008//   Not every operation and capability is available in every edition.
6009//
6010//   * InternalFailureException
6011//   An internal failure occurred.
6012//
6013// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeAliases
6014func (c *QuickSight) ListThemeAliases(input *ListThemeAliasesInput) (*ListThemeAliasesOutput, error) {
6015	req, out := c.ListThemeAliasesRequest(input)
6016	return out, req.Send()
6017}
6018
6019// ListThemeAliasesWithContext is the same as ListThemeAliases with the addition of
6020// the ability to pass a context and additional request options.
6021//
6022// See ListThemeAliases for details on how to use this API operation.
6023//
6024// The context must be non-nil and will be used for request cancellation. If
6025// the context is nil a panic will occur. In the future the SDK may create
6026// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6027// for more information on using Contexts.
6028func (c *QuickSight) ListThemeAliasesWithContext(ctx aws.Context, input *ListThemeAliasesInput, opts ...request.Option) (*ListThemeAliasesOutput, error) {
6029	req, out := c.ListThemeAliasesRequest(input)
6030	req.SetContext(ctx)
6031	req.ApplyOptions(opts...)
6032	return out, req.Send()
6033}
6034
6035const opListThemeVersions = "ListThemeVersions"
6036
6037// ListThemeVersionsRequest generates a "aws/request.Request" representing the
6038// client's request for the ListThemeVersions operation. The "output" return
6039// value will be populated with the request's response once the request completes
6040// successfully.
6041//
6042// Use "Send" method on the returned Request to send the API call to the service.
6043// the "output" return value is not valid until after Send returns without error.
6044//
6045// See ListThemeVersions for more information on using the ListThemeVersions
6046// API call, and error handling.
6047//
6048// This method is useful when you want to inject custom logic or configuration
6049// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6050//
6051//
6052//    // Example sending a request using the ListThemeVersionsRequest method.
6053//    req, resp := client.ListThemeVersionsRequest(params)
6054//
6055//    err := req.Send()
6056//    if err == nil { // resp is now filled
6057//        fmt.Println(resp)
6058//    }
6059//
6060// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeVersions
6061func (c *QuickSight) ListThemeVersionsRequest(input *ListThemeVersionsInput) (req *request.Request, output *ListThemeVersionsOutput) {
6062	op := &request.Operation{
6063		Name:       opListThemeVersions,
6064		HTTPMethod: "GET",
6065		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/versions",
6066	}
6067
6068	if input == nil {
6069		input = &ListThemeVersionsInput{}
6070	}
6071
6072	output = &ListThemeVersionsOutput{}
6073	req = c.newRequest(op, input, output)
6074	return
6075}
6076
6077// ListThemeVersions API operation for Amazon QuickSight.
6078//
6079// Lists all the versions of the themes in the current AWS account.
6080//
6081// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6082// with awserr.Error's Code and Message methods to get detailed information about
6083// the error.
6084//
6085// See the AWS API reference guide for Amazon QuickSight's
6086// API operation ListThemeVersions for usage and error information.
6087//
6088// Returned Error Types:
6089//   * AccessDeniedException
6090//   You don't have access to this item. The provided credentials couldn't be
6091//   validated. You might not be authorized to carry out the request. Make sure
6092//   that your account is authorized to use the Amazon QuickSight service, that
6093//   your policies have the correct permissions, and that you are using the correct
6094//   access keys.
6095//
6096//   * InvalidNextTokenException
6097//   The NextToken value isn't valid.
6098//
6099//   * InvalidParameterValueException
6100//   One or more parameters has a value that isn't valid.
6101//
6102//   * ResourceNotFoundException
6103//   One or more resources can't be found.
6104//
6105//   * ThrottlingException
6106//   Access is throttled.
6107//
6108//   * UnsupportedUserEditionException
6109//   This error indicates that you are calling an operation on an Amazon QuickSight
6110//   subscription where the edition doesn't include support for that operation.
6111//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
6112//   Not every operation and capability is available in every edition.
6113//
6114//   * InternalFailureException
6115//   An internal failure occurred.
6116//
6117// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeVersions
6118func (c *QuickSight) ListThemeVersions(input *ListThemeVersionsInput) (*ListThemeVersionsOutput, error) {
6119	req, out := c.ListThemeVersionsRequest(input)
6120	return out, req.Send()
6121}
6122
6123// ListThemeVersionsWithContext is the same as ListThemeVersions with the addition of
6124// the ability to pass a context and additional request options.
6125//
6126// See ListThemeVersions for details on how to use this API operation.
6127//
6128// The context must be non-nil and will be used for request cancellation. If
6129// the context is nil a panic will occur. In the future the SDK may create
6130// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6131// for more information on using Contexts.
6132func (c *QuickSight) ListThemeVersionsWithContext(ctx aws.Context, input *ListThemeVersionsInput, opts ...request.Option) (*ListThemeVersionsOutput, error) {
6133	req, out := c.ListThemeVersionsRequest(input)
6134	req.SetContext(ctx)
6135	req.ApplyOptions(opts...)
6136	return out, req.Send()
6137}
6138
6139const opListThemes = "ListThemes"
6140
6141// ListThemesRequest generates a "aws/request.Request" representing the
6142// client's request for the ListThemes operation. The "output" return
6143// value will be populated with the request's response once the request completes
6144// successfully.
6145//
6146// Use "Send" method on the returned Request to send the API call to the service.
6147// the "output" return value is not valid until after Send returns without error.
6148//
6149// See ListThemes for more information on using the ListThemes
6150// API call, and error handling.
6151//
6152// This method is useful when you want to inject custom logic or configuration
6153// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6154//
6155//
6156//    // Example sending a request using the ListThemesRequest method.
6157//    req, resp := client.ListThemesRequest(params)
6158//
6159//    err := req.Send()
6160//    if err == nil { // resp is now filled
6161//        fmt.Println(resp)
6162//    }
6163//
6164// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemes
6165func (c *QuickSight) ListThemesRequest(input *ListThemesInput) (req *request.Request, output *ListThemesOutput) {
6166	op := &request.Operation{
6167		Name:       opListThemes,
6168		HTTPMethod: "GET",
6169		HTTPPath:   "/accounts/{AwsAccountId}/themes",
6170	}
6171
6172	if input == nil {
6173		input = &ListThemesInput{}
6174	}
6175
6176	output = &ListThemesOutput{}
6177	req = c.newRequest(op, input, output)
6178	return
6179}
6180
6181// ListThemes API operation for Amazon QuickSight.
6182//
6183// Lists all the themes in the current AWS account.
6184//
6185// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6186// with awserr.Error's Code and Message methods to get detailed information about
6187// the error.
6188//
6189// See the AWS API reference guide for Amazon QuickSight's
6190// API operation ListThemes for usage and error information.
6191//
6192// Returned Error Types:
6193//   * AccessDeniedException
6194//   You don't have access to this item. The provided credentials couldn't be
6195//   validated. You might not be authorized to carry out the request. Make sure
6196//   that your account is authorized to use the Amazon QuickSight service, that
6197//   your policies have the correct permissions, and that you are using the correct
6198//   access keys.
6199//
6200//   * InvalidParameterValueException
6201//   One or more parameters has a value that isn't valid.
6202//
6203//   * InvalidNextTokenException
6204//   The NextToken value isn't valid.
6205//
6206//   * ResourceNotFoundException
6207//   One or more resources can't be found.
6208//
6209//   * ThrottlingException
6210//   Access is throttled.
6211//
6212//   * UnsupportedUserEditionException
6213//   This error indicates that you are calling an operation on an Amazon QuickSight
6214//   subscription where the edition doesn't include support for that operation.
6215//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
6216//   Not every operation and capability is available in every edition.
6217//
6218//   * InternalFailureException
6219//   An internal failure occurred.
6220//
6221// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemes
6222func (c *QuickSight) ListThemes(input *ListThemesInput) (*ListThemesOutput, error) {
6223	req, out := c.ListThemesRequest(input)
6224	return out, req.Send()
6225}
6226
6227// ListThemesWithContext is the same as ListThemes with the addition of
6228// the ability to pass a context and additional request options.
6229//
6230// See ListThemes for details on how to use this API operation.
6231//
6232// The context must be non-nil and will be used for request cancellation. If
6233// the context is nil a panic will occur. In the future the SDK may create
6234// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6235// for more information on using Contexts.
6236func (c *QuickSight) ListThemesWithContext(ctx aws.Context, input *ListThemesInput, opts ...request.Option) (*ListThemesOutput, error) {
6237	req, out := c.ListThemesRequest(input)
6238	req.SetContext(ctx)
6239	req.ApplyOptions(opts...)
6240	return out, req.Send()
6241}
6242
6243const opListUserGroups = "ListUserGroups"
6244
6245// ListUserGroupsRequest generates a "aws/request.Request" representing the
6246// client's request for the ListUserGroups operation. The "output" return
6247// value will be populated with the request's response once the request completes
6248// successfully.
6249//
6250// Use "Send" method on the returned Request to send the API call to the service.
6251// the "output" return value is not valid until after Send returns without error.
6252//
6253// See ListUserGroups for more information on using the ListUserGroups
6254// API call, and error handling.
6255//
6256// This method is useful when you want to inject custom logic or configuration
6257// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6258//
6259//
6260//    // Example sending a request using the ListUserGroupsRequest method.
6261//    req, resp := client.ListUserGroupsRequest(params)
6262//
6263//    err := req.Send()
6264//    if err == nil { // resp is now filled
6265//        fmt.Println(resp)
6266//    }
6267//
6268// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUserGroups
6269func (c *QuickSight) ListUserGroupsRequest(input *ListUserGroupsInput) (req *request.Request, output *ListUserGroupsOutput) {
6270	op := &request.Operation{
6271		Name:       opListUserGroups,
6272		HTTPMethod: "GET",
6273		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/groups",
6274	}
6275
6276	if input == nil {
6277		input = &ListUserGroupsInput{}
6278	}
6279
6280	output = &ListUserGroupsOutput{}
6281	req = c.newRequest(op, input, output)
6282	return
6283}
6284
6285// ListUserGroups API operation for Amazon QuickSight.
6286//
6287// Lists the Amazon QuickSight groups that an Amazon QuickSight user is a member
6288// of.
6289//
6290// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6291// with awserr.Error's Code and Message methods to get detailed information about
6292// the error.
6293//
6294// See the AWS API reference guide for Amazon QuickSight's
6295// API operation ListUserGroups for usage and error information.
6296//
6297// Returned Error Types:
6298//   * AccessDeniedException
6299//   You don't have access to this item. The provided credentials couldn't be
6300//   validated. You might not be authorized to carry out the request. Make sure
6301//   that your account is authorized to use the Amazon QuickSight service, that
6302//   your policies have the correct permissions, and that you are using the correct
6303//   access keys.
6304//
6305//   * InvalidParameterValueException
6306//   One or more parameters has a value that isn't valid.
6307//
6308//   * ResourceNotFoundException
6309//   One or more resources can't be found.
6310//
6311//   * ThrottlingException
6312//   Access is throttled.
6313//
6314//   * InternalFailureException
6315//   An internal failure occurred.
6316//
6317//   * ResourceUnavailableException
6318//   This resource is currently unavailable.
6319//
6320// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUserGroups
6321func (c *QuickSight) ListUserGroups(input *ListUserGroupsInput) (*ListUserGroupsOutput, error) {
6322	req, out := c.ListUserGroupsRequest(input)
6323	return out, req.Send()
6324}
6325
6326// ListUserGroupsWithContext is the same as ListUserGroups with the addition of
6327// the ability to pass a context and additional request options.
6328//
6329// See ListUserGroups for details on how to use this API operation.
6330//
6331// The context must be non-nil and will be used for request cancellation. If
6332// the context is nil a panic will occur. In the future the SDK may create
6333// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6334// for more information on using Contexts.
6335func (c *QuickSight) ListUserGroupsWithContext(ctx aws.Context, input *ListUserGroupsInput, opts ...request.Option) (*ListUserGroupsOutput, error) {
6336	req, out := c.ListUserGroupsRequest(input)
6337	req.SetContext(ctx)
6338	req.ApplyOptions(opts...)
6339	return out, req.Send()
6340}
6341
6342const opListUsers = "ListUsers"
6343
6344// ListUsersRequest generates a "aws/request.Request" representing the
6345// client's request for the ListUsers operation. The "output" return
6346// value will be populated with the request's response once the request completes
6347// successfully.
6348//
6349// Use "Send" method on the returned Request to send the API call to the service.
6350// the "output" return value is not valid until after Send returns without error.
6351//
6352// See ListUsers for more information on using the ListUsers
6353// API call, and error handling.
6354//
6355// This method is useful when you want to inject custom logic or configuration
6356// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6357//
6358//
6359//    // Example sending a request using the ListUsersRequest method.
6360//    req, resp := client.ListUsersRequest(params)
6361//
6362//    err := req.Send()
6363//    if err == nil { // resp is now filled
6364//        fmt.Println(resp)
6365//    }
6366//
6367// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUsers
6368func (c *QuickSight) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput) {
6369	op := &request.Operation{
6370		Name:       opListUsers,
6371		HTTPMethod: "GET",
6372		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users",
6373	}
6374
6375	if input == nil {
6376		input = &ListUsersInput{}
6377	}
6378
6379	output = &ListUsersOutput{}
6380	req = c.newRequest(op, input, output)
6381	return
6382}
6383
6384// ListUsers API operation for Amazon QuickSight.
6385//
6386// Returns a list of all of the Amazon QuickSight users belonging to this account.
6387//
6388// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6389// with awserr.Error's Code and Message methods to get detailed information about
6390// the error.
6391//
6392// See the AWS API reference guide for Amazon QuickSight's
6393// API operation ListUsers for usage and error information.
6394//
6395// Returned Error Types:
6396//   * AccessDeniedException
6397//   You don't have access to this item. The provided credentials couldn't be
6398//   validated. You might not be authorized to carry out the request. Make sure
6399//   that your account is authorized to use the Amazon QuickSight service, that
6400//   your policies have the correct permissions, and that you are using the correct
6401//   access keys.
6402//
6403//   * InvalidParameterValueException
6404//   One or more parameters has a value that isn't valid.
6405//
6406//   * ResourceNotFoundException
6407//   One or more resources can't be found.
6408//
6409//   * ThrottlingException
6410//   Access is throttled.
6411//
6412//   * InvalidNextTokenException
6413//   The NextToken value isn't valid.
6414//
6415//   * InternalFailureException
6416//   An internal failure occurred.
6417//
6418//   * ResourceUnavailableException
6419//   This resource is currently unavailable.
6420//
6421// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUsers
6422func (c *QuickSight) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) {
6423	req, out := c.ListUsersRequest(input)
6424	return out, req.Send()
6425}
6426
6427// ListUsersWithContext is the same as ListUsers with the addition of
6428// the ability to pass a context and additional request options.
6429//
6430// See ListUsers for details on how to use this API operation.
6431//
6432// The context must be non-nil and will be used for request cancellation. If
6433// the context is nil a panic will occur. In the future the SDK may create
6434// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6435// for more information on using Contexts.
6436func (c *QuickSight) ListUsersWithContext(ctx aws.Context, input *ListUsersInput, opts ...request.Option) (*ListUsersOutput, error) {
6437	req, out := c.ListUsersRequest(input)
6438	req.SetContext(ctx)
6439	req.ApplyOptions(opts...)
6440	return out, req.Send()
6441}
6442
6443const opRegisterUser = "RegisterUser"
6444
6445// RegisterUserRequest generates a "aws/request.Request" representing the
6446// client's request for the RegisterUser operation. The "output" return
6447// value will be populated with the request's response once the request completes
6448// successfully.
6449//
6450// Use "Send" method on the returned Request to send the API call to the service.
6451// the "output" return value is not valid until after Send returns without error.
6452//
6453// See RegisterUser for more information on using the RegisterUser
6454// API call, and error handling.
6455//
6456// This method is useful when you want to inject custom logic or configuration
6457// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6458//
6459//
6460//    // Example sending a request using the RegisterUserRequest method.
6461//    req, resp := client.RegisterUserRequest(params)
6462//
6463//    err := req.Send()
6464//    if err == nil { // resp is now filled
6465//        fmt.Println(resp)
6466//    }
6467//
6468// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RegisterUser
6469func (c *QuickSight) RegisterUserRequest(input *RegisterUserInput) (req *request.Request, output *RegisterUserOutput) {
6470	op := &request.Operation{
6471		Name:       opRegisterUser,
6472		HTTPMethod: "POST",
6473		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users",
6474	}
6475
6476	if input == nil {
6477		input = &RegisterUserInput{}
6478	}
6479
6480	output = &RegisterUserOutput{}
6481	req = c.newRequest(op, input, output)
6482	return
6483}
6484
6485// RegisterUser API operation for Amazon QuickSight.
6486//
6487// Creates an Amazon QuickSight user, whose identity is associated with the
6488// AWS Identity and Access Management (IAM) identity or role specified in the
6489// request.
6490//
6491// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6492// with awserr.Error's Code and Message methods to get detailed information about
6493// the error.
6494//
6495// See the AWS API reference guide for Amazon QuickSight's
6496// API operation RegisterUser for usage and error information.
6497//
6498// Returned Error Types:
6499//   * AccessDeniedException
6500//   You don't have access to this item. The provided credentials couldn't be
6501//   validated. You might not be authorized to carry out the request. Make sure
6502//   that your account is authorized to use the Amazon QuickSight service, that
6503//   your policies have the correct permissions, and that you are using the correct
6504//   access keys.
6505//
6506//   * InvalidParameterValueException
6507//   One or more parameters has a value that isn't valid.
6508//
6509//   * ResourceNotFoundException
6510//   One or more resources can't be found.
6511//
6512//   * ThrottlingException
6513//   Access is throttled.
6514//
6515//   * LimitExceededException
6516//   A limit is exceeded.
6517//
6518//   * ResourceExistsException
6519//   The resource specified already exists.
6520//
6521//   * PreconditionNotMetException
6522//   One or more preconditions aren't met.
6523//
6524//   * InternalFailureException
6525//   An internal failure occurred.
6526//
6527//   * ResourceUnavailableException
6528//   This resource is currently unavailable.
6529//
6530// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RegisterUser
6531func (c *QuickSight) RegisterUser(input *RegisterUserInput) (*RegisterUserOutput, error) {
6532	req, out := c.RegisterUserRequest(input)
6533	return out, req.Send()
6534}
6535
6536// RegisterUserWithContext is the same as RegisterUser with the addition of
6537// the ability to pass a context and additional request options.
6538//
6539// See RegisterUser for details on how to use this API operation.
6540//
6541// The context must be non-nil and will be used for request cancellation. If
6542// the context is nil a panic will occur. In the future the SDK may create
6543// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6544// for more information on using Contexts.
6545func (c *QuickSight) RegisterUserWithContext(ctx aws.Context, input *RegisterUserInput, opts ...request.Option) (*RegisterUserOutput, error) {
6546	req, out := c.RegisterUserRequest(input)
6547	req.SetContext(ctx)
6548	req.ApplyOptions(opts...)
6549	return out, req.Send()
6550}
6551
6552const opSearchDashboards = "SearchDashboards"
6553
6554// SearchDashboardsRequest generates a "aws/request.Request" representing the
6555// client's request for the SearchDashboards operation. The "output" return
6556// value will be populated with the request's response once the request completes
6557// successfully.
6558//
6559// Use "Send" method on the returned Request to send the API call to the service.
6560// the "output" return value is not valid until after Send returns without error.
6561//
6562// See SearchDashboards for more information on using the SearchDashboards
6563// API call, and error handling.
6564//
6565// This method is useful when you want to inject custom logic or configuration
6566// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6567//
6568//
6569//    // Example sending a request using the SearchDashboardsRequest method.
6570//    req, resp := client.SearchDashboardsRequest(params)
6571//
6572//    err := req.Send()
6573//    if err == nil { // resp is now filled
6574//        fmt.Println(resp)
6575//    }
6576//
6577// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchDashboards
6578func (c *QuickSight) SearchDashboardsRequest(input *SearchDashboardsInput) (req *request.Request, output *SearchDashboardsOutput) {
6579	op := &request.Operation{
6580		Name:       opSearchDashboards,
6581		HTTPMethod: "POST",
6582		HTTPPath:   "/accounts/{AwsAccountId}/search/dashboards",
6583		Paginator: &request.Paginator{
6584			InputTokens:     []string{"NextToken"},
6585			OutputTokens:    []string{"NextToken"},
6586			LimitToken:      "MaxResults",
6587			TruncationToken: "",
6588		},
6589	}
6590
6591	if input == nil {
6592		input = &SearchDashboardsInput{}
6593	}
6594
6595	output = &SearchDashboardsOutput{}
6596	req = c.newRequest(op, input, output)
6597	return
6598}
6599
6600// SearchDashboards API operation for Amazon QuickSight.
6601//
6602// Searchs for dashboards that belong to a user.
6603//
6604// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6605// with awserr.Error's Code and Message methods to get detailed information about
6606// the error.
6607//
6608// See the AWS API reference guide for Amazon QuickSight's
6609// API operation SearchDashboards for usage and error information.
6610//
6611// Returned Error Types:
6612//   * ThrottlingException
6613//   Access is throttled.
6614//
6615//   * ResourceNotFoundException
6616//   One or more resources can't be found.
6617//
6618//   * InvalidParameterValueException
6619//   One or more parameters has a value that isn't valid.
6620//
6621//   * UnsupportedUserEditionException
6622//   This error indicates that you are calling an operation on an Amazon QuickSight
6623//   subscription where the edition doesn't include support for that operation.
6624//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
6625//   Not every operation and capability is available in every edition.
6626//
6627//   * InvalidNextTokenException
6628//   The NextToken value isn't valid.
6629//
6630//   * InternalFailureException
6631//   An internal failure occurred.
6632//
6633// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchDashboards
6634func (c *QuickSight) SearchDashboards(input *SearchDashboardsInput) (*SearchDashboardsOutput, error) {
6635	req, out := c.SearchDashboardsRequest(input)
6636	return out, req.Send()
6637}
6638
6639// SearchDashboardsWithContext is the same as SearchDashboards with the addition of
6640// the ability to pass a context and additional request options.
6641//
6642// See SearchDashboards for details on how to use this API operation.
6643//
6644// The context must be non-nil and will be used for request cancellation. If
6645// the context is nil a panic will occur. In the future the SDK may create
6646// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6647// for more information on using Contexts.
6648func (c *QuickSight) SearchDashboardsWithContext(ctx aws.Context, input *SearchDashboardsInput, opts ...request.Option) (*SearchDashboardsOutput, error) {
6649	req, out := c.SearchDashboardsRequest(input)
6650	req.SetContext(ctx)
6651	req.ApplyOptions(opts...)
6652	return out, req.Send()
6653}
6654
6655// SearchDashboardsPages iterates over the pages of a SearchDashboards operation,
6656// calling the "fn" function with the response data for each page. To stop
6657// iterating, return false from the fn function.
6658//
6659// See SearchDashboards method for more information on how to use this operation.
6660//
6661// Note: This operation can generate multiple requests to a service.
6662//
6663//    // Example iterating over at most 3 pages of a SearchDashboards operation.
6664//    pageNum := 0
6665//    err := client.SearchDashboardsPages(params,
6666//        func(page *quicksight.SearchDashboardsOutput, lastPage bool) bool {
6667//            pageNum++
6668//            fmt.Println(page)
6669//            return pageNum <= 3
6670//        })
6671//
6672func (c *QuickSight) SearchDashboardsPages(input *SearchDashboardsInput, fn func(*SearchDashboardsOutput, bool) bool) error {
6673	return c.SearchDashboardsPagesWithContext(aws.BackgroundContext(), input, fn)
6674}
6675
6676// SearchDashboardsPagesWithContext same as SearchDashboardsPages except
6677// it takes a Context and allows setting request options on the pages.
6678//
6679// The context must be non-nil and will be used for request cancellation. If
6680// the context is nil a panic will occur. In the future the SDK may create
6681// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6682// for more information on using Contexts.
6683func (c *QuickSight) SearchDashboardsPagesWithContext(ctx aws.Context, input *SearchDashboardsInput, fn func(*SearchDashboardsOutput, bool) bool, opts ...request.Option) error {
6684	p := request.Pagination{
6685		NewRequest: func() (*request.Request, error) {
6686			var inCpy *SearchDashboardsInput
6687			if input != nil {
6688				tmp := *input
6689				inCpy = &tmp
6690			}
6691			req, _ := c.SearchDashboardsRequest(inCpy)
6692			req.SetContext(ctx)
6693			req.ApplyOptions(opts...)
6694			return req, nil
6695		},
6696	}
6697
6698	for p.Next() {
6699		if !fn(p.Page().(*SearchDashboardsOutput), !p.HasNextPage()) {
6700			break
6701		}
6702	}
6703
6704	return p.Err()
6705}
6706
6707const opTagResource = "TagResource"
6708
6709// TagResourceRequest generates a "aws/request.Request" representing the
6710// client's request for the TagResource operation. The "output" return
6711// value will be populated with the request's response once the request completes
6712// successfully.
6713//
6714// Use "Send" method on the returned Request to send the API call to the service.
6715// the "output" return value is not valid until after Send returns without error.
6716//
6717// See TagResource for more information on using the TagResource
6718// API call, and error handling.
6719//
6720// This method is useful when you want to inject custom logic or configuration
6721// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6722//
6723//
6724//    // Example sending a request using the TagResourceRequest method.
6725//    req, resp := client.TagResourceRequest(params)
6726//
6727//    err := req.Send()
6728//    if err == nil { // resp is now filled
6729//        fmt.Println(resp)
6730//    }
6731//
6732// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/TagResource
6733func (c *QuickSight) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
6734	op := &request.Operation{
6735		Name:       opTagResource,
6736		HTTPMethod: "POST",
6737		HTTPPath:   "/resources/{ResourceArn}/tags",
6738	}
6739
6740	if input == nil {
6741		input = &TagResourceInput{}
6742	}
6743
6744	output = &TagResourceOutput{}
6745	req = c.newRequest(op, input, output)
6746	return
6747}
6748
6749// TagResource API operation for Amazon QuickSight.
6750//
6751// Assigns one or more tags (key-value pairs) to the specified QuickSight resource.
6752//
6753// Tags can help you organize and categorize your resources. You can also use
6754// them to scope user permissions, by granting a user permission to access or
6755// change only resources with certain tag values. You can use the TagResource
6756// operation with a resource that already has tags. If you specify a new tag
6757// key for the resource, this tag is appended to the list of tags associated
6758// with the resource. If you specify a tag key that is already associated with
6759// the resource, the new tag value that you specify replaces the previous value
6760// for that tag.
6761//
6762// You can associate as many as 50 tags with a resource. QuickSight supports
6763// tagging on data set, data source, dashboard, and template.
6764//
6765// Tagging for QuickSight works in a similar way to tagging for other AWS services,
6766// except for the following:
6767//
6768//    * You can't use tags to track AWS costs for QuickSight. This restriction
6769//    is because QuickSight costs are based on users and SPICE capacity, which
6770//    aren't taggable resources.
6771//
6772//    * QuickSight doesn't currently support the Tag Editor for AWS Resource
6773//    Groups.
6774//
6775// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6776// with awserr.Error's Code and Message methods to get detailed information about
6777// the error.
6778//
6779// See the AWS API reference guide for Amazon QuickSight's
6780// API operation TagResource for usage and error information.
6781//
6782// Returned Error Types:
6783//   * LimitExceededException
6784//   A limit is exceeded.
6785//
6786//   * AccessDeniedException
6787//   You don't have access to this item. The provided credentials couldn't be
6788//   validated. You might not be authorized to carry out the request. Make sure
6789//   that your account is authorized to use the Amazon QuickSight service, that
6790//   your policies have the correct permissions, and that you are using the correct
6791//   access keys.
6792//
6793//   * InvalidParameterValueException
6794//   One or more parameters has a value that isn't valid.
6795//
6796//   * ResourceNotFoundException
6797//   One or more resources can't be found.
6798//
6799//   * ThrottlingException
6800//   Access is throttled.
6801//
6802//   * InternalFailureException
6803//   An internal failure occurred.
6804//
6805// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/TagResource
6806func (c *QuickSight) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
6807	req, out := c.TagResourceRequest(input)
6808	return out, req.Send()
6809}
6810
6811// TagResourceWithContext is the same as TagResource with the addition of
6812// the ability to pass a context and additional request options.
6813//
6814// See TagResource for details on how to use this API operation.
6815//
6816// The context must be non-nil and will be used for request cancellation. If
6817// the context is nil a panic will occur. In the future the SDK may create
6818// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6819// for more information on using Contexts.
6820func (c *QuickSight) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
6821	req, out := c.TagResourceRequest(input)
6822	req.SetContext(ctx)
6823	req.ApplyOptions(opts...)
6824	return out, req.Send()
6825}
6826
6827const opUntagResource = "UntagResource"
6828
6829// UntagResourceRequest generates a "aws/request.Request" representing the
6830// client's request for the UntagResource operation. The "output" return
6831// value will be populated with the request's response once the request completes
6832// successfully.
6833//
6834// Use "Send" method on the returned Request to send the API call to the service.
6835// the "output" return value is not valid until after Send returns without error.
6836//
6837// See UntagResource for more information on using the UntagResource
6838// API call, and error handling.
6839//
6840// This method is useful when you want to inject custom logic or configuration
6841// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6842//
6843//
6844//    // Example sending a request using the UntagResourceRequest method.
6845//    req, resp := client.UntagResourceRequest(params)
6846//
6847//    err := req.Send()
6848//    if err == nil { // resp is now filled
6849//        fmt.Println(resp)
6850//    }
6851//
6852// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UntagResource
6853func (c *QuickSight) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
6854	op := &request.Operation{
6855		Name:       opUntagResource,
6856		HTTPMethod: "DELETE",
6857		HTTPPath:   "/resources/{ResourceArn}/tags",
6858	}
6859
6860	if input == nil {
6861		input = &UntagResourceInput{}
6862	}
6863
6864	output = &UntagResourceOutput{}
6865	req = c.newRequest(op, input, output)
6866	return
6867}
6868
6869// UntagResource API operation for Amazon QuickSight.
6870//
6871// Removes a tag or tags from a resource.
6872//
6873// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6874// with awserr.Error's Code and Message methods to get detailed information about
6875// the error.
6876//
6877// See the AWS API reference guide for Amazon QuickSight's
6878// API operation UntagResource for usage and error information.
6879//
6880// Returned Error Types:
6881//   * AccessDeniedException
6882//   You don't have access to this item. The provided credentials couldn't be
6883//   validated. You might not be authorized to carry out the request. Make sure
6884//   that your account is authorized to use the Amazon QuickSight service, that
6885//   your policies have the correct permissions, and that you are using the correct
6886//   access keys.
6887//
6888//   * InvalidParameterValueException
6889//   One or more parameters has a value that isn't valid.
6890//
6891//   * ResourceNotFoundException
6892//   One or more resources can't be found.
6893//
6894//   * ThrottlingException
6895//   Access is throttled.
6896//
6897//   * InternalFailureException
6898//   An internal failure occurred.
6899//
6900// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UntagResource
6901func (c *QuickSight) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
6902	req, out := c.UntagResourceRequest(input)
6903	return out, req.Send()
6904}
6905
6906// UntagResourceWithContext is the same as UntagResource with the addition of
6907// the ability to pass a context and additional request options.
6908//
6909// See UntagResource for details on how to use this API operation.
6910//
6911// The context must be non-nil and will be used for request cancellation. If
6912// the context is nil a panic will occur. In the future the SDK may create
6913// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6914// for more information on using Contexts.
6915func (c *QuickSight) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
6916	req, out := c.UntagResourceRequest(input)
6917	req.SetContext(ctx)
6918	req.ApplyOptions(opts...)
6919	return out, req.Send()
6920}
6921
6922const opUpdateDashboard = "UpdateDashboard"
6923
6924// UpdateDashboardRequest generates a "aws/request.Request" representing the
6925// client's request for the UpdateDashboard operation. The "output" return
6926// value will be populated with the request's response once the request completes
6927// successfully.
6928//
6929// Use "Send" method on the returned Request to send the API call to the service.
6930// the "output" return value is not valid until after Send returns without error.
6931//
6932// See UpdateDashboard for more information on using the UpdateDashboard
6933// API call, and error handling.
6934//
6935// This method is useful when you want to inject custom logic or configuration
6936// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6937//
6938//
6939//    // Example sending a request using the UpdateDashboardRequest method.
6940//    req, resp := client.UpdateDashboardRequest(params)
6941//
6942//    err := req.Send()
6943//    if err == nil { // resp is now filled
6944//        fmt.Println(resp)
6945//    }
6946//
6947// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboard
6948func (c *QuickSight) UpdateDashboardRequest(input *UpdateDashboardInput) (req *request.Request, output *UpdateDashboardOutput) {
6949	op := &request.Operation{
6950		Name:       opUpdateDashboard,
6951		HTTPMethod: "PUT",
6952		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
6953	}
6954
6955	if input == nil {
6956		input = &UpdateDashboardInput{}
6957	}
6958
6959	output = &UpdateDashboardOutput{}
6960	req = c.newRequest(op, input, output)
6961	return
6962}
6963
6964// UpdateDashboard API operation for Amazon QuickSight.
6965//
6966// Updates a dashboard in an AWS account.
6967//
6968// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6969// with awserr.Error's Code and Message methods to get detailed information about
6970// the error.
6971//
6972// See the AWS API reference guide for Amazon QuickSight's
6973// API operation UpdateDashboard for usage and error information.
6974//
6975// Returned Error Types:
6976//   * ThrottlingException
6977//   Access is throttled.
6978//
6979//   * InvalidParameterValueException
6980//   One or more parameters has a value that isn't valid.
6981//
6982//   * ResourceNotFoundException
6983//   One or more resources can't be found.
6984//
6985//   * ConflictException
6986//   Updating or deleting a resource can cause an inconsistent state.
6987//
6988//   * LimitExceededException
6989//   A limit is exceeded.
6990//
6991//   * UnsupportedUserEditionException
6992//   This error indicates that you are calling an operation on an Amazon QuickSight
6993//   subscription where the edition doesn't include support for that operation.
6994//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
6995//   Not every operation and capability is available in every edition.
6996//
6997//   * InternalFailureException
6998//   An internal failure occurred.
6999//
7000// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboard
7001func (c *QuickSight) UpdateDashboard(input *UpdateDashboardInput) (*UpdateDashboardOutput, error) {
7002	req, out := c.UpdateDashboardRequest(input)
7003	return out, req.Send()
7004}
7005
7006// UpdateDashboardWithContext is the same as UpdateDashboard with the addition of
7007// the ability to pass a context and additional request options.
7008//
7009// See UpdateDashboard for details on how to use this API operation.
7010//
7011// The context must be non-nil and will be used for request cancellation. If
7012// the context is nil a panic will occur. In the future the SDK may create
7013// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7014// for more information on using Contexts.
7015func (c *QuickSight) UpdateDashboardWithContext(ctx aws.Context, input *UpdateDashboardInput, opts ...request.Option) (*UpdateDashboardOutput, error) {
7016	req, out := c.UpdateDashboardRequest(input)
7017	req.SetContext(ctx)
7018	req.ApplyOptions(opts...)
7019	return out, req.Send()
7020}
7021
7022const opUpdateDashboardPermissions = "UpdateDashboardPermissions"
7023
7024// UpdateDashboardPermissionsRequest generates a "aws/request.Request" representing the
7025// client's request for the UpdateDashboardPermissions operation. The "output" return
7026// value will be populated with the request's response once the request completes
7027// successfully.
7028//
7029// Use "Send" method on the returned Request to send the API call to the service.
7030// the "output" return value is not valid until after Send returns without error.
7031//
7032// See UpdateDashboardPermissions for more information on using the UpdateDashboardPermissions
7033// API call, and error handling.
7034//
7035// This method is useful when you want to inject custom logic or configuration
7036// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7037//
7038//
7039//    // Example sending a request using the UpdateDashboardPermissionsRequest method.
7040//    req, resp := client.UpdateDashboardPermissionsRequest(params)
7041//
7042//    err := req.Send()
7043//    if err == nil { // resp is now filled
7044//        fmt.Println(resp)
7045//    }
7046//
7047// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPermissions
7048func (c *QuickSight) UpdateDashboardPermissionsRequest(input *UpdateDashboardPermissionsInput) (req *request.Request, output *UpdateDashboardPermissionsOutput) {
7049	op := &request.Operation{
7050		Name:       opUpdateDashboardPermissions,
7051		HTTPMethod: "PUT",
7052		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions",
7053	}
7054
7055	if input == nil {
7056		input = &UpdateDashboardPermissionsInput{}
7057	}
7058
7059	output = &UpdateDashboardPermissionsOutput{}
7060	req = c.newRequest(op, input, output)
7061	return
7062}
7063
7064// UpdateDashboardPermissions API operation for Amazon QuickSight.
7065//
7066// Updates read and write permissions on a dashboard.
7067//
7068// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7069// with awserr.Error's Code and Message methods to get detailed information about
7070// the error.
7071//
7072// See the AWS API reference guide for Amazon QuickSight's
7073// API operation UpdateDashboardPermissions for usage and error information.
7074//
7075// Returned Error Types:
7076//   * ThrottlingException
7077//   Access is throttled.
7078//
7079//   * InvalidParameterValueException
7080//   One or more parameters has a value that isn't valid.
7081//
7082//   * ResourceNotFoundException
7083//   One or more resources can't be found.
7084//
7085//   * UnsupportedUserEditionException
7086//   This error indicates that you are calling an operation on an Amazon QuickSight
7087//   subscription where the edition doesn't include support for that operation.
7088//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
7089//   Not every operation and capability is available in every edition.
7090//
7091//   * ConflictException
7092//   Updating or deleting a resource can cause an inconsistent state.
7093//
7094//   * InternalFailureException
7095//   An internal failure occurred.
7096//
7097// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPermissions
7098func (c *QuickSight) UpdateDashboardPermissions(input *UpdateDashboardPermissionsInput) (*UpdateDashboardPermissionsOutput, error) {
7099	req, out := c.UpdateDashboardPermissionsRequest(input)
7100	return out, req.Send()
7101}
7102
7103// UpdateDashboardPermissionsWithContext is the same as UpdateDashboardPermissions with the addition of
7104// the ability to pass a context and additional request options.
7105//
7106// See UpdateDashboardPermissions for details on how to use this API operation.
7107//
7108// The context must be non-nil and will be used for request cancellation. If
7109// the context is nil a panic will occur. In the future the SDK may create
7110// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7111// for more information on using Contexts.
7112func (c *QuickSight) UpdateDashboardPermissionsWithContext(ctx aws.Context, input *UpdateDashboardPermissionsInput, opts ...request.Option) (*UpdateDashboardPermissionsOutput, error) {
7113	req, out := c.UpdateDashboardPermissionsRequest(input)
7114	req.SetContext(ctx)
7115	req.ApplyOptions(opts...)
7116	return out, req.Send()
7117}
7118
7119const opUpdateDashboardPublishedVersion = "UpdateDashboardPublishedVersion"
7120
7121// UpdateDashboardPublishedVersionRequest generates a "aws/request.Request" representing the
7122// client's request for the UpdateDashboardPublishedVersion operation. The "output" return
7123// value will be populated with the request's response once the request completes
7124// successfully.
7125//
7126// Use "Send" method on the returned Request to send the API call to the service.
7127// the "output" return value is not valid until after Send returns without error.
7128//
7129// See UpdateDashboardPublishedVersion for more information on using the UpdateDashboardPublishedVersion
7130// API call, and error handling.
7131//
7132// This method is useful when you want to inject custom logic or configuration
7133// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7134//
7135//
7136//    // Example sending a request using the UpdateDashboardPublishedVersionRequest method.
7137//    req, resp := client.UpdateDashboardPublishedVersionRequest(params)
7138//
7139//    err := req.Send()
7140//    if err == nil { // resp is now filled
7141//        fmt.Println(resp)
7142//    }
7143//
7144// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPublishedVersion
7145func (c *QuickSight) UpdateDashboardPublishedVersionRequest(input *UpdateDashboardPublishedVersionInput) (req *request.Request, output *UpdateDashboardPublishedVersionOutput) {
7146	op := &request.Operation{
7147		Name:       opUpdateDashboardPublishedVersion,
7148		HTTPMethod: "PUT",
7149		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions/{VersionNumber}",
7150	}
7151
7152	if input == nil {
7153		input = &UpdateDashboardPublishedVersionInput{}
7154	}
7155
7156	output = &UpdateDashboardPublishedVersionOutput{}
7157	req = c.newRequest(op, input, output)
7158	return
7159}
7160
7161// UpdateDashboardPublishedVersion API operation for Amazon QuickSight.
7162//
7163// Updates the published version of a dashboard.
7164//
7165// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7166// with awserr.Error's Code and Message methods to get detailed information about
7167// the error.
7168//
7169// See the AWS API reference guide for Amazon QuickSight's
7170// API operation UpdateDashboardPublishedVersion for usage and error information.
7171//
7172// Returned Error Types:
7173//   * InvalidParameterValueException
7174//   One or more parameters has a value that isn't valid.
7175//
7176//   * ThrottlingException
7177//   Access is throttled.
7178//
7179//   * ConflictException
7180//   Updating or deleting a resource can cause an inconsistent state.
7181//
7182//   * ResourceNotFoundException
7183//   One or more resources can't be found.
7184//
7185//   * UnsupportedUserEditionException
7186//   This error indicates that you are calling an operation on an Amazon QuickSight
7187//   subscription where the edition doesn't include support for that operation.
7188//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
7189//   Not every operation and capability is available in every edition.
7190//
7191//   * InternalFailureException
7192//   An internal failure occurred.
7193//
7194// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPublishedVersion
7195func (c *QuickSight) UpdateDashboardPublishedVersion(input *UpdateDashboardPublishedVersionInput) (*UpdateDashboardPublishedVersionOutput, error) {
7196	req, out := c.UpdateDashboardPublishedVersionRequest(input)
7197	return out, req.Send()
7198}
7199
7200// UpdateDashboardPublishedVersionWithContext is the same as UpdateDashboardPublishedVersion with the addition of
7201// the ability to pass a context and additional request options.
7202//
7203// See UpdateDashboardPublishedVersion for details on how to use this API operation.
7204//
7205// The context must be non-nil and will be used for request cancellation. If
7206// the context is nil a panic will occur. In the future the SDK may create
7207// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7208// for more information on using Contexts.
7209func (c *QuickSight) UpdateDashboardPublishedVersionWithContext(ctx aws.Context, input *UpdateDashboardPublishedVersionInput, opts ...request.Option) (*UpdateDashboardPublishedVersionOutput, error) {
7210	req, out := c.UpdateDashboardPublishedVersionRequest(input)
7211	req.SetContext(ctx)
7212	req.ApplyOptions(opts...)
7213	return out, req.Send()
7214}
7215
7216const opUpdateDataSet = "UpdateDataSet"
7217
7218// UpdateDataSetRequest generates a "aws/request.Request" representing the
7219// client's request for the UpdateDataSet operation. The "output" return
7220// value will be populated with the request's response once the request completes
7221// successfully.
7222//
7223// Use "Send" method on the returned Request to send the API call to the service.
7224// the "output" return value is not valid until after Send returns without error.
7225//
7226// See UpdateDataSet for more information on using the UpdateDataSet
7227// API call, and error handling.
7228//
7229// This method is useful when you want to inject custom logic or configuration
7230// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7231//
7232//
7233//    // Example sending a request using the UpdateDataSetRequest method.
7234//    req, resp := client.UpdateDataSetRequest(params)
7235//
7236//    err := req.Send()
7237//    if err == nil { // resp is now filled
7238//        fmt.Println(resp)
7239//    }
7240//
7241// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSet
7242func (c *QuickSight) UpdateDataSetRequest(input *UpdateDataSetInput) (req *request.Request, output *UpdateDataSetOutput) {
7243	op := &request.Operation{
7244		Name:       opUpdateDataSet,
7245		HTTPMethod: "PUT",
7246		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}",
7247	}
7248
7249	if input == nil {
7250		input = &UpdateDataSetInput{}
7251	}
7252
7253	output = &UpdateDataSetOutput{}
7254	req = c.newRequest(op, input, output)
7255	return
7256}
7257
7258// UpdateDataSet API operation for Amazon QuickSight.
7259//
7260// Updates a dataset.
7261//
7262// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7263// with awserr.Error's Code and Message methods to get detailed information about
7264// the error.
7265//
7266// See the AWS API reference guide for Amazon QuickSight's
7267// API operation UpdateDataSet for usage and error information.
7268//
7269// Returned Error Types:
7270//   * AccessDeniedException
7271//   You don't have access to this item. The provided credentials couldn't be
7272//   validated. You might not be authorized to carry out the request. Make sure
7273//   that your account is authorized to use the Amazon QuickSight service, that
7274//   your policies have the correct permissions, and that you are using the correct
7275//   access keys.
7276//
7277//   * ConflictException
7278//   Updating or deleting a resource can cause an inconsistent state.
7279//
7280//   * InvalidParameterValueException
7281//   One or more parameters has a value that isn't valid.
7282//
7283//   * LimitExceededException
7284//   A limit is exceeded.
7285//
7286//   * ThrottlingException
7287//   Access is throttled.
7288//
7289//   * ResourceNotFoundException
7290//   One or more resources can't be found.
7291//
7292//   * UnsupportedUserEditionException
7293//   This error indicates that you are calling an operation on an Amazon QuickSight
7294//   subscription where the edition doesn't include support for that operation.
7295//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
7296//   Not every operation and capability is available in every edition.
7297//
7298//   * InternalFailureException
7299//   An internal failure occurred.
7300//
7301// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSet
7302func (c *QuickSight) UpdateDataSet(input *UpdateDataSetInput) (*UpdateDataSetOutput, error) {
7303	req, out := c.UpdateDataSetRequest(input)
7304	return out, req.Send()
7305}
7306
7307// UpdateDataSetWithContext is the same as UpdateDataSet with the addition of
7308// the ability to pass a context and additional request options.
7309//
7310// See UpdateDataSet for details on how to use this API operation.
7311//
7312// The context must be non-nil and will be used for request cancellation. If
7313// the context is nil a panic will occur. In the future the SDK may create
7314// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7315// for more information on using Contexts.
7316func (c *QuickSight) UpdateDataSetWithContext(ctx aws.Context, input *UpdateDataSetInput, opts ...request.Option) (*UpdateDataSetOutput, error) {
7317	req, out := c.UpdateDataSetRequest(input)
7318	req.SetContext(ctx)
7319	req.ApplyOptions(opts...)
7320	return out, req.Send()
7321}
7322
7323const opUpdateDataSetPermissions = "UpdateDataSetPermissions"
7324
7325// UpdateDataSetPermissionsRequest generates a "aws/request.Request" representing the
7326// client's request for the UpdateDataSetPermissions operation. The "output" return
7327// value will be populated with the request's response once the request completes
7328// successfully.
7329//
7330// Use "Send" method on the returned Request to send the API call to the service.
7331// the "output" return value is not valid until after Send returns without error.
7332//
7333// See UpdateDataSetPermissions for more information on using the UpdateDataSetPermissions
7334// API call, and error handling.
7335//
7336// This method is useful when you want to inject custom logic or configuration
7337// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7338//
7339//
7340//    // Example sending a request using the UpdateDataSetPermissionsRequest method.
7341//    req, resp := client.UpdateDataSetPermissionsRequest(params)
7342//
7343//    err := req.Send()
7344//    if err == nil { // resp is now filled
7345//        fmt.Println(resp)
7346//    }
7347//
7348// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSetPermissions
7349func (c *QuickSight) UpdateDataSetPermissionsRequest(input *UpdateDataSetPermissionsInput) (req *request.Request, output *UpdateDataSetPermissionsOutput) {
7350	op := &request.Operation{
7351		Name:       opUpdateDataSetPermissions,
7352		HTTPMethod: "POST",
7353		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions",
7354	}
7355
7356	if input == nil {
7357		input = &UpdateDataSetPermissionsInput{}
7358	}
7359
7360	output = &UpdateDataSetPermissionsOutput{}
7361	req = c.newRequest(op, input, output)
7362	return
7363}
7364
7365// UpdateDataSetPermissions API operation for Amazon QuickSight.
7366//
7367// Updates the permissions on a dataset.
7368//
7369// The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/data-set-id.
7370//
7371// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7372// with awserr.Error's Code and Message methods to get detailed information about
7373// the error.
7374//
7375// See the AWS API reference guide for Amazon QuickSight's
7376// API operation UpdateDataSetPermissions for usage and error information.
7377//
7378// Returned Error Types:
7379//   * AccessDeniedException
7380//   You don't have access to this item. The provided credentials couldn't be
7381//   validated. You might not be authorized to carry out the request. Make sure
7382//   that your account is authorized to use the Amazon QuickSight service, that
7383//   your policies have the correct permissions, and that you are using the correct
7384//   access keys.
7385//
7386//   * ConflictException
7387//   Updating or deleting a resource can cause an inconsistent state.
7388//
7389//   * InvalidParameterValueException
7390//   One or more parameters has a value that isn't valid.
7391//
7392//   * ResourceNotFoundException
7393//   One or more resources can't be found.
7394//
7395//   * ThrottlingException
7396//   Access is throttled.
7397//
7398//   * InternalFailureException
7399//   An internal failure occurred.
7400//
7401// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSetPermissions
7402func (c *QuickSight) UpdateDataSetPermissions(input *UpdateDataSetPermissionsInput) (*UpdateDataSetPermissionsOutput, error) {
7403	req, out := c.UpdateDataSetPermissionsRequest(input)
7404	return out, req.Send()
7405}
7406
7407// UpdateDataSetPermissionsWithContext is the same as UpdateDataSetPermissions with the addition of
7408// the ability to pass a context and additional request options.
7409//
7410// See UpdateDataSetPermissions for details on how to use this API operation.
7411//
7412// The context must be non-nil and will be used for request cancellation. If
7413// the context is nil a panic will occur. In the future the SDK may create
7414// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7415// for more information on using Contexts.
7416func (c *QuickSight) UpdateDataSetPermissionsWithContext(ctx aws.Context, input *UpdateDataSetPermissionsInput, opts ...request.Option) (*UpdateDataSetPermissionsOutput, error) {
7417	req, out := c.UpdateDataSetPermissionsRequest(input)
7418	req.SetContext(ctx)
7419	req.ApplyOptions(opts...)
7420	return out, req.Send()
7421}
7422
7423const opUpdateDataSource = "UpdateDataSource"
7424
7425// UpdateDataSourceRequest generates a "aws/request.Request" representing the
7426// client's request for the UpdateDataSource operation. The "output" return
7427// value will be populated with the request's response once the request completes
7428// successfully.
7429//
7430// Use "Send" method on the returned Request to send the API call to the service.
7431// the "output" return value is not valid until after Send returns without error.
7432//
7433// See UpdateDataSource for more information on using the UpdateDataSource
7434// API call, and error handling.
7435//
7436// This method is useful when you want to inject custom logic or configuration
7437// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7438//
7439//
7440//    // Example sending a request using the UpdateDataSourceRequest method.
7441//    req, resp := client.UpdateDataSourceRequest(params)
7442//
7443//    err := req.Send()
7444//    if err == nil { // resp is now filled
7445//        fmt.Println(resp)
7446//    }
7447//
7448// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSource
7449func (c *QuickSight) UpdateDataSourceRequest(input *UpdateDataSourceInput) (req *request.Request, output *UpdateDataSourceOutput) {
7450	op := &request.Operation{
7451		Name:       opUpdateDataSource,
7452		HTTPMethod: "PUT",
7453		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}",
7454	}
7455
7456	if input == nil {
7457		input = &UpdateDataSourceInput{}
7458	}
7459
7460	output = &UpdateDataSourceOutput{}
7461	req = c.newRequest(op, input, output)
7462	return
7463}
7464
7465// UpdateDataSource API operation for Amazon QuickSight.
7466//
7467// Updates a data source.
7468//
7469// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7470// with awserr.Error's Code and Message methods to get detailed information about
7471// the error.
7472//
7473// See the AWS API reference guide for Amazon QuickSight's
7474// API operation UpdateDataSource for usage and error information.
7475//
7476// Returned Error Types:
7477//   * AccessDeniedException
7478//   You don't have access to this item. The provided credentials couldn't be
7479//   validated. You might not be authorized to carry out the request. Make sure
7480//   that your account is authorized to use the Amazon QuickSight service, that
7481//   your policies have the correct permissions, and that you are using the correct
7482//   access keys.
7483//
7484//   * ConflictException
7485//   Updating or deleting a resource can cause an inconsistent state.
7486//
7487//   * InvalidParameterValueException
7488//   One or more parameters has a value that isn't valid.
7489//
7490//   * ThrottlingException
7491//   Access is throttled.
7492//
7493//   * ResourceNotFoundException
7494//   One or more resources can't be found.
7495//
7496//   * InternalFailureException
7497//   An internal failure occurred.
7498//
7499// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSource
7500func (c *QuickSight) UpdateDataSource(input *UpdateDataSourceInput) (*UpdateDataSourceOutput, error) {
7501	req, out := c.UpdateDataSourceRequest(input)
7502	return out, req.Send()
7503}
7504
7505// UpdateDataSourceWithContext is the same as UpdateDataSource with the addition of
7506// the ability to pass a context and additional request options.
7507//
7508// See UpdateDataSource for details on how to use this API operation.
7509//
7510// The context must be non-nil and will be used for request cancellation. If
7511// the context is nil a panic will occur. In the future the SDK may create
7512// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7513// for more information on using Contexts.
7514func (c *QuickSight) UpdateDataSourceWithContext(ctx aws.Context, input *UpdateDataSourceInput, opts ...request.Option) (*UpdateDataSourceOutput, error) {
7515	req, out := c.UpdateDataSourceRequest(input)
7516	req.SetContext(ctx)
7517	req.ApplyOptions(opts...)
7518	return out, req.Send()
7519}
7520
7521const opUpdateDataSourcePermissions = "UpdateDataSourcePermissions"
7522
7523// UpdateDataSourcePermissionsRequest generates a "aws/request.Request" representing the
7524// client's request for the UpdateDataSourcePermissions operation. The "output" return
7525// value will be populated with the request's response once the request completes
7526// successfully.
7527//
7528// Use "Send" method on the returned Request to send the API call to the service.
7529// the "output" return value is not valid until after Send returns without error.
7530//
7531// See UpdateDataSourcePermissions for more information on using the UpdateDataSourcePermissions
7532// API call, and error handling.
7533//
7534// This method is useful when you want to inject custom logic or configuration
7535// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7536//
7537//
7538//    // Example sending a request using the UpdateDataSourcePermissionsRequest method.
7539//    req, resp := client.UpdateDataSourcePermissionsRequest(params)
7540//
7541//    err := req.Send()
7542//    if err == nil { // resp is now filled
7543//        fmt.Println(resp)
7544//    }
7545//
7546// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSourcePermissions
7547func (c *QuickSight) UpdateDataSourcePermissionsRequest(input *UpdateDataSourcePermissionsInput) (req *request.Request, output *UpdateDataSourcePermissionsOutput) {
7548	op := &request.Operation{
7549		Name:       opUpdateDataSourcePermissions,
7550		HTTPMethod: "POST",
7551		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions",
7552	}
7553
7554	if input == nil {
7555		input = &UpdateDataSourcePermissionsInput{}
7556	}
7557
7558	output = &UpdateDataSourcePermissionsOutput{}
7559	req = c.newRequest(op, input, output)
7560	return
7561}
7562
7563// UpdateDataSourcePermissions API operation for Amazon QuickSight.
7564//
7565// Updates the permissions to a data source.
7566//
7567// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7568// with awserr.Error's Code and Message methods to get detailed information about
7569// the error.
7570//
7571// See the AWS API reference guide for Amazon QuickSight's
7572// API operation UpdateDataSourcePermissions for usage and error information.
7573//
7574// Returned Error Types:
7575//   * AccessDeniedException
7576//   You don't have access to this item. The provided credentials couldn't be
7577//   validated. You might not be authorized to carry out the request. Make sure
7578//   that your account is authorized to use the Amazon QuickSight service, that
7579//   your policies have the correct permissions, and that you are using the correct
7580//   access keys.
7581//
7582//   * ConflictException
7583//   Updating or deleting a resource can cause an inconsistent state.
7584//
7585//   * InvalidParameterValueException
7586//   One or more parameters has a value that isn't valid.
7587//
7588//   * ResourceNotFoundException
7589//   One or more resources can't be found.
7590//
7591//   * ThrottlingException
7592//   Access is throttled.
7593//
7594//   * InternalFailureException
7595//   An internal failure occurred.
7596//
7597// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSourcePermissions
7598func (c *QuickSight) UpdateDataSourcePermissions(input *UpdateDataSourcePermissionsInput) (*UpdateDataSourcePermissionsOutput, error) {
7599	req, out := c.UpdateDataSourcePermissionsRequest(input)
7600	return out, req.Send()
7601}
7602
7603// UpdateDataSourcePermissionsWithContext is the same as UpdateDataSourcePermissions with the addition of
7604// the ability to pass a context and additional request options.
7605//
7606// See UpdateDataSourcePermissions for details on how to use this API operation.
7607//
7608// The context must be non-nil and will be used for request cancellation. If
7609// the context is nil a panic will occur. In the future the SDK may create
7610// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7611// for more information on using Contexts.
7612func (c *QuickSight) UpdateDataSourcePermissionsWithContext(ctx aws.Context, input *UpdateDataSourcePermissionsInput, opts ...request.Option) (*UpdateDataSourcePermissionsOutput, error) {
7613	req, out := c.UpdateDataSourcePermissionsRequest(input)
7614	req.SetContext(ctx)
7615	req.ApplyOptions(opts...)
7616	return out, req.Send()
7617}
7618
7619const opUpdateGroup = "UpdateGroup"
7620
7621// UpdateGroupRequest generates a "aws/request.Request" representing the
7622// client's request for the UpdateGroup operation. The "output" return
7623// value will be populated with the request's response once the request completes
7624// successfully.
7625//
7626// Use "Send" method on the returned Request to send the API call to the service.
7627// the "output" return value is not valid until after Send returns without error.
7628//
7629// See UpdateGroup for more information on using the UpdateGroup
7630// API call, and error handling.
7631//
7632// This method is useful when you want to inject custom logic or configuration
7633// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7634//
7635//
7636//    // Example sending a request using the UpdateGroupRequest method.
7637//    req, resp := client.UpdateGroupRequest(params)
7638//
7639//    err := req.Send()
7640//    if err == nil { // resp is now filled
7641//        fmt.Println(resp)
7642//    }
7643//
7644// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateGroup
7645func (c *QuickSight) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, output *UpdateGroupOutput) {
7646	op := &request.Operation{
7647		Name:       opUpdateGroup,
7648		HTTPMethod: "PUT",
7649		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}",
7650	}
7651
7652	if input == nil {
7653		input = &UpdateGroupInput{}
7654	}
7655
7656	output = &UpdateGroupOutput{}
7657	req = c.newRequest(op, input, output)
7658	return
7659}
7660
7661// UpdateGroup API operation for Amazon QuickSight.
7662//
7663// Changes a group description.
7664//
7665// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7666// with awserr.Error's Code and Message methods to get detailed information about
7667// the error.
7668//
7669// See the AWS API reference guide for Amazon QuickSight's
7670// API operation UpdateGroup for usage and error information.
7671//
7672// Returned Error Types:
7673//   * AccessDeniedException
7674//   You don't have access to this item. The provided credentials couldn't be
7675//   validated. You might not be authorized to carry out the request. Make sure
7676//   that your account is authorized to use the Amazon QuickSight service, that
7677//   your policies have the correct permissions, and that you are using the correct
7678//   access keys.
7679//
7680//   * InvalidParameterValueException
7681//   One or more parameters has a value that isn't valid.
7682//
7683//   * ResourceNotFoundException
7684//   One or more resources can't be found.
7685//
7686//   * ThrottlingException
7687//   Access is throttled.
7688//
7689//   * PreconditionNotMetException
7690//   One or more preconditions aren't met.
7691//
7692//   * InternalFailureException
7693//   An internal failure occurred.
7694//
7695//   * ResourceUnavailableException
7696//   This resource is currently unavailable.
7697//
7698// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateGroup
7699func (c *QuickSight) UpdateGroup(input *UpdateGroupInput) (*UpdateGroupOutput, error) {
7700	req, out := c.UpdateGroupRequest(input)
7701	return out, req.Send()
7702}
7703
7704// UpdateGroupWithContext is the same as UpdateGroup with the addition of
7705// the ability to pass a context and additional request options.
7706//
7707// See UpdateGroup for details on how to use this API operation.
7708//
7709// The context must be non-nil and will be used for request cancellation. If
7710// the context is nil a panic will occur. In the future the SDK may create
7711// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7712// for more information on using Contexts.
7713func (c *QuickSight) UpdateGroupWithContext(ctx aws.Context, input *UpdateGroupInput, opts ...request.Option) (*UpdateGroupOutput, error) {
7714	req, out := c.UpdateGroupRequest(input)
7715	req.SetContext(ctx)
7716	req.ApplyOptions(opts...)
7717	return out, req.Send()
7718}
7719
7720const opUpdateIAMPolicyAssignment = "UpdateIAMPolicyAssignment"
7721
7722// UpdateIAMPolicyAssignmentRequest generates a "aws/request.Request" representing the
7723// client's request for the UpdateIAMPolicyAssignment operation. The "output" return
7724// value will be populated with the request's response once the request completes
7725// successfully.
7726//
7727// Use "Send" method on the returned Request to send the API call to the service.
7728// the "output" return value is not valid until after Send returns without error.
7729//
7730// See UpdateIAMPolicyAssignment for more information on using the UpdateIAMPolicyAssignment
7731// API call, and error handling.
7732//
7733// This method is useful when you want to inject custom logic or configuration
7734// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7735//
7736//
7737//    // Example sending a request using the UpdateIAMPolicyAssignmentRequest method.
7738//    req, resp := client.UpdateIAMPolicyAssignmentRequest(params)
7739//
7740//    err := req.Send()
7741//    if err == nil { // resp is now filled
7742//        fmt.Println(resp)
7743//    }
7744//
7745// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateIAMPolicyAssignment
7746func (c *QuickSight) UpdateIAMPolicyAssignmentRequest(input *UpdateIAMPolicyAssignmentInput) (req *request.Request, output *UpdateIAMPolicyAssignmentOutput) {
7747	op := &request.Operation{
7748		Name:       opUpdateIAMPolicyAssignment,
7749		HTTPMethod: "PUT",
7750		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}",
7751	}
7752
7753	if input == nil {
7754		input = &UpdateIAMPolicyAssignmentInput{}
7755	}
7756
7757	output = &UpdateIAMPolicyAssignmentOutput{}
7758	req = c.newRequest(op, input, output)
7759	return
7760}
7761
7762// UpdateIAMPolicyAssignment API operation for Amazon QuickSight.
7763//
7764// Updates an existing IAM policy assignment. This operation updates only the
7765// optional parameter or parameters that are specified in the request.
7766//
7767// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7768// with awserr.Error's Code and Message methods to get detailed information about
7769// the error.
7770//
7771// See the AWS API reference guide for Amazon QuickSight's
7772// API operation UpdateIAMPolicyAssignment for usage and error information.
7773//
7774// Returned Error Types:
7775//   * AccessDeniedException
7776//   You don't have access to this item. The provided credentials couldn't be
7777//   validated. You might not be authorized to carry out the request. Make sure
7778//   that your account is authorized to use the Amazon QuickSight service, that
7779//   your policies have the correct permissions, and that you are using the correct
7780//   access keys.
7781//
7782//   * InvalidParameterValueException
7783//   One or more parameters has a value that isn't valid.
7784//
7785//   * ResourceExistsException
7786//   The resource specified already exists.
7787//
7788//   * ResourceNotFoundException
7789//   One or more resources can't be found.
7790//
7791//   * ThrottlingException
7792//   Access is throttled.
7793//
7794//   * ConcurrentUpdatingException
7795//   A resource is already in a state that indicates an action is happening that
7796//   must complete before a new update can be applied.
7797//
7798//   * InternalFailureException
7799//   An internal failure occurred.
7800//
7801// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateIAMPolicyAssignment
7802func (c *QuickSight) UpdateIAMPolicyAssignment(input *UpdateIAMPolicyAssignmentInput) (*UpdateIAMPolicyAssignmentOutput, error) {
7803	req, out := c.UpdateIAMPolicyAssignmentRequest(input)
7804	return out, req.Send()
7805}
7806
7807// UpdateIAMPolicyAssignmentWithContext is the same as UpdateIAMPolicyAssignment with the addition of
7808// the ability to pass a context and additional request options.
7809//
7810// See UpdateIAMPolicyAssignment for details on how to use this API operation.
7811//
7812// The context must be non-nil and will be used for request cancellation. If
7813// the context is nil a panic will occur. In the future the SDK may create
7814// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7815// for more information on using Contexts.
7816func (c *QuickSight) UpdateIAMPolicyAssignmentWithContext(ctx aws.Context, input *UpdateIAMPolicyAssignmentInput, opts ...request.Option) (*UpdateIAMPolicyAssignmentOutput, error) {
7817	req, out := c.UpdateIAMPolicyAssignmentRequest(input)
7818	req.SetContext(ctx)
7819	req.ApplyOptions(opts...)
7820	return out, req.Send()
7821}
7822
7823const opUpdateTemplate = "UpdateTemplate"
7824
7825// UpdateTemplateRequest generates a "aws/request.Request" representing the
7826// client's request for the UpdateTemplate operation. The "output" return
7827// value will be populated with the request's response once the request completes
7828// successfully.
7829//
7830// Use "Send" method on the returned Request to send the API call to the service.
7831// the "output" return value is not valid until after Send returns without error.
7832//
7833// See UpdateTemplate for more information on using the UpdateTemplate
7834// API call, and error handling.
7835//
7836// This method is useful when you want to inject custom logic or configuration
7837// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7838//
7839//
7840//    // Example sending a request using the UpdateTemplateRequest method.
7841//    req, resp := client.UpdateTemplateRequest(params)
7842//
7843//    err := req.Send()
7844//    if err == nil { // resp is now filled
7845//        fmt.Println(resp)
7846//    }
7847//
7848// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplate
7849func (c *QuickSight) UpdateTemplateRequest(input *UpdateTemplateInput) (req *request.Request, output *UpdateTemplateOutput) {
7850	op := &request.Operation{
7851		Name:       opUpdateTemplate,
7852		HTTPMethod: "PUT",
7853		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}",
7854	}
7855
7856	if input == nil {
7857		input = &UpdateTemplateInput{}
7858	}
7859
7860	output = &UpdateTemplateOutput{}
7861	req = c.newRequest(op, input, output)
7862	return
7863}
7864
7865// UpdateTemplate API operation for Amazon QuickSight.
7866//
7867// Updates a template from an existing Amazon QuickSight analysis or another
7868// template.
7869//
7870// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7871// with awserr.Error's Code and Message methods to get detailed information about
7872// the error.
7873//
7874// See the AWS API reference guide for Amazon QuickSight's
7875// API operation UpdateTemplate for usage and error information.
7876//
7877// Returned Error Types:
7878//   * InvalidParameterValueException
7879//   One or more parameters has a value that isn't valid.
7880//
7881//   * ResourceExistsException
7882//   The resource specified already exists.
7883//
7884//   * ResourceNotFoundException
7885//   One or more resources can't be found.
7886//
7887//   * ThrottlingException
7888//   Access is throttled.
7889//
7890//   * ConflictException
7891//   Updating or deleting a resource can cause an inconsistent state.
7892//
7893//   * LimitExceededException
7894//   A limit is exceeded.
7895//
7896//   * UnsupportedUserEditionException
7897//   This error indicates that you are calling an operation on an Amazon QuickSight
7898//   subscription where the edition doesn't include support for that operation.
7899//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
7900//   Not every operation and capability is available in every edition.
7901//
7902//   * InternalFailureException
7903//   An internal failure occurred.
7904//
7905// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplate
7906func (c *QuickSight) UpdateTemplate(input *UpdateTemplateInput) (*UpdateTemplateOutput, error) {
7907	req, out := c.UpdateTemplateRequest(input)
7908	return out, req.Send()
7909}
7910
7911// UpdateTemplateWithContext is the same as UpdateTemplate with the addition of
7912// the ability to pass a context and additional request options.
7913//
7914// See UpdateTemplate for details on how to use this API operation.
7915//
7916// The context must be non-nil and will be used for request cancellation. If
7917// the context is nil a panic will occur. In the future the SDK may create
7918// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7919// for more information on using Contexts.
7920func (c *QuickSight) UpdateTemplateWithContext(ctx aws.Context, input *UpdateTemplateInput, opts ...request.Option) (*UpdateTemplateOutput, error) {
7921	req, out := c.UpdateTemplateRequest(input)
7922	req.SetContext(ctx)
7923	req.ApplyOptions(opts...)
7924	return out, req.Send()
7925}
7926
7927const opUpdateTemplateAlias = "UpdateTemplateAlias"
7928
7929// UpdateTemplateAliasRequest generates a "aws/request.Request" representing the
7930// client's request for the UpdateTemplateAlias operation. The "output" return
7931// value will be populated with the request's response once the request completes
7932// successfully.
7933//
7934// Use "Send" method on the returned Request to send the API call to the service.
7935// the "output" return value is not valid until after Send returns without error.
7936//
7937// See UpdateTemplateAlias for more information on using the UpdateTemplateAlias
7938// API call, and error handling.
7939//
7940// This method is useful when you want to inject custom logic or configuration
7941// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7942//
7943//
7944//    // Example sending a request using the UpdateTemplateAliasRequest method.
7945//    req, resp := client.UpdateTemplateAliasRequest(params)
7946//
7947//    err := req.Send()
7948//    if err == nil { // resp is now filled
7949//        fmt.Println(resp)
7950//    }
7951//
7952// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplateAlias
7953func (c *QuickSight) UpdateTemplateAliasRequest(input *UpdateTemplateAliasInput) (req *request.Request, output *UpdateTemplateAliasOutput) {
7954	op := &request.Operation{
7955		Name:       opUpdateTemplateAlias,
7956		HTTPMethod: "PUT",
7957		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
7958	}
7959
7960	if input == nil {
7961		input = &UpdateTemplateAliasInput{}
7962	}
7963
7964	output = &UpdateTemplateAliasOutput{}
7965	req = c.newRequest(op, input, output)
7966	return
7967}
7968
7969// UpdateTemplateAlias API operation for Amazon QuickSight.
7970//
7971// Updates the template alias of a template.
7972//
7973// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7974// with awserr.Error's Code and Message methods to get detailed information about
7975// the error.
7976//
7977// See the AWS API reference guide for Amazon QuickSight's
7978// API operation UpdateTemplateAlias for usage and error information.
7979//
7980// Returned Error Types:
7981//   * ThrottlingException
7982//   Access is throttled.
7983//
7984//   * ResourceNotFoundException
7985//   One or more resources can't be found.
7986//
7987//   * ConflictException
7988//   Updating or deleting a resource can cause an inconsistent state.
7989//
7990//   * UnsupportedUserEditionException
7991//   This error indicates that you are calling an operation on an Amazon QuickSight
7992//   subscription where the edition doesn't include support for that operation.
7993//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
7994//   Not every operation and capability is available in every edition.
7995//
7996//   * ConflictException
7997//   Updating or deleting a resource can cause an inconsistent state.
7998//
7999//   * InternalFailureException
8000//   An internal failure occurred.
8001//
8002// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplateAlias
8003func (c *QuickSight) UpdateTemplateAlias(input *UpdateTemplateAliasInput) (*UpdateTemplateAliasOutput, error) {
8004	req, out := c.UpdateTemplateAliasRequest(input)
8005	return out, req.Send()
8006}
8007
8008// UpdateTemplateAliasWithContext is the same as UpdateTemplateAlias with the addition of
8009// the ability to pass a context and additional request options.
8010//
8011// See UpdateTemplateAlias for details on how to use this API operation.
8012//
8013// The context must be non-nil and will be used for request cancellation. If
8014// the context is nil a panic will occur. In the future the SDK may create
8015// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8016// for more information on using Contexts.
8017func (c *QuickSight) UpdateTemplateAliasWithContext(ctx aws.Context, input *UpdateTemplateAliasInput, opts ...request.Option) (*UpdateTemplateAliasOutput, error) {
8018	req, out := c.UpdateTemplateAliasRequest(input)
8019	req.SetContext(ctx)
8020	req.ApplyOptions(opts...)
8021	return out, req.Send()
8022}
8023
8024const opUpdateTemplatePermissions = "UpdateTemplatePermissions"
8025
8026// UpdateTemplatePermissionsRequest generates a "aws/request.Request" representing the
8027// client's request for the UpdateTemplatePermissions operation. The "output" return
8028// value will be populated with the request's response once the request completes
8029// successfully.
8030//
8031// Use "Send" method on the returned Request to send the API call to the service.
8032// the "output" return value is not valid until after Send returns without error.
8033//
8034// See UpdateTemplatePermissions for more information on using the UpdateTemplatePermissions
8035// API call, and error handling.
8036//
8037// This method is useful when you want to inject custom logic or configuration
8038// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8039//
8040//
8041//    // Example sending a request using the UpdateTemplatePermissionsRequest method.
8042//    req, resp := client.UpdateTemplatePermissionsRequest(params)
8043//
8044//    err := req.Send()
8045//    if err == nil { // resp is now filled
8046//        fmt.Println(resp)
8047//    }
8048//
8049// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplatePermissions
8050func (c *QuickSight) UpdateTemplatePermissionsRequest(input *UpdateTemplatePermissionsInput) (req *request.Request, output *UpdateTemplatePermissionsOutput) {
8051	op := &request.Operation{
8052		Name:       opUpdateTemplatePermissions,
8053		HTTPMethod: "PUT",
8054		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/permissions",
8055	}
8056
8057	if input == nil {
8058		input = &UpdateTemplatePermissionsInput{}
8059	}
8060
8061	output = &UpdateTemplatePermissionsOutput{}
8062	req = c.newRequest(op, input, output)
8063	return
8064}
8065
8066// UpdateTemplatePermissions API operation for Amazon QuickSight.
8067//
8068// Updates the resource permissions for a template.
8069//
8070// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8071// with awserr.Error's Code and Message methods to get detailed information about
8072// the error.
8073//
8074// See the AWS API reference guide for Amazon QuickSight's
8075// API operation UpdateTemplatePermissions for usage and error information.
8076//
8077// Returned Error Types:
8078//   * ThrottlingException
8079//   Access is throttled.
8080//
8081//   * InvalidParameterValueException
8082//   One or more parameters has a value that isn't valid.
8083//
8084//   * ConflictException
8085//   Updating or deleting a resource can cause an inconsistent state.
8086//
8087//   * ResourceNotFoundException
8088//   One or more resources can't be found.
8089//
8090//   * UnsupportedUserEditionException
8091//   This error indicates that you are calling an operation on an Amazon QuickSight
8092//   subscription where the edition doesn't include support for that operation.
8093//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
8094//   Not every operation and capability is available in every edition.
8095//
8096//   * InternalFailureException
8097//   An internal failure occurred.
8098//
8099// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplatePermissions
8100func (c *QuickSight) UpdateTemplatePermissions(input *UpdateTemplatePermissionsInput) (*UpdateTemplatePermissionsOutput, error) {
8101	req, out := c.UpdateTemplatePermissionsRequest(input)
8102	return out, req.Send()
8103}
8104
8105// UpdateTemplatePermissionsWithContext is the same as UpdateTemplatePermissions with the addition of
8106// the ability to pass a context and additional request options.
8107//
8108// See UpdateTemplatePermissions for details on how to use this API operation.
8109//
8110// The context must be non-nil and will be used for request cancellation. If
8111// the context is nil a panic will occur. In the future the SDK may create
8112// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8113// for more information on using Contexts.
8114func (c *QuickSight) UpdateTemplatePermissionsWithContext(ctx aws.Context, input *UpdateTemplatePermissionsInput, opts ...request.Option) (*UpdateTemplatePermissionsOutput, error) {
8115	req, out := c.UpdateTemplatePermissionsRequest(input)
8116	req.SetContext(ctx)
8117	req.ApplyOptions(opts...)
8118	return out, req.Send()
8119}
8120
8121const opUpdateTheme = "UpdateTheme"
8122
8123// UpdateThemeRequest generates a "aws/request.Request" representing the
8124// client's request for the UpdateTheme operation. The "output" return
8125// value will be populated with the request's response once the request completes
8126// successfully.
8127//
8128// Use "Send" method on the returned Request to send the API call to the service.
8129// the "output" return value is not valid until after Send returns without error.
8130//
8131// See UpdateTheme for more information on using the UpdateTheme
8132// API call, and error handling.
8133//
8134// This method is useful when you want to inject custom logic or configuration
8135// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8136//
8137//
8138//    // Example sending a request using the UpdateThemeRequest method.
8139//    req, resp := client.UpdateThemeRequest(params)
8140//
8141//    err := req.Send()
8142//    if err == nil { // resp is now filled
8143//        fmt.Println(resp)
8144//    }
8145//
8146// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTheme
8147func (c *QuickSight) UpdateThemeRequest(input *UpdateThemeInput) (req *request.Request, output *UpdateThemeOutput) {
8148	op := &request.Operation{
8149		Name:       opUpdateTheme,
8150		HTTPMethod: "PUT",
8151		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}",
8152	}
8153
8154	if input == nil {
8155		input = &UpdateThemeInput{}
8156	}
8157
8158	output = &UpdateThemeOutput{}
8159	req = c.newRequest(op, input, output)
8160	return
8161}
8162
8163// UpdateTheme API operation for Amazon QuickSight.
8164//
8165// Updates a theme.
8166//
8167// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8168// with awserr.Error's Code and Message methods to get detailed information about
8169// the error.
8170//
8171// See the AWS API reference guide for Amazon QuickSight's
8172// API operation UpdateTheme for usage and error information.
8173//
8174// Returned Error Types:
8175//   * AccessDeniedException
8176//   You don't have access to this item. The provided credentials couldn't be
8177//   validated. You might not be authorized to carry out the request. Make sure
8178//   that your account is authorized to use the Amazon QuickSight service, that
8179//   your policies have the correct permissions, and that you are using the correct
8180//   access keys.
8181//
8182//   * InvalidParameterValueException
8183//   One or more parameters has a value that isn't valid.
8184//
8185//   * LimitExceededException
8186//   A limit is exceeded.
8187//
8188//   * ResourceExistsException
8189//   The resource specified already exists.
8190//
8191//   * ResourceNotFoundException
8192//   One or more resources can't be found.
8193//
8194//   * ThrottlingException
8195//   Access is throttled.
8196//
8197//   * UnsupportedUserEditionException
8198//   This error indicates that you are calling an operation on an Amazon QuickSight
8199//   subscription where the edition doesn't include support for that operation.
8200//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
8201//   Not every operation and capability is available in every edition.
8202//
8203//   * InternalFailureException
8204//   An internal failure occurred.
8205//
8206// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTheme
8207func (c *QuickSight) UpdateTheme(input *UpdateThemeInput) (*UpdateThemeOutput, error) {
8208	req, out := c.UpdateThemeRequest(input)
8209	return out, req.Send()
8210}
8211
8212// UpdateThemeWithContext is the same as UpdateTheme with the addition of
8213// the ability to pass a context and additional request options.
8214//
8215// See UpdateTheme for details on how to use this API operation.
8216//
8217// The context must be non-nil and will be used for request cancellation. If
8218// the context is nil a panic will occur. In the future the SDK may create
8219// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8220// for more information on using Contexts.
8221func (c *QuickSight) UpdateThemeWithContext(ctx aws.Context, input *UpdateThemeInput, opts ...request.Option) (*UpdateThemeOutput, error) {
8222	req, out := c.UpdateThemeRequest(input)
8223	req.SetContext(ctx)
8224	req.ApplyOptions(opts...)
8225	return out, req.Send()
8226}
8227
8228const opUpdateThemeAlias = "UpdateThemeAlias"
8229
8230// UpdateThemeAliasRequest generates a "aws/request.Request" representing the
8231// client's request for the UpdateThemeAlias operation. The "output" return
8232// value will be populated with the request's response once the request completes
8233// successfully.
8234//
8235// Use "Send" method on the returned Request to send the API call to the service.
8236// the "output" return value is not valid until after Send returns without error.
8237//
8238// See UpdateThemeAlias for more information on using the UpdateThemeAlias
8239// API call, and error handling.
8240//
8241// This method is useful when you want to inject custom logic or configuration
8242// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8243//
8244//
8245//    // Example sending a request using the UpdateThemeAliasRequest method.
8246//    req, resp := client.UpdateThemeAliasRequest(params)
8247//
8248//    err := req.Send()
8249//    if err == nil { // resp is now filled
8250//        fmt.Println(resp)
8251//    }
8252//
8253// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemeAlias
8254func (c *QuickSight) UpdateThemeAliasRequest(input *UpdateThemeAliasInput) (req *request.Request, output *UpdateThemeAliasOutput) {
8255	op := &request.Operation{
8256		Name:       opUpdateThemeAlias,
8257		HTTPMethod: "PUT",
8258		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}",
8259	}
8260
8261	if input == nil {
8262		input = &UpdateThemeAliasInput{}
8263	}
8264
8265	output = &UpdateThemeAliasOutput{}
8266	req = c.newRequest(op, input, output)
8267	return
8268}
8269
8270// UpdateThemeAlias API operation for Amazon QuickSight.
8271//
8272// Updates an alias of a theme.
8273//
8274// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8275// with awserr.Error's Code and Message methods to get detailed information about
8276// the error.
8277//
8278// See the AWS API reference guide for Amazon QuickSight's
8279// API operation UpdateThemeAlias for usage and error information.
8280//
8281// Returned Error Types:
8282//   * ConflictException
8283//   Updating or deleting a resource can cause an inconsistent state.
8284//
8285//   * InvalidParameterValueException
8286//   One or more parameters has a value that isn't valid.
8287//
8288//   * ResourceExistsException
8289//   The resource specified already exists.
8290//
8291//   * ResourceNotFoundException
8292//   One or more resources can't be found.
8293//
8294//   * ThrottlingException
8295//   Access is throttled.
8296//
8297//   * UnsupportedUserEditionException
8298//   This error indicates that you are calling an operation on an Amazon QuickSight
8299//   subscription where the edition doesn't include support for that operation.
8300//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
8301//   Not every operation and capability is available in every edition.
8302//
8303//   * InternalFailureException
8304//   An internal failure occurred.
8305//
8306// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemeAlias
8307func (c *QuickSight) UpdateThemeAlias(input *UpdateThemeAliasInput) (*UpdateThemeAliasOutput, error) {
8308	req, out := c.UpdateThemeAliasRequest(input)
8309	return out, req.Send()
8310}
8311
8312// UpdateThemeAliasWithContext is the same as UpdateThemeAlias with the addition of
8313// the ability to pass a context and additional request options.
8314//
8315// See UpdateThemeAlias for details on how to use this API operation.
8316//
8317// The context must be non-nil and will be used for request cancellation. If
8318// the context is nil a panic will occur. In the future the SDK may create
8319// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8320// for more information on using Contexts.
8321func (c *QuickSight) UpdateThemeAliasWithContext(ctx aws.Context, input *UpdateThemeAliasInput, opts ...request.Option) (*UpdateThemeAliasOutput, error) {
8322	req, out := c.UpdateThemeAliasRequest(input)
8323	req.SetContext(ctx)
8324	req.ApplyOptions(opts...)
8325	return out, req.Send()
8326}
8327
8328const opUpdateThemePermissions = "UpdateThemePermissions"
8329
8330// UpdateThemePermissionsRequest generates a "aws/request.Request" representing the
8331// client's request for the UpdateThemePermissions operation. The "output" return
8332// value will be populated with the request's response once the request completes
8333// successfully.
8334//
8335// Use "Send" method on the returned Request to send the API call to the service.
8336// the "output" return value is not valid until after Send returns without error.
8337//
8338// See UpdateThemePermissions for more information on using the UpdateThemePermissions
8339// API call, and error handling.
8340//
8341// This method is useful when you want to inject custom logic or configuration
8342// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8343//
8344//
8345//    // Example sending a request using the UpdateThemePermissionsRequest method.
8346//    req, resp := client.UpdateThemePermissionsRequest(params)
8347//
8348//    err := req.Send()
8349//    if err == nil { // resp is now filled
8350//        fmt.Println(resp)
8351//    }
8352//
8353// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemePermissions
8354func (c *QuickSight) UpdateThemePermissionsRequest(input *UpdateThemePermissionsInput) (req *request.Request, output *UpdateThemePermissionsOutput) {
8355	op := &request.Operation{
8356		Name:       opUpdateThemePermissions,
8357		HTTPMethod: "PUT",
8358		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/permissions",
8359	}
8360
8361	if input == nil {
8362		input = &UpdateThemePermissionsInput{}
8363	}
8364
8365	output = &UpdateThemePermissionsOutput{}
8366	req = c.newRequest(op, input, output)
8367	return
8368}
8369
8370// UpdateThemePermissions API operation for Amazon QuickSight.
8371//
8372// Updates the resource permissions for a theme. Permissions apply to the action
8373// to grant or revoke permissions on, for example "quicksight:DescribeTheme".
8374//
8375// Theme permissions apply in groupings. Valid groupings include the following
8376// for the three levels of permissions, which are user, owner, or no permissions:
8377//
8378//    * User "quicksight:DescribeTheme" "quicksight:DescribeThemeAlias" "quicksight:ListThemeAliases"
8379//    "quicksight:ListThemeVersions"
8380//
8381//    * Owner "quicksight:DescribeTheme" "quicksight:DescribeThemeAlias" "quicksight:ListThemeAliases"
8382//    "quicksight:ListThemeVersions" "quicksight:DeleteTheme" "quicksight:UpdateTheme"
8383//    "quicksight:CreateThemeAlias" "quicksight:DeleteThemeAlias" "quicksight:UpdateThemeAlias"
8384//    "quicksight:UpdateThemePermissions" "quicksight:DescribeThemePermissions"
8385//
8386//    * To specify no permissions, omit the permissions list.
8387//
8388// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8389// with awserr.Error's Code and Message methods to get detailed information about
8390// the error.
8391//
8392// See the AWS API reference guide for Amazon QuickSight's
8393// API operation UpdateThemePermissions for usage and error information.
8394//
8395// Returned Error Types:
8396//   * AccessDeniedException
8397//   You don't have access to this item. The provided credentials couldn't be
8398//   validated. You might not be authorized to carry out the request. Make sure
8399//   that your account is authorized to use the Amazon QuickSight service, that
8400//   your policies have the correct permissions, and that you are using the correct
8401//   access keys.
8402//
8403//   * InvalidParameterValueException
8404//   One or more parameters has a value that isn't valid.
8405//
8406//   * ResourceNotFoundException
8407//   One or more resources can't be found.
8408//
8409//   * ThrottlingException
8410//   Access is throttled.
8411//
8412//   * UnsupportedUserEditionException
8413//   This error indicates that you are calling an operation on an Amazon QuickSight
8414//   subscription where the edition doesn't include support for that operation.
8415//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
8416//   Not every operation and capability is available in every edition.
8417//
8418//   * InternalFailureException
8419//   An internal failure occurred.
8420//
8421// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemePermissions
8422func (c *QuickSight) UpdateThemePermissions(input *UpdateThemePermissionsInput) (*UpdateThemePermissionsOutput, error) {
8423	req, out := c.UpdateThemePermissionsRequest(input)
8424	return out, req.Send()
8425}
8426
8427// UpdateThemePermissionsWithContext is the same as UpdateThemePermissions with the addition of
8428// the ability to pass a context and additional request options.
8429//
8430// See UpdateThemePermissions for details on how to use this API operation.
8431//
8432// The context must be non-nil and will be used for request cancellation. If
8433// the context is nil a panic will occur. In the future the SDK may create
8434// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8435// for more information on using Contexts.
8436func (c *QuickSight) UpdateThemePermissionsWithContext(ctx aws.Context, input *UpdateThemePermissionsInput, opts ...request.Option) (*UpdateThemePermissionsOutput, error) {
8437	req, out := c.UpdateThemePermissionsRequest(input)
8438	req.SetContext(ctx)
8439	req.ApplyOptions(opts...)
8440	return out, req.Send()
8441}
8442
8443const opUpdateUser = "UpdateUser"
8444
8445// UpdateUserRequest generates a "aws/request.Request" representing the
8446// client's request for the UpdateUser operation. The "output" return
8447// value will be populated with the request's response once the request completes
8448// successfully.
8449//
8450// Use "Send" method on the returned Request to send the API call to the service.
8451// the "output" return value is not valid until after Send returns without error.
8452//
8453// See UpdateUser for more information on using the UpdateUser
8454// API call, and error handling.
8455//
8456// This method is useful when you want to inject custom logic or configuration
8457// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8458//
8459//
8460//    // Example sending a request using the UpdateUserRequest method.
8461//    req, resp := client.UpdateUserRequest(params)
8462//
8463//    err := req.Send()
8464//    if err == nil { // resp is now filled
8465//        fmt.Println(resp)
8466//    }
8467//
8468// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateUser
8469func (c *QuickSight) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, output *UpdateUserOutput) {
8470	op := &request.Operation{
8471		Name:       opUpdateUser,
8472		HTTPMethod: "PUT",
8473		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}",
8474	}
8475
8476	if input == nil {
8477		input = &UpdateUserInput{}
8478	}
8479
8480	output = &UpdateUserOutput{}
8481	req = c.newRequest(op, input, output)
8482	return
8483}
8484
8485// UpdateUser API operation for Amazon QuickSight.
8486//
8487// Updates an Amazon QuickSight user.
8488//
8489// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8490// with awserr.Error's Code and Message methods to get detailed information about
8491// the error.
8492//
8493// See the AWS API reference guide for Amazon QuickSight's
8494// API operation UpdateUser for usage and error information.
8495//
8496// Returned Error Types:
8497//   * AccessDeniedException
8498//   You don't have access to this item. The provided credentials couldn't be
8499//   validated. You might not be authorized to carry out the request. Make sure
8500//   that your account is authorized to use the Amazon QuickSight service, that
8501//   your policies have the correct permissions, and that you are using the correct
8502//   access keys.
8503//
8504//   * InvalidParameterValueException
8505//   One or more parameters has a value that isn't valid.
8506//
8507//   * ResourceNotFoundException
8508//   One or more resources can't be found.
8509//
8510//   * ThrottlingException
8511//   Access is throttled.
8512//
8513//   * InternalFailureException
8514//   An internal failure occurred.
8515//
8516//   * ResourceUnavailableException
8517//   This resource is currently unavailable.
8518//
8519// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateUser
8520func (c *QuickSight) UpdateUser(input *UpdateUserInput) (*UpdateUserOutput, error) {
8521	req, out := c.UpdateUserRequest(input)
8522	return out, req.Send()
8523}
8524
8525// UpdateUserWithContext is the same as UpdateUser with the addition of
8526// the ability to pass a context and additional request options.
8527//
8528// See UpdateUser for details on how to use this API operation.
8529//
8530// The context must be non-nil and will be used for request cancellation. If
8531// the context is nil a panic will occur. In the future the SDK may create
8532// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8533// for more information on using Contexts.
8534func (c *QuickSight) UpdateUserWithContext(ctx aws.Context, input *UpdateUserInput, opts ...request.Option) (*UpdateUserOutput, error) {
8535	req, out := c.UpdateUserRequest(input)
8536	req.SetContext(ctx)
8537	req.ApplyOptions(opts...)
8538	return out, req.Send()
8539}
8540
8541// You don't have access to this item. The provided credentials couldn't be
8542// validated. You might not be authorized to carry out the request. Make sure
8543// that your account is authorized to use the Amazon QuickSight service, that
8544// your policies have the correct permissions, and that you are using the correct
8545// access keys.
8546type AccessDeniedException struct {
8547	_            struct{}                  `type:"structure"`
8548	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
8549
8550	Message_ *string `locationName:"Message" type:"string"`
8551
8552	// The AWS request ID for this request.
8553	RequestId *string `type:"string"`
8554}
8555
8556// String returns the string representation
8557func (s AccessDeniedException) String() string {
8558	return awsutil.Prettify(s)
8559}
8560
8561// GoString returns the string representation
8562func (s AccessDeniedException) GoString() string {
8563	return s.String()
8564}
8565
8566func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
8567	return &AccessDeniedException{
8568		RespMetadata: v,
8569	}
8570}
8571
8572// Code returns the exception type name.
8573func (s *AccessDeniedException) Code() string {
8574	return "AccessDeniedException"
8575}
8576
8577// Message returns the exception's message.
8578func (s *AccessDeniedException) Message() string {
8579	if s.Message_ != nil {
8580		return *s.Message_
8581	}
8582	return ""
8583}
8584
8585// OrigErr always returns nil, satisfies awserr.Error interface.
8586func (s *AccessDeniedException) OrigErr() error {
8587	return nil
8588}
8589
8590func (s *AccessDeniedException) Error() string {
8591	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
8592}
8593
8594// Status code returns the HTTP status code for the request's response error.
8595func (s *AccessDeniedException) StatusCode() int {
8596	return s.RespMetadata.StatusCode
8597}
8598
8599// RequestID returns the service's response RequestID for request.
8600func (s *AccessDeniedException) RequestID() string {
8601	return s.RespMetadata.RequestID
8602}
8603
8604// The active AWS Identity and Access Management (IAM) policy assignment.
8605type ActiveIAMPolicyAssignment struct {
8606	_ struct{} `type:"structure"`
8607
8608	// A name for the IAM policy assignment.
8609	AssignmentName *string `min:"1" type:"string"`
8610
8611	// The Amazon Resource Name (ARN) of the resource.
8612	PolicyArn *string `type:"string"`
8613}
8614
8615// String returns the string representation
8616func (s ActiveIAMPolicyAssignment) String() string {
8617	return awsutil.Prettify(s)
8618}
8619
8620// GoString returns the string representation
8621func (s ActiveIAMPolicyAssignment) GoString() string {
8622	return s.String()
8623}
8624
8625// SetAssignmentName sets the AssignmentName field's value.
8626func (s *ActiveIAMPolicyAssignment) SetAssignmentName(v string) *ActiveIAMPolicyAssignment {
8627	s.AssignmentName = &v
8628	return s
8629}
8630
8631// SetPolicyArn sets the PolicyArn field's value.
8632func (s *ActiveIAMPolicyAssignment) SetPolicyArn(v string) *ActiveIAMPolicyAssignment {
8633	s.PolicyArn = &v
8634	return s
8635}
8636
8637// Ad hoc (one-time) filtering option.
8638type AdHocFilteringOption struct {
8639	_ struct{} `type:"structure"`
8640
8641	// Availability status.
8642	AvailabilityStatus *string `type:"string" enum:"DashboardBehavior"`
8643}
8644
8645// String returns the string representation
8646func (s AdHocFilteringOption) String() string {
8647	return awsutil.Prettify(s)
8648}
8649
8650// GoString returns the string representation
8651func (s AdHocFilteringOption) GoString() string {
8652	return s.String()
8653}
8654
8655// SetAvailabilityStatus sets the AvailabilityStatus field's value.
8656func (s *AdHocFilteringOption) SetAvailabilityStatus(v string) *AdHocFilteringOption {
8657	s.AvailabilityStatus = &v
8658	return s
8659}
8660
8661// Amazon Elasticsearch Service parameters.
8662type AmazonElasticsearchParameters struct {
8663	_ struct{} `type:"structure"`
8664
8665	// The Amazon Elasticsearch Service domain.
8666	//
8667	// Domain is a required field
8668	Domain *string `min:"1" type:"string" required:"true"`
8669}
8670
8671// String returns the string representation
8672func (s AmazonElasticsearchParameters) String() string {
8673	return awsutil.Prettify(s)
8674}
8675
8676// GoString returns the string representation
8677func (s AmazonElasticsearchParameters) GoString() string {
8678	return s.String()
8679}
8680
8681// Validate inspects the fields of the type to determine if they are valid.
8682func (s *AmazonElasticsearchParameters) Validate() error {
8683	invalidParams := request.ErrInvalidParams{Context: "AmazonElasticsearchParameters"}
8684	if s.Domain == nil {
8685		invalidParams.Add(request.NewErrParamRequired("Domain"))
8686	}
8687	if s.Domain != nil && len(*s.Domain) < 1 {
8688		invalidParams.Add(request.NewErrParamMinLen("Domain", 1))
8689	}
8690
8691	if invalidParams.Len() > 0 {
8692		return invalidParams
8693	}
8694	return nil
8695}
8696
8697// SetDomain sets the Domain field's value.
8698func (s *AmazonElasticsearchParameters) SetDomain(v string) *AmazonElasticsearchParameters {
8699	s.Domain = &v
8700	return s
8701}
8702
8703// Amazon Athena parameters.
8704type AthenaParameters struct {
8705	_ struct{} `type:"structure"`
8706
8707	// The workgroup that Amazon Athena uses.
8708	WorkGroup *string `min:"1" type:"string"`
8709}
8710
8711// String returns the string representation
8712func (s AthenaParameters) String() string {
8713	return awsutil.Prettify(s)
8714}
8715
8716// GoString returns the string representation
8717func (s AthenaParameters) GoString() string {
8718	return s.String()
8719}
8720
8721// Validate inspects the fields of the type to determine if they are valid.
8722func (s *AthenaParameters) Validate() error {
8723	invalidParams := request.ErrInvalidParams{Context: "AthenaParameters"}
8724	if s.WorkGroup != nil && len(*s.WorkGroup) < 1 {
8725		invalidParams.Add(request.NewErrParamMinLen("WorkGroup", 1))
8726	}
8727
8728	if invalidParams.Len() > 0 {
8729		return invalidParams
8730	}
8731	return nil
8732}
8733
8734// SetWorkGroup sets the WorkGroup field's value.
8735func (s *AthenaParameters) SetWorkGroup(v string) *AthenaParameters {
8736	s.WorkGroup = &v
8737	return s
8738}
8739
8740// Amazon Aurora parameters.
8741type AuroraParameters struct {
8742	_ struct{} `type:"structure"`
8743
8744	// Database.
8745	//
8746	// Database is a required field
8747	Database *string `min:"1" type:"string" required:"true"`
8748
8749	// Host.
8750	//
8751	// Host is a required field
8752	Host *string `min:"1" type:"string" required:"true"`
8753
8754	// Port.
8755	//
8756	// Port is a required field
8757	Port *int64 `min:"1" type:"integer" required:"true"`
8758}
8759
8760// String returns the string representation
8761func (s AuroraParameters) String() string {
8762	return awsutil.Prettify(s)
8763}
8764
8765// GoString returns the string representation
8766func (s AuroraParameters) GoString() string {
8767	return s.String()
8768}
8769
8770// Validate inspects the fields of the type to determine if they are valid.
8771func (s *AuroraParameters) Validate() error {
8772	invalidParams := request.ErrInvalidParams{Context: "AuroraParameters"}
8773	if s.Database == nil {
8774		invalidParams.Add(request.NewErrParamRequired("Database"))
8775	}
8776	if s.Database != nil && len(*s.Database) < 1 {
8777		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
8778	}
8779	if s.Host == nil {
8780		invalidParams.Add(request.NewErrParamRequired("Host"))
8781	}
8782	if s.Host != nil && len(*s.Host) < 1 {
8783		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
8784	}
8785	if s.Port == nil {
8786		invalidParams.Add(request.NewErrParamRequired("Port"))
8787	}
8788	if s.Port != nil && *s.Port < 1 {
8789		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
8790	}
8791
8792	if invalidParams.Len() > 0 {
8793		return invalidParams
8794	}
8795	return nil
8796}
8797
8798// SetDatabase sets the Database field's value.
8799func (s *AuroraParameters) SetDatabase(v string) *AuroraParameters {
8800	s.Database = &v
8801	return s
8802}
8803
8804// SetHost sets the Host field's value.
8805func (s *AuroraParameters) SetHost(v string) *AuroraParameters {
8806	s.Host = &v
8807	return s
8808}
8809
8810// SetPort sets the Port field's value.
8811func (s *AuroraParameters) SetPort(v int64) *AuroraParameters {
8812	s.Port = &v
8813	return s
8814}
8815
8816// Amazon Aurora with PostgreSQL compatibility parameters.
8817type AuroraPostgreSqlParameters struct {
8818	_ struct{} `type:"structure"`
8819
8820	// Database.
8821	//
8822	// Database is a required field
8823	Database *string `min:"1" type:"string" required:"true"`
8824
8825	// Host.
8826	//
8827	// Host is a required field
8828	Host *string `min:"1" type:"string" required:"true"`
8829
8830	// Port.
8831	//
8832	// Port is a required field
8833	Port *int64 `min:"1" type:"integer" required:"true"`
8834}
8835
8836// String returns the string representation
8837func (s AuroraPostgreSqlParameters) String() string {
8838	return awsutil.Prettify(s)
8839}
8840
8841// GoString returns the string representation
8842func (s AuroraPostgreSqlParameters) GoString() string {
8843	return s.String()
8844}
8845
8846// Validate inspects the fields of the type to determine if they are valid.
8847func (s *AuroraPostgreSqlParameters) Validate() error {
8848	invalidParams := request.ErrInvalidParams{Context: "AuroraPostgreSqlParameters"}
8849	if s.Database == nil {
8850		invalidParams.Add(request.NewErrParamRequired("Database"))
8851	}
8852	if s.Database != nil && len(*s.Database) < 1 {
8853		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
8854	}
8855	if s.Host == nil {
8856		invalidParams.Add(request.NewErrParamRequired("Host"))
8857	}
8858	if s.Host != nil && len(*s.Host) < 1 {
8859		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
8860	}
8861	if s.Port == nil {
8862		invalidParams.Add(request.NewErrParamRequired("Port"))
8863	}
8864	if s.Port != nil && *s.Port < 1 {
8865		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
8866	}
8867
8868	if invalidParams.Len() > 0 {
8869		return invalidParams
8870	}
8871	return nil
8872}
8873
8874// SetDatabase sets the Database field's value.
8875func (s *AuroraPostgreSqlParameters) SetDatabase(v string) *AuroraPostgreSqlParameters {
8876	s.Database = &v
8877	return s
8878}
8879
8880// SetHost sets the Host field's value.
8881func (s *AuroraPostgreSqlParameters) SetHost(v string) *AuroraPostgreSqlParameters {
8882	s.Host = &v
8883	return s
8884}
8885
8886// SetPort sets the Port field's value.
8887func (s *AuroraPostgreSqlParameters) SetPort(v int64) *AuroraPostgreSqlParameters {
8888	s.Port = &v
8889	return s
8890}
8891
8892// AWS IoT Analytics parameters.
8893type AwsIotAnalyticsParameters struct {
8894	_ struct{} `type:"structure"`
8895
8896	// Dataset name.
8897	//
8898	// DataSetName is a required field
8899	DataSetName *string `min:"1" type:"string" required:"true"`
8900}
8901
8902// String returns the string representation
8903func (s AwsIotAnalyticsParameters) String() string {
8904	return awsutil.Prettify(s)
8905}
8906
8907// GoString returns the string representation
8908func (s AwsIotAnalyticsParameters) GoString() string {
8909	return s.String()
8910}
8911
8912// Validate inspects the fields of the type to determine if they are valid.
8913func (s *AwsIotAnalyticsParameters) Validate() error {
8914	invalidParams := request.ErrInvalidParams{Context: "AwsIotAnalyticsParameters"}
8915	if s.DataSetName == nil {
8916		invalidParams.Add(request.NewErrParamRequired("DataSetName"))
8917	}
8918	if s.DataSetName != nil && len(*s.DataSetName) < 1 {
8919		invalidParams.Add(request.NewErrParamMinLen("DataSetName", 1))
8920	}
8921
8922	if invalidParams.Len() > 0 {
8923		return invalidParams
8924	}
8925	return nil
8926}
8927
8928// SetDataSetName sets the DataSetName field's value.
8929func (s *AwsIotAnalyticsParameters) SetDataSetName(v string) *AwsIotAnalyticsParameters {
8930	s.DataSetName = &v
8931	return s
8932}
8933
8934// The display options for tile borders for visuals.
8935type BorderStyle struct {
8936	_ struct{} `type:"structure"`
8937
8938	// The option to enable display of borders for visuals.
8939	Show *bool `type:"boolean"`
8940}
8941
8942// String returns the string representation
8943func (s BorderStyle) String() string {
8944	return awsutil.Prettify(s)
8945}
8946
8947// GoString returns the string representation
8948func (s BorderStyle) GoString() string {
8949	return s.String()
8950}
8951
8952// SetShow sets the Show field's value.
8953func (s *BorderStyle) SetShow(v bool) *BorderStyle {
8954	s.Show = &v
8955	return s
8956}
8957
8958// A calculated column for a dataset.
8959type CalculatedColumn struct {
8960	_ struct{} `type:"structure"`
8961
8962	// A unique ID to identify a calculated column. During a dataset update, if
8963	// the column ID of a calculated column matches that of an existing calculated
8964	// column, Amazon QuickSight preserves the existing calculated column.
8965	//
8966	// ColumnId is a required field
8967	ColumnId *string `min:"1" type:"string" required:"true"`
8968
8969	// Column name.
8970	//
8971	// ColumnName is a required field
8972	ColumnName *string `min:"1" type:"string" required:"true"`
8973
8974	// An expression that defines the calculated column.
8975	//
8976	// Expression is a required field
8977	Expression *string `min:"1" type:"string" required:"true"`
8978}
8979
8980// String returns the string representation
8981func (s CalculatedColumn) String() string {
8982	return awsutil.Prettify(s)
8983}
8984
8985// GoString returns the string representation
8986func (s CalculatedColumn) GoString() string {
8987	return s.String()
8988}
8989
8990// Validate inspects the fields of the type to determine if they are valid.
8991func (s *CalculatedColumn) Validate() error {
8992	invalidParams := request.ErrInvalidParams{Context: "CalculatedColumn"}
8993	if s.ColumnId == nil {
8994		invalidParams.Add(request.NewErrParamRequired("ColumnId"))
8995	}
8996	if s.ColumnId != nil && len(*s.ColumnId) < 1 {
8997		invalidParams.Add(request.NewErrParamMinLen("ColumnId", 1))
8998	}
8999	if s.ColumnName == nil {
9000		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
9001	}
9002	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
9003		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
9004	}
9005	if s.Expression == nil {
9006		invalidParams.Add(request.NewErrParamRequired("Expression"))
9007	}
9008	if s.Expression != nil && len(*s.Expression) < 1 {
9009		invalidParams.Add(request.NewErrParamMinLen("Expression", 1))
9010	}
9011
9012	if invalidParams.Len() > 0 {
9013		return invalidParams
9014	}
9015	return nil
9016}
9017
9018// SetColumnId sets the ColumnId field's value.
9019func (s *CalculatedColumn) SetColumnId(v string) *CalculatedColumn {
9020	s.ColumnId = &v
9021	return s
9022}
9023
9024// SetColumnName sets the ColumnName field's value.
9025func (s *CalculatedColumn) SetColumnName(v string) *CalculatedColumn {
9026	s.ColumnName = &v
9027	return s
9028}
9029
9030// SetExpression sets the Expression field's value.
9031func (s *CalculatedColumn) SetExpression(v string) *CalculatedColumn {
9032	s.Expression = &v
9033	return s
9034}
9035
9036type CancelIngestionInput struct {
9037	_ struct{} `type:"structure"`
9038
9039	// The AWS account ID.
9040	//
9041	// AwsAccountId is a required field
9042	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
9043
9044	// The ID of the dataset used in the ingestion.
9045	//
9046	// DataSetId is a required field
9047	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
9048
9049	// An ID for the ingestion.
9050	//
9051	// IngestionId is a required field
9052	IngestionId *string `location:"uri" locationName:"IngestionId" min:"1" type:"string" required:"true"`
9053}
9054
9055// String returns the string representation
9056func (s CancelIngestionInput) String() string {
9057	return awsutil.Prettify(s)
9058}
9059
9060// GoString returns the string representation
9061func (s CancelIngestionInput) GoString() string {
9062	return s.String()
9063}
9064
9065// Validate inspects the fields of the type to determine if they are valid.
9066func (s *CancelIngestionInput) Validate() error {
9067	invalidParams := request.ErrInvalidParams{Context: "CancelIngestionInput"}
9068	if s.AwsAccountId == nil {
9069		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
9070	}
9071	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
9072		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
9073	}
9074	if s.DataSetId == nil {
9075		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
9076	}
9077	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
9078		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
9079	}
9080	if s.IngestionId == nil {
9081		invalidParams.Add(request.NewErrParamRequired("IngestionId"))
9082	}
9083	if s.IngestionId != nil && len(*s.IngestionId) < 1 {
9084		invalidParams.Add(request.NewErrParamMinLen("IngestionId", 1))
9085	}
9086
9087	if invalidParams.Len() > 0 {
9088		return invalidParams
9089	}
9090	return nil
9091}
9092
9093// SetAwsAccountId sets the AwsAccountId field's value.
9094func (s *CancelIngestionInput) SetAwsAccountId(v string) *CancelIngestionInput {
9095	s.AwsAccountId = &v
9096	return s
9097}
9098
9099// SetDataSetId sets the DataSetId field's value.
9100func (s *CancelIngestionInput) SetDataSetId(v string) *CancelIngestionInput {
9101	s.DataSetId = &v
9102	return s
9103}
9104
9105// SetIngestionId sets the IngestionId field's value.
9106func (s *CancelIngestionInput) SetIngestionId(v string) *CancelIngestionInput {
9107	s.IngestionId = &v
9108	return s
9109}
9110
9111type CancelIngestionOutput struct {
9112	_ struct{} `type:"structure"`
9113
9114	// The Amazon Resource Name (ARN) for the data ingestion.
9115	Arn *string `type:"string"`
9116
9117	// An ID for the ingestion.
9118	IngestionId *string `min:"1" type:"string"`
9119
9120	// The AWS request ID for this operation.
9121	RequestId *string `type:"string"`
9122
9123	// The HTTP status of the request.
9124	Status *int64 `location:"statusCode" type:"integer"`
9125}
9126
9127// String returns the string representation
9128func (s CancelIngestionOutput) String() string {
9129	return awsutil.Prettify(s)
9130}
9131
9132// GoString returns the string representation
9133func (s CancelIngestionOutput) GoString() string {
9134	return s.String()
9135}
9136
9137// SetArn sets the Arn field's value.
9138func (s *CancelIngestionOutput) SetArn(v string) *CancelIngestionOutput {
9139	s.Arn = &v
9140	return s
9141}
9142
9143// SetIngestionId sets the IngestionId field's value.
9144func (s *CancelIngestionOutput) SetIngestionId(v string) *CancelIngestionOutput {
9145	s.IngestionId = &v
9146	return s
9147}
9148
9149// SetRequestId sets the RequestId field's value.
9150func (s *CancelIngestionOutput) SetRequestId(v string) *CancelIngestionOutput {
9151	s.RequestId = &v
9152	return s
9153}
9154
9155// SetStatus sets the Status field's value.
9156func (s *CancelIngestionOutput) SetStatus(v int64) *CancelIngestionOutput {
9157	s.Status = &v
9158	return s
9159}
9160
9161// A transform operation that casts a column to a different type.
9162type CastColumnTypeOperation struct {
9163	_ struct{} `type:"structure"`
9164
9165	// Column name.
9166	//
9167	// ColumnName is a required field
9168	ColumnName *string `min:"1" type:"string" required:"true"`
9169
9170	// When casting a column from string to datetime type, you can supply a string
9171	// in a format supported by Amazon QuickSight to denote the source data format.
9172	Format *string `type:"string"`
9173
9174	// New column data type.
9175	//
9176	// NewColumnType is a required field
9177	NewColumnType *string `type:"string" required:"true" enum:"ColumnDataType"`
9178}
9179
9180// String returns the string representation
9181func (s CastColumnTypeOperation) String() string {
9182	return awsutil.Prettify(s)
9183}
9184
9185// GoString returns the string representation
9186func (s CastColumnTypeOperation) GoString() string {
9187	return s.String()
9188}
9189
9190// Validate inspects the fields of the type to determine if they are valid.
9191func (s *CastColumnTypeOperation) Validate() error {
9192	invalidParams := request.ErrInvalidParams{Context: "CastColumnTypeOperation"}
9193	if s.ColumnName == nil {
9194		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
9195	}
9196	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
9197		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
9198	}
9199	if s.NewColumnType == nil {
9200		invalidParams.Add(request.NewErrParamRequired("NewColumnType"))
9201	}
9202
9203	if invalidParams.Len() > 0 {
9204		return invalidParams
9205	}
9206	return nil
9207}
9208
9209// SetColumnName sets the ColumnName field's value.
9210func (s *CastColumnTypeOperation) SetColumnName(v string) *CastColumnTypeOperation {
9211	s.ColumnName = &v
9212	return s
9213}
9214
9215// SetFormat sets the Format field's value.
9216func (s *CastColumnTypeOperation) SetFormat(v string) *CastColumnTypeOperation {
9217	s.Format = &v
9218	return s
9219}
9220
9221// SetNewColumnType sets the NewColumnType field's value.
9222func (s *CastColumnTypeOperation) SetNewColumnType(v string) *CastColumnTypeOperation {
9223	s.NewColumnType = &v
9224	return s
9225}
9226
9227// Groupings of columns that work together in certain Amazon QuickSight features.
9228// This is a variant type structure. For this structure to be valid, only one
9229// of the attributes can be non-null.
9230type ColumnGroup struct {
9231	_ struct{} `type:"structure"`
9232
9233	// Geospatial column group that denotes a hierarchy.
9234	GeoSpatialColumnGroup *GeoSpatialColumnGroup `type:"structure"`
9235}
9236
9237// String returns the string representation
9238func (s ColumnGroup) String() string {
9239	return awsutil.Prettify(s)
9240}
9241
9242// GoString returns the string representation
9243func (s ColumnGroup) GoString() string {
9244	return s.String()
9245}
9246
9247// Validate inspects the fields of the type to determine if they are valid.
9248func (s *ColumnGroup) Validate() error {
9249	invalidParams := request.ErrInvalidParams{Context: "ColumnGroup"}
9250	if s.GeoSpatialColumnGroup != nil {
9251		if err := s.GeoSpatialColumnGroup.Validate(); err != nil {
9252			invalidParams.AddNested("GeoSpatialColumnGroup", err.(request.ErrInvalidParams))
9253		}
9254	}
9255
9256	if invalidParams.Len() > 0 {
9257		return invalidParams
9258	}
9259	return nil
9260}
9261
9262// SetGeoSpatialColumnGroup sets the GeoSpatialColumnGroup field's value.
9263func (s *ColumnGroup) SetGeoSpatialColumnGroup(v *GeoSpatialColumnGroup) *ColumnGroup {
9264	s.GeoSpatialColumnGroup = v
9265	return s
9266}
9267
9268// A structure describing the name, data type, and geographic role of the columns.
9269type ColumnGroupColumnSchema struct {
9270	_ struct{} `type:"structure"`
9271
9272	// The name of the column group's column schema.
9273	Name *string `type:"string"`
9274}
9275
9276// String returns the string representation
9277func (s ColumnGroupColumnSchema) String() string {
9278	return awsutil.Prettify(s)
9279}
9280
9281// GoString returns the string representation
9282func (s ColumnGroupColumnSchema) GoString() string {
9283	return s.String()
9284}
9285
9286// SetName sets the Name field's value.
9287func (s *ColumnGroupColumnSchema) SetName(v string) *ColumnGroupColumnSchema {
9288	s.Name = &v
9289	return s
9290}
9291
9292// The column group schema.
9293type ColumnGroupSchema struct {
9294	_ struct{} `type:"structure"`
9295
9296	// A structure containing the list of schemas for column group columns.
9297	ColumnGroupColumnSchemaList []*ColumnGroupColumnSchema `type:"list"`
9298
9299	// The name of the column group schema.
9300	Name *string `type:"string"`
9301}
9302
9303// String returns the string representation
9304func (s ColumnGroupSchema) String() string {
9305	return awsutil.Prettify(s)
9306}
9307
9308// GoString returns the string representation
9309func (s ColumnGroupSchema) GoString() string {
9310	return s.String()
9311}
9312
9313// SetColumnGroupColumnSchemaList sets the ColumnGroupColumnSchemaList field's value.
9314func (s *ColumnGroupSchema) SetColumnGroupColumnSchemaList(v []*ColumnGroupColumnSchema) *ColumnGroupSchema {
9315	s.ColumnGroupColumnSchemaList = v
9316	return s
9317}
9318
9319// SetName sets the Name field's value.
9320func (s *ColumnGroupSchema) SetName(v string) *ColumnGroupSchema {
9321	s.Name = &v
9322	return s
9323}
9324
9325// The column schema.
9326type ColumnSchema struct {
9327	_ struct{} `type:"structure"`
9328
9329	// The data type of the column schema.
9330	DataType *string `type:"string"`
9331
9332	// The geographic role of the column schema.
9333	GeographicRole *string `type:"string"`
9334
9335	// The name of the column schema.
9336	Name *string `type:"string"`
9337}
9338
9339// String returns the string representation
9340func (s ColumnSchema) String() string {
9341	return awsutil.Prettify(s)
9342}
9343
9344// GoString returns the string representation
9345func (s ColumnSchema) GoString() string {
9346	return s.String()
9347}
9348
9349// SetDataType sets the DataType field's value.
9350func (s *ColumnSchema) SetDataType(v string) *ColumnSchema {
9351	s.DataType = &v
9352	return s
9353}
9354
9355// SetGeographicRole sets the GeographicRole field's value.
9356func (s *ColumnSchema) SetGeographicRole(v string) *ColumnSchema {
9357	s.GeographicRole = &v
9358	return s
9359}
9360
9361// SetName sets the Name field's value.
9362func (s *ColumnSchema) SetName(v string) *ColumnSchema {
9363	s.Name = &v
9364	return s
9365}
9366
9367// A tag for a column in a TagColumnOperation structure. This is a variant type
9368// structure. For this structure to be valid, only one of the attributes can
9369// be non-null.
9370type ColumnTag struct {
9371	_ struct{} `type:"structure"`
9372
9373	// A geospatial role for a column.
9374	ColumnGeographicRole *string `type:"string" enum:"GeoSpatialDataRole"`
9375}
9376
9377// String returns the string representation
9378func (s ColumnTag) String() string {
9379	return awsutil.Prettify(s)
9380}
9381
9382// GoString returns the string representation
9383func (s ColumnTag) GoString() string {
9384	return s.String()
9385}
9386
9387// SetColumnGeographicRole sets the ColumnGeographicRole field's value.
9388func (s *ColumnTag) SetColumnGeographicRole(v string) *ColumnTag {
9389	s.ColumnGeographicRole = &v
9390	return s
9391}
9392
9393// A resource is already in a state that indicates an action is happening that
9394// must complete before a new update can be applied.
9395type ConcurrentUpdatingException struct {
9396	_            struct{}                  `type:"structure"`
9397	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
9398
9399	Message_ *string `locationName:"Message" type:"string"`
9400
9401	RequestId *string `type:"string"`
9402}
9403
9404// String returns the string representation
9405func (s ConcurrentUpdatingException) String() string {
9406	return awsutil.Prettify(s)
9407}
9408
9409// GoString returns the string representation
9410func (s ConcurrentUpdatingException) GoString() string {
9411	return s.String()
9412}
9413
9414func newErrorConcurrentUpdatingException(v protocol.ResponseMetadata) error {
9415	return &ConcurrentUpdatingException{
9416		RespMetadata: v,
9417	}
9418}
9419
9420// Code returns the exception type name.
9421func (s *ConcurrentUpdatingException) Code() string {
9422	return "ConcurrentUpdatingException"
9423}
9424
9425// Message returns the exception's message.
9426func (s *ConcurrentUpdatingException) Message() string {
9427	if s.Message_ != nil {
9428		return *s.Message_
9429	}
9430	return ""
9431}
9432
9433// OrigErr always returns nil, satisfies awserr.Error interface.
9434func (s *ConcurrentUpdatingException) OrigErr() error {
9435	return nil
9436}
9437
9438func (s *ConcurrentUpdatingException) Error() string {
9439	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
9440}
9441
9442// Status code returns the HTTP status code for the request's response error.
9443func (s *ConcurrentUpdatingException) StatusCode() int {
9444	return s.RespMetadata.StatusCode
9445}
9446
9447// RequestID returns the service's response RequestID for request.
9448func (s *ConcurrentUpdatingException) RequestID() string {
9449	return s.RespMetadata.RequestID
9450}
9451
9452// Updating or deleting a resource can cause an inconsistent state.
9453type ConflictException struct {
9454	_            struct{}                  `type:"structure"`
9455	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
9456
9457	Message_ *string `locationName:"Message" type:"string"`
9458
9459	// The AWS request ID for this request.
9460	RequestId *string `type:"string"`
9461}
9462
9463// String returns the string representation
9464func (s ConflictException) String() string {
9465	return awsutil.Prettify(s)
9466}
9467
9468// GoString returns the string representation
9469func (s ConflictException) GoString() string {
9470	return s.String()
9471}
9472
9473func newErrorConflictException(v protocol.ResponseMetadata) error {
9474	return &ConflictException{
9475		RespMetadata: v,
9476	}
9477}
9478
9479// Code returns the exception type name.
9480func (s *ConflictException) Code() string {
9481	return "ConflictException"
9482}
9483
9484// Message returns the exception's message.
9485func (s *ConflictException) Message() string {
9486	if s.Message_ != nil {
9487		return *s.Message_
9488	}
9489	return ""
9490}
9491
9492// OrigErr always returns nil, satisfies awserr.Error interface.
9493func (s *ConflictException) OrigErr() error {
9494	return nil
9495}
9496
9497func (s *ConflictException) Error() string {
9498	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
9499}
9500
9501// Status code returns the HTTP status code for the request's response error.
9502func (s *ConflictException) StatusCode() int {
9503	return s.RespMetadata.StatusCode
9504}
9505
9506// RequestID returns the service's response RequestID for request.
9507func (s *ConflictException) RequestID() string {
9508	return s.RespMetadata.RequestID
9509}
9510
9511// A transform operation that creates calculated columns. Columns created in
9512// one such operation form a lexical closure.
9513type CreateColumnsOperation struct {
9514	_ struct{} `type:"structure"`
9515
9516	// Calculated columns to create.
9517	//
9518	// Columns is a required field
9519	Columns []*CalculatedColumn `min:"1" type:"list" required:"true"`
9520}
9521
9522// String returns the string representation
9523func (s CreateColumnsOperation) String() string {
9524	return awsutil.Prettify(s)
9525}
9526
9527// GoString returns the string representation
9528func (s CreateColumnsOperation) GoString() string {
9529	return s.String()
9530}
9531
9532// Validate inspects the fields of the type to determine if they are valid.
9533func (s *CreateColumnsOperation) Validate() error {
9534	invalidParams := request.ErrInvalidParams{Context: "CreateColumnsOperation"}
9535	if s.Columns == nil {
9536		invalidParams.Add(request.NewErrParamRequired("Columns"))
9537	}
9538	if s.Columns != nil && len(s.Columns) < 1 {
9539		invalidParams.Add(request.NewErrParamMinLen("Columns", 1))
9540	}
9541	if s.Columns != nil {
9542		for i, v := range s.Columns {
9543			if v == nil {
9544				continue
9545			}
9546			if err := v.Validate(); err != nil {
9547				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams))
9548			}
9549		}
9550	}
9551
9552	if invalidParams.Len() > 0 {
9553		return invalidParams
9554	}
9555	return nil
9556}
9557
9558// SetColumns sets the Columns field's value.
9559func (s *CreateColumnsOperation) SetColumns(v []*CalculatedColumn) *CreateColumnsOperation {
9560	s.Columns = v
9561	return s
9562}
9563
9564type CreateDashboardInput struct {
9565	_ struct{} `type:"structure"`
9566
9567	// The ID of the AWS account where you want to create the dashboard.
9568	//
9569	// AwsAccountId is a required field
9570	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
9571
9572	// The ID for the dashboard, also added to the IAM policy.
9573	//
9574	// DashboardId is a required field
9575	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
9576
9577	// Options for publishing the dashboard when you create it:
9578	//
9579	//    * AvailabilityStatus for AdHocFilteringOption - This status can be either
9580	//    ENABLED or DISABLED. When this is set to DISABLED, QuickSight disables
9581	//    the left filter pane on the published dashboard, which can be used for
9582	//    ad hoc (one-time) filtering. This option is ENABLED by default.
9583	//
9584	//    * AvailabilityStatus for ExportToCSVOption - This status can be either
9585	//    ENABLED or DISABLED. The visual option to export data to .csv format isn't
9586	//    enabled when this is set to DISABLED. This option is ENABLED by default.
9587	//
9588	//    * VisibilityState for SheetControlsOption - This visibility state can
9589	//    be either COLLAPSED or EXPANDED. This option is COLLAPSED by default.
9590	DashboardPublishOptions *DashboardPublishOptions `type:"structure"`
9591
9592	// The display name of the dashboard.
9593	//
9594	// Name is a required field
9595	Name *string `min:"1" type:"string" required:"true"`
9596
9597	// The parameters for the creation of the dashboard, which you want to use to
9598	// override the default settings. A dashboard can have any type of parameters,
9599	// and some parameters might accept multiple values.
9600	Parameters *Parameters `type:"structure"`
9601
9602	// A structure that contains the permissions of the dashboard. You can use this
9603	// structure for granting permissions with principal and action information.
9604	Permissions []*ResourcePermission `min:"1" type:"list"`
9605
9606	// The entity that you are using as a source when you create the dashboard.
9607	// In SourceEntity, you specify the type of object you're using as source. You
9608	// can only create a dashboard from a template, so you use a SourceTemplate
9609	// entity. If you need to create a dashboard from an analysis, first convert
9610	// the analysis to a template by using the CreateTemplate API operation. For
9611	// SourceTemplate, specify the Amazon Resource Name (ARN) of the source template.
9612	// The SourceTemplateARN can contain any AWS Account and any QuickSight-supported
9613	// AWS Region.
9614	//
9615	// Use the DataSetReferences entity within SourceTemplate to list the replacement
9616	// datasets for the placeholders listed in the original. The schema in each
9617	// dataset must match its placeholder.
9618	//
9619	// SourceEntity is a required field
9620	SourceEntity *DashboardSourceEntity `type:"structure" required:"true"`
9621
9622	// Contains a map of the key-value pairs for the resource tag or tags assigned
9623	// to the dashboard.
9624	Tags []*Tag `min:"1" type:"list"`
9625
9626	// The Amazon Resource Name (ARN) of the theme that is being used for this dashboard.
9627	// If you add a value for this field, it overrides the value that is used in
9628	// the source entity. The theme ARN must exist in the same AWS account where
9629	// you create the dashboard.
9630	ThemeArn *string `type:"string"`
9631
9632	// A description for the first version of the dashboard being created.
9633	VersionDescription *string `min:"1" type:"string"`
9634}
9635
9636// String returns the string representation
9637func (s CreateDashboardInput) String() string {
9638	return awsutil.Prettify(s)
9639}
9640
9641// GoString returns the string representation
9642func (s CreateDashboardInput) GoString() string {
9643	return s.String()
9644}
9645
9646// Validate inspects the fields of the type to determine if they are valid.
9647func (s *CreateDashboardInput) Validate() error {
9648	invalidParams := request.ErrInvalidParams{Context: "CreateDashboardInput"}
9649	if s.AwsAccountId == nil {
9650		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
9651	}
9652	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
9653		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
9654	}
9655	if s.DashboardId == nil {
9656		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
9657	}
9658	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
9659		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
9660	}
9661	if s.Name == nil {
9662		invalidParams.Add(request.NewErrParamRequired("Name"))
9663	}
9664	if s.Name != nil && len(*s.Name) < 1 {
9665		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
9666	}
9667	if s.Permissions != nil && len(s.Permissions) < 1 {
9668		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
9669	}
9670	if s.SourceEntity == nil {
9671		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
9672	}
9673	if s.Tags != nil && len(s.Tags) < 1 {
9674		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
9675	}
9676	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
9677		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
9678	}
9679	if s.Parameters != nil {
9680		if err := s.Parameters.Validate(); err != nil {
9681			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
9682		}
9683	}
9684	if s.Permissions != nil {
9685		for i, v := range s.Permissions {
9686			if v == nil {
9687				continue
9688			}
9689			if err := v.Validate(); err != nil {
9690				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
9691			}
9692		}
9693	}
9694	if s.SourceEntity != nil {
9695		if err := s.SourceEntity.Validate(); err != nil {
9696			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
9697		}
9698	}
9699	if s.Tags != nil {
9700		for i, v := range s.Tags {
9701			if v == nil {
9702				continue
9703			}
9704			if err := v.Validate(); err != nil {
9705				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
9706			}
9707		}
9708	}
9709
9710	if invalidParams.Len() > 0 {
9711		return invalidParams
9712	}
9713	return nil
9714}
9715
9716// SetAwsAccountId sets the AwsAccountId field's value.
9717func (s *CreateDashboardInput) SetAwsAccountId(v string) *CreateDashboardInput {
9718	s.AwsAccountId = &v
9719	return s
9720}
9721
9722// SetDashboardId sets the DashboardId field's value.
9723func (s *CreateDashboardInput) SetDashboardId(v string) *CreateDashboardInput {
9724	s.DashboardId = &v
9725	return s
9726}
9727
9728// SetDashboardPublishOptions sets the DashboardPublishOptions field's value.
9729func (s *CreateDashboardInput) SetDashboardPublishOptions(v *DashboardPublishOptions) *CreateDashboardInput {
9730	s.DashboardPublishOptions = v
9731	return s
9732}
9733
9734// SetName sets the Name field's value.
9735func (s *CreateDashboardInput) SetName(v string) *CreateDashboardInput {
9736	s.Name = &v
9737	return s
9738}
9739
9740// SetParameters sets the Parameters field's value.
9741func (s *CreateDashboardInput) SetParameters(v *Parameters) *CreateDashboardInput {
9742	s.Parameters = v
9743	return s
9744}
9745
9746// SetPermissions sets the Permissions field's value.
9747func (s *CreateDashboardInput) SetPermissions(v []*ResourcePermission) *CreateDashboardInput {
9748	s.Permissions = v
9749	return s
9750}
9751
9752// SetSourceEntity sets the SourceEntity field's value.
9753func (s *CreateDashboardInput) SetSourceEntity(v *DashboardSourceEntity) *CreateDashboardInput {
9754	s.SourceEntity = v
9755	return s
9756}
9757
9758// SetTags sets the Tags field's value.
9759func (s *CreateDashboardInput) SetTags(v []*Tag) *CreateDashboardInput {
9760	s.Tags = v
9761	return s
9762}
9763
9764// SetThemeArn sets the ThemeArn field's value.
9765func (s *CreateDashboardInput) SetThemeArn(v string) *CreateDashboardInput {
9766	s.ThemeArn = &v
9767	return s
9768}
9769
9770// SetVersionDescription sets the VersionDescription field's value.
9771func (s *CreateDashboardInput) SetVersionDescription(v string) *CreateDashboardInput {
9772	s.VersionDescription = &v
9773	return s
9774}
9775
9776type CreateDashboardOutput struct {
9777	_ struct{} `type:"structure"`
9778
9779	// The ARN of the dashboard.
9780	Arn *string `type:"string"`
9781
9782	// The status of the dashboard creation request.
9783	CreationStatus *string `type:"string" enum:"ResourceStatus"`
9784
9785	// The ID for the dashboard.
9786	DashboardId *string `min:"1" type:"string"`
9787
9788	// The AWS request ID for this operation.
9789	RequestId *string `type:"string"`
9790
9791	// The HTTP status of the request.
9792	Status *int64 `location:"statusCode" type:"integer"`
9793
9794	// The ARN of the dashboard, including the version number of the first version
9795	// that is created.
9796	VersionArn *string `type:"string"`
9797}
9798
9799// String returns the string representation
9800func (s CreateDashboardOutput) String() string {
9801	return awsutil.Prettify(s)
9802}
9803
9804// GoString returns the string representation
9805func (s CreateDashboardOutput) GoString() string {
9806	return s.String()
9807}
9808
9809// SetArn sets the Arn field's value.
9810func (s *CreateDashboardOutput) SetArn(v string) *CreateDashboardOutput {
9811	s.Arn = &v
9812	return s
9813}
9814
9815// SetCreationStatus sets the CreationStatus field's value.
9816func (s *CreateDashboardOutput) SetCreationStatus(v string) *CreateDashboardOutput {
9817	s.CreationStatus = &v
9818	return s
9819}
9820
9821// SetDashboardId sets the DashboardId field's value.
9822func (s *CreateDashboardOutput) SetDashboardId(v string) *CreateDashboardOutput {
9823	s.DashboardId = &v
9824	return s
9825}
9826
9827// SetRequestId sets the RequestId field's value.
9828func (s *CreateDashboardOutput) SetRequestId(v string) *CreateDashboardOutput {
9829	s.RequestId = &v
9830	return s
9831}
9832
9833// SetStatus sets the Status field's value.
9834func (s *CreateDashboardOutput) SetStatus(v int64) *CreateDashboardOutput {
9835	s.Status = &v
9836	return s
9837}
9838
9839// SetVersionArn sets the VersionArn field's value.
9840func (s *CreateDashboardOutput) SetVersionArn(v string) *CreateDashboardOutput {
9841	s.VersionArn = &v
9842	return s
9843}
9844
9845type CreateDataSetInput struct {
9846	_ struct{} `type:"structure"`
9847
9848	// The AWS account ID.
9849	//
9850	// AwsAccountId is a required field
9851	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
9852
9853	// Groupings of columns that work together in certain QuickSight features. Currently,
9854	// only geospatial hierarchy is supported.
9855	ColumnGroups []*ColumnGroup `min:"1" type:"list"`
9856
9857	// An ID for the dataset that you want to create. This ID is unique per AWS
9858	// Region for each AWS account.
9859	//
9860	// DataSetId is a required field
9861	DataSetId *string `type:"string" required:"true"`
9862
9863	// Indicates whether you want to import the data into SPICE.
9864	//
9865	// ImportMode is a required field
9866	ImportMode *string `type:"string" required:"true" enum:"DataSetImportMode"`
9867
9868	// Configures the combination and transformation of the data from the physical
9869	// tables.
9870	LogicalTableMap map[string]*LogicalTable `min:"1" type:"map"`
9871
9872	// The display name for the dataset.
9873	//
9874	// Name is a required field
9875	Name *string `min:"1" type:"string" required:"true"`
9876
9877	// A list of resource permissions on the dataset.
9878	Permissions []*ResourcePermission `min:"1" type:"list"`
9879
9880	// Declares the physical tables that are available in the underlying data sources.
9881	//
9882	// PhysicalTableMap is a required field
9883	PhysicalTableMap map[string]*PhysicalTable `min:"1" type:"map" required:"true"`
9884
9885	// The row-level security configuration for the data that you want to create.
9886	RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"`
9887
9888	// Contains a map of the key-value pairs for the resource tag or tags assigned
9889	// to the dataset.
9890	Tags []*Tag `min:"1" type:"list"`
9891}
9892
9893// String returns the string representation
9894func (s CreateDataSetInput) String() string {
9895	return awsutil.Prettify(s)
9896}
9897
9898// GoString returns the string representation
9899func (s CreateDataSetInput) GoString() string {
9900	return s.String()
9901}
9902
9903// Validate inspects the fields of the type to determine if they are valid.
9904func (s *CreateDataSetInput) Validate() error {
9905	invalidParams := request.ErrInvalidParams{Context: "CreateDataSetInput"}
9906	if s.AwsAccountId == nil {
9907		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
9908	}
9909	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
9910		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
9911	}
9912	if s.ColumnGroups != nil && len(s.ColumnGroups) < 1 {
9913		invalidParams.Add(request.NewErrParamMinLen("ColumnGroups", 1))
9914	}
9915	if s.DataSetId == nil {
9916		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
9917	}
9918	if s.ImportMode == nil {
9919		invalidParams.Add(request.NewErrParamRequired("ImportMode"))
9920	}
9921	if s.LogicalTableMap != nil && len(s.LogicalTableMap) < 1 {
9922		invalidParams.Add(request.NewErrParamMinLen("LogicalTableMap", 1))
9923	}
9924	if s.Name == nil {
9925		invalidParams.Add(request.NewErrParamRequired("Name"))
9926	}
9927	if s.Name != nil && len(*s.Name) < 1 {
9928		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
9929	}
9930	if s.Permissions != nil && len(s.Permissions) < 1 {
9931		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
9932	}
9933	if s.PhysicalTableMap == nil {
9934		invalidParams.Add(request.NewErrParamRequired("PhysicalTableMap"))
9935	}
9936	if s.PhysicalTableMap != nil && len(s.PhysicalTableMap) < 1 {
9937		invalidParams.Add(request.NewErrParamMinLen("PhysicalTableMap", 1))
9938	}
9939	if s.Tags != nil && len(s.Tags) < 1 {
9940		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
9941	}
9942	if s.ColumnGroups != nil {
9943		for i, v := range s.ColumnGroups {
9944			if v == nil {
9945				continue
9946			}
9947			if err := v.Validate(); err != nil {
9948				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnGroups", i), err.(request.ErrInvalidParams))
9949			}
9950		}
9951	}
9952	if s.LogicalTableMap != nil {
9953		for i, v := range s.LogicalTableMap {
9954			if v == nil {
9955				continue
9956			}
9957			if err := v.Validate(); err != nil {
9958				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LogicalTableMap", i), err.(request.ErrInvalidParams))
9959			}
9960		}
9961	}
9962	if s.Permissions != nil {
9963		for i, v := range s.Permissions {
9964			if v == nil {
9965				continue
9966			}
9967			if err := v.Validate(); err != nil {
9968				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
9969			}
9970		}
9971	}
9972	if s.PhysicalTableMap != nil {
9973		for i, v := range s.PhysicalTableMap {
9974			if v == nil {
9975				continue
9976			}
9977			if err := v.Validate(); err != nil {
9978				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PhysicalTableMap", i), err.(request.ErrInvalidParams))
9979			}
9980		}
9981	}
9982	if s.RowLevelPermissionDataSet != nil {
9983		if err := s.RowLevelPermissionDataSet.Validate(); err != nil {
9984			invalidParams.AddNested("RowLevelPermissionDataSet", err.(request.ErrInvalidParams))
9985		}
9986	}
9987	if s.Tags != nil {
9988		for i, v := range s.Tags {
9989			if v == nil {
9990				continue
9991			}
9992			if err := v.Validate(); err != nil {
9993				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
9994			}
9995		}
9996	}
9997
9998	if invalidParams.Len() > 0 {
9999		return invalidParams
10000	}
10001	return nil
10002}
10003
10004// SetAwsAccountId sets the AwsAccountId field's value.
10005func (s *CreateDataSetInput) SetAwsAccountId(v string) *CreateDataSetInput {
10006	s.AwsAccountId = &v
10007	return s
10008}
10009
10010// SetColumnGroups sets the ColumnGroups field's value.
10011func (s *CreateDataSetInput) SetColumnGroups(v []*ColumnGroup) *CreateDataSetInput {
10012	s.ColumnGroups = v
10013	return s
10014}
10015
10016// SetDataSetId sets the DataSetId field's value.
10017func (s *CreateDataSetInput) SetDataSetId(v string) *CreateDataSetInput {
10018	s.DataSetId = &v
10019	return s
10020}
10021
10022// SetImportMode sets the ImportMode field's value.
10023func (s *CreateDataSetInput) SetImportMode(v string) *CreateDataSetInput {
10024	s.ImportMode = &v
10025	return s
10026}
10027
10028// SetLogicalTableMap sets the LogicalTableMap field's value.
10029func (s *CreateDataSetInput) SetLogicalTableMap(v map[string]*LogicalTable) *CreateDataSetInput {
10030	s.LogicalTableMap = v
10031	return s
10032}
10033
10034// SetName sets the Name field's value.
10035func (s *CreateDataSetInput) SetName(v string) *CreateDataSetInput {
10036	s.Name = &v
10037	return s
10038}
10039
10040// SetPermissions sets the Permissions field's value.
10041func (s *CreateDataSetInput) SetPermissions(v []*ResourcePermission) *CreateDataSetInput {
10042	s.Permissions = v
10043	return s
10044}
10045
10046// SetPhysicalTableMap sets the PhysicalTableMap field's value.
10047func (s *CreateDataSetInput) SetPhysicalTableMap(v map[string]*PhysicalTable) *CreateDataSetInput {
10048	s.PhysicalTableMap = v
10049	return s
10050}
10051
10052// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value.
10053func (s *CreateDataSetInput) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *CreateDataSetInput {
10054	s.RowLevelPermissionDataSet = v
10055	return s
10056}
10057
10058// SetTags sets the Tags field's value.
10059func (s *CreateDataSetInput) SetTags(v []*Tag) *CreateDataSetInput {
10060	s.Tags = v
10061	return s
10062}
10063
10064type CreateDataSetOutput struct {
10065	_ struct{} `type:"structure"`
10066
10067	// The Amazon Resource Name (ARN) of the dataset.
10068	Arn *string `type:"string"`
10069
10070	// The ID for the dataset that you want to create. This ID is unique per AWS
10071	// Region for each AWS account.
10072	DataSetId *string `type:"string"`
10073
10074	// The ARN for the ingestion, which is triggered as a result of dataset creation
10075	// if the import mode is SPICE.
10076	IngestionArn *string `type:"string"`
10077
10078	// The ID of the ingestion, which is triggered as a result of dataset creation
10079	// if the import mode is SPICE.
10080	IngestionId *string `type:"string"`
10081
10082	// The AWS request ID for this operation.
10083	RequestId *string `type:"string"`
10084
10085	// The HTTP status of the request.
10086	Status *int64 `location:"statusCode" type:"integer"`
10087}
10088
10089// String returns the string representation
10090func (s CreateDataSetOutput) String() string {
10091	return awsutil.Prettify(s)
10092}
10093
10094// GoString returns the string representation
10095func (s CreateDataSetOutput) GoString() string {
10096	return s.String()
10097}
10098
10099// SetArn sets the Arn field's value.
10100func (s *CreateDataSetOutput) SetArn(v string) *CreateDataSetOutput {
10101	s.Arn = &v
10102	return s
10103}
10104
10105// SetDataSetId sets the DataSetId field's value.
10106func (s *CreateDataSetOutput) SetDataSetId(v string) *CreateDataSetOutput {
10107	s.DataSetId = &v
10108	return s
10109}
10110
10111// SetIngestionArn sets the IngestionArn field's value.
10112func (s *CreateDataSetOutput) SetIngestionArn(v string) *CreateDataSetOutput {
10113	s.IngestionArn = &v
10114	return s
10115}
10116
10117// SetIngestionId sets the IngestionId field's value.
10118func (s *CreateDataSetOutput) SetIngestionId(v string) *CreateDataSetOutput {
10119	s.IngestionId = &v
10120	return s
10121}
10122
10123// SetRequestId sets the RequestId field's value.
10124func (s *CreateDataSetOutput) SetRequestId(v string) *CreateDataSetOutput {
10125	s.RequestId = &v
10126	return s
10127}
10128
10129// SetStatus sets the Status field's value.
10130func (s *CreateDataSetOutput) SetStatus(v int64) *CreateDataSetOutput {
10131	s.Status = &v
10132	return s
10133}
10134
10135type CreateDataSourceInput struct {
10136	_ struct{} `type:"structure"`
10137
10138	// The AWS account ID.
10139	//
10140	// AwsAccountId is a required field
10141	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
10142
10143	// The credentials QuickSight that uses to connect to your underlying source.
10144	// Currently, only credentials based on user name and password are supported.
10145	Credentials *DataSourceCredentials `type:"structure" sensitive:"true"`
10146
10147	// An ID for the data source. This ID is unique per AWS Region for each AWS
10148	// account.
10149	//
10150	// DataSourceId is a required field
10151	DataSourceId *string `type:"string" required:"true"`
10152
10153	// The parameters that QuickSight uses to connect to your underlying source.
10154	DataSourceParameters *DataSourceParameters `type:"structure"`
10155
10156	// A display name for the data source.
10157	//
10158	// Name is a required field
10159	Name *string `min:"1" type:"string" required:"true"`
10160
10161	// A list of resource permissions on the data source.
10162	Permissions []*ResourcePermission `min:"1" type:"list"`
10163
10164	// Secure Socket Layer (SSL) properties that apply when QuickSight connects
10165	// to your underlying source.
10166	SslProperties *SslProperties `type:"structure"`
10167
10168	// Contains a map of the key-value pairs for the resource tag or tags assigned
10169	// to the data source.
10170	Tags []*Tag `min:"1" type:"list"`
10171
10172	// The type of the data source. Currently, the supported types for this operation
10173	// are: ATHENA, AURORA, AURORA_POSTGRESQL, MARIADB, MYSQL, POSTGRESQL, PRESTO,
10174	// REDSHIFT, S3, SNOWFLAKE, SPARK, SQLSERVER, TERADATA. Use ListDataSources
10175	// to return a list of all data sources.
10176	//
10177	// Type is a required field
10178	Type *string `type:"string" required:"true" enum:"DataSourceType"`
10179
10180	// Use this parameter only when you want QuickSight to use a VPC connection
10181	// when connecting to your underlying source.
10182	VpcConnectionProperties *VpcConnectionProperties `type:"structure"`
10183}
10184
10185// String returns the string representation
10186func (s CreateDataSourceInput) String() string {
10187	return awsutil.Prettify(s)
10188}
10189
10190// GoString returns the string representation
10191func (s CreateDataSourceInput) GoString() string {
10192	return s.String()
10193}
10194
10195// Validate inspects the fields of the type to determine if they are valid.
10196func (s *CreateDataSourceInput) Validate() error {
10197	invalidParams := request.ErrInvalidParams{Context: "CreateDataSourceInput"}
10198	if s.AwsAccountId == nil {
10199		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
10200	}
10201	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
10202		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
10203	}
10204	if s.DataSourceId == nil {
10205		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
10206	}
10207	if s.Name == nil {
10208		invalidParams.Add(request.NewErrParamRequired("Name"))
10209	}
10210	if s.Name != nil && len(*s.Name) < 1 {
10211		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
10212	}
10213	if s.Permissions != nil && len(s.Permissions) < 1 {
10214		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
10215	}
10216	if s.Tags != nil && len(s.Tags) < 1 {
10217		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
10218	}
10219	if s.Type == nil {
10220		invalidParams.Add(request.NewErrParamRequired("Type"))
10221	}
10222	if s.Credentials != nil {
10223		if err := s.Credentials.Validate(); err != nil {
10224			invalidParams.AddNested("Credentials", err.(request.ErrInvalidParams))
10225		}
10226	}
10227	if s.DataSourceParameters != nil {
10228		if err := s.DataSourceParameters.Validate(); err != nil {
10229			invalidParams.AddNested("DataSourceParameters", err.(request.ErrInvalidParams))
10230		}
10231	}
10232	if s.Permissions != nil {
10233		for i, v := range s.Permissions {
10234			if v == nil {
10235				continue
10236			}
10237			if err := v.Validate(); err != nil {
10238				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
10239			}
10240		}
10241	}
10242	if s.Tags != nil {
10243		for i, v := range s.Tags {
10244			if v == nil {
10245				continue
10246			}
10247			if err := v.Validate(); err != nil {
10248				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
10249			}
10250		}
10251	}
10252	if s.VpcConnectionProperties != nil {
10253		if err := s.VpcConnectionProperties.Validate(); err != nil {
10254			invalidParams.AddNested("VpcConnectionProperties", err.(request.ErrInvalidParams))
10255		}
10256	}
10257
10258	if invalidParams.Len() > 0 {
10259		return invalidParams
10260	}
10261	return nil
10262}
10263
10264// SetAwsAccountId sets the AwsAccountId field's value.
10265func (s *CreateDataSourceInput) SetAwsAccountId(v string) *CreateDataSourceInput {
10266	s.AwsAccountId = &v
10267	return s
10268}
10269
10270// SetCredentials sets the Credentials field's value.
10271func (s *CreateDataSourceInput) SetCredentials(v *DataSourceCredentials) *CreateDataSourceInput {
10272	s.Credentials = v
10273	return s
10274}
10275
10276// SetDataSourceId sets the DataSourceId field's value.
10277func (s *CreateDataSourceInput) SetDataSourceId(v string) *CreateDataSourceInput {
10278	s.DataSourceId = &v
10279	return s
10280}
10281
10282// SetDataSourceParameters sets the DataSourceParameters field's value.
10283func (s *CreateDataSourceInput) SetDataSourceParameters(v *DataSourceParameters) *CreateDataSourceInput {
10284	s.DataSourceParameters = v
10285	return s
10286}
10287
10288// SetName sets the Name field's value.
10289func (s *CreateDataSourceInput) SetName(v string) *CreateDataSourceInput {
10290	s.Name = &v
10291	return s
10292}
10293
10294// SetPermissions sets the Permissions field's value.
10295func (s *CreateDataSourceInput) SetPermissions(v []*ResourcePermission) *CreateDataSourceInput {
10296	s.Permissions = v
10297	return s
10298}
10299
10300// SetSslProperties sets the SslProperties field's value.
10301func (s *CreateDataSourceInput) SetSslProperties(v *SslProperties) *CreateDataSourceInput {
10302	s.SslProperties = v
10303	return s
10304}
10305
10306// SetTags sets the Tags field's value.
10307func (s *CreateDataSourceInput) SetTags(v []*Tag) *CreateDataSourceInput {
10308	s.Tags = v
10309	return s
10310}
10311
10312// SetType sets the Type field's value.
10313func (s *CreateDataSourceInput) SetType(v string) *CreateDataSourceInput {
10314	s.Type = &v
10315	return s
10316}
10317
10318// SetVpcConnectionProperties sets the VpcConnectionProperties field's value.
10319func (s *CreateDataSourceInput) SetVpcConnectionProperties(v *VpcConnectionProperties) *CreateDataSourceInput {
10320	s.VpcConnectionProperties = v
10321	return s
10322}
10323
10324type CreateDataSourceOutput struct {
10325	_ struct{} `type:"structure"`
10326
10327	// The Amazon Resource Name (ARN) of the data source.
10328	Arn *string `type:"string"`
10329
10330	// The status of creating the data source.
10331	CreationStatus *string `type:"string" enum:"ResourceStatus"`
10332
10333	// The ID of the data source. This ID is unique per AWS Region for each AWS
10334	// account.
10335	DataSourceId *string `type:"string"`
10336
10337	// The AWS request ID for this operation.
10338	RequestId *string `type:"string"`
10339
10340	// The HTTP status of the request.
10341	Status *int64 `location:"statusCode" type:"integer"`
10342}
10343
10344// String returns the string representation
10345func (s CreateDataSourceOutput) String() string {
10346	return awsutil.Prettify(s)
10347}
10348
10349// GoString returns the string representation
10350func (s CreateDataSourceOutput) GoString() string {
10351	return s.String()
10352}
10353
10354// SetArn sets the Arn field's value.
10355func (s *CreateDataSourceOutput) SetArn(v string) *CreateDataSourceOutput {
10356	s.Arn = &v
10357	return s
10358}
10359
10360// SetCreationStatus sets the CreationStatus field's value.
10361func (s *CreateDataSourceOutput) SetCreationStatus(v string) *CreateDataSourceOutput {
10362	s.CreationStatus = &v
10363	return s
10364}
10365
10366// SetDataSourceId sets the DataSourceId field's value.
10367func (s *CreateDataSourceOutput) SetDataSourceId(v string) *CreateDataSourceOutput {
10368	s.DataSourceId = &v
10369	return s
10370}
10371
10372// SetRequestId sets the RequestId field's value.
10373func (s *CreateDataSourceOutput) SetRequestId(v string) *CreateDataSourceOutput {
10374	s.RequestId = &v
10375	return s
10376}
10377
10378// SetStatus sets the Status field's value.
10379func (s *CreateDataSourceOutput) SetStatus(v int64) *CreateDataSourceOutput {
10380	s.Status = &v
10381	return s
10382}
10383
10384// The request object for this operation.
10385type CreateGroupInput struct {
10386	_ struct{} `type:"structure"`
10387
10388	// The ID for the AWS account that the group is in. Currently, you use the ID
10389	// for the AWS account that contains your Amazon QuickSight account.
10390	//
10391	// AwsAccountId is a required field
10392	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
10393
10394	// A description for the group that you want to create.
10395	Description *string `min:"1" type:"string"`
10396
10397	// A name for the group that you want to create.
10398	//
10399	// GroupName is a required field
10400	GroupName *string `min:"1" type:"string" required:"true"`
10401
10402	// The namespace. Currently, you should set this to default.
10403	//
10404	// Namespace is a required field
10405	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
10406}
10407
10408// String returns the string representation
10409func (s CreateGroupInput) String() string {
10410	return awsutil.Prettify(s)
10411}
10412
10413// GoString returns the string representation
10414func (s CreateGroupInput) GoString() string {
10415	return s.String()
10416}
10417
10418// Validate inspects the fields of the type to determine if they are valid.
10419func (s *CreateGroupInput) Validate() error {
10420	invalidParams := request.ErrInvalidParams{Context: "CreateGroupInput"}
10421	if s.AwsAccountId == nil {
10422		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
10423	}
10424	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
10425		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
10426	}
10427	if s.Description != nil && len(*s.Description) < 1 {
10428		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
10429	}
10430	if s.GroupName == nil {
10431		invalidParams.Add(request.NewErrParamRequired("GroupName"))
10432	}
10433	if s.GroupName != nil && len(*s.GroupName) < 1 {
10434		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
10435	}
10436	if s.Namespace == nil {
10437		invalidParams.Add(request.NewErrParamRequired("Namespace"))
10438	}
10439	if s.Namespace != nil && len(*s.Namespace) < 1 {
10440		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
10441	}
10442
10443	if invalidParams.Len() > 0 {
10444		return invalidParams
10445	}
10446	return nil
10447}
10448
10449// SetAwsAccountId sets the AwsAccountId field's value.
10450func (s *CreateGroupInput) SetAwsAccountId(v string) *CreateGroupInput {
10451	s.AwsAccountId = &v
10452	return s
10453}
10454
10455// SetDescription sets the Description field's value.
10456func (s *CreateGroupInput) SetDescription(v string) *CreateGroupInput {
10457	s.Description = &v
10458	return s
10459}
10460
10461// SetGroupName sets the GroupName field's value.
10462func (s *CreateGroupInput) SetGroupName(v string) *CreateGroupInput {
10463	s.GroupName = &v
10464	return s
10465}
10466
10467// SetNamespace sets the Namespace field's value.
10468func (s *CreateGroupInput) SetNamespace(v string) *CreateGroupInput {
10469	s.Namespace = &v
10470	return s
10471}
10472
10473type CreateGroupMembershipInput struct {
10474	_ struct{} `type:"structure"`
10475
10476	// The ID for the AWS account that the group is in. Currently, you use the ID
10477	// for the AWS account that contains your Amazon QuickSight account.
10478	//
10479	// AwsAccountId is a required field
10480	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
10481
10482	// The name of the group that you want to add the user to.
10483	//
10484	// GroupName is a required field
10485	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
10486
10487	// The name of the user that you want to add to the group membership.
10488	//
10489	// MemberName is a required field
10490	MemberName *string `location:"uri" locationName:"MemberName" min:"1" type:"string" required:"true"`
10491
10492	// The namespace. Currently, you should set this to default.
10493	//
10494	// Namespace is a required field
10495	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
10496}
10497
10498// String returns the string representation
10499func (s CreateGroupMembershipInput) String() string {
10500	return awsutil.Prettify(s)
10501}
10502
10503// GoString returns the string representation
10504func (s CreateGroupMembershipInput) GoString() string {
10505	return s.String()
10506}
10507
10508// Validate inspects the fields of the type to determine if they are valid.
10509func (s *CreateGroupMembershipInput) Validate() error {
10510	invalidParams := request.ErrInvalidParams{Context: "CreateGroupMembershipInput"}
10511	if s.AwsAccountId == nil {
10512		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
10513	}
10514	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
10515		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
10516	}
10517	if s.GroupName == nil {
10518		invalidParams.Add(request.NewErrParamRequired("GroupName"))
10519	}
10520	if s.GroupName != nil && len(*s.GroupName) < 1 {
10521		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
10522	}
10523	if s.MemberName == nil {
10524		invalidParams.Add(request.NewErrParamRequired("MemberName"))
10525	}
10526	if s.MemberName != nil && len(*s.MemberName) < 1 {
10527		invalidParams.Add(request.NewErrParamMinLen("MemberName", 1))
10528	}
10529	if s.Namespace == nil {
10530		invalidParams.Add(request.NewErrParamRequired("Namespace"))
10531	}
10532	if s.Namespace != nil && len(*s.Namespace) < 1 {
10533		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
10534	}
10535
10536	if invalidParams.Len() > 0 {
10537		return invalidParams
10538	}
10539	return nil
10540}
10541
10542// SetAwsAccountId sets the AwsAccountId field's value.
10543func (s *CreateGroupMembershipInput) SetAwsAccountId(v string) *CreateGroupMembershipInput {
10544	s.AwsAccountId = &v
10545	return s
10546}
10547
10548// SetGroupName sets the GroupName field's value.
10549func (s *CreateGroupMembershipInput) SetGroupName(v string) *CreateGroupMembershipInput {
10550	s.GroupName = &v
10551	return s
10552}
10553
10554// SetMemberName sets the MemberName field's value.
10555func (s *CreateGroupMembershipInput) SetMemberName(v string) *CreateGroupMembershipInput {
10556	s.MemberName = &v
10557	return s
10558}
10559
10560// SetNamespace sets the Namespace field's value.
10561func (s *CreateGroupMembershipInput) SetNamespace(v string) *CreateGroupMembershipInput {
10562	s.Namespace = &v
10563	return s
10564}
10565
10566type CreateGroupMembershipOutput struct {
10567	_ struct{} `type:"structure"`
10568
10569	// The group member.
10570	GroupMember *GroupMember `type:"structure"`
10571
10572	// The AWS request ID for this operation.
10573	RequestId *string `type:"string"`
10574
10575	// The HTTP status of the request.
10576	Status *int64 `location:"statusCode" type:"integer"`
10577}
10578
10579// String returns the string representation
10580func (s CreateGroupMembershipOutput) String() string {
10581	return awsutil.Prettify(s)
10582}
10583
10584// GoString returns the string representation
10585func (s CreateGroupMembershipOutput) GoString() string {
10586	return s.String()
10587}
10588
10589// SetGroupMember sets the GroupMember field's value.
10590func (s *CreateGroupMembershipOutput) SetGroupMember(v *GroupMember) *CreateGroupMembershipOutput {
10591	s.GroupMember = v
10592	return s
10593}
10594
10595// SetRequestId sets the RequestId field's value.
10596func (s *CreateGroupMembershipOutput) SetRequestId(v string) *CreateGroupMembershipOutput {
10597	s.RequestId = &v
10598	return s
10599}
10600
10601// SetStatus sets the Status field's value.
10602func (s *CreateGroupMembershipOutput) SetStatus(v int64) *CreateGroupMembershipOutput {
10603	s.Status = &v
10604	return s
10605}
10606
10607// The response object for this operation.
10608type CreateGroupOutput struct {
10609	_ struct{} `type:"structure"`
10610
10611	// The name of the group.
10612	Group *Group `type:"structure"`
10613
10614	// The AWS request ID for this operation.
10615	RequestId *string `type:"string"`
10616
10617	// The HTTP status of the request.
10618	Status *int64 `location:"statusCode" type:"integer"`
10619}
10620
10621// String returns the string representation
10622func (s CreateGroupOutput) String() string {
10623	return awsutil.Prettify(s)
10624}
10625
10626// GoString returns the string representation
10627func (s CreateGroupOutput) GoString() string {
10628	return s.String()
10629}
10630
10631// SetGroup sets the Group field's value.
10632func (s *CreateGroupOutput) SetGroup(v *Group) *CreateGroupOutput {
10633	s.Group = v
10634	return s
10635}
10636
10637// SetRequestId sets the RequestId field's value.
10638func (s *CreateGroupOutput) SetRequestId(v string) *CreateGroupOutput {
10639	s.RequestId = &v
10640	return s
10641}
10642
10643// SetStatus sets the Status field's value.
10644func (s *CreateGroupOutput) SetStatus(v int64) *CreateGroupOutput {
10645	s.Status = &v
10646	return s
10647}
10648
10649type CreateIAMPolicyAssignmentInput struct {
10650	_ struct{} `type:"structure"`
10651
10652	// The name of the assignment. It must be unique within an AWS account.
10653	//
10654	// AssignmentName is a required field
10655	AssignmentName *string `min:"1" type:"string" required:"true"`
10656
10657	// The status of the assignment. Possible values are as follows:
10658	//
10659	//    * ENABLED - Anything specified in this assignment is used when creating
10660	//    the data source.
10661	//
10662	//    * DISABLED - This assignment isn't used when creating the data source.
10663	//
10664	//    * DRAFT - This assignment is an unfinished draft and isn't used when creating
10665	//    the data source.
10666	//
10667	// AssignmentStatus is a required field
10668	AssignmentStatus *string `type:"string" required:"true" enum:"AssignmentStatus"`
10669
10670	// The ID of the AWS account where you want to assign an IAM policy to QuickSight
10671	// users or groups.
10672	//
10673	// AwsAccountId is a required field
10674	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
10675
10676	// The QuickSight users, groups, or both that you want to assign the policy
10677	// to.
10678	Identities map[string][]*string `type:"map"`
10679
10680	// The namespace that contains the assignment.
10681	//
10682	// Namespace is a required field
10683	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
10684
10685	// The ARN for the IAM policy to apply to the QuickSight users and groups specified
10686	// in this assignment.
10687	PolicyArn *string `type:"string"`
10688}
10689
10690// String returns the string representation
10691func (s CreateIAMPolicyAssignmentInput) String() string {
10692	return awsutil.Prettify(s)
10693}
10694
10695// GoString returns the string representation
10696func (s CreateIAMPolicyAssignmentInput) GoString() string {
10697	return s.String()
10698}
10699
10700// Validate inspects the fields of the type to determine if they are valid.
10701func (s *CreateIAMPolicyAssignmentInput) Validate() error {
10702	invalidParams := request.ErrInvalidParams{Context: "CreateIAMPolicyAssignmentInput"}
10703	if s.AssignmentName == nil {
10704		invalidParams.Add(request.NewErrParamRequired("AssignmentName"))
10705	}
10706	if s.AssignmentName != nil && len(*s.AssignmentName) < 1 {
10707		invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1))
10708	}
10709	if s.AssignmentStatus == nil {
10710		invalidParams.Add(request.NewErrParamRequired("AssignmentStatus"))
10711	}
10712	if s.AwsAccountId == nil {
10713		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
10714	}
10715	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
10716		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
10717	}
10718	if s.Namespace == nil {
10719		invalidParams.Add(request.NewErrParamRequired("Namespace"))
10720	}
10721	if s.Namespace != nil && len(*s.Namespace) < 1 {
10722		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
10723	}
10724
10725	if invalidParams.Len() > 0 {
10726		return invalidParams
10727	}
10728	return nil
10729}
10730
10731// SetAssignmentName sets the AssignmentName field's value.
10732func (s *CreateIAMPolicyAssignmentInput) SetAssignmentName(v string) *CreateIAMPolicyAssignmentInput {
10733	s.AssignmentName = &v
10734	return s
10735}
10736
10737// SetAssignmentStatus sets the AssignmentStatus field's value.
10738func (s *CreateIAMPolicyAssignmentInput) SetAssignmentStatus(v string) *CreateIAMPolicyAssignmentInput {
10739	s.AssignmentStatus = &v
10740	return s
10741}
10742
10743// SetAwsAccountId sets the AwsAccountId field's value.
10744func (s *CreateIAMPolicyAssignmentInput) SetAwsAccountId(v string) *CreateIAMPolicyAssignmentInput {
10745	s.AwsAccountId = &v
10746	return s
10747}
10748
10749// SetIdentities sets the Identities field's value.
10750func (s *CreateIAMPolicyAssignmentInput) SetIdentities(v map[string][]*string) *CreateIAMPolicyAssignmentInput {
10751	s.Identities = v
10752	return s
10753}
10754
10755// SetNamespace sets the Namespace field's value.
10756func (s *CreateIAMPolicyAssignmentInput) SetNamespace(v string) *CreateIAMPolicyAssignmentInput {
10757	s.Namespace = &v
10758	return s
10759}
10760
10761// SetPolicyArn sets the PolicyArn field's value.
10762func (s *CreateIAMPolicyAssignmentInput) SetPolicyArn(v string) *CreateIAMPolicyAssignmentInput {
10763	s.PolicyArn = &v
10764	return s
10765}
10766
10767type CreateIAMPolicyAssignmentOutput struct {
10768	_ struct{} `type:"structure"`
10769
10770	// The ID for the assignment.
10771	AssignmentId *string `type:"string"`
10772
10773	// The name of the assignment. This name must be unique within the AWS account.
10774	AssignmentName *string `min:"1" type:"string"`
10775
10776	// The status of the assignment. Possible values are as follows:
10777	//
10778	//    * ENABLED - Anything specified in this assignment is used when creating
10779	//    the data source.
10780	//
10781	//    * DISABLED - This assignment isn't used when creating the data source.
10782	//
10783	//    * DRAFT - This assignment is an unfinished draft and isn't used when creating
10784	//    the data source.
10785	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
10786
10787	// The QuickSight users, groups, or both that the IAM policy is assigned to.
10788	Identities map[string][]*string `type:"map"`
10789
10790	// The ARN for the IAM policy that is applied to the QuickSight users and groups
10791	// specified in this assignment.
10792	PolicyArn *string `type:"string"`
10793
10794	// The AWS request ID for this operation.
10795	RequestId *string `type:"string"`
10796
10797	// The HTTP status of the request.
10798	Status *int64 `location:"statusCode" type:"integer"`
10799}
10800
10801// String returns the string representation
10802func (s CreateIAMPolicyAssignmentOutput) String() string {
10803	return awsutil.Prettify(s)
10804}
10805
10806// GoString returns the string representation
10807func (s CreateIAMPolicyAssignmentOutput) GoString() string {
10808	return s.String()
10809}
10810
10811// SetAssignmentId sets the AssignmentId field's value.
10812func (s *CreateIAMPolicyAssignmentOutput) SetAssignmentId(v string) *CreateIAMPolicyAssignmentOutput {
10813	s.AssignmentId = &v
10814	return s
10815}
10816
10817// SetAssignmentName sets the AssignmentName field's value.
10818func (s *CreateIAMPolicyAssignmentOutput) SetAssignmentName(v string) *CreateIAMPolicyAssignmentOutput {
10819	s.AssignmentName = &v
10820	return s
10821}
10822
10823// SetAssignmentStatus sets the AssignmentStatus field's value.
10824func (s *CreateIAMPolicyAssignmentOutput) SetAssignmentStatus(v string) *CreateIAMPolicyAssignmentOutput {
10825	s.AssignmentStatus = &v
10826	return s
10827}
10828
10829// SetIdentities sets the Identities field's value.
10830func (s *CreateIAMPolicyAssignmentOutput) SetIdentities(v map[string][]*string) *CreateIAMPolicyAssignmentOutput {
10831	s.Identities = v
10832	return s
10833}
10834
10835// SetPolicyArn sets the PolicyArn field's value.
10836func (s *CreateIAMPolicyAssignmentOutput) SetPolicyArn(v string) *CreateIAMPolicyAssignmentOutput {
10837	s.PolicyArn = &v
10838	return s
10839}
10840
10841// SetRequestId sets the RequestId field's value.
10842func (s *CreateIAMPolicyAssignmentOutput) SetRequestId(v string) *CreateIAMPolicyAssignmentOutput {
10843	s.RequestId = &v
10844	return s
10845}
10846
10847// SetStatus sets the Status field's value.
10848func (s *CreateIAMPolicyAssignmentOutput) SetStatus(v int64) *CreateIAMPolicyAssignmentOutput {
10849	s.Status = &v
10850	return s
10851}
10852
10853type CreateIngestionInput struct {
10854	_ struct{} `type:"structure"`
10855
10856	// The AWS account ID.
10857	//
10858	// AwsAccountId is a required field
10859	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
10860
10861	// The ID of the dataset used in the ingestion.
10862	//
10863	// DataSetId is a required field
10864	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
10865
10866	// An ID for the ingestion.
10867	//
10868	// IngestionId is a required field
10869	IngestionId *string `location:"uri" locationName:"IngestionId" min:"1" type:"string" required:"true"`
10870}
10871
10872// String returns the string representation
10873func (s CreateIngestionInput) String() string {
10874	return awsutil.Prettify(s)
10875}
10876
10877// GoString returns the string representation
10878func (s CreateIngestionInput) GoString() string {
10879	return s.String()
10880}
10881
10882// Validate inspects the fields of the type to determine if they are valid.
10883func (s *CreateIngestionInput) Validate() error {
10884	invalidParams := request.ErrInvalidParams{Context: "CreateIngestionInput"}
10885	if s.AwsAccountId == nil {
10886		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
10887	}
10888	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
10889		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
10890	}
10891	if s.DataSetId == nil {
10892		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
10893	}
10894	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
10895		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
10896	}
10897	if s.IngestionId == nil {
10898		invalidParams.Add(request.NewErrParamRequired("IngestionId"))
10899	}
10900	if s.IngestionId != nil && len(*s.IngestionId) < 1 {
10901		invalidParams.Add(request.NewErrParamMinLen("IngestionId", 1))
10902	}
10903
10904	if invalidParams.Len() > 0 {
10905		return invalidParams
10906	}
10907	return nil
10908}
10909
10910// SetAwsAccountId sets the AwsAccountId field's value.
10911func (s *CreateIngestionInput) SetAwsAccountId(v string) *CreateIngestionInput {
10912	s.AwsAccountId = &v
10913	return s
10914}
10915
10916// SetDataSetId sets the DataSetId field's value.
10917func (s *CreateIngestionInput) SetDataSetId(v string) *CreateIngestionInput {
10918	s.DataSetId = &v
10919	return s
10920}
10921
10922// SetIngestionId sets the IngestionId field's value.
10923func (s *CreateIngestionInput) SetIngestionId(v string) *CreateIngestionInput {
10924	s.IngestionId = &v
10925	return s
10926}
10927
10928type CreateIngestionOutput struct {
10929	_ struct{} `type:"structure"`
10930
10931	// The Amazon Resource Name (ARN) for the data ingestion.
10932	Arn *string `type:"string"`
10933
10934	// An ID for the ingestion.
10935	IngestionId *string `min:"1" type:"string"`
10936
10937	// The ingestion status.
10938	IngestionStatus *string `type:"string" enum:"IngestionStatus"`
10939
10940	// The AWS request ID for this operation.
10941	RequestId *string `type:"string"`
10942
10943	// The HTTP status of the request.
10944	Status *int64 `location:"statusCode" type:"integer"`
10945}
10946
10947// String returns the string representation
10948func (s CreateIngestionOutput) String() string {
10949	return awsutil.Prettify(s)
10950}
10951
10952// GoString returns the string representation
10953func (s CreateIngestionOutput) GoString() string {
10954	return s.String()
10955}
10956
10957// SetArn sets the Arn field's value.
10958func (s *CreateIngestionOutput) SetArn(v string) *CreateIngestionOutput {
10959	s.Arn = &v
10960	return s
10961}
10962
10963// SetIngestionId sets the IngestionId field's value.
10964func (s *CreateIngestionOutput) SetIngestionId(v string) *CreateIngestionOutput {
10965	s.IngestionId = &v
10966	return s
10967}
10968
10969// SetIngestionStatus sets the IngestionStatus field's value.
10970func (s *CreateIngestionOutput) SetIngestionStatus(v string) *CreateIngestionOutput {
10971	s.IngestionStatus = &v
10972	return s
10973}
10974
10975// SetRequestId sets the RequestId field's value.
10976func (s *CreateIngestionOutput) SetRequestId(v string) *CreateIngestionOutput {
10977	s.RequestId = &v
10978	return s
10979}
10980
10981// SetStatus sets the Status field's value.
10982func (s *CreateIngestionOutput) SetStatus(v int64) *CreateIngestionOutput {
10983	s.Status = &v
10984	return s
10985}
10986
10987type CreateTemplateAliasInput struct {
10988	_ struct{} `type:"structure"`
10989
10990	// The name that you want to give to the template alias that you're creating.
10991	// Don't start the alias name with the $ character. Alias names that start with
10992	// $ are reserved by QuickSight.
10993	//
10994	// AliasName is a required field
10995	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
10996
10997	// The ID of the AWS account that contains the template that you creating an
10998	// alias for.
10999	//
11000	// AwsAccountId is a required field
11001	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
11002
11003	// An ID for the template.
11004	//
11005	// TemplateId is a required field
11006	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
11007
11008	// The version number of the template.
11009	//
11010	// TemplateVersionNumber is a required field
11011	TemplateVersionNumber *int64 `min:"1" type:"long" required:"true"`
11012}
11013
11014// String returns the string representation
11015func (s CreateTemplateAliasInput) String() string {
11016	return awsutil.Prettify(s)
11017}
11018
11019// GoString returns the string representation
11020func (s CreateTemplateAliasInput) GoString() string {
11021	return s.String()
11022}
11023
11024// Validate inspects the fields of the type to determine if they are valid.
11025func (s *CreateTemplateAliasInput) Validate() error {
11026	invalidParams := request.ErrInvalidParams{Context: "CreateTemplateAliasInput"}
11027	if s.AliasName == nil {
11028		invalidParams.Add(request.NewErrParamRequired("AliasName"))
11029	}
11030	if s.AliasName != nil && len(*s.AliasName) < 1 {
11031		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
11032	}
11033	if s.AwsAccountId == nil {
11034		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
11035	}
11036	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
11037		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
11038	}
11039	if s.TemplateId == nil {
11040		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
11041	}
11042	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
11043		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
11044	}
11045	if s.TemplateVersionNumber == nil {
11046		invalidParams.Add(request.NewErrParamRequired("TemplateVersionNumber"))
11047	}
11048	if s.TemplateVersionNumber != nil && *s.TemplateVersionNumber < 1 {
11049		invalidParams.Add(request.NewErrParamMinValue("TemplateVersionNumber", 1))
11050	}
11051
11052	if invalidParams.Len() > 0 {
11053		return invalidParams
11054	}
11055	return nil
11056}
11057
11058// SetAliasName sets the AliasName field's value.
11059func (s *CreateTemplateAliasInput) SetAliasName(v string) *CreateTemplateAliasInput {
11060	s.AliasName = &v
11061	return s
11062}
11063
11064// SetAwsAccountId sets the AwsAccountId field's value.
11065func (s *CreateTemplateAliasInput) SetAwsAccountId(v string) *CreateTemplateAliasInput {
11066	s.AwsAccountId = &v
11067	return s
11068}
11069
11070// SetTemplateId sets the TemplateId field's value.
11071func (s *CreateTemplateAliasInput) SetTemplateId(v string) *CreateTemplateAliasInput {
11072	s.TemplateId = &v
11073	return s
11074}
11075
11076// SetTemplateVersionNumber sets the TemplateVersionNumber field's value.
11077func (s *CreateTemplateAliasInput) SetTemplateVersionNumber(v int64) *CreateTemplateAliasInput {
11078	s.TemplateVersionNumber = &v
11079	return s
11080}
11081
11082type CreateTemplateAliasOutput struct {
11083	_ struct{} `type:"structure"`
11084
11085	// The AWS request ID for this operation.
11086	RequestId *string `type:"string"`
11087
11088	// The HTTP status of the request.
11089	Status *int64 `location:"statusCode" type:"integer"`
11090
11091	// Information about the template alias.
11092	TemplateAlias *TemplateAlias `type:"structure"`
11093}
11094
11095// String returns the string representation
11096func (s CreateTemplateAliasOutput) String() string {
11097	return awsutil.Prettify(s)
11098}
11099
11100// GoString returns the string representation
11101func (s CreateTemplateAliasOutput) GoString() string {
11102	return s.String()
11103}
11104
11105// SetRequestId sets the RequestId field's value.
11106func (s *CreateTemplateAliasOutput) SetRequestId(v string) *CreateTemplateAliasOutput {
11107	s.RequestId = &v
11108	return s
11109}
11110
11111// SetStatus sets the Status field's value.
11112func (s *CreateTemplateAliasOutput) SetStatus(v int64) *CreateTemplateAliasOutput {
11113	s.Status = &v
11114	return s
11115}
11116
11117// SetTemplateAlias sets the TemplateAlias field's value.
11118func (s *CreateTemplateAliasOutput) SetTemplateAlias(v *TemplateAlias) *CreateTemplateAliasOutput {
11119	s.TemplateAlias = v
11120	return s
11121}
11122
11123type CreateTemplateInput struct {
11124	_ struct{} `type:"structure"`
11125
11126	// The ID for the AWS account that the group is in. Currently, you use the ID
11127	// for the AWS account that contains your Amazon QuickSight account.
11128	//
11129	// AwsAccountId is a required field
11130	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
11131
11132	// A display name for the template.
11133	Name *string `min:"1" type:"string"`
11134
11135	// A list of resource permissions to be set on the template.
11136	Permissions []*ResourcePermission `min:"1" type:"list"`
11137
11138	// The entity that you are using as a source when you create the template. In
11139	// SourceEntity, you specify the type of object you're using as source: SourceTemplate
11140	// for a template or SourceAnalysis for an analysis. Both of these require an
11141	// Amazon Resource Name (ARN). For SourceTemplate, specify the ARN of the source
11142	// template. For SourceAnalysis, specify the ARN of the source analysis. The
11143	// SourceTemplate ARN can contain any AWS Account and any QuickSight-supported
11144	// AWS Region.
11145	//
11146	// Use the DataSetReferences entity within SourceTemplate or SourceAnalysis
11147	// to list the replacement datasets for the placeholders listed in the original.
11148	// The schema in each dataset must match its placeholder.
11149	//
11150	// SourceEntity is a required field
11151	SourceEntity *TemplateSourceEntity `type:"structure" required:"true"`
11152
11153	// Contains a map of the key-value pairs for the resource tag or tags assigned
11154	// to the resource.
11155	Tags []*Tag `min:"1" type:"list"`
11156
11157	// An ID for the template that you want to create. This template is unique per
11158	// AWS Region in each AWS account.
11159	//
11160	// TemplateId is a required field
11161	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
11162
11163	// A description of the current template version being created. This API operation
11164	// creates the first version of the template. Every time UpdateTemplate is called,
11165	// a new version is created. Each version of the template maintains a description
11166	// of the version in the VersionDescription field.
11167	VersionDescription *string `min:"1" type:"string"`
11168}
11169
11170// String returns the string representation
11171func (s CreateTemplateInput) String() string {
11172	return awsutil.Prettify(s)
11173}
11174
11175// GoString returns the string representation
11176func (s CreateTemplateInput) GoString() string {
11177	return s.String()
11178}
11179
11180// Validate inspects the fields of the type to determine if they are valid.
11181func (s *CreateTemplateInput) Validate() error {
11182	invalidParams := request.ErrInvalidParams{Context: "CreateTemplateInput"}
11183	if s.AwsAccountId == nil {
11184		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
11185	}
11186	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
11187		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
11188	}
11189	if s.Name != nil && len(*s.Name) < 1 {
11190		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
11191	}
11192	if s.Permissions != nil && len(s.Permissions) < 1 {
11193		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
11194	}
11195	if s.SourceEntity == nil {
11196		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
11197	}
11198	if s.Tags != nil && len(s.Tags) < 1 {
11199		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
11200	}
11201	if s.TemplateId == nil {
11202		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
11203	}
11204	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
11205		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
11206	}
11207	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
11208		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
11209	}
11210	if s.Permissions != nil {
11211		for i, v := range s.Permissions {
11212			if v == nil {
11213				continue
11214			}
11215			if err := v.Validate(); err != nil {
11216				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
11217			}
11218		}
11219	}
11220	if s.SourceEntity != nil {
11221		if err := s.SourceEntity.Validate(); err != nil {
11222			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
11223		}
11224	}
11225	if s.Tags != nil {
11226		for i, v := range s.Tags {
11227			if v == nil {
11228				continue
11229			}
11230			if err := v.Validate(); err != nil {
11231				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
11232			}
11233		}
11234	}
11235
11236	if invalidParams.Len() > 0 {
11237		return invalidParams
11238	}
11239	return nil
11240}
11241
11242// SetAwsAccountId sets the AwsAccountId field's value.
11243func (s *CreateTemplateInput) SetAwsAccountId(v string) *CreateTemplateInput {
11244	s.AwsAccountId = &v
11245	return s
11246}
11247
11248// SetName sets the Name field's value.
11249func (s *CreateTemplateInput) SetName(v string) *CreateTemplateInput {
11250	s.Name = &v
11251	return s
11252}
11253
11254// SetPermissions sets the Permissions field's value.
11255func (s *CreateTemplateInput) SetPermissions(v []*ResourcePermission) *CreateTemplateInput {
11256	s.Permissions = v
11257	return s
11258}
11259
11260// SetSourceEntity sets the SourceEntity field's value.
11261func (s *CreateTemplateInput) SetSourceEntity(v *TemplateSourceEntity) *CreateTemplateInput {
11262	s.SourceEntity = v
11263	return s
11264}
11265
11266// SetTags sets the Tags field's value.
11267func (s *CreateTemplateInput) SetTags(v []*Tag) *CreateTemplateInput {
11268	s.Tags = v
11269	return s
11270}
11271
11272// SetTemplateId sets the TemplateId field's value.
11273func (s *CreateTemplateInput) SetTemplateId(v string) *CreateTemplateInput {
11274	s.TemplateId = &v
11275	return s
11276}
11277
11278// SetVersionDescription sets the VersionDescription field's value.
11279func (s *CreateTemplateInput) SetVersionDescription(v string) *CreateTemplateInput {
11280	s.VersionDescription = &v
11281	return s
11282}
11283
11284type CreateTemplateOutput struct {
11285	_ struct{} `type:"structure"`
11286
11287	// The ARN for the template.
11288	Arn *string `type:"string"`
11289
11290	// The template creation status.
11291	CreationStatus *string `type:"string" enum:"ResourceStatus"`
11292
11293	// The AWS request ID for this operation.
11294	RequestId *string `type:"string"`
11295
11296	// The HTTP status of the request.
11297	Status *int64 `location:"statusCode" type:"integer"`
11298
11299	// The ID of the template.
11300	TemplateId *string `min:"1" type:"string"`
11301
11302	// The ARN for the template, including the version information of the first
11303	// version.
11304	VersionArn *string `type:"string"`
11305}
11306
11307// String returns the string representation
11308func (s CreateTemplateOutput) String() string {
11309	return awsutil.Prettify(s)
11310}
11311
11312// GoString returns the string representation
11313func (s CreateTemplateOutput) GoString() string {
11314	return s.String()
11315}
11316
11317// SetArn sets the Arn field's value.
11318func (s *CreateTemplateOutput) SetArn(v string) *CreateTemplateOutput {
11319	s.Arn = &v
11320	return s
11321}
11322
11323// SetCreationStatus sets the CreationStatus field's value.
11324func (s *CreateTemplateOutput) SetCreationStatus(v string) *CreateTemplateOutput {
11325	s.CreationStatus = &v
11326	return s
11327}
11328
11329// SetRequestId sets the RequestId field's value.
11330func (s *CreateTemplateOutput) SetRequestId(v string) *CreateTemplateOutput {
11331	s.RequestId = &v
11332	return s
11333}
11334
11335// SetStatus sets the Status field's value.
11336func (s *CreateTemplateOutput) SetStatus(v int64) *CreateTemplateOutput {
11337	s.Status = &v
11338	return s
11339}
11340
11341// SetTemplateId sets the TemplateId field's value.
11342func (s *CreateTemplateOutput) SetTemplateId(v string) *CreateTemplateOutput {
11343	s.TemplateId = &v
11344	return s
11345}
11346
11347// SetVersionArn sets the VersionArn field's value.
11348func (s *CreateTemplateOutput) SetVersionArn(v string) *CreateTemplateOutput {
11349	s.VersionArn = &v
11350	return s
11351}
11352
11353type CreateThemeAliasInput struct {
11354	_ struct{} `type:"structure"`
11355
11356	// The name that you want to give to the theme alias that you are creating.
11357	// The alias name can't begin with a $. Alias names that start with $ are reserved
11358	// by Amazon QuickSight.
11359	//
11360	// AliasName is a required field
11361	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
11362
11363	// The ID of the AWS account that contains the theme for the new theme alias.
11364	//
11365	// AwsAccountId is a required field
11366	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
11367
11368	// An ID for the theme alias.
11369	//
11370	// ThemeId is a required field
11371	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
11372
11373	// The version number of the theme.
11374	//
11375	// ThemeVersionNumber is a required field
11376	ThemeVersionNumber *int64 `min:"1" type:"long" required:"true"`
11377}
11378
11379// String returns the string representation
11380func (s CreateThemeAliasInput) String() string {
11381	return awsutil.Prettify(s)
11382}
11383
11384// GoString returns the string representation
11385func (s CreateThemeAliasInput) GoString() string {
11386	return s.String()
11387}
11388
11389// Validate inspects the fields of the type to determine if they are valid.
11390func (s *CreateThemeAliasInput) Validate() error {
11391	invalidParams := request.ErrInvalidParams{Context: "CreateThemeAliasInput"}
11392	if s.AliasName == nil {
11393		invalidParams.Add(request.NewErrParamRequired("AliasName"))
11394	}
11395	if s.AliasName != nil && len(*s.AliasName) < 1 {
11396		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
11397	}
11398	if s.AwsAccountId == nil {
11399		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
11400	}
11401	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
11402		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
11403	}
11404	if s.ThemeId == nil {
11405		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
11406	}
11407	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
11408		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
11409	}
11410	if s.ThemeVersionNumber == nil {
11411		invalidParams.Add(request.NewErrParamRequired("ThemeVersionNumber"))
11412	}
11413	if s.ThemeVersionNumber != nil && *s.ThemeVersionNumber < 1 {
11414		invalidParams.Add(request.NewErrParamMinValue("ThemeVersionNumber", 1))
11415	}
11416
11417	if invalidParams.Len() > 0 {
11418		return invalidParams
11419	}
11420	return nil
11421}
11422
11423// SetAliasName sets the AliasName field's value.
11424func (s *CreateThemeAliasInput) SetAliasName(v string) *CreateThemeAliasInput {
11425	s.AliasName = &v
11426	return s
11427}
11428
11429// SetAwsAccountId sets the AwsAccountId field's value.
11430func (s *CreateThemeAliasInput) SetAwsAccountId(v string) *CreateThemeAliasInput {
11431	s.AwsAccountId = &v
11432	return s
11433}
11434
11435// SetThemeId sets the ThemeId field's value.
11436func (s *CreateThemeAliasInput) SetThemeId(v string) *CreateThemeAliasInput {
11437	s.ThemeId = &v
11438	return s
11439}
11440
11441// SetThemeVersionNumber sets the ThemeVersionNumber field's value.
11442func (s *CreateThemeAliasInput) SetThemeVersionNumber(v int64) *CreateThemeAliasInput {
11443	s.ThemeVersionNumber = &v
11444	return s
11445}
11446
11447type CreateThemeAliasOutput struct {
11448	_ struct{} `type:"structure"`
11449
11450	// The AWS request ID for this operation.
11451	RequestId *string `type:"string"`
11452
11453	// The HTTP status of the request.
11454	Status *int64 `location:"statusCode" type:"integer"`
11455
11456	// Information about the theme alias.
11457	ThemeAlias *ThemeAlias `type:"structure"`
11458}
11459
11460// String returns the string representation
11461func (s CreateThemeAliasOutput) String() string {
11462	return awsutil.Prettify(s)
11463}
11464
11465// GoString returns the string representation
11466func (s CreateThemeAliasOutput) GoString() string {
11467	return s.String()
11468}
11469
11470// SetRequestId sets the RequestId field's value.
11471func (s *CreateThemeAliasOutput) SetRequestId(v string) *CreateThemeAliasOutput {
11472	s.RequestId = &v
11473	return s
11474}
11475
11476// SetStatus sets the Status field's value.
11477func (s *CreateThemeAliasOutput) SetStatus(v int64) *CreateThemeAliasOutput {
11478	s.Status = &v
11479	return s
11480}
11481
11482// SetThemeAlias sets the ThemeAlias field's value.
11483func (s *CreateThemeAliasOutput) SetThemeAlias(v *ThemeAlias) *CreateThemeAliasOutput {
11484	s.ThemeAlias = v
11485	return s
11486}
11487
11488type CreateThemeInput struct {
11489	_ struct{} `type:"structure"`
11490
11491	// The ID of the AWS account where you want to store the new theme.
11492	//
11493	// AwsAccountId is a required field
11494	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
11495
11496	// The ID of the theme that a custom theme will inherit from. All themes inherit
11497	// from one of the starting themes defined by Amazon QuickSight. For a list
11498	// of the starting themes, use ListThemes or choose Themes from within a QuickSight
11499	// analysis.
11500	//
11501	// BaseThemeId is a required field
11502	BaseThemeId *string `min:"1" type:"string" required:"true"`
11503
11504	// The theme configuration, which contains the theme display properties.
11505	//
11506	// Configuration is a required field
11507	Configuration *ThemeConfiguration `type:"structure" required:"true"`
11508
11509	// A display name for the theme.
11510	//
11511	// Name is a required field
11512	Name *string `min:"1" type:"string" required:"true"`
11513
11514	// A valid grouping of resource permissions to apply to the new theme.
11515	Permissions []*ResourcePermission `min:"1" type:"list"`
11516
11517	// A map of the key-value pairs for the resource tag or tags that you want to
11518	// add to the resource.
11519	Tags []*Tag `min:"1" type:"list"`
11520
11521	// An ID for the theme that you want to create. The theme ID is unique per AWS
11522	// Region in each AWS account.
11523	//
11524	// ThemeId is a required field
11525	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
11526
11527	// A description of the first version of the theme that you're creating. Every
11528	// time UpdateTheme is called, a new version is created. Each version of the
11529	// theme has a description of the version in the VersionDescription field.
11530	VersionDescription *string `min:"1" type:"string"`
11531}
11532
11533// String returns the string representation
11534func (s CreateThemeInput) String() string {
11535	return awsutil.Prettify(s)
11536}
11537
11538// GoString returns the string representation
11539func (s CreateThemeInput) GoString() string {
11540	return s.String()
11541}
11542
11543// Validate inspects the fields of the type to determine if they are valid.
11544func (s *CreateThemeInput) Validate() error {
11545	invalidParams := request.ErrInvalidParams{Context: "CreateThemeInput"}
11546	if s.AwsAccountId == nil {
11547		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
11548	}
11549	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
11550		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
11551	}
11552	if s.BaseThemeId == nil {
11553		invalidParams.Add(request.NewErrParamRequired("BaseThemeId"))
11554	}
11555	if s.BaseThemeId != nil && len(*s.BaseThemeId) < 1 {
11556		invalidParams.Add(request.NewErrParamMinLen("BaseThemeId", 1))
11557	}
11558	if s.Configuration == nil {
11559		invalidParams.Add(request.NewErrParamRequired("Configuration"))
11560	}
11561	if s.Name == nil {
11562		invalidParams.Add(request.NewErrParamRequired("Name"))
11563	}
11564	if s.Name != nil && len(*s.Name) < 1 {
11565		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
11566	}
11567	if s.Permissions != nil && len(s.Permissions) < 1 {
11568		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
11569	}
11570	if s.Tags != nil && len(s.Tags) < 1 {
11571		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
11572	}
11573	if s.ThemeId == nil {
11574		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
11575	}
11576	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
11577		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
11578	}
11579	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
11580		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
11581	}
11582	if s.Permissions != nil {
11583		for i, v := range s.Permissions {
11584			if v == nil {
11585				continue
11586			}
11587			if err := v.Validate(); err != nil {
11588				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
11589			}
11590		}
11591	}
11592	if s.Tags != nil {
11593		for i, v := range s.Tags {
11594			if v == nil {
11595				continue
11596			}
11597			if err := v.Validate(); err != nil {
11598				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
11599			}
11600		}
11601	}
11602
11603	if invalidParams.Len() > 0 {
11604		return invalidParams
11605	}
11606	return nil
11607}
11608
11609// SetAwsAccountId sets the AwsAccountId field's value.
11610func (s *CreateThemeInput) SetAwsAccountId(v string) *CreateThemeInput {
11611	s.AwsAccountId = &v
11612	return s
11613}
11614
11615// SetBaseThemeId sets the BaseThemeId field's value.
11616func (s *CreateThemeInput) SetBaseThemeId(v string) *CreateThemeInput {
11617	s.BaseThemeId = &v
11618	return s
11619}
11620
11621// SetConfiguration sets the Configuration field's value.
11622func (s *CreateThemeInput) SetConfiguration(v *ThemeConfiguration) *CreateThemeInput {
11623	s.Configuration = v
11624	return s
11625}
11626
11627// SetName sets the Name field's value.
11628func (s *CreateThemeInput) SetName(v string) *CreateThemeInput {
11629	s.Name = &v
11630	return s
11631}
11632
11633// SetPermissions sets the Permissions field's value.
11634func (s *CreateThemeInput) SetPermissions(v []*ResourcePermission) *CreateThemeInput {
11635	s.Permissions = v
11636	return s
11637}
11638
11639// SetTags sets the Tags field's value.
11640func (s *CreateThemeInput) SetTags(v []*Tag) *CreateThemeInput {
11641	s.Tags = v
11642	return s
11643}
11644
11645// SetThemeId sets the ThemeId field's value.
11646func (s *CreateThemeInput) SetThemeId(v string) *CreateThemeInput {
11647	s.ThemeId = &v
11648	return s
11649}
11650
11651// SetVersionDescription sets the VersionDescription field's value.
11652func (s *CreateThemeInput) SetVersionDescription(v string) *CreateThemeInput {
11653	s.VersionDescription = &v
11654	return s
11655}
11656
11657type CreateThemeOutput struct {
11658	_ struct{} `type:"structure"`
11659
11660	// The Amazon Resource Name (ARN) for the theme.
11661	Arn *string `type:"string"`
11662
11663	// The theme creation status.
11664	CreationStatus *string `type:"string" enum:"ResourceStatus"`
11665
11666	// The AWS request ID for this operation.
11667	RequestId *string `type:"string"`
11668
11669	// The HTTP status of the request.
11670	Status *int64 `location:"statusCode" type:"integer"`
11671
11672	// The ID of the theme.
11673	ThemeId *string `min:"1" type:"string"`
11674
11675	// The Amazon Resource Name (ARN) for the new theme.
11676	VersionArn *string `type:"string"`
11677}
11678
11679// String returns the string representation
11680func (s CreateThemeOutput) String() string {
11681	return awsutil.Prettify(s)
11682}
11683
11684// GoString returns the string representation
11685func (s CreateThemeOutput) GoString() string {
11686	return s.String()
11687}
11688
11689// SetArn sets the Arn field's value.
11690func (s *CreateThemeOutput) SetArn(v string) *CreateThemeOutput {
11691	s.Arn = &v
11692	return s
11693}
11694
11695// SetCreationStatus sets the CreationStatus field's value.
11696func (s *CreateThemeOutput) SetCreationStatus(v string) *CreateThemeOutput {
11697	s.CreationStatus = &v
11698	return s
11699}
11700
11701// SetRequestId sets the RequestId field's value.
11702func (s *CreateThemeOutput) SetRequestId(v string) *CreateThemeOutput {
11703	s.RequestId = &v
11704	return s
11705}
11706
11707// SetStatus sets the Status field's value.
11708func (s *CreateThemeOutput) SetStatus(v int64) *CreateThemeOutput {
11709	s.Status = &v
11710	return s
11711}
11712
11713// SetThemeId sets the ThemeId field's value.
11714func (s *CreateThemeOutput) SetThemeId(v string) *CreateThemeOutput {
11715	s.ThemeId = &v
11716	return s
11717}
11718
11719// SetVersionArn sets the VersionArn field's value.
11720func (s *CreateThemeOutput) SetVersionArn(v string) *CreateThemeOutput {
11721	s.VersionArn = &v
11722	return s
11723}
11724
11725// The combination of user name and password that are used as credentials.
11726type CredentialPair struct {
11727	_ struct{} `type:"structure"`
11728
11729	// A set of alternate data source parameters that you want to share for these
11730	// credentials. The credentials are applied in tandem with the data source parameters
11731	// when you copy a data source by using a create or update request. The API
11732	// compares the DataSourceParameters structure that's in the request with the
11733	// structures in the AlternateDataSourceParameters allowlist. If the structures
11734	// are an exact match, the request is allowed to use the new data source with
11735	// the existing credentials. If the AlternateDataSourceParameters list is null,
11736	// the DataSourceParameters originally used with these Credentials is automatically
11737	// allowed.
11738	AlternateDataSourceParameters []*DataSourceParameters `min:"1" type:"list"`
11739
11740	// Password.
11741	//
11742	// Password is a required field
11743	Password *string `min:"1" type:"string" required:"true"`
11744
11745	// User name.
11746	//
11747	// Username is a required field
11748	Username *string `min:"1" type:"string" required:"true"`
11749}
11750
11751// String returns the string representation
11752func (s CredentialPair) String() string {
11753	return awsutil.Prettify(s)
11754}
11755
11756// GoString returns the string representation
11757func (s CredentialPair) GoString() string {
11758	return s.String()
11759}
11760
11761// Validate inspects the fields of the type to determine if they are valid.
11762func (s *CredentialPair) Validate() error {
11763	invalidParams := request.ErrInvalidParams{Context: "CredentialPair"}
11764	if s.AlternateDataSourceParameters != nil && len(s.AlternateDataSourceParameters) < 1 {
11765		invalidParams.Add(request.NewErrParamMinLen("AlternateDataSourceParameters", 1))
11766	}
11767	if s.Password == nil {
11768		invalidParams.Add(request.NewErrParamRequired("Password"))
11769	}
11770	if s.Password != nil && len(*s.Password) < 1 {
11771		invalidParams.Add(request.NewErrParamMinLen("Password", 1))
11772	}
11773	if s.Username == nil {
11774		invalidParams.Add(request.NewErrParamRequired("Username"))
11775	}
11776	if s.Username != nil && len(*s.Username) < 1 {
11777		invalidParams.Add(request.NewErrParamMinLen("Username", 1))
11778	}
11779	if s.AlternateDataSourceParameters != nil {
11780		for i, v := range s.AlternateDataSourceParameters {
11781			if v == nil {
11782				continue
11783			}
11784			if err := v.Validate(); err != nil {
11785				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AlternateDataSourceParameters", i), err.(request.ErrInvalidParams))
11786			}
11787		}
11788	}
11789
11790	if invalidParams.Len() > 0 {
11791		return invalidParams
11792	}
11793	return nil
11794}
11795
11796// SetAlternateDataSourceParameters sets the AlternateDataSourceParameters field's value.
11797func (s *CredentialPair) SetAlternateDataSourceParameters(v []*DataSourceParameters) *CredentialPair {
11798	s.AlternateDataSourceParameters = v
11799	return s
11800}
11801
11802// SetPassword sets the Password field's value.
11803func (s *CredentialPair) SetPassword(v string) *CredentialPair {
11804	s.Password = &v
11805	return s
11806}
11807
11808// SetUsername sets the Username field's value.
11809func (s *CredentialPair) SetUsername(v string) *CredentialPair {
11810	s.Username = &v
11811	return s
11812}
11813
11814// A physical table type built from the results of the custom SQL query.
11815type CustomSql struct {
11816	_ struct{} `type:"structure"`
11817
11818	// The column schema from the SQL query result set.
11819	Columns []*InputColumn `min:"1" type:"list"`
11820
11821	// The Amazon Resource Name (ARN) of the data source.
11822	//
11823	// DataSourceArn is a required field
11824	DataSourceArn *string `type:"string" required:"true"`
11825
11826	// A display name for the SQL query result.
11827	//
11828	// Name is a required field
11829	Name *string `min:"1" type:"string" required:"true"`
11830
11831	// The SQL query.
11832	//
11833	// SqlQuery is a required field
11834	SqlQuery *string `min:"1" type:"string" required:"true"`
11835}
11836
11837// String returns the string representation
11838func (s CustomSql) String() string {
11839	return awsutil.Prettify(s)
11840}
11841
11842// GoString returns the string representation
11843func (s CustomSql) GoString() string {
11844	return s.String()
11845}
11846
11847// Validate inspects the fields of the type to determine if they are valid.
11848func (s *CustomSql) Validate() error {
11849	invalidParams := request.ErrInvalidParams{Context: "CustomSql"}
11850	if s.Columns != nil && len(s.Columns) < 1 {
11851		invalidParams.Add(request.NewErrParamMinLen("Columns", 1))
11852	}
11853	if s.DataSourceArn == nil {
11854		invalidParams.Add(request.NewErrParamRequired("DataSourceArn"))
11855	}
11856	if s.Name == nil {
11857		invalidParams.Add(request.NewErrParamRequired("Name"))
11858	}
11859	if s.Name != nil && len(*s.Name) < 1 {
11860		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
11861	}
11862	if s.SqlQuery == nil {
11863		invalidParams.Add(request.NewErrParamRequired("SqlQuery"))
11864	}
11865	if s.SqlQuery != nil && len(*s.SqlQuery) < 1 {
11866		invalidParams.Add(request.NewErrParamMinLen("SqlQuery", 1))
11867	}
11868	if s.Columns != nil {
11869		for i, v := range s.Columns {
11870			if v == nil {
11871				continue
11872			}
11873			if err := v.Validate(); err != nil {
11874				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams))
11875			}
11876		}
11877	}
11878
11879	if invalidParams.Len() > 0 {
11880		return invalidParams
11881	}
11882	return nil
11883}
11884
11885// SetColumns sets the Columns field's value.
11886func (s *CustomSql) SetColumns(v []*InputColumn) *CustomSql {
11887	s.Columns = v
11888	return s
11889}
11890
11891// SetDataSourceArn sets the DataSourceArn field's value.
11892func (s *CustomSql) SetDataSourceArn(v string) *CustomSql {
11893	s.DataSourceArn = &v
11894	return s
11895}
11896
11897// SetName sets the Name field's value.
11898func (s *CustomSql) SetName(v string) *CustomSql {
11899	s.Name = &v
11900	return s
11901}
11902
11903// SetSqlQuery sets the SqlQuery field's value.
11904func (s *CustomSql) SetSqlQuery(v string) *CustomSql {
11905	s.SqlQuery = &v
11906	return s
11907}
11908
11909// Dashboard.
11910type Dashboard struct {
11911	_ struct{} `type:"structure"`
11912
11913	// The Amazon Resource Name (ARN) of the resource.
11914	Arn *string `type:"string"`
11915
11916	// The time that this dataset was created.
11917	CreatedTime *time.Time `type:"timestamp"`
11918
11919	// Dashboard ID.
11920	DashboardId *string `min:"1" type:"string"`
11921
11922	// The last time that this dataset was published.
11923	LastPublishedTime *time.Time `type:"timestamp"`
11924
11925	// The last time that this dataset was updated.
11926	LastUpdatedTime *time.Time `type:"timestamp"`
11927
11928	// A display name for the dashboard.
11929	Name *string `min:"1" type:"string"`
11930
11931	// Version.
11932	Version *DashboardVersion `type:"structure"`
11933}
11934
11935// String returns the string representation
11936func (s Dashboard) String() string {
11937	return awsutil.Prettify(s)
11938}
11939
11940// GoString returns the string representation
11941func (s Dashboard) GoString() string {
11942	return s.String()
11943}
11944
11945// SetArn sets the Arn field's value.
11946func (s *Dashboard) SetArn(v string) *Dashboard {
11947	s.Arn = &v
11948	return s
11949}
11950
11951// SetCreatedTime sets the CreatedTime field's value.
11952func (s *Dashboard) SetCreatedTime(v time.Time) *Dashboard {
11953	s.CreatedTime = &v
11954	return s
11955}
11956
11957// SetDashboardId sets the DashboardId field's value.
11958func (s *Dashboard) SetDashboardId(v string) *Dashboard {
11959	s.DashboardId = &v
11960	return s
11961}
11962
11963// SetLastPublishedTime sets the LastPublishedTime field's value.
11964func (s *Dashboard) SetLastPublishedTime(v time.Time) *Dashboard {
11965	s.LastPublishedTime = &v
11966	return s
11967}
11968
11969// SetLastUpdatedTime sets the LastUpdatedTime field's value.
11970func (s *Dashboard) SetLastUpdatedTime(v time.Time) *Dashboard {
11971	s.LastUpdatedTime = &v
11972	return s
11973}
11974
11975// SetName sets the Name field's value.
11976func (s *Dashboard) SetName(v string) *Dashboard {
11977	s.Name = &v
11978	return s
11979}
11980
11981// SetVersion sets the Version field's value.
11982func (s *Dashboard) SetVersion(v *DashboardVersion) *Dashboard {
11983	s.Version = v
11984	return s
11985}
11986
11987// Dashboard error.
11988type DashboardError struct {
11989	_ struct{} `type:"structure"`
11990
11991	// Message.
11992	Message *string `type:"string"`
11993
11994	// Type.
11995	Type *string `type:"string" enum:"DashboardErrorType"`
11996}
11997
11998// String returns the string representation
11999func (s DashboardError) String() string {
12000	return awsutil.Prettify(s)
12001}
12002
12003// GoString returns the string representation
12004func (s DashboardError) GoString() string {
12005	return s.String()
12006}
12007
12008// SetMessage sets the Message field's value.
12009func (s *DashboardError) SetMessage(v string) *DashboardError {
12010	s.Message = &v
12011	return s
12012}
12013
12014// SetType sets the Type field's value.
12015func (s *DashboardError) SetType(v string) *DashboardError {
12016	s.Type = &v
12017	return s
12018}
12019
12020// Dashboard publish options.
12021type DashboardPublishOptions struct {
12022	_ struct{} `type:"structure"`
12023
12024	// Ad hoc (one-time) filtering option.
12025	AdHocFilteringOption *AdHocFilteringOption `type:"structure"`
12026
12027	// Export to .csv option.
12028	ExportToCSVOption *ExportToCSVOption `type:"structure"`
12029
12030	// Sheet controls option.
12031	SheetControlsOption *SheetControlsOption `type:"structure"`
12032}
12033
12034// String returns the string representation
12035func (s DashboardPublishOptions) String() string {
12036	return awsutil.Prettify(s)
12037}
12038
12039// GoString returns the string representation
12040func (s DashboardPublishOptions) GoString() string {
12041	return s.String()
12042}
12043
12044// SetAdHocFilteringOption sets the AdHocFilteringOption field's value.
12045func (s *DashboardPublishOptions) SetAdHocFilteringOption(v *AdHocFilteringOption) *DashboardPublishOptions {
12046	s.AdHocFilteringOption = v
12047	return s
12048}
12049
12050// SetExportToCSVOption sets the ExportToCSVOption field's value.
12051func (s *DashboardPublishOptions) SetExportToCSVOption(v *ExportToCSVOption) *DashboardPublishOptions {
12052	s.ExportToCSVOption = v
12053	return s
12054}
12055
12056// SetSheetControlsOption sets the SheetControlsOption field's value.
12057func (s *DashboardPublishOptions) SetSheetControlsOption(v *SheetControlsOption) *DashboardPublishOptions {
12058	s.SheetControlsOption = v
12059	return s
12060}
12061
12062// A filter that you apply when searching for dashboards.
12063type DashboardSearchFilter struct {
12064	_ struct{} `type:"structure"`
12065
12066	// The name of the value that you want to use as a filter, for example, "Name":
12067	// "QUICKSIGHT_USER".
12068	Name *string `type:"string" enum:"DashboardFilterAttribute"`
12069
12070	// The comparison operator that you want to use as a filter, for example, "Operator":
12071	// "StringEquals".
12072	//
12073	// Operator is a required field
12074	Operator *string `type:"string" required:"true" enum:"FilterOperator"`
12075
12076	// The value of the named item, in this case QUICKSIGHT_USER, that you want
12077	// to use as a filter, for example, "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1".
12078	Value *string `type:"string"`
12079}
12080
12081// String returns the string representation
12082func (s DashboardSearchFilter) String() string {
12083	return awsutil.Prettify(s)
12084}
12085
12086// GoString returns the string representation
12087func (s DashboardSearchFilter) GoString() string {
12088	return s.String()
12089}
12090
12091// Validate inspects the fields of the type to determine if they are valid.
12092func (s *DashboardSearchFilter) Validate() error {
12093	invalidParams := request.ErrInvalidParams{Context: "DashboardSearchFilter"}
12094	if s.Operator == nil {
12095		invalidParams.Add(request.NewErrParamRequired("Operator"))
12096	}
12097
12098	if invalidParams.Len() > 0 {
12099		return invalidParams
12100	}
12101	return nil
12102}
12103
12104// SetName sets the Name field's value.
12105func (s *DashboardSearchFilter) SetName(v string) *DashboardSearchFilter {
12106	s.Name = &v
12107	return s
12108}
12109
12110// SetOperator sets the Operator field's value.
12111func (s *DashboardSearchFilter) SetOperator(v string) *DashboardSearchFilter {
12112	s.Operator = &v
12113	return s
12114}
12115
12116// SetValue sets the Value field's value.
12117func (s *DashboardSearchFilter) SetValue(v string) *DashboardSearchFilter {
12118	s.Value = &v
12119	return s
12120}
12121
12122// Dashboard source entity.
12123type DashboardSourceEntity struct {
12124	_ struct{} `type:"structure"`
12125
12126	// Source template.
12127	SourceTemplate *DashboardSourceTemplate `type:"structure"`
12128}
12129
12130// String returns the string representation
12131func (s DashboardSourceEntity) String() string {
12132	return awsutil.Prettify(s)
12133}
12134
12135// GoString returns the string representation
12136func (s DashboardSourceEntity) GoString() string {
12137	return s.String()
12138}
12139
12140// Validate inspects the fields of the type to determine if they are valid.
12141func (s *DashboardSourceEntity) Validate() error {
12142	invalidParams := request.ErrInvalidParams{Context: "DashboardSourceEntity"}
12143	if s.SourceTemplate != nil {
12144		if err := s.SourceTemplate.Validate(); err != nil {
12145			invalidParams.AddNested("SourceTemplate", err.(request.ErrInvalidParams))
12146		}
12147	}
12148
12149	if invalidParams.Len() > 0 {
12150		return invalidParams
12151	}
12152	return nil
12153}
12154
12155// SetSourceTemplate sets the SourceTemplate field's value.
12156func (s *DashboardSourceEntity) SetSourceTemplate(v *DashboardSourceTemplate) *DashboardSourceEntity {
12157	s.SourceTemplate = v
12158	return s
12159}
12160
12161// Dashboard source template.
12162type DashboardSourceTemplate struct {
12163	_ struct{} `type:"structure"`
12164
12165	// The Amazon Resource Name (ARN) of the resource.
12166	//
12167	// Arn is a required field
12168	Arn *string `type:"string" required:"true"`
12169
12170	// Dataset references.
12171	//
12172	// DataSetReferences is a required field
12173	DataSetReferences []*DataSetReference `min:"1" type:"list" required:"true"`
12174}
12175
12176// String returns the string representation
12177func (s DashboardSourceTemplate) String() string {
12178	return awsutil.Prettify(s)
12179}
12180
12181// GoString returns the string representation
12182func (s DashboardSourceTemplate) GoString() string {
12183	return s.String()
12184}
12185
12186// Validate inspects the fields of the type to determine if they are valid.
12187func (s *DashboardSourceTemplate) Validate() error {
12188	invalidParams := request.ErrInvalidParams{Context: "DashboardSourceTemplate"}
12189	if s.Arn == nil {
12190		invalidParams.Add(request.NewErrParamRequired("Arn"))
12191	}
12192	if s.DataSetReferences == nil {
12193		invalidParams.Add(request.NewErrParamRequired("DataSetReferences"))
12194	}
12195	if s.DataSetReferences != nil && len(s.DataSetReferences) < 1 {
12196		invalidParams.Add(request.NewErrParamMinLen("DataSetReferences", 1))
12197	}
12198	if s.DataSetReferences != nil {
12199		for i, v := range s.DataSetReferences {
12200			if v == nil {
12201				continue
12202			}
12203			if err := v.Validate(); err != nil {
12204				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSetReferences", i), err.(request.ErrInvalidParams))
12205			}
12206		}
12207	}
12208
12209	if invalidParams.Len() > 0 {
12210		return invalidParams
12211	}
12212	return nil
12213}
12214
12215// SetArn sets the Arn field's value.
12216func (s *DashboardSourceTemplate) SetArn(v string) *DashboardSourceTemplate {
12217	s.Arn = &v
12218	return s
12219}
12220
12221// SetDataSetReferences sets the DataSetReferences field's value.
12222func (s *DashboardSourceTemplate) SetDataSetReferences(v []*DataSetReference) *DashboardSourceTemplate {
12223	s.DataSetReferences = v
12224	return s
12225}
12226
12227// Dashboard summary.
12228type DashboardSummary struct {
12229	_ struct{} `type:"structure"`
12230
12231	// The Amazon Resource Name (ARN) of the resource.
12232	Arn *string `type:"string"`
12233
12234	// The time that this dashboard was created.
12235	CreatedTime *time.Time `type:"timestamp"`
12236
12237	// Dashboard ID.
12238	DashboardId *string `min:"1" type:"string"`
12239
12240	// The last time that this dashboard was published.
12241	LastPublishedTime *time.Time `type:"timestamp"`
12242
12243	// The last time that this dashboard was updated.
12244	LastUpdatedTime *time.Time `type:"timestamp"`
12245
12246	// A display name for the dashboard.
12247	Name *string `min:"1" type:"string"`
12248
12249	// Published version number.
12250	PublishedVersionNumber *int64 `min:"1" type:"long"`
12251}
12252
12253// String returns the string representation
12254func (s DashboardSummary) String() string {
12255	return awsutil.Prettify(s)
12256}
12257
12258// GoString returns the string representation
12259func (s DashboardSummary) GoString() string {
12260	return s.String()
12261}
12262
12263// SetArn sets the Arn field's value.
12264func (s *DashboardSummary) SetArn(v string) *DashboardSummary {
12265	s.Arn = &v
12266	return s
12267}
12268
12269// SetCreatedTime sets the CreatedTime field's value.
12270func (s *DashboardSummary) SetCreatedTime(v time.Time) *DashboardSummary {
12271	s.CreatedTime = &v
12272	return s
12273}
12274
12275// SetDashboardId sets the DashboardId field's value.
12276func (s *DashboardSummary) SetDashboardId(v string) *DashboardSummary {
12277	s.DashboardId = &v
12278	return s
12279}
12280
12281// SetLastPublishedTime sets the LastPublishedTime field's value.
12282func (s *DashboardSummary) SetLastPublishedTime(v time.Time) *DashboardSummary {
12283	s.LastPublishedTime = &v
12284	return s
12285}
12286
12287// SetLastUpdatedTime sets the LastUpdatedTime field's value.
12288func (s *DashboardSummary) SetLastUpdatedTime(v time.Time) *DashboardSummary {
12289	s.LastUpdatedTime = &v
12290	return s
12291}
12292
12293// SetName sets the Name field's value.
12294func (s *DashboardSummary) SetName(v string) *DashboardSummary {
12295	s.Name = &v
12296	return s
12297}
12298
12299// SetPublishedVersionNumber sets the PublishedVersionNumber field's value.
12300func (s *DashboardSummary) SetPublishedVersionNumber(v int64) *DashboardSummary {
12301	s.PublishedVersionNumber = &v
12302	return s
12303}
12304
12305// Dashboard version.
12306type DashboardVersion struct {
12307	_ struct{} `type:"structure"`
12308
12309	// The Amazon Resource Name (ARN) of the resource.
12310	Arn *string `type:"string"`
12311
12312	// The time that this dashboard version was created.
12313	CreatedTime *time.Time `type:"timestamp"`
12314
12315	// The Amazon Resource Numbers (ARNs) for the datasets that are associated with
12316	// a version of the dashboard.
12317	DataSetArns []*string `type:"list"`
12318
12319	// Description.
12320	Description *string `min:"1" type:"string"`
12321
12322	// Errors.
12323	Errors []*DashboardError `min:"1" type:"list"`
12324
12325	// Source entity ARN.
12326	SourceEntityArn *string `type:"string"`
12327
12328	// The HTTP status of the request.
12329	Status *string `type:"string" enum:"ResourceStatus"`
12330
12331	// Version number.
12332	VersionNumber *int64 `min:"1" type:"long"`
12333}
12334
12335// String returns the string representation
12336func (s DashboardVersion) String() string {
12337	return awsutil.Prettify(s)
12338}
12339
12340// GoString returns the string representation
12341func (s DashboardVersion) GoString() string {
12342	return s.String()
12343}
12344
12345// SetArn sets the Arn field's value.
12346func (s *DashboardVersion) SetArn(v string) *DashboardVersion {
12347	s.Arn = &v
12348	return s
12349}
12350
12351// SetCreatedTime sets the CreatedTime field's value.
12352func (s *DashboardVersion) SetCreatedTime(v time.Time) *DashboardVersion {
12353	s.CreatedTime = &v
12354	return s
12355}
12356
12357// SetDataSetArns sets the DataSetArns field's value.
12358func (s *DashboardVersion) SetDataSetArns(v []*string) *DashboardVersion {
12359	s.DataSetArns = v
12360	return s
12361}
12362
12363// SetDescription sets the Description field's value.
12364func (s *DashboardVersion) SetDescription(v string) *DashboardVersion {
12365	s.Description = &v
12366	return s
12367}
12368
12369// SetErrors sets the Errors field's value.
12370func (s *DashboardVersion) SetErrors(v []*DashboardError) *DashboardVersion {
12371	s.Errors = v
12372	return s
12373}
12374
12375// SetSourceEntityArn sets the SourceEntityArn field's value.
12376func (s *DashboardVersion) SetSourceEntityArn(v string) *DashboardVersion {
12377	s.SourceEntityArn = &v
12378	return s
12379}
12380
12381// SetStatus sets the Status field's value.
12382func (s *DashboardVersion) SetStatus(v string) *DashboardVersion {
12383	s.Status = &v
12384	return s
12385}
12386
12387// SetVersionNumber sets the VersionNumber field's value.
12388func (s *DashboardVersion) SetVersionNumber(v int64) *DashboardVersion {
12389	s.VersionNumber = &v
12390	return s
12391}
12392
12393// Dashboard version summary.
12394type DashboardVersionSummary struct {
12395	_ struct{} `type:"structure"`
12396
12397	// The Amazon Resource Name (ARN) of the resource.
12398	Arn *string `type:"string"`
12399
12400	// The time that this dashboard version was created.
12401	CreatedTime *time.Time `type:"timestamp"`
12402
12403	// Description.
12404	Description *string `min:"1" type:"string"`
12405
12406	// Source entity ARN.
12407	SourceEntityArn *string `type:"string"`
12408
12409	// The HTTP status of the request.
12410	Status *string `type:"string" enum:"ResourceStatus"`
12411
12412	// Version number.
12413	VersionNumber *int64 `min:"1" type:"long"`
12414}
12415
12416// String returns the string representation
12417func (s DashboardVersionSummary) String() string {
12418	return awsutil.Prettify(s)
12419}
12420
12421// GoString returns the string representation
12422func (s DashboardVersionSummary) GoString() string {
12423	return s.String()
12424}
12425
12426// SetArn sets the Arn field's value.
12427func (s *DashboardVersionSummary) SetArn(v string) *DashboardVersionSummary {
12428	s.Arn = &v
12429	return s
12430}
12431
12432// SetCreatedTime sets the CreatedTime field's value.
12433func (s *DashboardVersionSummary) SetCreatedTime(v time.Time) *DashboardVersionSummary {
12434	s.CreatedTime = &v
12435	return s
12436}
12437
12438// SetDescription sets the Description field's value.
12439func (s *DashboardVersionSummary) SetDescription(v string) *DashboardVersionSummary {
12440	s.Description = &v
12441	return s
12442}
12443
12444// SetSourceEntityArn sets the SourceEntityArn field's value.
12445func (s *DashboardVersionSummary) SetSourceEntityArn(v string) *DashboardVersionSummary {
12446	s.SourceEntityArn = &v
12447	return s
12448}
12449
12450// SetStatus sets the Status field's value.
12451func (s *DashboardVersionSummary) SetStatus(v string) *DashboardVersionSummary {
12452	s.Status = &v
12453	return s
12454}
12455
12456// SetVersionNumber sets the VersionNumber field's value.
12457func (s *DashboardVersionSummary) SetVersionNumber(v int64) *DashboardVersionSummary {
12458	s.VersionNumber = &v
12459	return s
12460}
12461
12462// The theme colors that are used for data colors in charts. The colors description
12463// is a hexidecimal color code that consists of six alphanumerical characters,
12464// prefixed with #, for example #37BFF5.
12465type DataColorPalette struct {
12466	_ struct{} `type:"structure"`
12467
12468	// The hexadecimal codes for the colors.
12469	Colors []*string `type:"list"`
12470
12471	// The hexadecimal code of a color that applies to charts where a lack of data
12472	// is highlighted.
12473	EmptyFillColor *string `type:"string"`
12474
12475	// The minimum and maximum hexadecimal codes that describe a color gradient.
12476	MinMaxGradient []*string `type:"list"`
12477}
12478
12479// String returns the string representation
12480func (s DataColorPalette) String() string {
12481	return awsutil.Prettify(s)
12482}
12483
12484// GoString returns the string representation
12485func (s DataColorPalette) GoString() string {
12486	return s.String()
12487}
12488
12489// SetColors sets the Colors field's value.
12490func (s *DataColorPalette) SetColors(v []*string) *DataColorPalette {
12491	s.Colors = v
12492	return s
12493}
12494
12495// SetEmptyFillColor sets the EmptyFillColor field's value.
12496func (s *DataColorPalette) SetEmptyFillColor(v string) *DataColorPalette {
12497	s.EmptyFillColor = &v
12498	return s
12499}
12500
12501// SetMinMaxGradient sets the MinMaxGradient field's value.
12502func (s *DataColorPalette) SetMinMaxGradient(v []*string) *DataColorPalette {
12503	s.MinMaxGradient = v
12504	return s
12505}
12506
12507// Dataset.
12508type DataSet struct {
12509	_ struct{} `type:"structure"`
12510
12511	// The Amazon Resource Name (ARN) of the resource.
12512	Arn *string `type:"string"`
12513
12514	// Groupings of columns that work together in certain Amazon QuickSight features.
12515	// Currently, only geospatial hierarchy is supported.
12516	ColumnGroups []*ColumnGroup `min:"1" type:"list"`
12517
12518	// The amount of SPICE capacity used by this dataset. This is 0 if the dataset
12519	// isn't imported into SPICE.
12520	ConsumedSpiceCapacityInBytes *int64 `type:"long"`
12521
12522	// The time that this dataset was created.
12523	CreatedTime *time.Time `type:"timestamp"`
12524
12525	// The ID of the dataset.
12526	DataSetId *string `type:"string"`
12527
12528	// Indicates whether you want to import the data into SPICE.
12529	ImportMode *string `type:"string" enum:"DataSetImportMode"`
12530
12531	// The last time that this dataset was updated.
12532	LastUpdatedTime *time.Time `type:"timestamp"`
12533
12534	// Configures the combination and transformation of the data from the physical
12535	// tables.
12536	LogicalTableMap map[string]*LogicalTable `min:"1" type:"map"`
12537
12538	// A display name for the dataset.
12539	Name *string `min:"1" type:"string"`
12540
12541	// The list of columns after all transforms. These columns are available in
12542	// templates, analyses, and dashboards.
12543	OutputColumns []*OutputColumn `type:"list"`
12544
12545	// Declares the physical tables that are available in the underlying data sources.
12546	PhysicalTableMap map[string]*PhysicalTable `min:"1" type:"map"`
12547
12548	// The row-level security configuration for the dataset.
12549	RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"`
12550}
12551
12552// String returns the string representation
12553func (s DataSet) String() string {
12554	return awsutil.Prettify(s)
12555}
12556
12557// GoString returns the string representation
12558func (s DataSet) GoString() string {
12559	return s.String()
12560}
12561
12562// SetArn sets the Arn field's value.
12563func (s *DataSet) SetArn(v string) *DataSet {
12564	s.Arn = &v
12565	return s
12566}
12567
12568// SetColumnGroups sets the ColumnGroups field's value.
12569func (s *DataSet) SetColumnGroups(v []*ColumnGroup) *DataSet {
12570	s.ColumnGroups = v
12571	return s
12572}
12573
12574// SetConsumedSpiceCapacityInBytes sets the ConsumedSpiceCapacityInBytes field's value.
12575func (s *DataSet) SetConsumedSpiceCapacityInBytes(v int64) *DataSet {
12576	s.ConsumedSpiceCapacityInBytes = &v
12577	return s
12578}
12579
12580// SetCreatedTime sets the CreatedTime field's value.
12581func (s *DataSet) SetCreatedTime(v time.Time) *DataSet {
12582	s.CreatedTime = &v
12583	return s
12584}
12585
12586// SetDataSetId sets the DataSetId field's value.
12587func (s *DataSet) SetDataSetId(v string) *DataSet {
12588	s.DataSetId = &v
12589	return s
12590}
12591
12592// SetImportMode sets the ImportMode field's value.
12593func (s *DataSet) SetImportMode(v string) *DataSet {
12594	s.ImportMode = &v
12595	return s
12596}
12597
12598// SetLastUpdatedTime sets the LastUpdatedTime field's value.
12599func (s *DataSet) SetLastUpdatedTime(v time.Time) *DataSet {
12600	s.LastUpdatedTime = &v
12601	return s
12602}
12603
12604// SetLogicalTableMap sets the LogicalTableMap field's value.
12605func (s *DataSet) SetLogicalTableMap(v map[string]*LogicalTable) *DataSet {
12606	s.LogicalTableMap = v
12607	return s
12608}
12609
12610// SetName sets the Name field's value.
12611func (s *DataSet) SetName(v string) *DataSet {
12612	s.Name = &v
12613	return s
12614}
12615
12616// SetOutputColumns sets the OutputColumns field's value.
12617func (s *DataSet) SetOutputColumns(v []*OutputColumn) *DataSet {
12618	s.OutputColumns = v
12619	return s
12620}
12621
12622// SetPhysicalTableMap sets the PhysicalTableMap field's value.
12623func (s *DataSet) SetPhysicalTableMap(v map[string]*PhysicalTable) *DataSet {
12624	s.PhysicalTableMap = v
12625	return s
12626}
12627
12628// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value.
12629func (s *DataSet) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *DataSet {
12630	s.RowLevelPermissionDataSet = v
12631	return s
12632}
12633
12634// Dataset configuration.
12635type DataSetConfiguration struct {
12636	_ struct{} `type:"structure"`
12637
12638	// A structure containing the list of column group schemas.
12639	ColumnGroupSchemaList []*ColumnGroupSchema `type:"list"`
12640
12641	// Dataset schema.
12642	DataSetSchema *DataSetSchema `type:"structure"`
12643
12644	// Placeholder.
12645	Placeholder *string `type:"string"`
12646}
12647
12648// String returns the string representation
12649func (s DataSetConfiguration) String() string {
12650	return awsutil.Prettify(s)
12651}
12652
12653// GoString returns the string representation
12654func (s DataSetConfiguration) GoString() string {
12655	return s.String()
12656}
12657
12658// SetColumnGroupSchemaList sets the ColumnGroupSchemaList field's value.
12659func (s *DataSetConfiguration) SetColumnGroupSchemaList(v []*ColumnGroupSchema) *DataSetConfiguration {
12660	s.ColumnGroupSchemaList = v
12661	return s
12662}
12663
12664// SetDataSetSchema sets the DataSetSchema field's value.
12665func (s *DataSetConfiguration) SetDataSetSchema(v *DataSetSchema) *DataSetConfiguration {
12666	s.DataSetSchema = v
12667	return s
12668}
12669
12670// SetPlaceholder sets the Placeholder field's value.
12671func (s *DataSetConfiguration) SetPlaceholder(v string) *DataSetConfiguration {
12672	s.Placeholder = &v
12673	return s
12674}
12675
12676// Dataset reference.
12677type DataSetReference struct {
12678	_ struct{} `type:"structure"`
12679
12680	// Dataset Amazon Resource Name (ARN).
12681	//
12682	// DataSetArn is a required field
12683	DataSetArn *string `type:"string" required:"true"`
12684
12685	// Dataset placeholder.
12686	//
12687	// DataSetPlaceholder is a required field
12688	DataSetPlaceholder *string `type:"string" required:"true"`
12689}
12690
12691// String returns the string representation
12692func (s DataSetReference) String() string {
12693	return awsutil.Prettify(s)
12694}
12695
12696// GoString returns the string representation
12697func (s DataSetReference) GoString() string {
12698	return s.String()
12699}
12700
12701// Validate inspects the fields of the type to determine if they are valid.
12702func (s *DataSetReference) Validate() error {
12703	invalidParams := request.ErrInvalidParams{Context: "DataSetReference"}
12704	if s.DataSetArn == nil {
12705		invalidParams.Add(request.NewErrParamRequired("DataSetArn"))
12706	}
12707	if s.DataSetPlaceholder == nil {
12708		invalidParams.Add(request.NewErrParamRequired("DataSetPlaceholder"))
12709	}
12710
12711	if invalidParams.Len() > 0 {
12712		return invalidParams
12713	}
12714	return nil
12715}
12716
12717// SetDataSetArn sets the DataSetArn field's value.
12718func (s *DataSetReference) SetDataSetArn(v string) *DataSetReference {
12719	s.DataSetArn = &v
12720	return s
12721}
12722
12723// SetDataSetPlaceholder sets the DataSetPlaceholder field's value.
12724func (s *DataSetReference) SetDataSetPlaceholder(v string) *DataSetReference {
12725	s.DataSetPlaceholder = &v
12726	return s
12727}
12728
12729// Dataset schema.
12730type DataSetSchema struct {
12731	_ struct{} `type:"structure"`
12732
12733	// A structure containing the list of column schemas.
12734	ColumnSchemaList []*ColumnSchema `type:"list"`
12735}
12736
12737// String returns the string representation
12738func (s DataSetSchema) String() string {
12739	return awsutil.Prettify(s)
12740}
12741
12742// GoString returns the string representation
12743func (s DataSetSchema) GoString() string {
12744	return s.String()
12745}
12746
12747// SetColumnSchemaList sets the ColumnSchemaList field's value.
12748func (s *DataSetSchema) SetColumnSchemaList(v []*ColumnSchema) *DataSetSchema {
12749	s.ColumnSchemaList = v
12750	return s
12751}
12752
12753// Dataset summary.
12754type DataSetSummary struct {
12755	_ struct{} `type:"structure"`
12756
12757	// The Amazon Resource Name (ARN) of the dataset.
12758	Arn *string `type:"string"`
12759
12760	// The time that this dataset was created.
12761	CreatedTime *time.Time `type:"timestamp"`
12762
12763	// The ID of the dataset.
12764	DataSetId *string `type:"string"`
12765
12766	// Indicates whether you want to import the data into SPICE.
12767	ImportMode *string `type:"string" enum:"DataSetImportMode"`
12768
12769	// The last time that this dataset was updated.
12770	LastUpdatedTime *time.Time `type:"timestamp"`
12771
12772	// A display name for the dataset.
12773	Name *string `min:"1" type:"string"`
12774
12775	// The row-level security configuration for the dataset.
12776	RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"`
12777}
12778
12779// String returns the string representation
12780func (s DataSetSummary) String() string {
12781	return awsutil.Prettify(s)
12782}
12783
12784// GoString returns the string representation
12785func (s DataSetSummary) GoString() string {
12786	return s.String()
12787}
12788
12789// SetArn sets the Arn field's value.
12790func (s *DataSetSummary) SetArn(v string) *DataSetSummary {
12791	s.Arn = &v
12792	return s
12793}
12794
12795// SetCreatedTime sets the CreatedTime field's value.
12796func (s *DataSetSummary) SetCreatedTime(v time.Time) *DataSetSummary {
12797	s.CreatedTime = &v
12798	return s
12799}
12800
12801// SetDataSetId sets the DataSetId field's value.
12802func (s *DataSetSummary) SetDataSetId(v string) *DataSetSummary {
12803	s.DataSetId = &v
12804	return s
12805}
12806
12807// SetImportMode sets the ImportMode field's value.
12808func (s *DataSetSummary) SetImportMode(v string) *DataSetSummary {
12809	s.ImportMode = &v
12810	return s
12811}
12812
12813// SetLastUpdatedTime sets the LastUpdatedTime field's value.
12814func (s *DataSetSummary) SetLastUpdatedTime(v time.Time) *DataSetSummary {
12815	s.LastUpdatedTime = &v
12816	return s
12817}
12818
12819// SetName sets the Name field's value.
12820func (s *DataSetSummary) SetName(v string) *DataSetSummary {
12821	s.Name = &v
12822	return s
12823}
12824
12825// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value.
12826func (s *DataSetSummary) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *DataSetSummary {
12827	s.RowLevelPermissionDataSet = v
12828	return s
12829}
12830
12831// The structure of a data source.
12832type DataSource struct {
12833	_ struct{} `type:"structure"`
12834
12835	// A set of alternate data source parameters that you want to share for the
12836	// credentials stored with this data source. The credentials are applied in
12837	// tandem with the data source parameters when you copy a data source by using
12838	// a create or update request. The API compares the DataSourceParameters structure
12839	// that's in the request with the structures in the AlternateDataSourceParameters
12840	// allowlist. If the structures are an exact match, the request is allowed to
12841	// use the credentials from this existing data source. If the AlternateDataSourceParameters
12842	// list is null, the Credentials originally used with this DataSourceParameters
12843	// are automatically allowed.
12844	AlternateDataSourceParameters []*DataSourceParameters `min:"1" type:"list"`
12845
12846	// The Amazon Resource Name (ARN) of the data source.
12847	Arn *string `type:"string"`
12848
12849	// The time that this data source was created.
12850	CreatedTime *time.Time `type:"timestamp"`
12851
12852	// The ID of the data source. This ID is unique per AWS Region for each AWS
12853	// account.
12854	DataSourceId *string `type:"string"`
12855
12856	// The parameters that Amazon QuickSight uses to connect to your underlying
12857	// source. This is a variant type structure. For this structure to be valid,
12858	// only one of the attributes can be non-null.
12859	DataSourceParameters *DataSourceParameters `type:"structure"`
12860
12861	// Error information from the last update or the creation of the data source.
12862	ErrorInfo *DataSourceErrorInfo `type:"structure"`
12863
12864	// The last time that this data source was updated.
12865	LastUpdatedTime *time.Time `type:"timestamp"`
12866
12867	// A display name for the data source.
12868	Name *string `min:"1" type:"string"`
12869
12870	// Secure Socket Layer (SSL) properties that apply when QuickSight connects
12871	// to your underlying source.
12872	SslProperties *SslProperties `type:"structure"`
12873
12874	// The HTTP status of the request.
12875	Status *string `type:"string" enum:"ResourceStatus"`
12876
12877	// The type of the data source. This type indicates which database engine the
12878	// data source connects to.
12879	Type *string `type:"string" enum:"DataSourceType"`
12880
12881	// The VPC connection information. You need to use this parameter only when
12882	// you want QuickSight to use a VPC connection when connecting to your underlying
12883	// source.
12884	VpcConnectionProperties *VpcConnectionProperties `type:"structure"`
12885}
12886
12887// String returns the string representation
12888func (s DataSource) String() string {
12889	return awsutil.Prettify(s)
12890}
12891
12892// GoString returns the string representation
12893func (s DataSource) GoString() string {
12894	return s.String()
12895}
12896
12897// SetAlternateDataSourceParameters sets the AlternateDataSourceParameters field's value.
12898func (s *DataSource) SetAlternateDataSourceParameters(v []*DataSourceParameters) *DataSource {
12899	s.AlternateDataSourceParameters = v
12900	return s
12901}
12902
12903// SetArn sets the Arn field's value.
12904func (s *DataSource) SetArn(v string) *DataSource {
12905	s.Arn = &v
12906	return s
12907}
12908
12909// SetCreatedTime sets the CreatedTime field's value.
12910func (s *DataSource) SetCreatedTime(v time.Time) *DataSource {
12911	s.CreatedTime = &v
12912	return s
12913}
12914
12915// SetDataSourceId sets the DataSourceId field's value.
12916func (s *DataSource) SetDataSourceId(v string) *DataSource {
12917	s.DataSourceId = &v
12918	return s
12919}
12920
12921// SetDataSourceParameters sets the DataSourceParameters field's value.
12922func (s *DataSource) SetDataSourceParameters(v *DataSourceParameters) *DataSource {
12923	s.DataSourceParameters = v
12924	return s
12925}
12926
12927// SetErrorInfo sets the ErrorInfo field's value.
12928func (s *DataSource) SetErrorInfo(v *DataSourceErrorInfo) *DataSource {
12929	s.ErrorInfo = v
12930	return s
12931}
12932
12933// SetLastUpdatedTime sets the LastUpdatedTime field's value.
12934func (s *DataSource) SetLastUpdatedTime(v time.Time) *DataSource {
12935	s.LastUpdatedTime = &v
12936	return s
12937}
12938
12939// SetName sets the Name field's value.
12940func (s *DataSource) SetName(v string) *DataSource {
12941	s.Name = &v
12942	return s
12943}
12944
12945// SetSslProperties sets the SslProperties field's value.
12946func (s *DataSource) SetSslProperties(v *SslProperties) *DataSource {
12947	s.SslProperties = v
12948	return s
12949}
12950
12951// SetStatus sets the Status field's value.
12952func (s *DataSource) SetStatus(v string) *DataSource {
12953	s.Status = &v
12954	return s
12955}
12956
12957// SetType sets the Type field's value.
12958func (s *DataSource) SetType(v string) *DataSource {
12959	s.Type = &v
12960	return s
12961}
12962
12963// SetVpcConnectionProperties sets the VpcConnectionProperties field's value.
12964func (s *DataSource) SetVpcConnectionProperties(v *VpcConnectionProperties) *DataSource {
12965	s.VpcConnectionProperties = v
12966	return s
12967}
12968
12969// Data source credentials. This is a variant type structure. For this structure
12970// to be valid, only one of the attributes can be non-null.
12971type DataSourceCredentials struct {
12972	_ struct{} `type:"structure" sensitive:"true"`
12973
12974	// The Amazon Resource Name (ARN) of a data source that has the credential pair
12975	// that you want to use. When CopySourceArn is not null, the credential pair
12976	// from the data source in the ARN is used as the credentials for the DataSourceCredentials
12977	// structure.
12978	CopySourceArn *string `type:"string"`
12979
12980	// Credential pair. For more information, see CredentialPair.
12981	CredentialPair *CredentialPair `type:"structure"`
12982}
12983
12984// String returns the string representation
12985func (s DataSourceCredentials) String() string {
12986	return awsutil.Prettify(s)
12987}
12988
12989// GoString returns the string representation
12990func (s DataSourceCredentials) GoString() string {
12991	return s.String()
12992}
12993
12994// Validate inspects the fields of the type to determine if they are valid.
12995func (s *DataSourceCredentials) Validate() error {
12996	invalidParams := request.ErrInvalidParams{Context: "DataSourceCredentials"}
12997	if s.CredentialPair != nil {
12998		if err := s.CredentialPair.Validate(); err != nil {
12999			invalidParams.AddNested("CredentialPair", err.(request.ErrInvalidParams))
13000		}
13001	}
13002
13003	if invalidParams.Len() > 0 {
13004		return invalidParams
13005	}
13006	return nil
13007}
13008
13009// SetCopySourceArn sets the CopySourceArn field's value.
13010func (s *DataSourceCredentials) SetCopySourceArn(v string) *DataSourceCredentials {
13011	s.CopySourceArn = &v
13012	return s
13013}
13014
13015// SetCredentialPair sets the CredentialPair field's value.
13016func (s *DataSourceCredentials) SetCredentialPair(v *CredentialPair) *DataSourceCredentials {
13017	s.CredentialPair = v
13018	return s
13019}
13020
13021// Error information for the data source creation or update.
13022type DataSourceErrorInfo struct {
13023	_ struct{} `type:"structure"`
13024
13025	// Error message.
13026	Message *string `type:"string"`
13027
13028	// Error type.
13029	Type *string `type:"string" enum:"DataSourceErrorInfoType"`
13030}
13031
13032// String returns the string representation
13033func (s DataSourceErrorInfo) String() string {
13034	return awsutil.Prettify(s)
13035}
13036
13037// GoString returns the string representation
13038func (s DataSourceErrorInfo) GoString() string {
13039	return s.String()
13040}
13041
13042// SetMessage sets the Message field's value.
13043func (s *DataSourceErrorInfo) SetMessage(v string) *DataSourceErrorInfo {
13044	s.Message = &v
13045	return s
13046}
13047
13048// SetType sets the Type field's value.
13049func (s *DataSourceErrorInfo) SetType(v string) *DataSourceErrorInfo {
13050	s.Type = &v
13051	return s
13052}
13053
13054// The parameters that Amazon QuickSight uses to connect to your underlying
13055// data source. This is a variant type structure. For this structure to be valid,
13056// only one of the attributes can be non-null.
13057type DataSourceParameters struct {
13058	_ struct{} `type:"structure"`
13059
13060	// Amazon Elasticsearch Service parameters.
13061	AmazonElasticsearchParameters *AmazonElasticsearchParameters `type:"structure"`
13062
13063	// Amazon Athena parameters.
13064	AthenaParameters *AthenaParameters `type:"structure"`
13065
13066	// Amazon Aurora MySQL parameters.
13067	AuroraParameters *AuroraParameters `type:"structure"`
13068
13069	// Aurora PostgreSQL parameters.
13070	AuroraPostgreSqlParameters *AuroraPostgreSqlParameters `type:"structure"`
13071
13072	// AWS IoT Analytics parameters.
13073	AwsIotAnalyticsParameters *AwsIotAnalyticsParameters `type:"structure"`
13074
13075	// Jira parameters.
13076	JiraParameters *JiraParameters `type:"structure"`
13077
13078	// MariaDB parameters.
13079	MariaDbParameters *MariaDbParameters `type:"structure"`
13080
13081	// MySQL parameters.
13082	MySqlParameters *MySqlParameters `type:"structure"`
13083
13084	// PostgreSQL parameters.
13085	PostgreSqlParameters *PostgreSqlParameters `type:"structure"`
13086
13087	// Presto parameters.
13088	PrestoParameters *PrestoParameters `type:"structure"`
13089
13090	// Amazon RDS parameters.
13091	RdsParameters *RdsParameters `type:"structure"`
13092
13093	// Amazon Redshift parameters.
13094	RedshiftParameters *RedshiftParameters `type:"structure"`
13095
13096	// S3 parameters.
13097	S3Parameters *S3Parameters `type:"structure"`
13098
13099	// ServiceNow parameters.
13100	ServiceNowParameters *ServiceNowParameters `type:"structure"`
13101
13102	// Snowflake parameters.
13103	SnowflakeParameters *SnowflakeParameters `type:"structure"`
13104
13105	// Spark parameters.
13106	SparkParameters *SparkParameters `type:"structure"`
13107
13108	// SQL Server parameters.
13109	SqlServerParameters *SqlServerParameters `type:"structure"`
13110
13111	// Teradata parameters.
13112	TeradataParameters *TeradataParameters `type:"structure"`
13113
13114	// Twitter parameters.
13115	TwitterParameters *TwitterParameters `type:"structure"`
13116}
13117
13118// String returns the string representation
13119func (s DataSourceParameters) String() string {
13120	return awsutil.Prettify(s)
13121}
13122
13123// GoString returns the string representation
13124func (s DataSourceParameters) GoString() string {
13125	return s.String()
13126}
13127
13128// Validate inspects the fields of the type to determine if they are valid.
13129func (s *DataSourceParameters) Validate() error {
13130	invalidParams := request.ErrInvalidParams{Context: "DataSourceParameters"}
13131	if s.AmazonElasticsearchParameters != nil {
13132		if err := s.AmazonElasticsearchParameters.Validate(); err != nil {
13133			invalidParams.AddNested("AmazonElasticsearchParameters", err.(request.ErrInvalidParams))
13134		}
13135	}
13136	if s.AthenaParameters != nil {
13137		if err := s.AthenaParameters.Validate(); err != nil {
13138			invalidParams.AddNested("AthenaParameters", err.(request.ErrInvalidParams))
13139		}
13140	}
13141	if s.AuroraParameters != nil {
13142		if err := s.AuroraParameters.Validate(); err != nil {
13143			invalidParams.AddNested("AuroraParameters", err.(request.ErrInvalidParams))
13144		}
13145	}
13146	if s.AuroraPostgreSqlParameters != nil {
13147		if err := s.AuroraPostgreSqlParameters.Validate(); err != nil {
13148			invalidParams.AddNested("AuroraPostgreSqlParameters", err.(request.ErrInvalidParams))
13149		}
13150	}
13151	if s.AwsIotAnalyticsParameters != nil {
13152		if err := s.AwsIotAnalyticsParameters.Validate(); err != nil {
13153			invalidParams.AddNested("AwsIotAnalyticsParameters", err.(request.ErrInvalidParams))
13154		}
13155	}
13156	if s.JiraParameters != nil {
13157		if err := s.JiraParameters.Validate(); err != nil {
13158			invalidParams.AddNested("JiraParameters", err.(request.ErrInvalidParams))
13159		}
13160	}
13161	if s.MariaDbParameters != nil {
13162		if err := s.MariaDbParameters.Validate(); err != nil {
13163			invalidParams.AddNested("MariaDbParameters", err.(request.ErrInvalidParams))
13164		}
13165	}
13166	if s.MySqlParameters != nil {
13167		if err := s.MySqlParameters.Validate(); err != nil {
13168			invalidParams.AddNested("MySqlParameters", err.(request.ErrInvalidParams))
13169		}
13170	}
13171	if s.PostgreSqlParameters != nil {
13172		if err := s.PostgreSqlParameters.Validate(); err != nil {
13173			invalidParams.AddNested("PostgreSqlParameters", err.(request.ErrInvalidParams))
13174		}
13175	}
13176	if s.PrestoParameters != nil {
13177		if err := s.PrestoParameters.Validate(); err != nil {
13178			invalidParams.AddNested("PrestoParameters", err.(request.ErrInvalidParams))
13179		}
13180	}
13181	if s.RdsParameters != nil {
13182		if err := s.RdsParameters.Validate(); err != nil {
13183			invalidParams.AddNested("RdsParameters", err.(request.ErrInvalidParams))
13184		}
13185	}
13186	if s.RedshiftParameters != nil {
13187		if err := s.RedshiftParameters.Validate(); err != nil {
13188			invalidParams.AddNested("RedshiftParameters", err.(request.ErrInvalidParams))
13189		}
13190	}
13191	if s.S3Parameters != nil {
13192		if err := s.S3Parameters.Validate(); err != nil {
13193			invalidParams.AddNested("S3Parameters", err.(request.ErrInvalidParams))
13194		}
13195	}
13196	if s.ServiceNowParameters != nil {
13197		if err := s.ServiceNowParameters.Validate(); err != nil {
13198			invalidParams.AddNested("ServiceNowParameters", err.(request.ErrInvalidParams))
13199		}
13200	}
13201	if s.SnowflakeParameters != nil {
13202		if err := s.SnowflakeParameters.Validate(); err != nil {
13203			invalidParams.AddNested("SnowflakeParameters", err.(request.ErrInvalidParams))
13204		}
13205	}
13206	if s.SparkParameters != nil {
13207		if err := s.SparkParameters.Validate(); err != nil {
13208			invalidParams.AddNested("SparkParameters", err.(request.ErrInvalidParams))
13209		}
13210	}
13211	if s.SqlServerParameters != nil {
13212		if err := s.SqlServerParameters.Validate(); err != nil {
13213			invalidParams.AddNested("SqlServerParameters", err.(request.ErrInvalidParams))
13214		}
13215	}
13216	if s.TeradataParameters != nil {
13217		if err := s.TeradataParameters.Validate(); err != nil {
13218			invalidParams.AddNested("TeradataParameters", err.(request.ErrInvalidParams))
13219		}
13220	}
13221	if s.TwitterParameters != nil {
13222		if err := s.TwitterParameters.Validate(); err != nil {
13223			invalidParams.AddNested("TwitterParameters", err.(request.ErrInvalidParams))
13224		}
13225	}
13226
13227	if invalidParams.Len() > 0 {
13228		return invalidParams
13229	}
13230	return nil
13231}
13232
13233// SetAmazonElasticsearchParameters sets the AmazonElasticsearchParameters field's value.
13234func (s *DataSourceParameters) SetAmazonElasticsearchParameters(v *AmazonElasticsearchParameters) *DataSourceParameters {
13235	s.AmazonElasticsearchParameters = v
13236	return s
13237}
13238
13239// SetAthenaParameters sets the AthenaParameters field's value.
13240func (s *DataSourceParameters) SetAthenaParameters(v *AthenaParameters) *DataSourceParameters {
13241	s.AthenaParameters = v
13242	return s
13243}
13244
13245// SetAuroraParameters sets the AuroraParameters field's value.
13246func (s *DataSourceParameters) SetAuroraParameters(v *AuroraParameters) *DataSourceParameters {
13247	s.AuroraParameters = v
13248	return s
13249}
13250
13251// SetAuroraPostgreSqlParameters sets the AuroraPostgreSqlParameters field's value.
13252func (s *DataSourceParameters) SetAuroraPostgreSqlParameters(v *AuroraPostgreSqlParameters) *DataSourceParameters {
13253	s.AuroraPostgreSqlParameters = v
13254	return s
13255}
13256
13257// SetAwsIotAnalyticsParameters sets the AwsIotAnalyticsParameters field's value.
13258func (s *DataSourceParameters) SetAwsIotAnalyticsParameters(v *AwsIotAnalyticsParameters) *DataSourceParameters {
13259	s.AwsIotAnalyticsParameters = v
13260	return s
13261}
13262
13263// SetJiraParameters sets the JiraParameters field's value.
13264func (s *DataSourceParameters) SetJiraParameters(v *JiraParameters) *DataSourceParameters {
13265	s.JiraParameters = v
13266	return s
13267}
13268
13269// SetMariaDbParameters sets the MariaDbParameters field's value.
13270func (s *DataSourceParameters) SetMariaDbParameters(v *MariaDbParameters) *DataSourceParameters {
13271	s.MariaDbParameters = v
13272	return s
13273}
13274
13275// SetMySqlParameters sets the MySqlParameters field's value.
13276func (s *DataSourceParameters) SetMySqlParameters(v *MySqlParameters) *DataSourceParameters {
13277	s.MySqlParameters = v
13278	return s
13279}
13280
13281// SetPostgreSqlParameters sets the PostgreSqlParameters field's value.
13282func (s *DataSourceParameters) SetPostgreSqlParameters(v *PostgreSqlParameters) *DataSourceParameters {
13283	s.PostgreSqlParameters = v
13284	return s
13285}
13286
13287// SetPrestoParameters sets the PrestoParameters field's value.
13288func (s *DataSourceParameters) SetPrestoParameters(v *PrestoParameters) *DataSourceParameters {
13289	s.PrestoParameters = v
13290	return s
13291}
13292
13293// SetRdsParameters sets the RdsParameters field's value.
13294func (s *DataSourceParameters) SetRdsParameters(v *RdsParameters) *DataSourceParameters {
13295	s.RdsParameters = v
13296	return s
13297}
13298
13299// SetRedshiftParameters sets the RedshiftParameters field's value.
13300func (s *DataSourceParameters) SetRedshiftParameters(v *RedshiftParameters) *DataSourceParameters {
13301	s.RedshiftParameters = v
13302	return s
13303}
13304
13305// SetS3Parameters sets the S3Parameters field's value.
13306func (s *DataSourceParameters) SetS3Parameters(v *S3Parameters) *DataSourceParameters {
13307	s.S3Parameters = v
13308	return s
13309}
13310
13311// SetServiceNowParameters sets the ServiceNowParameters field's value.
13312func (s *DataSourceParameters) SetServiceNowParameters(v *ServiceNowParameters) *DataSourceParameters {
13313	s.ServiceNowParameters = v
13314	return s
13315}
13316
13317// SetSnowflakeParameters sets the SnowflakeParameters field's value.
13318func (s *DataSourceParameters) SetSnowflakeParameters(v *SnowflakeParameters) *DataSourceParameters {
13319	s.SnowflakeParameters = v
13320	return s
13321}
13322
13323// SetSparkParameters sets the SparkParameters field's value.
13324func (s *DataSourceParameters) SetSparkParameters(v *SparkParameters) *DataSourceParameters {
13325	s.SparkParameters = v
13326	return s
13327}
13328
13329// SetSqlServerParameters sets the SqlServerParameters field's value.
13330func (s *DataSourceParameters) SetSqlServerParameters(v *SqlServerParameters) *DataSourceParameters {
13331	s.SqlServerParameters = v
13332	return s
13333}
13334
13335// SetTeradataParameters sets the TeradataParameters field's value.
13336func (s *DataSourceParameters) SetTeradataParameters(v *TeradataParameters) *DataSourceParameters {
13337	s.TeradataParameters = v
13338	return s
13339}
13340
13341// SetTwitterParameters sets the TwitterParameters field's value.
13342func (s *DataSourceParameters) SetTwitterParameters(v *TwitterParameters) *DataSourceParameters {
13343	s.TwitterParameters = v
13344	return s
13345}
13346
13347// Date time parameter.
13348type DateTimeParameter struct {
13349	_ struct{} `type:"structure"`
13350
13351	// A display name for the dataset.
13352	//
13353	// Name is a required field
13354	Name *string `type:"string" required:"true"`
13355
13356	// Values.
13357	//
13358	// Values is a required field
13359	Values []*time.Time `type:"list" required:"true"`
13360}
13361
13362// String returns the string representation
13363func (s DateTimeParameter) String() string {
13364	return awsutil.Prettify(s)
13365}
13366
13367// GoString returns the string representation
13368func (s DateTimeParameter) GoString() string {
13369	return s.String()
13370}
13371
13372// Validate inspects the fields of the type to determine if they are valid.
13373func (s *DateTimeParameter) Validate() error {
13374	invalidParams := request.ErrInvalidParams{Context: "DateTimeParameter"}
13375	if s.Name == nil {
13376		invalidParams.Add(request.NewErrParamRequired("Name"))
13377	}
13378	if s.Values == nil {
13379		invalidParams.Add(request.NewErrParamRequired("Values"))
13380	}
13381
13382	if invalidParams.Len() > 0 {
13383		return invalidParams
13384	}
13385	return nil
13386}
13387
13388// SetName sets the Name field's value.
13389func (s *DateTimeParameter) SetName(v string) *DateTimeParameter {
13390	s.Name = &v
13391	return s
13392}
13393
13394// SetValues sets the Values field's value.
13395func (s *DateTimeParameter) SetValues(v []*time.Time) *DateTimeParameter {
13396	s.Values = v
13397	return s
13398}
13399
13400// Decimal parameter.
13401type DecimalParameter struct {
13402	_ struct{} `type:"structure"`
13403
13404	// A display name for the dataset.
13405	//
13406	// Name is a required field
13407	Name *string `type:"string" required:"true"`
13408
13409	// Values.
13410	//
13411	// Values is a required field
13412	Values []*float64 `type:"list" required:"true"`
13413}
13414
13415// String returns the string representation
13416func (s DecimalParameter) String() string {
13417	return awsutil.Prettify(s)
13418}
13419
13420// GoString returns the string representation
13421func (s DecimalParameter) GoString() string {
13422	return s.String()
13423}
13424
13425// Validate inspects the fields of the type to determine if they are valid.
13426func (s *DecimalParameter) Validate() error {
13427	invalidParams := request.ErrInvalidParams{Context: "DecimalParameter"}
13428	if s.Name == nil {
13429		invalidParams.Add(request.NewErrParamRequired("Name"))
13430	}
13431	if s.Values == nil {
13432		invalidParams.Add(request.NewErrParamRequired("Values"))
13433	}
13434
13435	if invalidParams.Len() > 0 {
13436		return invalidParams
13437	}
13438	return nil
13439}
13440
13441// SetName sets the Name field's value.
13442func (s *DecimalParameter) SetName(v string) *DecimalParameter {
13443	s.Name = &v
13444	return s
13445}
13446
13447// SetValues sets the Values field's value.
13448func (s *DecimalParameter) SetValues(v []*float64) *DecimalParameter {
13449	s.Values = v
13450	return s
13451}
13452
13453type DeleteDashboardInput struct {
13454	_ struct{} `type:"structure"`
13455
13456	// The ID of the AWS account that contains the dashboard that you're deleting.
13457	//
13458	// AwsAccountId is a required field
13459	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
13460
13461	// The ID for the dashboard.
13462	//
13463	// DashboardId is a required field
13464	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
13465
13466	// The version number of the dashboard. If the version number property is provided,
13467	// only the specified version of the dashboard is deleted.
13468	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
13469}
13470
13471// String returns the string representation
13472func (s DeleteDashboardInput) String() string {
13473	return awsutil.Prettify(s)
13474}
13475
13476// GoString returns the string representation
13477func (s DeleteDashboardInput) GoString() string {
13478	return s.String()
13479}
13480
13481// Validate inspects the fields of the type to determine if they are valid.
13482func (s *DeleteDashboardInput) Validate() error {
13483	invalidParams := request.ErrInvalidParams{Context: "DeleteDashboardInput"}
13484	if s.AwsAccountId == nil {
13485		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
13486	}
13487	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
13488		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
13489	}
13490	if s.DashboardId == nil {
13491		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
13492	}
13493	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
13494		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
13495	}
13496	if s.VersionNumber != nil && *s.VersionNumber < 1 {
13497		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
13498	}
13499
13500	if invalidParams.Len() > 0 {
13501		return invalidParams
13502	}
13503	return nil
13504}
13505
13506// SetAwsAccountId sets the AwsAccountId field's value.
13507func (s *DeleteDashboardInput) SetAwsAccountId(v string) *DeleteDashboardInput {
13508	s.AwsAccountId = &v
13509	return s
13510}
13511
13512// SetDashboardId sets the DashboardId field's value.
13513func (s *DeleteDashboardInput) SetDashboardId(v string) *DeleteDashboardInput {
13514	s.DashboardId = &v
13515	return s
13516}
13517
13518// SetVersionNumber sets the VersionNumber field's value.
13519func (s *DeleteDashboardInput) SetVersionNumber(v int64) *DeleteDashboardInput {
13520	s.VersionNumber = &v
13521	return s
13522}
13523
13524type DeleteDashboardOutput struct {
13525	_ struct{} `type:"structure"`
13526
13527	// The Secure Socket Layer (SSL) properties that apply for the resource.
13528	Arn *string `type:"string"`
13529
13530	// The ID of the dashboard.
13531	DashboardId *string `min:"1" type:"string"`
13532
13533	// The AWS request ID for this operation.
13534	RequestId *string `type:"string"`
13535
13536	// The HTTP status of the request.
13537	Status *int64 `location:"statusCode" type:"integer"`
13538}
13539
13540// String returns the string representation
13541func (s DeleteDashboardOutput) String() string {
13542	return awsutil.Prettify(s)
13543}
13544
13545// GoString returns the string representation
13546func (s DeleteDashboardOutput) GoString() string {
13547	return s.String()
13548}
13549
13550// SetArn sets the Arn field's value.
13551func (s *DeleteDashboardOutput) SetArn(v string) *DeleteDashboardOutput {
13552	s.Arn = &v
13553	return s
13554}
13555
13556// SetDashboardId sets the DashboardId field's value.
13557func (s *DeleteDashboardOutput) SetDashboardId(v string) *DeleteDashboardOutput {
13558	s.DashboardId = &v
13559	return s
13560}
13561
13562// SetRequestId sets the RequestId field's value.
13563func (s *DeleteDashboardOutput) SetRequestId(v string) *DeleteDashboardOutput {
13564	s.RequestId = &v
13565	return s
13566}
13567
13568// SetStatus sets the Status field's value.
13569func (s *DeleteDashboardOutput) SetStatus(v int64) *DeleteDashboardOutput {
13570	s.Status = &v
13571	return s
13572}
13573
13574type DeleteDataSetInput struct {
13575	_ struct{} `type:"structure"`
13576
13577	// The AWS account ID.
13578	//
13579	// AwsAccountId is a required field
13580	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
13581
13582	// The ID for the dataset that you want to create. This ID is unique per AWS
13583	// Region for each AWS account.
13584	//
13585	// DataSetId is a required field
13586	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
13587}
13588
13589// String returns the string representation
13590func (s DeleteDataSetInput) String() string {
13591	return awsutil.Prettify(s)
13592}
13593
13594// GoString returns the string representation
13595func (s DeleteDataSetInput) GoString() string {
13596	return s.String()
13597}
13598
13599// Validate inspects the fields of the type to determine if they are valid.
13600func (s *DeleteDataSetInput) Validate() error {
13601	invalidParams := request.ErrInvalidParams{Context: "DeleteDataSetInput"}
13602	if s.AwsAccountId == nil {
13603		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
13604	}
13605	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
13606		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
13607	}
13608	if s.DataSetId == nil {
13609		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
13610	}
13611	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
13612		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
13613	}
13614
13615	if invalidParams.Len() > 0 {
13616		return invalidParams
13617	}
13618	return nil
13619}
13620
13621// SetAwsAccountId sets the AwsAccountId field's value.
13622func (s *DeleteDataSetInput) SetAwsAccountId(v string) *DeleteDataSetInput {
13623	s.AwsAccountId = &v
13624	return s
13625}
13626
13627// SetDataSetId sets the DataSetId field's value.
13628func (s *DeleteDataSetInput) SetDataSetId(v string) *DeleteDataSetInput {
13629	s.DataSetId = &v
13630	return s
13631}
13632
13633type DeleteDataSetOutput struct {
13634	_ struct{} `type:"structure"`
13635
13636	// The Amazon Resource Name (ARN) of the dataset.
13637	Arn *string `type:"string"`
13638
13639	// The ID for the dataset that you want to create. This ID is unique per AWS
13640	// Region for each AWS account.
13641	DataSetId *string `type:"string"`
13642
13643	// The AWS request ID for this operation.
13644	RequestId *string `type:"string"`
13645
13646	// The HTTP status of the request.
13647	Status *int64 `location:"statusCode" type:"integer"`
13648}
13649
13650// String returns the string representation
13651func (s DeleteDataSetOutput) String() string {
13652	return awsutil.Prettify(s)
13653}
13654
13655// GoString returns the string representation
13656func (s DeleteDataSetOutput) GoString() string {
13657	return s.String()
13658}
13659
13660// SetArn sets the Arn field's value.
13661func (s *DeleteDataSetOutput) SetArn(v string) *DeleteDataSetOutput {
13662	s.Arn = &v
13663	return s
13664}
13665
13666// SetDataSetId sets the DataSetId field's value.
13667func (s *DeleteDataSetOutput) SetDataSetId(v string) *DeleteDataSetOutput {
13668	s.DataSetId = &v
13669	return s
13670}
13671
13672// SetRequestId sets the RequestId field's value.
13673func (s *DeleteDataSetOutput) SetRequestId(v string) *DeleteDataSetOutput {
13674	s.RequestId = &v
13675	return s
13676}
13677
13678// SetStatus sets the Status field's value.
13679func (s *DeleteDataSetOutput) SetStatus(v int64) *DeleteDataSetOutput {
13680	s.Status = &v
13681	return s
13682}
13683
13684type DeleteDataSourceInput struct {
13685	_ struct{} `type:"structure"`
13686
13687	// The AWS account ID.
13688	//
13689	// AwsAccountId is a required field
13690	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
13691
13692	// The ID of the data source. This ID is unique per AWS Region for each AWS
13693	// account.
13694	//
13695	// DataSourceId is a required field
13696	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
13697}
13698
13699// String returns the string representation
13700func (s DeleteDataSourceInput) String() string {
13701	return awsutil.Prettify(s)
13702}
13703
13704// GoString returns the string representation
13705func (s DeleteDataSourceInput) GoString() string {
13706	return s.String()
13707}
13708
13709// Validate inspects the fields of the type to determine if they are valid.
13710func (s *DeleteDataSourceInput) Validate() error {
13711	invalidParams := request.ErrInvalidParams{Context: "DeleteDataSourceInput"}
13712	if s.AwsAccountId == nil {
13713		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
13714	}
13715	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
13716		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
13717	}
13718	if s.DataSourceId == nil {
13719		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
13720	}
13721	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
13722		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
13723	}
13724
13725	if invalidParams.Len() > 0 {
13726		return invalidParams
13727	}
13728	return nil
13729}
13730
13731// SetAwsAccountId sets the AwsAccountId field's value.
13732func (s *DeleteDataSourceInput) SetAwsAccountId(v string) *DeleteDataSourceInput {
13733	s.AwsAccountId = &v
13734	return s
13735}
13736
13737// SetDataSourceId sets the DataSourceId field's value.
13738func (s *DeleteDataSourceInput) SetDataSourceId(v string) *DeleteDataSourceInput {
13739	s.DataSourceId = &v
13740	return s
13741}
13742
13743type DeleteDataSourceOutput struct {
13744	_ struct{} `type:"structure"`
13745
13746	// The Amazon Resource Name (ARN) of the data source that you deleted.
13747	Arn *string `type:"string"`
13748
13749	// The ID of the data source. This ID is unique per AWS Region for each AWS
13750	// account.
13751	DataSourceId *string `type:"string"`
13752
13753	// The AWS request ID for this operation.
13754	RequestId *string `type:"string"`
13755
13756	// The HTTP status of the request.
13757	Status *int64 `location:"statusCode" type:"integer"`
13758}
13759
13760// String returns the string representation
13761func (s DeleteDataSourceOutput) String() string {
13762	return awsutil.Prettify(s)
13763}
13764
13765// GoString returns the string representation
13766func (s DeleteDataSourceOutput) GoString() string {
13767	return s.String()
13768}
13769
13770// SetArn sets the Arn field's value.
13771func (s *DeleteDataSourceOutput) SetArn(v string) *DeleteDataSourceOutput {
13772	s.Arn = &v
13773	return s
13774}
13775
13776// SetDataSourceId sets the DataSourceId field's value.
13777func (s *DeleteDataSourceOutput) SetDataSourceId(v string) *DeleteDataSourceOutput {
13778	s.DataSourceId = &v
13779	return s
13780}
13781
13782// SetRequestId sets the RequestId field's value.
13783func (s *DeleteDataSourceOutput) SetRequestId(v string) *DeleteDataSourceOutput {
13784	s.RequestId = &v
13785	return s
13786}
13787
13788// SetStatus sets the Status field's value.
13789func (s *DeleteDataSourceOutput) SetStatus(v int64) *DeleteDataSourceOutput {
13790	s.Status = &v
13791	return s
13792}
13793
13794type DeleteGroupInput struct {
13795	_ struct{} `type:"structure"`
13796
13797	// The ID for the AWS account that the group is in. Currently, you use the ID
13798	// for the AWS account that contains your Amazon QuickSight account.
13799	//
13800	// AwsAccountId is a required field
13801	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
13802
13803	// The name of the group that you want to delete.
13804	//
13805	// GroupName is a required field
13806	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
13807
13808	// The namespace. Currently, you should set this to default.
13809	//
13810	// Namespace is a required field
13811	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
13812}
13813
13814// String returns the string representation
13815func (s DeleteGroupInput) String() string {
13816	return awsutil.Prettify(s)
13817}
13818
13819// GoString returns the string representation
13820func (s DeleteGroupInput) GoString() string {
13821	return s.String()
13822}
13823
13824// Validate inspects the fields of the type to determine if they are valid.
13825func (s *DeleteGroupInput) Validate() error {
13826	invalidParams := request.ErrInvalidParams{Context: "DeleteGroupInput"}
13827	if s.AwsAccountId == nil {
13828		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
13829	}
13830	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
13831		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
13832	}
13833	if s.GroupName == nil {
13834		invalidParams.Add(request.NewErrParamRequired("GroupName"))
13835	}
13836	if s.GroupName != nil && len(*s.GroupName) < 1 {
13837		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
13838	}
13839	if s.Namespace == nil {
13840		invalidParams.Add(request.NewErrParamRequired("Namespace"))
13841	}
13842	if s.Namespace != nil && len(*s.Namespace) < 1 {
13843		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
13844	}
13845
13846	if invalidParams.Len() > 0 {
13847		return invalidParams
13848	}
13849	return nil
13850}
13851
13852// SetAwsAccountId sets the AwsAccountId field's value.
13853func (s *DeleteGroupInput) SetAwsAccountId(v string) *DeleteGroupInput {
13854	s.AwsAccountId = &v
13855	return s
13856}
13857
13858// SetGroupName sets the GroupName field's value.
13859func (s *DeleteGroupInput) SetGroupName(v string) *DeleteGroupInput {
13860	s.GroupName = &v
13861	return s
13862}
13863
13864// SetNamespace sets the Namespace field's value.
13865func (s *DeleteGroupInput) SetNamespace(v string) *DeleteGroupInput {
13866	s.Namespace = &v
13867	return s
13868}
13869
13870type DeleteGroupMembershipInput struct {
13871	_ struct{} `type:"structure"`
13872
13873	// The ID for the AWS account that the group is in. Currently, you use the ID
13874	// for the AWS account that contains your Amazon QuickSight account.
13875	//
13876	// AwsAccountId is a required field
13877	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
13878
13879	// The name of the group that you want to delete the user from.
13880	//
13881	// GroupName is a required field
13882	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
13883
13884	// The name of the user that you want to delete from the group membership.
13885	//
13886	// MemberName is a required field
13887	MemberName *string `location:"uri" locationName:"MemberName" min:"1" type:"string" required:"true"`
13888
13889	// The namespace. Currently, you should set this to default.
13890	//
13891	// Namespace is a required field
13892	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
13893}
13894
13895// String returns the string representation
13896func (s DeleteGroupMembershipInput) String() string {
13897	return awsutil.Prettify(s)
13898}
13899
13900// GoString returns the string representation
13901func (s DeleteGroupMembershipInput) GoString() string {
13902	return s.String()
13903}
13904
13905// Validate inspects the fields of the type to determine if they are valid.
13906func (s *DeleteGroupMembershipInput) Validate() error {
13907	invalidParams := request.ErrInvalidParams{Context: "DeleteGroupMembershipInput"}
13908	if s.AwsAccountId == nil {
13909		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
13910	}
13911	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
13912		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
13913	}
13914	if s.GroupName == nil {
13915		invalidParams.Add(request.NewErrParamRequired("GroupName"))
13916	}
13917	if s.GroupName != nil && len(*s.GroupName) < 1 {
13918		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
13919	}
13920	if s.MemberName == nil {
13921		invalidParams.Add(request.NewErrParamRequired("MemberName"))
13922	}
13923	if s.MemberName != nil && len(*s.MemberName) < 1 {
13924		invalidParams.Add(request.NewErrParamMinLen("MemberName", 1))
13925	}
13926	if s.Namespace == nil {
13927		invalidParams.Add(request.NewErrParamRequired("Namespace"))
13928	}
13929	if s.Namespace != nil && len(*s.Namespace) < 1 {
13930		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
13931	}
13932
13933	if invalidParams.Len() > 0 {
13934		return invalidParams
13935	}
13936	return nil
13937}
13938
13939// SetAwsAccountId sets the AwsAccountId field's value.
13940func (s *DeleteGroupMembershipInput) SetAwsAccountId(v string) *DeleteGroupMembershipInput {
13941	s.AwsAccountId = &v
13942	return s
13943}
13944
13945// SetGroupName sets the GroupName field's value.
13946func (s *DeleteGroupMembershipInput) SetGroupName(v string) *DeleteGroupMembershipInput {
13947	s.GroupName = &v
13948	return s
13949}
13950
13951// SetMemberName sets the MemberName field's value.
13952func (s *DeleteGroupMembershipInput) SetMemberName(v string) *DeleteGroupMembershipInput {
13953	s.MemberName = &v
13954	return s
13955}
13956
13957// SetNamespace sets the Namespace field's value.
13958func (s *DeleteGroupMembershipInput) SetNamespace(v string) *DeleteGroupMembershipInput {
13959	s.Namespace = &v
13960	return s
13961}
13962
13963type DeleteGroupMembershipOutput struct {
13964	_ struct{} `type:"structure"`
13965
13966	// The AWS request ID for this operation.
13967	RequestId *string `type:"string"`
13968
13969	// The HTTP status of the request.
13970	Status *int64 `location:"statusCode" type:"integer"`
13971}
13972
13973// String returns the string representation
13974func (s DeleteGroupMembershipOutput) String() string {
13975	return awsutil.Prettify(s)
13976}
13977
13978// GoString returns the string representation
13979func (s DeleteGroupMembershipOutput) GoString() string {
13980	return s.String()
13981}
13982
13983// SetRequestId sets the RequestId field's value.
13984func (s *DeleteGroupMembershipOutput) SetRequestId(v string) *DeleteGroupMembershipOutput {
13985	s.RequestId = &v
13986	return s
13987}
13988
13989// SetStatus sets the Status field's value.
13990func (s *DeleteGroupMembershipOutput) SetStatus(v int64) *DeleteGroupMembershipOutput {
13991	s.Status = &v
13992	return s
13993}
13994
13995type DeleteGroupOutput struct {
13996	_ struct{} `type:"structure"`
13997
13998	// The AWS request ID for this operation.
13999	RequestId *string `type:"string"`
14000
14001	// The HTTP status of the request.
14002	Status *int64 `location:"statusCode" type:"integer"`
14003}
14004
14005// String returns the string representation
14006func (s DeleteGroupOutput) String() string {
14007	return awsutil.Prettify(s)
14008}
14009
14010// GoString returns the string representation
14011func (s DeleteGroupOutput) GoString() string {
14012	return s.String()
14013}
14014
14015// SetRequestId sets the RequestId field's value.
14016func (s *DeleteGroupOutput) SetRequestId(v string) *DeleteGroupOutput {
14017	s.RequestId = &v
14018	return s
14019}
14020
14021// SetStatus sets the Status field's value.
14022func (s *DeleteGroupOutput) SetStatus(v int64) *DeleteGroupOutput {
14023	s.Status = &v
14024	return s
14025}
14026
14027type DeleteIAMPolicyAssignmentInput struct {
14028	_ struct{} `type:"structure"`
14029
14030	// The name of the assignment.
14031	//
14032	// AssignmentName is a required field
14033	AssignmentName *string `location:"uri" locationName:"AssignmentName" min:"1" type:"string" required:"true"`
14034
14035	// The AWS account ID where you want to delete the IAM policy assignment.
14036	//
14037	// AwsAccountId is a required field
14038	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
14039
14040	// The namespace that contains the assignment.
14041	//
14042	// Namespace is a required field
14043	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
14044}
14045
14046// String returns the string representation
14047func (s DeleteIAMPolicyAssignmentInput) String() string {
14048	return awsutil.Prettify(s)
14049}
14050
14051// GoString returns the string representation
14052func (s DeleteIAMPolicyAssignmentInput) GoString() string {
14053	return s.String()
14054}
14055
14056// Validate inspects the fields of the type to determine if they are valid.
14057func (s *DeleteIAMPolicyAssignmentInput) Validate() error {
14058	invalidParams := request.ErrInvalidParams{Context: "DeleteIAMPolicyAssignmentInput"}
14059	if s.AssignmentName == nil {
14060		invalidParams.Add(request.NewErrParamRequired("AssignmentName"))
14061	}
14062	if s.AssignmentName != nil && len(*s.AssignmentName) < 1 {
14063		invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1))
14064	}
14065	if s.AwsAccountId == nil {
14066		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
14067	}
14068	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
14069		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
14070	}
14071	if s.Namespace == nil {
14072		invalidParams.Add(request.NewErrParamRequired("Namespace"))
14073	}
14074	if s.Namespace != nil && len(*s.Namespace) < 1 {
14075		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
14076	}
14077
14078	if invalidParams.Len() > 0 {
14079		return invalidParams
14080	}
14081	return nil
14082}
14083
14084// SetAssignmentName sets the AssignmentName field's value.
14085func (s *DeleteIAMPolicyAssignmentInput) SetAssignmentName(v string) *DeleteIAMPolicyAssignmentInput {
14086	s.AssignmentName = &v
14087	return s
14088}
14089
14090// SetAwsAccountId sets the AwsAccountId field's value.
14091func (s *DeleteIAMPolicyAssignmentInput) SetAwsAccountId(v string) *DeleteIAMPolicyAssignmentInput {
14092	s.AwsAccountId = &v
14093	return s
14094}
14095
14096// SetNamespace sets the Namespace field's value.
14097func (s *DeleteIAMPolicyAssignmentInput) SetNamespace(v string) *DeleteIAMPolicyAssignmentInput {
14098	s.Namespace = &v
14099	return s
14100}
14101
14102type DeleteIAMPolicyAssignmentOutput struct {
14103	_ struct{} `type:"structure"`
14104
14105	// The name of the assignment.
14106	AssignmentName *string `min:"1" type:"string"`
14107
14108	// The AWS request ID for this operation.
14109	RequestId *string `type:"string"`
14110
14111	// The HTTP status of the request.
14112	Status *int64 `location:"statusCode" type:"integer"`
14113}
14114
14115// String returns the string representation
14116func (s DeleteIAMPolicyAssignmentOutput) String() string {
14117	return awsutil.Prettify(s)
14118}
14119
14120// GoString returns the string representation
14121func (s DeleteIAMPolicyAssignmentOutput) GoString() string {
14122	return s.String()
14123}
14124
14125// SetAssignmentName sets the AssignmentName field's value.
14126func (s *DeleteIAMPolicyAssignmentOutput) SetAssignmentName(v string) *DeleteIAMPolicyAssignmentOutput {
14127	s.AssignmentName = &v
14128	return s
14129}
14130
14131// SetRequestId sets the RequestId field's value.
14132func (s *DeleteIAMPolicyAssignmentOutput) SetRequestId(v string) *DeleteIAMPolicyAssignmentOutput {
14133	s.RequestId = &v
14134	return s
14135}
14136
14137// SetStatus sets the Status field's value.
14138func (s *DeleteIAMPolicyAssignmentOutput) SetStatus(v int64) *DeleteIAMPolicyAssignmentOutput {
14139	s.Status = &v
14140	return s
14141}
14142
14143type DeleteTemplateAliasInput struct {
14144	_ struct{} `type:"structure"`
14145
14146	// The name for the template alias. To delete a specific alias, you delete the
14147	// version that the alias points to. You can specify the alias name, or specify
14148	// the latest version of the template by providing the keyword $LATEST in the
14149	// AliasName parameter.
14150	//
14151	// AliasName is a required field
14152	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
14153
14154	// The ID of the AWS account that contains the item to delete.
14155	//
14156	// AwsAccountId is a required field
14157	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
14158
14159	// The ID for the template that the specified alias is for.
14160	//
14161	// TemplateId is a required field
14162	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
14163}
14164
14165// String returns the string representation
14166func (s DeleteTemplateAliasInput) String() string {
14167	return awsutil.Prettify(s)
14168}
14169
14170// GoString returns the string representation
14171func (s DeleteTemplateAliasInput) GoString() string {
14172	return s.String()
14173}
14174
14175// Validate inspects the fields of the type to determine if they are valid.
14176func (s *DeleteTemplateAliasInput) Validate() error {
14177	invalidParams := request.ErrInvalidParams{Context: "DeleteTemplateAliasInput"}
14178	if s.AliasName == nil {
14179		invalidParams.Add(request.NewErrParamRequired("AliasName"))
14180	}
14181	if s.AliasName != nil && len(*s.AliasName) < 1 {
14182		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
14183	}
14184	if s.AwsAccountId == nil {
14185		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
14186	}
14187	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
14188		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
14189	}
14190	if s.TemplateId == nil {
14191		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
14192	}
14193	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
14194		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
14195	}
14196
14197	if invalidParams.Len() > 0 {
14198		return invalidParams
14199	}
14200	return nil
14201}
14202
14203// SetAliasName sets the AliasName field's value.
14204func (s *DeleteTemplateAliasInput) SetAliasName(v string) *DeleteTemplateAliasInput {
14205	s.AliasName = &v
14206	return s
14207}
14208
14209// SetAwsAccountId sets the AwsAccountId field's value.
14210func (s *DeleteTemplateAliasInput) SetAwsAccountId(v string) *DeleteTemplateAliasInput {
14211	s.AwsAccountId = &v
14212	return s
14213}
14214
14215// SetTemplateId sets the TemplateId field's value.
14216func (s *DeleteTemplateAliasInput) SetTemplateId(v string) *DeleteTemplateAliasInput {
14217	s.TemplateId = &v
14218	return s
14219}
14220
14221type DeleteTemplateAliasOutput struct {
14222	_ struct{} `type:"structure"`
14223
14224	// The name for the template alias.
14225	AliasName *string `min:"1" type:"string"`
14226
14227	// The Amazon Resource Name (ARN) of the template you want to delete.
14228	Arn *string `type:"string"`
14229
14230	// The AWS request ID for this operation.
14231	RequestId *string `type:"string"`
14232
14233	// The HTTP status of the request.
14234	Status *int64 `location:"statusCode" type:"integer"`
14235
14236	// An ID for the template associated with the deletion.
14237	TemplateId *string `min:"1" type:"string"`
14238}
14239
14240// String returns the string representation
14241func (s DeleteTemplateAliasOutput) String() string {
14242	return awsutil.Prettify(s)
14243}
14244
14245// GoString returns the string representation
14246func (s DeleteTemplateAliasOutput) GoString() string {
14247	return s.String()
14248}
14249
14250// SetAliasName sets the AliasName field's value.
14251func (s *DeleteTemplateAliasOutput) SetAliasName(v string) *DeleteTemplateAliasOutput {
14252	s.AliasName = &v
14253	return s
14254}
14255
14256// SetArn sets the Arn field's value.
14257func (s *DeleteTemplateAliasOutput) SetArn(v string) *DeleteTemplateAliasOutput {
14258	s.Arn = &v
14259	return s
14260}
14261
14262// SetRequestId sets the RequestId field's value.
14263func (s *DeleteTemplateAliasOutput) SetRequestId(v string) *DeleteTemplateAliasOutput {
14264	s.RequestId = &v
14265	return s
14266}
14267
14268// SetStatus sets the Status field's value.
14269func (s *DeleteTemplateAliasOutput) SetStatus(v int64) *DeleteTemplateAliasOutput {
14270	s.Status = &v
14271	return s
14272}
14273
14274// SetTemplateId sets the TemplateId field's value.
14275func (s *DeleteTemplateAliasOutput) SetTemplateId(v string) *DeleteTemplateAliasOutput {
14276	s.TemplateId = &v
14277	return s
14278}
14279
14280type DeleteTemplateInput struct {
14281	_ struct{} `type:"structure"`
14282
14283	// The ID of the AWS account that contains the template that you're deleting.
14284	//
14285	// AwsAccountId is a required field
14286	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
14287
14288	// An ID for the template you want to delete.
14289	//
14290	// TemplateId is a required field
14291	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
14292
14293	// Specifies the version of the template that you want to delete. If you don't
14294	// provide a version number, DeleteTemplate deletes all versions of the template.
14295	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
14296}
14297
14298// String returns the string representation
14299func (s DeleteTemplateInput) String() string {
14300	return awsutil.Prettify(s)
14301}
14302
14303// GoString returns the string representation
14304func (s DeleteTemplateInput) GoString() string {
14305	return s.String()
14306}
14307
14308// Validate inspects the fields of the type to determine if they are valid.
14309func (s *DeleteTemplateInput) Validate() error {
14310	invalidParams := request.ErrInvalidParams{Context: "DeleteTemplateInput"}
14311	if s.AwsAccountId == nil {
14312		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
14313	}
14314	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
14315		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
14316	}
14317	if s.TemplateId == nil {
14318		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
14319	}
14320	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
14321		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
14322	}
14323	if s.VersionNumber != nil && *s.VersionNumber < 1 {
14324		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
14325	}
14326
14327	if invalidParams.Len() > 0 {
14328		return invalidParams
14329	}
14330	return nil
14331}
14332
14333// SetAwsAccountId sets the AwsAccountId field's value.
14334func (s *DeleteTemplateInput) SetAwsAccountId(v string) *DeleteTemplateInput {
14335	s.AwsAccountId = &v
14336	return s
14337}
14338
14339// SetTemplateId sets the TemplateId field's value.
14340func (s *DeleteTemplateInput) SetTemplateId(v string) *DeleteTemplateInput {
14341	s.TemplateId = &v
14342	return s
14343}
14344
14345// SetVersionNumber sets the VersionNumber field's value.
14346func (s *DeleteTemplateInput) SetVersionNumber(v int64) *DeleteTemplateInput {
14347	s.VersionNumber = &v
14348	return s
14349}
14350
14351type DeleteTemplateOutput struct {
14352	_ struct{} `type:"structure"`
14353
14354	// The Amazon Resource Name (ARN) of the resource.
14355	Arn *string `type:"string"`
14356
14357	// The AWS request ID for this operation.
14358	RequestId *string `type:"string"`
14359
14360	// The HTTP status of the request.
14361	Status *int64 `location:"statusCode" type:"integer"`
14362
14363	// An ID for the template.
14364	TemplateId *string `min:"1" type:"string"`
14365}
14366
14367// String returns the string representation
14368func (s DeleteTemplateOutput) String() string {
14369	return awsutil.Prettify(s)
14370}
14371
14372// GoString returns the string representation
14373func (s DeleteTemplateOutput) GoString() string {
14374	return s.String()
14375}
14376
14377// SetArn sets the Arn field's value.
14378func (s *DeleteTemplateOutput) SetArn(v string) *DeleteTemplateOutput {
14379	s.Arn = &v
14380	return s
14381}
14382
14383// SetRequestId sets the RequestId field's value.
14384func (s *DeleteTemplateOutput) SetRequestId(v string) *DeleteTemplateOutput {
14385	s.RequestId = &v
14386	return s
14387}
14388
14389// SetStatus sets the Status field's value.
14390func (s *DeleteTemplateOutput) SetStatus(v int64) *DeleteTemplateOutput {
14391	s.Status = &v
14392	return s
14393}
14394
14395// SetTemplateId sets the TemplateId field's value.
14396func (s *DeleteTemplateOutput) SetTemplateId(v string) *DeleteTemplateOutput {
14397	s.TemplateId = &v
14398	return s
14399}
14400
14401type DeleteThemeAliasInput struct {
14402	_ struct{} `type:"structure"`
14403
14404	// The unique name for the theme alias to delete.
14405	//
14406	// AliasName is a required field
14407	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
14408
14409	// The ID of the AWS account that contains the theme alias to delete.
14410	//
14411	// AwsAccountId is a required field
14412	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
14413
14414	// The ID for the theme that the specified alias is for.
14415	//
14416	// ThemeId is a required field
14417	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
14418}
14419
14420// String returns the string representation
14421func (s DeleteThemeAliasInput) String() string {
14422	return awsutil.Prettify(s)
14423}
14424
14425// GoString returns the string representation
14426func (s DeleteThemeAliasInput) GoString() string {
14427	return s.String()
14428}
14429
14430// Validate inspects the fields of the type to determine if they are valid.
14431func (s *DeleteThemeAliasInput) Validate() error {
14432	invalidParams := request.ErrInvalidParams{Context: "DeleteThemeAliasInput"}
14433	if s.AliasName == nil {
14434		invalidParams.Add(request.NewErrParamRequired("AliasName"))
14435	}
14436	if s.AliasName != nil && len(*s.AliasName) < 1 {
14437		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
14438	}
14439	if s.AwsAccountId == nil {
14440		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
14441	}
14442	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
14443		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
14444	}
14445	if s.ThemeId == nil {
14446		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
14447	}
14448	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
14449		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
14450	}
14451
14452	if invalidParams.Len() > 0 {
14453		return invalidParams
14454	}
14455	return nil
14456}
14457
14458// SetAliasName sets the AliasName field's value.
14459func (s *DeleteThemeAliasInput) SetAliasName(v string) *DeleteThemeAliasInput {
14460	s.AliasName = &v
14461	return s
14462}
14463
14464// SetAwsAccountId sets the AwsAccountId field's value.
14465func (s *DeleteThemeAliasInput) SetAwsAccountId(v string) *DeleteThemeAliasInput {
14466	s.AwsAccountId = &v
14467	return s
14468}
14469
14470// SetThemeId sets the ThemeId field's value.
14471func (s *DeleteThemeAliasInput) SetThemeId(v string) *DeleteThemeAliasInput {
14472	s.ThemeId = &v
14473	return s
14474}
14475
14476type DeleteThemeAliasOutput struct {
14477	_ struct{} `type:"structure"`
14478
14479	// The name for the theme alias.
14480	AliasName *string `min:"1" type:"string"`
14481
14482	// The Amazon Resource Name (ARN) of the theme resource using the deleted alias.
14483	Arn *string `type:"string"`
14484
14485	// The AWS request ID for this operation.
14486	RequestId *string `type:"string"`
14487
14488	// The HTTP status of the request.
14489	Status *int64 `location:"statusCode" type:"integer"`
14490
14491	// An ID for the theme associated with the deletion.
14492	ThemeId *string `min:"1" type:"string"`
14493}
14494
14495// String returns the string representation
14496func (s DeleteThemeAliasOutput) String() string {
14497	return awsutil.Prettify(s)
14498}
14499
14500// GoString returns the string representation
14501func (s DeleteThemeAliasOutput) GoString() string {
14502	return s.String()
14503}
14504
14505// SetAliasName sets the AliasName field's value.
14506func (s *DeleteThemeAliasOutput) SetAliasName(v string) *DeleteThemeAliasOutput {
14507	s.AliasName = &v
14508	return s
14509}
14510
14511// SetArn sets the Arn field's value.
14512func (s *DeleteThemeAliasOutput) SetArn(v string) *DeleteThemeAliasOutput {
14513	s.Arn = &v
14514	return s
14515}
14516
14517// SetRequestId sets the RequestId field's value.
14518func (s *DeleteThemeAliasOutput) SetRequestId(v string) *DeleteThemeAliasOutput {
14519	s.RequestId = &v
14520	return s
14521}
14522
14523// SetStatus sets the Status field's value.
14524func (s *DeleteThemeAliasOutput) SetStatus(v int64) *DeleteThemeAliasOutput {
14525	s.Status = &v
14526	return s
14527}
14528
14529// SetThemeId sets the ThemeId field's value.
14530func (s *DeleteThemeAliasOutput) SetThemeId(v string) *DeleteThemeAliasOutput {
14531	s.ThemeId = &v
14532	return s
14533}
14534
14535type DeleteThemeInput struct {
14536	_ struct{} `type:"structure"`
14537
14538	// The ID of the AWS account that contains the theme that you're deleting.
14539	//
14540	// AwsAccountId is a required field
14541	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
14542
14543	// An ID for the theme that you want to delete.
14544	//
14545	// ThemeId is a required field
14546	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
14547
14548	// The version of the theme that you want to delete.
14549	//
14550	// Note: If you don't provide a version number, you're using this call to DeleteTheme
14551	// to delete all versions of the theme.
14552	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
14553}
14554
14555// String returns the string representation
14556func (s DeleteThemeInput) String() string {
14557	return awsutil.Prettify(s)
14558}
14559
14560// GoString returns the string representation
14561func (s DeleteThemeInput) GoString() string {
14562	return s.String()
14563}
14564
14565// Validate inspects the fields of the type to determine if they are valid.
14566func (s *DeleteThemeInput) Validate() error {
14567	invalidParams := request.ErrInvalidParams{Context: "DeleteThemeInput"}
14568	if s.AwsAccountId == nil {
14569		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
14570	}
14571	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
14572		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
14573	}
14574	if s.ThemeId == nil {
14575		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
14576	}
14577	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
14578		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
14579	}
14580	if s.VersionNumber != nil && *s.VersionNumber < 1 {
14581		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
14582	}
14583
14584	if invalidParams.Len() > 0 {
14585		return invalidParams
14586	}
14587	return nil
14588}
14589
14590// SetAwsAccountId sets the AwsAccountId field's value.
14591func (s *DeleteThemeInput) SetAwsAccountId(v string) *DeleteThemeInput {
14592	s.AwsAccountId = &v
14593	return s
14594}
14595
14596// SetThemeId sets the ThemeId field's value.
14597func (s *DeleteThemeInput) SetThemeId(v string) *DeleteThemeInput {
14598	s.ThemeId = &v
14599	return s
14600}
14601
14602// SetVersionNumber sets the VersionNumber field's value.
14603func (s *DeleteThemeInput) SetVersionNumber(v int64) *DeleteThemeInput {
14604	s.VersionNumber = &v
14605	return s
14606}
14607
14608type DeleteThemeOutput struct {
14609	_ struct{} `type:"structure"`
14610
14611	// The Amazon Resource Name (ARN) of the resource.
14612	Arn *string `type:"string"`
14613
14614	// The AWS request ID for this operation.
14615	RequestId *string `type:"string"`
14616
14617	// The HTTP status of the request.
14618	Status *int64 `location:"statusCode" type:"integer"`
14619
14620	// An ID for the theme.
14621	ThemeId *string `min:"1" type:"string"`
14622}
14623
14624// String returns the string representation
14625func (s DeleteThemeOutput) String() string {
14626	return awsutil.Prettify(s)
14627}
14628
14629// GoString returns the string representation
14630func (s DeleteThemeOutput) GoString() string {
14631	return s.String()
14632}
14633
14634// SetArn sets the Arn field's value.
14635func (s *DeleteThemeOutput) SetArn(v string) *DeleteThemeOutput {
14636	s.Arn = &v
14637	return s
14638}
14639
14640// SetRequestId sets the RequestId field's value.
14641func (s *DeleteThemeOutput) SetRequestId(v string) *DeleteThemeOutput {
14642	s.RequestId = &v
14643	return s
14644}
14645
14646// SetStatus sets the Status field's value.
14647func (s *DeleteThemeOutput) SetStatus(v int64) *DeleteThemeOutput {
14648	s.Status = &v
14649	return s
14650}
14651
14652// SetThemeId sets the ThemeId field's value.
14653func (s *DeleteThemeOutput) SetThemeId(v string) *DeleteThemeOutput {
14654	s.ThemeId = &v
14655	return s
14656}
14657
14658type DeleteUserByPrincipalIdInput struct {
14659	_ struct{} `type:"structure"`
14660
14661	// The ID for the AWS account that the user is in. Currently, you use the ID
14662	// for the AWS account that contains your Amazon QuickSight account.
14663	//
14664	// AwsAccountId is a required field
14665	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
14666
14667	// The namespace. Currently, you should set this to default.
14668	//
14669	// Namespace is a required field
14670	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
14671
14672	// The principal ID of the user.
14673	//
14674	// PrincipalId is a required field
14675	PrincipalId *string `location:"uri" locationName:"PrincipalId" type:"string" required:"true"`
14676}
14677
14678// String returns the string representation
14679func (s DeleteUserByPrincipalIdInput) String() string {
14680	return awsutil.Prettify(s)
14681}
14682
14683// GoString returns the string representation
14684func (s DeleteUserByPrincipalIdInput) GoString() string {
14685	return s.String()
14686}
14687
14688// Validate inspects the fields of the type to determine if they are valid.
14689func (s *DeleteUserByPrincipalIdInput) Validate() error {
14690	invalidParams := request.ErrInvalidParams{Context: "DeleteUserByPrincipalIdInput"}
14691	if s.AwsAccountId == nil {
14692		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
14693	}
14694	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
14695		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
14696	}
14697	if s.Namespace == nil {
14698		invalidParams.Add(request.NewErrParamRequired("Namespace"))
14699	}
14700	if s.Namespace != nil && len(*s.Namespace) < 1 {
14701		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
14702	}
14703	if s.PrincipalId == nil {
14704		invalidParams.Add(request.NewErrParamRequired("PrincipalId"))
14705	}
14706	if s.PrincipalId != nil && len(*s.PrincipalId) < 1 {
14707		invalidParams.Add(request.NewErrParamMinLen("PrincipalId", 1))
14708	}
14709
14710	if invalidParams.Len() > 0 {
14711		return invalidParams
14712	}
14713	return nil
14714}
14715
14716// SetAwsAccountId sets the AwsAccountId field's value.
14717func (s *DeleteUserByPrincipalIdInput) SetAwsAccountId(v string) *DeleteUserByPrincipalIdInput {
14718	s.AwsAccountId = &v
14719	return s
14720}
14721
14722// SetNamespace sets the Namespace field's value.
14723func (s *DeleteUserByPrincipalIdInput) SetNamespace(v string) *DeleteUserByPrincipalIdInput {
14724	s.Namespace = &v
14725	return s
14726}
14727
14728// SetPrincipalId sets the PrincipalId field's value.
14729func (s *DeleteUserByPrincipalIdInput) SetPrincipalId(v string) *DeleteUserByPrincipalIdInput {
14730	s.PrincipalId = &v
14731	return s
14732}
14733
14734type DeleteUserByPrincipalIdOutput struct {
14735	_ struct{} `type:"structure"`
14736
14737	// The AWS request ID for this operation.
14738	RequestId *string `type:"string"`
14739
14740	// The HTTP status of the request.
14741	Status *int64 `location:"statusCode" type:"integer"`
14742}
14743
14744// String returns the string representation
14745func (s DeleteUserByPrincipalIdOutput) String() string {
14746	return awsutil.Prettify(s)
14747}
14748
14749// GoString returns the string representation
14750func (s DeleteUserByPrincipalIdOutput) GoString() string {
14751	return s.String()
14752}
14753
14754// SetRequestId sets the RequestId field's value.
14755func (s *DeleteUserByPrincipalIdOutput) SetRequestId(v string) *DeleteUserByPrincipalIdOutput {
14756	s.RequestId = &v
14757	return s
14758}
14759
14760// SetStatus sets the Status field's value.
14761func (s *DeleteUserByPrincipalIdOutput) SetStatus(v int64) *DeleteUserByPrincipalIdOutput {
14762	s.Status = &v
14763	return s
14764}
14765
14766type DeleteUserInput struct {
14767	_ struct{} `type:"structure"`
14768
14769	// The ID for the AWS account that the user is in. Currently, you use the ID
14770	// for the AWS account that contains your Amazon QuickSight account.
14771	//
14772	// AwsAccountId is a required field
14773	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
14774
14775	// The namespace. Currently, you should set this to default.
14776	//
14777	// Namespace is a required field
14778	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
14779
14780	// The name of the user that you want to delete.
14781	//
14782	// UserName is a required field
14783	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
14784}
14785
14786// String returns the string representation
14787func (s DeleteUserInput) String() string {
14788	return awsutil.Prettify(s)
14789}
14790
14791// GoString returns the string representation
14792func (s DeleteUserInput) GoString() string {
14793	return s.String()
14794}
14795
14796// Validate inspects the fields of the type to determine if they are valid.
14797func (s *DeleteUserInput) Validate() error {
14798	invalidParams := request.ErrInvalidParams{Context: "DeleteUserInput"}
14799	if s.AwsAccountId == nil {
14800		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
14801	}
14802	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
14803		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
14804	}
14805	if s.Namespace == nil {
14806		invalidParams.Add(request.NewErrParamRequired("Namespace"))
14807	}
14808	if s.Namespace != nil && len(*s.Namespace) < 1 {
14809		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
14810	}
14811	if s.UserName == nil {
14812		invalidParams.Add(request.NewErrParamRequired("UserName"))
14813	}
14814	if s.UserName != nil && len(*s.UserName) < 1 {
14815		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
14816	}
14817
14818	if invalidParams.Len() > 0 {
14819		return invalidParams
14820	}
14821	return nil
14822}
14823
14824// SetAwsAccountId sets the AwsAccountId field's value.
14825func (s *DeleteUserInput) SetAwsAccountId(v string) *DeleteUserInput {
14826	s.AwsAccountId = &v
14827	return s
14828}
14829
14830// SetNamespace sets the Namespace field's value.
14831func (s *DeleteUserInput) SetNamespace(v string) *DeleteUserInput {
14832	s.Namespace = &v
14833	return s
14834}
14835
14836// SetUserName sets the UserName field's value.
14837func (s *DeleteUserInput) SetUserName(v string) *DeleteUserInput {
14838	s.UserName = &v
14839	return s
14840}
14841
14842type DeleteUserOutput struct {
14843	_ struct{} `type:"structure"`
14844
14845	// The AWS request ID for this operation.
14846	RequestId *string `type:"string"`
14847
14848	// The HTTP status of the request.
14849	Status *int64 `location:"statusCode" type:"integer"`
14850}
14851
14852// String returns the string representation
14853func (s DeleteUserOutput) String() string {
14854	return awsutil.Prettify(s)
14855}
14856
14857// GoString returns the string representation
14858func (s DeleteUserOutput) GoString() string {
14859	return s.String()
14860}
14861
14862// SetRequestId sets the RequestId field's value.
14863func (s *DeleteUserOutput) SetRequestId(v string) *DeleteUserOutput {
14864	s.RequestId = &v
14865	return s
14866}
14867
14868// SetStatus sets the Status field's value.
14869func (s *DeleteUserOutput) SetStatus(v int64) *DeleteUserOutput {
14870	s.Status = &v
14871	return s
14872}
14873
14874type DescribeDashboardInput struct {
14875	_ struct{} `type:"structure"`
14876
14877	// The alias name.
14878	AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"`
14879
14880	// The ID of the AWS account that contains the dashboard that you're describing.
14881	//
14882	// AwsAccountId is a required field
14883	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
14884
14885	// The ID for the dashboard.
14886	//
14887	// DashboardId is a required field
14888	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
14889
14890	// The version number for the dashboard. If a version number isn't passed, the
14891	// latest published dashboard version is described.
14892	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
14893}
14894
14895// String returns the string representation
14896func (s DescribeDashboardInput) String() string {
14897	return awsutil.Prettify(s)
14898}
14899
14900// GoString returns the string representation
14901func (s DescribeDashboardInput) GoString() string {
14902	return s.String()
14903}
14904
14905// Validate inspects the fields of the type to determine if they are valid.
14906func (s *DescribeDashboardInput) Validate() error {
14907	invalidParams := request.ErrInvalidParams{Context: "DescribeDashboardInput"}
14908	if s.AliasName != nil && len(*s.AliasName) < 1 {
14909		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
14910	}
14911	if s.AwsAccountId == nil {
14912		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
14913	}
14914	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
14915		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
14916	}
14917	if s.DashboardId == nil {
14918		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
14919	}
14920	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
14921		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
14922	}
14923	if s.VersionNumber != nil && *s.VersionNumber < 1 {
14924		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
14925	}
14926
14927	if invalidParams.Len() > 0 {
14928		return invalidParams
14929	}
14930	return nil
14931}
14932
14933// SetAliasName sets the AliasName field's value.
14934func (s *DescribeDashboardInput) SetAliasName(v string) *DescribeDashboardInput {
14935	s.AliasName = &v
14936	return s
14937}
14938
14939// SetAwsAccountId sets the AwsAccountId field's value.
14940func (s *DescribeDashboardInput) SetAwsAccountId(v string) *DescribeDashboardInput {
14941	s.AwsAccountId = &v
14942	return s
14943}
14944
14945// SetDashboardId sets the DashboardId field's value.
14946func (s *DescribeDashboardInput) SetDashboardId(v string) *DescribeDashboardInput {
14947	s.DashboardId = &v
14948	return s
14949}
14950
14951// SetVersionNumber sets the VersionNumber field's value.
14952func (s *DescribeDashboardInput) SetVersionNumber(v int64) *DescribeDashboardInput {
14953	s.VersionNumber = &v
14954	return s
14955}
14956
14957type DescribeDashboardOutput struct {
14958	_ struct{} `type:"structure"`
14959
14960	// Information about the dashboard.
14961	Dashboard *Dashboard `type:"structure"`
14962
14963	// The AWS request ID for this operation.
14964	RequestId *string `type:"string"`
14965
14966	// The HTTP status of this request.
14967	Status *int64 `location:"statusCode" type:"integer"`
14968}
14969
14970// String returns the string representation
14971func (s DescribeDashboardOutput) String() string {
14972	return awsutil.Prettify(s)
14973}
14974
14975// GoString returns the string representation
14976func (s DescribeDashboardOutput) GoString() string {
14977	return s.String()
14978}
14979
14980// SetDashboard sets the Dashboard field's value.
14981func (s *DescribeDashboardOutput) SetDashboard(v *Dashboard) *DescribeDashboardOutput {
14982	s.Dashboard = v
14983	return s
14984}
14985
14986// SetRequestId sets the RequestId field's value.
14987func (s *DescribeDashboardOutput) SetRequestId(v string) *DescribeDashboardOutput {
14988	s.RequestId = &v
14989	return s
14990}
14991
14992// SetStatus sets the Status field's value.
14993func (s *DescribeDashboardOutput) SetStatus(v int64) *DescribeDashboardOutput {
14994	s.Status = &v
14995	return s
14996}
14997
14998type DescribeDashboardPermissionsInput struct {
14999	_ struct{} `type:"structure"`
15000
15001	// The ID of the AWS account that contains the dashboard that you're describing
15002	// permissions for.
15003	//
15004	// AwsAccountId is a required field
15005	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
15006
15007	// The ID for the dashboard, also added to the IAM policy.
15008	//
15009	// DashboardId is a required field
15010	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
15011}
15012
15013// String returns the string representation
15014func (s DescribeDashboardPermissionsInput) String() string {
15015	return awsutil.Prettify(s)
15016}
15017
15018// GoString returns the string representation
15019func (s DescribeDashboardPermissionsInput) GoString() string {
15020	return s.String()
15021}
15022
15023// Validate inspects the fields of the type to determine if they are valid.
15024func (s *DescribeDashboardPermissionsInput) Validate() error {
15025	invalidParams := request.ErrInvalidParams{Context: "DescribeDashboardPermissionsInput"}
15026	if s.AwsAccountId == nil {
15027		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
15028	}
15029	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
15030		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
15031	}
15032	if s.DashboardId == nil {
15033		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
15034	}
15035	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
15036		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
15037	}
15038
15039	if invalidParams.Len() > 0 {
15040		return invalidParams
15041	}
15042	return nil
15043}
15044
15045// SetAwsAccountId sets the AwsAccountId field's value.
15046func (s *DescribeDashboardPermissionsInput) SetAwsAccountId(v string) *DescribeDashboardPermissionsInput {
15047	s.AwsAccountId = &v
15048	return s
15049}
15050
15051// SetDashboardId sets the DashboardId field's value.
15052func (s *DescribeDashboardPermissionsInput) SetDashboardId(v string) *DescribeDashboardPermissionsInput {
15053	s.DashboardId = &v
15054	return s
15055}
15056
15057type DescribeDashboardPermissionsOutput struct {
15058	_ struct{} `type:"structure"`
15059
15060	// The Amazon Resource Name (ARN) of the dashboard.
15061	DashboardArn *string `type:"string"`
15062
15063	// The ID for the dashboard.
15064	DashboardId *string `min:"1" type:"string"`
15065
15066	// A structure that contains the permissions for the dashboard.
15067	Permissions []*ResourcePermission `min:"1" type:"list"`
15068
15069	// The AWS request ID for this operation.
15070	RequestId *string `type:"string"`
15071
15072	// The HTTP status of the request.
15073	Status *int64 `location:"statusCode" type:"integer"`
15074}
15075
15076// String returns the string representation
15077func (s DescribeDashboardPermissionsOutput) String() string {
15078	return awsutil.Prettify(s)
15079}
15080
15081// GoString returns the string representation
15082func (s DescribeDashboardPermissionsOutput) GoString() string {
15083	return s.String()
15084}
15085
15086// SetDashboardArn sets the DashboardArn field's value.
15087func (s *DescribeDashboardPermissionsOutput) SetDashboardArn(v string) *DescribeDashboardPermissionsOutput {
15088	s.DashboardArn = &v
15089	return s
15090}
15091
15092// SetDashboardId sets the DashboardId field's value.
15093func (s *DescribeDashboardPermissionsOutput) SetDashboardId(v string) *DescribeDashboardPermissionsOutput {
15094	s.DashboardId = &v
15095	return s
15096}
15097
15098// SetPermissions sets the Permissions field's value.
15099func (s *DescribeDashboardPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeDashboardPermissionsOutput {
15100	s.Permissions = v
15101	return s
15102}
15103
15104// SetRequestId sets the RequestId field's value.
15105func (s *DescribeDashboardPermissionsOutput) SetRequestId(v string) *DescribeDashboardPermissionsOutput {
15106	s.RequestId = &v
15107	return s
15108}
15109
15110// SetStatus sets the Status field's value.
15111func (s *DescribeDashboardPermissionsOutput) SetStatus(v int64) *DescribeDashboardPermissionsOutput {
15112	s.Status = &v
15113	return s
15114}
15115
15116type DescribeDataSetInput struct {
15117	_ struct{} `type:"structure"`
15118
15119	// The AWS account ID.
15120	//
15121	// AwsAccountId is a required field
15122	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
15123
15124	// The ID for the dataset that you want to create. This ID is unique per AWS
15125	// Region for each AWS account.
15126	//
15127	// DataSetId is a required field
15128	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
15129}
15130
15131// String returns the string representation
15132func (s DescribeDataSetInput) String() string {
15133	return awsutil.Prettify(s)
15134}
15135
15136// GoString returns the string representation
15137func (s DescribeDataSetInput) GoString() string {
15138	return s.String()
15139}
15140
15141// Validate inspects the fields of the type to determine if they are valid.
15142func (s *DescribeDataSetInput) Validate() error {
15143	invalidParams := request.ErrInvalidParams{Context: "DescribeDataSetInput"}
15144	if s.AwsAccountId == nil {
15145		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
15146	}
15147	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
15148		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
15149	}
15150	if s.DataSetId == nil {
15151		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
15152	}
15153	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
15154		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
15155	}
15156
15157	if invalidParams.Len() > 0 {
15158		return invalidParams
15159	}
15160	return nil
15161}
15162
15163// SetAwsAccountId sets the AwsAccountId field's value.
15164func (s *DescribeDataSetInput) SetAwsAccountId(v string) *DescribeDataSetInput {
15165	s.AwsAccountId = &v
15166	return s
15167}
15168
15169// SetDataSetId sets the DataSetId field's value.
15170func (s *DescribeDataSetInput) SetDataSetId(v string) *DescribeDataSetInput {
15171	s.DataSetId = &v
15172	return s
15173}
15174
15175type DescribeDataSetOutput struct {
15176	_ struct{} `type:"structure"`
15177
15178	// Information on the dataset.
15179	DataSet *DataSet `type:"structure"`
15180
15181	// The AWS request ID for this operation.
15182	RequestId *string `type:"string"`
15183
15184	// The HTTP status of the request.
15185	Status *int64 `location:"statusCode" type:"integer"`
15186}
15187
15188// String returns the string representation
15189func (s DescribeDataSetOutput) String() string {
15190	return awsutil.Prettify(s)
15191}
15192
15193// GoString returns the string representation
15194func (s DescribeDataSetOutput) GoString() string {
15195	return s.String()
15196}
15197
15198// SetDataSet sets the DataSet field's value.
15199func (s *DescribeDataSetOutput) SetDataSet(v *DataSet) *DescribeDataSetOutput {
15200	s.DataSet = v
15201	return s
15202}
15203
15204// SetRequestId sets the RequestId field's value.
15205func (s *DescribeDataSetOutput) SetRequestId(v string) *DescribeDataSetOutput {
15206	s.RequestId = &v
15207	return s
15208}
15209
15210// SetStatus sets the Status field's value.
15211func (s *DescribeDataSetOutput) SetStatus(v int64) *DescribeDataSetOutput {
15212	s.Status = &v
15213	return s
15214}
15215
15216type DescribeDataSetPermissionsInput struct {
15217	_ struct{} `type:"structure"`
15218
15219	// The AWS account ID.
15220	//
15221	// AwsAccountId is a required field
15222	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
15223
15224	// The ID for the dataset that you want to create. This ID is unique per AWS
15225	// Region for each AWS account.
15226	//
15227	// DataSetId is a required field
15228	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
15229}
15230
15231// String returns the string representation
15232func (s DescribeDataSetPermissionsInput) String() string {
15233	return awsutil.Prettify(s)
15234}
15235
15236// GoString returns the string representation
15237func (s DescribeDataSetPermissionsInput) GoString() string {
15238	return s.String()
15239}
15240
15241// Validate inspects the fields of the type to determine if they are valid.
15242func (s *DescribeDataSetPermissionsInput) Validate() error {
15243	invalidParams := request.ErrInvalidParams{Context: "DescribeDataSetPermissionsInput"}
15244	if s.AwsAccountId == nil {
15245		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
15246	}
15247	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
15248		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
15249	}
15250	if s.DataSetId == nil {
15251		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
15252	}
15253	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
15254		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
15255	}
15256
15257	if invalidParams.Len() > 0 {
15258		return invalidParams
15259	}
15260	return nil
15261}
15262
15263// SetAwsAccountId sets the AwsAccountId field's value.
15264func (s *DescribeDataSetPermissionsInput) SetAwsAccountId(v string) *DescribeDataSetPermissionsInput {
15265	s.AwsAccountId = &v
15266	return s
15267}
15268
15269// SetDataSetId sets the DataSetId field's value.
15270func (s *DescribeDataSetPermissionsInput) SetDataSetId(v string) *DescribeDataSetPermissionsInput {
15271	s.DataSetId = &v
15272	return s
15273}
15274
15275type DescribeDataSetPermissionsOutput struct {
15276	_ struct{} `type:"structure"`
15277
15278	// The Amazon Resource Name (ARN) of the dataset.
15279	DataSetArn *string `type:"string"`
15280
15281	// The ID for the dataset that you want to create. This ID is unique per AWS
15282	// Region for each AWS account.
15283	DataSetId *string `type:"string"`
15284
15285	// A list of resource permissions on the dataset.
15286	Permissions []*ResourcePermission `min:"1" type:"list"`
15287
15288	// The AWS request ID for this operation.
15289	RequestId *string `type:"string"`
15290
15291	// The HTTP status of the request.
15292	Status *int64 `location:"statusCode" type:"integer"`
15293}
15294
15295// String returns the string representation
15296func (s DescribeDataSetPermissionsOutput) String() string {
15297	return awsutil.Prettify(s)
15298}
15299
15300// GoString returns the string representation
15301func (s DescribeDataSetPermissionsOutput) GoString() string {
15302	return s.String()
15303}
15304
15305// SetDataSetArn sets the DataSetArn field's value.
15306func (s *DescribeDataSetPermissionsOutput) SetDataSetArn(v string) *DescribeDataSetPermissionsOutput {
15307	s.DataSetArn = &v
15308	return s
15309}
15310
15311// SetDataSetId sets the DataSetId field's value.
15312func (s *DescribeDataSetPermissionsOutput) SetDataSetId(v string) *DescribeDataSetPermissionsOutput {
15313	s.DataSetId = &v
15314	return s
15315}
15316
15317// SetPermissions sets the Permissions field's value.
15318func (s *DescribeDataSetPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeDataSetPermissionsOutput {
15319	s.Permissions = v
15320	return s
15321}
15322
15323// SetRequestId sets the RequestId field's value.
15324func (s *DescribeDataSetPermissionsOutput) SetRequestId(v string) *DescribeDataSetPermissionsOutput {
15325	s.RequestId = &v
15326	return s
15327}
15328
15329// SetStatus sets the Status field's value.
15330func (s *DescribeDataSetPermissionsOutput) SetStatus(v int64) *DescribeDataSetPermissionsOutput {
15331	s.Status = &v
15332	return s
15333}
15334
15335type DescribeDataSourceInput struct {
15336	_ struct{} `type:"structure"`
15337
15338	// The AWS account ID.
15339	//
15340	// AwsAccountId is a required field
15341	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
15342
15343	// The ID of the data source. This ID is unique per AWS Region for each AWS
15344	// account.
15345	//
15346	// DataSourceId is a required field
15347	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
15348}
15349
15350// String returns the string representation
15351func (s DescribeDataSourceInput) String() string {
15352	return awsutil.Prettify(s)
15353}
15354
15355// GoString returns the string representation
15356func (s DescribeDataSourceInput) GoString() string {
15357	return s.String()
15358}
15359
15360// Validate inspects the fields of the type to determine if they are valid.
15361func (s *DescribeDataSourceInput) Validate() error {
15362	invalidParams := request.ErrInvalidParams{Context: "DescribeDataSourceInput"}
15363	if s.AwsAccountId == nil {
15364		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
15365	}
15366	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
15367		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
15368	}
15369	if s.DataSourceId == nil {
15370		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
15371	}
15372	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
15373		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
15374	}
15375
15376	if invalidParams.Len() > 0 {
15377		return invalidParams
15378	}
15379	return nil
15380}
15381
15382// SetAwsAccountId sets the AwsAccountId field's value.
15383func (s *DescribeDataSourceInput) SetAwsAccountId(v string) *DescribeDataSourceInput {
15384	s.AwsAccountId = &v
15385	return s
15386}
15387
15388// SetDataSourceId sets the DataSourceId field's value.
15389func (s *DescribeDataSourceInput) SetDataSourceId(v string) *DescribeDataSourceInput {
15390	s.DataSourceId = &v
15391	return s
15392}
15393
15394type DescribeDataSourceOutput struct {
15395	_ struct{} `type:"structure"`
15396
15397	// The information on the data source.
15398	DataSource *DataSource `type:"structure"`
15399
15400	// The AWS request ID for this operation.
15401	RequestId *string `type:"string"`
15402
15403	// The HTTP status of the request.
15404	Status *int64 `location:"statusCode" type:"integer"`
15405}
15406
15407// String returns the string representation
15408func (s DescribeDataSourceOutput) String() string {
15409	return awsutil.Prettify(s)
15410}
15411
15412// GoString returns the string representation
15413func (s DescribeDataSourceOutput) GoString() string {
15414	return s.String()
15415}
15416
15417// SetDataSource sets the DataSource field's value.
15418func (s *DescribeDataSourceOutput) SetDataSource(v *DataSource) *DescribeDataSourceOutput {
15419	s.DataSource = v
15420	return s
15421}
15422
15423// SetRequestId sets the RequestId field's value.
15424func (s *DescribeDataSourceOutput) SetRequestId(v string) *DescribeDataSourceOutput {
15425	s.RequestId = &v
15426	return s
15427}
15428
15429// SetStatus sets the Status field's value.
15430func (s *DescribeDataSourceOutput) SetStatus(v int64) *DescribeDataSourceOutput {
15431	s.Status = &v
15432	return s
15433}
15434
15435type DescribeDataSourcePermissionsInput struct {
15436	_ struct{} `type:"structure"`
15437
15438	// The AWS account ID.
15439	//
15440	// AwsAccountId is a required field
15441	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
15442
15443	// The ID of the data source. This ID is unique per AWS Region for each AWS
15444	// account.
15445	//
15446	// DataSourceId is a required field
15447	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
15448}
15449
15450// String returns the string representation
15451func (s DescribeDataSourcePermissionsInput) String() string {
15452	return awsutil.Prettify(s)
15453}
15454
15455// GoString returns the string representation
15456func (s DescribeDataSourcePermissionsInput) GoString() string {
15457	return s.String()
15458}
15459
15460// Validate inspects the fields of the type to determine if they are valid.
15461func (s *DescribeDataSourcePermissionsInput) Validate() error {
15462	invalidParams := request.ErrInvalidParams{Context: "DescribeDataSourcePermissionsInput"}
15463	if s.AwsAccountId == nil {
15464		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
15465	}
15466	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
15467		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
15468	}
15469	if s.DataSourceId == nil {
15470		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
15471	}
15472	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
15473		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
15474	}
15475
15476	if invalidParams.Len() > 0 {
15477		return invalidParams
15478	}
15479	return nil
15480}
15481
15482// SetAwsAccountId sets the AwsAccountId field's value.
15483func (s *DescribeDataSourcePermissionsInput) SetAwsAccountId(v string) *DescribeDataSourcePermissionsInput {
15484	s.AwsAccountId = &v
15485	return s
15486}
15487
15488// SetDataSourceId sets the DataSourceId field's value.
15489func (s *DescribeDataSourcePermissionsInput) SetDataSourceId(v string) *DescribeDataSourcePermissionsInput {
15490	s.DataSourceId = &v
15491	return s
15492}
15493
15494type DescribeDataSourcePermissionsOutput struct {
15495	_ struct{} `type:"structure"`
15496
15497	// The Amazon Resource Name (ARN) of the data source.
15498	DataSourceArn *string `type:"string"`
15499
15500	// The ID of the data source. This ID is unique per AWS Region for each AWS
15501	// account.
15502	DataSourceId *string `type:"string"`
15503
15504	// A list of resource permissions on the data source.
15505	Permissions []*ResourcePermission `min:"1" type:"list"`
15506
15507	// The AWS request ID for this operation.
15508	RequestId *string `type:"string"`
15509
15510	// The HTTP status of the request.
15511	Status *int64 `location:"statusCode" type:"integer"`
15512}
15513
15514// String returns the string representation
15515func (s DescribeDataSourcePermissionsOutput) String() string {
15516	return awsutil.Prettify(s)
15517}
15518
15519// GoString returns the string representation
15520func (s DescribeDataSourcePermissionsOutput) GoString() string {
15521	return s.String()
15522}
15523
15524// SetDataSourceArn sets the DataSourceArn field's value.
15525func (s *DescribeDataSourcePermissionsOutput) SetDataSourceArn(v string) *DescribeDataSourcePermissionsOutput {
15526	s.DataSourceArn = &v
15527	return s
15528}
15529
15530// SetDataSourceId sets the DataSourceId field's value.
15531func (s *DescribeDataSourcePermissionsOutput) SetDataSourceId(v string) *DescribeDataSourcePermissionsOutput {
15532	s.DataSourceId = &v
15533	return s
15534}
15535
15536// SetPermissions sets the Permissions field's value.
15537func (s *DescribeDataSourcePermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeDataSourcePermissionsOutput {
15538	s.Permissions = v
15539	return s
15540}
15541
15542// SetRequestId sets the RequestId field's value.
15543func (s *DescribeDataSourcePermissionsOutput) SetRequestId(v string) *DescribeDataSourcePermissionsOutput {
15544	s.RequestId = &v
15545	return s
15546}
15547
15548// SetStatus sets the Status field's value.
15549func (s *DescribeDataSourcePermissionsOutput) SetStatus(v int64) *DescribeDataSourcePermissionsOutput {
15550	s.Status = &v
15551	return s
15552}
15553
15554type DescribeGroupInput struct {
15555	_ struct{} `type:"structure"`
15556
15557	// The ID for the AWS account that the group is in. Currently, you use the ID
15558	// for the AWS account that contains your Amazon QuickSight account.
15559	//
15560	// AwsAccountId is a required field
15561	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
15562
15563	// The name of the group that you want to describe.
15564	//
15565	// GroupName is a required field
15566	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
15567
15568	// The namespace. Currently, you should set this to default.
15569	//
15570	// Namespace is a required field
15571	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
15572}
15573
15574// String returns the string representation
15575func (s DescribeGroupInput) String() string {
15576	return awsutil.Prettify(s)
15577}
15578
15579// GoString returns the string representation
15580func (s DescribeGroupInput) GoString() string {
15581	return s.String()
15582}
15583
15584// Validate inspects the fields of the type to determine if they are valid.
15585func (s *DescribeGroupInput) Validate() error {
15586	invalidParams := request.ErrInvalidParams{Context: "DescribeGroupInput"}
15587	if s.AwsAccountId == nil {
15588		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
15589	}
15590	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
15591		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
15592	}
15593	if s.GroupName == nil {
15594		invalidParams.Add(request.NewErrParamRequired("GroupName"))
15595	}
15596	if s.GroupName != nil && len(*s.GroupName) < 1 {
15597		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
15598	}
15599	if s.Namespace == nil {
15600		invalidParams.Add(request.NewErrParamRequired("Namespace"))
15601	}
15602	if s.Namespace != nil && len(*s.Namespace) < 1 {
15603		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
15604	}
15605
15606	if invalidParams.Len() > 0 {
15607		return invalidParams
15608	}
15609	return nil
15610}
15611
15612// SetAwsAccountId sets the AwsAccountId field's value.
15613func (s *DescribeGroupInput) SetAwsAccountId(v string) *DescribeGroupInput {
15614	s.AwsAccountId = &v
15615	return s
15616}
15617
15618// SetGroupName sets the GroupName field's value.
15619func (s *DescribeGroupInput) SetGroupName(v string) *DescribeGroupInput {
15620	s.GroupName = &v
15621	return s
15622}
15623
15624// SetNamespace sets the Namespace field's value.
15625func (s *DescribeGroupInput) SetNamespace(v string) *DescribeGroupInput {
15626	s.Namespace = &v
15627	return s
15628}
15629
15630type DescribeGroupOutput struct {
15631	_ struct{} `type:"structure"`
15632
15633	// The name of the group.
15634	Group *Group `type:"structure"`
15635
15636	// The AWS request ID for this operation.
15637	RequestId *string `type:"string"`
15638
15639	// The HTTP status of the request.
15640	Status *int64 `location:"statusCode" type:"integer"`
15641}
15642
15643// String returns the string representation
15644func (s DescribeGroupOutput) String() string {
15645	return awsutil.Prettify(s)
15646}
15647
15648// GoString returns the string representation
15649func (s DescribeGroupOutput) GoString() string {
15650	return s.String()
15651}
15652
15653// SetGroup sets the Group field's value.
15654func (s *DescribeGroupOutput) SetGroup(v *Group) *DescribeGroupOutput {
15655	s.Group = v
15656	return s
15657}
15658
15659// SetRequestId sets the RequestId field's value.
15660func (s *DescribeGroupOutput) SetRequestId(v string) *DescribeGroupOutput {
15661	s.RequestId = &v
15662	return s
15663}
15664
15665// SetStatus sets the Status field's value.
15666func (s *DescribeGroupOutput) SetStatus(v int64) *DescribeGroupOutput {
15667	s.Status = &v
15668	return s
15669}
15670
15671type DescribeIAMPolicyAssignmentInput struct {
15672	_ struct{} `type:"structure"`
15673
15674	// The name of the assignment.
15675	//
15676	// AssignmentName is a required field
15677	AssignmentName *string `location:"uri" locationName:"AssignmentName" min:"1" type:"string" required:"true"`
15678
15679	// The ID of the AWS account that contains the assignment that you want to describe.
15680	//
15681	// AwsAccountId is a required field
15682	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
15683
15684	// The namespace that contains the assignment.
15685	//
15686	// Namespace is a required field
15687	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
15688}
15689
15690// String returns the string representation
15691func (s DescribeIAMPolicyAssignmentInput) String() string {
15692	return awsutil.Prettify(s)
15693}
15694
15695// GoString returns the string representation
15696func (s DescribeIAMPolicyAssignmentInput) GoString() string {
15697	return s.String()
15698}
15699
15700// Validate inspects the fields of the type to determine if they are valid.
15701func (s *DescribeIAMPolicyAssignmentInput) Validate() error {
15702	invalidParams := request.ErrInvalidParams{Context: "DescribeIAMPolicyAssignmentInput"}
15703	if s.AssignmentName == nil {
15704		invalidParams.Add(request.NewErrParamRequired("AssignmentName"))
15705	}
15706	if s.AssignmentName != nil && len(*s.AssignmentName) < 1 {
15707		invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1))
15708	}
15709	if s.AwsAccountId == nil {
15710		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
15711	}
15712	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
15713		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
15714	}
15715	if s.Namespace == nil {
15716		invalidParams.Add(request.NewErrParamRequired("Namespace"))
15717	}
15718	if s.Namespace != nil && len(*s.Namespace) < 1 {
15719		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
15720	}
15721
15722	if invalidParams.Len() > 0 {
15723		return invalidParams
15724	}
15725	return nil
15726}
15727
15728// SetAssignmentName sets the AssignmentName field's value.
15729func (s *DescribeIAMPolicyAssignmentInput) SetAssignmentName(v string) *DescribeIAMPolicyAssignmentInput {
15730	s.AssignmentName = &v
15731	return s
15732}
15733
15734// SetAwsAccountId sets the AwsAccountId field's value.
15735func (s *DescribeIAMPolicyAssignmentInput) SetAwsAccountId(v string) *DescribeIAMPolicyAssignmentInput {
15736	s.AwsAccountId = &v
15737	return s
15738}
15739
15740// SetNamespace sets the Namespace field's value.
15741func (s *DescribeIAMPolicyAssignmentInput) SetNamespace(v string) *DescribeIAMPolicyAssignmentInput {
15742	s.Namespace = &v
15743	return s
15744}
15745
15746type DescribeIAMPolicyAssignmentOutput struct {
15747	_ struct{} `type:"structure"`
15748
15749	// Information describing the IAM policy assignment.
15750	IAMPolicyAssignment *IAMPolicyAssignment `type:"structure"`
15751
15752	// The AWS request ID for this operation.
15753	RequestId *string `type:"string"`
15754
15755	// The HTTP status of the request.
15756	Status *int64 `location:"statusCode" type:"integer"`
15757}
15758
15759// String returns the string representation
15760func (s DescribeIAMPolicyAssignmentOutput) String() string {
15761	return awsutil.Prettify(s)
15762}
15763
15764// GoString returns the string representation
15765func (s DescribeIAMPolicyAssignmentOutput) GoString() string {
15766	return s.String()
15767}
15768
15769// SetIAMPolicyAssignment sets the IAMPolicyAssignment field's value.
15770func (s *DescribeIAMPolicyAssignmentOutput) SetIAMPolicyAssignment(v *IAMPolicyAssignment) *DescribeIAMPolicyAssignmentOutput {
15771	s.IAMPolicyAssignment = v
15772	return s
15773}
15774
15775// SetRequestId sets the RequestId field's value.
15776func (s *DescribeIAMPolicyAssignmentOutput) SetRequestId(v string) *DescribeIAMPolicyAssignmentOutput {
15777	s.RequestId = &v
15778	return s
15779}
15780
15781// SetStatus sets the Status field's value.
15782func (s *DescribeIAMPolicyAssignmentOutput) SetStatus(v int64) *DescribeIAMPolicyAssignmentOutput {
15783	s.Status = &v
15784	return s
15785}
15786
15787type DescribeIngestionInput struct {
15788	_ struct{} `type:"structure"`
15789
15790	// The AWS account ID.
15791	//
15792	// AwsAccountId is a required field
15793	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
15794
15795	// The ID of the dataset used in the ingestion.
15796	//
15797	// DataSetId is a required field
15798	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
15799
15800	// An ID for the ingestion.
15801	//
15802	// IngestionId is a required field
15803	IngestionId *string `location:"uri" locationName:"IngestionId" min:"1" type:"string" required:"true"`
15804}
15805
15806// String returns the string representation
15807func (s DescribeIngestionInput) String() string {
15808	return awsutil.Prettify(s)
15809}
15810
15811// GoString returns the string representation
15812func (s DescribeIngestionInput) GoString() string {
15813	return s.String()
15814}
15815
15816// Validate inspects the fields of the type to determine if they are valid.
15817func (s *DescribeIngestionInput) Validate() error {
15818	invalidParams := request.ErrInvalidParams{Context: "DescribeIngestionInput"}
15819	if s.AwsAccountId == nil {
15820		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
15821	}
15822	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
15823		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
15824	}
15825	if s.DataSetId == nil {
15826		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
15827	}
15828	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
15829		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
15830	}
15831	if s.IngestionId == nil {
15832		invalidParams.Add(request.NewErrParamRequired("IngestionId"))
15833	}
15834	if s.IngestionId != nil && len(*s.IngestionId) < 1 {
15835		invalidParams.Add(request.NewErrParamMinLen("IngestionId", 1))
15836	}
15837
15838	if invalidParams.Len() > 0 {
15839		return invalidParams
15840	}
15841	return nil
15842}
15843
15844// SetAwsAccountId sets the AwsAccountId field's value.
15845func (s *DescribeIngestionInput) SetAwsAccountId(v string) *DescribeIngestionInput {
15846	s.AwsAccountId = &v
15847	return s
15848}
15849
15850// SetDataSetId sets the DataSetId field's value.
15851func (s *DescribeIngestionInput) SetDataSetId(v string) *DescribeIngestionInput {
15852	s.DataSetId = &v
15853	return s
15854}
15855
15856// SetIngestionId sets the IngestionId field's value.
15857func (s *DescribeIngestionInput) SetIngestionId(v string) *DescribeIngestionInput {
15858	s.IngestionId = &v
15859	return s
15860}
15861
15862type DescribeIngestionOutput struct {
15863	_ struct{} `type:"structure"`
15864
15865	// Information about the ingestion.
15866	Ingestion *Ingestion `type:"structure"`
15867
15868	// The AWS request ID for this operation.
15869	RequestId *string `type:"string"`
15870
15871	// The HTTP status of the request.
15872	Status *int64 `location:"statusCode" type:"integer"`
15873}
15874
15875// String returns the string representation
15876func (s DescribeIngestionOutput) String() string {
15877	return awsutil.Prettify(s)
15878}
15879
15880// GoString returns the string representation
15881func (s DescribeIngestionOutput) GoString() string {
15882	return s.String()
15883}
15884
15885// SetIngestion sets the Ingestion field's value.
15886func (s *DescribeIngestionOutput) SetIngestion(v *Ingestion) *DescribeIngestionOutput {
15887	s.Ingestion = v
15888	return s
15889}
15890
15891// SetRequestId sets the RequestId field's value.
15892func (s *DescribeIngestionOutput) SetRequestId(v string) *DescribeIngestionOutput {
15893	s.RequestId = &v
15894	return s
15895}
15896
15897// SetStatus sets the Status field's value.
15898func (s *DescribeIngestionOutput) SetStatus(v int64) *DescribeIngestionOutput {
15899	s.Status = &v
15900	return s
15901}
15902
15903type DescribeTemplateAliasInput struct {
15904	_ struct{} `type:"structure"`
15905
15906	// The name of the template alias that you want to describe. If you name a specific
15907	// alias, you describe the version that the alias points to. You can specify
15908	// the latest version of the template by providing the keyword $LATEST in the
15909	// AliasName parameter. The keyword $PUBLISHED doesn't apply to templates.
15910	//
15911	// AliasName is a required field
15912	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
15913
15914	// The ID of the AWS account that contains the template alias that you're describing.
15915	//
15916	// AwsAccountId is a required field
15917	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
15918
15919	// The ID for the template.
15920	//
15921	// TemplateId is a required field
15922	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
15923}
15924
15925// String returns the string representation
15926func (s DescribeTemplateAliasInput) String() string {
15927	return awsutil.Prettify(s)
15928}
15929
15930// GoString returns the string representation
15931func (s DescribeTemplateAliasInput) GoString() string {
15932	return s.String()
15933}
15934
15935// Validate inspects the fields of the type to determine if they are valid.
15936func (s *DescribeTemplateAliasInput) Validate() error {
15937	invalidParams := request.ErrInvalidParams{Context: "DescribeTemplateAliasInput"}
15938	if s.AliasName == nil {
15939		invalidParams.Add(request.NewErrParamRequired("AliasName"))
15940	}
15941	if s.AliasName != nil && len(*s.AliasName) < 1 {
15942		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
15943	}
15944	if s.AwsAccountId == nil {
15945		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
15946	}
15947	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
15948		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
15949	}
15950	if s.TemplateId == nil {
15951		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
15952	}
15953	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
15954		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
15955	}
15956
15957	if invalidParams.Len() > 0 {
15958		return invalidParams
15959	}
15960	return nil
15961}
15962
15963// SetAliasName sets the AliasName field's value.
15964func (s *DescribeTemplateAliasInput) SetAliasName(v string) *DescribeTemplateAliasInput {
15965	s.AliasName = &v
15966	return s
15967}
15968
15969// SetAwsAccountId sets the AwsAccountId field's value.
15970func (s *DescribeTemplateAliasInput) SetAwsAccountId(v string) *DescribeTemplateAliasInput {
15971	s.AwsAccountId = &v
15972	return s
15973}
15974
15975// SetTemplateId sets the TemplateId field's value.
15976func (s *DescribeTemplateAliasInput) SetTemplateId(v string) *DescribeTemplateAliasInput {
15977	s.TemplateId = &v
15978	return s
15979}
15980
15981type DescribeTemplateAliasOutput struct {
15982	_ struct{} `type:"structure"`
15983
15984	// The AWS request ID for this operation.
15985	RequestId *string `type:"string"`
15986
15987	// The HTTP status of the request.
15988	Status *int64 `location:"statusCode" type:"integer"`
15989
15990	// Information about the template alias.
15991	TemplateAlias *TemplateAlias `type:"structure"`
15992}
15993
15994// String returns the string representation
15995func (s DescribeTemplateAliasOutput) String() string {
15996	return awsutil.Prettify(s)
15997}
15998
15999// GoString returns the string representation
16000func (s DescribeTemplateAliasOutput) GoString() string {
16001	return s.String()
16002}
16003
16004// SetRequestId sets the RequestId field's value.
16005func (s *DescribeTemplateAliasOutput) SetRequestId(v string) *DescribeTemplateAliasOutput {
16006	s.RequestId = &v
16007	return s
16008}
16009
16010// SetStatus sets the Status field's value.
16011func (s *DescribeTemplateAliasOutput) SetStatus(v int64) *DescribeTemplateAliasOutput {
16012	s.Status = &v
16013	return s
16014}
16015
16016// SetTemplateAlias sets the TemplateAlias field's value.
16017func (s *DescribeTemplateAliasOutput) SetTemplateAlias(v *TemplateAlias) *DescribeTemplateAliasOutput {
16018	s.TemplateAlias = v
16019	return s
16020}
16021
16022type DescribeTemplateInput struct {
16023	_ struct{} `type:"structure"`
16024
16025	// The alias of the template that you want to describe. If you name a specific
16026	// alias, you describe the version that the alias points to. You can specify
16027	// the latest version of the template by providing the keyword $LATEST in the
16028	// AliasName parameter. The keyword $PUBLISHED doesn't apply to templates.
16029	AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"`
16030
16031	// The ID of the AWS account that contains the template that you're describing.
16032	//
16033	// AwsAccountId is a required field
16034	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
16035
16036	// The ID for the template.
16037	//
16038	// TemplateId is a required field
16039	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
16040
16041	// (Optional) The number for the version to describe. If a VersionNumber parameter
16042	// value isn't provided, the latest version of the template is described.
16043	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
16044}
16045
16046// String returns the string representation
16047func (s DescribeTemplateInput) String() string {
16048	return awsutil.Prettify(s)
16049}
16050
16051// GoString returns the string representation
16052func (s DescribeTemplateInput) GoString() string {
16053	return s.String()
16054}
16055
16056// Validate inspects the fields of the type to determine if they are valid.
16057func (s *DescribeTemplateInput) Validate() error {
16058	invalidParams := request.ErrInvalidParams{Context: "DescribeTemplateInput"}
16059	if s.AliasName != nil && len(*s.AliasName) < 1 {
16060		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
16061	}
16062	if s.AwsAccountId == nil {
16063		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
16064	}
16065	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
16066		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
16067	}
16068	if s.TemplateId == nil {
16069		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
16070	}
16071	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
16072		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
16073	}
16074	if s.VersionNumber != nil && *s.VersionNumber < 1 {
16075		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
16076	}
16077
16078	if invalidParams.Len() > 0 {
16079		return invalidParams
16080	}
16081	return nil
16082}
16083
16084// SetAliasName sets the AliasName field's value.
16085func (s *DescribeTemplateInput) SetAliasName(v string) *DescribeTemplateInput {
16086	s.AliasName = &v
16087	return s
16088}
16089
16090// SetAwsAccountId sets the AwsAccountId field's value.
16091func (s *DescribeTemplateInput) SetAwsAccountId(v string) *DescribeTemplateInput {
16092	s.AwsAccountId = &v
16093	return s
16094}
16095
16096// SetTemplateId sets the TemplateId field's value.
16097func (s *DescribeTemplateInput) SetTemplateId(v string) *DescribeTemplateInput {
16098	s.TemplateId = &v
16099	return s
16100}
16101
16102// SetVersionNumber sets the VersionNumber field's value.
16103func (s *DescribeTemplateInput) SetVersionNumber(v int64) *DescribeTemplateInput {
16104	s.VersionNumber = &v
16105	return s
16106}
16107
16108type DescribeTemplateOutput struct {
16109	_ struct{} `type:"structure"`
16110
16111	RequestId *string `type:"string"`
16112
16113	// The HTTP status of the request.
16114	Status *int64 `location:"statusCode" type:"integer"`
16115
16116	// The template structure for the object you want to describe.
16117	Template *Template `type:"structure"`
16118}
16119
16120// String returns the string representation
16121func (s DescribeTemplateOutput) String() string {
16122	return awsutil.Prettify(s)
16123}
16124
16125// GoString returns the string representation
16126func (s DescribeTemplateOutput) GoString() string {
16127	return s.String()
16128}
16129
16130// SetRequestId sets the RequestId field's value.
16131func (s *DescribeTemplateOutput) SetRequestId(v string) *DescribeTemplateOutput {
16132	s.RequestId = &v
16133	return s
16134}
16135
16136// SetStatus sets the Status field's value.
16137func (s *DescribeTemplateOutput) SetStatus(v int64) *DescribeTemplateOutput {
16138	s.Status = &v
16139	return s
16140}
16141
16142// SetTemplate sets the Template field's value.
16143func (s *DescribeTemplateOutput) SetTemplate(v *Template) *DescribeTemplateOutput {
16144	s.Template = v
16145	return s
16146}
16147
16148type DescribeTemplatePermissionsInput struct {
16149	_ struct{} `type:"structure"`
16150
16151	// The ID of the AWS account that contains the template that you're describing.
16152	//
16153	// AwsAccountId is a required field
16154	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
16155
16156	// The ID for the template.
16157	//
16158	// TemplateId is a required field
16159	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
16160}
16161
16162// String returns the string representation
16163func (s DescribeTemplatePermissionsInput) String() string {
16164	return awsutil.Prettify(s)
16165}
16166
16167// GoString returns the string representation
16168func (s DescribeTemplatePermissionsInput) GoString() string {
16169	return s.String()
16170}
16171
16172// Validate inspects the fields of the type to determine if they are valid.
16173func (s *DescribeTemplatePermissionsInput) Validate() error {
16174	invalidParams := request.ErrInvalidParams{Context: "DescribeTemplatePermissionsInput"}
16175	if s.AwsAccountId == nil {
16176		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
16177	}
16178	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
16179		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
16180	}
16181	if s.TemplateId == nil {
16182		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
16183	}
16184	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
16185		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
16186	}
16187
16188	if invalidParams.Len() > 0 {
16189		return invalidParams
16190	}
16191	return nil
16192}
16193
16194// SetAwsAccountId sets the AwsAccountId field's value.
16195func (s *DescribeTemplatePermissionsInput) SetAwsAccountId(v string) *DescribeTemplatePermissionsInput {
16196	s.AwsAccountId = &v
16197	return s
16198}
16199
16200// SetTemplateId sets the TemplateId field's value.
16201func (s *DescribeTemplatePermissionsInput) SetTemplateId(v string) *DescribeTemplatePermissionsInput {
16202	s.TemplateId = &v
16203	return s
16204}
16205
16206type DescribeTemplatePermissionsOutput struct {
16207	_ struct{} `type:"structure"`
16208
16209	// A list of resource permissions to be set on the template.
16210	Permissions []*ResourcePermission `min:"1" type:"list"`
16211
16212	// The AWS request ID for this operation.
16213	RequestId *string `type:"string"`
16214
16215	// The HTTP status of the request.
16216	Status *int64 `location:"statusCode" type:"integer"`
16217
16218	// The Amazon Resource Name (ARN) of the template.
16219	TemplateArn *string `type:"string"`
16220
16221	// The ID for the template.
16222	TemplateId *string `min:"1" type:"string"`
16223}
16224
16225// String returns the string representation
16226func (s DescribeTemplatePermissionsOutput) String() string {
16227	return awsutil.Prettify(s)
16228}
16229
16230// GoString returns the string representation
16231func (s DescribeTemplatePermissionsOutput) GoString() string {
16232	return s.String()
16233}
16234
16235// SetPermissions sets the Permissions field's value.
16236func (s *DescribeTemplatePermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeTemplatePermissionsOutput {
16237	s.Permissions = v
16238	return s
16239}
16240
16241// SetRequestId sets the RequestId field's value.
16242func (s *DescribeTemplatePermissionsOutput) SetRequestId(v string) *DescribeTemplatePermissionsOutput {
16243	s.RequestId = &v
16244	return s
16245}
16246
16247// SetStatus sets the Status field's value.
16248func (s *DescribeTemplatePermissionsOutput) SetStatus(v int64) *DescribeTemplatePermissionsOutput {
16249	s.Status = &v
16250	return s
16251}
16252
16253// SetTemplateArn sets the TemplateArn field's value.
16254func (s *DescribeTemplatePermissionsOutput) SetTemplateArn(v string) *DescribeTemplatePermissionsOutput {
16255	s.TemplateArn = &v
16256	return s
16257}
16258
16259// SetTemplateId sets the TemplateId field's value.
16260func (s *DescribeTemplatePermissionsOutput) SetTemplateId(v string) *DescribeTemplatePermissionsOutput {
16261	s.TemplateId = &v
16262	return s
16263}
16264
16265type DescribeThemeAliasInput struct {
16266	_ struct{} `type:"structure"`
16267
16268	// The name of the theme alias that you want to describe.
16269	//
16270	// AliasName is a required field
16271	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
16272
16273	// The ID of the AWS account that contains the theme alias that you're describing.
16274	//
16275	// AwsAccountId is a required field
16276	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
16277
16278	// The ID for the theme.
16279	//
16280	// ThemeId is a required field
16281	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
16282}
16283
16284// String returns the string representation
16285func (s DescribeThemeAliasInput) String() string {
16286	return awsutil.Prettify(s)
16287}
16288
16289// GoString returns the string representation
16290func (s DescribeThemeAliasInput) GoString() string {
16291	return s.String()
16292}
16293
16294// Validate inspects the fields of the type to determine if they are valid.
16295func (s *DescribeThemeAliasInput) Validate() error {
16296	invalidParams := request.ErrInvalidParams{Context: "DescribeThemeAliasInput"}
16297	if s.AliasName == nil {
16298		invalidParams.Add(request.NewErrParamRequired("AliasName"))
16299	}
16300	if s.AliasName != nil && len(*s.AliasName) < 1 {
16301		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
16302	}
16303	if s.AwsAccountId == nil {
16304		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
16305	}
16306	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
16307		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
16308	}
16309	if s.ThemeId == nil {
16310		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
16311	}
16312	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
16313		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
16314	}
16315
16316	if invalidParams.Len() > 0 {
16317		return invalidParams
16318	}
16319	return nil
16320}
16321
16322// SetAliasName sets the AliasName field's value.
16323func (s *DescribeThemeAliasInput) SetAliasName(v string) *DescribeThemeAliasInput {
16324	s.AliasName = &v
16325	return s
16326}
16327
16328// SetAwsAccountId sets the AwsAccountId field's value.
16329func (s *DescribeThemeAliasInput) SetAwsAccountId(v string) *DescribeThemeAliasInput {
16330	s.AwsAccountId = &v
16331	return s
16332}
16333
16334// SetThemeId sets the ThemeId field's value.
16335func (s *DescribeThemeAliasInput) SetThemeId(v string) *DescribeThemeAliasInput {
16336	s.ThemeId = &v
16337	return s
16338}
16339
16340type DescribeThemeAliasOutput struct {
16341	_ struct{} `type:"structure"`
16342
16343	// The AWS request ID for this operation.
16344	RequestId *string `type:"string"`
16345
16346	// The HTTP status of the request.
16347	Status *int64 `location:"statusCode" type:"integer"`
16348
16349	// Information about the theme alias.
16350	ThemeAlias *ThemeAlias `type:"structure"`
16351}
16352
16353// String returns the string representation
16354func (s DescribeThemeAliasOutput) String() string {
16355	return awsutil.Prettify(s)
16356}
16357
16358// GoString returns the string representation
16359func (s DescribeThemeAliasOutput) GoString() string {
16360	return s.String()
16361}
16362
16363// SetRequestId sets the RequestId field's value.
16364func (s *DescribeThemeAliasOutput) SetRequestId(v string) *DescribeThemeAliasOutput {
16365	s.RequestId = &v
16366	return s
16367}
16368
16369// SetStatus sets the Status field's value.
16370func (s *DescribeThemeAliasOutput) SetStatus(v int64) *DescribeThemeAliasOutput {
16371	s.Status = &v
16372	return s
16373}
16374
16375// SetThemeAlias sets the ThemeAlias field's value.
16376func (s *DescribeThemeAliasOutput) SetThemeAlias(v *ThemeAlias) *DescribeThemeAliasOutput {
16377	s.ThemeAlias = v
16378	return s
16379}
16380
16381type DescribeThemeInput struct {
16382	_ struct{} `type:"structure"`
16383
16384	// The alias of the theme that you want to describe. If you name a specific
16385	// alias, you describe the version that the alias points to. You can specify
16386	// the latest version of the theme by providing the keyword $LATEST in the AliasName
16387	// parameter. The keyword $PUBLISHED doesn't apply to themes.
16388	AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"`
16389
16390	// The ID of the AWS account that contains the theme that you're describing.
16391	//
16392	// AwsAccountId is a required field
16393	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" type:"string" required:"true"`
16394
16395	// The ID for the theme.
16396	//
16397	// ThemeId is a required field
16398	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
16399
16400	// The version number for the version to describe. If a VersionNumber parameter
16401	// value isn't provided, the latest version of the theme is described.
16402	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
16403}
16404
16405// String returns the string representation
16406func (s DescribeThemeInput) String() string {
16407	return awsutil.Prettify(s)
16408}
16409
16410// GoString returns the string representation
16411func (s DescribeThemeInput) GoString() string {
16412	return s.String()
16413}
16414
16415// Validate inspects the fields of the type to determine if they are valid.
16416func (s *DescribeThemeInput) Validate() error {
16417	invalidParams := request.ErrInvalidParams{Context: "DescribeThemeInput"}
16418	if s.AliasName != nil && len(*s.AliasName) < 1 {
16419		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
16420	}
16421	if s.AwsAccountId == nil {
16422		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
16423	}
16424	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 1 {
16425		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 1))
16426	}
16427	if s.ThemeId == nil {
16428		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
16429	}
16430	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
16431		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
16432	}
16433	if s.VersionNumber != nil && *s.VersionNumber < 1 {
16434		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
16435	}
16436
16437	if invalidParams.Len() > 0 {
16438		return invalidParams
16439	}
16440	return nil
16441}
16442
16443// SetAliasName sets the AliasName field's value.
16444func (s *DescribeThemeInput) SetAliasName(v string) *DescribeThemeInput {
16445	s.AliasName = &v
16446	return s
16447}
16448
16449// SetAwsAccountId sets the AwsAccountId field's value.
16450func (s *DescribeThemeInput) SetAwsAccountId(v string) *DescribeThemeInput {
16451	s.AwsAccountId = &v
16452	return s
16453}
16454
16455// SetThemeId sets the ThemeId field's value.
16456func (s *DescribeThemeInput) SetThemeId(v string) *DescribeThemeInput {
16457	s.ThemeId = &v
16458	return s
16459}
16460
16461// SetVersionNumber sets the VersionNumber field's value.
16462func (s *DescribeThemeInput) SetVersionNumber(v int64) *DescribeThemeInput {
16463	s.VersionNumber = &v
16464	return s
16465}
16466
16467type DescribeThemeOutput struct {
16468	_ struct{} `type:"structure"`
16469
16470	// The AWS request ID for this operation.
16471	RequestId *string `type:"string"`
16472
16473	// The HTTP status of the request.
16474	Status *int64 `location:"statusCode" type:"integer"`
16475
16476	// The information about the theme that you are describing.
16477	Theme *Theme `type:"structure"`
16478}
16479
16480// String returns the string representation
16481func (s DescribeThemeOutput) String() string {
16482	return awsutil.Prettify(s)
16483}
16484
16485// GoString returns the string representation
16486func (s DescribeThemeOutput) GoString() string {
16487	return s.String()
16488}
16489
16490// SetRequestId sets the RequestId field's value.
16491func (s *DescribeThemeOutput) SetRequestId(v string) *DescribeThemeOutput {
16492	s.RequestId = &v
16493	return s
16494}
16495
16496// SetStatus sets the Status field's value.
16497func (s *DescribeThemeOutput) SetStatus(v int64) *DescribeThemeOutput {
16498	s.Status = &v
16499	return s
16500}
16501
16502// SetTheme sets the Theme field's value.
16503func (s *DescribeThemeOutput) SetTheme(v *Theme) *DescribeThemeOutput {
16504	s.Theme = v
16505	return s
16506}
16507
16508type DescribeThemePermissionsInput struct {
16509	_ struct{} `type:"structure"`
16510
16511	// The ID of the AWS account that contains the theme that you're describing.
16512	//
16513	// AwsAccountId is a required field
16514	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
16515
16516	// The ID for the theme that you want to describe permissions for.
16517	//
16518	// ThemeId is a required field
16519	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
16520}
16521
16522// String returns the string representation
16523func (s DescribeThemePermissionsInput) String() string {
16524	return awsutil.Prettify(s)
16525}
16526
16527// GoString returns the string representation
16528func (s DescribeThemePermissionsInput) GoString() string {
16529	return s.String()
16530}
16531
16532// Validate inspects the fields of the type to determine if they are valid.
16533func (s *DescribeThemePermissionsInput) Validate() error {
16534	invalidParams := request.ErrInvalidParams{Context: "DescribeThemePermissionsInput"}
16535	if s.AwsAccountId == nil {
16536		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
16537	}
16538	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
16539		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
16540	}
16541	if s.ThemeId == nil {
16542		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
16543	}
16544	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
16545		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
16546	}
16547
16548	if invalidParams.Len() > 0 {
16549		return invalidParams
16550	}
16551	return nil
16552}
16553
16554// SetAwsAccountId sets the AwsAccountId field's value.
16555func (s *DescribeThemePermissionsInput) SetAwsAccountId(v string) *DescribeThemePermissionsInput {
16556	s.AwsAccountId = &v
16557	return s
16558}
16559
16560// SetThemeId sets the ThemeId field's value.
16561func (s *DescribeThemePermissionsInput) SetThemeId(v string) *DescribeThemePermissionsInput {
16562	s.ThemeId = &v
16563	return s
16564}
16565
16566type DescribeThemePermissionsOutput struct {
16567	_ struct{} `type:"structure"`
16568
16569	// A list of resource permissions set on the theme.
16570	Permissions []*ResourcePermission `min:"1" type:"list"`
16571
16572	// The AWS request ID for this operation.
16573	RequestId *string `type:"string"`
16574
16575	// The HTTP status of the request.
16576	Status *int64 `location:"statusCode" type:"integer"`
16577
16578	// The Amazon Resource Name (ARN) of the theme.
16579	ThemeArn *string `type:"string"`
16580
16581	// The ID for the theme.
16582	ThemeId *string `min:"1" type:"string"`
16583}
16584
16585// String returns the string representation
16586func (s DescribeThemePermissionsOutput) String() string {
16587	return awsutil.Prettify(s)
16588}
16589
16590// GoString returns the string representation
16591func (s DescribeThemePermissionsOutput) GoString() string {
16592	return s.String()
16593}
16594
16595// SetPermissions sets the Permissions field's value.
16596func (s *DescribeThemePermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeThemePermissionsOutput {
16597	s.Permissions = v
16598	return s
16599}
16600
16601// SetRequestId sets the RequestId field's value.
16602func (s *DescribeThemePermissionsOutput) SetRequestId(v string) *DescribeThemePermissionsOutput {
16603	s.RequestId = &v
16604	return s
16605}
16606
16607// SetStatus sets the Status field's value.
16608func (s *DescribeThemePermissionsOutput) SetStatus(v int64) *DescribeThemePermissionsOutput {
16609	s.Status = &v
16610	return s
16611}
16612
16613// SetThemeArn sets the ThemeArn field's value.
16614func (s *DescribeThemePermissionsOutput) SetThemeArn(v string) *DescribeThemePermissionsOutput {
16615	s.ThemeArn = &v
16616	return s
16617}
16618
16619// SetThemeId sets the ThemeId field's value.
16620func (s *DescribeThemePermissionsOutput) SetThemeId(v string) *DescribeThemePermissionsOutput {
16621	s.ThemeId = &v
16622	return s
16623}
16624
16625type DescribeUserInput struct {
16626	_ struct{} `type:"structure"`
16627
16628	// The ID for the AWS account that the user is in. Currently, you use the ID
16629	// for the AWS account that contains your Amazon QuickSight account.
16630	//
16631	// AwsAccountId is a required field
16632	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
16633
16634	// The namespace. Currently, you should set this to default.
16635	//
16636	// Namespace is a required field
16637	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
16638
16639	// The name of the user that you want to describe.
16640	//
16641	// UserName is a required field
16642	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
16643}
16644
16645// String returns the string representation
16646func (s DescribeUserInput) String() string {
16647	return awsutil.Prettify(s)
16648}
16649
16650// GoString returns the string representation
16651func (s DescribeUserInput) GoString() string {
16652	return s.String()
16653}
16654
16655// Validate inspects the fields of the type to determine if they are valid.
16656func (s *DescribeUserInput) Validate() error {
16657	invalidParams := request.ErrInvalidParams{Context: "DescribeUserInput"}
16658	if s.AwsAccountId == nil {
16659		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
16660	}
16661	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
16662		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
16663	}
16664	if s.Namespace == nil {
16665		invalidParams.Add(request.NewErrParamRequired("Namespace"))
16666	}
16667	if s.Namespace != nil && len(*s.Namespace) < 1 {
16668		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
16669	}
16670	if s.UserName == nil {
16671		invalidParams.Add(request.NewErrParamRequired("UserName"))
16672	}
16673	if s.UserName != nil && len(*s.UserName) < 1 {
16674		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
16675	}
16676
16677	if invalidParams.Len() > 0 {
16678		return invalidParams
16679	}
16680	return nil
16681}
16682
16683// SetAwsAccountId sets the AwsAccountId field's value.
16684func (s *DescribeUserInput) SetAwsAccountId(v string) *DescribeUserInput {
16685	s.AwsAccountId = &v
16686	return s
16687}
16688
16689// SetNamespace sets the Namespace field's value.
16690func (s *DescribeUserInput) SetNamespace(v string) *DescribeUserInput {
16691	s.Namespace = &v
16692	return s
16693}
16694
16695// SetUserName sets the UserName field's value.
16696func (s *DescribeUserInput) SetUserName(v string) *DescribeUserInput {
16697	s.UserName = &v
16698	return s
16699}
16700
16701type DescribeUserOutput struct {
16702	_ struct{} `type:"structure"`
16703
16704	// The AWS request ID for this operation.
16705	RequestId *string `type:"string"`
16706
16707	// The HTTP status of the request.
16708	Status *int64 `location:"statusCode" type:"integer"`
16709
16710	// The user name.
16711	User *User `type:"structure"`
16712}
16713
16714// String returns the string representation
16715func (s DescribeUserOutput) String() string {
16716	return awsutil.Prettify(s)
16717}
16718
16719// GoString returns the string representation
16720func (s DescribeUserOutput) GoString() string {
16721	return s.String()
16722}
16723
16724// SetRequestId sets the RequestId field's value.
16725func (s *DescribeUserOutput) SetRequestId(v string) *DescribeUserOutput {
16726	s.RequestId = &v
16727	return s
16728}
16729
16730// SetStatus sets the Status field's value.
16731func (s *DescribeUserOutput) SetStatus(v int64) *DescribeUserOutput {
16732	s.Status = &v
16733	return s
16734}
16735
16736// SetUser sets the User field's value.
16737func (s *DescribeUserOutput) SetUser(v *User) *DescribeUserOutput {
16738	s.User = v
16739	return s
16740}
16741
16742// The domain specified isn't on the allow list. All domains for embedded dashboards
16743// must be added to the approved list by an Amazon QuickSight admin.
16744type DomainNotWhitelistedException struct {
16745	_            struct{}                  `type:"structure"`
16746	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
16747
16748	Message_ *string `locationName:"Message" type:"string"`
16749
16750	// The AWS request ID for this request.
16751	RequestId *string `type:"string"`
16752}
16753
16754// String returns the string representation
16755func (s DomainNotWhitelistedException) String() string {
16756	return awsutil.Prettify(s)
16757}
16758
16759// GoString returns the string representation
16760func (s DomainNotWhitelistedException) GoString() string {
16761	return s.String()
16762}
16763
16764func newErrorDomainNotWhitelistedException(v protocol.ResponseMetadata) error {
16765	return &DomainNotWhitelistedException{
16766		RespMetadata: v,
16767	}
16768}
16769
16770// Code returns the exception type name.
16771func (s *DomainNotWhitelistedException) Code() string {
16772	return "DomainNotWhitelistedException"
16773}
16774
16775// Message returns the exception's message.
16776func (s *DomainNotWhitelistedException) Message() string {
16777	if s.Message_ != nil {
16778		return *s.Message_
16779	}
16780	return ""
16781}
16782
16783// OrigErr always returns nil, satisfies awserr.Error interface.
16784func (s *DomainNotWhitelistedException) OrigErr() error {
16785	return nil
16786}
16787
16788func (s *DomainNotWhitelistedException) Error() string {
16789	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
16790}
16791
16792// Status code returns the HTTP status code for the request's response error.
16793func (s *DomainNotWhitelistedException) StatusCode() int {
16794	return s.RespMetadata.StatusCode
16795}
16796
16797// RequestID returns the service's response RequestID for request.
16798func (s *DomainNotWhitelistedException) RequestID() string {
16799	return s.RespMetadata.RequestID
16800}
16801
16802// Error information for the SPICE ingestion of a dataset.
16803type ErrorInfo struct {
16804	_ struct{} `type:"structure"`
16805
16806	// Error message.
16807	Message *string `type:"string"`
16808
16809	// Error type.
16810	Type *string `type:"string" enum:"IngestionErrorType"`
16811}
16812
16813// String returns the string representation
16814func (s ErrorInfo) String() string {
16815	return awsutil.Prettify(s)
16816}
16817
16818// GoString returns the string representation
16819func (s ErrorInfo) GoString() string {
16820	return s.String()
16821}
16822
16823// SetMessage sets the Message field's value.
16824func (s *ErrorInfo) SetMessage(v string) *ErrorInfo {
16825	s.Message = &v
16826	return s
16827}
16828
16829// SetType sets the Type field's value.
16830func (s *ErrorInfo) SetType(v string) *ErrorInfo {
16831	s.Type = &v
16832	return s
16833}
16834
16835// Export to .csv option.
16836type ExportToCSVOption struct {
16837	_ struct{} `type:"structure"`
16838
16839	// Availability status.
16840	AvailabilityStatus *string `type:"string" enum:"DashboardBehavior"`
16841}
16842
16843// String returns the string representation
16844func (s ExportToCSVOption) String() string {
16845	return awsutil.Prettify(s)
16846}
16847
16848// GoString returns the string representation
16849func (s ExportToCSVOption) GoString() string {
16850	return s.String()
16851}
16852
16853// SetAvailabilityStatus sets the AvailabilityStatus field's value.
16854func (s *ExportToCSVOption) SetAvailabilityStatus(v string) *ExportToCSVOption {
16855	s.AvailabilityStatus = &v
16856	return s
16857}
16858
16859// A transform operation that filters rows based on a condition.
16860type FilterOperation struct {
16861	_ struct{} `type:"structure"`
16862
16863	// An expression that must evaluate to a Boolean value. Rows for which the expression
16864	// evaluates to true are kept in the dataset.
16865	//
16866	// ConditionExpression is a required field
16867	ConditionExpression *string `min:"1" type:"string" required:"true"`
16868}
16869
16870// String returns the string representation
16871func (s FilterOperation) String() string {
16872	return awsutil.Prettify(s)
16873}
16874
16875// GoString returns the string representation
16876func (s FilterOperation) GoString() string {
16877	return s.String()
16878}
16879
16880// Validate inspects the fields of the type to determine if they are valid.
16881func (s *FilterOperation) Validate() error {
16882	invalidParams := request.ErrInvalidParams{Context: "FilterOperation"}
16883	if s.ConditionExpression == nil {
16884		invalidParams.Add(request.NewErrParamRequired("ConditionExpression"))
16885	}
16886	if s.ConditionExpression != nil && len(*s.ConditionExpression) < 1 {
16887		invalidParams.Add(request.NewErrParamMinLen("ConditionExpression", 1))
16888	}
16889
16890	if invalidParams.Len() > 0 {
16891		return invalidParams
16892	}
16893	return nil
16894}
16895
16896// SetConditionExpression sets the ConditionExpression field's value.
16897func (s *FilterOperation) SetConditionExpression(v string) *FilterOperation {
16898	s.ConditionExpression = &v
16899	return s
16900}
16901
16902// Geospatial column group that denotes a hierarchy.
16903type GeoSpatialColumnGroup struct {
16904	_ struct{} `type:"structure"`
16905
16906	// Columns in this hierarchy.
16907	//
16908	// Columns is a required field
16909	Columns []*string `min:"1" type:"list" required:"true"`
16910
16911	// Country code.
16912	//
16913	// CountryCode is a required field
16914	CountryCode *string `type:"string" required:"true" enum:"GeoSpatialCountryCode"`
16915
16916	// A display name for the hierarchy.
16917	//
16918	// Name is a required field
16919	Name *string `min:"1" type:"string" required:"true"`
16920}
16921
16922// String returns the string representation
16923func (s GeoSpatialColumnGroup) String() string {
16924	return awsutil.Prettify(s)
16925}
16926
16927// GoString returns the string representation
16928func (s GeoSpatialColumnGroup) GoString() string {
16929	return s.String()
16930}
16931
16932// Validate inspects the fields of the type to determine if they are valid.
16933func (s *GeoSpatialColumnGroup) Validate() error {
16934	invalidParams := request.ErrInvalidParams{Context: "GeoSpatialColumnGroup"}
16935	if s.Columns == nil {
16936		invalidParams.Add(request.NewErrParamRequired("Columns"))
16937	}
16938	if s.Columns != nil && len(s.Columns) < 1 {
16939		invalidParams.Add(request.NewErrParamMinLen("Columns", 1))
16940	}
16941	if s.CountryCode == nil {
16942		invalidParams.Add(request.NewErrParamRequired("CountryCode"))
16943	}
16944	if s.Name == nil {
16945		invalidParams.Add(request.NewErrParamRequired("Name"))
16946	}
16947	if s.Name != nil && len(*s.Name) < 1 {
16948		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
16949	}
16950
16951	if invalidParams.Len() > 0 {
16952		return invalidParams
16953	}
16954	return nil
16955}
16956
16957// SetColumns sets the Columns field's value.
16958func (s *GeoSpatialColumnGroup) SetColumns(v []*string) *GeoSpatialColumnGroup {
16959	s.Columns = v
16960	return s
16961}
16962
16963// SetCountryCode sets the CountryCode field's value.
16964func (s *GeoSpatialColumnGroup) SetCountryCode(v string) *GeoSpatialColumnGroup {
16965	s.CountryCode = &v
16966	return s
16967}
16968
16969// SetName sets the Name field's value.
16970func (s *GeoSpatialColumnGroup) SetName(v string) *GeoSpatialColumnGroup {
16971	s.Name = &v
16972	return s
16973}
16974
16975type GetDashboardEmbedUrlInput struct {
16976	_ struct{} `type:"structure"`
16977
16978	// The ID for the AWS account that contains the dashboard that you're embedding.
16979	//
16980	// AwsAccountId is a required field
16981	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
16982
16983	// The ID for the dashboard, also added to the IAM policy.
16984	//
16985	// DashboardId is a required field
16986	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
16987
16988	// The authentication method that the user uses to sign in.
16989	//
16990	// IdentityType is a required field
16991	IdentityType *string `location:"querystring" locationName:"creds-type" type:"string" required:"true" enum:"IdentityType"`
16992
16993	// Remove the reset button on the embedded dashboard. The default is FALSE,
16994	// which enables the reset button.
16995	ResetDisabled *bool `location:"querystring" locationName:"reset-disabled" type:"boolean"`
16996
16997	// How many minutes the session is valid. The session lifetime must be 15-600
16998	// minutes.
16999	SessionLifetimeInMinutes *int64 `location:"querystring" locationName:"session-lifetime" min:"15" type:"long"`
17000
17001	// Remove the undo/redo button on the embedded dashboard. The default is FALSE,
17002	// which enables the undo/redo button.
17003	UndoRedoDisabled *bool `location:"querystring" locationName:"undo-redo-disabled" type:"boolean"`
17004
17005	// The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT
17006	// identity type. You can use this for any Amazon QuickSight users in your account
17007	// (readers, authors, or admins) authenticated as one of the following:
17008	//
17009	//    * Active Directory (AD) users or group members
17010	//
17011	//    * Invited nonfederated users
17012	//
17013	//    * IAM users and IAM role-based sessions authenticated through Federated
17014	//    Single Sign-On using SAML, OpenID Connect, or IAM federation.
17015	UserArn *string `location:"querystring" locationName:"user-arn" type:"string"`
17016}
17017
17018// String returns the string representation
17019func (s GetDashboardEmbedUrlInput) String() string {
17020	return awsutil.Prettify(s)
17021}
17022
17023// GoString returns the string representation
17024func (s GetDashboardEmbedUrlInput) GoString() string {
17025	return s.String()
17026}
17027
17028// Validate inspects the fields of the type to determine if they are valid.
17029func (s *GetDashboardEmbedUrlInput) Validate() error {
17030	invalidParams := request.ErrInvalidParams{Context: "GetDashboardEmbedUrlInput"}
17031	if s.AwsAccountId == nil {
17032		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
17033	}
17034	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
17035		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
17036	}
17037	if s.DashboardId == nil {
17038		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
17039	}
17040	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
17041		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
17042	}
17043	if s.IdentityType == nil {
17044		invalidParams.Add(request.NewErrParamRequired("IdentityType"))
17045	}
17046	if s.SessionLifetimeInMinutes != nil && *s.SessionLifetimeInMinutes < 15 {
17047		invalidParams.Add(request.NewErrParamMinValue("SessionLifetimeInMinutes", 15))
17048	}
17049
17050	if invalidParams.Len() > 0 {
17051		return invalidParams
17052	}
17053	return nil
17054}
17055
17056// SetAwsAccountId sets the AwsAccountId field's value.
17057func (s *GetDashboardEmbedUrlInput) SetAwsAccountId(v string) *GetDashboardEmbedUrlInput {
17058	s.AwsAccountId = &v
17059	return s
17060}
17061
17062// SetDashboardId sets the DashboardId field's value.
17063func (s *GetDashboardEmbedUrlInput) SetDashboardId(v string) *GetDashboardEmbedUrlInput {
17064	s.DashboardId = &v
17065	return s
17066}
17067
17068// SetIdentityType sets the IdentityType field's value.
17069func (s *GetDashboardEmbedUrlInput) SetIdentityType(v string) *GetDashboardEmbedUrlInput {
17070	s.IdentityType = &v
17071	return s
17072}
17073
17074// SetResetDisabled sets the ResetDisabled field's value.
17075func (s *GetDashboardEmbedUrlInput) SetResetDisabled(v bool) *GetDashboardEmbedUrlInput {
17076	s.ResetDisabled = &v
17077	return s
17078}
17079
17080// SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value.
17081func (s *GetDashboardEmbedUrlInput) SetSessionLifetimeInMinutes(v int64) *GetDashboardEmbedUrlInput {
17082	s.SessionLifetimeInMinutes = &v
17083	return s
17084}
17085
17086// SetUndoRedoDisabled sets the UndoRedoDisabled field's value.
17087func (s *GetDashboardEmbedUrlInput) SetUndoRedoDisabled(v bool) *GetDashboardEmbedUrlInput {
17088	s.UndoRedoDisabled = &v
17089	return s
17090}
17091
17092// SetUserArn sets the UserArn field's value.
17093func (s *GetDashboardEmbedUrlInput) SetUserArn(v string) *GetDashboardEmbedUrlInput {
17094	s.UserArn = &v
17095	return s
17096}
17097
17098type GetDashboardEmbedUrlOutput struct {
17099	_ struct{} `type:"structure"`
17100
17101	// A single-use URL that you can put into your server-side webpage to embed
17102	// your dashboard. This URL is valid for 5 minutes. The API provides the URL
17103	// with an auth_code value that enables one (and only one) sign-on to a user
17104	// session that is valid for 10 hours.
17105	EmbedUrl *string `type:"string" sensitive:"true"`
17106
17107	// The AWS request ID for this operation.
17108	RequestId *string `type:"string"`
17109
17110	// The HTTP status of the request.
17111	Status *int64 `location:"statusCode" type:"integer"`
17112}
17113
17114// String returns the string representation
17115func (s GetDashboardEmbedUrlOutput) String() string {
17116	return awsutil.Prettify(s)
17117}
17118
17119// GoString returns the string representation
17120func (s GetDashboardEmbedUrlOutput) GoString() string {
17121	return s.String()
17122}
17123
17124// SetEmbedUrl sets the EmbedUrl field's value.
17125func (s *GetDashboardEmbedUrlOutput) SetEmbedUrl(v string) *GetDashboardEmbedUrlOutput {
17126	s.EmbedUrl = &v
17127	return s
17128}
17129
17130// SetRequestId sets the RequestId field's value.
17131func (s *GetDashboardEmbedUrlOutput) SetRequestId(v string) *GetDashboardEmbedUrlOutput {
17132	s.RequestId = &v
17133	return s
17134}
17135
17136// SetStatus sets the Status field's value.
17137func (s *GetDashboardEmbedUrlOutput) SetStatus(v int64) *GetDashboardEmbedUrlOutput {
17138	s.Status = &v
17139	return s
17140}
17141
17142// A group in Amazon QuickSight consists of a set of users. You can use groups
17143// to make it easier to manage access and security. Currently, an Amazon QuickSight
17144// subscription can't contain more than 500 Amazon QuickSight groups.
17145type Group struct {
17146	_ struct{} `type:"structure"`
17147
17148	// The Amazon Resource Name (ARN) for the group.
17149	Arn *string `type:"string"`
17150
17151	// The group description.
17152	Description *string `min:"1" type:"string"`
17153
17154	// The name of the group.
17155	GroupName *string `min:"1" type:"string"`
17156
17157	// The principal ID of the group.
17158	PrincipalId *string `type:"string"`
17159}
17160
17161// String returns the string representation
17162func (s Group) String() string {
17163	return awsutil.Prettify(s)
17164}
17165
17166// GoString returns the string representation
17167func (s Group) GoString() string {
17168	return s.String()
17169}
17170
17171// SetArn sets the Arn field's value.
17172func (s *Group) SetArn(v string) *Group {
17173	s.Arn = &v
17174	return s
17175}
17176
17177// SetDescription sets the Description field's value.
17178func (s *Group) SetDescription(v string) *Group {
17179	s.Description = &v
17180	return s
17181}
17182
17183// SetGroupName sets the GroupName field's value.
17184func (s *Group) SetGroupName(v string) *Group {
17185	s.GroupName = &v
17186	return s
17187}
17188
17189// SetPrincipalId sets the PrincipalId field's value.
17190func (s *Group) SetPrincipalId(v string) *Group {
17191	s.PrincipalId = &v
17192	return s
17193}
17194
17195// A member of an Amazon QuickSight group. Currently, group members must be
17196// users. Groups can't be members of another group. .
17197type GroupMember struct {
17198	_ struct{} `type:"structure"`
17199
17200	// The Amazon Resource Name (ARN) for the group member (user).
17201	Arn *string `type:"string"`
17202
17203	// The name of the group member (user).
17204	MemberName *string `min:"1" type:"string"`
17205}
17206
17207// String returns the string representation
17208func (s GroupMember) String() string {
17209	return awsutil.Prettify(s)
17210}
17211
17212// GoString returns the string representation
17213func (s GroupMember) GoString() string {
17214	return s.String()
17215}
17216
17217// SetArn sets the Arn field's value.
17218func (s *GroupMember) SetArn(v string) *GroupMember {
17219	s.Arn = &v
17220	return s
17221}
17222
17223// SetMemberName sets the MemberName field's value.
17224func (s *GroupMember) SetMemberName(v string) *GroupMember {
17225	s.MemberName = &v
17226	return s
17227}
17228
17229// The display options for gutter spacing between tiles on a sheet.
17230type GutterStyle struct {
17231	_ struct{} `type:"structure"`
17232
17233	// This Boolean value controls whether to display a gutter space between sheet
17234	// tiles.
17235	Show *bool `type:"boolean"`
17236}
17237
17238// String returns the string representation
17239func (s GutterStyle) String() string {
17240	return awsutil.Prettify(s)
17241}
17242
17243// GoString returns the string representation
17244func (s GutterStyle) GoString() string {
17245	return s.String()
17246}
17247
17248// SetShow sets the Show field's value.
17249func (s *GutterStyle) SetShow(v bool) *GutterStyle {
17250	s.Show = &v
17251	return s
17252}
17253
17254// An AWS Identity and Access Management (IAM) policy assignment.
17255type IAMPolicyAssignment struct {
17256	_ struct{} `type:"structure"`
17257
17258	// Assignment ID.
17259	AssignmentId *string `type:"string"`
17260
17261	// Assignment name.
17262	AssignmentName *string `min:"1" type:"string"`
17263
17264	// Assignment status.
17265	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
17266
17267	// The AWS account ID.
17268	AwsAccountId *string `min:"12" type:"string"`
17269
17270	// Identities.
17271	Identities map[string][]*string `type:"map"`
17272
17273	// The Amazon Resource Name (ARN) for the IAM policy.
17274	PolicyArn *string `type:"string"`
17275}
17276
17277// String returns the string representation
17278func (s IAMPolicyAssignment) String() string {
17279	return awsutil.Prettify(s)
17280}
17281
17282// GoString returns the string representation
17283func (s IAMPolicyAssignment) GoString() string {
17284	return s.String()
17285}
17286
17287// SetAssignmentId sets the AssignmentId field's value.
17288func (s *IAMPolicyAssignment) SetAssignmentId(v string) *IAMPolicyAssignment {
17289	s.AssignmentId = &v
17290	return s
17291}
17292
17293// SetAssignmentName sets the AssignmentName field's value.
17294func (s *IAMPolicyAssignment) SetAssignmentName(v string) *IAMPolicyAssignment {
17295	s.AssignmentName = &v
17296	return s
17297}
17298
17299// SetAssignmentStatus sets the AssignmentStatus field's value.
17300func (s *IAMPolicyAssignment) SetAssignmentStatus(v string) *IAMPolicyAssignment {
17301	s.AssignmentStatus = &v
17302	return s
17303}
17304
17305// SetAwsAccountId sets the AwsAccountId field's value.
17306func (s *IAMPolicyAssignment) SetAwsAccountId(v string) *IAMPolicyAssignment {
17307	s.AwsAccountId = &v
17308	return s
17309}
17310
17311// SetIdentities sets the Identities field's value.
17312func (s *IAMPolicyAssignment) SetIdentities(v map[string][]*string) *IAMPolicyAssignment {
17313	s.Identities = v
17314	return s
17315}
17316
17317// SetPolicyArn sets the PolicyArn field's value.
17318func (s *IAMPolicyAssignment) SetPolicyArn(v string) *IAMPolicyAssignment {
17319	s.PolicyArn = &v
17320	return s
17321}
17322
17323// IAM policy assignment summary.
17324type IAMPolicyAssignmentSummary struct {
17325	_ struct{} `type:"structure"`
17326
17327	// Assignment name.
17328	AssignmentName *string `min:"1" type:"string"`
17329
17330	// Assignment status.
17331	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
17332}
17333
17334// String returns the string representation
17335func (s IAMPolicyAssignmentSummary) String() string {
17336	return awsutil.Prettify(s)
17337}
17338
17339// GoString returns the string representation
17340func (s IAMPolicyAssignmentSummary) GoString() string {
17341	return s.String()
17342}
17343
17344// SetAssignmentName sets the AssignmentName field's value.
17345func (s *IAMPolicyAssignmentSummary) SetAssignmentName(v string) *IAMPolicyAssignmentSummary {
17346	s.AssignmentName = &v
17347	return s
17348}
17349
17350// SetAssignmentStatus sets the AssignmentStatus field's value.
17351func (s *IAMPolicyAssignmentSummary) SetAssignmentStatus(v string) *IAMPolicyAssignmentSummary {
17352	s.AssignmentStatus = &v
17353	return s
17354}
17355
17356// The identity type specified isn't supported. Supported identity types include
17357// IAM and QUICKSIGHT.
17358type IdentityTypeNotSupportedException struct {
17359	_            struct{}                  `type:"structure"`
17360	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
17361
17362	Message_ *string `locationName:"Message" type:"string"`
17363
17364	// The AWS request ID for this request.
17365	RequestId *string `type:"string"`
17366}
17367
17368// String returns the string representation
17369func (s IdentityTypeNotSupportedException) String() string {
17370	return awsutil.Prettify(s)
17371}
17372
17373// GoString returns the string representation
17374func (s IdentityTypeNotSupportedException) GoString() string {
17375	return s.String()
17376}
17377
17378func newErrorIdentityTypeNotSupportedException(v protocol.ResponseMetadata) error {
17379	return &IdentityTypeNotSupportedException{
17380		RespMetadata: v,
17381	}
17382}
17383
17384// Code returns the exception type name.
17385func (s *IdentityTypeNotSupportedException) Code() string {
17386	return "IdentityTypeNotSupportedException"
17387}
17388
17389// Message returns the exception's message.
17390func (s *IdentityTypeNotSupportedException) Message() string {
17391	if s.Message_ != nil {
17392		return *s.Message_
17393	}
17394	return ""
17395}
17396
17397// OrigErr always returns nil, satisfies awserr.Error interface.
17398func (s *IdentityTypeNotSupportedException) OrigErr() error {
17399	return nil
17400}
17401
17402func (s *IdentityTypeNotSupportedException) Error() string {
17403	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
17404}
17405
17406// Status code returns the HTTP status code for the request's response error.
17407func (s *IdentityTypeNotSupportedException) StatusCode() int {
17408	return s.RespMetadata.StatusCode
17409}
17410
17411// RequestID returns the service's response RequestID for request.
17412func (s *IdentityTypeNotSupportedException) RequestID() string {
17413	return s.RespMetadata.RequestID
17414}
17415
17416// Information about the SPICE ingestion for a dataset.
17417type Ingestion struct {
17418	_ struct{} `type:"structure"`
17419
17420	// The Amazon Resource Name (ARN) of the resource.
17421	//
17422	// Arn is a required field
17423	Arn *string `type:"string" required:"true"`
17424
17425	// The time that this ingestion started.
17426	//
17427	// CreatedTime is a required field
17428	CreatedTime *time.Time `type:"timestamp" required:"true"`
17429
17430	// Error information for this ingestion.
17431	ErrorInfo *ErrorInfo `type:"structure"`
17432
17433	// Ingestion ID.
17434	IngestionId *string `min:"1" type:"string"`
17435
17436	// The size of the data ingested, in bytes.
17437	IngestionSizeInBytes *int64 `type:"long"`
17438
17439	// Ingestion status.
17440	//
17441	// IngestionStatus is a required field
17442	IngestionStatus *string `type:"string" required:"true" enum:"IngestionStatus"`
17443
17444	// The time that this ingestion took, measured in seconds.
17445	IngestionTimeInSeconds *int64 `type:"long"`
17446
17447	// Information about a queued dataset SPICE ingestion.
17448	QueueInfo *QueueInfo `type:"structure"`
17449
17450	// Event source for this ingestion.
17451	RequestSource *string `type:"string" enum:"IngestionRequestSource"`
17452
17453	// Type of this ingestion.
17454	RequestType *string `type:"string" enum:"IngestionRequestType"`
17455
17456	// Information about rows for a data set SPICE ingestion.
17457	RowInfo *RowInfo `type:"structure"`
17458}
17459
17460// String returns the string representation
17461func (s Ingestion) String() string {
17462	return awsutil.Prettify(s)
17463}
17464
17465// GoString returns the string representation
17466func (s Ingestion) GoString() string {
17467	return s.String()
17468}
17469
17470// SetArn sets the Arn field's value.
17471func (s *Ingestion) SetArn(v string) *Ingestion {
17472	s.Arn = &v
17473	return s
17474}
17475
17476// SetCreatedTime sets the CreatedTime field's value.
17477func (s *Ingestion) SetCreatedTime(v time.Time) *Ingestion {
17478	s.CreatedTime = &v
17479	return s
17480}
17481
17482// SetErrorInfo sets the ErrorInfo field's value.
17483func (s *Ingestion) SetErrorInfo(v *ErrorInfo) *Ingestion {
17484	s.ErrorInfo = v
17485	return s
17486}
17487
17488// SetIngestionId sets the IngestionId field's value.
17489func (s *Ingestion) SetIngestionId(v string) *Ingestion {
17490	s.IngestionId = &v
17491	return s
17492}
17493
17494// SetIngestionSizeInBytes sets the IngestionSizeInBytes field's value.
17495func (s *Ingestion) SetIngestionSizeInBytes(v int64) *Ingestion {
17496	s.IngestionSizeInBytes = &v
17497	return s
17498}
17499
17500// SetIngestionStatus sets the IngestionStatus field's value.
17501func (s *Ingestion) SetIngestionStatus(v string) *Ingestion {
17502	s.IngestionStatus = &v
17503	return s
17504}
17505
17506// SetIngestionTimeInSeconds sets the IngestionTimeInSeconds field's value.
17507func (s *Ingestion) SetIngestionTimeInSeconds(v int64) *Ingestion {
17508	s.IngestionTimeInSeconds = &v
17509	return s
17510}
17511
17512// SetQueueInfo sets the QueueInfo field's value.
17513func (s *Ingestion) SetQueueInfo(v *QueueInfo) *Ingestion {
17514	s.QueueInfo = v
17515	return s
17516}
17517
17518// SetRequestSource sets the RequestSource field's value.
17519func (s *Ingestion) SetRequestSource(v string) *Ingestion {
17520	s.RequestSource = &v
17521	return s
17522}
17523
17524// SetRequestType sets the RequestType field's value.
17525func (s *Ingestion) SetRequestType(v string) *Ingestion {
17526	s.RequestType = &v
17527	return s
17528}
17529
17530// SetRowInfo sets the RowInfo field's value.
17531func (s *Ingestion) SetRowInfo(v *RowInfo) *Ingestion {
17532	s.RowInfo = v
17533	return s
17534}
17535
17536// Metadata for a column that is used as the input of a transform operation.
17537type InputColumn struct {
17538	_ struct{} `type:"structure"`
17539
17540	// The name of this column in the underlying data source.
17541	//
17542	// Name is a required field
17543	Name *string `min:"1" type:"string" required:"true"`
17544
17545	// The data type of the column.
17546	//
17547	// Type is a required field
17548	Type *string `type:"string" required:"true" enum:"InputColumnDataType"`
17549}
17550
17551// String returns the string representation
17552func (s InputColumn) String() string {
17553	return awsutil.Prettify(s)
17554}
17555
17556// GoString returns the string representation
17557func (s InputColumn) GoString() string {
17558	return s.String()
17559}
17560
17561// Validate inspects the fields of the type to determine if they are valid.
17562func (s *InputColumn) Validate() error {
17563	invalidParams := request.ErrInvalidParams{Context: "InputColumn"}
17564	if s.Name == nil {
17565		invalidParams.Add(request.NewErrParamRequired("Name"))
17566	}
17567	if s.Name != nil && len(*s.Name) < 1 {
17568		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
17569	}
17570	if s.Type == nil {
17571		invalidParams.Add(request.NewErrParamRequired("Type"))
17572	}
17573
17574	if invalidParams.Len() > 0 {
17575		return invalidParams
17576	}
17577	return nil
17578}
17579
17580// SetName sets the Name field's value.
17581func (s *InputColumn) SetName(v string) *InputColumn {
17582	s.Name = &v
17583	return s
17584}
17585
17586// SetType sets the Type field's value.
17587func (s *InputColumn) SetType(v string) *InputColumn {
17588	s.Type = &v
17589	return s
17590}
17591
17592// Integer parameter.
17593type IntegerParameter struct {
17594	_ struct{} `type:"structure"`
17595
17596	// A display name for the dataset.
17597	//
17598	// Name is a required field
17599	Name *string `type:"string" required:"true"`
17600
17601	// Values.
17602	//
17603	// Values is a required field
17604	Values []*int64 `type:"list" required:"true"`
17605}
17606
17607// String returns the string representation
17608func (s IntegerParameter) String() string {
17609	return awsutil.Prettify(s)
17610}
17611
17612// GoString returns the string representation
17613func (s IntegerParameter) GoString() string {
17614	return s.String()
17615}
17616
17617// Validate inspects the fields of the type to determine if they are valid.
17618func (s *IntegerParameter) Validate() error {
17619	invalidParams := request.ErrInvalidParams{Context: "IntegerParameter"}
17620	if s.Name == nil {
17621		invalidParams.Add(request.NewErrParamRequired("Name"))
17622	}
17623	if s.Values == nil {
17624		invalidParams.Add(request.NewErrParamRequired("Values"))
17625	}
17626
17627	if invalidParams.Len() > 0 {
17628		return invalidParams
17629	}
17630	return nil
17631}
17632
17633// SetName sets the Name field's value.
17634func (s *IntegerParameter) SetName(v string) *IntegerParameter {
17635	s.Name = &v
17636	return s
17637}
17638
17639// SetValues sets the Values field's value.
17640func (s *IntegerParameter) SetValues(v []*int64) *IntegerParameter {
17641	s.Values = v
17642	return s
17643}
17644
17645// An internal failure occurred.
17646type InternalFailureException struct {
17647	_            struct{}                  `type:"structure"`
17648	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
17649
17650	Message_ *string `locationName:"Message" type:"string"`
17651
17652	// The AWS request ID for this request.
17653	RequestId *string `type:"string"`
17654}
17655
17656// String returns the string representation
17657func (s InternalFailureException) String() string {
17658	return awsutil.Prettify(s)
17659}
17660
17661// GoString returns the string representation
17662func (s InternalFailureException) GoString() string {
17663	return s.String()
17664}
17665
17666func newErrorInternalFailureException(v protocol.ResponseMetadata) error {
17667	return &InternalFailureException{
17668		RespMetadata: v,
17669	}
17670}
17671
17672// Code returns the exception type name.
17673func (s *InternalFailureException) Code() string {
17674	return "InternalFailureException"
17675}
17676
17677// Message returns the exception's message.
17678func (s *InternalFailureException) Message() string {
17679	if s.Message_ != nil {
17680		return *s.Message_
17681	}
17682	return ""
17683}
17684
17685// OrigErr always returns nil, satisfies awserr.Error interface.
17686func (s *InternalFailureException) OrigErr() error {
17687	return nil
17688}
17689
17690func (s *InternalFailureException) Error() string {
17691	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
17692}
17693
17694// Status code returns the HTTP status code for the request's response error.
17695func (s *InternalFailureException) StatusCode() int {
17696	return s.RespMetadata.StatusCode
17697}
17698
17699// RequestID returns the service's response RequestID for request.
17700func (s *InternalFailureException) RequestID() string {
17701	return s.RespMetadata.RequestID
17702}
17703
17704// The NextToken value isn't valid.
17705type InvalidNextTokenException struct {
17706	_            struct{}                  `type:"structure"`
17707	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
17708
17709	Message_ *string `locationName:"Message" type:"string"`
17710
17711	// The AWS request ID for this request.
17712	RequestId *string `type:"string"`
17713}
17714
17715// String returns the string representation
17716func (s InvalidNextTokenException) String() string {
17717	return awsutil.Prettify(s)
17718}
17719
17720// GoString returns the string representation
17721func (s InvalidNextTokenException) GoString() string {
17722	return s.String()
17723}
17724
17725func newErrorInvalidNextTokenException(v protocol.ResponseMetadata) error {
17726	return &InvalidNextTokenException{
17727		RespMetadata: v,
17728	}
17729}
17730
17731// Code returns the exception type name.
17732func (s *InvalidNextTokenException) Code() string {
17733	return "InvalidNextTokenException"
17734}
17735
17736// Message returns the exception's message.
17737func (s *InvalidNextTokenException) Message() string {
17738	if s.Message_ != nil {
17739		return *s.Message_
17740	}
17741	return ""
17742}
17743
17744// OrigErr always returns nil, satisfies awserr.Error interface.
17745func (s *InvalidNextTokenException) OrigErr() error {
17746	return nil
17747}
17748
17749func (s *InvalidNextTokenException) Error() string {
17750	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
17751}
17752
17753// Status code returns the HTTP status code for the request's response error.
17754func (s *InvalidNextTokenException) StatusCode() int {
17755	return s.RespMetadata.StatusCode
17756}
17757
17758// RequestID returns the service's response RequestID for request.
17759func (s *InvalidNextTokenException) RequestID() string {
17760	return s.RespMetadata.RequestID
17761}
17762
17763// One or more parameters has a value that isn't valid.
17764type InvalidParameterValueException struct {
17765	_            struct{}                  `type:"structure"`
17766	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
17767
17768	Message_ *string `locationName:"Message" type:"string"`
17769
17770	// The AWS request ID for this request.
17771	RequestId *string `type:"string"`
17772}
17773
17774// String returns the string representation
17775func (s InvalidParameterValueException) String() string {
17776	return awsutil.Prettify(s)
17777}
17778
17779// GoString returns the string representation
17780func (s InvalidParameterValueException) GoString() string {
17781	return s.String()
17782}
17783
17784func newErrorInvalidParameterValueException(v protocol.ResponseMetadata) error {
17785	return &InvalidParameterValueException{
17786		RespMetadata: v,
17787	}
17788}
17789
17790// Code returns the exception type name.
17791func (s *InvalidParameterValueException) Code() string {
17792	return "InvalidParameterValueException"
17793}
17794
17795// Message returns the exception's message.
17796func (s *InvalidParameterValueException) Message() string {
17797	if s.Message_ != nil {
17798		return *s.Message_
17799	}
17800	return ""
17801}
17802
17803// OrigErr always returns nil, satisfies awserr.Error interface.
17804func (s *InvalidParameterValueException) OrigErr() error {
17805	return nil
17806}
17807
17808func (s *InvalidParameterValueException) Error() string {
17809	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
17810}
17811
17812// Status code returns the HTTP status code for the request's response error.
17813func (s *InvalidParameterValueException) StatusCode() int {
17814	return s.RespMetadata.StatusCode
17815}
17816
17817// RequestID returns the service's response RequestID for request.
17818func (s *InvalidParameterValueException) RequestID() string {
17819	return s.RespMetadata.RequestID
17820}
17821
17822// Jira parameters.
17823type JiraParameters struct {
17824	_ struct{} `type:"structure"`
17825
17826	// The base URL of the Jira site.
17827	//
17828	// SiteBaseUrl is a required field
17829	SiteBaseUrl *string `min:"1" type:"string" required:"true"`
17830}
17831
17832// String returns the string representation
17833func (s JiraParameters) String() string {
17834	return awsutil.Prettify(s)
17835}
17836
17837// GoString returns the string representation
17838func (s JiraParameters) GoString() string {
17839	return s.String()
17840}
17841
17842// Validate inspects the fields of the type to determine if they are valid.
17843func (s *JiraParameters) Validate() error {
17844	invalidParams := request.ErrInvalidParams{Context: "JiraParameters"}
17845	if s.SiteBaseUrl == nil {
17846		invalidParams.Add(request.NewErrParamRequired("SiteBaseUrl"))
17847	}
17848	if s.SiteBaseUrl != nil && len(*s.SiteBaseUrl) < 1 {
17849		invalidParams.Add(request.NewErrParamMinLen("SiteBaseUrl", 1))
17850	}
17851
17852	if invalidParams.Len() > 0 {
17853		return invalidParams
17854	}
17855	return nil
17856}
17857
17858// SetSiteBaseUrl sets the SiteBaseUrl field's value.
17859func (s *JiraParameters) SetSiteBaseUrl(v string) *JiraParameters {
17860	s.SiteBaseUrl = &v
17861	return s
17862}
17863
17864// Join instruction.
17865type JoinInstruction struct {
17866	_ struct{} `type:"structure"`
17867
17868	// Left operand.
17869	//
17870	// LeftOperand is a required field
17871	LeftOperand *string `min:"1" type:"string" required:"true"`
17872
17873	// On Clause.
17874	//
17875	// OnClause is a required field
17876	OnClause *string `min:"1" type:"string" required:"true"`
17877
17878	// Right operand.
17879	//
17880	// RightOperand is a required field
17881	RightOperand *string `min:"1" type:"string" required:"true"`
17882
17883	// Type.
17884	//
17885	// Type is a required field
17886	Type *string `type:"string" required:"true" enum:"JoinType"`
17887}
17888
17889// String returns the string representation
17890func (s JoinInstruction) String() string {
17891	return awsutil.Prettify(s)
17892}
17893
17894// GoString returns the string representation
17895func (s JoinInstruction) GoString() string {
17896	return s.String()
17897}
17898
17899// Validate inspects the fields of the type to determine if they are valid.
17900func (s *JoinInstruction) Validate() error {
17901	invalidParams := request.ErrInvalidParams{Context: "JoinInstruction"}
17902	if s.LeftOperand == nil {
17903		invalidParams.Add(request.NewErrParamRequired("LeftOperand"))
17904	}
17905	if s.LeftOperand != nil && len(*s.LeftOperand) < 1 {
17906		invalidParams.Add(request.NewErrParamMinLen("LeftOperand", 1))
17907	}
17908	if s.OnClause == nil {
17909		invalidParams.Add(request.NewErrParamRequired("OnClause"))
17910	}
17911	if s.OnClause != nil && len(*s.OnClause) < 1 {
17912		invalidParams.Add(request.NewErrParamMinLen("OnClause", 1))
17913	}
17914	if s.RightOperand == nil {
17915		invalidParams.Add(request.NewErrParamRequired("RightOperand"))
17916	}
17917	if s.RightOperand != nil && len(*s.RightOperand) < 1 {
17918		invalidParams.Add(request.NewErrParamMinLen("RightOperand", 1))
17919	}
17920	if s.Type == nil {
17921		invalidParams.Add(request.NewErrParamRequired("Type"))
17922	}
17923
17924	if invalidParams.Len() > 0 {
17925		return invalidParams
17926	}
17927	return nil
17928}
17929
17930// SetLeftOperand sets the LeftOperand field's value.
17931func (s *JoinInstruction) SetLeftOperand(v string) *JoinInstruction {
17932	s.LeftOperand = &v
17933	return s
17934}
17935
17936// SetOnClause sets the OnClause field's value.
17937func (s *JoinInstruction) SetOnClause(v string) *JoinInstruction {
17938	s.OnClause = &v
17939	return s
17940}
17941
17942// SetRightOperand sets the RightOperand field's value.
17943func (s *JoinInstruction) SetRightOperand(v string) *JoinInstruction {
17944	s.RightOperand = &v
17945	return s
17946}
17947
17948// SetType sets the Type field's value.
17949func (s *JoinInstruction) SetType(v string) *JoinInstruction {
17950	s.Type = &v
17951	return s
17952}
17953
17954// A limit is exceeded.
17955type LimitExceededException struct {
17956	_            struct{}                  `type:"structure"`
17957	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
17958
17959	Message_ *string `locationName:"Message" type:"string"`
17960
17961	// The AWS request ID for this request.
17962	RequestId *string `type:"string"`
17963
17964	// Limit exceeded.
17965	ResourceType *string `type:"string" enum:"ExceptionResourceType"`
17966}
17967
17968// String returns the string representation
17969func (s LimitExceededException) String() string {
17970	return awsutil.Prettify(s)
17971}
17972
17973// GoString returns the string representation
17974func (s LimitExceededException) GoString() string {
17975	return s.String()
17976}
17977
17978func newErrorLimitExceededException(v protocol.ResponseMetadata) error {
17979	return &LimitExceededException{
17980		RespMetadata: v,
17981	}
17982}
17983
17984// Code returns the exception type name.
17985func (s *LimitExceededException) Code() string {
17986	return "LimitExceededException"
17987}
17988
17989// Message returns the exception's message.
17990func (s *LimitExceededException) Message() string {
17991	if s.Message_ != nil {
17992		return *s.Message_
17993	}
17994	return ""
17995}
17996
17997// OrigErr always returns nil, satisfies awserr.Error interface.
17998func (s *LimitExceededException) OrigErr() error {
17999	return nil
18000}
18001
18002func (s *LimitExceededException) Error() string {
18003	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
18004}
18005
18006// Status code returns the HTTP status code for the request's response error.
18007func (s *LimitExceededException) StatusCode() int {
18008	return s.RespMetadata.StatusCode
18009}
18010
18011// RequestID returns the service's response RequestID for request.
18012func (s *LimitExceededException) RequestID() string {
18013	return s.RespMetadata.RequestID
18014}
18015
18016type ListDashboardVersionsInput struct {
18017	_ struct{} `type:"structure"`
18018
18019	// The ID of the AWS account that contains the dashboard that you're listing
18020	// versions for.
18021	//
18022	// AwsAccountId is a required field
18023	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
18024
18025	// The ID for the dashboard.
18026	//
18027	// DashboardId is a required field
18028	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
18029
18030	// The maximum number of results to be returned per request.
18031	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
18032
18033	// The token for the next set of results, or null if there are no more results.
18034	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
18035}
18036
18037// String returns the string representation
18038func (s ListDashboardVersionsInput) String() string {
18039	return awsutil.Prettify(s)
18040}
18041
18042// GoString returns the string representation
18043func (s ListDashboardVersionsInput) GoString() string {
18044	return s.String()
18045}
18046
18047// Validate inspects the fields of the type to determine if they are valid.
18048func (s *ListDashboardVersionsInput) Validate() error {
18049	invalidParams := request.ErrInvalidParams{Context: "ListDashboardVersionsInput"}
18050	if s.AwsAccountId == nil {
18051		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
18052	}
18053	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
18054		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
18055	}
18056	if s.DashboardId == nil {
18057		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
18058	}
18059	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
18060		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
18061	}
18062	if s.MaxResults != nil && *s.MaxResults < 1 {
18063		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
18064	}
18065
18066	if invalidParams.Len() > 0 {
18067		return invalidParams
18068	}
18069	return nil
18070}
18071
18072// SetAwsAccountId sets the AwsAccountId field's value.
18073func (s *ListDashboardVersionsInput) SetAwsAccountId(v string) *ListDashboardVersionsInput {
18074	s.AwsAccountId = &v
18075	return s
18076}
18077
18078// SetDashboardId sets the DashboardId field's value.
18079func (s *ListDashboardVersionsInput) SetDashboardId(v string) *ListDashboardVersionsInput {
18080	s.DashboardId = &v
18081	return s
18082}
18083
18084// SetMaxResults sets the MaxResults field's value.
18085func (s *ListDashboardVersionsInput) SetMaxResults(v int64) *ListDashboardVersionsInput {
18086	s.MaxResults = &v
18087	return s
18088}
18089
18090// SetNextToken sets the NextToken field's value.
18091func (s *ListDashboardVersionsInput) SetNextToken(v string) *ListDashboardVersionsInput {
18092	s.NextToken = &v
18093	return s
18094}
18095
18096type ListDashboardVersionsOutput struct {
18097	_ struct{} `type:"structure"`
18098
18099	// A structure that contains information about each version of the dashboard.
18100	DashboardVersionSummaryList []*DashboardVersionSummary `type:"list"`
18101
18102	// The token for the next set of results, or null if there are no more results.
18103	NextToken *string `type:"string"`
18104
18105	// The AWS request ID for this operation.
18106	RequestId *string `type:"string"`
18107
18108	// The HTTP status of the request.
18109	Status *int64 `location:"statusCode" type:"integer"`
18110}
18111
18112// String returns the string representation
18113func (s ListDashboardVersionsOutput) String() string {
18114	return awsutil.Prettify(s)
18115}
18116
18117// GoString returns the string representation
18118func (s ListDashboardVersionsOutput) GoString() string {
18119	return s.String()
18120}
18121
18122// SetDashboardVersionSummaryList sets the DashboardVersionSummaryList field's value.
18123func (s *ListDashboardVersionsOutput) SetDashboardVersionSummaryList(v []*DashboardVersionSummary) *ListDashboardVersionsOutput {
18124	s.DashboardVersionSummaryList = v
18125	return s
18126}
18127
18128// SetNextToken sets the NextToken field's value.
18129func (s *ListDashboardVersionsOutput) SetNextToken(v string) *ListDashboardVersionsOutput {
18130	s.NextToken = &v
18131	return s
18132}
18133
18134// SetRequestId sets the RequestId field's value.
18135func (s *ListDashboardVersionsOutput) SetRequestId(v string) *ListDashboardVersionsOutput {
18136	s.RequestId = &v
18137	return s
18138}
18139
18140// SetStatus sets the Status field's value.
18141func (s *ListDashboardVersionsOutput) SetStatus(v int64) *ListDashboardVersionsOutput {
18142	s.Status = &v
18143	return s
18144}
18145
18146type ListDashboardsInput struct {
18147	_ struct{} `type:"structure"`
18148
18149	// The ID of the AWS account that contains the dashboards that you're listing.
18150	//
18151	// AwsAccountId is a required field
18152	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
18153
18154	// The maximum number of results to be returned per request.
18155	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
18156
18157	// The token for the next set of results, or null if there are no more results.
18158	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
18159}
18160
18161// String returns the string representation
18162func (s ListDashboardsInput) String() string {
18163	return awsutil.Prettify(s)
18164}
18165
18166// GoString returns the string representation
18167func (s ListDashboardsInput) GoString() string {
18168	return s.String()
18169}
18170
18171// Validate inspects the fields of the type to determine if they are valid.
18172func (s *ListDashboardsInput) Validate() error {
18173	invalidParams := request.ErrInvalidParams{Context: "ListDashboardsInput"}
18174	if s.AwsAccountId == nil {
18175		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
18176	}
18177	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
18178		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
18179	}
18180	if s.MaxResults != nil && *s.MaxResults < 1 {
18181		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
18182	}
18183
18184	if invalidParams.Len() > 0 {
18185		return invalidParams
18186	}
18187	return nil
18188}
18189
18190// SetAwsAccountId sets the AwsAccountId field's value.
18191func (s *ListDashboardsInput) SetAwsAccountId(v string) *ListDashboardsInput {
18192	s.AwsAccountId = &v
18193	return s
18194}
18195
18196// SetMaxResults sets the MaxResults field's value.
18197func (s *ListDashboardsInput) SetMaxResults(v int64) *ListDashboardsInput {
18198	s.MaxResults = &v
18199	return s
18200}
18201
18202// SetNextToken sets the NextToken field's value.
18203func (s *ListDashboardsInput) SetNextToken(v string) *ListDashboardsInput {
18204	s.NextToken = &v
18205	return s
18206}
18207
18208type ListDashboardsOutput struct {
18209	_ struct{} `type:"structure"`
18210
18211	// A structure that contains all of the dashboards in your AWS account. This
18212	// structure provides basic information about the dashboards.
18213	DashboardSummaryList []*DashboardSummary `type:"list"`
18214
18215	// The token for the next set of results, or null if there are no more results.
18216	NextToken *string `type:"string"`
18217
18218	// The AWS request ID for this operation.
18219	RequestId *string `type:"string"`
18220
18221	// The HTTP status of the request.
18222	Status *int64 `location:"statusCode" type:"integer"`
18223}
18224
18225// String returns the string representation
18226func (s ListDashboardsOutput) String() string {
18227	return awsutil.Prettify(s)
18228}
18229
18230// GoString returns the string representation
18231func (s ListDashboardsOutput) GoString() string {
18232	return s.String()
18233}
18234
18235// SetDashboardSummaryList sets the DashboardSummaryList field's value.
18236func (s *ListDashboardsOutput) SetDashboardSummaryList(v []*DashboardSummary) *ListDashboardsOutput {
18237	s.DashboardSummaryList = v
18238	return s
18239}
18240
18241// SetNextToken sets the NextToken field's value.
18242func (s *ListDashboardsOutput) SetNextToken(v string) *ListDashboardsOutput {
18243	s.NextToken = &v
18244	return s
18245}
18246
18247// SetRequestId sets the RequestId field's value.
18248func (s *ListDashboardsOutput) SetRequestId(v string) *ListDashboardsOutput {
18249	s.RequestId = &v
18250	return s
18251}
18252
18253// SetStatus sets the Status field's value.
18254func (s *ListDashboardsOutput) SetStatus(v int64) *ListDashboardsOutput {
18255	s.Status = &v
18256	return s
18257}
18258
18259type ListDataSetsInput struct {
18260	_ struct{} `type:"structure"`
18261
18262	// The AWS account ID.
18263	//
18264	// AwsAccountId is a required field
18265	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
18266
18267	// The maximum number of results to be returned per request.
18268	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
18269
18270	// The token for the next set of results, or null if there are no more results.
18271	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
18272}
18273
18274// String returns the string representation
18275func (s ListDataSetsInput) String() string {
18276	return awsutil.Prettify(s)
18277}
18278
18279// GoString returns the string representation
18280func (s ListDataSetsInput) GoString() string {
18281	return s.String()
18282}
18283
18284// Validate inspects the fields of the type to determine if they are valid.
18285func (s *ListDataSetsInput) Validate() error {
18286	invalidParams := request.ErrInvalidParams{Context: "ListDataSetsInput"}
18287	if s.AwsAccountId == nil {
18288		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
18289	}
18290	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
18291		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
18292	}
18293	if s.MaxResults != nil && *s.MaxResults < 1 {
18294		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
18295	}
18296
18297	if invalidParams.Len() > 0 {
18298		return invalidParams
18299	}
18300	return nil
18301}
18302
18303// SetAwsAccountId sets the AwsAccountId field's value.
18304func (s *ListDataSetsInput) SetAwsAccountId(v string) *ListDataSetsInput {
18305	s.AwsAccountId = &v
18306	return s
18307}
18308
18309// SetMaxResults sets the MaxResults field's value.
18310func (s *ListDataSetsInput) SetMaxResults(v int64) *ListDataSetsInput {
18311	s.MaxResults = &v
18312	return s
18313}
18314
18315// SetNextToken sets the NextToken field's value.
18316func (s *ListDataSetsInput) SetNextToken(v string) *ListDataSetsInput {
18317	s.NextToken = &v
18318	return s
18319}
18320
18321type ListDataSetsOutput struct {
18322	_ struct{} `type:"structure"`
18323
18324	// The list of dataset summaries.
18325	DataSetSummaries []*DataSetSummary `type:"list"`
18326
18327	// The token for the next set of results, or null if there are no more results.
18328	NextToken *string `type:"string"`
18329
18330	// The AWS request ID for this operation.
18331	RequestId *string `type:"string"`
18332
18333	// The HTTP status of the request.
18334	Status *int64 `location:"statusCode" type:"integer"`
18335}
18336
18337// String returns the string representation
18338func (s ListDataSetsOutput) String() string {
18339	return awsutil.Prettify(s)
18340}
18341
18342// GoString returns the string representation
18343func (s ListDataSetsOutput) GoString() string {
18344	return s.String()
18345}
18346
18347// SetDataSetSummaries sets the DataSetSummaries field's value.
18348func (s *ListDataSetsOutput) SetDataSetSummaries(v []*DataSetSummary) *ListDataSetsOutput {
18349	s.DataSetSummaries = v
18350	return s
18351}
18352
18353// SetNextToken sets the NextToken field's value.
18354func (s *ListDataSetsOutput) SetNextToken(v string) *ListDataSetsOutput {
18355	s.NextToken = &v
18356	return s
18357}
18358
18359// SetRequestId sets the RequestId field's value.
18360func (s *ListDataSetsOutput) SetRequestId(v string) *ListDataSetsOutput {
18361	s.RequestId = &v
18362	return s
18363}
18364
18365// SetStatus sets the Status field's value.
18366func (s *ListDataSetsOutput) SetStatus(v int64) *ListDataSetsOutput {
18367	s.Status = &v
18368	return s
18369}
18370
18371type ListDataSourcesInput struct {
18372	_ struct{} `type:"structure"`
18373
18374	// The AWS account ID.
18375	//
18376	// AwsAccountId is a required field
18377	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
18378
18379	// The maximum number of results to be returned per request.
18380	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
18381
18382	// The token for the next set of results, or null if there are no more results.
18383	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
18384}
18385
18386// String returns the string representation
18387func (s ListDataSourcesInput) String() string {
18388	return awsutil.Prettify(s)
18389}
18390
18391// GoString returns the string representation
18392func (s ListDataSourcesInput) GoString() string {
18393	return s.String()
18394}
18395
18396// Validate inspects the fields of the type to determine if they are valid.
18397func (s *ListDataSourcesInput) Validate() error {
18398	invalidParams := request.ErrInvalidParams{Context: "ListDataSourcesInput"}
18399	if s.AwsAccountId == nil {
18400		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
18401	}
18402	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
18403		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
18404	}
18405	if s.MaxResults != nil && *s.MaxResults < 1 {
18406		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
18407	}
18408
18409	if invalidParams.Len() > 0 {
18410		return invalidParams
18411	}
18412	return nil
18413}
18414
18415// SetAwsAccountId sets the AwsAccountId field's value.
18416func (s *ListDataSourcesInput) SetAwsAccountId(v string) *ListDataSourcesInput {
18417	s.AwsAccountId = &v
18418	return s
18419}
18420
18421// SetMaxResults sets the MaxResults field's value.
18422func (s *ListDataSourcesInput) SetMaxResults(v int64) *ListDataSourcesInput {
18423	s.MaxResults = &v
18424	return s
18425}
18426
18427// SetNextToken sets the NextToken field's value.
18428func (s *ListDataSourcesInput) SetNextToken(v string) *ListDataSourcesInput {
18429	s.NextToken = &v
18430	return s
18431}
18432
18433type ListDataSourcesOutput struct {
18434	_ struct{} `type:"structure"`
18435
18436	// A list of data sources.
18437	DataSources []*DataSource `type:"list"`
18438
18439	// The token for the next set of results, or null if there are no more results.
18440	NextToken *string `type:"string"`
18441
18442	// The AWS request ID for this operation.
18443	RequestId *string `type:"string"`
18444
18445	// The HTTP status of the request.
18446	Status *int64 `location:"statusCode" type:"integer"`
18447}
18448
18449// String returns the string representation
18450func (s ListDataSourcesOutput) String() string {
18451	return awsutil.Prettify(s)
18452}
18453
18454// GoString returns the string representation
18455func (s ListDataSourcesOutput) GoString() string {
18456	return s.String()
18457}
18458
18459// SetDataSources sets the DataSources field's value.
18460func (s *ListDataSourcesOutput) SetDataSources(v []*DataSource) *ListDataSourcesOutput {
18461	s.DataSources = v
18462	return s
18463}
18464
18465// SetNextToken sets the NextToken field's value.
18466func (s *ListDataSourcesOutput) SetNextToken(v string) *ListDataSourcesOutput {
18467	s.NextToken = &v
18468	return s
18469}
18470
18471// SetRequestId sets the RequestId field's value.
18472func (s *ListDataSourcesOutput) SetRequestId(v string) *ListDataSourcesOutput {
18473	s.RequestId = &v
18474	return s
18475}
18476
18477// SetStatus sets the Status field's value.
18478func (s *ListDataSourcesOutput) SetStatus(v int64) *ListDataSourcesOutput {
18479	s.Status = &v
18480	return s
18481}
18482
18483type ListGroupMembershipsInput struct {
18484	_ struct{} `type:"structure"`
18485
18486	// The ID for the AWS account that the group is in. Currently, you use the ID
18487	// for the AWS account that contains your Amazon QuickSight account.
18488	//
18489	// AwsAccountId is a required field
18490	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
18491
18492	// The name of the group that you want to see a membership list of.
18493	//
18494	// GroupName is a required field
18495	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
18496
18497	// The maximum number of results to return from this request.
18498	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
18499
18500	// The namespace. Currently, you should set this to default.
18501	//
18502	// Namespace is a required field
18503	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
18504
18505	// A pagination token that can be used in a subsequent request.
18506	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
18507}
18508
18509// String returns the string representation
18510func (s ListGroupMembershipsInput) String() string {
18511	return awsutil.Prettify(s)
18512}
18513
18514// GoString returns the string representation
18515func (s ListGroupMembershipsInput) GoString() string {
18516	return s.String()
18517}
18518
18519// Validate inspects the fields of the type to determine if they are valid.
18520func (s *ListGroupMembershipsInput) Validate() error {
18521	invalidParams := request.ErrInvalidParams{Context: "ListGroupMembershipsInput"}
18522	if s.AwsAccountId == nil {
18523		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
18524	}
18525	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
18526		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
18527	}
18528	if s.GroupName == nil {
18529		invalidParams.Add(request.NewErrParamRequired("GroupName"))
18530	}
18531	if s.GroupName != nil && len(*s.GroupName) < 1 {
18532		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
18533	}
18534	if s.MaxResults != nil && *s.MaxResults < 1 {
18535		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
18536	}
18537	if s.Namespace == nil {
18538		invalidParams.Add(request.NewErrParamRequired("Namespace"))
18539	}
18540	if s.Namespace != nil && len(*s.Namespace) < 1 {
18541		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
18542	}
18543
18544	if invalidParams.Len() > 0 {
18545		return invalidParams
18546	}
18547	return nil
18548}
18549
18550// SetAwsAccountId sets the AwsAccountId field's value.
18551func (s *ListGroupMembershipsInput) SetAwsAccountId(v string) *ListGroupMembershipsInput {
18552	s.AwsAccountId = &v
18553	return s
18554}
18555
18556// SetGroupName sets the GroupName field's value.
18557func (s *ListGroupMembershipsInput) SetGroupName(v string) *ListGroupMembershipsInput {
18558	s.GroupName = &v
18559	return s
18560}
18561
18562// SetMaxResults sets the MaxResults field's value.
18563func (s *ListGroupMembershipsInput) SetMaxResults(v int64) *ListGroupMembershipsInput {
18564	s.MaxResults = &v
18565	return s
18566}
18567
18568// SetNamespace sets the Namespace field's value.
18569func (s *ListGroupMembershipsInput) SetNamespace(v string) *ListGroupMembershipsInput {
18570	s.Namespace = &v
18571	return s
18572}
18573
18574// SetNextToken sets the NextToken field's value.
18575func (s *ListGroupMembershipsInput) SetNextToken(v string) *ListGroupMembershipsInput {
18576	s.NextToken = &v
18577	return s
18578}
18579
18580type ListGroupMembershipsOutput struct {
18581	_ struct{} `type:"structure"`
18582
18583	// The list of the members of the group.
18584	GroupMemberList []*GroupMember `type:"list"`
18585
18586	// A pagination token that can be used in a subsequent request.
18587	NextToken *string `type:"string"`
18588
18589	// The AWS request ID for this operation.
18590	RequestId *string `type:"string"`
18591
18592	// The HTTP status of the request.
18593	Status *int64 `location:"statusCode" type:"integer"`
18594}
18595
18596// String returns the string representation
18597func (s ListGroupMembershipsOutput) String() string {
18598	return awsutil.Prettify(s)
18599}
18600
18601// GoString returns the string representation
18602func (s ListGroupMembershipsOutput) GoString() string {
18603	return s.String()
18604}
18605
18606// SetGroupMemberList sets the GroupMemberList field's value.
18607func (s *ListGroupMembershipsOutput) SetGroupMemberList(v []*GroupMember) *ListGroupMembershipsOutput {
18608	s.GroupMemberList = v
18609	return s
18610}
18611
18612// SetNextToken sets the NextToken field's value.
18613func (s *ListGroupMembershipsOutput) SetNextToken(v string) *ListGroupMembershipsOutput {
18614	s.NextToken = &v
18615	return s
18616}
18617
18618// SetRequestId sets the RequestId field's value.
18619func (s *ListGroupMembershipsOutput) SetRequestId(v string) *ListGroupMembershipsOutput {
18620	s.RequestId = &v
18621	return s
18622}
18623
18624// SetStatus sets the Status field's value.
18625func (s *ListGroupMembershipsOutput) SetStatus(v int64) *ListGroupMembershipsOutput {
18626	s.Status = &v
18627	return s
18628}
18629
18630type ListGroupsInput struct {
18631	_ struct{} `type:"structure"`
18632
18633	// The ID for the AWS account that the group is in. Currently, you use the ID
18634	// for the AWS account that contains your Amazon QuickSight account.
18635	//
18636	// AwsAccountId is a required field
18637	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
18638
18639	// The maximum number of results to return.
18640	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
18641
18642	// The namespace. Currently, you should set this to default.
18643	//
18644	// Namespace is a required field
18645	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
18646
18647	// A pagination token that can be used in a subsequent request.
18648	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
18649}
18650
18651// String returns the string representation
18652func (s ListGroupsInput) String() string {
18653	return awsutil.Prettify(s)
18654}
18655
18656// GoString returns the string representation
18657func (s ListGroupsInput) GoString() string {
18658	return s.String()
18659}
18660
18661// Validate inspects the fields of the type to determine if they are valid.
18662func (s *ListGroupsInput) Validate() error {
18663	invalidParams := request.ErrInvalidParams{Context: "ListGroupsInput"}
18664	if s.AwsAccountId == nil {
18665		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
18666	}
18667	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
18668		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
18669	}
18670	if s.MaxResults != nil && *s.MaxResults < 1 {
18671		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
18672	}
18673	if s.Namespace == nil {
18674		invalidParams.Add(request.NewErrParamRequired("Namespace"))
18675	}
18676	if s.Namespace != nil && len(*s.Namespace) < 1 {
18677		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
18678	}
18679
18680	if invalidParams.Len() > 0 {
18681		return invalidParams
18682	}
18683	return nil
18684}
18685
18686// SetAwsAccountId sets the AwsAccountId field's value.
18687func (s *ListGroupsInput) SetAwsAccountId(v string) *ListGroupsInput {
18688	s.AwsAccountId = &v
18689	return s
18690}
18691
18692// SetMaxResults sets the MaxResults field's value.
18693func (s *ListGroupsInput) SetMaxResults(v int64) *ListGroupsInput {
18694	s.MaxResults = &v
18695	return s
18696}
18697
18698// SetNamespace sets the Namespace field's value.
18699func (s *ListGroupsInput) SetNamespace(v string) *ListGroupsInput {
18700	s.Namespace = &v
18701	return s
18702}
18703
18704// SetNextToken sets the NextToken field's value.
18705func (s *ListGroupsInput) SetNextToken(v string) *ListGroupsInput {
18706	s.NextToken = &v
18707	return s
18708}
18709
18710type ListGroupsOutput struct {
18711	_ struct{} `type:"structure"`
18712
18713	// The list of the groups.
18714	GroupList []*Group `type:"list"`
18715
18716	// A pagination token that can be used in a subsequent request.
18717	NextToken *string `type:"string"`
18718
18719	// The AWS request ID for this operation.
18720	RequestId *string `type:"string"`
18721
18722	// The HTTP status of the request.
18723	Status *int64 `location:"statusCode" type:"integer"`
18724}
18725
18726// String returns the string representation
18727func (s ListGroupsOutput) String() string {
18728	return awsutil.Prettify(s)
18729}
18730
18731// GoString returns the string representation
18732func (s ListGroupsOutput) GoString() string {
18733	return s.String()
18734}
18735
18736// SetGroupList sets the GroupList field's value.
18737func (s *ListGroupsOutput) SetGroupList(v []*Group) *ListGroupsOutput {
18738	s.GroupList = v
18739	return s
18740}
18741
18742// SetNextToken sets the NextToken field's value.
18743func (s *ListGroupsOutput) SetNextToken(v string) *ListGroupsOutput {
18744	s.NextToken = &v
18745	return s
18746}
18747
18748// SetRequestId sets the RequestId field's value.
18749func (s *ListGroupsOutput) SetRequestId(v string) *ListGroupsOutput {
18750	s.RequestId = &v
18751	return s
18752}
18753
18754// SetStatus sets the Status field's value.
18755func (s *ListGroupsOutput) SetStatus(v int64) *ListGroupsOutput {
18756	s.Status = &v
18757	return s
18758}
18759
18760type ListIAMPolicyAssignmentsForUserInput struct {
18761	_ struct{} `type:"structure"`
18762
18763	// The ID of the AWS account that contains the assignments.
18764	//
18765	// AwsAccountId is a required field
18766	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
18767
18768	// The maximum number of results to be returned per request.
18769	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
18770
18771	// The namespace of the assignment.
18772	//
18773	// Namespace is a required field
18774	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
18775
18776	// The token for the next set of results, or null if there are no more results.
18777	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
18778
18779	// The name of the user.
18780	//
18781	// UserName is a required field
18782	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
18783}
18784
18785// String returns the string representation
18786func (s ListIAMPolicyAssignmentsForUserInput) String() string {
18787	return awsutil.Prettify(s)
18788}
18789
18790// GoString returns the string representation
18791func (s ListIAMPolicyAssignmentsForUserInput) GoString() string {
18792	return s.String()
18793}
18794
18795// Validate inspects the fields of the type to determine if they are valid.
18796func (s *ListIAMPolicyAssignmentsForUserInput) Validate() error {
18797	invalidParams := request.ErrInvalidParams{Context: "ListIAMPolicyAssignmentsForUserInput"}
18798	if s.AwsAccountId == nil {
18799		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
18800	}
18801	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
18802		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
18803	}
18804	if s.MaxResults != nil && *s.MaxResults < 1 {
18805		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
18806	}
18807	if s.Namespace == nil {
18808		invalidParams.Add(request.NewErrParamRequired("Namespace"))
18809	}
18810	if s.Namespace != nil && len(*s.Namespace) < 1 {
18811		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
18812	}
18813	if s.UserName == nil {
18814		invalidParams.Add(request.NewErrParamRequired("UserName"))
18815	}
18816	if s.UserName != nil && len(*s.UserName) < 1 {
18817		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
18818	}
18819
18820	if invalidParams.Len() > 0 {
18821		return invalidParams
18822	}
18823	return nil
18824}
18825
18826// SetAwsAccountId sets the AwsAccountId field's value.
18827func (s *ListIAMPolicyAssignmentsForUserInput) SetAwsAccountId(v string) *ListIAMPolicyAssignmentsForUserInput {
18828	s.AwsAccountId = &v
18829	return s
18830}
18831
18832// SetMaxResults sets the MaxResults field's value.
18833func (s *ListIAMPolicyAssignmentsForUserInput) SetMaxResults(v int64) *ListIAMPolicyAssignmentsForUserInput {
18834	s.MaxResults = &v
18835	return s
18836}
18837
18838// SetNamespace sets the Namespace field's value.
18839func (s *ListIAMPolicyAssignmentsForUserInput) SetNamespace(v string) *ListIAMPolicyAssignmentsForUserInput {
18840	s.Namespace = &v
18841	return s
18842}
18843
18844// SetNextToken sets the NextToken field's value.
18845func (s *ListIAMPolicyAssignmentsForUserInput) SetNextToken(v string) *ListIAMPolicyAssignmentsForUserInput {
18846	s.NextToken = &v
18847	return s
18848}
18849
18850// SetUserName sets the UserName field's value.
18851func (s *ListIAMPolicyAssignmentsForUserInput) SetUserName(v string) *ListIAMPolicyAssignmentsForUserInput {
18852	s.UserName = &v
18853	return s
18854}
18855
18856type ListIAMPolicyAssignmentsForUserOutput struct {
18857	_ struct{} `type:"structure"`
18858
18859	// The active assignments for this user.
18860	ActiveAssignments []*ActiveIAMPolicyAssignment `type:"list"`
18861
18862	// The token for the next set of results, or null if there are no more results.
18863	NextToken *string `type:"string"`
18864
18865	// The AWS request ID for this operation.
18866	RequestId *string `type:"string"`
18867
18868	// The HTTP status of the request.
18869	Status *int64 `location:"statusCode" type:"integer"`
18870}
18871
18872// String returns the string representation
18873func (s ListIAMPolicyAssignmentsForUserOutput) String() string {
18874	return awsutil.Prettify(s)
18875}
18876
18877// GoString returns the string representation
18878func (s ListIAMPolicyAssignmentsForUserOutput) GoString() string {
18879	return s.String()
18880}
18881
18882// SetActiveAssignments sets the ActiveAssignments field's value.
18883func (s *ListIAMPolicyAssignmentsForUserOutput) SetActiveAssignments(v []*ActiveIAMPolicyAssignment) *ListIAMPolicyAssignmentsForUserOutput {
18884	s.ActiveAssignments = v
18885	return s
18886}
18887
18888// SetNextToken sets the NextToken field's value.
18889func (s *ListIAMPolicyAssignmentsForUserOutput) SetNextToken(v string) *ListIAMPolicyAssignmentsForUserOutput {
18890	s.NextToken = &v
18891	return s
18892}
18893
18894// SetRequestId sets the RequestId field's value.
18895func (s *ListIAMPolicyAssignmentsForUserOutput) SetRequestId(v string) *ListIAMPolicyAssignmentsForUserOutput {
18896	s.RequestId = &v
18897	return s
18898}
18899
18900// SetStatus sets the Status field's value.
18901func (s *ListIAMPolicyAssignmentsForUserOutput) SetStatus(v int64) *ListIAMPolicyAssignmentsForUserOutput {
18902	s.Status = &v
18903	return s
18904}
18905
18906type ListIAMPolicyAssignmentsInput struct {
18907	_ struct{} `type:"structure"`
18908
18909	// The status of the assignments.
18910	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
18911
18912	// The ID of the AWS account that contains these IAM policy assignments.
18913	//
18914	// AwsAccountId is a required field
18915	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
18916
18917	// The maximum number of results to be returned per request.
18918	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
18919
18920	// The namespace for the assignments.
18921	//
18922	// Namespace is a required field
18923	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
18924
18925	// The token for the next set of results, or null if there are no more results.
18926	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
18927}
18928
18929// String returns the string representation
18930func (s ListIAMPolicyAssignmentsInput) String() string {
18931	return awsutil.Prettify(s)
18932}
18933
18934// GoString returns the string representation
18935func (s ListIAMPolicyAssignmentsInput) GoString() string {
18936	return s.String()
18937}
18938
18939// Validate inspects the fields of the type to determine if they are valid.
18940func (s *ListIAMPolicyAssignmentsInput) Validate() error {
18941	invalidParams := request.ErrInvalidParams{Context: "ListIAMPolicyAssignmentsInput"}
18942	if s.AwsAccountId == nil {
18943		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
18944	}
18945	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
18946		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
18947	}
18948	if s.MaxResults != nil && *s.MaxResults < 1 {
18949		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
18950	}
18951	if s.Namespace == nil {
18952		invalidParams.Add(request.NewErrParamRequired("Namespace"))
18953	}
18954	if s.Namespace != nil && len(*s.Namespace) < 1 {
18955		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
18956	}
18957
18958	if invalidParams.Len() > 0 {
18959		return invalidParams
18960	}
18961	return nil
18962}
18963
18964// SetAssignmentStatus sets the AssignmentStatus field's value.
18965func (s *ListIAMPolicyAssignmentsInput) SetAssignmentStatus(v string) *ListIAMPolicyAssignmentsInput {
18966	s.AssignmentStatus = &v
18967	return s
18968}
18969
18970// SetAwsAccountId sets the AwsAccountId field's value.
18971func (s *ListIAMPolicyAssignmentsInput) SetAwsAccountId(v string) *ListIAMPolicyAssignmentsInput {
18972	s.AwsAccountId = &v
18973	return s
18974}
18975
18976// SetMaxResults sets the MaxResults field's value.
18977func (s *ListIAMPolicyAssignmentsInput) SetMaxResults(v int64) *ListIAMPolicyAssignmentsInput {
18978	s.MaxResults = &v
18979	return s
18980}
18981
18982// SetNamespace sets the Namespace field's value.
18983func (s *ListIAMPolicyAssignmentsInput) SetNamespace(v string) *ListIAMPolicyAssignmentsInput {
18984	s.Namespace = &v
18985	return s
18986}
18987
18988// SetNextToken sets the NextToken field's value.
18989func (s *ListIAMPolicyAssignmentsInput) SetNextToken(v string) *ListIAMPolicyAssignmentsInput {
18990	s.NextToken = &v
18991	return s
18992}
18993
18994type ListIAMPolicyAssignmentsOutput struct {
18995	_ struct{} `type:"structure"`
18996
18997	// Information describing the IAM policy assignments.
18998	IAMPolicyAssignments []*IAMPolicyAssignmentSummary `type:"list"`
18999
19000	// The token for the next set of results, or null if there are no more results.
19001	NextToken *string `type:"string"`
19002
19003	// The AWS request ID for this operation.
19004	RequestId *string `type:"string"`
19005
19006	// The HTTP status of the request.
19007	Status *int64 `location:"statusCode" type:"integer"`
19008}
19009
19010// String returns the string representation
19011func (s ListIAMPolicyAssignmentsOutput) String() string {
19012	return awsutil.Prettify(s)
19013}
19014
19015// GoString returns the string representation
19016func (s ListIAMPolicyAssignmentsOutput) GoString() string {
19017	return s.String()
19018}
19019
19020// SetIAMPolicyAssignments sets the IAMPolicyAssignments field's value.
19021func (s *ListIAMPolicyAssignmentsOutput) SetIAMPolicyAssignments(v []*IAMPolicyAssignmentSummary) *ListIAMPolicyAssignmentsOutput {
19022	s.IAMPolicyAssignments = v
19023	return s
19024}
19025
19026// SetNextToken sets the NextToken field's value.
19027func (s *ListIAMPolicyAssignmentsOutput) SetNextToken(v string) *ListIAMPolicyAssignmentsOutput {
19028	s.NextToken = &v
19029	return s
19030}
19031
19032// SetRequestId sets the RequestId field's value.
19033func (s *ListIAMPolicyAssignmentsOutput) SetRequestId(v string) *ListIAMPolicyAssignmentsOutput {
19034	s.RequestId = &v
19035	return s
19036}
19037
19038// SetStatus sets the Status field's value.
19039func (s *ListIAMPolicyAssignmentsOutput) SetStatus(v int64) *ListIAMPolicyAssignmentsOutput {
19040	s.Status = &v
19041	return s
19042}
19043
19044type ListIngestionsInput struct {
19045	_ struct{} `type:"structure"`
19046
19047	// The AWS account ID.
19048	//
19049	// AwsAccountId is a required field
19050	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19051
19052	// The ID of the dataset used in the ingestion.
19053	//
19054	// DataSetId is a required field
19055	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
19056
19057	// The maximum number of results to be returned per request.
19058	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
19059
19060	// The token for the next set of results, or null if there are no more results.
19061	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
19062}
19063
19064// String returns the string representation
19065func (s ListIngestionsInput) String() string {
19066	return awsutil.Prettify(s)
19067}
19068
19069// GoString returns the string representation
19070func (s ListIngestionsInput) GoString() string {
19071	return s.String()
19072}
19073
19074// Validate inspects the fields of the type to determine if they are valid.
19075func (s *ListIngestionsInput) Validate() error {
19076	invalidParams := request.ErrInvalidParams{Context: "ListIngestionsInput"}
19077	if s.AwsAccountId == nil {
19078		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19079	}
19080	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19081		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19082	}
19083	if s.DataSetId == nil {
19084		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
19085	}
19086	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
19087		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
19088	}
19089	if s.MaxResults != nil && *s.MaxResults < 1 {
19090		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
19091	}
19092
19093	if invalidParams.Len() > 0 {
19094		return invalidParams
19095	}
19096	return nil
19097}
19098
19099// SetAwsAccountId sets the AwsAccountId field's value.
19100func (s *ListIngestionsInput) SetAwsAccountId(v string) *ListIngestionsInput {
19101	s.AwsAccountId = &v
19102	return s
19103}
19104
19105// SetDataSetId sets the DataSetId field's value.
19106func (s *ListIngestionsInput) SetDataSetId(v string) *ListIngestionsInput {
19107	s.DataSetId = &v
19108	return s
19109}
19110
19111// SetMaxResults sets the MaxResults field's value.
19112func (s *ListIngestionsInput) SetMaxResults(v int64) *ListIngestionsInput {
19113	s.MaxResults = &v
19114	return s
19115}
19116
19117// SetNextToken sets the NextToken field's value.
19118func (s *ListIngestionsInput) SetNextToken(v string) *ListIngestionsInput {
19119	s.NextToken = &v
19120	return s
19121}
19122
19123type ListIngestionsOutput struct {
19124	_ struct{} `type:"structure"`
19125
19126	// A list of the ingestions.
19127	Ingestions []*Ingestion `type:"list"`
19128
19129	// The token for the next set of results, or null if there are no more results.
19130	NextToken *string `type:"string"`
19131
19132	// The AWS request ID for this operation.
19133	RequestId *string `type:"string"`
19134
19135	// The HTTP status of the request.
19136	Status *int64 `location:"statusCode" type:"integer"`
19137}
19138
19139// String returns the string representation
19140func (s ListIngestionsOutput) String() string {
19141	return awsutil.Prettify(s)
19142}
19143
19144// GoString returns the string representation
19145func (s ListIngestionsOutput) GoString() string {
19146	return s.String()
19147}
19148
19149// SetIngestions sets the Ingestions field's value.
19150func (s *ListIngestionsOutput) SetIngestions(v []*Ingestion) *ListIngestionsOutput {
19151	s.Ingestions = v
19152	return s
19153}
19154
19155// SetNextToken sets the NextToken field's value.
19156func (s *ListIngestionsOutput) SetNextToken(v string) *ListIngestionsOutput {
19157	s.NextToken = &v
19158	return s
19159}
19160
19161// SetRequestId sets the RequestId field's value.
19162func (s *ListIngestionsOutput) SetRequestId(v string) *ListIngestionsOutput {
19163	s.RequestId = &v
19164	return s
19165}
19166
19167// SetStatus sets the Status field's value.
19168func (s *ListIngestionsOutput) SetStatus(v int64) *ListIngestionsOutput {
19169	s.Status = &v
19170	return s
19171}
19172
19173type ListTagsForResourceInput struct {
19174	_ struct{} `type:"structure"`
19175
19176	// The Amazon Resource Name (ARN) of the resource that you want a list of tags
19177	// for.
19178	//
19179	// ResourceArn is a required field
19180	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
19181}
19182
19183// String returns the string representation
19184func (s ListTagsForResourceInput) String() string {
19185	return awsutil.Prettify(s)
19186}
19187
19188// GoString returns the string representation
19189func (s ListTagsForResourceInput) GoString() string {
19190	return s.String()
19191}
19192
19193// Validate inspects the fields of the type to determine if they are valid.
19194func (s *ListTagsForResourceInput) Validate() error {
19195	invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
19196	if s.ResourceArn == nil {
19197		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
19198	}
19199	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
19200		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
19201	}
19202
19203	if invalidParams.Len() > 0 {
19204		return invalidParams
19205	}
19206	return nil
19207}
19208
19209// SetResourceArn sets the ResourceArn field's value.
19210func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
19211	s.ResourceArn = &v
19212	return s
19213}
19214
19215type ListTagsForResourceOutput struct {
19216	_ struct{} `type:"structure"`
19217
19218	// The AWS request ID for this operation.
19219	RequestId *string `type:"string"`
19220
19221	// The HTTP status of the request.
19222	Status *int64 `location:"statusCode" type:"integer"`
19223
19224	// Contains a map of the key-value pairs for the resource tag or tags assigned
19225	// to the resource.
19226	Tags []*Tag `min:"1" type:"list"`
19227}
19228
19229// String returns the string representation
19230func (s ListTagsForResourceOutput) String() string {
19231	return awsutil.Prettify(s)
19232}
19233
19234// GoString returns the string representation
19235func (s ListTagsForResourceOutput) GoString() string {
19236	return s.String()
19237}
19238
19239// SetRequestId sets the RequestId field's value.
19240func (s *ListTagsForResourceOutput) SetRequestId(v string) *ListTagsForResourceOutput {
19241	s.RequestId = &v
19242	return s
19243}
19244
19245// SetStatus sets the Status field's value.
19246func (s *ListTagsForResourceOutput) SetStatus(v int64) *ListTagsForResourceOutput {
19247	s.Status = &v
19248	return s
19249}
19250
19251// SetTags sets the Tags field's value.
19252func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput {
19253	s.Tags = v
19254	return s
19255}
19256
19257type ListTemplateAliasesInput struct {
19258	_ struct{} `type:"structure"`
19259
19260	// The ID of the AWS account that contains the template aliases that you're
19261	// listing.
19262	//
19263	// AwsAccountId is a required field
19264	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19265
19266	// The maximum number of results to be returned per request.
19267	MaxResults *int64 `location:"querystring" locationName:"max-result" min:"1" type:"integer"`
19268
19269	// The token for the next set of results, or null if there are no more results.
19270	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
19271
19272	// The ID for the template.
19273	//
19274	// TemplateId is a required field
19275	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
19276}
19277
19278// String returns the string representation
19279func (s ListTemplateAliasesInput) String() string {
19280	return awsutil.Prettify(s)
19281}
19282
19283// GoString returns the string representation
19284func (s ListTemplateAliasesInput) GoString() string {
19285	return s.String()
19286}
19287
19288// Validate inspects the fields of the type to determine if they are valid.
19289func (s *ListTemplateAliasesInput) Validate() error {
19290	invalidParams := request.ErrInvalidParams{Context: "ListTemplateAliasesInput"}
19291	if s.AwsAccountId == nil {
19292		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19293	}
19294	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19295		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19296	}
19297	if s.MaxResults != nil && *s.MaxResults < 1 {
19298		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
19299	}
19300	if s.TemplateId == nil {
19301		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
19302	}
19303	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
19304		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
19305	}
19306
19307	if invalidParams.Len() > 0 {
19308		return invalidParams
19309	}
19310	return nil
19311}
19312
19313// SetAwsAccountId sets the AwsAccountId field's value.
19314func (s *ListTemplateAliasesInput) SetAwsAccountId(v string) *ListTemplateAliasesInput {
19315	s.AwsAccountId = &v
19316	return s
19317}
19318
19319// SetMaxResults sets the MaxResults field's value.
19320func (s *ListTemplateAliasesInput) SetMaxResults(v int64) *ListTemplateAliasesInput {
19321	s.MaxResults = &v
19322	return s
19323}
19324
19325// SetNextToken sets the NextToken field's value.
19326func (s *ListTemplateAliasesInput) SetNextToken(v string) *ListTemplateAliasesInput {
19327	s.NextToken = &v
19328	return s
19329}
19330
19331// SetTemplateId sets the TemplateId field's value.
19332func (s *ListTemplateAliasesInput) SetTemplateId(v string) *ListTemplateAliasesInput {
19333	s.TemplateId = &v
19334	return s
19335}
19336
19337type ListTemplateAliasesOutput struct {
19338	_ struct{} `type:"structure"`
19339
19340	// The token for the next set of results, or null if there are no more results.
19341	NextToken *string `type:"string"`
19342
19343	// The AWS request ID for this operation.
19344	RequestId *string `type:"string"`
19345
19346	// The HTTP status of the request.
19347	Status *int64 `location:"statusCode" type:"integer"`
19348
19349	// A structure containing the list of the template's aliases.
19350	TemplateAliasList []*TemplateAlias `type:"list"`
19351}
19352
19353// String returns the string representation
19354func (s ListTemplateAliasesOutput) String() string {
19355	return awsutil.Prettify(s)
19356}
19357
19358// GoString returns the string representation
19359func (s ListTemplateAliasesOutput) GoString() string {
19360	return s.String()
19361}
19362
19363// SetNextToken sets the NextToken field's value.
19364func (s *ListTemplateAliasesOutput) SetNextToken(v string) *ListTemplateAliasesOutput {
19365	s.NextToken = &v
19366	return s
19367}
19368
19369// SetRequestId sets the RequestId field's value.
19370func (s *ListTemplateAliasesOutput) SetRequestId(v string) *ListTemplateAliasesOutput {
19371	s.RequestId = &v
19372	return s
19373}
19374
19375// SetStatus sets the Status field's value.
19376func (s *ListTemplateAliasesOutput) SetStatus(v int64) *ListTemplateAliasesOutput {
19377	s.Status = &v
19378	return s
19379}
19380
19381// SetTemplateAliasList sets the TemplateAliasList field's value.
19382func (s *ListTemplateAliasesOutput) SetTemplateAliasList(v []*TemplateAlias) *ListTemplateAliasesOutput {
19383	s.TemplateAliasList = v
19384	return s
19385}
19386
19387type ListTemplateVersionsInput struct {
19388	_ struct{} `type:"structure"`
19389
19390	// The ID of the AWS account that contains the templates that you're listing.
19391	//
19392	// AwsAccountId is a required field
19393	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19394
19395	// The maximum number of results to be returned per request.
19396	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
19397
19398	// The token for the next set of results, or null if there are no more results.
19399	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
19400
19401	// The ID for the template.
19402	//
19403	// TemplateId is a required field
19404	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
19405}
19406
19407// String returns the string representation
19408func (s ListTemplateVersionsInput) String() string {
19409	return awsutil.Prettify(s)
19410}
19411
19412// GoString returns the string representation
19413func (s ListTemplateVersionsInput) GoString() string {
19414	return s.String()
19415}
19416
19417// Validate inspects the fields of the type to determine if they are valid.
19418func (s *ListTemplateVersionsInput) Validate() error {
19419	invalidParams := request.ErrInvalidParams{Context: "ListTemplateVersionsInput"}
19420	if s.AwsAccountId == nil {
19421		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19422	}
19423	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19424		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19425	}
19426	if s.MaxResults != nil && *s.MaxResults < 1 {
19427		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
19428	}
19429	if s.TemplateId == nil {
19430		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
19431	}
19432	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
19433		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
19434	}
19435
19436	if invalidParams.Len() > 0 {
19437		return invalidParams
19438	}
19439	return nil
19440}
19441
19442// SetAwsAccountId sets the AwsAccountId field's value.
19443func (s *ListTemplateVersionsInput) SetAwsAccountId(v string) *ListTemplateVersionsInput {
19444	s.AwsAccountId = &v
19445	return s
19446}
19447
19448// SetMaxResults sets the MaxResults field's value.
19449func (s *ListTemplateVersionsInput) SetMaxResults(v int64) *ListTemplateVersionsInput {
19450	s.MaxResults = &v
19451	return s
19452}
19453
19454// SetNextToken sets the NextToken field's value.
19455func (s *ListTemplateVersionsInput) SetNextToken(v string) *ListTemplateVersionsInput {
19456	s.NextToken = &v
19457	return s
19458}
19459
19460// SetTemplateId sets the TemplateId field's value.
19461func (s *ListTemplateVersionsInput) SetTemplateId(v string) *ListTemplateVersionsInput {
19462	s.TemplateId = &v
19463	return s
19464}
19465
19466type ListTemplateVersionsOutput struct {
19467	_ struct{} `type:"structure"`
19468
19469	// The token for the next set of results, or null if there are no more results.
19470	NextToken *string `type:"string"`
19471
19472	// The AWS request ID for this operation.
19473	RequestId *string `type:"string"`
19474
19475	// The HTTP status of the request.
19476	Status *int64 `location:"statusCode" type:"integer"`
19477
19478	// A structure containing a list of all the versions of the specified template.
19479	TemplateVersionSummaryList []*TemplateVersionSummary `type:"list"`
19480}
19481
19482// String returns the string representation
19483func (s ListTemplateVersionsOutput) String() string {
19484	return awsutil.Prettify(s)
19485}
19486
19487// GoString returns the string representation
19488func (s ListTemplateVersionsOutput) GoString() string {
19489	return s.String()
19490}
19491
19492// SetNextToken sets the NextToken field's value.
19493func (s *ListTemplateVersionsOutput) SetNextToken(v string) *ListTemplateVersionsOutput {
19494	s.NextToken = &v
19495	return s
19496}
19497
19498// SetRequestId sets the RequestId field's value.
19499func (s *ListTemplateVersionsOutput) SetRequestId(v string) *ListTemplateVersionsOutput {
19500	s.RequestId = &v
19501	return s
19502}
19503
19504// SetStatus sets the Status field's value.
19505func (s *ListTemplateVersionsOutput) SetStatus(v int64) *ListTemplateVersionsOutput {
19506	s.Status = &v
19507	return s
19508}
19509
19510// SetTemplateVersionSummaryList sets the TemplateVersionSummaryList field's value.
19511func (s *ListTemplateVersionsOutput) SetTemplateVersionSummaryList(v []*TemplateVersionSummary) *ListTemplateVersionsOutput {
19512	s.TemplateVersionSummaryList = v
19513	return s
19514}
19515
19516type ListTemplatesInput struct {
19517	_ struct{} `type:"structure"`
19518
19519	// The ID of the AWS account that contains the templates that you're listing.
19520	//
19521	// AwsAccountId is a required field
19522	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19523
19524	// The maximum number of results to be returned per request.
19525	MaxResults *int64 `location:"querystring" locationName:"max-result" min:"1" type:"integer"`
19526
19527	// The token for the next set of results, or null if there are no more results.
19528	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
19529}
19530
19531// String returns the string representation
19532func (s ListTemplatesInput) String() string {
19533	return awsutil.Prettify(s)
19534}
19535
19536// GoString returns the string representation
19537func (s ListTemplatesInput) GoString() string {
19538	return s.String()
19539}
19540
19541// Validate inspects the fields of the type to determine if they are valid.
19542func (s *ListTemplatesInput) Validate() error {
19543	invalidParams := request.ErrInvalidParams{Context: "ListTemplatesInput"}
19544	if s.AwsAccountId == nil {
19545		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19546	}
19547	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19548		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19549	}
19550	if s.MaxResults != nil && *s.MaxResults < 1 {
19551		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
19552	}
19553
19554	if invalidParams.Len() > 0 {
19555		return invalidParams
19556	}
19557	return nil
19558}
19559
19560// SetAwsAccountId sets the AwsAccountId field's value.
19561func (s *ListTemplatesInput) SetAwsAccountId(v string) *ListTemplatesInput {
19562	s.AwsAccountId = &v
19563	return s
19564}
19565
19566// SetMaxResults sets the MaxResults field's value.
19567func (s *ListTemplatesInput) SetMaxResults(v int64) *ListTemplatesInput {
19568	s.MaxResults = &v
19569	return s
19570}
19571
19572// SetNextToken sets the NextToken field's value.
19573func (s *ListTemplatesInput) SetNextToken(v string) *ListTemplatesInput {
19574	s.NextToken = &v
19575	return s
19576}
19577
19578type ListTemplatesOutput struct {
19579	_ struct{} `type:"structure"`
19580
19581	// The token for the next set of results, or null if there are no more results.
19582	NextToken *string `type:"string"`
19583
19584	// The AWS request ID for this operation.
19585	RequestId *string `type:"string"`
19586
19587	// The HTTP status of the request.
19588	Status *int64 `location:"statusCode" type:"integer"`
19589
19590	// A structure containing information about the templates in the list.
19591	TemplateSummaryList []*TemplateSummary `type:"list"`
19592}
19593
19594// String returns the string representation
19595func (s ListTemplatesOutput) String() string {
19596	return awsutil.Prettify(s)
19597}
19598
19599// GoString returns the string representation
19600func (s ListTemplatesOutput) GoString() string {
19601	return s.String()
19602}
19603
19604// SetNextToken sets the NextToken field's value.
19605func (s *ListTemplatesOutput) SetNextToken(v string) *ListTemplatesOutput {
19606	s.NextToken = &v
19607	return s
19608}
19609
19610// SetRequestId sets the RequestId field's value.
19611func (s *ListTemplatesOutput) SetRequestId(v string) *ListTemplatesOutput {
19612	s.RequestId = &v
19613	return s
19614}
19615
19616// SetStatus sets the Status field's value.
19617func (s *ListTemplatesOutput) SetStatus(v int64) *ListTemplatesOutput {
19618	s.Status = &v
19619	return s
19620}
19621
19622// SetTemplateSummaryList sets the TemplateSummaryList field's value.
19623func (s *ListTemplatesOutput) SetTemplateSummaryList(v []*TemplateSummary) *ListTemplatesOutput {
19624	s.TemplateSummaryList = v
19625	return s
19626}
19627
19628type ListThemeAliasesInput struct {
19629	_ struct{} `type:"structure"`
19630
19631	// The ID of the AWS account that contains the theme aliases that you're listing.
19632	//
19633	// AwsAccountId is a required field
19634	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19635
19636	// The maximum number of results to be returned per request.
19637	MaxResults *int64 `location:"querystring" locationName:"max-result" min:"1" type:"integer"`
19638
19639	// The token for the next set of results, or null if there are no more results.
19640	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
19641
19642	// The ID for the theme.
19643	//
19644	// ThemeId is a required field
19645	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
19646}
19647
19648// String returns the string representation
19649func (s ListThemeAliasesInput) String() string {
19650	return awsutil.Prettify(s)
19651}
19652
19653// GoString returns the string representation
19654func (s ListThemeAliasesInput) GoString() string {
19655	return s.String()
19656}
19657
19658// Validate inspects the fields of the type to determine if they are valid.
19659func (s *ListThemeAliasesInput) Validate() error {
19660	invalidParams := request.ErrInvalidParams{Context: "ListThemeAliasesInput"}
19661	if s.AwsAccountId == nil {
19662		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19663	}
19664	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19665		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19666	}
19667	if s.MaxResults != nil && *s.MaxResults < 1 {
19668		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
19669	}
19670	if s.ThemeId == nil {
19671		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
19672	}
19673	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
19674		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
19675	}
19676
19677	if invalidParams.Len() > 0 {
19678		return invalidParams
19679	}
19680	return nil
19681}
19682
19683// SetAwsAccountId sets the AwsAccountId field's value.
19684func (s *ListThemeAliasesInput) SetAwsAccountId(v string) *ListThemeAliasesInput {
19685	s.AwsAccountId = &v
19686	return s
19687}
19688
19689// SetMaxResults sets the MaxResults field's value.
19690func (s *ListThemeAliasesInput) SetMaxResults(v int64) *ListThemeAliasesInput {
19691	s.MaxResults = &v
19692	return s
19693}
19694
19695// SetNextToken sets the NextToken field's value.
19696func (s *ListThemeAliasesInput) SetNextToken(v string) *ListThemeAliasesInput {
19697	s.NextToken = &v
19698	return s
19699}
19700
19701// SetThemeId sets the ThemeId field's value.
19702func (s *ListThemeAliasesInput) SetThemeId(v string) *ListThemeAliasesInput {
19703	s.ThemeId = &v
19704	return s
19705}
19706
19707type ListThemeAliasesOutput struct {
19708	_ struct{} `type:"structure"`
19709
19710	// The token for the next set of results, or null if there are no more results.
19711	NextToken *string `type:"string"`
19712
19713	// The AWS request ID for this operation.
19714	RequestId *string `type:"string"`
19715
19716	// The HTTP status of the request.
19717	Status *int64 `location:"statusCode" type:"integer"`
19718
19719	// A structure containing the list of the theme's aliases.
19720	ThemeAliasList []*ThemeAlias `type:"list"`
19721}
19722
19723// String returns the string representation
19724func (s ListThemeAliasesOutput) String() string {
19725	return awsutil.Prettify(s)
19726}
19727
19728// GoString returns the string representation
19729func (s ListThemeAliasesOutput) GoString() string {
19730	return s.String()
19731}
19732
19733// SetNextToken sets the NextToken field's value.
19734func (s *ListThemeAliasesOutput) SetNextToken(v string) *ListThemeAliasesOutput {
19735	s.NextToken = &v
19736	return s
19737}
19738
19739// SetRequestId sets the RequestId field's value.
19740func (s *ListThemeAliasesOutput) SetRequestId(v string) *ListThemeAliasesOutput {
19741	s.RequestId = &v
19742	return s
19743}
19744
19745// SetStatus sets the Status field's value.
19746func (s *ListThemeAliasesOutput) SetStatus(v int64) *ListThemeAliasesOutput {
19747	s.Status = &v
19748	return s
19749}
19750
19751// SetThemeAliasList sets the ThemeAliasList field's value.
19752func (s *ListThemeAliasesOutput) SetThemeAliasList(v []*ThemeAlias) *ListThemeAliasesOutput {
19753	s.ThemeAliasList = v
19754	return s
19755}
19756
19757type ListThemeVersionsInput struct {
19758	_ struct{} `type:"structure"`
19759
19760	// The ID of the AWS account that contains the themes that you're listing.
19761	//
19762	// AwsAccountId is a required field
19763	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19764
19765	// The maximum number of results to be returned per request.
19766	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
19767
19768	// The token for the next set of results, or null if there are no more results.
19769	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
19770
19771	// The ID for the theme.
19772	//
19773	// ThemeId is a required field
19774	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
19775}
19776
19777// String returns the string representation
19778func (s ListThemeVersionsInput) String() string {
19779	return awsutil.Prettify(s)
19780}
19781
19782// GoString returns the string representation
19783func (s ListThemeVersionsInput) GoString() string {
19784	return s.String()
19785}
19786
19787// Validate inspects the fields of the type to determine if they are valid.
19788func (s *ListThemeVersionsInput) Validate() error {
19789	invalidParams := request.ErrInvalidParams{Context: "ListThemeVersionsInput"}
19790	if s.AwsAccountId == nil {
19791		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19792	}
19793	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19794		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19795	}
19796	if s.MaxResults != nil && *s.MaxResults < 1 {
19797		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
19798	}
19799	if s.ThemeId == nil {
19800		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
19801	}
19802	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
19803		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
19804	}
19805
19806	if invalidParams.Len() > 0 {
19807		return invalidParams
19808	}
19809	return nil
19810}
19811
19812// SetAwsAccountId sets the AwsAccountId field's value.
19813func (s *ListThemeVersionsInput) SetAwsAccountId(v string) *ListThemeVersionsInput {
19814	s.AwsAccountId = &v
19815	return s
19816}
19817
19818// SetMaxResults sets the MaxResults field's value.
19819func (s *ListThemeVersionsInput) SetMaxResults(v int64) *ListThemeVersionsInput {
19820	s.MaxResults = &v
19821	return s
19822}
19823
19824// SetNextToken sets the NextToken field's value.
19825func (s *ListThemeVersionsInput) SetNextToken(v string) *ListThemeVersionsInput {
19826	s.NextToken = &v
19827	return s
19828}
19829
19830// SetThemeId sets the ThemeId field's value.
19831func (s *ListThemeVersionsInput) SetThemeId(v string) *ListThemeVersionsInput {
19832	s.ThemeId = &v
19833	return s
19834}
19835
19836type ListThemeVersionsOutput struct {
19837	_ struct{} `type:"structure"`
19838
19839	// The token for the next set of results, or null if there are no more results.
19840	NextToken *string `type:"string"`
19841
19842	// The AWS request ID for this operation.
19843	RequestId *string `type:"string"`
19844
19845	// The HTTP status of the request.
19846	Status *int64 `location:"statusCode" type:"integer"`
19847
19848	// A structure containing a list of all the versions of the specified theme.
19849	ThemeVersionSummaryList []*ThemeVersionSummary `type:"list"`
19850}
19851
19852// String returns the string representation
19853func (s ListThemeVersionsOutput) String() string {
19854	return awsutil.Prettify(s)
19855}
19856
19857// GoString returns the string representation
19858func (s ListThemeVersionsOutput) GoString() string {
19859	return s.String()
19860}
19861
19862// SetNextToken sets the NextToken field's value.
19863func (s *ListThemeVersionsOutput) SetNextToken(v string) *ListThemeVersionsOutput {
19864	s.NextToken = &v
19865	return s
19866}
19867
19868// SetRequestId sets the RequestId field's value.
19869func (s *ListThemeVersionsOutput) SetRequestId(v string) *ListThemeVersionsOutput {
19870	s.RequestId = &v
19871	return s
19872}
19873
19874// SetStatus sets the Status field's value.
19875func (s *ListThemeVersionsOutput) SetStatus(v int64) *ListThemeVersionsOutput {
19876	s.Status = &v
19877	return s
19878}
19879
19880// SetThemeVersionSummaryList sets the ThemeVersionSummaryList field's value.
19881func (s *ListThemeVersionsOutput) SetThemeVersionSummaryList(v []*ThemeVersionSummary) *ListThemeVersionsOutput {
19882	s.ThemeVersionSummaryList = v
19883	return s
19884}
19885
19886type ListThemesInput struct {
19887	_ struct{} `type:"structure"`
19888
19889	// The ID of the AWS account that contains the themes that you're listing.
19890	//
19891	// AwsAccountId is a required field
19892	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19893
19894	// The maximum number of results to be returned per request.
19895	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
19896
19897	// The token for the next set of results, or null if there are no more results.
19898	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
19899
19900	// The type of themes that you want to list. Valid options include the following:
19901	//
19902	//    * ALL (default)- Display all existing themes.
19903	//
19904	//    * CUSTOM - Display only the themes created by people using Amazon QuickSight.
19905	//
19906	//    * QUICKSIGHT - Display only the starting themes defined by QuickSight.
19907	Type *string `location:"querystring" locationName:"type" type:"string" enum:"ThemeType"`
19908}
19909
19910// String returns the string representation
19911func (s ListThemesInput) String() string {
19912	return awsutil.Prettify(s)
19913}
19914
19915// GoString returns the string representation
19916func (s ListThemesInput) GoString() string {
19917	return s.String()
19918}
19919
19920// Validate inspects the fields of the type to determine if they are valid.
19921func (s *ListThemesInput) Validate() error {
19922	invalidParams := request.ErrInvalidParams{Context: "ListThemesInput"}
19923	if s.AwsAccountId == nil {
19924		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19925	}
19926	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19927		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19928	}
19929	if s.MaxResults != nil && *s.MaxResults < 1 {
19930		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
19931	}
19932
19933	if invalidParams.Len() > 0 {
19934		return invalidParams
19935	}
19936	return nil
19937}
19938
19939// SetAwsAccountId sets the AwsAccountId field's value.
19940func (s *ListThemesInput) SetAwsAccountId(v string) *ListThemesInput {
19941	s.AwsAccountId = &v
19942	return s
19943}
19944
19945// SetMaxResults sets the MaxResults field's value.
19946func (s *ListThemesInput) SetMaxResults(v int64) *ListThemesInput {
19947	s.MaxResults = &v
19948	return s
19949}
19950
19951// SetNextToken sets the NextToken field's value.
19952func (s *ListThemesInput) SetNextToken(v string) *ListThemesInput {
19953	s.NextToken = &v
19954	return s
19955}
19956
19957// SetType sets the Type field's value.
19958func (s *ListThemesInput) SetType(v string) *ListThemesInput {
19959	s.Type = &v
19960	return s
19961}
19962
19963type ListThemesOutput struct {
19964	_ struct{} `type:"structure"`
19965
19966	// The token for the next set of results, or null if there are no more results.
19967	NextToken *string `type:"string"`
19968
19969	// The AWS request ID for this operation.
19970	RequestId *string `type:"string"`
19971
19972	// The HTTP status of the request.
19973	Status *int64 `location:"statusCode" type:"integer"`
19974
19975	// Information about the themes in the list.
19976	ThemeSummaryList []*ThemeSummary `type:"list"`
19977}
19978
19979// String returns the string representation
19980func (s ListThemesOutput) String() string {
19981	return awsutil.Prettify(s)
19982}
19983
19984// GoString returns the string representation
19985func (s ListThemesOutput) GoString() string {
19986	return s.String()
19987}
19988
19989// SetNextToken sets the NextToken field's value.
19990func (s *ListThemesOutput) SetNextToken(v string) *ListThemesOutput {
19991	s.NextToken = &v
19992	return s
19993}
19994
19995// SetRequestId sets the RequestId field's value.
19996func (s *ListThemesOutput) SetRequestId(v string) *ListThemesOutput {
19997	s.RequestId = &v
19998	return s
19999}
20000
20001// SetStatus sets the Status field's value.
20002func (s *ListThemesOutput) SetStatus(v int64) *ListThemesOutput {
20003	s.Status = &v
20004	return s
20005}
20006
20007// SetThemeSummaryList sets the ThemeSummaryList field's value.
20008func (s *ListThemesOutput) SetThemeSummaryList(v []*ThemeSummary) *ListThemesOutput {
20009	s.ThemeSummaryList = v
20010	return s
20011}
20012
20013type ListUserGroupsInput struct {
20014	_ struct{} `type:"structure"`
20015
20016	// The AWS account ID that the user is in. Currently, you use the ID for the
20017	// AWS account that contains your Amazon QuickSight account.
20018	//
20019	// AwsAccountId is a required field
20020	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
20021
20022	// The maximum number of results to return from this request.
20023	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
20024
20025	// The namespace. Currently, you should set this to default.
20026	//
20027	// Namespace is a required field
20028	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
20029
20030	// A pagination token that can be used in a subsequent request.
20031	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
20032
20033	// The Amazon QuickSight user name that you want to list group memberships for.
20034	//
20035	// UserName is a required field
20036	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
20037}
20038
20039// String returns the string representation
20040func (s ListUserGroupsInput) String() string {
20041	return awsutil.Prettify(s)
20042}
20043
20044// GoString returns the string representation
20045func (s ListUserGroupsInput) GoString() string {
20046	return s.String()
20047}
20048
20049// Validate inspects the fields of the type to determine if they are valid.
20050func (s *ListUserGroupsInput) Validate() error {
20051	invalidParams := request.ErrInvalidParams{Context: "ListUserGroupsInput"}
20052	if s.AwsAccountId == nil {
20053		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
20054	}
20055	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
20056		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
20057	}
20058	if s.MaxResults != nil && *s.MaxResults < 1 {
20059		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
20060	}
20061	if s.Namespace == nil {
20062		invalidParams.Add(request.NewErrParamRequired("Namespace"))
20063	}
20064	if s.Namespace != nil && len(*s.Namespace) < 1 {
20065		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
20066	}
20067	if s.UserName == nil {
20068		invalidParams.Add(request.NewErrParamRequired("UserName"))
20069	}
20070	if s.UserName != nil && len(*s.UserName) < 1 {
20071		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
20072	}
20073
20074	if invalidParams.Len() > 0 {
20075		return invalidParams
20076	}
20077	return nil
20078}
20079
20080// SetAwsAccountId sets the AwsAccountId field's value.
20081func (s *ListUserGroupsInput) SetAwsAccountId(v string) *ListUserGroupsInput {
20082	s.AwsAccountId = &v
20083	return s
20084}
20085
20086// SetMaxResults sets the MaxResults field's value.
20087func (s *ListUserGroupsInput) SetMaxResults(v int64) *ListUserGroupsInput {
20088	s.MaxResults = &v
20089	return s
20090}
20091
20092// SetNamespace sets the Namespace field's value.
20093func (s *ListUserGroupsInput) SetNamespace(v string) *ListUserGroupsInput {
20094	s.Namespace = &v
20095	return s
20096}
20097
20098// SetNextToken sets the NextToken field's value.
20099func (s *ListUserGroupsInput) SetNextToken(v string) *ListUserGroupsInput {
20100	s.NextToken = &v
20101	return s
20102}
20103
20104// SetUserName sets the UserName field's value.
20105func (s *ListUserGroupsInput) SetUserName(v string) *ListUserGroupsInput {
20106	s.UserName = &v
20107	return s
20108}
20109
20110type ListUserGroupsOutput struct {
20111	_ struct{} `type:"structure"`
20112
20113	// The list of groups the user is a member of.
20114	GroupList []*Group `type:"list"`
20115
20116	// A pagination token that can be used in a subsequent request.
20117	NextToken *string `type:"string"`
20118
20119	// The AWS request ID for this operation.
20120	RequestId *string `type:"string"`
20121
20122	// The HTTP status of the request.
20123	Status *int64 `location:"statusCode" type:"integer"`
20124}
20125
20126// String returns the string representation
20127func (s ListUserGroupsOutput) String() string {
20128	return awsutil.Prettify(s)
20129}
20130
20131// GoString returns the string representation
20132func (s ListUserGroupsOutput) GoString() string {
20133	return s.String()
20134}
20135
20136// SetGroupList sets the GroupList field's value.
20137func (s *ListUserGroupsOutput) SetGroupList(v []*Group) *ListUserGroupsOutput {
20138	s.GroupList = v
20139	return s
20140}
20141
20142// SetNextToken sets the NextToken field's value.
20143func (s *ListUserGroupsOutput) SetNextToken(v string) *ListUserGroupsOutput {
20144	s.NextToken = &v
20145	return s
20146}
20147
20148// SetRequestId sets the RequestId field's value.
20149func (s *ListUserGroupsOutput) SetRequestId(v string) *ListUserGroupsOutput {
20150	s.RequestId = &v
20151	return s
20152}
20153
20154// SetStatus sets the Status field's value.
20155func (s *ListUserGroupsOutput) SetStatus(v int64) *ListUserGroupsOutput {
20156	s.Status = &v
20157	return s
20158}
20159
20160type ListUsersInput struct {
20161	_ struct{} `type:"structure"`
20162
20163	// The ID for the AWS account that the user is in. Currently, you use the ID
20164	// for the AWS account that contains your Amazon QuickSight account.
20165	//
20166	// AwsAccountId is a required field
20167	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
20168
20169	// The maximum number of results to return from this request.
20170	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
20171
20172	// The namespace. Currently, you should set this to default.
20173	//
20174	// Namespace is a required field
20175	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
20176
20177	// A pagination token that can be used in a subsequent request.
20178	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
20179}
20180
20181// String returns the string representation
20182func (s ListUsersInput) String() string {
20183	return awsutil.Prettify(s)
20184}
20185
20186// GoString returns the string representation
20187func (s ListUsersInput) GoString() string {
20188	return s.String()
20189}
20190
20191// Validate inspects the fields of the type to determine if they are valid.
20192func (s *ListUsersInput) Validate() error {
20193	invalidParams := request.ErrInvalidParams{Context: "ListUsersInput"}
20194	if s.AwsAccountId == nil {
20195		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
20196	}
20197	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
20198		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
20199	}
20200	if s.MaxResults != nil && *s.MaxResults < 1 {
20201		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
20202	}
20203	if s.Namespace == nil {
20204		invalidParams.Add(request.NewErrParamRequired("Namespace"))
20205	}
20206	if s.Namespace != nil && len(*s.Namespace) < 1 {
20207		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
20208	}
20209
20210	if invalidParams.Len() > 0 {
20211		return invalidParams
20212	}
20213	return nil
20214}
20215
20216// SetAwsAccountId sets the AwsAccountId field's value.
20217func (s *ListUsersInput) SetAwsAccountId(v string) *ListUsersInput {
20218	s.AwsAccountId = &v
20219	return s
20220}
20221
20222// SetMaxResults sets the MaxResults field's value.
20223func (s *ListUsersInput) SetMaxResults(v int64) *ListUsersInput {
20224	s.MaxResults = &v
20225	return s
20226}
20227
20228// SetNamespace sets the Namespace field's value.
20229func (s *ListUsersInput) SetNamespace(v string) *ListUsersInput {
20230	s.Namespace = &v
20231	return s
20232}
20233
20234// SetNextToken sets the NextToken field's value.
20235func (s *ListUsersInput) SetNextToken(v string) *ListUsersInput {
20236	s.NextToken = &v
20237	return s
20238}
20239
20240type ListUsersOutput struct {
20241	_ struct{} `type:"structure"`
20242
20243	// A pagination token that can be used in a subsequent request.
20244	NextToken *string `type:"string"`
20245
20246	// The AWS request ID for this operation.
20247	RequestId *string `type:"string"`
20248
20249	// The HTTP status of the request.
20250	Status *int64 `location:"statusCode" type:"integer"`
20251
20252	// The list of users.
20253	UserList []*User `type:"list"`
20254}
20255
20256// String returns the string representation
20257func (s ListUsersOutput) String() string {
20258	return awsutil.Prettify(s)
20259}
20260
20261// GoString returns the string representation
20262func (s ListUsersOutput) GoString() string {
20263	return s.String()
20264}
20265
20266// SetNextToken sets the NextToken field's value.
20267func (s *ListUsersOutput) SetNextToken(v string) *ListUsersOutput {
20268	s.NextToken = &v
20269	return s
20270}
20271
20272// SetRequestId sets the RequestId field's value.
20273func (s *ListUsersOutput) SetRequestId(v string) *ListUsersOutput {
20274	s.RequestId = &v
20275	return s
20276}
20277
20278// SetStatus sets the Status field's value.
20279func (s *ListUsersOutput) SetStatus(v int64) *ListUsersOutput {
20280	s.Status = &v
20281	return s
20282}
20283
20284// SetUserList sets the UserList field's value.
20285func (s *ListUsersOutput) SetUserList(v []*User) *ListUsersOutput {
20286	s.UserList = v
20287	return s
20288}
20289
20290// A logical table is a unit that joins and that data transformations operate
20291// on. A logical table has a source, which can be either a physical table or
20292// result of a join. When a logical table points to a physical table, the logical
20293// table acts as a mutable copy of that physical table through transform operations.
20294type LogicalTable struct {
20295	_ struct{} `type:"structure"`
20296
20297	// A display name for the logical table.
20298	//
20299	// Alias is a required field
20300	Alias *string `min:"1" type:"string" required:"true"`
20301
20302	// Transform operations that act on this logical table.
20303	DataTransforms []*TransformOperation `min:"1" type:"list"`
20304
20305	// Source of this logical table.
20306	//
20307	// Source is a required field
20308	Source *LogicalTableSource `type:"structure" required:"true"`
20309}
20310
20311// String returns the string representation
20312func (s LogicalTable) String() string {
20313	return awsutil.Prettify(s)
20314}
20315
20316// GoString returns the string representation
20317func (s LogicalTable) GoString() string {
20318	return s.String()
20319}
20320
20321// Validate inspects the fields of the type to determine if they are valid.
20322func (s *LogicalTable) Validate() error {
20323	invalidParams := request.ErrInvalidParams{Context: "LogicalTable"}
20324	if s.Alias == nil {
20325		invalidParams.Add(request.NewErrParamRequired("Alias"))
20326	}
20327	if s.Alias != nil && len(*s.Alias) < 1 {
20328		invalidParams.Add(request.NewErrParamMinLen("Alias", 1))
20329	}
20330	if s.DataTransforms != nil && len(s.DataTransforms) < 1 {
20331		invalidParams.Add(request.NewErrParamMinLen("DataTransforms", 1))
20332	}
20333	if s.Source == nil {
20334		invalidParams.Add(request.NewErrParamRequired("Source"))
20335	}
20336	if s.DataTransforms != nil {
20337		for i, v := range s.DataTransforms {
20338			if v == nil {
20339				continue
20340			}
20341			if err := v.Validate(); err != nil {
20342				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataTransforms", i), err.(request.ErrInvalidParams))
20343			}
20344		}
20345	}
20346	if s.Source != nil {
20347		if err := s.Source.Validate(); err != nil {
20348			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
20349		}
20350	}
20351
20352	if invalidParams.Len() > 0 {
20353		return invalidParams
20354	}
20355	return nil
20356}
20357
20358// SetAlias sets the Alias field's value.
20359func (s *LogicalTable) SetAlias(v string) *LogicalTable {
20360	s.Alias = &v
20361	return s
20362}
20363
20364// SetDataTransforms sets the DataTransforms field's value.
20365func (s *LogicalTable) SetDataTransforms(v []*TransformOperation) *LogicalTable {
20366	s.DataTransforms = v
20367	return s
20368}
20369
20370// SetSource sets the Source field's value.
20371func (s *LogicalTable) SetSource(v *LogicalTableSource) *LogicalTable {
20372	s.Source = v
20373	return s
20374}
20375
20376// Information about the source of a logical table. This is a variant type structure.
20377// For this structure to be valid, only one of the attributes can be non-null.
20378type LogicalTableSource struct {
20379	_ struct{} `type:"structure"`
20380
20381	// Specifies the result of a join of two logical tables.
20382	JoinInstruction *JoinInstruction `type:"structure"`
20383
20384	// Physical table ID.
20385	PhysicalTableId *string `min:"1" type:"string"`
20386}
20387
20388// String returns the string representation
20389func (s LogicalTableSource) String() string {
20390	return awsutil.Prettify(s)
20391}
20392
20393// GoString returns the string representation
20394func (s LogicalTableSource) GoString() string {
20395	return s.String()
20396}
20397
20398// Validate inspects the fields of the type to determine if they are valid.
20399func (s *LogicalTableSource) Validate() error {
20400	invalidParams := request.ErrInvalidParams{Context: "LogicalTableSource"}
20401	if s.PhysicalTableId != nil && len(*s.PhysicalTableId) < 1 {
20402		invalidParams.Add(request.NewErrParamMinLen("PhysicalTableId", 1))
20403	}
20404	if s.JoinInstruction != nil {
20405		if err := s.JoinInstruction.Validate(); err != nil {
20406			invalidParams.AddNested("JoinInstruction", err.(request.ErrInvalidParams))
20407		}
20408	}
20409
20410	if invalidParams.Len() > 0 {
20411		return invalidParams
20412	}
20413	return nil
20414}
20415
20416// SetJoinInstruction sets the JoinInstruction field's value.
20417func (s *LogicalTableSource) SetJoinInstruction(v *JoinInstruction) *LogicalTableSource {
20418	s.JoinInstruction = v
20419	return s
20420}
20421
20422// SetPhysicalTableId sets the PhysicalTableId field's value.
20423func (s *LogicalTableSource) SetPhysicalTableId(v string) *LogicalTableSource {
20424	s.PhysicalTableId = &v
20425	return s
20426}
20427
20428// Amazon S3 manifest file location.
20429type ManifestFileLocation struct {
20430	_ struct{} `type:"structure"`
20431
20432	// Amazon S3 bucket.
20433	//
20434	// Bucket is a required field
20435	Bucket *string `min:"1" type:"string" required:"true"`
20436
20437	// Amazon S3 key that identifies an object.
20438	//
20439	// Key is a required field
20440	Key *string `min:"1" type:"string" required:"true"`
20441}
20442
20443// String returns the string representation
20444func (s ManifestFileLocation) String() string {
20445	return awsutil.Prettify(s)
20446}
20447
20448// GoString returns the string representation
20449func (s ManifestFileLocation) GoString() string {
20450	return s.String()
20451}
20452
20453// Validate inspects the fields of the type to determine if they are valid.
20454func (s *ManifestFileLocation) Validate() error {
20455	invalidParams := request.ErrInvalidParams{Context: "ManifestFileLocation"}
20456	if s.Bucket == nil {
20457		invalidParams.Add(request.NewErrParamRequired("Bucket"))
20458	}
20459	if s.Bucket != nil && len(*s.Bucket) < 1 {
20460		invalidParams.Add(request.NewErrParamMinLen("Bucket", 1))
20461	}
20462	if s.Key == nil {
20463		invalidParams.Add(request.NewErrParamRequired("Key"))
20464	}
20465	if s.Key != nil && len(*s.Key) < 1 {
20466		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
20467	}
20468
20469	if invalidParams.Len() > 0 {
20470		return invalidParams
20471	}
20472	return nil
20473}
20474
20475// SetBucket sets the Bucket field's value.
20476func (s *ManifestFileLocation) SetBucket(v string) *ManifestFileLocation {
20477	s.Bucket = &v
20478	return s
20479}
20480
20481// SetKey sets the Key field's value.
20482func (s *ManifestFileLocation) SetKey(v string) *ManifestFileLocation {
20483	s.Key = &v
20484	return s
20485}
20486
20487// The display options for margins around the outside edge of sheets.
20488type MarginStyle struct {
20489	_ struct{} `type:"structure"`
20490
20491	// This Boolean value controls whether to display sheet margins.
20492	Show *bool `type:"boolean"`
20493}
20494
20495// String returns the string representation
20496func (s MarginStyle) String() string {
20497	return awsutil.Prettify(s)
20498}
20499
20500// GoString returns the string representation
20501func (s MarginStyle) GoString() string {
20502	return s.String()
20503}
20504
20505// SetShow sets the Show field's value.
20506func (s *MarginStyle) SetShow(v bool) *MarginStyle {
20507	s.Show = &v
20508	return s
20509}
20510
20511// MariaDB parameters.
20512type MariaDbParameters struct {
20513	_ struct{} `type:"structure"`
20514
20515	// Database.
20516	//
20517	// Database is a required field
20518	Database *string `min:"1" type:"string" required:"true"`
20519
20520	// Host.
20521	//
20522	// Host is a required field
20523	Host *string `min:"1" type:"string" required:"true"`
20524
20525	// Port.
20526	//
20527	// Port is a required field
20528	Port *int64 `min:"1" type:"integer" required:"true"`
20529}
20530
20531// String returns the string representation
20532func (s MariaDbParameters) String() string {
20533	return awsutil.Prettify(s)
20534}
20535
20536// GoString returns the string representation
20537func (s MariaDbParameters) GoString() string {
20538	return s.String()
20539}
20540
20541// Validate inspects the fields of the type to determine if they are valid.
20542func (s *MariaDbParameters) Validate() error {
20543	invalidParams := request.ErrInvalidParams{Context: "MariaDbParameters"}
20544	if s.Database == nil {
20545		invalidParams.Add(request.NewErrParamRequired("Database"))
20546	}
20547	if s.Database != nil && len(*s.Database) < 1 {
20548		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
20549	}
20550	if s.Host == nil {
20551		invalidParams.Add(request.NewErrParamRequired("Host"))
20552	}
20553	if s.Host != nil && len(*s.Host) < 1 {
20554		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
20555	}
20556	if s.Port == nil {
20557		invalidParams.Add(request.NewErrParamRequired("Port"))
20558	}
20559	if s.Port != nil && *s.Port < 1 {
20560		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
20561	}
20562
20563	if invalidParams.Len() > 0 {
20564		return invalidParams
20565	}
20566	return nil
20567}
20568
20569// SetDatabase sets the Database field's value.
20570func (s *MariaDbParameters) SetDatabase(v string) *MariaDbParameters {
20571	s.Database = &v
20572	return s
20573}
20574
20575// SetHost sets the Host field's value.
20576func (s *MariaDbParameters) SetHost(v string) *MariaDbParameters {
20577	s.Host = &v
20578	return s
20579}
20580
20581// SetPort sets the Port field's value.
20582func (s *MariaDbParameters) SetPort(v int64) *MariaDbParameters {
20583	s.Port = &v
20584	return s
20585}
20586
20587// MySQL parameters.
20588type MySqlParameters struct {
20589	_ struct{} `type:"structure"`
20590
20591	// Database.
20592	//
20593	// Database is a required field
20594	Database *string `min:"1" type:"string" required:"true"`
20595
20596	// Host.
20597	//
20598	// Host is a required field
20599	Host *string `min:"1" type:"string" required:"true"`
20600
20601	// Port.
20602	//
20603	// Port is a required field
20604	Port *int64 `min:"1" type:"integer" required:"true"`
20605}
20606
20607// String returns the string representation
20608func (s MySqlParameters) String() string {
20609	return awsutil.Prettify(s)
20610}
20611
20612// GoString returns the string representation
20613func (s MySqlParameters) GoString() string {
20614	return s.String()
20615}
20616
20617// Validate inspects the fields of the type to determine if they are valid.
20618func (s *MySqlParameters) Validate() error {
20619	invalidParams := request.ErrInvalidParams{Context: "MySqlParameters"}
20620	if s.Database == nil {
20621		invalidParams.Add(request.NewErrParamRequired("Database"))
20622	}
20623	if s.Database != nil && len(*s.Database) < 1 {
20624		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
20625	}
20626	if s.Host == nil {
20627		invalidParams.Add(request.NewErrParamRequired("Host"))
20628	}
20629	if s.Host != nil && len(*s.Host) < 1 {
20630		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
20631	}
20632	if s.Port == nil {
20633		invalidParams.Add(request.NewErrParamRequired("Port"))
20634	}
20635	if s.Port != nil && *s.Port < 1 {
20636		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
20637	}
20638
20639	if invalidParams.Len() > 0 {
20640		return invalidParams
20641	}
20642	return nil
20643}
20644
20645// SetDatabase sets the Database field's value.
20646func (s *MySqlParameters) SetDatabase(v string) *MySqlParameters {
20647	s.Database = &v
20648	return s
20649}
20650
20651// SetHost sets the Host field's value.
20652func (s *MySqlParameters) SetHost(v string) *MySqlParameters {
20653	s.Host = &v
20654	return s
20655}
20656
20657// SetPort sets the Port field's value.
20658func (s *MySqlParameters) SetPort(v int64) *MySqlParameters {
20659	s.Port = &v
20660	return s
20661}
20662
20663// Output column.
20664type OutputColumn struct {
20665	_ struct{} `type:"structure"`
20666
20667	// A display name for the dataset.
20668	Name *string `min:"1" type:"string"`
20669
20670	// Type.
20671	Type *string `type:"string" enum:"ColumnDataType"`
20672}
20673
20674// String returns the string representation
20675func (s OutputColumn) String() string {
20676	return awsutil.Prettify(s)
20677}
20678
20679// GoString returns the string representation
20680func (s OutputColumn) GoString() string {
20681	return s.String()
20682}
20683
20684// SetName sets the Name field's value.
20685func (s *OutputColumn) SetName(v string) *OutputColumn {
20686	s.Name = &v
20687	return s
20688}
20689
20690// SetType sets the Type field's value.
20691func (s *OutputColumn) SetType(v string) *OutputColumn {
20692	s.Type = &v
20693	return s
20694}
20695
20696// Parameters.
20697type Parameters struct {
20698	_ struct{} `type:"structure"`
20699
20700	// DateTime parameters.
20701	DateTimeParameters []*DateTimeParameter `type:"list"`
20702
20703	// Decimal parameters.
20704	DecimalParameters []*DecimalParameter `type:"list"`
20705
20706	// Integer parameters.
20707	IntegerParameters []*IntegerParameter `type:"list"`
20708
20709	// String parameters.
20710	StringParameters []*StringParameter `type:"list"`
20711}
20712
20713// String returns the string representation
20714func (s Parameters) String() string {
20715	return awsutil.Prettify(s)
20716}
20717
20718// GoString returns the string representation
20719func (s Parameters) GoString() string {
20720	return s.String()
20721}
20722
20723// Validate inspects the fields of the type to determine if they are valid.
20724func (s *Parameters) Validate() error {
20725	invalidParams := request.ErrInvalidParams{Context: "Parameters"}
20726	if s.DateTimeParameters != nil {
20727		for i, v := range s.DateTimeParameters {
20728			if v == nil {
20729				continue
20730			}
20731			if err := v.Validate(); err != nil {
20732				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DateTimeParameters", i), err.(request.ErrInvalidParams))
20733			}
20734		}
20735	}
20736	if s.DecimalParameters != nil {
20737		for i, v := range s.DecimalParameters {
20738			if v == nil {
20739				continue
20740			}
20741			if err := v.Validate(); err != nil {
20742				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DecimalParameters", i), err.(request.ErrInvalidParams))
20743			}
20744		}
20745	}
20746	if s.IntegerParameters != nil {
20747		for i, v := range s.IntegerParameters {
20748			if v == nil {
20749				continue
20750			}
20751			if err := v.Validate(); err != nil {
20752				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "IntegerParameters", i), err.(request.ErrInvalidParams))
20753			}
20754		}
20755	}
20756	if s.StringParameters != nil {
20757		for i, v := range s.StringParameters {
20758			if v == nil {
20759				continue
20760			}
20761			if err := v.Validate(); err != nil {
20762				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "StringParameters", i), err.(request.ErrInvalidParams))
20763			}
20764		}
20765	}
20766
20767	if invalidParams.Len() > 0 {
20768		return invalidParams
20769	}
20770	return nil
20771}
20772
20773// SetDateTimeParameters sets the DateTimeParameters field's value.
20774func (s *Parameters) SetDateTimeParameters(v []*DateTimeParameter) *Parameters {
20775	s.DateTimeParameters = v
20776	return s
20777}
20778
20779// SetDecimalParameters sets the DecimalParameters field's value.
20780func (s *Parameters) SetDecimalParameters(v []*DecimalParameter) *Parameters {
20781	s.DecimalParameters = v
20782	return s
20783}
20784
20785// SetIntegerParameters sets the IntegerParameters field's value.
20786func (s *Parameters) SetIntegerParameters(v []*IntegerParameter) *Parameters {
20787	s.IntegerParameters = v
20788	return s
20789}
20790
20791// SetStringParameters sets the StringParameters field's value.
20792func (s *Parameters) SetStringParameters(v []*StringParameter) *Parameters {
20793	s.StringParameters = v
20794	return s
20795}
20796
20797// A view of a data source that contains information about the shape of the
20798// data in the underlying source. This is a variant type structure. For this
20799// structure to be valid, only one of the attributes can be non-null.
20800type PhysicalTable struct {
20801	_ struct{} `type:"structure"`
20802
20803	// A physical table type built from the results of the custom SQL query.
20804	CustomSql *CustomSql `type:"structure"`
20805
20806	// A physical table type for relational data sources.
20807	RelationalTable *RelationalTable `type:"structure"`
20808
20809	// A physical table type for as S3 data source.
20810	S3Source *S3Source `type:"structure"`
20811}
20812
20813// String returns the string representation
20814func (s PhysicalTable) String() string {
20815	return awsutil.Prettify(s)
20816}
20817
20818// GoString returns the string representation
20819func (s PhysicalTable) GoString() string {
20820	return s.String()
20821}
20822
20823// Validate inspects the fields of the type to determine if they are valid.
20824func (s *PhysicalTable) Validate() error {
20825	invalidParams := request.ErrInvalidParams{Context: "PhysicalTable"}
20826	if s.CustomSql != nil {
20827		if err := s.CustomSql.Validate(); err != nil {
20828			invalidParams.AddNested("CustomSql", err.(request.ErrInvalidParams))
20829		}
20830	}
20831	if s.RelationalTable != nil {
20832		if err := s.RelationalTable.Validate(); err != nil {
20833			invalidParams.AddNested("RelationalTable", err.(request.ErrInvalidParams))
20834		}
20835	}
20836	if s.S3Source != nil {
20837		if err := s.S3Source.Validate(); err != nil {
20838			invalidParams.AddNested("S3Source", err.(request.ErrInvalidParams))
20839		}
20840	}
20841
20842	if invalidParams.Len() > 0 {
20843		return invalidParams
20844	}
20845	return nil
20846}
20847
20848// SetCustomSql sets the CustomSql field's value.
20849func (s *PhysicalTable) SetCustomSql(v *CustomSql) *PhysicalTable {
20850	s.CustomSql = v
20851	return s
20852}
20853
20854// SetRelationalTable sets the RelationalTable field's value.
20855func (s *PhysicalTable) SetRelationalTable(v *RelationalTable) *PhysicalTable {
20856	s.RelationalTable = v
20857	return s
20858}
20859
20860// SetS3Source sets the S3Source field's value.
20861func (s *PhysicalTable) SetS3Source(v *S3Source) *PhysicalTable {
20862	s.S3Source = v
20863	return s
20864}
20865
20866// PostgreSQL parameters.
20867type PostgreSqlParameters struct {
20868	_ struct{} `type:"structure"`
20869
20870	// Database.
20871	//
20872	// Database is a required field
20873	Database *string `min:"1" type:"string" required:"true"`
20874
20875	// Host.
20876	//
20877	// Host is a required field
20878	Host *string `min:"1" type:"string" required:"true"`
20879
20880	// Port.
20881	//
20882	// Port is a required field
20883	Port *int64 `min:"1" type:"integer" required:"true"`
20884}
20885
20886// String returns the string representation
20887func (s PostgreSqlParameters) String() string {
20888	return awsutil.Prettify(s)
20889}
20890
20891// GoString returns the string representation
20892func (s PostgreSqlParameters) GoString() string {
20893	return s.String()
20894}
20895
20896// Validate inspects the fields of the type to determine if they are valid.
20897func (s *PostgreSqlParameters) Validate() error {
20898	invalidParams := request.ErrInvalidParams{Context: "PostgreSqlParameters"}
20899	if s.Database == nil {
20900		invalidParams.Add(request.NewErrParamRequired("Database"))
20901	}
20902	if s.Database != nil && len(*s.Database) < 1 {
20903		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
20904	}
20905	if s.Host == nil {
20906		invalidParams.Add(request.NewErrParamRequired("Host"))
20907	}
20908	if s.Host != nil && len(*s.Host) < 1 {
20909		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
20910	}
20911	if s.Port == nil {
20912		invalidParams.Add(request.NewErrParamRequired("Port"))
20913	}
20914	if s.Port != nil && *s.Port < 1 {
20915		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
20916	}
20917
20918	if invalidParams.Len() > 0 {
20919		return invalidParams
20920	}
20921	return nil
20922}
20923
20924// SetDatabase sets the Database field's value.
20925func (s *PostgreSqlParameters) SetDatabase(v string) *PostgreSqlParameters {
20926	s.Database = &v
20927	return s
20928}
20929
20930// SetHost sets the Host field's value.
20931func (s *PostgreSqlParameters) SetHost(v string) *PostgreSqlParameters {
20932	s.Host = &v
20933	return s
20934}
20935
20936// SetPort sets the Port field's value.
20937func (s *PostgreSqlParameters) SetPort(v int64) *PostgreSqlParameters {
20938	s.Port = &v
20939	return s
20940}
20941
20942// One or more preconditions aren't met.
20943type PreconditionNotMetException struct {
20944	_            struct{}                  `type:"structure"`
20945	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
20946
20947	Message_ *string `locationName:"Message" type:"string"`
20948
20949	// The AWS request ID for this request.
20950	RequestId *string `type:"string"`
20951}
20952
20953// String returns the string representation
20954func (s PreconditionNotMetException) String() string {
20955	return awsutil.Prettify(s)
20956}
20957
20958// GoString returns the string representation
20959func (s PreconditionNotMetException) GoString() string {
20960	return s.String()
20961}
20962
20963func newErrorPreconditionNotMetException(v protocol.ResponseMetadata) error {
20964	return &PreconditionNotMetException{
20965		RespMetadata: v,
20966	}
20967}
20968
20969// Code returns the exception type name.
20970func (s *PreconditionNotMetException) Code() string {
20971	return "PreconditionNotMetException"
20972}
20973
20974// Message returns the exception's message.
20975func (s *PreconditionNotMetException) Message() string {
20976	if s.Message_ != nil {
20977		return *s.Message_
20978	}
20979	return ""
20980}
20981
20982// OrigErr always returns nil, satisfies awserr.Error interface.
20983func (s *PreconditionNotMetException) OrigErr() error {
20984	return nil
20985}
20986
20987func (s *PreconditionNotMetException) Error() string {
20988	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
20989}
20990
20991// Status code returns the HTTP status code for the request's response error.
20992func (s *PreconditionNotMetException) StatusCode() int {
20993	return s.RespMetadata.StatusCode
20994}
20995
20996// RequestID returns the service's response RequestID for request.
20997func (s *PreconditionNotMetException) RequestID() string {
20998	return s.RespMetadata.RequestID
20999}
21000
21001// Presto parameters.
21002type PrestoParameters struct {
21003	_ struct{} `type:"structure"`
21004
21005	// Catalog.
21006	//
21007	// Catalog is a required field
21008	Catalog *string `type:"string" required:"true"`
21009
21010	// Host.
21011	//
21012	// Host is a required field
21013	Host *string `min:"1" type:"string" required:"true"`
21014
21015	// Port.
21016	//
21017	// Port is a required field
21018	Port *int64 `min:"1" type:"integer" required:"true"`
21019}
21020
21021// String returns the string representation
21022func (s PrestoParameters) String() string {
21023	return awsutil.Prettify(s)
21024}
21025
21026// GoString returns the string representation
21027func (s PrestoParameters) GoString() string {
21028	return s.String()
21029}
21030
21031// Validate inspects the fields of the type to determine if they are valid.
21032func (s *PrestoParameters) Validate() error {
21033	invalidParams := request.ErrInvalidParams{Context: "PrestoParameters"}
21034	if s.Catalog == nil {
21035		invalidParams.Add(request.NewErrParamRequired("Catalog"))
21036	}
21037	if s.Host == nil {
21038		invalidParams.Add(request.NewErrParamRequired("Host"))
21039	}
21040	if s.Host != nil && len(*s.Host) < 1 {
21041		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
21042	}
21043	if s.Port == nil {
21044		invalidParams.Add(request.NewErrParamRequired("Port"))
21045	}
21046	if s.Port != nil && *s.Port < 1 {
21047		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
21048	}
21049
21050	if invalidParams.Len() > 0 {
21051		return invalidParams
21052	}
21053	return nil
21054}
21055
21056// SetCatalog sets the Catalog field's value.
21057func (s *PrestoParameters) SetCatalog(v string) *PrestoParameters {
21058	s.Catalog = &v
21059	return s
21060}
21061
21062// SetHost sets the Host field's value.
21063func (s *PrestoParameters) SetHost(v string) *PrestoParameters {
21064	s.Host = &v
21065	return s
21066}
21067
21068// SetPort sets the Port field's value.
21069func (s *PrestoParameters) SetPort(v int64) *PrestoParameters {
21070	s.Port = &v
21071	return s
21072}
21073
21074// A transform operation that projects columns. Operations that come after a
21075// projection can only refer to projected columns.
21076type ProjectOperation struct {
21077	_ struct{} `type:"structure"`
21078
21079	// Projected columns.
21080	//
21081	// ProjectedColumns is a required field
21082	ProjectedColumns []*string `min:"1" type:"list" required:"true"`
21083}
21084
21085// String returns the string representation
21086func (s ProjectOperation) String() string {
21087	return awsutil.Prettify(s)
21088}
21089
21090// GoString returns the string representation
21091func (s ProjectOperation) GoString() string {
21092	return s.String()
21093}
21094
21095// Validate inspects the fields of the type to determine if they are valid.
21096func (s *ProjectOperation) Validate() error {
21097	invalidParams := request.ErrInvalidParams{Context: "ProjectOperation"}
21098	if s.ProjectedColumns == nil {
21099		invalidParams.Add(request.NewErrParamRequired("ProjectedColumns"))
21100	}
21101	if s.ProjectedColumns != nil && len(s.ProjectedColumns) < 1 {
21102		invalidParams.Add(request.NewErrParamMinLen("ProjectedColumns", 1))
21103	}
21104
21105	if invalidParams.Len() > 0 {
21106		return invalidParams
21107	}
21108	return nil
21109}
21110
21111// SetProjectedColumns sets the ProjectedColumns field's value.
21112func (s *ProjectOperation) SetProjectedColumns(v []*string) *ProjectOperation {
21113	s.ProjectedColumns = v
21114	return s
21115}
21116
21117// Information about a queued dataset SPICE ingestion.
21118type QueueInfo struct {
21119	_ struct{} `type:"structure"`
21120
21121	// The ID of the ongoing ingestion. The queued ingestion is waiting for the
21122	// ongoing ingestion to complete.
21123	//
21124	// QueuedIngestion is a required field
21125	QueuedIngestion *string `type:"string" required:"true"`
21126
21127	// The ID of the queued ingestion.
21128	//
21129	// WaitingOnIngestion is a required field
21130	WaitingOnIngestion *string `type:"string" required:"true"`
21131}
21132
21133// String returns the string representation
21134func (s QueueInfo) String() string {
21135	return awsutil.Prettify(s)
21136}
21137
21138// GoString returns the string representation
21139func (s QueueInfo) GoString() string {
21140	return s.String()
21141}
21142
21143// SetQueuedIngestion sets the QueuedIngestion field's value.
21144func (s *QueueInfo) SetQueuedIngestion(v string) *QueueInfo {
21145	s.QueuedIngestion = &v
21146	return s
21147}
21148
21149// SetWaitingOnIngestion sets the WaitingOnIngestion field's value.
21150func (s *QueueInfo) SetWaitingOnIngestion(v string) *QueueInfo {
21151	s.WaitingOnIngestion = &v
21152	return s
21153}
21154
21155// Amazon RDS parameters.
21156type RdsParameters struct {
21157	_ struct{} `type:"structure"`
21158
21159	// Database.
21160	//
21161	// Database is a required field
21162	Database *string `min:"1" type:"string" required:"true"`
21163
21164	// Instance ID.
21165	//
21166	// InstanceId is a required field
21167	InstanceId *string `min:"1" type:"string" required:"true"`
21168}
21169
21170// String returns the string representation
21171func (s RdsParameters) String() string {
21172	return awsutil.Prettify(s)
21173}
21174
21175// GoString returns the string representation
21176func (s RdsParameters) GoString() string {
21177	return s.String()
21178}
21179
21180// Validate inspects the fields of the type to determine if they are valid.
21181func (s *RdsParameters) Validate() error {
21182	invalidParams := request.ErrInvalidParams{Context: "RdsParameters"}
21183	if s.Database == nil {
21184		invalidParams.Add(request.NewErrParamRequired("Database"))
21185	}
21186	if s.Database != nil && len(*s.Database) < 1 {
21187		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
21188	}
21189	if s.InstanceId == nil {
21190		invalidParams.Add(request.NewErrParamRequired("InstanceId"))
21191	}
21192	if s.InstanceId != nil && len(*s.InstanceId) < 1 {
21193		invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1))
21194	}
21195
21196	if invalidParams.Len() > 0 {
21197		return invalidParams
21198	}
21199	return nil
21200}
21201
21202// SetDatabase sets the Database field's value.
21203func (s *RdsParameters) SetDatabase(v string) *RdsParameters {
21204	s.Database = &v
21205	return s
21206}
21207
21208// SetInstanceId sets the InstanceId field's value.
21209func (s *RdsParameters) SetInstanceId(v string) *RdsParameters {
21210	s.InstanceId = &v
21211	return s
21212}
21213
21214// Amazon Redshift parameters. The ClusterId field can be blank if Host and
21215// Port are both set. The Host and Port fields can be blank if the ClusterId
21216// field is set.
21217type RedshiftParameters struct {
21218	_ struct{} `type:"structure"`
21219
21220	// Cluster ID. This field can be blank if the Host and Port are provided.
21221	ClusterId *string `min:"1" type:"string"`
21222
21223	// Database.
21224	//
21225	// Database is a required field
21226	Database *string `min:"1" type:"string" required:"true"`
21227
21228	// Host. This field can be blank if ClusterId is provided.
21229	Host *string `min:"1" type:"string"`
21230
21231	// Port. This field can be blank if the ClusterId is provided.
21232	Port *int64 `type:"integer"`
21233}
21234
21235// String returns the string representation
21236func (s RedshiftParameters) String() string {
21237	return awsutil.Prettify(s)
21238}
21239
21240// GoString returns the string representation
21241func (s RedshiftParameters) GoString() string {
21242	return s.String()
21243}
21244
21245// Validate inspects the fields of the type to determine if they are valid.
21246func (s *RedshiftParameters) Validate() error {
21247	invalidParams := request.ErrInvalidParams{Context: "RedshiftParameters"}
21248	if s.ClusterId != nil && len(*s.ClusterId) < 1 {
21249		invalidParams.Add(request.NewErrParamMinLen("ClusterId", 1))
21250	}
21251	if s.Database == nil {
21252		invalidParams.Add(request.NewErrParamRequired("Database"))
21253	}
21254	if s.Database != nil && len(*s.Database) < 1 {
21255		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
21256	}
21257	if s.Host != nil && len(*s.Host) < 1 {
21258		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
21259	}
21260
21261	if invalidParams.Len() > 0 {
21262		return invalidParams
21263	}
21264	return nil
21265}
21266
21267// SetClusterId sets the ClusterId field's value.
21268func (s *RedshiftParameters) SetClusterId(v string) *RedshiftParameters {
21269	s.ClusterId = &v
21270	return s
21271}
21272
21273// SetDatabase sets the Database field's value.
21274func (s *RedshiftParameters) SetDatabase(v string) *RedshiftParameters {
21275	s.Database = &v
21276	return s
21277}
21278
21279// SetHost sets the Host field's value.
21280func (s *RedshiftParameters) SetHost(v string) *RedshiftParameters {
21281	s.Host = &v
21282	return s
21283}
21284
21285// SetPort sets the Port field's value.
21286func (s *RedshiftParameters) SetPort(v int64) *RedshiftParameters {
21287	s.Port = &v
21288	return s
21289}
21290
21291type RegisterUserInput struct {
21292	_ struct{} `type:"structure"`
21293
21294	// The ID for the AWS account that the user is in. Currently, you use the ID
21295	// for the AWS account that contains your Amazon QuickSight account.
21296	//
21297	// AwsAccountId is a required field
21298	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
21299
21300	// The email address of the user that you want to register.
21301	//
21302	// Email is a required field
21303	Email *string `type:"string" required:"true"`
21304
21305	// The ARN of the IAM user or role that you are registering with Amazon QuickSight.
21306	IamArn *string `type:"string"`
21307
21308	// Amazon QuickSight supports several ways of managing the identity of users.
21309	// This parameter accepts two values:
21310	//
21311	//    * IAM: A user whose identity maps to an existing IAM user or role.
21312	//
21313	//    * QUICKSIGHT: A user whose identity is owned and managed internally by
21314	//    Amazon QuickSight.
21315	//
21316	// IdentityType is a required field
21317	IdentityType *string `type:"string" required:"true" enum:"IdentityType"`
21318
21319	// The namespace. Currently, you should set this to default.
21320	//
21321	// Namespace is a required field
21322	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
21323
21324	// You need to use this parameter only when you register one or more users using
21325	// an assumed IAM role. You don't need to provide the session name for other
21326	// scenarios, for example when you are registering an IAM user or an Amazon
21327	// QuickSight user. You can register multiple users using the same IAM role
21328	// if each user has a different session name. For more information on assuming
21329	// IAM roles, see assume-role (https://awscli.amazonaws.com/v2/documentation/api/latest/reference/sts/assume-role.html)
21330	// in the AWS CLI Reference.
21331	SessionName *string `min:"2" type:"string"`
21332
21333	// The Amazon QuickSight user name that you want to create for the user you
21334	// are registering.
21335	UserName *string `min:"1" type:"string"`
21336
21337	// The Amazon QuickSight role for the user. The user role can be one of the
21338	// following:
21339	//
21340	//    * READER: A user who has read-only access to dashboards.
21341	//
21342	//    * AUTHOR: A user who can create data sources, datasets, analyses, and
21343	//    dashboards.
21344	//
21345	//    * ADMIN: A user who is an author, who can also manage Amazon QuickSight
21346	//    settings.
21347	//
21348	//    * RESTRICTED_READER: This role isn't currently available for use.
21349	//
21350	//    * RESTRICTED_AUTHOR: This role isn't currently available for use.
21351	//
21352	// UserRole is a required field
21353	UserRole *string `type:"string" required:"true" enum:"UserRole"`
21354}
21355
21356// String returns the string representation
21357func (s RegisterUserInput) String() string {
21358	return awsutil.Prettify(s)
21359}
21360
21361// GoString returns the string representation
21362func (s RegisterUserInput) GoString() string {
21363	return s.String()
21364}
21365
21366// Validate inspects the fields of the type to determine if they are valid.
21367func (s *RegisterUserInput) Validate() error {
21368	invalidParams := request.ErrInvalidParams{Context: "RegisterUserInput"}
21369	if s.AwsAccountId == nil {
21370		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
21371	}
21372	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
21373		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
21374	}
21375	if s.Email == nil {
21376		invalidParams.Add(request.NewErrParamRequired("Email"))
21377	}
21378	if s.IdentityType == nil {
21379		invalidParams.Add(request.NewErrParamRequired("IdentityType"))
21380	}
21381	if s.Namespace == nil {
21382		invalidParams.Add(request.NewErrParamRequired("Namespace"))
21383	}
21384	if s.Namespace != nil && len(*s.Namespace) < 1 {
21385		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
21386	}
21387	if s.SessionName != nil && len(*s.SessionName) < 2 {
21388		invalidParams.Add(request.NewErrParamMinLen("SessionName", 2))
21389	}
21390	if s.UserName != nil && len(*s.UserName) < 1 {
21391		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
21392	}
21393	if s.UserRole == nil {
21394		invalidParams.Add(request.NewErrParamRequired("UserRole"))
21395	}
21396
21397	if invalidParams.Len() > 0 {
21398		return invalidParams
21399	}
21400	return nil
21401}
21402
21403// SetAwsAccountId sets the AwsAccountId field's value.
21404func (s *RegisterUserInput) SetAwsAccountId(v string) *RegisterUserInput {
21405	s.AwsAccountId = &v
21406	return s
21407}
21408
21409// SetEmail sets the Email field's value.
21410func (s *RegisterUserInput) SetEmail(v string) *RegisterUserInput {
21411	s.Email = &v
21412	return s
21413}
21414
21415// SetIamArn sets the IamArn field's value.
21416func (s *RegisterUserInput) SetIamArn(v string) *RegisterUserInput {
21417	s.IamArn = &v
21418	return s
21419}
21420
21421// SetIdentityType sets the IdentityType field's value.
21422func (s *RegisterUserInput) SetIdentityType(v string) *RegisterUserInput {
21423	s.IdentityType = &v
21424	return s
21425}
21426
21427// SetNamespace sets the Namespace field's value.
21428func (s *RegisterUserInput) SetNamespace(v string) *RegisterUserInput {
21429	s.Namespace = &v
21430	return s
21431}
21432
21433// SetSessionName sets the SessionName field's value.
21434func (s *RegisterUserInput) SetSessionName(v string) *RegisterUserInput {
21435	s.SessionName = &v
21436	return s
21437}
21438
21439// SetUserName sets the UserName field's value.
21440func (s *RegisterUserInput) SetUserName(v string) *RegisterUserInput {
21441	s.UserName = &v
21442	return s
21443}
21444
21445// SetUserRole sets the UserRole field's value.
21446func (s *RegisterUserInput) SetUserRole(v string) *RegisterUserInput {
21447	s.UserRole = &v
21448	return s
21449}
21450
21451type RegisterUserOutput struct {
21452	_ struct{} `type:"structure"`
21453
21454	// The AWS request ID for this operation.
21455	RequestId *string `type:"string"`
21456
21457	// The HTTP status of the request.
21458	Status *int64 `location:"statusCode" type:"integer"`
21459
21460	// The user name.
21461	User *User `type:"structure"`
21462
21463	// The URL the user visits to complete registration and provide a password.
21464	// This is returned only for users with an identity type of QUICKSIGHT.
21465	UserInvitationUrl *string `type:"string"`
21466}
21467
21468// String returns the string representation
21469func (s RegisterUserOutput) String() string {
21470	return awsutil.Prettify(s)
21471}
21472
21473// GoString returns the string representation
21474func (s RegisterUserOutput) GoString() string {
21475	return s.String()
21476}
21477
21478// SetRequestId sets the RequestId field's value.
21479func (s *RegisterUserOutput) SetRequestId(v string) *RegisterUserOutput {
21480	s.RequestId = &v
21481	return s
21482}
21483
21484// SetStatus sets the Status field's value.
21485func (s *RegisterUserOutput) SetStatus(v int64) *RegisterUserOutput {
21486	s.Status = &v
21487	return s
21488}
21489
21490// SetUser sets the User field's value.
21491func (s *RegisterUserOutput) SetUser(v *User) *RegisterUserOutput {
21492	s.User = v
21493	return s
21494}
21495
21496// SetUserInvitationUrl sets the UserInvitationUrl field's value.
21497func (s *RegisterUserOutput) SetUserInvitationUrl(v string) *RegisterUserOutput {
21498	s.UserInvitationUrl = &v
21499	return s
21500}
21501
21502// A physical table type for relational data sources.
21503type RelationalTable struct {
21504	_ struct{} `type:"structure"`
21505
21506	// The Amazon Resource Name (ARN) for the data source.
21507	//
21508	// DataSourceArn is a required field
21509	DataSourceArn *string `type:"string" required:"true"`
21510
21511	// The column schema of the table.
21512	//
21513	// InputColumns is a required field
21514	InputColumns []*InputColumn `min:"1" type:"list" required:"true"`
21515
21516	// The name of the relational table.
21517	//
21518	// Name is a required field
21519	Name *string `min:"1" type:"string" required:"true"`
21520
21521	// The schema name. This name applies to certain relational database engines.
21522	Schema *string `type:"string"`
21523}
21524
21525// String returns the string representation
21526func (s RelationalTable) String() string {
21527	return awsutil.Prettify(s)
21528}
21529
21530// GoString returns the string representation
21531func (s RelationalTable) GoString() string {
21532	return s.String()
21533}
21534
21535// Validate inspects the fields of the type to determine if they are valid.
21536func (s *RelationalTable) Validate() error {
21537	invalidParams := request.ErrInvalidParams{Context: "RelationalTable"}
21538	if s.DataSourceArn == nil {
21539		invalidParams.Add(request.NewErrParamRequired("DataSourceArn"))
21540	}
21541	if s.InputColumns == nil {
21542		invalidParams.Add(request.NewErrParamRequired("InputColumns"))
21543	}
21544	if s.InputColumns != nil && len(s.InputColumns) < 1 {
21545		invalidParams.Add(request.NewErrParamMinLen("InputColumns", 1))
21546	}
21547	if s.Name == nil {
21548		invalidParams.Add(request.NewErrParamRequired("Name"))
21549	}
21550	if s.Name != nil && len(*s.Name) < 1 {
21551		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
21552	}
21553	if s.InputColumns != nil {
21554		for i, v := range s.InputColumns {
21555			if v == nil {
21556				continue
21557			}
21558			if err := v.Validate(); err != nil {
21559				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputColumns", i), err.(request.ErrInvalidParams))
21560			}
21561		}
21562	}
21563
21564	if invalidParams.Len() > 0 {
21565		return invalidParams
21566	}
21567	return nil
21568}
21569
21570// SetDataSourceArn sets the DataSourceArn field's value.
21571func (s *RelationalTable) SetDataSourceArn(v string) *RelationalTable {
21572	s.DataSourceArn = &v
21573	return s
21574}
21575
21576// SetInputColumns sets the InputColumns field's value.
21577func (s *RelationalTable) SetInputColumns(v []*InputColumn) *RelationalTable {
21578	s.InputColumns = v
21579	return s
21580}
21581
21582// SetName sets the Name field's value.
21583func (s *RelationalTable) SetName(v string) *RelationalTable {
21584	s.Name = &v
21585	return s
21586}
21587
21588// SetSchema sets the Schema field's value.
21589func (s *RelationalTable) SetSchema(v string) *RelationalTable {
21590	s.Schema = &v
21591	return s
21592}
21593
21594// A transform operation that renames a column.
21595type RenameColumnOperation struct {
21596	_ struct{} `type:"structure"`
21597
21598	// The name of the column to be renamed.
21599	//
21600	// ColumnName is a required field
21601	ColumnName *string `min:"1" type:"string" required:"true"`
21602
21603	// The new name for the column.
21604	//
21605	// NewColumnName is a required field
21606	NewColumnName *string `min:"1" type:"string" required:"true"`
21607}
21608
21609// String returns the string representation
21610func (s RenameColumnOperation) String() string {
21611	return awsutil.Prettify(s)
21612}
21613
21614// GoString returns the string representation
21615func (s RenameColumnOperation) GoString() string {
21616	return s.String()
21617}
21618
21619// Validate inspects the fields of the type to determine if they are valid.
21620func (s *RenameColumnOperation) Validate() error {
21621	invalidParams := request.ErrInvalidParams{Context: "RenameColumnOperation"}
21622	if s.ColumnName == nil {
21623		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
21624	}
21625	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
21626		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
21627	}
21628	if s.NewColumnName == nil {
21629		invalidParams.Add(request.NewErrParamRequired("NewColumnName"))
21630	}
21631	if s.NewColumnName != nil && len(*s.NewColumnName) < 1 {
21632		invalidParams.Add(request.NewErrParamMinLen("NewColumnName", 1))
21633	}
21634
21635	if invalidParams.Len() > 0 {
21636		return invalidParams
21637	}
21638	return nil
21639}
21640
21641// SetColumnName sets the ColumnName field's value.
21642func (s *RenameColumnOperation) SetColumnName(v string) *RenameColumnOperation {
21643	s.ColumnName = &v
21644	return s
21645}
21646
21647// SetNewColumnName sets the NewColumnName field's value.
21648func (s *RenameColumnOperation) SetNewColumnName(v string) *RenameColumnOperation {
21649	s.NewColumnName = &v
21650	return s
21651}
21652
21653// The resource specified already exists.
21654type ResourceExistsException struct {
21655	_            struct{}                  `type:"structure"`
21656	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
21657
21658	Message_ *string `locationName:"Message" type:"string"`
21659
21660	// The AWS request ID for this request.
21661	RequestId *string `type:"string"`
21662
21663	// The resource type for this request.
21664	ResourceType *string `type:"string" enum:"ExceptionResourceType"`
21665}
21666
21667// String returns the string representation
21668func (s ResourceExistsException) String() string {
21669	return awsutil.Prettify(s)
21670}
21671
21672// GoString returns the string representation
21673func (s ResourceExistsException) GoString() string {
21674	return s.String()
21675}
21676
21677func newErrorResourceExistsException(v protocol.ResponseMetadata) error {
21678	return &ResourceExistsException{
21679		RespMetadata: v,
21680	}
21681}
21682
21683// Code returns the exception type name.
21684func (s *ResourceExistsException) Code() string {
21685	return "ResourceExistsException"
21686}
21687
21688// Message returns the exception's message.
21689func (s *ResourceExistsException) Message() string {
21690	if s.Message_ != nil {
21691		return *s.Message_
21692	}
21693	return ""
21694}
21695
21696// OrigErr always returns nil, satisfies awserr.Error interface.
21697func (s *ResourceExistsException) OrigErr() error {
21698	return nil
21699}
21700
21701func (s *ResourceExistsException) Error() string {
21702	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
21703}
21704
21705// Status code returns the HTTP status code for the request's response error.
21706func (s *ResourceExistsException) StatusCode() int {
21707	return s.RespMetadata.StatusCode
21708}
21709
21710// RequestID returns the service's response RequestID for request.
21711func (s *ResourceExistsException) RequestID() string {
21712	return s.RespMetadata.RequestID
21713}
21714
21715// One or more resources can't be found.
21716type ResourceNotFoundException struct {
21717	_            struct{}                  `type:"structure"`
21718	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
21719
21720	Message_ *string `locationName:"Message" type:"string"`
21721
21722	// The AWS request ID for this request.
21723	RequestId *string `type:"string"`
21724
21725	// The resource type for this request.
21726	ResourceType *string `type:"string" enum:"ExceptionResourceType"`
21727}
21728
21729// String returns the string representation
21730func (s ResourceNotFoundException) String() string {
21731	return awsutil.Prettify(s)
21732}
21733
21734// GoString returns the string representation
21735func (s ResourceNotFoundException) GoString() string {
21736	return s.String()
21737}
21738
21739func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
21740	return &ResourceNotFoundException{
21741		RespMetadata: v,
21742	}
21743}
21744
21745// Code returns the exception type name.
21746func (s *ResourceNotFoundException) Code() string {
21747	return "ResourceNotFoundException"
21748}
21749
21750// Message returns the exception's message.
21751func (s *ResourceNotFoundException) Message() string {
21752	if s.Message_ != nil {
21753		return *s.Message_
21754	}
21755	return ""
21756}
21757
21758// OrigErr always returns nil, satisfies awserr.Error interface.
21759func (s *ResourceNotFoundException) OrigErr() error {
21760	return nil
21761}
21762
21763func (s *ResourceNotFoundException) Error() string {
21764	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
21765}
21766
21767// Status code returns the HTTP status code for the request's response error.
21768func (s *ResourceNotFoundException) StatusCode() int {
21769	return s.RespMetadata.StatusCode
21770}
21771
21772// RequestID returns the service's response RequestID for request.
21773func (s *ResourceNotFoundException) RequestID() string {
21774	return s.RespMetadata.RequestID
21775}
21776
21777// Permission for the resource.
21778type ResourcePermission struct {
21779	_ struct{} `type:"structure"`
21780
21781	// The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".
21782	//
21783	// Actions is a required field
21784	Actions []*string `min:"1" type:"list" required:"true"`
21785
21786	// The Amazon Resource Name (ARN) of the principal. This can be one of the following:
21787	//
21788	//    * The ARN of an Amazon QuickSight user, group, or namespace. (This is
21789	//    most common.)
21790	//
21791	//    * The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight
21792	//    ARN. Use this option only to share resources (templates) across AWS accounts.
21793	//    (This is less common.)
21794	//
21795	// Principal is a required field
21796	Principal *string `min:"1" type:"string" required:"true"`
21797}
21798
21799// String returns the string representation
21800func (s ResourcePermission) String() string {
21801	return awsutil.Prettify(s)
21802}
21803
21804// GoString returns the string representation
21805func (s ResourcePermission) GoString() string {
21806	return s.String()
21807}
21808
21809// Validate inspects the fields of the type to determine if they are valid.
21810func (s *ResourcePermission) Validate() error {
21811	invalidParams := request.ErrInvalidParams{Context: "ResourcePermission"}
21812	if s.Actions == nil {
21813		invalidParams.Add(request.NewErrParamRequired("Actions"))
21814	}
21815	if s.Actions != nil && len(s.Actions) < 1 {
21816		invalidParams.Add(request.NewErrParamMinLen("Actions", 1))
21817	}
21818	if s.Principal == nil {
21819		invalidParams.Add(request.NewErrParamRequired("Principal"))
21820	}
21821	if s.Principal != nil && len(*s.Principal) < 1 {
21822		invalidParams.Add(request.NewErrParamMinLen("Principal", 1))
21823	}
21824
21825	if invalidParams.Len() > 0 {
21826		return invalidParams
21827	}
21828	return nil
21829}
21830
21831// SetActions sets the Actions field's value.
21832func (s *ResourcePermission) SetActions(v []*string) *ResourcePermission {
21833	s.Actions = v
21834	return s
21835}
21836
21837// SetPrincipal sets the Principal field's value.
21838func (s *ResourcePermission) SetPrincipal(v string) *ResourcePermission {
21839	s.Principal = &v
21840	return s
21841}
21842
21843// This resource is currently unavailable.
21844type ResourceUnavailableException struct {
21845	_            struct{}                  `type:"structure"`
21846	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
21847
21848	Message_ *string `locationName:"Message" type:"string"`
21849
21850	// The AWS request ID for this request.
21851	RequestId *string `type:"string"`
21852
21853	// The resource type for this request.
21854	ResourceType *string `type:"string" enum:"ExceptionResourceType"`
21855}
21856
21857// String returns the string representation
21858func (s ResourceUnavailableException) String() string {
21859	return awsutil.Prettify(s)
21860}
21861
21862// GoString returns the string representation
21863func (s ResourceUnavailableException) GoString() string {
21864	return s.String()
21865}
21866
21867func newErrorResourceUnavailableException(v protocol.ResponseMetadata) error {
21868	return &ResourceUnavailableException{
21869		RespMetadata: v,
21870	}
21871}
21872
21873// Code returns the exception type name.
21874func (s *ResourceUnavailableException) Code() string {
21875	return "ResourceUnavailableException"
21876}
21877
21878// Message returns the exception's message.
21879func (s *ResourceUnavailableException) Message() string {
21880	if s.Message_ != nil {
21881		return *s.Message_
21882	}
21883	return ""
21884}
21885
21886// OrigErr always returns nil, satisfies awserr.Error interface.
21887func (s *ResourceUnavailableException) OrigErr() error {
21888	return nil
21889}
21890
21891func (s *ResourceUnavailableException) Error() string {
21892	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
21893}
21894
21895// Status code returns the HTTP status code for the request's response error.
21896func (s *ResourceUnavailableException) StatusCode() int {
21897	return s.RespMetadata.StatusCode
21898}
21899
21900// RequestID returns the service's response RequestID for request.
21901func (s *ResourceUnavailableException) RequestID() string {
21902	return s.RespMetadata.RequestID
21903}
21904
21905// Information about rows for a data set SPICE ingestion.
21906type RowInfo struct {
21907	_ struct{} `type:"structure"`
21908
21909	// The number of rows that were not ingested.
21910	RowsDropped *int64 `type:"long"`
21911
21912	// The number of rows that were ingested.
21913	RowsIngested *int64 `type:"long"`
21914}
21915
21916// String returns the string representation
21917func (s RowInfo) String() string {
21918	return awsutil.Prettify(s)
21919}
21920
21921// GoString returns the string representation
21922func (s RowInfo) GoString() string {
21923	return s.String()
21924}
21925
21926// SetRowsDropped sets the RowsDropped field's value.
21927func (s *RowInfo) SetRowsDropped(v int64) *RowInfo {
21928	s.RowsDropped = &v
21929	return s
21930}
21931
21932// SetRowsIngested sets the RowsIngested field's value.
21933func (s *RowInfo) SetRowsIngested(v int64) *RowInfo {
21934	s.RowsIngested = &v
21935	return s
21936}
21937
21938// The row-level security configuration for the dataset.
21939type RowLevelPermissionDataSet struct {
21940	_ struct{} `type:"structure"`
21941
21942	// The Amazon Resource Name (ARN) of the permission dataset.
21943	//
21944	// Arn is a required field
21945	Arn *string `type:"string" required:"true"`
21946
21947	// Permission policy.
21948	//
21949	// PermissionPolicy is a required field
21950	PermissionPolicy *string `type:"string" required:"true" enum:"RowLevelPermissionPolicy"`
21951}
21952
21953// String returns the string representation
21954func (s RowLevelPermissionDataSet) String() string {
21955	return awsutil.Prettify(s)
21956}
21957
21958// GoString returns the string representation
21959func (s RowLevelPermissionDataSet) GoString() string {
21960	return s.String()
21961}
21962
21963// Validate inspects the fields of the type to determine if they are valid.
21964func (s *RowLevelPermissionDataSet) Validate() error {
21965	invalidParams := request.ErrInvalidParams{Context: "RowLevelPermissionDataSet"}
21966	if s.Arn == nil {
21967		invalidParams.Add(request.NewErrParamRequired("Arn"))
21968	}
21969	if s.PermissionPolicy == nil {
21970		invalidParams.Add(request.NewErrParamRequired("PermissionPolicy"))
21971	}
21972
21973	if invalidParams.Len() > 0 {
21974		return invalidParams
21975	}
21976	return nil
21977}
21978
21979// SetArn sets the Arn field's value.
21980func (s *RowLevelPermissionDataSet) SetArn(v string) *RowLevelPermissionDataSet {
21981	s.Arn = &v
21982	return s
21983}
21984
21985// SetPermissionPolicy sets the PermissionPolicy field's value.
21986func (s *RowLevelPermissionDataSet) SetPermissionPolicy(v string) *RowLevelPermissionDataSet {
21987	s.PermissionPolicy = &v
21988	return s
21989}
21990
21991// S3 parameters.
21992type S3Parameters struct {
21993	_ struct{} `type:"structure"`
21994
21995	// Location of the Amazon S3 manifest file. This is NULL if the manifest file
21996	// was uploaded in the console.
21997	//
21998	// ManifestFileLocation is a required field
21999	ManifestFileLocation *ManifestFileLocation `type:"structure" required:"true"`
22000}
22001
22002// String returns the string representation
22003func (s S3Parameters) String() string {
22004	return awsutil.Prettify(s)
22005}
22006
22007// GoString returns the string representation
22008func (s S3Parameters) GoString() string {
22009	return s.String()
22010}
22011
22012// Validate inspects the fields of the type to determine if they are valid.
22013func (s *S3Parameters) Validate() error {
22014	invalidParams := request.ErrInvalidParams{Context: "S3Parameters"}
22015	if s.ManifestFileLocation == nil {
22016		invalidParams.Add(request.NewErrParamRequired("ManifestFileLocation"))
22017	}
22018	if s.ManifestFileLocation != nil {
22019		if err := s.ManifestFileLocation.Validate(); err != nil {
22020			invalidParams.AddNested("ManifestFileLocation", err.(request.ErrInvalidParams))
22021		}
22022	}
22023
22024	if invalidParams.Len() > 0 {
22025		return invalidParams
22026	}
22027	return nil
22028}
22029
22030// SetManifestFileLocation sets the ManifestFileLocation field's value.
22031func (s *S3Parameters) SetManifestFileLocation(v *ManifestFileLocation) *S3Parameters {
22032	s.ManifestFileLocation = v
22033	return s
22034}
22035
22036// A physical table type for as S3 data source.
22037type S3Source struct {
22038	_ struct{} `type:"structure"`
22039
22040	// The amazon Resource Name (ARN) for the data source.
22041	//
22042	// DataSourceArn is a required field
22043	DataSourceArn *string `type:"string" required:"true"`
22044
22045	// A physical table type for as S3 data source.
22046	//
22047	// InputColumns is a required field
22048	InputColumns []*InputColumn `min:"1" type:"list" required:"true"`
22049
22050	// Information about the format for the S3 source file or files.
22051	UploadSettings *UploadSettings `type:"structure"`
22052}
22053
22054// String returns the string representation
22055func (s S3Source) String() string {
22056	return awsutil.Prettify(s)
22057}
22058
22059// GoString returns the string representation
22060func (s S3Source) GoString() string {
22061	return s.String()
22062}
22063
22064// Validate inspects the fields of the type to determine if they are valid.
22065func (s *S3Source) Validate() error {
22066	invalidParams := request.ErrInvalidParams{Context: "S3Source"}
22067	if s.DataSourceArn == nil {
22068		invalidParams.Add(request.NewErrParamRequired("DataSourceArn"))
22069	}
22070	if s.InputColumns == nil {
22071		invalidParams.Add(request.NewErrParamRequired("InputColumns"))
22072	}
22073	if s.InputColumns != nil && len(s.InputColumns) < 1 {
22074		invalidParams.Add(request.NewErrParamMinLen("InputColumns", 1))
22075	}
22076	if s.InputColumns != nil {
22077		for i, v := range s.InputColumns {
22078			if v == nil {
22079				continue
22080			}
22081			if err := v.Validate(); err != nil {
22082				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputColumns", i), err.(request.ErrInvalidParams))
22083			}
22084		}
22085	}
22086	if s.UploadSettings != nil {
22087		if err := s.UploadSettings.Validate(); err != nil {
22088			invalidParams.AddNested("UploadSettings", err.(request.ErrInvalidParams))
22089		}
22090	}
22091
22092	if invalidParams.Len() > 0 {
22093		return invalidParams
22094	}
22095	return nil
22096}
22097
22098// SetDataSourceArn sets the DataSourceArn field's value.
22099func (s *S3Source) SetDataSourceArn(v string) *S3Source {
22100	s.DataSourceArn = &v
22101	return s
22102}
22103
22104// SetInputColumns sets the InputColumns field's value.
22105func (s *S3Source) SetInputColumns(v []*InputColumn) *S3Source {
22106	s.InputColumns = v
22107	return s
22108}
22109
22110// SetUploadSettings sets the UploadSettings field's value.
22111func (s *S3Source) SetUploadSettings(v *UploadSettings) *S3Source {
22112	s.UploadSettings = v
22113	return s
22114}
22115
22116type SearchDashboardsInput struct {
22117	_ struct{} `type:"structure"`
22118
22119	// The ID of the AWS account that contains the user whose dashboards you're
22120	// searching for.
22121	//
22122	// AwsAccountId is a required field
22123	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
22124
22125	// The filters to apply to the search. Currently, you can search only by user
22126	// name, for example, "Filters": [ { "Name": "QUICKSIGHT_USER", "Operator":
22127	// "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1"
22128	// } ]
22129	//
22130	// Filters is a required field
22131	Filters []*DashboardSearchFilter `type:"list" required:"true"`
22132
22133	// The maximum number of results to be returned per request.
22134	MaxResults *int64 `min:"1" type:"integer"`
22135
22136	// The token for the next set of results, or null if there are no more results.
22137	NextToken *string `type:"string"`
22138}
22139
22140// String returns the string representation
22141func (s SearchDashboardsInput) String() string {
22142	return awsutil.Prettify(s)
22143}
22144
22145// GoString returns the string representation
22146func (s SearchDashboardsInput) GoString() string {
22147	return s.String()
22148}
22149
22150// Validate inspects the fields of the type to determine if they are valid.
22151func (s *SearchDashboardsInput) Validate() error {
22152	invalidParams := request.ErrInvalidParams{Context: "SearchDashboardsInput"}
22153	if s.AwsAccountId == nil {
22154		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
22155	}
22156	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
22157		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
22158	}
22159	if s.Filters == nil {
22160		invalidParams.Add(request.NewErrParamRequired("Filters"))
22161	}
22162	if s.MaxResults != nil && *s.MaxResults < 1 {
22163		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
22164	}
22165	if s.Filters != nil {
22166		for i, v := range s.Filters {
22167			if v == nil {
22168				continue
22169			}
22170			if err := v.Validate(); err != nil {
22171				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
22172			}
22173		}
22174	}
22175
22176	if invalidParams.Len() > 0 {
22177		return invalidParams
22178	}
22179	return nil
22180}
22181
22182// SetAwsAccountId sets the AwsAccountId field's value.
22183func (s *SearchDashboardsInput) SetAwsAccountId(v string) *SearchDashboardsInput {
22184	s.AwsAccountId = &v
22185	return s
22186}
22187
22188// SetFilters sets the Filters field's value.
22189func (s *SearchDashboardsInput) SetFilters(v []*DashboardSearchFilter) *SearchDashboardsInput {
22190	s.Filters = v
22191	return s
22192}
22193
22194// SetMaxResults sets the MaxResults field's value.
22195func (s *SearchDashboardsInput) SetMaxResults(v int64) *SearchDashboardsInput {
22196	s.MaxResults = &v
22197	return s
22198}
22199
22200// SetNextToken sets the NextToken field's value.
22201func (s *SearchDashboardsInput) SetNextToken(v string) *SearchDashboardsInput {
22202	s.NextToken = &v
22203	return s
22204}
22205
22206type SearchDashboardsOutput struct {
22207	_ struct{} `type:"structure"`
22208
22209	// The list of dashboards owned by the user specified in Filters in your request.
22210	DashboardSummaryList []*DashboardSummary `type:"list"`
22211
22212	// The token for the next set of results, or null if there are no more results.
22213	NextToken *string `type:"string"`
22214
22215	// The AWS request ID for this operation.
22216	RequestId *string `type:"string"`
22217
22218	// The HTTP status of the request.
22219	Status *int64 `location:"statusCode" type:"integer"`
22220}
22221
22222// String returns the string representation
22223func (s SearchDashboardsOutput) String() string {
22224	return awsutil.Prettify(s)
22225}
22226
22227// GoString returns the string representation
22228func (s SearchDashboardsOutput) GoString() string {
22229	return s.String()
22230}
22231
22232// SetDashboardSummaryList sets the DashboardSummaryList field's value.
22233func (s *SearchDashboardsOutput) SetDashboardSummaryList(v []*DashboardSummary) *SearchDashboardsOutput {
22234	s.DashboardSummaryList = v
22235	return s
22236}
22237
22238// SetNextToken sets the NextToken field's value.
22239func (s *SearchDashboardsOutput) SetNextToken(v string) *SearchDashboardsOutput {
22240	s.NextToken = &v
22241	return s
22242}
22243
22244// SetRequestId sets the RequestId field's value.
22245func (s *SearchDashboardsOutput) SetRequestId(v string) *SearchDashboardsOutput {
22246	s.RequestId = &v
22247	return s
22248}
22249
22250// SetStatus sets the Status field's value.
22251func (s *SearchDashboardsOutput) SetStatus(v int64) *SearchDashboardsOutput {
22252	s.Status = &v
22253	return s
22254}
22255
22256// ServiceNow parameters.
22257type ServiceNowParameters struct {
22258	_ struct{} `type:"structure"`
22259
22260	// URL of the base site.
22261	//
22262	// SiteBaseUrl is a required field
22263	SiteBaseUrl *string `min:"1" type:"string" required:"true"`
22264}
22265
22266// String returns the string representation
22267func (s ServiceNowParameters) String() string {
22268	return awsutil.Prettify(s)
22269}
22270
22271// GoString returns the string representation
22272func (s ServiceNowParameters) GoString() string {
22273	return s.String()
22274}
22275
22276// Validate inspects the fields of the type to determine if they are valid.
22277func (s *ServiceNowParameters) Validate() error {
22278	invalidParams := request.ErrInvalidParams{Context: "ServiceNowParameters"}
22279	if s.SiteBaseUrl == nil {
22280		invalidParams.Add(request.NewErrParamRequired("SiteBaseUrl"))
22281	}
22282	if s.SiteBaseUrl != nil && len(*s.SiteBaseUrl) < 1 {
22283		invalidParams.Add(request.NewErrParamMinLen("SiteBaseUrl", 1))
22284	}
22285
22286	if invalidParams.Len() > 0 {
22287		return invalidParams
22288	}
22289	return nil
22290}
22291
22292// SetSiteBaseUrl sets the SiteBaseUrl field's value.
22293func (s *ServiceNowParameters) SetSiteBaseUrl(v string) *ServiceNowParameters {
22294	s.SiteBaseUrl = &v
22295	return s
22296}
22297
22298// The number of minutes specified for the lifetime of a session isn't valid.
22299// The session lifetime must be 15-600 minutes.
22300type SessionLifetimeInMinutesInvalidException struct {
22301	_            struct{}                  `type:"structure"`
22302	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
22303
22304	Message_ *string `locationName:"Message" type:"string"`
22305
22306	// The AWS request ID for this request.
22307	RequestId *string `type:"string"`
22308}
22309
22310// String returns the string representation
22311func (s SessionLifetimeInMinutesInvalidException) String() string {
22312	return awsutil.Prettify(s)
22313}
22314
22315// GoString returns the string representation
22316func (s SessionLifetimeInMinutesInvalidException) GoString() string {
22317	return s.String()
22318}
22319
22320func newErrorSessionLifetimeInMinutesInvalidException(v protocol.ResponseMetadata) error {
22321	return &SessionLifetimeInMinutesInvalidException{
22322		RespMetadata: v,
22323	}
22324}
22325
22326// Code returns the exception type name.
22327func (s *SessionLifetimeInMinutesInvalidException) Code() string {
22328	return "SessionLifetimeInMinutesInvalidException"
22329}
22330
22331// Message returns the exception's message.
22332func (s *SessionLifetimeInMinutesInvalidException) Message() string {
22333	if s.Message_ != nil {
22334		return *s.Message_
22335	}
22336	return ""
22337}
22338
22339// OrigErr always returns nil, satisfies awserr.Error interface.
22340func (s *SessionLifetimeInMinutesInvalidException) OrigErr() error {
22341	return nil
22342}
22343
22344func (s *SessionLifetimeInMinutesInvalidException) Error() string {
22345	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
22346}
22347
22348// Status code returns the HTTP status code for the request's response error.
22349func (s *SessionLifetimeInMinutesInvalidException) StatusCode() int {
22350	return s.RespMetadata.StatusCode
22351}
22352
22353// RequestID returns the service's response RequestID for request.
22354func (s *SessionLifetimeInMinutesInvalidException) RequestID() string {
22355	return s.RespMetadata.RequestID
22356}
22357
22358// Sheet controls option.
22359type SheetControlsOption struct {
22360	_ struct{} `type:"structure"`
22361
22362	// Visibility state.
22363	VisibilityState *string `type:"string" enum:"DashboardUIState"`
22364}
22365
22366// String returns the string representation
22367func (s SheetControlsOption) String() string {
22368	return awsutil.Prettify(s)
22369}
22370
22371// GoString returns the string representation
22372func (s SheetControlsOption) GoString() string {
22373	return s.String()
22374}
22375
22376// SetVisibilityState sets the VisibilityState field's value.
22377func (s *SheetControlsOption) SetVisibilityState(v string) *SheetControlsOption {
22378	s.VisibilityState = &v
22379	return s
22380}
22381
22382// The theme display options for sheets.
22383type SheetStyle struct {
22384	_ struct{} `type:"structure"`
22385
22386	// The display options for tiles.
22387	Tile *TileStyle `type:"structure"`
22388
22389	// The layout options for tiles.
22390	TileLayout *TileLayoutStyle `type:"structure"`
22391}
22392
22393// String returns the string representation
22394func (s SheetStyle) String() string {
22395	return awsutil.Prettify(s)
22396}
22397
22398// GoString returns the string representation
22399func (s SheetStyle) GoString() string {
22400	return s.String()
22401}
22402
22403// SetTile sets the Tile field's value.
22404func (s *SheetStyle) SetTile(v *TileStyle) *SheetStyle {
22405	s.Tile = v
22406	return s
22407}
22408
22409// SetTileLayout sets the TileLayout field's value.
22410func (s *SheetStyle) SetTileLayout(v *TileLayoutStyle) *SheetStyle {
22411	s.TileLayout = v
22412	return s
22413}
22414
22415// Snowflake parameters.
22416type SnowflakeParameters struct {
22417	_ struct{} `type:"structure"`
22418
22419	// Database.
22420	//
22421	// Database is a required field
22422	Database *string `min:"1" type:"string" required:"true"`
22423
22424	// Host.
22425	//
22426	// Host is a required field
22427	Host *string `min:"1" type:"string" required:"true"`
22428
22429	// Warehouse.
22430	//
22431	// Warehouse is a required field
22432	Warehouse *string `type:"string" required:"true"`
22433}
22434
22435// String returns the string representation
22436func (s SnowflakeParameters) String() string {
22437	return awsutil.Prettify(s)
22438}
22439
22440// GoString returns the string representation
22441func (s SnowflakeParameters) GoString() string {
22442	return s.String()
22443}
22444
22445// Validate inspects the fields of the type to determine if they are valid.
22446func (s *SnowflakeParameters) Validate() error {
22447	invalidParams := request.ErrInvalidParams{Context: "SnowflakeParameters"}
22448	if s.Database == nil {
22449		invalidParams.Add(request.NewErrParamRequired("Database"))
22450	}
22451	if s.Database != nil && len(*s.Database) < 1 {
22452		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
22453	}
22454	if s.Host == nil {
22455		invalidParams.Add(request.NewErrParamRequired("Host"))
22456	}
22457	if s.Host != nil && len(*s.Host) < 1 {
22458		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
22459	}
22460	if s.Warehouse == nil {
22461		invalidParams.Add(request.NewErrParamRequired("Warehouse"))
22462	}
22463
22464	if invalidParams.Len() > 0 {
22465		return invalidParams
22466	}
22467	return nil
22468}
22469
22470// SetDatabase sets the Database field's value.
22471func (s *SnowflakeParameters) SetDatabase(v string) *SnowflakeParameters {
22472	s.Database = &v
22473	return s
22474}
22475
22476// SetHost sets the Host field's value.
22477func (s *SnowflakeParameters) SetHost(v string) *SnowflakeParameters {
22478	s.Host = &v
22479	return s
22480}
22481
22482// SetWarehouse sets the Warehouse field's value.
22483func (s *SnowflakeParameters) SetWarehouse(v string) *SnowflakeParameters {
22484	s.Warehouse = &v
22485	return s
22486}
22487
22488// Spark parameters.
22489type SparkParameters struct {
22490	_ struct{} `type:"structure"`
22491
22492	// Host.
22493	//
22494	// Host is a required field
22495	Host *string `min:"1" type:"string" required:"true"`
22496
22497	// Port.
22498	//
22499	// Port is a required field
22500	Port *int64 `min:"1" type:"integer" required:"true"`
22501}
22502
22503// String returns the string representation
22504func (s SparkParameters) String() string {
22505	return awsutil.Prettify(s)
22506}
22507
22508// GoString returns the string representation
22509func (s SparkParameters) GoString() string {
22510	return s.String()
22511}
22512
22513// Validate inspects the fields of the type to determine if they are valid.
22514func (s *SparkParameters) Validate() error {
22515	invalidParams := request.ErrInvalidParams{Context: "SparkParameters"}
22516	if s.Host == nil {
22517		invalidParams.Add(request.NewErrParamRequired("Host"))
22518	}
22519	if s.Host != nil && len(*s.Host) < 1 {
22520		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
22521	}
22522	if s.Port == nil {
22523		invalidParams.Add(request.NewErrParamRequired("Port"))
22524	}
22525	if s.Port != nil && *s.Port < 1 {
22526		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
22527	}
22528
22529	if invalidParams.Len() > 0 {
22530		return invalidParams
22531	}
22532	return nil
22533}
22534
22535// SetHost sets the Host field's value.
22536func (s *SparkParameters) SetHost(v string) *SparkParameters {
22537	s.Host = &v
22538	return s
22539}
22540
22541// SetPort sets the Port field's value.
22542func (s *SparkParameters) SetPort(v int64) *SparkParameters {
22543	s.Port = &v
22544	return s
22545}
22546
22547// SQL Server parameters.
22548type SqlServerParameters struct {
22549	_ struct{} `type:"structure"`
22550
22551	// Database.
22552	//
22553	// Database is a required field
22554	Database *string `min:"1" type:"string" required:"true"`
22555
22556	// Host.
22557	//
22558	// Host is a required field
22559	Host *string `min:"1" type:"string" required:"true"`
22560
22561	// Port.
22562	//
22563	// Port is a required field
22564	Port *int64 `min:"1" type:"integer" required:"true"`
22565}
22566
22567// String returns the string representation
22568func (s SqlServerParameters) String() string {
22569	return awsutil.Prettify(s)
22570}
22571
22572// GoString returns the string representation
22573func (s SqlServerParameters) GoString() string {
22574	return s.String()
22575}
22576
22577// Validate inspects the fields of the type to determine if they are valid.
22578func (s *SqlServerParameters) Validate() error {
22579	invalidParams := request.ErrInvalidParams{Context: "SqlServerParameters"}
22580	if s.Database == nil {
22581		invalidParams.Add(request.NewErrParamRequired("Database"))
22582	}
22583	if s.Database != nil && len(*s.Database) < 1 {
22584		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
22585	}
22586	if s.Host == nil {
22587		invalidParams.Add(request.NewErrParamRequired("Host"))
22588	}
22589	if s.Host != nil && len(*s.Host) < 1 {
22590		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
22591	}
22592	if s.Port == nil {
22593		invalidParams.Add(request.NewErrParamRequired("Port"))
22594	}
22595	if s.Port != nil && *s.Port < 1 {
22596		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
22597	}
22598
22599	if invalidParams.Len() > 0 {
22600		return invalidParams
22601	}
22602	return nil
22603}
22604
22605// SetDatabase sets the Database field's value.
22606func (s *SqlServerParameters) SetDatabase(v string) *SqlServerParameters {
22607	s.Database = &v
22608	return s
22609}
22610
22611// SetHost sets the Host field's value.
22612func (s *SqlServerParameters) SetHost(v string) *SqlServerParameters {
22613	s.Host = &v
22614	return s
22615}
22616
22617// SetPort sets the Port field's value.
22618func (s *SqlServerParameters) SetPort(v int64) *SqlServerParameters {
22619	s.Port = &v
22620	return s
22621}
22622
22623// Secure Socket Layer (SSL) properties that apply when QuickSight connects
22624// to your underlying data source.
22625type SslProperties struct {
22626	_ struct{} `type:"structure"`
22627
22628	// A Boolean option to control whether SSL should be disabled.
22629	DisableSsl *bool `type:"boolean"`
22630}
22631
22632// String returns the string representation
22633func (s SslProperties) String() string {
22634	return awsutil.Prettify(s)
22635}
22636
22637// GoString returns the string representation
22638func (s SslProperties) GoString() string {
22639	return s.String()
22640}
22641
22642// SetDisableSsl sets the DisableSsl field's value.
22643func (s *SslProperties) SetDisableSsl(v bool) *SslProperties {
22644	s.DisableSsl = &v
22645	return s
22646}
22647
22648// String parameter.
22649type StringParameter struct {
22650	_ struct{} `type:"structure"`
22651
22652	// A display name for the dataset.
22653	//
22654	// Name is a required field
22655	Name *string `type:"string" required:"true"`
22656
22657	// Values.
22658	//
22659	// Values is a required field
22660	Values []*string `type:"list" required:"true"`
22661}
22662
22663// String returns the string representation
22664func (s StringParameter) String() string {
22665	return awsutil.Prettify(s)
22666}
22667
22668// GoString returns the string representation
22669func (s StringParameter) GoString() string {
22670	return s.String()
22671}
22672
22673// Validate inspects the fields of the type to determine if they are valid.
22674func (s *StringParameter) Validate() error {
22675	invalidParams := request.ErrInvalidParams{Context: "StringParameter"}
22676	if s.Name == nil {
22677		invalidParams.Add(request.NewErrParamRequired("Name"))
22678	}
22679	if s.Values == nil {
22680		invalidParams.Add(request.NewErrParamRequired("Values"))
22681	}
22682
22683	if invalidParams.Len() > 0 {
22684		return invalidParams
22685	}
22686	return nil
22687}
22688
22689// SetName sets the Name field's value.
22690func (s *StringParameter) SetName(v string) *StringParameter {
22691	s.Name = &v
22692	return s
22693}
22694
22695// SetValues sets the Values field's value.
22696func (s *StringParameter) SetValues(v []*string) *StringParameter {
22697	s.Values = v
22698	return s
22699}
22700
22701// The key or keys of the key-value pairs for the resource tag or tags assigned
22702// to the resource.
22703type Tag struct {
22704	_ struct{} `type:"structure"`
22705
22706	// Tag key.
22707	//
22708	// Key is a required field
22709	Key *string `min:"1" type:"string" required:"true"`
22710
22711	// Tag value.
22712	//
22713	// Value is a required field
22714	Value *string `min:"1" type:"string" required:"true"`
22715}
22716
22717// String returns the string representation
22718func (s Tag) String() string {
22719	return awsutil.Prettify(s)
22720}
22721
22722// GoString returns the string representation
22723func (s Tag) GoString() string {
22724	return s.String()
22725}
22726
22727// Validate inspects the fields of the type to determine if they are valid.
22728func (s *Tag) Validate() error {
22729	invalidParams := request.ErrInvalidParams{Context: "Tag"}
22730	if s.Key == nil {
22731		invalidParams.Add(request.NewErrParamRequired("Key"))
22732	}
22733	if s.Key != nil && len(*s.Key) < 1 {
22734		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
22735	}
22736	if s.Value == nil {
22737		invalidParams.Add(request.NewErrParamRequired("Value"))
22738	}
22739	if s.Value != nil && len(*s.Value) < 1 {
22740		invalidParams.Add(request.NewErrParamMinLen("Value", 1))
22741	}
22742
22743	if invalidParams.Len() > 0 {
22744		return invalidParams
22745	}
22746	return nil
22747}
22748
22749// SetKey sets the Key field's value.
22750func (s *Tag) SetKey(v string) *Tag {
22751	s.Key = &v
22752	return s
22753}
22754
22755// SetValue sets the Value field's value.
22756func (s *Tag) SetValue(v string) *Tag {
22757	s.Value = &v
22758	return s
22759}
22760
22761// A transform operation that tags a column with additional information.
22762type TagColumnOperation struct {
22763	_ struct{} `type:"structure"`
22764
22765	// The column that this operation acts on.
22766	//
22767	// ColumnName is a required field
22768	ColumnName *string `min:"1" type:"string" required:"true"`
22769
22770	// The dataset column tag, currently only used for geospatial type tagging. .
22771	//
22772	// This is not tags for the AWS tagging feature. .
22773	//
22774	// Tags is a required field
22775	Tags []*ColumnTag `min:"1" type:"list" required:"true"`
22776}
22777
22778// String returns the string representation
22779func (s TagColumnOperation) String() string {
22780	return awsutil.Prettify(s)
22781}
22782
22783// GoString returns the string representation
22784func (s TagColumnOperation) GoString() string {
22785	return s.String()
22786}
22787
22788// Validate inspects the fields of the type to determine if they are valid.
22789func (s *TagColumnOperation) Validate() error {
22790	invalidParams := request.ErrInvalidParams{Context: "TagColumnOperation"}
22791	if s.ColumnName == nil {
22792		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
22793	}
22794	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
22795		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
22796	}
22797	if s.Tags == nil {
22798		invalidParams.Add(request.NewErrParamRequired("Tags"))
22799	}
22800	if s.Tags != nil && len(s.Tags) < 1 {
22801		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
22802	}
22803
22804	if invalidParams.Len() > 0 {
22805		return invalidParams
22806	}
22807	return nil
22808}
22809
22810// SetColumnName sets the ColumnName field's value.
22811func (s *TagColumnOperation) SetColumnName(v string) *TagColumnOperation {
22812	s.ColumnName = &v
22813	return s
22814}
22815
22816// SetTags sets the Tags field's value.
22817func (s *TagColumnOperation) SetTags(v []*ColumnTag) *TagColumnOperation {
22818	s.Tags = v
22819	return s
22820}
22821
22822type TagResourceInput struct {
22823	_ struct{} `type:"structure"`
22824
22825	// The Amazon Resource Name (ARN) of the resource that you want to tag.
22826	//
22827	// ResourceArn is a required field
22828	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
22829
22830	// Contains a map of the key-value pairs for the resource tag or tags assigned
22831	// to the resource.
22832	//
22833	// Tags is a required field
22834	Tags []*Tag `min:"1" type:"list" required:"true"`
22835}
22836
22837// String returns the string representation
22838func (s TagResourceInput) String() string {
22839	return awsutil.Prettify(s)
22840}
22841
22842// GoString returns the string representation
22843func (s TagResourceInput) GoString() string {
22844	return s.String()
22845}
22846
22847// Validate inspects the fields of the type to determine if they are valid.
22848func (s *TagResourceInput) Validate() error {
22849	invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
22850	if s.ResourceArn == nil {
22851		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
22852	}
22853	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
22854		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
22855	}
22856	if s.Tags == nil {
22857		invalidParams.Add(request.NewErrParamRequired("Tags"))
22858	}
22859	if s.Tags != nil && len(s.Tags) < 1 {
22860		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
22861	}
22862	if s.Tags != nil {
22863		for i, v := range s.Tags {
22864			if v == nil {
22865				continue
22866			}
22867			if err := v.Validate(); err != nil {
22868				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
22869			}
22870		}
22871	}
22872
22873	if invalidParams.Len() > 0 {
22874		return invalidParams
22875	}
22876	return nil
22877}
22878
22879// SetResourceArn sets the ResourceArn field's value.
22880func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
22881	s.ResourceArn = &v
22882	return s
22883}
22884
22885// SetTags sets the Tags field's value.
22886func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput {
22887	s.Tags = v
22888	return s
22889}
22890
22891type TagResourceOutput struct {
22892	_ struct{} `type:"structure"`
22893
22894	// The AWS request ID for this operation.
22895	RequestId *string `type:"string"`
22896
22897	// The HTTP status of the request.
22898	Status *int64 `location:"statusCode" type:"integer"`
22899}
22900
22901// String returns the string representation
22902func (s TagResourceOutput) String() string {
22903	return awsutil.Prettify(s)
22904}
22905
22906// GoString returns the string representation
22907func (s TagResourceOutput) GoString() string {
22908	return s.String()
22909}
22910
22911// SetRequestId sets the RequestId field's value.
22912func (s *TagResourceOutput) SetRequestId(v string) *TagResourceOutput {
22913	s.RequestId = &v
22914	return s
22915}
22916
22917// SetStatus sets the Status field's value.
22918func (s *TagResourceOutput) SetStatus(v int64) *TagResourceOutput {
22919	s.Status = &v
22920	return s
22921}
22922
22923// A template object. A template is an entity in QuickSight that encapsulates
22924// the metadata required to create an analysis and that you can use to create
22925// a dashboard. A template adds a layer of abstraction by using placeholders
22926// to replace the dataset associated with the analysis. You can use templates
22927// to create dashboards by replacing dataset placeholders with datasets that
22928// follow the same schema that was used to create the source analysis and template.
22929//
22930// You can share templates across AWS accounts by allowing users in other AWS
22931// accounts to create a template or a dashboard from an existing template.
22932type Template struct {
22933	_ struct{} `type:"structure"`
22934
22935	// The Amazon Resource Name (ARN) of the template.
22936	Arn *string `type:"string"`
22937
22938	// Time when this was created.
22939	CreatedTime *time.Time `type:"timestamp"`
22940
22941	// Time when this was last updated.
22942	LastUpdatedTime *time.Time `type:"timestamp"`
22943
22944	// The display name of the template.
22945	Name *string `min:"1" type:"string"`
22946
22947	// The ID for the template. This is unique per AWS Region for each AWS account.
22948	TemplateId *string `min:"1" type:"string"`
22949
22950	// A structure describing the versions of the template.
22951	Version *TemplateVersion `type:"structure"`
22952}
22953
22954// String returns the string representation
22955func (s Template) String() string {
22956	return awsutil.Prettify(s)
22957}
22958
22959// GoString returns the string representation
22960func (s Template) GoString() string {
22961	return s.String()
22962}
22963
22964// SetArn sets the Arn field's value.
22965func (s *Template) SetArn(v string) *Template {
22966	s.Arn = &v
22967	return s
22968}
22969
22970// SetCreatedTime sets the CreatedTime field's value.
22971func (s *Template) SetCreatedTime(v time.Time) *Template {
22972	s.CreatedTime = &v
22973	return s
22974}
22975
22976// SetLastUpdatedTime sets the LastUpdatedTime field's value.
22977func (s *Template) SetLastUpdatedTime(v time.Time) *Template {
22978	s.LastUpdatedTime = &v
22979	return s
22980}
22981
22982// SetName sets the Name field's value.
22983func (s *Template) SetName(v string) *Template {
22984	s.Name = &v
22985	return s
22986}
22987
22988// SetTemplateId sets the TemplateId field's value.
22989func (s *Template) SetTemplateId(v string) *Template {
22990	s.TemplateId = &v
22991	return s
22992}
22993
22994// SetVersion sets the Version field's value.
22995func (s *Template) SetVersion(v *TemplateVersion) *Template {
22996	s.Version = v
22997	return s
22998}
22999
23000// The template alias.
23001type TemplateAlias struct {
23002	_ struct{} `type:"structure"`
23003
23004	// The display name of the template alias.
23005	AliasName *string `min:"1" type:"string"`
23006
23007	// The Amazon Resource Name (ARN) of the template alias.
23008	Arn *string `type:"string"`
23009
23010	// The version number of the template alias.
23011	TemplateVersionNumber *int64 `min:"1" type:"long"`
23012}
23013
23014// String returns the string representation
23015func (s TemplateAlias) String() string {
23016	return awsutil.Prettify(s)
23017}
23018
23019// GoString returns the string representation
23020func (s TemplateAlias) GoString() string {
23021	return s.String()
23022}
23023
23024// SetAliasName sets the AliasName field's value.
23025func (s *TemplateAlias) SetAliasName(v string) *TemplateAlias {
23026	s.AliasName = &v
23027	return s
23028}
23029
23030// SetArn sets the Arn field's value.
23031func (s *TemplateAlias) SetArn(v string) *TemplateAlias {
23032	s.Arn = &v
23033	return s
23034}
23035
23036// SetTemplateVersionNumber sets the TemplateVersionNumber field's value.
23037func (s *TemplateAlias) SetTemplateVersionNumber(v int64) *TemplateAlias {
23038	s.TemplateVersionNumber = &v
23039	return s
23040}
23041
23042// List of errors that occurred when the template version creation failed.
23043type TemplateError struct {
23044	_ struct{} `type:"structure"`
23045
23046	// Description of the error type.
23047	Message *string `type:"string"`
23048
23049	// Type of error.
23050	Type *string `type:"string" enum:"TemplateErrorType"`
23051}
23052
23053// String returns the string representation
23054func (s TemplateError) String() string {
23055	return awsutil.Prettify(s)
23056}
23057
23058// GoString returns the string representation
23059func (s TemplateError) GoString() string {
23060	return s.String()
23061}
23062
23063// SetMessage sets the Message field's value.
23064func (s *TemplateError) SetMessage(v string) *TemplateError {
23065	s.Message = &v
23066	return s
23067}
23068
23069// SetType sets the Type field's value.
23070func (s *TemplateError) SetType(v string) *TemplateError {
23071	s.Type = &v
23072	return s
23073}
23074
23075// The source analysis of the template.
23076type TemplateSourceAnalysis struct {
23077	_ struct{} `type:"structure"`
23078
23079	// The Amazon Resource Name (ARN) of the resource.
23080	//
23081	// Arn is a required field
23082	Arn *string `type:"string" required:"true"`
23083
23084	// A structure containing information about the dataset references used as placeholders
23085	// in the template.
23086	//
23087	// DataSetReferences is a required field
23088	DataSetReferences []*DataSetReference `min:"1" type:"list" required:"true"`
23089}
23090
23091// String returns the string representation
23092func (s TemplateSourceAnalysis) String() string {
23093	return awsutil.Prettify(s)
23094}
23095
23096// GoString returns the string representation
23097func (s TemplateSourceAnalysis) GoString() string {
23098	return s.String()
23099}
23100
23101// Validate inspects the fields of the type to determine if they are valid.
23102func (s *TemplateSourceAnalysis) Validate() error {
23103	invalidParams := request.ErrInvalidParams{Context: "TemplateSourceAnalysis"}
23104	if s.Arn == nil {
23105		invalidParams.Add(request.NewErrParamRequired("Arn"))
23106	}
23107	if s.DataSetReferences == nil {
23108		invalidParams.Add(request.NewErrParamRequired("DataSetReferences"))
23109	}
23110	if s.DataSetReferences != nil && len(s.DataSetReferences) < 1 {
23111		invalidParams.Add(request.NewErrParamMinLen("DataSetReferences", 1))
23112	}
23113	if s.DataSetReferences != nil {
23114		for i, v := range s.DataSetReferences {
23115			if v == nil {
23116				continue
23117			}
23118			if err := v.Validate(); err != nil {
23119				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSetReferences", i), err.(request.ErrInvalidParams))
23120			}
23121		}
23122	}
23123
23124	if invalidParams.Len() > 0 {
23125		return invalidParams
23126	}
23127	return nil
23128}
23129
23130// SetArn sets the Arn field's value.
23131func (s *TemplateSourceAnalysis) SetArn(v string) *TemplateSourceAnalysis {
23132	s.Arn = &v
23133	return s
23134}
23135
23136// SetDataSetReferences sets the DataSetReferences field's value.
23137func (s *TemplateSourceAnalysis) SetDataSetReferences(v []*DataSetReference) *TemplateSourceAnalysis {
23138	s.DataSetReferences = v
23139	return s
23140}
23141
23142// The source entity of the template.
23143type TemplateSourceEntity struct {
23144	_ struct{} `type:"structure"`
23145
23146	// The source analysis, if it is based on an analysis.
23147	SourceAnalysis *TemplateSourceAnalysis `type:"structure"`
23148
23149	// The source template, if it is based on an template.
23150	SourceTemplate *TemplateSourceTemplate `type:"structure"`
23151}
23152
23153// String returns the string representation
23154func (s TemplateSourceEntity) String() string {
23155	return awsutil.Prettify(s)
23156}
23157
23158// GoString returns the string representation
23159func (s TemplateSourceEntity) GoString() string {
23160	return s.String()
23161}
23162
23163// Validate inspects the fields of the type to determine if they are valid.
23164func (s *TemplateSourceEntity) Validate() error {
23165	invalidParams := request.ErrInvalidParams{Context: "TemplateSourceEntity"}
23166	if s.SourceAnalysis != nil {
23167		if err := s.SourceAnalysis.Validate(); err != nil {
23168			invalidParams.AddNested("SourceAnalysis", err.(request.ErrInvalidParams))
23169		}
23170	}
23171	if s.SourceTemplate != nil {
23172		if err := s.SourceTemplate.Validate(); err != nil {
23173			invalidParams.AddNested("SourceTemplate", err.(request.ErrInvalidParams))
23174		}
23175	}
23176
23177	if invalidParams.Len() > 0 {
23178		return invalidParams
23179	}
23180	return nil
23181}
23182
23183// SetSourceAnalysis sets the SourceAnalysis field's value.
23184func (s *TemplateSourceEntity) SetSourceAnalysis(v *TemplateSourceAnalysis) *TemplateSourceEntity {
23185	s.SourceAnalysis = v
23186	return s
23187}
23188
23189// SetSourceTemplate sets the SourceTemplate field's value.
23190func (s *TemplateSourceEntity) SetSourceTemplate(v *TemplateSourceTemplate) *TemplateSourceEntity {
23191	s.SourceTemplate = v
23192	return s
23193}
23194
23195// The source template of the template.
23196type TemplateSourceTemplate struct {
23197	_ struct{} `type:"structure"`
23198
23199	// The Amazon Resource Name (ARN) of the resource.
23200	//
23201	// Arn is a required field
23202	Arn *string `type:"string" required:"true"`
23203}
23204
23205// String returns the string representation
23206func (s TemplateSourceTemplate) String() string {
23207	return awsutil.Prettify(s)
23208}
23209
23210// GoString returns the string representation
23211func (s TemplateSourceTemplate) GoString() string {
23212	return s.String()
23213}
23214
23215// Validate inspects the fields of the type to determine if they are valid.
23216func (s *TemplateSourceTemplate) Validate() error {
23217	invalidParams := request.ErrInvalidParams{Context: "TemplateSourceTemplate"}
23218	if s.Arn == nil {
23219		invalidParams.Add(request.NewErrParamRequired("Arn"))
23220	}
23221
23222	if invalidParams.Len() > 0 {
23223		return invalidParams
23224	}
23225	return nil
23226}
23227
23228// SetArn sets the Arn field's value.
23229func (s *TemplateSourceTemplate) SetArn(v string) *TemplateSourceTemplate {
23230	s.Arn = &v
23231	return s
23232}
23233
23234// The template summary.
23235type TemplateSummary struct {
23236	_ struct{} `type:"structure"`
23237
23238	// A summary of a template.
23239	Arn *string `type:"string"`
23240
23241	// The last time that this template was created.
23242	CreatedTime *time.Time `type:"timestamp"`
23243
23244	// The last time that this template was updated.
23245	LastUpdatedTime *time.Time `type:"timestamp"`
23246
23247	// A structure containing a list of version numbers for the template summary.
23248	LatestVersionNumber *int64 `min:"1" type:"long"`
23249
23250	// A display name for the template.
23251	Name *string `min:"1" type:"string"`
23252
23253	// The ID of the template. This ID is unique per AWS Region for each AWS account.
23254	TemplateId *string `min:"1" type:"string"`
23255}
23256
23257// String returns the string representation
23258func (s TemplateSummary) String() string {
23259	return awsutil.Prettify(s)
23260}
23261
23262// GoString returns the string representation
23263func (s TemplateSummary) GoString() string {
23264	return s.String()
23265}
23266
23267// SetArn sets the Arn field's value.
23268func (s *TemplateSummary) SetArn(v string) *TemplateSummary {
23269	s.Arn = &v
23270	return s
23271}
23272
23273// SetCreatedTime sets the CreatedTime field's value.
23274func (s *TemplateSummary) SetCreatedTime(v time.Time) *TemplateSummary {
23275	s.CreatedTime = &v
23276	return s
23277}
23278
23279// SetLastUpdatedTime sets the LastUpdatedTime field's value.
23280func (s *TemplateSummary) SetLastUpdatedTime(v time.Time) *TemplateSummary {
23281	s.LastUpdatedTime = &v
23282	return s
23283}
23284
23285// SetLatestVersionNumber sets the LatestVersionNumber field's value.
23286func (s *TemplateSummary) SetLatestVersionNumber(v int64) *TemplateSummary {
23287	s.LatestVersionNumber = &v
23288	return s
23289}
23290
23291// SetName sets the Name field's value.
23292func (s *TemplateSummary) SetName(v string) *TemplateSummary {
23293	s.Name = &v
23294	return s
23295}
23296
23297// SetTemplateId sets the TemplateId field's value.
23298func (s *TemplateSummary) SetTemplateId(v string) *TemplateSummary {
23299	s.TemplateId = &v
23300	return s
23301}
23302
23303// A version of a template.
23304type TemplateVersion struct {
23305	_ struct{} `type:"structure"`
23306
23307	// The time that this template version was created.
23308	CreatedTime *time.Time `type:"timestamp"`
23309
23310	// Schema of the dataset identified by the placeholder. The idea is that any
23311	// dashboard created from the template should be bound to new datasets matching
23312	// the same schema described through this API. .
23313	DataSetConfigurations []*DataSetConfiguration `type:"list"`
23314
23315	// The description of the template.
23316	Description *string `min:"1" type:"string"`
23317
23318	// Errors associated with the template.
23319	Errors []*TemplateError `min:"1" type:"list"`
23320
23321	// The Amazon Resource Name (ARN) of the analysis or template which was used
23322	// to create this template.
23323	SourceEntityArn *string `type:"string"`
23324
23325	// The HTTP status of the request.
23326	Status *string `type:"string" enum:"ResourceStatus"`
23327
23328	// The version number of the template.
23329	VersionNumber *int64 `min:"1" type:"long"`
23330}
23331
23332// String returns the string representation
23333func (s TemplateVersion) String() string {
23334	return awsutil.Prettify(s)
23335}
23336
23337// GoString returns the string representation
23338func (s TemplateVersion) GoString() string {
23339	return s.String()
23340}
23341
23342// SetCreatedTime sets the CreatedTime field's value.
23343func (s *TemplateVersion) SetCreatedTime(v time.Time) *TemplateVersion {
23344	s.CreatedTime = &v
23345	return s
23346}
23347
23348// SetDataSetConfigurations sets the DataSetConfigurations field's value.
23349func (s *TemplateVersion) SetDataSetConfigurations(v []*DataSetConfiguration) *TemplateVersion {
23350	s.DataSetConfigurations = v
23351	return s
23352}
23353
23354// SetDescription sets the Description field's value.
23355func (s *TemplateVersion) SetDescription(v string) *TemplateVersion {
23356	s.Description = &v
23357	return s
23358}
23359
23360// SetErrors sets the Errors field's value.
23361func (s *TemplateVersion) SetErrors(v []*TemplateError) *TemplateVersion {
23362	s.Errors = v
23363	return s
23364}
23365
23366// SetSourceEntityArn sets the SourceEntityArn field's value.
23367func (s *TemplateVersion) SetSourceEntityArn(v string) *TemplateVersion {
23368	s.SourceEntityArn = &v
23369	return s
23370}
23371
23372// SetStatus sets the Status field's value.
23373func (s *TemplateVersion) SetStatus(v string) *TemplateVersion {
23374	s.Status = &v
23375	return s
23376}
23377
23378// SetVersionNumber sets the VersionNumber field's value.
23379func (s *TemplateVersion) SetVersionNumber(v int64) *TemplateVersion {
23380	s.VersionNumber = &v
23381	return s
23382}
23383
23384// The template version.
23385type TemplateVersionSummary struct {
23386	_ struct{} `type:"structure"`
23387
23388	// The Amazon Resource Name (ARN) of the template version.
23389	Arn *string `type:"string"`
23390
23391	// The time that this template version was created.
23392	CreatedTime *time.Time `type:"timestamp"`
23393
23394	// The description of the template version.
23395	Description *string `min:"1" type:"string"`
23396
23397	// The status of the template version.
23398	Status *string `type:"string" enum:"ResourceStatus"`
23399
23400	// The version number of the template version.
23401	VersionNumber *int64 `min:"1" type:"long"`
23402}
23403
23404// String returns the string representation
23405func (s TemplateVersionSummary) String() string {
23406	return awsutil.Prettify(s)
23407}
23408
23409// GoString returns the string representation
23410func (s TemplateVersionSummary) GoString() string {
23411	return s.String()
23412}
23413
23414// SetArn sets the Arn field's value.
23415func (s *TemplateVersionSummary) SetArn(v string) *TemplateVersionSummary {
23416	s.Arn = &v
23417	return s
23418}
23419
23420// SetCreatedTime sets the CreatedTime field's value.
23421func (s *TemplateVersionSummary) SetCreatedTime(v time.Time) *TemplateVersionSummary {
23422	s.CreatedTime = &v
23423	return s
23424}
23425
23426// SetDescription sets the Description field's value.
23427func (s *TemplateVersionSummary) SetDescription(v string) *TemplateVersionSummary {
23428	s.Description = &v
23429	return s
23430}
23431
23432// SetStatus sets the Status field's value.
23433func (s *TemplateVersionSummary) SetStatus(v string) *TemplateVersionSummary {
23434	s.Status = &v
23435	return s
23436}
23437
23438// SetVersionNumber sets the VersionNumber field's value.
23439func (s *TemplateVersionSummary) SetVersionNumber(v int64) *TemplateVersionSummary {
23440	s.VersionNumber = &v
23441	return s
23442}
23443
23444// Teradata parameters.
23445type TeradataParameters struct {
23446	_ struct{} `type:"structure"`
23447
23448	// Database.
23449	//
23450	// Database is a required field
23451	Database *string `min:"1" type:"string" required:"true"`
23452
23453	// Host.
23454	//
23455	// Host is a required field
23456	Host *string `min:"1" type:"string" required:"true"`
23457
23458	// Port.
23459	//
23460	// Port is a required field
23461	Port *int64 `min:"1" type:"integer" required:"true"`
23462}
23463
23464// String returns the string representation
23465func (s TeradataParameters) String() string {
23466	return awsutil.Prettify(s)
23467}
23468
23469// GoString returns the string representation
23470func (s TeradataParameters) GoString() string {
23471	return s.String()
23472}
23473
23474// Validate inspects the fields of the type to determine if they are valid.
23475func (s *TeradataParameters) Validate() error {
23476	invalidParams := request.ErrInvalidParams{Context: "TeradataParameters"}
23477	if s.Database == nil {
23478		invalidParams.Add(request.NewErrParamRequired("Database"))
23479	}
23480	if s.Database != nil && len(*s.Database) < 1 {
23481		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
23482	}
23483	if s.Host == nil {
23484		invalidParams.Add(request.NewErrParamRequired("Host"))
23485	}
23486	if s.Host != nil && len(*s.Host) < 1 {
23487		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
23488	}
23489	if s.Port == nil {
23490		invalidParams.Add(request.NewErrParamRequired("Port"))
23491	}
23492	if s.Port != nil && *s.Port < 1 {
23493		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
23494	}
23495
23496	if invalidParams.Len() > 0 {
23497		return invalidParams
23498	}
23499	return nil
23500}
23501
23502// SetDatabase sets the Database field's value.
23503func (s *TeradataParameters) SetDatabase(v string) *TeradataParameters {
23504	s.Database = &v
23505	return s
23506}
23507
23508// SetHost sets the Host field's value.
23509func (s *TeradataParameters) SetHost(v string) *TeradataParameters {
23510	s.Host = &v
23511	return s
23512}
23513
23514// SetPort sets the Port field's value.
23515func (s *TeradataParameters) SetPort(v int64) *TeradataParameters {
23516	s.Port = &v
23517	return s
23518}
23519
23520type Theme struct {
23521	_ struct{} `type:"structure"`
23522
23523	// The Amazon Resource Name (ARN) of the theme.
23524	Arn *string `type:"string"`
23525
23526	// The date and time that the theme was created.
23527	CreatedTime *time.Time `type:"timestamp"`
23528
23529	// The date and time that the theme was last updated.
23530	LastUpdatedTime *time.Time `type:"timestamp"`
23531
23532	// The name that the user gives to the theme.
23533	Name *string `min:"1" type:"string"`
23534
23535	// The identifier that the user gives to the theme.
23536	ThemeId *string `min:"1" type:"string"`
23537
23538	// The type of theme, based on how it was created. Valid values include: QUICKSIGHT
23539	// and CUSTOM.
23540	Type *string `type:"string" enum:"ThemeType"`
23541
23542	// A version of a theme.
23543	Version *ThemeVersion `type:"structure"`
23544}
23545
23546// String returns the string representation
23547func (s Theme) String() string {
23548	return awsutil.Prettify(s)
23549}
23550
23551// GoString returns the string representation
23552func (s Theme) GoString() string {
23553	return s.String()
23554}
23555
23556// SetArn sets the Arn field's value.
23557func (s *Theme) SetArn(v string) *Theme {
23558	s.Arn = &v
23559	return s
23560}
23561
23562// SetCreatedTime sets the CreatedTime field's value.
23563func (s *Theme) SetCreatedTime(v time.Time) *Theme {
23564	s.CreatedTime = &v
23565	return s
23566}
23567
23568// SetLastUpdatedTime sets the LastUpdatedTime field's value.
23569func (s *Theme) SetLastUpdatedTime(v time.Time) *Theme {
23570	s.LastUpdatedTime = &v
23571	return s
23572}
23573
23574// SetName sets the Name field's value.
23575func (s *Theme) SetName(v string) *Theme {
23576	s.Name = &v
23577	return s
23578}
23579
23580// SetThemeId sets the ThemeId field's value.
23581func (s *Theme) SetThemeId(v string) *Theme {
23582	s.ThemeId = &v
23583	return s
23584}
23585
23586// SetType sets the Type field's value.
23587func (s *Theme) SetType(v string) *Theme {
23588	s.Type = &v
23589	return s
23590}
23591
23592// SetVersion sets the Version field's value.
23593func (s *Theme) SetVersion(v *ThemeVersion) *Theme {
23594	s.Version = v
23595	return s
23596}
23597
23598// An alias for a theme.
23599type ThemeAlias struct {
23600	_ struct{} `type:"structure"`
23601
23602	// The display name of the theme alias.
23603	AliasName *string `min:"1" type:"string"`
23604
23605	// The Amazon Resource Name (ARN) of the theme alias.
23606	Arn *string `type:"string"`
23607
23608	// The version number of the theme alias.
23609	ThemeVersionNumber *int64 `min:"1" type:"long"`
23610}
23611
23612// String returns the string representation
23613func (s ThemeAlias) String() string {
23614	return awsutil.Prettify(s)
23615}
23616
23617// GoString returns the string representation
23618func (s ThemeAlias) GoString() string {
23619	return s.String()
23620}
23621
23622// SetAliasName sets the AliasName field's value.
23623func (s *ThemeAlias) SetAliasName(v string) *ThemeAlias {
23624	s.AliasName = &v
23625	return s
23626}
23627
23628// SetArn sets the Arn field's value.
23629func (s *ThemeAlias) SetArn(v string) *ThemeAlias {
23630	s.Arn = &v
23631	return s
23632}
23633
23634// SetThemeVersionNumber sets the ThemeVersionNumber field's value.
23635func (s *ThemeAlias) SetThemeVersionNumber(v int64) *ThemeAlias {
23636	s.ThemeVersionNumber = &v
23637	return s
23638}
23639
23640// The theme configuration. This configuration contains all of the display properties
23641// for a theme.
23642type ThemeConfiguration struct {
23643	_ struct{} `type:"structure"`
23644
23645	// Color properties that apply to chart data colors.
23646	DataColorPalette *DataColorPalette `type:"structure"`
23647
23648	// Display options related to sheets.
23649	Sheet *SheetStyle `type:"structure"`
23650
23651	// Color properties that apply to the UI and to charts, excluding the colors
23652	// that apply to data.
23653	UIColorPalette *UIColorPalette `type:"structure"`
23654}
23655
23656// String returns the string representation
23657func (s ThemeConfiguration) String() string {
23658	return awsutil.Prettify(s)
23659}
23660
23661// GoString returns the string representation
23662func (s ThemeConfiguration) GoString() string {
23663	return s.String()
23664}
23665
23666// SetDataColorPalette sets the DataColorPalette field's value.
23667func (s *ThemeConfiguration) SetDataColorPalette(v *DataColorPalette) *ThemeConfiguration {
23668	s.DataColorPalette = v
23669	return s
23670}
23671
23672// SetSheet sets the Sheet field's value.
23673func (s *ThemeConfiguration) SetSheet(v *SheetStyle) *ThemeConfiguration {
23674	s.Sheet = v
23675	return s
23676}
23677
23678// SetUIColorPalette sets the UIColorPalette field's value.
23679func (s *ThemeConfiguration) SetUIColorPalette(v *UIColorPalette) *ThemeConfiguration {
23680	s.UIColorPalette = v
23681	return s
23682}
23683
23684// Theme error.
23685type ThemeError struct {
23686	_ struct{} `type:"structure"`
23687
23688	// The error message.
23689	Message *string `type:"string"`
23690
23691	// The type of error.
23692	Type *string `type:"string" enum:"ThemeErrorType"`
23693}
23694
23695// String returns the string representation
23696func (s ThemeError) String() string {
23697	return awsutil.Prettify(s)
23698}
23699
23700// GoString returns the string representation
23701func (s ThemeError) GoString() string {
23702	return s.String()
23703}
23704
23705// SetMessage sets the Message field's value.
23706func (s *ThemeError) SetMessage(v string) *ThemeError {
23707	s.Message = &v
23708	return s
23709}
23710
23711// SetType sets the Type field's value.
23712func (s *ThemeError) SetType(v string) *ThemeError {
23713	s.Type = &v
23714	return s
23715}
23716
23717// The theme summary.
23718type ThemeSummary struct {
23719	_ struct{} `type:"structure"`
23720
23721	// The Amazon Resource Name (ARN) of the resource.
23722	Arn *string `type:"string"`
23723
23724	// The date and time that this theme was created.
23725	CreatedTime *time.Time `type:"timestamp"`
23726
23727	// The last date and time that this theme was updated.
23728	LastUpdatedTime *time.Time `type:"timestamp"`
23729
23730	// The latest version number for the theme.
23731	LatestVersionNumber *int64 `min:"1" type:"long"`
23732
23733	// the display name for the theme.
23734	Name *string `min:"1" type:"string"`
23735
23736	// The ID of the theme. This ID is unique per AWS Region for each AWS account.
23737	ThemeId *string `min:"1" type:"string"`
23738}
23739
23740// String returns the string representation
23741func (s ThemeSummary) String() string {
23742	return awsutil.Prettify(s)
23743}
23744
23745// GoString returns the string representation
23746func (s ThemeSummary) GoString() string {
23747	return s.String()
23748}
23749
23750// SetArn sets the Arn field's value.
23751func (s *ThemeSummary) SetArn(v string) *ThemeSummary {
23752	s.Arn = &v
23753	return s
23754}
23755
23756// SetCreatedTime sets the CreatedTime field's value.
23757func (s *ThemeSummary) SetCreatedTime(v time.Time) *ThemeSummary {
23758	s.CreatedTime = &v
23759	return s
23760}
23761
23762// SetLastUpdatedTime sets the LastUpdatedTime field's value.
23763func (s *ThemeSummary) SetLastUpdatedTime(v time.Time) *ThemeSummary {
23764	s.LastUpdatedTime = &v
23765	return s
23766}
23767
23768// SetLatestVersionNumber sets the LatestVersionNumber field's value.
23769func (s *ThemeSummary) SetLatestVersionNumber(v int64) *ThemeSummary {
23770	s.LatestVersionNumber = &v
23771	return s
23772}
23773
23774// SetName sets the Name field's value.
23775func (s *ThemeSummary) SetName(v string) *ThemeSummary {
23776	s.Name = &v
23777	return s
23778}
23779
23780// SetThemeId sets the ThemeId field's value.
23781func (s *ThemeSummary) SetThemeId(v string) *ThemeSummary {
23782	s.ThemeId = &v
23783	return s
23784}
23785
23786// A version of a theme.
23787type ThemeVersion struct {
23788	_ struct{} `type:"structure"`
23789
23790	// The Amazon Resource Name (ARN) of the resource.
23791	Arn *string `type:"string"`
23792
23793	// The Amazon QuickSight-defined ID of the theme that a custom theme inherits
23794	// from. All themes initially inherit from a default QuickSight theme.
23795	BaseThemeId *string `min:"1" type:"string"`
23796
23797	// The theme configuration, which contains all the theme display properties.
23798	Configuration *ThemeConfiguration `type:"structure"`
23799
23800	// The date and time that this theme version was created.
23801	CreatedTime *time.Time `type:"timestamp"`
23802
23803	// The description of the theme.
23804	Description *string `min:"1" type:"string"`
23805
23806	// Errors associated with the theme.
23807	Errors []*ThemeError `min:"1" type:"list"`
23808
23809	// The status of the theme version.
23810	Status *string `type:"string" enum:"ResourceStatus"`
23811
23812	// The version number of the theme.
23813	VersionNumber *int64 `min:"1" type:"long"`
23814}
23815
23816// String returns the string representation
23817func (s ThemeVersion) String() string {
23818	return awsutil.Prettify(s)
23819}
23820
23821// GoString returns the string representation
23822func (s ThemeVersion) GoString() string {
23823	return s.String()
23824}
23825
23826// SetArn sets the Arn field's value.
23827func (s *ThemeVersion) SetArn(v string) *ThemeVersion {
23828	s.Arn = &v
23829	return s
23830}
23831
23832// SetBaseThemeId sets the BaseThemeId field's value.
23833func (s *ThemeVersion) SetBaseThemeId(v string) *ThemeVersion {
23834	s.BaseThemeId = &v
23835	return s
23836}
23837
23838// SetConfiguration sets the Configuration field's value.
23839func (s *ThemeVersion) SetConfiguration(v *ThemeConfiguration) *ThemeVersion {
23840	s.Configuration = v
23841	return s
23842}
23843
23844// SetCreatedTime sets the CreatedTime field's value.
23845func (s *ThemeVersion) SetCreatedTime(v time.Time) *ThemeVersion {
23846	s.CreatedTime = &v
23847	return s
23848}
23849
23850// SetDescription sets the Description field's value.
23851func (s *ThemeVersion) SetDescription(v string) *ThemeVersion {
23852	s.Description = &v
23853	return s
23854}
23855
23856// SetErrors sets the Errors field's value.
23857func (s *ThemeVersion) SetErrors(v []*ThemeError) *ThemeVersion {
23858	s.Errors = v
23859	return s
23860}
23861
23862// SetStatus sets the Status field's value.
23863func (s *ThemeVersion) SetStatus(v string) *ThemeVersion {
23864	s.Status = &v
23865	return s
23866}
23867
23868// SetVersionNumber sets the VersionNumber field's value.
23869func (s *ThemeVersion) SetVersionNumber(v int64) *ThemeVersion {
23870	s.VersionNumber = &v
23871	return s
23872}
23873
23874// The theme version.
23875type ThemeVersionSummary struct {
23876	_ struct{} `type:"structure"`
23877
23878	// The Amazon Resource Name (ARN) of the theme version.
23879	Arn *string `type:"string"`
23880
23881	// The date and time that this theme version was created.
23882	CreatedTime *time.Time `type:"timestamp"`
23883
23884	// The description of the theme version.
23885	Description *string `min:"1" type:"string"`
23886
23887	// The status of the theme version.
23888	Status *string `type:"string" enum:"ResourceStatus"`
23889
23890	// The version number of the theme version.
23891	VersionNumber *int64 `min:"1" type:"long"`
23892}
23893
23894// String returns the string representation
23895func (s ThemeVersionSummary) String() string {
23896	return awsutil.Prettify(s)
23897}
23898
23899// GoString returns the string representation
23900func (s ThemeVersionSummary) GoString() string {
23901	return s.String()
23902}
23903
23904// SetArn sets the Arn field's value.
23905func (s *ThemeVersionSummary) SetArn(v string) *ThemeVersionSummary {
23906	s.Arn = &v
23907	return s
23908}
23909
23910// SetCreatedTime sets the CreatedTime field's value.
23911func (s *ThemeVersionSummary) SetCreatedTime(v time.Time) *ThemeVersionSummary {
23912	s.CreatedTime = &v
23913	return s
23914}
23915
23916// SetDescription sets the Description field's value.
23917func (s *ThemeVersionSummary) SetDescription(v string) *ThemeVersionSummary {
23918	s.Description = &v
23919	return s
23920}
23921
23922// SetStatus sets the Status field's value.
23923func (s *ThemeVersionSummary) SetStatus(v string) *ThemeVersionSummary {
23924	s.Status = &v
23925	return s
23926}
23927
23928// SetVersionNumber sets the VersionNumber field's value.
23929func (s *ThemeVersionSummary) SetVersionNumber(v int64) *ThemeVersionSummary {
23930	s.VersionNumber = &v
23931	return s
23932}
23933
23934// Access is throttled.
23935type ThrottlingException struct {
23936	_            struct{}                  `type:"structure"`
23937	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
23938
23939	Message_ *string `locationName:"Message" type:"string"`
23940
23941	// The AWS request ID for this request.
23942	RequestId *string `type:"string"`
23943}
23944
23945// String returns the string representation
23946func (s ThrottlingException) String() string {
23947	return awsutil.Prettify(s)
23948}
23949
23950// GoString returns the string representation
23951func (s ThrottlingException) GoString() string {
23952	return s.String()
23953}
23954
23955func newErrorThrottlingException(v protocol.ResponseMetadata) error {
23956	return &ThrottlingException{
23957		RespMetadata: v,
23958	}
23959}
23960
23961// Code returns the exception type name.
23962func (s *ThrottlingException) Code() string {
23963	return "ThrottlingException"
23964}
23965
23966// Message returns the exception's message.
23967func (s *ThrottlingException) Message() string {
23968	if s.Message_ != nil {
23969		return *s.Message_
23970	}
23971	return ""
23972}
23973
23974// OrigErr always returns nil, satisfies awserr.Error interface.
23975func (s *ThrottlingException) OrigErr() error {
23976	return nil
23977}
23978
23979func (s *ThrottlingException) Error() string {
23980	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
23981}
23982
23983// Status code returns the HTTP status code for the request's response error.
23984func (s *ThrottlingException) StatusCode() int {
23985	return s.RespMetadata.StatusCode
23986}
23987
23988// RequestID returns the service's response RequestID for request.
23989func (s *ThrottlingException) RequestID() string {
23990	return s.RespMetadata.RequestID
23991}
23992
23993// The display options for the layout of tiles on a sheet.
23994type TileLayoutStyle struct {
23995	_ struct{} `type:"structure"`
23996
23997	// The gutter settings that apply between tiles.
23998	Gutter *GutterStyle `type:"structure"`
23999
24000	// The margin settings that apply around the outside edge of sheets.
24001	Margin *MarginStyle `type:"structure"`
24002}
24003
24004// String returns the string representation
24005func (s TileLayoutStyle) String() string {
24006	return awsutil.Prettify(s)
24007}
24008
24009// GoString returns the string representation
24010func (s TileLayoutStyle) GoString() string {
24011	return s.String()
24012}
24013
24014// SetGutter sets the Gutter field's value.
24015func (s *TileLayoutStyle) SetGutter(v *GutterStyle) *TileLayoutStyle {
24016	s.Gutter = v
24017	return s
24018}
24019
24020// SetMargin sets the Margin field's value.
24021func (s *TileLayoutStyle) SetMargin(v *MarginStyle) *TileLayoutStyle {
24022	s.Margin = v
24023	return s
24024}
24025
24026// Display options related to tiles on a sheet.
24027type TileStyle struct {
24028	_ struct{} `type:"structure"`
24029
24030	// The border around a tile.
24031	Border *BorderStyle `type:"structure"`
24032}
24033
24034// String returns the string representation
24035func (s TileStyle) String() string {
24036	return awsutil.Prettify(s)
24037}
24038
24039// GoString returns the string representation
24040func (s TileStyle) GoString() string {
24041	return s.String()
24042}
24043
24044// SetBorder sets the Border field's value.
24045func (s *TileStyle) SetBorder(v *BorderStyle) *TileStyle {
24046	s.Border = v
24047	return s
24048}
24049
24050// A data transformation on a logical table. This is a variant type structure.
24051// For this structure to be valid, only one of the attributes can be non-null.
24052type TransformOperation struct {
24053	_ struct{} `type:"structure"`
24054
24055	// A transform operation that casts a column to a different type.
24056	CastColumnTypeOperation *CastColumnTypeOperation `type:"structure"`
24057
24058	// An operation that creates calculated columns. Columns created in one such
24059	// operation form a lexical closure.
24060	CreateColumnsOperation *CreateColumnsOperation `type:"structure"`
24061
24062	// An operation that filters rows based on some condition.
24063	FilterOperation *FilterOperation `type:"structure"`
24064
24065	// An operation that projects columns. Operations that come after a projection
24066	// can only refer to projected columns.
24067	ProjectOperation *ProjectOperation `type:"structure"`
24068
24069	// An operation that renames a column.
24070	RenameColumnOperation *RenameColumnOperation `type:"structure"`
24071
24072	// An operation that tags a column with additional information.
24073	TagColumnOperation *TagColumnOperation `type:"structure"`
24074}
24075
24076// String returns the string representation
24077func (s TransformOperation) String() string {
24078	return awsutil.Prettify(s)
24079}
24080
24081// GoString returns the string representation
24082func (s TransformOperation) GoString() string {
24083	return s.String()
24084}
24085
24086// Validate inspects the fields of the type to determine if they are valid.
24087func (s *TransformOperation) Validate() error {
24088	invalidParams := request.ErrInvalidParams{Context: "TransformOperation"}
24089	if s.CastColumnTypeOperation != nil {
24090		if err := s.CastColumnTypeOperation.Validate(); err != nil {
24091			invalidParams.AddNested("CastColumnTypeOperation", err.(request.ErrInvalidParams))
24092		}
24093	}
24094	if s.CreateColumnsOperation != nil {
24095		if err := s.CreateColumnsOperation.Validate(); err != nil {
24096			invalidParams.AddNested("CreateColumnsOperation", err.(request.ErrInvalidParams))
24097		}
24098	}
24099	if s.FilterOperation != nil {
24100		if err := s.FilterOperation.Validate(); err != nil {
24101			invalidParams.AddNested("FilterOperation", err.(request.ErrInvalidParams))
24102		}
24103	}
24104	if s.ProjectOperation != nil {
24105		if err := s.ProjectOperation.Validate(); err != nil {
24106			invalidParams.AddNested("ProjectOperation", err.(request.ErrInvalidParams))
24107		}
24108	}
24109	if s.RenameColumnOperation != nil {
24110		if err := s.RenameColumnOperation.Validate(); err != nil {
24111			invalidParams.AddNested("RenameColumnOperation", err.(request.ErrInvalidParams))
24112		}
24113	}
24114	if s.TagColumnOperation != nil {
24115		if err := s.TagColumnOperation.Validate(); err != nil {
24116			invalidParams.AddNested("TagColumnOperation", err.(request.ErrInvalidParams))
24117		}
24118	}
24119
24120	if invalidParams.Len() > 0 {
24121		return invalidParams
24122	}
24123	return nil
24124}
24125
24126// SetCastColumnTypeOperation sets the CastColumnTypeOperation field's value.
24127func (s *TransformOperation) SetCastColumnTypeOperation(v *CastColumnTypeOperation) *TransformOperation {
24128	s.CastColumnTypeOperation = v
24129	return s
24130}
24131
24132// SetCreateColumnsOperation sets the CreateColumnsOperation field's value.
24133func (s *TransformOperation) SetCreateColumnsOperation(v *CreateColumnsOperation) *TransformOperation {
24134	s.CreateColumnsOperation = v
24135	return s
24136}
24137
24138// SetFilterOperation sets the FilterOperation field's value.
24139func (s *TransformOperation) SetFilterOperation(v *FilterOperation) *TransformOperation {
24140	s.FilterOperation = v
24141	return s
24142}
24143
24144// SetProjectOperation sets the ProjectOperation field's value.
24145func (s *TransformOperation) SetProjectOperation(v *ProjectOperation) *TransformOperation {
24146	s.ProjectOperation = v
24147	return s
24148}
24149
24150// SetRenameColumnOperation sets the RenameColumnOperation field's value.
24151func (s *TransformOperation) SetRenameColumnOperation(v *RenameColumnOperation) *TransformOperation {
24152	s.RenameColumnOperation = v
24153	return s
24154}
24155
24156// SetTagColumnOperation sets the TagColumnOperation field's value.
24157func (s *TransformOperation) SetTagColumnOperation(v *TagColumnOperation) *TransformOperation {
24158	s.TagColumnOperation = v
24159	return s
24160}
24161
24162// Twitter parameters.
24163type TwitterParameters struct {
24164	_ struct{} `type:"structure"`
24165
24166	// Maximum number of rows to query Twitter.
24167	//
24168	// MaxRows is a required field
24169	MaxRows *int64 `min:"1" type:"integer" required:"true"`
24170
24171	// Twitter query string.
24172	//
24173	// Query is a required field
24174	Query *string `min:"1" type:"string" required:"true"`
24175}
24176
24177// String returns the string representation
24178func (s TwitterParameters) String() string {
24179	return awsutil.Prettify(s)
24180}
24181
24182// GoString returns the string representation
24183func (s TwitterParameters) GoString() string {
24184	return s.String()
24185}
24186
24187// Validate inspects the fields of the type to determine if they are valid.
24188func (s *TwitterParameters) Validate() error {
24189	invalidParams := request.ErrInvalidParams{Context: "TwitterParameters"}
24190	if s.MaxRows == nil {
24191		invalidParams.Add(request.NewErrParamRequired("MaxRows"))
24192	}
24193	if s.MaxRows != nil && *s.MaxRows < 1 {
24194		invalidParams.Add(request.NewErrParamMinValue("MaxRows", 1))
24195	}
24196	if s.Query == nil {
24197		invalidParams.Add(request.NewErrParamRequired("Query"))
24198	}
24199	if s.Query != nil && len(*s.Query) < 1 {
24200		invalidParams.Add(request.NewErrParamMinLen("Query", 1))
24201	}
24202
24203	if invalidParams.Len() > 0 {
24204		return invalidParams
24205	}
24206	return nil
24207}
24208
24209// SetMaxRows sets the MaxRows field's value.
24210func (s *TwitterParameters) SetMaxRows(v int64) *TwitterParameters {
24211	s.MaxRows = &v
24212	return s
24213}
24214
24215// SetQuery sets the Query field's value.
24216func (s *TwitterParameters) SetQuery(v string) *TwitterParameters {
24217	s.Query = &v
24218	return s
24219}
24220
24221// The theme colors that apply to UI and to charts, excluding data colors. The
24222// colors description is a hexidecimal color code that consists of six alphanumerical
24223// characters, prefixed with #, for example #37BFF5. For more information, see
24224// Using Themes in Amazon QuickSight (https://docs.aws.amazon.com/quicksight/latest/user/themes-in-quicksight.html)
24225// in the Amazon QuickSight User Guide.
24226type UIColorPalette struct {
24227	_ struct{} `type:"structure"`
24228
24229	// This color is that applies to selected states and buttons.
24230	Accent *string `type:"string"`
24231
24232	// The foreground color that applies to any text or other elements that appear
24233	// over the accent color.
24234	AccentForeground *string `type:"string"`
24235
24236	// The color that applies to error messages.
24237	Danger *string `type:"string"`
24238
24239	// The foreground color that applies to any text or other elements that appear
24240	// over the error color.
24241	DangerForeground *string `type:"string"`
24242
24243	// The color that applies to the names of fields that are identified as dimensions.
24244	Dimension *string `type:"string"`
24245
24246	// The foreground color that applies to any text or other elements that appear
24247	// over the dimension color.
24248	DimensionForeground *string `type:"string"`
24249
24250	// The color that applies to the names of fields that are identified as measures.
24251	Measure *string `type:"string"`
24252
24253	// The foreground color that applies to any text or other elements that appear
24254	// over the measure color.
24255	MeasureForeground *string `type:"string"`
24256
24257	// The background color that applies to visuals and other high emphasis UI.
24258	PrimaryBackground *string `type:"string"`
24259
24260	// The color of text and other foreground elements that appear over the primary
24261	// background regions, such as grid lines, borders, table banding, icons, and
24262	// so on.
24263	PrimaryForeground *string `type:"string"`
24264
24265	// The background color that applies to the sheet background and sheet controls.
24266	SecondaryBackground *string `type:"string"`
24267
24268	// The foreground color that applies to any sheet title, sheet control text,
24269	// or UI that appears over the secondary background.
24270	SecondaryForeground *string `type:"string"`
24271
24272	// The color that applies to success messages, for example the check mark for
24273	// a successful download.
24274	Success *string `type:"string"`
24275
24276	// The foreground color that applies to any text or other elements that appear
24277	// over the success color.
24278	SuccessForeground *string `type:"string"`
24279
24280	// This color that applies to warning and informational messages.
24281	Warning *string `type:"string"`
24282
24283	// The foreground color that applies to any text or other elements that appear
24284	// over the warning color.
24285	WarningForeground *string `type:"string"`
24286}
24287
24288// String returns the string representation
24289func (s UIColorPalette) String() string {
24290	return awsutil.Prettify(s)
24291}
24292
24293// GoString returns the string representation
24294func (s UIColorPalette) GoString() string {
24295	return s.String()
24296}
24297
24298// SetAccent sets the Accent field's value.
24299func (s *UIColorPalette) SetAccent(v string) *UIColorPalette {
24300	s.Accent = &v
24301	return s
24302}
24303
24304// SetAccentForeground sets the AccentForeground field's value.
24305func (s *UIColorPalette) SetAccentForeground(v string) *UIColorPalette {
24306	s.AccentForeground = &v
24307	return s
24308}
24309
24310// SetDanger sets the Danger field's value.
24311func (s *UIColorPalette) SetDanger(v string) *UIColorPalette {
24312	s.Danger = &v
24313	return s
24314}
24315
24316// SetDangerForeground sets the DangerForeground field's value.
24317func (s *UIColorPalette) SetDangerForeground(v string) *UIColorPalette {
24318	s.DangerForeground = &v
24319	return s
24320}
24321
24322// SetDimension sets the Dimension field's value.
24323func (s *UIColorPalette) SetDimension(v string) *UIColorPalette {
24324	s.Dimension = &v
24325	return s
24326}
24327
24328// SetDimensionForeground sets the DimensionForeground field's value.
24329func (s *UIColorPalette) SetDimensionForeground(v string) *UIColorPalette {
24330	s.DimensionForeground = &v
24331	return s
24332}
24333
24334// SetMeasure sets the Measure field's value.
24335func (s *UIColorPalette) SetMeasure(v string) *UIColorPalette {
24336	s.Measure = &v
24337	return s
24338}
24339
24340// SetMeasureForeground sets the MeasureForeground field's value.
24341func (s *UIColorPalette) SetMeasureForeground(v string) *UIColorPalette {
24342	s.MeasureForeground = &v
24343	return s
24344}
24345
24346// SetPrimaryBackground sets the PrimaryBackground field's value.
24347func (s *UIColorPalette) SetPrimaryBackground(v string) *UIColorPalette {
24348	s.PrimaryBackground = &v
24349	return s
24350}
24351
24352// SetPrimaryForeground sets the PrimaryForeground field's value.
24353func (s *UIColorPalette) SetPrimaryForeground(v string) *UIColorPalette {
24354	s.PrimaryForeground = &v
24355	return s
24356}
24357
24358// SetSecondaryBackground sets the SecondaryBackground field's value.
24359func (s *UIColorPalette) SetSecondaryBackground(v string) *UIColorPalette {
24360	s.SecondaryBackground = &v
24361	return s
24362}
24363
24364// SetSecondaryForeground sets the SecondaryForeground field's value.
24365func (s *UIColorPalette) SetSecondaryForeground(v string) *UIColorPalette {
24366	s.SecondaryForeground = &v
24367	return s
24368}
24369
24370// SetSuccess sets the Success field's value.
24371func (s *UIColorPalette) SetSuccess(v string) *UIColorPalette {
24372	s.Success = &v
24373	return s
24374}
24375
24376// SetSuccessForeground sets the SuccessForeground field's value.
24377func (s *UIColorPalette) SetSuccessForeground(v string) *UIColorPalette {
24378	s.SuccessForeground = &v
24379	return s
24380}
24381
24382// SetWarning sets the Warning field's value.
24383func (s *UIColorPalette) SetWarning(v string) *UIColorPalette {
24384	s.Warning = &v
24385	return s
24386}
24387
24388// SetWarningForeground sets the WarningForeground field's value.
24389func (s *UIColorPalette) SetWarningForeground(v string) *UIColorPalette {
24390	s.WarningForeground = &v
24391	return s
24392}
24393
24394// This error indicates that you are calling an operation on an Amazon QuickSight
24395// subscription where the edition doesn't include support for that operation.
24396// Amazon QuickSight currently has Standard Edition and Enterprise Edition.
24397// Not every operation and capability is available in every edition.
24398type UnsupportedUserEditionException struct {
24399	_            struct{}                  `type:"structure"`
24400	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
24401
24402	Message_ *string `locationName:"Message" type:"string"`
24403
24404	// The AWS request ID for this request.
24405	RequestId *string `type:"string"`
24406}
24407
24408// String returns the string representation
24409func (s UnsupportedUserEditionException) String() string {
24410	return awsutil.Prettify(s)
24411}
24412
24413// GoString returns the string representation
24414func (s UnsupportedUserEditionException) GoString() string {
24415	return s.String()
24416}
24417
24418func newErrorUnsupportedUserEditionException(v protocol.ResponseMetadata) error {
24419	return &UnsupportedUserEditionException{
24420		RespMetadata: v,
24421	}
24422}
24423
24424// Code returns the exception type name.
24425func (s *UnsupportedUserEditionException) Code() string {
24426	return "UnsupportedUserEditionException"
24427}
24428
24429// Message returns the exception's message.
24430func (s *UnsupportedUserEditionException) Message() string {
24431	if s.Message_ != nil {
24432		return *s.Message_
24433	}
24434	return ""
24435}
24436
24437// OrigErr always returns nil, satisfies awserr.Error interface.
24438func (s *UnsupportedUserEditionException) OrigErr() error {
24439	return nil
24440}
24441
24442func (s *UnsupportedUserEditionException) Error() string {
24443	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
24444}
24445
24446// Status code returns the HTTP status code for the request's response error.
24447func (s *UnsupportedUserEditionException) StatusCode() int {
24448	return s.RespMetadata.StatusCode
24449}
24450
24451// RequestID returns the service's response RequestID for request.
24452func (s *UnsupportedUserEditionException) RequestID() string {
24453	return s.RespMetadata.RequestID
24454}
24455
24456type UntagResourceInput struct {
24457	_ struct{} `type:"structure"`
24458
24459	// The Amazon Resource Name (ARN) of the resource that you want to untag.
24460	//
24461	// ResourceArn is a required field
24462	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
24463
24464	// The keys of the key-value pairs for the resource tag or tags assigned to
24465	// the resource.
24466	//
24467	// TagKeys is a required field
24468	TagKeys []*string `location:"querystring" locationName:"keys" min:"1" type:"list" required:"true"`
24469}
24470
24471// String returns the string representation
24472func (s UntagResourceInput) String() string {
24473	return awsutil.Prettify(s)
24474}
24475
24476// GoString returns the string representation
24477func (s UntagResourceInput) GoString() string {
24478	return s.String()
24479}
24480
24481// Validate inspects the fields of the type to determine if they are valid.
24482func (s *UntagResourceInput) Validate() error {
24483	invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
24484	if s.ResourceArn == nil {
24485		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
24486	}
24487	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
24488		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
24489	}
24490	if s.TagKeys == nil {
24491		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
24492	}
24493	if s.TagKeys != nil && len(s.TagKeys) < 1 {
24494		invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
24495	}
24496
24497	if invalidParams.Len() > 0 {
24498		return invalidParams
24499	}
24500	return nil
24501}
24502
24503// SetResourceArn sets the ResourceArn field's value.
24504func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
24505	s.ResourceArn = &v
24506	return s
24507}
24508
24509// SetTagKeys sets the TagKeys field's value.
24510func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
24511	s.TagKeys = v
24512	return s
24513}
24514
24515type UntagResourceOutput struct {
24516	_ struct{} `type:"structure"`
24517
24518	// The AWS request ID for this operation.
24519	RequestId *string `type:"string"`
24520
24521	// The HTTP status of the request.
24522	Status *int64 `location:"statusCode" type:"integer"`
24523}
24524
24525// String returns the string representation
24526func (s UntagResourceOutput) String() string {
24527	return awsutil.Prettify(s)
24528}
24529
24530// GoString returns the string representation
24531func (s UntagResourceOutput) GoString() string {
24532	return s.String()
24533}
24534
24535// SetRequestId sets the RequestId field's value.
24536func (s *UntagResourceOutput) SetRequestId(v string) *UntagResourceOutput {
24537	s.RequestId = &v
24538	return s
24539}
24540
24541// SetStatus sets the Status field's value.
24542func (s *UntagResourceOutput) SetStatus(v int64) *UntagResourceOutput {
24543	s.Status = &v
24544	return s
24545}
24546
24547type UpdateDashboardInput struct {
24548	_ struct{} `type:"structure"`
24549
24550	// The ID of the AWS account that contains the dashboard that you're updating.
24551	//
24552	// AwsAccountId is a required field
24553	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
24554
24555	// The ID for the dashboard.
24556	//
24557	// DashboardId is a required field
24558	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
24559
24560	// Options for publishing the dashboard when you create it:
24561	//
24562	//    * AvailabilityStatus for AdHocFilteringOption - This status can be either
24563	//    ENABLED or DISABLED. When this is set to DISABLED, QuickSight disables
24564	//    the left filter pane on the published dashboard, which can be used for
24565	//    ad hoc (one-time) filtering. This option is ENABLED by default.
24566	//
24567	//    * AvailabilityStatus for ExportToCSVOption - This status can be either
24568	//    ENABLED or DISABLED. The visual option to export data to .csv format isn't
24569	//    enabled when this is set to DISABLED. This option is ENABLED by default.
24570	//
24571	//    * VisibilityState for SheetControlsOption - This visibility state can
24572	//    be either COLLAPSED or EXPANDED. This option is COLLAPSED by default.
24573	DashboardPublishOptions *DashboardPublishOptions `type:"structure"`
24574
24575	// The display name of the dashboard.
24576	//
24577	// Name is a required field
24578	Name *string `min:"1" type:"string" required:"true"`
24579
24580	// A structure that contains the parameters of the dashboard. These are parameter
24581	// overrides for a dashboard. A dashboard can have any type of parameters, and
24582	// some parameters might accept multiple values.
24583	Parameters *Parameters `type:"structure"`
24584
24585	// The entity that you are using as a source when you update the dashboard.
24586	// In SourceEntity, you specify the type of object you're using as source. You
24587	// can only update a dashboard from a template, so you use a SourceTemplate
24588	// entity. If you need to update a dashboard from an analysis, first convert
24589	// the analysis to a template by using the CreateTemplate API operation. For
24590	// SourceTemplate, specify the Amazon Resource Name (ARN) of the source template.
24591	// The SourceTemplate ARN can contain any AWS Account and any QuickSight-supported
24592	// AWS Region.
24593	//
24594	// Use the DataSetReferences entity within SourceTemplate to list the replacement
24595	// datasets for the placeholders listed in the original. The schema in each
24596	// dataset must match its placeholder.
24597	//
24598	// SourceEntity is a required field
24599	SourceEntity *DashboardSourceEntity `type:"structure" required:"true"`
24600
24601	// The Amazon Resource Name (ARN) of the theme that is being used for this dashboard.
24602	// If you add a value for this field, it overrides the value that was originally
24603	// associated with the entity. The theme ARN must exist in the same AWS account
24604	// where you create the dashboard.
24605	ThemeArn *string `type:"string"`
24606
24607	// A description for the first version of the dashboard being created.
24608	VersionDescription *string `min:"1" type:"string"`
24609}
24610
24611// String returns the string representation
24612func (s UpdateDashboardInput) String() string {
24613	return awsutil.Prettify(s)
24614}
24615
24616// GoString returns the string representation
24617func (s UpdateDashboardInput) GoString() string {
24618	return s.String()
24619}
24620
24621// Validate inspects the fields of the type to determine if they are valid.
24622func (s *UpdateDashboardInput) Validate() error {
24623	invalidParams := request.ErrInvalidParams{Context: "UpdateDashboardInput"}
24624	if s.AwsAccountId == nil {
24625		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
24626	}
24627	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
24628		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
24629	}
24630	if s.DashboardId == nil {
24631		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
24632	}
24633	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
24634		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
24635	}
24636	if s.Name == nil {
24637		invalidParams.Add(request.NewErrParamRequired("Name"))
24638	}
24639	if s.Name != nil && len(*s.Name) < 1 {
24640		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
24641	}
24642	if s.SourceEntity == nil {
24643		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
24644	}
24645	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
24646		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
24647	}
24648	if s.Parameters != nil {
24649		if err := s.Parameters.Validate(); err != nil {
24650			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
24651		}
24652	}
24653	if s.SourceEntity != nil {
24654		if err := s.SourceEntity.Validate(); err != nil {
24655			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
24656		}
24657	}
24658
24659	if invalidParams.Len() > 0 {
24660		return invalidParams
24661	}
24662	return nil
24663}
24664
24665// SetAwsAccountId sets the AwsAccountId field's value.
24666func (s *UpdateDashboardInput) SetAwsAccountId(v string) *UpdateDashboardInput {
24667	s.AwsAccountId = &v
24668	return s
24669}
24670
24671// SetDashboardId sets the DashboardId field's value.
24672func (s *UpdateDashboardInput) SetDashboardId(v string) *UpdateDashboardInput {
24673	s.DashboardId = &v
24674	return s
24675}
24676
24677// SetDashboardPublishOptions sets the DashboardPublishOptions field's value.
24678func (s *UpdateDashboardInput) SetDashboardPublishOptions(v *DashboardPublishOptions) *UpdateDashboardInput {
24679	s.DashboardPublishOptions = v
24680	return s
24681}
24682
24683// SetName sets the Name field's value.
24684func (s *UpdateDashboardInput) SetName(v string) *UpdateDashboardInput {
24685	s.Name = &v
24686	return s
24687}
24688
24689// SetParameters sets the Parameters field's value.
24690func (s *UpdateDashboardInput) SetParameters(v *Parameters) *UpdateDashboardInput {
24691	s.Parameters = v
24692	return s
24693}
24694
24695// SetSourceEntity sets the SourceEntity field's value.
24696func (s *UpdateDashboardInput) SetSourceEntity(v *DashboardSourceEntity) *UpdateDashboardInput {
24697	s.SourceEntity = v
24698	return s
24699}
24700
24701// SetThemeArn sets the ThemeArn field's value.
24702func (s *UpdateDashboardInput) SetThemeArn(v string) *UpdateDashboardInput {
24703	s.ThemeArn = &v
24704	return s
24705}
24706
24707// SetVersionDescription sets the VersionDescription field's value.
24708func (s *UpdateDashboardInput) SetVersionDescription(v string) *UpdateDashboardInput {
24709	s.VersionDescription = &v
24710	return s
24711}
24712
24713type UpdateDashboardOutput struct {
24714	_ struct{} `type:"structure"`
24715
24716	// The Amazon Resource Name (ARN) of the resource.
24717	Arn *string `type:"string"`
24718
24719	// The creation status of the request.
24720	CreationStatus *string `type:"string" enum:"ResourceStatus"`
24721
24722	// The ID for the dashboard.
24723	DashboardId *string `min:"1" type:"string"`
24724
24725	// The AWS request ID for this operation.
24726	RequestId *string `type:"string"`
24727
24728	// The HTTP status of the request.
24729	Status *int64 `type:"integer"`
24730
24731	// The ARN of the dashboard, including the version number.
24732	VersionArn *string `type:"string"`
24733}
24734
24735// String returns the string representation
24736func (s UpdateDashboardOutput) String() string {
24737	return awsutil.Prettify(s)
24738}
24739
24740// GoString returns the string representation
24741func (s UpdateDashboardOutput) GoString() string {
24742	return s.String()
24743}
24744
24745// SetArn sets the Arn field's value.
24746func (s *UpdateDashboardOutput) SetArn(v string) *UpdateDashboardOutput {
24747	s.Arn = &v
24748	return s
24749}
24750
24751// SetCreationStatus sets the CreationStatus field's value.
24752func (s *UpdateDashboardOutput) SetCreationStatus(v string) *UpdateDashboardOutput {
24753	s.CreationStatus = &v
24754	return s
24755}
24756
24757// SetDashboardId sets the DashboardId field's value.
24758func (s *UpdateDashboardOutput) SetDashboardId(v string) *UpdateDashboardOutput {
24759	s.DashboardId = &v
24760	return s
24761}
24762
24763// SetRequestId sets the RequestId field's value.
24764func (s *UpdateDashboardOutput) SetRequestId(v string) *UpdateDashboardOutput {
24765	s.RequestId = &v
24766	return s
24767}
24768
24769// SetStatus sets the Status field's value.
24770func (s *UpdateDashboardOutput) SetStatus(v int64) *UpdateDashboardOutput {
24771	s.Status = &v
24772	return s
24773}
24774
24775// SetVersionArn sets the VersionArn field's value.
24776func (s *UpdateDashboardOutput) SetVersionArn(v string) *UpdateDashboardOutput {
24777	s.VersionArn = &v
24778	return s
24779}
24780
24781type UpdateDashboardPermissionsInput struct {
24782	_ struct{} `type:"structure"`
24783
24784	// The ID of the AWS account that contains the dashboard whose permissions you're
24785	// updating.
24786	//
24787	// AwsAccountId is a required field
24788	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
24789
24790	// The ID for the dashboard.
24791	//
24792	// DashboardId is a required field
24793	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
24794
24795	// The permissions that you want to grant on this resource.
24796	GrantPermissions []*ResourcePermission `type:"list"`
24797
24798	// The permissions that you want to revoke from this resource.
24799	RevokePermissions []*ResourcePermission `type:"list"`
24800}
24801
24802// String returns the string representation
24803func (s UpdateDashboardPermissionsInput) String() string {
24804	return awsutil.Prettify(s)
24805}
24806
24807// GoString returns the string representation
24808func (s UpdateDashboardPermissionsInput) GoString() string {
24809	return s.String()
24810}
24811
24812// Validate inspects the fields of the type to determine if they are valid.
24813func (s *UpdateDashboardPermissionsInput) Validate() error {
24814	invalidParams := request.ErrInvalidParams{Context: "UpdateDashboardPermissionsInput"}
24815	if s.AwsAccountId == nil {
24816		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
24817	}
24818	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
24819		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
24820	}
24821	if s.DashboardId == nil {
24822		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
24823	}
24824	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
24825		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
24826	}
24827	if s.GrantPermissions != nil {
24828		for i, v := range s.GrantPermissions {
24829			if v == nil {
24830				continue
24831			}
24832			if err := v.Validate(); err != nil {
24833				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
24834			}
24835		}
24836	}
24837	if s.RevokePermissions != nil {
24838		for i, v := range s.RevokePermissions {
24839			if v == nil {
24840				continue
24841			}
24842			if err := v.Validate(); err != nil {
24843				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
24844			}
24845		}
24846	}
24847
24848	if invalidParams.Len() > 0 {
24849		return invalidParams
24850	}
24851	return nil
24852}
24853
24854// SetAwsAccountId sets the AwsAccountId field's value.
24855func (s *UpdateDashboardPermissionsInput) SetAwsAccountId(v string) *UpdateDashboardPermissionsInput {
24856	s.AwsAccountId = &v
24857	return s
24858}
24859
24860// SetDashboardId sets the DashboardId field's value.
24861func (s *UpdateDashboardPermissionsInput) SetDashboardId(v string) *UpdateDashboardPermissionsInput {
24862	s.DashboardId = &v
24863	return s
24864}
24865
24866// SetGrantPermissions sets the GrantPermissions field's value.
24867func (s *UpdateDashboardPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateDashboardPermissionsInput {
24868	s.GrantPermissions = v
24869	return s
24870}
24871
24872// SetRevokePermissions sets the RevokePermissions field's value.
24873func (s *UpdateDashboardPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateDashboardPermissionsInput {
24874	s.RevokePermissions = v
24875	return s
24876}
24877
24878type UpdateDashboardPermissionsOutput struct {
24879	_ struct{} `type:"structure"`
24880
24881	// The Amazon Resource Name (ARN) of the dashboard.
24882	DashboardArn *string `type:"string"`
24883
24884	// The ID for the dashboard.
24885	DashboardId *string `min:"1" type:"string"`
24886
24887	// Information about the permissions on the dashboard.
24888	Permissions []*ResourcePermission `min:"1" type:"list"`
24889
24890	// The AWS request ID for this operation.
24891	RequestId *string `type:"string"`
24892
24893	// The HTTP status of the request.
24894	Status *int64 `location:"statusCode" type:"integer"`
24895}
24896
24897// String returns the string representation
24898func (s UpdateDashboardPermissionsOutput) String() string {
24899	return awsutil.Prettify(s)
24900}
24901
24902// GoString returns the string representation
24903func (s UpdateDashboardPermissionsOutput) GoString() string {
24904	return s.String()
24905}
24906
24907// SetDashboardArn sets the DashboardArn field's value.
24908func (s *UpdateDashboardPermissionsOutput) SetDashboardArn(v string) *UpdateDashboardPermissionsOutput {
24909	s.DashboardArn = &v
24910	return s
24911}
24912
24913// SetDashboardId sets the DashboardId field's value.
24914func (s *UpdateDashboardPermissionsOutput) SetDashboardId(v string) *UpdateDashboardPermissionsOutput {
24915	s.DashboardId = &v
24916	return s
24917}
24918
24919// SetPermissions sets the Permissions field's value.
24920func (s *UpdateDashboardPermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateDashboardPermissionsOutput {
24921	s.Permissions = v
24922	return s
24923}
24924
24925// SetRequestId sets the RequestId field's value.
24926func (s *UpdateDashboardPermissionsOutput) SetRequestId(v string) *UpdateDashboardPermissionsOutput {
24927	s.RequestId = &v
24928	return s
24929}
24930
24931// SetStatus sets the Status field's value.
24932func (s *UpdateDashboardPermissionsOutput) SetStatus(v int64) *UpdateDashboardPermissionsOutput {
24933	s.Status = &v
24934	return s
24935}
24936
24937type UpdateDashboardPublishedVersionInput struct {
24938	_ struct{} `type:"structure"`
24939
24940	// The ID of the AWS account that contains the dashboard that you're updating.
24941	//
24942	// AwsAccountId is a required field
24943	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
24944
24945	// The ID for the dashboard.
24946	//
24947	// DashboardId is a required field
24948	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
24949
24950	// The version number of the dashboard.
24951	//
24952	// VersionNumber is a required field
24953	VersionNumber *int64 `location:"uri" locationName:"VersionNumber" min:"1" type:"long" required:"true"`
24954}
24955
24956// String returns the string representation
24957func (s UpdateDashboardPublishedVersionInput) String() string {
24958	return awsutil.Prettify(s)
24959}
24960
24961// GoString returns the string representation
24962func (s UpdateDashboardPublishedVersionInput) GoString() string {
24963	return s.String()
24964}
24965
24966// Validate inspects the fields of the type to determine if they are valid.
24967func (s *UpdateDashboardPublishedVersionInput) Validate() error {
24968	invalidParams := request.ErrInvalidParams{Context: "UpdateDashboardPublishedVersionInput"}
24969	if s.AwsAccountId == nil {
24970		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
24971	}
24972	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
24973		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
24974	}
24975	if s.DashboardId == nil {
24976		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
24977	}
24978	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
24979		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
24980	}
24981	if s.VersionNumber == nil {
24982		invalidParams.Add(request.NewErrParamRequired("VersionNumber"))
24983	}
24984	if s.VersionNumber != nil && *s.VersionNumber < 1 {
24985		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
24986	}
24987
24988	if invalidParams.Len() > 0 {
24989		return invalidParams
24990	}
24991	return nil
24992}
24993
24994// SetAwsAccountId sets the AwsAccountId field's value.
24995func (s *UpdateDashboardPublishedVersionInput) SetAwsAccountId(v string) *UpdateDashboardPublishedVersionInput {
24996	s.AwsAccountId = &v
24997	return s
24998}
24999
25000// SetDashboardId sets the DashboardId field's value.
25001func (s *UpdateDashboardPublishedVersionInput) SetDashboardId(v string) *UpdateDashboardPublishedVersionInput {
25002	s.DashboardId = &v
25003	return s
25004}
25005
25006// SetVersionNumber sets the VersionNumber field's value.
25007func (s *UpdateDashboardPublishedVersionInput) SetVersionNumber(v int64) *UpdateDashboardPublishedVersionInput {
25008	s.VersionNumber = &v
25009	return s
25010}
25011
25012type UpdateDashboardPublishedVersionOutput struct {
25013	_ struct{} `type:"structure"`
25014
25015	// The Amazon Resource Name (ARN) of the dashboard.
25016	DashboardArn *string `type:"string"`
25017
25018	// The ID for the dashboard.
25019	DashboardId *string `min:"1" type:"string"`
25020
25021	// The AWS request ID for this operation.
25022	RequestId *string `type:"string"`
25023
25024	// The HTTP status of the request.
25025	Status *int64 `location:"statusCode" type:"integer"`
25026}
25027
25028// String returns the string representation
25029func (s UpdateDashboardPublishedVersionOutput) String() string {
25030	return awsutil.Prettify(s)
25031}
25032
25033// GoString returns the string representation
25034func (s UpdateDashboardPublishedVersionOutput) GoString() string {
25035	return s.String()
25036}
25037
25038// SetDashboardArn sets the DashboardArn field's value.
25039func (s *UpdateDashboardPublishedVersionOutput) SetDashboardArn(v string) *UpdateDashboardPublishedVersionOutput {
25040	s.DashboardArn = &v
25041	return s
25042}
25043
25044// SetDashboardId sets the DashboardId field's value.
25045func (s *UpdateDashboardPublishedVersionOutput) SetDashboardId(v string) *UpdateDashboardPublishedVersionOutput {
25046	s.DashboardId = &v
25047	return s
25048}
25049
25050// SetRequestId sets the RequestId field's value.
25051func (s *UpdateDashboardPublishedVersionOutput) SetRequestId(v string) *UpdateDashboardPublishedVersionOutput {
25052	s.RequestId = &v
25053	return s
25054}
25055
25056// SetStatus sets the Status field's value.
25057func (s *UpdateDashboardPublishedVersionOutput) SetStatus(v int64) *UpdateDashboardPublishedVersionOutput {
25058	s.Status = &v
25059	return s
25060}
25061
25062type UpdateDataSetInput struct {
25063	_ struct{} `type:"structure"`
25064
25065	// The AWS account ID.
25066	//
25067	// AwsAccountId is a required field
25068	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
25069
25070	// Groupings of columns that work together in certain QuickSight features. Currently,
25071	// only geospatial hierarchy is supported.
25072	ColumnGroups []*ColumnGroup `min:"1" type:"list"`
25073
25074	// The ID for the dataset that you want to update. This ID is unique per AWS
25075	// Region for each AWS account.
25076	//
25077	// DataSetId is a required field
25078	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
25079
25080	// Indicates whether you want to import the data into SPICE.
25081	//
25082	// ImportMode is a required field
25083	ImportMode *string `type:"string" required:"true" enum:"DataSetImportMode"`
25084
25085	// Configures the combination and transformation of the data from the physical
25086	// tables.
25087	LogicalTableMap map[string]*LogicalTable `min:"1" type:"map"`
25088
25089	// The display name for the dataset.
25090	//
25091	// Name is a required field
25092	Name *string `min:"1" type:"string" required:"true"`
25093
25094	// Declares the physical tables that are available in the underlying data sources.
25095	//
25096	// PhysicalTableMap is a required field
25097	PhysicalTableMap map[string]*PhysicalTable `min:"1" type:"map" required:"true"`
25098
25099	// The row-level security configuration for the data you want to create.
25100	RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"`
25101}
25102
25103// String returns the string representation
25104func (s UpdateDataSetInput) String() string {
25105	return awsutil.Prettify(s)
25106}
25107
25108// GoString returns the string representation
25109func (s UpdateDataSetInput) GoString() string {
25110	return s.String()
25111}
25112
25113// Validate inspects the fields of the type to determine if they are valid.
25114func (s *UpdateDataSetInput) Validate() error {
25115	invalidParams := request.ErrInvalidParams{Context: "UpdateDataSetInput"}
25116	if s.AwsAccountId == nil {
25117		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
25118	}
25119	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
25120		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
25121	}
25122	if s.ColumnGroups != nil && len(s.ColumnGroups) < 1 {
25123		invalidParams.Add(request.NewErrParamMinLen("ColumnGroups", 1))
25124	}
25125	if s.DataSetId == nil {
25126		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
25127	}
25128	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
25129		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
25130	}
25131	if s.ImportMode == nil {
25132		invalidParams.Add(request.NewErrParamRequired("ImportMode"))
25133	}
25134	if s.LogicalTableMap != nil && len(s.LogicalTableMap) < 1 {
25135		invalidParams.Add(request.NewErrParamMinLen("LogicalTableMap", 1))
25136	}
25137	if s.Name == nil {
25138		invalidParams.Add(request.NewErrParamRequired("Name"))
25139	}
25140	if s.Name != nil && len(*s.Name) < 1 {
25141		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
25142	}
25143	if s.PhysicalTableMap == nil {
25144		invalidParams.Add(request.NewErrParamRequired("PhysicalTableMap"))
25145	}
25146	if s.PhysicalTableMap != nil && len(s.PhysicalTableMap) < 1 {
25147		invalidParams.Add(request.NewErrParamMinLen("PhysicalTableMap", 1))
25148	}
25149	if s.ColumnGroups != nil {
25150		for i, v := range s.ColumnGroups {
25151			if v == nil {
25152				continue
25153			}
25154			if err := v.Validate(); err != nil {
25155				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnGroups", i), err.(request.ErrInvalidParams))
25156			}
25157		}
25158	}
25159	if s.LogicalTableMap != nil {
25160		for i, v := range s.LogicalTableMap {
25161			if v == nil {
25162				continue
25163			}
25164			if err := v.Validate(); err != nil {
25165				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LogicalTableMap", i), err.(request.ErrInvalidParams))
25166			}
25167		}
25168	}
25169	if s.PhysicalTableMap != nil {
25170		for i, v := range s.PhysicalTableMap {
25171			if v == nil {
25172				continue
25173			}
25174			if err := v.Validate(); err != nil {
25175				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PhysicalTableMap", i), err.(request.ErrInvalidParams))
25176			}
25177		}
25178	}
25179	if s.RowLevelPermissionDataSet != nil {
25180		if err := s.RowLevelPermissionDataSet.Validate(); err != nil {
25181			invalidParams.AddNested("RowLevelPermissionDataSet", err.(request.ErrInvalidParams))
25182		}
25183	}
25184
25185	if invalidParams.Len() > 0 {
25186		return invalidParams
25187	}
25188	return nil
25189}
25190
25191// SetAwsAccountId sets the AwsAccountId field's value.
25192func (s *UpdateDataSetInput) SetAwsAccountId(v string) *UpdateDataSetInput {
25193	s.AwsAccountId = &v
25194	return s
25195}
25196
25197// SetColumnGroups sets the ColumnGroups field's value.
25198func (s *UpdateDataSetInput) SetColumnGroups(v []*ColumnGroup) *UpdateDataSetInput {
25199	s.ColumnGroups = v
25200	return s
25201}
25202
25203// SetDataSetId sets the DataSetId field's value.
25204func (s *UpdateDataSetInput) SetDataSetId(v string) *UpdateDataSetInput {
25205	s.DataSetId = &v
25206	return s
25207}
25208
25209// SetImportMode sets the ImportMode field's value.
25210func (s *UpdateDataSetInput) SetImportMode(v string) *UpdateDataSetInput {
25211	s.ImportMode = &v
25212	return s
25213}
25214
25215// SetLogicalTableMap sets the LogicalTableMap field's value.
25216func (s *UpdateDataSetInput) SetLogicalTableMap(v map[string]*LogicalTable) *UpdateDataSetInput {
25217	s.LogicalTableMap = v
25218	return s
25219}
25220
25221// SetName sets the Name field's value.
25222func (s *UpdateDataSetInput) SetName(v string) *UpdateDataSetInput {
25223	s.Name = &v
25224	return s
25225}
25226
25227// SetPhysicalTableMap sets the PhysicalTableMap field's value.
25228func (s *UpdateDataSetInput) SetPhysicalTableMap(v map[string]*PhysicalTable) *UpdateDataSetInput {
25229	s.PhysicalTableMap = v
25230	return s
25231}
25232
25233// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value.
25234func (s *UpdateDataSetInput) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *UpdateDataSetInput {
25235	s.RowLevelPermissionDataSet = v
25236	return s
25237}
25238
25239type UpdateDataSetOutput struct {
25240	_ struct{} `type:"structure"`
25241
25242	// The Amazon Resource Name (ARN) of the dataset.
25243	Arn *string `type:"string"`
25244
25245	// The ID for the dataset that you want to create. This ID is unique per AWS
25246	// Region for each AWS account.
25247	DataSetId *string `type:"string"`
25248
25249	// The ARN for the ingestion, which is triggered as a result of dataset creation
25250	// if the import mode is SPICE.
25251	IngestionArn *string `type:"string"`
25252
25253	// The ID of the ingestion, which is triggered as a result of dataset creation
25254	// if the import mode is SPICE.
25255	IngestionId *string `type:"string"`
25256
25257	// The AWS request ID for this operation.
25258	RequestId *string `type:"string"`
25259
25260	// The HTTP status of the request.
25261	Status *int64 `location:"statusCode" type:"integer"`
25262}
25263
25264// String returns the string representation
25265func (s UpdateDataSetOutput) String() string {
25266	return awsutil.Prettify(s)
25267}
25268
25269// GoString returns the string representation
25270func (s UpdateDataSetOutput) GoString() string {
25271	return s.String()
25272}
25273
25274// SetArn sets the Arn field's value.
25275func (s *UpdateDataSetOutput) SetArn(v string) *UpdateDataSetOutput {
25276	s.Arn = &v
25277	return s
25278}
25279
25280// SetDataSetId sets the DataSetId field's value.
25281func (s *UpdateDataSetOutput) SetDataSetId(v string) *UpdateDataSetOutput {
25282	s.DataSetId = &v
25283	return s
25284}
25285
25286// SetIngestionArn sets the IngestionArn field's value.
25287func (s *UpdateDataSetOutput) SetIngestionArn(v string) *UpdateDataSetOutput {
25288	s.IngestionArn = &v
25289	return s
25290}
25291
25292// SetIngestionId sets the IngestionId field's value.
25293func (s *UpdateDataSetOutput) SetIngestionId(v string) *UpdateDataSetOutput {
25294	s.IngestionId = &v
25295	return s
25296}
25297
25298// SetRequestId sets the RequestId field's value.
25299func (s *UpdateDataSetOutput) SetRequestId(v string) *UpdateDataSetOutput {
25300	s.RequestId = &v
25301	return s
25302}
25303
25304// SetStatus sets the Status field's value.
25305func (s *UpdateDataSetOutput) SetStatus(v int64) *UpdateDataSetOutput {
25306	s.Status = &v
25307	return s
25308}
25309
25310type UpdateDataSetPermissionsInput struct {
25311	_ struct{} `type:"structure"`
25312
25313	// The AWS account ID.
25314	//
25315	// AwsAccountId is a required field
25316	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
25317
25318	// The ID for the dataset whose permissions you want to update. This ID is unique
25319	// per AWS Region for each AWS account.
25320	//
25321	// DataSetId is a required field
25322	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
25323
25324	// The resource permissions that you want to grant to the dataset.
25325	GrantPermissions []*ResourcePermission `min:"1" type:"list"`
25326
25327	// The resource permissions that you want to revoke from the dataset.
25328	RevokePermissions []*ResourcePermission `min:"1" type:"list"`
25329}
25330
25331// String returns the string representation
25332func (s UpdateDataSetPermissionsInput) String() string {
25333	return awsutil.Prettify(s)
25334}
25335
25336// GoString returns the string representation
25337func (s UpdateDataSetPermissionsInput) GoString() string {
25338	return s.String()
25339}
25340
25341// Validate inspects the fields of the type to determine if they are valid.
25342func (s *UpdateDataSetPermissionsInput) Validate() error {
25343	invalidParams := request.ErrInvalidParams{Context: "UpdateDataSetPermissionsInput"}
25344	if s.AwsAccountId == nil {
25345		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
25346	}
25347	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
25348		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
25349	}
25350	if s.DataSetId == nil {
25351		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
25352	}
25353	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
25354		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
25355	}
25356	if s.GrantPermissions != nil && len(s.GrantPermissions) < 1 {
25357		invalidParams.Add(request.NewErrParamMinLen("GrantPermissions", 1))
25358	}
25359	if s.RevokePermissions != nil && len(s.RevokePermissions) < 1 {
25360		invalidParams.Add(request.NewErrParamMinLen("RevokePermissions", 1))
25361	}
25362	if s.GrantPermissions != nil {
25363		for i, v := range s.GrantPermissions {
25364			if v == nil {
25365				continue
25366			}
25367			if err := v.Validate(); err != nil {
25368				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
25369			}
25370		}
25371	}
25372	if s.RevokePermissions != nil {
25373		for i, v := range s.RevokePermissions {
25374			if v == nil {
25375				continue
25376			}
25377			if err := v.Validate(); err != nil {
25378				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
25379			}
25380		}
25381	}
25382
25383	if invalidParams.Len() > 0 {
25384		return invalidParams
25385	}
25386	return nil
25387}
25388
25389// SetAwsAccountId sets the AwsAccountId field's value.
25390func (s *UpdateDataSetPermissionsInput) SetAwsAccountId(v string) *UpdateDataSetPermissionsInput {
25391	s.AwsAccountId = &v
25392	return s
25393}
25394
25395// SetDataSetId sets the DataSetId field's value.
25396func (s *UpdateDataSetPermissionsInput) SetDataSetId(v string) *UpdateDataSetPermissionsInput {
25397	s.DataSetId = &v
25398	return s
25399}
25400
25401// SetGrantPermissions sets the GrantPermissions field's value.
25402func (s *UpdateDataSetPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateDataSetPermissionsInput {
25403	s.GrantPermissions = v
25404	return s
25405}
25406
25407// SetRevokePermissions sets the RevokePermissions field's value.
25408func (s *UpdateDataSetPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateDataSetPermissionsInput {
25409	s.RevokePermissions = v
25410	return s
25411}
25412
25413type UpdateDataSetPermissionsOutput struct {
25414	_ struct{} `type:"structure"`
25415
25416	// The Amazon Resource Name (ARN) of the dataset.
25417	DataSetArn *string `type:"string"`
25418
25419	// The ID for the dataset whose permissions you want to update. This ID is unique
25420	// per AWS Region for each AWS account.
25421	DataSetId *string `type:"string"`
25422
25423	// The AWS request ID for this operation.
25424	RequestId *string `type:"string"`
25425
25426	// The HTTP status of the request.
25427	Status *int64 `location:"statusCode" type:"integer"`
25428}
25429
25430// String returns the string representation
25431func (s UpdateDataSetPermissionsOutput) String() string {
25432	return awsutil.Prettify(s)
25433}
25434
25435// GoString returns the string representation
25436func (s UpdateDataSetPermissionsOutput) GoString() string {
25437	return s.String()
25438}
25439
25440// SetDataSetArn sets the DataSetArn field's value.
25441func (s *UpdateDataSetPermissionsOutput) SetDataSetArn(v string) *UpdateDataSetPermissionsOutput {
25442	s.DataSetArn = &v
25443	return s
25444}
25445
25446// SetDataSetId sets the DataSetId field's value.
25447func (s *UpdateDataSetPermissionsOutput) SetDataSetId(v string) *UpdateDataSetPermissionsOutput {
25448	s.DataSetId = &v
25449	return s
25450}
25451
25452// SetRequestId sets the RequestId field's value.
25453func (s *UpdateDataSetPermissionsOutput) SetRequestId(v string) *UpdateDataSetPermissionsOutput {
25454	s.RequestId = &v
25455	return s
25456}
25457
25458// SetStatus sets the Status field's value.
25459func (s *UpdateDataSetPermissionsOutput) SetStatus(v int64) *UpdateDataSetPermissionsOutput {
25460	s.Status = &v
25461	return s
25462}
25463
25464type UpdateDataSourceInput struct {
25465	_ struct{} `type:"structure"`
25466
25467	// The AWS account ID.
25468	//
25469	// AwsAccountId is a required field
25470	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
25471
25472	// The credentials that QuickSight that uses to connect to your underlying source.
25473	// Currently, only credentials based on user name and password are supported.
25474	Credentials *DataSourceCredentials `type:"structure" sensitive:"true"`
25475
25476	// The ID of the data source. This ID is unique per AWS Region for each AWS
25477	// account.
25478	//
25479	// DataSourceId is a required field
25480	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
25481
25482	// The parameters that QuickSight uses to connect to your underlying source.
25483	DataSourceParameters *DataSourceParameters `type:"structure"`
25484
25485	// A display name for the data source.
25486	//
25487	// Name is a required field
25488	Name *string `min:"1" type:"string" required:"true"`
25489
25490	// Secure Socket Layer (SSL) properties that apply when QuickSight connects
25491	// to your underlying source.
25492	SslProperties *SslProperties `type:"structure"`
25493
25494	// Use this parameter only when you want QuickSight to use a VPC connection
25495	// when connecting to your underlying source.
25496	VpcConnectionProperties *VpcConnectionProperties `type:"structure"`
25497}
25498
25499// String returns the string representation
25500func (s UpdateDataSourceInput) String() string {
25501	return awsutil.Prettify(s)
25502}
25503
25504// GoString returns the string representation
25505func (s UpdateDataSourceInput) GoString() string {
25506	return s.String()
25507}
25508
25509// Validate inspects the fields of the type to determine if they are valid.
25510func (s *UpdateDataSourceInput) Validate() error {
25511	invalidParams := request.ErrInvalidParams{Context: "UpdateDataSourceInput"}
25512	if s.AwsAccountId == nil {
25513		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
25514	}
25515	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
25516		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
25517	}
25518	if s.DataSourceId == nil {
25519		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
25520	}
25521	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
25522		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
25523	}
25524	if s.Name == nil {
25525		invalidParams.Add(request.NewErrParamRequired("Name"))
25526	}
25527	if s.Name != nil && len(*s.Name) < 1 {
25528		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
25529	}
25530	if s.Credentials != nil {
25531		if err := s.Credentials.Validate(); err != nil {
25532			invalidParams.AddNested("Credentials", err.(request.ErrInvalidParams))
25533		}
25534	}
25535	if s.DataSourceParameters != nil {
25536		if err := s.DataSourceParameters.Validate(); err != nil {
25537			invalidParams.AddNested("DataSourceParameters", err.(request.ErrInvalidParams))
25538		}
25539	}
25540	if s.VpcConnectionProperties != nil {
25541		if err := s.VpcConnectionProperties.Validate(); err != nil {
25542			invalidParams.AddNested("VpcConnectionProperties", err.(request.ErrInvalidParams))
25543		}
25544	}
25545
25546	if invalidParams.Len() > 0 {
25547		return invalidParams
25548	}
25549	return nil
25550}
25551
25552// SetAwsAccountId sets the AwsAccountId field's value.
25553func (s *UpdateDataSourceInput) SetAwsAccountId(v string) *UpdateDataSourceInput {
25554	s.AwsAccountId = &v
25555	return s
25556}
25557
25558// SetCredentials sets the Credentials field's value.
25559func (s *UpdateDataSourceInput) SetCredentials(v *DataSourceCredentials) *UpdateDataSourceInput {
25560	s.Credentials = v
25561	return s
25562}
25563
25564// SetDataSourceId sets the DataSourceId field's value.
25565func (s *UpdateDataSourceInput) SetDataSourceId(v string) *UpdateDataSourceInput {
25566	s.DataSourceId = &v
25567	return s
25568}
25569
25570// SetDataSourceParameters sets the DataSourceParameters field's value.
25571func (s *UpdateDataSourceInput) SetDataSourceParameters(v *DataSourceParameters) *UpdateDataSourceInput {
25572	s.DataSourceParameters = v
25573	return s
25574}
25575
25576// SetName sets the Name field's value.
25577func (s *UpdateDataSourceInput) SetName(v string) *UpdateDataSourceInput {
25578	s.Name = &v
25579	return s
25580}
25581
25582// SetSslProperties sets the SslProperties field's value.
25583func (s *UpdateDataSourceInput) SetSslProperties(v *SslProperties) *UpdateDataSourceInput {
25584	s.SslProperties = v
25585	return s
25586}
25587
25588// SetVpcConnectionProperties sets the VpcConnectionProperties field's value.
25589func (s *UpdateDataSourceInput) SetVpcConnectionProperties(v *VpcConnectionProperties) *UpdateDataSourceInput {
25590	s.VpcConnectionProperties = v
25591	return s
25592}
25593
25594type UpdateDataSourceOutput struct {
25595	_ struct{} `type:"structure"`
25596
25597	// The Amazon Resource Name (ARN) of the data source.
25598	Arn *string `type:"string"`
25599
25600	// The ID of the data source. This ID is unique per AWS Region for each AWS
25601	// account.
25602	DataSourceId *string `type:"string"`
25603
25604	// The AWS request ID for this operation.
25605	RequestId *string `type:"string"`
25606
25607	// The HTTP status of the request.
25608	Status *int64 `location:"statusCode" type:"integer"`
25609
25610	// The update status of the data source's last update.
25611	UpdateStatus *string `type:"string" enum:"ResourceStatus"`
25612}
25613
25614// String returns the string representation
25615func (s UpdateDataSourceOutput) String() string {
25616	return awsutil.Prettify(s)
25617}
25618
25619// GoString returns the string representation
25620func (s UpdateDataSourceOutput) GoString() string {
25621	return s.String()
25622}
25623
25624// SetArn sets the Arn field's value.
25625func (s *UpdateDataSourceOutput) SetArn(v string) *UpdateDataSourceOutput {
25626	s.Arn = &v
25627	return s
25628}
25629
25630// SetDataSourceId sets the DataSourceId field's value.
25631func (s *UpdateDataSourceOutput) SetDataSourceId(v string) *UpdateDataSourceOutput {
25632	s.DataSourceId = &v
25633	return s
25634}
25635
25636// SetRequestId sets the RequestId field's value.
25637func (s *UpdateDataSourceOutput) SetRequestId(v string) *UpdateDataSourceOutput {
25638	s.RequestId = &v
25639	return s
25640}
25641
25642// SetStatus sets the Status field's value.
25643func (s *UpdateDataSourceOutput) SetStatus(v int64) *UpdateDataSourceOutput {
25644	s.Status = &v
25645	return s
25646}
25647
25648// SetUpdateStatus sets the UpdateStatus field's value.
25649func (s *UpdateDataSourceOutput) SetUpdateStatus(v string) *UpdateDataSourceOutput {
25650	s.UpdateStatus = &v
25651	return s
25652}
25653
25654type UpdateDataSourcePermissionsInput struct {
25655	_ struct{} `type:"structure"`
25656
25657	// The AWS account ID.
25658	//
25659	// AwsAccountId is a required field
25660	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
25661
25662	// The ID of the data source. This ID is unique per AWS Region for each AWS
25663	// account.
25664	//
25665	// DataSourceId is a required field
25666	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
25667
25668	// A list of resource permissions that you want to grant on the data source.
25669	GrantPermissions []*ResourcePermission `min:"1" type:"list"`
25670
25671	// A list of resource permissions that you want to revoke on the data source.
25672	RevokePermissions []*ResourcePermission `min:"1" type:"list"`
25673}
25674
25675// String returns the string representation
25676func (s UpdateDataSourcePermissionsInput) String() string {
25677	return awsutil.Prettify(s)
25678}
25679
25680// GoString returns the string representation
25681func (s UpdateDataSourcePermissionsInput) GoString() string {
25682	return s.String()
25683}
25684
25685// Validate inspects the fields of the type to determine if they are valid.
25686func (s *UpdateDataSourcePermissionsInput) Validate() error {
25687	invalidParams := request.ErrInvalidParams{Context: "UpdateDataSourcePermissionsInput"}
25688	if s.AwsAccountId == nil {
25689		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
25690	}
25691	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
25692		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
25693	}
25694	if s.DataSourceId == nil {
25695		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
25696	}
25697	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
25698		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
25699	}
25700	if s.GrantPermissions != nil && len(s.GrantPermissions) < 1 {
25701		invalidParams.Add(request.NewErrParamMinLen("GrantPermissions", 1))
25702	}
25703	if s.RevokePermissions != nil && len(s.RevokePermissions) < 1 {
25704		invalidParams.Add(request.NewErrParamMinLen("RevokePermissions", 1))
25705	}
25706	if s.GrantPermissions != nil {
25707		for i, v := range s.GrantPermissions {
25708			if v == nil {
25709				continue
25710			}
25711			if err := v.Validate(); err != nil {
25712				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
25713			}
25714		}
25715	}
25716	if s.RevokePermissions != nil {
25717		for i, v := range s.RevokePermissions {
25718			if v == nil {
25719				continue
25720			}
25721			if err := v.Validate(); err != nil {
25722				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
25723			}
25724		}
25725	}
25726
25727	if invalidParams.Len() > 0 {
25728		return invalidParams
25729	}
25730	return nil
25731}
25732
25733// SetAwsAccountId sets the AwsAccountId field's value.
25734func (s *UpdateDataSourcePermissionsInput) SetAwsAccountId(v string) *UpdateDataSourcePermissionsInput {
25735	s.AwsAccountId = &v
25736	return s
25737}
25738
25739// SetDataSourceId sets the DataSourceId field's value.
25740func (s *UpdateDataSourcePermissionsInput) SetDataSourceId(v string) *UpdateDataSourcePermissionsInput {
25741	s.DataSourceId = &v
25742	return s
25743}
25744
25745// SetGrantPermissions sets the GrantPermissions field's value.
25746func (s *UpdateDataSourcePermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateDataSourcePermissionsInput {
25747	s.GrantPermissions = v
25748	return s
25749}
25750
25751// SetRevokePermissions sets the RevokePermissions field's value.
25752func (s *UpdateDataSourcePermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateDataSourcePermissionsInput {
25753	s.RevokePermissions = v
25754	return s
25755}
25756
25757type UpdateDataSourcePermissionsOutput struct {
25758	_ struct{} `type:"structure"`
25759
25760	// The Amazon Resource Name (ARN) of the data source.
25761	DataSourceArn *string `type:"string"`
25762
25763	// The ID of the data source. This ID is unique per AWS Region for each AWS
25764	// account.
25765	DataSourceId *string `type:"string"`
25766
25767	// The AWS request ID for this operation.
25768	RequestId *string `type:"string"`
25769
25770	// The HTTP status of the request.
25771	Status *int64 `location:"statusCode" type:"integer"`
25772}
25773
25774// String returns the string representation
25775func (s UpdateDataSourcePermissionsOutput) String() string {
25776	return awsutil.Prettify(s)
25777}
25778
25779// GoString returns the string representation
25780func (s UpdateDataSourcePermissionsOutput) GoString() string {
25781	return s.String()
25782}
25783
25784// SetDataSourceArn sets the DataSourceArn field's value.
25785func (s *UpdateDataSourcePermissionsOutput) SetDataSourceArn(v string) *UpdateDataSourcePermissionsOutput {
25786	s.DataSourceArn = &v
25787	return s
25788}
25789
25790// SetDataSourceId sets the DataSourceId field's value.
25791func (s *UpdateDataSourcePermissionsOutput) SetDataSourceId(v string) *UpdateDataSourcePermissionsOutput {
25792	s.DataSourceId = &v
25793	return s
25794}
25795
25796// SetRequestId sets the RequestId field's value.
25797func (s *UpdateDataSourcePermissionsOutput) SetRequestId(v string) *UpdateDataSourcePermissionsOutput {
25798	s.RequestId = &v
25799	return s
25800}
25801
25802// SetStatus sets the Status field's value.
25803func (s *UpdateDataSourcePermissionsOutput) SetStatus(v int64) *UpdateDataSourcePermissionsOutput {
25804	s.Status = &v
25805	return s
25806}
25807
25808type UpdateGroupInput struct {
25809	_ struct{} `type:"structure"`
25810
25811	// The ID for the AWS account that the group is in. Currently, you use the ID
25812	// for the AWS account that contains your Amazon QuickSight account.
25813	//
25814	// AwsAccountId is a required field
25815	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
25816
25817	// The description for the group that you want to update.
25818	Description *string `min:"1" type:"string"`
25819
25820	// The name of the group that you want to update.
25821	//
25822	// GroupName is a required field
25823	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
25824
25825	// The namespace. Currently, you should set this to default.
25826	//
25827	// Namespace is a required field
25828	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
25829}
25830
25831// String returns the string representation
25832func (s UpdateGroupInput) String() string {
25833	return awsutil.Prettify(s)
25834}
25835
25836// GoString returns the string representation
25837func (s UpdateGroupInput) GoString() string {
25838	return s.String()
25839}
25840
25841// Validate inspects the fields of the type to determine if they are valid.
25842func (s *UpdateGroupInput) Validate() error {
25843	invalidParams := request.ErrInvalidParams{Context: "UpdateGroupInput"}
25844	if s.AwsAccountId == nil {
25845		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
25846	}
25847	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
25848		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
25849	}
25850	if s.Description != nil && len(*s.Description) < 1 {
25851		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
25852	}
25853	if s.GroupName == nil {
25854		invalidParams.Add(request.NewErrParamRequired("GroupName"))
25855	}
25856	if s.GroupName != nil && len(*s.GroupName) < 1 {
25857		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
25858	}
25859	if s.Namespace == nil {
25860		invalidParams.Add(request.NewErrParamRequired("Namespace"))
25861	}
25862	if s.Namespace != nil && len(*s.Namespace) < 1 {
25863		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
25864	}
25865
25866	if invalidParams.Len() > 0 {
25867		return invalidParams
25868	}
25869	return nil
25870}
25871
25872// SetAwsAccountId sets the AwsAccountId field's value.
25873func (s *UpdateGroupInput) SetAwsAccountId(v string) *UpdateGroupInput {
25874	s.AwsAccountId = &v
25875	return s
25876}
25877
25878// SetDescription sets the Description field's value.
25879func (s *UpdateGroupInput) SetDescription(v string) *UpdateGroupInput {
25880	s.Description = &v
25881	return s
25882}
25883
25884// SetGroupName sets the GroupName field's value.
25885func (s *UpdateGroupInput) SetGroupName(v string) *UpdateGroupInput {
25886	s.GroupName = &v
25887	return s
25888}
25889
25890// SetNamespace sets the Namespace field's value.
25891func (s *UpdateGroupInput) SetNamespace(v string) *UpdateGroupInput {
25892	s.Namespace = &v
25893	return s
25894}
25895
25896type UpdateGroupOutput struct {
25897	_ struct{} `type:"structure"`
25898
25899	// The name of the group.
25900	Group *Group `type:"structure"`
25901
25902	// The AWS request ID for this operation.
25903	RequestId *string `type:"string"`
25904
25905	// The HTTP status of the request.
25906	Status *int64 `location:"statusCode" type:"integer"`
25907}
25908
25909// String returns the string representation
25910func (s UpdateGroupOutput) String() string {
25911	return awsutil.Prettify(s)
25912}
25913
25914// GoString returns the string representation
25915func (s UpdateGroupOutput) GoString() string {
25916	return s.String()
25917}
25918
25919// SetGroup sets the Group field's value.
25920func (s *UpdateGroupOutput) SetGroup(v *Group) *UpdateGroupOutput {
25921	s.Group = v
25922	return s
25923}
25924
25925// SetRequestId sets the RequestId field's value.
25926func (s *UpdateGroupOutput) SetRequestId(v string) *UpdateGroupOutput {
25927	s.RequestId = &v
25928	return s
25929}
25930
25931// SetStatus sets the Status field's value.
25932func (s *UpdateGroupOutput) SetStatus(v int64) *UpdateGroupOutput {
25933	s.Status = &v
25934	return s
25935}
25936
25937type UpdateIAMPolicyAssignmentInput struct {
25938	_ struct{} `type:"structure"`
25939
25940	// The name of the assignment. This name must be unique within an AWS account.
25941	//
25942	// AssignmentName is a required field
25943	AssignmentName *string `location:"uri" locationName:"AssignmentName" min:"1" type:"string" required:"true"`
25944
25945	// The status of the assignment. Possible values are as follows:
25946	//
25947	//    * ENABLED - Anything specified in this assignment is used when creating
25948	//    the data source.
25949	//
25950	//    * DISABLED - This assignment isn't used when creating the data source.
25951	//
25952	//    * DRAFT - This assignment is an unfinished draft and isn't used when creating
25953	//    the data source.
25954	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
25955
25956	// The ID of the AWS account that contains the IAM policy assignment.
25957	//
25958	// AwsAccountId is a required field
25959	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
25960
25961	// The QuickSight users, groups, or both that you want to assign the policy
25962	// to.
25963	Identities map[string][]*string `type:"map"`
25964
25965	// The namespace of the assignment.
25966	//
25967	// Namespace is a required field
25968	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
25969
25970	// The ARN for the IAM policy to apply to the QuickSight users and groups specified
25971	// in this assignment.
25972	PolicyArn *string `type:"string"`
25973}
25974
25975// String returns the string representation
25976func (s UpdateIAMPolicyAssignmentInput) String() string {
25977	return awsutil.Prettify(s)
25978}
25979
25980// GoString returns the string representation
25981func (s UpdateIAMPolicyAssignmentInput) GoString() string {
25982	return s.String()
25983}
25984
25985// Validate inspects the fields of the type to determine if they are valid.
25986func (s *UpdateIAMPolicyAssignmentInput) Validate() error {
25987	invalidParams := request.ErrInvalidParams{Context: "UpdateIAMPolicyAssignmentInput"}
25988	if s.AssignmentName == nil {
25989		invalidParams.Add(request.NewErrParamRequired("AssignmentName"))
25990	}
25991	if s.AssignmentName != nil && len(*s.AssignmentName) < 1 {
25992		invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1))
25993	}
25994	if s.AwsAccountId == nil {
25995		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
25996	}
25997	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
25998		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
25999	}
26000	if s.Namespace == nil {
26001		invalidParams.Add(request.NewErrParamRequired("Namespace"))
26002	}
26003	if s.Namespace != nil && len(*s.Namespace) < 1 {
26004		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
26005	}
26006
26007	if invalidParams.Len() > 0 {
26008		return invalidParams
26009	}
26010	return nil
26011}
26012
26013// SetAssignmentName sets the AssignmentName field's value.
26014func (s *UpdateIAMPolicyAssignmentInput) SetAssignmentName(v string) *UpdateIAMPolicyAssignmentInput {
26015	s.AssignmentName = &v
26016	return s
26017}
26018
26019// SetAssignmentStatus sets the AssignmentStatus field's value.
26020func (s *UpdateIAMPolicyAssignmentInput) SetAssignmentStatus(v string) *UpdateIAMPolicyAssignmentInput {
26021	s.AssignmentStatus = &v
26022	return s
26023}
26024
26025// SetAwsAccountId sets the AwsAccountId field's value.
26026func (s *UpdateIAMPolicyAssignmentInput) SetAwsAccountId(v string) *UpdateIAMPolicyAssignmentInput {
26027	s.AwsAccountId = &v
26028	return s
26029}
26030
26031// SetIdentities sets the Identities field's value.
26032func (s *UpdateIAMPolicyAssignmentInput) SetIdentities(v map[string][]*string) *UpdateIAMPolicyAssignmentInput {
26033	s.Identities = v
26034	return s
26035}
26036
26037// SetNamespace sets the Namespace field's value.
26038func (s *UpdateIAMPolicyAssignmentInput) SetNamespace(v string) *UpdateIAMPolicyAssignmentInput {
26039	s.Namespace = &v
26040	return s
26041}
26042
26043// SetPolicyArn sets the PolicyArn field's value.
26044func (s *UpdateIAMPolicyAssignmentInput) SetPolicyArn(v string) *UpdateIAMPolicyAssignmentInput {
26045	s.PolicyArn = &v
26046	return s
26047}
26048
26049type UpdateIAMPolicyAssignmentOutput struct {
26050	_ struct{} `type:"structure"`
26051
26052	// The ID of the assignment.
26053	AssignmentId *string `type:"string"`
26054
26055	// The name of the assignment.
26056	AssignmentName *string `min:"1" type:"string"`
26057
26058	// The status of the assignment. Possible values are as follows:
26059	//
26060	//    * ENABLED - Anything specified in this assignment is used when creating
26061	//    the data source.
26062	//
26063	//    * DISABLED - This assignment isn't used when creating the data source.
26064	//
26065	//    * DRAFT - This assignment is an unfinished draft and isn't used when creating
26066	//    the data source.
26067	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
26068
26069	// The QuickSight users, groups, or both that the IAM policy is assigned to.
26070	Identities map[string][]*string `type:"map"`
26071
26072	// The ARN for the IAM policy applied to the QuickSight users and groups specified
26073	// in this assignment.
26074	PolicyArn *string `type:"string"`
26075
26076	// The AWS request ID for this operation.
26077	RequestId *string `type:"string"`
26078
26079	// The HTTP status of the request.
26080	Status *int64 `location:"statusCode" type:"integer"`
26081}
26082
26083// String returns the string representation
26084func (s UpdateIAMPolicyAssignmentOutput) String() string {
26085	return awsutil.Prettify(s)
26086}
26087
26088// GoString returns the string representation
26089func (s UpdateIAMPolicyAssignmentOutput) GoString() string {
26090	return s.String()
26091}
26092
26093// SetAssignmentId sets the AssignmentId field's value.
26094func (s *UpdateIAMPolicyAssignmentOutput) SetAssignmentId(v string) *UpdateIAMPolicyAssignmentOutput {
26095	s.AssignmentId = &v
26096	return s
26097}
26098
26099// SetAssignmentName sets the AssignmentName field's value.
26100func (s *UpdateIAMPolicyAssignmentOutput) SetAssignmentName(v string) *UpdateIAMPolicyAssignmentOutput {
26101	s.AssignmentName = &v
26102	return s
26103}
26104
26105// SetAssignmentStatus sets the AssignmentStatus field's value.
26106func (s *UpdateIAMPolicyAssignmentOutput) SetAssignmentStatus(v string) *UpdateIAMPolicyAssignmentOutput {
26107	s.AssignmentStatus = &v
26108	return s
26109}
26110
26111// SetIdentities sets the Identities field's value.
26112func (s *UpdateIAMPolicyAssignmentOutput) SetIdentities(v map[string][]*string) *UpdateIAMPolicyAssignmentOutput {
26113	s.Identities = v
26114	return s
26115}
26116
26117// SetPolicyArn sets the PolicyArn field's value.
26118func (s *UpdateIAMPolicyAssignmentOutput) SetPolicyArn(v string) *UpdateIAMPolicyAssignmentOutput {
26119	s.PolicyArn = &v
26120	return s
26121}
26122
26123// SetRequestId sets the RequestId field's value.
26124func (s *UpdateIAMPolicyAssignmentOutput) SetRequestId(v string) *UpdateIAMPolicyAssignmentOutput {
26125	s.RequestId = &v
26126	return s
26127}
26128
26129// SetStatus sets the Status field's value.
26130func (s *UpdateIAMPolicyAssignmentOutput) SetStatus(v int64) *UpdateIAMPolicyAssignmentOutput {
26131	s.Status = &v
26132	return s
26133}
26134
26135type UpdateTemplateAliasInput struct {
26136	_ struct{} `type:"structure"`
26137
26138	// The alias of the template that you want to update. If you name a specific
26139	// alias, you update the version that the alias points to. You can specify the
26140	// latest version of the template by providing the keyword $LATEST in the AliasName
26141	// parameter. The keyword $PUBLISHED doesn't apply to templates.
26142	//
26143	// AliasName is a required field
26144	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
26145
26146	// The ID of the AWS account that contains the template alias that you're updating.
26147	//
26148	// AwsAccountId is a required field
26149	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
26150
26151	// The ID for the template.
26152	//
26153	// TemplateId is a required field
26154	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
26155
26156	// The version number of the template.
26157	//
26158	// TemplateVersionNumber is a required field
26159	TemplateVersionNumber *int64 `min:"1" type:"long" required:"true"`
26160}
26161
26162// String returns the string representation
26163func (s UpdateTemplateAliasInput) String() string {
26164	return awsutil.Prettify(s)
26165}
26166
26167// GoString returns the string representation
26168func (s UpdateTemplateAliasInput) GoString() string {
26169	return s.String()
26170}
26171
26172// Validate inspects the fields of the type to determine if they are valid.
26173func (s *UpdateTemplateAliasInput) Validate() error {
26174	invalidParams := request.ErrInvalidParams{Context: "UpdateTemplateAliasInput"}
26175	if s.AliasName == nil {
26176		invalidParams.Add(request.NewErrParamRequired("AliasName"))
26177	}
26178	if s.AliasName != nil && len(*s.AliasName) < 1 {
26179		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
26180	}
26181	if s.AwsAccountId == nil {
26182		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
26183	}
26184	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
26185		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
26186	}
26187	if s.TemplateId == nil {
26188		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
26189	}
26190	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
26191		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
26192	}
26193	if s.TemplateVersionNumber == nil {
26194		invalidParams.Add(request.NewErrParamRequired("TemplateVersionNumber"))
26195	}
26196	if s.TemplateVersionNumber != nil && *s.TemplateVersionNumber < 1 {
26197		invalidParams.Add(request.NewErrParamMinValue("TemplateVersionNumber", 1))
26198	}
26199
26200	if invalidParams.Len() > 0 {
26201		return invalidParams
26202	}
26203	return nil
26204}
26205
26206// SetAliasName sets the AliasName field's value.
26207func (s *UpdateTemplateAliasInput) SetAliasName(v string) *UpdateTemplateAliasInput {
26208	s.AliasName = &v
26209	return s
26210}
26211
26212// SetAwsAccountId sets the AwsAccountId field's value.
26213func (s *UpdateTemplateAliasInput) SetAwsAccountId(v string) *UpdateTemplateAliasInput {
26214	s.AwsAccountId = &v
26215	return s
26216}
26217
26218// SetTemplateId sets the TemplateId field's value.
26219func (s *UpdateTemplateAliasInput) SetTemplateId(v string) *UpdateTemplateAliasInput {
26220	s.TemplateId = &v
26221	return s
26222}
26223
26224// SetTemplateVersionNumber sets the TemplateVersionNumber field's value.
26225func (s *UpdateTemplateAliasInput) SetTemplateVersionNumber(v int64) *UpdateTemplateAliasInput {
26226	s.TemplateVersionNumber = &v
26227	return s
26228}
26229
26230type UpdateTemplateAliasOutput struct {
26231	_ struct{} `type:"structure"`
26232
26233	// The AWS request ID for this operation.
26234	RequestId *string `type:"string"`
26235
26236	// The HTTP status of the request.
26237	Status *int64 `location:"statusCode" type:"integer"`
26238
26239	// The template alias.
26240	TemplateAlias *TemplateAlias `type:"structure"`
26241}
26242
26243// String returns the string representation
26244func (s UpdateTemplateAliasOutput) String() string {
26245	return awsutil.Prettify(s)
26246}
26247
26248// GoString returns the string representation
26249func (s UpdateTemplateAliasOutput) GoString() string {
26250	return s.String()
26251}
26252
26253// SetRequestId sets the RequestId field's value.
26254func (s *UpdateTemplateAliasOutput) SetRequestId(v string) *UpdateTemplateAliasOutput {
26255	s.RequestId = &v
26256	return s
26257}
26258
26259// SetStatus sets the Status field's value.
26260func (s *UpdateTemplateAliasOutput) SetStatus(v int64) *UpdateTemplateAliasOutput {
26261	s.Status = &v
26262	return s
26263}
26264
26265// SetTemplateAlias sets the TemplateAlias field's value.
26266func (s *UpdateTemplateAliasOutput) SetTemplateAlias(v *TemplateAlias) *UpdateTemplateAliasOutput {
26267	s.TemplateAlias = v
26268	return s
26269}
26270
26271type UpdateTemplateInput struct {
26272	_ struct{} `type:"structure"`
26273
26274	// The ID of the AWS account that contains the template that you're updating.
26275	//
26276	// AwsAccountId is a required field
26277	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
26278
26279	// The name for the template.
26280	Name *string `min:"1" type:"string"`
26281
26282	// The entity that you are using as a source when you update the template. In
26283	// SourceEntity, you specify the type of object you're using as source: SourceTemplate
26284	// for a template or SourceAnalysis for an analysis. Both of these require an
26285	// Amazon Resource Name (ARN). For SourceTemplate, specify the ARN of the source
26286	// template. For SourceAnalysis, specify the ARN of the source analysis. The
26287	// SourceTemplate ARN can contain any AWS Account and any QuickSight-supported
26288	// AWS Region.
26289	//
26290	// Use the DataSetReferences entity within SourceTemplate or SourceAnalysis
26291	// to list the replacement datasets for the placeholders listed in the original.
26292	// The schema in each dataset must match its placeholder.
26293	//
26294	// SourceEntity is a required field
26295	SourceEntity *TemplateSourceEntity `type:"structure" required:"true"`
26296
26297	// The ID for the template.
26298	//
26299	// TemplateId is a required field
26300	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
26301
26302	// A description of the current template version that is being updated. Every
26303	// time you call UpdateTemplate, you create a new version of the template. Each
26304	// version of the template maintains a description of the version in the VersionDescription
26305	// field.
26306	VersionDescription *string `min:"1" type:"string"`
26307}
26308
26309// String returns the string representation
26310func (s UpdateTemplateInput) String() string {
26311	return awsutil.Prettify(s)
26312}
26313
26314// GoString returns the string representation
26315func (s UpdateTemplateInput) GoString() string {
26316	return s.String()
26317}
26318
26319// Validate inspects the fields of the type to determine if they are valid.
26320func (s *UpdateTemplateInput) Validate() error {
26321	invalidParams := request.ErrInvalidParams{Context: "UpdateTemplateInput"}
26322	if s.AwsAccountId == nil {
26323		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
26324	}
26325	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
26326		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
26327	}
26328	if s.Name != nil && len(*s.Name) < 1 {
26329		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
26330	}
26331	if s.SourceEntity == nil {
26332		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
26333	}
26334	if s.TemplateId == nil {
26335		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
26336	}
26337	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
26338		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
26339	}
26340	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
26341		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
26342	}
26343	if s.SourceEntity != nil {
26344		if err := s.SourceEntity.Validate(); err != nil {
26345			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
26346		}
26347	}
26348
26349	if invalidParams.Len() > 0 {
26350		return invalidParams
26351	}
26352	return nil
26353}
26354
26355// SetAwsAccountId sets the AwsAccountId field's value.
26356func (s *UpdateTemplateInput) SetAwsAccountId(v string) *UpdateTemplateInput {
26357	s.AwsAccountId = &v
26358	return s
26359}
26360
26361// SetName sets the Name field's value.
26362func (s *UpdateTemplateInput) SetName(v string) *UpdateTemplateInput {
26363	s.Name = &v
26364	return s
26365}
26366
26367// SetSourceEntity sets the SourceEntity field's value.
26368func (s *UpdateTemplateInput) SetSourceEntity(v *TemplateSourceEntity) *UpdateTemplateInput {
26369	s.SourceEntity = v
26370	return s
26371}
26372
26373// SetTemplateId sets the TemplateId field's value.
26374func (s *UpdateTemplateInput) SetTemplateId(v string) *UpdateTemplateInput {
26375	s.TemplateId = &v
26376	return s
26377}
26378
26379// SetVersionDescription sets the VersionDescription field's value.
26380func (s *UpdateTemplateInput) SetVersionDescription(v string) *UpdateTemplateInput {
26381	s.VersionDescription = &v
26382	return s
26383}
26384
26385type UpdateTemplateOutput struct {
26386	_ struct{} `type:"structure"`
26387
26388	// The Amazon Resource Name (ARN) for the template.
26389	Arn *string `type:"string"`
26390
26391	// The creation status of the template.
26392	CreationStatus *string `type:"string" enum:"ResourceStatus"`
26393
26394	// The AWS request ID for this operation.
26395	RequestId *string `type:"string"`
26396
26397	// The HTTP status of the request.
26398	Status *int64 `location:"statusCode" type:"integer"`
26399
26400	// The ID for the template.
26401	TemplateId *string `min:"1" type:"string"`
26402
26403	// The ARN for the template, including the version information of the first
26404	// version.
26405	VersionArn *string `type:"string"`
26406}
26407
26408// String returns the string representation
26409func (s UpdateTemplateOutput) String() string {
26410	return awsutil.Prettify(s)
26411}
26412
26413// GoString returns the string representation
26414func (s UpdateTemplateOutput) GoString() string {
26415	return s.String()
26416}
26417
26418// SetArn sets the Arn field's value.
26419func (s *UpdateTemplateOutput) SetArn(v string) *UpdateTemplateOutput {
26420	s.Arn = &v
26421	return s
26422}
26423
26424// SetCreationStatus sets the CreationStatus field's value.
26425func (s *UpdateTemplateOutput) SetCreationStatus(v string) *UpdateTemplateOutput {
26426	s.CreationStatus = &v
26427	return s
26428}
26429
26430// SetRequestId sets the RequestId field's value.
26431func (s *UpdateTemplateOutput) SetRequestId(v string) *UpdateTemplateOutput {
26432	s.RequestId = &v
26433	return s
26434}
26435
26436// SetStatus sets the Status field's value.
26437func (s *UpdateTemplateOutput) SetStatus(v int64) *UpdateTemplateOutput {
26438	s.Status = &v
26439	return s
26440}
26441
26442// SetTemplateId sets the TemplateId field's value.
26443func (s *UpdateTemplateOutput) SetTemplateId(v string) *UpdateTemplateOutput {
26444	s.TemplateId = &v
26445	return s
26446}
26447
26448// SetVersionArn sets the VersionArn field's value.
26449func (s *UpdateTemplateOutput) SetVersionArn(v string) *UpdateTemplateOutput {
26450	s.VersionArn = &v
26451	return s
26452}
26453
26454type UpdateTemplatePermissionsInput struct {
26455	_ struct{} `type:"structure"`
26456
26457	// The ID of the AWS account that contains the template.
26458	//
26459	// AwsAccountId is a required field
26460	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
26461
26462	// A list of resource permissions to be granted on the template.
26463	GrantPermissions []*ResourcePermission `type:"list"`
26464
26465	// A list of resource permissions to be revoked from the template.
26466	RevokePermissions []*ResourcePermission `type:"list"`
26467
26468	// The ID for the template.
26469	//
26470	// TemplateId is a required field
26471	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
26472}
26473
26474// String returns the string representation
26475func (s UpdateTemplatePermissionsInput) String() string {
26476	return awsutil.Prettify(s)
26477}
26478
26479// GoString returns the string representation
26480func (s UpdateTemplatePermissionsInput) GoString() string {
26481	return s.String()
26482}
26483
26484// Validate inspects the fields of the type to determine if they are valid.
26485func (s *UpdateTemplatePermissionsInput) Validate() error {
26486	invalidParams := request.ErrInvalidParams{Context: "UpdateTemplatePermissionsInput"}
26487	if s.AwsAccountId == nil {
26488		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
26489	}
26490	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
26491		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
26492	}
26493	if s.TemplateId == nil {
26494		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
26495	}
26496	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
26497		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
26498	}
26499	if s.GrantPermissions != nil {
26500		for i, v := range s.GrantPermissions {
26501			if v == nil {
26502				continue
26503			}
26504			if err := v.Validate(); err != nil {
26505				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
26506			}
26507		}
26508	}
26509	if s.RevokePermissions != nil {
26510		for i, v := range s.RevokePermissions {
26511			if v == nil {
26512				continue
26513			}
26514			if err := v.Validate(); err != nil {
26515				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
26516			}
26517		}
26518	}
26519
26520	if invalidParams.Len() > 0 {
26521		return invalidParams
26522	}
26523	return nil
26524}
26525
26526// SetAwsAccountId sets the AwsAccountId field's value.
26527func (s *UpdateTemplatePermissionsInput) SetAwsAccountId(v string) *UpdateTemplatePermissionsInput {
26528	s.AwsAccountId = &v
26529	return s
26530}
26531
26532// SetGrantPermissions sets the GrantPermissions field's value.
26533func (s *UpdateTemplatePermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateTemplatePermissionsInput {
26534	s.GrantPermissions = v
26535	return s
26536}
26537
26538// SetRevokePermissions sets the RevokePermissions field's value.
26539func (s *UpdateTemplatePermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateTemplatePermissionsInput {
26540	s.RevokePermissions = v
26541	return s
26542}
26543
26544// SetTemplateId sets the TemplateId field's value.
26545func (s *UpdateTemplatePermissionsInput) SetTemplateId(v string) *UpdateTemplatePermissionsInput {
26546	s.TemplateId = &v
26547	return s
26548}
26549
26550type UpdateTemplatePermissionsOutput struct {
26551	_ struct{} `type:"structure"`
26552
26553	// A list of resource permissions to be set on the template.
26554	Permissions []*ResourcePermission `min:"1" type:"list"`
26555
26556	// The AWS request ID for this operation.
26557	RequestId *string `type:"string"`
26558
26559	// The HTTP status of the request.
26560	Status *int64 `location:"statusCode" type:"integer"`
26561
26562	// The Amazon Resource Name (ARN) of the template.
26563	TemplateArn *string `type:"string"`
26564
26565	// The ID for the template.
26566	TemplateId *string `min:"1" type:"string"`
26567}
26568
26569// String returns the string representation
26570func (s UpdateTemplatePermissionsOutput) String() string {
26571	return awsutil.Prettify(s)
26572}
26573
26574// GoString returns the string representation
26575func (s UpdateTemplatePermissionsOutput) GoString() string {
26576	return s.String()
26577}
26578
26579// SetPermissions sets the Permissions field's value.
26580func (s *UpdateTemplatePermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateTemplatePermissionsOutput {
26581	s.Permissions = v
26582	return s
26583}
26584
26585// SetRequestId sets the RequestId field's value.
26586func (s *UpdateTemplatePermissionsOutput) SetRequestId(v string) *UpdateTemplatePermissionsOutput {
26587	s.RequestId = &v
26588	return s
26589}
26590
26591// SetStatus sets the Status field's value.
26592func (s *UpdateTemplatePermissionsOutput) SetStatus(v int64) *UpdateTemplatePermissionsOutput {
26593	s.Status = &v
26594	return s
26595}
26596
26597// SetTemplateArn sets the TemplateArn field's value.
26598func (s *UpdateTemplatePermissionsOutput) SetTemplateArn(v string) *UpdateTemplatePermissionsOutput {
26599	s.TemplateArn = &v
26600	return s
26601}
26602
26603// SetTemplateId sets the TemplateId field's value.
26604func (s *UpdateTemplatePermissionsOutput) SetTemplateId(v string) *UpdateTemplatePermissionsOutput {
26605	s.TemplateId = &v
26606	return s
26607}
26608
26609type UpdateThemeAliasInput struct {
26610	_ struct{} `type:"structure"`
26611
26612	// The name of the theme alias that you want to update.
26613	//
26614	// AliasName is a required field
26615	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
26616
26617	// The ID of the AWS account that contains the theme alias that you're updating.
26618	//
26619	// AwsAccountId is a required field
26620	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
26621
26622	// The ID for the theme.
26623	//
26624	// ThemeId is a required field
26625	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
26626
26627	// The version number of the theme that the alias should reference.
26628	//
26629	// ThemeVersionNumber is a required field
26630	ThemeVersionNumber *int64 `min:"1" type:"long" required:"true"`
26631}
26632
26633// String returns the string representation
26634func (s UpdateThemeAliasInput) String() string {
26635	return awsutil.Prettify(s)
26636}
26637
26638// GoString returns the string representation
26639func (s UpdateThemeAliasInput) GoString() string {
26640	return s.String()
26641}
26642
26643// Validate inspects the fields of the type to determine if they are valid.
26644func (s *UpdateThemeAliasInput) Validate() error {
26645	invalidParams := request.ErrInvalidParams{Context: "UpdateThemeAliasInput"}
26646	if s.AliasName == nil {
26647		invalidParams.Add(request.NewErrParamRequired("AliasName"))
26648	}
26649	if s.AliasName != nil && len(*s.AliasName) < 1 {
26650		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
26651	}
26652	if s.AwsAccountId == nil {
26653		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
26654	}
26655	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
26656		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
26657	}
26658	if s.ThemeId == nil {
26659		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
26660	}
26661	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
26662		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
26663	}
26664	if s.ThemeVersionNumber == nil {
26665		invalidParams.Add(request.NewErrParamRequired("ThemeVersionNumber"))
26666	}
26667	if s.ThemeVersionNumber != nil && *s.ThemeVersionNumber < 1 {
26668		invalidParams.Add(request.NewErrParamMinValue("ThemeVersionNumber", 1))
26669	}
26670
26671	if invalidParams.Len() > 0 {
26672		return invalidParams
26673	}
26674	return nil
26675}
26676
26677// SetAliasName sets the AliasName field's value.
26678func (s *UpdateThemeAliasInput) SetAliasName(v string) *UpdateThemeAliasInput {
26679	s.AliasName = &v
26680	return s
26681}
26682
26683// SetAwsAccountId sets the AwsAccountId field's value.
26684func (s *UpdateThemeAliasInput) SetAwsAccountId(v string) *UpdateThemeAliasInput {
26685	s.AwsAccountId = &v
26686	return s
26687}
26688
26689// SetThemeId sets the ThemeId field's value.
26690func (s *UpdateThemeAliasInput) SetThemeId(v string) *UpdateThemeAliasInput {
26691	s.ThemeId = &v
26692	return s
26693}
26694
26695// SetThemeVersionNumber sets the ThemeVersionNumber field's value.
26696func (s *UpdateThemeAliasInput) SetThemeVersionNumber(v int64) *UpdateThemeAliasInput {
26697	s.ThemeVersionNumber = &v
26698	return s
26699}
26700
26701type UpdateThemeAliasOutput struct {
26702	_ struct{} `type:"structure"`
26703
26704	// The AWS request ID for this operation.
26705	RequestId *string `type:"string"`
26706
26707	// The HTTP status of the request.
26708	Status *int64 `location:"statusCode" type:"integer"`
26709
26710	// Information about the theme alias.
26711	ThemeAlias *ThemeAlias `type:"structure"`
26712}
26713
26714// String returns the string representation
26715func (s UpdateThemeAliasOutput) String() string {
26716	return awsutil.Prettify(s)
26717}
26718
26719// GoString returns the string representation
26720func (s UpdateThemeAliasOutput) GoString() string {
26721	return s.String()
26722}
26723
26724// SetRequestId sets the RequestId field's value.
26725func (s *UpdateThemeAliasOutput) SetRequestId(v string) *UpdateThemeAliasOutput {
26726	s.RequestId = &v
26727	return s
26728}
26729
26730// SetStatus sets the Status field's value.
26731func (s *UpdateThemeAliasOutput) SetStatus(v int64) *UpdateThemeAliasOutput {
26732	s.Status = &v
26733	return s
26734}
26735
26736// SetThemeAlias sets the ThemeAlias field's value.
26737func (s *UpdateThemeAliasOutput) SetThemeAlias(v *ThemeAlias) *UpdateThemeAliasOutput {
26738	s.ThemeAlias = v
26739	return s
26740}
26741
26742type UpdateThemeInput struct {
26743	_ struct{} `type:"structure"`
26744
26745	// The ID of the AWS account that contains the theme that you're updating.
26746	//
26747	// AwsAccountId is a required field
26748	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
26749
26750	// The theme ID, defined by Amazon QuickSight, that a custom theme inherits
26751	// from. All themes initially inherit from a default QuickSight theme.
26752	//
26753	// BaseThemeId is a required field
26754	BaseThemeId *string `min:"1" type:"string" required:"true"`
26755
26756	// The theme configuration, which contains the theme display properties.
26757	Configuration *ThemeConfiguration `type:"structure"`
26758
26759	// The name for the theme.
26760	Name *string `min:"1" type:"string"`
26761
26762	// The ID for the theme.
26763	//
26764	// ThemeId is a required field
26765	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
26766
26767	// A description of the theme version that you're updating Every time that you
26768	// call UpdateTheme, you create a new version of the theme. Each version of
26769	// the theme maintains a description of the version in VersionDescription.
26770	VersionDescription *string `min:"1" type:"string"`
26771}
26772
26773// String returns the string representation
26774func (s UpdateThemeInput) String() string {
26775	return awsutil.Prettify(s)
26776}
26777
26778// GoString returns the string representation
26779func (s UpdateThemeInput) GoString() string {
26780	return s.String()
26781}
26782
26783// Validate inspects the fields of the type to determine if they are valid.
26784func (s *UpdateThemeInput) Validate() error {
26785	invalidParams := request.ErrInvalidParams{Context: "UpdateThemeInput"}
26786	if s.AwsAccountId == nil {
26787		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
26788	}
26789	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
26790		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
26791	}
26792	if s.BaseThemeId == nil {
26793		invalidParams.Add(request.NewErrParamRequired("BaseThemeId"))
26794	}
26795	if s.BaseThemeId != nil && len(*s.BaseThemeId) < 1 {
26796		invalidParams.Add(request.NewErrParamMinLen("BaseThemeId", 1))
26797	}
26798	if s.Name != nil && len(*s.Name) < 1 {
26799		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
26800	}
26801	if s.ThemeId == nil {
26802		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
26803	}
26804	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
26805		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
26806	}
26807	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
26808		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
26809	}
26810
26811	if invalidParams.Len() > 0 {
26812		return invalidParams
26813	}
26814	return nil
26815}
26816
26817// SetAwsAccountId sets the AwsAccountId field's value.
26818func (s *UpdateThemeInput) SetAwsAccountId(v string) *UpdateThemeInput {
26819	s.AwsAccountId = &v
26820	return s
26821}
26822
26823// SetBaseThemeId sets the BaseThemeId field's value.
26824func (s *UpdateThemeInput) SetBaseThemeId(v string) *UpdateThemeInput {
26825	s.BaseThemeId = &v
26826	return s
26827}
26828
26829// SetConfiguration sets the Configuration field's value.
26830func (s *UpdateThemeInput) SetConfiguration(v *ThemeConfiguration) *UpdateThemeInput {
26831	s.Configuration = v
26832	return s
26833}
26834
26835// SetName sets the Name field's value.
26836func (s *UpdateThemeInput) SetName(v string) *UpdateThemeInput {
26837	s.Name = &v
26838	return s
26839}
26840
26841// SetThemeId sets the ThemeId field's value.
26842func (s *UpdateThemeInput) SetThemeId(v string) *UpdateThemeInput {
26843	s.ThemeId = &v
26844	return s
26845}
26846
26847// SetVersionDescription sets the VersionDescription field's value.
26848func (s *UpdateThemeInput) SetVersionDescription(v string) *UpdateThemeInput {
26849	s.VersionDescription = &v
26850	return s
26851}
26852
26853type UpdateThemeOutput struct {
26854	_ struct{} `type:"structure"`
26855
26856	// The Amazon Resource Name (ARN) for the theme.
26857	Arn *string `type:"string"`
26858
26859	// The creation status of the theme.
26860	CreationStatus *string `type:"string" enum:"ResourceStatus"`
26861
26862	// The AWS request ID for this operation.
26863	RequestId *string `type:"string"`
26864
26865	// The HTTP status of the request.
26866	Status *int64 `location:"statusCode" type:"integer"`
26867
26868	// The ID for the theme.
26869	ThemeId *string `min:"1" type:"string"`
26870
26871	// The Amazon Resource Name (ARN) for the new version of the theme.
26872	VersionArn *string `type:"string"`
26873}
26874
26875// String returns the string representation
26876func (s UpdateThemeOutput) String() string {
26877	return awsutil.Prettify(s)
26878}
26879
26880// GoString returns the string representation
26881func (s UpdateThemeOutput) GoString() string {
26882	return s.String()
26883}
26884
26885// SetArn sets the Arn field's value.
26886func (s *UpdateThemeOutput) SetArn(v string) *UpdateThemeOutput {
26887	s.Arn = &v
26888	return s
26889}
26890
26891// SetCreationStatus sets the CreationStatus field's value.
26892func (s *UpdateThemeOutput) SetCreationStatus(v string) *UpdateThemeOutput {
26893	s.CreationStatus = &v
26894	return s
26895}
26896
26897// SetRequestId sets the RequestId field's value.
26898func (s *UpdateThemeOutput) SetRequestId(v string) *UpdateThemeOutput {
26899	s.RequestId = &v
26900	return s
26901}
26902
26903// SetStatus sets the Status field's value.
26904func (s *UpdateThemeOutput) SetStatus(v int64) *UpdateThemeOutput {
26905	s.Status = &v
26906	return s
26907}
26908
26909// SetThemeId sets the ThemeId field's value.
26910func (s *UpdateThemeOutput) SetThemeId(v string) *UpdateThemeOutput {
26911	s.ThemeId = &v
26912	return s
26913}
26914
26915// SetVersionArn sets the VersionArn field's value.
26916func (s *UpdateThemeOutput) SetVersionArn(v string) *UpdateThemeOutput {
26917	s.VersionArn = &v
26918	return s
26919}
26920
26921type UpdateThemePermissionsInput struct {
26922	_ struct{} `type:"structure"`
26923
26924	// The ID of the AWS account that contains the theme.
26925	//
26926	// AwsAccountId is a required field
26927	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
26928
26929	// A list of resource permissions to be granted for the theme.
26930	GrantPermissions []*ResourcePermission `type:"list"`
26931
26932	// A list of resource permissions to be revoked from the theme.
26933	RevokePermissions []*ResourcePermission `type:"list"`
26934
26935	// The ID for the theme.
26936	//
26937	// ThemeId is a required field
26938	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
26939}
26940
26941// String returns the string representation
26942func (s UpdateThemePermissionsInput) String() string {
26943	return awsutil.Prettify(s)
26944}
26945
26946// GoString returns the string representation
26947func (s UpdateThemePermissionsInput) GoString() string {
26948	return s.String()
26949}
26950
26951// Validate inspects the fields of the type to determine if they are valid.
26952func (s *UpdateThemePermissionsInput) Validate() error {
26953	invalidParams := request.ErrInvalidParams{Context: "UpdateThemePermissionsInput"}
26954	if s.AwsAccountId == nil {
26955		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
26956	}
26957	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
26958		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
26959	}
26960	if s.ThemeId == nil {
26961		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
26962	}
26963	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
26964		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
26965	}
26966	if s.GrantPermissions != nil {
26967		for i, v := range s.GrantPermissions {
26968			if v == nil {
26969				continue
26970			}
26971			if err := v.Validate(); err != nil {
26972				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
26973			}
26974		}
26975	}
26976	if s.RevokePermissions != nil {
26977		for i, v := range s.RevokePermissions {
26978			if v == nil {
26979				continue
26980			}
26981			if err := v.Validate(); err != nil {
26982				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
26983			}
26984		}
26985	}
26986
26987	if invalidParams.Len() > 0 {
26988		return invalidParams
26989	}
26990	return nil
26991}
26992
26993// SetAwsAccountId sets the AwsAccountId field's value.
26994func (s *UpdateThemePermissionsInput) SetAwsAccountId(v string) *UpdateThemePermissionsInput {
26995	s.AwsAccountId = &v
26996	return s
26997}
26998
26999// SetGrantPermissions sets the GrantPermissions field's value.
27000func (s *UpdateThemePermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateThemePermissionsInput {
27001	s.GrantPermissions = v
27002	return s
27003}
27004
27005// SetRevokePermissions sets the RevokePermissions field's value.
27006func (s *UpdateThemePermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateThemePermissionsInput {
27007	s.RevokePermissions = v
27008	return s
27009}
27010
27011// SetThemeId sets the ThemeId field's value.
27012func (s *UpdateThemePermissionsInput) SetThemeId(v string) *UpdateThemePermissionsInput {
27013	s.ThemeId = &v
27014	return s
27015}
27016
27017type UpdateThemePermissionsOutput struct {
27018	_ struct{} `type:"structure"`
27019
27020	// The resulting list of resource permissions for the theme.
27021	Permissions []*ResourcePermission `min:"1" type:"list"`
27022
27023	// The AWS request ID for this operation.
27024	RequestId *string `type:"string"`
27025
27026	// The HTTP status of the request.
27027	Status *int64 `location:"statusCode" type:"integer"`
27028
27029	// The Amazon Resource Name (ARN) of the theme.
27030	ThemeArn *string `type:"string"`
27031
27032	// The ID for the theme.
27033	ThemeId *string `min:"1" type:"string"`
27034}
27035
27036// String returns the string representation
27037func (s UpdateThemePermissionsOutput) String() string {
27038	return awsutil.Prettify(s)
27039}
27040
27041// GoString returns the string representation
27042func (s UpdateThemePermissionsOutput) GoString() string {
27043	return s.String()
27044}
27045
27046// SetPermissions sets the Permissions field's value.
27047func (s *UpdateThemePermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateThemePermissionsOutput {
27048	s.Permissions = v
27049	return s
27050}
27051
27052// SetRequestId sets the RequestId field's value.
27053func (s *UpdateThemePermissionsOutput) SetRequestId(v string) *UpdateThemePermissionsOutput {
27054	s.RequestId = &v
27055	return s
27056}
27057
27058// SetStatus sets the Status field's value.
27059func (s *UpdateThemePermissionsOutput) SetStatus(v int64) *UpdateThemePermissionsOutput {
27060	s.Status = &v
27061	return s
27062}
27063
27064// SetThemeArn sets the ThemeArn field's value.
27065func (s *UpdateThemePermissionsOutput) SetThemeArn(v string) *UpdateThemePermissionsOutput {
27066	s.ThemeArn = &v
27067	return s
27068}
27069
27070// SetThemeId sets the ThemeId field's value.
27071func (s *UpdateThemePermissionsOutput) SetThemeId(v string) *UpdateThemePermissionsOutput {
27072	s.ThemeId = &v
27073	return s
27074}
27075
27076type UpdateUserInput struct {
27077	_ struct{} `type:"structure"`
27078
27079	// The ID for the AWS account that the user is in. Currently, you use the ID
27080	// for the AWS account that contains your Amazon QuickSight account.
27081	//
27082	// AwsAccountId is a required field
27083	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
27084
27085	// The email address of the user that you want to update.
27086	//
27087	// Email is a required field
27088	Email *string `type:"string" required:"true"`
27089
27090	// The namespace. Currently, you should set this to default.
27091	//
27092	// Namespace is a required field
27093	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
27094
27095	// The Amazon QuickSight role of the user. The user role can be one of the following:
27096	//
27097	//    * READER: A user who has read-only access to dashboards.
27098	//
27099	//    * AUTHOR: A user who can create data sources, datasets, analyses, and
27100	//    dashboards.
27101	//
27102	//    * ADMIN: A user who is an author, who can also manage Amazon QuickSight
27103	//    settings.
27104	//
27105	// Role is a required field
27106	Role *string `type:"string" required:"true" enum:"UserRole"`
27107
27108	// The Amazon QuickSight user name that you want to update.
27109	//
27110	// UserName is a required field
27111	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
27112}
27113
27114// String returns the string representation
27115func (s UpdateUserInput) String() string {
27116	return awsutil.Prettify(s)
27117}
27118
27119// GoString returns the string representation
27120func (s UpdateUserInput) GoString() string {
27121	return s.String()
27122}
27123
27124// Validate inspects the fields of the type to determine if they are valid.
27125func (s *UpdateUserInput) Validate() error {
27126	invalidParams := request.ErrInvalidParams{Context: "UpdateUserInput"}
27127	if s.AwsAccountId == nil {
27128		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
27129	}
27130	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
27131		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
27132	}
27133	if s.Email == nil {
27134		invalidParams.Add(request.NewErrParamRequired("Email"))
27135	}
27136	if s.Namespace == nil {
27137		invalidParams.Add(request.NewErrParamRequired("Namespace"))
27138	}
27139	if s.Namespace != nil && len(*s.Namespace) < 1 {
27140		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
27141	}
27142	if s.Role == nil {
27143		invalidParams.Add(request.NewErrParamRequired("Role"))
27144	}
27145	if s.UserName == nil {
27146		invalidParams.Add(request.NewErrParamRequired("UserName"))
27147	}
27148	if s.UserName != nil && len(*s.UserName) < 1 {
27149		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
27150	}
27151
27152	if invalidParams.Len() > 0 {
27153		return invalidParams
27154	}
27155	return nil
27156}
27157
27158// SetAwsAccountId sets the AwsAccountId field's value.
27159func (s *UpdateUserInput) SetAwsAccountId(v string) *UpdateUserInput {
27160	s.AwsAccountId = &v
27161	return s
27162}
27163
27164// SetEmail sets the Email field's value.
27165func (s *UpdateUserInput) SetEmail(v string) *UpdateUserInput {
27166	s.Email = &v
27167	return s
27168}
27169
27170// SetNamespace sets the Namespace field's value.
27171func (s *UpdateUserInput) SetNamespace(v string) *UpdateUserInput {
27172	s.Namespace = &v
27173	return s
27174}
27175
27176// SetRole sets the Role field's value.
27177func (s *UpdateUserInput) SetRole(v string) *UpdateUserInput {
27178	s.Role = &v
27179	return s
27180}
27181
27182// SetUserName sets the UserName field's value.
27183func (s *UpdateUserInput) SetUserName(v string) *UpdateUserInput {
27184	s.UserName = &v
27185	return s
27186}
27187
27188type UpdateUserOutput struct {
27189	_ struct{} `type:"structure"`
27190
27191	// The AWS request ID for this operation.
27192	RequestId *string `type:"string"`
27193
27194	// The HTTP status of the request.
27195	Status *int64 `location:"statusCode" type:"integer"`
27196
27197	// The Amazon QuickSight user.
27198	User *User `type:"structure"`
27199}
27200
27201// String returns the string representation
27202func (s UpdateUserOutput) String() string {
27203	return awsutil.Prettify(s)
27204}
27205
27206// GoString returns the string representation
27207func (s UpdateUserOutput) GoString() string {
27208	return s.String()
27209}
27210
27211// SetRequestId sets the RequestId field's value.
27212func (s *UpdateUserOutput) SetRequestId(v string) *UpdateUserOutput {
27213	s.RequestId = &v
27214	return s
27215}
27216
27217// SetStatus sets the Status field's value.
27218func (s *UpdateUserOutput) SetStatus(v int64) *UpdateUserOutput {
27219	s.Status = &v
27220	return s
27221}
27222
27223// SetUser sets the User field's value.
27224func (s *UpdateUserOutput) SetUser(v *User) *UpdateUserOutput {
27225	s.User = v
27226	return s
27227}
27228
27229// Information about the format for a source file or files.
27230type UploadSettings struct {
27231	_ struct{} `type:"structure"`
27232
27233	// Whether the file has a header row, or the files each have a header row.
27234	ContainsHeader *bool `type:"boolean"`
27235
27236	// The delimiter between values in the file.
27237	Delimiter *string `min:"1" type:"string"`
27238
27239	// File format.
27240	Format *string `type:"string" enum:"FileFormat"`
27241
27242	// A row number to start reading data from.
27243	StartFromRow *int64 `min:"1" type:"integer"`
27244
27245	// Text qualifier.
27246	TextQualifier *string `type:"string" enum:"TextQualifier"`
27247}
27248
27249// String returns the string representation
27250func (s UploadSettings) String() string {
27251	return awsutil.Prettify(s)
27252}
27253
27254// GoString returns the string representation
27255func (s UploadSettings) GoString() string {
27256	return s.String()
27257}
27258
27259// Validate inspects the fields of the type to determine if they are valid.
27260func (s *UploadSettings) Validate() error {
27261	invalidParams := request.ErrInvalidParams{Context: "UploadSettings"}
27262	if s.Delimiter != nil && len(*s.Delimiter) < 1 {
27263		invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1))
27264	}
27265	if s.StartFromRow != nil && *s.StartFromRow < 1 {
27266		invalidParams.Add(request.NewErrParamMinValue("StartFromRow", 1))
27267	}
27268
27269	if invalidParams.Len() > 0 {
27270		return invalidParams
27271	}
27272	return nil
27273}
27274
27275// SetContainsHeader sets the ContainsHeader field's value.
27276func (s *UploadSettings) SetContainsHeader(v bool) *UploadSettings {
27277	s.ContainsHeader = &v
27278	return s
27279}
27280
27281// SetDelimiter sets the Delimiter field's value.
27282func (s *UploadSettings) SetDelimiter(v string) *UploadSettings {
27283	s.Delimiter = &v
27284	return s
27285}
27286
27287// SetFormat sets the Format field's value.
27288func (s *UploadSettings) SetFormat(v string) *UploadSettings {
27289	s.Format = &v
27290	return s
27291}
27292
27293// SetStartFromRow sets the StartFromRow field's value.
27294func (s *UploadSettings) SetStartFromRow(v int64) *UploadSettings {
27295	s.StartFromRow = &v
27296	return s
27297}
27298
27299// SetTextQualifier sets the TextQualifier field's value.
27300func (s *UploadSettings) SetTextQualifier(v string) *UploadSettings {
27301	s.TextQualifier = &v
27302	return s
27303}
27304
27305// A registered user of Amazon QuickSight. Currently, an Amazon QuickSight subscription
27306// can't contain more than 20 million users.
27307type User struct {
27308	_ struct{} `type:"structure"`
27309
27310	// The active status of user. When you create an Amazon QuickSight user that’s
27311	// not an IAM user or an Active Directory user, that user is inactive until
27312	// they sign in and provide a password.
27313	Active *bool `type:"boolean"`
27314
27315	// The Amazon Resource Name (ARN) for the user.
27316	Arn *string `type:"string"`
27317
27318	// The user's email address.
27319	Email *string `type:"string"`
27320
27321	// The type of identity authentication used by the user.
27322	IdentityType *string `type:"string" enum:"IdentityType"`
27323
27324	// The principal ID of the user.
27325	PrincipalId *string `type:"string"`
27326
27327	// The Amazon QuickSight role for the user. The user role can be one of the
27328	// following:.
27329	//
27330	//    * READER: A user who has read-only access to dashboards.
27331	//
27332	//    * AUTHOR: A user who can create data sources, datasets, analyses, and
27333	//    dashboards.
27334	//
27335	//    * ADMIN: A user who is an author, who can also manage Amazon QuickSight
27336	//    settings.
27337	//
27338	//    * RESTRICTED_READER: This role isn't currently available for use.
27339	//
27340	//    * RESTRICTED_AUTHOR: This role isn't currently available for use.
27341	Role *string `type:"string" enum:"UserRole"`
27342
27343	// The user's user name.
27344	UserName *string `min:"1" type:"string"`
27345}
27346
27347// String returns the string representation
27348func (s User) String() string {
27349	return awsutil.Prettify(s)
27350}
27351
27352// GoString returns the string representation
27353func (s User) GoString() string {
27354	return s.String()
27355}
27356
27357// SetActive sets the Active field's value.
27358func (s *User) SetActive(v bool) *User {
27359	s.Active = &v
27360	return s
27361}
27362
27363// SetArn sets the Arn field's value.
27364func (s *User) SetArn(v string) *User {
27365	s.Arn = &v
27366	return s
27367}
27368
27369// SetEmail sets the Email field's value.
27370func (s *User) SetEmail(v string) *User {
27371	s.Email = &v
27372	return s
27373}
27374
27375// SetIdentityType sets the IdentityType field's value.
27376func (s *User) SetIdentityType(v string) *User {
27377	s.IdentityType = &v
27378	return s
27379}
27380
27381// SetPrincipalId sets the PrincipalId field's value.
27382func (s *User) SetPrincipalId(v string) *User {
27383	s.PrincipalId = &v
27384	return s
27385}
27386
27387// SetRole sets the Role field's value.
27388func (s *User) SetRole(v string) *User {
27389	s.Role = &v
27390	return s
27391}
27392
27393// SetUserName sets the UserName field's value.
27394func (s *User) SetUserName(v string) *User {
27395	s.UserName = &v
27396	return s
27397}
27398
27399// The user with the provided name isn't found. This error can happen in any
27400// operation that requires finding a user based on a provided user name, such
27401// as DeleteUser, DescribeUser, and so on.
27402type UserNotFoundException struct {
27403	_            struct{}                  `type:"structure"`
27404	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
27405
27406	Message_ *string `locationName:"Message" type:"string"`
27407
27408	// The AWS request ID for this request.
27409	RequestId *string `type:"string"`
27410}
27411
27412// String returns the string representation
27413func (s UserNotFoundException) String() string {
27414	return awsutil.Prettify(s)
27415}
27416
27417// GoString returns the string representation
27418func (s UserNotFoundException) GoString() string {
27419	return s.String()
27420}
27421
27422func newErrorUserNotFoundException(v protocol.ResponseMetadata) error {
27423	return &UserNotFoundException{
27424		RespMetadata: v,
27425	}
27426}
27427
27428// Code returns the exception type name.
27429func (s *UserNotFoundException) Code() string {
27430	return "QuickSightUserNotFoundException"
27431}
27432
27433// Message returns the exception's message.
27434func (s *UserNotFoundException) Message() string {
27435	if s.Message_ != nil {
27436		return *s.Message_
27437	}
27438	return ""
27439}
27440
27441// OrigErr always returns nil, satisfies awserr.Error interface.
27442func (s *UserNotFoundException) OrigErr() error {
27443	return nil
27444}
27445
27446func (s *UserNotFoundException) Error() string {
27447	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
27448}
27449
27450// Status code returns the HTTP status code for the request's response error.
27451func (s *UserNotFoundException) StatusCode() int {
27452	return s.RespMetadata.StatusCode
27453}
27454
27455// RequestID returns the service's response RequestID for request.
27456func (s *UserNotFoundException) RequestID() string {
27457	return s.RespMetadata.RequestID
27458}
27459
27460// VPC connection properties.
27461type VpcConnectionProperties struct {
27462	_ struct{} `type:"structure"`
27463
27464	// The Amazon Resource Name (ARN) for the VPC connection.
27465	//
27466	// VpcConnectionArn is a required field
27467	VpcConnectionArn *string `type:"string" required:"true"`
27468}
27469
27470// String returns the string representation
27471func (s VpcConnectionProperties) String() string {
27472	return awsutil.Prettify(s)
27473}
27474
27475// GoString returns the string representation
27476func (s VpcConnectionProperties) GoString() string {
27477	return s.String()
27478}
27479
27480// Validate inspects the fields of the type to determine if they are valid.
27481func (s *VpcConnectionProperties) Validate() error {
27482	invalidParams := request.ErrInvalidParams{Context: "VpcConnectionProperties"}
27483	if s.VpcConnectionArn == nil {
27484		invalidParams.Add(request.NewErrParamRequired("VpcConnectionArn"))
27485	}
27486
27487	if invalidParams.Len() > 0 {
27488		return invalidParams
27489	}
27490	return nil
27491}
27492
27493// SetVpcConnectionArn sets the VpcConnectionArn field's value.
27494func (s *VpcConnectionProperties) SetVpcConnectionArn(v string) *VpcConnectionProperties {
27495	s.VpcConnectionArn = &v
27496	return s
27497}
27498
27499const (
27500	// AssignmentStatusEnabled is a AssignmentStatus enum value
27501	AssignmentStatusEnabled = "ENABLED"
27502
27503	// AssignmentStatusDraft is a AssignmentStatus enum value
27504	AssignmentStatusDraft = "DRAFT"
27505
27506	// AssignmentStatusDisabled is a AssignmentStatus enum value
27507	AssignmentStatusDisabled = "DISABLED"
27508)
27509
27510const (
27511	// ColumnDataTypeString is a ColumnDataType enum value
27512	ColumnDataTypeString = "STRING"
27513
27514	// ColumnDataTypeInteger is a ColumnDataType enum value
27515	ColumnDataTypeInteger = "INTEGER"
27516
27517	// ColumnDataTypeDecimal is a ColumnDataType enum value
27518	ColumnDataTypeDecimal = "DECIMAL"
27519
27520	// ColumnDataTypeDatetime is a ColumnDataType enum value
27521	ColumnDataTypeDatetime = "DATETIME"
27522)
27523
27524const (
27525	// DashboardBehaviorEnabled is a DashboardBehavior enum value
27526	DashboardBehaviorEnabled = "ENABLED"
27527
27528	// DashboardBehaviorDisabled is a DashboardBehavior enum value
27529	DashboardBehaviorDisabled = "DISABLED"
27530)
27531
27532const (
27533	// DashboardErrorTypeAccessDenied is a DashboardErrorType enum value
27534	DashboardErrorTypeAccessDenied = "ACCESS_DENIED"
27535
27536	// DashboardErrorTypeSourceNotFound is a DashboardErrorType enum value
27537	DashboardErrorTypeSourceNotFound = "SOURCE_NOT_FOUND"
27538
27539	// DashboardErrorTypeDataSetNotFound is a DashboardErrorType enum value
27540	DashboardErrorTypeDataSetNotFound = "DATA_SET_NOT_FOUND"
27541
27542	// DashboardErrorTypeInternalFailure is a DashboardErrorType enum value
27543	DashboardErrorTypeInternalFailure = "INTERNAL_FAILURE"
27544
27545	// DashboardErrorTypeParameterValueIncompatible is a DashboardErrorType enum value
27546	DashboardErrorTypeParameterValueIncompatible = "PARAMETER_VALUE_INCOMPATIBLE"
27547
27548	// DashboardErrorTypeParameterTypeInvalid is a DashboardErrorType enum value
27549	DashboardErrorTypeParameterTypeInvalid = "PARAMETER_TYPE_INVALID"
27550
27551	// DashboardErrorTypeParameterNotFound is a DashboardErrorType enum value
27552	DashboardErrorTypeParameterNotFound = "PARAMETER_NOT_FOUND"
27553
27554	// DashboardErrorTypeColumnTypeMismatch is a DashboardErrorType enum value
27555	DashboardErrorTypeColumnTypeMismatch = "COLUMN_TYPE_MISMATCH"
27556
27557	// DashboardErrorTypeColumnGeographicRoleMismatch is a DashboardErrorType enum value
27558	DashboardErrorTypeColumnGeographicRoleMismatch = "COLUMN_GEOGRAPHIC_ROLE_MISMATCH"
27559
27560	// DashboardErrorTypeColumnReplacementMissing is a DashboardErrorType enum value
27561	DashboardErrorTypeColumnReplacementMissing = "COLUMN_REPLACEMENT_MISSING"
27562)
27563
27564const (
27565	// DashboardFilterAttributeQuicksightUser is a DashboardFilterAttribute enum value
27566	DashboardFilterAttributeQuicksightUser = "QUICKSIGHT_USER"
27567)
27568
27569const (
27570	// DashboardUIStateExpanded is a DashboardUIState enum value
27571	DashboardUIStateExpanded = "EXPANDED"
27572
27573	// DashboardUIStateCollapsed is a DashboardUIState enum value
27574	DashboardUIStateCollapsed = "COLLAPSED"
27575)
27576
27577const (
27578	// DataSetImportModeSpice is a DataSetImportMode enum value
27579	DataSetImportModeSpice = "SPICE"
27580
27581	// DataSetImportModeDirectQuery is a DataSetImportMode enum value
27582	DataSetImportModeDirectQuery = "DIRECT_QUERY"
27583)
27584
27585const (
27586	// DataSourceErrorInfoTypeAccessDenied is a DataSourceErrorInfoType enum value
27587	DataSourceErrorInfoTypeAccessDenied = "ACCESS_DENIED"
27588
27589	// DataSourceErrorInfoTypeCopySourceNotFound is a DataSourceErrorInfoType enum value
27590	DataSourceErrorInfoTypeCopySourceNotFound = "COPY_SOURCE_NOT_FOUND"
27591
27592	// DataSourceErrorInfoTypeTimeout is a DataSourceErrorInfoType enum value
27593	DataSourceErrorInfoTypeTimeout = "TIMEOUT"
27594
27595	// DataSourceErrorInfoTypeEngineVersionNotSupported is a DataSourceErrorInfoType enum value
27596	DataSourceErrorInfoTypeEngineVersionNotSupported = "ENGINE_VERSION_NOT_SUPPORTED"
27597
27598	// DataSourceErrorInfoTypeUnknownHost is a DataSourceErrorInfoType enum value
27599	DataSourceErrorInfoTypeUnknownHost = "UNKNOWN_HOST"
27600
27601	// DataSourceErrorInfoTypeGenericSqlFailure is a DataSourceErrorInfoType enum value
27602	DataSourceErrorInfoTypeGenericSqlFailure = "GENERIC_SQL_FAILURE"
27603
27604	// DataSourceErrorInfoTypeConflict is a DataSourceErrorInfoType enum value
27605	DataSourceErrorInfoTypeConflict = "CONFLICT"
27606
27607	// DataSourceErrorInfoTypeUnknown is a DataSourceErrorInfoType enum value
27608	DataSourceErrorInfoTypeUnknown = "UNKNOWN"
27609)
27610
27611const (
27612	// DataSourceTypeAdobeAnalytics is a DataSourceType enum value
27613	DataSourceTypeAdobeAnalytics = "ADOBE_ANALYTICS"
27614
27615	// DataSourceTypeAmazonElasticsearch is a DataSourceType enum value
27616	DataSourceTypeAmazonElasticsearch = "AMAZON_ELASTICSEARCH"
27617
27618	// DataSourceTypeAthena is a DataSourceType enum value
27619	DataSourceTypeAthena = "ATHENA"
27620
27621	// DataSourceTypeAurora is a DataSourceType enum value
27622	DataSourceTypeAurora = "AURORA"
27623
27624	// DataSourceTypeAuroraPostgresql is a DataSourceType enum value
27625	DataSourceTypeAuroraPostgresql = "AURORA_POSTGRESQL"
27626
27627	// DataSourceTypeAwsIotAnalytics is a DataSourceType enum value
27628	DataSourceTypeAwsIotAnalytics = "AWS_IOT_ANALYTICS"
27629
27630	// DataSourceTypeGithub is a DataSourceType enum value
27631	DataSourceTypeGithub = "GITHUB"
27632
27633	// DataSourceTypeJira is a DataSourceType enum value
27634	DataSourceTypeJira = "JIRA"
27635
27636	// DataSourceTypeMariadb is a DataSourceType enum value
27637	DataSourceTypeMariadb = "MARIADB"
27638
27639	// DataSourceTypeMysql is a DataSourceType enum value
27640	DataSourceTypeMysql = "MYSQL"
27641
27642	// DataSourceTypePostgresql is a DataSourceType enum value
27643	DataSourceTypePostgresql = "POSTGRESQL"
27644
27645	// DataSourceTypePresto is a DataSourceType enum value
27646	DataSourceTypePresto = "PRESTO"
27647
27648	// DataSourceTypeRedshift is a DataSourceType enum value
27649	DataSourceTypeRedshift = "REDSHIFT"
27650
27651	// DataSourceTypeS3 is a DataSourceType enum value
27652	DataSourceTypeS3 = "S3"
27653
27654	// DataSourceTypeSalesforce is a DataSourceType enum value
27655	DataSourceTypeSalesforce = "SALESFORCE"
27656
27657	// DataSourceTypeServicenow is a DataSourceType enum value
27658	DataSourceTypeServicenow = "SERVICENOW"
27659
27660	// DataSourceTypeSnowflake is a DataSourceType enum value
27661	DataSourceTypeSnowflake = "SNOWFLAKE"
27662
27663	// DataSourceTypeSpark is a DataSourceType enum value
27664	DataSourceTypeSpark = "SPARK"
27665
27666	// DataSourceTypeSqlserver is a DataSourceType enum value
27667	DataSourceTypeSqlserver = "SQLSERVER"
27668
27669	// DataSourceTypeTeradata is a DataSourceType enum value
27670	DataSourceTypeTeradata = "TERADATA"
27671
27672	// DataSourceTypeTwitter is a DataSourceType enum value
27673	DataSourceTypeTwitter = "TWITTER"
27674)
27675
27676const (
27677	// ExceptionResourceTypeUser is a ExceptionResourceType enum value
27678	ExceptionResourceTypeUser = "USER"
27679
27680	// ExceptionResourceTypeGroup is a ExceptionResourceType enum value
27681	ExceptionResourceTypeGroup = "GROUP"
27682
27683	// ExceptionResourceTypeNamespace is a ExceptionResourceType enum value
27684	ExceptionResourceTypeNamespace = "NAMESPACE"
27685
27686	// ExceptionResourceTypeAccountSettings is a ExceptionResourceType enum value
27687	ExceptionResourceTypeAccountSettings = "ACCOUNT_SETTINGS"
27688
27689	// ExceptionResourceTypeIampolicyAssignment is a ExceptionResourceType enum value
27690	ExceptionResourceTypeIampolicyAssignment = "IAMPOLICY_ASSIGNMENT"
27691
27692	// ExceptionResourceTypeDataSource is a ExceptionResourceType enum value
27693	ExceptionResourceTypeDataSource = "DATA_SOURCE"
27694
27695	// ExceptionResourceTypeDataSet is a ExceptionResourceType enum value
27696	ExceptionResourceTypeDataSet = "DATA_SET"
27697
27698	// ExceptionResourceTypeVpcConnection is a ExceptionResourceType enum value
27699	ExceptionResourceTypeVpcConnection = "VPC_CONNECTION"
27700
27701	// ExceptionResourceTypeIngestion is a ExceptionResourceType enum value
27702	ExceptionResourceTypeIngestion = "INGESTION"
27703)
27704
27705const (
27706	// FileFormatCsv is a FileFormat enum value
27707	FileFormatCsv = "CSV"
27708
27709	// FileFormatTsv is a FileFormat enum value
27710	FileFormatTsv = "TSV"
27711
27712	// FileFormatClf is a FileFormat enum value
27713	FileFormatClf = "CLF"
27714
27715	// FileFormatElf is a FileFormat enum value
27716	FileFormatElf = "ELF"
27717
27718	// FileFormatXlsx is a FileFormat enum value
27719	FileFormatXlsx = "XLSX"
27720
27721	// FileFormatJson is a FileFormat enum value
27722	FileFormatJson = "JSON"
27723)
27724
27725const (
27726	// FilterOperatorStringEquals is a FilterOperator enum value
27727	FilterOperatorStringEquals = "StringEquals"
27728)
27729
27730const (
27731	// GeoSpatialCountryCodeUs is a GeoSpatialCountryCode enum value
27732	GeoSpatialCountryCodeUs = "US"
27733)
27734
27735const (
27736	// GeoSpatialDataRoleCountry is a GeoSpatialDataRole enum value
27737	GeoSpatialDataRoleCountry = "COUNTRY"
27738
27739	// GeoSpatialDataRoleState is a GeoSpatialDataRole enum value
27740	GeoSpatialDataRoleState = "STATE"
27741
27742	// GeoSpatialDataRoleCounty is a GeoSpatialDataRole enum value
27743	GeoSpatialDataRoleCounty = "COUNTY"
27744
27745	// GeoSpatialDataRoleCity is a GeoSpatialDataRole enum value
27746	GeoSpatialDataRoleCity = "CITY"
27747
27748	// GeoSpatialDataRolePostcode is a GeoSpatialDataRole enum value
27749	GeoSpatialDataRolePostcode = "POSTCODE"
27750
27751	// GeoSpatialDataRoleLongitude is a GeoSpatialDataRole enum value
27752	GeoSpatialDataRoleLongitude = "LONGITUDE"
27753
27754	// GeoSpatialDataRoleLatitude is a GeoSpatialDataRole enum value
27755	GeoSpatialDataRoleLatitude = "LATITUDE"
27756)
27757
27758const (
27759	// IdentityTypeIam is a IdentityType enum value
27760	IdentityTypeIam = "IAM"
27761
27762	// IdentityTypeQuicksight is a IdentityType enum value
27763	IdentityTypeQuicksight = "QUICKSIGHT"
27764)
27765
27766const (
27767	// IngestionErrorTypeFailureToAssumeRole is a IngestionErrorType enum value
27768	IngestionErrorTypeFailureToAssumeRole = "FAILURE_TO_ASSUME_ROLE"
27769
27770	// IngestionErrorTypeIngestionSuperseded is a IngestionErrorType enum value
27771	IngestionErrorTypeIngestionSuperseded = "INGESTION_SUPERSEDED"
27772
27773	// IngestionErrorTypeIngestionCanceled is a IngestionErrorType enum value
27774	IngestionErrorTypeIngestionCanceled = "INGESTION_CANCELED"
27775
27776	// IngestionErrorTypeDataSetDeleted is a IngestionErrorType enum value
27777	IngestionErrorTypeDataSetDeleted = "DATA_SET_DELETED"
27778
27779	// IngestionErrorTypeDataSetNotSpice is a IngestionErrorType enum value
27780	IngestionErrorTypeDataSetNotSpice = "DATA_SET_NOT_SPICE"
27781
27782	// IngestionErrorTypeS3UploadedFileDeleted is a IngestionErrorType enum value
27783	IngestionErrorTypeS3UploadedFileDeleted = "S3_UPLOADED_FILE_DELETED"
27784
27785	// IngestionErrorTypeS3ManifestError is a IngestionErrorType enum value
27786	IngestionErrorTypeS3ManifestError = "S3_MANIFEST_ERROR"
27787
27788	// IngestionErrorTypeDataToleranceException is a IngestionErrorType enum value
27789	IngestionErrorTypeDataToleranceException = "DATA_TOLERANCE_EXCEPTION"
27790
27791	// IngestionErrorTypeSpiceTableNotFound is a IngestionErrorType enum value
27792	IngestionErrorTypeSpiceTableNotFound = "SPICE_TABLE_NOT_FOUND"
27793
27794	// IngestionErrorTypeDataSetSizeLimitExceeded is a IngestionErrorType enum value
27795	IngestionErrorTypeDataSetSizeLimitExceeded = "DATA_SET_SIZE_LIMIT_EXCEEDED"
27796
27797	// IngestionErrorTypeRowSizeLimitExceeded is a IngestionErrorType enum value
27798	IngestionErrorTypeRowSizeLimitExceeded = "ROW_SIZE_LIMIT_EXCEEDED"
27799
27800	// IngestionErrorTypeAccountCapacityLimitExceeded is a IngestionErrorType enum value
27801	IngestionErrorTypeAccountCapacityLimitExceeded = "ACCOUNT_CAPACITY_LIMIT_EXCEEDED"
27802
27803	// IngestionErrorTypeCustomerError is a IngestionErrorType enum value
27804	IngestionErrorTypeCustomerError = "CUSTOMER_ERROR"
27805
27806	// IngestionErrorTypeDataSourceNotFound is a IngestionErrorType enum value
27807	IngestionErrorTypeDataSourceNotFound = "DATA_SOURCE_NOT_FOUND"
27808
27809	// IngestionErrorTypeIamRoleNotAvailable is a IngestionErrorType enum value
27810	IngestionErrorTypeIamRoleNotAvailable = "IAM_ROLE_NOT_AVAILABLE"
27811
27812	// IngestionErrorTypeConnectionFailure is a IngestionErrorType enum value
27813	IngestionErrorTypeConnectionFailure = "CONNECTION_FAILURE"
27814
27815	// IngestionErrorTypeSqlTableNotFound is a IngestionErrorType enum value
27816	IngestionErrorTypeSqlTableNotFound = "SQL_TABLE_NOT_FOUND"
27817
27818	// IngestionErrorTypePermissionDenied is a IngestionErrorType enum value
27819	IngestionErrorTypePermissionDenied = "PERMISSION_DENIED"
27820
27821	// IngestionErrorTypeSslCertificateValidationFailure is a IngestionErrorType enum value
27822	IngestionErrorTypeSslCertificateValidationFailure = "SSL_CERTIFICATE_VALIDATION_FAILURE"
27823
27824	// IngestionErrorTypeOauthTokenFailure is a IngestionErrorType enum value
27825	IngestionErrorTypeOauthTokenFailure = "OAUTH_TOKEN_FAILURE"
27826
27827	// IngestionErrorTypeSourceApiLimitExceededFailure is a IngestionErrorType enum value
27828	IngestionErrorTypeSourceApiLimitExceededFailure = "SOURCE_API_LIMIT_EXCEEDED_FAILURE"
27829
27830	// IngestionErrorTypePasswordAuthenticationFailure is a IngestionErrorType enum value
27831	IngestionErrorTypePasswordAuthenticationFailure = "PASSWORD_AUTHENTICATION_FAILURE"
27832
27833	// IngestionErrorTypeSqlSchemaMismatchError is a IngestionErrorType enum value
27834	IngestionErrorTypeSqlSchemaMismatchError = "SQL_SCHEMA_MISMATCH_ERROR"
27835
27836	// IngestionErrorTypeInvalidDateFormat is a IngestionErrorType enum value
27837	IngestionErrorTypeInvalidDateFormat = "INVALID_DATE_FORMAT"
27838
27839	// IngestionErrorTypeInvalidDataprepSyntax is a IngestionErrorType enum value
27840	IngestionErrorTypeInvalidDataprepSyntax = "INVALID_DATAPREP_SYNTAX"
27841
27842	// IngestionErrorTypeSourceResourceLimitExceeded is a IngestionErrorType enum value
27843	IngestionErrorTypeSourceResourceLimitExceeded = "SOURCE_RESOURCE_LIMIT_EXCEEDED"
27844
27845	// IngestionErrorTypeSqlInvalidParameterValue is a IngestionErrorType enum value
27846	IngestionErrorTypeSqlInvalidParameterValue = "SQL_INVALID_PARAMETER_VALUE"
27847
27848	// IngestionErrorTypeQueryTimeout is a IngestionErrorType enum value
27849	IngestionErrorTypeQueryTimeout = "QUERY_TIMEOUT"
27850
27851	// IngestionErrorTypeSqlNumericOverflow is a IngestionErrorType enum value
27852	IngestionErrorTypeSqlNumericOverflow = "SQL_NUMERIC_OVERFLOW"
27853
27854	// IngestionErrorTypeUnresolvableHost is a IngestionErrorType enum value
27855	IngestionErrorTypeUnresolvableHost = "UNRESOLVABLE_HOST"
27856
27857	// IngestionErrorTypeUnroutableHost is a IngestionErrorType enum value
27858	IngestionErrorTypeUnroutableHost = "UNROUTABLE_HOST"
27859
27860	// IngestionErrorTypeSqlException is a IngestionErrorType enum value
27861	IngestionErrorTypeSqlException = "SQL_EXCEPTION"
27862
27863	// IngestionErrorTypeS3FileInaccessible is a IngestionErrorType enum value
27864	IngestionErrorTypeS3FileInaccessible = "S3_FILE_INACCESSIBLE"
27865
27866	// IngestionErrorTypeIotFileNotFound is a IngestionErrorType enum value
27867	IngestionErrorTypeIotFileNotFound = "IOT_FILE_NOT_FOUND"
27868
27869	// IngestionErrorTypeIotDataSetFileEmpty is a IngestionErrorType enum value
27870	IngestionErrorTypeIotDataSetFileEmpty = "IOT_DATA_SET_FILE_EMPTY"
27871
27872	// IngestionErrorTypeInvalidDataSourceConfig is a IngestionErrorType enum value
27873	IngestionErrorTypeInvalidDataSourceConfig = "INVALID_DATA_SOURCE_CONFIG"
27874
27875	// IngestionErrorTypeDataSourceAuthFailed is a IngestionErrorType enum value
27876	IngestionErrorTypeDataSourceAuthFailed = "DATA_SOURCE_AUTH_FAILED"
27877
27878	// IngestionErrorTypeDataSourceConnectionFailed is a IngestionErrorType enum value
27879	IngestionErrorTypeDataSourceConnectionFailed = "DATA_SOURCE_CONNECTION_FAILED"
27880
27881	// IngestionErrorTypeFailureToProcessJsonFile is a IngestionErrorType enum value
27882	IngestionErrorTypeFailureToProcessJsonFile = "FAILURE_TO_PROCESS_JSON_FILE"
27883
27884	// IngestionErrorTypeInternalServiceError is a IngestionErrorType enum value
27885	IngestionErrorTypeInternalServiceError = "INTERNAL_SERVICE_ERROR"
27886)
27887
27888const (
27889	// IngestionRequestSourceManual is a IngestionRequestSource enum value
27890	IngestionRequestSourceManual = "MANUAL"
27891
27892	// IngestionRequestSourceScheduled is a IngestionRequestSource enum value
27893	IngestionRequestSourceScheduled = "SCHEDULED"
27894)
27895
27896const (
27897	// IngestionRequestTypeInitialIngestion is a IngestionRequestType enum value
27898	IngestionRequestTypeInitialIngestion = "INITIAL_INGESTION"
27899
27900	// IngestionRequestTypeEdit is a IngestionRequestType enum value
27901	IngestionRequestTypeEdit = "EDIT"
27902
27903	// IngestionRequestTypeIncrementalRefresh is a IngestionRequestType enum value
27904	IngestionRequestTypeIncrementalRefresh = "INCREMENTAL_REFRESH"
27905
27906	// IngestionRequestTypeFullRefresh is a IngestionRequestType enum value
27907	IngestionRequestTypeFullRefresh = "FULL_REFRESH"
27908)
27909
27910const (
27911	// IngestionStatusInitialized is a IngestionStatus enum value
27912	IngestionStatusInitialized = "INITIALIZED"
27913
27914	// IngestionStatusQueued is a IngestionStatus enum value
27915	IngestionStatusQueued = "QUEUED"
27916
27917	// IngestionStatusRunning is a IngestionStatus enum value
27918	IngestionStatusRunning = "RUNNING"
27919
27920	// IngestionStatusFailed is a IngestionStatus enum value
27921	IngestionStatusFailed = "FAILED"
27922
27923	// IngestionStatusCompleted is a IngestionStatus enum value
27924	IngestionStatusCompleted = "COMPLETED"
27925
27926	// IngestionStatusCancelled is a IngestionStatus enum value
27927	IngestionStatusCancelled = "CANCELLED"
27928)
27929
27930const (
27931	// InputColumnDataTypeString is a InputColumnDataType enum value
27932	InputColumnDataTypeString = "STRING"
27933
27934	// InputColumnDataTypeInteger is a InputColumnDataType enum value
27935	InputColumnDataTypeInteger = "INTEGER"
27936
27937	// InputColumnDataTypeDecimal is a InputColumnDataType enum value
27938	InputColumnDataTypeDecimal = "DECIMAL"
27939
27940	// InputColumnDataTypeDatetime is a InputColumnDataType enum value
27941	InputColumnDataTypeDatetime = "DATETIME"
27942
27943	// InputColumnDataTypeBit is a InputColumnDataType enum value
27944	InputColumnDataTypeBit = "BIT"
27945
27946	// InputColumnDataTypeBoolean is a InputColumnDataType enum value
27947	InputColumnDataTypeBoolean = "BOOLEAN"
27948
27949	// InputColumnDataTypeJson is a InputColumnDataType enum value
27950	InputColumnDataTypeJson = "JSON"
27951)
27952
27953const (
27954	// JoinTypeInner is a JoinType enum value
27955	JoinTypeInner = "INNER"
27956
27957	// JoinTypeOuter is a JoinType enum value
27958	JoinTypeOuter = "OUTER"
27959
27960	// JoinTypeLeft is a JoinType enum value
27961	JoinTypeLeft = "LEFT"
27962
27963	// JoinTypeRight is a JoinType enum value
27964	JoinTypeRight = "RIGHT"
27965)
27966
27967const (
27968	// ResourceStatusCreationInProgress is a ResourceStatus enum value
27969	ResourceStatusCreationInProgress = "CREATION_IN_PROGRESS"
27970
27971	// ResourceStatusCreationSuccessful is a ResourceStatus enum value
27972	ResourceStatusCreationSuccessful = "CREATION_SUCCESSFUL"
27973
27974	// ResourceStatusCreationFailed is a ResourceStatus enum value
27975	ResourceStatusCreationFailed = "CREATION_FAILED"
27976
27977	// ResourceStatusUpdateInProgress is a ResourceStatus enum value
27978	ResourceStatusUpdateInProgress = "UPDATE_IN_PROGRESS"
27979
27980	// ResourceStatusUpdateSuccessful is a ResourceStatus enum value
27981	ResourceStatusUpdateSuccessful = "UPDATE_SUCCESSFUL"
27982
27983	// ResourceStatusUpdateFailed is a ResourceStatus enum value
27984	ResourceStatusUpdateFailed = "UPDATE_FAILED"
27985)
27986
27987const (
27988	// RowLevelPermissionPolicyGrantAccess is a RowLevelPermissionPolicy enum value
27989	RowLevelPermissionPolicyGrantAccess = "GRANT_ACCESS"
27990
27991	// RowLevelPermissionPolicyDenyAccess is a RowLevelPermissionPolicy enum value
27992	RowLevelPermissionPolicyDenyAccess = "DENY_ACCESS"
27993)
27994
27995const (
27996	// TemplateErrorTypeSourceNotFound is a TemplateErrorType enum value
27997	TemplateErrorTypeSourceNotFound = "SOURCE_NOT_FOUND"
27998
27999	// TemplateErrorTypeDataSetNotFound is a TemplateErrorType enum value
28000	TemplateErrorTypeDataSetNotFound = "DATA_SET_NOT_FOUND"
28001
28002	// TemplateErrorTypeInternalFailure is a TemplateErrorType enum value
28003	TemplateErrorTypeInternalFailure = "INTERNAL_FAILURE"
28004)
28005
28006const (
28007	// TextQualifierDoubleQuote is a TextQualifier enum value
28008	TextQualifierDoubleQuote = "DOUBLE_QUOTE"
28009
28010	// TextQualifierSingleQuote is a TextQualifier enum value
28011	TextQualifierSingleQuote = "SINGLE_QUOTE"
28012)
28013
28014const (
28015	// ThemeErrorTypeInternalFailure is a ThemeErrorType enum value
28016	ThemeErrorTypeInternalFailure = "INTERNAL_FAILURE"
28017)
28018
28019const (
28020	// ThemeTypeQuicksight is a ThemeType enum value
28021	ThemeTypeQuicksight = "QUICKSIGHT"
28022
28023	// ThemeTypeCustom is a ThemeType enum value
28024	ThemeTypeCustom = "CUSTOM"
28025
28026	// ThemeTypeAll is a ThemeType enum value
28027	ThemeTypeAll = "ALL"
28028)
28029
28030const (
28031	// UserRoleAdmin is a UserRole enum value
28032	UserRoleAdmin = "ADMIN"
28033
28034	// UserRoleAuthor is a UserRole enum value
28035	UserRoleAuthor = "AUTHOR"
28036
28037	// UserRoleReader is a UserRole enum value
28038	UserRoleReader = "READER"
28039
28040	// UserRoleRestrictedAuthor is a UserRole enum value
28041	UserRoleRestrictedAuthor = "RESTRICTED_AUTHOR"
28042
28043	// UserRoleRestrictedReader is a UserRole enum value
28044	UserRoleRestrictedReader = "RESTRICTED_READER"
28045)
28046