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 opCreateAccountCustomization = "CreateAccountCustomization"
114
115// CreateAccountCustomizationRequest generates a "aws/request.Request" representing the
116// client's request for the CreateAccountCustomization 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 CreateAccountCustomization for more information on using the CreateAccountCustomization
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 CreateAccountCustomizationRequest method.
131//    req, resp := client.CreateAccountCustomizationRequest(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/CreateAccountCustomization
139func (c *QuickSight) CreateAccountCustomizationRequest(input *CreateAccountCustomizationInput) (req *request.Request, output *CreateAccountCustomizationOutput) {
140	op := &request.Operation{
141		Name:       opCreateAccountCustomization,
142		HTTPMethod: "POST",
143		HTTPPath:   "/accounts/{AwsAccountId}/customizations",
144	}
145
146	if input == nil {
147		input = &CreateAccountCustomizationInput{}
148	}
149
150	output = &CreateAccountCustomizationOutput{}
151	req = c.newRequest(op, input, output)
152	return
153}
154
155// CreateAccountCustomization API operation for Amazon QuickSight.
156//
157// Creates Amazon QuickSight customizations the current Amazon Web Services
158// Region;. Currently, you can add a custom default theme by using the CreateAccountCustomization
159// or UpdateAccountCustomization API operation. To further customize Amazon
160// QuickSight by removing Amazon QuickSight sample assets and videos for all
161// new users, see Customizing Amazon QuickSight (https://docs.aws.amazon.com/quicksight/latest/user/customizing-quicksight.html)
162// in the Amazon QuickSight User Guide.
163//
164// You can create customizations for your Amazon Web Services account or, if
165// you specify a namespace, for a Amazon QuickSight namespace instead. Customizations
166// that apply to a namespace always override customizations that apply to an
167// Amazon Web Services account. To find out which customizations apply, use
168// the DescribeAccountCustomization API operation.
169//
170// Before you use the CreateAccountCustomization API operation to add a theme
171// as the namespace default, make sure that you first share the theme with the
172// namespace. If you don't share it with the namespace, the theme isn't visible
173// to your users even if you make it the default theme. To check if the theme
174// is shared, view the current permissions by using the DescribeThemePermissions
175// API operation. To share the theme, grant permissions by using the UpdateThemePermissions
176// API operation.
177//
178// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
179// with awserr.Error's Code and Message methods to get detailed information about
180// the error.
181//
182// See the AWS API reference guide for Amazon QuickSight's
183// API operation CreateAccountCustomization for usage and error information.
184//
185// Returned Error Types:
186//   * AccessDeniedException
187//   You don't have access to this item. The provided credentials couldn't be
188//   validated. You might not be authorized to carry out the request. Make sure
189//   that your account is authorized to use the Amazon QuickSight service, that
190//   your policies have the correct permissions, and that you are using the correct
191//   access keys.
192//
193//   * InvalidParameterValueException
194//   One or more parameters has a value that isn't valid.
195//
196//   * ResourceExistsException
197//   The resource specified already exists.
198//
199//   * ResourceNotFoundException
200//   One or more resources can't be found.
201//
202//   * ThrottlingException
203//   Access is throttled.
204//
205//   * InternalFailureException
206//   An internal failure occurred.
207//
208//   * ResourceUnavailableException
209//   This resource is currently unavailable.
210//
211// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateAccountCustomization
212func (c *QuickSight) CreateAccountCustomization(input *CreateAccountCustomizationInput) (*CreateAccountCustomizationOutput, error) {
213	req, out := c.CreateAccountCustomizationRequest(input)
214	return out, req.Send()
215}
216
217// CreateAccountCustomizationWithContext is the same as CreateAccountCustomization with the addition of
218// the ability to pass a context and additional request options.
219//
220// See CreateAccountCustomization for details on how to use this API operation.
221//
222// The context must be non-nil and will be used for request cancellation. If
223// the context is nil a panic will occur. In the future the SDK may create
224// sub-contexts for http.Requests. See https://golang.org/pkg/context/
225// for more information on using Contexts.
226func (c *QuickSight) CreateAccountCustomizationWithContext(ctx aws.Context, input *CreateAccountCustomizationInput, opts ...request.Option) (*CreateAccountCustomizationOutput, error) {
227	req, out := c.CreateAccountCustomizationRequest(input)
228	req.SetContext(ctx)
229	req.ApplyOptions(opts...)
230	return out, req.Send()
231}
232
233const opCreateAnalysis = "CreateAnalysis"
234
235// CreateAnalysisRequest generates a "aws/request.Request" representing the
236// client's request for the CreateAnalysis operation. The "output" return
237// value will be populated with the request's response once the request completes
238// successfully.
239//
240// Use "Send" method on the returned Request to send the API call to the service.
241// the "output" return value is not valid until after Send returns without error.
242//
243// See CreateAnalysis for more information on using the CreateAnalysis
244// API call, and error handling.
245//
246// This method is useful when you want to inject custom logic or configuration
247// into the SDK's request lifecycle. Such as custom headers, or retry logic.
248//
249//
250//    // Example sending a request using the CreateAnalysisRequest method.
251//    req, resp := client.CreateAnalysisRequest(params)
252//
253//    err := req.Send()
254//    if err == nil { // resp is now filled
255//        fmt.Println(resp)
256//    }
257//
258// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateAnalysis
259func (c *QuickSight) CreateAnalysisRequest(input *CreateAnalysisInput) (req *request.Request, output *CreateAnalysisOutput) {
260	op := &request.Operation{
261		Name:       opCreateAnalysis,
262		HTTPMethod: "POST",
263		HTTPPath:   "/accounts/{AwsAccountId}/analyses/{AnalysisId}",
264	}
265
266	if input == nil {
267		input = &CreateAnalysisInput{}
268	}
269
270	output = &CreateAnalysisOutput{}
271	req = c.newRequest(op, input, output)
272	return
273}
274
275// CreateAnalysis API operation for Amazon QuickSight.
276//
277// Creates an analysis in Amazon QuickSight.
278//
279// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
280// with awserr.Error's Code and Message methods to get detailed information about
281// the error.
282//
283// See the AWS API reference guide for Amazon QuickSight's
284// API operation CreateAnalysis for usage and error information.
285//
286// Returned Error Types:
287//   * ResourceNotFoundException
288//   One or more resources can't be found.
289//
290//   * InvalidParameterValueException
291//   One or more parameters has a value that isn't valid.
292//
293//   * ThrottlingException
294//   Access is throttled.
295//
296//   * ResourceExistsException
297//   The resource specified already exists.
298//
299//   * ConflictException
300//   Updating or deleting a resource can cause an inconsistent state.
301//
302//   * UnsupportedUserEditionException
303//   This error indicates that you are calling an operation on an Amazon QuickSight
304//   subscription where the edition doesn't include support for that operation.
305//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
306//   Not every operation and capability is available in every edition.
307//
308//   * InternalFailureException
309//   An internal failure occurred.
310//
311// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateAnalysis
312func (c *QuickSight) CreateAnalysis(input *CreateAnalysisInput) (*CreateAnalysisOutput, error) {
313	req, out := c.CreateAnalysisRequest(input)
314	return out, req.Send()
315}
316
317// CreateAnalysisWithContext is the same as CreateAnalysis with the addition of
318// the ability to pass a context and additional request options.
319//
320// See CreateAnalysis for details on how to use this API operation.
321//
322// The context must be non-nil and will be used for request cancellation. If
323// the context is nil a panic will occur. In the future the SDK may create
324// sub-contexts for http.Requests. See https://golang.org/pkg/context/
325// for more information on using Contexts.
326func (c *QuickSight) CreateAnalysisWithContext(ctx aws.Context, input *CreateAnalysisInput, opts ...request.Option) (*CreateAnalysisOutput, error) {
327	req, out := c.CreateAnalysisRequest(input)
328	req.SetContext(ctx)
329	req.ApplyOptions(opts...)
330	return out, req.Send()
331}
332
333const opCreateDashboard = "CreateDashboard"
334
335// CreateDashboardRequest generates a "aws/request.Request" representing the
336// client's request for the CreateDashboard operation. The "output" return
337// value will be populated with the request's response once the request completes
338// successfully.
339//
340// Use "Send" method on the returned Request to send the API call to the service.
341// the "output" return value is not valid until after Send returns without error.
342//
343// See CreateDashboard for more information on using the CreateDashboard
344// API call, and error handling.
345//
346// This method is useful when you want to inject custom logic or configuration
347// into the SDK's request lifecycle. Such as custom headers, or retry logic.
348//
349//
350//    // Example sending a request using the CreateDashboardRequest method.
351//    req, resp := client.CreateDashboardRequest(params)
352//
353//    err := req.Send()
354//    if err == nil { // resp is now filled
355//        fmt.Println(resp)
356//    }
357//
358// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDashboard
359func (c *QuickSight) CreateDashboardRequest(input *CreateDashboardInput) (req *request.Request, output *CreateDashboardOutput) {
360	op := &request.Operation{
361		Name:       opCreateDashboard,
362		HTTPMethod: "POST",
363		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
364	}
365
366	if input == nil {
367		input = &CreateDashboardInput{}
368	}
369
370	output = &CreateDashboardOutput{}
371	req = c.newRequest(op, input, output)
372	return
373}
374
375// CreateDashboard API operation for Amazon QuickSight.
376//
377// Creates a dashboard from a template. To first create a template, see the
378// CreateTemplate API operation.
379//
380// A dashboard is an entity in Amazon QuickSight that identifies Amazon QuickSight
381// reports, created from analyses. You can share Amazon QuickSight dashboards.
382// With the right permissions, you can create scheduled email reports from them.
383// If you have the correct permissions, you can create a dashboard from a template
384// that exists in a different Amazon Web Services account.
385//
386// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
387// with awserr.Error's Code and Message methods to get detailed information about
388// the error.
389//
390// See the AWS API reference guide for Amazon QuickSight's
391// API operation CreateDashboard for usage and error information.
392//
393// Returned Error Types:
394//   * ResourceNotFoundException
395//   One or more resources can't be found.
396//
397//   * InvalidParameterValueException
398//   One or more parameters has a value that isn't valid.
399//
400//   * ThrottlingException
401//   Access is throttled.
402//
403//   * ResourceExistsException
404//   The resource specified already exists.
405//
406//   * ConflictException
407//   Updating or deleting a resource can cause an inconsistent state.
408//
409//   * UnsupportedUserEditionException
410//   This error indicates that you are calling an operation on an Amazon QuickSight
411//   subscription where the edition doesn't include support for that operation.
412//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
413//   Not every operation and capability is available in every edition.
414//
415//   * InternalFailureException
416//   An internal failure occurred.
417//
418// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDashboard
419func (c *QuickSight) CreateDashboard(input *CreateDashboardInput) (*CreateDashboardOutput, error) {
420	req, out := c.CreateDashboardRequest(input)
421	return out, req.Send()
422}
423
424// CreateDashboardWithContext is the same as CreateDashboard with the addition of
425// the ability to pass a context and additional request options.
426//
427// See CreateDashboard for details on how to use this API operation.
428//
429// The context must be non-nil and will be used for request cancellation. If
430// the context is nil a panic will occur. In the future the SDK may create
431// sub-contexts for http.Requests. See https://golang.org/pkg/context/
432// for more information on using Contexts.
433func (c *QuickSight) CreateDashboardWithContext(ctx aws.Context, input *CreateDashboardInput, opts ...request.Option) (*CreateDashboardOutput, error) {
434	req, out := c.CreateDashboardRequest(input)
435	req.SetContext(ctx)
436	req.ApplyOptions(opts...)
437	return out, req.Send()
438}
439
440const opCreateDataSet = "CreateDataSet"
441
442// CreateDataSetRequest generates a "aws/request.Request" representing the
443// client's request for the CreateDataSet operation. The "output" return
444// value will be populated with the request's response once the request completes
445// successfully.
446//
447// Use "Send" method on the returned Request to send the API call to the service.
448// the "output" return value is not valid until after Send returns without error.
449//
450// See CreateDataSet for more information on using the CreateDataSet
451// API call, and error handling.
452//
453// This method is useful when you want to inject custom logic or configuration
454// into the SDK's request lifecycle. Such as custom headers, or retry logic.
455//
456//
457//    // Example sending a request using the CreateDataSetRequest method.
458//    req, resp := client.CreateDataSetRequest(params)
459//
460//    err := req.Send()
461//    if err == nil { // resp is now filled
462//        fmt.Println(resp)
463//    }
464//
465// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSet
466func (c *QuickSight) CreateDataSetRequest(input *CreateDataSetInput) (req *request.Request, output *CreateDataSetOutput) {
467	op := &request.Operation{
468		Name:       opCreateDataSet,
469		HTTPMethod: "POST",
470		HTTPPath:   "/accounts/{AwsAccountId}/data-sets",
471	}
472
473	if input == nil {
474		input = &CreateDataSetInput{}
475	}
476
477	output = &CreateDataSetOutput{}
478	req = c.newRequest(op, input, output)
479	return
480}
481
482// CreateDataSet API operation for Amazon QuickSight.
483//
484// Creates a dataset.
485//
486// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
487// with awserr.Error's Code and Message methods to get detailed information about
488// the error.
489//
490// See the AWS API reference guide for Amazon QuickSight's
491// API operation CreateDataSet for usage and error information.
492//
493// Returned Error Types:
494//   * AccessDeniedException
495//   You don't have access to this item. The provided credentials couldn't be
496//   validated. You might not be authorized to carry out the request. Make sure
497//   that your account is authorized to use the Amazon QuickSight service, that
498//   your policies have the correct permissions, and that you are using the correct
499//   access keys.
500//
501//   * ConflictException
502//   Updating or deleting a resource can cause an inconsistent state.
503//
504//   * InvalidParameterValueException
505//   One or more parameters has a value that isn't valid.
506//
507//   * LimitExceededException
508//   A limit is exceeded.
509//
510//   * ResourceExistsException
511//   The resource specified already exists.
512//
513//   * ResourceNotFoundException
514//   One or more resources can't be found.
515//
516//   * ThrottlingException
517//   Access is throttled.
518//
519//   * UnsupportedUserEditionException
520//   This error indicates that you are calling an operation on an Amazon QuickSight
521//   subscription where the edition doesn't include support for that operation.
522//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
523//   Not every operation and capability is available in every edition.
524//
525//   * InternalFailureException
526//   An internal failure occurred.
527//
528// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSet
529func (c *QuickSight) CreateDataSet(input *CreateDataSetInput) (*CreateDataSetOutput, error) {
530	req, out := c.CreateDataSetRequest(input)
531	return out, req.Send()
532}
533
534// CreateDataSetWithContext is the same as CreateDataSet with the addition of
535// the ability to pass a context and additional request options.
536//
537// See CreateDataSet for details on how to use this API operation.
538//
539// The context must be non-nil and will be used for request cancellation. If
540// the context is nil a panic will occur. In the future the SDK may create
541// sub-contexts for http.Requests. See https://golang.org/pkg/context/
542// for more information on using Contexts.
543func (c *QuickSight) CreateDataSetWithContext(ctx aws.Context, input *CreateDataSetInput, opts ...request.Option) (*CreateDataSetOutput, error) {
544	req, out := c.CreateDataSetRequest(input)
545	req.SetContext(ctx)
546	req.ApplyOptions(opts...)
547	return out, req.Send()
548}
549
550const opCreateDataSource = "CreateDataSource"
551
552// CreateDataSourceRequest generates a "aws/request.Request" representing the
553// client's request for the CreateDataSource operation. The "output" return
554// value will be populated with the request's response once the request completes
555// successfully.
556//
557// Use "Send" method on the returned Request to send the API call to the service.
558// the "output" return value is not valid until after Send returns without error.
559//
560// See CreateDataSource for more information on using the CreateDataSource
561// API call, and error handling.
562//
563// This method is useful when you want to inject custom logic or configuration
564// into the SDK's request lifecycle. Such as custom headers, or retry logic.
565//
566//
567//    // Example sending a request using the CreateDataSourceRequest method.
568//    req, resp := client.CreateDataSourceRequest(params)
569//
570//    err := req.Send()
571//    if err == nil { // resp is now filled
572//        fmt.Println(resp)
573//    }
574//
575// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSource
576func (c *QuickSight) CreateDataSourceRequest(input *CreateDataSourceInput) (req *request.Request, output *CreateDataSourceOutput) {
577	op := &request.Operation{
578		Name:       opCreateDataSource,
579		HTTPMethod: "POST",
580		HTTPPath:   "/accounts/{AwsAccountId}/data-sources",
581	}
582
583	if input == nil {
584		input = &CreateDataSourceInput{}
585	}
586
587	output = &CreateDataSourceOutput{}
588	req = c.newRequest(op, input, output)
589	return
590}
591
592// CreateDataSource API operation for Amazon QuickSight.
593//
594// Creates a data source.
595//
596// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
597// with awserr.Error's Code and Message methods to get detailed information about
598// the error.
599//
600// See the AWS API reference guide for Amazon QuickSight's
601// API operation CreateDataSource for usage and error information.
602//
603// Returned Error Types:
604//   * AccessDeniedException
605//   You don't have access to this item. The provided credentials couldn't be
606//   validated. You might not be authorized to carry out the request. Make sure
607//   that your account is authorized to use the Amazon QuickSight service, that
608//   your policies have the correct permissions, and that you are using the correct
609//   access keys.
610//
611//   * ConflictException
612//   Updating or deleting a resource can cause an inconsistent state.
613//
614//   * InvalidParameterValueException
615//   One or more parameters has a value that isn't valid.
616//
617//   * LimitExceededException
618//   A limit is exceeded.
619//
620//   * ResourceNotFoundException
621//   One or more resources can't be found.
622//
623//   * ResourceExistsException
624//   The resource specified already exists.
625//
626//   * ThrottlingException
627//   Access is throttled.
628//
629//   * InternalFailureException
630//   An internal failure occurred.
631//
632// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSource
633func (c *QuickSight) CreateDataSource(input *CreateDataSourceInput) (*CreateDataSourceOutput, error) {
634	req, out := c.CreateDataSourceRequest(input)
635	return out, req.Send()
636}
637
638// CreateDataSourceWithContext is the same as CreateDataSource with the addition of
639// the ability to pass a context and additional request options.
640//
641// See CreateDataSource for details on how to use this API operation.
642//
643// The context must be non-nil and will be used for request cancellation. If
644// the context is nil a panic will occur. In the future the SDK may create
645// sub-contexts for http.Requests. See https://golang.org/pkg/context/
646// for more information on using Contexts.
647func (c *QuickSight) CreateDataSourceWithContext(ctx aws.Context, input *CreateDataSourceInput, opts ...request.Option) (*CreateDataSourceOutput, error) {
648	req, out := c.CreateDataSourceRequest(input)
649	req.SetContext(ctx)
650	req.ApplyOptions(opts...)
651	return out, req.Send()
652}
653
654const opCreateFolder = "CreateFolder"
655
656// CreateFolderRequest generates a "aws/request.Request" representing the
657// client's request for the CreateFolder operation. The "output" return
658// value will be populated with the request's response once the request completes
659// successfully.
660//
661// Use "Send" method on the returned Request to send the API call to the service.
662// the "output" return value is not valid until after Send returns without error.
663//
664// See CreateFolder for more information on using the CreateFolder
665// API call, and error handling.
666//
667// This method is useful when you want to inject custom logic or configuration
668// into the SDK's request lifecycle. Such as custom headers, or retry logic.
669//
670//
671//    // Example sending a request using the CreateFolderRequest method.
672//    req, resp := client.CreateFolderRequest(params)
673//
674//    err := req.Send()
675//    if err == nil { // resp is now filled
676//        fmt.Println(resp)
677//    }
678//
679// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateFolder
680func (c *QuickSight) CreateFolderRequest(input *CreateFolderInput) (req *request.Request, output *CreateFolderOutput) {
681	op := &request.Operation{
682		Name:       opCreateFolder,
683		HTTPMethod: "POST",
684		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}",
685	}
686
687	if input == nil {
688		input = &CreateFolderInput{}
689	}
690
691	output = &CreateFolderOutput{}
692	req = c.newRequest(op, input, output)
693	return
694}
695
696// CreateFolder API operation for Amazon QuickSight.
697//
698// Creates an empty shared folder.
699//
700// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
701// with awserr.Error's Code and Message methods to get detailed information about
702// the error.
703//
704// See the AWS API reference guide for Amazon QuickSight's
705// API operation CreateFolder for usage and error information.
706//
707// Returned Error Types:
708//   * ResourceNotFoundException
709//   One or more resources can't be found.
710//
711//   * InvalidParameterValueException
712//   One or more parameters has a value that isn't valid.
713//
714//   * ThrottlingException
715//   Access is throttled.
716//
717//   * ResourceExistsException
718//   The resource specified already exists.
719//
720//   * ConflictException
721//   Updating or deleting a resource can cause an inconsistent state.
722//
723//   * UnsupportedUserEditionException
724//   This error indicates that you are calling an operation on an Amazon QuickSight
725//   subscription where the edition doesn't include support for that operation.
726//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
727//   Not every operation and capability is available in every edition.
728//
729//   * AccessDeniedException
730//   You don't have access to this item. The provided credentials couldn't be
731//   validated. You might not be authorized to carry out the request. Make sure
732//   that your account is authorized to use the Amazon QuickSight service, that
733//   your policies have the correct permissions, and that you are using the correct
734//   access keys.
735//
736//   * LimitExceededException
737//   A limit is exceeded.
738//
739//   * InternalFailureException
740//   An internal failure occurred.
741//
742// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateFolder
743func (c *QuickSight) CreateFolder(input *CreateFolderInput) (*CreateFolderOutput, error) {
744	req, out := c.CreateFolderRequest(input)
745	return out, req.Send()
746}
747
748// CreateFolderWithContext is the same as CreateFolder with the addition of
749// the ability to pass a context and additional request options.
750//
751// See CreateFolder for details on how to use this API operation.
752//
753// The context must be non-nil and will be used for request cancellation. If
754// the context is nil a panic will occur. In the future the SDK may create
755// sub-contexts for http.Requests. See https://golang.org/pkg/context/
756// for more information on using Contexts.
757func (c *QuickSight) CreateFolderWithContext(ctx aws.Context, input *CreateFolderInput, opts ...request.Option) (*CreateFolderOutput, error) {
758	req, out := c.CreateFolderRequest(input)
759	req.SetContext(ctx)
760	req.ApplyOptions(opts...)
761	return out, req.Send()
762}
763
764const opCreateFolderMembership = "CreateFolderMembership"
765
766// CreateFolderMembershipRequest generates a "aws/request.Request" representing the
767// client's request for the CreateFolderMembership operation. The "output" return
768// value will be populated with the request's response once the request completes
769// successfully.
770//
771// Use "Send" method on the returned Request to send the API call to the service.
772// the "output" return value is not valid until after Send returns without error.
773//
774// See CreateFolderMembership for more information on using the CreateFolderMembership
775// API call, and error handling.
776//
777// This method is useful when you want to inject custom logic or configuration
778// into the SDK's request lifecycle. Such as custom headers, or retry logic.
779//
780//
781//    // Example sending a request using the CreateFolderMembershipRequest method.
782//    req, resp := client.CreateFolderMembershipRequest(params)
783//
784//    err := req.Send()
785//    if err == nil { // resp is now filled
786//        fmt.Println(resp)
787//    }
788//
789// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateFolderMembership
790func (c *QuickSight) CreateFolderMembershipRequest(input *CreateFolderMembershipInput) (req *request.Request, output *CreateFolderMembershipOutput) {
791	op := &request.Operation{
792		Name:       opCreateFolderMembership,
793		HTTPMethod: "PUT",
794		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}/members/{MemberType}/{MemberId}",
795	}
796
797	if input == nil {
798		input = &CreateFolderMembershipInput{}
799	}
800
801	output = &CreateFolderMembershipOutput{}
802	req = c.newRequest(op, input, output)
803	return
804}
805
806// CreateFolderMembership API operation for Amazon QuickSight.
807//
808// Adds an asset, such as a dashboard, analysis, or dataset into a folder.
809//
810// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
811// with awserr.Error's Code and Message methods to get detailed information about
812// the error.
813//
814// See the AWS API reference guide for Amazon QuickSight's
815// API operation CreateFolderMembership for usage and error information.
816//
817// Returned Error Types:
818//   * AccessDeniedException
819//   You don't have access to this item. The provided credentials couldn't be
820//   validated. You might not be authorized to carry out the request. Make sure
821//   that your account is authorized to use the Amazon QuickSight service, that
822//   your policies have the correct permissions, and that you are using the correct
823//   access keys.
824//
825//   * InvalidParameterValueException
826//   One or more parameters has a value that isn't valid.
827//
828//   * ResourceNotFoundException
829//   One or more resources can't be found.
830//
831//   * ResourceExistsException
832//   The resource specified already exists.
833//
834//   * ThrottlingException
835//   Access is throttled.
836//
837//   * LimitExceededException
838//   A limit is exceeded.
839//
840//   * UnsupportedUserEditionException
841//   This error indicates that you are calling an operation on an Amazon QuickSight
842//   subscription where the edition doesn't include support for that operation.
843//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
844//   Not every operation and capability is available in every edition.
845//
846//   * InternalFailureException
847//   An internal failure occurred.
848//
849// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateFolderMembership
850func (c *QuickSight) CreateFolderMembership(input *CreateFolderMembershipInput) (*CreateFolderMembershipOutput, error) {
851	req, out := c.CreateFolderMembershipRequest(input)
852	return out, req.Send()
853}
854
855// CreateFolderMembershipWithContext is the same as CreateFolderMembership with the addition of
856// the ability to pass a context and additional request options.
857//
858// See CreateFolderMembership for details on how to use this API operation.
859//
860// The context must be non-nil and will be used for request cancellation. If
861// the context is nil a panic will occur. In the future the SDK may create
862// sub-contexts for http.Requests. See https://golang.org/pkg/context/
863// for more information on using Contexts.
864func (c *QuickSight) CreateFolderMembershipWithContext(ctx aws.Context, input *CreateFolderMembershipInput, opts ...request.Option) (*CreateFolderMembershipOutput, error) {
865	req, out := c.CreateFolderMembershipRequest(input)
866	req.SetContext(ctx)
867	req.ApplyOptions(opts...)
868	return out, req.Send()
869}
870
871const opCreateGroup = "CreateGroup"
872
873// CreateGroupRequest generates a "aws/request.Request" representing the
874// client's request for the CreateGroup operation. The "output" return
875// value will be populated with the request's response once the request completes
876// successfully.
877//
878// Use "Send" method on the returned Request to send the API call to the service.
879// the "output" return value is not valid until after Send returns without error.
880//
881// See CreateGroup for more information on using the CreateGroup
882// API call, and error handling.
883//
884// This method is useful when you want to inject custom logic or configuration
885// into the SDK's request lifecycle. Such as custom headers, or retry logic.
886//
887//
888//    // Example sending a request using the CreateGroupRequest method.
889//    req, resp := client.CreateGroupRequest(params)
890//
891//    err := req.Send()
892//    if err == nil { // resp is now filled
893//        fmt.Println(resp)
894//    }
895//
896// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroup
897func (c *QuickSight) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, output *CreateGroupOutput) {
898	op := &request.Operation{
899		Name:       opCreateGroup,
900		HTTPMethod: "POST",
901		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups",
902	}
903
904	if input == nil {
905		input = &CreateGroupInput{}
906	}
907
908	output = &CreateGroupOutput{}
909	req = c.newRequest(op, input, output)
910	return
911}
912
913// CreateGroup API operation for Amazon QuickSight.
914//
915// Creates an Amazon QuickSight group.
916//
917// The permissions resource is arn:aws:quicksight:us-east-1:<relevant-aws-account-id>:group/default/<group-name> .
918//
919// The response is a group object.
920//
921// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
922// with awserr.Error's Code and Message methods to get detailed information about
923// the error.
924//
925// See the AWS API reference guide for Amazon QuickSight's
926// API operation CreateGroup for usage and error information.
927//
928// Returned Error Types:
929//   * AccessDeniedException
930//   You don't have access to this item. The provided credentials couldn't be
931//   validated. You might not be authorized to carry out the request. Make sure
932//   that your account is authorized to use the Amazon QuickSight service, that
933//   your policies have the correct permissions, and that you are using the correct
934//   access keys.
935//
936//   * InvalidParameterValueException
937//   One or more parameters has a value that isn't valid.
938//
939//   * ResourceExistsException
940//   The resource specified already exists.
941//
942//   * ResourceNotFoundException
943//   One or more resources can't be found.
944//
945//   * ThrottlingException
946//   Access is throttled.
947//
948//   * PreconditionNotMetException
949//   One or more preconditions aren't met.
950//
951//   * LimitExceededException
952//   A limit is exceeded.
953//
954//   * InternalFailureException
955//   An internal failure occurred.
956//
957//   * ResourceUnavailableException
958//   This resource is currently unavailable.
959//
960// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroup
961func (c *QuickSight) CreateGroup(input *CreateGroupInput) (*CreateGroupOutput, error) {
962	req, out := c.CreateGroupRequest(input)
963	return out, req.Send()
964}
965
966// CreateGroupWithContext is the same as CreateGroup with the addition of
967// the ability to pass a context and additional request options.
968//
969// See CreateGroup for details on how to use this API operation.
970//
971// The context must be non-nil and will be used for request cancellation. If
972// the context is nil a panic will occur. In the future the SDK may create
973// sub-contexts for http.Requests. See https://golang.org/pkg/context/
974// for more information on using Contexts.
975func (c *QuickSight) CreateGroupWithContext(ctx aws.Context, input *CreateGroupInput, opts ...request.Option) (*CreateGroupOutput, error) {
976	req, out := c.CreateGroupRequest(input)
977	req.SetContext(ctx)
978	req.ApplyOptions(opts...)
979	return out, req.Send()
980}
981
982const opCreateGroupMembership = "CreateGroupMembership"
983
984// CreateGroupMembershipRequest generates a "aws/request.Request" representing the
985// client's request for the CreateGroupMembership operation. The "output" return
986// value will be populated with the request's response once the request completes
987// successfully.
988//
989// Use "Send" method on the returned Request to send the API call to the service.
990// the "output" return value is not valid until after Send returns without error.
991//
992// See CreateGroupMembership for more information on using the CreateGroupMembership
993// API call, and error handling.
994//
995// This method is useful when you want to inject custom logic or configuration
996// into the SDK's request lifecycle. Such as custom headers, or retry logic.
997//
998//
999//    // Example sending a request using the CreateGroupMembershipRequest method.
1000//    req, resp := client.CreateGroupMembershipRequest(params)
1001//
1002//    err := req.Send()
1003//    if err == nil { // resp is now filled
1004//        fmt.Println(resp)
1005//    }
1006//
1007// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroupMembership
1008func (c *QuickSight) CreateGroupMembershipRequest(input *CreateGroupMembershipInput) (req *request.Request, output *CreateGroupMembershipOutput) {
1009	op := &request.Operation{
1010		Name:       opCreateGroupMembership,
1011		HTTPMethod: "PUT",
1012		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}",
1013	}
1014
1015	if input == nil {
1016		input = &CreateGroupMembershipInput{}
1017	}
1018
1019	output = &CreateGroupMembershipOutput{}
1020	req = c.newRequest(op, input, output)
1021	return
1022}
1023
1024// CreateGroupMembership API operation for Amazon QuickSight.
1025//
1026// Adds an Amazon QuickSight user to an Amazon QuickSight group.
1027//
1028// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1029// with awserr.Error's Code and Message methods to get detailed information about
1030// the error.
1031//
1032// See the AWS API reference guide for Amazon QuickSight's
1033// API operation CreateGroupMembership for usage and error information.
1034//
1035// Returned Error Types:
1036//   * AccessDeniedException
1037//   You don't have access to this item. The provided credentials couldn't be
1038//   validated. You might not be authorized to carry out the request. Make sure
1039//   that your account is authorized to use the Amazon QuickSight service, that
1040//   your policies have the correct permissions, and that you are using the correct
1041//   access keys.
1042//
1043//   * InvalidParameterValueException
1044//   One or more parameters has a value that isn't valid.
1045//
1046//   * ResourceNotFoundException
1047//   One or more resources can't be found.
1048//
1049//   * ThrottlingException
1050//   Access is throttled.
1051//
1052//   * PreconditionNotMetException
1053//   One or more preconditions aren't met.
1054//
1055//   * InternalFailureException
1056//   An internal failure occurred.
1057//
1058//   * ResourceUnavailableException
1059//   This resource is currently unavailable.
1060//
1061// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroupMembership
1062func (c *QuickSight) CreateGroupMembership(input *CreateGroupMembershipInput) (*CreateGroupMembershipOutput, error) {
1063	req, out := c.CreateGroupMembershipRequest(input)
1064	return out, req.Send()
1065}
1066
1067// CreateGroupMembershipWithContext is the same as CreateGroupMembership with the addition of
1068// the ability to pass a context and additional request options.
1069//
1070// See CreateGroupMembership for details on how to use this API operation.
1071//
1072// The context must be non-nil and will be used for request cancellation. If
1073// the context is nil a panic will occur. In the future the SDK may create
1074// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1075// for more information on using Contexts.
1076func (c *QuickSight) CreateGroupMembershipWithContext(ctx aws.Context, input *CreateGroupMembershipInput, opts ...request.Option) (*CreateGroupMembershipOutput, error) {
1077	req, out := c.CreateGroupMembershipRequest(input)
1078	req.SetContext(ctx)
1079	req.ApplyOptions(opts...)
1080	return out, req.Send()
1081}
1082
1083const opCreateIAMPolicyAssignment = "CreateIAMPolicyAssignment"
1084
1085// CreateIAMPolicyAssignmentRequest generates a "aws/request.Request" representing the
1086// client's request for the CreateIAMPolicyAssignment operation. The "output" return
1087// value will be populated with the request's response once the request completes
1088// successfully.
1089//
1090// Use "Send" method on the returned Request to send the API call to the service.
1091// the "output" return value is not valid until after Send returns without error.
1092//
1093// See CreateIAMPolicyAssignment for more information on using the CreateIAMPolicyAssignment
1094// API call, and error handling.
1095//
1096// This method is useful when you want to inject custom logic or configuration
1097// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1098//
1099//
1100//    // Example sending a request using the CreateIAMPolicyAssignmentRequest method.
1101//    req, resp := client.CreateIAMPolicyAssignmentRequest(params)
1102//
1103//    err := req.Send()
1104//    if err == nil { // resp is now filled
1105//        fmt.Println(resp)
1106//    }
1107//
1108// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIAMPolicyAssignment
1109func (c *QuickSight) CreateIAMPolicyAssignmentRequest(input *CreateIAMPolicyAssignmentInput) (req *request.Request, output *CreateIAMPolicyAssignmentOutput) {
1110	op := &request.Operation{
1111		Name:       opCreateIAMPolicyAssignment,
1112		HTTPMethod: "POST",
1113		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/",
1114	}
1115
1116	if input == nil {
1117		input = &CreateIAMPolicyAssignmentInput{}
1118	}
1119
1120	output = &CreateIAMPolicyAssignmentOutput{}
1121	req = c.newRequest(op, input, output)
1122	return
1123}
1124
1125// CreateIAMPolicyAssignment API operation for Amazon QuickSight.
1126//
1127// Creates an assignment with one specified IAMpolicy, identified by its Amazon
1128// Resource Name (ARN). This policy assignment is attached to the specified
1129// groups or users of Amazon QuickSight. Assignment names are unique per Amazon
1130// Web Services account. To avoid overwriting rules in other namespaces, use
1131// assignment names that are unique.
1132//
1133// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1134// with awserr.Error's Code and Message methods to get detailed information about
1135// the error.
1136//
1137// See the AWS API reference guide for Amazon QuickSight's
1138// API operation CreateIAMPolicyAssignment for usage and error information.
1139//
1140// Returned Error Types:
1141//   * AccessDeniedException
1142//   You don't have access to this item. The provided credentials couldn't be
1143//   validated. You might not be authorized to carry out the request. Make sure
1144//   that your account is authorized to use the Amazon QuickSight service, that
1145//   your policies have the correct permissions, and that you are using the correct
1146//   access keys.
1147//
1148//   * InvalidParameterValueException
1149//   One or more parameters has a value that isn't valid.
1150//
1151//   * ResourceExistsException
1152//   The resource specified already exists.
1153//
1154//   * ResourceNotFoundException
1155//   One or more resources can't be found.
1156//
1157//   * ThrottlingException
1158//   Access is throttled.
1159//
1160//   * ConcurrentUpdatingException
1161//   A resource is already in a state that indicates an operation is happening
1162//   that must complete before a new update can be applied.
1163//
1164//   * InternalFailureException
1165//   An internal failure occurred.
1166//
1167// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIAMPolicyAssignment
1168func (c *QuickSight) CreateIAMPolicyAssignment(input *CreateIAMPolicyAssignmentInput) (*CreateIAMPolicyAssignmentOutput, error) {
1169	req, out := c.CreateIAMPolicyAssignmentRequest(input)
1170	return out, req.Send()
1171}
1172
1173// CreateIAMPolicyAssignmentWithContext is the same as CreateIAMPolicyAssignment with the addition of
1174// the ability to pass a context and additional request options.
1175//
1176// See CreateIAMPolicyAssignment for details on how to use this API operation.
1177//
1178// The context must be non-nil and will be used for request cancellation. If
1179// the context is nil a panic will occur. In the future the SDK may create
1180// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1181// for more information on using Contexts.
1182func (c *QuickSight) CreateIAMPolicyAssignmentWithContext(ctx aws.Context, input *CreateIAMPolicyAssignmentInput, opts ...request.Option) (*CreateIAMPolicyAssignmentOutput, error) {
1183	req, out := c.CreateIAMPolicyAssignmentRequest(input)
1184	req.SetContext(ctx)
1185	req.ApplyOptions(opts...)
1186	return out, req.Send()
1187}
1188
1189const opCreateIngestion = "CreateIngestion"
1190
1191// CreateIngestionRequest generates a "aws/request.Request" representing the
1192// client's request for the CreateIngestion operation. The "output" return
1193// value will be populated with the request's response once the request completes
1194// successfully.
1195//
1196// Use "Send" method on the returned Request to send the API call to the service.
1197// the "output" return value is not valid until after Send returns without error.
1198//
1199// See CreateIngestion for more information on using the CreateIngestion
1200// API call, and error handling.
1201//
1202// This method is useful when you want to inject custom logic or configuration
1203// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1204//
1205//
1206//    // Example sending a request using the CreateIngestionRequest method.
1207//    req, resp := client.CreateIngestionRequest(params)
1208//
1209//    err := req.Send()
1210//    if err == nil { // resp is now filled
1211//        fmt.Println(resp)
1212//    }
1213//
1214// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIngestion
1215func (c *QuickSight) CreateIngestionRequest(input *CreateIngestionInput) (req *request.Request, output *CreateIngestionOutput) {
1216	op := &request.Operation{
1217		Name:       opCreateIngestion,
1218		HTTPMethod: "PUT",
1219		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}",
1220	}
1221
1222	if input == nil {
1223		input = &CreateIngestionInput{}
1224	}
1225
1226	output = &CreateIngestionOutput{}
1227	req = c.newRequest(op, input, output)
1228	return
1229}
1230
1231// CreateIngestion API operation for Amazon QuickSight.
1232//
1233// Creates and starts a new SPICE ingestion on a dataset
1234//
1235// Any ingestions operating on tagged datasets inherit the same tags automatically
1236// for use in access control. For an example, see How do I create an IAM policy
1237// to control access to Amazon EC2 resources using tags? (http://aws.amazon.com/premiumsupport/knowledge-center/iam-ec2-resource-tags/)
1238// in the Amazon Web Services Knowledge Center. Tags are visible on the tagged
1239// dataset, but not on the ingestion resource.
1240//
1241// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1242// with awserr.Error's Code and Message methods to get detailed information about
1243// the error.
1244//
1245// See the AWS API reference guide for Amazon QuickSight's
1246// API operation CreateIngestion for usage and error information.
1247//
1248// Returned Error Types:
1249//   * AccessDeniedException
1250//   You don't have access to this item. The provided credentials couldn't be
1251//   validated. You might not be authorized to carry out the request. Make sure
1252//   that your account is authorized to use the Amazon QuickSight service, that
1253//   your policies have the correct permissions, and that you are using the correct
1254//   access keys.
1255//
1256//   * InvalidParameterValueException
1257//   One or more parameters has a value that isn't valid.
1258//
1259//   * ResourceNotFoundException
1260//   One or more resources can't be found.
1261//
1262//   * ThrottlingException
1263//   Access is throttled.
1264//
1265//   * LimitExceededException
1266//   A limit is exceeded.
1267//
1268//   * ResourceExistsException
1269//   The resource specified already exists.
1270//
1271//   * InternalFailureException
1272//   An internal failure occurred.
1273//
1274// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIngestion
1275func (c *QuickSight) CreateIngestion(input *CreateIngestionInput) (*CreateIngestionOutput, error) {
1276	req, out := c.CreateIngestionRequest(input)
1277	return out, req.Send()
1278}
1279
1280// CreateIngestionWithContext is the same as CreateIngestion with the addition of
1281// the ability to pass a context and additional request options.
1282//
1283// See CreateIngestion for details on how to use this API operation.
1284//
1285// The context must be non-nil and will be used for request cancellation. If
1286// the context is nil a panic will occur. In the future the SDK may create
1287// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1288// for more information on using Contexts.
1289func (c *QuickSight) CreateIngestionWithContext(ctx aws.Context, input *CreateIngestionInput, opts ...request.Option) (*CreateIngestionOutput, error) {
1290	req, out := c.CreateIngestionRequest(input)
1291	req.SetContext(ctx)
1292	req.ApplyOptions(opts...)
1293	return out, req.Send()
1294}
1295
1296const opCreateNamespace = "CreateNamespace"
1297
1298// CreateNamespaceRequest generates a "aws/request.Request" representing the
1299// client's request for the CreateNamespace operation. The "output" return
1300// value will be populated with the request's response once the request completes
1301// successfully.
1302//
1303// Use "Send" method on the returned Request to send the API call to the service.
1304// the "output" return value is not valid until after Send returns without error.
1305//
1306// See CreateNamespace for more information on using the CreateNamespace
1307// API call, and error handling.
1308//
1309// This method is useful when you want to inject custom logic or configuration
1310// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1311//
1312//
1313//    // Example sending a request using the CreateNamespaceRequest method.
1314//    req, resp := client.CreateNamespaceRequest(params)
1315//
1316//    err := req.Send()
1317//    if err == nil { // resp is now filled
1318//        fmt.Println(resp)
1319//    }
1320//
1321// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateNamespace
1322func (c *QuickSight) CreateNamespaceRequest(input *CreateNamespaceInput) (req *request.Request, output *CreateNamespaceOutput) {
1323	op := &request.Operation{
1324		Name:       opCreateNamespace,
1325		HTTPMethod: "POST",
1326		HTTPPath:   "/accounts/{AwsAccountId}",
1327	}
1328
1329	if input == nil {
1330		input = &CreateNamespaceInput{}
1331	}
1332
1333	output = &CreateNamespaceOutput{}
1334	req = c.newRequest(op, input, output)
1335	return
1336}
1337
1338// CreateNamespace API operation for Amazon QuickSight.
1339//
1340// (Enterprise edition only) Creates a new namespace for you to use with Amazon
1341// QuickSight.
1342//
1343// A namespace allows you to isolate the Amazon QuickSight users and groups
1344// that are registered for that namespace. Users that access the namespace can
1345// share assets only with other users or groups in the same namespace. They
1346// can't see users and groups in other namespaces. You can create a namespace
1347// after your Amazon Web Services account is subscribed to Amazon QuickSight.
1348// The namespace must be unique within the Amazon Web Services account. By default,
1349// there is a limit of 100 namespaces per Amazon Web Services account. To increase
1350// your limit, create a ticket with Amazon Web Services Support.
1351//
1352// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1353// with awserr.Error's Code and Message methods to get detailed information about
1354// the error.
1355//
1356// See the AWS API reference guide for Amazon QuickSight's
1357// API operation CreateNamespace for usage and error information.
1358//
1359// Returned Error Types:
1360//   * AccessDeniedException
1361//   You don't have access to this item. The provided credentials couldn't be
1362//   validated. You might not be authorized to carry out the request. Make sure
1363//   that your account is authorized to use the Amazon QuickSight service, that
1364//   your policies have the correct permissions, and that you are using the correct
1365//   access keys.
1366//
1367//   * InvalidParameterValueException
1368//   One or more parameters has a value that isn't valid.
1369//
1370//   * ResourceNotFoundException
1371//   One or more resources can't be found.
1372//
1373//   * ThrottlingException
1374//   Access is throttled.
1375//
1376//   * LimitExceededException
1377//   A limit is exceeded.
1378//
1379//   * ResourceExistsException
1380//   The resource specified already exists.
1381//
1382//   * PreconditionNotMetException
1383//   One or more preconditions aren't met.
1384//
1385//   * ConflictException
1386//   Updating or deleting a resource can cause an inconsistent state.
1387//
1388//   * InternalFailureException
1389//   An internal failure occurred.
1390//
1391//   * ResourceUnavailableException
1392//   This resource is currently unavailable.
1393//
1394// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateNamespace
1395func (c *QuickSight) CreateNamespace(input *CreateNamespaceInput) (*CreateNamespaceOutput, error) {
1396	req, out := c.CreateNamespaceRequest(input)
1397	return out, req.Send()
1398}
1399
1400// CreateNamespaceWithContext is the same as CreateNamespace with the addition of
1401// the ability to pass a context and additional request options.
1402//
1403// See CreateNamespace for details on how to use this API operation.
1404//
1405// The context must be non-nil and will be used for request cancellation. If
1406// the context is nil a panic will occur. In the future the SDK may create
1407// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1408// for more information on using Contexts.
1409func (c *QuickSight) CreateNamespaceWithContext(ctx aws.Context, input *CreateNamespaceInput, opts ...request.Option) (*CreateNamespaceOutput, error) {
1410	req, out := c.CreateNamespaceRequest(input)
1411	req.SetContext(ctx)
1412	req.ApplyOptions(opts...)
1413	return out, req.Send()
1414}
1415
1416const opCreateTemplate = "CreateTemplate"
1417
1418// CreateTemplateRequest generates a "aws/request.Request" representing the
1419// client's request for the CreateTemplate operation. The "output" return
1420// value will be populated with the request's response once the request completes
1421// successfully.
1422//
1423// Use "Send" method on the returned Request to send the API call to the service.
1424// the "output" return value is not valid until after Send returns without error.
1425//
1426// See CreateTemplate for more information on using the CreateTemplate
1427// API call, and error handling.
1428//
1429// This method is useful when you want to inject custom logic or configuration
1430// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1431//
1432//
1433//    // Example sending a request using the CreateTemplateRequest method.
1434//    req, resp := client.CreateTemplateRequest(params)
1435//
1436//    err := req.Send()
1437//    if err == nil { // resp is now filled
1438//        fmt.Println(resp)
1439//    }
1440//
1441// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplate
1442func (c *QuickSight) CreateTemplateRequest(input *CreateTemplateInput) (req *request.Request, output *CreateTemplateOutput) {
1443	op := &request.Operation{
1444		Name:       opCreateTemplate,
1445		HTTPMethod: "POST",
1446		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}",
1447	}
1448
1449	if input == nil {
1450		input = &CreateTemplateInput{}
1451	}
1452
1453	output = &CreateTemplateOutput{}
1454	req = c.newRequest(op, input, output)
1455	return
1456}
1457
1458// CreateTemplate API operation for Amazon QuickSight.
1459//
1460// Creates a template from an existing Amazon QuickSight analysis or template.
1461// You can use the resulting template to create a dashboard.
1462//
1463// A template is an entity in Amazon QuickSight that encapsulates the metadata
1464// required to create an analysis and that you can use to create s dashboard.
1465// A template adds a layer of abstraction by using placeholders to replace the
1466// dataset associated with the analysis. You can use templates to create dashboards
1467// by replacing dataset placeholders with datasets that follow the same schema
1468// that was used to create the source analysis and template.
1469//
1470// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1471// with awserr.Error's Code and Message methods to get detailed information about
1472// the error.
1473//
1474// See the AWS API reference guide for Amazon QuickSight's
1475// API operation CreateTemplate for usage and error information.
1476//
1477// Returned Error Types:
1478//   * InvalidParameterValueException
1479//   One or more parameters has a value that isn't valid.
1480//
1481//   * AccessDeniedException
1482//   You don't have access to this item. The provided credentials couldn't be
1483//   validated. You might not be authorized to carry out the request. Make sure
1484//   that your account is authorized to use the Amazon QuickSight service, that
1485//   your policies have the correct permissions, and that you are using the correct
1486//   access keys.
1487//
1488//   * ResourceExistsException
1489//   The resource specified already exists.
1490//
1491//   * ResourceNotFoundException
1492//   One or more resources can't be found.
1493//
1494//   * ThrottlingException
1495//   Access is throttled.
1496//
1497//   * LimitExceededException
1498//   A limit is exceeded.
1499//
1500//   * UnsupportedUserEditionException
1501//   This error indicates that you are calling an operation on an Amazon QuickSight
1502//   subscription where the edition doesn't include support for that operation.
1503//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
1504//   Not every operation and capability is available in every edition.
1505//
1506//   * ConflictException
1507//   Updating or deleting a resource can cause an inconsistent state.
1508//
1509//   * InternalFailureException
1510//   An internal failure occurred.
1511//
1512// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplate
1513func (c *QuickSight) CreateTemplate(input *CreateTemplateInput) (*CreateTemplateOutput, error) {
1514	req, out := c.CreateTemplateRequest(input)
1515	return out, req.Send()
1516}
1517
1518// CreateTemplateWithContext is the same as CreateTemplate with the addition of
1519// the ability to pass a context and additional request options.
1520//
1521// See CreateTemplate for details on how to use this API operation.
1522//
1523// The context must be non-nil and will be used for request cancellation. If
1524// the context is nil a panic will occur. In the future the SDK may create
1525// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1526// for more information on using Contexts.
1527func (c *QuickSight) CreateTemplateWithContext(ctx aws.Context, input *CreateTemplateInput, opts ...request.Option) (*CreateTemplateOutput, error) {
1528	req, out := c.CreateTemplateRequest(input)
1529	req.SetContext(ctx)
1530	req.ApplyOptions(opts...)
1531	return out, req.Send()
1532}
1533
1534const opCreateTemplateAlias = "CreateTemplateAlias"
1535
1536// CreateTemplateAliasRequest generates a "aws/request.Request" representing the
1537// client's request for the CreateTemplateAlias operation. The "output" return
1538// value will be populated with the request's response once the request completes
1539// successfully.
1540//
1541// Use "Send" method on the returned Request to send the API call to the service.
1542// the "output" return value is not valid until after Send returns without error.
1543//
1544// See CreateTemplateAlias for more information on using the CreateTemplateAlias
1545// API call, and error handling.
1546//
1547// This method is useful when you want to inject custom logic or configuration
1548// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1549//
1550//
1551//    // Example sending a request using the CreateTemplateAliasRequest method.
1552//    req, resp := client.CreateTemplateAliasRequest(params)
1553//
1554//    err := req.Send()
1555//    if err == nil { // resp is now filled
1556//        fmt.Println(resp)
1557//    }
1558//
1559// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplateAlias
1560func (c *QuickSight) CreateTemplateAliasRequest(input *CreateTemplateAliasInput) (req *request.Request, output *CreateTemplateAliasOutput) {
1561	op := &request.Operation{
1562		Name:       opCreateTemplateAlias,
1563		HTTPMethod: "POST",
1564		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
1565	}
1566
1567	if input == nil {
1568		input = &CreateTemplateAliasInput{}
1569	}
1570
1571	output = &CreateTemplateAliasOutput{}
1572	req = c.newRequest(op, input, output)
1573	return
1574}
1575
1576// CreateTemplateAlias API operation for Amazon QuickSight.
1577//
1578// Creates a template alias for a template.
1579//
1580// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1581// with awserr.Error's Code and Message methods to get detailed information about
1582// the error.
1583//
1584// See the AWS API reference guide for Amazon QuickSight's
1585// API operation CreateTemplateAlias for usage and error information.
1586//
1587// Returned Error Types:
1588//   * ThrottlingException
1589//   Access is throttled.
1590//
1591//   * ResourceNotFoundException
1592//   One or more resources can't be found.
1593//
1594//   * ConflictException
1595//   Updating or deleting a resource can cause an inconsistent state.
1596//
1597//   * ResourceExistsException
1598//   The resource specified already exists.
1599//
1600//   * LimitExceededException
1601//   A limit is exceeded.
1602//
1603//   * UnsupportedUserEditionException
1604//   This error indicates that you are calling an operation on an Amazon QuickSight
1605//   subscription where the edition doesn't include support for that operation.
1606//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
1607//   Not every operation and capability is available in every edition.
1608//
1609//   * ConflictException
1610//   Updating or deleting a resource can cause an inconsistent state.
1611//
1612//   * InternalFailureException
1613//   An internal failure occurred.
1614//
1615// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplateAlias
1616func (c *QuickSight) CreateTemplateAlias(input *CreateTemplateAliasInput) (*CreateTemplateAliasOutput, error) {
1617	req, out := c.CreateTemplateAliasRequest(input)
1618	return out, req.Send()
1619}
1620
1621// CreateTemplateAliasWithContext is the same as CreateTemplateAlias with the addition of
1622// the ability to pass a context and additional request options.
1623//
1624// See CreateTemplateAlias for details on how to use this API operation.
1625//
1626// The context must be non-nil and will be used for request cancellation. If
1627// the context is nil a panic will occur. In the future the SDK may create
1628// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1629// for more information on using Contexts.
1630func (c *QuickSight) CreateTemplateAliasWithContext(ctx aws.Context, input *CreateTemplateAliasInput, opts ...request.Option) (*CreateTemplateAliasOutput, error) {
1631	req, out := c.CreateTemplateAliasRequest(input)
1632	req.SetContext(ctx)
1633	req.ApplyOptions(opts...)
1634	return out, req.Send()
1635}
1636
1637const opCreateTheme = "CreateTheme"
1638
1639// CreateThemeRequest generates a "aws/request.Request" representing the
1640// client's request for the CreateTheme operation. The "output" return
1641// value will be populated with the request's response once the request completes
1642// successfully.
1643//
1644// Use "Send" method on the returned Request to send the API call to the service.
1645// the "output" return value is not valid until after Send returns without error.
1646//
1647// See CreateTheme for more information on using the CreateTheme
1648// API call, and error handling.
1649//
1650// This method is useful when you want to inject custom logic or configuration
1651// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1652//
1653//
1654//    // Example sending a request using the CreateThemeRequest method.
1655//    req, resp := client.CreateThemeRequest(params)
1656//
1657//    err := req.Send()
1658//    if err == nil { // resp is now filled
1659//        fmt.Println(resp)
1660//    }
1661//
1662// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTheme
1663func (c *QuickSight) CreateThemeRequest(input *CreateThemeInput) (req *request.Request, output *CreateThemeOutput) {
1664	op := &request.Operation{
1665		Name:       opCreateTheme,
1666		HTTPMethod: "POST",
1667		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}",
1668	}
1669
1670	if input == nil {
1671		input = &CreateThemeInput{}
1672	}
1673
1674	output = &CreateThemeOutput{}
1675	req = c.newRequest(op, input, output)
1676	return
1677}
1678
1679// CreateTheme API operation for Amazon QuickSight.
1680//
1681// Creates a theme.
1682//
1683// A theme is set of configuration options for color and layout. Themes apply
1684// to analyses and dashboards. For more information, see Using Themes in Amazon
1685// QuickSight (https://docs.aws.amazon.com/quicksight/latest/user/themes-in-quicksight.html)
1686// in the Amazon QuickSight User Guide.
1687//
1688// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1689// with awserr.Error's Code and Message methods to get detailed information about
1690// the error.
1691//
1692// See the AWS API reference guide for Amazon QuickSight's
1693// API operation CreateTheme for usage and error information.
1694//
1695// Returned Error Types:
1696//   * AccessDeniedException
1697//   You don't have access to this item. The provided credentials couldn't be
1698//   validated. You might not be authorized to carry out the request. Make sure
1699//   that your account is authorized to use the Amazon QuickSight service, that
1700//   your policies have the correct permissions, and that you are using the correct
1701//   access keys.
1702//
1703//   * InvalidParameterValueException
1704//   One or more parameters has a value that isn't valid.
1705//
1706//   * ResourceExistsException
1707//   The resource specified already exists.
1708//
1709//   * ResourceNotFoundException
1710//   One or more resources can't be found.
1711//
1712//   * ThrottlingException
1713//   Access is throttled.
1714//
1715//   * UnsupportedUserEditionException
1716//   This error indicates that you are calling an operation on an Amazon QuickSight
1717//   subscription where the edition doesn't include support for that operation.
1718//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
1719//   Not every operation and capability is available in every edition.
1720//
1721//   * LimitExceededException
1722//   A limit is exceeded.
1723//
1724//   * InternalFailureException
1725//   An internal failure occurred.
1726//
1727// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTheme
1728func (c *QuickSight) CreateTheme(input *CreateThemeInput) (*CreateThemeOutput, error) {
1729	req, out := c.CreateThemeRequest(input)
1730	return out, req.Send()
1731}
1732
1733// CreateThemeWithContext is the same as CreateTheme with the addition of
1734// the ability to pass a context and additional request options.
1735//
1736// See CreateTheme for details on how to use this API operation.
1737//
1738// The context must be non-nil and will be used for request cancellation. If
1739// the context is nil a panic will occur. In the future the SDK may create
1740// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1741// for more information on using Contexts.
1742func (c *QuickSight) CreateThemeWithContext(ctx aws.Context, input *CreateThemeInput, opts ...request.Option) (*CreateThemeOutput, error) {
1743	req, out := c.CreateThemeRequest(input)
1744	req.SetContext(ctx)
1745	req.ApplyOptions(opts...)
1746	return out, req.Send()
1747}
1748
1749const opCreateThemeAlias = "CreateThemeAlias"
1750
1751// CreateThemeAliasRequest generates a "aws/request.Request" representing the
1752// client's request for the CreateThemeAlias operation. The "output" return
1753// value will be populated with the request's response once the request completes
1754// successfully.
1755//
1756// Use "Send" method on the returned Request to send the API call to the service.
1757// the "output" return value is not valid until after Send returns without error.
1758//
1759// See CreateThemeAlias for more information on using the CreateThemeAlias
1760// API call, and error handling.
1761//
1762// This method is useful when you want to inject custom logic or configuration
1763// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1764//
1765//
1766//    // Example sending a request using the CreateThemeAliasRequest method.
1767//    req, resp := client.CreateThemeAliasRequest(params)
1768//
1769//    err := req.Send()
1770//    if err == nil { // resp is now filled
1771//        fmt.Println(resp)
1772//    }
1773//
1774// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateThemeAlias
1775func (c *QuickSight) CreateThemeAliasRequest(input *CreateThemeAliasInput) (req *request.Request, output *CreateThemeAliasOutput) {
1776	op := &request.Operation{
1777		Name:       opCreateThemeAlias,
1778		HTTPMethod: "POST",
1779		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}",
1780	}
1781
1782	if input == nil {
1783		input = &CreateThemeAliasInput{}
1784	}
1785
1786	output = &CreateThemeAliasOutput{}
1787	req = c.newRequest(op, input, output)
1788	return
1789}
1790
1791// CreateThemeAlias API operation for Amazon QuickSight.
1792//
1793// Creates a theme alias for a theme.
1794//
1795// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1796// with awserr.Error's Code and Message methods to get detailed information about
1797// the error.
1798//
1799// See the AWS API reference guide for Amazon QuickSight's
1800// API operation CreateThemeAlias for usage and error information.
1801//
1802// Returned Error Types:
1803//   * ConflictException
1804//   Updating or deleting a resource can cause an inconsistent state.
1805//
1806//   * InvalidParameterValueException
1807//   One or more parameters has a value that isn't valid.
1808//
1809//   * LimitExceededException
1810//   A limit is exceeded.
1811//
1812//   * ResourceExistsException
1813//   The resource specified already exists.
1814//
1815//   * ResourceNotFoundException
1816//   One or more resources can't be found.
1817//
1818//   * ThrottlingException
1819//   Access is throttled.
1820//
1821//   * UnsupportedUserEditionException
1822//   This error indicates that you are calling an operation on an Amazon QuickSight
1823//   subscription where the edition doesn't include support for that operation.
1824//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
1825//   Not every operation and capability is available in every edition.
1826//
1827//   * InternalFailureException
1828//   An internal failure occurred.
1829//
1830// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateThemeAlias
1831func (c *QuickSight) CreateThemeAlias(input *CreateThemeAliasInput) (*CreateThemeAliasOutput, error) {
1832	req, out := c.CreateThemeAliasRequest(input)
1833	return out, req.Send()
1834}
1835
1836// CreateThemeAliasWithContext is the same as CreateThemeAlias with the addition of
1837// the ability to pass a context and additional request options.
1838//
1839// See CreateThemeAlias for details on how to use this API operation.
1840//
1841// The context must be non-nil and will be used for request cancellation. If
1842// the context is nil a panic will occur. In the future the SDK may create
1843// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1844// for more information on using Contexts.
1845func (c *QuickSight) CreateThemeAliasWithContext(ctx aws.Context, input *CreateThemeAliasInput, opts ...request.Option) (*CreateThemeAliasOutput, error) {
1846	req, out := c.CreateThemeAliasRequest(input)
1847	req.SetContext(ctx)
1848	req.ApplyOptions(opts...)
1849	return out, req.Send()
1850}
1851
1852const opDeleteAccountCustomization = "DeleteAccountCustomization"
1853
1854// DeleteAccountCustomizationRequest generates a "aws/request.Request" representing the
1855// client's request for the DeleteAccountCustomization operation. The "output" return
1856// value will be populated with the request's response once the request completes
1857// successfully.
1858//
1859// Use "Send" method on the returned Request to send the API call to the service.
1860// the "output" return value is not valid until after Send returns without error.
1861//
1862// See DeleteAccountCustomization for more information on using the DeleteAccountCustomization
1863// API call, and error handling.
1864//
1865// This method is useful when you want to inject custom logic or configuration
1866// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1867//
1868//
1869//    // Example sending a request using the DeleteAccountCustomizationRequest method.
1870//    req, resp := client.DeleteAccountCustomizationRequest(params)
1871//
1872//    err := req.Send()
1873//    if err == nil { // resp is now filled
1874//        fmt.Println(resp)
1875//    }
1876//
1877// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteAccountCustomization
1878func (c *QuickSight) DeleteAccountCustomizationRequest(input *DeleteAccountCustomizationInput) (req *request.Request, output *DeleteAccountCustomizationOutput) {
1879	op := &request.Operation{
1880		Name:       opDeleteAccountCustomization,
1881		HTTPMethod: "DELETE",
1882		HTTPPath:   "/accounts/{AwsAccountId}/customizations",
1883	}
1884
1885	if input == nil {
1886		input = &DeleteAccountCustomizationInput{}
1887	}
1888
1889	output = &DeleteAccountCustomizationOutput{}
1890	req = c.newRequest(op, input, output)
1891	return
1892}
1893
1894// DeleteAccountCustomization API operation for Amazon QuickSight.
1895//
1896// Deletes all Amazon QuickSight customizations in this Amazon Web Services
1897// Region; for the specified Amazon Web Services account and Amazon QuickSight
1898// namespace.
1899//
1900// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1901// with awserr.Error's Code and Message methods to get detailed information about
1902// the error.
1903//
1904// See the AWS API reference guide for Amazon QuickSight's
1905// API operation DeleteAccountCustomization for usage and error information.
1906//
1907// Returned Error Types:
1908//   * AccessDeniedException
1909//   You don't have access to this item. The provided credentials couldn't be
1910//   validated. You might not be authorized to carry out the request. Make sure
1911//   that your account is authorized to use the Amazon QuickSight service, that
1912//   your policies have the correct permissions, and that you are using the correct
1913//   access keys.
1914//
1915//   * InvalidParameterValueException
1916//   One or more parameters has a value that isn't valid.
1917//
1918//   * ResourceNotFoundException
1919//   One or more resources can't be found.
1920//
1921//   * ThrottlingException
1922//   Access is throttled.
1923//
1924//   * InternalFailureException
1925//   An internal failure occurred.
1926//
1927//   * ResourceUnavailableException
1928//   This resource is currently unavailable.
1929//
1930// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteAccountCustomization
1931func (c *QuickSight) DeleteAccountCustomization(input *DeleteAccountCustomizationInput) (*DeleteAccountCustomizationOutput, error) {
1932	req, out := c.DeleteAccountCustomizationRequest(input)
1933	return out, req.Send()
1934}
1935
1936// DeleteAccountCustomizationWithContext is the same as DeleteAccountCustomization with the addition of
1937// the ability to pass a context and additional request options.
1938//
1939// See DeleteAccountCustomization for details on how to use this API operation.
1940//
1941// The context must be non-nil and will be used for request cancellation. If
1942// the context is nil a panic will occur. In the future the SDK may create
1943// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1944// for more information on using Contexts.
1945func (c *QuickSight) DeleteAccountCustomizationWithContext(ctx aws.Context, input *DeleteAccountCustomizationInput, opts ...request.Option) (*DeleteAccountCustomizationOutput, error) {
1946	req, out := c.DeleteAccountCustomizationRequest(input)
1947	req.SetContext(ctx)
1948	req.ApplyOptions(opts...)
1949	return out, req.Send()
1950}
1951
1952const opDeleteAnalysis = "DeleteAnalysis"
1953
1954// DeleteAnalysisRequest generates a "aws/request.Request" representing the
1955// client's request for the DeleteAnalysis operation. The "output" return
1956// value will be populated with the request's response once the request completes
1957// successfully.
1958//
1959// Use "Send" method on the returned Request to send the API call to the service.
1960// the "output" return value is not valid until after Send returns without error.
1961//
1962// See DeleteAnalysis for more information on using the DeleteAnalysis
1963// API call, and error handling.
1964//
1965// This method is useful when you want to inject custom logic or configuration
1966// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1967//
1968//
1969//    // Example sending a request using the DeleteAnalysisRequest method.
1970//    req, resp := client.DeleteAnalysisRequest(params)
1971//
1972//    err := req.Send()
1973//    if err == nil { // resp is now filled
1974//        fmt.Println(resp)
1975//    }
1976//
1977// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteAnalysis
1978func (c *QuickSight) DeleteAnalysisRequest(input *DeleteAnalysisInput) (req *request.Request, output *DeleteAnalysisOutput) {
1979	op := &request.Operation{
1980		Name:       opDeleteAnalysis,
1981		HTTPMethod: "DELETE",
1982		HTTPPath:   "/accounts/{AwsAccountId}/analyses/{AnalysisId}",
1983	}
1984
1985	if input == nil {
1986		input = &DeleteAnalysisInput{}
1987	}
1988
1989	output = &DeleteAnalysisOutput{}
1990	req = c.newRequest(op, input, output)
1991	return
1992}
1993
1994// DeleteAnalysis API operation for Amazon QuickSight.
1995//
1996// Deletes an analysis from Amazon QuickSight. You can optionally include a
1997// recovery window during which you can restore the analysis. If you don't specify
1998// a recovery window value, the operation defaults to 30 days. Amazon QuickSight
1999// attaches a DeletionTime stamp to the response that specifies the end of the
2000// recovery window. At the end of the recovery window, Amazon QuickSight deletes
2001// the analysis permanently.
2002//
2003// At any time before recovery window ends, you can use the RestoreAnalysis
2004// API operation to remove the DeletionTime stamp and cancel the deletion of
2005// the analysis. The analysis remains visible in the API until it's deleted,
2006// so you can describe it but you can't make a template from it.
2007//
2008// An analysis that's scheduled for deletion isn't accessible in the Amazon
2009// QuickSight console. To access it in the console, restore it. Deleting an
2010// analysis doesn't delete the dashboards that you publish from it.
2011//
2012// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2013// with awserr.Error's Code and Message methods to get detailed information about
2014// the error.
2015//
2016// See the AWS API reference guide for Amazon QuickSight's
2017// API operation DeleteAnalysis for usage and error information.
2018//
2019// Returned Error Types:
2020//   * ThrottlingException
2021//   Access is throttled.
2022//
2023//   * InvalidParameterValueException
2024//   One or more parameters has a value that isn't valid.
2025//
2026//   * ConflictException
2027//   Updating or deleting a resource can cause an inconsistent state.
2028//
2029//   * ResourceNotFoundException
2030//   One or more resources can't be found.
2031//
2032//   * UnsupportedUserEditionException
2033//   This error indicates that you are calling an operation on an Amazon QuickSight
2034//   subscription where the edition doesn't include support for that operation.
2035//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
2036//   Not every operation and capability is available in every edition.
2037//
2038//   * InternalFailureException
2039//   An internal failure occurred.
2040//
2041// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteAnalysis
2042func (c *QuickSight) DeleteAnalysis(input *DeleteAnalysisInput) (*DeleteAnalysisOutput, error) {
2043	req, out := c.DeleteAnalysisRequest(input)
2044	return out, req.Send()
2045}
2046
2047// DeleteAnalysisWithContext is the same as DeleteAnalysis with the addition of
2048// the ability to pass a context and additional request options.
2049//
2050// See DeleteAnalysis for details on how to use this API operation.
2051//
2052// The context must be non-nil and will be used for request cancellation. If
2053// the context is nil a panic will occur. In the future the SDK may create
2054// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2055// for more information on using Contexts.
2056func (c *QuickSight) DeleteAnalysisWithContext(ctx aws.Context, input *DeleteAnalysisInput, opts ...request.Option) (*DeleteAnalysisOutput, error) {
2057	req, out := c.DeleteAnalysisRequest(input)
2058	req.SetContext(ctx)
2059	req.ApplyOptions(opts...)
2060	return out, req.Send()
2061}
2062
2063const opDeleteDashboard = "DeleteDashboard"
2064
2065// DeleteDashboardRequest generates a "aws/request.Request" representing the
2066// client's request for the DeleteDashboard operation. The "output" return
2067// value will be populated with the request's response once the request completes
2068// successfully.
2069//
2070// Use "Send" method on the returned Request to send the API call to the service.
2071// the "output" return value is not valid until after Send returns without error.
2072//
2073// See DeleteDashboard for more information on using the DeleteDashboard
2074// API call, and error handling.
2075//
2076// This method is useful when you want to inject custom logic or configuration
2077// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2078//
2079//
2080//    // Example sending a request using the DeleteDashboardRequest method.
2081//    req, resp := client.DeleteDashboardRequest(params)
2082//
2083//    err := req.Send()
2084//    if err == nil { // resp is now filled
2085//        fmt.Println(resp)
2086//    }
2087//
2088// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDashboard
2089func (c *QuickSight) DeleteDashboardRequest(input *DeleteDashboardInput) (req *request.Request, output *DeleteDashboardOutput) {
2090	op := &request.Operation{
2091		Name:       opDeleteDashboard,
2092		HTTPMethod: "DELETE",
2093		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
2094	}
2095
2096	if input == nil {
2097		input = &DeleteDashboardInput{}
2098	}
2099
2100	output = &DeleteDashboardOutput{}
2101	req = c.newRequest(op, input, output)
2102	return
2103}
2104
2105// DeleteDashboard API operation for Amazon QuickSight.
2106//
2107// Deletes a dashboard.
2108//
2109// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2110// with awserr.Error's Code and Message methods to get detailed information about
2111// the error.
2112//
2113// See the AWS API reference guide for Amazon QuickSight's
2114// API operation DeleteDashboard for usage and error information.
2115//
2116// Returned Error Types:
2117//   * ThrottlingException
2118//   Access is throttled.
2119//
2120//   * InvalidParameterValueException
2121//   One or more parameters has a value that isn't valid.
2122//
2123//   * ConflictException
2124//   Updating or deleting a resource can cause an inconsistent state.
2125//
2126//   * ResourceNotFoundException
2127//   One or more resources can't be found.
2128//
2129//   * UnsupportedUserEditionException
2130//   This error indicates that you are calling an operation on an Amazon QuickSight
2131//   subscription where the edition doesn't include support for that operation.
2132//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
2133//   Not every operation and capability is available in every edition.
2134//
2135//   * InternalFailureException
2136//   An internal failure occurred.
2137//
2138// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDashboard
2139func (c *QuickSight) DeleteDashboard(input *DeleteDashboardInput) (*DeleteDashboardOutput, error) {
2140	req, out := c.DeleteDashboardRequest(input)
2141	return out, req.Send()
2142}
2143
2144// DeleteDashboardWithContext is the same as DeleteDashboard with the addition of
2145// the ability to pass a context and additional request options.
2146//
2147// See DeleteDashboard for details on how to use this API operation.
2148//
2149// The context must be non-nil and will be used for request cancellation. If
2150// the context is nil a panic will occur. In the future the SDK may create
2151// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2152// for more information on using Contexts.
2153func (c *QuickSight) DeleteDashboardWithContext(ctx aws.Context, input *DeleteDashboardInput, opts ...request.Option) (*DeleteDashboardOutput, error) {
2154	req, out := c.DeleteDashboardRequest(input)
2155	req.SetContext(ctx)
2156	req.ApplyOptions(opts...)
2157	return out, req.Send()
2158}
2159
2160const opDeleteDataSet = "DeleteDataSet"
2161
2162// DeleteDataSetRequest generates a "aws/request.Request" representing the
2163// client's request for the DeleteDataSet operation. The "output" return
2164// value will be populated with the request's response once the request completes
2165// successfully.
2166//
2167// Use "Send" method on the returned Request to send the API call to the service.
2168// the "output" return value is not valid until after Send returns without error.
2169//
2170// See DeleteDataSet for more information on using the DeleteDataSet
2171// API call, and error handling.
2172//
2173// This method is useful when you want to inject custom logic or configuration
2174// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2175//
2176//
2177//    // Example sending a request using the DeleteDataSetRequest method.
2178//    req, resp := client.DeleteDataSetRequest(params)
2179//
2180//    err := req.Send()
2181//    if err == nil { // resp is now filled
2182//        fmt.Println(resp)
2183//    }
2184//
2185// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSet
2186func (c *QuickSight) DeleteDataSetRequest(input *DeleteDataSetInput) (req *request.Request, output *DeleteDataSetOutput) {
2187	op := &request.Operation{
2188		Name:       opDeleteDataSet,
2189		HTTPMethod: "DELETE",
2190		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}",
2191	}
2192
2193	if input == nil {
2194		input = &DeleteDataSetInput{}
2195	}
2196
2197	output = &DeleteDataSetOutput{}
2198	req = c.newRequest(op, input, output)
2199	return
2200}
2201
2202// DeleteDataSet API operation for Amazon QuickSight.
2203//
2204// Deletes a dataset.
2205//
2206// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2207// with awserr.Error's Code and Message methods to get detailed information about
2208// the error.
2209//
2210// See the AWS API reference guide for Amazon QuickSight's
2211// API operation DeleteDataSet for usage and error information.
2212//
2213// Returned Error Types:
2214//   * AccessDeniedException
2215//   You don't have access to this item. The provided credentials couldn't be
2216//   validated. You might not be authorized to carry out the request. Make sure
2217//   that your account is authorized to use the Amazon QuickSight service, that
2218//   your policies have the correct permissions, and that you are using the correct
2219//   access keys.
2220//
2221//   * InvalidParameterValueException
2222//   One or more parameters has a value that isn't valid.
2223//
2224//   * ThrottlingException
2225//   Access is throttled.
2226//
2227//   * ResourceNotFoundException
2228//   One or more resources can't be found.
2229//
2230//   * InternalFailureException
2231//   An internal failure occurred.
2232//
2233// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSet
2234func (c *QuickSight) DeleteDataSet(input *DeleteDataSetInput) (*DeleteDataSetOutput, error) {
2235	req, out := c.DeleteDataSetRequest(input)
2236	return out, req.Send()
2237}
2238
2239// DeleteDataSetWithContext is the same as DeleteDataSet with the addition of
2240// the ability to pass a context and additional request options.
2241//
2242// See DeleteDataSet for details on how to use this API operation.
2243//
2244// The context must be non-nil and will be used for request cancellation. If
2245// the context is nil a panic will occur. In the future the SDK may create
2246// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2247// for more information on using Contexts.
2248func (c *QuickSight) DeleteDataSetWithContext(ctx aws.Context, input *DeleteDataSetInput, opts ...request.Option) (*DeleteDataSetOutput, error) {
2249	req, out := c.DeleteDataSetRequest(input)
2250	req.SetContext(ctx)
2251	req.ApplyOptions(opts...)
2252	return out, req.Send()
2253}
2254
2255const opDeleteDataSource = "DeleteDataSource"
2256
2257// DeleteDataSourceRequest generates a "aws/request.Request" representing the
2258// client's request for the DeleteDataSource operation. The "output" return
2259// value will be populated with the request's response once the request completes
2260// successfully.
2261//
2262// Use "Send" method on the returned Request to send the API call to the service.
2263// the "output" return value is not valid until after Send returns without error.
2264//
2265// See DeleteDataSource for more information on using the DeleteDataSource
2266// API call, and error handling.
2267//
2268// This method is useful when you want to inject custom logic or configuration
2269// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2270//
2271//
2272//    // Example sending a request using the DeleteDataSourceRequest method.
2273//    req, resp := client.DeleteDataSourceRequest(params)
2274//
2275//    err := req.Send()
2276//    if err == nil { // resp is now filled
2277//        fmt.Println(resp)
2278//    }
2279//
2280// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSource
2281func (c *QuickSight) DeleteDataSourceRequest(input *DeleteDataSourceInput) (req *request.Request, output *DeleteDataSourceOutput) {
2282	op := &request.Operation{
2283		Name:       opDeleteDataSource,
2284		HTTPMethod: "DELETE",
2285		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}",
2286	}
2287
2288	if input == nil {
2289		input = &DeleteDataSourceInput{}
2290	}
2291
2292	output = &DeleteDataSourceOutput{}
2293	req = c.newRequest(op, input, output)
2294	return
2295}
2296
2297// DeleteDataSource API operation for Amazon QuickSight.
2298//
2299// Deletes the data source permanently. This operation breaks all the datasets
2300// that reference the deleted data source.
2301//
2302// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2303// with awserr.Error's Code and Message methods to get detailed information about
2304// the error.
2305//
2306// See the AWS API reference guide for Amazon QuickSight's
2307// API operation DeleteDataSource for usage and error information.
2308//
2309// Returned Error Types:
2310//   * AccessDeniedException
2311//   You don't have access to this item. The provided credentials couldn't be
2312//   validated. You might not be authorized to carry out the request. Make sure
2313//   that your account is authorized to use the Amazon QuickSight service, that
2314//   your policies have the correct permissions, and that you are using the correct
2315//   access keys.
2316//
2317//   * InvalidParameterValueException
2318//   One or more parameters has a value that isn't valid.
2319//
2320//   * ThrottlingException
2321//   Access is throttled.
2322//
2323//   * ResourceNotFoundException
2324//   One or more resources can't be found.
2325//
2326//   * InternalFailureException
2327//   An internal failure occurred.
2328//
2329// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSource
2330func (c *QuickSight) DeleteDataSource(input *DeleteDataSourceInput) (*DeleteDataSourceOutput, error) {
2331	req, out := c.DeleteDataSourceRequest(input)
2332	return out, req.Send()
2333}
2334
2335// DeleteDataSourceWithContext is the same as DeleteDataSource with the addition of
2336// the ability to pass a context and additional request options.
2337//
2338// See DeleteDataSource for details on how to use this API operation.
2339//
2340// The context must be non-nil and will be used for request cancellation. If
2341// the context is nil a panic will occur. In the future the SDK may create
2342// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2343// for more information on using Contexts.
2344func (c *QuickSight) DeleteDataSourceWithContext(ctx aws.Context, input *DeleteDataSourceInput, opts ...request.Option) (*DeleteDataSourceOutput, error) {
2345	req, out := c.DeleteDataSourceRequest(input)
2346	req.SetContext(ctx)
2347	req.ApplyOptions(opts...)
2348	return out, req.Send()
2349}
2350
2351const opDeleteFolder = "DeleteFolder"
2352
2353// DeleteFolderRequest generates a "aws/request.Request" representing the
2354// client's request for the DeleteFolder operation. The "output" return
2355// value will be populated with the request's response once the request completes
2356// successfully.
2357//
2358// Use "Send" method on the returned Request to send the API call to the service.
2359// the "output" return value is not valid until after Send returns without error.
2360//
2361// See DeleteFolder for more information on using the DeleteFolder
2362// API call, and error handling.
2363//
2364// This method is useful when you want to inject custom logic or configuration
2365// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2366//
2367//
2368//    // Example sending a request using the DeleteFolderRequest method.
2369//    req, resp := client.DeleteFolderRequest(params)
2370//
2371//    err := req.Send()
2372//    if err == nil { // resp is now filled
2373//        fmt.Println(resp)
2374//    }
2375//
2376// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteFolder
2377func (c *QuickSight) DeleteFolderRequest(input *DeleteFolderInput) (req *request.Request, output *DeleteFolderOutput) {
2378	op := &request.Operation{
2379		Name:       opDeleteFolder,
2380		HTTPMethod: "DELETE",
2381		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}",
2382	}
2383
2384	if input == nil {
2385		input = &DeleteFolderInput{}
2386	}
2387
2388	output = &DeleteFolderOutput{}
2389	req = c.newRequest(op, input, output)
2390	return
2391}
2392
2393// DeleteFolder API operation for Amazon QuickSight.
2394//
2395// Deletes an empty folder.
2396//
2397// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2398// with awserr.Error's Code and Message methods to get detailed information about
2399// the error.
2400//
2401// See the AWS API reference guide for Amazon QuickSight's
2402// API operation DeleteFolder for usage and error information.
2403//
2404// Returned Error Types:
2405//   * InvalidParameterValueException
2406//   One or more parameters has a value that isn't valid.
2407//
2408//   * PreconditionNotMetException
2409//   One or more preconditions aren't met.
2410//
2411//   * AccessDeniedException
2412//   You don't have access to this item. The provided credentials couldn't be
2413//   validated. You might not be authorized to carry out the request. Make sure
2414//   that your account is authorized to use the Amazon QuickSight service, that
2415//   your policies have the correct permissions, and that you are using the correct
2416//   access keys.
2417//
2418//   * ResourceNotFoundException
2419//   One or more resources can't be found.
2420//
2421//   * ConflictException
2422//   Updating or deleting a resource can cause an inconsistent state.
2423//
2424//   * ThrottlingException
2425//   Access is throttled.
2426//
2427//   * UnsupportedUserEditionException
2428//   This error indicates that you are calling an operation on an Amazon QuickSight
2429//   subscription where the edition doesn't include support for that operation.
2430//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
2431//   Not every operation and capability is available in every edition.
2432//
2433//   * InternalFailureException
2434//   An internal failure occurred.
2435//
2436// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteFolder
2437func (c *QuickSight) DeleteFolder(input *DeleteFolderInput) (*DeleteFolderOutput, error) {
2438	req, out := c.DeleteFolderRequest(input)
2439	return out, req.Send()
2440}
2441
2442// DeleteFolderWithContext is the same as DeleteFolder with the addition of
2443// the ability to pass a context and additional request options.
2444//
2445// See DeleteFolder for details on how to use this API operation.
2446//
2447// The context must be non-nil and will be used for request cancellation. If
2448// the context is nil a panic will occur. In the future the SDK may create
2449// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2450// for more information on using Contexts.
2451func (c *QuickSight) DeleteFolderWithContext(ctx aws.Context, input *DeleteFolderInput, opts ...request.Option) (*DeleteFolderOutput, error) {
2452	req, out := c.DeleteFolderRequest(input)
2453	req.SetContext(ctx)
2454	req.ApplyOptions(opts...)
2455	return out, req.Send()
2456}
2457
2458const opDeleteFolderMembership = "DeleteFolderMembership"
2459
2460// DeleteFolderMembershipRequest generates a "aws/request.Request" representing the
2461// client's request for the DeleteFolderMembership operation. The "output" return
2462// value will be populated with the request's response once the request completes
2463// successfully.
2464//
2465// Use "Send" method on the returned Request to send the API call to the service.
2466// the "output" return value is not valid until after Send returns without error.
2467//
2468// See DeleteFolderMembership for more information on using the DeleteFolderMembership
2469// API call, and error handling.
2470//
2471// This method is useful when you want to inject custom logic or configuration
2472// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2473//
2474//
2475//    // Example sending a request using the DeleteFolderMembershipRequest method.
2476//    req, resp := client.DeleteFolderMembershipRequest(params)
2477//
2478//    err := req.Send()
2479//    if err == nil { // resp is now filled
2480//        fmt.Println(resp)
2481//    }
2482//
2483// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteFolderMembership
2484func (c *QuickSight) DeleteFolderMembershipRequest(input *DeleteFolderMembershipInput) (req *request.Request, output *DeleteFolderMembershipOutput) {
2485	op := &request.Operation{
2486		Name:       opDeleteFolderMembership,
2487		HTTPMethod: "DELETE",
2488		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}/members/{MemberType}/{MemberId}",
2489	}
2490
2491	if input == nil {
2492		input = &DeleteFolderMembershipInput{}
2493	}
2494
2495	output = &DeleteFolderMembershipOutput{}
2496	req = c.newRequest(op, input, output)
2497	return
2498}
2499
2500// DeleteFolderMembership API operation for Amazon QuickSight.
2501//
2502// Removes an asset, such as a dashboard, analysis, or dataset, from a folder.
2503//
2504// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2505// with awserr.Error's Code and Message methods to get detailed information about
2506// the error.
2507//
2508// See the AWS API reference guide for Amazon QuickSight's
2509// API operation DeleteFolderMembership for usage and error information.
2510//
2511// Returned Error Types:
2512//   * AccessDeniedException
2513//   You don't have access to this item. The provided credentials couldn't be
2514//   validated. You might not be authorized to carry out the request. Make sure
2515//   that your account is authorized to use the Amazon QuickSight service, that
2516//   your policies have the correct permissions, and that you are using the correct
2517//   access keys.
2518//
2519//   * InvalidParameterValueException
2520//   One or more parameters has a value that isn't valid.
2521//
2522//   * ResourceNotFoundException
2523//   One or more resources can't be found.
2524//
2525//   * ThrottlingException
2526//   Access is throttled.
2527//
2528//   * UnsupportedUserEditionException
2529//   This error indicates that you are calling an operation on an Amazon QuickSight
2530//   subscription where the edition doesn't include support for that operation.
2531//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
2532//   Not every operation and capability is available in every edition.
2533//
2534//   * InternalFailureException
2535//   An internal failure occurred.
2536//
2537// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteFolderMembership
2538func (c *QuickSight) DeleteFolderMembership(input *DeleteFolderMembershipInput) (*DeleteFolderMembershipOutput, error) {
2539	req, out := c.DeleteFolderMembershipRequest(input)
2540	return out, req.Send()
2541}
2542
2543// DeleteFolderMembershipWithContext is the same as DeleteFolderMembership with the addition of
2544// the ability to pass a context and additional request options.
2545//
2546// See DeleteFolderMembership for details on how to use this API operation.
2547//
2548// The context must be non-nil and will be used for request cancellation. If
2549// the context is nil a panic will occur. In the future the SDK may create
2550// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2551// for more information on using Contexts.
2552func (c *QuickSight) DeleteFolderMembershipWithContext(ctx aws.Context, input *DeleteFolderMembershipInput, opts ...request.Option) (*DeleteFolderMembershipOutput, error) {
2553	req, out := c.DeleteFolderMembershipRequest(input)
2554	req.SetContext(ctx)
2555	req.ApplyOptions(opts...)
2556	return out, req.Send()
2557}
2558
2559const opDeleteGroup = "DeleteGroup"
2560
2561// DeleteGroupRequest generates a "aws/request.Request" representing the
2562// client's request for the DeleteGroup operation. The "output" return
2563// value will be populated with the request's response once the request completes
2564// successfully.
2565//
2566// Use "Send" method on the returned Request to send the API call to the service.
2567// the "output" return value is not valid until after Send returns without error.
2568//
2569// See DeleteGroup for more information on using the DeleteGroup
2570// API call, and error handling.
2571//
2572// This method is useful when you want to inject custom logic or configuration
2573// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2574//
2575//
2576//    // Example sending a request using the DeleteGroupRequest method.
2577//    req, resp := client.DeleteGroupRequest(params)
2578//
2579//    err := req.Send()
2580//    if err == nil { // resp is now filled
2581//        fmt.Println(resp)
2582//    }
2583//
2584// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroup
2585func (c *QuickSight) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, output *DeleteGroupOutput) {
2586	op := &request.Operation{
2587		Name:       opDeleteGroup,
2588		HTTPMethod: "DELETE",
2589		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}",
2590	}
2591
2592	if input == nil {
2593		input = &DeleteGroupInput{}
2594	}
2595
2596	output = &DeleteGroupOutput{}
2597	req = c.newRequest(op, input, output)
2598	return
2599}
2600
2601// DeleteGroup API operation for Amazon QuickSight.
2602//
2603// Removes a user group from Amazon QuickSight.
2604//
2605// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2606// with awserr.Error's Code and Message methods to get detailed information about
2607// the error.
2608//
2609// See the AWS API reference guide for Amazon QuickSight's
2610// API operation DeleteGroup for usage and error information.
2611//
2612// Returned Error Types:
2613//   * AccessDeniedException
2614//   You don't have access to this item. The provided credentials couldn't be
2615//   validated. You might not be authorized to carry out the request. Make sure
2616//   that your account is authorized to use the Amazon QuickSight service, that
2617//   your policies have the correct permissions, and that you are using the correct
2618//   access keys.
2619//
2620//   * InvalidParameterValueException
2621//   One or more parameters has a value that isn't valid.
2622//
2623//   * ResourceNotFoundException
2624//   One or more resources can't be found.
2625//
2626//   * ThrottlingException
2627//   Access is throttled.
2628//
2629//   * PreconditionNotMetException
2630//   One or more preconditions aren't met.
2631//
2632//   * InternalFailureException
2633//   An internal failure occurred.
2634//
2635//   * ResourceUnavailableException
2636//   This resource is currently unavailable.
2637//
2638// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroup
2639func (c *QuickSight) DeleteGroup(input *DeleteGroupInput) (*DeleteGroupOutput, error) {
2640	req, out := c.DeleteGroupRequest(input)
2641	return out, req.Send()
2642}
2643
2644// DeleteGroupWithContext is the same as DeleteGroup with the addition of
2645// the ability to pass a context and additional request options.
2646//
2647// See DeleteGroup for details on how to use this API operation.
2648//
2649// The context must be non-nil and will be used for request cancellation. If
2650// the context is nil a panic will occur. In the future the SDK may create
2651// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2652// for more information on using Contexts.
2653func (c *QuickSight) DeleteGroupWithContext(ctx aws.Context, input *DeleteGroupInput, opts ...request.Option) (*DeleteGroupOutput, error) {
2654	req, out := c.DeleteGroupRequest(input)
2655	req.SetContext(ctx)
2656	req.ApplyOptions(opts...)
2657	return out, req.Send()
2658}
2659
2660const opDeleteGroupMembership = "DeleteGroupMembership"
2661
2662// DeleteGroupMembershipRequest generates a "aws/request.Request" representing the
2663// client's request for the DeleteGroupMembership operation. The "output" return
2664// value will be populated with the request's response once the request completes
2665// successfully.
2666//
2667// Use "Send" method on the returned Request to send the API call to the service.
2668// the "output" return value is not valid until after Send returns without error.
2669//
2670// See DeleteGroupMembership for more information on using the DeleteGroupMembership
2671// API call, and error handling.
2672//
2673// This method is useful when you want to inject custom logic or configuration
2674// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2675//
2676//
2677//    // Example sending a request using the DeleteGroupMembershipRequest method.
2678//    req, resp := client.DeleteGroupMembershipRequest(params)
2679//
2680//    err := req.Send()
2681//    if err == nil { // resp is now filled
2682//        fmt.Println(resp)
2683//    }
2684//
2685// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroupMembership
2686func (c *QuickSight) DeleteGroupMembershipRequest(input *DeleteGroupMembershipInput) (req *request.Request, output *DeleteGroupMembershipOutput) {
2687	op := &request.Operation{
2688		Name:       opDeleteGroupMembership,
2689		HTTPMethod: "DELETE",
2690		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}",
2691	}
2692
2693	if input == nil {
2694		input = &DeleteGroupMembershipInput{}
2695	}
2696
2697	output = &DeleteGroupMembershipOutput{}
2698	req = c.newRequest(op, input, output)
2699	return
2700}
2701
2702// DeleteGroupMembership API operation for Amazon QuickSight.
2703//
2704// Removes a user from a group so that the user is no longer a member of the
2705// group.
2706//
2707// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2708// with awserr.Error's Code and Message methods to get detailed information about
2709// the error.
2710//
2711// See the AWS API reference guide for Amazon QuickSight's
2712// API operation DeleteGroupMembership for usage and error information.
2713//
2714// Returned Error Types:
2715//   * AccessDeniedException
2716//   You don't have access to this item. The provided credentials couldn't be
2717//   validated. You might not be authorized to carry out the request. Make sure
2718//   that your account is authorized to use the Amazon QuickSight service, that
2719//   your policies have the correct permissions, and that you are using the correct
2720//   access keys.
2721//
2722//   * InvalidParameterValueException
2723//   One or more parameters has a value that isn't valid.
2724//
2725//   * ResourceNotFoundException
2726//   One or more resources can't be found.
2727//
2728//   * ThrottlingException
2729//   Access is throttled.
2730//
2731//   * PreconditionNotMetException
2732//   One or more preconditions aren't met.
2733//
2734//   * InternalFailureException
2735//   An internal failure occurred.
2736//
2737//   * ResourceUnavailableException
2738//   This resource is currently unavailable.
2739//
2740// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroupMembership
2741func (c *QuickSight) DeleteGroupMembership(input *DeleteGroupMembershipInput) (*DeleteGroupMembershipOutput, error) {
2742	req, out := c.DeleteGroupMembershipRequest(input)
2743	return out, req.Send()
2744}
2745
2746// DeleteGroupMembershipWithContext is the same as DeleteGroupMembership with the addition of
2747// the ability to pass a context and additional request options.
2748//
2749// See DeleteGroupMembership for details on how to use this API operation.
2750//
2751// The context must be non-nil and will be used for request cancellation. If
2752// the context is nil a panic will occur. In the future the SDK may create
2753// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2754// for more information on using Contexts.
2755func (c *QuickSight) DeleteGroupMembershipWithContext(ctx aws.Context, input *DeleteGroupMembershipInput, opts ...request.Option) (*DeleteGroupMembershipOutput, error) {
2756	req, out := c.DeleteGroupMembershipRequest(input)
2757	req.SetContext(ctx)
2758	req.ApplyOptions(opts...)
2759	return out, req.Send()
2760}
2761
2762const opDeleteIAMPolicyAssignment = "DeleteIAMPolicyAssignment"
2763
2764// DeleteIAMPolicyAssignmentRequest generates a "aws/request.Request" representing the
2765// client's request for the DeleteIAMPolicyAssignment operation. The "output" return
2766// value will be populated with the request's response once the request completes
2767// successfully.
2768//
2769// Use "Send" method on the returned Request to send the API call to the service.
2770// the "output" return value is not valid until after Send returns without error.
2771//
2772// See DeleteIAMPolicyAssignment for more information on using the DeleteIAMPolicyAssignment
2773// API call, and error handling.
2774//
2775// This method is useful when you want to inject custom logic or configuration
2776// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2777//
2778//
2779//    // Example sending a request using the DeleteIAMPolicyAssignmentRequest method.
2780//    req, resp := client.DeleteIAMPolicyAssignmentRequest(params)
2781//
2782//    err := req.Send()
2783//    if err == nil { // resp is now filled
2784//        fmt.Println(resp)
2785//    }
2786//
2787// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteIAMPolicyAssignment
2788func (c *QuickSight) DeleteIAMPolicyAssignmentRequest(input *DeleteIAMPolicyAssignmentInput) (req *request.Request, output *DeleteIAMPolicyAssignmentOutput) {
2789	op := &request.Operation{
2790		Name:       opDeleteIAMPolicyAssignment,
2791		HTTPMethod: "DELETE",
2792		HTTPPath:   "/accounts/{AwsAccountId}/namespace/{Namespace}/iam-policy-assignments/{AssignmentName}",
2793	}
2794
2795	if input == nil {
2796		input = &DeleteIAMPolicyAssignmentInput{}
2797	}
2798
2799	output = &DeleteIAMPolicyAssignmentOutput{}
2800	req = c.newRequest(op, input, output)
2801	return
2802}
2803
2804// DeleteIAMPolicyAssignment API operation for Amazon QuickSight.
2805//
2806// Deletes an existing IAMpolicy assignment.
2807//
2808// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2809// with awserr.Error's Code and Message methods to get detailed information about
2810// the error.
2811//
2812// See the AWS API reference guide for Amazon QuickSight's
2813// API operation DeleteIAMPolicyAssignment for usage and error information.
2814//
2815// Returned Error Types:
2816//   * AccessDeniedException
2817//   You don't have access to this item. The provided credentials couldn't be
2818//   validated. You might not be authorized to carry out the request. Make sure
2819//   that your account is authorized to use the Amazon QuickSight service, that
2820//   your policies have the correct permissions, and that you are using the correct
2821//   access keys.
2822//
2823//   * InvalidParameterValueException
2824//   One or more parameters has a value that isn't valid.
2825//
2826//   * ResourceExistsException
2827//   The resource specified already exists.
2828//
2829//   * ResourceNotFoundException
2830//   One or more resources can't be found.
2831//
2832//   * ThrottlingException
2833//   Access is throttled.
2834//
2835//   * ConcurrentUpdatingException
2836//   A resource is already in a state that indicates an operation is happening
2837//   that must complete before a new update can be applied.
2838//
2839//   * InternalFailureException
2840//   An internal failure occurred.
2841//
2842// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteIAMPolicyAssignment
2843func (c *QuickSight) DeleteIAMPolicyAssignment(input *DeleteIAMPolicyAssignmentInput) (*DeleteIAMPolicyAssignmentOutput, error) {
2844	req, out := c.DeleteIAMPolicyAssignmentRequest(input)
2845	return out, req.Send()
2846}
2847
2848// DeleteIAMPolicyAssignmentWithContext is the same as DeleteIAMPolicyAssignment with the addition of
2849// the ability to pass a context and additional request options.
2850//
2851// See DeleteIAMPolicyAssignment for details on how to use this API operation.
2852//
2853// The context must be non-nil and will be used for request cancellation. If
2854// the context is nil a panic will occur. In the future the SDK may create
2855// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2856// for more information on using Contexts.
2857func (c *QuickSight) DeleteIAMPolicyAssignmentWithContext(ctx aws.Context, input *DeleteIAMPolicyAssignmentInput, opts ...request.Option) (*DeleteIAMPolicyAssignmentOutput, error) {
2858	req, out := c.DeleteIAMPolicyAssignmentRequest(input)
2859	req.SetContext(ctx)
2860	req.ApplyOptions(opts...)
2861	return out, req.Send()
2862}
2863
2864const opDeleteNamespace = "DeleteNamespace"
2865
2866// DeleteNamespaceRequest generates a "aws/request.Request" representing the
2867// client's request for the DeleteNamespace operation. The "output" return
2868// value will be populated with the request's response once the request completes
2869// successfully.
2870//
2871// Use "Send" method on the returned Request to send the API call to the service.
2872// the "output" return value is not valid until after Send returns without error.
2873//
2874// See DeleteNamespace for more information on using the DeleteNamespace
2875// API call, and error handling.
2876//
2877// This method is useful when you want to inject custom logic or configuration
2878// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2879//
2880//
2881//    // Example sending a request using the DeleteNamespaceRequest method.
2882//    req, resp := client.DeleteNamespaceRequest(params)
2883//
2884//    err := req.Send()
2885//    if err == nil { // resp is now filled
2886//        fmt.Println(resp)
2887//    }
2888//
2889// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteNamespace
2890func (c *QuickSight) DeleteNamespaceRequest(input *DeleteNamespaceInput) (req *request.Request, output *DeleteNamespaceOutput) {
2891	op := &request.Operation{
2892		Name:       opDeleteNamespace,
2893		HTTPMethod: "DELETE",
2894		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}",
2895	}
2896
2897	if input == nil {
2898		input = &DeleteNamespaceInput{}
2899	}
2900
2901	output = &DeleteNamespaceOutput{}
2902	req = c.newRequest(op, input, output)
2903	return
2904}
2905
2906// DeleteNamespace API operation for Amazon QuickSight.
2907//
2908// Deletes a namespace and the users and groups that are associated with the
2909// namespace. This is an asynchronous process. Assets including dashboards,
2910// analyses, datasets and data sources are not deleted. To delete these assets,
2911// you use the API operations for the relevant asset.
2912//
2913// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2914// with awserr.Error's Code and Message methods to get detailed information about
2915// the error.
2916//
2917// See the AWS API reference guide for Amazon QuickSight's
2918// API operation DeleteNamespace for usage and error information.
2919//
2920// Returned Error Types:
2921//   * AccessDeniedException
2922//   You don't have access to this item. The provided credentials couldn't be
2923//   validated. You might not be authorized to carry out the request. Make sure
2924//   that your account is authorized to use the Amazon QuickSight service, that
2925//   your policies have the correct permissions, and that you are using the correct
2926//   access keys.
2927//
2928//   * InvalidParameterValueException
2929//   One or more parameters has a value that isn't valid.
2930//
2931//   * ResourceNotFoundException
2932//   One or more resources can't be found.
2933//
2934//   * ThrottlingException
2935//   Access is throttled.
2936//
2937//   * PreconditionNotMetException
2938//   One or more preconditions aren't met.
2939//
2940//   * InternalFailureException
2941//   An internal failure occurred.
2942//
2943//   * ResourceUnavailableException
2944//   This resource is currently unavailable.
2945//
2946// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteNamespace
2947func (c *QuickSight) DeleteNamespace(input *DeleteNamespaceInput) (*DeleteNamespaceOutput, error) {
2948	req, out := c.DeleteNamespaceRequest(input)
2949	return out, req.Send()
2950}
2951
2952// DeleteNamespaceWithContext is the same as DeleteNamespace with the addition of
2953// the ability to pass a context and additional request options.
2954//
2955// See DeleteNamespace for details on how to use this API operation.
2956//
2957// The context must be non-nil and will be used for request cancellation. If
2958// the context is nil a panic will occur. In the future the SDK may create
2959// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2960// for more information on using Contexts.
2961func (c *QuickSight) DeleteNamespaceWithContext(ctx aws.Context, input *DeleteNamespaceInput, opts ...request.Option) (*DeleteNamespaceOutput, error) {
2962	req, out := c.DeleteNamespaceRequest(input)
2963	req.SetContext(ctx)
2964	req.ApplyOptions(opts...)
2965	return out, req.Send()
2966}
2967
2968const opDeleteTemplate = "DeleteTemplate"
2969
2970// DeleteTemplateRequest generates a "aws/request.Request" representing the
2971// client's request for the DeleteTemplate operation. The "output" return
2972// value will be populated with the request's response once the request completes
2973// successfully.
2974//
2975// Use "Send" method on the returned Request to send the API call to the service.
2976// the "output" return value is not valid until after Send returns without error.
2977//
2978// See DeleteTemplate for more information on using the DeleteTemplate
2979// API call, and error handling.
2980//
2981// This method is useful when you want to inject custom logic or configuration
2982// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2983//
2984//
2985//    // Example sending a request using the DeleteTemplateRequest method.
2986//    req, resp := client.DeleteTemplateRequest(params)
2987//
2988//    err := req.Send()
2989//    if err == nil { // resp is now filled
2990//        fmt.Println(resp)
2991//    }
2992//
2993// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplate
2994func (c *QuickSight) DeleteTemplateRequest(input *DeleteTemplateInput) (req *request.Request, output *DeleteTemplateOutput) {
2995	op := &request.Operation{
2996		Name:       opDeleteTemplate,
2997		HTTPMethod: "DELETE",
2998		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}",
2999	}
3000
3001	if input == nil {
3002		input = &DeleteTemplateInput{}
3003	}
3004
3005	output = &DeleteTemplateOutput{}
3006	req = c.newRequest(op, input, output)
3007	return
3008}
3009
3010// DeleteTemplate API operation for Amazon QuickSight.
3011//
3012// Deletes a template.
3013//
3014// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3015// with awserr.Error's Code and Message methods to get detailed information about
3016// the error.
3017//
3018// See the AWS API reference guide for Amazon QuickSight's
3019// API operation DeleteTemplate for usage and error information.
3020//
3021// Returned Error Types:
3022//   * InvalidParameterValueException
3023//   One or more parameters has a value that isn't valid.
3024//
3025//   * ResourceNotFoundException
3026//   One or more resources can't be found.
3027//
3028//   * ThrottlingException
3029//   Access is throttled.
3030//
3031//   * ConflictException
3032//   Updating or deleting a resource can cause an inconsistent state.
3033//
3034//   * LimitExceededException
3035//   A limit is exceeded.
3036//
3037//   * UnsupportedUserEditionException
3038//   This error indicates that you are calling an operation on an Amazon QuickSight
3039//   subscription where the edition doesn't include support for that operation.
3040//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
3041//   Not every operation and capability is available in every edition.
3042//
3043//   * InternalFailureException
3044//   An internal failure occurred.
3045//
3046// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplate
3047func (c *QuickSight) DeleteTemplate(input *DeleteTemplateInput) (*DeleteTemplateOutput, error) {
3048	req, out := c.DeleteTemplateRequest(input)
3049	return out, req.Send()
3050}
3051
3052// DeleteTemplateWithContext is the same as DeleteTemplate with the addition of
3053// the ability to pass a context and additional request options.
3054//
3055// See DeleteTemplate for details on how to use this API operation.
3056//
3057// The context must be non-nil and will be used for request cancellation. If
3058// the context is nil a panic will occur. In the future the SDK may create
3059// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3060// for more information on using Contexts.
3061func (c *QuickSight) DeleteTemplateWithContext(ctx aws.Context, input *DeleteTemplateInput, opts ...request.Option) (*DeleteTemplateOutput, error) {
3062	req, out := c.DeleteTemplateRequest(input)
3063	req.SetContext(ctx)
3064	req.ApplyOptions(opts...)
3065	return out, req.Send()
3066}
3067
3068const opDeleteTemplateAlias = "DeleteTemplateAlias"
3069
3070// DeleteTemplateAliasRequest generates a "aws/request.Request" representing the
3071// client's request for the DeleteTemplateAlias operation. The "output" return
3072// value will be populated with the request's response once the request completes
3073// successfully.
3074//
3075// Use "Send" method on the returned Request to send the API call to the service.
3076// the "output" return value is not valid until after Send returns without error.
3077//
3078// See DeleteTemplateAlias for more information on using the DeleteTemplateAlias
3079// API call, and error handling.
3080//
3081// This method is useful when you want to inject custom logic or configuration
3082// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3083//
3084//
3085//    // Example sending a request using the DeleteTemplateAliasRequest method.
3086//    req, resp := client.DeleteTemplateAliasRequest(params)
3087//
3088//    err := req.Send()
3089//    if err == nil { // resp is now filled
3090//        fmt.Println(resp)
3091//    }
3092//
3093// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplateAlias
3094func (c *QuickSight) DeleteTemplateAliasRequest(input *DeleteTemplateAliasInput) (req *request.Request, output *DeleteTemplateAliasOutput) {
3095	op := &request.Operation{
3096		Name:       opDeleteTemplateAlias,
3097		HTTPMethod: "DELETE",
3098		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
3099	}
3100
3101	if input == nil {
3102		input = &DeleteTemplateAliasInput{}
3103	}
3104
3105	output = &DeleteTemplateAliasOutput{}
3106	req = c.newRequest(op, input, output)
3107	return
3108}
3109
3110// DeleteTemplateAlias API operation for Amazon QuickSight.
3111//
3112// Deletes the item that the specified template alias points to. If you provide
3113// a specific alias, you delete the version of the template that the alias points
3114// to.
3115//
3116// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3117// with awserr.Error's Code and Message methods to get detailed information about
3118// the error.
3119//
3120// See the AWS API reference guide for Amazon QuickSight's
3121// API operation DeleteTemplateAlias for usage and error information.
3122//
3123// Returned Error Types:
3124//   * ThrottlingException
3125//   Access is throttled.
3126//
3127//   * ResourceNotFoundException
3128//   One or more resources can't be found.
3129//
3130//   * UnsupportedUserEditionException
3131//   This error indicates that you are calling an operation on an Amazon QuickSight
3132//   subscription where the edition doesn't include support for that operation.
3133//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
3134//   Not every operation and capability is available in every edition.
3135//
3136//   * ConflictException
3137//   Updating or deleting a resource can cause an inconsistent state.
3138//
3139//   * InternalFailureException
3140//   An internal failure occurred.
3141//
3142// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplateAlias
3143func (c *QuickSight) DeleteTemplateAlias(input *DeleteTemplateAliasInput) (*DeleteTemplateAliasOutput, error) {
3144	req, out := c.DeleteTemplateAliasRequest(input)
3145	return out, req.Send()
3146}
3147
3148// DeleteTemplateAliasWithContext is the same as DeleteTemplateAlias with the addition of
3149// the ability to pass a context and additional request options.
3150//
3151// See DeleteTemplateAlias for details on how to use this API operation.
3152//
3153// The context must be non-nil and will be used for request cancellation. If
3154// the context is nil a panic will occur. In the future the SDK may create
3155// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3156// for more information on using Contexts.
3157func (c *QuickSight) DeleteTemplateAliasWithContext(ctx aws.Context, input *DeleteTemplateAliasInput, opts ...request.Option) (*DeleteTemplateAliasOutput, error) {
3158	req, out := c.DeleteTemplateAliasRequest(input)
3159	req.SetContext(ctx)
3160	req.ApplyOptions(opts...)
3161	return out, req.Send()
3162}
3163
3164const opDeleteTheme = "DeleteTheme"
3165
3166// DeleteThemeRequest generates a "aws/request.Request" representing the
3167// client's request for the DeleteTheme operation. The "output" return
3168// value will be populated with the request's response once the request completes
3169// successfully.
3170//
3171// Use "Send" method on the returned Request to send the API call to the service.
3172// the "output" return value is not valid until after Send returns without error.
3173//
3174// See DeleteTheme for more information on using the DeleteTheme
3175// API call, and error handling.
3176//
3177// This method is useful when you want to inject custom logic or configuration
3178// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3179//
3180//
3181//    // Example sending a request using the DeleteThemeRequest method.
3182//    req, resp := client.DeleteThemeRequest(params)
3183//
3184//    err := req.Send()
3185//    if err == nil { // resp is now filled
3186//        fmt.Println(resp)
3187//    }
3188//
3189// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTheme
3190func (c *QuickSight) DeleteThemeRequest(input *DeleteThemeInput) (req *request.Request, output *DeleteThemeOutput) {
3191	op := &request.Operation{
3192		Name:       opDeleteTheme,
3193		HTTPMethod: "DELETE",
3194		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}",
3195	}
3196
3197	if input == nil {
3198		input = &DeleteThemeInput{}
3199	}
3200
3201	output = &DeleteThemeOutput{}
3202	req = c.newRequest(op, input, output)
3203	return
3204}
3205
3206// DeleteTheme API operation for Amazon QuickSight.
3207//
3208// Deletes a theme.
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 DeleteTheme 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//   * ConflictException
3226//   Updating or deleting a resource can cause an inconsistent state.
3227//
3228//   * InvalidParameterValueException
3229//   One or more parameters has a value that isn't valid.
3230//
3231//   * ResourceNotFoundException
3232//   One or more resources can't be found.
3233//
3234//   * ThrottlingException
3235//   Access is throttled.
3236//
3237//   * UnsupportedUserEditionException
3238//   This error indicates that you are calling an operation on an Amazon QuickSight
3239//   subscription where the edition doesn't include support for that operation.
3240//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
3241//   Not every operation and capability is available in every edition.
3242//
3243//   * InternalFailureException
3244//   An internal failure occurred.
3245//
3246// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTheme
3247func (c *QuickSight) DeleteTheme(input *DeleteThemeInput) (*DeleteThemeOutput, error) {
3248	req, out := c.DeleteThemeRequest(input)
3249	return out, req.Send()
3250}
3251
3252// DeleteThemeWithContext is the same as DeleteTheme with the addition of
3253// the ability to pass a context and additional request options.
3254//
3255// See DeleteTheme for details on how to use this API operation.
3256//
3257// The context must be non-nil and will be used for request cancellation. If
3258// the context is nil a panic will occur. In the future the SDK may create
3259// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3260// for more information on using Contexts.
3261func (c *QuickSight) DeleteThemeWithContext(ctx aws.Context, input *DeleteThemeInput, opts ...request.Option) (*DeleteThemeOutput, error) {
3262	req, out := c.DeleteThemeRequest(input)
3263	req.SetContext(ctx)
3264	req.ApplyOptions(opts...)
3265	return out, req.Send()
3266}
3267
3268const opDeleteThemeAlias = "DeleteThemeAlias"
3269
3270// DeleteThemeAliasRequest generates a "aws/request.Request" representing the
3271// client's request for the DeleteThemeAlias operation. The "output" return
3272// value will be populated with the request's response once the request completes
3273// successfully.
3274//
3275// Use "Send" method on the returned Request to send the API call to the service.
3276// the "output" return value is not valid until after Send returns without error.
3277//
3278// See DeleteThemeAlias for more information on using the DeleteThemeAlias
3279// API call, and error handling.
3280//
3281// This method is useful when you want to inject custom logic or configuration
3282// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3283//
3284//
3285//    // Example sending a request using the DeleteThemeAliasRequest method.
3286//    req, resp := client.DeleteThemeAliasRequest(params)
3287//
3288//    err := req.Send()
3289//    if err == nil { // resp is now filled
3290//        fmt.Println(resp)
3291//    }
3292//
3293// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteThemeAlias
3294func (c *QuickSight) DeleteThemeAliasRequest(input *DeleteThemeAliasInput) (req *request.Request, output *DeleteThemeAliasOutput) {
3295	op := &request.Operation{
3296		Name:       opDeleteThemeAlias,
3297		HTTPMethod: "DELETE",
3298		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}",
3299	}
3300
3301	if input == nil {
3302		input = &DeleteThemeAliasInput{}
3303	}
3304
3305	output = &DeleteThemeAliasOutput{}
3306	req = c.newRequest(op, input, output)
3307	return
3308}
3309
3310// DeleteThemeAlias API operation for Amazon QuickSight.
3311//
3312// Deletes the version of the theme that the specified theme alias points to.
3313// If you provide a specific alias, you delete the version of the theme that
3314// the alias points to.
3315//
3316// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3317// with awserr.Error's Code and Message methods to get detailed information about
3318// the error.
3319//
3320// See the AWS API reference guide for Amazon QuickSight's
3321// API operation DeleteThemeAlias for usage and error information.
3322//
3323// Returned Error Types:
3324//   * ConflictException
3325//   Updating or deleting a resource can cause an inconsistent state.
3326//
3327//   * InvalidParameterValueException
3328//   One or more parameters has a value that isn't valid.
3329//
3330//   * ResourceNotFoundException
3331//   One or more resources can't be found.
3332//
3333//   * ThrottlingException
3334//   Access is throttled.
3335//
3336//   * UnsupportedUserEditionException
3337//   This error indicates that you are calling an operation on an Amazon QuickSight
3338//   subscription where the edition doesn't include support for that operation.
3339//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
3340//   Not every operation and capability is available in every edition.
3341//
3342//   * InternalFailureException
3343//   An internal failure occurred.
3344//
3345// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteThemeAlias
3346func (c *QuickSight) DeleteThemeAlias(input *DeleteThemeAliasInput) (*DeleteThemeAliasOutput, error) {
3347	req, out := c.DeleteThemeAliasRequest(input)
3348	return out, req.Send()
3349}
3350
3351// DeleteThemeAliasWithContext is the same as DeleteThemeAlias with the addition of
3352// the ability to pass a context and additional request options.
3353//
3354// See DeleteThemeAlias for details on how to use this API operation.
3355//
3356// The context must be non-nil and will be used for request cancellation. If
3357// the context is nil a panic will occur. In the future the SDK may create
3358// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3359// for more information on using Contexts.
3360func (c *QuickSight) DeleteThemeAliasWithContext(ctx aws.Context, input *DeleteThemeAliasInput, opts ...request.Option) (*DeleteThemeAliasOutput, error) {
3361	req, out := c.DeleteThemeAliasRequest(input)
3362	req.SetContext(ctx)
3363	req.ApplyOptions(opts...)
3364	return out, req.Send()
3365}
3366
3367const opDeleteUser = "DeleteUser"
3368
3369// DeleteUserRequest generates a "aws/request.Request" representing the
3370// client's request for the DeleteUser operation. The "output" return
3371// value will be populated with the request's response once the request completes
3372// successfully.
3373//
3374// Use "Send" method on the returned Request to send the API call to the service.
3375// the "output" return value is not valid until after Send returns without error.
3376//
3377// See DeleteUser for more information on using the DeleteUser
3378// API call, and error handling.
3379//
3380// This method is useful when you want to inject custom logic or configuration
3381// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3382//
3383//
3384//    // Example sending a request using the DeleteUserRequest method.
3385//    req, resp := client.DeleteUserRequest(params)
3386//
3387//    err := req.Send()
3388//    if err == nil { // resp is now filled
3389//        fmt.Println(resp)
3390//    }
3391//
3392// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUser
3393func (c *QuickSight) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) {
3394	op := &request.Operation{
3395		Name:       opDeleteUser,
3396		HTTPMethod: "DELETE",
3397		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}",
3398	}
3399
3400	if input == nil {
3401		input = &DeleteUserInput{}
3402	}
3403
3404	output = &DeleteUserOutput{}
3405	req = c.newRequest(op, input, output)
3406	return
3407}
3408
3409// DeleteUser API operation for Amazon QuickSight.
3410//
3411// Deletes the Amazon QuickSight user that is associated with the identity of
3412// the Identity and Access Management (IAM) user or role that's making the call.
3413// The IAM user isn't deleted as a result of this call.
3414//
3415// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3416// with awserr.Error's Code and Message methods to get detailed information about
3417// the error.
3418//
3419// See the AWS API reference guide for Amazon QuickSight's
3420// API operation DeleteUser for usage and error information.
3421//
3422// Returned Error Types:
3423//   * AccessDeniedException
3424//   You don't have access to this item. The provided credentials couldn't be
3425//   validated. You might not be authorized to carry out the request. Make sure
3426//   that your account is authorized to use the Amazon QuickSight service, that
3427//   your policies have the correct permissions, and that you are using the correct
3428//   access keys.
3429//
3430//   * InvalidParameterValueException
3431//   One or more parameters has a value that isn't valid.
3432//
3433//   * ResourceNotFoundException
3434//   One or more resources can't be found.
3435//
3436//   * ThrottlingException
3437//   Access is throttled.
3438//
3439//   * PreconditionNotMetException
3440//   One or more preconditions aren't met.
3441//
3442//   * InternalFailureException
3443//   An internal failure occurred.
3444//
3445//   * ResourceUnavailableException
3446//   This resource is currently unavailable.
3447//
3448// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUser
3449func (c *QuickSight) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) {
3450	req, out := c.DeleteUserRequest(input)
3451	return out, req.Send()
3452}
3453
3454// DeleteUserWithContext is the same as DeleteUser with the addition of
3455// the ability to pass a context and additional request options.
3456//
3457// See DeleteUser for details on how to use this API operation.
3458//
3459// The context must be non-nil and will be used for request cancellation. If
3460// the context is nil a panic will occur. In the future the SDK may create
3461// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3462// for more information on using Contexts.
3463func (c *QuickSight) DeleteUserWithContext(ctx aws.Context, input *DeleteUserInput, opts ...request.Option) (*DeleteUserOutput, error) {
3464	req, out := c.DeleteUserRequest(input)
3465	req.SetContext(ctx)
3466	req.ApplyOptions(opts...)
3467	return out, req.Send()
3468}
3469
3470const opDeleteUserByPrincipalId = "DeleteUserByPrincipalId"
3471
3472// DeleteUserByPrincipalIdRequest generates a "aws/request.Request" representing the
3473// client's request for the DeleteUserByPrincipalId operation. The "output" return
3474// value will be populated with the request's response once the request completes
3475// successfully.
3476//
3477// Use "Send" method on the returned Request to send the API call to the service.
3478// the "output" return value is not valid until after Send returns without error.
3479//
3480// See DeleteUserByPrincipalId for more information on using the DeleteUserByPrincipalId
3481// API call, and error handling.
3482//
3483// This method is useful when you want to inject custom logic or configuration
3484// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3485//
3486//
3487//    // Example sending a request using the DeleteUserByPrincipalIdRequest method.
3488//    req, resp := client.DeleteUserByPrincipalIdRequest(params)
3489//
3490//    err := req.Send()
3491//    if err == nil { // resp is now filled
3492//        fmt.Println(resp)
3493//    }
3494//
3495// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUserByPrincipalId
3496func (c *QuickSight) DeleteUserByPrincipalIdRequest(input *DeleteUserByPrincipalIdInput) (req *request.Request, output *DeleteUserByPrincipalIdOutput) {
3497	op := &request.Operation{
3498		Name:       opDeleteUserByPrincipalId,
3499		HTTPMethod: "DELETE",
3500		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/user-principals/{PrincipalId}",
3501	}
3502
3503	if input == nil {
3504		input = &DeleteUserByPrincipalIdInput{}
3505	}
3506
3507	output = &DeleteUserByPrincipalIdOutput{}
3508	req = c.newRequest(op, input, output)
3509	return
3510}
3511
3512// DeleteUserByPrincipalId API operation for Amazon QuickSight.
3513//
3514// Deletes a user identified by its principal ID.
3515//
3516// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3517// with awserr.Error's Code and Message methods to get detailed information about
3518// the error.
3519//
3520// See the AWS API reference guide for Amazon QuickSight's
3521// API operation DeleteUserByPrincipalId for usage and error information.
3522//
3523// Returned Error Types:
3524//   * AccessDeniedException
3525//   You don't have access to this item. The provided credentials couldn't be
3526//   validated. You might not be authorized to carry out the request. Make sure
3527//   that your account is authorized to use the Amazon QuickSight service, that
3528//   your policies have the correct permissions, and that you are using the correct
3529//   access keys.
3530//
3531//   * InvalidParameterValueException
3532//   One or more parameters has a value that isn't valid.
3533//
3534//   * ResourceNotFoundException
3535//   One or more resources can't be found.
3536//
3537//   * ThrottlingException
3538//   Access is throttled.
3539//
3540//   * PreconditionNotMetException
3541//   One or more preconditions aren't met.
3542//
3543//   * InternalFailureException
3544//   An internal failure occurred.
3545//
3546//   * ResourceUnavailableException
3547//   This resource is currently unavailable.
3548//
3549// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUserByPrincipalId
3550func (c *QuickSight) DeleteUserByPrincipalId(input *DeleteUserByPrincipalIdInput) (*DeleteUserByPrincipalIdOutput, error) {
3551	req, out := c.DeleteUserByPrincipalIdRequest(input)
3552	return out, req.Send()
3553}
3554
3555// DeleteUserByPrincipalIdWithContext is the same as DeleteUserByPrincipalId with the addition of
3556// the ability to pass a context and additional request options.
3557//
3558// See DeleteUserByPrincipalId for details on how to use this API operation.
3559//
3560// The context must be non-nil and will be used for request cancellation. If
3561// the context is nil a panic will occur. In the future the SDK may create
3562// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3563// for more information on using Contexts.
3564func (c *QuickSight) DeleteUserByPrincipalIdWithContext(ctx aws.Context, input *DeleteUserByPrincipalIdInput, opts ...request.Option) (*DeleteUserByPrincipalIdOutput, error) {
3565	req, out := c.DeleteUserByPrincipalIdRequest(input)
3566	req.SetContext(ctx)
3567	req.ApplyOptions(opts...)
3568	return out, req.Send()
3569}
3570
3571const opDescribeAccountCustomization = "DescribeAccountCustomization"
3572
3573// DescribeAccountCustomizationRequest generates a "aws/request.Request" representing the
3574// client's request for the DescribeAccountCustomization operation. The "output" return
3575// value will be populated with the request's response once the request completes
3576// successfully.
3577//
3578// Use "Send" method on the returned Request to send the API call to the service.
3579// the "output" return value is not valid until after Send returns without error.
3580//
3581// See DescribeAccountCustomization for more information on using the DescribeAccountCustomization
3582// API call, and error handling.
3583//
3584// This method is useful when you want to inject custom logic or configuration
3585// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3586//
3587//
3588//    // Example sending a request using the DescribeAccountCustomizationRequest method.
3589//    req, resp := client.DescribeAccountCustomizationRequest(params)
3590//
3591//    err := req.Send()
3592//    if err == nil { // resp is now filled
3593//        fmt.Println(resp)
3594//    }
3595//
3596// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAccountCustomization
3597func (c *QuickSight) DescribeAccountCustomizationRequest(input *DescribeAccountCustomizationInput) (req *request.Request, output *DescribeAccountCustomizationOutput) {
3598	op := &request.Operation{
3599		Name:       opDescribeAccountCustomization,
3600		HTTPMethod: "GET",
3601		HTTPPath:   "/accounts/{AwsAccountId}/customizations",
3602	}
3603
3604	if input == nil {
3605		input = &DescribeAccountCustomizationInput{}
3606	}
3607
3608	output = &DescribeAccountCustomizationOutput{}
3609	req = c.newRequest(op, input, output)
3610	return
3611}
3612
3613// DescribeAccountCustomization API operation for Amazon QuickSight.
3614//
3615// Describes the customizations associated with the provided Amazon Web Services
3616// account and Amazon Amazon QuickSight namespace in an Amazon Web Services
3617// Region;. The Amazon QuickSight console evaluates which customizations to
3618// apply by running this API operation with the Resolved flag included.
3619//
3620// To determine what customizations display when you run this command, it can
3621// help to visualize the relationship of the entities involved.
3622//
3623//    * Amazon Web Services account - The Amazon Web Services account exists
3624//    at the top of the hierarchy. It has the potential to use all of the Amazon
3625//    Web Services Regions; and AWS Services. When you subscribe to Amazon QuickSight,
3626//    you choose one Amazon Web Services Region; to use as your home Region.
3627//    That's where your free SPICE capacity is located. You can use Amazon QuickSight
3628//    in any supported Amazon Web Services Region;.
3629//
3630//    * Amazon Web Services Region; - In each Amazon Web Services Region; where
3631//    you sign in to Amazon QuickSight at least once, Amazon QuickSight acts
3632//    as a separate instance of the same service. If you have a user directory,
3633//    it resides in us-east-1, which is the US East (N. Virginia). Generally
3634//    speaking, these users have access to Amazon QuickSight in any Amazon Web
3635//    Services Region;, unless they are constrained to a namespace. To run the
3636//    command in a different Amazon Web Services Region;, you change your Region
3637//    settings. If you're using the AWS CLI, you can use one of the following
3638//    options: Use command line options (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-options.html).
3639//    Use named profiles (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html).
3640//    Run aws configure to change your default Amazon Web Services Region;.
3641//    Use Enter to key the same settings for your keys. For more information,
3642//    see Configuring the AWS CLI (https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html).
3643//
3644//    * Namespace - A Amazon QuickSight namespace is a partition that contains
3645//    users and assets (data sources, datasets, dashboards, and so on). To access
3646//    assets that are in a specific namespace, users and groups must also be
3647//    part of the same namespace. People who share a namespace are completely
3648//    isolated from users and assets in other namespaces, even if they are in
3649//    the same Amazon Web Services account and Amazon Web Services Region;.
3650//
3651//    * Applied customizations - Within an Amazon Web Services Region;, a set
3652//    of Amazon QuickSight customizations can apply to an Amazon Web Services
3653//    account or to a namespace. Settings that you apply to a namespace override
3654//    settings that you apply to an Amazon Web Services account. All settings
3655//    are isolated to a single Amazon Web Services Region;. To apply them in
3656//    other Amazon Web Services Regions;, run the CreateAccountCustomization
3657//    command in each Amazon Web Services Region; where you want to apply the
3658//    same customizations.
3659//
3660// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3661// with awserr.Error's Code and Message methods to get detailed information about
3662// the error.
3663//
3664// See the AWS API reference guide for Amazon QuickSight's
3665// API operation DescribeAccountCustomization for usage and error information.
3666//
3667// Returned Error Types:
3668//   * AccessDeniedException
3669//   You don't have access to this item. The provided credentials couldn't be
3670//   validated. You might not be authorized to carry out the request. Make sure
3671//   that your account is authorized to use the Amazon QuickSight service, that
3672//   your policies have the correct permissions, and that you are using the correct
3673//   access keys.
3674//
3675//   * InvalidParameterValueException
3676//   One or more parameters has a value that isn't valid.
3677//
3678//   * ResourceNotFoundException
3679//   One or more resources can't be found.
3680//
3681//   * ThrottlingException
3682//   Access is throttled.
3683//
3684//   * InternalFailureException
3685//   An internal failure occurred.
3686//
3687//   * ResourceUnavailableException
3688//   This resource is currently unavailable.
3689//
3690// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAccountCustomization
3691func (c *QuickSight) DescribeAccountCustomization(input *DescribeAccountCustomizationInput) (*DescribeAccountCustomizationOutput, error) {
3692	req, out := c.DescribeAccountCustomizationRequest(input)
3693	return out, req.Send()
3694}
3695
3696// DescribeAccountCustomizationWithContext is the same as DescribeAccountCustomization with the addition of
3697// the ability to pass a context and additional request options.
3698//
3699// See DescribeAccountCustomization for details on how to use this API operation.
3700//
3701// The context must be non-nil and will be used for request cancellation. If
3702// the context is nil a panic will occur. In the future the SDK may create
3703// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3704// for more information on using Contexts.
3705func (c *QuickSight) DescribeAccountCustomizationWithContext(ctx aws.Context, input *DescribeAccountCustomizationInput, opts ...request.Option) (*DescribeAccountCustomizationOutput, error) {
3706	req, out := c.DescribeAccountCustomizationRequest(input)
3707	req.SetContext(ctx)
3708	req.ApplyOptions(opts...)
3709	return out, req.Send()
3710}
3711
3712const opDescribeAccountSettings = "DescribeAccountSettings"
3713
3714// DescribeAccountSettingsRequest generates a "aws/request.Request" representing the
3715// client's request for the DescribeAccountSettings operation. The "output" return
3716// value will be populated with the request's response once the request completes
3717// successfully.
3718//
3719// Use "Send" method on the returned Request to send the API call to the service.
3720// the "output" return value is not valid until after Send returns without error.
3721//
3722// See DescribeAccountSettings for more information on using the DescribeAccountSettings
3723// API call, and error handling.
3724//
3725// This method is useful when you want to inject custom logic or configuration
3726// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3727//
3728//
3729//    // Example sending a request using the DescribeAccountSettingsRequest method.
3730//    req, resp := client.DescribeAccountSettingsRequest(params)
3731//
3732//    err := req.Send()
3733//    if err == nil { // resp is now filled
3734//        fmt.Println(resp)
3735//    }
3736//
3737// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAccountSettings
3738func (c *QuickSight) DescribeAccountSettingsRequest(input *DescribeAccountSettingsInput) (req *request.Request, output *DescribeAccountSettingsOutput) {
3739	op := &request.Operation{
3740		Name:       opDescribeAccountSettings,
3741		HTTPMethod: "GET",
3742		HTTPPath:   "/accounts/{AwsAccountId}/settings",
3743	}
3744
3745	if input == nil {
3746		input = &DescribeAccountSettingsInput{}
3747	}
3748
3749	output = &DescribeAccountSettingsOutput{}
3750	req = c.newRequest(op, input, output)
3751	return
3752}
3753
3754// DescribeAccountSettings API operation for Amazon QuickSight.
3755//
3756// Describes the settings that were used when your Amazon QuickSight subscription
3757// was first created in this Amazon Web Services account.
3758//
3759// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3760// with awserr.Error's Code and Message methods to get detailed information about
3761// the error.
3762//
3763// See the AWS API reference guide for Amazon QuickSight's
3764// API operation DescribeAccountSettings for usage and error information.
3765//
3766// Returned Error Types:
3767//   * AccessDeniedException
3768//   You don't have access to this item. The provided credentials couldn't be
3769//   validated. You might not be authorized to carry out the request. Make sure
3770//   that your account is authorized to use the Amazon QuickSight service, that
3771//   your policies have the correct permissions, and that you are using the correct
3772//   access keys.
3773//
3774//   * InvalidParameterValueException
3775//   One or more parameters has a value that isn't valid.
3776//
3777//   * ResourceNotFoundException
3778//   One or more resources can't be found.
3779//
3780//   * ThrottlingException
3781//   Access is throttled.
3782//
3783//   * InternalFailureException
3784//   An internal failure occurred.
3785//
3786//   * ResourceUnavailableException
3787//   This resource is currently unavailable.
3788//
3789// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAccountSettings
3790func (c *QuickSight) DescribeAccountSettings(input *DescribeAccountSettingsInput) (*DescribeAccountSettingsOutput, error) {
3791	req, out := c.DescribeAccountSettingsRequest(input)
3792	return out, req.Send()
3793}
3794
3795// DescribeAccountSettingsWithContext is the same as DescribeAccountSettings with the addition of
3796// the ability to pass a context and additional request options.
3797//
3798// See DescribeAccountSettings for details on how to use this API operation.
3799//
3800// The context must be non-nil and will be used for request cancellation. If
3801// the context is nil a panic will occur. In the future the SDK may create
3802// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3803// for more information on using Contexts.
3804func (c *QuickSight) DescribeAccountSettingsWithContext(ctx aws.Context, input *DescribeAccountSettingsInput, opts ...request.Option) (*DescribeAccountSettingsOutput, error) {
3805	req, out := c.DescribeAccountSettingsRequest(input)
3806	req.SetContext(ctx)
3807	req.ApplyOptions(opts...)
3808	return out, req.Send()
3809}
3810
3811const opDescribeAnalysis = "DescribeAnalysis"
3812
3813// DescribeAnalysisRequest generates a "aws/request.Request" representing the
3814// client's request for the DescribeAnalysis operation. The "output" return
3815// value will be populated with the request's response once the request completes
3816// successfully.
3817//
3818// Use "Send" method on the returned Request to send the API call to the service.
3819// the "output" return value is not valid until after Send returns without error.
3820//
3821// See DescribeAnalysis for more information on using the DescribeAnalysis
3822// API call, and error handling.
3823//
3824// This method is useful when you want to inject custom logic or configuration
3825// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3826//
3827//
3828//    // Example sending a request using the DescribeAnalysisRequest method.
3829//    req, resp := client.DescribeAnalysisRequest(params)
3830//
3831//    err := req.Send()
3832//    if err == nil { // resp is now filled
3833//        fmt.Println(resp)
3834//    }
3835//
3836// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAnalysis
3837func (c *QuickSight) DescribeAnalysisRequest(input *DescribeAnalysisInput) (req *request.Request, output *DescribeAnalysisOutput) {
3838	op := &request.Operation{
3839		Name:       opDescribeAnalysis,
3840		HTTPMethod: "GET",
3841		HTTPPath:   "/accounts/{AwsAccountId}/analyses/{AnalysisId}",
3842	}
3843
3844	if input == nil {
3845		input = &DescribeAnalysisInput{}
3846	}
3847
3848	output = &DescribeAnalysisOutput{}
3849	req = c.newRequest(op, input, output)
3850	return
3851}
3852
3853// DescribeAnalysis API operation for Amazon QuickSight.
3854//
3855// Provides a summary of the metadata for an analysis.
3856//
3857// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3858// with awserr.Error's Code and Message methods to get detailed information about
3859// the error.
3860//
3861// See the AWS API reference guide for Amazon QuickSight's
3862// API operation DescribeAnalysis for usage and error information.
3863//
3864// Returned Error Types:
3865//   * InvalidParameterValueException
3866//   One or more parameters has a value that isn't valid.
3867//
3868//   * ResourceNotFoundException
3869//   One or more resources can't be found.
3870//
3871//   * AccessDeniedException
3872//   You don't have access to this item. The provided credentials couldn't be
3873//   validated. You might not be authorized to carry out the request. Make sure
3874//   that your account is authorized to use the Amazon QuickSight service, that
3875//   your policies have the correct permissions, and that you are using the correct
3876//   access keys.
3877//
3878//   * ThrottlingException
3879//   Access is throttled.
3880//
3881//   * UnsupportedUserEditionException
3882//   This error indicates that you are calling an operation on an Amazon QuickSight
3883//   subscription where the edition doesn't include support for that operation.
3884//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
3885//   Not every operation and capability is available in every edition.
3886//
3887//   * InternalFailureException
3888//   An internal failure occurred.
3889//
3890// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAnalysis
3891func (c *QuickSight) DescribeAnalysis(input *DescribeAnalysisInput) (*DescribeAnalysisOutput, error) {
3892	req, out := c.DescribeAnalysisRequest(input)
3893	return out, req.Send()
3894}
3895
3896// DescribeAnalysisWithContext is the same as DescribeAnalysis with the addition of
3897// the ability to pass a context and additional request options.
3898//
3899// See DescribeAnalysis for details on how to use this API operation.
3900//
3901// The context must be non-nil and will be used for request cancellation. If
3902// the context is nil a panic will occur. In the future the SDK may create
3903// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3904// for more information on using Contexts.
3905func (c *QuickSight) DescribeAnalysisWithContext(ctx aws.Context, input *DescribeAnalysisInput, opts ...request.Option) (*DescribeAnalysisOutput, error) {
3906	req, out := c.DescribeAnalysisRequest(input)
3907	req.SetContext(ctx)
3908	req.ApplyOptions(opts...)
3909	return out, req.Send()
3910}
3911
3912const opDescribeAnalysisPermissions = "DescribeAnalysisPermissions"
3913
3914// DescribeAnalysisPermissionsRequest generates a "aws/request.Request" representing the
3915// client's request for the DescribeAnalysisPermissions operation. The "output" return
3916// value will be populated with the request's response once the request completes
3917// successfully.
3918//
3919// Use "Send" method on the returned Request to send the API call to the service.
3920// the "output" return value is not valid until after Send returns without error.
3921//
3922// See DescribeAnalysisPermissions for more information on using the DescribeAnalysisPermissions
3923// API call, and error handling.
3924//
3925// This method is useful when you want to inject custom logic or configuration
3926// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3927//
3928//
3929//    // Example sending a request using the DescribeAnalysisPermissionsRequest method.
3930//    req, resp := client.DescribeAnalysisPermissionsRequest(params)
3931//
3932//    err := req.Send()
3933//    if err == nil { // resp is now filled
3934//        fmt.Println(resp)
3935//    }
3936//
3937// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAnalysisPermissions
3938func (c *QuickSight) DescribeAnalysisPermissionsRequest(input *DescribeAnalysisPermissionsInput) (req *request.Request, output *DescribeAnalysisPermissionsOutput) {
3939	op := &request.Operation{
3940		Name:       opDescribeAnalysisPermissions,
3941		HTTPMethod: "GET",
3942		HTTPPath:   "/accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions",
3943	}
3944
3945	if input == nil {
3946		input = &DescribeAnalysisPermissionsInput{}
3947	}
3948
3949	output = &DescribeAnalysisPermissionsOutput{}
3950	req = c.newRequest(op, input, output)
3951	return
3952}
3953
3954// DescribeAnalysisPermissions API operation for Amazon QuickSight.
3955//
3956// Provides the read and write permissions for an analysis.
3957//
3958// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3959// with awserr.Error's Code and Message methods to get detailed information about
3960// the error.
3961//
3962// See the AWS API reference guide for Amazon QuickSight's
3963// API operation DescribeAnalysisPermissions for usage and error information.
3964//
3965// Returned Error Types:
3966//   * InvalidParameterValueException
3967//   One or more parameters has a value that isn't valid.
3968//
3969//   * ResourceNotFoundException
3970//   One or more resources can't be found.
3971//
3972//   * ThrottlingException
3973//   Access is throttled.
3974//
3975//   * UnsupportedUserEditionException
3976//   This error indicates that you are calling an operation on an Amazon QuickSight
3977//   subscription where the edition doesn't include support for that operation.
3978//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
3979//   Not every operation and capability is available in every edition.
3980//
3981//   * InternalFailureException
3982//   An internal failure occurred.
3983//
3984// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAnalysisPermissions
3985func (c *QuickSight) DescribeAnalysisPermissions(input *DescribeAnalysisPermissionsInput) (*DescribeAnalysisPermissionsOutput, error) {
3986	req, out := c.DescribeAnalysisPermissionsRequest(input)
3987	return out, req.Send()
3988}
3989
3990// DescribeAnalysisPermissionsWithContext is the same as DescribeAnalysisPermissions with the addition of
3991// the ability to pass a context and additional request options.
3992//
3993// See DescribeAnalysisPermissions for details on how to use this API operation.
3994//
3995// The context must be non-nil and will be used for request cancellation. If
3996// the context is nil a panic will occur. In the future the SDK may create
3997// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3998// for more information on using Contexts.
3999func (c *QuickSight) DescribeAnalysisPermissionsWithContext(ctx aws.Context, input *DescribeAnalysisPermissionsInput, opts ...request.Option) (*DescribeAnalysisPermissionsOutput, error) {
4000	req, out := c.DescribeAnalysisPermissionsRequest(input)
4001	req.SetContext(ctx)
4002	req.ApplyOptions(opts...)
4003	return out, req.Send()
4004}
4005
4006const opDescribeDashboard = "DescribeDashboard"
4007
4008// DescribeDashboardRequest generates a "aws/request.Request" representing the
4009// client's request for the DescribeDashboard operation. The "output" return
4010// value will be populated with the request's response once the request completes
4011// successfully.
4012//
4013// Use "Send" method on the returned Request to send the API call to the service.
4014// the "output" return value is not valid until after Send returns without error.
4015//
4016// See DescribeDashboard for more information on using the DescribeDashboard
4017// API call, and error handling.
4018//
4019// This method is useful when you want to inject custom logic or configuration
4020// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4021//
4022//
4023//    // Example sending a request using the DescribeDashboardRequest method.
4024//    req, resp := client.DescribeDashboardRequest(params)
4025//
4026//    err := req.Send()
4027//    if err == nil { // resp is now filled
4028//        fmt.Println(resp)
4029//    }
4030//
4031// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboard
4032func (c *QuickSight) DescribeDashboardRequest(input *DescribeDashboardInput) (req *request.Request, output *DescribeDashboardOutput) {
4033	op := &request.Operation{
4034		Name:       opDescribeDashboard,
4035		HTTPMethod: "GET",
4036		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
4037	}
4038
4039	if input == nil {
4040		input = &DescribeDashboardInput{}
4041	}
4042
4043	output = &DescribeDashboardOutput{}
4044	req = c.newRequest(op, input, output)
4045	return
4046}
4047
4048// DescribeDashboard API operation for Amazon QuickSight.
4049//
4050// Provides a summary for a dashboard.
4051//
4052// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4053// with awserr.Error's Code and Message methods to get detailed information about
4054// the error.
4055//
4056// See the AWS API reference guide for Amazon QuickSight's
4057// API operation DescribeDashboard for usage and error information.
4058//
4059// Returned Error Types:
4060//   * InvalidParameterValueException
4061//   One or more parameters has a value that isn't valid.
4062//
4063//   * ResourceNotFoundException
4064//   One or more resources can't be found.
4065//
4066//   * AccessDeniedException
4067//   You don't have access to this item. The provided credentials couldn't be
4068//   validated. You might not be authorized to carry out the request. Make sure
4069//   that your account is authorized to use the Amazon QuickSight service, that
4070//   your policies have the correct permissions, and that you are using the correct
4071//   access keys.
4072//
4073//   * ThrottlingException
4074//   Access is throttled.
4075//
4076//   * UnsupportedUserEditionException
4077//   This error indicates that you are calling an operation on an Amazon QuickSight
4078//   subscription where the edition doesn't include support for that operation.
4079//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
4080//   Not every operation and capability is available in every edition.
4081//
4082//   * InternalFailureException
4083//   An internal failure occurred.
4084//
4085// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboard
4086func (c *QuickSight) DescribeDashboard(input *DescribeDashboardInput) (*DescribeDashboardOutput, error) {
4087	req, out := c.DescribeDashboardRequest(input)
4088	return out, req.Send()
4089}
4090
4091// DescribeDashboardWithContext is the same as DescribeDashboard with the addition of
4092// the ability to pass a context and additional request options.
4093//
4094// See DescribeDashboard for details on how to use this API operation.
4095//
4096// The context must be non-nil and will be used for request cancellation. If
4097// the context is nil a panic will occur. In the future the SDK may create
4098// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4099// for more information on using Contexts.
4100func (c *QuickSight) DescribeDashboardWithContext(ctx aws.Context, input *DescribeDashboardInput, opts ...request.Option) (*DescribeDashboardOutput, error) {
4101	req, out := c.DescribeDashboardRequest(input)
4102	req.SetContext(ctx)
4103	req.ApplyOptions(opts...)
4104	return out, req.Send()
4105}
4106
4107const opDescribeDashboardPermissions = "DescribeDashboardPermissions"
4108
4109// DescribeDashboardPermissionsRequest generates a "aws/request.Request" representing the
4110// client's request for the DescribeDashboardPermissions operation. The "output" return
4111// value will be populated with the request's response once the request completes
4112// successfully.
4113//
4114// Use "Send" method on the returned Request to send the API call to the service.
4115// the "output" return value is not valid until after Send returns without error.
4116//
4117// See DescribeDashboardPermissions for more information on using the DescribeDashboardPermissions
4118// API call, and error handling.
4119//
4120// This method is useful when you want to inject custom logic or configuration
4121// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4122//
4123//
4124//    // Example sending a request using the DescribeDashboardPermissionsRequest method.
4125//    req, resp := client.DescribeDashboardPermissionsRequest(params)
4126//
4127//    err := req.Send()
4128//    if err == nil { // resp is now filled
4129//        fmt.Println(resp)
4130//    }
4131//
4132// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboardPermissions
4133func (c *QuickSight) DescribeDashboardPermissionsRequest(input *DescribeDashboardPermissionsInput) (req *request.Request, output *DescribeDashboardPermissionsOutput) {
4134	op := &request.Operation{
4135		Name:       opDescribeDashboardPermissions,
4136		HTTPMethod: "GET",
4137		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions",
4138	}
4139
4140	if input == nil {
4141		input = &DescribeDashboardPermissionsInput{}
4142	}
4143
4144	output = &DescribeDashboardPermissionsOutput{}
4145	req = c.newRequest(op, input, output)
4146	return
4147}
4148
4149// DescribeDashboardPermissions API operation for Amazon QuickSight.
4150//
4151// Describes read and write permissions for a dashboard.
4152//
4153// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4154// with awserr.Error's Code and Message methods to get detailed information about
4155// the error.
4156//
4157// See the AWS API reference guide for Amazon QuickSight's
4158// API operation DescribeDashboardPermissions for usage and error information.
4159//
4160// Returned Error Types:
4161//   * InvalidParameterValueException
4162//   One or more parameters has a value that isn't valid.
4163//
4164//   * ResourceNotFoundException
4165//   One or more resources can't be found.
4166//
4167//   * ThrottlingException
4168//   Access is throttled.
4169//
4170//   * UnsupportedUserEditionException
4171//   This error indicates that you are calling an operation on an Amazon QuickSight
4172//   subscription where the edition doesn't include support for that operation.
4173//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
4174//   Not every operation and capability is available in every edition.
4175//
4176//   * InternalFailureException
4177//   An internal failure occurred.
4178//
4179// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboardPermissions
4180func (c *QuickSight) DescribeDashboardPermissions(input *DescribeDashboardPermissionsInput) (*DescribeDashboardPermissionsOutput, error) {
4181	req, out := c.DescribeDashboardPermissionsRequest(input)
4182	return out, req.Send()
4183}
4184
4185// DescribeDashboardPermissionsWithContext is the same as DescribeDashboardPermissions with the addition of
4186// the ability to pass a context and additional request options.
4187//
4188// See DescribeDashboardPermissions for details on how to use this API operation.
4189//
4190// The context must be non-nil and will be used for request cancellation. If
4191// the context is nil a panic will occur. In the future the SDK may create
4192// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4193// for more information on using Contexts.
4194func (c *QuickSight) DescribeDashboardPermissionsWithContext(ctx aws.Context, input *DescribeDashboardPermissionsInput, opts ...request.Option) (*DescribeDashboardPermissionsOutput, error) {
4195	req, out := c.DescribeDashboardPermissionsRequest(input)
4196	req.SetContext(ctx)
4197	req.ApplyOptions(opts...)
4198	return out, req.Send()
4199}
4200
4201const opDescribeDataSet = "DescribeDataSet"
4202
4203// DescribeDataSetRequest generates a "aws/request.Request" representing the
4204// client's request for the DescribeDataSet operation. The "output" return
4205// value will be populated with the request's response once the request completes
4206// successfully.
4207//
4208// Use "Send" method on the returned Request to send the API call to the service.
4209// the "output" return value is not valid until after Send returns without error.
4210//
4211// See DescribeDataSet for more information on using the DescribeDataSet
4212// API call, and error handling.
4213//
4214// This method is useful when you want to inject custom logic or configuration
4215// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4216//
4217//
4218//    // Example sending a request using the DescribeDataSetRequest method.
4219//    req, resp := client.DescribeDataSetRequest(params)
4220//
4221//    err := req.Send()
4222//    if err == nil { // resp is now filled
4223//        fmt.Println(resp)
4224//    }
4225//
4226// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSet
4227func (c *QuickSight) DescribeDataSetRequest(input *DescribeDataSetInput) (req *request.Request, output *DescribeDataSetOutput) {
4228	op := &request.Operation{
4229		Name:       opDescribeDataSet,
4230		HTTPMethod: "GET",
4231		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}",
4232	}
4233
4234	if input == nil {
4235		input = &DescribeDataSetInput{}
4236	}
4237
4238	output = &DescribeDataSetOutput{}
4239	req = c.newRequest(op, input, output)
4240	return
4241}
4242
4243// DescribeDataSet API operation for Amazon QuickSight.
4244//
4245// Describes a dataset.
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 DescribeDataSet for usage and error information.
4253//
4254// Returned Error Types:
4255//   * AccessDeniedException
4256//   You don't have access to this item. The provided credentials couldn't be
4257//   validated. You might not be authorized to carry out the request. Make sure
4258//   that your account is authorized to use the Amazon QuickSight service, that
4259//   your policies have the correct permissions, and that you are using the correct
4260//   access keys.
4261//
4262//   * InvalidParameterValueException
4263//   One or more parameters has a value that isn't valid.
4264//
4265//   * ThrottlingException
4266//   Access is throttled.
4267//
4268//   * ResourceNotFoundException
4269//   One or more resources can't be found.
4270//
4271//   * InternalFailureException
4272//   An internal failure occurred.
4273//
4274// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSet
4275func (c *QuickSight) DescribeDataSet(input *DescribeDataSetInput) (*DescribeDataSetOutput, error) {
4276	req, out := c.DescribeDataSetRequest(input)
4277	return out, req.Send()
4278}
4279
4280// DescribeDataSetWithContext is the same as DescribeDataSet with the addition of
4281// the ability to pass a context and additional request options.
4282//
4283// See DescribeDataSet for details on how to use this API operation.
4284//
4285// The context must be non-nil and will be used for request cancellation. If
4286// the context is nil a panic will occur. In the future the SDK may create
4287// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4288// for more information on using Contexts.
4289func (c *QuickSight) DescribeDataSetWithContext(ctx aws.Context, input *DescribeDataSetInput, opts ...request.Option) (*DescribeDataSetOutput, error) {
4290	req, out := c.DescribeDataSetRequest(input)
4291	req.SetContext(ctx)
4292	req.ApplyOptions(opts...)
4293	return out, req.Send()
4294}
4295
4296const opDescribeDataSetPermissions = "DescribeDataSetPermissions"
4297
4298// DescribeDataSetPermissionsRequest generates a "aws/request.Request" representing the
4299// client's request for the DescribeDataSetPermissions operation. The "output" return
4300// value will be populated with the request's response once the request completes
4301// successfully.
4302//
4303// Use "Send" method on the returned Request to send the API call to the service.
4304// the "output" return value is not valid until after Send returns without error.
4305//
4306// See DescribeDataSetPermissions for more information on using the DescribeDataSetPermissions
4307// API call, and error handling.
4308//
4309// This method is useful when you want to inject custom logic or configuration
4310// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4311//
4312//
4313//    // Example sending a request using the DescribeDataSetPermissionsRequest method.
4314//    req, resp := client.DescribeDataSetPermissionsRequest(params)
4315//
4316//    err := req.Send()
4317//    if err == nil { // resp is now filled
4318//        fmt.Println(resp)
4319//    }
4320//
4321// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSetPermissions
4322func (c *QuickSight) DescribeDataSetPermissionsRequest(input *DescribeDataSetPermissionsInput) (req *request.Request, output *DescribeDataSetPermissionsOutput) {
4323	op := &request.Operation{
4324		Name:       opDescribeDataSetPermissions,
4325		HTTPMethod: "GET",
4326		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions",
4327	}
4328
4329	if input == nil {
4330		input = &DescribeDataSetPermissionsInput{}
4331	}
4332
4333	output = &DescribeDataSetPermissionsOutput{}
4334	req = c.newRequest(op, input, output)
4335	return
4336}
4337
4338// DescribeDataSetPermissions API operation for Amazon QuickSight.
4339//
4340// Describes the permissions on a dataset.
4341//
4342// The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/data-set-id.
4343//
4344// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4345// with awserr.Error's Code and Message methods to get detailed information about
4346// the error.
4347//
4348// See the AWS API reference guide for Amazon QuickSight's
4349// API operation DescribeDataSetPermissions for usage and error information.
4350//
4351// Returned Error Types:
4352//   * AccessDeniedException
4353//   You don't have access to this item. The provided credentials couldn't be
4354//   validated. You might not be authorized to carry out the request. Make sure
4355//   that your account is authorized to use the Amazon QuickSight service, that
4356//   your policies have the correct permissions, and that you are using the correct
4357//   access keys.
4358//
4359//   * InvalidParameterValueException
4360//   One or more parameters has a value that isn't valid.
4361//
4362//   * ThrottlingException
4363//   Access is throttled.
4364//
4365//   * ResourceNotFoundException
4366//   One or more resources can't be found.
4367//
4368//   * InternalFailureException
4369//   An internal failure occurred.
4370//
4371// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSetPermissions
4372func (c *QuickSight) DescribeDataSetPermissions(input *DescribeDataSetPermissionsInput) (*DescribeDataSetPermissionsOutput, error) {
4373	req, out := c.DescribeDataSetPermissionsRequest(input)
4374	return out, req.Send()
4375}
4376
4377// DescribeDataSetPermissionsWithContext is the same as DescribeDataSetPermissions with the addition of
4378// the ability to pass a context and additional request options.
4379//
4380// See DescribeDataSetPermissions for details on how to use this API operation.
4381//
4382// The context must be non-nil and will be used for request cancellation. If
4383// the context is nil a panic will occur. In the future the SDK may create
4384// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4385// for more information on using Contexts.
4386func (c *QuickSight) DescribeDataSetPermissionsWithContext(ctx aws.Context, input *DescribeDataSetPermissionsInput, opts ...request.Option) (*DescribeDataSetPermissionsOutput, error) {
4387	req, out := c.DescribeDataSetPermissionsRequest(input)
4388	req.SetContext(ctx)
4389	req.ApplyOptions(opts...)
4390	return out, req.Send()
4391}
4392
4393const opDescribeDataSource = "DescribeDataSource"
4394
4395// DescribeDataSourceRequest generates a "aws/request.Request" representing the
4396// client's request for the DescribeDataSource operation. The "output" return
4397// value will be populated with the request's response once the request completes
4398// successfully.
4399//
4400// Use "Send" method on the returned Request to send the API call to the service.
4401// the "output" return value is not valid until after Send returns without error.
4402//
4403// See DescribeDataSource for more information on using the DescribeDataSource
4404// API call, and error handling.
4405//
4406// This method is useful when you want to inject custom logic or configuration
4407// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4408//
4409//
4410//    // Example sending a request using the DescribeDataSourceRequest method.
4411//    req, resp := client.DescribeDataSourceRequest(params)
4412//
4413//    err := req.Send()
4414//    if err == nil { // resp is now filled
4415//        fmt.Println(resp)
4416//    }
4417//
4418// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSource
4419func (c *QuickSight) DescribeDataSourceRequest(input *DescribeDataSourceInput) (req *request.Request, output *DescribeDataSourceOutput) {
4420	op := &request.Operation{
4421		Name:       opDescribeDataSource,
4422		HTTPMethod: "GET",
4423		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}",
4424	}
4425
4426	if input == nil {
4427		input = &DescribeDataSourceInput{}
4428	}
4429
4430	output = &DescribeDataSourceOutput{}
4431	req = c.newRequest(op, input, output)
4432	return
4433}
4434
4435// DescribeDataSource API operation for Amazon QuickSight.
4436//
4437// Describes a data source.
4438//
4439// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4440// with awserr.Error's Code and Message methods to get detailed information about
4441// the error.
4442//
4443// See the AWS API reference guide for Amazon QuickSight's
4444// API operation DescribeDataSource for usage and error information.
4445//
4446// Returned Error Types:
4447//   * AccessDeniedException
4448//   You don't have access to this item. The provided credentials couldn't be
4449//   validated. You might not be authorized to carry out the request. Make sure
4450//   that your account is authorized to use the Amazon QuickSight service, that
4451//   your policies have the correct permissions, and that you are using the correct
4452//   access keys.
4453//
4454//   * InvalidParameterValueException
4455//   One or more parameters has a value that isn't valid.
4456//
4457//   * ThrottlingException
4458//   Access is throttled.
4459//
4460//   * ResourceNotFoundException
4461//   One or more resources can't be found.
4462//
4463//   * InternalFailureException
4464//   An internal failure occurred.
4465//
4466// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSource
4467func (c *QuickSight) DescribeDataSource(input *DescribeDataSourceInput) (*DescribeDataSourceOutput, error) {
4468	req, out := c.DescribeDataSourceRequest(input)
4469	return out, req.Send()
4470}
4471
4472// DescribeDataSourceWithContext is the same as DescribeDataSource with the addition of
4473// the ability to pass a context and additional request options.
4474//
4475// See DescribeDataSource for details on how to use this API operation.
4476//
4477// The context must be non-nil and will be used for request cancellation. If
4478// the context is nil a panic will occur. In the future the SDK may create
4479// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4480// for more information on using Contexts.
4481func (c *QuickSight) DescribeDataSourceWithContext(ctx aws.Context, input *DescribeDataSourceInput, opts ...request.Option) (*DescribeDataSourceOutput, error) {
4482	req, out := c.DescribeDataSourceRequest(input)
4483	req.SetContext(ctx)
4484	req.ApplyOptions(opts...)
4485	return out, req.Send()
4486}
4487
4488const opDescribeDataSourcePermissions = "DescribeDataSourcePermissions"
4489
4490// DescribeDataSourcePermissionsRequest generates a "aws/request.Request" representing the
4491// client's request for the DescribeDataSourcePermissions operation. The "output" return
4492// value will be populated with the request's response once the request completes
4493// successfully.
4494//
4495// Use "Send" method on the returned Request to send the API call to the service.
4496// the "output" return value is not valid until after Send returns without error.
4497//
4498// See DescribeDataSourcePermissions for more information on using the DescribeDataSourcePermissions
4499// API call, and error handling.
4500//
4501// This method is useful when you want to inject custom logic or configuration
4502// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4503//
4504//
4505//    // Example sending a request using the DescribeDataSourcePermissionsRequest method.
4506//    req, resp := client.DescribeDataSourcePermissionsRequest(params)
4507//
4508//    err := req.Send()
4509//    if err == nil { // resp is now filled
4510//        fmt.Println(resp)
4511//    }
4512//
4513// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSourcePermissions
4514func (c *QuickSight) DescribeDataSourcePermissionsRequest(input *DescribeDataSourcePermissionsInput) (req *request.Request, output *DescribeDataSourcePermissionsOutput) {
4515	op := &request.Operation{
4516		Name:       opDescribeDataSourcePermissions,
4517		HTTPMethod: "GET",
4518		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions",
4519	}
4520
4521	if input == nil {
4522		input = &DescribeDataSourcePermissionsInput{}
4523	}
4524
4525	output = &DescribeDataSourcePermissionsOutput{}
4526	req = c.newRequest(op, input, output)
4527	return
4528}
4529
4530// DescribeDataSourcePermissions API operation for Amazon QuickSight.
4531//
4532// Describes the resource permissions for a data source.
4533//
4534// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4535// with awserr.Error's Code and Message methods to get detailed information about
4536// the error.
4537//
4538// See the AWS API reference guide for Amazon QuickSight's
4539// API operation DescribeDataSourcePermissions for usage and error information.
4540//
4541// Returned Error Types:
4542//   * AccessDeniedException
4543//   You don't have access to this item. The provided credentials couldn't be
4544//   validated. You might not be authorized to carry out the request. Make sure
4545//   that your account is authorized to use the Amazon QuickSight service, that
4546//   your policies have the correct permissions, and that you are using the correct
4547//   access keys.
4548//
4549//   * InvalidParameterValueException
4550//   One or more parameters has a value that isn't valid.
4551//
4552//   * ThrottlingException
4553//   Access is throttled.
4554//
4555//   * ResourceNotFoundException
4556//   One or more resources can't be found.
4557//
4558//   * InternalFailureException
4559//   An internal failure occurred.
4560//
4561// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSourcePermissions
4562func (c *QuickSight) DescribeDataSourcePermissions(input *DescribeDataSourcePermissionsInput) (*DescribeDataSourcePermissionsOutput, error) {
4563	req, out := c.DescribeDataSourcePermissionsRequest(input)
4564	return out, req.Send()
4565}
4566
4567// DescribeDataSourcePermissionsWithContext is the same as DescribeDataSourcePermissions with the addition of
4568// the ability to pass a context and additional request options.
4569//
4570// See DescribeDataSourcePermissions for details on how to use this API operation.
4571//
4572// The context must be non-nil and will be used for request cancellation. If
4573// the context is nil a panic will occur. In the future the SDK may create
4574// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4575// for more information on using Contexts.
4576func (c *QuickSight) DescribeDataSourcePermissionsWithContext(ctx aws.Context, input *DescribeDataSourcePermissionsInput, opts ...request.Option) (*DescribeDataSourcePermissionsOutput, error) {
4577	req, out := c.DescribeDataSourcePermissionsRequest(input)
4578	req.SetContext(ctx)
4579	req.ApplyOptions(opts...)
4580	return out, req.Send()
4581}
4582
4583const opDescribeFolder = "DescribeFolder"
4584
4585// DescribeFolderRequest generates a "aws/request.Request" representing the
4586// client's request for the DescribeFolder operation. The "output" return
4587// value will be populated with the request's response once the request completes
4588// successfully.
4589//
4590// Use "Send" method on the returned Request to send the API call to the service.
4591// the "output" return value is not valid until after Send returns without error.
4592//
4593// See DescribeFolder for more information on using the DescribeFolder
4594// API call, and error handling.
4595//
4596// This method is useful when you want to inject custom logic or configuration
4597// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4598//
4599//
4600//    // Example sending a request using the DescribeFolderRequest method.
4601//    req, resp := client.DescribeFolderRequest(params)
4602//
4603//    err := req.Send()
4604//    if err == nil { // resp is now filled
4605//        fmt.Println(resp)
4606//    }
4607//
4608// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeFolder
4609func (c *QuickSight) DescribeFolderRequest(input *DescribeFolderInput) (req *request.Request, output *DescribeFolderOutput) {
4610	op := &request.Operation{
4611		Name:       opDescribeFolder,
4612		HTTPMethod: "GET",
4613		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}",
4614	}
4615
4616	if input == nil {
4617		input = &DescribeFolderInput{}
4618	}
4619
4620	output = &DescribeFolderOutput{}
4621	req = c.newRequest(op, input, output)
4622	return
4623}
4624
4625// DescribeFolder API operation for Amazon QuickSight.
4626//
4627// Describes a folder.
4628//
4629// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4630// with awserr.Error's Code and Message methods to get detailed information about
4631// the error.
4632//
4633// See the AWS API reference guide for Amazon QuickSight's
4634// API operation DescribeFolder for usage and error information.
4635//
4636// Returned Error Types:
4637//   * InvalidParameterValueException
4638//   One or more parameters has a value that isn't valid.
4639//
4640//   * AccessDeniedException
4641//   You don't have access to this item. The provided credentials couldn't be
4642//   validated. You might not be authorized to carry out the request. Make sure
4643//   that your account is authorized to use the Amazon QuickSight service, that
4644//   your policies have the correct permissions, and that you are using the correct
4645//   access keys.
4646//
4647//   * ResourceNotFoundException
4648//   One or more resources can't be found.
4649//
4650//   * ThrottlingException
4651//   Access is throttled.
4652//
4653//   * UnsupportedUserEditionException
4654//   This error indicates that you are calling an operation on an Amazon QuickSight
4655//   subscription where the edition doesn't include support for that operation.
4656//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
4657//   Not every operation and capability is available in every edition.
4658//
4659//   * InternalFailureException
4660//   An internal failure occurred.
4661//
4662// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeFolder
4663func (c *QuickSight) DescribeFolder(input *DescribeFolderInput) (*DescribeFolderOutput, error) {
4664	req, out := c.DescribeFolderRequest(input)
4665	return out, req.Send()
4666}
4667
4668// DescribeFolderWithContext is the same as DescribeFolder with the addition of
4669// the ability to pass a context and additional request options.
4670//
4671// See DescribeFolder for details on how to use this API operation.
4672//
4673// The context must be non-nil and will be used for request cancellation. If
4674// the context is nil a panic will occur. In the future the SDK may create
4675// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4676// for more information on using Contexts.
4677func (c *QuickSight) DescribeFolderWithContext(ctx aws.Context, input *DescribeFolderInput, opts ...request.Option) (*DescribeFolderOutput, error) {
4678	req, out := c.DescribeFolderRequest(input)
4679	req.SetContext(ctx)
4680	req.ApplyOptions(opts...)
4681	return out, req.Send()
4682}
4683
4684const opDescribeFolderPermissions = "DescribeFolderPermissions"
4685
4686// DescribeFolderPermissionsRequest generates a "aws/request.Request" representing the
4687// client's request for the DescribeFolderPermissions operation. The "output" return
4688// value will be populated with the request's response once the request completes
4689// successfully.
4690//
4691// Use "Send" method on the returned Request to send the API call to the service.
4692// the "output" return value is not valid until after Send returns without error.
4693//
4694// See DescribeFolderPermissions for more information on using the DescribeFolderPermissions
4695// API call, and error handling.
4696//
4697// This method is useful when you want to inject custom logic or configuration
4698// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4699//
4700//
4701//    // Example sending a request using the DescribeFolderPermissionsRequest method.
4702//    req, resp := client.DescribeFolderPermissionsRequest(params)
4703//
4704//    err := req.Send()
4705//    if err == nil { // resp is now filled
4706//        fmt.Println(resp)
4707//    }
4708//
4709// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeFolderPermissions
4710func (c *QuickSight) DescribeFolderPermissionsRequest(input *DescribeFolderPermissionsInput) (req *request.Request, output *DescribeFolderPermissionsOutput) {
4711	op := &request.Operation{
4712		Name:       opDescribeFolderPermissions,
4713		HTTPMethod: "GET",
4714		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}/permissions",
4715	}
4716
4717	if input == nil {
4718		input = &DescribeFolderPermissionsInput{}
4719	}
4720
4721	output = &DescribeFolderPermissionsOutput{}
4722	req = c.newRequest(op, input, output)
4723	return
4724}
4725
4726// DescribeFolderPermissions API operation for Amazon QuickSight.
4727//
4728// Describes permissions for a folder.
4729//
4730// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4731// with awserr.Error's Code and Message methods to get detailed information about
4732// the error.
4733//
4734// See the AWS API reference guide for Amazon QuickSight's
4735// API operation DescribeFolderPermissions for usage and error information.
4736//
4737// Returned Error Types:
4738//   * InvalidParameterValueException
4739//   One or more parameters has a value that isn't valid.
4740//
4741//   * AccessDeniedException
4742//   You don't have access to this item. The provided credentials couldn't be
4743//   validated. You might not be authorized to carry out the request. Make sure
4744//   that your account is authorized to use the Amazon QuickSight service, that
4745//   your policies have the correct permissions, and that you are using the correct
4746//   access keys.
4747//
4748//   * ResourceNotFoundException
4749//   One or more resources can't be found.
4750//
4751//   * ThrottlingException
4752//   Access is throttled.
4753//
4754//   * UnsupportedUserEditionException
4755//   This error indicates that you are calling an operation on an Amazon QuickSight
4756//   subscription where the edition doesn't include support for that operation.
4757//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
4758//   Not every operation and capability is available in every edition.
4759//
4760//   * InternalFailureException
4761//   An internal failure occurred.
4762//
4763// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeFolderPermissions
4764func (c *QuickSight) DescribeFolderPermissions(input *DescribeFolderPermissionsInput) (*DescribeFolderPermissionsOutput, error) {
4765	req, out := c.DescribeFolderPermissionsRequest(input)
4766	return out, req.Send()
4767}
4768
4769// DescribeFolderPermissionsWithContext is the same as DescribeFolderPermissions with the addition of
4770// the ability to pass a context and additional request options.
4771//
4772// See DescribeFolderPermissions for details on how to use this API operation.
4773//
4774// The context must be non-nil and will be used for request cancellation. If
4775// the context is nil a panic will occur. In the future the SDK may create
4776// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4777// for more information on using Contexts.
4778func (c *QuickSight) DescribeFolderPermissionsWithContext(ctx aws.Context, input *DescribeFolderPermissionsInput, opts ...request.Option) (*DescribeFolderPermissionsOutput, error) {
4779	req, out := c.DescribeFolderPermissionsRequest(input)
4780	req.SetContext(ctx)
4781	req.ApplyOptions(opts...)
4782	return out, req.Send()
4783}
4784
4785const opDescribeFolderResolvedPermissions = "DescribeFolderResolvedPermissions"
4786
4787// DescribeFolderResolvedPermissionsRequest generates a "aws/request.Request" representing the
4788// client's request for the DescribeFolderResolvedPermissions operation. The "output" return
4789// value will be populated with the request's response once the request completes
4790// successfully.
4791//
4792// Use "Send" method on the returned Request to send the API call to the service.
4793// the "output" return value is not valid until after Send returns without error.
4794//
4795// See DescribeFolderResolvedPermissions for more information on using the DescribeFolderResolvedPermissions
4796// API call, and error handling.
4797//
4798// This method is useful when you want to inject custom logic or configuration
4799// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4800//
4801//
4802//    // Example sending a request using the DescribeFolderResolvedPermissionsRequest method.
4803//    req, resp := client.DescribeFolderResolvedPermissionsRequest(params)
4804//
4805//    err := req.Send()
4806//    if err == nil { // resp is now filled
4807//        fmt.Println(resp)
4808//    }
4809//
4810// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeFolderResolvedPermissions
4811func (c *QuickSight) DescribeFolderResolvedPermissionsRequest(input *DescribeFolderResolvedPermissionsInput) (req *request.Request, output *DescribeFolderResolvedPermissionsOutput) {
4812	op := &request.Operation{
4813		Name:       opDescribeFolderResolvedPermissions,
4814		HTTPMethod: "GET",
4815		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}/resolved-permissions",
4816	}
4817
4818	if input == nil {
4819		input = &DescribeFolderResolvedPermissionsInput{}
4820	}
4821
4822	output = &DescribeFolderResolvedPermissionsOutput{}
4823	req = c.newRequest(op, input, output)
4824	return
4825}
4826
4827// DescribeFolderResolvedPermissions API operation for Amazon QuickSight.
4828//
4829// Describes the folder resolved permissions. Permissions consists of both folder
4830// direct permissions and the inherited permissions from the ancestor folders.
4831//
4832// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4833// with awserr.Error's Code and Message methods to get detailed information about
4834// the error.
4835//
4836// See the AWS API reference guide for Amazon QuickSight's
4837// API operation DescribeFolderResolvedPermissions for usage and error information.
4838//
4839// Returned Error Types:
4840//   * InvalidParameterValueException
4841//   One or more parameters has a value that isn't valid.
4842//
4843//   * AccessDeniedException
4844//   You don't have access to this item. The provided credentials couldn't be
4845//   validated. You might not be authorized to carry out the request. Make sure
4846//   that your account is authorized to use the Amazon QuickSight service, that
4847//   your policies have the correct permissions, and that you are using the correct
4848//   access keys.
4849//
4850//   * ResourceNotFoundException
4851//   One or more resources can't be found.
4852//
4853//   * ThrottlingException
4854//   Access is throttled.
4855//
4856//   * UnsupportedUserEditionException
4857//   This error indicates that you are calling an operation on an Amazon QuickSight
4858//   subscription where the edition doesn't include support for that operation.
4859//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
4860//   Not every operation and capability is available in every edition.
4861//
4862//   * InternalFailureException
4863//   An internal failure occurred.
4864//
4865// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeFolderResolvedPermissions
4866func (c *QuickSight) DescribeFolderResolvedPermissions(input *DescribeFolderResolvedPermissionsInput) (*DescribeFolderResolvedPermissionsOutput, error) {
4867	req, out := c.DescribeFolderResolvedPermissionsRequest(input)
4868	return out, req.Send()
4869}
4870
4871// DescribeFolderResolvedPermissionsWithContext is the same as DescribeFolderResolvedPermissions with the addition of
4872// the ability to pass a context and additional request options.
4873//
4874// See DescribeFolderResolvedPermissions for details on how to use this API operation.
4875//
4876// The context must be non-nil and will be used for request cancellation. If
4877// the context is nil a panic will occur. In the future the SDK may create
4878// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4879// for more information on using Contexts.
4880func (c *QuickSight) DescribeFolderResolvedPermissionsWithContext(ctx aws.Context, input *DescribeFolderResolvedPermissionsInput, opts ...request.Option) (*DescribeFolderResolvedPermissionsOutput, error) {
4881	req, out := c.DescribeFolderResolvedPermissionsRequest(input)
4882	req.SetContext(ctx)
4883	req.ApplyOptions(opts...)
4884	return out, req.Send()
4885}
4886
4887const opDescribeGroup = "DescribeGroup"
4888
4889// DescribeGroupRequest generates a "aws/request.Request" representing the
4890// client's request for the DescribeGroup operation. The "output" return
4891// value will be populated with the request's response once the request completes
4892// successfully.
4893//
4894// Use "Send" method on the returned Request to send the API call to the service.
4895// the "output" return value is not valid until after Send returns without error.
4896//
4897// See DescribeGroup for more information on using the DescribeGroup
4898// API call, and error handling.
4899//
4900// This method is useful when you want to inject custom logic or configuration
4901// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4902//
4903//
4904//    // Example sending a request using the DescribeGroupRequest method.
4905//    req, resp := client.DescribeGroupRequest(params)
4906//
4907//    err := req.Send()
4908//    if err == nil { // resp is now filled
4909//        fmt.Println(resp)
4910//    }
4911//
4912// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeGroup
4913func (c *QuickSight) DescribeGroupRequest(input *DescribeGroupInput) (req *request.Request, output *DescribeGroupOutput) {
4914	op := &request.Operation{
4915		Name:       opDescribeGroup,
4916		HTTPMethod: "GET",
4917		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}",
4918	}
4919
4920	if input == nil {
4921		input = &DescribeGroupInput{}
4922	}
4923
4924	output = &DescribeGroupOutput{}
4925	req = c.newRequest(op, input, output)
4926	return
4927}
4928
4929// DescribeGroup API operation for Amazon QuickSight.
4930//
4931// Returns an Amazon QuickSight group's description and Amazon Resource Name
4932// (ARN).
4933//
4934// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4935// with awserr.Error's Code and Message methods to get detailed information about
4936// the error.
4937//
4938// See the AWS API reference guide for Amazon QuickSight's
4939// API operation DescribeGroup for usage and error information.
4940//
4941// Returned Error Types:
4942//   * AccessDeniedException
4943//   You don't have access to this item. The provided credentials couldn't be
4944//   validated. You might not be authorized to carry out the request. Make sure
4945//   that your account is authorized to use the Amazon QuickSight service, that
4946//   your policies have the correct permissions, and that you are using the correct
4947//   access keys.
4948//
4949//   * InvalidParameterValueException
4950//   One or more parameters has a value that isn't valid.
4951//
4952//   * ResourceNotFoundException
4953//   One or more resources can't be found.
4954//
4955//   * ThrottlingException
4956//   Access is throttled.
4957//
4958//   * PreconditionNotMetException
4959//   One or more preconditions aren't met.
4960//
4961//   * InternalFailureException
4962//   An internal failure occurred.
4963//
4964//   * ResourceUnavailableException
4965//   This resource is currently unavailable.
4966//
4967// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeGroup
4968func (c *QuickSight) DescribeGroup(input *DescribeGroupInput) (*DescribeGroupOutput, error) {
4969	req, out := c.DescribeGroupRequest(input)
4970	return out, req.Send()
4971}
4972
4973// DescribeGroupWithContext is the same as DescribeGroup with the addition of
4974// the ability to pass a context and additional request options.
4975//
4976// See DescribeGroup for details on how to use this API operation.
4977//
4978// The context must be non-nil and will be used for request cancellation. If
4979// the context is nil a panic will occur. In the future the SDK may create
4980// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4981// for more information on using Contexts.
4982func (c *QuickSight) DescribeGroupWithContext(ctx aws.Context, input *DescribeGroupInput, opts ...request.Option) (*DescribeGroupOutput, error) {
4983	req, out := c.DescribeGroupRequest(input)
4984	req.SetContext(ctx)
4985	req.ApplyOptions(opts...)
4986	return out, req.Send()
4987}
4988
4989const opDescribeIAMPolicyAssignment = "DescribeIAMPolicyAssignment"
4990
4991// DescribeIAMPolicyAssignmentRequest generates a "aws/request.Request" representing the
4992// client's request for the DescribeIAMPolicyAssignment operation. The "output" return
4993// value will be populated with the request's response once the request completes
4994// successfully.
4995//
4996// Use "Send" method on the returned Request to send the API call to the service.
4997// the "output" return value is not valid until after Send returns without error.
4998//
4999// See DescribeIAMPolicyAssignment for more information on using the DescribeIAMPolicyAssignment
5000// API call, and error handling.
5001//
5002// This method is useful when you want to inject custom logic or configuration
5003// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5004//
5005//
5006//    // Example sending a request using the DescribeIAMPolicyAssignmentRequest method.
5007//    req, resp := client.DescribeIAMPolicyAssignmentRequest(params)
5008//
5009//    err := req.Send()
5010//    if err == nil { // resp is now filled
5011//        fmt.Println(resp)
5012//    }
5013//
5014// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIAMPolicyAssignment
5015func (c *QuickSight) DescribeIAMPolicyAssignmentRequest(input *DescribeIAMPolicyAssignmentInput) (req *request.Request, output *DescribeIAMPolicyAssignmentOutput) {
5016	op := &request.Operation{
5017		Name:       opDescribeIAMPolicyAssignment,
5018		HTTPMethod: "GET",
5019		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}",
5020	}
5021
5022	if input == nil {
5023		input = &DescribeIAMPolicyAssignmentInput{}
5024	}
5025
5026	output = &DescribeIAMPolicyAssignmentOutput{}
5027	req = c.newRequest(op, input, output)
5028	return
5029}
5030
5031// DescribeIAMPolicyAssignment API operation for Amazon QuickSight.
5032//
5033// Describes an existing IAMpolicy assignment, as specified by the assignment
5034// name.
5035//
5036// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5037// with awserr.Error's Code and Message methods to get detailed information about
5038// the error.
5039//
5040// See the AWS API reference guide for Amazon QuickSight's
5041// API operation DescribeIAMPolicyAssignment for usage and error information.
5042//
5043// Returned Error Types:
5044//   * AccessDeniedException
5045//   You don't have access to this item. The provided credentials couldn't be
5046//   validated. You might not be authorized to carry out the request. Make sure
5047//   that your account is authorized to use the Amazon QuickSight service, that
5048//   your policies have the correct permissions, and that you are using the correct
5049//   access keys.
5050//
5051//   * InvalidParameterValueException
5052//   One or more parameters has a value that isn't valid.
5053//
5054//   * ResourceNotFoundException
5055//   One or more resources can't be found.
5056//
5057//   * ThrottlingException
5058//   Access is throttled.
5059//
5060//   * InvalidNextTokenException
5061//   The NextToken value isn't valid.
5062//
5063//   * InternalFailureException
5064//   An internal failure occurred.
5065//
5066// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIAMPolicyAssignment
5067func (c *QuickSight) DescribeIAMPolicyAssignment(input *DescribeIAMPolicyAssignmentInput) (*DescribeIAMPolicyAssignmentOutput, error) {
5068	req, out := c.DescribeIAMPolicyAssignmentRequest(input)
5069	return out, req.Send()
5070}
5071
5072// DescribeIAMPolicyAssignmentWithContext is the same as DescribeIAMPolicyAssignment with the addition of
5073// the ability to pass a context and additional request options.
5074//
5075// See DescribeIAMPolicyAssignment for details on how to use this API operation.
5076//
5077// The context must be non-nil and will be used for request cancellation. If
5078// the context is nil a panic will occur. In the future the SDK may create
5079// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5080// for more information on using Contexts.
5081func (c *QuickSight) DescribeIAMPolicyAssignmentWithContext(ctx aws.Context, input *DescribeIAMPolicyAssignmentInput, opts ...request.Option) (*DescribeIAMPolicyAssignmentOutput, error) {
5082	req, out := c.DescribeIAMPolicyAssignmentRequest(input)
5083	req.SetContext(ctx)
5084	req.ApplyOptions(opts...)
5085	return out, req.Send()
5086}
5087
5088const opDescribeIngestion = "DescribeIngestion"
5089
5090// DescribeIngestionRequest generates a "aws/request.Request" representing the
5091// client's request for the DescribeIngestion operation. The "output" return
5092// value will be populated with the request's response once the request completes
5093// successfully.
5094//
5095// Use "Send" method on the returned Request to send the API call to the service.
5096// the "output" return value is not valid until after Send returns without error.
5097//
5098// See DescribeIngestion for more information on using the DescribeIngestion
5099// API call, and error handling.
5100//
5101// This method is useful when you want to inject custom logic or configuration
5102// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5103//
5104//
5105//    // Example sending a request using the DescribeIngestionRequest method.
5106//    req, resp := client.DescribeIngestionRequest(params)
5107//
5108//    err := req.Send()
5109//    if err == nil { // resp is now filled
5110//        fmt.Println(resp)
5111//    }
5112//
5113// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIngestion
5114func (c *QuickSight) DescribeIngestionRequest(input *DescribeIngestionInput) (req *request.Request, output *DescribeIngestionOutput) {
5115	op := &request.Operation{
5116		Name:       opDescribeIngestion,
5117		HTTPMethod: "GET",
5118		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}",
5119	}
5120
5121	if input == nil {
5122		input = &DescribeIngestionInput{}
5123	}
5124
5125	output = &DescribeIngestionOutput{}
5126	req = c.newRequest(op, input, output)
5127	return
5128}
5129
5130// DescribeIngestion API operation for Amazon QuickSight.
5131//
5132// Describes a SPICE ingestion.
5133//
5134// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5135// with awserr.Error's Code and Message methods to get detailed information about
5136// the error.
5137//
5138// See the AWS API reference guide for Amazon QuickSight's
5139// API operation DescribeIngestion for usage and error information.
5140//
5141// Returned Error Types:
5142//   * AccessDeniedException
5143//   You don't have access to this item. The provided credentials couldn't be
5144//   validated. You might not be authorized to carry out the request. Make sure
5145//   that your account is authorized to use the Amazon QuickSight service, that
5146//   your policies have the correct permissions, and that you are using the correct
5147//   access keys.
5148//
5149//   * InvalidParameterValueException
5150//   One or more parameters has a value that isn't valid.
5151//
5152//   * ResourceNotFoundException
5153//   One or more resources can't be found.
5154//
5155//   * ThrottlingException
5156//   Access is throttled.
5157//
5158//   * ResourceExistsException
5159//   The resource specified already exists.
5160//
5161//   * InternalFailureException
5162//   An internal failure occurred.
5163//
5164// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIngestion
5165func (c *QuickSight) DescribeIngestion(input *DescribeIngestionInput) (*DescribeIngestionOutput, error) {
5166	req, out := c.DescribeIngestionRequest(input)
5167	return out, req.Send()
5168}
5169
5170// DescribeIngestionWithContext is the same as DescribeIngestion with the addition of
5171// the ability to pass a context and additional request options.
5172//
5173// See DescribeIngestion for details on how to use this API operation.
5174//
5175// The context must be non-nil and will be used for request cancellation. If
5176// the context is nil a panic will occur. In the future the SDK may create
5177// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5178// for more information on using Contexts.
5179func (c *QuickSight) DescribeIngestionWithContext(ctx aws.Context, input *DescribeIngestionInput, opts ...request.Option) (*DescribeIngestionOutput, error) {
5180	req, out := c.DescribeIngestionRequest(input)
5181	req.SetContext(ctx)
5182	req.ApplyOptions(opts...)
5183	return out, req.Send()
5184}
5185
5186const opDescribeNamespace = "DescribeNamespace"
5187
5188// DescribeNamespaceRequest generates a "aws/request.Request" representing the
5189// client's request for the DescribeNamespace operation. The "output" return
5190// value will be populated with the request's response once the request completes
5191// successfully.
5192//
5193// Use "Send" method on the returned Request to send the API call to the service.
5194// the "output" return value is not valid until after Send returns without error.
5195//
5196// See DescribeNamespace for more information on using the DescribeNamespace
5197// API call, and error handling.
5198//
5199// This method is useful when you want to inject custom logic or configuration
5200// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5201//
5202//
5203//    // Example sending a request using the DescribeNamespaceRequest method.
5204//    req, resp := client.DescribeNamespaceRequest(params)
5205//
5206//    err := req.Send()
5207//    if err == nil { // resp is now filled
5208//        fmt.Println(resp)
5209//    }
5210//
5211// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeNamespace
5212func (c *QuickSight) DescribeNamespaceRequest(input *DescribeNamespaceInput) (req *request.Request, output *DescribeNamespaceOutput) {
5213	op := &request.Operation{
5214		Name:       opDescribeNamespace,
5215		HTTPMethod: "GET",
5216		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}",
5217	}
5218
5219	if input == nil {
5220		input = &DescribeNamespaceInput{}
5221	}
5222
5223	output = &DescribeNamespaceOutput{}
5224	req = c.newRequest(op, input, output)
5225	return
5226}
5227
5228// DescribeNamespace API operation for Amazon QuickSight.
5229//
5230// Describes the current namespace.
5231//
5232// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5233// with awserr.Error's Code and Message methods to get detailed information about
5234// the error.
5235//
5236// See the AWS API reference guide for Amazon QuickSight's
5237// API operation DescribeNamespace for usage and error information.
5238//
5239// Returned Error Types:
5240//   * AccessDeniedException
5241//   You don't have access to this item. The provided credentials couldn't be
5242//   validated. You might not be authorized to carry out the request. Make sure
5243//   that your account is authorized to use the Amazon QuickSight service, that
5244//   your policies have the correct permissions, and that you are using the correct
5245//   access keys.
5246//
5247//   * InvalidParameterValueException
5248//   One or more parameters has a value that isn't valid.
5249//
5250//   * ResourceNotFoundException
5251//   One or more resources can't be found.
5252//
5253//   * ThrottlingException
5254//   Access is throttled.
5255//
5256//   * InternalFailureException
5257//   An internal failure occurred.
5258//
5259//   * ResourceUnavailableException
5260//   This resource is currently unavailable.
5261//
5262// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeNamespace
5263func (c *QuickSight) DescribeNamespace(input *DescribeNamespaceInput) (*DescribeNamespaceOutput, error) {
5264	req, out := c.DescribeNamespaceRequest(input)
5265	return out, req.Send()
5266}
5267
5268// DescribeNamespaceWithContext is the same as DescribeNamespace with the addition of
5269// the ability to pass a context and additional request options.
5270//
5271// See DescribeNamespace for details on how to use this API operation.
5272//
5273// The context must be non-nil and will be used for request cancellation. If
5274// the context is nil a panic will occur. In the future the SDK may create
5275// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5276// for more information on using Contexts.
5277func (c *QuickSight) DescribeNamespaceWithContext(ctx aws.Context, input *DescribeNamespaceInput, opts ...request.Option) (*DescribeNamespaceOutput, error) {
5278	req, out := c.DescribeNamespaceRequest(input)
5279	req.SetContext(ctx)
5280	req.ApplyOptions(opts...)
5281	return out, req.Send()
5282}
5283
5284const opDescribeTemplate = "DescribeTemplate"
5285
5286// DescribeTemplateRequest generates a "aws/request.Request" representing the
5287// client's request for the DescribeTemplate operation. The "output" return
5288// value will be populated with the request's response once the request completes
5289// successfully.
5290//
5291// Use "Send" method on the returned Request to send the API call to the service.
5292// the "output" return value is not valid until after Send returns without error.
5293//
5294// See DescribeTemplate for more information on using the DescribeTemplate
5295// API call, and error handling.
5296//
5297// This method is useful when you want to inject custom logic or configuration
5298// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5299//
5300//
5301//    // Example sending a request using the DescribeTemplateRequest method.
5302//    req, resp := client.DescribeTemplateRequest(params)
5303//
5304//    err := req.Send()
5305//    if err == nil { // resp is now filled
5306//        fmt.Println(resp)
5307//    }
5308//
5309// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplate
5310func (c *QuickSight) DescribeTemplateRequest(input *DescribeTemplateInput) (req *request.Request, output *DescribeTemplateOutput) {
5311	op := &request.Operation{
5312		Name:       opDescribeTemplate,
5313		HTTPMethod: "GET",
5314		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}",
5315	}
5316
5317	if input == nil {
5318		input = &DescribeTemplateInput{}
5319	}
5320
5321	output = &DescribeTemplateOutput{}
5322	req = c.newRequest(op, input, output)
5323	return
5324}
5325
5326// DescribeTemplate API operation for Amazon QuickSight.
5327//
5328// Describes a template's metadata.
5329//
5330// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5331// with awserr.Error's Code and Message methods to get detailed information about
5332// the error.
5333//
5334// See the AWS API reference guide for Amazon QuickSight's
5335// API operation DescribeTemplate for usage and error information.
5336//
5337// Returned Error Types:
5338//   * InvalidParameterValueException
5339//   One or more parameters has a value that isn't valid.
5340//
5341//   * AccessDeniedException
5342//   You don't have access to this item. The provided credentials couldn't be
5343//   validated. You might not be authorized to carry out the request. Make sure
5344//   that your account is authorized to use the Amazon QuickSight service, that
5345//   your policies have the correct permissions, and that you are using the correct
5346//   access keys.
5347//
5348//   * ResourceExistsException
5349//   The resource specified already exists.
5350//
5351//   * ResourceNotFoundException
5352//   One or more resources can't be found.
5353//
5354//   * ThrottlingException
5355//   Access is throttled.
5356//
5357//   * ConflictException
5358//   Updating or deleting a resource can cause an inconsistent state.
5359//
5360//   * UnsupportedUserEditionException
5361//   This error indicates that you are calling an operation on an Amazon QuickSight
5362//   subscription where the edition doesn't include support for that operation.
5363//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
5364//   Not every operation and capability is available in every edition.
5365//
5366//   * InternalFailureException
5367//   An internal failure occurred.
5368//
5369// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplate
5370func (c *QuickSight) DescribeTemplate(input *DescribeTemplateInput) (*DescribeTemplateOutput, error) {
5371	req, out := c.DescribeTemplateRequest(input)
5372	return out, req.Send()
5373}
5374
5375// DescribeTemplateWithContext is the same as DescribeTemplate with the addition of
5376// the ability to pass a context and additional request options.
5377//
5378// See DescribeTemplate for details on how to use this API operation.
5379//
5380// The context must be non-nil and will be used for request cancellation. If
5381// the context is nil a panic will occur. In the future the SDK may create
5382// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5383// for more information on using Contexts.
5384func (c *QuickSight) DescribeTemplateWithContext(ctx aws.Context, input *DescribeTemplateInput, opts ...request.Option) (*DescribeTemplateOutput, error) {
5385	req, out := c.DescribeTemplateRequest(input)
5386	req.SetContext(ctx)
5387	req.ApplyOptions(opts...)
5388	return out, req.Send()
5389}
5390
5391const opDescribeTemplateAlias = "DescribeTemplateAlias"
5392
5393// DescribeTemplateAliasRequest generates a "aws/request.Request" representing the
5394// client's request for the DescribeTemplateAlias operation. The "output" return
5395// value will be populated with the request's response once the request completes
5396// successfully.
5397//
5398// Use "Send" method on the returned Request to send the API call to the service.
5399// the "output" return value is not valid until after Send returns without error.
5400//
5401// See DescribeTemplateAlias for more information on using the DescribeTemplateAlias
5402// API call, and error handling.
5403//
5404// This method is useful when you want to inject custom logic or configuration
5405// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5406//
5407//
5408//    // Example sending a request using the DescribeTemplateAliasRequest method.
5409//    req, resp := client.DescribeTemplateAliasRequest(params)
5410//
5411//    err := req.Send()
5412//    if err == nil { // resp is now filled
5413//        fmt.Println(resp)
5414//    }
5415//
5416// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplateAlias
5417func (c *QuickSight) DescribeTemplateAliasRequest(input *DescribeTemplateAliasInput) (req *request.Request, output *DescribeTemplateAliasOutput) {
5418	op := &request.Operation{
5419		Name:       opDescribeTemplateAlias,
5420		HTTPMethod: "GET",
5421		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
5422	}
5423
5424	if input == nil {
5425		input = &DescribeTemplateAliasInput{}
5426	}
5427
5428	output = &DescribeTemplateAliasOutput{}
5429	req = c.newRequest(op, input, output)
5430	return
5431}
5432
5433// DescribeTemplateAlias API operation for Amazon QuickSight.
5434//
5435// Describes the template alias for a template.
5436//
5437// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5438// with awserr.Error's Code and Message methods to get detailed information about
5439// the error.
5440//
5441// See the AWS API reference guide for Amazon QuickSight's
5442// API operation DescribeTemplateAlias for usage and error information.
5443//
5444// Returned Error Types:
5445//   * ThrottlingException
5446//   Access is throttled.
5447//
5448//   * ResourceNotFoundException
5449//   One or more resources can't be found.
5450//
5451//   * UnsupportedUserEditionException
5452//   This error indicates that you are calling an operation on an Amazon QuickSight
5453//   subscription where the edition doesn't include support for that operation.
5454//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
5455//   Not every operation and capability is available in every edition.
5456//
5457//   * InternalFailureException
5458//   An internal failure occurred.
5459//
5460// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplateAlias
5461func (c *QuickSight) DescribeTemplateAlias(input *DescribeTemplateAliasInput) (*DescribeTemplateAliasOutput, error) {
5462	req, out := c.DescribeTemplateAliasRequest(input)
5463	return out, req.Send()
5464}
5465
5466// DescribeTemplateAliasWithContext is the same as DescribeTemplateAlias with the addition of
5467// the ability to pass a context and additional request options.
5468//
5469// See DescribeTemplateAlias for details on how to use this API operation.
5470//
5471// The context must be non-nil and will be used for request cancellation. If
5472// the context is nil a panic will occur. In the future the SDK may create
5473// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5474// for more information on using Contexts.
5475func (c *QuickSight) DescribeTemplateAliasWithContext(ctx aws.Context, input *DescribeTemplateAliasInput, opts ...request.Option) (*DescribeTemplateAliasOutput, error) {
5476	req, out := c.DescribeTemplateAliasRequest(input)
5477	req.SetContext(ctx)
5478	req.ApplyOptions(opts...)
5479	return out, req.Send()
5480}
5481
5482const opDescribeTemplatePermissions = "DescribeTemplatePermissions"
5483
5484// DescribeTemplatePermissionsRequest generates a "aws/request.Request" representing the
5485// client's request for the DescribeTemplatePermissions operation. The "output" return
5486// value will be populated with the request's response once the request completes
5487// successfully.
5488//
5489// Use "Send" method on the returned Request to send the API call to the service.
5490// the "output" return value is not valid until after Send returns without error.
5491//
5492// See DescribeTemplatePermissions for more information on using the DescribeTemplatePermissions
5493// API call, and error handling.
5494//
5495// This method is useful when you want to inject custom logic or configuration
5496// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5497//
5498//
5499//    // Example sending a request using the DescribeTemplatePermissionsRequest method.
5500//    req, resp := client.DescribeTemplatePermissionsRequest(params)
5501//
5502//    err := req.Send()
5503//    if err == nil { // resp is now filled
5504//        fmt.Println(resp)
5505//    }
5506//
5507// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplatePermissions
5508func (c *QuickSight) DescribeTemplatePermissionsRequest(input *DescribeTemplatePermissionsInput) (req *request.Request, output *DescribeTemplatePermissionsOutput) {
5509	op := &request.Operation{
5510		Name:       opDescribeTemplatePermissions,
5511		HTTPMethod: "GET",
5512		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/permissions",
5513	}
5514
5515	if input == nil {
5516		input = &DescribeTemplatePermissionsInput{}
5517	}
5518
5519	output = &DescribeTemplatePermissionsOutput{}
5520	req = c.newRequest(op, input, output)
5521	return
5522}
5523
5524// DescribeTemplatePermissions API operation for Amazon QuickSight.
5525//
5526// Describes read and write permissions on a template.
5527//
5528// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5529// with awserr.Error's Code and Message methods to get detailed information about
5530// the error.
5531//
5532// See the AWS API reference guide for Amazon QuickSight's
5533// API operation DescribeTemplatePermissions for usage and error information.
5534//
5535// Returned Error Types:
5536//   * ThrottlingException
5537//   Access is throttled.
5538//
5539//   * InvalidParameterValueException
5540//   One or more parameters has a value that isn't valid.
5541//
5542//   * ConflictException
5543//   Updating or deleting a resource can cause an inconsistent state.
5544//
5545//   * ResourceNotFoundException
5546//   One or more resources can't be found.
5547//
5548//   * UnsupportedUserEditionException
5549//   This error indicates that you are calling an operation on an Amazon QuickSight
5550//   subscription where the edition doesn't include support for that operation.
5551//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
5552//   Not every operation and capability is available in every edition.
5553//
5554//   * InternalFailureException
5555//   An internal failure occurred.
5556//
5557// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplatePermissions
5558func (c *QuickSight) DescribeTemplatePermissions(input *DescribeTemplatePermissionsInput) (*DescribeTemplatePermissionsOutput, error) {
5559	req, out := c.DescribeTemplatePermissionsRequest(input)
5560	return out, req.Send()
5561}
5562
5563// DescribeTemplatePermissionsWithContext is the same as DescribeTemplatePermissions with the addition of
5564// the ability to pass a context and additional request options.
5565//
5566// See DescribeTemplatePermissions for details on how to use this API operation.
5567//
5568// The context must be non-nil and will be used for request cancellation. If
5569// the context is nil a panic will occur. In the future the SDK may create
5570// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5571// for more information on using Contexts.
5572func (c *QuickSight) DescribeTemplatePermissionsWithContext(ctx aws.Context, input *DescribeTemplatePermissionsInput, opts ...request.Option) (*DescribeTemplatePermissionsOutput, error) {
5573	req, out := c.DescribeTemplatePermissionsRequest(input)
5574	req.SetContext(ctx)
5575	req.ApplyOptions(opts...)
5576	return out, req.Send()
5577}
5578
5579const opDescribeTheme = "DescribeTheme"
5580
5581// DescribeThemeRequest generates a "aws/request.Request" representing the
5582// client's request for the DescribeTheme operation. The "output" return
5583// value will be populated with the request's response once the request completes
5584// successfully.
5585//
5586// Use "Send" method on the returned Request to send the API call to the service.
5587// the "output" return value is not valid until after Send returns without error.
5588//
5589// See DescribeTheme for more information on using the DescribeTheme
5590// API call, and error handling.
5591//
5592// This method is useful when you want to inject custom logic or configuration
5593// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5594//
5595//
5596//    // Example sending a request using the DescribeThemeRequest method.
5597//    req, resp := client.DescribeThemeRequest(params)
5598//
5599//    err := req.Send()
5600//    if err == nil { // resp is now filled
5601//        fmt.Println(resp)
5602//    }
5603//
5604// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTheme
5605func (c *QuickSight) DescribeThemeRequest(input *DescribeThemeInput) (req *request.Request, output *DescribeThemeOutput) {
5606	op := &request.Operation{
5607		Name:       opDescribeTheme,
5608		HTTPMethod: "GET",
5609		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}",
5610	}
5611
5612	if input == nil {
5613		input = &DescribeThemeInput{}
5614	}
5615
5616	output = &DescribeThemeOutput{}
5617	req = c.newRequest(op, input, output)
5618	return
5619}
5620
5621// DescribeTheme API operation for Amazon QuickSight.
5622//
5623// Describes a theme.
5624//
5625// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5626// with awserr.Error's Code and Message methods to get detailed information about
5627// the error.
5628//
5629// See the AWS API reference guide for Amazon QuickSight's
5630// API operation DescribeTheme for usage and error information.
5631//
5632// Returned Error Types:
5633//   * AccessDeniedException
5634//   You don't have access to this item. The provided credentials couldn't be
5635//   validated. You might not be authorized to carry out the request. Make sure
5636//   that your account is authorized to use the Amazon QuickSight service, that
5637//   your policies have the correct permissions, and that you are using the correct
5638//   access keys.
5639//
5640//   * InvalidParameterValueException
5641//   One or more parameters has a value that isn't valid.
5642//
5643//   * ResourceExistsException
5644//   The resource specified already exists.
5645//
5646//   * ResourceNotFoundException
5647//   One or more resources can't be found.
5648//
5649//   * ThrottlingException
5650//   Access is throttled.
5651//
5652//   * UnsupportedUserEditionException
5653//   This error indicates that you are calling an operation on an Amazon QuickSight
5654//   subscription where the edition doesn't include support for that operation.
5655//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
5656//   Not every operation and capability is available in every edition.
5657//
5658//   * InternalFailureException
5659//   An internal failure occurred.
5660//
5661// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTheme
5662func (c *QuickSight) DescribeTheme(input *DescribeThemeInput) (*DescribeThemeOutput, error) {
5663	req, out := c.DescribeThemeRequest(input)
5664	return out, req.Send()
5665}
5666
5667// DescribeThemeWithContext is the same as DescribeTheme with the addition of
5668// the ability to pass a context and additional request options.
5669//
5670// See DescribeTheme for details on how to use this API operation.
5671//
5672// The context must be non-nil and will be used for request cancellation. If
5673// the context is nil a panic will occur. In the future the SDK may create
5674// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5675// for more information on using Contexts.
5676func (c *QuickSight) DescribeThemeWithContext(ctx aws.Context, input *DescribeThemeInput, opts ...request.Option) (*DescribeThemeOutput, error) {
5677	req, out := c.DescribeThemeRequest(input)
5678	req.SetContext(ctx)
5679	req.ApplyOptions(opts...)
5680	return out, req.Send()
5681}
5682
5683const opDescribeThemeAlias = "DescribeThemeAlias"
5684
5685// DescribeThemeAliasRequest generates a "aws/request.Request" representing the
5686// client's request for the DescribeThemeAlias operation. The "output" return
5687// value will be populated with the request's response once the request completes
5688// successfully.
5689//
5690// Use "Send" method on the returned Request to send the API call to the service.
5691// the "output" return value is not valid until after Send returns without error.
5692//
5693// See DescribeThemeAlias for more information on using the DescribeThemeAlias
5694// API call, and error handling.
5695//
5696// This method is useful when you want to inject custom logic or configuration
5697// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5698//
5699//
5700//    // Example sending a request using the DescribeThemeAliasRequest method.
5701//    req, resp := client.DescribeThemeAliasRequest(params)
5702//
5703//    err := req.Send()
5704//    if err == nil { // resp is now filled
5705//        fmt.Println(resp)
5706//    }
5707//
5708// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeThemeAlias
5709func (c *QuickSight) DescribeThemeAliasRequest(input *DescribeThemeAliasInput) (req *request.Request, output *DescribeThemeAliasOutput) {
5710	op := &request.Operation{
5711		Name:       opDescribeThemeAlias,
5712		HTTPMethod: "GET",
5713		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}",
5714	}
5715
5716	if input == nil {
5717		input = &DescribeThemeAliasInput{}
5718	}
5719
5720	output = &DescribeThemeAliasOutput{}
5721	req = c.newRequest(op, input, output)
5722	return
5723}
5724
5725// DescribeThemeAlias API operation for Amazon QuickSight.
5726//
5727// Describes the alias for a theme.
5728//
5729// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5730// with awserr.Error's Code and Message methods to get detailed information about
5731// the error.
5732//
5733// See the AWS API reference guide for Amazon QuickSight's
5734// API operation DescribeThemeAlias for usage and error information.
5735//
5736// Returned Error Types:
5737//   * ConflictException
5738//   Updating or deleting a resource can cause an inconsistent state.
5739//
5740//   * InvalidParameterValueException
5741//   One or more parameters has a value that isn't valid.
5742//
5743//   * ResourceNotFoundException
5744//   One or more resources can't be found.
5745//
5746//   * ThrottlingException
5747//   Access is throttled.
5748//
5749//   * UnsupportedUserEditionException
5750//   This error indicates that you are calling an operation on an Amazon QuickSight
5751//   subscription where the edition doesn't include support for that operation.
5752//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
5753//   Not every operation and capability is available in every edition.
5754//
5755//   * InternalFailureException
5756//   An internal failure occurred.
5757//
5758// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeThemeAlias
5759func (c *QuickSight) DescribeThemeAlias(input *DescribeThemeAliasInput) (*DescribeThemeAliasOutput, error) {
5760	req, out := c.DescribeThemeAliasRequest(input)
5761	return out, req.Send()
5762}
5763
5764// DescribeThemeAliasWithContext is the same as DescribeThemeAlias with the addition of
5765// the ability to pass a context and additional request options.
5766//
5767// See DescribeThemeAlias for details on how to use this API operation.
5768//
5769// The context must be non-nil and will be used for request cancellation. If
5770// the context is nil a panic will occur. In the future the SDK may create
5771// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5772// for more information on using Contexts.
5773func (c *QuickSight) DescribeThemeAliasWithContext(ctx aws.Context, input *DescribeThemeAliasInput, opts ...request.Option) (*DescribeThemeAliasOutput, error) {
5774	req, out := c.DescribeThemeAliasRequest(input)
5775	req.SetContext(ctx)
5776	req.ApplyOptions(opts...)
5777	return out, req.Send()
5778}
5779
5780const opDescribeThemePermissions = "DescribeThemePermissions"
5781
5782// DescribeThemePermissionsRequest generates a "aws/request.Request" representing the
5783// client's request for the DescribeThemePermissions 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 DescribeThemePermissions for more information on using the DescribeThemePermissions
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 DescribeThemePermissionsRequest method.
5798//    req, resp := client.DescribeThemePermissionsRequest(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/DescribeThemePermissions
5806func (c *QuickSight) DescribeThemePermissionsRequest(input *DescribeThemePermissionsInput) (req *request.Request, output *DescribeThemePermissionsOutput) {
5807	op := &request.Operation{
5808		Name:       opDescribeThemePermissions,
5809		HTTPMethod: "GET",
5810		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/permissions",
5811	}
5812
5813	if input == nil {
5814		input = &DescribeThemePermissionsInput{}
5815	}
5816
5817	output = &DescribeThemePermissionsOutput{}
5818	req = c.newRequest(op, input, output)
5819	return
5820}
5821
5822// DescribeThemePermissions API operation for Amazon QuickSight.
5823//
5824// Describes the read and write permissions for a theme.
5825//
5826// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5827// with awserr.Error's Code and Message methods to get detailed information about
5828// the error.
5829//
5830// See the AWS API reference guide for Amazon QuickSight's
5831// API operation DescribeThemePermissions for usage and error information.
5832//
5833// Returned Error Types:
5834//   * AccessDeniedException
5835//   You don't have access to this item. The provided credentials couldn't be
5836//   validated. You might not be authorized to carry out the request. Make sure
5837//   that your account is authorized to use the Amazon QuickSight service, that
5838//   your policies have the correct permissions, and that you are using the correct
5839//   access keys.
5840//
5841//   * InvalidParameterValueException
5842//   One or more parameters has a value that isn't valid.
5843//
5844//   * ResourceNotFoundException
5845//   One or more resources can't be found.
5846//
5847//   * ThrottlingException
5848//   Access is throttled.
5849//
5850//   * UnsupportedUserEditionException
5851//   This error indicates that you are calling an operation on an Amazon QuickSight
5852//   subscription where the edition doesn't include support for that operation.
5853//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
5854//   Not every operation and capability is available in every edition.
5855//
5856//   * InternalFailureException
5857//   An internal failure occurred.
5858//
5859// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeThemePermissions
5860func (c *QuickSight) DescribeThemePermissions(input *DescribeThemePermissionsInput) (*DescribeThemePermissionsOutput, error) {
5861	req, out := c.DescribeThemePermissionsRequest(input)
5862	return out, req.Send()
5863}
5864
5865// DescribeThemePermissionsWithContext is the same as DescribeThemePermissions with the addition of
5866// the ability to pass a context and additional request options.
5867//
5868// See DescribeThemePermissions for details on how to use this API operation.
5869//
5870// The context must be non-nil and will be used for request cancellation. If
5871// the context is nil a panic will occur. In the future the SDK may create
5872// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5873// for more information on using Contexts.
5874func (c *QuickSight) DescribeThemePermissionsWithContext(ctx aws.Context, input *DescribeThemePermissionsInput, opts ...request.Option) (*DescribeThemePermissionsOutput, error) {
5875	req, out := c.DescribeThemePermissionsRequest(input)
5876	req.SetContext(ctx)
5877	req.ApplyOptions(opts...)
5878	return out, req.Send()
5879}
5880
5881const opDescribeUser = "DescribeUser"
5882
5883// DescribeUserRequest generates a "aws/request.Request" representing the
5884// client's request for the DescribeUser operation. The "output" return
5885// value will be populated with the request's response once the request completes
5886// successfully.
5887//
5888// Use "Send" method on the returned Request to send the API call to the service.
5889// the "output" return value is not valid until after Send returns without error.
5890//
5891// See DescribeUser for more information on using the DescribeUser
5892// API call, and error handling.
5893//
5894// This method is useful when you want to inject custom logic or configuration
5895// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5896//
5897//
5898//    // Example sending a request using the DescribeUserRequest method.
5899//    req, resp := client.DescribeUserRequest(params)
5900//
5901//    err := req.Send()
5902//    if err == nil { // resp is now filled
5903//        fmt.Println(resp)
5904//    }
5905//
5906// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeUser
5907func (c *QuickSight) DescribeUserRequest(input *DescribeUserInput) (req *request.Request, output *DescribeUserOutput) {
5908	op := &request.Operation{
5909		Name:       opDescribeUser,
5910		HTTPMethod: "GET",
5911		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}",
5912	}
5913
5914	if input == nil {
5915		input = &DescribeUserInput{}
5916	}
5917
5918	output = &DescribeUserOutput{}
5919	req = c.newRequest(op, input, output)
5920	return
5921}
5922
5923// DescribeUser API operation for Amazon QuickSight.
5924//
5925// Returns information about a user, given the user name.
5926//
5927// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5928// with awserr.Error's Code and Message methods to get detailed information about
5929// the error.
5930//
5931// See the AWS API reference guide for Amazon QuickSight's
5932// API operation DescribeUser for usage and error information.
5933//
5934// Returned Error Types:
5935//   * AccessDeniedException
5936//   You don't have access to this item. The provided credentials couldn't be
5937//   validated. You might not be authorized to carry out the request. Make sure
5938//   that your account is authorized to use the Amazon QuickSight service, that
5939//   your policies have the correct permissions, and that you are using the correct
5940//   access keys.
5941//
5942//   * InvalidParameterValueException
5943//   One or more parameters has a value that isn't valid.
5944//
5945//   * ResourceNotFoundException
5946//   One or more resources can't be found.
5947//
5948//   * ThrottlingException
5949//   Access is throttled.
5950//
5951//   * PreconditionNotMetException
5952//   One or more preconditions aren't met.
5953//
5954//   * InternalFailureException
5955//   An internal failure occurred.
5956//
5957//   * ResourceUnavailableException
5958//   This resource is currently unavailable.
5959//
5960// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeUser
5961func (c *QuickSight) DescribeUser(input *DescribeUserInput) (*DescribeUserOutput, error) {
5962	req, out := c.DescribeUserRequest(input)
5963	return out, req.Send()
5964}
5965
5966// DescribeUserWithContext is the same as DescribeUser with the addition of
5967// the ability to pass a context and additional request options.
5968//
5969// See DescribeUser for details on how to use this API operation.
5970//
5971// The context must be non-nil and will be used for request cancellation. If
5972// the context is nil a panic will occur. In the future the SDK may create
5973// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5974// for more information on using Contexts.
5975func (c *QuickSight) DescribeUserWithContext(ctx aws.Context, input *DescribeUserInput, opts ...request.Option) (*DescribeUserOutput, error) {
5976	req, out := c.DescribeUserRequest(input)
5977	req.SetContext(ctx)
5978	req.ApplyOptions(opts...)
5979	return out, req.Send()
5980}
5981
5982const opGenerateEmbedUrlForAnonymousUser = "GenerateEmbedUrlForAnonymousUser"
5983
5984// GenerateEmbedUrlForAnonymousUserRequest generates a "aws/request.Request" representing the
5985// client's request for the GenerateEmbedUrlForAnonymousUser operation. The "output" return
5986// value will be populated with the request's response once the request completes
5987// successfully.
5988//
5989// Use "Send" method on the returned Request to send the API call to the service.
5990// the "output" return value is not valid until after Send returns without error.
5991//
5992// See GenerateEmbedUrlForAnonymousUser for more information on using the GenerateEmbedUrlForAnonymousUser
5993// API call, and error handling.
5994//
5995// This method is useful when you want to inject custom logic or configuration
5996// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5997//
5998//
5999//    // Example sending a request using the GenerateEmbedUrlForAnonymousUserRequest method.
6000//    req, resp := client.GenerateEmbedUrlForAnonymousUserRequest(params)
6001//
6002//    err := req.Send()
6003//    if err == nil { // resp is now filled
6004//        fmt.Println(resp)
6005//    }
6006//
6007// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GenerateEmbedUrlForAnonymousUser
6008func (c *QuickSight) GenerateEmbedUrlForAnonymousUserRequest(input *GenerateEmbedUrlForAnonymousUserInput) (req *request.Request, output *GenerateEmbedUrlForAnonymousUserOutput) {
6009	op := &request.Operation{
6010		Name:       opGenerateEmbedUrlForAnonymousUser,
6011		HTTPMethod: "POST",
6012		HTTPPath:   "/accounts/{AwsAccountId}/embed-url/anonymous-user",
6013	}
6014
6015	if input == nil {
6016		input = &GenerateEmbedUrlForAnonymousUserInput{}
6017	}
6018
6019	output = &GenerateEmbedUrlForAnonymousUserOutput{}
6020	req = c.newRequest(op, input, output)
6021	return
6022}
6023
6024// GenerateEmbedUrlForAnonymousUser API operation for Amazon QuickSight.
6025//
6026// Generates an embed URL that you can use to embed an Amazon QuickSight dashboard
6027// in your website, without having to register any reader users. Before you
6028// use this action, make sure that you have configured the dashboards and permissions.
6029//
6030// The following rules apply to the generated URL:
6031//
6032//    * It contains a temporary bearer token. It is valid for 5 minutes after
6033//    it is generated. Once redeemed within this period, it cannot be re-used
6034//    again.
6035//
6036//    * The URL validity period should not be confused with the actual session
6037//    lifetime that can be customized using the SessionLifetimeInMinutes (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GenerateEmbedUrlForAnonymousUser.html#QS-GenerateEmbedUrlForAnonymousUser-request-SessionLifetimeInMinutes)
6038//    parameter. The resulting user session is valid for 15 minutes (default)
6039//    to 10 hours (maximum).
6040//
6041//    * You are charged only when the URL is used or there is interaction with
6042//    Amazon QuickSight.
6043//
6044// For more information, see Embedded Analytics (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html)
6045// in the Amazon QuickSight User Guide.
6046//
6047// For more information about the high-level steps for embedding and for an
6048// interactive demo of the ways you can customize embedding, visit the Amazon
6049// QuickSight Developer Portal (https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html).
6050//
6051// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6052// with awserr.Error's Code and Message methods to get detailed information about
6053// the error.
6054//
6055// See the AWS API reference guide for Amazon QuickSight's
6056// API operation GenerateEmbedUrlForAnonymousUser for usage and error information.
6057//
6058// Returned Error Types:
6059//   * AccessDeniedException
6060//   You don't have access to this item. The provided credentials couldn't be
6061//   validated. You might not be authorized to carry out the request. Make sure
6062//   that your account is authorized to use the Amazon QuickSight service, that
6063//   your policies have the correct permissions, and that you are using the correct
6064//   access keys.
6065//
6066//   * InvalidParameterValueException
6067//   One or more parameters has a value that isn't valid.
6068//
6069//   * ResourceNotFoundException
6070//   One or more resources can't be found.
6071//
6072//   * ThrottlingException
6073//   Access is throttled.
6074//
6075//   * SessionLifetimeInMinutesInvalidException
6076//   The number of minutes specified for the lifetime of a session isn't valid.
6077//   The session lifetime must be 15-600 minutes.
6078//
6079//   * UnsupportedUserEditionException
6080//   This error indicates that you are calling an operation on an Amazon QuickSight
6081//   subscription where the edition doesn't include support for that operation.
6082//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
6083//   Not every operation and capability is available in every edition.
6084//
6085//   * UnsupportedPricingPlanException
6086//   This error indicates that you are calling an embedding operation in Amazon
6087//   QuickSight without the required pricing plan on your Amazon Web Services
6088//   account. Before you can use embedding for anonymous users, a Amazon QuickSight
6089//   administrator needs to add capacity pricing to Amazon QuickSight. You can
6090//   do this on the Manage Amazon QuickSight page.
6091//
6092//   After capacity pricing is added, you can use the GetDashboardEmbedUrl API
6093//   operation with the --identity-type ANONYMOUS option.
6094//
6095//   * InternalFailureException
6096//   An internal failure occurred.
6097//
6098// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GenerateEmbedUrlForAnonymousUser
6099func (c *QuickSight) GenerateEmbedUrlForAnonymousUser(input *GenerateEmbedUrlForAnonymousUserInput) (*GenerateEmbedUrlForAnonymousUserOutput, error) {
6100	req, out := c.GenerateEmbedUrlForAnonymousUserRequest(input)
6101	return out, req.Send()
6102}
6103
6104// GenerateEmbedUrlForAnonymousUserWithContext is the same as GenerateEmbedUrlForAnonymousUser with the addition of
6105// the ability to pass a context and additional request options.
6106//
6107// See GenerateEmbedUrlForAnonymousUser for details on how to use this API operation.
6108//
6109// The context must be non-nil and will be used for request cancellation. If
6110// the context is nil a panic will occur. In the future the SDK may create
6111// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6112// for more information on using Contexts.
6113func (c *QuickSight) GenerateEmbedUrlForAnonymousUserWithContext(ctx aws.Context, input *GenerateEmbedUrlForAnonymousUserInput, opts ...request.Option) (*GenerateEmbedUrlForAnonymousUserOutput, error) {
6114	req, out := c.GenerateEmbedUrlForAnonymousUserRequest(input)
6115	req.SetContext(ctx)
6116	req.ApplyOptions(opts...)
6117	return out, req.Send()
6118}
6119
6120const opGenerateEmbedUrlForRegisteredUser = "GenerateEmbedUrlForRegisteredUser"
6121
6122// GenerateEmbedUrlForRegisteredUserRequest generates a "aws/request.Request" representing the
6123// client's request for the GenerateEmbedUrlForRegisteredUser operation. The "output" return
6124// value will be populated with the request's response once the request completes
6125// successfully.
6126//
6127// Use "Send" method on the returned Request to send the API call to the service.
6128// the "output" return value is not valid until after Send returns without error.
6129//
6130// See GenerateEmbedUrlForRegisteredUser for more information on using the GenerateEmbedUrlForRegisteredUser
6131// API call, and error handling.
6132//
6133// This method is useful when you want to inject custom logic or configuration
6134// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6135//
6136//
6137//    // Example sending a request using the GenerateEmbedUrlForRegisteredUserRequest method.
6138//    req, resp := client.GenerateEmbedUrlForRegisteredUserRequest(params)
6139//
6140//    err := req.Send()
6141//    if err == nil { // resp is now filled
6142//        fmt.Println(resp)
6143//    }
6144//
6145// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GenerateEmbedUrlForRegisteredUser
6146func (c *QuickSight) GenerateEmbedUrlForRegisteredUserRequest(input *GenerateEmbedUrlForRegisteredUserInput) (req *request.Request, output *GenerateEmbedUrlForRegisteredUserOutput) {
6147	op := &request.Operation{
6148		Name:       opGenerateEmbedUrlForRegisteredUser,
6149		HTTPMethod: "POST",
6150		HTTPPath:   "/accounts/{AwsAccountId}/embed-url/registered-user",
6151	}
6152
6153	if input == nil {
6154		input = &GenerateEmbedUrlForRegisteredUserInput{}
6155	}
6156
6157	output = &GenerateEmbedUrlForRegisteredUserOutput{}
6158	req = c.newRequest(op, input, output)
6159	return
6160}
6161
6162// GenerateEmbedUrlForRegisteredUser API operation for Amazon QuickSight.
6163//
6164// Generates an embed URL that you can use to embed an Amazon QuickSight experience
6165// in your website. This action can be used for any type of user registered
6166// in an Amazon QuickSight account. Before you use this action, make sure that
6167// you have configured the relevant Amazon QuickSight resource and permissions.
6168//
6169// The following rules apply to the generated URL:
6170//
6171//    * It contains a temporary bearer token. It is valid for 5 minutes after
6172//    it is generated. Once redeemed within this period, it cannot be re-used
6173//    again.
6174//
6175//    * The URL validity period should not be confused with the actual session
6176//    lifetime that can be customized using the SessionLifetimeInMinutes (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GenerateEmbedUrlForRegisteredUser.html#QS-GenerateEmbedUrlForRegisteredUser-request-SessionLifetimeInMinutes)
6177//    parameter. The resulting user session is valid for 15 minutes (default)
6178//    to 10 hours (maximum).
6179//
6180//    * You are charged only when the URL is used or there is interaction with
6181//    Amazon QuickSight.
6182//
6183// For more information, see Embedded Analytics (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html)
6184// in the Amazon QuickSight User Guide.
6185//
6186// For more information about the high-level steps for embedding and for an
6187// interactive demo of the ways you can customize embedding, visit the Amazon
6188// QuickSight Developer Portal (https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html).
6189//
6190// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6191// with awserr.Error's Code and Message methods to get detailed information about
6192// the error.
6193//
6194// See the AWS API reference guide for Amazon QuickSight's
6195// API operation GenerateEmbedUrlForRegisteredUser for usage and error information.
6196//
6197// Returned Error Types:
6198//   * AccessDeniedException
6199//   You don't have access to this item. The provided credentials couldn't be
6200//   validated. You might not be authorized to carry out the request. Make sure
6201//   that your account is authorized to use the Amazon QuickSight service, that
6202//   your policies have the correct permissions, and that you are using the correct
6203//   access keys.
6204//
6205//   * InvalidParameterValueException
6206//   One or more parameters has a value that isn't valid.
6207//
6208//   * UserNotFoundException
6209//   The user with the provided name isn't found. This error can happen in any
6210//   operation that requires finding a user based on a provided user name, such
6211//   as DeleteUser, DescribeUser, and so on.
6212//
6213//   * ResourceNotFoundException
6214//   One or more resources can't be found.
6215//
6216//   * SessionLifetimeInMinutesInvalidException
6217//   The number of minutes specified for the lifetime of a session isn't valid.
6218//   The session lifetime must be 15-600 minutes.
6219//
6220//   * ThrottlingException
6221//   Access is throttled.
6222//
6223//   * UnsupportedUserEditionException
6224//   This error indicates that you are calling an operation on an Amazon QuickSight
6225//   subscription where the edition doesn't include support for that operation.
6226//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
6227//   Not every operation and capability is available in every edition.
6228//
6229//   * UnsupportedPricingPlanException
6230//   This error indicates that you are calling an embedding operation in Amazon
6231//   QuickSight without the required pricing plan on your Amazon Web Services
6232//   account. Before you can use embedding for anonymous users, a Amazon QuickSight
6233//   administrator needs to add capacity pricing to Amazon QuickSight. You can
6234//   do this on the Manage Amazon QuickSight page.
6235//
6236//   After capacity pricing is added, you can use the GetDashboardEmbedUrl API
6237//   operation with the --identity-type ANONYMOUS option.
6238//
6239//   * InternalFailureException
6240//   An internal failure occurred.
6241//
6242// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GenerateEmbedUrlForRegisteredUser
6243func (c *QuickSight) GenerateEmbedUrlForRegisteredUser(input *GenerateEmbedUrlForRegisteredUserInput) (*GenerateEmbedUrlForRegisteredUserOutput, error) {
6244	req, out := c.GenerateEmbedUrlForRegisteredUserRequest(input)
6245	return out, req.Send()
6246}
6247
6248// GenerateEmbedUrlForRegisteredUserWithContext is the same as GenerateEmbedUrlForRegisteredUser with the addition of
6249// the ability to pass a context and additional request options.
6250//
6251// See GenerateEmbedUrlForRegisteredUser for details on how to use this API operation.
6252//
6253// The context must be non-nil and will be used for request cancellation. If
6254// the context is nil a panic will occur. In the future the SDK may create
6255// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6256// for more information on using Contexts.
6257func (c *QuickSight) GenerateEmbedUrlForRegisteredUserWithContext(ctx aws.Context, input *GenerateEmbedUrlForRegisteredUserInput, opts ...request.Option) (*GenerateEmbedUrlForRegisteredUserOutput, error) {
6258	req, out := c.GenerateEmbedUrlForRegisteredUserRequest(input)
6259	req.SetContext(ctx)
6260	req.ApplyOptions(opts...)
6261	return out, req.Send()
6262}
6263
6264const opGetDashboardEmbedUrl = "GetDashboardEmbedUrl"
6265
6266// GetDashboardEmbedUrlRequest generates a "aws/request.Request" representing the
6267// client's request for the GetDashboardEmbedUrl operation. The "output" return
6268// value will be populated with the request's response once the request completes
6269// successfully.
6270//
6271// Use "Send" method on the returned Request to send the API call to the service.
6272// the "output" return value is not valid until after Send returns without error.
6273//
6274// See GetDashboardEmbedUrl for more information on using the GetDashboardEmbedUrl
6275// API call, and error handling.
6276//
6277// This method is useful when you want to inject custom logic or configuration
6278// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6279//
6280//
6281//    // Example sending a request using the GetDashboardEmbedUrlRequest method.
6282//    req, resp := client.GetDashboardEmbedUrlRequest(params)
6283//
6284//    err := req.Send()
6285//    if err == nil { // resp is now filled
6286//        fmt.Println(resp)
6287//    }
6288//
6289// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GetDashboardEmbedUrl
6290func (c *QuickSight) GetDashboardEmbedUrlRequest(input *GetDashboardEmbedUrlInput) (req *request.Request, output *GetDashboardEmbedUrlOutput) {
6291	op := &request.Operation{
6292		Name:       opGetDashboardEmbedUrl,
6293		HTTPMethod: "GET",
6294		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/embed-url",
6295	}
6296
6297	if input == nil {
6298		input = &GetDashboardEmbedUrlInput{}
6299	}
6300
6301	output = &GetDashboardEmbedUrlOutput{}
6302	req = c.newRequest(op, input, output)
6303	return
6304}
6305
6306// GetDashboardEmbedUrl API operation for Amazon QuickSight.
6307//
6308// Generates a session URL and authorization code that you can use to embed
6309// an Amazon Amazon QuickSight read-only dashboard in your web server code.
6310// Before you use this command, make sure that you have configured the dashboards
6311// and permissions.
6312//
6313// Currently, you can use GetDashboardEmbedURL only from the server, not from
6314// the user's browser. The following rules apply to the combination of URL and
6315// authorization code:
6316//
6317//    * They must be used together.
6318//
6319//    * They can be used one time only.
6320//
6321//    * They are valid for 5 minutes after you run this command.
6322//
6323//    * The resulting user session is valid for 10 hours.
6324//
6325// For more information, see Embedding Analytics Using GetDashboardEmbedUrl
6326// (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics-deprecated.html)
6327// in the Amazon QuickSight User Guide.
6328//
6329// For more information about the high-level steps for embedding and for an
6330// interactive demo of the ways you can customize embedding, visit the Amazon
6331// QuickSight Developer Portal (https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html).
6332//
6333// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6334// with awserr.Error's Code and Message methods to get detailed information about
6335// the error.
6336//
6337// See the AWS API reference guide for Amazon QuickSight's
6338// API operation GetDashboardEmbedUrl for usage and error information.
6339//
6340// Returned Error Types:
6341//   * AccessDeniedException
6342//   You don't have access to this item. The provided credentials couldn't be
6343//   validated. You might not be authorized to carry out the request. Make sure
6344//   that your account is authorized to use the Amazon QuickSight service, that
6345//   your policies have the correct permissions, and that you are using the correct
6346//   access keys.
6347//
6348//   * InvalidParameterValueException
6349//   One or more parameters has a value that isn't valid.
6350//
6351//   * ResourceExistsException
6352//   The resource specified already exists.
6353//
6354//   * ResourceNotFoundException
6355//   One or more resources can't be found.
6356//
6357//   * ThrottlingException
6358//   Access is throttled.
6359//
6360//   * DomainNotWhitelistedException
6361//   The domain specified isn't on the allow list. All domains for embedded dashboards
6362//   must be added to the approved list by an Amazon QuickSight admin.
6363//
6364//   * UserNotFoundException
6365//   The user with the provided name isn't found. This error can happen in any
6366//   operation that requires finding a user based on a provided user name, such
6367//   as DeleteUser, DescribeUser, and so on.
6368//
6369//   * IdentityTypeNotSupportedException
6370//   The identity type specified isn't supported. Supported identity types include
6371//   IAM and QUICKSIGHT.
6372//
6373//   * SessionLifetimeInMinutesInvalidException
6374//   The number of minutes specified for the lifetime of a session isn't valid.
6375//   The session lifetime must be 15-600 minutes.
6376//
6377//   * UnsupportedUserEditionException
6378//   This error indicates that you are calling an operation on an Amazon QuickSight
6379//   subscription where the edition doesn't include support for that operation.
6380//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
6381//   Not every operation and capability is available in every edition.
6382//
6383//   * UnsupportedPricingPlanException
6384//   This error indicates that you are calling an embedding operation in Amazon
6385//   QuickSight without the required pricing plan on your Amazon Web Services
6386//   account. Before you can use embedding for anonymous users, a Amazon QuickSight
6387//   administrator needs to add capacity pricing to Amazon QuickSight. You can
6388//   do this on the Manage Amazon QuickSight page.
6389//
6390//   After capacity pricing is added, you can use the GetDashboardEmbedUrl API
6391//   operation with the --identity-type ANONYMOUS option.
6392//
6393//   * InternalFailureException
6394//   An internal failure occurred.
6395//
6396// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GetDashboardEmbedUrl
6397func (c *QuickSight) GetDashboardEmbedUrl(input *GetDashboardEmbedUrlInput) (*GetDashboardEmbedUrlOutput, error) {
6398	req, out := c.GetDashboardEmbedUrlRequest(input)
6399	return out, req.Send()
6400}
6401
6402// GetDashboardEmbedUrlWithContext is the same as GetDashboardEmbedUrl with the addition of
6403// the ability to pass a context and additional request options.
6404//
6405// See GetDashboardEmbedUrl for details on how to use this API operation.
6406//
6407// The context must be non-nil and will be used for request cancellation. If
6408// the context is nil a panic will occur. In the future the SDK may create
6409// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6410// for more information on using Contexts.
6411func (c *QuickSight) GetDashboardEmbedUrlWithContext(ctx aws.Context, input *GetDashboardEmbedUrlInput, opts ...request.Option) (*GetDashboardEmbedUrlOutput, error) {
6412	req, out := c.GetDashboardEmbedUrlRequest(input)
6413	req.SetContext(ctx)
6414	req.ApplyOptions(opts...)
6415	return out, req.Send()
6416}
6417
6418const opGetSessionEmbedUrl = "GetSessionEmbedUrl"
6419
6420// GetSessionEmbedUrlRequest generates a "aws/request.Request" representing the
6421// client's request for the GetSessionEmbedUrl operation. The "output" return
6422// value will be populated with the request's response once the request completes
6423// successfully.
6424//
6425// Use "Send" method on the returned Request to send the API call to the service.
6426// the "output" return value is not valid until after Send returns without error.
6427//
6428// See GetSessionEmbedUrl for more information on using the GetSessionEmbedUrl
6429// API call, and error handling.
6430//
6431// This method is useful when you want to inject custom logic or configuration
6432// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6433//
6434//
6435//    // Example sending a request using the GetSessionEmbedUrlRequest method.
6436//    req, resp := client.GetSessionEmbedUrlRequest(params)
6437//
6438//    err := req.Send()
6439//    if err == nil { // resp is now filled
6440//        fmt.Println(resp)
6441//    }
6442//
6443// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GetSessionEmbedUrl
6444func (c *QuickSight) GetSessionEmbedUrlRequest(input *GetSessionEmbedUrlInput) (req *request.Request, output *GetSessionEmbedUrlOutput) {
6445	op := &request.Operation{
6446		Name:       opGetSessionEmbedUrl,
6447		HTTPMethod: "GET",
6448		HTTPPath:   "/accounts/{AwsAccountId}/session-embed-url",
6449	}
6450
6451	if input == nil {
6452		input = &GetSessionEmbedUrlInput{}
6453	}
6454
6455	output = &GetSessionEmbedUrlOutput{}
6456	req = c.newRequest(op, input, output)
6457	return
6458}
6459
6460// GetSessionEmbedUrl API operation for Amazon QuickSight.
6461//
6462// Generates a session URL and authorization code that you can use to embed
6463// the Amazon Amazon QuickSight console in your web server code. Use GetSessionEmbedUrl
6464// where you want to provide an authoring portal that allows users to create
6465// data sources, datasets, analyses, and dashboards. The users who access an
6466// embedded Amazon QuickSight console need belong to the author or admin security
6467// cohort. If you want to restrict permissions to some of these features, add
6468// a custom permissions profile to the user with the UpdateUser API operation.
6469// Use RegisterUser API operation to add a new user with a custom permission
6470// profile attached. For more information, see the following sections in the
6471// Amazon QuickSight User Guide:
6472//
6473//    * Embedding Analytics (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html)
6474//
6475//    * Customizing Access to the Amazon QuickSight Console (https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html)
6476//
6477// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6478// with awserr.Error's Code and Message methods to get detailed information about
6479// the error.
6480//
6481// See the AWS API reference guide for Amazon QuickSight's
6482// API operation GetSessionEmbedUrl for usage and error information.
6483//
6484// Returned Error Types:
6485//   * AccessDeniedException
6486//   You don't have access to this item. The provided credentials couldn't be
6487//   validated. You might not be authorized to carry out the request. Make sure
6488//   that your account is authorized to use the Amazon QuickSight service, that
6489//   your policies have the correct permissions, and that you are using the correct
6490//   access keys.
6491//
6492//   * InvalidParameterValueException
6493//   One or more parameters has a value that isn't valid.
6494//
6495//   * ResourceExistsException
6496//   The resource specified already exists.
6497//
6498//   * ResourceNotFoundException
6499//   One or more resources can't be found.
6500//
6501//   * ThrottlingException
6502//   Access is throttled.
6503//
6504//   * UserNotFoundException
6505//   The user with the provided name isn't found. This error can happen in any
6506//   operation that requires finding a user based on a provided user name, such
6507//   as DeleteUser, DescribeUser, and so on.
6508//
6509//   * SessionLifetimeInMinutesInvalidException
6510//   The number of minutes specified for the lifetime of a session isn't valid.
6511//   The session lifetime must be 15-600 minutes.
6512//
6513//   * UnsupportedUserEditionException
6514//   This error indicates that you are calling an operation on an Amazon QuickSight
6515//   subscription where the edition doesn't include support for that operation.
6516//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
6517//   Not every operation and capability is available in every edition.
6518//
6519//   * InternalFailureException
6520//   An internal failure occurred.
6521//
6522// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GetSessionEmbedUrl
6523func (c *QuickSight) GetSessionEmbedUrl(input *GetSessionEmbedUrlInput) (*GetSessionEmbedUrlOutput, error) {
6524	req, out := c.GetSessionEmbedUrlRequest(input)
6525	return out, req.Send()
6526}
6527
6528// GetSessionEmbedUrlWithContext is the same as GetSessionEmbedUrl with the addition of
6529// the ability to pass a context and additional request options.
6530//
6531// See GetSessionEmbedUrl for details on how to use this API operation.
6532//
6533// The context must be non-nil and will be used for request cancellation. If
6534// the context is nil a panic will occur. In the future the SDK may create
6535// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6536// for more information on using Contexts.
6537func (c *QuickSight) GetSessionEmbedUrlWithContext(ctx aws.Context, input *GetSessionEmbedUrlInput, opts ...request.Option) (*GetSessionEmbedUrlOutput, error) {
6538	req, out := c.GetSessionEmbedUrlRequest(input)
6539	req.SetContext(ctx)
6540	req.ApplyOptions(opts...)
6541	return out, req.Send()
6542}
6543
6544const opListAnalyses = "ListAnalyses"
6545
6546// ListAnalysesRequest generates a "aws/request.Request" representing the
6547// client's request for the ListAnalyses operation. The "output" return
6548// value will be populated with the request's response once the request completes
6549// successfully.
6550//
6551// Use "Send" method on the returned Request to send the API call to the service.
6552// the "output" return value is not valid until after Send returns without error.
6553//
6554// See ListAnalyses for more information on using the ListAnalyses
6555// API call, and error handling.
6556//
6557// This method is useful when you want to inject custom logic or configuration
6558// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6559//
6560//
6561//    // Example sending a request using the ListAnalysesRequest method.
6562//    req, resp := client.ListAnalysesRequest(params)
6563//
6564//    err := req.Send()
6565//    if err == nil { // resp is now filled
6566//        fmt.Println(resp)
6567//    }
6568//
6569// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListAnalyses
6570func (c *QuickSight) ListAnalysesRequest(input *ListAnalysesInput) (req *request.Request, output *ListAnalysesOutput) {
6571	op := &request.Operation{
6572		Name:       opListAnalyses,
6573		HTTPMethod: "GET",
6574		HTTPPath:   "/accounts/{AwsAccountId}/analyses",
6575		Paginator: &request.Paginator{
6576			InputTokens:     []string{"NextToken"},
6577			OutputTokens:    []string{"NextToken"},
6578			LimitToken:      "MaxResults",
6579			TruncationToken: "",
6580		},
6581	}
6582
6583	if input == nil {
6584		input = &ListAnalysesInput{}
6585	}
6586
6587	output = &ListAnalysesOutput{}
6588	req = c.newRequest(op, input, output)
6589	return
6590}
6591
6592// ListAnalyses API operation for Amazon QuickSight.
6593//
6594// Lists Amazon QuickSight analyses that exist in the specified Amazon Web Services
6595// account.
6596//
6597// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6598// with awserr.Error's Code and Message methods to get detailed information about
6599// the error.
6600//
6601// See the AWS API reference guide for Amazon QuickSight's
6602// API operation ListAnalyses for usage and error information.
6603//
6604// Returned Error Types:
6605//   * ThrottlingException
6606//   Access is throttled.
6607//
6608//   * InvalidNextTokenException
6609//   The NextToken value isn't valid.
6610//
6611//   * UnsupportedUserEditionException
6612//   This error indicates that you are calling an operation on an Amazon QuickSight
6613//   subscription where the edition doesn't include support for that operation.
6614//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
6615//   Not every operation and capability is available in every edition.
6616//
6617//   * InternalFailureException
6618//   An internal failure occurred.
6619//
6620// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListAnalyses
6621func (c *QuickSight) ListAnalyses(input *ListAnalysesInput) (*ListAnalysesOutput, error) {
6622	req, out := c.ListAnalysesRequest(input)
6623	return out, req.Send()
6624}
6625
6626// ListAnalysesWithContext is the same as ListAnalyses with the addition of
6627// the ability to pass a context and additional request options.
6628//
6629// See ListAnalyses for details on how to use this API operation.
6630//
6631// The context must be non-nil and will be used for request cancellation. If
6632// the context is nil a panic will occur. In the future the SDK may create
6633// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6634// for more information on using Contexts.
6635func (c *QuickSight) ListAnalysesWithContext(ctx aws.Context, input *ListAnalysesInput, opts ...request.Option) (*ListAnalysesOutput, error) {
6636	req, out := c.ListAnalysesRequest(input)
6637	req.SetContext(ctx)
6638	req.ApplyOptions(opts...)
6639	return out, req.Send()
6640}
6641
6642// ListAnalysesPages iterates over the pages of a ListAnalyses operation,
6643// calling the "fn" function with the response data for each page. To stop
6644// iterating, return false from the fn function.
6645//
6646// See ListAnalyses method for more information on how to use this operation.
6647//
6648// Note: This operation can generate multiple requests to a service.
6649//
6650//    // Example iterating over at most 3 pages of a ListAnalyses operation.
6651//    pageNum := 0
6652//    err := client.ListAnalysesPages(params,
6653//        func(page *quicksight.ListAnalysesOutput, lastPage bool) bool {
6654//            pageNum++
6655//            fmt.Println(page)
6656//            return pageNum <= 3
6657//        })
6658//
6659func (c *QuickSight) ListAnalysesPages(input *ListAnalysesInput, fn func(*ListAnalysesOutput, bool) bool) error {
6660	return c.ListAnalysesPagesWithContext(aws.BackgroundContext(), input, fn)
6661}
6662
6663// ListAnalysesPagesWithContext same as ListAnalysesPages except
6664// it takes a Context and allows setting request options on the pages.
6665//
6666// The context must be non-nil and will be used for request cancellation. If
6667// the context is nil a panic will occur. In the future the SDK may create
6668// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6669// for more information on using Contexts.
6670func (c *QuickSight) ListAnalysesPagesWithContext(ctx aws.Context, input *ListAnalysesInput, fn func(*ListAnalysesOutput, bool) bool, opts ...request.Option) error {
6671	p := request.Pagination{
6672		NewRequest: func() (*request.Request, error) {
6673			var inCpy *ListAnalysesInput
6674			if input != nil {
6675				tmp := *input
6676				inCpy = &tmp
6677			}
6678			req, _ := c.ListAnalysesRequest(inCpy)
6679			req.SetContext(ctx)
6680			req.ApplyOptions(opts...)
6681			return req, nil
6682		},
6683	}
6684
6685	for p.Next() {
6686		if !fn(p.Page().(*ListAnalysesOutput), !p.HasNextPage()) {
6687			break
6688		}
6689	}
6690
6691	return p.Err()
6692}
6693
6694const opListDashboardVersions = "ListDashboardVersions"
6695
6696// ListDashboardVersionsRequest generates a "aws/request.Request" representing the
6697// client's request for the ListDashboardVersions operation. The "output" return
6698// value will be populated with the request's response once the request completes
6699// successfully.
6700//
6701// Use "Send" method on the returned Request to send the API call to the service.
6702// the "output" return value is not valid until after Send returns without error.
6703//
6704// See ListDashboardVersions for more information on using the ListDashboardVersions
6705// API call, and error handling.
6706//
6707// This method is useful when you want to inject custom logic or configuration
6708// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6709//
6710//
6711//    // Example sending a request using the ListDashboardVersionsRequest method.
6712//    req, resp := client.ListDashboardVersionsRequest(params)
6713//
6714//    err := req.Send()
6715//    if err == nil { // resp is now filled
6716//        fmt.Println(resp)
6717//    }
6718//
6719// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboardVersions
6720func (c *QuickSight) ListDashboardVersionsRequest(input *ListDashboardVersionsInput) (req *request.Request, output *ListDashboardVersionsOutput) {
6721	op := &request.Operation{
6722		Name:       opListDashboardVersions,
6723		HTTPMethod: "GET",
6724		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions",
6725		Paginator: &request.Paginator{
6726			InputTokens:     []string{"NextToken"},
6727			OutputTokens:    []string{"NextToken"},
6728			LimitToken:      "MaxResults",
6729			TruncationToken: "",
6730		},
6731	}
6732
6733	if input == nil {
6734		input = &ListDashboardVersionsInput{}
6735	}
6736
6737	output = &ListDashboardVersionsOutput{}
6738	req = c.newRequest(op, input, output)
6739	return
6740}
6741
6742// ListDashboardVersions API operation for Amazon QuickSight.
6743//
6744// Lists all the versions of the dashboards in the Amazon QuickSight subscription.
6745//
6746// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6747// with awserr.Error's Code and Message methods to get detailed information about
6748// the error.
6749//
6750// See the AWS API reference guide for Amazon QuickSight's
6751// API operation ListDashboardVersions for usage and error information.
6752//
6753// Returned Error Types:
6754//   * InvalidParameterValueException
6755//   One or more parameters has a value that isn't valid.
6756//
6757//   * ResourceNotFoundException
6758//   One or more resources can't be found.
6759//
6760//   * ThrottlingException
6761//   Access is throttled.
6762//
6763//   * InvalidNextTokenException
6764//   The NextToken value isn't valid.
6765//
6766//   * UnsupportedUserEditionException
6767//   This error indicates that you are calling an operation on an Amazon QuickSight
6768//   subscription where the edition doesn't include support for that operation.
6769//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
6770//   Not every operation and capability is available in every edition.
6771//
6772//   * InternalFailureException
6773//   An internal failure occurred.
6774//
6775// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboardVersions
6776func (c *QuickSight) ListDashboardVersions(input *ListDashboardVersionsInput) (*ListDashboardVersionsOutput, error) {
6777	req, out := c.ListDashboardVersionsRequest(input)
6778	return out, req.Send()
6779}
6780
6781// ListDashboardVersionsWithContext is the same as ListDashboardVersions with the addition of
6782// the ability to pass a context and additional request options.
6783//
6784// See ListDashboardVersions for details on how to use this API operation.
6785//
6786// The context must be non-nil and will be used for request cancellation. If
6787// the context is nil a panic will occur. In the future the SDK may create
6788// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6789// for more information on using Contexts.
6790func (c *QuickSight) ListDashboardVersionsWithContext(ctx aws.Context, input *ListDashboardVersionsInput, opts ...request.Option) (*ListDashboardVersionsOutput, error) {
6791	req, out := c.ListDashboardVersionsRequest(input)
6792	req.SetContext(ctx)
6793	req.ApplyOptions(opts...)
6794	return out, req.Send()
6795}
6796
6797// ListDashboardVersionsPages iterates over the pages of a ListDashboardVersions operation,
6798// calling the "fn" function with the response data for each page. To stop
6799// iterating, return false from the fn function.
6800//
6801// See ListDashboardVersions method for more information on how to use this operation.
6802//
6803// Note: This operation can generate multiple requests to a service.
6804//
6805//    // Example iterating over at most 3 pages of a ListDashboardVersions operation.
6806//    pageNum := 0
6807//    err := client.ListDashboardVersionsPages(params,
6808//        func(page *quicksight.ListDashboardVersionsOutput, lastPage bool) bool {
6809//            pageNum++
6810//            fmt.Println(page)
6811//            return pageNum <= 3
6812//        })
6813//
6814func (c *QuickSight) ListDashboardVersionsPages(input *ListDashboardVersionsInput, fn func(*ListDashboardVersionsOutput, bool) bool) error {
6815	return c.ListDashboardVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
6816}
6817
6818// ListDashboardVersionsPagesWithContext same as ListDashboardVersionsPages except
6819// it takes a Context and allows setting request options on the pages.
6820//
6821// The context must be non-nil and will be used for request cancellation. If
6822// the context is nil a panic will occur. In the future the SDK may create
6823// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6824// for more information on using Contexts.
6825func (c *QuickSight) ListDashboardVersionsPagesWithContext(ctx aws.Context, input *ListDashboardVersionsInput, fn func(*ListDashboardVersionsOutput, bool) bool, opts ...request.Option) error {
6826	p := request.Pagination{
6827		NewRequest: func() (*request.Request, error) {
6828			var inCpy *ListDashboardVersionsInput
6829			if input != nil {
6830				tmp := *input
6831				inCpy = &tmp
6832			}
6833			req, _ := c.ListDashboardVersionsRequest(inCpy)
6834			req.SetContext(ctx)
6835			req.ApplyOptions(opts...)
6836			return req, nil
6837		},
6838	}
6839
6840	for p.Next() {
6841		if !fn(p.Page().(*ListDashboardVersionsOutput), !p.HasNextPage()) {
6842			break
6843		}
6844	}
6845
6846	return p.Err()
6847}
6848
6849const opListDashboards = "ListDashboards"
6850
6851// ListDashboardsRequest generates a "aws/request.Request" representing the
6852// client's request for the ListDashboards operation. The "output" return
6853// value will be populated with the request's response once the request completes
6854// successfully.
6855//
6856// Use "Send" method on the returned Request to send the API call to the service.
6857// the "output" return value is not valid until after Send returns without error.
6858//
6859// See ListDashboards for more information on using the ListDashboards
6860// API call, and error handling.
6861//
6862// This method is useful when you want to inject custom logic or configuration
6863// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6864//
6865//
6866//    // Example sending a request using the ListDashboardsRequest method.
6867//    req, resp := client.ListDashboardsRequest(params)
6868//
6869//    err := req.Send()
6870//    if err == nil { // resp is now filled
6871//        fmt.Println(resp)
6872//    }
6873//
6874// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboards
6875func (c *QuickSight) ListDashboardsRequest(input *ListDashboardsInput) (req *request.Request, output *ListDashboardsOutput) {
6876	op := &request.Operation{
6877		Name:       opListDashboards,
6878		HTTPMethod: "GET",
6879		HTTPPath:   "/accounts/{AwsAccountId}/dashboards",
6880		Paginator: &request.Paginator{
6881			InputTokens:     []string{"NextToken"},
6882			OutputTokens:    []string{"NextToken"},
6883			LimitToken:      "MaxResults",
6884			TruncationToken: "",
6885		},
6886	}
6887
6888	if input == nil {
6889		input = &ListDashboardsInput{}
6890	}
6891
6892	output = &ListDashboardsOutput{}
6893	req = c.newRequest(op, input, output)
6894	return
6895}
6896
6897// ListDashboards API operation for Amazon QuickSight.
6898//
6899// Lists dashboards in an Amazon Web Services account.
6900//
6901// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6902// with awserr.Error's Code and Message methods to get detailed information about
6903// the error.
6904//
6905// See the AWS API reference guide for Amazon QuickSight's
6906// API operation ListDashboards for usage and error information.
6907//
6908// Returned Error Types:
6909//   * ThrottlingException
6910//   Access is throttled.
6911//
6912//   * InvalidNextTokenException
6913//   The NextToken value isn't valid.
6914//
6915//   * UnsupportedUserEditionException
6916//   This error indicates that you are calling an operation on an Amazon QuickSight
6917//   subscription where the edition doesn't include support for that operation.
6918//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
6919//   Not every operation and capability is available in every edition.
6920//
6921//   * InternalFailureException
6922//   An internal failure occurred.
6923//
6924// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboards
6925func (c *QuickSight) ListDashboards(input *ListDashboardsInput) (*ListDashboardsOutput, error) {
6926	req, out := c.ListDashboardsRequest(input)
6927	return out, req.Send()
6928}
6929
6930// ListDashboardsWithContext is the same as ListDashboards with the addition of
6931// the ability to pass a context and additional request options.
6932//
6933// See ListDashboards for details on how to use this API operation.
6934//
6935// The context must be non-nil and will be used for request cancellation. If
6936// the context is nil a panic will occur. In the future the SDK may create
6937// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6938// for more information on using Contexts.
6939func (c *QuickSight) ListDashboardsWithContext(ctx aws.Context, input *ListDashboardsInput, opts ...request.Option) (*ListDashboardsOutput, error) {
6940	req, out := c.ListDashboardsRequest(input)
6941	req.SetContext(ctx)
6942	req.ApplyOptions(opts...)
6943	return out, req.Send()
6944}
6945
6946// ListDashboardsPages iterates over the pages of a ListDashboards operation,
6947// calling the "fn" function with the response data for each page. To stop
6948// iterating, return false from the fn function.
6949//
6950// See ListDashboards method for more information on how to use this operation.
6951//
6952// Note: This operation can generate multiple requests to a service.
6953//
6954//    // Example iterating over at most 3 pages of a ListDashboards operation.
6955//    pageNum := 0
6956//    err := client.ListDashboardsPages(params,
6957//        func(page *quicksight.ListDashboardsOutput, lastPage bool) bool {
6958//            pageNum++
6959//            fmt.Println(page)
6960//            return pageNum <= 3
6961//        })
6962//
6963func (c *QuickSight) ListDashboardsPages(input *ListDashboardsInput, fn func(*ListDashboardsOutput, bool) bool) error {
6964	return c.ListDashboardsPagesWithContext(aws.BackgroundContext(), input, fn)
6965}
6966
6967// ListDashboardsPagesWithContext same as ListDashboardsPages except
6968// it takes a Context and allows setting request options on the pages.
6969//
6970// The context must be non-nil and will be used for request cancellation. If
6971// the context is nil a panic will occur. In the future the SDK may create
6972// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6973// for more information on using Contexts.
6974func (c *QuickSight) ListDashboardsPagesWithContext(ctx aws.Context, input *ListDashboardsInput, fn func(*ListDashboardsOutput, bool) bool, opts ...request.Option) error {
6975	p := request.Pagination{
6976		NewRequest: func() (*request.Request, error) {
6977			var inCpy *ListDashboardsInput
6978			if input != nil {
6979				tmp := *input
6980				inCpy = &tmp
6981			}
6982			req, _ := c.ListDashboardsRequest(inCpy)
6983			req.SetContext(ctx)
6984			req.ApplyOptions(opts...)
6985			return req, nil
6986		},
6987	}
6988
6989	for p.Next() {
6990		if !fn(p.Page().(*ListDashboardsOutput), !p.HasNextPage()) {
6991			break
6992		}
6993	}
6994
6995	return p.Err()
6996}
6997
6998const opListDataSets = "ListDataSets"
6999
7000// ListDataSetsRequest generates a "aws/request.Request" representing the
7001// client's request for the ListDataSets operation. The "output" return
7002// value will be populated with the request's response once the request completes
7003// successfully.
7004//
7005// Use "Send" method on the returned Request to send the API call to the service.
7006// the "output" return value is not valid until after Send returns without error.
7007//
7008// See ListDataSets for more information on using the ListDataSets
7009// API call, and error handling.
7010//
7011// This method is useful when you want to inject custom logic or configuration
7012// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7013//
7014//
7015//    // Example sending a request using the ListDataSetsRequest method.
7016//    req, resp := client.ListDataSetsRequest(params)
7017//
7018//    err := req.Send()
7019//    if err == nil { // resp is now filled
7020//        fmt.Println(resp)
7021//    }
7022//
7023// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSets
7024func (c *QuickSight) ListDataSetsRequest(input *ListDataSetsInput) (req *request.Request, output *ListDataSetsOutput) {
7025	op := &request.Operation{
7026		Name:       opListDataSets,
7027		HTTPMethod: "GET",
7028		HTTPPath:   "/accounts/{AwsAccountId}/data-sets",
7029		Paginator: &request.Paginator{
7030			InputTokens:     []string{"NextToken"},
7031			OutputTokens:    []string{"NextToken"},
7032			LimitToken:      "MaxResults",
7033			TruncationToken: "",
7034		},
7035	}
7036
7037	if input == nil {
7038		input = &ListDataSetsInput{}
7039	}
7040
7041	output = &ListDataSetsOutput{}
7042	req = c.newRequest(op, input, output)
7043	return
7044}
7045
7046// ListDataSets API operation for Amazon QuickSight.
7047//
7048// Lists all of the datasets belonging to the current Amazon Web Services account
7049// in an Amazon Web Services Region;.
7050//
7051// The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/*.
7052//
7053// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7054// with awserr.Error's Code and Message methods to get detailed information about
7055// the error.
7056//
7057// See the AWS API reference guide for Amazon QuickSight's
7058// API operation ListDataSets for usage and error information.
7059//
7060// Returned Error Types:
7061//   * AccessDeniedException
7062//   You don't have access to this item. The provided credentials couldn't be
7063//   validated. You might not be authorized to carry out the request. Make sure
7064//   that your account is authorized to use the Amazon QuickSight service, that
7065//   your policies have the correct permissions, and that you are using the correct
7066//   access keys.
7067//
7068//   * InvalidParameterValueException
7069//   One or more parameters has a value that isn't valid.
7070//
7071//   * ThrottlingException
7072//   Access is throttled.
7073//
7074//   * InvalidNextTokenException
7075//   The NextToken value isn't valid.
7076//
7077//   * InternalFailureException
7078//   An internal failure occurred.
7079//
7080// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSets
7081func (c *QuickSight) ListDataSets(input *ListDataSetsInput) (*ListDataSetsOutput, error) {
7082	req, out := c.ListDataSetsRequest(input)
7083	return out, req.Send()
7084}
7085
7086// ListDataSetsWithContext is the same as ListDataSets with the addition of
7087// the ability to pass a context and additional request options.
7088//
7089// See ListDataSets for details on how to use this API operation.
7090//
7091// The context must be non-nil and will be used for request cancellation. If
7092// the context is nil a panic will occur. In the future the SDK may create
7093// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7094// for more information on using Contexts.
7095func (c *QuickSight) ListDataSetsWithContext(ctx aws.Context, input *ListDataSetsInput, opts ...request.Option) (*ListDataSetsOutput, error) {
7096	req, out := c.ListDataSetsRequest(input)
7097	req.SetContext(ctx)
7098	req.ApplyOptions(opts...)
7099	return out, req.Send()
7100}
7101
7102// ListDataSetsPages iterates over the pages of a ListDataSets operation,
7103// calling the "fn" function with the response data for each page. To stop
7104// iterating, return false from the fn function.
7105//
7106// See ListDataSets method for more information on how to use this operation.
7107//
7108// Note: This operation can generate multiple requests to a service.
7109//
7110//    // Example iterating over at most 3 pages of a ListDataSets operation.
7111//    pageNum := 0
7112//    err := client.ListDataSetsPages(params,
7113//        func(page *quicksight.ListDataSetsOutput, lastPage bool) bool {
7114//            pageNum++
7115//            fmt.Println(page)
7116//            return pageNum <= 3
7117//        })
7118//
7119func (c *QuickSight) ListDataSetsPages(input *ListDataSetsInput, fn func(*ListDataSetsOutput, bool) bool) error {
7120	return c.ListDataSetsPagesWithContext(aws.BackgroundContext(), input, fn)
7121}
7122
7123// ListDataSetsPagesWithContext same as ListDataSetsPages except
7124// it takes a Context and allows setting request options on the pages.
7125//
7126// The context must be non-nil and will be used for request cancellation. If
7127// the context is nil a panic will occur. In the future the SDK may create
7128// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7129// for more information on using Contexts.
7130func (c *QuickSight) ListDataSetsPagesWithContext(ctx aws.Context, input *ListDataSetsInput, fn func(*ListDataSetsOutput, bool) bool, opts ...request.Option) error {
7131	p := request.Pagination{
7132		NewRequest: func() (*request.Request, error) {
7133			var inCpy *ListDataSetsInput
7134			if input != nil {
7135				tmp := *input
7136				inCpy = &tmp
7137			}
7138			req, _ := c.ListDataSetsRequest(inCpy)
7139			req.SetContext(ctx)
7140			req.ApplyOptions(opts...)
7141			return req, nil
7142		},
7143	}
7144
7145	for p.Next() {
7146		if !fn(p.Page().(*ListDataSetsOutput), !p.HasNextPage()) {
7147			break
7148		}
7149	}
7150
7151	return p.Err()
7152}
7153
7154const opListDataSources = "ListDataSources"
7155
7156// ListDataSourcesRequest generates a "aws/request.Request" representing the
7157// client's request for the ListDataSources operation. The "output" return
7158// value will be populated with the request's response once the request completes
7159// successfully.
7160//
7161// Use "Send" method on the returned Request to send the API call to the service.
7162// the "output" return value is not valid until after Send returns without error.
7163//
7164// See ListDataSources for more information on using the ListDataSources
7165// API call, and error handling.
7166//
7167// This method is useful when you want to inject custom logic or configuration
7168// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7169//
7170//
7171//    // Example sending a request using the ListDataSourcesRequest method.
7172//    req, resp := client.ListDataSourcesRequest(params)
7173//
7174//    err := req.Send()
7175//    if err == nil { // resp is now filled
7176//        fmt.Println(resp)
7177//    }
7178//
7179// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSources
7180func (c *QuickSight) ListDataSourcesRequest(input *ListDataSourcesInput) (req *request.Request, output *ListDataSourcesOutput) {
7181	op := &request.Operation{
7182		Name:       opListDataSources,
7183		HTTPMethod: "GET",
7184		HTTPPath:   "/accounts/{AwsAccountId}/data-sources",
7185		Paginator: &request.Paginator{
7186			InputTokens:     []string{"NextToken"},
7187			OutputTokens:    []string{"NextToken"},
7188			LimitToken:      "MaxResults",
7189			TruncationToken: "",
7190		},
7191	}
7192
7193	if input == nil {
7194		input = &ListDataSourcesInput{}
7195	}
7196
7197	output = &ListDataSourcesOutput{}
7198	req = c.newRequest(op, input, output)
7199	return
7200}
7201
7202// ListDataSources API operation for Amazon QuickSight.
7203//
7204// Lists data sources in current Amazon Web Services Region; that belong to
7205// this Amazon Web Services account.
7206//
7207// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7208// with awserr.Error's Code and Message methods to get detailed information about
7209// the error.
7210//
7211// See the AWS API reference guide for Amazon QuickSight's
7212// API operation ListDataSources for usage and error information.
7213//
7214// Returned Error Types:
7215//   * AccessDeniedException
7216//   You don't have access to this item. The provided credentials couldn't be
7217//   validated. You might not be authorized to carry out the request. Make sure
7218//   that your account is authorized to use the Amazon QuickSight service, that
7219//   your policies have the correct permissions, and that you are using the correct
7220//   access keys.
7221//
7222//   * InvalidParameterValueException
7223//   One or more parameters has a value that isn't valid.
7224//
7225//   * ThrottlingException
7226//   Access is throttled.
7227//
7228//   * InvalidNextTokenException
7229//   The NextToken value isn't valid.
7230//
7231//   * InternalFailureException
7232//   An internal failure occurred.
7233//
7234// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSources
7235func (c *QuickSight) ListDataSources(input *ListDataSourcesInput) (*ListDataSourcesOutput, error) {
7236	req, out := c.ListDataSourcesRequest(input)
7237	return out, req.Send()
7238}
7239
7240// ListDataSourcesWithContext is the same as ListDataSources with the addition of
7241// the ability to pass a context and additional request options.
7242//
7243// See ListDataSources for details on how to use this API operation.
7244//
7245// The context must be non-nil and will be used for request cancellation. If
7246// the context is nil a panic will occur. In the future the SDK may create
7247// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7248// for more information on using Contexts.
7249func (c *QuickSight) ListDataSourcesWithContext(ctx aws.Context, input *ListDataSourcesInput, opts ...request.Option) (*ListDataSourcesOutput, error) {
7250	req, out := c.ListDataSourcesRequest(input)
7251	req.SetContext(ctx)
7252	req.ApplyOptions(opts...)
7253	return out, req.Send()
7254}
7255
7256// ListDataSourcesPages iterates over the pages of a ListDataSources operation,
7257// calling the "fn" function with the response data for each page. To stop
7258// iterating, return false from the fn function.
7259//
7260// See ListDataSources method for more information on how to use this operation.
7261//
7262// Note: This operation can generate multiple requests to a service.
7263//
7264//    // Example iterating over at most 3 pages of a ListDataSources operation.
7265//    pageNum := 0
7266//    err := client.ListDataSourcesPages(params,
7267//        func(page *quicksight.ListDataSourcesOutput, lastPage bool) bool {
7268//            pageNum++
7269//            fmt.Println(page)
7270//            return pageNum <= 3
7271//        })
7272//
7273func (c *QuickSight) ListDataSourcesPages(input *ListDataSourcesInput, fn func(*ListDataSourcesOutput, bool) bool) error {
7274	return c.ListDataSourcesPagesWithContext(aws.BackgroundContext(), input, fn)
7275}
7276
7277// ListDataSourcesPagesWithContext same as ListDataSourcesPages except
7278// it takes a Context and allows setting request options on the pages.
7279//
7280// The context must be non-nil and will be used for request cancellation. If
7281// the context is nil a panic will occur. In the future the SDK may create
7282// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7283// for more information on using Contexts.
7284func (c *QuickSight) ListDataSourcesPagesWithContext(ctx aws.Context, input *ListDataSourcesInput, fn func(*ListDataSourcesOutput, bool) bool, opts ...request.Option) error {
7285	p := request.Pagination{
7286		NewRequest: func() (*request.Request, error) {
7287			var inCpy *ListDataSourcesInput
7288			if input != nil {
7289				tmp := *input
7290				inCpy = &tmp
7291			}
7292			req, _ := c.ListDataSourcesRequest(inCpy)
7293			req.SetContext(ctx)
7294			req.ApplyOptions(opts...)
7295			return req, nil
7296		},
7297	}
7298
7299	for p.Next() {
7300		if !fn(p.Page().(*ListDataSourcesOutput), !p.HasNextPage()) {
7301			break
7302		}
7303	}
7304
7305	return p.Err()
7306}
7307
7308const opListFolderMembers = "ListFolderMembers"
7309
7310// ListFolderMembersRequest generates a "aws/request.Request" representing the
7311// client's request for the ListFolderMembers operation. The "output" return
7312// value will be populated with the request's response once the request completes
7313// successfully.
7314//
7315// Use "Send" method on the returned Request to send the API call to the service.
7316// the "output" return value is not valid until after Send returns without error.
7317//
7318// See ListFolderMembers for more information on using the ListFolderMembers
7319// API call, and error handling.
7320//
7321// This method is useful when you want to inject custom logic or configuration
7322// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7323//
7324//
7325//    // Example sending a request using the ListFolderMembersRequest method.
7326//    req, resp := client.ListFolderMembersRequest(params)
7327//
7328//    err := req.Send()
7329//    if err == nil { // resp is now filled
7330//        fmt.Println(resp)
7331//    }
7332//
7333// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListFolderMembers
7334func (c *QuickSight) ListFolderMembersRequest(input *ListFolderMembersInput) (req *request.Request, output *ListFolderMembersOutput) {
7335	op := &request.Operation{
7336		Name:       opListFolderMembers,
7337		HTTPMethod: "GET",
7338		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}/members",
7339	}
7340
7341	if input == nil {
7342		input = &ListFolderMembersInput{}
7343	}
7344
7345	output = &ListFolderMembersOutput{}
7346	req = c.newRequest(op, input, output)
7347	return
7348}
7349
7350// ListFolderMembers API operation for Amazon QuickSight.
7351//
7352// List all assets (DASHBOARD, ANALYSIS, and DATASET) in a folder.
7353//
7354// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7355// with awserr.Error's Code and Message methods to get detailed information about
7356// the error.
7357//
7358// See the AWS API reference guide for Amazon QuickSight's
7359// API operation ListFolderMembers for usage and error information.
7360//
7361// Returned Error Types:
7362//   * InvalidParameterValueException
7363//   One or more parameters has a value that isn't valid.
7364//
7365//   * AccessDeniedException
7366//   You don't have access to this item. The provided credentials couldn't be
7367//   validated. You might not be authorized to carry out the request. Make sure
7368//   that your account is authorized to use the Amazon QuickSight service, that
7369//   your policies have the correct permissions, and that you are using the correct
7370//   access keys.
7371//
7372//   * ResourceNotFoundException
7373//   One or more resources can't be found.
7374//
7375//   * ThrottlingException
7376//   Access is throttled.
7377//
7378//   * InvalidNextTokenException
7379//   The NextToken value isn't valid.
7380//
7381//   * UnsupportedUserEditionException
7382//   This error indicates that you are calling an operation on an Amazon QuickSight
7383//   subscription where the edition doesn't include support for that operation.
7384//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
7385//   Not every operation and capability is available in every edition.
7386//
7387//   * InternalFailureException
7388//   An internal failure occurred.
7389//
7390// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListFolderMembers
7391func (c *QuickSight) ListFolderMembers(input *ListFolderMembersInput) (*ListFolderMembersOutput, error) {
7392	req, out := c.ListFolderMembersRequest(input)
7393	return out, req.Send()
7394}
7395
7396// ListFolderMembersWithContext is the same as ListFolderMembers with the addition of
7397// the ability to pass a context and additional request options.
7398//
7399// See ListFolderMembers for details on how to use this API operation.
7400//
7401// The context must be non-nil and will be used for request cancellation. If
7402// the context is nil a panic will occur. In the future the SDK may create
7403// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7404// for more information on using Contexts.
7405func (c *QuickSight) ListFolderMembersWithContext(ctx aws.Context, input *ListFolderMembersInput, opts ...request.Option) (*ListFolderMembersOutput, error) {
7406	req, out := c.ListFolderMembersRequest(input)
7407	req.SetContext(ctx)
7408	req.ApplyOptions(opts...)
7409	return out, req.Send()
7410}
7411
7412const opListFolders = "ListFolders"
7413
7414// ListFoldersRequest generates a "aws/request.Request" representing the
7415// client's request for the ListFolders operation. The "output" return
7416// value will be populated with the request's response once the request completes
7417// successfully.
7418//
7419// Use "Send" method on the returned Request to send the API call to the service.
7420// the "output" return value is not valid until after Send returns without error.
7421//
7422// See ListFolders for more information on using the ListFolders
7423// API call, and error handling.
7424//
7425// This method is useful when you want to inject custom logic or configuration
7426// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7427//
7428//
7429//    // Example sending a request using the ListFoldersRequest method.
7430//    req, resp := client.ListFoldersRequest(params)
7431//
7432//    err := req.Send()
7433//    if err == nil { // resp is now filled
7434//        fmt.Println(resp)
7435//    }
7436//
7437// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListFolders
7438func (c *QuickSight) ListFoldersRequest(input *ListFoldersInput) (req *request.Request, output *ListFoldersOutput) {
7439	op := &request.Operation{
7440		Name:       opListFolders,
7441		HTTPMethod: "GET",
7442		HTTPPath:   "/accounts/{AwsAccountId}/folders",
7443	}
7444
7445	if input == nil {
7446		input = &ListFoldersInput{}
7447	}
7448
7449	output = &ListFoldersOutput{}
7450	req = c.newRequest(op, input, output)
7451	return
7452}
7453
7454// ListFolders API operation for Amazon QuickSight.
7455//
7456// Lists all folders in an account.
7457//
7458// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7459// with awserr.Error's Code and Message methods to get detailed information about
7460// the error.
7461//
7462// See the AWS API reference guide for Amazon QuickSight's
7463// API operation ListFolders for usage and error information.
7464//
7465// Returned Error Types:
7466//   * InvalidParameterValueException
7467//   One or more parameters has a value that isn't valid.
7468//
7469//   * AccessDeniedException
7470//   You don't have access to this item. The provided credentials couldn't be
7471//   validated. You might not be authorized to carry out the request. Make sure
7472//   that your account is authorized to use the Amazon QuickSight service, that
7473//   your policies have the correct permissions, and that you are using the correct
7474//   access keys.
7475//
7476//   * ResourceNotFoundException
7477//   One or more resources can't be found.
7478//
7479//   * ThrottlingException
7480//   Access is throttled.
7481//
7482//   * InvalidNextTokenException
7483//   The NextToken value isn't valid.
7484//
7485//   * UnsupportedUserEditionException
7486//   This error indicates that you are calling an operation on an Amazon QuickSight
7487//   subscription where the edition doesn't include support for that operation.
7488//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
7489//   Not every operation and capability is available in every edition.
7490//
7491//   * InternalFailureException
7492//   An internal failure occurred.
7493//
7494// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListFolders
7495func (c *QuickSight) ListFolders(input *ListFoldersInput) (*ListFoldersOutput, error) {
7496	req, out := c.ListFoldersRequest(input)
7497	return out, req.Send()
7498}
7499
7500// ListFoldersWithContext is the same as ListFolders with the addition of
7501// the ability to pass a context and additional request options.
7502//
7503// See ListFolders for details on how to use this API operation.
7504//
7505// The context must be non-nil and will be used for request cancellation. If
7506// the context is nil a panic will occur. In the future the SDK may create
7507// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7508// for more information on using Contexts.
7509func (c *QuickSight) ListFoldersWithContext(ctx aws.Context, input *ListFoldersInput, opts ...request.Option) (*ListFoldersOutput, error) {
7510	req, out := c.ListFoldersRequest(input)
7511	req.SetContext(ctx)
7512	req.ApplyOptions(opts...)
7513	return out, req.Send()
7514}
7515
7516const opListGroupMemberships = "ListGroupMemberships"
7517
7518// ListGroupMembershipsRequest generates a "aws/request.Request" representing the
7519// client's request for the ListGroupMemberships operation. The "output" return
7520// value will be populated with the request's response once the request completes
7521// successfully.
7522//
7523// Use "Send" method on the returned Request to send the API call to the service.
7524// the "output" return value is not valid until after Send returns without error.
7525//
7526// See ListGroupMemberships for more information on using the ListGroupMemberships
7527// API call, and error handling.
7528//
7529// This method is useful when you want to inject custom logic or configuration
7530// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7531//
7532//
7533//    // Example sending a request using the ListGroupMembershipsRequest method.
7534//    req, resp := client.ListGroupMembershipsRequest(params)
7535//
7536//    err := req.Send()
7537//    if err == nil { // resp is now filled
7538//        fmt.Println(resp)
7539//    }
7540//
7541// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroupMemberships
7542func (c *QuickSight) ListGroupMembershipsRequest(input *ListGroupMembershipsInput) (req *request.Request, output *ListGroupMembershipsOutput) {
7543	op := &request.Operation{
7544		Name:       opListGroupMemberships,
7545		HTTPMethod: "GET",
7546		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members",
7547	}
7548
7549	if input == nil {
7550		input = &ListGroupMembershipsInput{}
7551	}
7552
7553	output = &ListGroupMembershipsOutput{}
7554	req = c.newRequest(op, input, output)
7555	return
7556}
7557
7558// ListGroupMemberships API operation for Amazon QuickSight.
7559//
7560// Lists member users in a group.
7561//
7562// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7563// with awserr.Error's Code and Message methods to get detailed information about
7564// the error.
7565//
7566// See the AWS API reference guide for Amazon QuickSight's
7567// API operation ListGroupMemberships for usage and error information.
7568//
7569// Returned Error Types:
7570//   * AccessDeniedException
7571//   You don't have access to this item. The provided credentials couldn't be
7572//   validated. You might not be authorized to carry out the request. Make sure
7573//   that your account is authorized to use the Amazon QuickSight service, that
7574//   your policies have the correct permissions, and that you are using the correct
7575//   access keys.
7576//
7577//   * InvalidParameterValueException
7578//   One or more parameters has a value that isn't valid.
7579//
7580//   * ResourceNotFoundException
7581//   One or more resources can't be found.
7582//
7583//   * ThrottlingException
7584//   Access is throttled.
7585//
7586//   * InvalidNextTokenException
7587//   The NextToken value isn't valid.
7588//
7589//   * PreconditionNotMetException
7590//   One or more preconditions aren't met.
7591//
7592//   * InternalFailureException
7593//   An internal failure occurred.
7594//
7595//   * ResourceUnavailableException
7596//   This resource is currently unavailable.
7597//
7598// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroupMemberships
7599func (c *QuickSight) ListGroupMemberships(input *ListGroupMembershipsInput) (*ListGroupMembershipsOutput, error) {
7600	req, out := c.ListGroupMembershipsRequest(input)
7601	return out, req.Send()
7602}
7603
7604// ListGroupMembershipsWithContext is the same as ListGroupMemberships with the addition of
7605// the ability to pass a context and additional request options.
7606//
7607// See ListGroupMemberships for details on how to use this API operation.
7608//
7609// The context must be non-nil and will be used for request cancellation. If
7610// the context is nil a panic will occur. In the future the SDK may create
7611// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7612// for more information on using Contexts.
7613func (c *QuickSight) ListGroupMembershipsWithContext(ctx aws.Context, input *ListGroupMembershipsInput, opts ...request.Option) (*ListGroupMembershipsOutput, error) {
7614	req, out := c.ListGroupMembershipsRequest(input)
7615	req.SetContext(ctx)
7616	req.ApplyOptions(opts...)
7617	return out, req.Send()
7618}
7619
7620const opListGroups = "ListGroups"
7621
7622// ListGroupsRequest generates a "aws/request.Request" representing the
7623// client's request for the ListGroups operation. The "output" return
7624// value will be populated with the request's response once the request completes
7625// successfully.
7626//
7627// Use "Send" method on the returned Request to send the API call to the service.
7628// the "output" return value is not valid until after Send returns without error.
7629//
7630// See ListGroups for more information on using the ListGroups
7631// API call, and error handling.
7632//
7633// This method is useful when you want to inject custom logic or configuration
7634// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7635//
7636//
7637//    // Example sending a request using the ListGroupsRequest method.
7638//    req, resp := client.ListGroupsRequest(params)
7639//
7640//    err := req.Send()
7641//    if err == nil { // resp is now filled
7642//        fmt.Println(resp)
7643//    }
7644//
7645// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroups
7646func (c *QuickSight) ListGroupsRequest(input *ListGroupsInput) (req *request.Request, output *ListGroupsOutput) {
7647	op := &request.Operation{
7648		Name:       opListGroups,
7649		HTTPMethod: "GET",
7650		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups",
7651	}
7652
7653	if input == nil {
7654		input = &ListGroupsInput{}
7655	}
7656
7657	output = &ListGroupsOutput{}
7658	req = c.newRequest(op, input, output)
7659	return
7660}
7661
7662// ListGroups API operation for Amazon QuickSight.
7663//
7664// Lists all user groups in Amazon QuickSight.
7665//
7666// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7667// with awserr.Error's Code and Message methods to get detailed information about
7668// the error.
7669//
7670// See the AWS API reference guide for Amazon QuickSight's
7671// API operation ListGroups for usage and error information.
7672//
7673// Returned Error Types:
7674//   * AccessDeniedException
7675//   You don't have access to this item. The provided credentials couldn't be
7676//   validated. You might not be authorized to carry out the request. Make sure
7677//   that your account is authorized to use the Amazon QuickSight service, that
7678//   your policies have the correct permissions, and that you are using the correct
7679//   access keys.
7680//
7681//   * InvalidParameterValueException
7682//   One or more parameters has a value that isn't valid.
7683//
7684//   * ResourceNotFoundException
7685//   One or more resources can't be found.
7686//
7687//   * ThrottlingException
7688//   Access is throttled.
7689//
7690//   * InvalidNextTokenException
7691//   The NextToken value isn't valid.
7692//
7693//   * PreconditionNotMetException
7694//   One or more preconditions aren't met.
7695//
7696//   * InternalFailureException
7697//   An internal failure occurred.
7698//
7699//   * ResourceUnavailableException
7700//   This resource is currently unavailable.
7701//
7702// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroups
7703func (c *QuickSight) ListGroups(input *ListGroupsInput) (*ListGroupsOutput, error) {
7704	req, out := c.ListGroupsRequest(input)
7705	return out, req.Send()
7706}
7707
7708// ListGroupsWithContext is the same as ListGroups with the addition of
7709// the ability to pass a context and additional request options.
7710//
7711// See ListGroups for details on how to use this API operation.
7712//
7713// The context must be non-nil and will be used for request cancellation. If
7714// the context is nil a panic will occur. In the future the SDK may create
7715// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7716// for more information on using Contexts.
7717func (c *QuickSight) ListGroupsWithContext(ctx aws.Context, input *ListGroupsInput, opts ...request.Option) (*ListGroupsOutput, error) {
7718	req, out := c.ListGroupsRequest(input)
7719	req.SetContext(ctx)
7720	req.ApplyOptions(opts...)
7721	return out, req.Send()
7722}
7723
7724const opListIAMPolicyAssignments = "ListIAMPolicyAssignments"
7725
7726// ListIAMPolicyAssignmentsRequest generates a "aws/request.Request" representing the
7727// client's request for the ListIAMPolicyAssignments operation. The "output" return
7728// value will be populated with the request's response once the request completes
7729// successfully.
7730//
7731// Use "Send" method on the returned Request to send the API call to the service.
7732// the "output" return value is not valid until after Send returns without error.
7733//
7734// See ListIAMPolicyAssignments for more information on using the ListIAMPolicyAssignments
7735// API call, and error handling.
7736//
7737// This method is useful when you want to inject custom logic or configuration
7738// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7739//
7740//
7741//    // Example sending a request using the ListIAMPolicyAssignmentsRequest method.
7742//    req, resp := client.ListIAMPolicyAssignmentsRequest(params)
7743//
7744//    err := req.Send()
7745//    if err == nil { // resp is now filled
7746//        fmt.Println(resp)
7747//    }
7748//
7749// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignments
7750func (c *QuickSight) ListIAMPolicyAssignmentsRequest(input *ListIAMPolicyAssignmentsInput) (req *request.Request, output *ListIAMPolicyAssignmentsOutput) {
7751	op := &request.Operation{
7752		Name:       opListIAMPolicyAssignments,
7753		HTTPMethod: "GET",
7754		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments",
7755	}
7756
7757	if input == nil {
7758		input = &ListIAMPolicyAssignmentsInput{}
7759	}
7760
7761	output = &ListIAMPolicyAssignmentsOutput{}
7762	req = c.newRequest(op, input, output)
7763	return
7764}
7765
7766// ListIAMPolicyAssignments API operation for Amazon QuickSight.
7767//
7768// Lists IAMpolicy assignments in the current Amazon QuickSight account.
7769//
7770// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7771// with awserr.Error's Code and Message methods to get detailed information about
7772// the error.
7773//
7774// See the AWS API reference guide for Amazon QuickSight's
7775// API operation ListIAMPolicyAssignments for usage and error information.
7776//
7777// Returned Error Types:
7778//   * AccessDeniedException
7779//   You don't have access to this item. The provided credentials couldn't be
7780//   validated. You might not be authorized to carry out the request. Make sure
7781//   that your account is authorized to use the Amazon QuickSight service, that
7782//   your policies have the correct permissions, and that you are using the correct
7783//   access keys.
7784//
7785//   * InvalidParameterValueException
7786//   One or more parameters has a value that isn't valid.
7787//
7788//   * ResourceNotFoundException
7789//   One or more resources can't be found.
7790//
7791//   * ThrottlingException
7792//   Access is throttled.
7793//
7794//   * InvalidNextTokenException
7795//   The NextToken value isn't valid.
7796//
7797//   * InternalFailureException
7798//   An internal failure occurred.
7799//
7800// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignments
7801func (c *QuickSight) ListIAMPolicyAssignments(input *ListIAMPolicyAssignmentsInput) (*ListIAMPolicyAssignmentsOutput, error) {
7802	req, out := c.ListIAMPolicyAssignmentsRequest(input)
7803	return out, req.Send()
7804}
7805
7806// ListIAMPolicyAssignmentsWithContext is the same as ListIAMPolicyAssignments with the addition of
7807// the ability to pass a context and additional request options.
7808//
7809// See ListIAMPolicyAssignments for details on how to use this API operation.
7810//
7811// The context must be non-nil and will be used for request cancellation. If
7812// the context is nil a panic will occur. In the future the SDK may create
7813// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7814// for more information on using Contexts.
7815func (c *QuickSight) ListIAMPolicyAssignmentsWithContext(ctx aws.Context, input *ListIAMPolicyAssignmentsInput, opts ...request.Option) (*ListIAMPolicyAssignmentsOutput, error) {
7816	req, out := c.ListIAMPolicyAssignmentsRequest(input)
7817	req.SetContext(ctx)
7818	req.ApplyOptions(opts...)
7819	return out, req.Send()
7820}
7821
7822const opListIAMPolicyAssignmentsForUser = "ListIAMPolicyAssignmentsForUser"
7823
7824// ListIAMPolicyAssignmentsForUserRequest generates a "aws/request.Request" representing the
7825// client's request for the ListIAMPolicyAssignmentsForUser operation. The "output" return
7826// value will be populated with the request's response once the request completes
7827// successfully.
7828//
7829// Use "Send" method on the returned Request to send the API call to the service.
7830// the "output" return value is not valid until after Send returns without error.
7831//
7832// See ListIAMPolicyAssignmentsForUser for more information on using the ListIAMPolicyAssignmentsForUser
7833// API call, and error handling.
7834//
7835// This method is useful when you want to inject custom logic or configuration
7836// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7837//
7838//
7839//    // Example sending a request using the ListIAMPolicyAssignmentsForUserRequest method.
7840//    req, resp := client.ListIAMPolicyAssignmentsForUserRequest(params)
7841//
7842//    err := req.Send()
7843//    if err == nil { // resp is now filled
7844//        fmt.Println(resp)
7845//    }
7846//
7847// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignmentsForUser
7848func (c *QuickSight) ListIAMPolicyAssignmentsForUserRequest(input *ListIAMPolicyAssignmentsForUserInput) (req *request.Request, output *ListIAMPolicyAssignmentsForUserOutput) {
7849	op := &request.Operation{
7850		Name:       opListIAMPolicyAssignmentsForUser,
7851		HTTPMethod: "GET",
7852		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/iam-policy-assignments",
7853	}
7854
7855	if input == nil {
7856		input = &ListIAMPolicyAssignmentsForUserInput{}
7857	}
7858
7859	output = &ListIAMPolicyAssignmentsForUserOutput{}
7860	req = c.newRequest(op, input, output)
7861	return
7862}
7863
7864// ListIAMPolicyAssignmentsForUser API operation for Amazon QuickSight.
7865//
7866// Lists all the IAMpolicy assignments, including the Amazon Resource Names
7867// (ARNs) for the IAM policies assigned to the specified user and group or groups
7868// that the user belongs to.
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 ListIAMPolicyAssignmentsForUser for usage and error information.
7876//
7877// Returned Error Types:
7878//   * AccessDeniedException
7879//   You don't have access to this item. The provided credentials couldn't be
7880//   validated. You might not be authorized to carry out the request. Make sure
7881//   that your account is authorized to use the Amazon QuickSight service, that
7882//   your policies have the correct permissions, and that you are using the correct
7883//   access keys.
7884//
7885//   * InvalidParameterValueException
7886//   One or more parameters has a value that isn't valid.
7887//
7888//   * ResourceExistsException
7889//   The resource specified already exists.
7890//
7891//   * ResourceNotFoundException
7892//   One or more resources can't be found.
7893//
7894//   * ThrottlingException
7895//   Access is throttled.
7896//
7897//   * ConcurrentUpdatingException
7898//   A resource is already in a state that indicates an operation is happening
7899//   that must complete before a new update can be applied.
7900//
7901//   * InternalFailureException
7902//   An internal failure occurred.
7903//
7904// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignmentsForUser
7905func (c *QuickSight) ListIAMPolicyAssignmentsForUser(input *ListIAMPolicyAssignmentsForUserInput) (*ListIAMPolicyAssignmentsForUserOutput, error) {
7906	req, out := c.ListIAMPolicyAssignmentsForUserRequest(input)
7907	return out, req.Send()
7908}
7909
7910// ListIAMPolicyAssignmentsForUserWithContext is the same as ListIAMPolicyAssignmentsForUser with the addition of
7911// the ability to pass a context and additional request options.
7912//
7913// See ListIAMPolicyAssignmentsForUser for details on how to use this API operation.
7914//
7915// The context must be non-nil and will be used for request cancellation. If
7916// the context is nil a panic will occur. In the future the SDK may create
7917// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7918// for more information on using Contexts.
7919func (c *QuickSight) ListIAMPolicyAssignmentsForUserWithContext(ctx aws.Context, input *ListIAMPolicyAssignmentsForUserInput, opts ...request.Option) (*ListIAMPolicyAssignmentsForUserOutput, error) {
7920	req, out := c.ListIAMPolicyAssignmentsForUserRequest(input)
7921	req.SetContext(ctx)
7922	req.ApplyOptions(opts...)
7923	return out, req.Send()
7924}
7925
7926const opListIngestions = "ListIngestions"
7927
7928// ListIngestionsRequest generates a "aws/request.Request" representing the
7929// client's request for the ListIngestions operation. The "output" return
7930// value will be populated with the request's response once the request completes
7931// successfully.
7932//
7933// Use "Send" method on the returned Request to send the API call to the service.
7934// the "output" return value is not valid until after Send returns without error.
7935//
7936// See ListIngestions for more information on using the ListIngestions
7937// API call, and error handling.
7938//
7939// This method is useful when you want to inject custom logic or configuration
7940// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7941//
7942//
7943//    // Example sending a request using the ListIngestionsRequest method.
7944//    req, resp := client.ListIngestionsRequest(params)
7945//
7946//    err := req.Send()
7947//    if err == nil { // resp is now filled
7948//        fmt.Println(resp)
7949//    }
7950//
7951// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIngestions
7952func (c *QuickSight) ListIngestionsRequest(input *ListIngestionsInput) (req *request.Request, output *ListIngestionsOutput) {
7953	op := &request.Operation{
7954		Name:       opListIngestions,
7955		HTTPMethod: "GET",
7956		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions",
7957		Paginator: &request.Paginator{
7958			InputTokens:     []string{"NextToken"},
7959			OutputTokens:    []string{"NextToken"},
7960			LimitToken:      "MaxResults",
7961			TruncationToken: "",
7962		},
7963	}
7964
7965	if input == nil {
7966		input = &ListIngestionsInput{}
7967	}
7968
7969	output = &ListIngestionsOutput{}
7970	req = c.newRequest(op, input, output)
7971	return
7972}
7973
7974// ListIngestions API operation for Amazon QuickSight.
7975//
7976// Lists the history of SPICE ingestions for a dataset.
7977//
7978// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7979// with awserr.Error's Code and Message methods to get detailed information about
7980// the error.
7981//
7982// See the AWS API reference guide for Amazon QuickSight's
7983// API operation ListIngestions for usage and error information.
7984//
7985// Returned Error Types:
7986//   * AccessDeniedException
7987//   You don't have access to this item. The provided credentials couldn't be
7988//   validated. You might not be authorized to carry out the request. Make sure
7989//   that your account is authorized to use the Amazon QuickSight service, that
7990//   your policies have the correct permissions, and that you are using the correct
7991//   access keys.
7992//
7993//   * InvalidParameterValueException
7994//   One or more parameters has a value that isn't valid.
7995//
7996//   * ResourceNotFoundException
7997//   One or more resources can't be found.
7998//
7999//   * ThrottlingException
8000//   Access is throttled.
8001//
8002//   * ResourceExistsException
8003//   The resource specified already exists.
8004//
8005//   * InvalidNextTokenException
8006//   The NextToken value isn't valid.
8007//
8008//   * InternalFailureException
8009//   An internal failure occurred.
8010//
8011// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIngestions
8012func (c *QuickSight) ListIngestions(input *ListIngestionsInput) (*ListIngestionsOutput, error) {
8013	req, out := c.ListIngestionsRequest(input)
8014	return out, req.Send()
8015}
8016
8017// ListIngestionsWithContext is the same as ListIngestions with the addition of
8018// the ability to pass a context and additional request options.
8019//
8020// See ListIngestions for details on how to use this API operation.
8021//
8022// The context must be non-nil and will be used for request cancellation. If
8023// the context is nil a panic will occur. In the future the SDK may create
8024// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8025// for more information on using Contexts.
8026func (c *QuickSight) ListIngestionsWithContext(ctx aws.Context, input *ListIngestionsInput, opts ...request.Option) (*ListIngestionsOutput, error) {
8027	req, out := c.ListIngestionsRequest(input)
8028	req.SetContext(ctx)
8029	req.ApplyOptions(opts...)
8030	return out, req.Send()
8031}
8032
8033// ListIngestionsPages iterates over the pages of a ListIngestions operation,
8034// calling the "fn" function with the response data for each page. To stop
8035// iterating, return false from the fn function.
8036//
8037// See ListIngestions method for more information on how to use this operation.
8038//
8039// Note: This operation can generate multiple requests to a service.
8040//
8041//    // Example iterating over at most 3 pages of a ListIngestions operation.
8042//    pageNum := 0
8043//    err := client.ListIngestionsPages(params,
8044//        func(page *quicksight.ListIngestionsOutput, lastPage bool) bool {
8045//            pageNum++
8046//            fmt.Println(page)
8047//            return pageNum <= 3
8048//        })
8049//
8050func (c *QuickSight) ListIngestionsPages(input *ListIngestionsInput, fn func(*ListIngestionsOutput, bool) bool) error {
8051	return c.ListIngestionsPagesWithContext(aws.BackgroundContext(), input, fn)
8052}
8053
8054// ListIngestionsPagesWithContext same as ListIngestionsPages except
8055// it takes a Context and allows setting request options on the pages.
8056//
8057// The context must be non-nil and will be used for request cancellation. If
8058// the context is nil a panic will occur. In the future the SDK may create
8059// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8060// for more information on using Contexts.
8061func (c *QuickSight) ListIngestionsPagesWithContext(ctx aws.Context, input *ListIngestionsInput, fn func(*ListIngestionsOutput, bool) bool, opts ...request.Option) error {
8062	p := request.Pagination{
8063		NewRequest: func() (*request.Request, error) {
8064			var inCpy *ListIngestionsInput
8065			if input != nil {
8066				tmp := *input
8067				inCpy = &tmp
8068			}
8069			req, _ := c.ListIngestionsRequest(inCpy)
8070			req.SetContext(ctx)
8071			req.ApplyOptions(opts...)
8072			return req, nil
8073		},
8074	}
8075
8076	for p.Next() {
8077		if !fn(p.Page().(*ListIngestionsOutput), !p.HasNextPage()) {
8078			break
8079		}
8080	}
8081
8082	return p.Err()
8083}
8084
8085const opListNamespaces = "ListNamespaces"
8086
8087// ListNamespacesRequest generates a "aws/request.Request" representing the
8088// client's request for the ListNamespaces operation. The "output" return
8089// value will be populated with the request's response once the request completes
8090// successfully.
8091//
8092// Use "Send" method on the returned Request to send the API call to the service.
8093// the "output" return value is not valid until after Send returns without error.
8094//
8095// See ListNamespaces for more information on using the ListNamespaces
8096// API call, and error handling.
8097//
8098// This method is useful when you want to inject custom logic or configuration
8099// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8100//
8101//
8102//    // Example sending a request using the ListNamespacesRequest method.
8103//    req, resp := client.ListNamespacesRequest(params)
8104//
8105//    err := req.Send()
8106//    if err == nil { // resp is now filled
8107//        fmt.Println(resp)
8108//    }
8109//
8110// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListNamespaces
8111func (c *QuickSight) ListNamespacesRequest(input *ListNamespacesInput) (req *request.Request, output *ListNamespacesOutput) {
8112	op := &request.Operation{
8113		Name:       opListNamespaces,
8114		HTTPMethod: "GET",
8115		HTTPPath:   "/accounts/{AwsAccountId}/namespaces",
8116		Paginator: &request.Paginator{
8117			InputTokens:     []string{"NextToken"},
8118			OutputTokens:    []string{"NextToken"},
8119			LimitToken:      "MaxResults",
8120			TruncationToken: "",
8121		},
8122	}
8123
8124	if input == nil {
8125		input = &ListNamespacesInput{}
8126	}
8127
8128	output = &ListNamespacesOutput{}
8129	req = c.newRequest(op, input, output)
8130	return
8131}
8132
8133// ListNamespaces API operation for Amazon QuickSight.
8134//
8135// Lists the namespaces for the specified Amazon Web Services account.
8136//
8137// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8138// with awserr.Error's Code and Message methods to get detailed information about
8139// the error.
8140//
8141// See the AWS API reference guide for Amazon QuickSight's
8142// API operation ListNamespaces for usage and error information.
8143//
8144// Returned Error Types:
8145//   * AccessDeniedException
8146//   You don't have access to this item. The provided credentials couldn't be
8147//   validated. You might not be authorized to carry out the request. Make sure
8148//   that your account is authorized to use the Amazon QuickSight service, that
8149//   your policies have the correct permissions, and that you are using the correct
8150//   access keys.
8151//
8152//   * InvalidParameterValueException
8153//   One or more parameters has a value that isn't valid.
8154//
8155//   * ResourceNotFoundException
8156//   One or more resources can't be found.
8157//
8158//   * ThrottlingException
8159//   Access is throttled.
8160//
8161//   * InvalidNextTokenException
8162//   The NextToken value isn't valid.
8163//
8164//   * PreconditionNotMetException
8165//   One or more preconditions aren't met.
8166//
8167//   * InternalFailureException
8168//   An internal failure occurred.
8169//
8170//   * ResourceUnavailableException
8171//   This resource is currently unavailable.
8172//
8173// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListNamespaces
8174func (c *QuickSight) ListNamespaces(input *ListNamespacesInput) (*ListNamespacesOutput, error) {
8175	req, out := c.ListNamespacesRequest(input)
8176	return out, req.Send()
8177}
8178
8179// ListNamespacesWithContext is the same as ListNamespaces with the addition of
8180// the ability to pass a context and additional request options.
8181//
8182// See ListNamespaces for details on how to use this API operation.
8183//
8184// The context must be non-nil and will be used for request cancellation. If
8185// the context is nil a panic will occur. In the future the SDK may create
8186// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8187// for more information on using Contexts.
8188func (c *QuickSight) ListNamespacesWithContext(ctx aws.Context, input *ListNamespacesInput, opts ...request.Option) (*ListNamespacesOutput, error) {
8189	req, out := c.ListNamespacesRequest(input)
8190	req.SetContext(ctx)
8191	req.ApplyOptions(opts...)
8192	return out, req.Send()
8193}
8194
8195// ListNamespacesPages iterates over the pages of a ListNamespaces operation,
8196// calling the "fn" function with the response data for each page. To stop
8197// iterating, return false from the fn function.
8198//
8199// See ListNamespaces method for more information on how to use this operation.
8200//
8201// Note: This operation can generate multiple requests to a service.
8202//
8203//    // Example iterating over at most 3 pages of a ListNamespaces operation.
8204//    pageNum := 0
8205//    err := client.ListNamespacesPages(params,
8206//        func(page *quicksight.ListNamespacesOutput, lastPage bool) bool {
8207//            pageNum++
8208//            fmt.Println(page)
8209//            return pageNum <= 3
8210//        })
8211//
8212func (c *QuickSight) ListNamespacesPages(input *ListNamespacesInput, fn func(*ListNamespacesOutput, bool) bool) error {
8213	return c.ListNamespacesPagesWithContext(aws.BackgroundContext(), input, fn)
8214}
8215
8216// ListNamespacesPagesWithContext same as ListNamespacesPages except
8217// it takes a Context and allows setting request options on the pages.
8218//
8219// The context must be non-nil and will be used for request cancellation. If
8220// the context is nil a panic will occur. In the future the SDK may create
8221// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8222// for more information on using Contexts.
8223func (c *QuickSight) ListNamespacesPagesWithContext(ctx aws.Context, input *ListNamespacesInput, fn func(*ListNamespacesOutput, bool) bool, opts ...request.Option) error {
8224	p := request.Pagination{
8225		NewRequest: func() (*request.Request, error) {
8226			var inCpy *ListNamespacesInput
8227			if input != nil {
8228				tmp := *input
8229				inCpy = &tmp
8230			}
8231			req, _ := c.ListNamespacesRequest(inCpy)
8232			req.SetContext(ctx)
8233			req.ApplyOptions(opts...)
8234			return req, nil
8235		},
8236	}
8237
8238	for p.Next() {
8239		if !fn(p.Page().(*ListNamespacesOutput), !p.HasNextPage()) {
8240			break
8241		}
8242	}
8243
8244	return p.Err()
8245}
8246
8247const opListTagsForResource = "ListTagsForResource"
8248
8249// ListTagsForResourceRequest generates a "aws/request.Request" representing the
8250// client's request for the ListTagsForResource operation. The "output" return
8251// value will be populated with the request's response once the request completes
8252// successfully.
8253//
8254// Use "Send" method on the returned Request to send the API call to the service.
8255// the "output" return value is not valid until after Send returns without error.
8256//
8257// See ListTagsForResource for more information on using the ListTagsForResource
8258// API call, and error handling.
8259//
8260// This method is useful when you want to inject custom logic or configuration
8261// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8262//
8263//
8264//    // Example sending a request using the ListTagsForResourceRequest method.
8265//    req, resp := client.ListTagsForResourceRequest(params)
8266//
8267//    err := req.Send()
8268//    if err == nil { // resp is now filled
8269//        fmt.Println(resp)
8270//    }
8271//
8272// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTagsForResource
8273func (c *QuickSight) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
8274	op := &request.Operation{
8275		Name:       opListTagsForResource,
8276		HTTPMethod: "GET",
8277		HTTPPath:   "/resources/{ResourceArn}/tags",
8278	}
8279
8280	if input == nil {
8281		input = &ListTagsForResourceInput{}
8282	}
8283
8284	output = &ListTagsForResourceOutput{}
8285	req = c.newRequest(op, input, output)
8286	return
8287}
8288
8289// ListTagsForResource API operation for Amazon QuickSight.
8290//
8291// Lists the tags assigned to a resource.
8292//
8293// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8294// with awserr.Error's Code and Message methods to get detailed information about
8295// the error.
8296//
8297// See the AWS API reference guide for Amazon QuickSight's
8298// API operation ListTagsForResource for usage and error information.
8299//
8300// Returned Error Types:
8301//   * AccessDeniedException
8302//   You don't have access to this item. The provided credentials couldn't be
8303//   validated. You might not be authorized to carry out the request. Make sure
8304//   that your account is authorized to use the Amazon QuickSight service, that
8305//   your policies have the correct permissions, and that you are using the correct
8306//   access keys.
8307//
8308//   * InvalidParameterValueException
8309//   One or more parameters has a value that isn't valid.
8310//
8311//   * ResourceNotFoundException
8312//   One or more resources can't be found.
8313//
8314//   * ThrottlingException
8315//   Access is throttled.
8316//
8317//   * InternalFailureException
8318//   An internal failure occurred.
8319//
8320// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTagsForResource
8321func (c *QuickSight) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
8322	req, out := c.ListTagsForResourceRequest(input)
8323	return out, req.Send()
8324}
8325
8326// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
8327// the ability to pass a context and additional request options.
8328//
8329// See ListTagsForResource for details on how to use this API operation.
8330//
8331// The context must be non-nil and will be used for request cancellation. If
8332// the context is nil a panic will occur. In the future the SDK may create
8333// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8334// for more information on using Contexts.
8335func (c *QuickSight) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
8336	req, out := c.ListTagsForResourceRequest(input)
8337	req.SetContext(ctx)
8338	req.ApplyOptions(opts...)
8339	return out, req.Send()
8340}
8341
8342const opListTemplateAliases = "ListTemplateAliases"
8343
8344// ListTemplateAliasesRequest generates a "aws/request.Request" representing the
8345// client's request for the ListTemplateAliases operation. The "output" return
8346// value will be populated with the request's response once the request completes
8347// successfully.
8348//
8349// Use "Send" method on the returned Request to send the API call to the service.
8350// the "output" return value is not valid until after Send returns without error.
8351//
8352// See ListTemplateAliases for more information on using the ListTemplateAliases
8353// API call, and error handling.
8354//
8355// This method is useful when you want to inject custom logic or configuration
8356// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8357//
8358//
8359//    // Example sending a request using the ListTemplateAliasesRequest method.
8360//    req, resp := client.ListTemplateAliasesRequest(params)
8361//
8362//    err := req.Send()
8363//    if err == nil { // resp is now filled
8364//        fmt.Println(resp)
8365//    }
8366//
8367// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateAliases
8368func (c *QuickSight) ListTemplateAliasesRequest(input *ListTemplateAliasesInput) (req *request.Request, output *ListTemplateAliasesOutput) {
8369	op := &request.Operation{
8370		Name:       opListTemplateAliases,
8371		HTTPMethod: "GET",
8372		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases",
8373		Paginator: &request.Paginator{
8374			InputTokens:     []string{"NextToken"},
8375			OutputTokens:    []string{"NextToken"},
8376			LimitToken:      "MaxResults",
8377			TruncationToken: "",
8378		},
8379	}
8380
8381	if input == nil {
8382		input = &ListTemplateAliasesInput{}
8383	}
8384
8385	output = &ListTemplateAliasesOutput{}
8386	req = c.newRequest(op, input, output)
8387	return
8388}
8389
8390// ListTemplateAliases API operation for Amazon QuickSight.
8391//
8392// Lists all the aliases of a template.
8393//
8394// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8395// with awserr.Error's Code and Message methods to get detailed information about
8396// the error.
8397//
8398// See the AWS API reference guide for Amazon QuickSight's
8399// API operation ListTemplateAliases for usage and error information.
8400//
8401// Returned Error Types:
8402//   * InvalidNextTokenException
8403//   The NextToken value isn't valid.
8404//
8405//   * ThrottlingException
8406//   Access is throttled.
8407//
8408//   * ResourceNotFoundException
8409//   One or more resources can't be found.
8410//
8411//   * UnsupportedUserEditionException
8412//   This error indicates that you are calling an operation on an Amazon QuickSight
8413//   subscription where the edition doesn't include support for that operation.
8414//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
8415//   Not every operation and capability is available in every edition.
8416//
8417//   * InternalFailureException
8418//   An internal failure occurred.
8419//
8420// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateAliases
8421func (c *QuickSight) ListTemplateAliases(input *ListTemplateAliasesInput) (*ListTemplateAliasesOutput, error) {
8422	req, out := c.ListTemplateAliasesRequest(input)
8423	return out, req.Send()
8424}
8425
8426// ListTemplateAliasesWithContext is the same as ListTemplateAliases with the addition of
8427// the ability to pass a context and additional request options.
8428//
8429// See ListTemplateAliases for details on how to use this API operation.
8430//
8431// The context must be non-nil and will be used for request cancellation. If
8432// the context is nil a panic will occur. In the future the SDK may create
8433// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8434// for more information on using Contexts.
8435func (c *QuickSight) ListTemplateAliasesWithContext(ctx aws.Context, input *ListTemplateAliasesInput, opts ...request.Option) (*ListTemplateAliasesOutput, error) {
8436	req, out := c.ListTemplateAliasesRequest(input)
8437	req.SetContext(ctx)
8438	req.ApplyOptions(opts...)
8439	return out, req.Send()
8440}
8441
8442// ListTemplateAliasesPages iterates over the pages of a ListTemplateAliases operation,
8443// calling the "fn" function with the response data for each page. To stop
8444// iterating, return false from the fn function.
8445//
8446// See ListTemplateAliases method for more information on how to use this operation.
8447//
8448// Note: This operation can generate multiple requests to a service.
8449//
8450//    // Example iterating over at most 3 pages of a ListTemplateAliases operation.
8451//    pageNum := 0
8452//    err := client.ListTemplateAliasesPages(params,
8453//        func(page *quicksight.ListTemplateAliasesOutput, lastPage bool) bool {
8454//            pageNum++
8455//            fmt.Println(page)
8456//            return pageNum <= 3
8457//        })
8458//
8459func (c *QuickSight) ListTemplateAliasesPages(input *ListTemplateAliasesInput, fn func(*ListTemplateAliasesOutput, bool) bool) error {
8460	return c.ListTemplateAliasesPagesWithContext(aws.BackgroundContext(), input, fn)
8461}
8462
8463// ListTemplateAliasesPagesWithContext same as ListTemplateAliasesPages except
8464// it takes a Context and allows setting request options on the pages.
8465//
8466// The context must be non-nil and will be used for request cancellation. If
8467// the context is nil a panic will occur. In the future the SDK may create
8468// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8469// for more information on using Contexts.
8470func (c *QuickSight) ListTemplateAliasesPagesWithContext(ctx aws.Context, input *ListTemplateAliasesInput, fn func(*ListTemplateAliasesOutput, bool) bool, opts ...request.Option) error {
8471	p := request.Pagination{
8472		NewRequest: func() (*request.Request, error) {
8473			var inCpy *ListTemplateAliasesInput
8474			if input != nil {
8475				tmp := *input
8476				inCpy = &tmp
8477			}
8478			req, _ := c.ListTemplateAliasesRequest(inCpy)
8479			req.SetContext(ctx)
8480			req.ApplyOptions(opts...)
8481			return req, nil
8482		},
8483	}
8484
8485	for p.Next() {
8486		if !fn(p.Page().(*ListTemplateAliasesOutput), !p.HasNextPage()) {
8487			break
8488		}
8489	}
8490
8491	return p.Err()
8492}
8493
8494const opListTemplateVersions = "ListTemplateVersions"
8495
8496// ListTemplateVersionsRequest generates a "aws/request.Request" representing the
8497// client's request for the ListTemplateVersions operation. The "output" return
8498// value will be populated with the request's response once the request completes
8499// successfully.
8500//
8501// Use "Send" method on the returned Request to send the API call to the service.
8502// the "output" return value is not valid until after Send returns without error.
8503//
8504// See ListTemplateVersions for more information on using the ListTemplateVersions
8505// API call, and error handling.
8506//
8507// This method is useful when you want to inject custom logic or configuration
8508// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8509//
8510//
8511//    // Example sending a request using the ListTemplateVersionsRequest method.
8512//    req, resp := client.ListTemplateVersionsRequest(params)
8513//
8514//    err := req.Send()
8515//    if err == nil { // resp is now filled
8516//        fmt.Println(resp)
8517//    }
8518//
8519// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateVersions
8520func (c *QuickSight) ListTemplateVersionsRequest(input *ListTemplateVersionsInput) (req *request.Request, output *ListTemplateVersionsOutput) {
8521	op := &request.Operation{
8522		Name:       opListTemplateVersions,
8523		HTTPMethod: "GET",
8524		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/versions",
8525		Paginator: &request.Paginator{
8526			InputTokens:     []string{"NextToken"},
8527			OutputTokens:    []string{"NextToken"},
8528			LimitToken:      "MaxResults",
8529			TruncationToken: "",
8530		},
8531	}
8532
8533	if input == nil {
8534		input = &ListTemplateVersionsInput{}
8535	}
8536
8537	output = &ListTemplateVersionsOutput{}
8538	req = c.newRequest(op, input, output)
8539	return
8540}
8541
8542// ListTemplateVersions API operation for Amazon QuickSight.
8543//
8544// Lists all the versions of the templates in the current Amazon QuickSight
8545// account.
8546//
8547// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8548// with awserr.Error's Code and Message methods to get detailed information about
8549// the error.
8550//
8551// See the AWS API reference guide for Amazon QuickSight's
8552// API operation ListTemplateVersions for usage and error information.
8553//
8554// Returned Error Types:
8555//   * ThrottlingException
8556//   Access is throttled.
8557//
8558//   * InvalidParameterValueException
8559//   One or more parameters has a value that isn't valid.
8560//
8561//   * ResourceNotFoundException
8562//   One or more resources can't be found.
8563//
8564//   * InvalidNextTokenException
8565//   The NextToken value isn't valid.
8566//
8567//   * UnsupportedUserEditionException
8568//   This error indicates that you are calling an operation on an Amazon QuickSight
8569//   subscription where the edition doesn't include support for that operation.
8570//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
8571//   Not every operation and capability is available in every edition.
8572//
8573//   * InternalFailureException
8574//   An internal failure occurred.
8575//
8576// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateVersions
8577func (c *QuickSight) ListTemplateVersions(input *ListTemplateVersionsInput) (*ListTemplateVersionsOutput, error) {
8578	req, out := c.ListTemplateVersionsRequest(input)
8579	return out, req.Send()
8580}
8581
8582// ListTemplateVersionsWithContext is the same as ListTemplateVersions with the addition of
8583// the ability to pass a context and additional request options.
8584//
8585// See ListTemplateVersions for details on how to use this API operation.
8586//
8587// The context must be non-nil and will be used for request cancellation. If
8588// the context is nil a panic will occur. In the future the SDK may create
8589// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8590// for more information on using Contexts.
8591func (c *QuickSight) ListTemplateVersionsWithContext(ctx aws.Context, input *ListTemplateVersionsInput, opts ...request.Option) (*ListTemplateVersionsOutput, error) {
8592	req, out := c.ListTemplateVersionsRequest(input)
8593	req.SetContext(ctx)
8594	req.ApplyOptions(opts...)
8595	return out, req.Send()
8596}
8597
8598// ListTemplateVersionsPages iterates over the pages of a ListTemplateVersions operation,
8599// calling the "fn" function with the response data for each page. To stop
8600// iterating, return false from the fn function.
8601//
8602// See ListTemplateVersions method for more information on how to use this operation.
8603//
8604// Note: This operation can generate multiple requests to a service.
8605//
8606//    // Example iterating over at most 3 pages of a ListTemplateVersions operation.
8607//    pageNum := 0
8608//    err := client.ListTemplateVersionsPages(params,
8609//        func(page *quicksight.ListTemplateVersionsOutput, lastPage bool) bool {
8610//            pageNum++
8611//            fmt.Println(page)
8612//            return pageNum <= 3
8613//        })
8614//
8615func (c *QuickSight) ListTemplateVersionsPages(input *ListTemplateVersionsInput, fn func(*ListTemplateVersionsOutput, bool) bool) error {
8616	return c.ListTemplateVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
8617}
8618
8619// ListTemplateVersionsPagesWithContext same as ListTemplateVersionsPages except
8620// it takes a Context and allows setting request options on the pages.
8621//
8622// The context must be non-nil and will be used for request cancellation. If
8623// the context is nil a panic will occur. In the future the SDK may create
8624// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8625// for more information on using Contexts.
8626func (c *QuickSight) ListTemplateVersionsPagesWithContext(ctx aws.Context, input *ListTemplateVersionsInput, fn func(*ListTemplateVersionsOutput, bool) bool, opts ...request.Option) error {
8627	p := request.Pagination{
8628		NewRequest: func() (*request.Request, error) {
8629			var inCpy *ListTemplateVersionsInput
8630			if input != nil {
8631				tmp := *input
8632				inCpy = &tmp
8633			}
8634			req, _ := c.ListTemplateVersionsRequest(inCpy)
8635			req.SetContext(ctx)
8636			req.ApplyOptions(opts...)
8637			return req, nil
8638		},
8639	}
8640
8641	for p.Next() {
8642		if !fn(p.Page().(*ListTemplateVersionsOutput), !p.HasNextPage()) {
8643			break
8644		}
8645	}
8646
8647	return p.Err()
8648}
8649
8650const opListTemplates = "ListTemplates"
8651
8652// ListTemplatesRequest generates a "aws/request.Request" representing the
8653// client's request for the ListTemplates operation. The "output" return
8654// value will be populated with the request's response once the request completes
8655// successfully.
8656//
8657// Use "Send" method on the returned Request to send the API call to the service.
8658// the "output" return value is not valid until after Send returns without error.
8659//
8660// See ListTemplates for more information on using the ListTemplates
8661// API call, and error handling.
8662//
8663// This method is useful when you want to inject custom logic or configuration
8664// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8665//
8666//
8667//    // Example sending a request using the ListTemplatesRequest method.
8668//    req, resp := client.ListTemplatesRequest(params)
8669//
8670//    err := req.Send()
8671//    if err == nil { // resp is now filled
8672//        fmt.Println(resp)
8673//    }
8674//
8675// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplates
8676func (c *QuickSight) ListTemplatesRequest(input *ListTemplatesInput) (req *request.Request, output *ListTemplatesOutput) {
8677	op := &request.Operation{
8678		Name:       opListTemplates,
8679		HTTPMethod: "GET",
8680		HTTPPath:   "/accounts/{AwsAccountId}/templates",
8681		Paginator: &request.Paginator{
8682			InputTokens:     []string{"NextToken"},
8683			OutputTokens:    []string{"NextToken"},
8684			LimitToken:      "MaxResults",
8685			TruncationToken: "",
8686		},
8687	}
8688
8689	if input == nil {
8690		input = &ListTemplatesInput{}
8691	}
8692
8693	output = &ListTemplatesOutput{}
8694	req = c.newRequest(op, input, output)
8695	return
8696}
8697
8698// ListTemplates API operation for Amazon QuickSight.
8699//
8700// Lists all the templates in the current Amazon QuickSight account.
8701//
8702// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8703// with awserr.Error's Code and Message methods to get detailed information about
8704// the error.
8705//
8706// See the AWS API reference guide for Amazon QuickSight's
8707// API operation ListTemplates for usage and error information.
8708//
8709// Returned Error Types:
8710//   * ThrottlingException
8711//   Access is throttled.
8712//
8713//   * InvalidParameterValueException
8714//   One or more parameters has a value that isn't valid.
8715//
8716//   * ResourceNotFoundException
8717//   One or more resources can't be found.
8718//
8719//   * InvalidNextTokenException
8720//   The NextToken value isn't valid.
8721//
8722//   * UnsupportedUserEditionException
8723//   This error indicates that you are calling an operation on an Amazon QuickSight
8724//   subscription where the edition doesn't include support for that operation.
8725//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
8726//   Not every operation and capability is available in every edition.
8727//
8728//   * InternalFailureException
8729//   An internal failure occurred.
8730//
8731// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplates
8732func (c *QuickSight) ListTemplates(input *ListTemplatesInput) (*ListTemplatesOutput, error) {
8733	req, out := c.ListTemplatesRequest(input)
8734	return out, req.Send()
8735}
8736
8737// ListTemplatesWithContext is the same as ListTemplates with the addition of
8738// the ability to pass a context and additional request options.
8739//
8740// See ListTemplates for details on how to use this API operation.
8741//
8742// The context must be non-nil and will be used for request cancellation. If
8743// the context is nil a panic will occur. In the future the SDK may create
8744// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8745// for more information on using Contexts.
8746func (c *QuickSight) ListTemplatesWithContext(ctx aws.Context, input *ListTemplatesInput, opts ...request.Option) (*ListTemplatesOutput, error) {
8747	req, out := c.ListTemplatesRequest(input)
8748	req.SetContext(ctx)
8749	req.ApplyOptions(opts...)
8750	return out, req.Send()
8751}
8752
8753// ListTemplatesPages iterates over the pages of a ListTemplates operation,
8754// calling the "fn" function with the response data for each page. To stop
8755// iterating, return false from the fn function.
8756//
8757// See ListTemplates method for more information on how to use this operation.
8758//
8759// Note: This operation can generate multiple requests to a service.
8760//
8761//    // Example iterating over at most 3 pages of a ListTemplates operation.
8762//    pageNum := 0
8763//    err := client.ListTemplatesPages(params,
8764//        func(page *quicksight.ListTemplatesOutput, lastPage bool) bool {
8765//            pageNum++
8766//            fmt.Println(page)
8767//            return pageNum <= 3
8768//        })
8769//
8770func (c *QuickSight) ListTemplatesPages(input *ListTemplatesInput, fn func(*ListTemplatesOutput, bool) bool) error {
8771	return c.ListTemplatesPagesWithContext(aws.BackgroundContext(), input, fn)
8772}
8773
8774// ListTemplatesPagesWithContext same as ListTemplatesPages except
8775// it takes a Context and allows setting request options on the pages.
8776//
8777// The context must be non-nil and will be used for request cancellation. If
8778// the context is nil a panic will occur. In the future the SDK may create
8779// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8780// for more information on using Contexts.
8781func (c *QuickSight) ListTemplatesPagesWithContext(ctx aws.Context, input *ListTemplatesInput, fn func(*ListTemplatesOutput, bool) bool, opts ...request.Option) error {
8782	p := request.Pagination{
8783		NewRequest: func() (*request.Request, error) {
8784			var inCpy *ListTemplatesInput
8785			if input != nil {
8786				tmp := *input
8787				inCpy = &tmp
8788			}
8789			req, _ := c.ListTemplatesRequest(inCpy)
8790			req.SetContext(ctx)
8791			req.ApplyOptions(opts...)
8792			return req, nil
8793		},
8794	}
8795
8796	for p.Next() {
8797		if !fn(p.Page().(*ListTemplatesOutput), !p.HasNextPage()) {
8798			break
8799		}
8800	}
8801
8802	return p.Err()
8803}
8804
8805const opListThemeAliases = "ListThemeAliases"
8806
8807// ListThemeAliasesRequest generates a "aws/request.Request" representing the
8808// client's request for the ListThemeAliases operation. The "output" return
8809// value will be populated with the request's response once the request completes
8810// successfully.
8811//
8812// Use "Send" method on the returned Request to send the API call to the service.
8813// the "output" return value is not valid until after Send returns without error.
8814//
8815// See ListThemeAliases for more information on using the ListThemeAliases
8816// API call, and error handling.
8817//
8818// This method is useful when you want to inject custom logic or configuration
8819// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8820//
8821//
8822//    // Example sending a request using the ListThemeAliasesRequest method.
8823//    req, resp := client.ListThemeAliasesRequest(params)
8824//
8825//    err := req.Send()
8826//    if err == nil { // resp is now filled
8827//        fmt.Println(resp)
8828//    }
8829//
8830// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeAliases
8831func (c *QuickSight) ListThemeAliasesRequest(input *ListThemeAliasesInput) (req *request.Request, output *ListThemeAliasesOutput) {
8832	op := &request.Operation{
8833		Name:       opListThemeAliases,
8834		HTTPMethod: "GET",
8835		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases",
8836	}
8837
8838	if input == nil {
8839		input = &ListThemeAliasesInput{}
8840	}
8841
8842	output = &ListThemeAliasesOutput{}
8843	req = c.newRequest(op, input, output)
8844	return
8845}
8846
8847// ListThemeAliases API operation for Amazon QuickSight.
8848//
8849// Lists all the aliases of a theme.
8850//
8851// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8852// with awserr.Error's Code and Message methods to get detailed information about
8853// the error.
8854//
8855// See the AWS API reference guide for Amazon QuickSight's
8856// API operation ListThemeAliases for usage and error information.
8857//
8858// Returned Error Types:
8859//   * ConflictException
8860//   Updating or deleting a resource can cause an inconsistent state.
8861//
8862//   * InvalidNextTokenException
8863//   The NextToken value isn't valid.
8864//
8865//   * InvalidParameterValueException
8866//   One or more parameters has a value that isn't valid.
8867//
8868//   * ResourceNotFoundException
8869//   One or more resources can't be found.
8870//
8871//   * ThrottlingException
8872//   Access is throttled.
8873//
8874//   * UnsupportedUserEditionException
8875//   This error indicates that you are calling an operation on an Amazon QuickSight
8876//   subscription where the edition doesn't include support for that operation.
8877//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
8878//   Not every operation and capability is available in every edition.
8879//
8880//   * InternalFailureException
8881//   An internal failure occurred.
8882//
8883// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeAliases
8884func (c *QuickSight) ListThemeAliases(input *ListThemeAliasesInput) (*ListThemeAliasesOutput, error) {
8885	req, out := c.ListThemeAliasesRequest(input)
8886	return out, req.Send()
8887}
8888
8889// ListThemeAliasesWithContext is the same as ListThemeAliases with the addition of
8890// the ability to pass a context and additional request options.
8891//
8892// See ListThemeAliases for details on how to use this API operation.
8893//
8894// The context must be non-nil and will be used for request cancellation. If
8895// the context is nil a panic will occur. In the future the SDK may create
8896// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8897// for more information on using Contexts.
8898func (c *QuickSight) ListThemeAliasesWithContext(ctx aws.Context, input *ListThemeAliasesInput, opts ...request.Option) (*ListThemeAliasesOutput, error) {
8899	req, out := c.ListThemeAliasesRequest(input)
8900	req.SetContext(ctx)
8901	req.ApplyOptions(opts...)
8902	return out, req.Send()
8903}
8904
8905const opListThemeVersions = "ListThemeVersions"
8906
8907// ListThemeVersionsRequest generates a "aws/request.Request" representing the
8908// client's request for the ListThemeVersions operation. The "output" return
8909// value will be populated with the request's response once the request completes
8910// successfully.
8911//
8912// Use "Send" method on the returned Request to send the API call to the service.
8913// the "output" return value is not valid until after Send returns without error.
8914//
8915// See ListThemeVersions for more information on using the ListThemeVersions
8916// API call, and error handling.
8917//
8918// This method is useful when you want to inject custom logic or configuration
8919// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8920//
8921//
8922//    // Example sending a request using the ListThemeVersionsRequest method.
8923//    req, resp := client.ListThemeVersionsRequest(params)
8924//
8925//    err := req.Send()
8926//    if err == nil { // resp is now filled
8927//        fmt.Println(resp)
8928//    }
8929//
8930// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeVersions
8931func (c *QuickSight) ListThemeVersionsRequest(input *ListThemeVersionsInput) (req *request.Request, output *ListThemeVersionsOutput) {
8932	op := &request.Operation{
8933		Name:       opListThemeVersions,
8934		HTTPMethod: "GET",
8935		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/versions",
8936		Paginator: &request.Paginator{
8937			InputTokens:     []string{"NextToken"},
8938			OutputTokens:    []string{"NextToken"},
8939			LimitToken:      "MaxResults",
8940			TruncationToken: "",
8941		},
8942	}
8943
8944	if input == nil {
8945		input = &ListThemeVersionsInput{}
8946	}
8947
8948	output = &ListThemeVersionsOutput{}
8949	req = c.newRequest(op, input, output)
8950	return
8951}
8952
8953// ListThemeVersions API operation for Amazon QuickSight.
8954//
8955// Lists all the versions of the themes in the current Amazon Web Services account.
8956//
8957// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8958// with awserr.Error's Code and Message methods to get detailed information about
8959// the error.
8960//
8961// See the AWS API reference guide for Amazon QuickSight's
8962// API operation ListThemeVersions for usage and error information.
8963//
8964// Returned Error Types:
8965//   * AccessDeniedException
8966//   You don't have access to this item. The provided credentials couldn't be
8967//   validated. You might not be authorized to carry out the request. Make sure
8968//   that your account is authorized to use the Amazon QuickSight service, that
8969//   your policies have the correct permissions, and that you are using the correct
8970//   access keys.
8971//
8972//   * InvalidNextTokenException
8973//   The NextToken value isn't valid.
8974//
8975//   * InvalidParameterValueException
8976//   One or more parameters has a value that isn't valid.
8977//
8978//   * ResourceNotFoundException
8979//   One or more resources can't be found.
8980//
8981//   * ThrottlingException
8982//   Access is throttled.
8983//
8984//   * UnsupportedUserEditionException
8985//   This error indicates that you are calling an operation on an Amazon QuickSight
8986//   subscription where the edition doesn't include support for that operation.
8987//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
8988//   Not every operation and capability is available in every edition.
8989//
8990//   * InternalFailureException
8991//   An internal failure occurred.
8992//
8993// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeVersions
8994func (c *QuickSight) ListThemeVersions(input *ListThemeVersionsInput) (*ListThemeVersionsOutput, error) {
8995	req, out := c.ListThemeVersionsRequest(input)
8996	return out, req.Send()
8997}
8998
8999// ListThemeVersionsWithContext is the same as ListThemeVersions with the addition of
9000// the ability to pass a context and additional request options.
9001//
9002// See ListThemeVersions for details on how to use this API operation.
9003//
9004// The context must be non-nil and will be used for request cancellation. If
9005// the context is nil a panic will occur. In the future the SDK may create
9006// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9007// for more information on using Contexts.
9008func (c *QuickSight) ListThemeVersionsWithContext(ctx aws.Context, input *ListThemeVersionsInput, opts ...request.Option) (*ListThemeVersionsOutput, error) {
9009	req, out := c.ListThemeVersionsRequest(input)
9010	req.SetContext(ctx)
9011	req.ApplyOptions(opts...)
9012	return out, req.Send()
9013}
9014
9015// ListThemeVersionsPages iterates over the pages of a ListThemeVersions operation,
9016// calling the "fn" function with the response data for each page. To stop
9017// iterating, return false from the fn function.
9018//
9019// See ListThemeVersions method for more information on how to use this operation.
9020//
9021// Note: This operation can generate multiple requests to a service.
9022//
9023//    // Example iterating over at most 3 pages of a ListThemeVersions operation.
9024//    pageNum := 0
9025//    err := client.ListThemeVersionsPages(params,
9026//        func(page *quicksight.ListThemeVersionsOutput, lastPage bool) bool {
9027//            pageNum++
9028//            fmt.Println(page)
9029//            return pageNum <= 3
9030//        })
9031//
9032func (c *QuickSight) ListThemeVersionsPages(input *ListThemeVersionsInput, fn func(*ListThemeVersionsOutput, bool) bool) error {
9033	return c.ListThemeVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
9034}
9035
9036// ListThemeVersionsPagesWithContext same as ListThemeVersionsPages except
9037// it takes a Context and allows setting request options on the pages.
9038//
9039// The context must be non-nil and will be used for request cancellation. If
9040// the context is nil a panic will occur. In the future the SDK may create
9041// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9042// for more information on using Contexts.
9043func (c *QuickSight) ListThemeVersionsPagesWithContext(ctx aws.Context, input *ListThemeVersionsInput, fn func(*ListThemeVersionsOutput, bool) bool, opts ...request.Option) error {
9044	p := request.Pagination{
9045		NewRequest: func() (*request.Request, error) {
9046			var inCpy *ListThemeVersionsInput
9047			if input != nil {
9048				tmp := *input
9049				inCpy = &tmp
9050			}
9051			req, _ := c.ListThemeVersionsRequest(inCpy)
9052			req.SetContext(ctx)
9053			req.ApplyOptions(opts...)
9054			return req, nil
9055		},
9056	}
9057
9058	for p.Next() {
9059		if !fn(p.Page().(*ListThemeVersionsOutput), !p.HasNextPage()) {
9060			break
9061		}
9062	}
9063
9064	return p.Err()
9065}
9066
9067const opListThemes = "ListThemes"
9068
9069// ListThemesRequest generates a "aws/request.Request" representing the
9070// client's request for the ListThemes operation. The "output" return
9071// value will be populated with the request's response once the request completes
9072// successfully.
9073//
9074// Use "Send" method on the returned Request to send the API call to the service.
9075// the "output" return value is not valid until after Send returns without error.
9076//
9077// See ListThemes for more information on using the ListThemes
9078// API call, and error handling.
9079//
9080// This method is useful when you want to inject custom logic or configuration
9081// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9082//
9083//
9084//    // Example sending a request using the ListThemesRequest method.
9085//    req, resp := client.ListThemesRequest(params)
9086//
9087//    err := req.Send()
9088//    if err == nil { // resp is now filled
9089//        fmt.Println(resp)
9090//    }
9091//
9092// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemes
9093func (c *QuickSight) ListThemesRequest(input *ListThemesInput) (req *request.Request, output *ListThemesOutput) {
9094	op := &request.Operation{
9095		Name:       opListThemes,
9096		HTTPMethod: "GET",
9097		HTTPPath:   "/accounts/{AwsAccountId}/themes",
9098		Paginator: &request.Paginator{
9099			InputTokens:     []string{"NextToken"},
9100			OutputTokens:    []string{"NextToken"},
9101			LimitToken:      "MaxResults",
9102			TruncationToken: "",
9103		},
9104	}
9105
9106	if input == nil {
9107		input = &ListThemesInput{}
9108	}
9109
9110	output = &ListThemesOutput{}
9111	req = c.newRequest(op, input, output)
9112	return
9113}
9114
9115// ListThemes API operation for Amazon QuickSight.
9116//
9117// Lists all the themes in the current Amazon Web Services account.
9118//
9119// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9120// with awserr.Error's Code and Message methods to get detailed information about
9121// the error.
9122//
9123// See the AWS API reference guide for Amazon QuickSight's
9124// API operation ListThemes for usage and error information.
9125//
9126// Returned Error Types:
9127//   * AccessDeniedException
9128//   You don't have access to this item. The provided credentials couldn't be
9129//   validated. You might not be authorized to carry out the request. Make sure
9130//   that your account is authorized to use the Amazon QuickSight service, that
9131//   your policies have the correct permissions, and that you are using the correct
9132//   access keys.
9133//
9134//   * InvalidParameterValueException
9135//   One or more parameters has a value that isn't valid.
9136//
9137//   * InvalidNextTokenException
9138//   The NextToken value isn't valid.
9139//
9140//   * ResourceNotFoundException
9141//   One or more resources can't be found.
9142//
9143//   * ThrottlingException
9144//   Access is throttled.
9145//
9146//   * UnsupportedUserEditionException
9147//   This error indicates that you are calling an operation on an Amazon QuickSight
9148//   subscription where the edition doesn't include support for that operation.
9149//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
9150//   Not every operation and capability is available in every edition.
9151//
9152//   * InternalFailureException
9153//   An internal failure occurred.
9154//
9155// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemes
9156func (c *QuickSight) ListThemes(input *ListThemesInput) (*ListThemesOutput, error) {
9157	req, out := c.ListThemesRequest(input)
9158	return out, req.Send()
9159}
9160
9161// ListThemesWithContext is the same as ListThemes with the addition of
9162// the ability to pass a context and additional request options.
9163//
9164// See ListThemes for details on how to use this API operation.
9165//
9166// The context must be non-nil and will be used for request cancellation. If
9167// the context is nil a panic will occur. In the future the SDK may create
9168// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9169// for more information on using Contexts.
9170func (c *QuickSight) ListThemesWithContext(ctx aws.Context, input *ListThemesInput, opts ...request.Option) (*ListThemesOutput, error) {
9171	req, out := c.ListThemesRequest(input)
9172	req.SetContext(ctx)
9173	req.ApplyOptions(opts...)
9174	return out, req.Send()
9175}
9176
9177// ListThemesPages iterates over the pages of a ListThemes operation,
9178// calling the "fn" function with the response data for each page. To stop
9179// iterating, return false from the fn function.
9180//
9181// See ListThemes method for more information on how to use this operation.
9182//
9183// Note: This operation can generate multiple requests to a service.
9184//
9185//    // Example iterating over at most 3 pages of a ListThemes operation.
9186//    pageNum := 0
9187//    err := client.ListThemesPages(params,
9188//        func(page *quicksight.ListThemesOutput, lastPage bool) bool {
9189//            pageNum++
9190//            fmt.Println(page)
9191//            return pageNum <= 3
9192//        })
9193//
9194func (c *QuickSight) ListThemesPages(input *ListThemesInput, fn func(*ListThemesOutput, bool) bool) error {
9195	return c.ListThemesPagesWithContext(aws.BackgroundContext(), input, fn)
9196}
9197
9198// ListThemesPagesWithContext same as ListThemesPages except
9199// it takes a Context and allows setting request options on the pages.
9200//
9201// The context must be non-nil and will be used for request cancellation. If
9202// the context is nil a panic will occur. In the future the SDK may create
9203// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9204// for more information on using Contexts.
9205func (c *QuickSight) ListThemesPagesWithContext(ctx aws.Context, input *ListThemesInput, fn func(*ListThemesOutput, bool) bool, opts ...request.Option) error {
9206	p := request.Pagination{
9207		NewRequest: func() (*request.Request, error) {
9208			var inCpy *ListThemesInput
9209			if input != nil {
9210				tmp := *input
9211				inCpy = &tmp
9212			}
9213			req, _ := c.ListThemesRequest(inCpy)
9214			req.SetContext(ctx)
9215			req.ApplyOptions(opts...)
9216			return req, nil
9217		},
9218	}
9219
9220	for p.Next() {
9221		if !fn(p.Page().(*ListThemesOutput), !p.HasNextPage()) {
9222			break
9223		}
9224	}
9225
9226	return p.Err()
9227}
9228
9229const opListUserGroups = "ListUserGroups"
9230
9231// ListUserGroupsRequest generates a "aws/request.Request" representing the
9232// client's request for the ListUserGroups operation. The "output" return
9233// value will be populated with the request's response once the request completes
9234// successfully.
9235//
9236// Use "Send" method on the returned Request to send the API call to the service.
9237// the "output" return value is not valid until after Send returns without error.
9238//
9239// See ListUserGroups for more information on using the ListUserGroups
9240// API call, and error handling.
9241//
9242// This method is useful when you want to inject custom logic or configuration
9243// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9244//
9245//
9246//    // Example sending a request using the ListUserGroupsRequest method.
9247//    req, resp := client.ListUserGroupsRequest(params)
9248//
9249//    err := req.Send()
9250//    if err == nil { // resp is now filled
9251//        fmt.Println(resp)
9252//    }
9253//
9254// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUserGroups
9255func (c *QuickSight) ListUserGroupsRequest(input *ListUserGroupsInput) (req *request.Request, output *ListUserGroupsOutput) {
9256	op := &request.Operation{
9257		Name:       opListUserGroups,
9258		HTTPMethod: "GET",
9259		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/groups",
9260	}
9261
9262	if input == nil {
9263		input = &ListUserGroupsInput{}
9264	}
9265
9266	output = &ListUserGroupsOutput{}
9267	req = c.newRequest(op, input, output)
9268	return
9269}
9270
9271// ListUserGroups API operation for Amazon QuickSight.
9272//
9273// Lists the Amazon QuickSight groups that an Amazon QuickSight user is a member
9274// of.
9275//
9276// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9277// with awserr.Error's Code and Message methods to get detailed information about
9278// the error.
9279//
9280// See the AWS API reference guide for Amazon QuickSight's
9281// API operation ListUserGroups for usage and error information.
9282//
9283// Returned Error Types:
9284//   * AccessDeniedException
9285//   You don't have access to this item. The provided credentials couldn't be
9286//   validated. You might not be authorized to carry out the request. Make sure
9287//   that your account is authorized to use the Amazon QuickSight service, that
9288//   your policies have the correct permissions, and that you are using the correct
9289//   access keys.
9290//
9291//   * InvalidParameterValueException
9292//   One or more parameters has a value that isn't valid.
9293//
9294//   * ResourceNotFoundException
9295//   One or more resources can't be found.
9296//
9297//   * ThrottlingException
9298//   Access is throttled.
9299//
9300//   * PreconditionNotMetException
9301//   One or more preconditions aren't met.
9302//
9303//   * InternalFailureException
9304//   An internal failure occurred.
9305//
9306//   * ResourceUnavailableException
9307//   This resource is currently unavailable.
9308//
9309// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUserGroups
9310func (c *QuickSight) ListUserGroups(input *ListUserGroupsInput) (*ListUserGroupsOutput, error) {
9311	req, out := c.ListUserGroupsRequest(input)
9312	return out, req.Send()
9313}
9314
9315// ListUserGroupsWithContext is the same as ListUserGroups with the addition of
9316// the ability to pass a context and additional request options.
9317//
9318// See ListUserGroups for details on how to use this API operation.
9319//
9320// The context must be non-nil and will be used for request cancellation. If
9321// the context is nil a panic will occur. In the future the SDK may create
9322// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9323// for more information on using Contexts.
9324func (c *QuickSight) ListUserGroupsWithContext(ctx aws.Context, input *ListUserGroupsInput, opts ...request.Option) (*ListUserGroupsOutput, error) {
9325	req, out := c.ListUserGroupsRequest(input)
9326	req.SetContext(ctx)
9327	req.ApplyOptions(opts...)
9328	return out, req.Send()
9329}
9330
9331const opListUsers = "ListUsers"
9332
9333// ListUsersRequest generates a "aws/request.Request" representing the
9334// client's request for the ListUsers operation. The "output" return
9335// value will be populated with the request's response once the request completes
9336// successfully.
9337//
9338// Use "Send" method on the returned Request to send the API call to the service.
9339// the "output" return value is not valid until after Send returns without error.
9340//
9341// See ListUsers for more information on using the ListUsers
9342// API call, and error handling.
9343//
9344// This method is useful when you want to inject custom logic or configuration
9345// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9346//
9347//
9348//    // Example sending a request using the ListUsersRequest method.
9349//    req, resp := client.ListUsersRequest(params)
9350//
9351//    err := req.Send()
9352//    if err == nil { // resp is now filled
9353//        fmt.Println(resp)
9354//    }
9355//
9356// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUsers
9357func (c *QuickSight) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput) {
9358	op := &request.Operation{
9359		Name:       opListUsers,
9360		HTTPMethod: "GET",
9361		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users",
9362	}
9363
9364	if input == nil {
9365		input = &ListUsersInput{}
9366	}
9367
9368	output = &ListUsersOutput{}
9369	req = c.newRequest(op, input, output)
9370	return
9371}
9372
9373// ListUsers API operation for Amazon QuickSight.
9374//
9375// Returns a list of all of the Amazon QuickSight users belonging to this account.
9376//
9377// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9378// with awserr.Error's Code and Message methods to get detailed information about
9379// the error.
9380//
9381// See the AWS API reference guide for Amazon QuickSight's
9382// API operation ListUsers for usage and error information.
9383//
9384// Returned Error Types:
9385//   * AccessDeniedException
9386//   You don't have access to this item. The provided credentials couldn't be
9387//   validated. You might not be authorized to carry out the request. Make sure
9388//   that your account is authorized to use the Amazon QuickSight service, that
9389//   your policies have the correct permissions, and that you are using the correct
9390//   access keys.
9391//
9392//   * InvalidParameterValueException
9393//   One or more parameters has a value that isn't valid.
9394//
9395//   * ResourceNotFoundException
9396//   One or more resources can't be found.
9397//
9398//   * ThrottlingException
9399//   Access is throttled.
9400//
9401//   * InvalidNextTokenException
9402//   The NextToken value isn't valid.
9403//
9404//   * PreconditionNotMetException
9405//   One or more preconditions aren't met.
9406//
9407//   * InternalFailureException
9408//   An internal failure occurred.
9409//
9410//   * ResourceUnavailableException
9411//   This resource is currently unavailable.
9412//
9413// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUsers
9414func (c *QuickSight) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) {
9415	req, out := c.ListUsersRequest(input)
9416	return out, req.Send()
9417}
9418
9419// ListUsersWithContext is the same as ListUsers with the addition of
9420// the ability to pass a context and additional request options.
9421//
9422// See ListUsers for details on how to use this API operation.
9423//
9424// The context must be non-nil and will be used for request cancellation. If
9425// the context is nil a panic will occur. In the future the SDK may create
9426// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9427// for more information on using Contexts.
9428func (c *QuickSight) ListUsersWithContext(ctx aws.Context, input *ListUsersInput, opts ...request.Option) (*ListUsersOutput, error) {
9429	req, out := c.ListUsersRequest(input)
9430	req.SetContext(ctx)
9431	req.ApplyOptions(opts...)
9432	return out, req.Send()
9433}
9434
9435const opRegisterUser = "RegisterUser"
9436
9437// RegisterUserRequest generates a "aws/request.Request" representing the
9438// client's request for the RegisterUser operation. The "output" return
9439// value will be populated with the request's response once the request completes
9440// successfully.
9441//
9442// Use "Send" method on the returned Request to send the API call to the service.
9443// the "output" return value is not valid until after Send returns without error.
9444//
9445// See RegisterUser for more information on using the RegisterUser
9446// API call, and error handling.
9447//
9448// This method is useful when you want to inject custom logic or configuration
9449// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9450//
9451//
9452//    // Example sending a request using the RegisterUserRequest method.
9453//    req, resp := client.RegisterUserRequest(params)
9454//
9455//    err := req.Send()
9456//    if err == nil { // resp is now filled
9457//        fmt.Println(resp)
9458//    }
9459//
9460// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RegisterUser
9461func (c *QuickSight) RegisterUserRequest(input *RegisterUserInput) (req *request.Request, output *RegisterUserOutput) {
9462	op := &request.Operation{
9463		Name:       opRegisterUser,
9464		HTTPMethod: "POST",
9465		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users",
9466	}
9467
9468	if input == nil {
9469		input = &RegisterUserInput{}
9470	}
9471
9472	output = &RegisterUserOutput{}
9473	req = c.newRequest(op, input, output)
9474	return
9475}
9476
9477// RegisterUser API operation for Amazon QuickSight.
9478//
9479// Creates an Amazon QuickSight user, whose identity is associated with the
9480// AWS Identity and Access Management (IAM) identity or role specified in the
9481// request.
9482//
9483// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9484// with awserr.Error's Code and Message methods to get detailed information about
9485// the error.
9486//
9487// See the AWS API reference guide for Amazon QuickSight's
9488// API operation RegisterUser for usage and error information.
9489//
9490// Returned Error Types:
9491//   * AccessDeniedException
9492//   You don't have access to this item. The provided credentials couldn't be
9493//   validated. You might not be authorized to carry out the request. Make sure
9494//   that your account is authorized to use the Amazon QuickSight service, that
9495//   your policies have the correct permissions, and that you are using the correct
9496//   access keys.
9497//
9498//   * InvalidParameterValueException
9499//   One or more parameters has a value that isn't valid.
9500//
9501//   * ResourceNotFoundException
9502//   One or more resources can't be found.
9503//
9504//   * ThrottlingException
9505//   Access is throttled.
9506//
9507//   * LimitExceededException
9508//   A limit is exceeded.
9509//
9510//   * ResourceExistsException
9511//   The resource specified already exists.
9512//
9513//   * PreconditionNotMetException
9514//   One or more preconditions aren't met.
9515//
9516//   * InternalFailureException
9517//   An internal failure occurred.
9518//
9519//   * ResourceUnavailableException
9520//   This resource is currently unavailable.
9521//
9522// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RegisterUser
9523func (c *QuickSight) RegisterUser(input *RegisterUserInput) (*RegisterUserOutput, error) {
9524	req, out := c.RegisterUserRequest(input)
9525	return out, req.Send()
9526}
9527
9528// RegisterUserWithContext is the same as RegisterUser with the addition of
9529// the ability to pass a context and additional request options.
9530//
9531// See RegisterUser for details on how to use this API operation.
9532//
9533// The context must be non-nil and will be used for request cancellation. If
9534// the context is nil a panic will occur. In the future the SDK may create
9535// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9536// for more information on using Contexts.
9537func (c *QuickSight) RegisterUserWithContext(ctx aws.Context, input *RegisterUserInput, opts ...request.Option) (*RegisterUserOutput, error) {
9538	req, out := c.RegisterUserRequest(input)
9539	req.SetContext(ctx)
9540	req.ApplyOptions(opts...)
9541	return out, req.Send()
9542}
9543
9544const opRestoreAnalysis = "RestoreAnalysis"
9545
9546// RestoreAnalysisRequest generates a "aws/request.Request" representing the
9547// client's request for the RestoreAnalysis operation. The "output" return
9548// value will be populated with the request's response once the request completes
9549// successfully.
9550//
9551// Use "Send" method on the returned Request to send the API call to the service.
9552// the "output" return value is not valid until after Send returns without error.
9553//
9554// See RestoreAnalysis for more information on using the RestoreAnalysis
9555// API call, and error handling.
9556//
9557// This method is useful when you want to inject custom logic or configuration
9558// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9559//
9560//
9561//    // Example sending a request using the RestoreAnalysisRequest method.
9562//    req, resp := client.RestoreAnalysisRequest(params)
9563//
9564//    err := req.Send()
9565//    if err == nil { // resp is now filled
9566//        fmt.Println(resp)
9567//    }
9568//
9569// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RestoreAnalysis
9570func (c *QuickSight) RestoreAnalysisRequest(input *RestoreAnalysisInput) (req *request.Request, output *RestoreAnalysisOutput) {
9571	op := &request.Operation{
9572		Name:       opRestoreAnalysis,
9573		HTTPMethod: "POST",
9574		HTTPPath:   "/accounts/{AwsAccountId}/restore/analyses/{AnalysisId}",
9575	}
9576
9577	if input == nil {
9578		input = &RestoreAnalysisInput{}
9579	}
9580
9581	output = &RestoreAnalysisOutput{}
9582	req = c.newRequest(op, input, output)
9583	return
9584}
9585
9586// RestoreAnalysis API operation for Amazon QuickSight.
9587//
9588// Restores an analysis.
9589//
9590// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9591// with awserr.Error's Code and Message methods to get detailed information about
9592// the error.
9593//
9594// See the AWS API reference guide for Amazon QuickSight's
9595// API operation RestoreAnalysis for usage and error information.
9596//
9597// Returned Error Types:
9598//   * ThrottlingException
9599//   Access is throttled.
9600//
9601//   * InvalidParameterValueException
9602//   One or more parameters has a value that isn't valid.
9603//
9604//   * ConflictException
9605//   Updating or deleting a resource can cause an inconsistent state.
9606//
9607//   * ResourceNotFoundException
9608//   One or more resources can't be found.
9609//
9610//   * UnsupportedUserEditionException
9611//   This error indicates that you are calling an operation on an Amazon QuickSight
9612//   subscription where the edition doesn't include support for that operation.
9613//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
9614//   Not every operation and capability is available in every edition.
9615//
9616//   * InternalFailureException
9617//   An internal failure occurred.
9618//
9619// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RestoreAnalysis
9620func (c *QuickSight) RestoreAnalysis(input *RestoreAnalysisInput) (*RestoreAnalysisOutput, error) {
9621	req, out := c.RestoreAnalysisRequest(input)
9622	return out, req.Send()
9623}
9624
9625// RestoreAnalysisWithContext is the same as RestoreAnalysis with the addition of
9626// the ability to pass a context and additional request options.
9627//
9628// See RestoreAnalysis for details on how to use this API operation.
9629//
9630// The context must be non-nil and will be used for request cancellation. If
9631// the context is nil a panic will occur. In the future the SDK may create
9632// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9633// for more information on using Contexts.
9634func (c *QuickSight) RestoreAnalysisWithContext(ctx aws.Context, input *RestoreAnalysisInput, opts ...request.Option) (*RestoreAnalysisOutput, error) {
9635	req, out := c.RestoreAnalysisRequest(input)
9636	req.SetContext(ctx)
9637	req.ApplyOptions(opts...)
9638	return out, req.Send()
9639}
9640
9641const opSearchAnalyses = "SearchAnalyses"
9642
9643// SearchAnalysesRequest generates a "aws/request.Request" representing the
9644// client's request for the SearchAnalyses operation. The "output" return
9645// value will be populated with the request's response once the request completes
9646// successfully.
9647//
9648// Use "Send" method on the returned Request to send the API call to the service.
9649// the "output" return value is not valid until after Send returns without error.
9650//
9651// See SearchAnalyses for more information on using the SearchAnalyses
9652// API call, and error handling.
9653//
9654// This method is useful when you want to inject custom logic or configuration
9655// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9656//
9657//
9658//    // Example sending a request using the SearchAnalysesRequest method.
9659//    req, resp := client.SearchAnalysesRequest(params)
9660//
9661//    err := req.Send()
9662//    if err == nil { // resp is now filled
9663//        fmt.Println(resp)
9664//    }
9665//
9666// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchAnalyses
9667func (c *QuickSight) SearchAnalysesRequest(input *SearchAnalysesInput) (req *request.Request, output *SearchAnalysesOutput) {
9668	op := &request.Operation{
9669		Name:       opSearchAnalyses,
9670		HTTPMethod: "POST",
9671		HTTPPath:   "/accounts/{AwsAccountId}/search/analyses",
9672		Paginator: &request.Paginator{
9673			InputTokens:     []string{"NextToken"},
9674			OutputTokens:    []string{"NextToken"},
9675			LimitToken:      "MaxResults",
9676			TruncationToken: "",
9677		},
9678	}
9679
9680	if input == nil {
9681		input = &SearchAnalysesInput{}
9682	}
9683
9684	output = &SearchAnalysesOutput{}
9685	req = c.newRequest(op, input, output)
9686	return
9687}
9688
9689// SearchAnalyses API operation for Amazon QuickSight.
9690//
9691// Searches for analyses that belong to the user specified in the filter.
9692//
9693// This operation is eventually consistent. The results are best effort and
9694// may not reflect very recent updates and changes.
9695//
9696// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9697// with awserr.Error's Code and Message methods to get detailed information about
9698// the error.
9699//
9700// See the AWS API reference guide for Amazon QuickSight's
9701// API operation SearchAnalyses for usage and error information.
9702//
9703// Returned Error Types:
9704//   * ThrottlingException
9705//   Access is throttled.
9706//
9707//   * ResourceNotFoundException
9708//   One or more resources can't be found.
9709//
9710//   * InvalidParameterValueException
9711//   One or more parameters has a value that isn't valid.
9712//
9713//   * UnsupportedUserEditionException
9714//   This error indicates that you are calling an operation on an Amazon QuickSight
9715//   subscription where the edition doesn't include support for that operation.
9716//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
9717//   Not every operation and capability is available in every edition.
9718//
9719//   * InvalidNextTokenException
9720//   The NextToken value isn't valid.
9721//
9722//   * InternalFailureException
9723//   An internal failure occurred.
9724//
9725// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchAnalyses
9726func (c *QuickSight) SearchAnalyses(input *SearchAnalysesInput) (*SearchAnalysesOutput, error) {
9727	req, out := c.SearchAnalysesRequest(input)
9728	return out, req.Send()
9729}
9730
9731// SearchAnalysesWithContext is the same as SearchAnalyses with the addition of
9732// the ability to pass a context and additional request options.
9733//
9734// See SearchAnalyses for details on how to use this API operation.
9735//
9736// The context must be non-nil and will be used for request cancellation. If
9737// the context is nil a panic will occur. In the future the SDK may create
9738// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9739// for more information on using Contexts.
9740func (c *QuickSight) SearchAnalysesWithContext(ctx aws.Context, input *SearchAnalysesInput, opts ...request.Option) (*SearchAnalysesOutput, error) {
9741	req, out := c.SearchAnalysesRequest(input)
9742	req.SetContext(ctx)
9743	req.ApplyOptions(opts...)
9744	return out, req.Send()
9745}
9746
9747// SearchAnalysesPages iterates over the pages of a SearchAnalyses operation,
9748// calling the "fn" function with the response data for each page. To stop
9749// iterating, return false from the fn function.
9750//
9751// See SearchAnalyses method for more information on how to use this operation.
9752//
9753// Note: This operation can generate multiple requests to a service.
9754//
9755//    // Example iterating over at most 3 pages of a SearchAnalyses operation.
9756//    pageNum := 0
9757//    err := client.SearchAnalysesPages(params,
9758//        func(page *quicksight.SearchAnalysesOutput, lastPage bool) bool {
9759//            pageNum++
9760//            fmt.Println(page)
9761//            return pageNum <= 3
9762//        })
9763//
9764func (c *QuickSight) SearchAnalysesPages(input *SearchAnalysesInput, fn func(*SearchAnalysesOutput, bool) bool) error {
9765	return c.SearchAnalysesPagesWithContext(aws.BackgroundContext(), input, fn)
9766}
9767
9768// SearchAnalysesPagesWithContext same as SearchAnalysesPages except
9769// it takes a Context and allows setting request options on the pages.
9770//
9771// The context must be non-nil and will be used for request cancellation. If
9772// the context is nil a panic will occur. In the future the SDK may create
9773// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9774// for more information on using Contexts.
9775func (c *QuickSight) SearchAnalysesPagesWithContext(ctx aws.Context, input *SearchAnalysesInput, fn func(*SearchAnalysesOutput, bool) bool, opts ...request.Option) error {
9776	p := request.Pagination{
9777		NewRequest: func() (*request.Request, error) {
9778			var inCpy *SearchAnalysesInput
9779			if input != nil {
9780				tmp := *input
9781				inCpy = &tmp
9782			}
9783			req, _ := c.SearchAnalysesRequest(inCpy)
9784			req.SetContext(ctx)
9785			req.ApplyOptions(opts...)
9786			return req, nil
9787		},
9788	}
9789
9790	for p.Next() {
9791		if !fn(p.Page().(*SearchAnalysesOutput), !p.HasNextPage()) {
9792			break
9793		}
9794	}
9795
9796	return p.Err()
9797}
9798
9799const opSearchDashboards = "SearchDashboards"
9800
9801// SearchDashboardsRequest generates a "aws/request.Request" representing the
9802// client's request for the SearchDashboards operation. The "output" return
9803// value will be populated with the request's response once the request completes
9804// successfully.
9805//
9806// Use "Send" method on the returned Request to send the API call to the service.
9807// the "output" return value is not valid until after Send returns without error.
9808//
9809// See SearchDashboards for more information on using the SearchDashboards
9810// API call, and error handling.
9811//
9812// This method is useful when you want to inject custom logic or configuration
9813// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9814//
9815//
9816//    // Example sending a request using the SearchDashboardsRequest method.
9817//    req, resp := client.SearchDashboardsRequest(params)
9818//
9819//    err := req.Send()
9820//    if err == nil { // resp is now filled
9821//        fmt.Println(resp)
9822//    }
9823//
9824// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchDashboards
9825func (c *QuickSight) SearchDashboardsRequest(input *SearchDashboardsInput) (req *request.Request, output *SearchDashboardsOutput) {
9826	op := &request.Operation{
9827		Name:       opSearchDashboards,
9828		HTTPMethod: "POST",
9829		HTTPPath:   "/accounts/{AwsAccountId}/search/dashboards",
9830		Paginator: &request.Paginator{
9831			InputTokens:     []string{"NextToken"},
9832			OutputTokens:    []string{"NextToken"},
9833			LimitToken:      "MaxResults",
9834			TruncationToken: "",
9835		},
9836	}
9837
9838	if input == nil {
9839		input = &SearchDashboardsInput{}
9840	}
9841
9842	output = &SearchDashboardsOutput{}
9843	req = c.newRequest(op, input, output)
9844	return
9845}
9846
9847// SearchDashboards API operation for Amazon QuickSight.
9848//
9849// Searches for dashboards that belong to a user.
9850//
9851// This operation is eventually consistent. The results are best effort and
9852// may not reflect very recent updates and changes.
9853//
9854// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9855// with awserr.Error's Code and Message methods to get detailed information about
9856// the error.
9857//
9858// See the AWS API reference guide for Amazon QuickSight's
9859// API operation SearchDashboards for usage and error information.
9860//
9861// Returned Error Types:
9862//   * ThrottlingException
9863//   Access is throttled.
9864//
9865//   * ResourceNotFoundException
9866//   One or more resources can't be found.
9867//
9868//   * InvalidParameterValueException
9869//   One or more parameters has a value that isn't valid.
9870//
9871//   * UnsupportedUserEditionException
9872//   This error indicates that you are calling an operation on an Amazon QuickSight
9873//   subscription where the edition doesn't include support for that operation.
9874//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
9875//   Not every operation and capability is available in every edition.
9876//
9877//   * InvalidNextTokenException
9878//   The NextToken value isn't valid.
9879//
9880//   * InternalFailureException
9881//   An internal failure occurred.
9882//
9883// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchDashboards
9884func (c *QuickSight) SearchDashboards(input *SearchDashboardsInput) (*SearchDashboardsOutput, error) {
9885	req, out := c.SearchDashboardsRequest(input)
9886	return out, req.Send()
9887}
9888
9889// SearchDashboardsWithContext is the same as SearchDashboards with the addition of
9890// the ability to pass a context and additional request options.
9891//
9892// See SearchDashboards for details on how to use this API operation.
9893//
9894// The context must be non-nil and will be used for request cancellation. If
9895// the context is nil a panic will occur. In the future the SDK may create
9896// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9897// for more information on using Contexts.
9898func (c *QuickSight) SearchDashboardsWithContext(ctx aws.Context, input *SearchDashboardsInput, opts ...request.Option) (*SearchDashboardsOutput, error) {
9899	req, out := c.SearchDashboardsRequest(input)
9900	req.SetContext(ctx)
9901	req.ApplyOptions(opts...)
9902	return out, req.Send()
9903}
9904
9905// SearchDashboardsPages iterates over the pages of a SearchDashboards operation,
9906// calling the "fn" function with the response data for each page. To stop
9907// iterating, return false from the fn function.
9908//
9909// See SearchDashboards method for more information on how to use this operation.
9910//
9911// Note: This operation can generate multiple requests to a service.
9912//
9913//    // Example iterating over at most 3 pages of a SearchDashboards operation.
9914//    pageNum := 0
9915//    err := client.SearchDashboardsPages(params,
9916//        func(page *quicksight.SearchDashboardsOutput, lastPage bool) bool {
9917//            pageNum++
9918//            fmt.Println(page)
9919//            return pageNum <= 3
9920//        })
9921//
9922func (c *QuickSight) SearchDashboardsPages(input *SearchDashboardsInput, fn func(*SearchDashboardsOutput, bool) bool) error {
9923	return c.SearchDashboardsPagesWithContext(aws.BackgroundContext(), input, fn)
9924}
9925
9926// SearchDashboardsPagesWithContext same as SearchDashboardsPages except
9927// it takes a Context and allows setting request options on the pages.
9928//
9929// The context must be non-nil and will be used for request cancellation. If
9930// the context is nil a panic will occur. In the future the SDK may create
9931// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9932// for more information on using Contexts.
9933func (c *QuickSight) SearchDashboardsPagesWithContext(ctx aws.Context, input *SearchDashboardsInput, fn func(*SearchDashboardsOutput, bool) bool, opts ...request.Option) error {
9934	p := request.Pagination{
9935		NewRequest: func() (*request.Request, error) {
9936			var inCpy *SearchDashboardsInput
9937			if input != nil {
9938				tmp := *input
9939				inCpy = &tmp
9940			}
9941			req, _ := c.SearchDashboardsRequest(inCpy)
9942			req.SetContext(ctx)
9943			req.ApplyOptions(opts...)
9944			return req, nil
9945		},
9946	}
9947
9948	for p.Next() {
9949		if !fn(p.Page().(*SearchDashboardsOutput), !p.HasNextPage()) {
9950			break
9951		}
9952	}
9953
9954	return p.Err()
9955}
9956
9957const opSearchFolders = "SearchFolders"
9958
9959// SearchFoldersRequest generates a "aws/request.Request" representing the
9960// client's request for the SearchFolders operation. The "output" return
9961// value will be populated with the request's response once the request completes
9962// successfully.
9963//
9964// Use "Send" method on the returned Request to send the API call to the service.
9965// the "output" return value is not valid until after Send returns without error.
9966//
9967// See SearchFolders for more information on using the SearchFolders
9968// API call, and error handling.
9969//
9970// This method is useful when you want to inject custom logic or configuration
9971// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9972//
9973//
9974//    // Example sending a request using the SearchFoldersRequest method.
9975//    req, resp := client.SearchFoldersRequest(params)
9976//
9977//    err := req.Send()
9978//    if err == nil { // resp is now filled
9979//        fmt.Println(resp)
9980//    }
9981//
9982// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchFolders
9983func (c *QuickSight) SearchFoldersRequest(input *SearchFoldersInput) (req *request.Request, output *SearchFoldersOutput) {
9984	op := &request.Operation{
9985		Name:       opSearchFolders,
9986		HTTPMethod: "POST",
9987		HTTPPath:   "/accounts/{AwsAccountId}/search/folders",
9988	}
9989
9990	if input == nil {
9991		input = &SearchFoldersInput{}
9992	}
9993
9994	output = &SearchFoldersOutput{}
9995	req = c.newRequest(op, input, output)
9996	return
9997}
9998
9999// SearchFolders API operation for Amazon QuickSight.
10000//
10001// Searches the subfolders in a folder.
10002//
10003// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10004// with awserr.Error's Code and Message methods to get detailed information about
10005// the error.
10006//
10007// See the AWS API reference guide for Amazon QuickSight's
10008// API operation SearchFolders for usage and error information.
10009//
10010// Returned Error Types:
10011//   * InvalidParameterValueException
10012//   One or more parameters has a value that isn't valid.
10013//
10014//   * AccessDeniedException
10015//   You don't have access to this item. The provided credentials couldn't be
10016//   validated. You might not be authorized to carry out the request. Make sure
10017//   that your account is authorized to use the Amazon QuickSight service, that
10018//   your policies have the correct permissions, and that you are using the correct
10019//   access keys.
10020//
10021//   * ResourceNotFoundException
10022//   One or more resources can't be found.
10023//
10024//   * ThrottlingException
10025//   Access is throttled.
10026//
10027//   * InvalidNextTokenException
10028//   The NextToken value isn't valid.
10029//
10030//   * UnsupportedUserEditionException
10031//   This error indicates that you are calling an operation on an Amazon QuickSight
10032//   subscription where the edition doesn't include support for that operation.
10033//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
10034//   Not every operation and capability is available in every edition.
10035//
10036//   * InternalFailureException
10037//   An internal failure occurred.
10038//
10039// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchFolders
10040func (c *QuickSight) SearchFolders(input *SearchFoldersInput) (*SearchFoldersOutput, error) {
10041	req, out := c.SearchFoldersRequest(input)
10042	return out, req.Send()
10043}
10044
10045// SearchFoldersWithContext is the same as SearchFolders with the addition of
10046// the ability to pass a context and additional request options.
10047//
10048// See SearchFolders for details on how to use this API operation.
10049//
10050// The context must be non-nil and will be used for request cancellation. If
10051// the context is nil a panic will occur. In the future the SDK may create
10052// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10053// for more information on using Contexts.
10054func (c *QuickSight) SearchFoldersWithContext(ctx aws.Context, input *SearchFoldersInput, opts ...request.Option) (*SearchFoldersOutput, error) {
10055	req, out := c.SearchFoldersRequest(input)
10056	req.SetContext(ctx)
10057	req.ApplyOptions(opts...)
10058	return out, req.Send()
10059}
10060
10061const opTagResource = "TagResource"
10062
10063// TagResourceRequest generates a "aws/request.Request" representing the
10064// client's request for the TagResource operation. The "output" return
10065// value will be populated with the request's response once the request completes
10066// successfully.
10067//
10068// Use "Send" method on the returned Request to send the API call to the service.
10069// the "output" return value is not valid until after Send returns without error.
10070//
10071// See TagResource for more information on using the TagResource
10072// API call, and error handling.
10073//
10074// This method is useful when you want to inject custom logic or configuration
10075// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10076//
10077//
10078//    // Example sending a request using the TagResourceRequest method.
10079//    req, resp := client.TagResourceRequest(params)
10080//
10081//    err := req.Send()
10082//    if err == nil { // resp is now filled
10083//        fmt.Println(resp)
10084//    }
10085//
10086// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/TagResource
10087func (c *QuickSight) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
10088	op := &request.Operation{
10089		Name:       opTagResource,
10090		HTTPMethod: "POST",
10091		HTTPPath:   "/resources/{ResourceArn}/tags",
10092	}
10093
10094	if input == nil {
10095		input = &TagResourceInput{}
10096	}
10097
10098	output = &TagResourceOutput{}
10099	req = c.newRequest(op, input, output)
10100	return
10101}
10102
10103// TagResource API operation for Amazon QuickSight.
10104//
10105// Assigns one or more tags (key-value pairs) to the specified Amazon QuickSight
10106// resource.
10107//
10108// Tags can help you organize and categorize your resources. You can also use
10109// them to scope user permissions, by granting a user permission to access or
10110// change only resources with certain tag values. You can use the TagResource
10111// operation with a resource that already has tags. If you specify a new tag
10112// key for the resource, this tag is appended to the list of tags associated
10113// with the resource. If you specify a tag key that is already associated with
10114// the resource, the new tag value that you specify replaces the previous value
10115// for that tag.
10116//
10117// You can associate as many as 50 tags with a resource. Amazon QuickSight supports
10118// tagging on data set, data source, dashboard, and template.
10119//
10120// Tagging for Amazon QuickSight works in a similar way to tagging for other
10121// AWS services, except for the following:
10122//
10123//    * You can't use tags to track AWS costs for Amazon QuickSight. This restriction
10124//    is because Amazon QuickSight costs are based on users and SPICE capacity,
10125//    which aren't taggable resources.
10126//
10127//    * Amazon QuickSight doesn't currently support the Tag Editor for Resource
10128//    Groups.
10129//
10130// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10131// with awserr.Error's Code and Message methods to get detailed information about
10132// the error.
10133//
10134// See the AWS API reference guide for Amazon QuickSight's
10135// API operation TagResource for usage and error information.
10136//
10137// Returned Error Types:
10138//   * LimitExceededException
10139//   A limit is exceeded.
10140//
10141//   * AccessDeniedException
10142//   You don't have access to this item. The provided credentials couldn't be
10143//   validated. You might not be authorized to carry out the request. Make sure
10144//   that your account is authorized to use the Amazon QuickSight service, that
10145//   your policies have the correct permissions, and that you are using the correct
10146//   access keys.
10147//
10148//   * InvalidParameterValueException
10149//   One or more parameters has a value that isn't valid.
10150//
10151//   * ResourceNotFoundException
10152//   One or more resources can't be found.
10153//
10154//   * ThrottlingException
10155//   Access is throttled.
10156//
10157//   * InternalFailureException
10158//   An internal failure occurred.
10159//
10160// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/TagResource
10161func (c *QuickSight) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
10162	req, out := c.TagResourceRequest(input)
10163	return out, req.Send()
10164}
10165
10166// TagResourceWithContext is the same as TagResource with the addition of
10167// the ability to pass a context and additional request options.
10168//
10169// See TagResource for details on how to use this API operation.
10170//
10171// The context must be non-nil and will be used for request cancellation. If
10172// the context is nil a panic will occur. In the future the SDK may create
10173// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10174// for more information on using Contexts.
10175func (c *QuickSight) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
10176	req, out := c.TagResourceRequest(input)
10177	req.SetContext(ctx)
10178	req.ApplyOptions(opts...)
10179	return out, req.Send()
10180}
10181
10182const opUntagResource = "UntagResource"
10183
10184// UntagResourceRequest generates a "aws/request.Request" representing the
10185// client's request for the UntagResource operation. The "output" return
10186// value will be populated with the request's response once the request completes
10187// successfully.
10188//
10189// Use "Send" method on the returned Request to send the API call to the service.
10190// the "output" return value is not valid until after Send returns without error.
10191//
10192// See UntagResource for more information on using the UntagResource
10193// API call, and error handling.
10194//
10195// This method is useful when you want to inject custom logic or configuration
10196// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10197//
10198//
10199//    // Example sending a request using the UntagResourceRequest method.
10200//    req, resp := client.UntagResourceRequest(params)
10201//
10202//    err := req.Send()
10203//    if err == nil { // resp is now filled
10204//        fmt.Println(resp)
10205//    }
10206//
10207// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UntagResource
10208func (c *QuickSight) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
10209	op := &request.Operation{
10210		Name:       opUntagResource,
10211		HTTPMethod: "DELETE",
10212		HTTPPath:   "/resources/{ResourceArn}/tags",
10213	}
10214
10215	if input == nil {
10216		input = &UntagResourceInput{}
10217	}
10218
10219	output = &UntagResourceOutput{}
10220	req = c.newRequest(op, input, output)
10221	return
10222}
10223
10224// UntagResource API operation for Amazon QuickSight.
10225//
10226// Removes a tag or tags from a resource.
10227//
10228// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10229// with awserr.Error's Code and Message methods to get detailed information about
10230// the error.
10231//
10232// See the AWS API reference guide for Amazon QuickSight's
10233// API operation UntagResource for usage and error information.
10234//
10235// Returned Error Types:
10236//   * AccessDeniedException
10237//   You don't have access to this item. The provided credentials couldn't be
10238//   validated. You might not be authorized to carry out the request. Make sure
10239//   that your account is authorized to use the Amazon QuickSight service, that
10240//   your policies have the correct permissions, and that you are using the correct
10241//   access keys.
10242//
10243//   * InvalidParameterValueException
10244//   One or more parameters has a value that isn't valid.
10245//
10246//   * ResourceNotFoundException
10247//   One or more resources can't be found.
10248//
10249//   * ThrottlingException
10250//   Access is throttled.
10251//
10252//   * InternalFailureException
10253//   An internal failure occurred.
10254//
10255// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UntagResource
10256func (c *QuickSight) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
10257	req, out := c.UntagResourceRequest(input)
10258	return out, req.Send()
10259}
10260
10261// UntagResourceWithContext is the same as UntagResource with the addition of
10262// the ability to pass a context and additional request options.
10263//
10264// See UntagResource for details on how to use this API operation.
10265//
10266// The context must be non-nil and will be used for request cancellation. If
10267// the context is nil a panic will occur. In the future the SDK may create
10268// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10269// for more information on using Contexts.
10270func (c *QuickSight) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
10271	req, out := c.UntagResourceRequest(input)
10272	req.SetContext(ctx)
10273	req.ApplyOptions(opts...)
10274	return out, req.Send()
10275}
10276
10277const opUpdateAccountCustomization = "UpdateAccountCustomization"
10278
10279// UpdateAccountCustomizationRequest generates a "aws/request.Request" representing the
10280// client's request for the UpdateAccountCustomization operation. The "output" return
10281// value will be populated with the request's response once the request completes
10282// successfully.
10283//
10284// Use "Send" method on the returned Request to send the API call to the service.
10285// the "output" return value is not valid until after Send returns without error.
10286//
10287// See UpdateAccountCustomization for more information on using the UpdateAccountCustomization
10288// API call, and error handling.
10289//
10290// This method is useful when you want to inject custom logic or configuration
10291// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10292//
10293//
10294//    // Example sending a request using the UpdateAccountCustomizationRequest method.
10295//    req, resp := client.UpdateAccountCustomizationRequest(params)
10296//
10297//    err := req.Send()
10298//    if err == nil { // resp is now filled
10299//        fmt.Println(resp)
10300//    }
10301//
10302// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountCustomization
10303func (c *QuickSight) UpdateAccountCustomizationRequest(input *UpdateAccountCustomizationInput) (req *request.Request, output *UpdateAccountCustomizationOutput) {
10304	op := &request.Operation{
10305		Name:       opUpdateAccountCustomization,
10306		HTTPMethod: "PUT",
10307		HTTPPath:   "/accounts/{AwsAccountId}/customizations",
10308	}
10309
10310	if input == nil {
10311		input = &UpdateAccountCustomizationInput{}
10312	}
10313
10314	output = &UpdateAccountCustomizationOutput{}
10315	req = c.newRequest(op, input, output)
10316	return
10317}
10318
10319// UpdateAccountCustomization API operation for Amazon QuickSight.
10320//
10321// Updates Amazon QuickSight customizations the current Amazon Web Services
10322// Region;. Currently, the only customization you can use is a theme.
10323//
10324// You can use customizations for your Amazon Web Services account or, if you
10325// specify a namespace, for a Amazon QuickSight namespace instead. Customizations
10326// that apply to a namespace override customizations that apply to an Amazon
10327// Web Services account. To find out which customizations apply, use the DescribeAccountCustomization
10328// API operation.
10329//
10330// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10331// with awserr.Error's Code and Message methods to get detailed information about
10332// the error.
10333//
10334// See the AWS API reference guide for Amazon QuickSight's
10335// API operation UpdateAccountCustomization for usage and error information.
10336//
10337// Returned Error Types:
10338//   * AccessDeniedException
10339//   You don't have access to this item. The provided credentials couldn't be
10340//   validated. You might not be authorized to carry out the request. Make sure
10341//   that your account is authorized to use the Amazon QuickSight service, that
10342//   your policies have the correct permissions, and that you are using the correct
10343//   access keys.
10344//
10345//   * InvalidParameterValueException
10346//   One or more parameters has a value that isn't valid.
10347//
10348//   * ResourceNotFoundException
10349//   One or more resources can't be found.
10350//
10351//   * ThrottlingException
10352//   Access is throttled.
10353//
10354//   * InternalFailureException
10355//   An internal failure occurred.
10356//
10357//   * ResourceUnavailableException
10358//   This resource is currently unavailable.
10359//
10360// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountCustomization
10361func (c *QuickSight) UpdateAccountCustomization(input *UpdateAccountCustomizationInput) (*UpdateAccountCustomizationOutput, error) {
10362	req, out := c.UpdateAccountCustomizationRequest(input)
10363	return out, req.Send()
10364}
10365
10366// UpdateAccountCustomizationWithContext is the same as UpdateAccountCustomization with the addition of
10367// the ability to pass a context and additional request options.
10368//
10369// See UpdateAccountCustomization for details on how to use this API operation.
10370//
10371// The context must be non-nil and will be used for request cancellation. If
10372// the context is nil a panic will occur. In the future the SDK may create
10373// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10374// for more information on using Contexts.
10375func (c *QuickSight) UpdateAccountCustomizationWithContext(ctx aws.Context, input *UpdateAccountCustomizationInput, opts ...request.Option) (*UpdateAccountCustomizationOutput, error) {
10376	req, out := c.UpdateAccountCustomizationRequest(input)
10377	req.SetContext(ctx)
10378	req.ApplyOptions(opts...)
10379	return out, req.Send()
10380}
10381
10382const opUpdateAccountSettings = "UpdateAccountSettings"
10383
10384// UpdateAccountSettingsRequest generates a "aws/request.Request" representing the
10385// client's request for the UpdateAccountSettings operation. The "output" return
10386// value will be populated with the request's response once the request completes
10387// successfully.
10388//
10389// Use "Send" method on the returned Request to send the API call to the service.
10390// the "output" return value is not valid until after Send returns without error.
10391//
10392// See UpdateAccountSettings for more information on using the UpdateAccountSettings
10393// API call, and error handling.
10394//
10395// This method is useful when you want to inject custom logic or configuration
10396// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10397//
10398//
10399//    // Example sending a request using the UpdateAccountSettingsRequest method.
10400//    req, resp := client.UpdateAccountSettingsRequest(params)
10401//
10402//    err := req.Send()
10403//    if err == nil { // resp is now filled
10404//        fmt.Println(resp)
10405//    }
10406//
10407// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountSettings
10408func (c *QuickSight) UpdateAccountSettingsRequest(input *UpdateAccountSettingsInput) (req *request.Request, output *UpdateAccountSettingsOutput) {
10409	op := &request.Operation{
10410		Name:       opUpdateAccountSettings,
10411		HTTPMethod: "PUT",
10412		HTTPPath:   "/accounts/{AwsAccountId}/settings",
10413	}
10414
10415	if input == nil {
10416		input = &UpdateAccountSettingsInput{}
10417	}
10418
10419	output = &UpdateAccountSettingsOutput{}
10420	req = c.newRequest(op, input, output)
10421	return
10422}
10423
10424// UpdateAccountSettings API operation for Amazon QuickSight.
10425//
10426// Updates the Amazon QuickSight settings in your Amazon Web Services account.
10427//
10428// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10429// with awserr.Error's Code and Message methods to get detailed information about
10430// the error.
10431//
10432// See the AWS API reference guide for Amazon QuickSight's
10433// API operation UpdateAccountSettings for usage and error information.
10434//
10435// Returned Error Types:
10436//   * AccessDeniedException
10437//   You don't have access to this item. The provided credentials couldn't be
10438//   validated. You might not be authorized to carry out the request. Make sure
10439//   that your account is authorized to use the Amazon QuickSight service, that
10440//   your policies have the correct permissions, and that you are using the correct
10441//   access keys.
10442//
10443//   * InvalidParameterValueException
10444//   One or more parameters has a value that isn't valid.
10445//
10446//   * ResourceNotFoundException
10447//   One or more resources can't be found.
10448//
10449//   * ThrottlingException
10450//   Access is throttled.
10451//
10452//   * InternalFailureException
10453//   An internal failure occurred.
10454//
10455//   * ResourceUnavailableException
10456//   This resource is currently unavailable.
10457//
10458// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountSettings
10459func (c *QuickSight) UpdateAccountSettings(input *UpdateAccountSettingsInput) (*UpdateAccountSettingsOutput, error) {
10460	req, out := c.UpdateAccountSettingsRequest(input)
10461	return out, req.Send()
10462}
10463
10464// UpdateAccountSettingsWithContext is the same as UpdateAccountSettings with the addition of
10465// the ability to pass a context and additional request options.
10466//
10467// See UpdateAccountSettings for details on how to use this API operation.
10468//
10469// The context must be non-nil and will be used for request cancellation. If
10470// the context is nil a panic will occur. In the future the SDK may create
10471// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10472// for more information on using Contexts.
10473func (c *QuickSight) UpdateAccountSettingsWithContext(ctx aws.Context, input *UpdateAccountSettingsInput, opts ...request.Option) (*UpdateAccountSettingsOutput, error) {
10474	req, out := c.UpdateAccountSettingsRequest(input)
10475	req.SetContext(ctx)
10476	req.ApplyOptions(opts...)
10477	return out, req.Send()
10478}
10479
10480const opUpdateAnalysis = "UpdateAnalysis"
10481
10482// UpdateAnalysisRequest generates a "aws/request.Request" representing the
10483// client's request for the UpdateAnalysis operation. The "output" return
10484// value will be populated with the request's response once the request completes
10485// successfully.
10486//
10487// Use "Send" method on the returned Request to send the API call to the service.
10488// the "output" return value is not valid until after Send returns without error.
10489//
10490// See UpdateAnalysis for more information on using the UpdateAnalysis
10491// API call, and error handling.
10492//
10493// This method is useful when you want to inject custom logic or configuration
10494// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10495//
10496//
10497//    // Example sending a request using the UpdateAnalysisRequest method.
10498//    req, resp := client.UpdateAnalysisRequest(params)
10499//
10500//    err := req.Send()
10501//    if err == nil { // resp is now filled
10502//        fmt.Println(resp)
10503//    }
10504//
10505// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAnalysis
10506func (c *QuickSight) UpdateAnalysisRequest(input *UpdateAnalysisInput) (req *request.Request, output *UpdateAnalysisOutput) {
10507	op := &request.Operation{
10508		Name:       opUpdateAnalysis,
10509		HTTPMethod: "PUT",
10510		HTTPPath:   "/accounts/{AwsAccountId}/analyses/{AnalysisId}",
10511	}
10512
10513	if input == nil {
10514		input = &UpdateAnalysisInput{}
10515	}
10516
10517	output = &UpdateAnalysisOutput{}
10518	req = c.newRequest(op, input, output)
10519	return
10520}
10521
10522// UpdateAnalysis API operation for Amazon QuickSight.
10523//
10524// Updates an analysis in Amazon QuickSight
10525//
10526// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10527// with awserr.Error's Code and Message methods to get detailed information about
10528// the error.
10529//
10530// See the AWS API reference guide for Amazon QuickSight's
10531// API operation UpdateAnalysis for usage and error information.
10532//
10533// Returned Error Types:
10534//   * ResourceNotFoundException
10535//   One or more resources can't be found.
10536//
10537//   * InvalidParameterValueException
10538//   One or more parameters has a value that isn't valid.
10539//
10540//   * ThrottlingException
10541//   Access is throttled.
10542//
10543//   * ResourceExistsException
10544//   The resource specified already exists.
10545//
10546//   * ConflictException
10547//   Updating or deleting a resource can cause an inconsistent state.
10548//
10549//   * UnsupportedUserEditionException
10550//   This error indicates that you are calling an operation on an Amazon QuickSight
10551//   subscription where the edition doesn't include support for that operation.
10552//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
10553//   Not every operation and capability is available in every edition.
10554//
10555//   * InternalFailureException
10556//   An internal failure occurred.
10557//
10558// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAnalysis
10559func (c *QuickSight) UpdateAnalysis(input *UpdateAnalysisInput) (*UpdateAnalysisOutput, error) {
10560	req, out := c.UpdateAnalysisRequest(input)
10561	return out, req.Send()
10562}
10563
10564// UpdateAnalysisWithContext is the same as UpdateAnalysis with the addition of
10565// the ability to pass a context and additional request options.
10566//
10567// See UpdateAnalysis for details on how to use this API operation.
10568//
10569// The context must be non-nil and will be used for request cancellation. If
10570// the context is nil a panic will occur. In the future the SDK may create
10571// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10572// for more information on using Contexts.
10573func (c *QuickSight) UpdateAnalysisWithContext(ctx aws.Context, input *UpdateAnalysisInput, opts ...request.Option) (*UpdateAnalysisOutput, error) {
10574	req, out := c.UpdateAnalysisRequest(input)
10575	req.SetContext(ctx)
10576	req.ApplyOptions(opts...)
10577	return out, req.Send()
10578}
10579
10580const opUpdateAnalysisPermissions = "UpdateAnalysisPermissions"
10581
10582// UpdateAnalysisPermissionsRequest generates a "aws/request.Request" representing the
10583// client's request for the UpdateAnalysisPermissions operation. The "output" return
10584// value will be populated with the request's response once the request completes
10585// successfully.
10586//
10587// Use "Send" method on the returned Request to send the API call to the service.
10588// the "output" return value is not valid until after Send returns without error.
10589//
10590// See UpdateAnalysisPermissions for more information on using the UpdateAnalysisPermissions
10591// API call, and error handling.
10592//
10593// This method is useful when you want to inject custom logic or configuration
10594// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10595//
10596//
10597//    // Example sending a request using the UpdateAnalysisPermissionsRequest method.
10598//    req, resp := client.UpdateAnalysisPermissionsRequest(params)
10599//
10600//    err := req.Send()
10601//    if err == nil { // resp is now filled
10602//        fmt.Println(resp)
10603//    }
10604//
10605// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAnalysisPermissions
10606func (c *QuickSight) UpdateAnalysisPermissionsRequest(input *UpdateAnalysisPermissionsInput) (req *request.Request, output *UpdateAnalysisPermissionsOutput) {
10607	op := &request.Operation{
10608		Name:       opUpdateAnalysisPermissions,
10609		HTTPMethod: "PUT",
10610		HTTPPath:   "/accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions",
10611	}
10612
10613	if input == nil {
10614		input = &UpdateAnalysisPermissionsInput{}
10615	}
10616
10617	output = &UpdateAnalysisPermissionsOutput{}
10618	req = c.newRequest(op, input, output)
10619	return
10620}
10621
10622// UpdateAnalysisPermissions API operation for Amazon QuickSight.
10623//
10624// Updates the read and write permissions for an analysis.
10625//
10626// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10627// with awserr.Error's Code and Message methods to get detailed information about
10628// the error.
10629//
10630// See the AWS API reference guide for Amazon QuickSight's
10631// API operation UpdateAnalysisPermissions for usage and error information.
10632//
10633// Returned Error Types:
10634//   * ThrottlingException
10635//   Access is throttled.
10636//
10637//   * InvalidParameterValueException
10638//   One or more parameters has a value that isn't valid.
10639//
10640//   * ResourceNotFoundException
10641//   One or more resources can't be found.
10642//
10643//   * UnsupportedUserEditionException
10644//   This error indicates that you are calling an operation on an Amazon QuickSight
10645//   subscription where the edition doesn't include support for that operation.
10646//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
10647//   Not every operation and capability is available in every edition.
10648//
10649//   * ConflictException
10650//   Updating or deleting a resource can cause an inconsistent state.
10651//
10652//   * InternalFailureException
10653//   An internal failure occurred.
10654//
10655// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAnalysisPermissions
10656func (c *QuickSight) UpdateAnalysisPermissions(input *UpdateAnalysisPermissionsInput) (*UpdateAnalysisPermissionsOutput, error) {
10657	req, out := c.UpdateAnalysisPermissionsRequest(input)
10658	return out, req.Send()
10659}
10660
10661// UpdateAnalysisPermissionsWithContext is the same as UpdateAnalysisPermissions with the addition of
10662// the ability to pass a context and additional request options.
10663//
10664// See UpdateAnalysisPermissions for details on how to use this API operation.
10665//
10666// The context must be non-nil and will be used for request cancellation. If
10667// the context is nil a panic will occur. In the future the SDK may create
10668// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10669// for more information on using Contexts.
10670func (c *QuickSight) UpdateAnalysisPermissionsWithContext(ctx aws.Context, input *UpdateAnalysisPermissionsInput, opts ...request.Option) (*UpdateAnalysisPermissionsOutput, error) {
10671	req, out := c.UpdateAnalysisPermissionsRequest(input)
10672	req.SetContext(ctx)
10673	req.ApplyOptions(opts...)
10674	return out, req.Send()
10675}
10676
10677const opUpdateDashboard = "UpdateDashboard"
10678
10679// UpdateDashboardRequest generates a "aws/request.Request" representing the
10680// client's request for the UpdateDashboard operation. The "output" return
10681// value will be populated with the request's response once the request completes
10682// successfully.
10683//
10684// Use "Send" method on the returned Request to send the API call to the service.
10685// the "output" return value is not valid until after Send returns without error.
10686//
10687// See UpdateDashboard for more information on using the UpdateDashboard
10688// API call, and error handling.
10689//
10690// This method is useful when you want to inject custom logic or configuration
10691// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10692//
10693//
10694//    // Example sending a request using the UpdateDashboardRequest method.
10695//    req, resp := client.UpdateDashboardRequest(params)
10696//
10697//    err := req.Send()
10698//    if err == nil { // resp is now filled
10699//        fmt.Println(resp)
10700//    }
10701//
10702// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboard
10703func (c *QuickSight) UpdateDashboardRequest(input *UpdateDashboardInput) (req *request.Request, output *UpdateDashboardOutput) {
10704	op := &request.Operation{
10705		Name:       opUpdateDashboard,
10706		HTTPMethod: "PUT",
10707		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
10708	}
10709
10710	if input == nil {
10711		input = &UpdateDashboardInput{}
10712	}
10713
10714	output = &UpdateDashboardOutput{}
10715	req = c.newRequest(op, input, output)
10716	return
10717}
10718
10719// UpdateDashboard API operation for Amazon QuickSight.
10720//
10721// Updates a dashboard in an Amazon Web Services account.
10722//
10723// Updating a Dashboard creates a new dashboard version but does not immediately
10724// publish the new version. You can update the published version of a dashboard
10725// by using the UpdateDashboardPublishedVersion API operation.
10726//
10727// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10728// with awserr.Error's Code and Message methods to get detailed information about
10729// the error.
10730//
10731// See the AWS API reference guide for Amazon QuickSight's
10732// API operation UpdateDashboard for usage and error information.
10733//
10734// Returned Error Types:
10735//   * ThrottlingException
10736//   Access is throttled.
10737//
10738//   * InvalidParameterValueException
10739//   One or more parameters has a value that isn't valid.
10740//
10741//   * ResourceNotFoundException
10742//   One or more resources can't be found.
10743//
10744//   * ConflictException
10745//   Updating or deleting a resource can cause an inconsistent state.
10746//
10747//   * LimitExceededException
10748//   A limit is exceeded.
10749//
10750//   * UnsupportedUserEditionException
10751//   This error indicates that you are calling an operation on an Amazon QuickSight
10752//   subscription where the edition doesn't include support for that operation.
10753//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
10754//   Not every operation and capability is available in every edition.
10755//
10756//   * InternalFailureException
10757//   An internal failure occurred.
10758//
10759// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboard
10760func (c *QuickSight) UpdateDashboard(input *UpdateDashboardInput) (*UpdateDashboardOutput, error) {
10761	req, out := c.UpdateDashboardRequest(input)
10762	return out, req.Send()
10763}
10764
10765// UpdateDashboardWithContext is the same as UpdateDashboard with the addition of
10766// the ability to pass a context and additional request options.
10767//
10768// See UpdateDashboard for details on how to use this API operation.
10769//
10770// The context must be non-nil and will be used for request cancellation. If
10771// the context is nil a panic will occur. In the future the SDK may create
10772// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10773// for more information on using Contexts.
10774func (c *QuickSight) UpdateDashboardWithContext(ctx aws.Context, input *UpdateDashboardInput, opts ...request.Option) (*UpdateDashboardOutput, error) {
10775	req, out := c.UpdateDashboardRequest(input)
10776	req.SetContext(ctx)
10777	req.ApplyOptions(opts...)
10778	return out, req.Send()
10779}
10780
10781const opUpdateDashboardPermissions = "UpdateDashboardPermissions"
10782
10783// UpdateDashboardPermissionsRequest generates a "aws/request.Request" representing the
10784// client's request for the UpdateDashboardPermissions operation. The "output" return
10785// value will be populated with the request's response once the request completes
10786// successfully.
10787//
10788// Use "Send" method on the returned Request to send the API call to the service.
10789// the "output" return value is not valid until after Send returns without error.
10790//
10791// See UpdateDashboardPermissions for more information on using the UpdateDashboardPermissions
10792// API call, and error handling.
10793//
10794// This method is useful when you want to inject custom logic or configuration
10795// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10796//
10797//
10798//    // Example sending a request using the UpdateDashboardPermissionsRequest method.
10799//    req, resp := client.UpdateDashboardPermissionsRequest(params)
10800//
10801//    err := req.Send()
10802//    if err == nil { // resp is now filled
10803//        fmt.Println(resp)
10804//    }
10805//
10806// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPermissions
10807func (c *QuickSight) UpdateDashboardPermissionsRequest(input *UpdateDashboardPermissionsInput) (req *request.Request, output *UpdateDashboardPermissionsOutput) {
10808	op := &request.Operation{
10809		Name:       opUpdateDashboardPermissions,
10810		HTTPMethod: "PUT",
10811		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions",
10812	}
10813
10814	if input == nil {
10815		input = &UpdateDashboardPermissionsInput{}
10816	}
10817
10818	output = &UpdateDashboardPermissionsOutput{}
10819	req = c.newRequest(op, input, output)
10820	return
10821}
10822
10823// UpdateDashboardPermissions API operation for Amazon QuickSight.
10824//
10825// Updates read and write permissions on a dashboard.
10826//
10827// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10828// with awserr.Error's Code and Message methods to get detailed information about
10829// the error.
10830//
10831// See the AWS API reference guide for Amazon QuickSight's
10832// API operation UpdateDashboardPermissions for usage and error information.
10833//
10834// Returned Error Types:
10835//   * ThrottlingException
10836//   Access is throttled.
10837//
10838//   * InvalidParameterValueException
10839//   One or more parameters has a value that isn't valid.
10840//
10841//   * ResourceNotFoundException
10842//   One or more resources can't be found.
10843//
10844//   * UnsupportedUserEditionException
10845//   This error indicates that you are calling an operation on an Amazon QuickSight
10846//   subscription where the edition doesn't include support for that operation.
10847//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
10848//   Not every operation and capability is available in every edition.
10849//
10850//   * ConflictException
10851//   Updating or deleting a resource can cause an inconsistent state.
10852//
10853//   * InternalFailureException
10854//   An internal failure occurred.
10855//
10856// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPermissions
10857func (c *QuickSight) UpdateDashboardPermissions(input *UpdateDashboardPermissionsInput) (*UpdateDashboardPermissionsOutput, error) {
10858	req, out := c.UpdateDashboardPermissionsRequest(input)
10859	return out, req.Send()
10860}
10861
10862// UpdateDashboardPermissionsWithContext is the same as UpdateDashboardPermissions with the addition of
10863// the ability to pass a context and additional request options.
10864//
10865// See UpdateDashboardPermissions for details on how to use this API operation.
10866//
10867// The context must be non-nil and will be used for request cancellation. If
10868// the context is nil a panic will occur. In the future the SDK may create
10869// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10870// for more information on using Contexts.
10871func (c *QuickSight) UpdateDashboardPermissionsWithContext(ctx aws.Context, input *UpdateDashboardPermissionsInput, opts ...request.Option) (*UpdateDashboardPermissionsOutput, error) {
10872	req, out := c.UpdateDashboardPermissionsRequest(input)
10873	req.SetContext(ctx)
10874	req.ApplyOptions(opts...)
10875	return out, req.Send()
10876}
10877
10878const opUpdateDashboardPublishedVersion = "UpdateDashboardPublishedVersion"
10879
10880// UpdateDashboardPublishedVersionRequest generates a "aws/request.Request" representing the
10881// client's request for the UpdateDashboardPublishedVersion operation. The "output" return
10882// value will be populated with the request's response once the request completes
10883// successfully.
10884//
10885// Use "Send" method on the returned Request to send the API call to the service.
10886// the "output" return value is not valid until after Send returns without error.
10887//
10888// See UpdateDashboardPublishedVersion for more information on using the UpdateDashboardPublishedVersion
10889// API call, and error handling.
10890//
10891// This method is useful when you want to inject custom logic or configuration
10892// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10893//
10894//
10895//    // Example sending a request using the UpdateDashboardPublishedVersionRequest method.
10896//    req, resp := client.UpdateDashboardPublishedVersionRequest(params)
10897//
10898//    err := req.Send()
10899//    if err == nil { // resp is now filled
10900//        fmt.Println(resp)
10901//    }
10902//
10903// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPublishedVersion
10904func (c *QuickSight) UpdateDashboardPublishedVersionRequest(input *UpdateDashboardPublishedVersionInput) (req *request.Request, output *UpdateDashboardPublishedVersionOutput) {
10905	op := &request.Operation{
10906		Name:       opUpdateDashboardPublishedVersion,
10907		HTTPMethod: "PUT",
10908		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions/{VersionNumber}",
10909	}
10910
10911	if input == nil {
10912		input = &UpdateDashboardPublishedVersionInput{}
10913	}
10914
10915	output = &UpdateDashboardPublishedVersionOutput{}
10916	req = c.newRequest(op, input, output)
10917	return
10918}
10919
10920// UpdateDashboardPublishedVersion API operation for Amazon QuickSight.
10921//
10922// Updates the published version of a dashboard.
10923//
10924// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10925// with awserr.Error's Code and Message methods to get detailed information about
10926// the error.
10927//
10928// See the AWS API reference guide for Amazon QuickSight's
10929// API operation UpdateDashboardPublishedVersion for usage and error information.
10930//
10931// Returned Error Types:
10932//   * InvalidParameterValueException
10933//   One or more parameters has a value that isn't valid.
10934//
10935//   * ThrottlingException
10936//   Access is throttled.
10937//
10938//   * ConflictException
10939//   Updating or deleting a resource can cause an inconsistent state.
10940//
10941//   * ResourceNotFoundException
10942//   One or more resources can't be found.
10943//
10944//   * UnsupportedUserEditionException
10945//   This error indicates that you are calling an operation on an Amazon QuickSight
10946//   subscription where the edition doesn't include support for that operation.
10947//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
10948//   Not every operation and capability is available in every edition.
10949//
10950//   * InternalFailureException
10951//   An internal failure occurred.
10952//
10953// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPublishedVersion
10954func (c *QuickSight) UpdateDashboardPublishedVersion(input *UpdateDashboardPublishedVersionInput) (*UpdateDashboardPublishedVersionOutput, error) {
10955	req, out := c.UpdateDashboardPublishedVersionRequest(input)
10956	return out, req.Send()
10957}
10958
10959// UpdateDashboardPublishedVersionWithContext is the same as UpdateDashboardPublishedVersion with the addition of
10960// the ability to pass a context and additional request options.
10961//
10962// See UpdateDashboardPublishedVersion for details on how to use this API operation.
10963//
10964// The context must be non-nil and will be used for request cancellation. If
10965// the context is nil a panic will occur. In the future the SDK may create
10966// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10967// for more information on using Contexts.
10968func (c *QuickSight) UpdateDashboardPublishedVersionWithContext(ctx aws.Context, input *UpdateDashboardPublishedVersionInput, opts ...request.Option) (*UpdateDashboardPublishedVersionOutput, error) {
10969	req, out := c.UpdateDashboardPublishedVersionRequest(input)
10970	req.SetContext(ctx)
10971	req.ApplyOptions(opts...)
10972	return out, req.Send()
10973}
10974
10975const opUpdateDataSet = "UpdateDataSet"
10976
10977// UpdateDataSetRequest generates a "aws/request.Request" representing the
10978// client's request for the UpdateDataSet operation. The "output" return
10979// value will be populated with the request's response once the request completes
10980// successfully.
10981//
10982// Use "Send" method on the returned Request to send the API call to the service.
10983// the "output" return value is not valid until after Send returns without error.
10984//
10985// See UpdateDataSet for more information on using the UpdateDataSet
10986// API call, and error handling.
10987//
10988// This method is useful when you want to inject custom logic or configuration
10989// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10990//
10991//
10992//    // Example sending a request using the UpdateDataSetRequest method.
10993//    req, resp := client.UpdateDataSetRequest(params)
10994//
10995//    err := req.Send()
10996//    if err == nil { // resp is now filled
10997//        fmt.Println(resp)
10998//    }
10999//
11000// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSet
11001func (c *QuickSight) UpdateDataSetRequest(input *UpdateDataSetInput) (req *request.Request, output *UpdateDataSetOutput) {
11002	op := &request.Operation{
11003		Name:       opUpdateDataSet,
11004		HTTPMethod: "PUT",
11005		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}",
11006	}
11007
11008	if input == nil {
11009		input = &UpdateDataSetInput{}
11010	}
11011
11012	output = &UpdateDataSetOutput{}
11013	req = c.newRequest(op, input, output)
11014	return
11015}
11016
11017// UpdateDataSet API operation for Amazon QuickSight.
11018//
11019// Updates a dataset.
11020//
11021// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11022// with awserr.Error's Code and Message methods to get detailed information about
11023// the error.
11024//
11025// See the AWS API reference guide for Amazon QuickSight's
11026// API operation UpdateDataSet for usage and error information.
11027//
11028// Returned Error Types:
11029//   * AccessDeniedException
11030//   You don't have access to this item. The provided credentials couldn't be
11031//   validated. You might not be authorized to carry out the request. Make sure
11032//   that your account is authorized to use the Amazon QuickSight service, that
11033//   your policies have the correct permissions, and that you are using the correct
11034//   access keys.
11035//
11036//   * ConflictException
11037//   Updating or deleting a resource can cause an inconsistent state.
11038//
11039//   * InvalidParameterValueException
11040//   One or more parameters has a value that isn't valid.
11041//
11042//   * LimitExceededException
11043//   A limit is exceeded.
11044//
11045//   * ThrottlingException
11046//   Access is throttled.
11047//
11048//   * ResourceNotFoundException
11049//   One or more resources can't be found.
11050//
11051//   * UnsupportedUserEditionException
11052//   This error indicates that you are calling an operation on an Amazon QuickSight
11053//   subscription where the edition doesn't include support for that operation.
11054//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
11055//   Not every operation and capability is available in every edition.
11056//
11057//   * InternalFailureException
11058//   An internal failure occurred.
11059//
11060// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSet
11061func (c *QuickSight) UpdateDataSet(input *UpdateDataSetInput) (*UpdateDataSetOutput, error) {
11062	req, out := c.UpdateDataSetRequest(input)
11063	return out, req.Send()
11064}
11065
11066// UpdateDataSetWithContext is the same as UpdateDataSet with the addition of
11067// the ability to pass a context and additional request options.
11068//
11069// See UpdateDataSet for details on how to use this API operation.
11070//
11071// The context must be non-nil and will be used for request cancellation. If
11072// the context is nil a panic will occur. In the future the SDK may create
11073// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11074// for more information on using Contexts.
11075func (c *QuickSight) UpdateDataSetWithContext(ctx aws.Context, input *UpdateDataSetInput, opts ...request.Option) (*UpdateDataSetOutput, error) {
11076	req, out := c.UpdateDataSetRequest(input)
11077	req.SetContext(ctx)
11078	req.ApplyOptions(opts...)
11079	return out, req.Send()
11080}
11081
11082const opUpdateDataSetPermissions = "UpdateDataSetPermissions"
11083
11084// UpdateDataSetPermissionsRequest generates a "aws/request.Request" representing the
11085// client's request for the UpdateDataSetPermissions operation. The "output" return
11086// value will be populated with the request's response once the request completes
11087// successfully.
11088//
11089// Use "Send" method on the returned Request to send the API call to the service.
11090// the "output" return value is not valid until after Send returns without error.
11091//
11092// See UpdateDataSetPermissions for more information on using the UpdateDataSetPermissions
11093// API call, and error handling.
11094//
11095// This method is useful when you want to inject custom logic or configuration
11096// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11097//
11098//
11099//    // Example sending a request using the UpdateDataSetPermissionsRequest method.
11100//    req, resp := client.UpdateDataSetPermissionsRequest(params)
11101//
11102//    err := req.Send()
11103//    if err == nil { // resp is now filled
11104//        fmt.Println(resp)
11105//    }
11106//
11107// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSetPermissions
11108func (c *QuickSight) UpdateDataSetPermissionsRequest(input *UpdateDataSetPermissionsInput) (req *request.Request, output *UpdateDataSetPermissionsOutput) {
11109	op := &request.Operation{
11110		Name:       opUpdateDataSetPermissions,
11111		HTTPMethod: "POST",
11112		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions",
11113	}
11114
11115	if input == nil {
11116		input = &UpdateDataSetPermissionsInput{}
11117	}
11118
11119	output = &UpdateDataSetPermissionsOutput{}
11120	req = c.newRequest(op, input, output)
11121	return
11122}
11123
11124// UpdateDataSetPermissions API operation for Amazon QuickSight.
11125//
11126// Updates the permissions on a dataset.
11127//
11128// The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/data-set-id.
11129//
11130// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11131// with awserr.Error's Code and Message methods to get detailed information about
11132// the error.
11133//
11134// See the AWS API reference guide for Amazon QuickSight's
11135// API operation UpdateDataSetPermissions for usage and error information.
11136//
11137// Returned Error Types:
11138//   * AccessDeniedException
11139//   You don't have access to this item. The provided credentials couldn't be
11140//   validated. You might not be authorized to carry out the request. Make sure
11141//   that your account is authorized to use the Amazon QuickSight service, that
11142//   your policies have the correct permissions, and that you are using the correct
11143//   access keys.
11144//
11145//   * ConflictException
11146//   Updating or deleting a resource can cause an inconsistent state.
11147//
11148//   * InvalidParameterValueException
11149//   One or more parameters has a value that isn't valid.
11150//
11151//   * ResourceNotFoundException
11152//   One or more resources can't be found.
11153//
11154//   * ThrottlingException
11155//   Access is throttled.
11156//
11157//   * InternalFailureException
11158//   An internal failure occurred.
11159//
11160// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSetPermissions
11161func (c *QuickSight) UpdateDataSetPermissions(input *UpdateDataSetPermissionsInput) (*UpdateDataSetPermissionsOutput, error) {
11162	req, out := c.UpdateDataSetPermissionsRequest(input)
11163	return out, req.Send()
11164}
11165
11166// UpdateDataSetPermissionsWithContext is the same as UpdateDataSetPermissions with the addition of
11167// the ability to pass a context and additional request options.
11168//
11169// See UpdateDataSetPermissions for details on how to use this API operation.
11170//
11171// The context must be non-nil and will be used for request cancellation. If
11172// the context is nil a panic will occur. In the future the SDK may create
11173// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11174// for more information on using Contexts.
11175func (c *QuickSight) UpdateDataSetPermissionsWithContext(ctx aws.Context, input *UpdateDataSetPermissionsInput, opts ...request.Option) (*UpdateDataSetPermissionsOutput, error) {
11176	req, out := c.UpdateDataSetPermissionsRequest(input)
11177	req.SetContext(ctx)
11178	req.ApplyOptions(opts...)
11179	return out, req.Send()
11180}
11181
11182const opUpdateDataSource = "UpdateDataSource"
11183
11184// UpdateDataSourceRequest generates a "aws/request.Request" representing the
11185// client's request for the UpdateDataSource operation. The "output" return
11186// value will be populated with the request's response once the request completes
11187// successfully.
11188//
11189// Use "Send" method on the returned Request to send the API call to the service.
11190// the "output" return value is not valid until after Send returns without error.
11191//
11192// See UpdateDataSource for more information on using the UpdateDataSource
11193// API call, and error handling.
11194//
11195// This method is useful when you want to inject custom logic or configuration
11196// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11197//
11198//
11199//    // Example sending a request using the UpdateDataSourceRequest method.
11200//    req, resp := client.UpdateDataSourceRequest(params)
11201//
11202//    err := req.Send()
11203//    if err == nil { // resp is now filled
11204//        fmt.Println(resp)
11205//    }
11206//
11207// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSource
11208func (c *QuickSight) UpdateDataSourceRequest(input *UpdateDataSourceInput) (req *request.Request, output *UpdateDataSourceOutput) {
11209	op := &request.Operation{
11210		Name:       opUpdateDataSource,
11211		HTTPMethod: "PUT",
11212		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}",
11213	}
11214
11215	if input == nil {
11216		input = &UpdateDataSourceInput{}
11217	}
11218
11219	output = &UpdateDataSourceOutput{}
11220	req = c.newRequest(op, input, output)
11221	return
11222}
11223
11224// UpdateDataSource API operation for Amazon QuickSight.
11225//
11226// Updates a data source.
11227//
11228// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11229// with awserr.Error's Code and Message methods to get detailed information about
11230// the error.
11231//
11232// See the AWS API reference guide for Amazon QuickSight's
11233// API operation UpdateDataSource for usage and error information.
11234//
11235// Returned Error Types:
11236//   * AccessDeniedException
11237//   You don't have access to this item. The provided credentials couldn't be
11238//   validated. You might not be authorized to carry out the request. Make sure
11239//   that your account is authorized to use the Amazon QuickSight service, that
11240//   your policies have the correct permissions, and that you are using the correct
11241//   access keys.
11242//
11243//   * ConflictException
11244//   Updating or deleting a resource can cause an inconsistent state.
11245//
11246//   * InvalidParameterValueException
11247//   One or more parameters has a value that isn't valid.
11248//
11249//   * ThrottlingException
11250//   Access is throttled.
11251//
11252//   * ResourceNotFoundException
11253//   One or more resources can't be found.
11254//
11255//   * InternalFailureException
11256//   An internal failure occurred.
11257//
11258// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSource
11259func (c *QuickSight) UpdateDataSource(input *UpdateDataSourceInput) (*UpdateDataSourceOutput, error) {
11260	req, out := c.UpdateDataSourceRequest(input)
11261	return out, req.Send()
11262}
11263
11264// UpdateDataSourceWithContext is the same as UpdateDataSource with the addition of
11265// the ability to pass a context and additional request options.
11266//
11267// See UpdateDataSource for details on how to use this API operation.
11268//
11269// The context must be non-nil and will be used for request cancellation. If
11270// the context is nil a panic will occur. In the future the SDK may create
11271// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11272// for more information on using Contexts.
11273func (c *QuickSight) UpdateDataSourceWithContext(ctx aws.Context, input *UpdateDataSourceInput, opts ...request.Option) (*UpdateDataSourceOutput, error) {
11274	req, out := c.UpdateDataSourceRequest(input)
11275	req.SetContext(ctx)
11276	req.ApplyOptions(opts...)
11277	return out, req.Send()
11278}
11279
11280const opUpdateDataSourcePermissions = "UpdateDataSourcePermissions"
11281
11282// UpdateDataSourcePermissionsRequest generates a "aws/request.Request" representing the
11283// client's request for the UpdateDataSourcePermissions operation. The "output" return
11284// value will be populated with the request's response once the request completes
11285// successfully.
11286//
11287// Use "Send" method on the returned Request to send the API call to the service.
11288// the "output" return value is not valid until after Send returns without error.
11289//
11290// See UpdateDataSourcePermissions for more information on using the UpdateDataSourcePermissions
11291// API call, and error handling.
11292//
11293// This method is useful when you want to inject custom logic or configuration
11294// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11295//
11296//
11297//    // Example sending a request using the UpdateDataSourcePermissionsRequest method.
11298//    req, resp := client.UpdateDataSourcePermissionsRequest(params)
11299//
11300//    err := req.Send()
11301//    if err == nil { // resp is now filled
11302//        fmt.Println(resp)
11303//    }
11304//
11305// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSourcePermissions
11306func (c *QuickSight) UpdateDataSourcePermissionsRequest(input *UpdateDataSourcePermissionsInput) (req *request.Request, output *UpdateDataSourcePermissionsOutput) {
11307	op := &request.Operation{
11308		Name:       opUpdateDataSourcePermissions,
11309		HTTPMethod: "POST",
11310		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions",
11311	}
11312
11313	if input == nil {
11314		input = &UpdateDataSourcePermissionsInput{}
11315	}
11316
11317	output = &UpdateDataSourcePermissionsOutput{}
11318	req = c.newRequest(op, input, output)
11319	return
11320}
11321
11322// UpdateDataSourcePermissions API operation for Amazon QuickSight.
11323//
11324// Updates the permissions to a data source.
11325//
11326// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11327// with awserr.Error's Code and Message methods to get detailed information about
11328// the error.
11329//
11330// See the AWS API reference guide for Amazon QuickSight's
11331// API operation UpdateDataSourcePermissions for usage and error information.
11332//
11333// Returned Error Types:
11334//   * AccessDeniedException
11335//   You don't have access to this item. The provided credentials couldn't be
11336//   validated. You might not be authorized to carry out the request. Make sure
11337//   that your account is authorized to use the Amazon QuickSight service, that
11338//   your policies have the correct permissions, and that you are using the correct
11339//   access keys.
11340//
11341//   * ConflictException
11342//   Updating or deleting a resource can cause an inconsistent state.
11343//
11344//   * InvalidParameterValueException
11345//   One or more parameters has a value that isn't valid.
11346//
11347//   * ResourceNotFoundException
11348//   One or more resources can't be found.
11349//
11350//   * ThrottlingException
11351//   Access is throttled.
11352//
11353//   * InternalFailureException
11354//   An internal failure occurred.
11355//
11356// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSourcePermissions
11357func (c *QuickSight) UpdateDataSourcePermissions(input *UpdateDataSourcePermissionsInput) (*UpdateDataSourcePermissionsOutput, error) {
11358	req, out := c.UpdateDataSourcePermissionsRequest(input)
11359	return out, req.Send()
11360}
11361
11362// UpdateDataSourcePermissionsWithContext is the same as UpdateDataSourcePermissions with the addition of
11363// the ability to pass a context and additional request options.
11364//
11365// See UpdateDataSourcePermissions for details on how to use this API operation.
11366//
11367// The context must be non-nil and will be used for request cancellation. If
11368// the context is nil a panic will occur. In the future the SDK may create
11369// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11370// for more information on using Contexts.
11371func (c *QuickSight) UpdateDataSourcePermissionsWithContext(ctx aws.Context, input *UpdateDataSourcePermissionsInput, opts ...request.Option) (*UpdateDataSourcePermissionsOutput, error) {
11372	req, out := c.UpdateDataSourcePermissionsRequest(input)
11373	req.SetContext(ctx)
11374	req.ApplyOptions(opts...)
11375	return out, req.Send()
11376}
11377
11378const opUpdateFolder = "UpdateFolder"
11379
11380// UpdateFolderRequest generates a "aws/request.Request" representing the
11381// client's request for the UpdateFolder operation. The "output" return
11382// value will be populated with the request's response once the request completes
11383// successfully.
11384//
11385// Use "Send" method on the returned Request to send the API call to the service.
11386// the "output" return value is not valid until after Send returns without error.
11387//
11388// See UpdateFolder for more information on using the UpdateFolder
11389// API call, and error handling.
11390//
11391// This method is useful when you want to inject custom logic or configuration
11392// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11393//
11394//
11395//    // Example sending a request using the UpdateFolderRequest method.
11396//    req, resp := client.UpdateFolderRequest(params)
11397//
11398//    err := req.Send()
11399//    if err == nil { // resp is now filled
11400//        fmt.Println(resp)
11401//    }
11402//
11403// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateFolder
11404func (c *QuickSight) UpdateFolderRequest(input *UpdateFolderInput) (req *request.Request, output *UpdateFolderOutput) {
11405	op := &request.Operation{
11406		Name:       opUpdateFolder,
11407		HTTPMethod: "PUT",
11408		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}",
11409	}
11410
11411	if input == nil {
11412		input = &UpdateFolderInput{}
11413	}
11414
11415	output = &UpdateFolderOutput{}
11416	req = c.newRequest(op, input, output)
11417	return
11418}
11419
11420// UpdateFolder API operation for Amazon QuickSight.
11421//
11422// Updates the name of a folder.
11423//
11424// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11425// with awserr.Error's Code and Message methods to get detailed information about
11426// the error.
11427//
11428// See the AWS API reference guide for Amazon QuickSight's
11429// API operation UpdateFolder for usage and error information.
11430//
11431// Returned Error Types:
11432//   * InvalidParameterValueException
11433//   One or more parameters has a value that isn't valid.
11434//
11435//   * AccessDeniedException
11436//   You don't have access to this item. The provided credentials couldn't be
11437//   validated. You might not be authorized to carry out the request. Make sure
11438//   that your account is authorized to use the Amazon QuickSight service, that
11439//   your policies have the correct permissions, and that you are using the correct
11440//   access keys.
11441//
11442//   * ResourceExistsException
11443//   The resource specified already exists.
11444//
11445//   * ResourceNotFoundException
11446//   One or more resources can't be found.
11447//
11448//   * ConflictException
11449//   Updating or deleting a resource can cause an inconsistent state.
11450//
11451//   * ThrottlingException
11452//   Access is throttled.
11453//
11454//   * UnsupportedUserEditionException
11455//   This error indicates that you are calling an operation on an Amazon QuickSight
11456//   subscription where the edition doesn't include support for that operation.
11457//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
11458//   Not every operation and capability is available in every edition.
11459//
11460//   * InternalFailureException
11461//   An internal failure occurred.
11462//
11463// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateFolder
11464func (c *QuickSight) UpdateFolder(input *UpdateFolderInput) (*UpdateFolderOutput, error) {
11465	req, out := c.UpdateFolderRequest(input)
11466	return out, req.Send()
11467}
11468
11469// UpdateFolderWithContext is the same as UpdateFolder with the addition of
11470// the ability to pass a context and additional request options.
11471//
11472// See UpdateFolder for details on how to use this API operation.
11473//
11474// The context must be non-nil and will be used for request cancellation. If
11475// the context is nil a panic will occur. In the future the SDK may create
11476// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11477// for more information on using Contexts.
11478func (c *QuickSight) UpdateFolderWithContext(ctx aws.Context, input *UpdateFolderInput, opts ...request.Option) (*UpdateFolderOutput, error) {
11479	req, out := c.UpdateFolderRequest(input)
11480	req.SetContext(ctx)
11481	req.ApplyOptions(opts...)
11482	return out, req.Send()
11483}
11484
11485const opUpdateFolderPermissions = "UpdateFolderPermissions"
11486
11487// UpdateFolderPermissionsRequest generates a "aws/request.Request" representing the
11488// client's request for the UpdateFolderPermissions operation. The "output" return
11489// value will be populated with the request's response once the request completes
11490// successfully.
11491//
11492// Use "Send" method on the returned Request to send the API call to the service.
11493// the "output" return value is not valid until after Send returns without error.
11494//
11495// See UpdateFolderPermissions for more information on using the UpdateFolderPermissions
11496// API call, and error handling.
11497//
11498// This method is useful when you want to inject custom logic or configuration
11499// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11500//
11501//
11502//    // Example sending a request using the UpdateFolderPermissionsRequest method.
11503//    req, resp := client.UpdateFolderPermissionsRequest(params)
11504//
11505//    err := req.Send()
11506//    if err == nil { // resp is now filled
11507//        fmt.Println(resp)
11508//    }
11509//
11510// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateFolderPermissions
11511func (c *QuickSight) UpdateFolderPermissionsRequest(input *UpdateFolderPermissionsInput) (req *request.Request, output *UpdateFolderPermissionsOutput) {
11512	op := &request.Operation{
11513		Name:       opUpdateFolderPermissions,
11514		HTTPMethod: "PUT",
11515		HTTPPath:   "/accounts/{AwsAccountId}/folders/{FolderId}/permissions",
11516	}
11517
11518	if input == nil {
11519		input = &UpdateFolderPermissionsInput{}
11520	}
11521
11522	output = &UpdateFolderPermissionsOutput{}
11523	req = c.newRequest(op, input, output)
11524	return
11525}
11526
11527// UpdateFolderPermissions API operation for Amazon QuickSight.
11528//
11529// Updates permissions of a folder.
11530//
11531// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11532// with awserr.Error's Code and Message methods to get detailed information about
11533// the error.
11534//
11535// See the AWS API reference guide for Amazon QuickSight's
11536// API operation UpdateFolderPermissions for usage and error information.
11537//
11538// Returned Error Types:
11539//   * InvalidParameterValueException
11540//   One or more parameters has a value that isn't valid.
11541//
11542//   * AccessDeniedException
11543//   You don't have access to this item. The provided credentials couldn't be
11544//   validated. You might not be authorized to carry out the request. Make sure
11545//   that your account is authorized to use the Amazon QuickSight service, that
11546//   your policies have the correct permissions, and that you are using the correct
11547//   access keys.
11548//
11549//   * LimitExceededException
11550//   A limit is exceeded.
11551//
11552//   * ResourceNotFoundException
11553//   One or more resources can't be found.
11554//
11555//   * ThrottlingException
11556//   Access is throttled.
11557//
11558//   * UnsupportedUserEditionException
11559//   This error indicates that you are calling an operation on an Amazon QuickSight
11560//   subscription where the edition doesn't include support for that operation.
11561//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
11562//   Not every operation and capability is available in every edition.
11563//
11564//   * InternalFailureException
11565//   An internal failure occurred.
11566//
11567// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateFolderPermissions
11568func (c *QuickSight) UpdateFolderPermissions(input *UpdateFolderPermissionsInput) (*UpdateFolderPermissionsOutput, error) {
11569	req, out := c.UpdateFolderPermissionsRequest(input)
11570	return out, req.Send()
11571}
11572
11573// UpdateFolderPermissionsWithContext is the same as UpdateFolderPermissions with the addition of
11574// the ability to pass a context and additional request options.
11575//
11576// See UpdateFolderPermissions for details on how to use this API operation.
11577//
11578// The context must be non-nil and will be used for request cancellation. If
11579// the context is nil a panic will occur. In the future the SDK may create
11580// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11581// for more information on using Contexts.
11582func (c *QuickSight) UpdateFolderPermissionsWithContext(ctx aws.Context, input *UpdateFolderPermissionsInput, opts ...request.Option) (*UpdateFolderPermissionsOutput, error) {
11583	req, out := c.UpdateFolderPermissionsRequest(input)
11584	req.SetContext(ctx)
11585	req.ApplyOptions(opts...)
11586	return out, req.Send()
11587}
11588
11589const opUpdateGroup = "UpdateGroup"
11590
11591// UpdateGroupRequest generates a "aws/request.Request" representing the
11592// client's request for the UpdateGroup operation. The "output" return
11593// value will be populated with the request's response once the request completes
11594// successfully.
11595//
11596// Use "Send" method on the returned Request to send the API call to the service.
11597// the "output" return value is not valid until after Send returns without error.
11598//
11599// See UpdateGroup for more information on using the UpdateGroup
11600// API call, and error handling.
11601//
11602// This method is useful when you want to inject custom logic or configuration
11603// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11604//
11605//
11606//    // Example sending a request using the UpdateGroupRequest method.
11607//    req, resp := client.UpdateGroupRequest(params)
11608//
11609//    err := req.Send()
11610//    if err == nil { // resp is now filled
11611//        fmt.Println(resp)
11612//    }
11613//
11614// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateGroup
11615func (c *QuickSight) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, output *UpdateGroupOutput) {
11616	op := &request.Operation{
11617		Name:       opUpdateGroup,
11618		HTTPMethod: "PUT",
11619		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}",
11620	}
11621
11622	if input == nil {
11623		input = &UpdateGroupInput{}
11624	}
11625
11626	output = &UpdateGroupOutput{}
11627	req = c.newRequest(op, input, output)
11628	return
11629}
11630
11631// UpdateGroup API operation for Amazon QuickSight.
11632//
11633// Changes a group description.
11634//
11635// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11636// with awserr.Error's Code and Message methods to get detailed information about
11637// the error.
11638//
11639// See the AWS API reference guide for Amazon QuickSight's
11640// API operation UpdateGroup for usage and error information.
11641//
11642// Returned Error Types:
11643//   * AccessDeniedException
11644//   You don't have access to this item. The provided credentials couldn't be
11645//   validated. You might not be authorized to carry out the request. Make sure
11646//   that your account is authorized to use the Amazon QuickSight service, that
11647//   your policies have the correct permissions, and that you are using the correct
11648//   access keys.
11649//
11650//   * InvalidParameterValueException
11651//   One or more parameters has a value that isn't valid.
11652//
11653//   * ResourceNotFoundException
11654//   One or more resources can't be found.
11655//
11656//   * ThrottlingException
11657//   Access is throttled.
11658//
11659//   * PreconditionNotMetException
11660//   One or more preconditions aren't met.
11661//
11662//   * InternalFailureException
11663//   An internal failure occurred.
11664//
11665//   * ResourceUnavailableException
11666//   This resource is currently unavailable.
11667//
11668// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateGroup
11669func (c *QuickSight) UpdateGroup(input *UpdateGroupInput) (*UpdateGroupOutput, error) {
11670	req, out := c.UpdateGroupRequest(input)
11671	return out, req.Send()
11672}
11673
11674// UpdateGroupWithContext is the same as UpdateGroup with the addition of
11675// the ability to pass a context and additional request options.
11676//
11677// See UpdateGroup for details on how to use this API operation.
11678//
11679// The context must be non-nil and will be used for request cancellation. If
11680// the context is nil a panic will occur. In the future the SDK may create
11681// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11682// for more information on using Contexts.
11683func (c *QuickSight) UpdateGroupWithContext(ctx aws.Context, input *UpdateGroupInput, opts ...request.Option) (*UpdateGroupOutput, error) {
11684	req, out := c.UpdateGroupRequest(input)
11685	req.SetContext(ctx)
11686	req.ApplyOptions(opts...)
11687	return out, req.Send()
11688}
11689
11690const opUpdateIAMPolicyAssignment = "UpdateIAMPolicyAssignment"
11691
11692// UpdateIAMPolicyAssignmentRequest generates a "aws/request.Request" representing the
11693// client's request for the UpdateIAMPolicyAssignment operation. The "output" return
11694// value will be populated with the request's response once the request completes
11695// successfully.
11696//
11697// Use "Send" method on the returned Request to send the API call to the service.
11698// the "output" return value is not valid until after Send returns without error.
11699//
11700// See UpdateIAMPolicyAssignment for more information on using the UpdateIAMPolicyAssignment
11701// API call, and error handling.
11702//
11703// This method is useful when you want to inject custom logic or configuration
11704// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11705//
11706//
11707//    // Example sending a request using the UpdateIAMPolicyAssignmentRequest method.
11708//    req, resp := client.UpdateIAMPolicyAssignmentRequest(params)
11709//
11710//    err := req.Send()
11711//    if err == nil { // resp is now filled
11712//        fmt.Println(resp)
11713//    }
11714//
11715// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateIAMPolicyAssignment
11716func (c *QuickSight) UpdateIAMPolicyAssignmentRequest(input *UpdateIAMPolicyAssignmentInput) (req *request.Request, output *UpdateIAMPolicyAssignmentOutput) {
11717	op := &request.Operation{
11718		Name:       opUpdateIAMPolicyAssignment,
11719		HTTPMethod: "PUT",
11720		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}",
11721	}
11722
11723	if input == nil {
11724		input = &UpdateIAMPolicyAssignmentInput{}
11725	}
11726
11727	output = &UpdateIAMPolicyAssignmentOutput{}
11728	req = c.newRequest(op, input, output)
11729	return
11730}
11731
11732// UpdateIAMPolicyAssignment API operation for Amazon QuickSight.
11733//
11734// Updates an existing IAMpolicy assignment. This operation updates only the
11735// optional parameter or parameters that are specified in the request. This
11736// overwrites all of the users included in Identities.
11737//
11738// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11739// with awserr.Error's Code and Message methods to get detailed information about
11740// the error.
11741//
11742// See the AWS API reference guide for Amazon QuickSight's
11743// API operation UpdateIAMPolicyAssignment for usage and error information.
11744//
11745// Returned Error Types:
11746//   * AccessDeniedException
11747//   You don't have access to this item. The provided credentials couldn't be
11748//   validated. You might not be authorized to carry out the request. Make sure
11749//   that your account is authorized to use the Amazon QuickSight service, that
11750//   your policies have the correct permissions, and that you are using the correct
11751//   access keys.
11752//
11753//   * InvalidParameterValueException
11754//   One or more parameters has a value that isn't valid.
11755//
11756//   * ResourceExistsException
11757//   The resource specified already exists.
11758//
11759//   * ResourceNotFoundException
11760//   One or more resources can't be found.
11761//
11762//   * ThrottlingException
11763//   Access is throttled.
11764//
11765//   * ConcurrentUpdatingException
11766//   A resource is already in a state that indicates an operation is happening
11767//   that must complete before a new update can be applied.
11768//
11769//   * InternalFailureException
11770//   An internal failure occurred.
11771//
11772// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateIAMPolicyAssignment
11773func (c *QuickSight) UpdateIAMPolicyAssignment(input *UpdateIAMPolicyAssignmentInput) (*UpdateIAMPolicyAssignmentOutput, error) {
11774	req, out := c.UpdateIAMPolicyAssignmentRequest(input)
11775	return out, req.Send()
11776}
11777
11778// UpdateIAMPolicyAssignmentWithContext is the same as UpdateIAMPolicyAssignment with the addition of
11779// the ability to pass a context and additional request options.
11780//
11781// See UpdateIAMPolicyAssignment for details on how to use this API operation.
11782//
11783// The context must be non-nil and will be used for request cancellation. If
11784// the context is nil a panic will occur. In the future the SDK may create
11785// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11786// for more information on using Contexts.
11787func (c *QuickSight) UpdateIAMPolicyAssignmentWithContext(ctx aws.Context, input *UpdateIAMPolicyAssignmentInput, opts ...request.Option) (*UpdateIAMPolicyAssignmentOutput, error) {
11788	req, out := c.UpdateIAMPolicyAssignmentRequest(input)
11789	req.SetContext(ctx)
11790	req.ApplyOptions(opts...)
11791	return out, req.Send()
11792}
11793
11794const opUpdateTemplate = "UpdateTemplate"
11795
11796// UpdateTemplateRequest generates a "aws/request.Request" representing the
11797// client's request for the UpdateTemplate operation. The "output" return
11798// value will be populated with the request's response once the request completes
11799// successfully.
11800//
11801// Use "Send" method on the returned Request to send the API call to the service.
11802// the "output" return value is not valid until after Send returns without error.
11803//
11804// See UpdateTemplate for more information on using the UpdateTemplate
11805// API call, and error handling.
11806//
11807// This method is useful when you want to inject custom logic or configuration
11808// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11809//
11810//
11811//    // Example sending a request using the UpdateTemplateRequest method.
11812//    req, resp := client.UpdateTemplateRequest(params)
11813//
11814//    err := req.Send()
11815//    if err == nil { // resp is now filled
11816//        fmt.Println(resp)
11817//    }
11818//
11819// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplate
11820func (c *QuickSight) UpdateTemplateRequest(input *UpdateTemplateInput) (req *request.Request, output *UpdateTemplateOutput) {
11821	op := &request.Operation{
11822		Name:       opUpdateTemplate,
11823		HTTPMethod: "PUT",
11824		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}",
11825	}
11826
11827	if input == nil {
11828		input = &UpdateTemplateInput{}
11829	}
11830
11831	output = &UpdateTemplateOutput{}
11832	req = c.newRequest(op, input, output)
11833	return
11834}
11835
11836// UpdateTemplate API operation for Amazon QuickSight.
11837//
11838// Updates a template from an existing Amazon QuickSight analysis or another
11839// template.
11840//
11841// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11842// with awserr.Error's Code and Message methods to get detailed information about
11843// the error.
11844//
11845// See the AWS API reference guide for Amazon QuickSight's
11846// API operation UpdateTemplate for usage and error information.
11847//
11848// Returned Error Types:
11849//   * InvalidParameterValueException
11850//   One or more parameters has a value that isn't valid.
11851//
11852//   * ResourceExistsException
11853//   The resource specified already exists.
11854//
11855//   * ResourceNotFoundException
11856//   One or more resources can't be found.
11857//
11858//   * ThrottlingException
11859//   Access is throttled.
11860//
11861//   * ConflictException
11862//   Updating or deleting a resource can cause an inconsistent state.
11863//
11864//   * LimitExceededException
11865//   A limit is exceeded.
11866//
11867//   * UnsupportedUserEditionException
11868//   This error indicates that you are calling an operation on an Amazon QuickSight
11869//   subscription where the edition doesn't include support for that operation.
11870//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
11871//   Not every operation and capability is available in every edition.
11872//
11873//   * InternalFailureException
11874//   An internal failure occurred.
11875//
11876// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplate
11877func (c *QuickSight) UpdateTemplate(input *UpdateTemplateInput) (*UpdateTemplateOutput, error) {
11878	req, out := c.UpdateTemplateRequest(input)
11879	return out, req.Send()
11880}
11881
11882// UpdateTemplateWithContext is the same as UpdateTemplate with the addition of
11883// the ability to pass a context and additional request options.
11884//
11885// See UpdateTemplate for details on how to use this API operation.
11886//
11887// The context must be non-nil and will be used for request cancellation. If
11888// the context is nil a panic will occur. In the future the SDK may create
11889// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11890// for more information on using Contexts.
11891func (c *QuickSight) UpdateTemplateWithContext(ctx aws.Context, input *UpdateTemplateInput, opts ...request.Option) (*UpdateTemplateOutput, error) {
11892	req, out := c.UpdateTemplateRequest(input)
11893	req.SetContext(ctx)
11894	req.ApplyOptions(opts...)
11895	return out, req.Send()
11896}
11897
11898const opUpdateTemplateAlias = "UpdateTemplateAlias"
11899
11900// UpdateTemplateAliasRequest generates a "aws/request.Request" representing the
11901// client's request for the UpdateTemplateAlias operation. The "output" return
11902// value will be populated with the request's response once the request completes
11903// successfully.
11904//
11905// Use "Send" method on the returned Request to send the API call to the service.
11906// the "output" return value is not valid until after Send returns without error.
11907//
11908// See UpdateTemplateAlias for more information on using the UpdateTemplateAlias
11909// API call, and error handling.
11910//
11911// This method is useful when you want to inject custom logic or configuration
11912// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11913//
11914//
11915//    // Example sending a request using the UpdateTemplateAliasRequest method.
11916//    req, resp := client.UpdateTemplateAliasRequest(params)
11917//
11918//    err := req.Send()
11919//    if err == nil { // resp is now filled
11920//        fmt.Println(resp)
11921//    }
11922//
11923// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplateAlias
11924func (c *QuickSight) UpdateTemplateAliasRequest(input *UpdateTemplateAliasInput) (req *request.Request, output *UpdateTemplateAliasOutput) {
11925	op := &request.Operation{
11926		Name:       opUpdateTemplateAlias,
11927		HTTPMethod: "PUT",
11928		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
11929	}
11930
11931	if input == nil {
11932		input = &UpdateTemplateAliasInput{}
11933	}
11934
11935	output = &UpdateTemplateAliasOutput{}
11936	req = c.newRequest(op, input, output)
11937	return
11938}
11939
11940// UpdateTemplateAlias API operation for Amazon QuickSight.
11941//
11942// Updates the template alias of a template.
11943//
11944// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11945// with awserr.Error's Code and Message methods to get detailed information about
11946// the error.
11947//
11948// See the AWS API reference guide for Amazon QuickSight's
11949// API operation UpdateTemplateAlias for usage and error information.
11950//
11951// Returned Error Types:
11952//   * ThrottlingException
11953//   Access is throttled.
11954//
11955//   * ResourceNotFoundException
11956//   One or more resources can't be found.
11957//
11958//   * ConflictException
11959//   Updating or deleting a resource can cause an inconsistent state.
11960//
11961//   * UnsupportedUserEditionException
11962//   This error indicates that you are calling an operation on an Amazon QuickSight
11963//   subscription where the edition doesn't include support for that operation.
11964//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
11965//   Not every operation and capability is available in every edition.
11966//
11967//   * ConflictException
11968//   Updating or deleting a resource can cause an inconsistent state.
11969//
11970//   * InternalFailureException
11971//   An internal failure occurred.
11972//
11973// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplateAlias
11974func (c *QuickSight) UpdateTemplateAlias(input *UpdateTemplateAliasInput) (*UpdateTemplateAliasOutput, error) {
11975	req, out := c.UpdateTemplateAliasRequest(input)
11976	return out, req.Send()
11977}
11978
11979// UpdateTemplateAliasWithContext is the same as UpdateTemplateAlias with the addition of
11980// the ability to pass a context and additional request options.
11981//
11982// See UpdateTemplateAlias for details on how to use this API operation.
11983//
11984// The context must be non-nil and will be used for request cancellation. If
11985// the context is nil a panic will occur. In the future the SDK may create
11986// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11987// for more information on using Contexts.
11988func (c *QuickSight) UpdateTemplateAliasWithContext(ctx aws.Context, input *UpdateTemplateAliasInput, opts ...request.Option) (*UpdateTemplateAliasOutput, error) {
11989	req, out := c.UpdateTemplateAliasRequest(input)
11990	req.SetContext(ctx)
11991	req.ApplyOptions(opts...)
11992	return out, req.Send()
11993}
11994
11995const opUpdateTemplatePermissions = "UpdateTemplatePermissions"
11996
11997// UpdateTemplatePermissionsRequest generates a "aws/request.Request" representing the
11998// client's request for the UpdateTemplatePermissions operation. The "output" return
11999// value will be populated with the request's response once the request completes
12000// successfully.
12001//
12002// Use "Send" method on the returned Request to send the API call to the service.
12003// the "output" return value is not valid until after Send returns without error.
12004//
12005// See UpdateTemplatePermissions for more information on using the UpdateTemplatePermissions
12006// API call, and error handling.
12007//
12008// This method is useful when you want to inject custom logic or configuration
12009// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12010//
12011//
12012//    // Example sending a request using the UpdateTemplatePermissionsRequest method.
12013//    req, resp := client.UpdateTemplatePermissionsRequest(params)
12014//
12015//    err := req.Send()
12016//    if err == nil { // resp is now filled
12017//        fmt.Println(resp)
12018//    }
12019//
12020// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplatePermissions
12021func (c *QuickSight) UpdateTemplatePermissionsRequest(input *UpdateTemplatePermissionsInput) (req *request.Request, output *UpdateTemplatePermissionsOutput) {
12022	op := &request.Operation{
12023		Name:       opUpdateTemplatePermissions,
12024		HTTPMethod: "PUT",
12025		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/permissions",
12026	}
12027
12028	if input == nil {
12029		input = &UpdateTemplatePermissionsInput{}
12030	}
12031
12032	output = &UpdateTemplatePermissionsOutput{}
12033	req = c.newRequest(op, input, output)
12034	return
12035}
12036
12037// UpdateTemplatePermissions API operation for Amazon QuickSight.
12038//
12039// Updates the resource permissions for a template.
12040//
12041// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12042// with awserr.Error's Code and Message methods to get detailed information about
12043// the error.
12044//
12045// See the AWS API reference guide for Amazon QuickSight's
12046// API operation UpdateTemplatePermissions for usage and error information.
12047//
12048// Returned Error Types:
12049//   * ThrottlingException
12050//   Access is throttled.
12051//
12052//   * InvalidParameterValueException
12053//   One or more parameters has a value that isn't valid.
12054//
12055//   * ConflictException
12056//   Updating or deleting a resource can cause an inconsistent state.
12057//
12058//   * ResourceNotFoundException
12059//   One or more resources can't be found.
12060//
12061//   * UnsupportedUserEditionException
12062//   This error indicates that you are calling an operation on an Amazon QuickSight
12063//   subscription where the edition doesn't include support for that operation.
12064//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
12065//   Not every operation and capability is available in every edition.
12066//
12067//   * InternalFailureException
12068//   An internal failure occurred.
12069//
12070// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplatePermissions
12071func (c *QuickSight) UpdateTemplatePermissions(input *UpdateTemplatePermissionsInput) (*UpdateTemplatePermissionsOutput, error) {
12072	req, out := c.UpdateTemplatePermissionsRequest(input)
12073	return out, req.Send()
12074}
12075
12076// UpdateTemplatePermissionsWithContext is the same as UpdateTemplatePermissions with the addition of
12077// the ability to pass a context and additional request options.
12078//
12079// See UpdateTemplatePermissions for details on how to use this API operation.
12080//
12081// The context must be non-nil and will be used for request cancellation. If
12082// the context is nil a panic will occur. In the future the SDK may create
12083// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12084// for more information on using Contexts.
12085func (c *QuickSight) UpdateTemplatePermissionsWithContext(ctx aws.Context, input *UpdateTemplatePermissionsInput, opts ...request.Option) (*UpdateTemplatePermissionsOutput, error) {
12086	req, out := c.UpdateTemplatePermissionsRequest(input)
12087	req.SetContext(ctx)
12088	req.ApplyOptions(opts...)
12089	return out, req.Send()
12090}
12091
12092const opUpdateTheme = "UpdateTheme"
12093
12094// UpdateThemeRequest generates a "aws/request.Request" representing the
12095// client's request for the UpdateTheme operation. The "output" return
12096// value will be populated with the request's response once the request completes
12097// successfully.
12098//
12099// Use "Send" method on the returned Request to send the API call to the service.
12100// the "output" return value is not valid until after Send returns without error.
12101//
12102// See UpdateTheme for more information on using the UpdateTheme
12103// API call, and error handling.
12104//
12105// This method is useful when you want to inject custom logic or configuration
12106// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12107//
12108//
12109//    // Example sending a request using the UpdateThemeRequest method.
12110//    req, resp := client.UpdateThemeRequest(params)
12111//
12112//    err := req.Send()
12113//    if err == nil { // resp is now filled
12114//        fmt.Println(resp)
12115//    }
12116//
12117// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTheme
12118func (c *QuickSight) UpdateThemeRequest(input *UpdateThemeInput) (req *request.Request, output *UpdateThemeOutput) {
12119	op := &request.Operation{
12120		Name:       opUpdateTheme,
12121		HTTPMethod: "PUT",
12122		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}",
12123	}
12124
12125	if input == nil {
12126		input = &UpdateThemeInput{}
12127	}
12128
12129	output = &UpdateThemeOutput{}
12130	req = c.newRequest(op, input, output)
12131	return
12132}
12133
12134// UpdateTheme API operation for Amazon QuickSight.
12135//
12136// Updates a theme.
12137//
12138// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12139// with awserr.Error's Code and Message methods to get detailed information about
12140// the error.
12141//
12142// See the AWS API reference guide for Amazon QuickSight's
12143// API operation UpdateTheme for usage and error information.
12144//
12145// Returned Error Types:
12146//   * AccessDeniedException
12147//   You don't have access to this item. The provided credentials couldn't be
12148//   validated. You might not be authorized to carry out the request. Make sure
12149//   that your account is authorized to use the Amazon QuickSight service, that
12150//   your policies have the correct permissions, and that you are using the correct
12151//   access keys.
12152//
12153//   * InvalidParameterValueException
12154//   One or more parameters has a value that isn't valid.
12155//
12156//   * LimitExceededException
12157//   A limit is exceeded.
12158//
12159//   * ResourceExistsException
12160//   The resource specified already exists.
12161//
12162//   * ResourceNotFoundException
12163//   One or more resources can't be found.
12164//
12165//   * ThrottlingException
12166//   Access is throttled.
12167//
12168//   * UnsupportedUserEditionException
12169//   This error indicates that you are calling an operation on an Amazon QuickSight
12170//   subscription where the edition doesn't include support for that operation.
12171//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
12172//   Not every operation and capability is available in every edition.
12173//
12174//   * InternalFailureException
12175//   An internal failure occurred.
12176//
12177// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTheme
12178func (c *QuickSight) UpdateTheme(input *UpdateThemeInput) (*UpdateThemeOutput, error) {
12179	req, out := c.UpdateThemeRequest(input)
12180	return out, req.Send()
12181}
12182
12183// UpdateThemeWithContext is the same as UpdateTheme with the addition of
12184// the ability to pass a context and additional request options.
12185//
12186// See UpdateTheme for details on how to use this API operation.
12187//
12188// The context must be non-nil and will be used for request cancellation. If
12189// the context is nil a panic will occur. In the future the SDK may create
12190// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12191// for more information on using Contexts.
12192func (c *QuickSight) UpdateThemeWithContext(ctx aws.Context, input *UpdateThemeInput, opts ...request.Option) (*UpdateThemeOutput, error) {
12193	req, out := c.UpdateThemeRequest(input)
12194	req.SetContext(ctx)
12195	req.ApplyOptions(opts...)
12196	return out, req.Send()
12197}
12198
12199const opUpdateThemeAlias = "UpdateThemeAlias"
12200
12201// UpdateThemeAliasRequest generates a "aws/request.Request" representing the
12202// client's request for the UpdateThemeAlias operation. The "output" return
12203// value will be populated with the request's response once the request completes
12204// successfully.
12205//
12206// Use "Send" method on the returned Request to send the API call to the service.
12207// the "output" return value is not valid until after Send returns without error.
12208//
12209// See UpdateThemeAlias for more information on using the UpdateThemeAlias
12210// API call, and error handling.
12211//
12212// This method is useful when you want to inject custom logic or configuration
12213// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12214//
12215//
12216//    // Example sending a request using the UpdateThemeAliasRequest method.
12217//    req, resp := client.UpdateThemeAliasRequest(params)
12218//
12219//    err := req.Send()
12220//    if err == nil { // resp is now filled
12221//        fmt.Println(resp)
12222//    }
12223//
12224// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemeAlias
12225func (c *QuickSight) UpdateThemeAliasRequest(input *UpdateThemeAliasInput) (req *request.Request, output *UpdateThemeAliasOutput) {
12226	op := &request.Operation{
12227		Name:       opUpdateThemeAlias,
12228		HTTPMethod: "PUT",
12229		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}",
12230	}
12231
12232	if input == nil {
12233		input = &UpdateThemeAliasInput{}
12234	}
12235
12236	output = &UpdateThemeAliasOutput{}
12237	req = c.newRequest(op, input, output)
12238	return
12239}
12240
12241// UpdateThemeAlias API operation for Amazon QuickSight.
12242//
12243// Updates an alias of a theme.
12244//
12245// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12246// with awserr.Error's Code and Message methods to get detailed information about
12247// the error.
12248//
12249// See the AWS API reference guide for Amazon QuickSight's
12250// API operation UpdateThemeAlias for usage and error information.
12251//
12252// Returned Error Types:
12253//   * ConflictException
12254//   Updating or deleting a resource can cause an inconsistent state.
12255//
12256//   * InvalidParameterValueException
12257//   One or more parameters has a value that isn't valid.
12258//
12259//   * ResourceExistsException
12260//   The resource specified already exists.
12261//
12262//   * ResourceNotFoundException
12263//   One or more resources can't be found.
12264//
12265//   * ThrottlingException
12266//   Access is throttled.
12267//
12268//   * UnsupportedUserEditionException
12269//   This error indicates that you are calling an operation on an Amazon QuickSight
12270//   subscription where the edition doesn't include support for that operation.
12271//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
12272//   Not every operation and capability is available in every edition.
12273//
12274//   * InternalFailureException
12275//   An internal failure occurred.
12276//
12277// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemeAlias
12278func (c *QuickSight) UpdateThemeAlias(input *UpdateThemeAliasInput) (*UpdateThemeAliasOutput, error) {
12279	req, out := c.UpdateThemeAliasRequest(input)
12280	return out, req.Send()
12281}
12282
12283// UpdateThemeAliasWithContext is the same as UpdateThemeAlias with the addition of
12284// the ability to pass a context and additional request options.
12285//
12286// See UpdateThemeAlias for details on how to use this API operation.
12287//
12288// The context must be non-nil and will be used for request cancellation. If
12289// the context is nil a panic will occur. In the future the SDK may create
12290// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12291// for more information on using Contexts.
12292func (c *QuickSight) UpdateThemeAliasWithContext(ctx aws.Context, input *UpdateThemeAliasInput, opts ...request.Option) (*UpdateThemeAliasOutput, error) {
12293	req, out := c.UpdateThemeAliasRequest(input)
12294	req.SetContext(ctx)
12295	req.ApplyOptions(opts...)
12296	return out, req.Send()
12297}
12298
12299const opUpdateThemePermissions = "UpdateThemePermissions"
12300
12301// UpdateThemePermissionsRequest generates a "aws/request.Request" representing the
12302// client's request for the UpdateThemePermissions operation. The "output" return
12303// value will be populated with the request's response once the request completes
12304// successfully.
12305//
12306// Use "Send" method on the returned Request to send the API call to the service.
12307// the "output" return value is not valid until after Send returns without error.
12308//
12309// See UpdateThemePermissions for more information on using the UpdateThemePermissions
12310// API call, and error handling.
12311//
12312// This method is useful when you want to inject custom logic or configuration
12313// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12314//
12315//
12316//    // Example sending a request using the UpdateThemePermissionsRequest method.
12317//    req, resp := client.UpdateThemePermissionsRequest(params)
12318//
12319//    err := req.Send()
12320//    if err == nil { // resp is now filled
12321//        fmt.Println(resp)
12322//    }
12323//
12324// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemePermissions
12325func (c *QuickSight) UpdateThemePermissionsRequest(input *UpdateThemePermissionsInput) (req *request.Request, output *UpdateThemePermissionsOutput) {
12326	op := &request.Operation{
12327		Name:       opUpdateThemePermissions,
12328		HTTPMethod: "PUT",
12329		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/permissions",
12330	}
12331
12332	if input == nil {
12333		input = &UpdateThemePermissionsInput{}
12334	}
12335
12336	output = &UpdateThemePermissionsOutput{}
12337	req = c.newRequest(op, input, output)
12338	return
12339}
12340
12341// UpdateThemePermissions API operation for Amazon QuickSight.
12342//
12343// Updates the resource permissions for a theme. Permissions apply to the action
12344// to grant or revoke permissions on, for example "quicksight:DescribeTheme".
12345//
12346// Theme permissions apply in groupings. Valid groupings include the following
12347// for the three levels of permissions, which are user, owner, or no permissions:
12348//
12349//    * User "quicksight:DescribeTheme" "quicksight:DescribeThemeAlias" "quicksight:ListThemeAliases"
12350//    "quicksight:ListThemeVersions"
12351//
12352//    * Owner "quicksight:DescribeTheme" "quicksight:DescribeThemeAlias" "quicksight:ListThemeAliases"
12353//    "quicksight:ListThemeVersions" "quicksight:DeleteTheme" "quicksight:UpdateTheme"
12354//    "quicksight:CreateThemeAlias" "quicksight:DeleteThemeAlias" "quicksight:UpdateThemeAlias"
12355//    "quicksight:UpdateThemePermissions" "quicksight:DescribeThemePermissions"
12356//
12357//    * To specify no permissions, omit the permissions list.
12358//
12359// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12360// with awserr.Error's Code and Message methods to get detailed information about
12361// the error.
12362//
12363// See the AWS API reference guide for Amazon QuickSight's
12364// API operation UpdateThemePermissions for usage and error information.
12365//
12366// Returned Error Types:
12367//   * AccessDeniedException
12368//   You don't have access to this item. The provided credentials couldn't be
12369//   validated. You might not be authorized to carry out the request. Make sure
12370//   that your account is authorized to use the Amazon QuickSight service, that
12371//   your policies have the correct permissions, and that you are using the correct
12372//   access keys.
12373//
12374//   * InvalidParameterValueException
12375//   One or more parameters has a value that isn't valid.
12376//
12377//   * ResourceNotFoundException
12378//   One or more resources can't be found.
12379//
12380//   * ThrottlingException
12381//   Access is throttled.
12382//
12383//   * UnsupportedUserEditionException
12384//   This error indicates that you are calling an operation on an Amazon QuickSight
12385//   subscription where the edition doesn't include support for that operation.
12386//   Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
12387//   Not every operation and capability is available in every edition.
12388//
12389//   * InternalFailureException
12390//   An internal failure occurred.
12391//
12392// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemePermissions
12393func (c *QuickSight) UpdateThemePermissions(input *UpdateThemePermissionsInput) (*UpdateThemePermissionsOutput, error) {
12394	req, out := c.UpdateThemePermissionsRequest(input)
12395	return out, req.Send()
12396}
12397
12398// UpdateThemePermissionsWithContext is the same as UpdateThemePermissions with the addition of
12399// the ability to pass a context and additional request options.
12400//
12401// See UpdateThemePermissions for details on how to use this API operation.
12402//
12403// The context must be non-nil and will be used for request cancellation. If
12404// the context is nil a panic will occur. In the future the SDK may create
12405// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12406// for more information on using Contexts.
12407func (c *QuickSight) UpdateThemePermissionsWithContext(ctx aws.Context, input *UpdateThemePermissionsInput, opts ...request.Option) (*UpdateThemePermissionsOutput, error) {
12408	req, out := c.UpdateThemePermissionsRequest(input)
12409	req.SetContext(ctx)
12410	req.ApplyOptions(opts...)
12411	return out, req.Send()
12412}
12413
12414const opUpdateUser = "UpdateUser"
12415
12416// UpdateUserRequest generates a "aws/request.Request" representing the
12417// client's request for the UpdateUser operation. The "output" return
12418// value will be populated with the request's response once the request completes
12419// successfully.
12420//
12421// Use "Send" method on the returned Request to send the API call to the service.
12422// the "output" return value is not valid until after Send returns without error.
12423//
12424// See UpdateUser for more information on using the UpdateUser
12425// API call, and error handling.
12426//
12427// This method is useful when you want to inject custom logic or configuration
12428// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12429//
12430//
12431//    // Example sending a request using the UpdateUserRequest method.
12432//    req, resp := client.UpdateUserRequest(params)
12433//
12434//    err := req.Send()
12435//    if err == nil { // resp is now filled
12436//        fmt.Println(resp)
12437//    }
12438//
12439// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateUser
12440func (c *QuickSight) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, output *UpdateUserOutput) {
12441	op := &request.Operation{
12442		Name:       opUpdateUser,
12443		HTTPMethod: "PUT",
12444		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}",
12445	}
12446
12447	if input == nil {
12448		input = &UpdateUserInput{}
12449	}
12450
12451	output = &UpdateUserOutput{}
12452	req = c.newRequest(op, input, output)
12453	return
12454}
12455
12456// UpdateUser API operation for Amazon QuickSight.
12457//
12458// Updates an Amazon QuickSight user.
12459//
12460// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12461// with awserr.Error's Code and Message methods to get detailed information about
12462// the error.
12463//
12464// See the AWS API reference guide for Amazon QuickSight's
12465// API operation UpdateUser for usage and error information.
12466//
12467// Returned Error Types:
12468//   * AccessDeniedException
12469//   You don't have access to this item. The provided credentials couldn't be
12470//   validated. You might not be authorized to carry out the request. Make sure
12471//   that your account is authorized to use the Amazon QuickSight service, that
12472//   your policies have the correct permissions, and that you are using the correct
12473//   access keys.
12474//
12475//   * InvalidParameterValueException
12476//   One or more parameters has a value that isn't valid.
12477//
12478//   * ResourceNotFoundException
12479//   One or more resources can't be found.
12480//
12481//   * ThrottlingException
12482//   Access is throttled.
12483//
12484//   * PreconditionNotMetException
12485//   One or more preconditions aren't met.
12486//
12487//   * InternalFailureException
12488//   An internal failure occurred.
12489//
12490//   * ResourceUnavailableException
12491//   This resource is currently unavailable.
12492//
12493// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateUser
12494func (c *QuickSight) UpdateUser(input *UpdateUserInput) (*UpdateUserOutput, error) {
12495	req, out := c.UpdateUserRequest(input)
12496	return out, req.Send()
12497}
12498
12499// UpdateUserWithContext is the same as UpdateUser with the addition of
12500// the ability to pass a context and additional request options.
12501//
12502// See UpdateUser for details on how to use this API operation.
12503//
12504// The context must be non-nil and will be used for request cancellation. If
12505// the context is nil a panic will occur. In the future the SDK may create
12506// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12507// for more information on using Contexts.
12508func (c *QuickSight) UpdateUserWithContext(ctx aws.Context, input *UpdateUserInput, opts ...request.Option) (*UpdateUserOutput, error) {
12509	req, out := c.UpdateUserRequest(input)
12510	req.SetContext(ctx)
12511	req.ApplyOptions(opts...)
12512	return out, req.Send()
12513}
12514
12515// You don't have access to this item. The provided credentials couldn't be
12516// validated. You might not be authorized to carry out the request. Make sure
12517// that your account is authorized to use the Amazon QuickSight service, that
12518// your policies have the correct permissions, and that you are using the correct
12519// access keys.
12520type AccessDeniedException struct {
12521	_            struct{}                  `type:"structure"`
12522	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
12523
12524	Message_ *string `locationName:"Message" type:"string"`
12525
12526	// The Amazon Web Services request ID for this request.
12527	RequestId *string `type:"string"`
12528}
12529
12530// String returns the string representation
12531func (s AccessDeniedException) String() string {
12532	return awsutil.Prettify(s)
12533}
12534
12535// GoString returns the string representation
12536func (s AccessDeniedException) GoString() string {
12537	return s.String()
12538}
12539
12540func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
12541	return &AccessDeniedException{
12542		RespMetadata: v,
12543	}
12544}
12545
12546// Code returns the exception type name.
12547func (s *AccessDeniedException) Code() string {
12548	return "AccessDeniedException"
12549}
12550
12551// Message returns the exception's message.
12552func (s *AccessDeniedException) Message() string {
12553	if s.Message_ != nil {
12554		return *s.Message_
12555	}
12556	return ""
12557}
12558
12559// OrigErr always returns nil, satisfies awserr.Error interface.
12560func (s *AccessDeniedException) OrigErr() error {
12561	return nil
12562}
12563
12564func (s *AccessDeniedException) Error() string {
12565	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
12566}
12567
12568// Status code returns the HTTP status code for the request's response error.
12569func (s *AccessDeniedException) StatusCode() int {
12570	return s.RespMetadata.StatusCode
12571}
12572
12573// RequestID returns the service's response RequestID for request.
12574func (s *AccessDeniedException) RequestID() string {
12575	return s.RespMetadata.RequestID
12576}
12577
12578// The Amazon QuickSight customizations associated with your Amazon Web Services
12579// account or a Amazon QuickSight namespace in a specific Amazon Web Services
12580// Region;.
12581type AccountCustomization struct {
12582	_ struct{} `type:"structure"`
12583
12584	// The default theme for this Amazon QuickSight subscription.
12585	DefaultTheme *string `type:"string"`
12586}
12587
12588// String returns the string representation
12589func (s AccountCustomization) String() string {
12590	return awsutil.Prettify(s)
12591}
12592
12593// GoString returns the string representation
12594func (s AccountCustomization) GoString() string {
12595	return s.String()
12596}
12597
12598// SetDefaultTheme sets the DefaultTheme field's value.
12599func (s *AccountCustomization) SetDefaultTheme(v string) *AccountCustomization {
12600	s.DefaultTheme = &v
12601	return s
12602}
12603
12604// The Amazon QuickSight settings associated with your Amazon Web Services account.
12605type AccountSettings struct {
12606	_ struct{} `type:"structure"`
12607
12608	// The "account name" you provided for the Amazon QuickSight subscription in
12609	// your Amazon Web Services account. You create this name when you sign up for
12610	// Amazon QuickSight. It is unique in all of Amazon Web Services and it appears
12611	// only when users sign in.
12612	AccountName *string `type:"string"`
12613
12614	// The default Amazon QuickSight namespace for your Amazon Web Services account.
12615	DefaultNamespace *string `type:"string"`
12616
12617	// The edition of Amazon QuickSight that you're currently subscribed to: Enterprise
12618	// edition or Standard edition.
12619	Edition *string `type:"string" enum:"Edition"`
12620
12621	// The main notification email for your Amazon QuickSight subscription.
12622	NotificationEmail *string `type:"string"`
12623}
12624
12625// String returns the string representation
12626func (s AccountSettings) String() string {
12627	return awsutil.Prettify(s)
12628}
12629
12630// GoString returns the string representation
12631func (s AccountSettings) GoString() string {
12632	return s.String()
12633}
12634
12635// SetAccountName sets the AccountName field's value.
12636func (s *AccountSettings) SetAccountName(v string) *AccountSettings {
12637	s.AccountName = &v
12638	return s
12639}
12640
12641// SetDefaultNamespace sets the DefaultNamespace field's value.
12642func (s *AccountSettings) SetDefaultNamespace(v string) *AccountSettings {
12643	s.DefaultNamespace = &v
12644	return s
12645}
12646
12647// SetEdition sets the Edition field's value.
12648func (s *AccountSettings) SetEdition(v string) *AccountSettings {
12649	s.Edition = &v
12650	return s
12651}
12652
12653// SetNotificationEmail sets the NotificationEmail field's value.
12654func (s *AccountSettings) SetNotificationEmail(v string) *AccountSettings {
12655	s.NotificationEmail = &v
12656	return s
12657}
12658
12659// The active Identity and Access Management (IAM) policy assignment.
12660type ActiveIAMPolicyAssignment struct {
12661	_ struct{} `type:"structure"`
12662
12663	// A name for the IAMpolicy assignment.
12664	AssignmentName *string `min:"1" type:"string"`
12665
12666	// The Amazon Resource Name (ARN) of the resource.
12667	PolicyArn *string `type:"string"`
12668}
12669
12670// String returns the string representation
12671func (s ActiveIAMPolicyAssignment) String() string {
12672	return awsutil.Prettify(s)
12673}
12674
12675// GoString returns the string representation
12676func (s ActiveIAMPolicyAssignment) GoString() string {
12677	return s.String()
12678}
12679
12680// SetAssignmentName sets the AssignmentName field's value.
12681func (s *ActiveIAMPolicyAssignment) SetAssignmentName(v string) *ActiveIAMPolicyAssignment {
12682	s.AssignmentName = &v
12683	return s
12684}
12685
12686// SetPolicyArn sets the PolicyArn field's value.
12687func (s *ActiveIAMPolicyAssignment) SetPolicyArn(v string) *ActiveIAMPolicyAssignment {
12688	s.PolicyArn = &v
12689	return s
12690}
12691
12692// Ad hoc (one-time) filtering option.
12693type AdHocFilteringOption struct {
12694	_ struct{} `type:"structure"`
12695
12696	// Availability status.
12697	AvailabilityStatus *string `type:"string" enum:"DashboardBehavior"`
12698}
12699
12700// String returns the string representation
12701func (s AdHocFilteringOption) String() string {
12702	return awsutil.Prettify(s)
12703}
12704
12705// GoString returns the string representation
12706func (s AdHocFilteringOption) GoString() string {
12707	return s.String()
12708}
12709
12710// SetAvailabilityStatus sets the AvailabilityStatus field's value.
12711func (s *AdHocFilteringOption) SetAvailabilityStatus(v string) *AdHocFilteringOption {
12712	s.AvailabilityStatus = &v
12713	return s
12714}
12715
12716// The parameters for Elasticsearch.
12717type AmazonElasticsearchParameters struct {
12718	_ struct{} `type:"structure"`
12719
12720	// The Elasticsearch domain.
12721	//
12722	// Domain is a required field
12723	Domain *string `min:"1" type:"string" required:"true"`
12724}
12725
12726// String returns the string representation
12727func (s AmazonElasticsearchParameters) String() string {
12728	return awsutil.Prettify(s)
12729}
12730
12731// GoString returns the string representation
12732func (s AmazonElasticsearchParameters) GoString() string {
12733	return s.String()
12734}
12735
12736// Validate inspects the fields of the type to determine if they are valid.
12737func (s *AmazonElasticsearchParameters) Validate() error {
12738	invalidParams := request.ErrInvalidParams{Context: "AmazonElasticsearchParameters"}
12739	if s.Domain == nil {
12740		invalidParams.Add(request.NewErrParamRequired("Domain"))
12741	}
12742	if s.Domain != nil && len(*s.Domain) < 1 {
12743		invalidParams.Add(request.NewErrParamMinLen("Domain", 1))
12744	}
12745
12746	if invalidParams.Len() > 0 {
12747		return invalidParams
12748	}
12749	return nil
12750}
12751
12752// SetDomain sets the Domain field's value.
12753func (s *AmazonElasticsearchParameters) SetDomain(v string) *AmazonElasticsearchParameters {
12754	s.Domain = &v
12755	return s
12756}
12757
12758// Metadata structure for an analysis in Amazon QuickSight
12759type Analysis struct {
12760	_ struct{} `type:"structure"`
12761
12762	// The ID of the analysis.
12763	AnalysisId *string `min:"1" type:"string"`
12764
12765	// The Amazon Resource Name (ARN) of the analysis.
12766	Arn *string `type:"string"`
12767
12768	// The time that the analysis was created.
12769	CreatedTime *time.Time `type:"timestamp"`
12770
12771	// The ARNs of the datasets of the analysis.
12772	DataSetArns []*string `type:"list"`
12773
12774	// Errors associated with the analysis.
12775	Errors []*AnalysisError `min:"1" type:"list"`
12776
12777	// The time that the analysis was last updated.
12778	LastUpdatedTime *time.Time `type:"timestamp"`
12779
12780	// The descriptive name of the analysis.
12781	Name *string `min:"1" type:"string"`
12782
12783	// A list of the associated sheets with the unique identifier and name of each
12784	// sheet.
12785	Sheets []*Sheet `type:"list"`
12786
12787	// Status associated with the analysis.
12788	Status *string `type:"string" enum:"ResourceStatus"`
12789
12790	// The ARN of the theme of the analysis.
12791	ThemeArn *string `type:"string"`
12792}
12793
12794// String returns the string representation
12795func (s Analysis) String() string {
12796	return awsutil.Prettify(s)
12797}
12798
12799// GoString returns the string representation
12800func (s Analysis) GoString() string {
12801	return s.String()
12802}
12803
12804// SetAnalysisId sets the AnalysisId field's value.
12805func (s *Analysis) SetAnalysisId(v string) *Analysis {
12806	s.AnalysisId = &v
12807	return s
12808}
12809
12810// SetArn sets the Arn field's value.
12811func (s *Analysis) SetArn(v string) *Analysis {
12812	s.Arn = &v
12813	return s
12814}
12815
12816// SetCreatedTime sets the CreatedTime field's value.
12817func (s *Analysis) SetCreatedTime(v time.Time) *Analysis {
12818	s.CreatedTime = &v
12819	return s
12820}
12821
12822// SetDataSetArns sets the DataSetArns field's value.
12823func (s *Analysis) SetDataSetArns(v []*string) *Analysis {
12824	s.DataSetArns = v
12825	return s
12826}
12827
12828// SetErrors sets the Errors field's value.
12829func (s *Analysis) SetErrors(v []*AnalysisError) *Analysis {
12830	s.Errors = v
12831	return s
12832}
12833
12834// SetLastUpdatedTime sets the LastUpdatedTime field's value.
12835func (s *Analysis) SetLastUpdatedTime(v time.Time) *Analysis {
12836	s.LastUpdatedTime = &v
12837	return s
12838}
12839
12840// SetName sets the Name field's value.
12841func (s *Analysis) SetName(v string) *Analysis {
12842	s.Name = &v
12843	return s
12844}
12845
12846// SetSheets sets the Sheets field's value.
12847func (s *Analysis) SetSheets(v []*Sheet) *Analysis {
12848	s.Sheets = v
12849	return s
12850}
12851
12852// SetStatus sets the Status field's value.
12853func (s *Analysis) SetStatus(v string) *Analysis {
12854	s.Status = &v
12855	return s
12856}
12857
12858// SetThemeArn sets the ThemeArn field's value.
12859func (s *Analysis) SetThemeArn(v string) *Analysis {
12860	s.ThemeArn = &v
12861	return s
12862}
12863
12864// Analysis error.
12865type AnalysisError struct {
12866	_ struct{} `type:"structure"`
12867
12868	// The message associated with the analysis error.
12869	Message *string `type:"string"`
12870
12871	// The type of the analysis error.
12872	Type *string `type:"string" enum:"AnalysisErrorType"`
12873}
12874
12875// String returns the string representation
12876func (s AnalysisError) String() string {
12877	return awsutil.Prettify(s)
12878}
12879
12880// GoString returns the string representation
12881func (s AnalysisError) GoString() string {
12882	return s.String()
12883}
12884
12885// SetMessage sets the Message field's value.
12886func (s *AnalysisError) SetMessage(v string) *AnalysisError {
12887	s.Message = &v
12888	return s
12889}
12890
12891// SetType sets the Type field's value.
12892func (s *AnalysisError) SetType(v string) *AnalysisError {
12893	s.Type = &v
12894	return s
12895}
12896
12897// A filter that you apply when searching for one or more analyses.
12898type AnalysisSearchFilter struct {
12899	_ struct{} `type:"structure"`
12900
12901	// The name of the value that you want to use as a filter, for example "Name":
12902	// "QUICKSIGHT_USER".
12903	Name *string `type:"string" enum:"AnalysisFilterAttribute"`
12904
12905	// The comparison operator that you want to use as a filter, for example "Operator":
12906	// "StringEquals".
12907	Operator *string `type:"string" enum:"FilterOperator"`
12908
12909	// The value of the named item, in this case QUICKSIGHT_USER, that you want
12910	// to use as a filter, for example "Value". An example is "arn:aws:quicksight:us-east-1:1:user/default/UserName1".
12911	Value *string `type:"string"`
12912}
12913
12914// String returns the string representation
12915func (s AnalysisSearchFilter) String() string {
12916	return awsutil.Prettify(s)
12917}
12918
12919// GoString returns the string representation
12920func (s AnalysisSearchFilter) GoString() string {
12921	return s.String()
12922}
12923
12924// SetName sets the Name field's value.
12925func (s *AnalysisSearchFilter) SetName(v string) *AnalysisSearchFilter {
12926	s.Name = &v
12927	return s
12928}
12929
12930// SetOperator sets the Operator field's value.
12931func (s *AnalysisSearchFilter) SetOperator(v string) *AnalysisSearchFilter {
12932	s.Operator = &v
12933	return s
12934}
12935
12936// SetValue sets the Value field's value.
12937func (s *AnalysisSearchFilter) SetValue(v string) *AnalysisSearchFilter {
12938	s.Value = &v
12939	return s
12940}
12941
12942// The source entity of an analysis.
12943type AnalysisSourceEntity struct {
12944	_ struct{} `type:"structure"`
12945
12946	// The source template for the source entity of the analysis.
12947	SourceTemplate *AnalysisSourceTemplate `type:"structure"`
12948}
12949
12950// String returns the string representation
12951func (s AnalysisSourceEntity) String() string {
12952	return awsutil.Prettify(s)
12953}
12954
12955// GoString returns the string representation
12956func (s AnalysisSourceEntity) GoString() string {
12957	return s.String()
12958}
12959
12960// Validate inspects the fields of the type to determine if they are valid.
12961func (s *AnalysisSourceEntity) Validate() error {
12962	invalidParams := request.ErrInvalidParams{Context: "AnalysisSourceEntity"}
12963	if s.SourceTemplate != nil {
12964		if err := s.SourceTemplate.Validate(); err != nil {
12965			invalidParams.AddNested("SourceTemplate", err.(request.ErrInvalidParams))
12966		}
12967	}
12968
12969	if invalidParams.Len() > 0 {
12970		return invalidParams
12971	}
12972	return nil
12973}
12974
12975// SetSourceTemplate sets the SourceTemplate field's value.
12976func (s *AnalysisSourceEntity) SetSourceTemplate(v *AnalysisSourceTemplate) *AnalysisSourceEntity {
12977	s.SourceTemplate = v
12978	return s
12979}
12980
12981// The source template of an analysis.
12982type AnalysisSourceTemplate struct {
12983	_ struct{} `type:"structure"`
12984
12985	// The Amazon Resource Name (ARN) of the source template of an analysis.
12986	//
12987	// Arn is a required field
12988	Arn *string `type:"string" required:"true"`
12989
12990	// The dataset references of the source template of an analysis.
12991	//
12992	// DataSetReferences is a required field
12993	DataSetReferences []*DataSetReference `min:"1" type:"list" required:"true"`
12994}
12995
12996// String returns the string representation
12997func (s AnalysisSourceTemplate) String() string {
12998	return awsutil.Prettify(s)
12999}
13000
13001// GoString returns the string representation
13002func (s AnalysisSourceTemplate) GoString() string {
13003	return s.String()
13004}
13005
13006// Validate inspects the fields of the type to determine if they are valid.
13007func (s *AnalysisSourceTemplate) Validate() error {
13008	invalidParams := request.ErrInvalidParams{Context: "AnalysisSourceTemplate"}
13009	if s.Arn == nil {
13010		invalidParams.Add(request.NewErrParamRequired("Arn"))
13011	}
13012	if s.DataSetReferences == nil {
13013		invalidParams.Add(request.NewErrParamRequired("DataSetReferences"))
13014	}
13015	if s.DataSetReferences != nil && len(s.DataSetReferences) < 1 {
13016		invalidParams.Add(request.NewErrParamMinLen("DataSetReferences", 1))
13017	}
13018	if s.DataSetReferences != nil {
13019		for i, v := range s.DataSetReferences {
13020			if v == nil {
13021				continue
13022			}
13023			if err := v.Validate(); err != nil {
13024				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSetReferences", i), err.(request.ErrInvalidParams))
13025			}
13026		}
13027	}
13028
13029	if invalidParams.Len() > 0 {
13030		return invalidParams
13031	}
13032	return nil
13033}
13034
13035// SetArn sets the Arn field's value.
13036func (s *AnalysisSourceTemplate) SetArn(v string) *AnalysisSourceTemplate {
13037	s.Arn = &v
13038	return s
13039}
13040
13041// SetDataSetReferences sets the DataSetReferences field's value.
13042func (s *AnalysisSourceTemplate) SetDataSetReferences(v []*DataSetReference) *AnalysisSourceTemplate {
13043	s.DataSetReferences = v
13044	return s
13045}
13046
13047// The summary metadata that describes an analysis.
13048type AnalysisSummary struct {
13049	_ struct{} `type:"structure"`
13050
13051	// The ID of the analysis. This ID displays in the URL.
13052	AnalysisId *string `min:"1" type:"string"`
13053
13054	// The Amazon Resource Name (ARN) for the analysis.
13055	Arn *string `type:"string"`
13056
13057	// The time that the analysis was created.
13058	CreatedTime *time.Time `type:"timestamp"`
13059
13060	// The time that the analysis was last updated.
13061	LastUpdatedTime *time.Time `type:"timestamp"`
13062
13063	// The name of the analysis. This name is displayed in the Amazon QuickSight
13064	// console.
13065	Name *string `min:"1" type:"string"`
13066
13067	// The last known status for the analysis.
13068	Status *string `type:"string" enum:"ResourceStatus"`
13069}
13070
13071// String returns the string representation
13072func (s AnalysisSummary) String() string {
13073	return awsutil.Prettify(s)
13074}
13075
13076// GoString returns the string representation
13077func (s AnalysisSummary) GoString() string {
13078	return s.String()
13079}
13080
13081// SetAnalysisId sets the AnalysisId field's value.
13082func (s *AnalysisSummary) SetAnalysisId(v string) *AnalysisSummary {
13083	s.AnalysisId = &v
13084	return s
13085}
13086
13087// SetArn sets the Arn field's value.
13088func (s *AnalysisSummary) SetArn(v string) *AnalysisSummary {
13089	s.Arn = &v
13090	return s
13091}
13092
13093// SetCreatedTime sets the CreatedTime field's value.
13094func (s *AnalysisSummary) SetCreatedTime(v time.Time) *AnalysisSummary {
13095	s.CreatedTime = &v
13096	return s
13097}
13098
13099// SetLastUpdatedTime sets the LastUpdatedTime field's value.
13100func (s *AnalysisSummary) SetLastUpdatedTime(v time.Time) *AnalysisSummary {
13101	s.LastUpdatedTime = &v
13102	return s
13103}
13104
13105// SetName sets the Name field's value.
13106func (s *AnalysisSummary) SetName(v string) *AnalysisSummary {
13107	s.Name = &v
13108	return s
13109}
13110
13111// SetStatus sets the Status field's value.
13112func (s *AnalysisSummary) SetStatus(v string) *AnalysisSummary {
13113	s.Status = &v
13114	return s
13115}
13116
13117// Information about the dashboard that you want to embed.
13118type AnonymousUserDashboardEmbeddingConfiguration struct {
13119	_ struct{} `type:"structure"`
13120
13121	// The dashboard ID for the dashboard that you want the user to see first. This
13122	// ID is included in the output URL. When the URL in response is accessed, Amazon
13123	// QuickSight renders this dashboard.
13124	//
13125	// The Amazon Resource Name (ARN) of this dashboard must be included in the
13126	// AuthorizedResourceArns parameter. Otherwise, the request will fail with InvalidParameterValueException.
13127	//
13128	// InitialDashboardId is a required field
13129	InitialDashboardId *string `min:"1" type:"string" required:"true"`
13130}
13131
13132// String returns the string representation
13133func (s AnonymousUserDashboardEmbeddingConfiguration) String() string {
13134	return awsutil.Prettify(s)
13135}
13136
13137// GoString returns the string representation
13138func (s AnonymousUserDashboardEmbeddingConfiguration) GoString() string {
13139	return s.String()
13140}
13141
13142// Validate inspects the fields of the type to determine if they are valid.
13143func (s *AnonymousUserDashboardEmbeddingConfiguration) Validate() error {
13144	invalidParams := request.ErrInvalidParams{Context: "AnonymousUserDashboardEmbeddingConfiguration"}
13145	if s.InitialDashboardId == nil {
13146		invalidParams.Add(request.NewErrParamRequired("InitialDashboardId"))
13147	}
13148	if s.InitialDashboardId != nil && len(*s.InitialDashboardId) < 1 {
13149		invalidParams.Add(request.NewErrParamMinLen("InitialDashboardId", 1))
13150	}
13151
13152	if invalidParams.Len() > 0 {
13153		return invalidParams
13154	}
13155	return nil
13156}
13157
13158// SetInitialDashboardId sets the InitialDashboardId field's value.
13159func (s *AnonymousUserDashboardEmbeddingConfiguration) SetInitialDashboardId(v string) *AnonymousUserDashboardEmbeddingConfiguration {
13160	s.InitialDashboardId = &v
13161	return s
13162}
13163
13164// The type of experience you want to embed. For anonymous users, you can embed
13165// an Amazon QuickSight dashboard.
13166type AnonymousUserEmbeddingExperienceConfiguration struct {
13167	_ struct{} `type:"structure"`
13168
13169	// The type of embedding experience. In this case, an Amazon QuickSight dashboard.
13170	Dashboard *AnonymousUserDashboardEmbeddingConfiguration `type:"structure"`
13171}
13172
13173// String returns the string representation
13174func (s AnonymousUserEmbeddingExperienceConfiguration) String() string {
13175	return awsutil.Prettify(s)
13176}
13177
13178// GoString returns the string representation
13179func (s AnonymousUserEmbeddingExperienceConfiguration) GoString() string {
13180	return s.String()
13181}
13182
13183// Validate inspects the fields of the type to determine if they are valid.
13184func (s *AnonymousUserEmbeddingExperienceConfiguration) Validate() error {
13185	invalidParams := request.ErrInvalidParams{Context: "AnonymousUserEmbeddingExperienceConfiguration"}
13186	if s.Dashboard != nil {
13187		if err := s.Dashboard.Validate(); err != nil {
13188			invalidParams.AddNested("Dashboard", err.(request.ErrInvalidParams))
13189		}
13190	}
13191
13192	if invalidParams.Len() > 0 {
13193		return invalidParams
13194	}
13195	return nil
13196}
13197
13198// SetDashboard sets the Dashboard field's value.
13199func (s *AnonymousUserEmbeddingExperienceConfiguration) SetDashboard(v *AnonymousUserDashboardEmbeddingConfiguration) *AnonymousUserEmbeddingExperienceConfiguration {
13200	s.Dashboard = v
13201	return s
13202}
13203
13204// Parameters for Amazon Athena.
13205type AthenaParameters struct {
13206	_ struct{} `type:"structure"`
13207
13208	// The workgroup that Amazon Athena uses.
13209	WorkGroup *string `min:"1" type:"string"`
13210}
13211
13212// String returns the string representation
13213func (s AthenaParameters) String() string {
13214	return awsutil.Prettify(s)
13215}
13216
13217// GoString returns the string representation
13218func (s AthenaParameters) GoString() string {
13219	return s.String()
13220}
13221
13222// Validate inspects the fields of the type to determine if they are valid.
13223func (s *AthenaParameters) Validate() error {
13224	invalidParams := request.ErrInvalidParams{Context: "AthenaParameters"}
13225	if s.WorkGroup != nil && len(*s.WorkGroup) < 1 {
13226		invalidParams.Add(request.NewErrParamMinLen("WorkGroup", 1))
13227	}
13228
13229	if invalidParams.Len() > 0 {
13230		return invalidParams
13231	}
13232	return nil
13233}
13234
13235// SetWorkGroup sets the WorkGroup field's value.
13236func (s *AthenaParameters) SetWorkGroup(v string) *AthenaParameters {
13237	s.WorkGroup = &v
13238	return s
13239}
13240
13241// Parameters for Amazon Aurora.
13242type AuroraParameters struct {
13243	_ struct{} `type:"structure"`
13244
13245	// Database.
13246	//
13247	// Database is a required field
13248	Database *string `min:"1" type:"string" required:"true"`
13249
13250	// Host.
13251	//
13252	// Host is a required field
13253	Host *string `min:"1" type:"string" required:"true"`
13254
13255	// Port.
13256	//
13257	// Port is a required field
13258	Port *int64 `min:"1" type:"integer" required:"true"`
13259}
13260
13261// String returns the string representation
13262func (s AuroraParameters) String() string {
13263	return awsutil.Prettify(s)
13264}
13265
13266// GoString returns the string representation
13267func (s AuroraParameters) GoString() string {
13268	return s.String()
13269}
13270
13271// Validate inspects the fields of the type to determine if they are valid.
13272func (s *AuroraParameters) Validate() error {
13273	invalidParams := request.ErrInvalidParams{Context: "AuroraParameters"}
13274	if s.Database == nil {
13275		invalidParams.Add(request.NewErrParamRequired("Database"))
13276	}
13277	if s.Database != nil && len(*s.Database) < 1 {
13278		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
13279	}
13280	if s.Host == nil {
13281		invalidParams.Add(request.NewErrParamRequired("Host"))
13282	}
13283	if s.Host != nil && len(*s.Host) < 1 {
13284		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
13285	}
13286	if s.Port == nil {
13287		invalidParams.Add(request.NewErrParamRequired("Port"))
13288	}
13289	if s.Port != nil && *s.Port < 1 {
13290		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
13291	}
13292
13293	if invalidParams.Len() > 0 {
13294		return invalidParams
13295	}
13296	return nil
13297}
13298
13299// SetDatabase sets the Database field's value.
13300func (s *AuroraParameters) SetDatabase(v string) *AuroraParameters {
13301	s.Database = &v
13302	return s
13303}
13304
13305// SetHost sets the Host field's value.
13306func (s *AuroraParameters) SetHost(v string) *AuroraParameters {
13307	s.Host = &v
13308	return s
13309}
13310
13311// SetPort sets the Port field's value.
13312func (s *AuroraParameters) SetPort(v int64) *AuroraParameters {
13313	s.Port = &v
13314	return s
13315}
13316
13317// Parameters for Amazon Aurora PostgreSQL-Compatible Edition.
13318type AuroraPostgreSqlParameters struct {
13319	_ struct{} `type:"structure"`
13320
13321	// The Amazon Aurora PostgreSQL database to connect to.
13322	//
13323	// Database is a required field
13324	Database *string `min:"1" type:"string" required:"true"`
13325
13326	// The Amazon Aurora PostgreSQL-Compatible host to connect to.
13327	//
13328	// Host is a required field
13329	Host *string `min:"1" type:"string" required:"true"`
13330
13331	// The port that Amazon Aurora PostgreSQL is listening on.
13332	//
13333	// Port is a required field
13334	Port *int64 `min:"1" type:"integer" required:"true"`
13335}
13336
13337// String returns the string representation
13338func (s AuroraPostgreSqlParameters) String() string {
13339	return awsutil.Prettify(s)
13340}
13341
13342// GoString returns the string representation
13343func (s AuroraPostgreSqlParameters) GoString() string {
13344	return s.String()
13345}
13346
13347// Validate inspects the fields of the type to determine if they are valid.
13348func (s *AuroraPostgreSqlParameters) Validate() error {
13349	invalidParams := request.ErrInvalidParams{Context: "AuroraPostgreSqlParameters"}
13350	if s.Database == nil {
13351		invalidParams.Add(request.NewErrParamRequired("Database"))
13352	}
13353	if s.Database != nil && len(*s.Database) < 1 {
13354		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
13355	}
13356	if s.Host == nil {
13357		invalidParams.Add(request.NewErrParamRequired("Host"))
13358	}
13359	if s.Host != nil && len(*s.Host) < 1 {
13360		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
13361	}
13362	if s.Port == nil {
13363		invalidParams.Add(request.NewErrParamRequired("Port"))
13364	}
13365	if s.Port != nil && *s.Port < 1 {
13366		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
13367	}
13368
13369	if invalidParams.Len() > 0 {
13370		return invalidParams
13371	}
13372	return nil
13373}
13374
13375// SetDatabase sets the Database field's value.
13376func (s *AuroraPostgreSqlParameters) SetDatabase(v string) *AuroraPostgreSqlParameters {
13377	s.Database = &v
13378	return s
13379}
13380
13381// SetHost sets the Host field's value.
13382func (s *AuroraPostgreSqlParameters) SetHost(v string) *AuroraPostgreSqlParameters {
13383	s.Host = &v
13384	return s
13385}
13386
13387// SetPort sets the Port field's value.
13388func (s *AuroraPostgreSqlParameters) SetPort(v int64) *AuroraPostgreSqlParameters {
13389	s.Port = &v
13390	return s
13391}
13392
13393// The parameters for IoT Analytics.
13394type AwsIotAnalyticsParameters struct {
13395	_ struct{} `type:"structure"`
13396
13397	// Dataset name.
13398	//
13399	// DataSetName is a required field
13400	DataSetName *string `min:"1" type:"string" required:"true"`
13401}
13402
13403// String returns the string representation
13404func (s AwsIotAnalyticsParameters) String() string {
13405	return awsutil.Prettify(s)
13406}
13407
13408// GoString returns the string representation
13409func (s AwsIotAnalyticsParameters) GoString() string {
13410	return s.String()
13411}
13412
13413// Validate inspects the fields of the type to determine if they are valid.
13414func (s *AwsIotAnalyticsParameters) Validate() error {
13415	invalidParams := request.ErrInvalidParams{Context: "AwsIotAnalyticsParameters"}
13416	if s.DataSetName == nil {
13417		invalidParams.Add(request.NewErrParamRequired("DataSetName"))
13418	}
13419	if s.DataSetName != nil && len(*s.DataSetName) < 1 {
13420		invalidParams.Add(request.NewErrParamMinLen("DataSetName", 1))
13421	}
13422
13423	if invalidParams.Len() > 0 {
13424		return invalidParams
13425	}
13426	return nil
13427}
13428
13429// SetDataSetName sets the DataSetName field's value.
13430func (s *AwsIotAnalyticsParameters) SetDataSetName(v string) *AwsIotAnalyticsParameters {
13431	s.DataSetName = &v
13432	return s
13433}
13434
13435// The display options for tile borders for visuals.
13436type BorderStyle struct {
13437	_ struct{} `type:"structure"`
13438
13439	// The option to enable display of borders for visuals.
13440	Show *bool `type:"boolean"`
13441}
13442
13443// String returns the string representation
13444func (s BorderStyle) String() string {
13445	return awsutil.Prettify(s)
13446}
13447
13448// GoString returns the string representation
13449func (s BorderStyle) GoString() string {
13450	return s.String()
13451}
13452
13453// SetShow sets the Show field's value.
13454func (s *BorderStyle) SetShow(v bool) *BorderStyle {
13455	s.Show = &v
13456	return s
13457}
13458
13459// A calculated column for a dataset.
13460type CalculatedColumn struct {
13461	_ struct{} `type:"structure"`
13462
13463	// A unique ID to identify a calculated column. During a dataset update, if
13464	// the column ID of a calculated column matches that of an existing calculated
13465	// column, Amazon QuickSight preserves the existing calculated column.
13466	//
13467	// ColumnId is a required field
13468	ColumnId *string `min:"1" type:"string" required:"true"`
13469
13470	// Column name.
13471	//
13472	// ColumnName is a required field
13473	ColumnName *string `min:"1" type:"string" required:"true"`
13474
13475	// An expression that defines the calculated column.
13476	//
13477	// Expression is a required field
13478	Expression *string `min:"1" type:"string" required:"true"`
13479}
13480
13481// String returns the string representation
13482func (s CalculatedColumn) String() string {
13483	return awsutil.Prettify(s)
13484}
13485
13486// GoString returns the string representation
13487func (s CalculatedColumn) GoString() string {
13488	return s.String()
13489}
13490
13491// Validate inspects the fields of the type to determine if they are valid.
13492func (s *CalculatedColumn) Validate() error {
13493	invalidParams := request.ErrInvalidParams{Context: "CalculatedColumn"}
13494	if s.ColumnId == nil {
13495		invalidParams.Add(request.NewErrParamRequired("ColumnId"))
13496	}
13497	if s.ColumnId != nil && len(*s.ColumnId) < 1 {
13498		invalidParams.Add(request.NewErrParamMinLen("ColumnId", 1))
13499	}
13500	if s.ColumnName == nil {
13501		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
13502	}
13503	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
13504		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
13505	}
13506	if s.Expression == nil {
13507		invalidParams.Add(request.NewErrParamRequired("Expression"))
13508	}
13509	if s.Expression != nil && len(*s.Expression) < 1 {
13510		invalidParams.Add(request.NewErrParamMinLen("Expression", 1))
13511	}
13512
13513	if invalidParams.Len() > 0 {
13514		return invalidParams
13515	}
13516	return nil
13517}
13518
13519// SetColumnId sets the ColumnId field's value.
13520func (s *CalculatedColumn) SetColumnId(v string) *CalculatedColumn {
13521	s.ColumnId = &v
13522	return s
13523}
13524
13525// SetColumnName sets the ColumnName field's value.
13526func (s *CalculatedColumn) SetColumnName(v string) *CalculatedColumn {
13527	s.ColumnName = &v
13528	return s
13529}
13530
13531// SetExpression sets the Expression field's value.
13532func (s *CalculatedColumn) SetExpression(v string) *CalculatedColumn {
13533	s.Expression = &v
13534	return s
13535}
13536
13537type CancelIngestionInput struct {
13538	_ struct{} `type:"structure"`
13539
13540	// The Amazon Web Services account ID.
13541	//
13542	// AwsAccountId is a required field
13543	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
13544
13545	// The ID of the dataset used in the ingestion.
13546	//
13547	// DataSetId is a required field
13548	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
13549
13550	// An ID for the ingestion.
13551	//
13552	// IngestionId is a required field
13553	IngestionId *string `location:"uri" locationName:"IngestionId" min:"1" type:"string" required:"true"`
13554}
13555
13556// String returns the string representation
13557func (s CancelIngestionInput) String() string {
13558	return awsutil.Prettify(s)
13559}
13560
13561// GoString returns the string representation
13562func (s CancelIngestionInput) GoString() string {
13563	return s.String()
13564}
13565
13566// Validate inspects the fields of the type to determine if they are valid.
13567func (s *CancelIngestionInput) Validate() error {
13568	invalidParams := request.ErrInvalidParams{Context: "CancelIngestionInput"}
13569	if s.AwsAccountId == nil {
13570		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
13571	}
13572	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
13573		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
13574	}
13575	if s.DataSetId == nil {
13576		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
13577	}
13578	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
13579		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
13580	}
13581	if s.IngestionId == nil {
13582		invalidParams.Add(request.NewErrParamRequired("IngestionId"))
13583	}
13584	if s.IngestionId != nil && len(*s.IngestionId) < 1 {
13585		invalidParams.Add(request.NewErrParamMinLen("IngestionId", 1))
13586	}
13587
13588	if invalidParams.Len() > 0 {
13589		return invalidParams
13590	}
13591	return nil
13592}
13593
13594// SetAwsAccountId sets the AwsAccountId field's value.
13595func (s *CancelIngestionInput) SetAwsAccountId(v string) *CancelIngestionInput {
13596	s.AwsAccountId = &v
13597	return s
13598}
13599
13600// SetDataSetId sets the DataSetId field's value.
13601func (s *CancelIngestionInput) SetDataSetId(v string) *CancelIngestionInput {
13602	s.DataSetId = &v
13603	return s
13604}
13605
13606// SetIngestionId sets the IngestionId field's value.
13607func (s *CancelIngestionInput) SetIngestionId(v string) *CancelIngestionInput {
13608	s.IngestionId = &v
13609	return s
13610}
13611
13612type CancelIngestionOutput struct {
13613	_ struct{} `type:"structure"`
13614
13615	// The Amazon Resource Name (ARN) for the data ingestion.
13616	Arn *string `type:"string"`
13617
13618	// An ID for the ingestion.
13619	IngestionId *string `min:"1" type:"string"`
13620
13621	// The Amazon Web Services request ID for this operation.
13622	RequestId *string `type:"string"`
13623
13624	// The HTTP status of the request.
13625	Status *int64 `location:"statusCode" type:"integer"`
13626}
13627
13628// String returns the string representation
13629func (s CancelIngestionOutput) String() string {
13630	return awsutil.Prettify(s)
13631}
13632
13633// GoString returns the string representation
13634func (s CancelIngestionOutput) GoString() string {
13635	return s.String()
13636}
13637
13638// SetArn sets the Arn field's value.
13639func (s *CancelIngestionOutput) SetArn(v string) *CancelIngestionOutput {
13640	s.Arn = &v
13641	return s
13642}
13643
13644// SetIngestionId sets the IngestionId field's value.
13645func (s *CancelIngestionOutput) SetIngestionId(v string) *CancelIngestionOutput {
13646	s.IngestionId = &v
13647	return s
13648}
13649
13650// SetRequestId sets the RequestId field's value.
13651func (s *CancelIngestionOutput) SetRequestId(v string) *CancelIngestionOutput {
13652	s.RequestId = &v
13653	return s
13654}
13655
13656// SetStatus sets the Status field's value.
13657func (s *CancelIngestionOutput) SetStatus(v int64) *CancelIngestionOutput {
13658	s.Status = &v
13659	return s
13660}
13661
13662// A transform operation that casts a column to a different type.
13663type CastColumnTypeOperation struct {
13664	_ struct{} `type:"structure"`
13665
13666	// Column name.
13667	//
13668	// ColumnName is a required field
13669	ColumnName *string `min:"1" type:"string" required:"true"`
13670
13671	// When casting a column from string to datetime type, you can supply a string
13672	// in a format supported by Amazon QuickSight to denote the source data format.
13673	Format *string `type:"string"`
13674
13675	// New column data type.
13676	//
13677	// NewColumnType is a required field
13678	NewColumnType *string `type:"string" required:"true" enum:"ColumnDataType"`
13679}
13680
13681// String returns the string representation
13682func (s CastColumnTypeOperation) String() string {
13683	return awsutil.Prettify(s)
13684}
13685
13686// GoString returns the string representation
13687func (s CastColumnTypeOperation) GoString() string {
13688	return s.String()
13689}
13690
13691// Validate inspects the fields of the type to determine if they are valid.
13692func (s *CastColumnTypeOperation) Validate() error {
13693	invalidParams := request.ErrInvalidParams{Context: "CastColumnTypeOperation"}
13694	if s.ColumnName == nil {
13695		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
13696	}
13697	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
13698		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
13699	}
13700	if s.NewColumnType == nil {
13701		invalidParams.Add(request.NewErrParamRequired("NewColumnType"))
13702	}
13703
13704	if invalidParams.Len() > 0 {
13705		return invalidParams
13706	}
13707	return nil
13708}
13709
13710// SetColumnName sets the ColumnName field's value.
13711func (s *CastColumnTypeOperation) SetColumnName(v string) *CastColumnTypeOperation {
13712	s.ColumnName = &v
13713	return s
13714}
13715
13716// SetFormat sets the Format field's value.
13717func (s *CastColumnTypeOperation) SetFormat(v string) *CastColumnTypeOperation {
13718	s.Format = &v
13719	return s
13720}
13721
13722// SetNewColumnType sets the NewColumnType field's value.
13723func (s *CastColumnTypeOperation) SetNewColumnType(v string) *CastColumnTypeOperation {
13724	s.NewColumnType = &v
13725	return s
13726}
13727
13728// Metadata that contains a description for a column.
13729type ColumnDescription struct {
13730	_ struct{} `type:"structure"`
13731
13732	// The text of a description for a column.
13733	Text *string `type:"string"`
13734}
13735
13736// String returns the string representation
13737func (s ColumnDescription) String() string {
13738	return awsutil.Prettify(s)
13739}
13740
13741// GoString returns the string representation
13742func (s ColumnDescription) GoString() string {
13743	return s.String()
13744}
13745
13746// SetText sets the Text field's value.
13747func (s *ColumnDescription) SetText(v string) *ColumnDescription {
13748	s.Text = &v
13749	return s
13750}
13751
13752// Groupings of columns that work together in certain Amazon QuickSight features.
13753// This is a variant type structure. For this structure to be valid, only one
13754// of the attributes can be non-null.
13755type ColumnGroup struct {
13756	_ struct{} `type:"structure"`
13757
13758	// Geospatial column group that denotes a hierarchy.
13759	GeoSpatialColumnGroup *GeoSpatialColumnGroup `type:"structure"`
13760}
13761
13762// String returns the string representation
13763func (s ColumnGroup) String() string {
13764	return awsutil.Prettify(s)
13765}
13766
13767// GoString returns the string representation
13768func (s ColumnGroup) GoString() string {
13769	return s.String()
13770}
13771
13772// Validate inspects the fields of the type to determine if they are valid.
13773func (s *ColumnGroup) Validate() error {
13774	invalidParams := request.ErrInvalidParams{Context: "ColumnGroup"}
13775	if s.GeoSpatialColumnGroup != nil {
13776		if err := s.GeoSpatialColumnGroup.Validate(); err != nil {
13777			invalidParams.AddNested("GeoSpatialColumnGroup", err.(request.ErrInvalidParams))
13778		}
13779	}
13780
13781	if invalidParams.Len() > 0 {
13782		return invalidParams
13783	}
13784	return nil
13785}
13786
13787// SetGeoSpatialColumnGroup sets the GeoSpatialColumnGroup field's value.
13788func (s *ColumnGroup) SetGeoSpatialColumnGroup(v *GeoSpatialColumnGroup) *ColumnGroup {
13789	s.GeoSpatialColumnGroup = v
13790	return s
13791}
13792
13793// A structure describing the name, data type, and geographic role of the columns.
13794type ColumnGroupColumnSchema struct {
13795	_ struct{} `type:"structure"`
13796
13797	// The name of the column group's column schema.
13798	Name *string `type:"string"`
13799}
13800
13801// String returns the string representation
13802func (s ColumnGroupColumnSchema) String() string {
13803	return awsutil.Prettify(s)
13804}
13805
13806// GoString returns the string representation
13807func (s ColumnGroupColumnSchema) GoString() string {
13808	return s.String()
13809}
13810
13811// SetName sets the Name field's value.
13812func (s *ColumnGroupColumnSchema) SetName(v string) *ColumnGroupColumnSchema {
13813	s.Name = &v
13814	return s
13815}
13816
13817// The column group schema.
13818type ColumnGroupSchema struct {
13819	_ struct{} `type:"structure"`
13820
13821	// A structure containing the list of schemas for column group columns.
13822	ColumnGroupColumnSchemaList []*ColumnGroupColumnSchema `type:"list"`
13823
13824	// The name of the column group schema.
13825	Name *string `type:"string"`
13826}
13827
13828// String returns the string representation
13829func (s ColumnGroupSchema) String() string {
13830	return awsutil.Prettify(s)
13831}
13832
13833// GoString returns the string representation
13834func (s ColumnGroupSchema) GoString() string {
13835	return s.String()
13836}
13837
13838// SetColumnGroupColumnSchemaList sets the ColumnGroupColumnSchemaList field's value.
13839func (s *ColumnGroupSchema) SetColumnGroupColumnSchemaList(v []*ColumnGroupColumnSchema) *ColumnGroupSchema {
13840	s.ColumnGroupColumnSchemaList = v
13841	return s
13842}
13843
13844// SetName sets the Name field's value.
13845func (s *ColumnGroupSchema) SetName(v string) *ColumnGroupSchema {
13846	s.Name = &v
13847	return s
13848}
13849
13850// A rule defined to grant access on one or more restricted columns. Each dataset
13851// can have multiple rules. To create a restricted column, you add it to one
13852// or more rules. Each rule must contain at least one column and at least one
13853// user or group. To be able to see a restricted column, a user or group needs
13854// to be added to a rule for that column.
13855type ColumnLevelPermissionRule struct {
13856	_ struct{} `type:"structure"`
13857
13858	// An array of column names.
13859	ColumnNames []*string `min:"1" type:"list"`
13860
13861	// An array of Amazon Resource Names (ARNs) for Amazon QuickSight users or groups.
13862	Principals []*string `min:"1" type:"list"`
13863}
13864
13865// String returns the string representation
13866func (s ColumnLevelPermissionRule) String() string {
13867	return awsutil.Prettify(s)
13868}
13869
13870// GoString returns the string representation
13871func (s ColumnLevelPermissionRule) GoString() string {
13872	return s.String()
13873}
13874
13875// Validate inspects the fields of the type to determine if they are valid.
13876func (s *ColumnLevelPermissionRule) Validate() error {
13877	invalidParams := request.ErrInvalidParams{Context: "ColumnLevelPermissionRule"}
13878	if s.ColumnNames != nil && len(s.ColumnNames) < 1 {
13879		invalidParams.Add(request.NewErrParamMinLen("ColumnNames", 1))
13880	}
13881	if s.Principals != nil && len(s.Principals) < 1 {
13882		invalidParams.Add(request.NewErrParamMinLen("Principals", 1))
13883	}
13884
13885	if invalidParams.Len() > 0 {
13886		return invalidParams
13887	}
13888	return nil
13889}
13890
13891// SetColumnNames sets the ColumnNames field's value.
13892func (s *ColumnLevelPermissionRule) SetColumnNames(v []*string) *ColumnLevelPermissionRule {
13893	s.ColumnNames = v
13894	return s
13895}
13896
13897// SetPrincipals sets the Principals field's value.
13898func (s *ColumnLevelPermissionRule) SetPrincipals(v []*string) *ColumnLevelPermissionRule {
13899	s.Principals = v
13900	return s
13901}
13902
13903// The column schema.
13904type ColumnSchema struct {
13905	_ struct{} `type:"structure"`
13906
13907	// The data type of the column schema.
13908	DataType *string `type:"string"`
13909
13910	// The geographic role of the column schema.
13911	GeographicRole *string `type:"string"`
13912
13913	// The name of the column schema.
13914	Name *string `type:"string"`
13915}
13916
13917// String returns the string representation
13918func (s ColumnSchema) String() string {
13919	return awsutil.Prettify(s)
13920}
13921
13922// GoString returns the string representation
13923func (s ColumnSchema) GoString() string {
13924	return s.String()
13925}
13926
13927// SetDataType sets the DataType field's value.
13928func (s *ColumnSchema) SetDataType(v string) *ColumnSchema {
13929	s.DataType = &v
13930	return s
13931}
13932
13933// SetGeographicRole sets the GeographicRole field's value.
13934func (s *ColumnSchema) SetGeographicRole(v string) *ColumnSchema {
13935	s.GeographicRole = &v
13936	return s
13937}
13938
13939// SetName sets the Name field's value.
13940func (s *ColumnSchema) SetName(v string) *ColumnSchema {
13941	s.Name = &v
13942	return s
13943}
13944
13945// A tag for a column in a TagColumnOperation structure. This is a variant type
13946// structure. For this structure to be valid, only one of the attributes can
13947// be non-null.
13948type ColumnTag struct {
13949	_ struct{} `type:"structure"`
13950
13951	// A description for a column.
13952	ColumnDescription *ColumnDescription `type:"structure"`
13953
13954	// A geospatial role for a column.
13955	ColumnGeographicRole *string `type:"string" enum:"GeoSpatialDataRole"`
13956}
13957
13958// String returns the string representation
13959func (s ColumnTag) String() string {
13960	return awsutil.Prettify(s)
13961}
13962
13963// GoString returns the string representation
13964func (s ColumnTag) GoString() string {
13965	return s.String()
13966}
13967
13968// SetColumnDescription sets the ColumnDescription field's value.
13969func (s *ColumnTag) SetColumnDescription(v *ColumnDescription) *ColumnTag {
13970	s.ColumnDescription = v
13971	return s
13972}
13973
13974// SetColumnGeographicRole sets the ColumnGeographicRole field's value.
13975func (s *ColumnTag) SetColumnGeographicRole(v string) *ColumnTag {
13976	s.ColumnGeographicRole = &v
13977	return s
13978}
13979
13980// A resource is already in a state that indicates an operation is happening
13981// that must complete before a new update can be applied.
13982type ConcurrentUpdatingException struct {
13983	_            struct{}                  `type:"structure"`
13984	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
13985
13986	Message_ *string `locationName:"Message" type:"string"`
13987
13988	RequestId *string `type:"string"`
13989}
13990
13991// String returns the string representation
13992func (s ConcurrentUpdatingException) String() string {
13993	return awsutil.Prettify(s)
13994}
13995
13996// GoString returns the string representation
13997func (s ConcurrentUpdatingException) GoString() string {
13998	return s.String()
13999}
14000
14001func newErrorConcurrentUpdatingException(v protocol.ResponseMetadata) error {
14002	return &ConcurrentUpdatingException{
14003		RespMetadata: v,
14004	}
14005}
14006
14007// Code returns the exception type name.
14008func (s *ConcurrentUpdatingException) Code() string {
14009	return "ConcurrentUpdatingException"
14010}
14011
14012// Message returns the exception's message.
14013func (s *ConcurrentUpdatingException) Message() string {
14014	if s.Message_ != nil {
14015		return *s.Message_
14016	}
14017	return ""
14018}
14019
14020// OrigErr always returns nil, satisfies awserr.Error interface.
14021func (s *ConcurrentUpdatingException) OrigErr() error {
14022	return nil
14023}
14024
14025func (s *ConcurrentUpdatingException) Error() string {
14026	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
14027}
14028
14029// Status code returns the HTTP status code for the request's response error.
14030func (s *ConcurrentUpdatingException) StatusCode() int {
14031	return s.RespMetadata.StatusCode
14032}
14033
14034// RequestID returns the service's response RequestID for request.
14035func (s *ConcurrentUpdatingException) RequestID() string {
14036	return s.RespMetadata.RequestID
14037}
14038
14039// Updating or deleting a resource can cause an inconsistent state.
14040type ConflictException struct {
14041	_            struct{}                  `type:"structure"`
14042	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
14043
14044	Message_ *string `locationName:"Message" type:"string"`
14045
14046	// The Amazon Web Services request ID for this request.
14047	RequestId *string `type:"string"`
14048}
14049
14050// String returns the string representation
14051func (s ConflictException) String() string {
14052	return awsutil.Prettify(s)
14053}
14054
14055// GoString returns the string representation
14056func (s ConflictException) GoString() string {
14057	return s.String()
14058}
14059
14060func newErrorConflictException(v protocol.ResponseMetadata) error {
14061	return &ConflictException{
14062		RespMetadata: v,
14063	}
14064}
14065
14066// Code returns the exception type name.
14067func (s *ConflictException) Code() string {
14068	return "ConflictException"
14069}
14070
14071// Message returns the exception's message.
14072func (s *ConflictException) Message() string {
14073	if s.Message_ != nil {
14074		return *s.Message_
14075	}
14076	return ""
14077}
14078
14079// OrigErr always returns nil, satisfies awserr.Error interface.
14080func (s *ConflictException) OrigErr() error {
14081	return nil
14082}
14083
14084func (s *ConflictException) Error() string {
14085	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
14086}
14087
14088// Status code returns the HTTP status code for the request's response error.
14089func (s *ConflictException) StatusCode() int {
14090	return s.RespMetadata.StatusCode
14091}
14092
14093// RequestID returns the service's response RequestID for request.
14094func (s *ConflictException) RequestID() string {
14095	return s.RespMetadata.RequestID
14096}
14097
14098type CreateAccountCustomizationInput struct {
14099	_ struct{} `type:"structure"`
14100
14101	// The Amazon QuickSight customizations you're adding in the current Amazon
14102	// Web Services Region;. You can add these to an Amazon Web Services account
14103	// and a Amazon QuickSight namespace.
14104	//
14105	// For example, you can add a default theme by setting AccountCustomization
14106	// to the midnight theme: "AccountCustomization": { "DefaultTheme": "arn:aws:quicksight::aws:theme/MIDNIGHT"
14107	// }. Or, you can add a custom theme by specifying "AccountCustomization": {
14108	// "DefaultTheme": "arn:aws:quicksight:us-west-2:111122223333:theme/bdb844d0-0fe9-4d9d-b520-0fe602d93639"
14109	// }.
14110	//
14111	// AccountCustomization is a required field
14112	AccountCustomization *AccountCustomization `type:"structure" required:"true"`
14113
14114	// The ID for the Amazon Web Services account that you want to customize Amazon
14115	// QuickSight for.
14116	//
14117	// AwsAccountId is a required field
14118	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
14119
14120	// The Amazon QuickSight namespace that you want to add customizations to.
14121	Namespace *string `location:"querystring" locationName:"namespace" type:"string"`
14122
14123	// A list of the tags that you want to attach to this resource.
14124	Tags []*Tag `min:"1" type:"list"`
14125}
14126
14127// String returns the string representation
14128func (s CreateAccountCustomizationInput) String() string {
14129	return awsutil.Prettify(s)
14130}
14131
14132// GoString returns the string representation
14133func (s CreateAccountCustomizationInput) GoString() string {
14134	return s.String()
14135}
14136
14137// Validate inspects the fields of the type to determine if they are valid.
14138func (s *CreateAccountCustomizationInput) Validate() error {
14139	invalidParams := request.ErrInvalidParams{Context: "CreateAccountCustomizationInput"}
14140	if s.AccountCustomization == nil {
14141		invalidParams.Add(request.NewErrParamRequired("AccountCustomization"))
14142	}
14143	if s.AwsAccountId == nil {
14144		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
14145	}
14146	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
14147		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
14148	}
14149	if s.Tags != nil && len(s.Tags) < 1 {
14150		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
14151	}
14152	if s.Tags != nil {
14153		for i, v := range s.Tags {
14154			if v == nil {
14155				continue
14156			}
14157			if err := v.Validate(); err != nil {
14158				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
14159			}
14160		}
14161	}
14162
14163	if invalidParams.Len() > 0 {
14164		return invalidParams
14165	}
14166	return nil
14167}
14168
14169// SetAccountCustomization sets the AccountCustomization field's value.
14170func (s *CreateAccountCustomizationInput) SetAccountCustomization(v *AccountCustomization) *CreateAccountCustomizationInput {
14171	s.AccountCustomization = v
14172	return s
14173}
14174
14175// SetAwsAccountId sets the AwsAccountId field's value.
14176func (s *CreateAccountCustomizationInput) SetAwsAccountId(v string) *CreateAccountCustomizationInput {
14177	s.AwsAccountId = &v
14178	return s
14179}
14180
14181// SetNamespace sets the Namespace field's value.
14182func (s *CreateAccountCustomizationInput) SetNamespace(v string) *CreateAccountCustomizationInput {
14183	s.Namespace = &v
14184	return s
14185}
14186
14187// SetTags sets the Tags field's value.
14188func (s *CreateAccountCustomizationInput) SetTags(v []*Tag) *CreateAccountCustomizationInput {
14189	s.Tags = v
14190	return s
14191}
14192
14193type CreateAccountCustomizationOutput struct {
14194	_ struct{} `type:"structure"`
14195
14196	// The Amazon QuickSight customizations you're adding in the current Amazon
14197	// Web Services Region;.
14198	AccountCustomization *AccountCustomization `type:"structure"`
14199
14200	// The Amazon Resource Name (ARN) for the customization that you created for
14201	// this Amazon Web Services account.
14202	Arn *string `type:"string"`
14203
14204	// The ID for the Amazon Web Services account that you want to customize Amazon
14205	// QuickSight for.
14206	AwsAccountId *string `min:"12" type:"string"`
14207
14208	// The namespace associated with the customization you're creating.
14209	Namespace *string `type:"string"`
14210
14211	// The Amazon Web Services request ID for this operation.
14212	RequestId *string `type:"string"`
14213
14214	// The HTTP status of the request.
14215	Status *int64 `location:"statusCode" type:"integer"`
14216}
14217
14218// String returns the string representation
14219func (s CreateAccountCustomizationOutput) String() string {
14220	return awsutil.Prettify(s)
14221}
14222
14223// GoString returns the string representation
14224func (s CreateAccountCustomizationOutput) GoString() string {
14225	return s.String()
14226}
14227
14228// SetAccountCustomization sets the AccountCustomization field's value.
14229func (s *CreateAccountCustomizationOutput) SetAccountCustomization(v *AccountCustomization) *CreateAccountCustomizationOutput {
14230	s.AccountCustomization = v
14231	return s
14232}
14233
14234// SetArn sets the Arn field's value.
14235func (s *CreateAccountCustomizationOutput) SetArn(v string) *CreateAccountCustomizationOutput {
14236	s.Arn = &v
14237	return s
14238}
14239
14240// SetAwsAccountId sets the AwsAccountId field's value.
14241func (s *CreateAccountCustomizationOutput) SetAwsAccountId(v string) *CreateAccountCustomizationOutput {
14242	s.AwsAccountId = &v
14243	return s
14244}
14245
14246// SetNamespace sets the Namespace field's value.
14247func (s *CreateAccountCustomizationOutput) SetNamespace(v string) *CreateAccountCustomizationOutput {
14248	s.Namespace = &v
14249	return s
14250}
14251
14252// SetRequestId sets the RequestId field's value.
14253func (s *CreateAccountCustomizationOutput) SetRequestId(v string) *CreateAccountCustomizationOutput {
14254	s.RequestId = &v
14255	return s
14256}
14257
14258// SetStatus sets the Status field's value.
14259func (s *CreateAccountCustomizationOutput) SetStatus(v int64) *CreateAccountCustomizationOutput {
14260	s.Status = &v
14261	return s
14262}
14263
14264type CreateAnalysisInput struct {
14265	_ struct{} `type:"structure"`
14266
14267	// The ID for the analysis that you're creating. This ID displays in the URL
14268	// of the analysis.
14269	//
14270	// AnalysisId is a required field
14271	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
14272
14273	// The ID of the Amazon Web Services account where you are creating an analysis.
14274	//
14275	// AwsAccountId is a required field
14276	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
14277
14278	// A descriptive name for the analysis that you're creating. This name displays
14279	// for the analysis in the Amazon QuickSight console.
14280	//
14281	// Name is a required field
14282	Name *string `min:"1" type:"string" required:"true"`
14283
14284	// The parameter names and override values that you want to use. An analysis
14285	// can have any parameter type, and some parameters might accept multiple values.
14286	Parameters *Parameters `type:"structure"`
14287
14288	// A structure that describes the principals and the resource-level permissions
14289	// on an analysis. You can use the Permissions structure to grant permissions
14290	// by providing a list of Identity and Access Management (IAM) action information
14291	// for each principal listed by Amazon Resource Name (ARN).
14292	//
14293	// To specify no permissions, omit Permissions.
14294	Permissions []*ResourcePermission `min:"1" type:"list"`
14295
14296	// A source entity to use for the analysis that you're creating. This metadata
14297	// structure contains details that describe a source template and one or more
14298	// datasets.
14299	//
14300	// SourceEntity is a required field
14301	SourceEntity *AnalysisSourceEntity `type:"structure" required:"true"`
14302
14303	// Contains a map of the key-value pairs for the resource tag or tags assigned
14304	// to the analysis.
14305	Tags []*Tag `min:"1" type:"list"`
14306
14307	// The ARN for the theme to apply to the analysis that you're creating. To see
14308	// the theme in the Amazon QuickSight console, make sure that you have access
14309	// to it.
14310	ThemeArn *string `type:"string"`
14311}
14312
14313// String returns the string representation
14314func (s CreateAnalysisInput) String() string {
14315	return awsutil.Prettify(s)
14316}
14317
14318// GoString returns the string representation
14319func (s CreateAnalysisInput) GoString() string {
14320	return s.String()
14321}
14322
14323// Validate inspects the fields of the type to determine if they are valid.
14324func (s *CreateAnalysisInput) Validate() error {
14325	invalidParams := request.ErrInvalidParams{Context: "CreateAnalysisInput"}
14326	if s.AnalysisId == nil {
14327		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
14328	}
14329	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
14330		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
14331	}
14332	if s.AwsAccountId == nil {
14333		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
14334	}
14335	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
14336		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
14337	}
14338	if s.Name == nil {
14339		invalidParams.Add(request.NewErrParamRequired("Name"))
14340	}
14341	if s.Name != nil && len(*s.Name) < 1 {
14342		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
14343	}
14344	if s.Permissions != nil && len(s.Permissions) < 1 {
14345		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
14346	}
14347	if s.SourceEntity == nil {
14348		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
14349	}
14350	if s.Tags != nil && len(s.Tags) < 1 {
14351		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
14352	}
14353	if s.Parameters != nil {
14354		if err := s.Parameters.Validate(); err != nil {
14355			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
14356		}
14357	}
14358	if s.Permissions != nil {
14359		for i, v := range s.Permissions {
14360			if v == nil {
14361				continue
14362			}
14363			if err := v.Validate(); err != nil {
14364				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
14365			}
14366		}
14367	}
14368	if s.SourceEntity != nil {
14369		if err := s.SourceEntity.Validate(); err != nil {
14370			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
14371		}
14372	}
14373	if s.Tags != nil {
14374		for i, v := range s.Tags {
14375			if v == nil {
14376				continue
14377			}
14378			if err := v.Validate(); err != nil {
14379				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
14380			}
14381		}
14382	}
14383
14384	if invalidParams.Len() > 0 {
14385		return invalidParams
14386	}
14387	return nil
14388}
14389
14390// SetAnalysisId sets the AnalysisId field's value.
14391func (s *CreateAnalysisInput) SetAnalysisId(v string) *CreateAnalysisInput {
14392	s.AnalysisId = &v
14393	return s
14394}
14395
14396// SetAwsAccountId sets the AwsAccountId field's value.
14397func (s *CreateAnalysisInput) SetAwsAccountId(v string) *CreateAnalysisInput {
14398	s.AwsAccountId = &v
14399	return s
14400}
14401
14402// SetName sets the Name field's value.
14403func (s *CreateAnalysisInput) SetName(v string) *CreateAnalysisInput {
14404	s.Name = &v
14405	return s
14406}
14407
14408// SetParameters sets the Parameters field's value.
14409func (s *CreateAnalysisInput) SetParameters(v *Parameters) *CreateAnalysisInput {
14410	s.Parameters = v
14411	return s
14412}
14413
14414// SetPermissions sets the Permissions field's value.
14415func (s *CreateAnalysisInput) SetPermissions(v []*ResourcePermission) *CreateAnalysisInput {
14416	s.Permissions = v
14417	return s
14418}
14419
14420// SetSourceEntity sets the SourceEntity field's value.
14421func (s *CreateAnalysisInput) SetSourceEntity(v *AnalysisSourceEntity) *CreateAnalysisInput {
14422	s.SourceEntity = v
14423	return s
14424}
14425
14426// SetTags sets the Tags field's value.
14427func (s *CreateAnalysisInput) SetTags(v []*Tag) *CreateAnalysisInput {
14428	s.Tags = v
14429	return s
14430}
14431
14432// SetThemeArn sets the ThemeArn field's value.
14433func (s *CreateAnalysisInput) SetThemeArn(v string) *CreateAnalysisInput {
14434	s.ThemeArn = &v
14435	return s
14436}
14437
14438type CreateAnalysisOutput struct {
14439	_ struct{} `type:"structure"`
14440
14441	// The ID of the analysis.
14442	AnalysisId *string `min:"1" type:"string"`
14443
14444	// The ARN for the analysis.
14445	Arn *string `type:"string"`
14446
14447	// The status of the creation of the analysis.
14448	CreationStatus *string `type:"string" enum:"ResourceStatus"`
14449
14450	// The Amazon Web Services request ID for this operation.
14451	RequestId *string `type:"string"`
14452
14453	// The HTTP status of the request.
14454	Status *int64 `location:"statusCode" type:"integer"`
14455}
14456
14457// String returns the string representation
14458func (s CreateAnalysisOutput) String() string {
14459	return awsutil.Prettify(s)
14460}
14461
14462// GoString returns the string representation
14463func (s CreateAnalysisOutput) GoString() string {
14464	return s.String()
14465}
14466
14467// SetAnalysisId sets the AnalysisId field's value.
14468func (s *CreateAnalysisOutput) SetAnalysisId(v string) *CreateAnalysisOutput {
14469	s.AnalysisId = &v
14470	return s
14471}
14472
14473// SetArn sets the Arn field's value.
14474func (s *CreateAnalysisOutput) SetArn(v string) *CreateAnalysisOutput {
14475	s.Arn = &v
14476	return s
14477}
14478
14479// SetCreationStatus sets the CreationStatus field's value.
14480func (s *CreateAnalysisOutput) SetCreationStatus(v string) *CreateAnalysisOutput {
14481	s.CreationStatus = &v
14482	return s
14483}
14484
14485// SetRequestId sets the RequestId field's value.
14486func (s *CreateAnalysisOutput) SetRequestId(v string) *CreateAnalysisOutput {
14487	s.RequestId = &v
14488	return s
14489}
14490
14491// SetStatus sets the Status field's value.
14492func (s *CreateAnalysisOutput) SetStatus(v int64) *CreateAnalysisOutput {
14493	s.Status = &v
14494	return s
14495}
14496
14497// A transform operation that creates calculated columns. Columns created in
14498// one such operation form a lexical closure.
14499type CreateColumnsOperation struct {
14500	_ struct{} `type:"structure"`
14501
14502	// Calculated columns to create.
14503	//
14504	// Columns is a required field
14505	Columns []*CalculatedColumn `min:"1" type:"list" required:"true"`
14506}
14507
14508// String returns the string representation
14509func (s CreateColumnsOperation) String() string {
14510	return awsutil.Prettify(s)
14511}
14512
14513// GoString returns the string representation
14514func (s CreateColumnsOperation) GoString() string {
14515	return s.String()
14516}
14517
14518// Validate inspects the fields of the type to determine if they are valid.
14519func (s *CreateColumnsOperation) Validate() error {
14520	invalidParams := request.ErrInvalidParams{Context: "CreateColumnsOperation"}
14521	if s.Columns == nil {
14522		invalidParams.Add(request.NewErrParamRequired("Columns"))
14523	}
14524	if s.Columns != nil && len(s.Columns) < 1 {
14525		invalidParams.Add(request.NewErrParamMinLen("Columns", 1))
14526	}
14527	if s.Columns != nil {
14528		for i, v := range s.Columns {
14529			if v == nil {
14530				continue
14531			}
14532			if err := v.Validate(); err != nil {
14533				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams))
14534			}
14535		}
14536	}
14537
14538	if invalidParams.Len() > 0 {
14539		return invalidParams
14540	}
14541	return nil
14542}
14543
14544// SetColumns sets the Columns field's value.
14545func (s *CreateColumnsOperation) SetColumns(v []*CalculatedColumn) *CreateColumnsOperation {
14546	s.Columns = v
14547	return s
14548}
14549
14550type CreateDashboardInput struct {
14551	_ struct{} `type:"structure"`
14552
14553	// The ID of the Amazon Web Services account where you want to create the dashboard.
14554	//
14555	// AwsAccountId is a required field
14556	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
14557
14558	// The ID for the dashboard, also added to the IAMpolicy.
14559	//
14560	// DashboardId is a required field
14561	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
14562
14563	// Options for publishing the dashboard when you create it:
14564	//
14565	//    * AvailabilityStatus for AdHocFilteringOption - This status can be either
14566	//    ENABLED or DISABLED. When this is set to DISABLED, Amazon QuickSight disables
14567	//    the left filter pane on the published dashboard, which can be used for
14568	//    ad hoc (one-time) filtering. This option is ENABLED by default.
14569	//
14570	//    * AvailabilityStatus for ExportToCSVOption - This status can be either
14571	//    ENABLED or DISABLED. The visual option to export data to .CSV format isn't
14572	//    enabled when this is set to DISABLED. This option is ENABLED by default.
14573	//
14574	//    * VisibilityState for SheetControlsOption - This visibility state can
14575	//    be either COLLAPSED or EXPANDED. This option is COLLAPSED by default.
14576	DashboardPublishOptions *DashboardPublishOptions `type:"structure"`
14577
14578	// The display name of the dashboard.
14579	//
14580	// Name is a required field
14581	Name *string `min:"1" type:"string" required:"true"`
14582
14583	// The parameters for the creation of the dashboard, which you want to use to
14584	// override the default settings. A dashboard can have any type of parameters,
14585	// and some parameters might accept multiple values.
14586	Parameters *Parameters `type:"structure"`
14587
14588	// A structure that contains the permissions of the dashboard. You can use this
14589	// structure for granting permissions by providing a list of IAMaction information
14590	// for each principal ARN.
14591	//
14592	// To specify no permissions, omit the permissions list.
14593	Permissions []*ResourcePermission `min:"1" type:"list"`
14594
14595	// The entity that you are using as a source when you create the dashboard.
14596	// In SourceEntity, you specify the type of object you're using as source. You
14597	// can only create a dashboard from a template, so you use a SourceTemplate
14598	// entity. If you need to create a dashboard from an analysis, first convert
14599	// the analysis to a template by using the CreateTemplate API operation. For
14600	// SourceTemplate, specify the Amazon Resource Name (ARN) of the source template.
14601	// The SourceTemplateARN can contain any Amazon Web Services account and any
14602	// Amazon QuickSight-supported Amazon Web Services Region;.
14603	//
14604	// Use the DataSetReferences entity within SourceTemplate to list the replacement
14605	// datasets for the placeholders listed in the original. The schema in each
14606	// dataset must match its placeholder.
14607	//
14608	// SourceEntity is a required field
14609	SourceEntity *DashboardSourceEntity `type:"structure" required:"true"`
14610
14611	// Contains a map of the key-value pairs for the resource tag or tags assigned
14612	// to the dashboard.
14613	Tags []*Tag `min:"1" type:"list"`
14614
14615	// The Amazon Resource Name (ARN) of the theme that is being used for this dashboard.
14616	// If you add a value for this field, it overrides the value that is used in
14617	// the source entity. The theme ARN must exist in the same Amazon Web Services
14618	// account where you create the dashboard.
14619	ThemeArn *string `type:"string"`
14620
14621	// A description for the first version of the dashboard being created.
14622	VersionDescription *string `min:"1" type:"string"`
14623}
14624
14625// String returns the string representation
14626func (s CreateDashboardInput) String() string {
14627	return awsutil.Prettify(s)
14628}
14629
14630// GoString returns the string representation
14631func (s CreateDashboardInput) GoString() string {
14632	return s.String()
14633}
14634
14635// Validate inspects the fields of the type to determine if they are valid.
14636func (s *CreateDashboardInput) Validate() error {
14637	invalidParams := request.ErrInvalidParams{Context: "CreateDashboardInput"}
14638	if s.AwsAccountId == nil {
14639		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
14640	}
14641	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
14642		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
14643	}
14644	if s.DashboardId == nil {
14645		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
14646	}
14647	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
14648		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
14649	}
14650	if s.Name == nil {
14651		invalidParams.Add(request.NewErrParamRequired("Name"))
14652	}
14653	if s.Name != nil && len(*s.Name) < 1 {
14654		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
14655	}
14656	if s.Permissions != nil && len(s.Permissions) < 1 {
14657		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
14658	}
14659	if s.SourceEntity == nil {
14660		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
14661	}
14662	if s.Tags != nil && len(s.Tags) < 1 {
14663		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
14664	}
14665	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
14666		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
14667	}
14668	if s.Parameters != nil {
14669		if err := s.Parameters.Validate(); err != nil {
14670			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
14671		}
14672	}
14673	if s.Permissions != nil {
14674		for i, v := range s.Permissions {
14675			if v == nil {
14676				continue
14677			}
14678			if err := v.Validate(); err != nil {
14679				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
14680			}
14681		}
14682	}
14683	if s.SourceEntity != nil {
14684		if err := s.SourceEntity.Validate(); err != nil {
14685			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
14686		}
14687	}
14688	if s.Tags != nil {
14689		for i, v := range s.Tags {
14690			if v == nil {
14691				continue
14692			}
14693			if err := v.Validate(); err != nil {
14694				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
14695			}
14696		}
14697	}
14698
14699	if invalidParams.Len() > 0 {
14700		return invalidParams
14701	}
14702	return nil
14703}
14704
14705// SetAwsAccountId sets the AwsAccountId field's value.
14706func (s *CreateDashboardInput) SetAwsAccountId(v string) *CreateDashboardInput {
14707	s.AwsAccountId = &v
14708	return s
14709}
14710
14711// SetDashboardId sets the DashboardId field's value.
14712func (s *CreateDashboardInput) SetDashboardId(v string) *CreateDashboardInput {
14713	s.DashboardId = &v
14714	return s
14715}
14716
14717// SetDashboardPublishOptions sets the DashboardPublishOptions field's value.
14718func (s *CreateDashboardInput) SetDashboardPublishOptions(v *DashboardPublishOptions) *CreateDashboardInput {
14719	s.DashboardPublishOptions = v
14720	return s
14721}
14722
14723// SetName sets the Name field's value.
14724func (s *CreateDashboardInput) SetName(v string) *CreateDashboardInput {
14725	s.Name = &v
14726	return s
14727}
14728
14729// SetParameters sets the Parameters field's value.
14730func (s *CreateDashboardInput) SetParameters(v *Parameters) *CreateDashboardInput {
14731	s.Parameters = v
14732	return s
14733}
14734
14735// SetPermissions sets the Permissions field's value.
14736func (s *CreateDashboardInput) SetPermissions(v []*ResourcePermission) *CreateDashboardInput {
14737	s.Permissions = v
14738	return s
14739}
14740
14741// SetSourceEntity sets the SourceEntity field's value.
14742func (s *CreateDashboardInput) SetSourceEntity(v *DashboardSourceEntity) *CreateDashboardInput {
14743	s.SourceEntity = v
14744	return s
14745}
14746
14747// SetTags sets the Tags field's value.
14748func (s *CreateDashboardInput) SetTags(v []*Tag) *CreateDashboardInput {
14749	s.Tags = v
14750	return s
14751}
14752
14753// SetThemeArn sets the ThemeArn field's value.
14754func (s *CreateDashboardInput) SetThemeArn(v string) *CreateDashboardInput {
14755	s.ThemeArn = &v
14756	return s
14757}
14758
14759// SetVersionDescription sets the VersionDescription field's value.
14760func (s *CreateDashboardInput) SetVersionDescription(v string) *CreateDashboardInput {
14761	s.VersionDescription = &v
14762	return s
14763}
14764
14765type CreateDashboardOutput struct {
14766	_ struct{} `type:"structure"`
14767
14768	// The ARN of the dashboard.
14769	Arn *string `type:"string"`
14770
14771	// The status of the dashboard creation request.
14772	CreationStatus *string `type:"string" enum:"ResourceStatus"`
14773
14774	// The ID for the dashboard.
14775	DashboardId *string `min:"1" type:"string"`
14776
14777	// The Amazon Web Services request ID for this operation.
14778	RequestId *string `type:"string"`
14779
14780	// The HTTP status of the request.
14781	Status *int64 `location:"statusCode" type:"integer"`
14782
14783	// The ARN of the dashboard, including the version number of the first version
14784	// that is created.
14785	VersionArn *string `type:"string"`
14786}
14787
14788// String returns the string representation
14789func (s CreateDashboardOutput) String() string {
14790	return awsutil.Prettify(s)
14791}
14792
14793// GoString returns the string representation
14794func (s CreateDashboardOutput) GoString() string {
14795	return s.String()
14796}
14797
14798// SetArn sets the Arn field's value.
14799func (s *CreateDashboardOutput) SetArn(v string) *CreateDashboardOutput {
14800	s.Arn = &v
14801	return s
14802}
14803
14804// SetCreationStatus sets the CreationStatus field's value.
14805func (s *CreateDashboardOutput) SetCreationStatus(v string) *CreateDashboardOutput {
14806	s.CreationStatus = &v
14807	return s
14808}
14809
14810// SetDashboardId sets the DashboardId field's value.
14811func (s *CreateDashboardOutput) SetDashboardId(v string) *CreateDashboardOutput {
14812	s.DashboardId = &v
14813	return s
14814}
14815
14816// SetRequestId sets the RequestId field's value.
14817func (s *CreateDashboardOutput) SetRequestId(v string) *CreateDashboardOutput {
14818	s.RequestId = &v
14819	return s
14820}
14821
14822// SetStatus sets the Status field's value.
14823func (s *CreateDashboardOutput) SetStatus(v int64) *CreateDashboardOutput {
14824	s.Status = &v
14825	return s
14826}
14827
14828// SetVersionArn sets the VersionArn field's value.
14829func (s *CreateDashboardOutput) SetVersionArn(v string) *CreateDashboardOutput {
14830	s.VersionArn = &v
14831	return s
14832}
14833
14834type CreateDataSetInput struct {
14835	_ struct{} `type:"structure"`
14836
14837	// The Amazon Web Services account ID.
14838	//
14839	// AwsAccountId is a required field
14840	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
14841
14842	// Groupings of columns that work together in certain Amazon QuickSight features.
14843	// Currently, only geospatial hierarchy is supported.
14844	ColumnGroups []*ColumnGroup `min:"1" type:"list"`
14845
14846	// A set of one or more definitions of a ColumnLevelPermissionRule .
14847	ColumnLevelPermissionRules []*ColumnLevelPermissionRule `min:"1" type:"list"`
14848
14849	// An ID for the dataset that you want to create. This ID is unique per Amazon
14850	// Web Services Region; for each Amazon Web Services account.
14851	//
14852	// DataSetId is a required field
14853	DataSetId *string `type:"string" required:"true"`
14854
14855	// The usage configuration to apply to child datasets that reference this dataset
14856	// as a source.
14857	DataSetUsageConfiguration *DataSetUsageConfiguration `type:"structure"`
14858
14859	// The folder that contains fields and nested subfolders for your dataset.
14860	FieldFolders map[string]*FieldFolder `type:"map"`
14861
14862	// Indicates whether you want to import the data into SPICE.
14863	//
14864	// ImportMode is a required field
14865	ImportMode *string `type:"string" required:"true" enum:"DataSetImportMode"`
14866
14867	// Configures the combination and transformation of the data from the physical
14868	// tables.
14869	LogicalTableMap map[string]*LogicalTable `min:"1" type:"map"`
14870
14871	// The display name for the dataset.
14872	//
14873	// Name is a required field
14874	Name *string `min:"1" type:"string" required:"true"`
14875
14876	// A list of resource permissions on the dataset.
14877	Permissions []*ResourcePermission `min:"1" type:"list"`
14878
14879	// Declares the physical tables that are available in the underlying data sources.
14880	//
14881	// PhysicalTableMap is a required field
14882	PhysicalTableMap map[string]*PhysicalTable `type:"map" required:"true"`
14883
14884	// The row-level security configuration for the data that you want to create.
14885	RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"`
14886
14887	// The configuration of tags on a dataset to set row-level security. Row-level
14888	// security tags are currently supported for anonymous embedding only.
14889	RowLevelPermissionTagConfiguration *RowLevelPermissionTagConfiguration `type:"structure"`
14890
14891	// Contains a map of the key-value pairs for the resource tag or tags assigned
14892	// to the dataset.
14893	Tags []*Tag `min:"1" type:"list"`
14894}
14895
14896// String returns the string representation
14897func (s CreateDataSetInput) String() string {
14898	return awsutil.Prettify(s)
14899}
14900
14901// GoString returns the string representation
14902func (s CreateDataSetInput) GoString() string {
14903	return s.String()
14904}
14905
14906// Validate inspects the fields of the type to determine if they are valid.
14907func (s *CreateDataSetInput) Validate() error {
14908	invalidParams := request.ErrInvalidParams{Context: "CreateDataSetInput"}
14909	if s.AwsAccountId == nil {
14910		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
14911	}
14912	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
14913		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
14914	}
14915	if s.ColumnGroups != nil && len(s.ColumnGroups) < 1 {
14916		invalidParams.Add(request.NewErrParamMinLen("ColumnGroups", 1))
14917	}
14918	if s.ColumnLevelPermissionRules != nil && len(s.ColumnLevelPermissionRules) < 1 {
14919		invalidParams.Add(request.NewErrParamMinLen("ColumnLevelPermissionRules", 1))
14920	}
14921	if s.DataSetId == nil {
14922		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
14923	}
14924	if s.ImportMode == nil {
14925		invalidParams.Add(request.NewErrParamRequired("ImportMode"))
14926	}
14927	if s.LogicalTableMap != nil && len(s.LogicalTableMap) < 1 {
14928		invalidParams.Add(request.NewErrParamMinLen("LogicalTableMap", 1))
14929	}
14930	if s.Name == nil {
14931		invalidParams.Add(request.NewErrParamRequired("Name"))
14932	}
14933	if s.Name != nil && len(*s.Name) < 1 {
14934		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
14935	}
14936	if s.Permissions != nil && len(s.Permissions) < 1 {
14937		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
14938	}
14939	if s.PhysicalTableMap == nil {
14940		invalidParams.Add(request.NewErrParamRequired("PhysicalTableMap"))
14941	}
14942	if s.Tags != nil && len(s.Tags) < 1 {
14943		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
14944	}
14945	if s.ColumnGroups != nil {
14946		for i, v := range s.ColumnGroups {
14947			if v == nil {
14948				continue
14949			}
14950			if err := v.Validate(); err != nil {
14951				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnGroups", i), err.(request.ErrInvalidParams))
14952			}
14953		}
14954	}
14955	if s.ColumnLevelPermissionRules != nil {
14956		for i, v := range s.ColumnLevelPermissionRules {
14957			if v == nil {
14958				continue
14959			}
14960			if err := v.Validate(); err != nil {
14961				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnLevelPermissionRules", i), err.(request.ErrInvalidParams))
14962			}
14963		}
14964	}
14965	if s.LogicalTableMap != nil {
14966		for i, v := range s.LogicalTableMap {
14967			if v == nil {
14968				continue
14969			}
14970			if err := v.Validate(); err != nil {
14971				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LogicalTableMap", i), err.(request.ErrInvalidParams))
14972			}
14973		}
14974	}
14975	if s.Permissions != nil {
14976		for i, v := range s.Permissions {
14977			if v == nil {
14978				continue
14979			}
14980			if err := v.Validate(); err != nil {
14981				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
14982			}
14983		}
14984	}
14985	if s.PhysicalTableMap != nil {
14986		for i, v := range s.PhysicalTableMap {
14987			if v == nil {
14988				continue
14989			}
14990			if err := v.Validate(); err != nil {
14991				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PhysicalTableMap", i), err.(request.ErrInvalidParams))
14992			}
14993		}
14994	}
14995	if s.RowLevelPermissionDataSet != nil {
14996		if err := s.RowLevelPermissionDataSet.Validate(); err != nil {
14997			invalidParams.AddNested("RowLevelPermissionDataSet", err.(request.ErrInvalidParams))
14998		}
14999	}
15000	if s.RowLevelPermissionTagConfiguration != nil {
15001		if err := s.RowLevelPermissionTagConfiguration.Validate(); err != nil {
15002			invalidParams.AddNested("RowLevelPermissionTagConfiguration", err.(request.ErrInvalidParams))
15003		}
15004	}
15005	if s.Tags != nil {
15006		for i, v := range s.Tags {
15007			if v == nil {
15008				continue
15009			}
15010			if err := v.Validate(); err != nil {
15011				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
15012			}
15013		}
15014	}
15015
15016	if invalidParams.Len() > 0 {
15017		return invalidParams
15018	}
15019	return nil
15020}
15021
15022// SetAwsAccountId sets the AwsAccountId field's value.
15023func (s *CreateDataSetInput) SetAwsAccountId(v string) *CreateDataSetInput {
15024	s.AwsAccountId = &v
15025	return s
15026}
15027
15028// SetColumnGroups sets the ColumnGroups field's value.
15029func (s *CreateDataSetInput) SetColumnGroups(v []*ColumnGroup) *CreateDataSetInput {
15030	s.ColumnGroups = v
15031	return s
15032}
15033
15034// SetColumnLevelPermissionRules sets the ColumnLevelPermissionRules field's value.
15035func (s *CreateDataSetInput) SetColumnLevelPermissionRules(v []*ColumnLevelPermissionRule) *CreateDataSetInput {
15036	s.ColumnLevelPermissionRules = v
15037	return s
15038}
15039
15040// SetDataSetId sets the DataSetId field's value.
15041func (s *CreateDataSetInput) SetDataSetId(v string) *CreateDataSetInput {
15042	s.DataSetId = &v
15043	return s
15044}
15045
15046// SetDataSetUsageConfiguration sets the DataSetUsageConfiguration field's value.
15047func (s *CreateDataSetInput) SetDataSetUsageConfiguration(v *DataSetUsageConfiguration) *CreateDataSetInput {
15048	s.DataSetUsageConfiguration = v
15049	return s
15050}
15051
15052// SetFieldFolders sets the FieldFolders field's value.
15053func (s *CreateDataSetInput) SetFieldFolders(v map[string]*FieldFolder) *CreateDataSetInput {
15054	s.FieldFolders = v
15055	return s
15056}
15057
15058// SetImportMode sets the ImportMode field's value.
15059func (s *CreateDataSetInput) SetImportMode(v string) *CreateDataSetInput {
15060	s.ImportMode = &v
15061	return s
15062}
15063
15064// SetLogicalTableMap sets the LogicalTableMap field's value.
15065func (s *CreateDataSetInput) SetLogicalTableMap(v map[string]*LogicalTable) *CreateDataSetInput {
15066	s.LogicalTableMap = v
15067	return s
15068}
15069
15070// SetName sets the Name field's value.
15071func (s *CreateDataSetInput) SetName(v string) *CreateDataSetInput {
15072	s.Name = &v
15073	return s
15074}
15075
15076// SetPermissions sets the Permissions field's value.
15077func (s *CreateDataSetInput) SetPermissions(v []*ResourcePermission) *CreateDataSetInput {
15078	s.Permissions = v
15079	return s
15080}
15081
15082// SetPhysicalTableMap sets the PhysicalTableMap field's value.
15083func (s *CreateDataSetInput) SetPhysicalTableMap(v map[string]*PhysicalTable) *CreateDataSetInput {
15084	s.PhysicalTableMap = v
15085	return s
15086}
15087
15088// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value.
15089func (s *CreateDataSetInput) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *CreateDataSetInput {
15090	s.RowLevelPermissionDataSet = v
15091	return s
15092}
15093
15094// SetRowLevelPermissionTagConfiguration sets the RowLevelPermissionTagConfiguration field's value.
15095func (s *CreateDataSetInput) SetRowLevelPermissionTagConfiguration(v *RowLevelPermissionTagConfiguration) *CreateDataSetInput {
15096	s.RowLevelPermissionTagConfiguration = v
15097	return s
15098}
15099
15100// SetTags sets the Tags field's value.
15101func (s *CreateDataSetInput) SetTags(v []*Tag) *CreateDataSetInput {
15102	s.Tags = v
15103	return s
15104}
15105
15106type CreateDataSetOutput struct {
15107	_ struct{} `type:"structure"`
15108
15109	// The Amazon Resource Name (ARN) of the dataset.
15110	Arn *string `type:"string"`
15111
15112	// The ID for the dataset that you want to create. This ID is unique per Amazon
15113	// Web Services Region; for each Amazon Web Services account.
15114	DataSetId *string `type:"string"`
15115
15116	// The ARN for the ingestion, which is triggered as a result of dataset creation
15117	// if the import mode is SPICE.
15118	IngestionArn *string `type:"string"`
15119
15120	// The ID of the ingestion, which is triggered as a result of dataset creation
15121	// if the import mode is SPICE.
15122	IngestionId *string `type:"string"`
15123
15124	// The Amazon Web Services request ID for this operation.
15125	RequestId *string `type:"string"`
15126
15127	// The HTTP status of the request.
15128	Status *int64 `location:"statusCode" type:"integer"`
15129}
15130
15131// String returns the string representation
15132func (s CreateDataSetOutput) String() string {
15133	return awsutil.Prettify(s)
15134}
15135
15136// GoString returns the string representation
15137func (s CreateDataSetOutput) GoString() string {
15138	return s.String()
15139}
15140
15141// SetArn sets the Arn field's value.
15142func (s *CreateDataSetOutput) SetArn(v string) *CreateDataSetOutput {
15143	s.Arn = &v
15144	return s
15145}
15146
15147// SetDataSetId sets the DataSetId field's value.
15148func (s *CreateDataSetOutput) SetDataSetId(v string) *CreateDataSetOutput {
15149	s.DataSetId = &v
15150	return s
15151}
15152
15153// SetIngestionArn sets the IngestionArn field's value.
15154func (s *CreateDataSetOutput) SetIngestionArn(v string) *CreateDataSetOutput {
15155	s.IngestionArn = &v
15156	return s
15157}
15158
15159// SetIngestionId sets the IngestionId field's value.
15160func (s *CreateDataSetOutput) SetIngestionId(v string) *CreateDataSetOutput {
15161	s.IngestionId = &v
15162	return s
15163}
15164
15165// SetRequestId sets the RequestId field's value.
15166func (s *CreateDataSetOutput) SetRequestId(v string) *CreateDataSetOutput {
15167	s.RequestId = &v
15168	return s
15169}
15170
15171// SetStatus sets the Status field's value.
15172func (s *CreateDataSetOutput) SetStatus(v int64) *CreateDataSetOutput {
15173	s.Status = &v
15174	return s
15175}
15176
15177type CreateDataSourceInput struct {
15178	_ struct{} `type:"structure"`
15179
15180	// The Amazon Web Services account ID.
15181	//
15182	// AwsAccountId is a required field
15183	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
15184
15185	// The credentials Amazon QuickSight that uses to connect to your underlying
15186	// source. Currently, only credentials based on user name and password are supported.
15187	Credentials *DataSourceCredentials `type:"structure" sensitive:"true"`
15188
15189	// An ID for the data source. This ID is unique per Amazon Web Services Region;
15190	// for each Amazon Web Services account.
15191	//
15192	// DataSourceId is a required field
15193	DataSourceId *string `type:"string" required:"true"`
15194
15195	// The parameters that Amazon QuickSight uses to connect to your underlying
15196	// source.
15197	DataSourceParameters *DataSourceParameters `type:"structure"`
15198
15199	// A display name for the data source.
15200	//
15201	// Name is a required field
15202	Name *string `min:"1" type:"string" required:"true"`
15203
15204	// A list of resource permissions on the data source.
15205	Permissions []*ResourcePermission `min:"1" type:"list"`
15206
15207	// Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects
15208	// to your underlying source.
15209	SslProperties *SslProperties `type:"structure"`
15210
15211	// Contains a map of the key-value pairs for the resource tag or tags assigned
15212	// to the data source.
15213	Tags []*Tag `min:"1" type:"list"`
15214
15215	// The type of the data source. To return a list of all data sources, use ListDataSources.
15216	//
15217	// Use AMAZON_ELASTICSEARCH for Amazon Elasticsearch Service.
15218	//
15219	// Type is a required field
15220	Type *string `type:"string" required:"true" enum:"DataSourceType"`
15221
15222	// Use this parameter only when you want Amazon QuickSight to use a VPC connection
15223	// when connecting to your underlying source.
15224	VpcConnectionProperties *VpcConnectionProperties `type:"structure"`
15225}
15226
15227// String returns the string representation
15228func (s CreateDataSourceInput) String() string {
15229	return awsutil.Prettify(s)
15230}
15231
15232// GoString returns the string representation
15233func (s CreateDataSourceInput) GoString() string {
15234	return s.String()
15235}
15236
15237// Validate inspects the fields of the type to determine if they are valid.
15238func (s *CreateDataSourceInput) Validate() error {
15239	invalidParams := request.ErrInvalidParams{Context: "CreateDataSourceInput"}
15240	if s.AwsAccountId == nil {
15241		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
15242	}
15243	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
15244		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
15245	}
15246	if s.DataSourceId == nil {
15247		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
15248	}
15249	if s.Name == nil {
15250		invalidParams.Add(request.NewErrParamRequired("Name"))
15251	}
15252	if s.Name != nil && len(*s.Name) < 1 {
15253		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
15254	}
15255	if s.Permissions != nil && len(s.Permissions) < 1 {
15256		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
15257	}
15258	if s.Tags != nil && len(s.Tags) < 1 {
15259		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
15260	}
15261	if s.Type == nil {
15262		invalidParams.Add(request.NewErrParamRequired("Type"))
15263	}
15264	if s.Credentials != nil {
15265		if err := s.Credentials.Validate(); err != nil {
15266			invalidParams.AddNested("Credentials", err.(request.ErrInvalidParams))
15267		}
15268	}
15269	if s.DataSourceParameters != nil {
15270		if err := s.DataSourceParameters.Validate(); err != nil {
15271			invalidParams.AddNested("DataSourceParameters", err.(request.ErrInvalidParams))
15272		}
15273	}
15274	if s.Permissions != nil {
15275		for i, v := range s.Permissions {
15276			if v == nil {
15277				continue
15278			}
15279			if err := v.Validate(); err != nil {
15280				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
15281			}
15282		}
15283	}
15284	if s.Tags != nil {
15285		for i, v := range s.Tags {
15286			if v == nil {
15287				continue
15288			}
15289			if err := v.Validate(); err != nil {
15290				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
15291			}
15292		}
15293	}
15294	if s.VpcConnectionProperties != nil {
15295		if err := s.VpcConnectionProperties.Validate(); err != nil {
15296			invalidParams.AddNested("VpcConnectionProperties", err.(request.ErrInvalidParams))
15297		}
15298	}
15299
15300	if invalidParams.Len() > 0 {
15301		return invalidParams
15302	}
15303	return nil
15304}
15305
15306// SetAwsAccountId sets the AwsAccountId field's value.
15307func (s *CreateDataSourceInput) SetAwsAccountId(v string) *CreateDataSourceInput {
15308	s.AwsAccountId = &v
15309	return s
15310}
15311
15312// SetCredentials sets the Credentials field's value.
15313func (s *CreateDataSourceInput) SetCredentials(v *DataSourceCredentials) *CreateDataSourceInput {
15314	s.Credentials = v
15315	return s
15316}
15317
15318// SetDataSourceId sets the DataSourceId field's value.
15319func (s *CreateDataSourceInput) SetDataSourceId(v string) *CreateDataSourceInput {
15320	s.DataSourceId = &v
15321	return s
15322}
15323
15324// SetDataSourceParameters sets the DataSourceParameters field's value.
15325func (s *CreateDataSourceInput) SetDataSourceParameters(v *DataSourceParameters) *CreateDataSourceInput {
15326	s.DataSourceParameters = v
15327	return s
15328}
15329
15330// SetName sets the Name field's value.
15331func (s *CreateDataSourceInput) SetName(v string) *CreateDataSourceInput {
15332	s.Name = &v
15333	return s
15334}
15335
15336// SetPermissions sets the Permissions field's value.
15337func (s *CreateDataSourceInput) SetPermissions(v []*ResourcePermission) *CreateDataSourceInput {
15338	s.Permissions = v
15339	return s
15340}
15341
15342// SetSslProperties sets the SslProperties field's value.
15343func (s *CreateDataSourceInput) SetSslProperties(v *SslProperties) *CreateDataSourceInput {
15344	s.SslProperties = v
15345	return s
15346}
15347
15348// SetTags sets the Tags field's value.
15349func (s *CreateDataSourceInput) SetTags(v []*Tag) *CreateDataSourceInput {
15350	s.Tags = v
15351	return s
15352}
15353
15354// SetType sets the Type field's value.
15355func (s *CreateDataSourceInput) SetType(v string) *CreateDataSourceInput {
15356	s.Type = &v
15357	return s
15358}
15359
15360// SetVpcConnectionProperties sets the VpcConnectionProperties field's value.
15361func (s *CreateDataSourceInput) SetVpcConnectionProperties(v *VpcConnectionProperties) *CreateDataSourceInput {
15362	s.VpcConnectionProperties = v
15363	return s
15364}
15365
15366type CreateDataSourceOutput struct {
15367	_ struct{} `type:"structure"`
15368
15369	// The Amazon Resource Name (ARN) of the data source.
15370	Arn *string `type:"string"`
15371
15372	// The status of creating the data source.
15373	CreationStatus *string `type:"string" enum:"ResourceStatus"`
15374
15375	// The ID of the data source. This ID is unique per Amazon Web Services Region;
15376	// for each Amazon Web Services account.
15377	DataSourceId *string `type:"string"`
15378
15379	// The Amazon Web Services request ID for this operation.
15380	RequestId *string `type:"string"`
15381
15382	// The HTTP status of the request.
15383	Status *int64 `location:"statusCode" type:"integer"`
15384}
15385
15386// String returns the string representation
15387func (s CreateDataSourceOutput) String() string {
15388	return awsutil.Prettify(s)
15389}
15390
15391// GoString returns the string representation
15392func (s CreateDataSourceOutput) GoString() string {
15393	return s.String()
15394}
15395
15396// SetArn sets the Arn field's value.
15397func (s *CreateDataSourceOutput) SetArn(v string) *CreateDataSourceOutput {
15398	s.Arn = &v
15399	return s
15400}
15401
15402// SetCreationStatus sets the CreationStatus field's value.
15403func (s *CreateDataSourceOutput) SetCreationStatus(v string) *CreateDataSourceOutput {
15404	s.CreationStatus = &v
15405	return s
15406}
15407
15408// SetDataSourceId sets the DataSourceId field's value.
15409func (s *CreateDataSourceOutput) SetDataSourceId(v string) *CreateDataSourceOutput {
15410	s.DataSourceId = &v
15411	return s
15412}
15413
15414// SetRequestId sets the RequestId field's value.
15415func (s *CreateDataSourceOutput) SetRequestId(v string) *CreateDataSourceOutput {
15416	s.RequestId = &v
15417	return s
15418}
15419
15420// SetStatus sets the Status field's value.
15421func (s *CreateDataSourceOutput) SetStatus(v int64) *CreateDataSourceOutput {
15422	s.Status = &v
15423	return s
15424}
15425
15426type CreateFolderInput struct {
15427	_ struct{} `type:"structure"`
15428
15429	// The AWS Account ID.
15430	//
15431	// AwsAccountId is a required field
15432	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
15433
15434	// The folder ID.
15435	//
15436	// FolderId is a required field
15437	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
15438
15439	// The type of folder. By default, folderType is SHARED.
15440	FolderType *string `type:"string" enum:"FolderType"`
15441
15442	// The name of the folder.
15443	Name *string `min:"1" type:"string"`
15444
15445	// The Amazon Resource Name (ARN) for the parent folder.
15446	//
15447	// ParentFolderArn can be null. An empty parentFolderArn creates a root-level
15448	// folder.
15449	ParentFolderArn *string `type:"string"`
15450
15451	// A structure that describes the principals and the resource-level permissions
15452	// of a folder.
15453	//
15454	// To specify no permissions, omit Permissions.
15455	Permissions []*ResourcePermission `min:"1" type:"list"`
15456
15457	// Tags for the folder.
15458	Tags []*Tag `min:"1" type:"list"`
15459}
15460
15461// String returns the string representation
15462func (s CreateFolderInput) String() string {
15463	return awsutil.Prettify(s)
15464}
15465
15466// GoString returns the string representation
15467func (s CreateFolderInput) GoString() string {
15468	return s.String()
15469}
15470
15471// Validate inspects the fields of the type to determine if they are valid.
15472func (s *CreateFolderInput) Validate() error {
15473	invalidParams := request.ErrInvalidParams{Context: "CreateFolderInput"}
15474	if s.AwsAccountId == nil {
15475		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
15476	}
15477	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
15478		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
15479	}
15480	if s.FolderId == nil {
15481		invalidParams.Add(request.NewErrParamRequired("FolderId"))
15482	}
15483	if s.FolderId != nil && len(*s.FolderId) < 1 {
15484		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
15485	}
15486	if s.Name != nil && len(*s.Name) < 1 {
15487		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
15488	}
15489	if s.Permissions != nil && len(s.Permissions) < 1 {
15490		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
15491	}
15492	if s.Tags != nil && len(s.Tags) < 1 {
15493		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
15494	}
15495	if s.Permissions != nil {
15496		for i, v := range s.Permissions {
15497			if v == nil {
15498				continue
15499			}
15500			if err := v.Validate(); err != nil {
15501				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
15502			}
15503		}
15504	}
15505	if s.Tags != nil {
15506		for i, v := range s.Tags {
15507			if v == nil {
15508				continue
15509			}
15510			if err := v.Validate(); err != nil {
15511				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
15512			}
15513		}
15514	}
15515
15516	if invalidParams.Len() > 0 {
15517		return invalidParams
15518	}
15519	return nil
15520}
15521
15522// SetAwsAccountId sets the AwsAccountId field's value.
15523func (s *CreateFolderInput) SetAwsAccountId(v string) *CreateFolderInput {
15524	s.AwsAccountId = &v
15525	return s
15526}
15527
15528// SetFolderId sets the FolderId field's value.
15529func (s *CreateFolderInput) SetFolderId(v string) *CreateFolderInput {
15530	s.FolderId = &v
15531	return s
15532}
15533
15534// SetFolderType sets the FolderType field's value.
15535func (s *CreateFolderInput) SetFolderType(v string) *CreateFolderInput {
15536	s.FolderType = &v
15537	return s
15538}
15539
15540// SetName sets the Name field's value.
15541func (s *CreateFolderInput) SetName(v string) *CreateFolderInput {
15542	s.Name = &v
15543	return s
15544}
15545
15546// SetParentFolderArn sets the ParentFolderArn field's value.
15547func (s *CreateFolderInput) SetParentFolderArn(v string) *CreateFolderInput {
15548	s.ParentFolderArn = &v
15549	return s
15550}
15551
15552// SetPermissions sets the Permissions field's value.
15553func (s *CreateFolderInput) SetPermissions(v []*ResourcePermission) *CreateFolderInput {
15554	s.Permissions = v
15555	return s
15556}
15557
15558// SetTags sets the Tags field's value.
15559func (s *CreateFolderInput) SetTags(v []*Tag) *CreateFolderInput {
15560	s.Tags = v
15561	return s
15562}
15563
15564type CreateFolderMembershipInput struct {
15565	_ struct{} `type:"structure"`
15566
15567	// The AWS Account ID.
15568	//
15569	// AwsAccountId is a required field
15570	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
15571
15572	// The folder ID.
15573	//
15574	// FolderId is a required field
15575	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
15576
15577	// The ID of the asset (the dashboard, analysis, or dataset).
15578	//
15579	// MemberId is a required field
15580	MemberId *string `location:"uri" locationName:"MemberId" min:"1" type:"string" required:"true"`
15581
15582	// The type of the member, including DASHBOARD, ANALYSIS, and DATASET.
15583	//
15584	// MemberType is a required field
15585	MemberType *string `location:"uri" locationName:"MemberType" type:"string" required:"true" enum:"MemberType"`
15586}
15587
15588// String returns the string representation
15589func (s CreateFolderMembershipInput) String() string {
15590	return awsutil.Prettify(s)
15591}
15592
15593// GoString returns the string representation
15594func (s CreateFolderMembershipInput) GoString() string {
15595	return s.String()
15596}
15597
15598// Validate inspects the fields of the type to determine if they are valid.
15599func (s *CreateFolderMembershipInput) Validate() error {
15600	invalidParams := request.ErrInvalidParams{Context: "CreateFolderMembershipInput"}
15601	if s.AwsAccountId == nil {
15602		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
15603	}
15604	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
15605		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
15606	}
15607	if s.FolderId == nil {
15608		invalidParams.Add(request.NewErrParamRequired("FolderId"))
15609	}
15610	if s.FolderId != nil && len(*s.FolderId) < 1 {
15611		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
15612	}
15613	if s.MemberId == nil {
15614		invalidParams.Add(request.NewErrParamRequired("MemberId"))
15615	}
15616	if s.MemberId != nil && len(*s.MemberId) < 1 {
15617		invalidParams.Add(request.NewErrParamMinLen("MemberId", 1))
15618	}
15619	if s.MemberType == nil {
15620		invalidParams.Add(request.NewErrParamRequired("MemberType"))
15621	}
15622	if s.MemberType != nil && len(*s.MemberType) < 1 {
15623		invalidParams.Add(request.NewErrParamMinLen("MemberType", 1))
15624	}
15625
15626	if invalidParams.Len() > 0 {
15627		return invalidParams
15628	}
15629	return nil
15630}
15631
15632// SetAwsAccountId sets the AwsAccountId field's value.
15633func (s *CreateFolderMembershipInput) SetAwsAccountId(v string) *CreateFolderMembershipInput {
15634	s.AwsAccountId = &v
15635	return s
15636}
15637
15638// SetFolderId sets the FolderId field's value.
15639func (s *CreateFolderMembershipInput) SetFolderId(v string) *CreateFolderMembershipInput {
15640	s.FolderId = &v
15641	return s
15642}
15643
15644// SetMemberId sets the MemberId field's value.
15645func (s *CreateFolderMembershipInput) SetMemberId(v string) *CreateFolderMembershipInput {
15646	s.MemberId = &v
15647	return s
15648}
15649
15650// SetMemberType sets the MemberType field's value.
15651func (s *CreateFolderMembershipInput) SetMemberType(v string) *CreateFolderMembershipInput {
15652	s.MemberType = &v
15653	return s
15654}
15655
15656type CreateFolderMembershipOutput struct {
15657	_ struct{} `type:"structure"`
15658
15659	// Information about the member in the folder.
15660	FolderMember *FolderMember `type:"structure"`
15661
15662	// The request ID.
15663	RequestId *string `type:"string"`
15664
15665	// The status of the folder membership. If succeeded, the status is SC_OK (200).
15666	Status *int64 `type:"integer"`
15667}
15668
15669// String returns the string representation
15670func (s CreateFolderMembershipOutput) String() string {
15671	return awsutil.Prettify(s)
15672}
15673
15674// GoString returns the string representation
15675func (s CreateFolderMembershipOutput) GoString() string {
15676	return s.String()
15677}
15678
15679// SetFolderMember sets the FolderMember field's value.
15680func (s *CreateFolderMembershipOutput) SetFolderMember(v *FolderMember) *CreateFolderMembershipOutput {
15681	s.FolderMember = v
15682	return s
15683}
15684
15685// SetRequestId sets the RequestId field's value.
15686func (s *CreateFolderMembershipOutput) SetRequestId(v string) *CreateFolderMembershipOutput {
15687	s.RequestId = &v
15688	return s
15689}
15690
15691// SetStatus sets the Status field's value.
15692func (s *CreateFolderMembershipOutput) SetStatus(v int64) *CreateFolderMembershipOutput {
15693	s.Status = &v
15694	return s
15695}
15696
15697type CreateFolderOutput struct {
15698	_ struct{} `type:"structure"`
15699
15700	// The Amazon Resource Name (ARN) for the newly created folder.
15701	Arn *string `type:"string"`
15702
15703	// The folder ID for the newly created folder.
15704	FolderId *string `min:"1" type:"string"`
15705
15706	// The request ID for the newly created folder.
15707	RequestId *string `type:"string"`
15708
15709	// The status of the newly created folder. If succeeded, the status is SC_OK
15710	// (200).
15711	Status *int64 `location:"statusCode" type:"integer"`
15712}
15713
15714// String returns the string representation
15715func (s CreateFolderOutput) String() string {
15716	return awsutil.Prettify(s)
15717}
15718
15719// GoString returns the string representation
15720func (s CreateFolderOutput) GoString() string {
15721	return s.String()
15722}
15723
15724// SetArn sets the Arn field's value.
15725func (s *CreateFolderOutput) SetArn(v string) *CreateFolderOutput {
15726	s.Arn = &v
15727	return s
15728}
15729
15730// SetFolderId sets the FolderId field's value.
15731func (s *CreateFolderOutput) SetFolderId(v string) *CreateFolderOutput {
15732	s.FolderId = &v
15733	return s
15734}
15735
15736// SetRequestId sets the RequestId field's value.
15737func (s *CreateFolderOutput) SetRequestId(v string) *CreateFolderOutput {
15738	s.RequestId = &v
15739	return s
15740}
15741
15742// SetStatus sets the Status field's value.
15743func (s *CreateFolderOutput) SetStatus(v int64) *CreateFolderOutput {
15744	s.Status = &v
15745	return s
15746}
15747
15748// The request object for this operation.
15749type CreateGroupInput struct {
15750	_ struct{} `type:"structure"`
15751
15752	// The ID for the Amazon Web Services account that the group is in. Currently,
15753	// you use the ID for the Amazon Web Services account that contains your Amazon
15754	// QuickSight account.
15755	//
15756	// AwsAccountId is a required field
15757	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
15758
15759	// A description for the group that you want to create.
15760	Description *string `min:"1" type:"string"`
15761
15762	// A name for the group that you want to create.
15763	//
15764	// GroupName is a required field
15765	GroupName *string `min:"1" type:"string" required:"true"`
15766
15767	// The namespace. Currently, you should set this to default.
15768	//
15769	// Namespace is a required field
15770	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
15771}
15772
15773// String returns the string representation
15774func (s CreateGroupInput) String() string {
15775	return awsutil.Prettify(s)
15776}
15777
15778// GoString returns the string representation
15779func (s CreateGroupInput) GoString() string {
15780	return s.String()
15781}
15782
15783// Validate inspects the fields of the type to determine if they are valid.
15784func (s *CreateGroupInput) Validate() error {
15785	invalidParams := request.ErrInvalidParams{Context: "CreateGroupInput"}
15786	if s.AwsAccountId == nil {
15787		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
15788	}
15789	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
15790		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
15791	}
15792	if s.Description != nil && len(*s.Description) < 1 {
15793		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
15794	}
15795	if s.GroupName == nil {
15796		invalidParams.Add(request.NewErrParamRequired("GroupName"))
15797	}
15798	if s.GroupName != nil && len(*s.GroupName) < 1 {
15799		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
15800	}
15801	if s.Namespace == nil {
15802		invalidParams.Add(request.NewErrParamRequired("Namespace"))
15803	}
15804	if s.Namespace != nil && len(*s.Namespace) < 1 {
15805		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
15806	}
15807
15808	if invalidParams.Len() > 0 {
15809		return invalidParams
15810	}
15811	return nil
15812}
15813
15814// SetAwsAccountId sets the AwsAccountId field's value.
15815func (s *CreateGroupInput) SetAwsAccountId(v string) *CreateGroupInput {
15816	s.AwsAccountId = &v
15817	return s
15818}
15819
15820// SetDescription sets the Description field's value.
15821func (s *CreateGroupInput) SetDescription(v string) *CreateGroupInput {
15822	s.Description = &v
15823	return s
15824}
15825
15826// SetGroupName sets the GroupName field's value.
15827func (s *CreateGroupInput) SetGroupName(v string) *CreateGroupInput {
15828	s.GroupName = &v
15829	return s
15830}
15831
15832// SetNamespace sets the Namespace field's value.
15833func (s *CreateGroupInput) SetNamespace(v string) *CreateGroupInput {
15834	s.Namespace = &v
15835	return s
15836}
15837
15838type CreateGroupMembershipInput struct {
15839	_ struct{} `type:"structure"`
15840
15841	// The ID for the Amazon Web Services account that the group is in. Currently,
15842	// you use the ID for the Amazon Web Services account that contains your Amazon
15843	// QuickSight account.
15844	//
15845	// AwsAccountId is a required field
15846	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
15847
15848	// The name of the group that you want to add the user to.
15849	//
15850	// GroupName is a required field
15851	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
15852
15853	// The name of the user that you want to add to the group membership.
15854	//
15855	// MemberName is a required field
15856	MemberName *string `location:"uri" locationName:"MemberName" min:"1" type:"string" required:"true"`
15857
15858	// The namespace. Currently, you should set this to default.
15859	//
15860	// Namespace is a required field
15861	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
15862}
15863
15864// String returns the string representation
15865func (s CreateGroupMembershipInput) String() string {
15866	return awsutil.Prettify(s)
15867}
15868
15869// GoString returns the string representation
15870func (s CreateGroupMembershipInput) GoString() string {
15871	return s.String()
15872}
15873
15874// Validate inspects the fields of the type to determine if they are valid.
15875func (s *CreateGroupMembershipInput) Validate() error {
15876	invalidParams := request.ErrInvalidParams{Context: "CreateGroupMembershipInput"}
15877	if s.AwsAccountId == nil {
15878		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
15879	}
15880	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
15881		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
15882	}
15883	if s.GroupName == nil {
15884		invalidParams.Add(request.NewErrParamRequired("GroupName"))
15885	}
15886	if s.GroupName != nil && len(*s.GroupName) < 1 {
15887		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
15888	}
15889	if s.MemberName == nil {
15890		invalidParams.Add(request.NewErrParamRequired("MemberName"))
15891	}
15892	if s.MemberName != nil && len(*s.MemberName) < 1 {
15893		invalidParams.Add(request.NewErrParamMinLen("MemberName", 1))
15894	}
15895	if s.Namespace == nil {
15896		invalidParams.Add(request.NewErrParamRequired("Namespace"))
15897	}
15898	if s.Namespace != nil && len(*s.Namespace) < 1 {
15899		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
15900	}
15901
15902	if invalidParams.Len() > 0 {
15903		return invalidParams
15904	}
15905	return nil
15906}
15907
15908// SetAwsAccountId sets the AwsAccountId field's value.
15909func (s *CreateGroupMembershipInput) SetAwsAccountId(v string) *CreateGroupMembershipInput {
15910	s.AwsAccountId = &v
15911	return s
15912}
15913
15914// SetGroupName sets the GroupName field's value.
15915func (s *CreateGroupMembershipInput) SetGroupName(v string) *CreateGroupMembershipInput {
15916	s.GroupName = &v
15917	return s
15918}
15919
15920// SetMemberName sets the MemberName field's value.
15921func (s *CreateGroupMembershipInput) SetMemberName(v string) *CreateGroupMembershipInput {
15922	s.MemberName = &v
15923	return s
15924}
15925
15926// SetNamespace sets the Namespace field's value.
15927func (s *CreateGroupMembershipInput) SetNamespace(v string) *CreateGroupMembershipInput {
15928	s.Namespace = &v
15929	return s
15930}
15931
15932type CreateGroupMembershipOutput struct {
15933	_ struct{} `type:"structure"`
15934
15935	// The group member.
15936	GroupMember *GroupMember `type:"structure"`
15937
15938	// The Amazon Web Services request ID for this operation.
15939	RequestId *string `type:"string"`
15940
15941	// The HTTP status of the request.
15942	Status *int64 `location:"statusCode" type:"integer"`
15943}
15944
15945// String returns the string representation
15946func (s CreateGroupMembershipOutput) String() string {
15947	return awsutil.Prettify(s)
15948}
15949
15950// GoString returns the string representation
15951func (s CreateGroupMembershipOutput) GoString() string {
15952	return s.String()
15953}
15954
15955// SetGroupMember sets the GroupMember field's value.
15956func (s *CreateGroupMembershipOutput) SetGroupMember(v *GroupMember) *CreateGroupMembershipOutput {
15957	s.GroupMember = v
15958	return s
15959}
15960
15961// SetRequestId sets the RequestId field's value.
15962func (s *CreateGroupMembershipOutput) SetRequestId(v string) *CreateGroupMembershipOutput {
15963	s.RequestId = &v
15964	return s
15965}
15966
15967// SetStatus sets the Status field's value.
15968func (s *CreateGroupMembershipOutput) SetStatus(v int64) *CreateGroupMembershipOutput {
15969	s.Status = &v
15970	return s
15971}
15972
15973// The response object for this operation.
15974type CreateGroupOutput struct {
15975	_ struct{} `type:"structure"`
15976
15977	// The name of the group.
15978	Group *Group `type:"structure"`
15979
15980	// The Amazon Web Services request ID for this operation.
15981	RequestId *string `type:"string"`
15982
15983	// The HTTP status of the request.
15984	Status *int64 `location:"statusCode" type:"integer"`
15985}
15986
15987// String returns the string representation
15988func (s CreateGroupOutput) String() string {
15989	return awsutil.Prettify(s)
15990}
15991
15992// GoString returns the string representation
15993func (s CreateGroupOutput) GoString() string {
15994	return s.String()
15995}
15996
15997// SetGroup sets the Group field's value.
15998func (s *CreateGroupOutput) SetGroup(v *Group) *CreateGroupOutput {
15999	s.Group = v
16000	return s
16001}
16002
16003// SetRequestId sets the RequestId field's value.
16004func (s *CreateGroupOutput) SetRequestId(v string) *CreateGroupOutput {
16005	s.RequestId = &v
16006	return s
16007}
16008
16009// SetStatus sets the Status field's value.
16010func (s *CreateGroupOutput) SetStatus(v int64) *CreateGroupOutput {
16011	s.Status = &v
16012	return s
16013}
16014
16015type CreateIAMPolicyAssignmentInput struct {
16016	_ struct{} `type:"structure"`
16017
16018	// The name of the assignment, also called a rule. It must be unique within
16019	// an Amazon Web Services account.
16020	//
16021	// AssignmentName is a required field
16022	AssignmentName *string `min:"1" type:"string" required:"true"`
16023
16024	// The status of the assignment. Possible values are as follows:
16025	//
16026	//    * ENABLED - Anything specified in this assignment is used when creating
16027	//    the data source.
16028	//
16029	//    * DISABLED - This assignment isn't used when creating the data source.
16030	//
16031	//    * DRAFT - This assignment is an unfinished draft and isn't used when creating
16032	//    the data source.
16033	//
16034	// AssignmentStatus is a required field
16035	AssignmentStatus *string `type:"string" required:"true" enum:"AssignmentStatus"`
16036
16037	// The ID of the Amazon Web Services account where you want to assign an IAMpolicy
16038	// to Amazon QuickSight users or groups.
16039	//
16040	// AwsAccountId is a required field
16041	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
16042
16043	// The Amazon QuickSight users, groups, or both that you want to assign the
16044	// policy to.
16045	Identities map[string][]*string `type:"map"`
16046
16047	// The namespace that contains the assignment.
16048	//
16049	// Namespace is a required field
16050	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
16051
16052	// The ARN for the IAMpolicy to apply to the Amazon QuickSight users and groups
16053	// specified in this assignment.
16054	PolicyArn *string `type:"string"`
16055}
16056
16057// String returns the string representation
16058func (s CreateIAMPolicyAssignmentInput) String() string {
16059	return awsutil.Prettify(s)
16060}
16061
16062// GoString returns the string representation
16063func (s CreateIAMPolicyAssignmentInput) GoString() string {
16064	return s.String()
16065}
16066
16067// Validate inspects the fields of the type to determine if they are valid.
16068func (s *CreateIAMPolicyAssignmentInput) Validate() error {
16069	invalidParams := request.ErrInvalidParams{Context: "CreateIAMPolicyAssignmentInput"}
16070	if s.AssignmentName == nil {
16071		invalidParams.Add(request.NewErrParamRequired("AssignmentName"))
16072	}
16073	if s.AssignmentName != nil && len(*s.AssignmentName) < 1 {
16074		invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1))
16075	}
16076	if s.AssignmentStatus == nil {
16077		invalidParams.Add(request.NewErrParamRequired("AssignmentStatus"))
16078	}
16079	if s.AwsAccountId == nil {
16080		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
16081	}
16082	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
16083		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
16084	}
16085	if s.Namespace == nil {
16086		invalidParams.Add(request.NewErrParamRequired("Namespace"))
16087	}
16088	if s.Namespace != nil && len(*s.Namespace) < 1 {
16089		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
16090	}
16091
16092	if invalidParams.Len() > 0 {
16093		return invalidParams
16094	}
16095	return nil
16096}
16097
16098// SetAssignmentName sets the AssignmentName field's value.
16099func (s *CreateIAMPolicyAssignmentInput) SetAssignmentName(v string) *CreateIAMPolicyAssignmentInput {
16100	s.AssignmentName = &v
16101	return s
16102}
16103
16104// SetAssignmentStatus sets the AssignmentStatus field's value.
16105func (s *CreateIAMPolicyAssignmentInput) SetAssignmentStatus(v string) *CreateIAMPolicyAssignmentInput {
16106	s.AssignmentStatus = &v
16107	return s
16108}
16109
16110// SetAwsAccountId sets the AwsAccountId field's value.
16111func (s *CreateIAMPolicyAssignmentInput) SetAwsAccountId(v string) *CreateIAMPolicyAssignmentInput {
16112	s.AwsAccountId = &v
16113	return s
16114}
16115
16116// SetIdentities sets the Identities field's value.
16117func (s *CreateIAMPolicyAssignmentInput) SetIdentities(v map[string][]*string) *CreateIAMPolicyAssignmentInput {
16118	s.Identities = v
16119	return s
16120}
16121
16122// SetNamespace sets the Namespace field's value.
16123func (s *CreateIAMPolicyAssignmentInput) SetNamespace(v string) *CreateIAMPolicyAssignmentInput {
16124	s.Namespace = &v
16125	return s
16126}
16127
16128// SetPolicyArn sets the PolicyArn field's value.
16129func (s *CreateIAMPolicyAssignmentInput) SetPolicyArn(v string) *CreateIAMPolicyAssignmentInput {
16130	s.PolicyArn = &v
16131	return s
16132}
16133
16134type CreateIAMPolicyAssignmentOutput struct {
16135	_ struct{} `type:"structure"`
16136
16137	// The ID for the assignment.
16138	AssignmentId *string `type:"string"`
16139
16140	// The name of the assignment. This name must be unique within the Amazon Web
16141	// Services account.
16142	AssignmentName *string `min:"1" type:"string"`
16143
16144	// The status of the assignment. Possible values are as follows:
16145	//
16146	//    * ENABLED - Anything specified in this assignment is used when creating
16147	//    the data source.
16148	//
16149	//    * DISABLED - This assignment isn't used when creating the data source.
16150	//
16151	//    * DRAFT - This assignment is an unfinished draft and isn't used when creating
16152	//    the data source.
16153	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
16154
16155	// The Amazon QuickSight users, groups, or both that the IAMpolicy is assigned
16156	// to.
16157	Identities map[string][]*string `type:"map"`
16158
16159	// The ARN for the IAMpolicy that is applied to the Amazon QuickSight users
16160	// and groups specified in this assignment.
16161	PolicyArn *string `type:"string"`
16162
16163	// The Amazon Web Services request ID for this operation.
16164	RequestId *string `type:"string"`
16165
16166	// The HTTP status of the request.
16167	Status *int64 `location:"statusCode" type:"integer"`
16168}
16169
16170// String returns the string representation
16171func (s CreateIAMPolicyAssignmentOutput) String() string {
16172	return awsutil.Prettify(s)
16173}
16174
16175// GoString returns the string representation
16176func (s CreateIAMPolicyAssignmentOutput) GoString() string {
16177	return s.String()
16178}
16179
16180// SetAssignmentId sets the AssignmentId field's value.
16181func (s *CreateIAMPolicyAssignmentOutput) SetAssignmentId(v string) *CreateIAMPolicyAssignmentOutput {
16182	s.AssignmentId = &v
16183	return s
16184}
16185
16186// SetAssignmentName sets the AssignmentName field's value.
16187func (s *CreateIAMPolicyAssignmentOutput) SetAssignmentName(v string) *CreateIAMPolicyAssignmentOutput {
16188	s.AssignmentName = &v
16189	return s
16190}
16191
16192// SetAssignmentStatus sets the AssignmentStatus field's value.
16193func (s *CreateIAMPolicyAssignmentOutput) SetAssignmentStatus(v string) *CreateIAMPolicyAssignmentOutput {
16194	s.AssignmentStatus = &v
16195	return s
16196}
16197
16198// SetIdentities sets the Identities field's value.
16199func (s *CreateIAMPolicyAssignmentOutput) SetIdentities(v map[string][]*string) *CreateIAMPolicyAssignmentOutput {
16200	s.Identities = v
16201	return s
16202}
16203
16204// SetPolicyArn sets the PolicyArn field's value.
16205func (s *CreateIAMPolicyAssignmentOutput) SetPolicyArn(v string) *CreateIAMPolicyAssignmentOutput {
16206	s.PolicyArn = &v
16207	return s
16208}
16209
16210// SetRequestId sets the RequestId field's value.
16211func (s *CreateIAMPolicyAssignmentOutput) SetRequestId(v string) *CreateIAMPolicyAssignmentOutput {
16212	s.RequestId = &v
16213	return s
16214}
16215
16216// SetStatus sets the Status field's value.
16217func (s *CreateIAMPolicyAssignmentOutput) SetStatus(v int64) *CreateIAMPolicyAssignmentOutput {
16218	s.Status = &v
16219	return s
16220}
16221
16222type CreateIngestionInput struct {
16223	_ struct{} `type:"structure"`
16224
16225	// The Amazon Web Services account ID.
16226	//
16227	// AwsAccountId is a required field
16228	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
16229
16230	// The ID of the dataset used in the ingestion.
16231	//
16232	// DataSetId is a required field
16233	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
16234
16235	// An ID for the ingestion.
16236	//
16237	// IngestionId is a required field
16238	IngestionId *string `location:"uri" locationName:"IngestionId" min:"1" type:"string" required:"true"`
16239}
16240
16241// String returns the string representation
16242func (s CreateIngestionInput) String() string {
16243	return awsutil.Prettify(s)
16244}
16245
16246// GoString returns the string representation
16247func (s CreateIngestionInput) GoString() string {
16248	return s.String()
16249}
16250
16251// Validate inspects the fields of the type to determine if they are valid.
16252func (s *CreateIngestionInput) Validate() error {
16253	invalidParams := request.ErrInvalidParams{Context: "CreateIngestionInput"}
16254	if s.AwsAccountId == nil {
16255		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
16256	}
16257	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
16258		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
16259	}
16260	if s.DataSetId == nil {
16261		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
16262	}
16263	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
16264		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
16265	}
16266	if s.IngestionId == nil {
16267		invalidParams.Add(request.NewErrParamRequired("IngestionId"))
16268	}
16269	if s.IngestionId != nil && len(*s.IngestionId) < 1 {
16270		invalidParams.Add(request.NewErrParamMinLen("IngestionId", 1))
16271	}
16272
16273	if invalidParams.Len() > 0 {
16274		return invalidParams
16275	}
16276	return nil
16277}
16278
16279// SetAwsAccountId sets the AwsAccountId field's value.
16280func (s *CreateIngestionInput) SetAwsAccountId(v string) *CreateIngestionInput {
16281	s.AwsAccountId = &v
16282	return s
16283}
16284
16285// SetDataSetId sets the DataSetId field's value.
16286func (s *CreateIngestionInput) SetDataSetId(v string) *CreateIngestionInput {
16287	s.DataSetId = &v
16288	return s
16289}
16290
16291// SetIngestionId sets the IngestionId field's value.
16292func (s *CreateIngestionInput) SetIngestionId(v string) *CreateIngestionInput {
16293	s.IngestionId = &v
16294	return s
16295}
16296
16297type CreateIngestionOutput struct {
16298	_ struct{} `type:"structure"`
16299
16300	// The Amazon Resource Name (ARN) for the data ingestion.
16301	Arn *string `type:"string"`
16302
16303	// An ID for the ingestion.
16304	IngestionId *string `min:"1" type:"string"`
16305
16306	// The ingestion status.
16307	IngestionStatus *string `type:"string" enum:"IngestionStatus"`
16308
16309	// The Amazon Web Services request ID for this operation.
16310	RequestId *string `type:"string"`
16311
16312	// The HTTP status of the request.
16313	Status *int64 `location:"statusCode" type:"integer"`
16314}
16315
16316// String returns the string representation
16317func (s CreateIngestionOutput) String() string {
16318	return awsutil.Prettify(s)
16319}
16320
16321// GoString returns the string representation
16322func (s CreateIngestionOutput) GoString() string {
16323	return s.String()
16324}
16325
16326// SetArn sets the Arn field's value.
16327func (s *CreateIngestionOutput) SetArn(v string) *CreateIngestionOutput {
16328	s.Arn = &v
16329	return s
16330}
16331
16332// SetIngestionId sets the IngestionId field's value.
16333func (s *CreateIngestionOutput) SetIngestionId(v string) *CreateIngestionOutput {
16334	s.IngestionId = &v
16335	return s
16336}
16337
16338// SetIngestionStatus sets the IngestionStatus field's value.
16339func (s *CreateIngestionOutput) SetIngestionStatus(v string) *CreateIngestionOutput {
16340	s.IngestionStatus = &v
16341	return s
16342}
16343
16344// SetRequestId sets the RequestId field's value.
16345func (s *CreateIngestionOutput) SetRequestId(v string) *CreateIngestionOutput {
16346	s.RequestId = &v
16347	return s
16348}
16349
16350// SetStatus sets the Status field's value.
16351func (s *CreateIngestionOutput) SetStatus(v int64) *CreateIngestionOutput {
16352	s.Status = &v
16353	return s
16354}
16355
16356type CreateNamespaceInput struct {
16357	_ struct{} `type:"structure"`
16358
16359	// The ID for the Amazon Web Services account that you want to create the Amazon
16360	// QuickSight namespace in.
16361	//
16362	// AwsAccountId is a required field
16363	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
16364
16365	// Specifies the type of your user identity directory. Currently, this supports
16366	// users with an identity type of QUICKSIGHT.
16367	//
16368	// IdentityStore is a required field
16369	IdentityStore *string `type:"string" required:"true" enum:"IdentityStore"`
16370
16371	// The name that you want to use to describe the new namespace.
16372	//
16373	// Namespace is a required field
16374	Namespace *string `type:"string" required:"true"`
16375
16376	// The tags that you want to associate with the namespace that you're creating.
16377	Tags []*Tag `min:"1" type:"list"`
16378}
16379
16380// String returns the string representation
16381func (s CreateNamespaceInput) String() string {
16382	return awsutil.Prettify(s)
16383}
16384
16385// GoString returns the string representation
16386func (s CreateNamespaceInput) GoString() string {
16387	return s.String()
16388}
16389
16390// Validate inspects the fields of the type to determine if they are valid.
16391func (s *CreateNamespaceInput) Validate() error {
16392	invalidParams := request.ErrInvalidParams{Context: "CreateNamespaceInput"}
16393	if s.AwsAccountId == nil {
16394		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
16395	}
16396	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
16397		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
16398	}
16399	if s.IdentityStore == nil {
16400		invalidParams.Add(request.NewErrParamRequired("IdentityStore"))
16401	}
16402	if s.Namespace == nil {
16403		invalidParams.Add(request.NewErrParamRequired("Namespace"))
16404	}
16405	if s.Tags != nil && len(s.Tags) < 1 {
16406		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
16407	}
16408	if s.Tags != nil {
16409		for i, v := range s.Tags {
16410			if v == nil {
16411				continue
16412			}
16413			if err := v.Validate(); err != nil {
16414				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
16415			}
16416		}
16417	}
16418
16419	if invalidParams.Len() > 0 {
16420		return invalidParams
16421	}
16422	return nil
16423}
16424
16425// SetAwsAccountId sets the AwsAccountId field's value.
16426func (s *CreateNamespaceInput) SetAwsAccountId(v string) *CreateNamespaceInput {
16427	s.AwsAccountId = &v
16428	return s
16429}
16430
16431// SetIdentityStore sets the IdentityStore field's value.
16432func (s *CreateNamespaceInput) SetIdentityStore(v string) *CreateNamespaceInput {
16433	s.IdentityStore = &v
16434	return s
16435}
16436
16437// SetNamespace sets the Namespace field's value.
16438func (s *CreateNamespaceInput) SetNamespace(v string) *CreateNamespaceInput {
16439	s.Namespace = &v
16440	return s
16441}
16442
16443// SetTags sets the Tags field's value.
16444func (s *CreateNamespaceInput) SetTags(v []*Tag) *CreateNamespaceInput {
16445	s.Tags = v
16446	return s
16447}
16448
16449type CreateNamespaceOutput struct {
16450	_ struct{} `type:"structure"`
16451
16452	// The ARN of the Amazon QuickSight namespace you created.
16453	Arn *string `type:"string"`
16454
16455	// The Amazon Web Services Region; that you want to use for the free SPICE capacity
16456	// for the new namespace. This is set to the region that you run CreateNamespace
16457	// in.
16458	CapacityRegion *string `type:"string"`
16459
16460	// The status of the creation of the namespace. This is an asynchronous process.
16461	// A status of CREATED means that your namespace is ready to use. If an error
16462	// occurs, it indicates if the process is retryable or non-retryable. In the
16463	// case of a non-retryable error, refer to the error message for follow-up tasks.
16464	CreationStatus *string `type:"string" enum:"NamespaceStatus"`
16465
16466	// Specifies the type of your user identity directory. Currently, this supports
16467	// users with an identity type of QUICKSIGHT.
16468	IdentityStore *string `type:"string" enum:"IdentityStore"`
16469
16470	// The name of the new namespace that you created.
16471	Name *string `type:"string"`
16472
16473	// The Amazon Web Services request ID for this operation.
16474	RequestId *string `type:"string"`
16475
16476	// The HTTP status of the request.
16477	Status *int64 `location:"statusCode" type:"integer"`
16478}
16479
16480// String returns the string representation
16481func (s CreateNamespaceOutput) String() string {
16482	return awsutil.Prettify(s)
16483}
16484
16485// GoString returns the string representation
16486func (s CreateNamespaceOutput) GoString() string {
16487	return s.String()
16488}
16489
16490// SetArn sets the Arn field's value.
16491func (s *CreateNamespaceOutput) SetArn(v string) *CreateNamespaceOutput {
16492	s.Arn = &v
16493	return s
16494}
16495
16496// SetCapacityRegion sets the CapacityRegion field's value.
16497func (s *CreateNamespaceOutput) SetCapacityRegion(v string) *CreateNamespaceOutput {
16498	s.CapacityRegion = &v
16499	return s
16500}
16501
16502// SetCreationStatus sets the CreationStatus field's value.
16503func (s *CreateNamespaceOutput) SetCreationStatus(v string) *CreateNamespaceOutput {
16504	s.CreationStatus = &v
16505	return s
16506}
16507
16508// SetIdentityStore sets the IdentityStore field's value.
16509func (s *CreateNamespaceOutput) SetIdentityStore(v string) *CreateNamespaceOutput {
16510	s.IdentityStore = &v
16511	return s
16512}
16513
16514// SetName sets the Name field's value.
16515func (s *CreateNamespaceOutput) SetName(v string) *CreateNamespaceOutput {
16516	s.Name = &v
16517	return s
16518}
16519
16520// SetRequestId sets the RequestId field's value.
16521func (s *CreateNamespaceOutput) SetRequestId(v string) *CreateNamespaceOutput {
16522	s.RequestId = &v
16523	return s
16524}
16525
16526// SetStatus sets the Status field's value.
16527func (s *CreateNamespaceOutput) SetStatus(v int64) *CreateNamespaceOutput {
16528	s.Status = &v
16529	return s
16530}
16531
16532type CreateTemplateAliasInput struct {
16533	_ struct{} `type:"structure"`
16534
16535	// The name that you want to give to the template alias that you're creating.
16536	// Don't start the alias name with the $ character. Alias names that start with
16537	// $ are reserved by Amazon QuickSight.
16538	//
16539	// AliasName is a required field
16540	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
16541
16542	// The ID of the Amazon Web Services account that contains the template that
16543	// you creating an alias for.
16544	//
16545	// AwsAccountId is a required field
16546	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
16547
16548	// An ID for the template.
16549	//
16550	// TemplateId is a required field
16551	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
16552
16553	// The version number of the template.
16554	//
16555	// TemplateVersionNumber is a required field
16556	TemplateVersionNumber *int64 `min:"1" type:"long" required:"true"`
16557}
16558
16559// String returns the string representation
16560func (s CreateTemplateAliasInput) String() string {
16561	return awsutil.Prettify(s)
16562}
16563
16564// GoString returns the string representation
16565func (s CreateTemplateAliasInput) GoString() string {
16566	return s.String()
16567}
16568
16569// Validate inspects the fields of the type to determine if they are valid.
16570func (s *CreateTemplateAliasInput) Validate() error {
16571	invalidParams := request.ErrInvalidParams{Context: "CreateTemplateAliasInput"}
16572	if s.AliasName == nil {
16573		invalidParams.Add(request.NewErrParamRequired("AliasName"))
16574	}
16575	if s.AliasName != nil && len(*s.AliasName) < 1 {
16576		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
16577	}
16578	if s.AwsAccountId == nil {
16579		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
16580	}
16581	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
16582		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
16583	}
16584	if s.TemplateId == nil {
16585		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
16586	}
16587	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
16588		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
16589	}
16590	if s.TemplateVersionNumber == nil {
16591		invalidParams.Add(request.NewErrParamRequired("TemplateVersionNumber"))
16592	}
16593	if s.TemplateVersionNumber != nil && *s.TemplateVersionNumber < 1 {
16594		invalidParams.Add(request.NewErrParamMinValue("TemplateVersionNumber", 1))
16595	}
16596
16597	if invalidParams.Len() > 0 {
16598		return invalidParams
16599	}
16600	return nil
16601}
16602
16603// SetAliasName sets the AliasName field's value.
16604func (s *CreateTemplateAliasInput) SetAliasName(v string) *CreateTemplateAliasInput {
16605	s.AliasName = &v
16606	return s
16607}
16608
16609// SetAwsAccountId sets the AwsAccountId field's value.
16610func (s *CreateTemplateAliasInput) SetAwsAccountId(v string) *CreateTemplateAliasInput {
16611	s.AwsAccountId = &v
16612	return s
16613}
16614
16615// SetTemplateId sets the TemplateId field's value.
16616func (s *CreateTemplateAliasInput) SetTemplateId(v string) *CreateTemplateAliasInput {
16617	s.TemplateId = &v
16618	return s
16619}
16620
16621// SetTemplateVersionNumber sets the TemplateVersionNumber field's value.
16622func (s *CreateTemplateAliasInput) SetTemplateVersionNumber(v int64) *CreateTemplateAliasInput {
16623	s.TemplateVersionNumber = &v
16624	return s
16625}
16626
16627type CreateTemplateAliasOutput struct {
16628	_ struct{} `type:"structure"`
16629
16630	// The Amazon Web Services request ID for this operation.
16631	RequestId *string `type:"string"`
16632
16633	// The HTTP status of the request.
16634	Status *int64 `location:"statusCode" type:"integer"`
16635
16636	// Information about the template alias.
16637	TemplateAlias *TemplateAlias `type:"structure"`
16638}
16639
16640// String returns the string representation
16641func (s CreateTemplateAliasOutput) String() string {
16642	return awsutil.Prettify(s)
16643}
16644
16645// GoString returns the string representation
16646func (s CreateTemplateAliasOutput) GoString() string {
16647	return s.String()
16648}
16649
16650// SetRequestId sets the RequestId field's value.
16651func (s *CreateTemplateAliasOutput) SetRequestId(v string) *CreateTemplateAliasOutput {
16652	s.RequestId = &v
16653	return s
16654}
16655
16656// SetStatus sets the Status field's value.
16657func (s *CreateTemplateAliasOutput) SetStatus(v int64) *CreateTemplateAliasOutput {
16658	s.Status = &v
16659	return s
16660}
16661
16662// SetTemplateAlias sets the TemplateAlias field's value.
16663func (s *CreateTemplateAliasOutput) SetTemplateAlias(v *TemplateAlias) *CreateTemplateAliasOutput {
16664	s.TemplateAlias = v
16665	return s
16666}
16667
16668type CreateTemplateInput struct {
16669	_ struct{} `type:"structure"`
16670
16671	// The ID for the Amazon Web Services account that the group is in. You use
16672	// the ID for the Amazon Web Services account that contains your Amazon QuickSight
16673	// account.
16674	//
16675	// AwsAccountId is a required field
16676	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
16677
16678	// A display name for the template.
16679	Name *string `min:"1" type:"string"`
16680
16681	// A list of resource permissions to be set on the template.
16682	Permissions []*ResourcePermission `min:"1" type:"list"`
16683
16684	// The entity that you are using as a source when you create the template. In
16685	// SourceEntity, you specify the type of object you're using as source: SourceTemplate
16686	// for a template or SourceAnalysis for an analysis. Both of these require an
16687	// Amazon Resource Name (ARN). For SourceTemplate, specify the ARN of the source
16688	// template. For SourceAnalysis, specify the ARN of the source analysis. The
16689	// SourceTemplate ARN can contain any Amazon Web Services account and any Amazon
16690	// QuickSight-supported Amazon Web Services Region;.
16691	//
16692	// Use the DataSetReferences entity within SourceTemplate or SourceAnalysis
16693	// to list the replacement datasets for the placeholders listed in the original.
16694	// The schema in each dataset must match its placeholder.
16695	//
16696	// SourceEntity is a required field
16697	SourceEntity *TemplateSourceEntity `type:"structure" required:"true"`
16698
16699	// Contains a map of the key-value pairs for the resource tag or tags assigned
16700	// to the resource.
16701	Tags []*Tag `min:"1" type:"list"`
16702
16703	// An ID for the template that you want to create. This template is unique per
16704	// Amazon Web Services Region; in each Amazon Web Services account.
16705	//
16706	// TemplateId is a required field
16707	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
16708
16709	// A description of the current template version being created. This API operation
16710	// creates the first version of the template. Every time UpdateTemplate is called,
16711	// a new version is created. Each version of the template maintains a description
16712	// of the version in the VersionDescription field.
16713	VersionDescription *string `min:"1" type:"string"`
16714}
16715
16716// String returns the string representation
16717func (s CreateTemplateInput) String() string {
16718	return awsutil.Prettify(s)
16719}
16720
16721// GoString returns the string representation
16722func (s CreateTemplateInput) GoString() string {
16723	return s.String()
16724}
16725
16726// Validate inspects the fields of the type to determine if they are valid.
16727func (s *CreateTemplateInput) Validate() error {
16728	invalidParams := request.ErrInvalidParams{Context: "CreateTemplateInput"}
16729	if s.AwsAccountId == nil {
16730		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
16731	}
16732	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
16733		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
16734	}
16735	if s.Name != nil && len(*s.Name) < 1 {
16736		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
16737	}
16738	if s.Permissions != nil && len(s.Permissions) < 1 {
16739		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
16740	}
16741	if s.SourceEntity == nil {
16742		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
16743	}
16744	if s.Tags != nil && len(s.Tags) < 1 {
16745		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
16746	}
16747	if s.TemplateId == nil {
16748		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
16749	}
16750	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
16751		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
16752	}
16753	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
16754		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
16755	}
16756	if s.Permissions != nil {
16757		for i, v := range s.Permissions {
16758			if v == nil {
16759				continue
16760			}
16761			if err := v.Validate(); err != nil {
16762				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
16763			}
16764		}
16765	}
16766	if s.SourceEntity != nil {
16767		if err := s.SourceEntity.Validate(); err != nil {
16768			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
16769		}
16770	}
16771	if s.Tags != nil {
16772		for i, v := range s.Tags {
16773			if v == nil {
16774				continue
16775			}
16776			if err := v.Validate(); err != nil {
16777				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
16778			}
16779		}
16780	}
16781
16782	if invalidParams.Len() > 0 {
16783		return invalidParams
16784	}
16785	return nil
16786}
16787
16788// SetAwsAccountId sets the AwsAccountId field's value.
16789func (s *CreateTemplateInput) SetAwsAccountId(v string) *CreateTemplateInput {
16790	s.AwsAccountId = &v
16791	return s
16792}
16793
16794// SetName sets the Name field's value.
16795func (s *CreateTemplateInput) SetName(v string) *CreateTemplateInput {
16796	s.Name = &v
16797	return s
16798}
16799
16800// SetPermissions sets the Permissions field's value.
16801func (s *CreateTemplateInput) SetPermissions(v []*ResourcePermission) *CreateTemplateInput {
16802	s.Permissions = v
16803	return s
16804}
16805
16806// SetSourceEntity sets the SourceEntity field's value.
16807func (s *CreateTemplateInput) SetSourceEntity(v *TemplateSourceEntity) *CreateTemplateInput {
16808	s.SourceEntity = v
16809	return s
16810}
16811
16812// SetTags sets the Tags field's value.
16813func (s *CreateTemplateInput) SetTags(v []*Tag) *CreateTemplateInput {
16814	s.Tags = v
16815	return s
16816}
16817
16818// SetTemplateId sets the TemplateId field's value.
16819func (s *CreateTemplateInput) SetTemplateId(v string) *CreateTemplateInput {
16820	s.TemplateId = &v
16821	return s
16822}
16823
16824// SetVersionDescription sets the VersionDescription field's value.
16825func (s *CreateTemplateInput) SetVersionDescription(v string) *CreateTemplateInput {
16826	s.VersionDescription = &v
16827	return s
16828}
16829
16830type CreateTemplateOutput struct {
16831	_ struct{} `type:"structure"`
16832
16833	// The ARN for the template.
16834	Arn *string `type:"string"`
16835
16836	// The template creation status.
16837	CreationStatus *string `type:"string" enum:"ResourceStatus"`
16838
16839	// The Amazon Web Services request ID for this operation.
16840	RequestId *string `type:"string"`
16841
16842	// The HTTP status of the request.
16843	Status *int64 `location:"statusCode" type:"integer"`
16844
16845	// The ID of the template.
16846	TemplateId *string `min:"1" type:"string"`
16847
16848	// The ARN for the template, including the version information of the first
16849	// version.
16850	VersionArn *string `type:"string"`
16851}
16852
16853// String returns the string representation
16854func (s CreateTemplateOutput) String() string {
16855	return awsutil.Prettify(s)
16856}
16857
16858// GoString returns the string representation
16859func (s CreateTemplateOutput) GoString() string {
16860	return s.String()
16861}
16862
16863// SetArn sets the Arn field's value.
16864func (s *CreateTemplateOutput) SetArn(v string) *CreateTemplateOutput {
16865	s.Arn = &v
16866	return s
16867}
16868
16869// SetCreationStatus sets the CreationStatus field's value.
16870func (s *CreateTemplateOutput) SetCreationStatus(v string) *CreateTemplateOutput {
16871	s.CreationStatus = &v
16872	return s
16873}
16874
16875// SetRequestId sets the RequestId field's value.
16876func (s *CreateTemplateOutput) SetRequestId(v string) *CreateTemplateOutput {
16877	s.RequestId = &v
16878	return s
16879}
16880
16881// SetStatus sets the Status field's value.
16882func (s *CreateTemplateOutput) SetStatus(v int64) *CreateTemplateOutput {
16883	s.Status = &v
16884	return s
16885}
16886
16887// SetTemplateId sets the TemplateId field's value.
16888func (s *CreateTemplateOutput) SetTemplateId(v string) *CreateTemplateOutput {
16889	s.TemplateId = &v
16890	return s
16891}
16892
16893// SetVersionArn sets the VersionArn field's value.
16894func (s *CreateTemplateOutput) SetVersionArn(v string) *CreateTemplateOutput {
16895	s.VersionArn = &v
16896	return s
16897}
16898
16899type CreateThemeAliasInput struct {
16900	_ struct{} `type:"structure"`
16901
16902	// The name that you want to give to the theme alias that you are creating.
16903	// The alias name can't begin with a $. Alias names that start with $ are reserved
16904	// by Amazon QuickSight.
16905	//
16906	// AliasName is a required field
16907	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
16908
16909	// The ID of the Amazon Web Services account that contains the theme for the
16910	// new theme alias.
16911	//
16912	// AwsAccountId is a required field
16913	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
16914
16915	// An ID for the theme alias.
16916	//
16917	// ThemeId is a required field
16918	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
16919
16920	// The version number of the theme.
16921	//
16922	// ThemeVersionNumber is a required field
16923	ThemeVersionNumber *int64 `min:"1" type:"long" required:"true"`
16924}
16925
16926// String returns the string representation
16927func (s CreateThemeAliasInput) String() string {
16928	return awsutil.Prettify(s)
16929}
16930
16931// GoString returns the string representation
16932func (s CreateThemeAliasInput) GoString() string {
16933	return s.String()
16934}
16935
16936// Validate inspects the fields of the type to determine if they are valid.
16937func (s *CreateThemeAliasInput) Validate() error {
16938	invalidParams := request.ErrInvalidParams{Context: "CreateThemeAliasInput"}
16939	if s.AliasName == nil {
16940		invalidParams.Add(request.NewErrParamRequired("AliasName"))
16941	}
16942	if s.AliasName != nil && len(*s.AliasName) < 1 {
16943		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
16944	}
16945	if s.AwsAccountId == nil {
16946		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
16947	}
16948	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
16949		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
16950	}
16951	if s.ThemeId == nil {
16952		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
16953	}
16954	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
16955		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
16956	}
16957	if s.ThemeVersionNumber == nil {
16958		invalidParams.Add(request.NewErrParamRequired("ThemeVersionNumber"))
16959	}
16960	if s.ThemeVersionNumber != nil && *s.ThemeVersionNumber < 1 {
16961		invalidParams.Add(request.NewErrParamMinValue("ThemeVersionNumber", 1))
16962	}
16963
16964	if invalidParams.Len() > 0 {
16965		return invalidParams
16966	}
16967	return nil
16968}
16969
16970// SetAliasName sets the AliasName field's value.
16971func (s *CreateThemeAliasInput) SetAliasName(v string) *CreateThemeAliasInput {
16972	s.AliasName = &v
16973	return s
16974}
16975
16976// SetAwsAccountId sets the AwsAccountId field's value.
16977func (s *CreateThemeAliasInput) SetAwsAccountId(v string) *CreateThemeAliasInput {
16978	s.AwsAccountId = &v
16979	return s
16980}
16981
16982// SetThemeId sets the ThemeId field's value.
16983func (s *CreateThemeAliasInput) SetThemeId(v string) *CreateThemeAliasInput {
16984	s.ThemeId = &v
16985	return s
16986}
16987
16988// SetThemeVersionNumber sets the ThemeVersionNumber field's value.
16989func (s *CreateThemeAliasInput) SetThemeVersionNumber(v int64) *CreateThemeAliasInput {
16990	s.ThemeVersionNumber = &v
16991	return s
16992}
16993
16994type CreateThemeAliasOutput struct {
16995	_ struct{} `type:"structure"`
16996
16997	// The Amazon Web Services request ID for this operation.
16998	RequestId *string `type:"string"`
16999
17000	// The HTTP status of the request.
17001	Status *int64 `location:"statusCode" type:"integer"`
17002
17003	// Information about the theme alias.
17004	ThemeAlias *ThemeAlias `type:"structure"`
17005}
17006
17007// String returns the string representation
17008func (s CreateThemeAliasOutput) String() string {
17009	return awsutil.Prettify(s)
17010}
17011
17012// GoString returns the string representation
17013func (s CreateThemeAliasOutput) GoString() string {
17014	return s.String()
17015}
17016
17017// SetRequestId sets the RequestId field's value.
17018func (s *CreateThemeAliasOutput) SetRequestId(v string) *CreateThemeAliasOutput {
17019	s.RequestId = &v
17020	return s
17021}
17022
17023// SetStatus sets the Status field's value.
17024func (s *CreateThemeAliasOutput) SetStatus(v int64) *CreateThemeAliasOutput {
17025	s.Status = &v
17026	return s
17027}
17028
17029// SetThemeAlias sets the ThemeAlias field's value.
17030func (s *CreateThemeAliasOutput) SetThemeAlias(v *ThemeAlias) *CreateThemeAliasOutput {
17031	s.ThemeAlias = v
17032	return s
17033}
17034
17035type CreateThemeInput struct {
17036	_ struct{} `type:"structure"`
17037
17038	// The ID of the Amazon Web Services account where you want to store the new
17039	// theme.
17040	//
17041	// AwsAccountId is a required field
17042	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
17043
17044	// The ID of the theme that a custom theme will inherit from. All themes inherit
17045	// from one of the starting themes defined by Amazon QuickSight. For a list
17046	// of the starting themes, use ListThemes or choose Themes from within a Amazon
17047	// QuickSight analysis.
17048	//
17049	// BaseThemeId is a required field
17050	BaseThemeId *string `min:"1" type:"string" required:"true"`
17051
17052	// The theme configuration, which contains the theme display properties.
17053	//
17054	// Configuration is a required field
17055	Configuration *ThemeConfiguration `type:"structure" required:"true"`
17056
17057	// A display name for the theme.
17058	//
17059	// Name is a required field
17060	Name *string `min:"1" type:"string" required:"true"`
17061
17062	// A valid grouping of resource permissions to apply to the new theme.
17063	Permissions []*ResourcePermission `min:"1" type:"list"`
17064
17065	// A map of the key-value pairs for the resource tag or tags that you want to
17066	// add to the resource.
17067	Tags []*Tag `min:"1" type:"list"`
17068
17069	// An ID for the theme that you want to create. The theme ID is unique per Amazon
17070	// Web Services Region in each Amazon Web Services account.
17071	//
17072	// ThemeId is a required field
17073	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
17074
17075	// A description of the first version of the theme that you're creating. Every
17076	// time UpdateTheme is called, a new version is created. Each version of the
17077	// theme has a description of the version in the VersionDescription field.
17078	VersionDescription *string `min:"1" type:"string"`
17079}
17080
17081// String returns the string representation
17082func (s CreateThemeInput) String() string {
17083	return awsutil.Prettify(s)
17084}
17085
17086// GoString returns the string representation
17087func (s CreateThemeInput) GoString() string {
17088	return s.String()
17089}
17090
17091// Validate inspects the fields of the type to determine if they are valid.
17092func (s *CreateThemeInput) Validate() error {
17093	invalidParams := request.ErrInvalidParams{Context: "CreateThemeInput"}
17094	if s.AwsAccountId == nil {
17095		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
17096	}
17097	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
17098		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
17099	}
17100	if s.BaseThemeId == nil {
17101		invalidParams.Add(request.NewErrParamRequired("BaseThemeId"))
17102	}
17103	if s.BaseThemeId != nil && len(*s.BaseThemeId) < 1 {
17104		invalidParams.Add(request.NewErrParamMinLen("BaseThemeId", 1))
17105	}
17106	if s.Configuration == nil {
17107		invalidParams.Add(request.NewErrParamRequired("Configuration"))
17108	}
17109	if s.Name == nil {
17110		invalidParams.Add(request.NewErrParamRequired("Name"))
17111	}
17112	if s.Name != nil && len(*s.Name) < 1 {
17113		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
17114	}
17115	if s.Permissions != nil && len(s.Permissions) < 1 {
17116		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
17117	}
17118	if s.Tags != nil && len(s.Tags) < 1 {
17119		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
17120	}
17121	if s.ThemeId == nil {
17122		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
17123	}
17124	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
17125		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
17126	}
17127	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
17128		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
17129	}
17130	if s.Permissions != nil {
17131		for i, v := range s.Permissions {
17132			if v == nil {
17133				continue
17134			}
17135			if err := v.Validate(); err != nil {
17136				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
17137			}
17138		}
17139	}
17140	if s.Tags != nil {
17141		for i, v := range s.Tags {
17142			if v == nil {
17143				continue
17144			}
17145			if err := v.Validate(); err != nil {
17146				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
17147			}
17148		}
17149	}
17150
17151	if invalidParams.Len() > 0 {
17152		return invalidParams
17153	}
17154	return nil
17155}
17156
17157// SetAwsAccountId sets the AwsAccountId field's value.
17158func (s *CreateThemeInput) SetAwsAccountId(v string) *CreateThemeInput {
17159	s.AwsAccountId = &v
17160	return s
17161}
17162
17163// SetBaseThemeId sets the BaseThemeId field's value.
17164func (s *CreateThemeInput) SetBaseThemeId(v string) *CreateThemeInput {
17165	s.BaseThemeId = &v
17166	return s
17167}
17168
17169// SetConfiguration sets the Configuration field's value.
17170func (s *CreateThemeInput) SetConfiguration(v *ThemeConfiguration) *CreateThemeInput {
17171	s.Configuration = v
17172	return s
17173}
17174
17175// SetName sets the Name field's value.
17176func (s *CreateThemeInput) SetName(v string) *CreateThemeInput {
17177	s.Name = &v
17178	return s
17179}
17180
17181// SetPermissions sets the Permissions field's value.
17182func (s *CreateThemeInput) SetPermissions(v []*ResourcePermission) *CreateThemeInput {
17183	s.Permissions = v
17184	return s
17185}
17186
17187// SetTags sets the Tags field's value.
17188func (s *CreateThemeInput) SetTags(v []*Tag) *CreateThemeInput {
17189	s.Tags = v
17190	return s
17191}
17192
17193// SetThemeId sets the ThemeId field's value.
17194func (s *CreateThemeInput) SetThemeId(v string) *CreateThemeInput {
17195	s.ThemeId = &v
17196	return s
17197}
17198
17199// SetVersionDescription sets the VersionDescription field's value.
17200func (s *CreateThemeInput) SetVersionDescription(v string) *CreateThemeInput {
17201	s.VersionDescription = &v
17202	return s
17203}
17204
17205type CreateThemeOutput struct {
17206	_ struct{} `type:"structure"`
17207
17208	// The Amazon Resource Name (ARN) for the theme.
17209	Arn *string `type:"string"`
17210
17211	// The theme creation status.
17212	CreationStatus *string `type:"string" enum:"ResourceStatus"`
17213
17214	// The Amazon Web Services request ID for this operation.
17215	RequestId *string `type:"string"`
17216
17217	// The HTTP status of the request.
17218	Status *int64 `location:"statusCode" type:"integer"`
17219
17220	// The ID of the theme.
17221	ThemeId *string `min:"1" type:"string"`
17222
17223	// The Amazon Resource Name (ARN) for the new theme.
17224	VersionArn *string `type:"string"`
17225}
17226
17227// String returns the string representation
17228func (s CreateThemeOutput) String() string {
17229	return awsutil.Prettify(s)
17230}
17231
17232// GoString returns the string representation
17233func (s CreateThemeOutput) GoString() string {
17234	return s.String()
17235}
17236
17237// SetArn sets the Arn field's value.
17238func (s *CreateThemeOutput) SetArn(v string) *CreateThemeOutput {
17239	s.Arn = &v
17240	return s
17241}
17242
17243// SetCreationStatus sets the CreationStatus field's value.
17244func (s *CreateThemeOutput) SetCreationStatus(v string) *CreateThemeOutput {
17245	s.CreationStatus = &v
17246	return s
17247}
17248
17249// SetRequestId sets the RequestId field's value.
17250func (s *CreateThemeOutput) SetRequestId(v string) *CreateThemeOutput {
17251	s.RequestId = &v
17252	return s
17253}
17254
17255// SetStatus sets the Status field's value.
17256func (s *CreateThemeOutput) SetStatus(v int64) *CreateThemeOutput {
17257	s.Status = &v
17258	return s
17259}
17260
17261// SetThemeId sets the ThemeId field's value.
17262func (s *CreateThemeOutput) SetThemeId(v string) *CreateThemeOutput {
17263	s.ThemeId = &v
17264	return s
17265}
17266
17267// SetVersionArn sets the VersionArn field's value.
17268func (s *CreateThemeOutput) SetVersionArn(v string) *CreateThemeOutput {
17269	s.VersionArn = &v
17270	return s
17271}
17272
17273// The combination of user name and password that are used as credentials.
17274type CredentialPair struct {
17275	_ struct{} `type:"structure"`
17276
17277	// A set of alternate data source parameters that you want to share for these
17278	// credentials. The credentials are applied in tandem with the data source parameters
17279	// when you copy a data source by using a create or update request. The API
17280	// operation compares the DataSourceParameters structure that's in the request
17281	// with the structures in the AlternateDataSourceParameters allow list. If the
17282	// structures are an exact match, the request is allowed to use the new data
17283	// source with the existing credentials. If the AlternateDataSourceParameters
17284	// list is null, the DataSourceParameters originally used with these Credentials
17285	// is automatically allowed.
17286	AlternateDataSourceParameters []*DataSourceParameters `min:"1" type:"list"`
17287
17288	// Password.
17289	//
17290	// Password is a required field
17291	Password *string `min:"1" type:"string" required:"true"`
17292
17293	// User name.
17294	//
17295	// Username is a required field
17296	Username *string `min:"1" type:"string" required:"true"`
17297}
17298
17299// String returns the string representation
17300func (s CredentialPair) String() string {
17301	return awsutil.Prettify(s)
17302}
17303
17304// GoString returns the string representation
17305func (s CredentialPair) GoString() string {
17306	return s.String()
17307}
17308
17309// Validate inspects the fields of the type to determine if they are valid.
17310func (s *CredentialPair) Validate() error {
17311	invalidParams := request.ErrInvalidParams{Context: "CredentialPair"}
17312	if s.AlternateDataSourceParameters != nil && len(s.AlternateDataSourceParameters) < 1 {
17313		invalidParams.Add(request.NewErrParamMinLen("AlternateDataSourceParameters", 1))
17314	}
17315	if s.Password == nil {
17316		invalidParams.Add(request.NewErrParamRequired("Password"))
17317	}
17318	if s.Password != nil && len(*s.Password) < 1 {
17319		invalidParams.Add(request.NewErrParamMinLen("Password", 1))
17320	}
17321	if s.Username == nil {
17322		invalidParams.Add(request.NewErrParamRequired("Username"))
17323	}
17324	if s.Username != nil && len(*s.Username) < 1 {
17325		invalidParams.Add(request.NewErrParamMinLen("Username", 1))
17326	}
17327	if s.AlternateDataSourceParameters != nil {
17328		for i, v := range s.AlternateDataSourceParameters {
17329			if v == nil {
17330				continue
17331			}
17332			if err := v.Validate(); err != nil {
17333				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AlternateDataSourceParameters", i), err.(request.ErrInvalidParams))
17334			}
17335		}
17336	}
17337
17338	if invalidParams.Len() > 0 {
17339		return invalidParams
17340	}
17341	return nil
17342}
17343
17344// SetAlternateDataSourceParameters sets the AlternateDataSourceParameters field's value.
17345func (s *CredentialPair) SetAlternateDataSourceParameters(v []*DataSourceParameters) *CredentialPair {
17346	s.AlternateDataSourceParameters = v
17347	return s
17348}
17349
17350// SetPassword sets the Password field's value.
17351func (s *CredentialPair) SetPassword(v string) *CredentialPair {
17352	s.Password = &v
17353	return s
17354}
17355
17356// SetUsername sets the Username field's value.
17357func (s *CredentialPair) SetUsername(v string) *CredentialPair {
17358	s.Username = &v
17359	return s
17360}
17361
17362// A physical table type built from the results of the custom SQL query.
17363type CustomSql struct {
17364	_ struct{} `type:"structure"`
17365
17366	// The column schema from the SQL query result set.
17367	Columns []*InputColumn `min:"1" type:"list"`
17368
17369	// The Amazon Resource Name (ARN) of the data source.
17370	//
17371	// DataSourceArn is a required field
17372	DataSourceArn *string `type:"string" required:"true"`
17373
17374	// A display name for the SQL query result.
17375	//
17376	// Name is a required field
17377	Name *string `min:"1" type:"string" required:"true"`
17378
17379	// The SQL query.
17380	//
17381	// SqlQuery is a required field
17382	SqlQuery *string `min:"1" type:"string" required:"true"`
17383}
17384
17385// String returns the string representation
17386func (s CustomSql) String() string {
17387	return awsutil.Prettify(s)
17388}
17389
17390// GoString returns the string representation
17391func (s CustomSql) GoString() string {
17392	return s.String()
17393}
17394
17395// Validate inspects the fields of the type to determine if they are valid.
17396func (s *CustomSql) Validate() error {
17397	invalidParams := request.ErrInvalidParams{Context: "CustomSql"}
17398	if s.Columns != nil && len(s.Columns) < 1 {
17399		invalidParams.Add(request.NewErrParamMinLen("Columns", 1))
17400	}
17401	if s.DataSourceArn == nil {
17402		invalidParams.Add(request.NewErrParamRequired("DataSourceArn"))
17403	}
17404	if s.Name == nil {
17405		invalidParams.Add(request.NewErrParamRequired("Name"))
17406	}
17407	if s.Name != nil && len(*s.Name) < 1 {
17408		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
17409	}
17410	if s.SqlQuery == nil {
17411		invalidParams.Add(request.NewErrParamRequired("SqlQuery"))
17412	}
17413	if s.SqlQuery != nil && len(*s.SqlQuery) < 1 {
17414		invalidParams.Add(request.NewErrParamMinLen("SqlQuery", 1))
17415	}
17416	if s.Columns != nil {
17417		for i, v := range s.Columns {
17418			if v == nil {
17419				continue
17420			}
17421			if err := v.Validate(); err != nil {
17422				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams))
17423			}
17424		}
17425	}
17426
17427	if invalidParams.Len() > 0 {
17428		return invalidParams
17429	}
17430	return nil
17431}
17432
17433// SetColumns sets the Columns field's value.
17434func (s *CustomSql) SetColumns(v []*InputColumn) *CustomSql {
17435	s.Columns = v
17436	return s
17437}
17438
17439// SetDataSourceArn sets the DataSourceArn field's value.
17440func (s *CustomSql) SetDataSourceArn(v string) *CustomSql {
17441	s.DataSourceArn = &v
17442	return s
17443}
17444
17445// SetName sets the Name field's value.
17446func (s *CustomSql) SetName(v string) *CustomSql {
17447	s.Name = &v
17448	return s
17449}
17450
17451// SetSqlQuery sets the SqlQuery field's value.
17452func (s *CustomSql) SetSqlQuery(v string) *CustomSql {
17453	s.SqlQuery = &v
17454	return s
17455}
17456
17457// Dashboard.
17458type Dashboard struct {
17459	_ struct{} `type:"structure"`
17460
17461	// The Amazon Resource Name (ARN) of the resource.
17462	Arn *string `type:"string"`
17463
17464	// The time that this dataset was created.
17465	CreatedTime *time.Time `type:"timestamp"`
17466
17467	// Dashboard ID.
17468	DashboardId *string `min:"1" type:"string"`
17469
17470	// The last time that this dataset was published.
17471	LastPublishedTime *time.Time `type:"timestamp"`
17472
17473	// The last time that this dataset was updated.
17474	LastUpdatedTime *time.Time `type:"timestamp"`
17475
17476	// A display name for the dashboard.
17477	Name *string `min:"1" type:"string"`
17478
17479	// Version.
17480	Version *DashboardVersion `type:"structure"`
17481}
17482
17483// String returns the string representation
17484func (s Dashboard) String() string {
17485	return awsutil.Prettify(s)
17486}
17487
17488// GoString returns the string representation
17489func (s Dashboard) GoString() string {
17490	return s.String()
17491}
17492
17493// SetArn sets the Arn field's value.
17494func (s *Dashboard) SetArn(v string) *Dashboard {
17495	s.Arn = &v
17496	return s
17497}
17498
17499// SetCreatedTime sets the CreatedTime field's value.
17500func (s *Dashboard) SetCreatedTime(v time.Time) *Dashboard {
17501	s.CreatedTime = &v
17502	return s
17503}
17504
17505// SetDashboardId sets the DashboardId field's value.
17506func (s *Dashboard) SetDashboardId(v string) *Dashboard {
17507	s.DashboardId = &v
17508	return s
17509}
17510
17511// SetLastPublishedTime sets the LastPublishedTime field's value.
17512func (s *Dashboard) SetLastPublishedTime(v time.Time) *Dashboard {
17513	s.LastPublishedTime = &v
17514	return s
17515}
17516
17517// SetLastUpdatedTime sets the LastUpdatedTime field's value.
17518func (s *Dashboard) SetLastUpdatedTime(v time.Time) *Dashboard {
17519	s.LastUpdatedTime = &v
17520	return s
17521}
17522
17523// SetName sets the Name field's value.
17524func (s *Dashboard) SetName(v string) *Dashboard {
17525	s.Name = &v
17526	return s
17527}
17528
17529// SetVersion sets the Version field's value.
17530func (s *Dashboard) SetVersion(v *DashboardVersion) *Dashboard {
17531	s.Version = v
17532	return s
17533}
17534
17535// Dashboard error.
17536type DashboardError struct {
17537	_ struct{} `type:"structure"`
17538
17539	// Message.
17540	Message *string `type:"string"`
17541
17542	// Type.
17543	Type *string `type:"string" enum:"DashboardErrorType"`
17544}
17545
17546// String returns the string representation
17547func (s DashboardError) String() string {
17548	return awsutil.Prettify(s)
17549}
17550
17551// GoString returns the string representation
17552func (s DashboardError) GoString() string {
17553	return s.String()
17554}
17555
17556// SetMessage sets the Message field's value.
17557func (s *DashboardError) SetMessage(v string) *DashboardError {
17558	s.Message = &v
17559	return s
17560}
17561
17562// SetType sets the Type field's value.
17563func (s *DashboardError) SetType(v string) *DashboardError {
17564	s.Type = &v
17565	return s
17566}
17567
17568// Dashboard publish options.
17569type DashboardPublishOptions struct {
17570	_ struct{} `type:"structure"`
17571
17572	// Ad hoc (one-time) filtering option.
17573	AdHocFilteringOption *AdHocFilteringOption `type:"structure"`
17574
17575	// Export to .csv option.
17576	ExportToCSVOption *ExportToCSVOption `type:"structure"`
17577
17578	// Sheet controls option.
17579	SheetControlsOption *SheetControlsOption `type:"structure"`
17580}
17581
17582// String returns the string representation
17583func (s DashboardPublishOptions) String() string {
17584	return awsutil.Prettify(s)
17585}
17586
17587// GoString returns the string representation
17588func (s DashboardPublishOptions) GoString() string {
17589	return s.String()
17590}
17591
17592// SetAdHocFilteringOption sets the AdHocFilteringOption field's value.
17593func (s *DashboardPublishOptions) SetAdHocFilteringOption(v *AdHocFilteringOption) *DashboardPublishOptions {
17594	s.AdHocFilteringOption = v
17595	return s
17596}
17597
17598// SetExportToCSVOption sets the ExportToCSVOption field's value.
17599func (s *DashboardPublishOptions) SetExportToCSVOption(v *ExportToCSVOption) *DashboardPublishOptions {
17600	s.ExportToCSVOption = v
17601	return s
17602}
17603
17604// SetSheetControlsOption sets the SheetControlsOption field's value.
17605func (s *DashboardPublishOptions) SetSheetControlsOption(v *SheetControlsOption) *DashboardPublishOptions {
17606	s.SheetControlsOption = v
17607	return s
17608}
17609
17610// A filter that you apply when searching for dashboards.
17611type DashboardSearchFilter struct {
17612	_ struct{} `type:"structure"`
17613
17614	// The name of the value that you want to use as a filter, for example, "Name":
17615	// "QUICKSIGHT_USER".
17616	Name *string `type:"string" enum:"DashboardFilterAttribute"`
17617
17618	// The comparison operator that you want to use as a filter, for example, "Operator":
17619	// "StringEquals".
17620	//
17621	// Operator is a required field
17622	Operator *string `type:"string" required:"true" enum:"FilterOperator"`
17623
17624	// The value of the named item, in this case QUICKSIGHT_USER, that you want
17625	// to use as a filter, for example, "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1".
17626	Value *string `type:"string"`
17627}
17628
17629// String returns the string representation
17630func (s DashboardSearchFilter) String() string {
17631	return awsutil.Prettify(s)
17632}
17633
17634// GoString returns the string representation
17635func (s DashboardSearchFilter) GoString() string {
17636	return s.String()
17637}
17638
17639// Validate inspects the fields of the type to determine if they are valid.
17640func (s *DashboardSearchFilter) Validate() error {
17641	invalidParams := request.ErrInvalidParams{Context: "DashboardSearchFilter"}
17642	if s.Operator == nil {
17643		invalidParams.Add(request.NewErrParamRequired("Operator"))
17644	}
17645
17646	if invalidParams.Len() > 0 {
17647		return invalidParams
17648	}
17649	return nil
17650}
17651
17652// SetName sets the Name field's value.
17653func (s *DashboardSearchFilter) SetName(v string) *DashboardSearchFilter {
17654	s.Name = &v
17655	return s
17656}
17657
17658// SetOperator sets the Operator field's value.
17659func (s *DashboardSearchFilter) SetOperator(v string) *DashboardSearchFilter {
17660	s.Operator = &v
17661	return s
17662}
17663
17664// SetValue sets the Value field's value.
17665func (s *DashboardSearchFilter) SetValue(v string) *DashboardSearchFilter {
17666	s.Value = &v
17667	return s
17668}
17669
17670// Dashboard source entity.
17671type DashboardSourceEntity struct {
17672	_ struct{} `type:"structure"`
17673
17674	// Source template.
17675	SourceTemplate *DashboardSourceTemplate `type:"structure"`
17676}
17677
17678// String returns the string representation
17679func (s DashboardSourceEntity) String() string {
17680	return awsutil.Prettify(s)
17681}
17682
17683// GoString returns the string representation
17684func (s DashboardSourceEntity) GoString() string {
17685	return s.String()
17686}
17687
17688// Validate inspects the fields of the type to determine if they are valid.
17689func (s *DashboardSourceEntity) Validate() error {
17690	invalidParams := request.ErrInvalidParams{Context: "DashboardSourceEntity"}
17691	if s.SourceTemplate != nil {
17692		if err := s.SourceTemplate.Validate(); err != nil {
17693			invalidParams.AddNested("SourceTemplate", err.(request.ErrInvalidParams))
17694		}
17695	}
17696
17697	if invalidParams.Len() > 0 {
17698		return invalidParams
17699	}
17700	return nil
17701}
17702
17703// SetSourceTemplate sets the SourceTemplate field's value.
17704func (s *DashboardSourceEntity) SetSourceTemplate(v *DashboardSourceTemplate) *DashboardSourceEntity {
17705	s.SourceTemplate = v
17706	return s
17707}
17708
17709// Dashboard source template.
17710type DashboardSourceTemplate struct {
17711	_ struct{} `type:"structure"`
17712
17713	// The Amazon Resource Name (ARN) of the resource.
17714	//
17715	// Arn is a required field
17716	Arn *string `type:"string" required:"true"`
17717
17718	// Dataset references.
17719	//
17720	// DataSetReferences is a required field
17721	DataSetReferences []*DataSetReference `min:"1" type:"list" required:"true"`
17722}
17723
17724// String returns the string representation
17725func (s DashboardSourceTemplate) String() string {
17726	return awsutil.Prettify(s)
17727}
17728
17729// GoString returns the string representation
17730func (s DashboardSourceTemplate) GoString() string {
17731	return s.String()
17732}
17733
17734// Validate inspects the fields of the type to determine if they are valid.
17735func (s *DashboardSourceTemplate) Validate() error {
17736	invalidParams := request.ErrInvalidParams{Context: "DashboardSourceTemplate"}
17737	if s.Arn == nil {
17738		invalidParams.Add(request.NewErrParamRequired("Arn"))
17739	}
17740	if s.DataSetReferences == nil {
17741		invalidParams.Add(request.NewErrParamRequired("DataSetReferences"))
17742	}
17743	if s.DataSetReferences != nil && len(s.DataSetReferences) < 1 {
17744		invalidParams.Add(request.NewErrParamMinLen("DataSetReferences", 1))
17745	}
17746	if s.DataSetReferences != nil {
17747		for i, v := range s.DataSetReferences {
17748			if v == nil {
17749				continue
17750			}
17751			if err := v.Validate(); err != nil {
17752				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSetReferences", i), err.(request.ErrInvalidParams))
17753			}
17754		}
17755	}
17756
17757	if invalidParams.Len() > 0 {
17758		return invalidParams
17759	}
17760	return nil
17761}
17762
17763// SetArn sets the Arn field's value.
17764func (s *DashboardSourceTemplate) SetArn(v string) *DashboardSourceTemplate {
17765	s.Arn = &v
17766	return s
17767}
17768
17769// SetDataSetReferences sets the DataSetReferences field's value.
17770func (s *DashboardSourceTemplate) SetDataSetReferences(v []*DataSetReference) *DashboardSourceTemplate {
17771	s.DataSetReferences = v
17772	return s
17773}
17774
17775// Dashboard summary.
17776type DashboardSummary struct {
17777	_ struct{} `type:"structure"`
17778
17779	// The Amazon Resource Name (ARN) of the resource.
17780	Arn *string `type:"string"`
17781
17782	// The time that this dashboard was created.
17783	CreatedTime *time.Time `type:"timestamp"`
17784
17785	// Dashboard ID.
17786	DashboardId *string `min:"1" type:"string"`
17787
17788	// The last time that this dashboard was published.
17789	LastPublishedTime *time.Time `type:"timestamp"`
17790
17791	// The last time that this dashboard was updated.
17792	LastUpdatedTime *time.Time `type:"timestamp"`
17793
17794	// A display name for the dashboard.
17795	Name *string `min:"1" type:"string"`
17796
17797	// Published version number.
17798	PublishedVersionNumber *int64 `min:"1" type:"long"`
17799}
17800
17801// String returns the string representation
17802func (s DashboardSummary) String() string {
17803	return awsutil.Prettify(s)
17804}
17805
17806// GoString returns the string representation
17807func (s DashboardSummary) GoString() string {
17808	return s.String()
17809}
17810
17811// SetArn sets the Arn field's value.
17812func (s *DashboardSummary) SetArn(v string) *DashboardSummary {
17813	s.Arn = &v
17814	return s
17815}
17816
17817// SetCreatedTime sets the CreatedTime field's value.
17818func (s *DashboardSummary) SetCreatedTime(v time.Time) *DashboardSummary {
17819	s.CreatedTime = &v
17820	return s
17821}
17822
17823// SetDashboardId sets the DashboardId field's value.
17824func (s *DashboardSummary) SetDashboardId(v string) *DashboardSummary {
17825	s.DashboardId = &v
17826	return s
17827}
17828
17829// SetLastPublishedTime sets the LastPublishedTime field's value.
17830func (s *DashboardSummary) SetLastPublishedTime(v time.Time) *DashboardSummary {
17831	s.LastPublishedTime = &v
17832	return s
17833}
17834
17835// SetLastUpdatedTime sets the LastUpdatedTime field's value.
17836func (s *DashboardSummary) SetLastUpdatedTime(v time.Time) *DashboardSummary {
17837	s.LastUpdatedTime = &v
17838	return s
17839}
17840
17841// SetName sets the Name field's value.
17842func (s *DashboardSummary) SetName(v string) *DashboardSummary {
17843	s.Name = &v
17844	return s
17845}
17846
17847// SetPublishedVersionNumber sets the PublishedVersionNumber field's value.
17848func (s *DashboardSummary) SetPublishedVersionNumber(v int64) *DashboardSummary {
17849	s.PublishedVersionNumber = &v
17850	return s
17851}
17852
17853// Dashboard version.
17854type DashboardVersion struct {
17855	_ struct{} `type:"structure"`
17856
17857	// The Amazon Resource Name (ARN) of the resource.
17858	Arn *string `type:"string"`
17859
17860	// The time that this dashboard version was created.
17861	CreatedTime *time.Time `type:"timestamp"`
17862
17863	// The Amazon Resource Numbers (ARNs) for the datasets that are associated with
17864	// this version of the dashboard.
17865	DataSetArns []*string `type:"list"`
17866
17867	// Description.
17868	Description *string `min:"1" type:"string"`
17869
17870	// Errors associated with this dashboard version.
17871	Errors []*DashboardError `min:"1" type:"list"`
17872
17873	// A list of the associated sheets with the unique identifier and name of each
17874	// sheet.
17875	Sheets []*Sheet `type:"list"`
17876
17877	// Source entity ARN.
17878	SourceEntityArn *string `type:"string"`
17879
17880	// The HTTP status of the request.
17881	Status *string `type:"string" enum:"ResourceStatus"`
17882
17883	// The ARN of the theme associated with a version of the dashboard.
17884	ThemeArn *string `type:"string"`
17885
17886	// Version number for this version of the dashboard.
17887	VersionNumber *int64 `min:"1" type:"long"`
17888}
17889
17890// String returns the string representation
17891func (s DashboardVersion) String() string {
17892	return awsutil.Prettify(s)
17893}
17894
17895// GoString returns the string representation
17896func (s DashboardVersion) GoString() string {
17897	return s.String()
17898}
17899
17900// SetArn sets the Arn field's value.
17901func (s *DashboardVersion) SetArn(v string) *DashboardVersion {
17902	s.Arn = &v
17903	return s
17904}
17905
17906// SetCreatedTime sets the CreatedTime field's value.
17907func (s *DashboardVersion) SetCreatedTime(v time.Time) *DashboardVersion {
17908	s.CreatedTime = &v
17909	return s
17910}
17911
17912// SetDataSetArns sets the DataSetArns field's value.
17913func (s *DashboardVersion) SetDataSetArns(v []*string) *DashboardVersion {
17914	s.DataSetArns = v
17915	return s
17916}
17917
17918// SetDescription sets the Description field's value.
17919func (s *DashboardVersion) SetDescription(v string) *DashboardVersion {
17920	s.Description = &v
17921	return s
17922}
17923
17924// SetErrors sets the Errors field's value.
17925func (s *DashboardVersion) SetErrors(v []*DashboardError) *DashboardVersion {
17926	s.Errors = v
17927	return s
17928}
17929
17930// SetSheets sets the Sheets field's value.
17931func (s *DashboardVersion) SetSheets(v []*Sheet) *DashboardVersion {
17932	s.Sheets = v
17933	return s
17934}
17935
17936// SetSourceEntityArn sets the SourceEntityArn field's value.
17937func (s *DashboardVersion) SetSourceEntityArn(v string) *DashboardVersion {
17938	s.SourceEntityArn = &v
17939	return s
17940}
17941
17942// SetStatus sets the Status field's value.
17943func (s *DashboardVersion) SetStatus(v string) *DashboardVersion {
17944	s.Status = &v
17945	return s
17946}
17947
17948// SetThemeArn sets the ThemeArn field's value.
17949func (s *DashboardVersion) SetThemeArn(v string) *DashboardVersion {
17950	s.ThemeArn = &v
17951	return s
17952}
17953
17954// SetVersionNumber sets the VersionNumber field's value.
17955func (s *DashboardVersion) SetVersionNumber(v int64) *DashboardVersion {
17956	s.VersionNumber = &v
17957	return s
17958}
17959
17960// Dashboard version summary.
17961type DashboardVersionSummary struct {
17962	_ struct{} `type:"structure"`
17963
17964	// The Amazon Resource Name (ARN) of the resource.
17965	Arn *string `type:"string"`
17966
17967	// The time that this dashboard version was created.
17968	CreatedTime *time.Time `type:"timestamp"`
17969
17970	// Description.
17971	Description *string `min:"1" type:"string"`
17972
17973	// Source entity ARN.
17974	SourceEntityArn *string `type:"string"`
17975
17976	// The HTTP status of the request.
17977	Status *string `type:"string" enum:"ResourceStatus"`
17978
17979	// Version number.
17980	VersionNumber *int64 `min:"1" type:"long"`
17981}
17982
17983// String returns the string representation
17984func (s DashboardVersionSummary) String() string {
17985	return awsutil.Prettify(s)
17986}
17987
17988// GoString returns the string representation
17989func (s DashboardVersionSummary) GoString() string {
17990	return s.String()
17991}
17992
17993// SetArn sets the Arn field's value.
17994func (s *DashboardVersionSummary) SetArn(v string) *DashboardVersionSummary {
17995	s.Arn = &v
17996	return s
17997}
17998
17999// SetCreatedTime sets the CreatedTime field's value.
18000func (s *DashboardVersionSummary) SetCreatedTime(v time.Time) *DashboardVersionSummary {
18001	s.CreatedTime = &v
18002	return s
18003}
18004
18005// SetDescription sets the Description field's value.
18006func (s *DashboardVersionSummary) SetDescription(v string) *DashboardVersionSummary {
18007	s.Description = &v
18008	return s
18009}
18010
18011// SetSourceEntityArn sets the SourceEntityArn field's value.
18012func (s *DashboardVersionSummary) SetSourceEntityArn(v string) *DashboardVersionSummary {
18013	s.SourceEntityArn = &v
18014	return s
18015}
18016
18017// SetStatus sets the Status field's value.
18018func (s *DashboardVersionSummary) SetStatus(v string) *DashboardVersionSummary {
18019	s.Status = &v
18020	return s
18021}
18022
18023// SetVersionNumber sets the VersionNumber field's value.
18024func (s *DashboardVersionSummary) SetVersionNumber(v int64) *DashboardVersionSummary {
18025	s.VersionNumber = &v
18026	return s
18027}
18028
18029// The theme colors that are used for data colors in charts. The colors description
18030// is a hexadecimal color code that consists of six alphanumerical characters,
18031// prefixed with #, for example #37BFF5.
18032type DataColorPalette struct {
18033	_ struct{} `type:"structure"`
18034
18035	// The hexadecimal codes for the colors.
18036	Colors []*string `type:"list"`
18037
18038	// The hexadecimal code of a color that applies to charts where a lack of data
18039	// is highlighted.
18040	EmptyFillColor *string `type:"string"`
18041
18042	// The minimum and maximum hexadecimal codes that describe a color gradient.
18043	MinMaxGradient []*string `type:"list"`
18044}
18045
18046// String returns the string representation
18047func (s DataColorPalette) String() string {
18048	return awsutil.Prettify(s)
18049}
18050
18051// GoString returns the string representation
18052func (s DataColorPalette) GoString() string {
18053	return s.String()
18054}
18055
18056// SetColors sets the Colors field's value.
18057func (s *DataColorPalette) SetColors(v []*string) *DataColorPalette {
18058	s.Colors = v
18059	return s
18060}
18061
18062// SetEmptyFillColor sets the EmptyFillColor field's value.
18063func (s *DataColorPalette) SetEmptyFillColor(v string) *DataColorPalette {
18064	s.EmptyFillColor = &v
18065	return s
18066}
18067
18068// SetMinMaxGradient sets the MinMaxGradient field's value.
18069func (s *DataColorPalette) SetMinMaxGradient(v []*string) *DataColorPalette {
18070	s.MinMaxGradient = v
18071	return s
18072}
18073
18074// Dataset.
18075type DataSet struct {
18076	_ struct{} `type:"structure"`
18077
18078	// The Amazon Resource Name (ARN) of the resource.
18079	Arn *string `type:"string"`
18080
18081	// Groupings of columns that work together in certain Amazon QuickSight features.
18082	// Currently, only geospatial hierarchy is supported.
18083	ColumnGroups []*ColumnGroup `min:"1" type:"list"`
18084
18085	// A set of one or more definitions of a ColumnLevelPermissionRule .
18086	ColumnLevelPermissionRules []*ColumnLevelPermissionRule `min:"1" type:"list"`
18087
18088	// The amount of SPICE capacity used by this dataset. This is 0 if the dataset
18089	// isn't imported into SPICE.
18090	ConsumedSpiceCapacityInBytes *int64 `type:"long"`
18091
18092	// The time that this dataset was created.
18093	CreatedTime *time.Time `type:"timestamp"`
18094
18095	// The ID of the dataset.
18096	DataSetId *string `type:"string"`
18097
18098	// The usage configuration to apply to child datasets that reference this dataset
18099	// as a source.
18100	DataSetUsageConfiguration *DataSetUsageConfiguration `type:"structure"`
18101
18102	// The folder that contains fields and nested subfolders for your dataset.
18103	FieldFolders map[string]*FieldFolder `type:"map"`
18104
18105	// A value that indicates whether you want to import the data into SPICE.
18106	ImportMode *string `type:"string" enum:"DataSetImportMode"`
18107
18108	// The last time that this dataset was updated.
18109	LastUpdatedTime *time.Time `type:"timestamp"`
18110
18111	// Configures the combination and transformation of the data from the physical
18112	// tables.
18113	LogicalTableMap map[string]*LogicalTable `min:"1" type:"map"`
18114
18115	// A display name for the dataset.
18116	Name *string `min:"1" type:"string"`
18117
18118	// The list of columns after all transforms. These columns are available in
18119	// templates, analyses, and dashboards.
18120	OutputColumns []*OutputColumn `type:"list"`
18121
18122	// Declares the physical tables that are available in the underlying data sources.
18123	PhysicalTableMap map[string]*PhysicalTable `type:"map"`
18124
18125	// The row-level security configuration for the dataset.
18126	RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"`
18127
18128	// The element you can use to define tags for row-level security.
18129	RowLevelPermissionTagConfiguration *RowLevelPermissionTagConfiguration `type:"structure"`
18130}
18131
18132// String returns the string representation
18133func (s DataSet) String() string {
18134	return awsutil.Prettify(s)
18135}
18136
18137// GoString returns the string representation
18138func (s DataSet) GoString() string {
18139	return s.String()
18140}
18141
18142// SetArn sets the Arn field's value.
18143func (s *DataSet) SetArn(v string) *DataSet {
18144	s.Arn = &v
18145	return s
18146}
18147
18148// SetColumnGroups sets the ColumnGroups field's value.
18149func (s *DataSet) SetColumnGroups(v []*ColumnGroup) *DataSet {
18150	s.ColumnGroups = v
18151	return s
18152}
18153
18154// SetColumnLevelPermissionRules sets the ColumnLevelPermissionRules field's value.
18155func (s *DataSet) SetColumnLevelPermissionRules(v []*ColumnLevelPermissionRule) *DataSet {
18156	s.ColumnLevelPermissionRules = v
18157	return s
18158}
18159
18160// SetConsumedSpiceCapacityInBytes sets the ConsumedSpiceCapacityInBytes field's value.
18161func (s *DataSet) SetConsumedSpiceCapacityInBytes(v int64) *DataSet {
18162	s.ConsumedSpiceCapacityInBytes = &v
18163	return s
18164}
18165
18166// SetCreatedTime sets the CreatedTime field's value.
18167func (s *DataSet) SetCreatedTime(v time.Time) *DataSet {
18168	s.CreatedTime = &v
18169	return s
18170}
18171
18172// SetDataSetId sets the DataSetId field's value.
18173func (s *DataSet) SetDataSetId(v string) *DataSet {
18174	s.DataSetId = &v
18175	return s
18176}
18177
18178// SetDataSetUsageConfiguration sets the DataSetUsageConfiguration field's value.
18179func (s *DataSet) SetDataSetUsageConfiguration(v *DataSetUsageConfiguration) *DataSet {
18180	s.DataSetUsageConfiguration = v
18181	return s
18182}
18183
18184// SetFieldFolders sets the FieldFolders field's value.
18185func (s *DataSet) SetFieldFolders(v map[string]*FieldFolder) *DataSet {
18186	s.FieldFolders = v
18187	return s
18188}
18189
18190// SetImportMode sets the ImportMode field's value.
18191func (s *DataSet) SetImportMode(v string) *DataSet {
18192	s.ImportMode = &v
18193	return s
18194}
18195
18196// SetLastUpdatedTime sets the LastUpdatedTime field's value.
18197func (s *DataSet) SetLastUpdatedTime(v time.Time) *DataSet {
18198	s.LastUpdatedTime = &v
18199	return s
18200}
18201
18202// SetLogicalTableMap sets the LogicalTableMap field's value.
18203func (s *DataSet) SetLogicalTableMap(v map[string]*LogicalTable) *DataSet {
18204	s.LogicalTableMap = v
18205	return s
18206}
18207
18208// SetName sets the Name field's value.
18209func (s *DataSet) SetName(v string) *DataSet {
18210	s.Name = &v
18211	return s
18212}
18213
18214// SetOutputColumns sets the OutputColumns field's value.
18215func (s *DataSet) SetOutputColumns(v []*OutputColumn) *DataSet {
18216	s.OutputColumns = v
18217	return s
18218}
18219
18220// SetPhysicalTableMap sets the PhysicalTableMap field's value.
18221func (s *DataSet) SetPhysicalTableMap(v map[string]*PhysicalTable) *DataSet {
18222	s.PhysicalTableMap = v
18223	return s
18224}
18225
18226// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value.
18227func (s *DataSet) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *DataSet {
18228	s.RowLevelPermissionDataSet = v
18229	return s
18230}
18231
18232// SetRowLevelPermissionTagConfiguration sets the RowLevelPermissionTagConfiguration field's value.
18233func (s *DataSet) SetRowLevelPermissionTagConfiguration(v *RowLevelPermissionTagConfiguration) *DataSet {
18234	s.RowLevelPermissionTagConfiguration = v
18235	return s
18236}
18237
18238// Dataset configuration.
18239type DataSetConfiguration struct {
18240	_ struct{} `type:"structure"`
18241
18242	// A structure containing the list of column group schemas.
18243	ColumnGroupSchemaList []*ColumnGroupSchema `type:"list"`
18244
18245	// Dataset schema.
18246	DataSetSchema *DataSetSchema `type:"structure"`
18247
18248	// Placeholder.
18249	Placeholder *string `type:"string"`
18250}
18251
18252// String returns the string representation
18253func (s DataSetConfiguration) String() string {
18254	return awsutil.Prettify(s)
18255}
18256
18257// GoString returns the string representation
18258func (s DataSetConfiguration) GoString() string {
18259	return s.String()
18260}
18261
18262// SetColumnGroupSchemaList sets the ColumnGroupSchemaList field's value.
18263func (s *DataSetConfiguration) SetColumnGroupSchemaList(v []*ColumnGroupSchema) *DataSetConfiguration {
18264	s.ColumnGroupSchemaList = v
18265	return s
18266}
18267
18268// SetDataSetSchema sets the DataSetSchema field's value.
18269func (s *DataSetConfiguration) SetDataSetSchema(v *DataSetSchema) *DataSetConfiguration {
18270	s.DataSetSchema = v
18271	return s
18272}
18273
18274// SetPlaceholder sets the Placeholder field's value.
18275func (s *DataSetConfiguration) SetPlaceholder(v string) *DataSetConfiguration {
18276	s.Placeholder = &v
18277	return s
18278}
18279
18280// Dataset reference.
18281type DataSetReference struct {
18282	_ struct{} `type:"structure"`
18283
18284	// Dataset Amazon Resource Name (ARN).
18285	//
18286	// DataSetArn is a required field
18287	DataSetArn *string `type:"string" required:"true"`
18288
18289	// Dataset placeholder.
18290	//
18291	// DataSetPlaceholder is a required field
18292	DataSetPlaceholder *string `type:"string" required:"true"`
18293}
18294
18295// String returns the string representation
18296func (s DataSetReference) String() string {
18297	return awsutil.Prettify(s)
18298}
18299
18300// GoString returns the string representation
18301func (s DataSetReference) GoString() string {
18302	return s.String()
18303}
18304
18305// Validate inspects the fields of the type to determine if they are valid.
18306func (s *DataSetReference) Validate() error {
18307	invalidParams := request.ErrInvalidParams{Context: "DataSetReference"}
18308	if s.DataSetArn == nil {
18309		invalidParams.Add(request.NewErrParamRequired("DataSetArn"))
18310	}
18311	if s.DataSetPlaceholder == nil {
18312		invalidParams.Add(request.NewErrParamRequired("DataSetPlaceholder"))
18313	}
18314
18315	if invalidParams.Len() > 0 {
18316		return invalidParams
18317	}
18318	return nil
18319}
18320
18321// SetDataSetArn sets the DataSetArn field's value.
18322func (s *DataSetReference) SetDataSetArn(v string) *DataSetReference {
18323	s.DataSetArn = &v
18324	return s
18325}
18326
18327// SetDataSetPlaceholder sets the DataSetPlaceholder field's value.
18328func (s *DataSetReference) SetDataSetPlaceholder(v string) *DataSetReference {
18329	s.DataSetPlaceholder = &v
18330	return s
18331}
18332
18333// Dataset schema.
18334type DataSetSchema struct {
18335	_ struct{} `type:"structure"`
18336
18337	// A structure containing the list of column schemas.
18338	ColumnSchemaList []*ColumnSchema `type:"list"`
18339}
18340
18341// String returns the string representation
18342func (s DataSetSchema) String() string {
18343	return awsutil.Prettify(s)
18344}
18345
18346// GoString returns the string representation
18347func (s DataSetSchema) GoString() string {
18348	return s.String()
18349}
18350
18351// SetColumnSchemaList sets the ColumnSchemaList field's value.
18352func (s *DataSetSchema) SetColumnSchemaList(v []*ColumnSchema) *DataSetSchema {
18353	s.ColumnSchemaList = v
18354	return s
18355}
18356
18357// Dataset summary.
18358type DataSetSummary struct {
18359	_ struct{} `type:"structure"`
18360
18361	// The Amazon Resource Name (ARN) of the dataset.
18362	Arn *string `type:"string"`
18363
18364	// A value that indicates if the dataset has column level permission configured.
18365	ColumnLevelPermissionRulesApplied *bool `type:"boolean"`
18366
18367	// The time that this dataset was created.
18368	CreatedTime *time.Time `type:"timestamp"`
18369
18370	// The ID of the dataset.
18371	DataSetId *string `type:"string"`
18372
18373	// A value that indicates whether you want to import the data into SPICE.
18374	ImportMode *string `type:"string" enum:"DataSetImportMode"`
18375
18376	// The last time that this dataset was updated.
18377	LastUpdatedTime *time.Time `type:"timestamp"`
18378
18379	// A display name for the dataset.
18380	Name *string `min:"1" type:"string"`
18381
18382	// The row-level security configuration for the dataset.
18383	RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"`
18384
18385	// Whether or not the row level permission tags are applied.
18386	RowLevelPermissionTagConfigurationApplied *bool `type:"boolean"`
18387}
18388
18389// String returns the string representation
18390func (s DataSetSummary) String() string {
18391	return awsutil.Prettify(s)
18392}
18393
18394// GoString returns the string representation
18395func (s DataSetSummary) GoString() string {
18396	return s.String()
18397}
18398
18399// SetArn sets the Arn field's value.
18400func (s *DataSetSummary) SetArn(v string) *DataSetSummary {
18401	s.Arn = &v
18402	return s
18403}
18404
18405// SetColumnLevelPermissionRulesApplied sets the ColumnLevelPermissionRulesApplied field's value.
18406func (s *DataSetSummary) SetColumnLevelPermissionRulesApplied(v bool) *DataSetSummary {
18407	s.ColumnLevelPermissionRulesApplied = &v
18408	return s
18409}
18410
18411// SetCreatedTime sets the CreatedTime field's value.
18412func (s *DataSetSummary) SetCreatedTime(v time.Time) *DataSetSummary {
18413	s.CreatedTime = &v
18414	return s
18415}
18416
18417// SetDataSetId sets the DataSetId field's value.
18418func (s *DataSetSummary) SetDataSetId(v string) *DataSetSummary {
18419	s.DataSetId = &v
18420	return s
18421}
18422
18423// SetImportMode sets the ImportMode field's value.
18424func (s *DataSetSummary) SetImportMode(v string) *DataSetSummary {
18425	s.ImportMode = &v
18426	return s
18427}
18428
18429// SetLastUpdatedTime sets the LastUpdatedTime field's value.
18430func (s *DataSetSummary) SetLastUpdatedTime(v time.Time) *DataSetSummary {
18431	s.LastUpdatedTime = &v
18432	return s
18433}
18434
18435// SetName sets the Name field's value.
18436func (s *DataSetSummary) SetName(v string) *DataSetSummary {
18437	s.Name = &v
18438	return s
18439}
18440
18441// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value.
18442func (s *DataSetSummary) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *DataSetSummary {
18443	s.RowLevelPermissionDataSet = v
18444	return s
18445}
18446
18447// SetRowLevelPermissionTagConfigurationApplied sets the RowLevelPermissionTagConfigurationApplied field's value.
18448func (s *DataSetSummary) SetRowLevelPermissionTagConfigurationApplied(v bool) *DataSetSummary {
18449	s.RowLevelPermissionTagConfigurationApplied = &v
18450	return s
18451}
18452
18453// The usage configuration to apply to child datasets that reference this dataset
18454// as a source.
18455type DataSetUsageConfiguration struct {
18456	_ struct{} `type:"structure"`
18457
18458	// An option that controls whether a child dataset of a direct query can use
18459	// this dataset as a source.
18460	DisableUseAsDirectQuerySource *bool `type:"boolean"`
18461
18462	// An option that controls whether a child dataset that's stored in QuickSight
18463	// can use this dataset as a source.
18464	DisableUseAsImportedSource *bool `type:"boolean"`
18465}
18466
18467// String returns the string representation
18468func (s DataSetUsageConfiguration) String() string {
18469	return awsutil.Prettify(s)
18470}
18471
18472// GoString returns the string representation
18473func (s DataSetUsageConfiguration) GoString() string {
18474	return s.String()
18475}
18476
18477// SetDisableUseAsDirectQuerySource sets the DisableUseAsDirectQuerySource field's value.
18478func (s *DataSetUsageConfiguration) SetDisableUseAsDirectQuerySource(v bool) *DataSetUsageConfiguration {
18479	s.DisableUseAsDirectQuerySource = &v
18480	return s
18481}
18482
18483// SetDisableUseAsImportedSource sets the DisableUseAsImportedSource field's value.
18484func (s *DataSetUsageConfiguration) SetDisableUseAsImportedSource(v bool) *DataSetUsageConfiguration {
18485	s.DisableUseAsImportedSource = &v
18486	return s
18487}
18488
18489// The structure of a data source.
18490type DataSource struct {
18491	_ struct{} `type:"structure"`
18492
18493	// A set of alternate data source parameters that you want to share for the
18494	// credentials stored with this data source. The credentials are applied in
18495	// tandem with the data source parameters when you copy a data source by using
18496	// a create or update request. The API operation compares the DataSourceParameters
18497	// structure that's in the request with the structures in the AlternateDataSourceParameters
18498	// allow list. If the structures are an exact match, the request is allowed
18499	// to use the credentials from this existing data source. If the AlternateDataSourceParameters
18500	// list is null, the Credentials originally used with this DataSourceParameters
18501	// are automatically allowed.
18502	AlternateDataSourceParameters []*DataSourceParameters `min:"1" type:"list"`
18503
18504	// The Amazon Resource Name (ARN) of the data source.
18505	Arn *string `type:"string"`
18506
18507	// The time that this data source was created.
18508	CreatedTime *time.Time `type:"timestamp"`
18509
18510	// The ID of the data source. This ID is unique per Amazon Web Services Region;
18511	// for each Amazon Web Services account.
18512	DataSourceId *string `type:"string"`
18513
18514	// The parameters that Amazon QuickSight uses to connect to your underlying
18515	// source. This is a variant type structure. For this structure to be valid,
18516	// only one of the attributes can be non-null.
18517	DataSourceParameters *DataSourceParameters `type:"structure"`
18518
18519	// Error information from the last update or the creation of the data source.
18520	ErrorInfo *DataSourceErrorInfo `type:"structure"`
18521
18522	// The last time that this data source was updated.
18523	LastUpdatedTime *time.Time `type:"timestamp"`
18524
18525	// A display name for the data source.
18526	Name *string `min:"1" type:"string"`
18527
18528	// Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects
18529	// to your underlying source.
18530	SslProperties *SslProperties `type:"structure"`
18531
18532	// The HTTP status of the request.
18533	Status *string `type:"string" enum:"ResourceStatus"`
18534
18535	// The type of the data source. This type indicates which database engine the
18536	// data source connects to.
18537	Type *string `type:"string" enum:"DataSourceType"`
18538
18539	// The VPC connection information. You need to use this parameter only when
18540	// you want Amazon QuickSight to use a VPC connection when connecting to your
18541	// underlying source.
18542	VpcConnectionProperties *VpcConnectionProperties `type:"structure"`
18543}
18544
18545// String returns the string representation
18546func (s DataSource) String() string {
18547	return awsutil.Prettify(s)
18548}
18549
18550// GoString returns the string representation
18551func (s DataSource) GoString() string {
18552	return s.String()
18553}
18554
18555// SetAlternateDataSourceParameters sets the AlternateDataSourceParameters field's value.
18556func (s *DataSource) SetAlternateDataSourceParameters(v []*DataSourceParameters) *DataSource {
18557	s.AlternateDataSourceParameters = v
18558	return s
18559}
18560
18561// SetArn sets the Arn field's value.
18562func (s *DataSource) SetArn(v string) *DataSource {
18563	s.Arn = &v
18564	return s
18565}
18566
18567// SetCreatedTime sets the CreatedTime field's value.
18568func (s *DataSource) SetCreatedTime(v time.Time) *DataSource {
18569	s.CreatedTime = &v
18570	return s
18571}
18572
18573// SetDataSourceId sets the DataSourceId field's value.
18574func (s *DataSource) SetDataSourceId(v string) *DataSource {
18575	s.DataSourceId = &v
18576	return s
18577}
18578
18579// SetDataSourceParameters sets the DataSourceParameters field's value.
18580func (s *DataSource) SetDataSourceParameters(v *DataSourceParameters) *DataSource {
18581	s.DataSourceParameters = v
18582	return s
18583}
18584
18585// SetErrorInfo sets the ErrorInfo field's value.
18586func (s *DataSource) SetErrorInfo(v *DataSourceErrorInfo) *DataSource {
18587	s.ErrorInfo = v
18588	return s
18589}
18590
18591// SetLastUpdatedTime sets the LastUpdatedTime field's value.
18592func (s *DataSource) SetLastUpdatedTime(v time.Time) *DataSource {
18593	s.LastUpdatedTime = &v
18594	return s
18595}
18596
18597// SetName sets the Name field's value.
18598func (s *DataSource) SetName(v string) *DataSource {
18599	s.Name = &v
18600	return s
18601}
18602
18603// SetSslProperties sets the SslProperties field's value.
18604func (s *DataSource) SetSslProperties(v *SslProperties) *DataSource {
18605	s.SslProperties = v
18606	return s
18607}
18608
18609// SetStatus sets the Status field's value.
18610func (s *DataSource) SetStatus(v string) *DataSource {
18611	s.Status = &v
18612	return s
18613}
18614
18615// SetType sets the Type field's value.
18616func (s *DataSource) SetType(v string) *DataSource {
18617	s.Type = &v
18618	return s
18619}
18620
18621// SetVpcConnectionProperties sets the VpcConnectionProperties field's value.
18622func (s *DataSource) SetVpcConnectionProperties(v *VpcConnectionProperties) *DataSource {
18623	s.VpcConnectionProperties = v
18624	return s
18625}
18626
18627// Data source credentials. This is a variant type structure. For this structure
18628// to be valid, only one of the attributes can be non-null.
18629type DataSourceCredentials struct {
18630	_ struct{} `type:"structure" sensitive:"true"`
18631
18632	// The Amazon Resource Name (ARN) of a data source that has the credential pair
18633	// that you want to use. When CopySourceArn is not null, the credential pair
18634	// from the data source in the ARN is used as the credentials for the DataSourceCredentials
18635	// structure.
18636	CopySourceArn *string `type:"string"`
18637
18638	// Credential pair. For more information, see CredentialPair.
18639	CredentialPair *CredentialPair `type:"structure"`
18640}
18641
18642// String returns the string representation
18643func (s DataSourceCredentials) String() string {
18644	return awsutil.Prettify(s)
18645}
18646
18647// GoString returns the string representation
18648func (s DataSourceCredentials) GoString() string {
18649	return s.String()
18650}
18651
18652// Validate inspects the fields of the type to determine if they are valid.
18653func (s *DataSourceCredentials) Validate() error {
18654	invalidParams := request.ErrInvalidParams{Context: "DataSourceCredentials"}
18655	if s.CredentialPair != nil {
18656		if err := s.CredentialPair.Validate(); err != nil {
18657			invalidParams.AddNested("CredentialPair", err.(request.ErrInvalidParams))
18658		}
18659	}
18660
18661	if invalidParams.Len() > 0 {
18662		return invalidParams
18663	}
18664	return nil
18665}
18666
18667// SetCopySourceArn sets the CopySourceArn field's value.
18668func (s *DataSourceCredentials) SetCopySourceArn(v string) *DataSourceCredentials {
18669	s.CopySourceArn = &v
18670	return s
18671}
18672
18673// SetCredentialPair sets the CredentialPair field's value.
18674func (s *DataSourceCredentials) SetCredentialPair(v *CredentialPair) *DataSourceCredentials {
18675	s.CredentialPair = v
18676	return s
18677}
18678
18679// Error information for the data source creation or update.
18680type DataSourceErrorInfo struct {
18681	_ struct{} `type:"structure"`
18682
18683	// Error message.
18684	Message *string `type:"string"`
18685
18686	// Error type.
18687	Type *string `type:"string" enum:"DataSourceErrorInfoType"`
18688}
18689
18690// String returns the string representation
18691func (s DataSourceErrorInfo) String() string {
18692	return awsutil.Prettify(s)
18693}
18694
18695// GoString returns the string representation
18696func (s DataSourceErrorInfo) GoString() string {
18697	return s.String()
18698}
18699
18700// SetMessage sets the Message field's value.
18701func (s *DataSourceErrorInfo) SetMessage(v string) *DataSourceErrorInfo {
18702	s.Message = &v
18703	return s
18704}
18705
18706// SetType sets the Type field's value.
18707func (s *DataSourceErrorInfo) SetType(v string) *DataSourceErrorInfo {
18708	s.Type = &v
18709	return s
18710}
18711
18712// The parameters that Amazon QuickSight uses to connect to your underlying
18713// data source. This is a variant type structure. For this structure to be valid,
18714// only one of the attributes can be non-null.
18715type DataSourceParameters struct {
18716	_ struct{} `type:"structure"`
18717
18718	// The parameters for Elasticsearch.
18719	AmazonElasticsearchParameters *AmazonElasticsearchParameters `type:"structure"`
18720
18721	// The parameters for Amazon Athena.
18722	AthenaParameters *AthenaParameters `type:"structure"`
18723
18724	// The parameters for Amazon Aurora MySQL.
18725	AuroraParameters *AuroraParameters `type:"structure"`
18726
18727	// The parameters for Amazon Aurora.
18728	AuroraPostgreSqlParameters *AuroraPostgreSqlParameters `type:"structure"`
18729
18730	// The parameters for IoT Analytics.
18731	AwsIotAnalyticsParameters *AwsIotAnalyticsParameters `type:"structure"`
18732
18733	// The parameters for Jira.
18734	JiraParameters *JiraParameters `type:"structure"`
18735
18736	// The parameters for MariaDB.
18737	MariaDbParameters *MariaDbParameters `type:"structure"`
18738
18739	// The parameters for MySQL.
18740	MySqlParameters *MySqlParameters `type:"structure"`
18741
18742	// The parameters for Oracle.
18743	OracleParameters *OracleParameters `type:"structure"`
18744
18745	// The parameters for PostgreSQL.
18746	PostgreSqlParameters *PostgreSqlParameters `type:"structure"`
18747
18748	// The parameters for Presto.
18749	PrestoParameters *PrestoParameters `type:"structure"`
18750
18751	// The parameters for Amazon RDS.
18752	RdsParameters *RdsParameters `type:"structure"`
18753
18754	// The parameters for Amazon Redshift.
18755	RedshiftParameters *RedshiftParameters `type:"structure"`
18756
18757	// The parameters for S3.
18758	S3Parameters *S3Parameters `type:"structure"`
18759
18760	// The parameters for ServiceNow.
18761	ServiceNowParameters *ServiceNowParameters `type:"structure"`
18762
18763	// The parameters for Snowflake.
18764	SnowflakeParameters *SnowflakeParameters `type:"structure"`
18765
18766	// The parameters for Spark.
18767	SparkParameters *SparkParameters `type:"structure"`
18768
18769	// The parameters for SQL Server.
18770	SqlServerParameters *SqlServerParameters `type:"structure"`
18771
18772	// The parameters for Teradata.
18773	TeradataParameters *TeradataParameters `type:"structure"`
18774
18775	// The parameters for Twitter.
18776	TwitterParameters *TwitterParameters `type:"structure"`
18777}
18778
18779// String returns the string representation
18780func (s DataSourceParameters) String() string {
18781	return awsutil.Prettify(s)
18782}
18783
18784// GoString returns the string representation
18785func (s DataSourceParameters) GoString() string {
18786	return s.String()
18787}
18788
18789// Validate inspects the fields of the type to determine if they are valid.
18790func (s *DataSourceParameters) Validate() error {
18791	invalidParams := request.ErrInvalidParams{Context: "DataSourceParameters"}
18792	if s.AmazonElasticsearchParameters != nil {
18793		if err := s.AmazonElasticsearchParameters.Validate(); err != nil {
18794			invalidParams.AddNested("AmazonElasticsearchParameters", err.(request.ErrInvalidParams))
18795		}
18796	}
18797	if s.AthenaParameters != nil {
18798		if err := s.AthenaParameters.Validate(); err != nil {
18799			invalidParams.AddNested("AthenaParameters", err.(request.ErrInvalidParams))
18800		}
18801	}
18802	if s.AuroraParameters != nil {
18803		if err := s.AuroraParameters.Validate(); err != nil {
18804			invalidParams.AddNested("AuroraParameters", err.(request.ErrInvalidParams))
18805		}
18806	}
18807	if s.AuroraPostgreSqlParameters != nil {
18808		if err := s.AuroraPostgreSqlParameters.Validate(); err != nil {
18809			invalidParams.AddNested("AuroraPostgreSqlParameters", err.(request.ErrInvalidParams))
18810		}
18811	}
18812	if s.AwsIotAnalyticsParameters != nil {
18813		if err := s.AwsIotAnalyticsParameters.Validate(); err != nil {
18814			invalidParams.AddNested("AwsIotAnalyticsParameters", err.(request.ErrInvalidParams))
18815		}
18816	}
18817	if s.JiraParameters != nil {
18818		if err := s.JiraParameters.Validate(); err != nil {
18819			invalidParams.AddNested("JiraParameters", err.(request.ErrInvalidParams))
18820		}
18821	}
18822	if s.MariaDbParameters != nil {
18823		if err := s.MariaDbParameters.Validate(); err != nil {
18824			invalidParams.AddNested("MariaDbParameters", err.(request.ErrInvalidParams))
18825		}
18826	}
18827	if s.MySqlParameters != nil {
18828		if err := s.MySqlParameters.Validate(); err != nil {
18829			invalidParams.AddNested("MySqlParameters", err.(request.ErrInvalidParams))
18830		}
18831	}
18832	if s.OracleParameters != nil {
18833		if err := s.OracleParameters.Validate(); err != nil {
18834			invalidParams.AddNested("OracleParameters", err.(request.ErrInvalidParams))
18835		}
18836	}
18837	if s.PostgreSqlParameters != nil {
18838		if err := s.PostgreSqlParameters.Validate(); err != nil {
18839			invalidParams.AddNested("PostgreSqlParameters", err.(request.ErrInvalidParams))
18840		}
18841	}
18842	if s.PrestoParameters != nil {
18843		if err := s.PrestoParameters.Validate(); err != nil {
18844			invalidParams.AddNested("PrestoParameters", err.(request.ErrInvalidParams))
18845		}
18846	}
18847	if s.RdsParameters != nil {
18848		if err := s.RdsParameters.Validate(); err != nil {
18849			invalidParams.AddNested("RdsParameters", err.(request.ErrInvalidParams))
18850		}
18851	}
18852	if s.RedshiftParameters != nil {
18853		if err := s.RedshiftParameters.Validate(); err != nil {
18854			invalidParams.AddNested("RedshiftParameters", err.(request.ErrInvalidParams))
18855		}
18856	}
18857	if s.S3Parameters != nil {
18858		if err := s.S3Parameters.Validate(); err != nil {
18859			invalidParams.AddNested("S3Parameters", err.(request.ErrInvalidParams))
18860		}
18861	}
18862	if s.ServiceNowParameters != nil {
18863		if err := s.ServiceNowParameters.Validate(); err != nil {
18864			invalidParams.AddNested("ServiceNowParameters", err.(request.ErrInvalidParams))
18865		}
18866	}
18867	if s.SnowflakeParameters != nil {
18868		if err := s.SnowflakeParameters.Validate(); err != nil {
18869			invalidParams.AddNested("SnowflakeParameters", err.(request.ErrInvalidParams))
18870		}
18871	}
18872	if s.SparkParameters != nil {
18873		if err := s.SparkParameters.Validate(); err != nil {
18874			invalidParams.AddNested("SparkParameters", err.(request.ErrInvalidParams))
18875		}
18876	}
18877	if s.SqlServerParameters != nil {
18878		if err := s.SqlServerParameters.Validate(); err != nil {
18879			invalidParams.AddNested("SqlServerParameters", err.(request.ErrInvalidParams))
18880		}
18881	}
18882	if s.TeradataParameters != nil {
18883		if err := s.TeradataParameters.Validate(); err != nil {
18884			invalidParams.AddNested("TeradataParameters", err.(request.ErrInvalidParams))
18885		}
18886	}
18887	if s.TwitterParameters != nil {
18888		if err := s.TwitterParameters.Validate(); err != nil {
18889			invalidParams.AddNested("TwitterParameters", err.(request.ErrInvalidParams))
18890		}
18891	}
18892
18893	if invalidParams.Len() > 0 {
18894		return invalidParams
18895	}
18896	return nil
18897}
18898
18899// SetAmazonElasticsearchParameters sets the AmazonElasticsearchParameters field's value.
18900func (s *DataSourceParameters) SetAmazonElasticsearchParameters(v *AmazonElasticsearchParameters) *DataSourceParameters {
18901	s.AmazonElasticsearchParameters = v
18902	return s
18903}
18904
18905// SetAthenaParameters sets the AthenaParameters field's value.
18906func (s *DataSourceParameters) SetAthenaParameters(v *AthenaParameters) *DataSourceParameters {
18907	s.AthenaParameters = v
18908	return s
18909}
18910
18911// SetAuroraParameters sets the AuroraParameters field's value.
18912func (s *DataSourceParameters) SetAuroraParameters(v *AuroraParameters) *DataSourceParameters {
18913	s.AuroraParameters = v
18914	return s
18915}
18916
18917// SetAuroraPostgreSqlParameters sets the AuroraPostgreSqlParameters field's value.
18918func (s *DataSourceParameters) SetAuroraPostgreSqlParameters(v *AuroraPostgreSqlParameters) *DataSourceParameters {
18919	s.AuroraPostgreSqlParameters = v
18920	return s
18921}
18922
18923// SetAwsIotAnalyticsParameters sets the AwsIotAnalyticsParameters field's value.
18924func (s *DataSourceParameters) SetAwsIotAnalyticsParameters(v *AwsIotAnalyticsParameters) *DataSourceParameters {
18925	s.AwsIotAnalyticsParameters = v
18926	return s
18927}
18928
18929// SetJiraParameters sets the JiraParameters field's value.
18930func (s *DataSourceParameters) SetJiraParameters(v *JiraParameters) *DataSourceParameters {
18931	s.JiraParameters = v
18932	return s
18933}
18934
18935// SetMariaDbParameters sets the MariaDbParameters field's value.
18936func (s *DataSourceParameters) SetMariaDbParameters(v *MariaDbParameters) *DataSourceParameters {
18937	s.MariaDbParameters = v
18938	return s
18939}
18940
18941// SetMySqlParameters sets the MySqlParameters field's value.
18942func (s *DataSourceParameters) SetMySqlParameters(v *MySqlParameters) *DataSourceParameters {
18943	s.MySqlParameters = v
18944	return s
18945}
18946
18947// SetOracleParameters sets the OracleParameters field's value.
18948func (s *DataSourceParameters) SetOracleParameters(v *OracleParameters) *DataSourceParameters {
18949	s.OracleParameters = v
18950	return s
18951}
18952
18953// SetPostgreSqlParameters sets the PostgreSqlParameters field's value.
18954func (s *DataSourceParameters) SetPostgreSqlParameters(v *PostgreSqlParameters) *DataSourceParameters {
18955	s.PostgreSqlParameters = v
18956	return s
18957}
18958
18959// SetPrestoParameters sets the PrestoParameters field's value.
18960func (s *DataSourceParameters) SetPrestoParameters(v *PrestoParameters) *DataSourceParameters {
18961	s.PrestoParameters = v
18962	return s
18963}
18964
18965// SetRdsParameters sets the RdsParameters field's value.
18966func (s *DataSourceParameters) SetRdsParameters(v *RdsParameters) *DataSourceParameters {
18967	s.RdsParameters = v
18968	return s
18969}
18970
18971// SetRedshiftParameters sets the RedshiftParameters field's value.
18972func (s *DataSourceParameters) SetRedshiftParameters(v *RedshiftParameters) *DataSourceParameters {
18973	s.RedshiftParameters = v
18974	return s
18975}
18976
18977// SetS3Parameters sets the S3Parameters field's value.
18978func (s *DataSourceParameters) SetS3Parameters(v *S3Parameters) *DataSourceParameters {
18979	s.S3Parameters = v
18980	return s
18981}
18982
18983// SetServiceNowParameters sets the ServiceNowParameters field's value.
18984func (s *DataSourceParameters) SetServiceNowParameters(v *ServiceNowParameters) *DataSourceParameters {
18985	s.ServiceNowParameters = v
18986	return s
18987}
18988
18989// SetSnowflakeParameters sets the SnowflakeParameters field's value.
18990func (s *DataSourceParameters) SetSnowflakeParameters(v *SnowflakeParameters) *DataSourceParameters {
18991	s.SnowflakeParameters = v
18992	return s
18993}
18994
18995// SetSparkParameters sets the SparkParameters field's value.
18996func (s *DataSourceParameters) SetSparkParameters(v *SparkParameters) *DataSourceParameters {
18997	s.SparkParameters = v
18998	return s
18999}
19000
19001// SetSqlServerParameters sets the SqlServerParameters field's value.
19002func (s *DataSourceParameters) SetSqlServerParameters(v *SqlServerParameters) *DataSourceParameters {
19003	s.SqlServerParameters = v
19004	return s
19005}
19006
19007// SetTeradataParameters sets the TeradataParameters field's value.
19008func (s *DataSourceParameters) SetTeradataParameters(v *TeradataParameters) *DataSourceParameters {
19009	s.TeradataParameters = v
19010	return s
19011}
19012
19013// SetTwitterParameters sets the TwitterParameters field's value.
19014func (s *DataSourceParameters) SetTwitterParameters(v *TwitterParameters) *DataSourceParameters {
19015	s.TwitterParameters = v
19016	return s
19017}
19018
19019// A date-time parameter.
19020type DateTimeParameter struct {
19021	_ struct{} `type:"structure"`
19022
19023	// A display name for the date-time parameter.
19024	//
19025	// Name is a required field
19026	Name *string `type:"string" required:"true"`
19027
19028	// The values for the date-time parameter.
19029	//
19030	// Values is a required field
19031	Values []*time.Time `type:"list" required:"true"`
19032}
19033
19034// String returns the string representation
19035func (s DateTimeParameter) String() string {
19036	return awsutil.Prettify(s)
19037}
19038
19039// GoString returns the string representation
19040func (s DateTimeParameter) GoString() string {
19041	return s.String()
19042}
19043
19044// Validate inspects the fields of the type to determine if they are valid.
19045func (s *DateTimeParameter) Validate() error {
19046	invalidParams := request.ErrInvalidParams{Context: "DateTimeParameter"}
19047	if s.Name == nil {
19048		invalidParams.Add(request.NewErrParamRequired("Name"))
19049	}
19050	if s.Values == nil {
19051		invalidParams.Add(request.NewErrParamRequired("Values"))
19052	}
19053
19054	if invalidParams.Len() > 0 {
19055		return invalidParams
19056	}
19057	return nil
19058}
19059
19060// SetName sets the Name field's value.
19061func (s *DateTimeParameter) SetName(v string) *DateTimeParameter {
19062	s.Name = &v
19063	return s
19064}
19065
19066// SetValues sets the Values field's value.
19067func (s *DateTimeParameter) SetValues(v []*time.Time) *DateTimeParameter {
19068	s.Values = v
19069	return s
19070}
19071
19072// A decimal parameter.
19073type DecimalParameter struct {
19074	_ struct{} `type:"structure"`
19075
19076	// A display name for the decimal parameter.
19077	//
19078	// Name is a required field
19079	Name *string `type:"string" required:"true"`
19080
19081	// The values for the decimal parameter.
19082	//
19083	// Values is a required field
19084	Values []*float64 `type:"list" required:"true"`
19085}
19086
19087// String returns the string representation
19088func (s DecimalParameter) String() string {
19089	return awsutil.Prettify(s)
19090}
19091
19092// GoString returns the string representation
19093func (s DecimalParameter) GoString() string {
19094	return s.String()
19095}
19096
19097// Validate inspects the fields of the type to determine if they are valid.
19098func (s *DecimalParameter) Validate() error {
19099	invalidParams := request.ErrInvalidParams{Context: "DecimalParameter"}
19100	if s.Name == nil {
19101		invalidParams.Add(request.NewErrParamRequired("Name"))
19102	}
19103	if s.Values == nil {
19104		invalidParams.Add(request.NewErrParamRequired("Values"))
19105	}
19106
19107	if invalidParams.Len() > 0 {
19108		return invalidParams
19109	}
19110	return nil
19111}
19112
19113// SetName sets the Name field's value.
19114func (s *DecimalParameter) SetName(v string) *DecimalParameter {
19115	s.Name = &v
19116	return s
19117}
19118
19119// SetValues sets the Values field's value.
19120func (s *DecimalParameter) SetValues(v []*float64) *DecimalParameter {
19121	s.Values = v
19122	return s
19123}
19124
19125type DeleteAccountCustomizationInput struct {
19126	_ struct{} `type:"structure"`
19127
19128	// The ID for the Amazon Web Services account that you want to delete Amazon
19129	// QuickSight customizations from in this Amazon Web Services Region;.
19130	//
19131	// AwsAccountId is a required field
19132	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19133
19134	// The Amazon QuickSight namespace that you're deleting the customizations from.
19135	Namespace *string `location:"querystring" locationName:"namespace" type:"string"`
19136}
19137
19138// String returns the string representation
19139func (s DeleteAccountCustomizationInput) String() string {
19140	return awsutil.Prettify(s)
19141}
19142
19143// GoString returns the string representation
19144func (s DeleteAccountCustomizationInput) GoString() string {
19145	return s.String()
19146}
19147
19148// Validate inspects the fields of the type to determine if they are valid.
19149func (s *DeleteAccountCustomizationInput) Validate() error {
19150	invalidParams := request.ErrInvalidParams{Context: "DeleteAccountCustomizationInput"}
19151	if s.AwsAccountId == nil {
19152		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19153	}
19154	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19155		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19156	}
19157
19158	if invalidParams.Len() > 0 {
19159		return invalidParams
19160	}
19161	return nil
19162}
19163
19164// SetAwsAccountId sets the AwsAccountId field's value.
19165func (s *DeleteAccountCustomizationInput) SetAwsAccountId(v string) *DeleteAccountCustomizationInput {
19166	s.AwsAccountId = &v
19167	return s
19168}
19169
19170// SetNamespace sets the Namespace field's value.
19171func (s *DeleteAccountCustomizationInput) SetNamespace(v string) *DeleteAccountCustomizationInput {
19172	s.Namespace = &v
19173	return s
19174}
19175
19176type DeleteAccountCustomizationOutput struct {
19177	_ struct{} `type:"structure"`
19178
19179	// The Amazon Web Services request ID for this operation.
19180	RequestId *string `type:"string"`
19181
19182	// The HTTP status of the request.
19183	Status *int64 `location:"statusCode" type:"integer"`
19184}
19185
19186// String returns the string representation
19187func (s DeleteAccountCustomizationOutput) String() string {
19188	return awsutil.Prettify(s)
19189}
19190
19191// GoString returns the string representation
19192func (s DeleteAccountCustomizationOutput) GoString() string {
19193	return s.String()
19194}
19195
19196// SetRequestId sets the RequestId field's value.
19197func (s *DeleteAccountCustomizationOutput) SetRequestId(v string) *DeleteAccountCustomizationOutput {
19198	s.RequestId = &v
19199	return s
19200}
19201
19202// SetStatus sets the Status field's value.
19203func (s *DeleteAccountCustomizationOutput) SetStatus(v int64) *DeleteAccountCustomizationOutput {
19204	s.Status = &v
19205	return s
19206}
19207
19208type DeleteAnalysisInput struct {
19209	_ struct{} `type:"structure"`
19210
19211	// The ID of the analysis that you're deleting.
19212	//
19213	// AnalysisId is a required field
19214	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
19215
19216	// The ID of the Amazon Web Services account where you want to delete an analysis.
19217	//
19218	// AwsAccountId is a required field
19219	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19220
19221	// This option defaults to the value NoForceDeleteWithoutRecovery. To immediately
19222	// delete the analysis, add the ForceDeleteWithoutRecovery option. You can't
19223	// restore an analysis after it's deleted.
19224	ForceDeleteWithoutRecovery *bool `location:"querystring" locationName:"force-delete-without-recovery" type:"boolean"`
19225
19226	// A value that specifies the number of days that Amazon QuickSight waits before
19227	// it deletes the analysis. You can't use this parameter with the ForceDeleteWithoutRecovery
19228	// option in the same API call. The default value is 30.
19229	RecoveryWindowInDays *int64 `location:"querystring" locationName:"recovery-window-in-days" min:"7" type:"long"`
19230}
19231
19232// String returns the string representation
19233func (s DeleteAnalysisInput) String() string {
19234	return awsutil.Prettify(s)
19235}
19236
19237// GoString returns the string representation
19238func (s DeleteAnalysisInput) GoString() string {
19239	return s.String()
19240}
19241
19242// Validate inspects the fields of the type to determine if they are valid.
19243func (s *DeleteAnalysisInput) Validate() error {
19244	invalidParams := request.ErrInvalidParams{Context: "DeleteAnalysisInput"}
19245	if s.AnalysisId == nil {
19246		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
19247	}
19248	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
19249		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
19250	}
19251	if s.AwsAccountId == nil {
19252		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19253	}
19254	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19255		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19256	}
19257	if s.RecoveryWindowInDays != nil && *s.RecoveryWindowInDays < 7 {
19258		invalidParams.Add(request.NewErrParamMinValue("RecoveryWindowInDays", 7))
19259	}
19260
19261	if invalidParams.Len() > 0 {
19262		return invalidParams
19263	}
19264	return nil
19265}
19266
19267// SetAnalysisId sets the AnalysisId field's value.
19268func (s *DeleteAnalysisInput) SetAnalysisId(v string) *DeleteAnalysisInput {
19269	s.AnalysisId = &v
19270	return s
19271}
19272
19273// SetAwsAccountId sets the AwsAccountId field's value.
19274func (s *DeleteAnalysisInput) SetAwsAccountId(v string) *DeleteAnalysisInput {
19275	s.AwsAccountId = &v
19276	return s
19277}
19278
19279// SetForceDeleteWithoutRecovery sets the ForceDeleteWithoutRecovery field's value.
19280func (s *DeleteAnalysisInput) SetForceDeleteWithoutRecovery(v bool) *DeleteAnalysisInput {
19281	s.ForceDeleteWithoutRecovery = &v
19282	return s
19283}
19284
19285// SetRecoveryWindowInDays sets the RecoveryWindowInDays field's value.
19286func (s *DeleteAnalysisInput) SetRecoveryWindowInDays(v int64) *DeleteAnalysisInput {
19287	s.RecoveryWindowInDays = &v
19288	return s
19289}
19290
19291type DeleteAnalysisOutput struct {
19292	_ struct{} `type:"structure"`
19293
19294	// The ID of the deleted analysis.
19295	AnalysisId *string `min:"1" type:"string"`
19296
19297	// The Amazon Resource Name (ARN) of the deleted analysis.
19298	Arn *string `type:"string"`
19299
19300	// The date and time that the analysis is scheduled to be deleted.
19301	DeletionTime *time.Time `type:"timestamp"`
19302
19303	// The Amazon Web Services request ID for this operation.
19304	RequestId *string `type:"string"`
19305
19306	// The HTTP status of the request.
19307	Status *int64 `location:"statusCode" type:"integer"`
19308}
19309
19310// String returns the string representation
19311func (s DeleteAnalysisOutput) String() string {
19312	return awsutil.Prettify(s)
19313}
19314
19315// GoString returns the string representation
19316func (s DeleteAnalysisOutput) GoString() string {
19317	return s.String()
19318}
19319
19320// SetAnalysisId sets the AnalysisId field's value.
19321func (s *DeleteAnalysisOutput) SetAnalysisId(v string) *DeleteAnalysisOutput {
19322	s.AnalysisId = &v
19323	return s
19324}
19325
19326// SetArn sets the Arn field's value.
19327func (s *DeleteAnalysisOutput) SetArn(v string) *DeleteAnalysisOutput {
19328	s.Arn = &v
19329	return s
19330}
19331
19332// SetDeletionTime sets the DeletionTime field's value.
19333func (s *DeleteAnalysisOutput) SetDeletionTime(v time.Time) *DeleteAnalysisOutput {
19334	s.DeletionTime = &v
19335	return s
19336}
19337
19338// SetRequestId sets the RequestId field's value.
19339func (s *DeleteAnalysisOutput) SetRequestId(v string) *DeleteAnalysisOutput {
19340	s.RequestId = &v
19341	return s
19342}
19343
19344// SetStatus sets the Status field's value.
19345func (s *DeleteAnalysisOutput) SetStatus(v int64) *DeleteAnalysisOutput {
19346	s.Status = &v
19347	return s
19348}
19349
19350type DeleteDashboardInput struct {
19351	_ struct{} `type:"structure"`
19352
19353	// The ID of the Amazon Web Services account that contains the dashboard that
19354	// you're deleting.
19355	//
19356	// AwsAccountId is a required field
19357	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19358
19359	// The ID for the dashboard.
19360	//
19361	// DashboardId is a required field
19362	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
19363
19364	// The version number of the dashboard. If the version number property is provided,
19365	// only the specified version of the dashboard is deleted.
19366	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
19367}
19368
19369// String returns the string representation
19370func (s DeleteDashboardInput) String() string {
19371	return awsutil.Prettify(s)
19372}
19373
19374// GoString returns the string representation
19375func (s DeleteDashboardInput) GoString() string {
19376	return s.String()
19377}
19378
19379// Validate inspects the fields of the type to determine if they are valid.
19380func (s *DeleteDashboardInput) Validate() error {
19381	invalidParams := request.ErrInvalidParams{Context: "DeleteDashboardInput"}
19382	if s.AwsAccountId == nil {
19383		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19384	}
19385	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19386		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19387	}
19388	if s.DashboardId == nil {
19389		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
19390	}
19391	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
19392		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
19393	}
19394	if s.VersionNumber != nil && *s.VersionNumber < 1 {
19395		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
19396	}
19397
19398	if invalidParams.Len() > 0 {
19399		return invalidParams
19400	}
19401	return nil
19402}
19403
19404// SetAwsAccountId sets the AwsAccountId field's value.
19405func (s *DeleteDashboardInput) SetAwsAccountId(v string) *DeleteDashboardInput {
19406	s.AwsAccountId = &v
19407	return s
19408}
19409
19410// SetDashboardId sets the DashboardId field's value.
19411func (s *DeleteDashboardInput) SetDashboardId(v string) *DeleteDashboardInput {
19412	s.DashboardId = &v
19413	return s
19414}
19415
19416// SetVersionNumber sets the VersionNumber field's value.
19417func (s *DeleteDashboardInput) SetVersionNumber(v int64) *DeleteDashboardInput {
19418	s.VersionNumber = &v
19419	return s
19420}
19421
19422type DeleteDashboardOutput struct {
19423	_ struct{} `type:"structure"`
19424
19425	// The Secure Socket Layer (SSL) properties that apply for the resource.
19426	Arn *string `type:"string"`
19427
19428	// The ID of the dashboard.
19429	DashboardId *string `min:"1" type:"string"`
19430
19431	// The Amazon Web Services request ID for this operation.
19432	RequestId *string `type:"string"`
19433
19434	// The HTTP status of the request.
19435	Status *int64 `location:"statusCode" type:"integer"`
19436}
19437
19438// String returns the string representation
19439func (s DeleteDashboardOutput) String() string {
19440	return awsutil.Prettify(s)
19441}
19442
19443// GoString returns the string representation
19444func (s DeleteDashboardOutput) GoString() string {
19445	return s.String()
19446}
19447
19448// SetArn sets the Arn field's value.
19449func (s *DeleteDashboardOutput) SetArn(v string) *DeleteDashboardOutput {
19450	s.Arn = &v
19451	return s
19452}
19453
19454// SetDashboardId sets the DashboardId field's value.
19455func (s *DeleteDashboardOutput) SetDashboardId(v string) *DeleteDashboardOutput {
19456	s.DashboardId = &v
19457	return s
19458}
19459
19460// SetRequestId sets the RequestId field's value.
19461func (s *DeleteDashboardOutput) SetRequestId(v string) *DeleteDashboardOutput {
19462	s.RequestId = &v
19463	return s
19464}
19465
19466// SetStatus sets the Status field's value.
19467func (s *DeleteDashboardOutput) SetStatus(v int64) *DeleteDashboardOutput {
19468	s.Status = &v
19469	return s
19470}
19471
19472type DeleteDataSetInput struct {
19473	_ struct{} `type:"structure"`
19474
19475	// The Amazon Web Services account ID.
19476	//
19477	// AwsAccountId is a required field
19478	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19479
19480	// The ID for the dataset that you want to create. This ID is unique per Amazon
19481	// Web Services Region; for each Amazon Web Services account.
19482	//
19483	// DataSetId is a required field
19484	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
19485}
19486
19487// String returns the string representation
19488func (s DeleteDataSetInput) String() string {
19489	return awsutil.Prettify(s)
19490}
19491
19492// GoString returns the string representation
19493func (s DeleteDataSetInput) GoString() string {
19494	return s.String()
19495}
19496
19497// Validate inspects the fields of the type to determine if they are valid.
19498func (s *DeleteDataSetInput) Validate() error {
19499	invalidParams := request.ErrInvalidParams{Context: "DeleteDataSetInput"}
19500	if s.AwsAccountId == nil {
19501		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19502	}
19503	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19504		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19505	}
19506	if s.DataSetId == nil {
19507		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
19508	}
19509	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
19510		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
19511	}
19512
19513	if invalidParams.Len() > 0 {
19514		return invalidParams
19515	}
19516	return nil
19517}
19518
19519// SetAwsAccountId sets the AwsAccountId field's value.
19520func (s *DeleteDataSetInput) SetAwsAccountId(v string) *DeleteDataSetInput {
19521	s.AwsAccountId = &v
19522	return s
19523}
19524
19525// SetDataSetId sets the DataSetId field's value.
19526func (s *DeleteDataSetInput) SetDataSetId(v string) *DeleteDataSetInput {
19527	s.DataSetId = &v
19528	return s
19529}
19530
19531type DeleteDataSetOutput struct {
19532	_ struct{} `type:"structure"`
19533
19534	// The Amazon Resource Name (ARN) of the dataset.
19535	Arn *string `type:"string"`
19536
19537	// The ID for the dataset that you want to create. This ID is unique per Amazon
19538	// Web Services Region; for each Amazon Web Services account.
19539	DataSetId *string `type:"string"`
19540
19541	// The Amazon Web Services request ID for this operation.
19542	RequestId *string `type:"string"`
19543
19544	// The HTTP status of the request.
19545	Status *int64 `location:"statusCode" type:"integer"`
19546}
19547
19548// String returns the string representation
19549func (s DeleteDataSetOutput) String() string {
19550	return awsutil.Prettify(s)
19551}
19552
19553// GoString returns the string representation
19554func (s DeleteDataSetOutput) GoString() string {
19555	return s.String()
19556}
19557
19558// SetArn sets the Arn field's value.
19559func (s *DeleteDataSetOutput) SetArn(v string) *DeleteDataSetOutput {
19560	s.Arn = &v
19561	return s
19562}
19563
19564// SetDataSetId sets the DataSetId field's value.
19565func (s *DeleteDataSetOutput) SetDataSetId(v string) *DeleteDataSetOutput {
19566	s.DataSetId = &v
19567	return s
19568}
19569
19570// SetRequestId sets the RequestId field's value.
19571func (s *DeleteDataSetOutput) SetRequestId(v string) *DeleteDataSetOutput {
19572	s.RequestId = &v
19573	return s
19574}
19575
19576// SetStatus sets the Status field's value.
19577func (s *DeleteDataSetOutput) SetStatus(v int64) *DeleteDataSetOutput {
19578	s.Status = &v
19579	return s
19580}
19581
19582type DeleteDataSourceInput struct {
19583	_ struct{} `type:"structure"`
19584
19585	// The Amazon Web Services account ID.
19586	//
19587	// AwsAccountId is a required field
19588	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19589
19590	// The ID of the data source. This ID is unique per Amazon Web Services Region;
19591	// for each Amazon Web Services account.
19592	//
19593	// DataSourceId is a required field
19594	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
19595}
19596
19597// String returns the string representation
19598func (s DeleteDataSourceInput) String() string {
19599	return awsutil.Prettify(s)
19600}
19601
19602// GoString returns the string representation
19603func (s DeleteDataSourceInput) GoString() string {
19604	return s.String()
19605}
19606
19607// Validate inspects the fields of the type to determine if they are valid.
19608func (s *DeleteDataSourceInput) Validate() error {
19609	invalidParams := request.ErrInvalidParams{Context: "DeleteDataSourceInput"}
19610	if s.AwsAccountId == nil {
19611		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19612	}
19613	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19614		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19615	}
19616	if s.DataSourceId == nil {
19617		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
19618	}
19619	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
19620		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
19621	}
19622
19623	if invalidParams.Len() > 0 {
19624		return invalidParams
19625	}
19626	return nil
19627}
19628
19629// SetAwsAccountId sets the AwsAccountId field's value.
19630func (s *DeleteDataSourceInput) SetAwsAccountId(v string) *DeleteDataSourceInput {
19631	s.AwsAccountId = &v
19632	return s
19633}
19634
19635// SetDataSourceId sets the DataSourceId field's value.
19636func (s *DeleteDataSourceInput) SetDataSourceId(v string) *DeleteDataSourceInput {
19637	s.DataSourceId = &v
19638	return s
19639}
19640
19641type DeleteDataSourceOutput struct {
19642	_ struct{} `type:"structure"`
19643
19644	// The Amazon Resource Name (ARN) of the data source that you deleted.
19645	Arn *string `type:"string"`
19646
19647	// The ID of the data source. This ID is unique per Amazon Web Services Region;
19648	// for each Amazon Web Services account.
19649	DataSourceId *string `type:"string"`
19650
19651	// The Amazon Web Services request ID for this operation.
19652	RequestId *string `type:"string"`
19653
19654	// The HTTP status of the request.
19655	Status *int64 `location:"statusCode" type:"integer"`
19656}
19657
19658// String returns the string representation
19659func (s DeleteDataSourceOutput) String() string {
19660	return awsutil.Prettify(s)
19661}
19662
19663// GoString returns the string representation
19664func (s DeleteDataSourceOutput) GoString() string {
19665	return s.String()
19666}
19667
19668// SetArn sets the Arn field's value.
19669func (s *DeleteDataSourceOutput) SetArn(v string) *DeleteDataSourceOutput {
19670	s.Arn = &v
19671	return s
19672}
19673
19674// SetDataSourceId sets the DataSourceId field's value.
19675func (s *DeleteDataSourceOutput) SetDataSourceId(v string) *DeleteDataSourceOutput {
19676	s.DataSourceId = &v
19677	return s
19678}
19679
19680// SetRequestId sets the RequestId field's value.
19681func (s *DeleteDataSourceOutput) SetRequestId(v string) *DeleteDataSourceOutput {
19682	s.RequestId = &v
19683	return s
19684}
19685
19686// SetStatus sets the Status field's value.
19687func (s *DeleteDataSourceOutput) SetStatus(v int64) *DeleteDataSourceOutput {
19688	s.Status = &v
19689	return s
19690}
19691
19692type DeleteFolderInput struct {
19693	_ struct{} `type:"structure"`
19694
19695	// The AWS Account ID for the folder.
19696	//
19697	// AwsAccountId is a required field
19698	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19699
19700	// The folder ID.
19701	//
19702	// FolderId is a required field
19703	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
19704}
19705
19706// String returns the string representation
19707func (s DeleteFolderInput) String() string {
19708	return awsutil.Prettify(s)
19709}
19710
19711// GoString returns the string representation
19712func (s DeleteFolderInput) GoString() string {
19713	return s.String()
19714}
19715
19716// Validate inspects the fields of the type to determine if they are valid.
19717func (s *DeleteFolderInput) Validate() error {
19718	invalidParams := request.ErrInvalidParams{Context: "DeleteFolderInput"}
19719	if s.AwsAccountId == nil {
19720		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19721	}
19722	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19723		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19724	}
19725	if s.FolderId == nil {
19726		invalidParams.Add(request.NewErrParamRequired("FolderId"))
19727	}
19728	if s.FolderId != nil && len(*s.FolderId) < 1 {
19729		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
19730	}
19731
19732	if invalidParams.Len() > 0 {
19733		return invalidParams
19734	}
19735	return nil
19736}
19737
19738// SetAwsAccountId sets the AwsAccountId field's value.
19739func (s *DeleteFolderInput) SetAwsAccountId(v string) *DeleteFolderInput {
19740	s.AwsAccountId = &v
19741	return s
19742}
19743
19744// SetFolderId sets the FolderId field's value.
19745func (s *DeleteFolderInput) SetFolderId(v string) *DeleteFolderInput {
19746	s.FolderId = &v
19747	return s
19748}
19749
19750type DeleteFolderMembershipInput struct {
19751	_ struct{} `type:"structure"`
19752
19753	// The AWS Account ID.
19754	//
19755	// AwsAccountId is a required field
19756	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19757
19758	// The Folder ID.
19759	//
19760	// FolderId is a required field
19761	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
19762
19763	// The ID of the asset (the dashboard, analysis, or dataset) that you want to
19764	// delete.
19765	//
19766	// MemberId is a required field
19767	MemberId *string `location:"uri" locationName:"MemberId" min:"1" type:"string" required:"true"`
19768
19769	// The type of the member, including DASHBOARD, ANALYSIS, and DATASET
19770	//
19771	// MemberType is a required field
19772	MemberType *string `location:"uri" locationName:"MemberType" type:"string" required:"true" enum:"MemberType"`
19773}
19774
19775// String returns the string representation
19776func (s DeleteFolderMembershipInput) String() string {
19777	return awsutil.Prettify(s)
19778}
19779
19780// GoString returns the string representation
19781func (s DeleteFolderMembershipInput) GoString() string {
19782	return s.String()
19783}
19784
19785// Validate inspects the fields of the type to determine if they are valid.
19786func (s *DeleteFolderMembershipInput) Validate() error {
19787	invalidParams := request.ErrInvalidParams{Context: "DeleteFolderMembershipInput"}
19788	if s.AwsAccountId == nil {
19789		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19790	}
19791	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19792		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19793	}
19794	if s.FolderId == nil {
19795		invalidParams.Add(request.NewErrParamRequired("FolderId"))
19796	}
19797	if s.FolderId != nil && len(*s.FolderId) < 1 {
19798		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
19799	}
19800	if s.MemberId == nil {
19801		invalidParams.Add(request.NewErrParamRequired("MemberId"))
19802	}
19803	if s.MemberId != nil && len(*s.MemberId) < 1 {
19804		invalidParams.Add(request.NewErrParamMinLen("MemberId", 1))
19805	}
19806	if s.MemberType == nil {
19807		invalidParams.Add(request.NewErrParamRequired("MemberType"))
19808	}
19809	if s.MemberType != nil && len(*s.MemberType) < 1 {
19810		invalidParams.Add(request.NewErrParamMinLen("MemberType", 1))
19811	}
19812
19813	if invalidParams.Len() > 0 {
19814		return invalidParams
19815	}
19816	return nil
19817}
19818
19819// SetAwsAccountId sets the AwsAccountId field's value.
19820func (s *DeleteFolderMembershipInput) SetAwsAccountId(v string) *DeleteFolderMembershipInput {
19821	s.AwsAccountId = &v
19822	return s
19823}
19824
19825// SetFolderId sets the FolderId field's value.
19826func (s *DeleteFolderMembershipInput) SetFolderId(v string) *DeleteFolderMembershipInput {
19827	s.FolderId = &v
19828	return s
19829}
19830
19831// SetMemberId sets the MemberId field's value.
19832func (s *DeleteFolderMembershipInput) SetMemberId(v string) *DeleteFolderMembershipInput {
19833	s.MemberId = &v
19834	return s
19835}
19836
19837// SetMemberType sets the MemberType field's value.
19838func (s *DeleteFolderMembershipInput) SetMemberType(v string) *DeleteFolderMembershipInput {
19839	s.MemberType = &v
19840	return s
19841}
19842
19843type DeleteFolderMembershipOutput struct {
19844	_ struct{} `type:"structure"`
19845
19846	// The request ID.
19847	RequestId *string `type:"string"`
19848
19849	// The status of deleting the asset. If succeeded, the status is SC_OK (200).
19850	Status *int64 `type:"integer"`
19851}
19852
19853// String returns the string representation
19854func (s DeleteFolderMembershipOutput) String() string {
19855	return awsutil.Prettify(s)
19856}
19857
19858// GoString returns the string representation
19859func (s DeleteFolderMembershipOutput) GoString() string {
19860	return s.String()
19861}
19862
19863// SetRequestId sets the RequestId field's value.
19864func (s *DeleteFolderMembershipOutput) SetRequestId(v string) *DeleteFolderMembershipOutput {
19865	s.RequestId = &v
19866	return s
19867}
19868
19869// SetStatus sets the Status field's value.
19870func (s *DeleteFolderMembershipOutput) SetStatus(v int64) *DeleteFolderMembershipOutput {
19871	s.Status = &v
19872	return s
19873}
19874
19875type DeleteFolderOutput struct {
19876	_ struct{} `type:"structure"`
19877
19878	// The Amazon Resource Name of the deleted folder.
19879	Arn *string `type:"string"`
19880
19881	// The folder ID.
19882	FolderId *string `min:"1" type:"string"`
19883
19884	// The request ID.
19885	RequestId *string `type:"string"`
19886
19887	// The status of deleting the folder. If succeeded, the status is SC_OK (200).
19888	Status *int64 `location:"statusCode" type:"integer"`
19889}
19890
19891// String returns the string representation
19892func (s DeleteFolderOutput) String() string {
19893	return awsutil.Prettify(s)
19894}
19895
19896// GoString returns the string representation
19897func (s DeleteFolderOutput) GoString() string {
19898	return s.String()
19899}
19900
19901// SetArn sets the Arn field's value.
19902func (s *DeleteFolderOutput) SetArn(v string) *DeleteFolderOutput {
19903	s.Arn = &v
19904	return s
19905}
19906
19907// SetFolderId sets the FolderId field's value.
19908func (s *DeleteFolderOutput) SetFolderId(v string) *DeleteFolderOutput {
19909	s.FolderId = &v
19910	return s
19911}
19912
19913// SetRequestId sets the RequestId field's value.
19914func (s *DeleteFolderOutput) SetRequestId(v string) *DeleteFolderOutput {
19915	s.RequestId = &v
19916	return s
19917}
19918
19919// SetStatus sets the Status field's value.
19920func (s *DeleteFolderOutput) SetStatus(v int64) *DeleteFolderOutput {
19921	s.Status = &v
19922	return s
19923}
19924
19925type DeleteGroupInput struct {
19926	_ struct{} `type:"structure"`
19927
19928	// The ID for the Amazon Web Services account that the group is in. Currently,
19929	// you use the ID for the Amazon Web Services account that contains your Amazon
19930	// QuickSight account.
19931	//
19932	// AwsAccountId is a required field
19933	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19934
19935	// The name of the group that you want to delete.
19936	//
19937	// GroupName is a required field
19938	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
19939
19940	// The namespace. Currently, you should set this to default.
19941	//
19942	// Namespace is a required field
19943	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
19944}
19945
19946// String returns the string representation
19947func (s DeleteGroupInput) String() string {
19948	return awsutil.Prettify(s)
19949}
19950
19951// GoString returns the string representation
19952func (s DeleteGroupInput) GoString() string {
19953	return s.String()
19954}
19955
19956// Validate inspects the fields of the type to determine if they are valid.
19957func (s *DeleteGroupInput) Validate() error {
19958	invalidParams := request.ErrInvalidParams{Context: "DeleteGroupInput"}
19959	if s.AwsAccountId == nil {
19960		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19961	}
19962	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19963		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19964	}
19965	if s.GroupName == nil {
19966		invalidParams.Add(request.NewErrParamRequired("GroupName"))
19967	}
19968	if s.GroupName != nil && len(*s.GroupName) < 1 {
19969		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
19970	}
19971	if s.Namespace == nil {
19972		invalidParams.Add(request.NewErrParamRequired("Namespace"))
19973	}
19974	if s.Namespace != nil && len(*s.Namespace) < 1 {
19975		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
19976	}
19977
19978	if invalidParams.Len() > 0 {
19979		return invalidParams
19980	}
19981	return nil
19982}
19983
19984// SetAwsAccountId sets the AwsAccountId field's value.
19985func (s *DeleteGroupInput) SetAwsAccountId(v string) *DeleteGroupInput {
19986	s.AwsAccountId = &v
19987	return s
19988}
19989
19990// SetGroupName sets the GroupName field's value.
19991func (s *DeleteGroupInput) SetGroupName(v string) *DeleteGroupInput {
19992	s.GroupName = &v
19993	return s
19994}
19995
19996// SetNamespace sets the Namespace field's value.
19997func (s *DeleteGroupInput) SetNamespace(v string) *DeleteGroupInput {
19998	s.Namespace = &v
19999	return s
20000}
20001
20002type DeleteGroupMembershipInput struct {
20003	_ struct{} `type:"structure"`
20004
20005	// The ID for the Amazon Web Services account that the group is in. Currently,
20006	// you use the ID for the Amazon Web Services account that contains your Amazon
20007	// QuickSight account.
20008	//
20009	// AwsAccountId is a required field
20010	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
20011
20012	// The name of the group that you want to delete the user from.
20013	//
20014	// GroupName is a required field
20015	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
20016
20017	// The name of the user that you want to delete from the group membership.
20018	//
20019	// MemberName is a required field
20020	MemberName *string `location:"uri" locationName:"MemberName" min:"1" type:"string" required:"true"`
20021
20022	// The namespace. Currently, you should set this to default.
20023	//
20024	// Namespace is a required field
20025	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
20026}
20027
20028// String returns the string representation
20029func (s DeleteGroupMembershipInput) String() string {
20030	return awsutil.Prettify(s)
20031}
20032
20033// GoString returns the string representation
20034func (s DeleteGroupMembershipInput) GoString() string {
20035	return s.String()
20036}
20037
20038// Validate inspects the fields of the type to determine if they are valid.
20039func (s *DeleteGroupMembershipInput) Validate() error {
20040	invalidParams := request.ErrInvalidParams{Context: "DeleteGroupMembershipInput"}
20041	if s.AwsAccountId == nil {
20042		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
20043	}
20044	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
20045		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
20046	}
20047	if s.GroupName == nil {
20048		invalidParams.Add(request.NewErrParamRequired("GroupName"))
20049	}
20050	if s.GroupName != nil && len(*s.GroupName) < 1 {
20051		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
20052	}
20053	if s.MemberName == nil {
20054		invalidParams.Add(request.NewErrParamRequired("MemberName"))
20055	}
20056	if s.MemberName != nil && len(*s.MemberName) < 1 {
20057		invalidParams.Add(request.NewErrParamMinLen("MemberName", 1))
20058	}
20059	if s.Namespace == nil {
20060		invalidParams.Add(request.NewErrParamRequired("Namespace"))
20061	}
20062	if s.Namespace != nil && len(*s.Namespace) < 1 {
20063		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
20064	}
20065
20066	if invalidParams.Len() > 0 {
20067		return invalidParams
20068	}
20069	return nil
20070}
20071
20072// SetAwsAccountId sets the AwsAccountId field's value.
20073func (s *DeleteGroupMembershipInput) SetAwsAccountId(v string) *DeleteGroupMembershipInput {
20074	s.AwsAccountId = &v
20075	return s
20076}
20077
20078// SetGroupName sets the GroupName field's value.
20079func (s *DeleteGroupMembershipInput) SetGroupName(v string) *DeleteGroupMembershipInput {
20080	s.GroupName = &v
20081	return s
20082}
20083
20084// SetMemberName sets the MemberName field's value.
20085func (s *DeleteGroupMembershipInput) SetMemberName(v string) *DeleteGroupMembershipInput {
20086	s.MemberName = &v
20087	return s
20088}
20089
20090// SetNamespace sets the Namespace field's value.
20091func (s *DeleteGroupMembershipInput) SetNamespace(v string) *DeleteGroupMembershipInput {
20092	s.Namespace = &v
20093	return s
20094}
20095
20096type DeleteGroupMembershipOutput struct {
20097	_ struct{} `type:"structure"`
20098
20099	// The Amazon Web Services request ID for this operation.
20100	RequestId *string `type:"string"`
20101
20102	// The HTTP status of the request.
20103	Status *int64 `location:"statusCode" type:"integer"`
20104}
20105
20106// String returns the string representation
20107func (s DeleteGroupMembershipOutput) String() string {
20108	return awsutil.Prettify(s)
20109}
20110
20111// GoString returns the string representation
20112func (s DeleteGroupMembershipOutput) GoString() string {
20113	return s.String()
20114}
20115
20116// SetRequestId sets the RequestId field's value.
20117func (s *DeleteGroupMembershipOutput) SetRequestId(v string) *DeleteGroupMembershipOutput {
20118	s.RequestId = &v
20119	return s
20120}
20121
20122// SetStatus sets the Status field's value.
20123func (s *DeleteGroupMembershipOutput) SetStatus(v int64) *DeleteGroupMembershipOutput {
20124	s.Status = &v
20125	return s
20126}
20127
20128type DeleteGroupOutput struct {
20129	_ struct{} `type:"structure"`
20130
20131	// The Amazon Web Services request ID for this operation.
20132	RequestId *string `type:"string"`
20133
20134	// The HTTP status of the request.
20135	Status *int64 `location:"statusCode" type:"integer"`
20136}
20137
20138// String returns the string representation
20139func (s DeleteGroupOutput) String() string {
20140	return awsutil.Prettify(s)
20141}
20142
20143// GoString returns the string representation
20144func (s DeleteGroupOutput) GoString() string {
20145	return s.String()
20146}
20147
20148// SetRequestId sets the RequestId field's value.
20149func (s *DeleteGroupOutput) SetRequestId(v string) *DeleteGroupOutput {
20150	s.RequestId = &v
20151	return s
20152}
20153
20154// SetStatus sets the Status field's value.
20155func (s *DeleteGroupOutput) SetStatus(v int64) *DeleteGroupOutput {
20156	s.Status = &v
20157	return s
20158}
20159
20160type DeleteIAMPolicyAssignmentInput struct {
20161	_ struct{} `type:"structure"`
20162
20163	// The name of the assignment.
20164	//
20165	// AssignmentName is a required field
20166	AssignmentName *string `location:"uri" locationName:"AssignmentName" min:"1" type:"string" required:"true"`
20167
20168	// The Amazon Web Services account ID where you want to delete the IAMpolicy
20169	// assignment.
20170	//
20171	// AwsAccountId is a required field
20172	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
20173
20174	// The namespace that contains the assignment.
20175	//
20176	// Namespace is a required field
20177	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
20178}
20179
20180// String returns the string representation
20181func (s DeleteIAMPolicyAssignmentInput) String() string {
20182	return awsutil.Prettify(s)
20183}
20184
20185// GoString returns the string representation
20186func (s DeleteIAMPolicyAssignmentInput) GoString() string {
20187	return s.String()
20188}
20189
20190// Validate inspects the fields of the type to determine if they are valid.
20191func (s *DeleteIAMPolicyAssignmentInput) Validate() error {
20192	invalidParams := request.ErrInvalidParams{Context: "DeleteIAMPolicyAssignmentInput"}
20193	if s.AssignmentName == nil {
20194		invalidParams.Add(request.NewErrParamRequired("AssignmentName"))
20195	}
20196	if s.AssignmentName != nil && len(*s.AssignmentName) < 1 {
20197		invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1))
20198	}
20199	if s.AwsAccountId == nil {
20200		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
20201	}
20202	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
20203		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
20204	}
20205	if s.Namespace == nil {
20206		invalidParams.Add(request.NewErrParamRequired("Namespace"))
20207	}
20208	if s.Namespace != nil && len(*s.Namespace) < 1 {
20209		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
20210	}
20211
20212	if invalidParams.Len() > 0 {
20213		return invalidParams
20214	}
20215	return nil
20216}
20217
20218// SetAssignmentName sets the AssignmentName field's value.
20219func (s *DeleteIAMPolicyAssignmentInput) SetAssignmentName(v string) *DeleteIAMPolicyAssignmentInput {
20220	s.AssignmentName = &v
20221	return s
20222}
20223
20224// SetAwsAccountId sets the AwsAccountId field's value.
20225func (s *DeleteIAMPolicyAssignmentInput) SetAwsAccountId(v string) *DeleteIAMPolicyAssignmentInput {
20226	s.AwsAccountId = &v
20227	return s
20228}
20229
20230// SetNamespace sets the Namespace field's value.
20231func (s *DeleteIAMPolicyAssignmentInput) SetNamespace(v string) *DeleteIAMPolicyAssignmentInput {
20232	s.Namespace = &v
20233	return s
20234}
20235
20236type DeleteIAMPolicyAssignmentOutput struct {
20237	_ struct{} `type:"structure"`
20238
20239	// The name of the assignment.
20240	AssignmentName *string `min:"1" type:"string"`
20241
20242	// The Amazon Web Services request ID for this operation.
20243	RequestId *string `type:"string"`
20244
20245	// The HTTP status of the request.
20246	Status *int64 `location:"statusCode" type:"integer"`
20247}
20248
20249// String returns the string representation
20250func (s DeleteIAMPolicyAssignmentOutput) String() string {
20251	return awsutil.Prettify(s)
20252}
20253
20254// GoString returns the string representation
20255func (s DeleteIAMPolicyAssignmentOutput) GoString() string {
20256	return s.String()
20257}
20258
20259// SetAssignmentName sets the AssignmentName field's value.
20260func (s *DeleteIAMPolicyAssignmentOutput) SetAssignmentName(v string) *DeleteIAMPolicyAssignmentOutput {
20261	s.AssignmentName = &v
20262	return s
20263}
20264
20265// SetRequestId sets the RequestId field's value.
20266func (s *DeleteIAMPolicyAssignmentOutput) SetRequestId(v string) *DeleteIAMPolicyAssignmentOutput {
20267	s.RequestId = &v
20268	return s
20269}
20270
20271// SetStatus sets the Status field's value.
20272func (s *DeleteIAMPolicyAssignmentOutput) SetStatus(v int64) *DeleteIAMPolicyAssignmentOutput {
20273	s.Status = &v
20274	return s
20275}
20276
20277type DeleteNamespaceInput struct {
20278	_ struct{} `type:"structure"`
20279
20280	// The ID for the Amazon Web Services account that you want to delete the Amazon
20281	// QuickSight namespace from.
20282	//
20283	// AwsAccountId is a required field
20284	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
20285
20286	// The namespace that you want to delete.
20287	//
20288	// Namespace is a required field
20289	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
20290}
20291
20292// String returns the string representation
20293func (s DeleteNamespaceInput) String() string {
20294	return awsutil.Prettify(s)
20295}
20296
20297// GoString returns the string representation
20298func (s DeleteNamespaceInput) GoString() string {
20299	return s.String()
20300}
20301
20302// Validate inspects the fields of the type to determine if they are valid.
20303func (s *DeleteNamespaceInput) Validate() error {
20304	invalidParams := request.ErrInvalidParams{Context: "DeleteNamespaceInput"}
20305	if s.AwsAccountId == nil {
20306		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
20307	}
20308	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
20309		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
20310	}
20311	if s.Namespace == nil {
20312		invalidParams.Add(request.NewErrParamRequired("Namespace"))
20313	}
20314	if s.Namespace != nil && len(*s.Namespace) < 1 {
20315		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
20316	}
20317
20318	if invalidParams.Len() > 0 {
20319		return invalidParams
20320	}
20321	return nil
20322}
20323
20324// SetAwsAccountId sets the AwsAccountId field's value.
20325func (s *DeleteNamespaceInput) SetAwsAccountId(v string) *DeleteNamespaceInput {
20326	s.AwsAccountId = &v
20327	return s
20328}
20329
20330// SetNamespace sets the Namespace field's value.
20331func (s *DeleteNamespaceInput) SetNamespace(v string) *DeleteNamespaceInput {
20332	s.Namespace = &v
20333	return s
20334}
20335
20336type DeleteNamespaceOutput struct {
20337	_ struct{} `type:"structure"`
20338
20339	// The Amazon Web Services request ID for this operation.
20340	RequestId *string `type:"string"`
20341
20342	// The HTTP status of the request.
20343	Status *int64 `location:"statusCode" type:"integer"`
20344}
20345
20346// String returns the string representation
20347func (s DeleteNamespaceOutput) String() string {
20348	return awsutil.Prettify(s)
20349}
20350
20351// GoString returns the string representation
20352func (s DeleteNamespaceOutput) GoString() string {
20353	return s.String()
20354}
20355
20356// SetRequestId sets the RequestId field's value.
20357func (s *DeleteNamespaceOutput) SetRequestId(v string) *DeleteNamespaceOutput {
20358	s.RequestId = &v
20359	return s
20360}
20361
20362// SetStatus sets the Status field's value.
20363func (s *DeleteNamespaceOutput) SetStatus(v int64) *DeleteNamespaceOutput {
20364	s.Status = &v
20365	return s
20366}
20367
20368type DeleteTemplateAliasInput struct {
20369	_ struct{} `type:"structure"`
20370
20371	// The name for the template alias. To delete a specific alias, you delete the
20372	// version that the alias points to. You can specify the alias name, or specify
20373	// the latest version of the template by providing the keyword $LATEST in the
20374	// AliasName parameter.
20375	//
20376	// AliasName is a required field
20377	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
20378
20379	// The ID of the Amazon Web Services account that contains the item to delete.
20380	//
20381	// AwsAccountId is a required field
20382	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
20383
20384	// The ID for the template that the specified alias is for.
20385	//
20386	// TemplateId is a required field
20387	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
20388}
20389
20390// String returns the string representation
20391func (s DeleteTemplateAliasInput) String() string {
20392	return awsutil.Prettify(s)
20393}
20394
20395// GoString returns the string representation
20396func (s DeleteTemplateAliasInput) GoString() string {
20397	return s.String()
20398}
20399
20400// Validate inspects the fields of the type to determine if they are valid.
20401func (s *DeleteTemplateAliasInput) Validate() error {
20402	invalidParams := request.ErrInvalidParams{Context: "DeleteTemplateAliasInput"}
20403	if s.AliasName == nil {
20404		invalidParams.Add(request.NewErrParamRequired("AliasName"))
20405	}
20406	if s.AliasName != nil && len(*s.AliasName) < 1 {
20407		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
20408	}
20409	if s.AwsAccountId == nil {
20410		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
20411	}
20412	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
20413		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
20414	}
20415	if s.TemplateId == nil {
20416		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
20417	}
20418	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
20419		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
20420	}
20421
20422	if invalidParams.Len() > 0 {
20423		return invalidParams
20424	}
20425	return nil
20426}
20427
20428// SetAliasName sets the AliasName field's value.
20429func (s *DeleteTemplateAliasInput) SetAliasName(v string) *DeleteTemplateAliasInput {
20430	s.AliasName = &v
20431	return s
20432}
20433
20434// SetAwsAccountId sets the AwsAccountId field's value.
20435func (s *DeleteTemplateAliasInput) SetAwsAccountId(v string) *DeleteTemplateAliasInput {
20436	s.AwsAccountId = &v
20437	return s
20438}
20439
20440// SetTemplateId sets the TemplateId field's value.
20441func (s *DeleteTemplateAliasInput) SetTemplateId(v string) *DeleteTemplateAliasInput {
20442	s.TemplateId = &v
20443	return s
20444}
20445
20446type DeleteTemplateAliasOutput struct {
20447	_ struct{} `type:"structure"`
20448
20449	// The name for the template alias.
20450	AliasName *string `min:"1" type:"string"`
20451
20452	// The Amazon Resource Name (ARN) of the template you want to delete.
20453	Arn *string `type:"string"`
20454
20455	// The Amazon Web Services request ID for this operation.
20456	RequestId *string `type:"string"`
20457
20458	// The HTTP status of the request.
20459	Status *int64 `location:"statusCode" type:"integer"`
20460
20461	// An ID for the template associated with the deletion.
20462	TemplateId *string `min:"1" type:"string"`
20463}
20464
20465// String returns the string representation
20466func (s DeleteTemplateAliasOutput) String() string {
20467	return awsutil.Prettify(s)
20468}
20469
20470// GoString returns the string representation
20471func (s DeleteTemplateAliasOutput) GoString() string {
20472	return s.String()
20473}
20474
20475// SetAliasName sets the AliasName field's value.
20476func (s *DeleteTemplateAliasOutput) SetAliasName(v string) *DeleteTemplateAliasOutput {
20477	s.AliasName = &v
20478	return s
20479}
20480
20481// SetArn sets the Arn field's value.
20482func (s *DeleteTemplateAliasOutput) SetArn(v string) *DeleteTemplateAliasOutput {
20483	s.Arn = &v
20484	return s
20485}
20486
20487// SetRequestId sets the RequestId field's value.
20488func (s *DeleteTemplateAliasOutput) SetRequestId(v string) *DeleteTemplateAliasOutput {
20489	s.RequestId = &v
20490	return s
20491}
20492
20493// SetStatus sets the Status field's value.
20494func (s *DeleteTemplateAliasOutput) SetStatus(v int64) *DeleteTemplateAliasOutput {
20495	s.Status = &v
20496	return s
20497}
20498
20499// SetTemplateId sets the TemplateId field's value.
20500func (s *DeleteTemplateAliasOutput) SetTemplateId(v string) *DeleteTemplateAliasOutput {
20501	s.TemplateId = &v
20502	return s
20503}
20504
20505type DeleteTemplateInput struct {
20506	_ struct{} `type:"structure"`
20507
20508	// The ID of the Amazon Web Services account that contains the template that
20509	// you're deleting.
20510	//
20511	// AwsAccountId is a required field
20512	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
20513
20514	// An ID for the template you want to delete.
20515	//
20516	// TemplateId is a required field
20517	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
20518
20519	// Specifies the version of the template that you want to delete. If you don't
20520	// provide a version number, DeleteTemplate deletes all versions of the template.
20521	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
20522}
20523
20524// String returns the string representation
20525func (s DeleteTemplateInput) String() string {
20526	return awsutil.Prettify(s)
20527}
20528
20529// GoString returns the string representation
20530func (s DeleteTemplateInput) GoString() string {
20531	return s.String()
20532}
20533
20534// Validate inspects the fields of the type to determine if they are valid.
20535func (s *DeleteTemplateInput) Validate() error {
20536	invalidParams := request.ErrInvalidParams{Context: "DeleteTemplateInput"}
20537	if s.AwsAccountId == nil {
20538		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
20539	}
20540	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
20541		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
20542	}
20543	if s.TemplateId == nil {
20544		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
20545	}
20546	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
20547		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
20548	}
20549	if s.VersionNumber != nil && *s.VersionNumber < 1 {
20550		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
20551	}
20552
20553	if invalidParams.Len() > 0 {
20554		return invalidParams
20555	}
20556	return nil
20557}
20558
20559// SetAwsAccountId sets the AwsAccountId field's value.
20560func (s *DeleteTemplateInput) SetAwsAccountId(v string) *DeleteTemplateInput {
20561	s.AwsAccountId = &v
20562	return s
20563}
20564
20565// SetTemplateId sets the TemplateId field's value.
20566func (s *DeleteTemplateInput) SetTemplateId(v string) *DeleteTemplateInput {
20567	s.TemplateId = &v
20568	return s
20569}
20570
20571// SetVersionNumber sets the VersionNumber field's value.
20572func (s *DeleteTemplateInput) SetVersionNumber(v int64) *DeleteTemplateInput {
20573	s.VersionNumber = &v
20574	return s
20575}
20576
20577type DeleteTemplateOutput struct {
20578	_ struct{} `type:"structure"`
20579
20580	// The Amazon Resource Name (ARN) of the resource.
20581	Arn *string `type:"string"`
20582
20583	// The Amazon Web Services request ID for this operation.
20584	RequestId *string `type:"string"`
20585
20586	// The HTTP status of the request.
20587	Status *int64 `location:"statusCode" type:"integer"`
20588
20589	// An ID for the template.
20590	TemplateId *string `min:"1" type:"string"`
20591}
20592
20593// String returns the string representation
20594func (s DeleteTemplateOutput) String() string {
20595	return awsutil.Prettify(s)
20596}
20597
20598// GoString returns the string representation
20599func (s DeleteTemplateOutput) GoString() string {
20600	return s.String()
20601}
20602
20603// SetArn sets the Arn field's value.
20604func (s *DeleteTemplateOutput) SetArn(v string) *DeleteTemplateOutput {
20605	s.Arn = &v
20606	return s
20607}
20608
20609// SetRequestId sets the RequestId field's value.
20610func (s *DeleteTemplateOutput) SetRequestId(v string) *DeleteTemplateOutput {
20611	s.RequestId = &v
20612	return s
20613}
20614
20615// SetStatus sets the Status field's value.
20616func (s *DeleteTemplateOutput) SetStatus(v int64) *DeleteTemplateOutput {
20617	s.Status = &v
20618	return s
20619}
20620
20621// SetTemplateId sets the TemplateId field's value.
20622func (s *DeleteTemplateOutput) SetTemplateId(v string) *DeleteTemplateOutput {
20623	s.TemplateId = &v
20624	return s
20625}
20626
20627type DeleteThemeAliasInput struct {
20628	_ struct{} `type:"structure"`
20629
20630	// The unique name for the theme alias to delete.
20631	//
20632	// AliasName is a required field
20633	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
20634
20635	// The ID of the Amazon Web Services account that contains the theme alias to
20636	// delete.
20637	//
20638	// AwsAccountId is a required field
20639	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
20640
20641	// The ID for the theme that the specified alias is for.
20642	//
20643	// ThemeId is a required field
20644	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
20645}
20646
20647// String returns the string representation
20648func (s DeleteThemeAliasInput) String() string {
20649	return awsutil.Prettify(s)
20650}
20651
20652// GoString returns the string representation
20653func (s DeleteThemeAliasInput) GoString() string {
20654	return s.String()
20655}
20656
20657// Validate inspects the fields of the type to determine if they are valid.
20658func (s *DeleteThemeAliasInput) Validate() error {
20659	invalidParams := request.ErrInvalidParams{Context: "DeleteThemeAliasInput"}
20660	if s.AliasName == nil {
20661		invalidParams.Add(request.NewErrParamRequired("AliasName"))
20662	}
20663	if s.AliasName != nil && len(*s.AliasName) < 1 {
20664		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
20665	}
20666	if s.AwsAccountId == nil {
20667		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
20668	}
20669	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
20670		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
20671	}
20672	if s.ThemeId == nil {
20673		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
20674	}
20675	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
20676		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
20677	}
20678
20679	if invalidParams.Len() > 0 {
20680		return invalidParams
20681	}
20682	return nil
20683}
20684
20685// SetAliasName sets the AliasName field's value.
20686func (s *DeleteThemeAliasInput) SetAliasName(v string) *DeleteThemeAliasInput {
20687	s.AliasName = &v
20688	return s
20689}
20690
20691// SetAwsAccountId sets the AwsAccountId field's value.
20692func (s *DeleteThemeAliasInput) SetAwsAccountId(v string) *DeleteThemeAliasInput {
20693	s.AwsAccountId = &v
20694	return s
20695}
20696
20697// SetThemeId sets the ThemeId field's value.
20698func (s *DeleteThemeAliasInput) SetThemeId(v string) *DeleteThemeAliasInput {
20699	s.ThemeId = &v
20700	return s
20701}
20702
20703type DeleteThemeAliasOutput struct {
20704	_ struct{} `type:"structure"`
20705
20706	// The name for the theme alias.
20707	AliasName *string `min:"1" type:"string"`
20708
20709	// The Amazon Resource Name (ARN) of the theme resource using the deleted alias.
20710	Arn *string `type:"string"`
20711
20712	// The Amazon Web Services request ID for this operation.
20713	RequestId *string `type:"string"`
20714
20715	// The HTTP status of the request.
20716	Status *int64 `location:"statusCode" type:"integer"`
20717
20718	// An ID for the theme associated with the deletion.
20719	ThemeId *string `min:"1" type:"string"`
20720}
20721
20722// String returns the string representation
20723func (s DeleteThemeAliasOutput) String() string {
20724	return awsutil.Prettify(s)
20725}
20726
20727// GoString returns the string representation
20728func (s DeleteThemeAliasOutput) GoString() string {
20729	return s.String()
20730}
20731
20732// SetAliasName sets the AliasName field's value.
20733func (s *DeleteThemeAliasOutput) SetAliasName(v string) *DeleteThemeAliasOutput {
20734	s.AliasName = &v
20735	return s
20736}
20737
20738// SetArn sets the Arn field's value.
20739func (s *DeleteThemeAliasOutput) SetArn(v string) *DeleteThemeAliasOutput {
20740	s.Arn = &v
20741	return s
20742}
20743
20744// SetRequestId sets the RequestId field's value.
20745func (s *DeleteThemeAliasOutput) SetRequestId(v string) *DeleteThemeAliasOutput {
20746	s.RequestId = &v
20747	return s
20748}
20749
20750// SetStatus sets the Status field's value.
20751func (s *DeleteThemeAliasOutput) SetStatus(v int64) *DeleteThemeAliasOutput {
20752	s.Status = &v
20753	return s
20754}
20755
20756// SetThemeId sets the ThemeId field's value.
20757func (s *DeleteThemeAliasOutput) SetThemeId(v string) *DeleteThemeAliasOutput {
20758	s.ThemeId = &v
20759	return s
20760}
20761
20762type DeleteThemeInput struct {
20763	_ struct{} `type:"structure"`
20764
20765	// The ID of the Amazon Web Services account that contains the theme that you're
20766	// deleting.
20767	//
20768	// AwsAccountId is a required field
20769	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
20770
20771	// An ID for the theme that you want to delete.
20772	//
20773	// ThemeId is a required field
20774	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
20775
20776	// The version of the theme that you want to delete.
20777	//
20778	// Note: If you don't provide a version number, you're using this call to DeleteTheme
20779	// to delete all versions of the theme.
20780	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
20781}
20782
20783// String returns the string representation
20784func (s DeleteThemeInput) String() string {
20785	return awsutil.Prettify(s)
20786}
20787
20788// GoString returns the string representation
20789func (s DeleteThemeInput) GoString() string {
20790	return s.String()
20791}
20792
20793// Validate inspects the fields of the type to determine if they are valid.
20794func (s *DeleteThemeInput) Validate() error {
20795	invalidParams := request.ErrInvalidParams{Context: "DeleteThemeInput"}
20796	if s.AwsAccountId == nil {
20797		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
20798	}
20799	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
20800		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
20801	}
20802	if s.ThemeId == nil {
20803		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
20804	}
20805	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
20806		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
20807	}
20808	if s.VersionNumber != nil && *s.VersionNumber < 1 {
20809		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
20810	}
20811
20812	if invalidParams.Len() > 0 {
20813		return invalidParams
20814	}
20815	return nil
20816}
20817
20818// SetAwsAccountId sets the AwsAccountId field's value.
20819func (s *DeleteThemeInput) SetAwsAccountId(v string) *DeleteThemeInput {
20820	s.AwsAccountId = &v
20821	return s
20822}
20823
20824// SetThemeId sets the ThemeId field's value.
20825func (s *DeleteThemeInput) SetThemeId(v string) *DeleteThemeInput {
20826	s.ThemeId = &v
20827	return s
20828}
20829
20830// SetVersionNumber sets the VersionNumber field's value.
20831func (s *DeleteThemeInput) SetVersionNumber(v int64) *DeleteThemeInput {
20832	s.VersionNumber = &v
20833	return s
20834}
20835
20836type DeleteThemeOutput struct {
20837	_ struct{} `type:"structure"`
20838
20839	// The Amazon Resource Name (ARN) of the resource.
20840	Arn *string `type:"string"`
20841
20842	// The Amazon Web Services request ID for this operation.
20843	RequestId *string `type:"string"`
20844
20845	// The HTTP status of the request.
20846	Status *int64 `location:"statusCode" type:"integer"`
20847
20848	// An ID for the theme.
20849	ThemeId *string `min:"1" type:"string"`
20850}
20851
20852// String returns the string representation
20853func (s DeleteThemeOutput) String() string {
20854	return awsutil.Prettify(s)
20855}
20856
20857// GoString returns the string representation
20858func (s DeleteThemeOutput) GoString() string {
20859	return s.String()
20860}
20861
20862// SetArn sets the Arn field's value.
20863func (s *DeleteThemeOutput) SetArn(v string) *DeleteThemeOutput {
20864	s.Arn = &v
20865	return s
20866}
20867
20868// SetRequestId sets the RequestId field's value.
20869func (s *DeleteThemeOutput) SetRequestId(v string) *DeleteThemeOutput {
20870	s.RequestId = &v
20871	return s
20872}
20873
20874// SetStatus sets the Status field's value.
20875func (s *DeleteThemeOutput) SetStatus(v int64) *DeleteThemeOutput {
20876	s.Status = &v
20877	return s
20878}
20879
20880// SetThemeId sets the ThemeId field's value.
20881func (s *DeleteThemeOutput) SetThemeId(v string) *DeleteThemeOutput {
20882	s.ThemeId = &v
20883	return s
20884}
20885
20886type DeleteUserByPrincipalIdInput struct {
20887	_ struct{} `type:"structure"`
20888
20889	// The ID for the Amazon Web Services account that the user is in. Currently,
20890	// you use the ID for the Amazon Web Services account that contains your Amazon
20891	// QuickSight account.
20892	//
20893	// AwsAccountId is a required field
20894	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
20895
20896	// The namespace. Currently, you should set this to default.
20897	//
20898	// Namespace is a required field
20899	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
20900
20901	// The principal ID of the user.
20902	//
20903	// PrincipalId is a required field
20904	PrincipalId *string `location:"uri" locationName:"PrincipalId" type:"string" required:"true"`
20905}
20906
20907// String returns the string representation
20908func (s DeleteUserByPrincipalIdInput) String() string {
20909	return awsutil.Prettify(s)
20910}
20911
20912// GoString returns the string representation
20913func (s DeleteUserByPrincipalIdInput) GoString() string {
20914	return s.String()
20915}
20916
20917// Validate inspects the fields of the type to determine if they are valid.
20918func (s *DeleteUserByPrincipalIdInput) Validate() error {
20919	invalidParams := request.ErrInvalidParams{Context: "DeleteUserByPrincipalIdInput"}
20920	if s.AwsAccountId == nil {
20921		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
20922	}
20923	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
20924		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
20925	}
20926	if s.Namespace == nil {
20927		invalidParams.Add(request.NewErrParamRequired("Namespace"))
20928	}
20929	if s.Namespace != nil && len(*s.Namespace) < 1 {
20930		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
20931	}
20932	if s.PrincipalId == nil {
20933		invalidParams.Add(request.NewErrParamRequired("PrincipalId"))
20934	}
20935	if s.PrincipalId != nil && len(*s.PrincipalId) < 1 {
20936		invalidParams.Add(request.NewErrParamMinLen("PrincipalId", 1))
20937	}
20938
20939	if invalidParams.Len() > 0 {
20940		return invalidParams
20941	}
20942	return nil
20943}
20944
20945// SetAwsAccountId sets the AwsAccountId field's value.
20946func (s *DeleteUserByPrincipalIdInput) SetAwsAccountId(v string) *DeleteUserByPrincipalIdInput {
20947	s.AwsAccountId = &v
20948	return s
20949}
20950
20951// SetNamespace sets the Namespace field's value.
20952func (s *DeleteUserByPrincipalIdInput) SetNamespace(v string) *DeleteUserByPrincipalIdInput {
20953	s.Namespace = &v
20954	return s
20955}
20956
20957// SetPrincipalId sets the PrincipalId field's value.
20958func (s *DeleteUserByPrincipalIdInput) SetPrincipalId(v string) *DeleteUserByPrincipalIdInput {
20959	s.PrincipalId = &v
20960	return s
20961}
20962
20963type DeleteUserByPrincipalIdOutput struct {
20964	_ struct{} `type:"structure"`
20965
20966	// The Amazon Web Services request ID for this operation.
20967	RequestId *string `type:"string"`
20968
20969	// The HTTP status of the request.
20970	Status *int64 `location:"statusCode" type:"integer"`
20971}
20972
20973// String returns the string representation
20974func (s DeleteUserByPrincipalIdOutput) String() string {
20975	return awsutil.Prettify(s)
20976}
20977
20978// GoString returns the string representation
20979func (s DeleteUserByPrincipalIdOutput) GoString() string {
20980	return s.String()
20981}
20982
20983// SetRequestId sets the RequestId field's value.
20984func (s *DeleteUserByPrincipalIdOutput) SetRequestId(v string) *DeleteUserByPrincipalIdOutput {
20985	s.RequestId = &v
20986	return s
20987}
20988
20989// SetStatus sets the Status field's value.
20990func (s *DeleteUserByPrincipalIdOutput) SetStatus(v int64) *DeleteUserByPrincipalIdOutput {
20991	s.Status = &v
20992	return s
20993}
20994
20995type DeleteUserInput struct {
20996	_ struct{} `type:"structure"`
20997
20998	// The ID for the Amazon Web Services account that the user is in. Currently,
20999	// you use the ID for the Amazon Web Services account that contains your Amazon
21000	// QuickSight account.
21001	//
21002	// AwsAccountId is a required field
21003	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
21004
21005	// The namespace. Currently, you should set this to default.
21006	//
21007	// Namespace is a required field
21008	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
21009
21010	// The name of the user that you want to delete.
21011	//
21012	// UserName is a required field
21013	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
21014}
21015
21016// String returns the string representation
21017func (s DeleteUserInput) String() string {
21018	return awsutil.Prettify(s)
21019}
21020
21021// GoString returns the string representation
21022func (s DeleteUserInput) GoString() string {
21023	return s.String()
21024}
21025
21026// Validate inspects the fields of the type to determine if they are valid.
21027func (s *DeleteUserInput) Validate() error {
21028	invalidParams := request.ErrInvalidParams{Context: "DeleteUserInput"}
21029	if s.AwsAccountId == nil {
21030		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
21031	}
21032	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
21033		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
21034	}
21035	if s.Namespace == nil {
21036		invalidParams.Add(request.NewErrParamRequired("Namespace"))
21037	}
21038	if s.Namespace != nil && len(*s.Namespace) < 1 {
21039		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
21040	}
21041	if s.UserName == nil {
21042		invalidParams.Add(request.NewErrParamRequired("UserName"))
21043	}
21044	if s.UserName != nil && len(*s.UserName) < 1 {
21045		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
21046	}
21047
21048	if invalidParams.Len() > 0 {
21049		return invalidParams
21050	}
21051	return nil
21052}
21053
21054// SetAwsAccountId sets the AwsAccountId field's value.
21055func (s *DeleteUserInput) SetAwsAccountId(v string) *DeleteUserInput {
21056	s.AwsAccountId = &v
21057	return s
21058}
21059
21060// SetNamespace sets the Namespace field's value.
21061func (s *DeleteUserInput) SetNamespace(v string) *DeleteUserInput {
21062	s.Namespace = &v
21063	return s
21064}
21065
21066// SetUserName sets the UserName field's value.
21067func (s *DeleteUserInput) SetUserName(v string) *DeleteUserInput {
21068	s.UserName = &v
21069	return s
21070}
21071
21072type DeleteUserOutput struct {
21073	_ struct{} `type:"structure"`
21074
21075	// The Amazon Web Services request ID for this operation.
21076	RequestId *string `type:"string"`
21077
21078	// The HTTP status of the request.
21079	Status *int64 `location:"statusCode" type:"integer"`
21080}
21081
21082// String returns the string representation
21083func (s DeleteUserOutput) String() string {
21084	return awsutil.Prettify(s)
21085}
21086
21087// GoString returns the string representation
21088func (s DeleteUserOutput) GoString() string {
21089	return s.String()
21090}
21091
21092// SetRequestId sets the RequestId field's value.
21093func (s *DeleteUserOutput) SetRequestId(v string) *DeleteUserOutput {
21094	s.RequestId = &v
21095	return s
21096}
21097
21098// SetStatus sets the Status field's value.
21099func (s *DeleteUserOutput) SetStatus(v int64) *DeleteUserOutput {
21100	s.Status = &v
21101	return s
21102}
21103
21104type DescribeAccountCustomizationInput struct {
21105	_ struct{} `type:"structure"`
21106
21107	// The ID for the Amazon Web Services account that you want to describe Amazon
21108	// QuickSight customizations for.
21109	//
21110	// AwsAccountId is a required field
21111	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
21112
21113	// The Amazon QuickSight namespace that you want to describe Amazon QuickSight
21114	// customizations for.
21115	Namespace *string `location:"querystring" locationName:"namespace" type:"string"`
21116
21117	// The Resolved flag works with the other parameters to determine which view
21118	// of Amazon QuickSight customizations is returned. You can add this flag to
21119	// your command to use the same view that Amazon QuickSight uses to identify
21120	// which customizations to apply to the console. Omit this flag, or set it to
21121	// no-resolved, to reveal customizations that are configured at different levels.
21122	Resolved *bool `location:"querystring" locationName:"resolved" type:"boolean"`
21123}
21124
21125// String returns the string representation
21126func (s DescribeAccountCustomizationInput) String() string {
21127	return awsutil.Prettify(s)
21128}
21129
21130// GoString returns the string representation
21131func (s DescribeAccountCustomizationInput) GoString() string {
21132	return s.String()
21133}
21134
21135// Validate inspects the fields of the type to determine if they are valid.
21136func (s *DescribeAccountCustomizationInput) Validate() error {
21137	invalidParams := request.ErrInvalidParams{Context: "DescribeAccountCustomizationInput"}
21138	if s.AwsAccountId == nil {
21139		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
21140	}
21141	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
21142		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
21143	}
21144
21145	if invalidParams.Len() > 0 {
21146		return invalidParams
21147	}
21148	return nil
21149}
21150
21151// SetAwsAccountId sets the AwsAccountId field's value.
21152func (s *DescribeAccountCustomizationInput) SetAwsAccountId(v string) *DescribeAccountCustomizationInput {
21153	s.AwsAccountId = &v
21154	return s
21155}
21156
21157// SetNamespace sets the Namespace field's value.
21158func (s *DescribeAccountCustomizationInput) SetNamespace(v string) *DescribeAccountCustomizationInput {
21159	s.Namespace = &v
21160	return s
21161}
21162
21163// SetResolved sets the Resolved field's value.
21164func (s *DescribeAccountCustomizationInput) SetResolved(v bool) *DescribeAccountCustomizationInput {
21165	s.Resolved = &v
21166	return s
21167}
21168
21169type DescribeAccountCustomizationOutput struct {
21170	_ struct{} `type:"structure"`
21171
21172	// The Amazon QuickSight customizations that exist in the current Amazon Web
21173	// Services Region;.
21174	AccountCustomization *AccountCustomization `type:"structure"`
21175
21176	// The Amazon Resource Name (ARN) of the customization that's associated with
21177	// this Amazon Web Services account.
21178	Arn *string `type:"string"`
21179
21180	// The ID for the Amazon Web Services account that you're describing.
21181	AwsAccountId *string `min:"12" type:"string"`
21182
21183	// The Amazon QuickSight namespace that you're describing.
21184	Namespace *string `type:"string"`
21185
21186	// The Amazon Web Services request ID for this operation.
21187	RequestId *string `type:"string"`
21188
21189	// The HTTP status of the request.
21190	Status *int64 `location:"statusCode" type:"integer"`
21191}
21192
21193// String returns the string representation
21194func (s DescribeAccountCustomizationOutput) String() string {
21195	return awsutil.Prettify(s)
21196}
21197
21198// GoString returns the string representation
21199func (s DescribeAccountCustomizationOutput) GoString() string {
21200	return s.String()
21201}
21202
21203// SetAccountCustomization sets the AccountCustomization field's value.
21204func (s *DescribeAccountCustomizationOutput) SetAccountCustomization(v *AccountCustomization) *DescribeAccountCustomizationOutput {
21205	s.AccountCustomization = v
21206	return s
21207}
21208
21209// SetArn sets the Arn field's value.
21210func (s *DescribeAccountCustomizationOutput) SetArn(v string) *DescribeAccountCustomizationOutput {
21211	s.Arn = &v
21212	return s
21213}
21214
21215// SetAwsAccountId sets the AwsAccountId field's value.
21216func (s *DescribeAccountCustomizationOutput) SetAwsAccountId(v string) *DescribeAccountCustomizationOutput {
21217	s.AwsAccountId = &v
21218	return s
21219}
21220
21221// SetNamespace sets the Namespace field's value.
21222func (s *DescribeAccountCustomizationOutput) SetNamespace(v string) *DescribeAccountCustomizationOutput {
21223	s.Namespace = &v
21224	return s
21225}
21226
21227// SetRequestId sets the RequestId field's value.
21228func (s *DescribeAccountCustomizationOutput) SetRequestId(v string) *DescribeAccountCustomizationOutput {
21229	s.RequestId = &v
21230	return s
21231}
21232
21233// SetStatus sets the Status field's value.
21234func (s *DescribeAccountCustomizationOutput) SetStatus(v int64) *DescribeAccountCustomizationOutput {
21235	s.Status = &v
21236	return s
21237}
21238
21239type DescribeAccountSettingsInput struct {
21240	_ struct{} `type:"structure"`
21241
21242	// The ID for the Amazon Web Services account that contains the settings that
21243	// you want to list.
21244	//
21245	// AwsAccountId is a required field
21246	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
21247}
21248
21249// String returns the string representation
21250func (s DescribeAccountSettingsInput) String() string {
21251	return awsutil.Prettify(s)
21252}
21253
21254// GoString returns the string representation
21255func (s DescribeAccountSettingsInput) GoString() string {
21256	return s.String()
21257}
21258
21259// Validate inspects the fields of the type to determine if they are valid.
21260func (s *DescribeAccountSettingsInput) Validate() error {
21261	invalidParams := request.ErrInvalidParams{Context: "DescribeAccountSettingsInput"}
21262	if s.AwsAccountId == nil {
21263		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
21264	}
21265	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
21266		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
21267	}
21268
21269	if invalidParams.Len() > 0 {
21270		return invalidParams
21271	}
21272	return nil
21273}
21274
21275// SetAwsAccountId sets the AwsAccountId field's value.
21276func (s *DescribeAccountSettingsInput) SetAwsAccountId(v string) *DescribeAccountSettingsInput {
21277	s.AwsAccountId = &v
21278	return s
21279}
21280
21281type DescribeAccountSettingsOutput struct {
21282	_ struct{} `type:"structure"`
21283
21284	// The Amazon QuickSight settings for this Amazon Web Services account. This
21285	// information includes the edition of Amazon Amazon QuickSight that you subscribed
21286	// to (Standard or Enterprise) and the notification email for the Amazon QuickSight
21287	// subscription. In the Amazon QuickSight console, the Amazon QuickSight subscription
21288	// is sometimes referred to as a Amazon QuickSight "account" even though it's
21289	// technically not an account by itself. Instead, it's a subscription to the
21290	// Amazon QuickSight service for your Amazon Web Services account. The edition
21291	// that you subscribe to applies to Amazon QuickSight in every Amazon Web Services
21292	// Region; where you use it.
21293	AccountSettings *AccountSettings `type:"structure"`
21294
21295	// The Amazon Web Services request ID for this operation.
21296	RequestId *string `type:"string"`
21297
21298	// The HTTP status of the request.
21299	Status *int64 `location:"statusCode" type:"integer"`
21300}
21301
21302// String returns the string representation
21303func (s DescribeAccountSettingsOutput) String() string {
21304	return awsutil.Prettify(s)
21305}
21306
21307// GoString returns the string representation
21308func (s DescribeAccountSettingsOutput) GoString() string {
21309	return s.String()
21310}
21311
21312// SetAccountSettings sets the AccountSettings field's value.
21313func (s *DescribeAccountSettingsOutput) SetAccountSettings(v *AccountSettings) *DescribeAccountSettingsOutput {
21314	s.AccountSettings = v
21315	return s
21316}
21317
21318// SetRequestId sets the RequestId field's value.
21319func (s *DescribeAccountSettingsOutput) SetRequestId(v string) *DescribeAccountSettingsOutput {
21320	s.RequestId = &v
21321	return s
21322}
21323
21324// SetStatus sets the Status field's value.
21325func (s *DescribeAccountSettingsOutput) SetStatus(v int64) *DescribeAccountSettingsOutput {
21326	s.Status = &v
21327	return s
21328}
21329
21330type DescribeAnalysisInput struct {
21331	_ struct{} `type:"structure"`
21332
21333	// The ID of the analysis that you're describing. The ID is part of the URL
21334	// of the analysis.
21335	//
21336	// AnalysisId is a required field
21337	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
21338
21339	// The ID of the Amazon Web Services account that contains the analysis. You
21340	// must be using the Amazon Web Services account that the analysis is in.
21341	//
21342	// AwsAccountId is a required field
21343	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
21344}
21345
21346// String returns the string representation
21347func (s DescribeAnalysisInput) String() string {
21348	return awsutil.Prettify(s)
21349}
21350
21351// GoString returns the string representation
21352func (s DescribeAnalysisInput) GoString() string {
21353	return s.String()
21354}
21355
21356// Validate inspects the fields of the type to determine if they are valid.
21357func (s *DescribeAnalysisInput) Validate() error {
21358	invalidParams := request.ErrInvalidParams{Context: "DescribeAnalysisInput"}
21359	if s.AnalysisId == nil {
21360		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
21361	}
21362	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
21363		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
21364	}
21365	if s.AwsAccountId == nil {
21366		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
21367	}
21368	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
21369		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
21370	}
21371
21372	if invalidParams.Len() > 0 {
21373		return invalidParams
21374	}
21375	return nil
21376}
21377
21378// SetAnalysisId sets the AnalysisId field's value.
21379func (s *DescribeAnalysisInput) SetAnalysisId(v string) *DescribeAnalysisInput {
21380	s.AnalysisId = &v
21381	return s
21382}
21383
21384// SetAwsAccountId sets the AwsAccountId field's value.
21385func (s *DescribeAnalysisInput) SetAwsAccountId(v string) *DescribeAnalysisInput {
21386	s.AwsAccountId = &v
21387	return s
21388}
21389
21390type DescribeAnalysisOutput struct {
21391	_ struct{} `type:"structure"`
21392
21393	// A metadata structure that contains summary information for the analysis that
21394	// you're describing.
21395	Analysis *Analysis `type:"structure"`
21396
21397	// The Amazon Web Services request ID for this operation.
21398	RequestId *string `type:"string"`
21399
21400	// The HTTP status of the request.
21401	Status *int64 `location:"statusCode" type:"integer"`
21402}
21403
21404// String returns the string representation
21405func (s DescribeAnalysisOutput) String() string {
21406	return awsutil.Prettify(s)
21407}
21408
21409// GoString returns the string representation
21410func (s DescribeAnalysisOutput) GoString() string {
21411	return s.String()
21412}
21413
21414// SetAnalysis sets the Analysis field's value.
21415func (s *DescribeAnalysisOutput) SetAnalysis(v *Analysis) *DescribeAnalysisOutput {
21416	s.Analysis = v
21417	return s
21418}
21419
21420// SetRequestId sets the RequestId field's value.
21421func (s *DescribeAnalysisOutput) SetRequestId(v string) *DescribeAnalysisOutput {
21422	s.RequestId = &v
21423	return s
21424}
21425
21426// SetStatus sets the Status field's value.
21427func (s *DescribeAnalysisOutput) SetStatus(v int64) *DescribeAnalysisOutput {
21428	s.Status = &v
21429	return s
21430}
21431
21432type DescribeAnalysisPermissionsInput struct {
21433	_ struct{} `type:"structure"`
21434
21435	// The ID of the analysis whose permissions you're describing. The ID is part
21436	// of the analysis URL.
21437	//
21438	// AnalysisId is a required field
21439	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
21440
21441	// The ID of the Amazon Web Services account that contains the analysis whose
21442	// permissions you're describing. You must be using the Amazon Web Services
21443	// account that the analysis is in.
21444	//
21445	// AwsAccountId is a required field
21446	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
21447}
21448
21449// String returns the string representation
21450func (s DescribeAnalysisPermissionsInput) String() string {
21451	return awsutil.Prettify(s)
21452}
21453
21454// GoString returns the string representation
21455func (s DescribeAnalysisPermissionsInput) GoString() string {
21456	return s.String()
21457}
21458
21459// Validate inspects the fields of the type to determine if they are valid.
21460func (s *DescribeAnalysisPermissionsInput) Validate() error {
21461	invalidParams := request.ErrInvalidParams{Context: "DescribeAnalysisPermissionsInput"}
21462	if s.AnalysisId == nil {
21463		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
21464	}
21465	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
21466		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
21467	}
21468	if s.AwsAccountId == nil {
21469		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
21470	}
21471	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
21472		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
21473	}
21474
21475	if invalidParams.Len() > 0 {
21476		return invalidParams
21477	}
21478	return nil
21479}
21480
21481// SetAnalysisId sets the AnalysisId field's value.
21482func (s *DescribeAnalysisPermissionsInput) SetAnalysisId(v string) *DescribeAnalysisPermissionsInput {
21483	s.AnalysisId = &v
21484	return s
21485}
21486
21487// SetAwsAccountId sets the AwsAccountId field's value.
21488func (s *DescribeAnalysisPermissionsInput) SetAwsAccountId(v string) *DescribeAnalysisPermissionsInput {
21489	s.AwsAccountId = &v
21490	return s
21491}
21492
21493type DescribeAnalysisPermissionsOutput struct {
21494	_ struct{} `type:"structure"`
21495
21496	// The Amazon Resource Name (ARN) of the analysis whose permissions you're describing.
21497	AnalysisArn *string `type:"string"`
21498
21499	// The ID of the analysis whose permissions you're describing.
21500	AnalysisId *string `min:"1" type:"string"`
21501
21502	// A structure that describes the principals and the resource-level permissions
21503	// on an analysis.
21504	Permissions []*ResourcePermission `min:"1" type:"list"`
21505
21506	// The Amazon Web Services request ID for this operation.
21507	RequestId *string `type:"string"`
21508
21509	// The HTTP status of the request.
21510	Status *int64 `location:"statusCode" type:"integer"`
21511}
21512
21513// String returns the string representation
21514func (s DescribeAnalysisPermissionsOutput) String() string {
21515	return awsutil.Prettify(s)
21516}
21517
21518// GoString returns the string representation
21519func (s DescribeAnalysisPermissionsOutput) GoString() string {
21520	return s.String()
21521}
21522
21523// SetAnalysisArn sets the AnalysisArn field's value.
21524func (s *DescribeAnalysisPermissionsOutput) SetAnalysisArn(v string) *DescribeAnalysisPermissionsOutput {
21525	s.AnalysisArn = &v
21526	return s
21527}
21528
21529// SetAnalysisId sets the AnalysisId field's value.
21530func (s *DescribeAnalysisPermissionsOutput) SetAnalysisId(v string) *DescribeAnalysisPermissionsOutput {
21531	s.AnalysisId = &v
21532	return s
21533}
21534
21535// SetPermissions sets the Permissions field's value.
21536func (s *DescribeAnalysisPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeAnalysisPermissionsOutput {
21537	s.Permissions = v
21538	return s
21539}
21540
21541// SetRequestId sets the RequestId field's value.
21542func (s *DescribeAnalysisPermissionsOutput) SetRequestId(v string) *DescribeAnalysisPermissionsOutput {
21543	s.RequestId = &v
21544	return s
21545}
21546
21547// SetStatus sets the Status field's value.
21548func (s *DescribeAnalysisPermissionsOutput) SetStatus(v int64) *DescribeAnalysisPermissionsOutput {
21549	s.Status = &v
21550	return s
21551}
21552
21553type DescribeDashboardInput struct {
21554	_ struct{} `type:"structure"`
21555
21556	// The alias name.
21557	AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"`
21558
21559	// The ID of the Amazon Web Services account that contains the dashboard that
21560	// you're describing.
21561	//
21562	// AwsAccountId is a required field
21563	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
21564
21565	// The ID for the dashboard.
21566	//
21567	// DashboardId is a required field
21568	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
21569
21570	// The version number for the dashboard. If a version number isn't passed, the
21571	// latest published dashboard version is described.
21572	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
21573}
21574
21575// String returns the string representation
21576func (s DescribeDashboardInput) String() string {
21577	return awsutil.Prettify(s)
21578}
21579
21580// GoString returns the string representation
21581func (s DescribeDashboardInput) GoString() string {
21582	return s.String()
21583}
21584
21585// Validate inspects the fields of the type to determine if they are valid.
21586func (s *DescribeDashboardInput) Validate() error {
21587	invalidParams := request.ErrInvalidParams{Context: "DescribeDashboardInput"}
21588	if s.AliasName != nil && len(*s.AliasName) < 1 {
21589		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
21590	}
21591	if s.AwsAccountId == nil {
21592		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
21593	}
21594	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
21595		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
21596	}
21597	if s.DashboardId == nil {
21598		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
21599	}
21600	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
21601		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
21602	}
21603	if s.VersionNumber != nil && *s.VersionNumber < 1 {
21604		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
21605	}
21606
21607	if invalidParams.Len() > 0 {
21608		return invalidParams
21609	}
21610	return nil
21611}
21612
21613// SetAliasName sets the AliasName field's value.
21614func (s *DescribeDashboardInput) SetAliasName(v string) *DescribeDashboardInput {
21615	s.AliasName = &v
21616	return s
21617}
21618
21619// SetAwsAccountId sets the AwsAccountId field's value.
21620func (s *DescribeDashboardInput) SetAwsAccountId(v string) *DescribeDashboardInput {
21621	s.AwsAccountId = &v
21622	return s
21623}
21624
21625// SetDashboardId sets the DashboardId field's value.
21626func (s *DescribeDashboardInput) SetDashboardId(v string) *DescribeDashboardInput {
21627	s.DashboardId = &v
21628	return s
21629}
21630
21631// SetVersionNumber sets the VersionNumber field's value.
21632func (s *DescribeDashboardInput) SetVersionNumber(v int64) *DescribeDashboardInput {
21633	s.VersionNumber = &v
21634	return s
21635}
21636
21637type DescribeDashboardOutput struct {
21638	_ struct{} `type:"structure"`
21639
21640	// Information about the dashboard.
21641	Dashboard *Dashboard `type:"structure"`
21642
21643	// The Amazon Web Services request ID for this operation.
21644	RequestId *string `type:"string"`
21645
21646	// The HTTP status of this request.
21647	Status *int64 `location:"statusCode" type:"integer"`
21648}
21649
21650// String returns the string representation
21651func (s DescribeDashboardOutput) String() string {
21652	return awsutil.Prettify(s)
21653}
21654
21655// GoString returns the string representation
21656func (s DescribeDashboardOutput) GoString() string {
21657	return s.String()
21658}
21659
21660// SetDashboard sets the Dashboard field's value.
21661func (s *DescribeDashboardOutput) SetDashboard(v *Dashboard) *DescribeDashboardOutput {
21662	s.Dashboard = v
21663	return s
21664}
21665
21666// SetRequestId sets the RequestId field's value.
21667func (s *DescribeDashboardOutput) SetRequestId(v string) *DescribeDashboardOutput {
21668	s.RequestId = &v
21669	return s
21670}
21671
21672// SetStatus sets the Status field's value.
21673func (s *DescribeDashboardOutput) SetStatus(v int64) *DescribeDashboardOutput {
21674	s.Status = &v
21675	return s
21676}
21677
21678type DescribeDashboardPermissionsInput struct {
21679	_ struct{} `type:"structure"`
21680
21681	// The ID of the Amazon Web Services account that contains the dashboard that
21682	// you're describing permissions for.
21683	//
21684	// AwsAccountId is a required field
21685	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
21686
21687	// The ID for the dashboard, also added to the IAMpolicy.
21688	//
21689	// DashboardId is a required field
21690	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
21691}
21692
21693// String returns the string representation
21694func (s DescribeDashboardPermissionsInput) String() string {
21695	return awsutil.Prettify(s)
21696}
21697
21698// GoString returns the string representation
21699func (s DescribeDashboardPermissionsInput) GoString() string {
21700	return s.String()
21701}
21702
21703// Validate inspects the fields of the type to determine if they are valid.
21704func (s *DescribeDashboardPermissionsInput) Validate() error {
21705	invalidParams := request.ErrInvalidParams{Context: "DescribeDashboardPermissionsInput"}
21706	if s.AwsAccountId == nil {
21707		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
21708	}
21709	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
21710		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
21711	}
21712	if s.DashboardId == nil {
21713		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
21714	}
21715	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
21716		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
21717	}
21718
21719	if invalidParams.Len() > 0 {
21720		return invalidParams
21721	}
21722	return nil
21723}
21724
21725// SetAwsAccountId sets the AwsAccountId field's value.
21726func (s *DescribeDashboardPermissionsInput) SetAwsAccountId(v string) *DescribeDashboardPermissionsInput {
21727	s.AwsAccountId = &v
21728	return s
21729}
21730
21731// SetDashboardId sets the DashboardId field's value.
21732func (s *DescribeDashboardPermissionsInput) SetDashboardId(v string) *DescribeDashboardPermissionsInput {
21733	s.DashboardId = &v
21734	return s
21735}
21736
21737type DescribeDashboardPermissionsOutput struct {
21738	_ struct{} `type:"structure"`
21739
21740	// The Amazon Resource Name (ARN) of the dashboard.
21741	DashboardArn *string `type:"string"`
21742
21743	// The ID for the dashboard.
21744	DashboardId *string `min:"1" type:"string"`
21745
21746	// A structure that contains the permissions for the dashboard.
21747	Permissions []*ResourcePermission `min:"1" type:"list"`
21748
21749	// The Amazon Web Services request ID for this operation.
21750	RequestId *string `type:"string"`
21751
21752	// The HTTP status of the request.
21753	Status *int64 `location:"statusCode" type:"integer"`
21754}
21755
21756// String returns the string representation
21757func (s DescribeDashboardPermissionsOutput) String() string {
21758	return awsutil.Prettify(s)
21759}
21760
21761// GoString returns the string representation
21762func (s DescribeDashboardPermissionsOutput) GoString() string {
21763	return s.String()
21764}
21765
21766// SetDashboardArn sets the DashboardArn field's value.
21767func (s *DescribeDashboardPermissionsOutput) SetDashboardArn(v string) *DescribeDashboardPermissionsOutput {
21768	s.DashboardArn = &v
21769	return s
21770}
21771
21772// SetDashboardId sets the DashboardId field's value.
21773func (s *DescribeDashboardPermissionsOutput) SetDashboardId(v string) *DescribeDashboardPermissionsOutput {
21774	s.DashboardId = &v
21775	return s
21776}
21777
21778// SetPermissions sets the Permissions field's value.
21779func (s *DescribeDashboardPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeDashboardPermissionsOutput {
21780	s.Permissions = v
21781	return s
21782}
21783
21784// SetRequestId sets the RequestId field's value.
21785func (s *DescribeDashboardPermissionsOutput) SetRequestId(v string) *DescribeDashboardPermissionsOutput {
21786	s.RequestId = &v
21787	return s
21788}
21789
21790// SetStatus sets the Status field's value.
21791func (s *DescribeDashboardPermissionsOutput) SetStatus(v int64) *DescribeDashboardPermissionsOutput {
21792	s.Status = &v
21793	return s
21794}
21795
21796type DescribeDataSetInput struct {
21797	_ struct{} `type:"structure"`
21798
21799	// The Amazon Web Services account ID.
21800	//
21801	// AwsAccountId is a required field
21802	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
21803
21804	// The ID for the dataset that you want to create. This ID is unique per Amazon
21805	// Web Services Region; for each Amazon Web Services account.
21806	//
21807	// DataSetId is a required field
21808	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
21809}
21810
21811// String returns the string representation
21812func (s DescribeDataSetInput) String() string {
21813	return awsutil.Prettify(s)
21814}
21815
21816// GoString returns the string representation
21817func (s DescribeDataSetInput) GoString() string {
21818	return s.String()
21819}
21820
21821// Validate inspects the fields of the type to determine if they are valid.
21822func (s *DescribeDataSetInput) Validate() error {
21823	invalidParams := request.ErrInvalidParams{Context: "DescribeDataSetInput"}
21824	if s.AwsAccountId == nil {
21825		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
21826	}
21827	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
21828		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
21829	}
21830	if s.DataSetId == nil {
21831		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
21832	}
21833	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
21834		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
21835	}
21836
21837	if invalidParams.Len() > 0 {
21838		return invalidParams
21839	}
21840	return nil
21841}
21842
21843// SetAwsAccountId sets the AwsAccountId field's value.
21844func (s *DescribeDataSetInput) SetAwsAccountId(v string) *DescribeDataSetInput {
21845	s.AwsAccountId = &v
21846	return s
21847}
21848
21849// SetDataSetId sets the DataSetId field's value.
21850func (s *DescribeDataSetInput) SetDataSetId(v string) *DescribeDataSetInput {
21851	s.DataSetId = &v
21852	return s
21853}
21854
21855type DescribeDataSetOutput struct {
21856	_ struct{} `type:"structure"`
21857
21858	// Information on the dataset.
21859	DataSet *DataSet `type:"structure"`
21860
21861	// The Amazon Web Services request ID for this operation.
21862	RequestId *string `type:"string"`
21863
21864	// The HTTP status of the request.
21865	Status *int64 `location:"statusCode" type:"integer"`
21866}
21867
21868// String returns the string representation
21869func (s DescribeDataSetOutput) String() string {
21870	return awsutil.Prettify(s)
21871}
21872
21873// GoString returns the string representation
21874func (s DescribeDataSetOutput) GoString() string {
21875	return s.String()
21876}
21877
21878// SetDataSet sets the DataSet field's value.
21879func (s *DescribeDataSetOutput) SetDataSet(v *DataSet) *DescribeDataSetOutput {
21880	s.DataSet = v
21881	return s
21882}
21883
21884// SetRequestId sets the RequestId field's value.
21885func (s *DescribeDataSetOutput) SetRequestId(v string) *DescribeDataSetOutput {
21886	s.RequestId = &v
21887	return s
21888}
21889
21890// SetStatus sets the Status field's value.
21891func (s *DescribeDataSetOutput) SetStatus(v int64) *DescribeDataSetOutput {
21892	s.Status = &v
21893	return s
21894}
21895
21896type DescribeDataSetPermissionsInput struct {
21897	_ struct{} `type:"structure"`
21898
21899	// The Amazon Web Services account ID.
21900	//
21901	// AwsAccountId is a required field
21902	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
21903
21904	// The ID for the dataset that you want to create. This ID is unique per Amazon
21905	// Web Services Region; for each Amazon Web Services account.
21906	//
21907	// DataSetId is a required field
21908	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
21909}
21910
21911// String returns the string representation
21912func (s DescribeDataSetPermissionsInput) String() string {
21913	return awsutil.Prettify(s)
21914}
21915
21916// GoString returns the string representation
21917func (s DescribeDataSetPermissionsInput) GoString() string {
21918	return s.String()
21919}
21920
21921// Validate inspects the fields of the type to determine if they are valid.
21922func (s *DescribeDataSetPermissionsInput) Validate() error {
21923	invalidParams := request.ErrInvalidParams{Context: "DescribeDataSetPermissionsInput"}
21924	if s.AwsAccountId == nil {
21925		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
21926	}
21927	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
21928		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
21929	}
21930	if s.DataSetId == nil {
21931		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
21932	}
21933	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
21934		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
21935	}
21936
21937	if invalidParams.Len() > 0 {
21938		return invalidParams
21939	}
21940	return nil
21941}
21942
21943// SetAwsAccountId sets the AwsAccountId field's value.
21944func (s *DescribeDataSetPermissionsInput) SetAwsAccountId(v string) *DescribeDataSetPermissionsInput {
21945	s.AwsAccountId = &v
21946	return s
21947}
21948
21949// SetDataSetId sets the DataSetId field's value.
21950func (s *DescribeDataSetPermissionsInput) SetDataSetId(v string) *DescribeDataSetPermissionsInput {
21951	s.DataSetId = &v
21952	return s
21953}
21954
21955type DescribeDataSetPermissionsOutput struct {
21956	_ struct{} `type:"structure"`
21957
21958	// The Amazon Resource Name (ARN) of the dataset.
21959	DataSetArn *string `type:"string"`
21960
21961	// The ID for the dataset that you want to create. This ID is unique per Amazon
21962	// Web Services Region; for each Amazon Web Services account.
21963	DataSetId *string `type:"string"`
21964
21965	// A list of resource permissions on the dataset.
21966	Permissions []*ResourcePermission `min:"1" type:"list"`
21967
21968	// The Amazon Web Services request ID for this operation.
21969	RequestId *string `type:"string"`
21970
21971	// The HTTP status of the request.
21972	Status *int64 `location:"statusCode" type:"integer"`
21973}
21974
21975// String returns the string representation
21976func (s DescribeDataSetPermissionsOutput) String() string {
21977	return awsutil.Prettify(s)
21978}
21979
21980// GoString returns the string representation
21981func (s DescribeDataSetPermissionsOutput) GoString() string {
21982	return s.String()
21983}
21984
21985// SetDataSetArn sets the DataSetArn field's value.
21986func (s *DescribeDataSetPermissionsOutput) SetDataSetArn(v string) *DescribeDataSetPermissionsOutput {
21987	s.DataSetArn = &v
21988	return s
21989}
21990
21991// SetDataSetId sets the DataSetId field's value.
21992func (s *DescribeDataSetPermissionsOutput) SetDataSetId(v string) *DescribeDataSetPermissionsOutput {
21993	s.DataSetId = &v
21994	return s
21995}
21996
21997// SetPermissions sets the Permissions field's value.
21998func (s *DescribeDataSetPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeDataSetPermissionsOutput {
21999	s.Permissions = v
22000	return s
22001}
22002
22003// SetRequestId sets the RequestId field's value.
22004func (s *DescribeDataSetPermissionsOutput) SetRequestId(v string) *DescribeDataSetPermissionsOutput {
22005	s.RequestId = &v
22006	return s
22007}
22008
22009// SetStatus sets the Status field's value.
22010func (s *DescribeDataSetPermissionsOutput) SetStatus(v int64) *DescribeDataSetPermissionsOutput {
22011	s.Status = &v
22012	return s
22013}
22014
22015type DescribeDataSourceInput struct {
22016	_ struct{} `type:"structure"`
22017
22018	// The Amazon Web Services account ID.
22019	//
22020	// AwsAccountId is a required field
22021	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
22022
22023	// The ID of the data source. This ID is unique per Amazon Web Services Region;
22024	// for each Amazon Web Services account.
22025	//
22026	// DataSourceId is a required field
22027	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
22028}
22029
22030// String returns the string representation
22031func (s DescribeDataSourceInput) String() string {
22032	return awsutil.Prettify(s)
22033}
22034
22035// GoString returns the string representation
22036func (s DescribeDataSourceInput) GoString() string {
22037	return s.String()
22038}
22039
22040// Validate inspects the fields of the type to determine if they are valid.
22041func (s *DescribeDataSourceInput) Validate() error {
22042	invalidParams := request.ErrInvalidParams{Context: "DescribeDataSourceInput"}
22043	if s.AwsAccountId == nil {
22044		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
22045	}
22046	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
22047		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
22048	}
22049	if s.DataSourceId == nil {
22050		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
22051	}
22052	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
22053		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
22054	}
22055
22056	if invalidParams.Len() > 0 {
22057		return invalidParams
22058	}
22059	return nil
22060}
22061
22062// SetAwsAccountId sets the AwsAccountId field's value.
22063func (s *DescribeDataSourceInput) SetAwsAccountId(v string) *DescribeDataSourceInput {
22064	s.AwsAccountId = &v
22065	return s
22066}
22067
22068// SetDataSourceId sets the DataSourceId field's value.
22069func (s *DescribeDataSourceInput) SetDataSourceId(v string) *DescribeDataSourceInput {
22070	s.DataSourceId = &v
22071	return s
22072}
22073
22074type DescribeDataSourceOutput struct {
22075	_ struct{} `type:"structure"`
22076
22077	// The information on the data source.
22078	DataSource *DataSource `type:"structure"`
22079
22080	// The Amazon Web Services request ID for this operation.
22081	RequestId *string `type:"string"`
22082
22083	// The HTTP status of the request.
22084	Status *int64 `location:"statusCode" type:"integer"`
22085}
22086
22087// String returns the string representation
22088func (s DescribeDataSourceOutput) String() string {
22089	return awsutil.Prettify(s)
22090}
22091
22092// GoString returns the string representation
22093func (s DescribeDataSourceOutput) GoString() string {
22094	return s.String()
22095}
22096
22097// SetDataSource sets the DataSource field's value.
22098func (s *DescribeDataSourceOutput) SetDataSource(v *DataSource) *DescribeDataSourceOutput {
22099	s.DataSource = v
22100	return s
22101}
22102
22103// SetRequestId sets the RequestId field's value.
22104func (s *DescribeDataSourceOutput) SetRequestId(v string) *DescribeDataSourceOutput {
22105	s.RequestId = &v
22106	return s
22107}
22108
22109// SetStatus sets the Status field's value.
22110func (s *DescribeDataSourceOutput) SetStatus(v int64) *DescribeDataSourceOutput {
22111	s.Status = &v
22112	return s
22113}
22114
22115type DescribeDataSourcePermissionsInput struct {
22116	_ struct{} `type:"structure"`
22117
22118	// The Amazon Web Services account ID.
22119	//
22120	// AwsAccountId is a required field
22121	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
22122
22123	// The ID of the data source. This ID is unique per Amazon Web Services Region;
22124	// for each Amazon Web Services account.
22125	//
22126	// DataSourceId is a required field
22127	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
22128}
22129
22130// String returns the string representation
22131func (s DescribeDataSourcePermissionsInput) String() string {
22132	return awsutil.Prettify(s)
22133}
22134
22135// GoString returns the string representation
22136func (s DescribeDataSourcePermissionsInput) GoString() string {
22137	return s.String()
22138}
22139
22140// Validate inspects the fields of the type to determine if they are valid.
22141func (s *DescribeDataSourcePermissionsInput) Validate() error {
22142	invalidParams := request.ErrInvalidParams{Context: "DescribeDataSourcePermissionsInput"}
22143	if s.AwsAccountId == nil {
22144		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
22145	}
22146	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
22147		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
22148	}
22149	if s.DataSourceId == nil {
22150		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
22151	}
22152	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
22153		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
22154	}
22155
22156	if invalidParams.Len() > 0 {
22157		return invalidParams
22158	}
22159	return nil
22160}
22161
22162// SetAwsAccountId sets the AwsAccountId field's value.
22163func (s *DescribeDataSourcePermissionsInput) SetAwsAccountId(v string) *DescribeDataSourcePermissionsInput {
22164	s.AwsAccountId = &v
22165	return s
22166}
22167
22168// SetDataSourceId sets the DataSourceId field's value.
22169func (s *DescribeDataSourcePermissionsInput) SetDataSourceId(v string) *DescribeDataSourcePermissionsInput {
22170	s.DataSourceId = &v
22171	return s
22172}
22173
22174type DescribeDataSourcePermissionsOutput struct {
22175	_ struct{} `type:"structure"`
22176
22177	// The Amazon Resource Name (ARN) of the data source.
22178	DataSourceArn *string `type:"string"`
22179
22180	// The ID of the data source. This ID is unique per Amazon Web Services Region;
22181	// for each Amazon Web Services account.
22182	DataSourceId *string `type:"string"`
22183
22184	// A list of resource permissions on the data source.
22185	Permissions []*ResourcePermission `min:"1" type:"list"`
22186
22187	// The Amazon Web Services request ID for this operation.
22188	RequestId *string `type:"string"`
22189
22190	// The HTTP status of the request.
22191	Status *int64 `location:"statusCode" type:"integer"`
22192}
22193
22194// String returns the string representation
22195func (s DescribeDataSourcePermissionsOutput) String() string {
22196	return awsutil.Prettify(s)
22197}
22198
22199// GoString returns the string representation
22200func (s DescribeDataSourcePermissionsOutput) GoString() string {
22201	return s.String()
22202}
22203
22204// SetDataSourceArn sets the DataSourceArn field's value.
22205func (s *DescribeDataSourcePermissionsOutput) SetDataSourceArn(v string) *DescribeDataSourcePermissionsOutput {
22206	s.DataSourceArn = &v
22207	return s
22208}
22209
22210// SetDataSourceId sets the DataSourceId field's value.
22211func (s *DescribeDataSourcePermissionsOutput) SetDataSourceId(v string) *DescribeDataSourcePermissionsOutput {
22212	s.DataSourceId = &v
22213	return s
22214}
22215
22216// SetPermissions sets the Permissions field's value.
22217func (s *DescribeDataSourcePermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeDataSourcePermissionsOutput {
22218	s.Permissions = v
22219	return s
22220}
22221
22222// SetRequestId sets the RequestId field's value.
22223func (s *DescribeDataSourcePermissionsOutput) SetRequestId(v string) *DescribeDataSourcePermissionsOutput {
22224	s.RequestId = &v
22225	return s
22226}
22227
22228// SetStatus sets the Status field's value.
22229func (s *DescribeDataSourcePermissionsOutput) SetStatus(v int64) *DescribeDataSourcePermissionsOutput {
22230	s.Status = &v
22231	return s
22232}
22233
22234type DescribeFolderInput struct {
22235	_ struct{} `type:"structure"`
22236
22237	// The AWS account ID.
22238	//
22239	// AwsAccountId is a required field
22240	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
22241
22242	// The folder ID.
22243	//
22244	// FolderId is a required field
22245	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
22246}
22247
22248// String returns the string representation
22249func (s DescribeFolderInput) String() string {
22250	return awsutil.Prettify(s)
22251}
22252
22253// GoString returns the string representation
22254func (s DescribeFolderInput) GoString() string {
22255	return s.String()
22256}
22257
22258// Validate inspects the fields of the type to determine if they are valid.
22259func (s *DescribeFolderInput) Validate() error {
22260	invalidParams := request.ErrInvalidParams{Context: "DescribeFolderInput"}
22261	if s.AwsAccountId == nil {
22262		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
22263	}
22264	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
22265		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
22266	}
22267	if s.FolderId == nil {
22268		invalidParams.Add(request.NewErrParamRequired("FolderId"))
22269	}
22270	if s.FolderId != nil && len(*s.FolderId) < 1 {
22271		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
22272	}
22273
22274	if invalidParams.Len() > 0 {
22275		return invalidParams
22276	}
22277	return nil
22278}
22279
22280// SetAwsAccountId sets the AwsAccountId field's value.
22281func (s *DescribeFolderInput) SetAwsAccountId(v string) *DescribeFolderInput {
22282	s.AwsAccountId = &v
22283	return s
22284}
22285
22286// SetFolderId sets the FolderId field's value.
22287func (s *DescribeFolderInput) SetFolderId(v string) *DescribeFolderInput {
22288	s.FolderId = &v
22289	return s
22290}
22291
22292type DescribeFolderOutput struct {
22293	_ struct{} `type:"structure"`
22294
22295	// Information about the folder.
22296	Folder *Folder `type:"structure"`
22297
22298	// The request ID.
22299	RequestId *string `type:"string"`
22300
22301	// The status. If succeeded, the status is SC_OK (200).
22302	Status *int64 `location:"statusCode" type:"integer"`
22303}
22304
22305// String returns the string representation
22306func (s DescribeFolderOutput) String() string {
22307	return awsutil.Prettify(s)
22308}
22309
22310// GoString returns the string representation
22311func (s DescribeFolderOutput) GoString() string {
22312	return s.String()
22313}
22314
22315// SetFolder sets the Folder field's value.
22316func (s *DescribeFolderOutput) SetFolder(v *Folder) *DescribeFolderOutput {
22317	s.Folder = v
22318	return s
22319}
22320
22321// SetRequestId sets the RequestId field's value.
22322func (s *DescribeFolderOutput) SetRequestId(v string) *DescribeFolderOutput {
22323	s.RequestId = &v
22324	return s
22325}
22326
22327// SetStatus sets the Status field's value.
22328func (s *DescribeFolderOutput) SetStatus(v int64) *DescribeFolderOutput {
22329	s.Status = &v
22330	return s
22331}
22332
22333type DescribeFolderPermissionsInput struct {
22334	_ struct{} `type:"structure"`
22335
22336	// The AWS Account ID.
22337	//
22338	// AwsAccountId is a required field
22339	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
22340
22341	// The folder ID.
22342	//
22343	// FolderId is a required field
22344	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
22345}
22346
22347// String returns the string representation
22348func (s DescribeFolderPermissionsInput) String() string {
22349	return awsutil.Prettify(s)
22350}
22351
22352// GoString returns the string representation
22353func (s DescribeFolderPermissionsInput) GoString() string {
22354	return s.String()
22355}
22356
22357// Validate inspects the fields of the type to determine if they are valid.
22358func (s *DescribeFolderPermissionsInput) Validate() error {
22359	invalidParams := request.ErrInvalidParams{Context: "DescribeFolderPermissionsInput"}
22360	if s.AwsAccountId == nil {
22361		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
22362	}
22363	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
22364		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
22365	}
22366	if s.FolderId == nil {
22367		invalidParams.Add(request.NewErrParamRequired("FolderId"))
22368	}
22369	if s.FolderId != nil && len(*s.FolderId) < 1 {
22370		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
22371	}
22372
22373	if invalidParams.Len() > 0 {
22374		return invalidParams
22375	}
22376	return nil
22377}
22378
22379// SetAwsAccountId sets the AwsAccountId field's value.
22380func (s *DescribeFolderPermissionsInput) SetAwsAccountId(v string) *DescribeFolderPermissionsInput {
22381	s.AwsAccountId = &v
22382	return s
22383}
22384
22385// SetFolderId sets the FolderId field's value.
22386func (s *DescribeFolderPermissionsInput) SetFolderId(v string) *DescribeFolderPermissionsInput {
22387	s.FolderId = &v
22388	return s
22389}
22390
22391type DescribeFolderPermissionsOutput struct {
22392	_ struct{} `type:"structure"`
22393
22394	// The Amazon Resource Name (ARN) for the folder.
22395	Arn *string `type:"string"`
22396
22397	// The folder ID.
22398	FolderId *string `min:"1" type:"string"`
22399
22400	// Information about the permissions on the folder.
22401	Permissions []*ResourcePermission `min:"1" type:"list"`
22402
22403	// The request ID.
22404	RequestId *string `type:"string"`
22405
22406	// The status. If succeeded, the status is SC_OK.
22407	Status *int64 `location:"statusCode" type:"integer"`
22408}
22409
22410// String returns the string representation
22411func (s DescribeFolderPermissionsOutput) String() string {
22412	return awsutil.Prettify(s)
22413}
22414
22415// GoString returns the string representation
22416func (s DescribeFolderPermissionsOutput) GoString() string {
22417	return s.String()
22418}
22419
22420// SetArn sets the Arn field's value.
22421func (s *DescribeFolderPermissionsOutput) SetArn(v string) *DescribeFolderPermissionsOutput {
22422	s.Arn = &v
22423	return s
22424}
22425
22426// SetFolderId sets the FolderId field's value.
22427func (s *DescribeFolderPermissionsOutput) SetFolderId(v string) *DescribeFolderPermissionsOutput {
22428	s.FolderId = &v
22429	return s
22430}
22431
22432// SetPermissions sets the Permissions field's value.
22433func (s *DescribeFolderPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeFolderPermissionsOutput {
22434	s.Permissions = v
22435	return s
22436}
22437
22438// SetRequestId sets the RequestId field's value.
22439func (s *DescribeFolderPermissionsOutput) SetRequestId(v string) *DescribeFolderPermissionsOutput {
22440	s.RequestId = &v
22441	return s
22442}
22443
22444// SetStatus sets the Status field's value.
22445func (s *DescribeFolderPermissionsOutput) SetStatus(v int64) *DescribeFolderPermissionsOutput {
22446	s.Status = &v
22447	return s
22448}
22449
22450type DescribeFolderResolvedPermissionsInput struct {
22451	_ struct{} `type:"structure"`
22452
22453	// The AWS account ID.
22454	//
22455	// AwsAccountId is a required field
22456	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
22457
22458	// The folder ID.
22459	//
22460	// FolderId is a required field
22461	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
22462}
22463
22464// String returns the string representation
22465func (s DescribeFolderResolvedPermissionsInput) String() string {
22466	return awsutil.Prettify(s)
22467}
22468
22469// GoString returns the string representation
22470func (s DescribeFolderResolvedPermissionsInput) GoString() string {
22471	return s.String()
22472}
22473
22474// Validate inspects the fields of the type to determine if they are valid.
22475func (s *DescribeFolderResolvedPermissionsInput) Validate() error {
22476	invalidParams := request.ErrInvalidParams{Context: "DescribeFolderResolvedPermissionsInput"}
22477	if s.AwsAccountId == nil {
22478		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
22479	}
22480	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
22481		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
22482	}
22483	if s.FolderId == nil {
22484		invalidParams.Add(request.NewErrParamRequired("FolderId"))
22485	}
22486	if s.FolderId != nil && len(*s.FolderId) < 1 {
22487		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
22488	}
22489
22490	if invalidParams.Len() > 0 {
22491		return invalidParams
22492	}
22493	return nil
22494}
22495
22496// SetAwsAccountId sets the AwsAccountId field's value.
22497func (s *DescribeFolderResolvedPermissionsInput) SetAwsAccountId(v string) *DescribeFolderResolvedPermissionsInput {
22498	s.AwsAccountId = &v
22499	return s
22500}
22501
22502// SetFolderId sets the FolderId field's value.
22503func (s *DescribeFolderResolvedPermissionsInput) SetFolderId(v string) *DescribeFolderResolvedPermissionsInput {
22504	s.FolderId = &v
22505	return s
22506}
22507
22508type DescribeFolderResolvedPermissionsOutput struct {
22509	_ struct{} `type:"structure"`
22510
22511	// The Amazon Resource Name (ARN).
22512	Arn *string `type:"string"`
22513
22514	// The folder ID.
22515	FolderId *string `min:"1" type:"string"`
22516
22517	// Information about the permissions on the dashboard.
22518	Permissions []*ResourcePermission `min:"1" type:"list"`
22519
22520	// The request ID.
22521	RequestId *string `type:"string"`
22522
22523	// The status. If succeeded, the status is SC_OK
22524	Status *int64 `location:"statusCode" type:"integer"`
22525}
22526
22527// String returns the string representation
22528func (s DescribeFolderResolvedPermissionsOutput) String() string {
22529	return awsutil.Prettify(s)
22530}
22531
22532// GoString returns the string representation
22533func (s DescribeFolderResolvedPermissionsOutput) GoString() string {
22534	return s.String()
22535}
22536
22537// SetArn sets the Arn field's value.
22538func (s *DescribeFolderResolvedPermissionsOutput) SetArn(v string) *DescribeFolderResolvedPermissionsOutput {
22539	s.Arn = &v
22540	return s
22541}
22542
22543// SetFolderId sets the FolderId field's value.
22544func (s *DescribeFolderResolvedPermissionsOutput) SetFolderId(v string) *DescribeFolderResolvedPermissionsOutput {
22545	s.FolderId = &v
22546	return s
22547}
22548
22549// SetPermissions sets the Permissions field's value.
22550func (s *DescribeFolderResolvedPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeFolderResolvedPermissionsOutput {
22551	s.Permissions = v
22552	return s
22553}
22554
22555// SetRequestId sets the RequestId field's value.
22556func (s *DescribeFolderResolvedPermissionsOutput) SetRequestId(v string) *DescribeFolderResolvedPermissionsOutput {
22557	s.RequestId = &v
22558	return s
22559}
22560
22561// SetStatus sets the Status field's value.
22562func (s *DescribeFolderResolvedPermissionsOutput) SetStatus(v int64) *DescribeFolderResolvedPermissionsOutput {
22563	s.Status = &v
22564	return s
22565}
22566
22567type DescribeGroupInput struct {
22568	_ struct{} `type:"structure"`
22569
22570	// The ID for the Amazon Web Services account that the group is in. Currently,
22571	// you use the ID for the Amazon Web Services account that contains your Amazon
22572	// QuickSight account.
22573	//
22574	// AwsAccountId is a required field
22575	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
22576
22577	// The name of the group that you want to describe.
22578	//
22579	// GroupName is a required field
22580	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
22581
22582	// The namespace. Currently, you should set this to default.
22583	//
22584	// Namespace is a required field
22585	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
22586}
22587
22588// String returns the string representation
22589func (s DescribeGroupInput) String() string {
22590	return awsutil.Prettify(s)
22591}
22592
22593// GoString returns the string representation
22594func (s DescribeGroupInput) GoString() string {
22595	return s.String()
22596}
22597
22598// Validate inspects the fields of the type to determine if they are valid.
22599func (s *DescribeGroupInput) Validate() error {
22600	invalidParams := request.ErrInvalidParams{Context: "DescribeGroupInput"}
22601	if s.AwsAccountId == nil {
22602		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
22603	}
22604	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
22605		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
22606	}
22607	if s.GroupName == nil {
22608		invalidParams.Add(request.NewErrParamRequired("GroupName"))
22609	}
22610	if s.GroupName != nil && len(*s.GroupName) < 1 {
22611		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
22612	}
22613	if s.Namespace == nil {
22614		invalidParams.Add(request.NewErrParamRequired("Namespace"))
22615	}
22616	if s.Namespace != nil && len(*s.Namespace) < 1 {
22617		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
22618	}
22619
22620	if invalidParams.Len() > 0 {
22621		return invalidParams
22622	}
22623	return nil
22624}
22625
22626// SetAwsAccountId sets the AwsAccountId field's value.
22627func (s *DescribeGroupInput) SetAwsAccountId(v string) *DescribeGroupInput {
22628	s.AwsAccountId = &v
22629	return s
22630}
22631
22632// SetGroupName sets the GroupName field's value.
22633func (s *DescribeGroupInput) SetGroupName(v string) *DescribeGroupInput {
22634	s.GroupName = &v
22635	return s
22636}
22637
22638// SetNamespace sets the Namespace field's value.
22639func (s *DescribeGroupInput) SetNamespace(v string) *DescribeGroupInput {
22640	s.Namespace = &v
22641	return s
22642}
22643
22644type DescribeGroupOutput struct {
22645	_ struct{} `type:"structure"`
22646
22647	// The name of the group.
22648	Group *Group `type:"structure"`
22649
22650	// The Amazon Web Services request ID for this operation.
22651	RequestId *string `type:"string"`
22652
22653	// The HTTP status of the request.
22654	Status *int64 `location:"statusCode" type:"integer"`
22655}
22656
22657// String returns the string representation
22658func (s DescribeGroupOutput) String() string {
22659	return awsutil.Prettify(s)
22660}
22661
22662// GoString returns the string representation
22663func (s DescribeGroupOutput) GoString() string {
22664	return s.String()
22665}
22666
22667// SetGroup sets the Group field's value.
22668func (s *DescribeGroupOutput) SetGroup(v *Group) *DescribeGroupOutput {
22669	s.Group = v
22670	return s
22671}
22672
22673// SetRequestId sets the RequestId field's value.
22674func (s *DescribeGroupOutput) SetRequestId(v string) *DescribeGroupOutput {
22675	s.RequestId = &v
22676	return s
22677}
22678
22679// SetStatus sets the Status field's value.
22680func (s *DescribeGroupOutput) SetStatus(v int64) *DescribeGroupOutput {
22681	s.Status = &v
22682	return s
22683}
22684
22685type DescribeIAMPolicyAssignmentInput struct {
22686	_ struct{} `type:"structure"`
22687
22688	// The name of the assignment, also called a rule.
22689	//
22690	// AssignmentName is a required field
22691	AssignmentName *string `location:"uri" locationName:"AssignmentName" min:"1" type:"string" required:"true"`
22692
22693	// The ID of the Amazon Web Services account that contains the assignment that
22694	// you want to describe.
22695	//
22696	// AwsAccountId is a required field
22697	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
22698
22699	// The namespace that contains the assignment.
22700	//
22701	// Namespace is a required field
22702	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
22703}
22704
22705// String returns the string representation
22706func (s DescribeIAMPolicyAssignmentInput) String() string {
22707	return awsutil.Prettify(s)
22708}
22709
22710// GoString returns the string representation
22711func (s DescribeIAMPolicyAssignmentInput) GoString() string {
22712	return s.String()
22713}
22714
22715// Validate inspects the fields of the type to determine if they are valid.
22716func (s *DescribeIAMPolicyAssignmentInput) Validate() error {
22717	invalidParams := request.ErrInvalidParams{Context: "DescribeIAMPolicyAssignmentInput"}
22718	if s.AssignmentName == nil {
22719		invalidParams.Add(request.NewErrParamRequired("AssignmentName"))
22720	}
22721	if s.AssignmentName != nil && len(*s.AssignmentName) < 1 {
22722		invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1))
22723	}
22724	if s.AwsAccountId == nil {
22725		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
22726	}
22727	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
22728		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
22729	}
22730	if s.Namespace == nil {
22731		invalidParams.Add(request.NewErrParamRequired("Namespace"))
22732	}
22733	if s.Namespace != nil && len(*s.Namespace) < 1 {
22734		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
22735	}
22736
22737	if invalidParams.Len() > 0 {
22738		return invalidParams
22739	}
22740	return nil
22741}
22742
22743// SetAssignmentName sets the AssignmentName field's value.
22744func (s *DescribeIAMPolicyAssignmentInput) SetAssignmentName(v string) *DescribeIAMPolicyAssignmentInput {
22745	s.AssignmentName = &v
22746	return s
22747}
22748
22749// SetAwsAccountId sets the AwsAccountId field's value.
22750func (s *DescribeIAMPolicyAssignmentInput) SetAwsAccountId(v string) *DescribeIAMPolicyAssignmentInput {
22751	s.AwsAccountId = &v
22752	return s
22753}
22754
22755// SetNamespace sets the Namespace field's value.
22756func (s *DescribeIAMPolicyAssignmentInput) SetNamespace(v string) *DescribeIAMPolicyAssignmentInput {
22757	s.Namespace = &v
22758	return s
22759}
22760
22761type DescribeIAMPolicyAssignmentOutput struct {
22762	_ struct{} `type:"structure"`
22763
22764	// Information describing the IAMpolicy assignment.
22765	IAMPolicyAssignment *IAMPolicyAssignment `type:"structure"`
22766
22767	// The Amazon Web Services request ID for this operation.
22768	RequestId *string `type:"string"`
22769
22770	// The HTTP status of the request.
22771	Status *int64 `location:"statusCode" type:"integer"`
22772}
22773
22774// String returns the string representation
22775func (s DescribeIAMPolicyAssignmentOutput) String() string {
22776	return awsutil.Prettify(s)
22777}
22778
22779// GoString returns the string representation
22780func (s DescribeIAMPolicyAssignmentOutput) GoString() string {
22781	return s.String()
22782}
22783
22784// SetIAMPolicyAssignment sets the IAMPolicyAssignment field's value.
22785func (s *DescribeIAMPolicyAssignmentOutput) SetIAMPolicyAssignment(v *IAMPolicyAssignment) *DescribeIAMPolicyAssignmentOutput {
22786	s.IAMPolicyAssignment = v
22787	return s
22788}
22789
22790// SetRequestId sets the RequestId field's value.
22791func (s *DescribeIAMPolicyAssignmentOutput) SetRequestId(v string) *DescribeIAMPolicyAssignmentOutput {
22792	s.RequestId = &v
22793	return s
22794}
22795
22796// SetStatus sets the Status field's value.
22797func (s *DescribeIAMPolicyAssignmentOutput) SetStatus(v int64) *DescribeIAMPolicyAssignmentOutput {
22798	s.Status = &v
22799	return s
22800}
22801
22802type DescribeIngestionInput struct {
22803	_ struct{} `type:"structure"`
22804
22805	// The Amazon Web Services account ID.
22806	//
22807	// AwsAccountId is a required field
22808	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
22809
22810	// The ID of the dataset used in the ingestion.
22811	//
22812	// DataSetId is a required field
22813	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
22814
22815	// An ID for the ingestion.
22816	//
22817	// IngestionId is a required field
22818	IngestionId *string `location:"uri" locationName:"IngestionId" min:"1" type:"string" required:"true"`
22819}
22820
22821// String returns the string representation
22822func (s DescribeIngestionInput) String() string {
22823	return awsutil.Prettify(s)
22824}
22825
22826// GoString returns the string representation
22827func (s DescribeIngestionInput) GoString() string {
22828	return s.String()
22829}
22830
22831// Validate inspects the fields of the type to determine if they are valid.
22832func (s *DescribeIngestionInput) Validate() error {
22833	invalidParams := request.ErrInvalidParams{Context: "DescribeIngestionInput"}
22834	if s.AwsAccountId == nil {
22835		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
22836	}
22837	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
22838		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
22839	}
22840	if s.DataSetId == nil {
22841		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
22842	}
22843	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
22844		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
22845	}
22846	if s.IngestionId == nil {
22847		invalidParams.Add(request.NewErrParamRequired("IngestionId"))
22848	}
22849	if s.IngestionId != nil && len(*s.IngestionId) < 1 {
22850		invalidParams.Add(request.NewErrParamMinLen("IngestionId", 1))
22851	}
22852
22853	if invalidParams.Len() > 0 {
22854		return invalidParams
22855	}
22856	return nil
22857}
22858
22859// SetAwsAccountId sets the AwsAccountId field's value.
22860func (s *DescribeIngestionInput) SetAwsAccountId(v string) *DescribeIngestionInput {
22861	s.AwsAccountId = &v
22862	return s
22863}
22864
22865// SetDataSetId sets the DataSetId field's value.
22866func (s *DescribeIngestionInput) SetDataSetId(v string) *DescribeIngestionInput {
22867	s.DataSetId = &v
22868	return s
22869}
22870
22871// SetIngestionId sets the IngestionId field's value.
22872func (s *DescribeIngestionInput) SetIngestionId(v string) *DescribeIngestionInput {
22873	s.IngestionId = &v
22874	return s
22875}
22876
22877type DescribeIngestionOutput struct {
22878	_ struct{} `type:"structure"`
22879
22880	// Information about the ingestion.
22881	Ingestion *Ingestion `type:"structure"`
22882
22883	// The Amazon Web Services request ID for this operation.
22884	RequestId *string `type:"string"`
22885
22886	// The HTTP status of the request.
22887	Status *int64 `location:"statusCode" type:"integer"`
22888}
22889
22890// String returns the string representation
22891func (s DescribeIngestionOutput) String() string {
22892	return awsutil.Prettify(s)
22893}
22894
22895// GoString returns the string representation
22896func (s DescribeIngestionOutput) GoString() string {
22897	return s.String()
22898}
22899
22900// SetIngestion sets the Ingestion field's value.
22901func (s *DescribeIngestionOutput) SetIngestion(v *Ingestion) *DescribeIngestionOutput {
22902	s.Ingestion = v
22903	return s
22904}
22905
22906// SetRequestId sets the RequestId field's value.
22907func (s *DescribeIngestionOutput) SetRequestId(v string) *DescribeIngestionOutput {
22908	s.RequestId = &v
22909	return s
22910}
22911
22912// SetStatus sets the Status field's value.
22913func (s *DescribeIngestionOutput) SetStatus(v int64) *DescribeIngestionOutput {
22914	s.Status = &v
22915	return s
22916}
22917
22918type DescribeNamespaceInput struct {
22919	_ struct{} `type:"structure"`
22920
22921	// The ID for the Amazon Web Services account that contains the Amazon QuickSight
22922	// namespace that you want to describe.
22923	//
22924	// AwsAccountId is a required field
22925	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
22926
22927	// The namespace that you want to describe.
22928	//
22929	// Namespace is a required field
22930	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
22931}
22932
22933// String returns the string representation
22934func (s DescribeNamespaceInput) String() string {
22935	return awsutil.Prettify(s)
22936}
22937
22938// GoString returns the string representation
22939func (s DescribeNamespaceInput) GoString() string {
22940	return s.String()
22941}
22942
22943// Validate inspects the fields of the type to determine if they are valid.
22944func (s *DescribeNamespaceInput) Validate() error {
22945	invalidParams := request.ErrInvalidParams{Context: "DescribeNamespaceInput"}
22946	if s.AwsAccountId == nil {
22947		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
22948	}
22949	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
22950		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
22951	}
22952	if s.Namespace == nil {
22953		invalidParams.Add(request.NewErrParamRequired("Namespace"))
22954	}
22955	if s.Namespace != nil && len(*s.Namespace) < 1 {
22956		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
22957	}
22958
22959	if invalidParams.Len() > 0 {
22960		return invalidParams
22961	}
22962	return nil
22963}
22964
22965// SetAwsAccountId sets the AwsAccountId field's value.
22966func (s *DescribeNamespaceInput) SetAwsAccountId(v string) *DescribeNamespaceInput {
22967	s.AwsAccountId = &v
22968	return s
22969}
22970
22971// SetNamespace sets the Namespace field's value.
22972func (s *DescribeNamespaceInput) SetNamespace(v string) *DescribeNamespaceInput {
22973	s.Namespace = &v
22974	return s
22975}
22976
22977type DescribeNamespaceOutput struct {
22978	_ struct{} `type:"structure"`
22979
22980	// The information about the namespace that you're describing. The response
22981	// includes the namespace ARN, name, Amazon Web Services Region;, creation status,
22982	// and identity store. DescribeNamespace also works for namespaces that are
22983	// in the process of being created. For incomplete namespaces, this API operation
22984	// lists the namespace error types and messages associated with the creation
22985	// process.
22986	Namespace *NamespaceInfoV2 `type:"structure"`
22987
22988	// The Amazon Web Services request ID for this operation.
22989	RequestId *string `type:"string"`
22990
22991	// The HTTP status of the request.
22992	Status *int64 `location:"statusCode" type:"integer"`
22993}
22994
22995// String returns the string representation
22996func (s DescribeNamespaceOutput) String() string {
22997	return awsutil.Prettify(s)
22998}
22999
23000// GoString returns the string representation
23001func (s DescribeNamespaceOutput) GoString() string {
23002	return s.String()
23003}
23004
23005// SetNamespace sets the Namespace field's value.
23006func (s *DescribeNamespaceOutput) SetNamespace(v *NamespaceInfoV2) *DescribeNamespaceOutput {
23007	s.Namespace = v
23008	return s
23009}
23010
23011// SetRequestId sets the RequestId field's value.
23012func (s *DescribeNamespaceOutput) SetRequestId(v string) *DescribeNamespaceOutput {
23013	s.RequestId = &v
23014	return s
23015}
23016
23017// SetStatus sets the Status field's value.
23018func (s *DescribeNamespaceOutput) SetStatus(v int64) *DescribeNamespaceOutput {
23019	s.Status = &v
23020	return s
23021}
23022
23023type DescribeTemplateAliasInput struct {
23024	_ struct{} `type:"structure"`
23025
23026	// The name of the template alias that you want to describe. If you name a specific
23027	// alias, you describe the version that the alias points to. You can specify
23028	// the latest version of the template by providing the keyword $LATEST in the
23029	// AliasName parameter. The keyword $PUBLISHED doesn't apply to templates.
23030	//
23031	// AliasName is a required field
23032	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
23033
23034	// The ID of the Amazon Web Services account that contains the template alias
23035	// that you're describing.
23036	//
23037	// AwsAccountId is a required field
23038	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
23039
23040	// The ID for the template.
23041	//
23042	// TemplateId is a required field
23043	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
23044}
23045
23046// String returns the string representation
23047func (s DescribeTemplateAliasInput) String() string {
23048	return awsutil.Prettify(s)
23049}
23050
23051// GoString returns the string representation
23052func (s DescribeTemplateAliasInput) GoString() string {
23053	return s.String()
23054}
23055
23056// Validate inspects the fields of the type to determine if they are valid.
23057func (s *DescribeTemplateAliasInput) Validate() error {
23058	invalidParams := request.ErrInvalidParams{Context: "DescribeTemplateAliasInput"}
23059	if s.AliasName == nil {
23060		invalidParams.Add(request.NewErrParamRequired("AliasName"))
23061	}
23062	if s.AliasName != nil && len(*s.AliasName) < 1 {
23063		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
23064	}
23065	if s.AwsAccountId == nil {
23066		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
23067	}
23068	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
23069		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
23070	}
23071	if s.TemplateId == nil {
23072		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
23073	}
23074	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
23075		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
23076	}
23077
23078	if invalidParams.Len() > 0 {
23079		return invalidParams
23080	}
23081	return nil
23082}
23083
23084// SetAliasName sets the AliasName field's value.
23085func (s *DescribeTemplateAliasInput) SetAliasName(v string) *DescribeTemplateAliasInput {
23086	s.AliasName = &v
23087	return s
23088}
23089
23090// SetAwsAccountId sets the AwsAccountId field's value.
23091func (s *DescribeTemplateAliasInput) SetAwsAccountId(v string) *DescribeTemplateAliasInput {
23092	s.AwsAccountId = &v
23093	return s
23094}
23095
23096// SetTemplateId sets the TemplateId field's value.
23097func (s *DescribeTemplateAliasInput) SetTemplateId(v string) *DescribeTemplateAliasInput {
23098	s.TemplateId = &v
23099	return s
23100}
23101
23102type DescribeTemplateAliasOutput struct {
23103	_ struct{} `type:"structure"`
23104
23105	// The Amazon Web Services request ID for this operation.
23106	RequestId *string `type:"string"`
23107
23108	// The HTTP status of the request.
23109	Status *int64 `location:"statusCode" type:"integer"`
23110
23111	// Information about the template alias.
23112	TemplateAlias *TemplateAlias `type:"structure"`
23113}
23114
23115// String returns the string representation
23116func (s DescribeTemplateAliasOutput) String() string {
23117	return awsutil.Prettify(s)
23118}
23119
23120// GoString returns the string representation
23121func (s DescribeTemplateAliasOutput) GoString() string {
23122	return s.String()
23123}
23124
23125// SetRequestId sets the RequestId field's value.
23126func (s *DescribeTemplateAliasOutput) SetRequestId(v string) *DescribeTemplateAliasOutput {
23127	s.RequestId = &v
23128	return s
23129}
23130
23131// SetStatus sets the Status field's value.
23132func (s *DescribeTemplateAliasOutput) SetStatus(v int64) *DescribeTemplateAliasOutput {
23133	s.Status = &v
23134	return s
23135}
23136
23137// SetTemplateAlias sets the TemplateAlias field's value.
23138func (s *DescribeTemplateAliasOutput) SetTemplateAlias(v *TemplateAlias) *DescribeTemplateAliasOutput {
23139	s.TemplateAlias = v
23140	return s
23141}
23142
23143type DescribeTemplateInput struct {
23144	_ struct{} `type:"structure"`
23145
23146	// The alias of the template that you want to describe. If you name a specific
23147	// alias, you describe the version that the alias points to. You can specify
23148	// the latest version of the template by providing the keyword $LATEST in the
23149	// AliasName parameter. The keyword $PUBLISHED doesn't apply to templates.
23150	AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"`
23151
23152	// The ID of the Amazon Web Services account that contains the template that
23153	// you're describing.
23154	//
23155	// AwsAccountId is a required field
23156	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
23157
23158	// The ID for the template.
23159	//
23160	// TemplateId is a required field
23161	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
23162
23163	// (Optional) The number for the version to describe. If a VersionNumber parameter
23164	// value isn't provided, the latest version of the template is described.
23165	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
23166}
23167
23168// String returns the string representation
23169func (s DescribeTemplateInput) String() string {
23170	return awsutil.Prettify(s)
23171}
23172
23173// GoString returns the string representation
23174func (s DescribeTemplateInput) GoString() string {
23175	return s.String()
23176}
23177
23178// Validate inspects the fields of the type to determine if they are valid.
23179func (s *DescribeTemplateInput) Validate() error {
23180	invalidParams := request.ErrInvalidParams{Context: "DescribeTemplateInput"}
23181	if s.AliasName != nil && len(*s.AliasName) < 1 {
23182		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
23183	}
23184	if s.AwsAccountId == nil {
23185		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
23186	}
23187	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
23188		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
23189	}
23190	if s.TemplateId == nil {
23191		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
23192	}
23193	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
23194		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
23195	}
23196	if s.VersionNumber != nil && *s.VersionNumber < 1 {
23197		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
23198	}
23199
23200	if invalidParams.Len() > 0 {
23201		return invalidParams
23202	}
23203	return nil
23204}
23205
23206// SetAliasName sets the AliasName field's value.
23207func (s *DescribeTemplateInput) SetAliasName(v string) *DescribeTemplateInput {
23208	s.AliasName = &v
23209	return s
23210}
23211
23212// SetAwsAccountId sets the AwsAccountId field's value.
23213func (s *DescribeTemplateInput) SetAwsAccountId(v string) *DescribeTemplateInput {
23214	s.AwsAccountId = &v
23215	return s
23216}
23217
23218// SetTemplateId sets the TemplateId field's value.
23219func (s *DescribeTemplateInput) SetTemplateId(v string) *DescribeTemplateInput {
23220	s.TemplateId = &v
23221	return s
23222}
23223
23224// SetVersionNumber sets the VersionNumber field's value.
23225func (s *DescribeTemplateInput) SetVersionNumber(v int64) *DescribeTemplateInput {
23226	s.VersionNumber = &v
23227	return s
23228}
23229
23230type DescribeTemplateOutput struct {
23231	_ struct{} `type:"structure"`
23232
23233	// The Amazon Web Services request ID for this operation.
23234	RequestId *string `type:"string"`
23235
23236	// The HTTP status of the request.
23237	Status *int64 `location:"statusCode" type:"integer"`
23238
23239	// The template structure for the object you want to describe.
23240	Template *Template `type:"structure"`
23241}
23242
23243// String returns the string representation
23244func (s DescribeTemplateOutput) String() string {
23245	return awsutil.Prettify(s)
23246}
23247
23248// GoString returns the string representation
23249func (s DescribeTemplateOutput) GoString() string {
23250	return s.String()
23251}
23252
23253// SetRequestId sets the RequestId field's value.
23254func (s *DescribeTemplateOutput) SetRequestId(v string) *DescribeTemplateOutput {
23255	s.RequestId = &v
23256	return s
23257}
23258
23259// SetStatus sets the Status field's value.
23260func (s *DescribeTemplateOutput) SetStatus(v int64) *DescribeTemplateOutput {
23261	s.Status = &v
23262	return s
23263}
23264
23265// SetTemplate sets the Template field's value.
23266func (s *DescribeTemplateOutput) SetTemplate(v *Template) *DescribeTemplateOutput {
23267	s.Template = v
23268	return s
23269}
23270
23271type DescribeTemplatePermissionsInput struct {
23272	_ struct{} `type:"structure"`
23273
23274	// The ID of the Amazon Web Services account that contains the template that
23275	// you're describing.
23276	//
23277	// AwsAccountId is a required field
23278	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
23279
23280	// The ID for the template.
23281	//
23282	// TemplateId is a required field
23283	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
23284}
23285
23286// String returns the string representation
23287func (s DescribeTemplatePermissionsInput) String() string {
23288	return awsutil.Prettify(s)
23289}
23290
23291// GoString returns the string representation
23292func (s DescribeTemplatePermissionsInput) GoString() string {
23293	return s.String()
23294}
23295
23296// Validate inspects the fields of the type to determine if they are valid.
23297func (s *DescribeTemplatePermissionsInput) Validate() error {
23298	invalidParams := request.ErrInvalidParams{Context: "DescribeTemplatePermissionsInput"}
23299	if s.AwsAccountId == nil {
23300		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
23301	}
23302	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
23303		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
23304	}
23305	if s.TemplateId == nil {
23306		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
23307	}
23308	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
23309		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
23310	}
23311
23312	if invalidParams.Len() > 0 {
23313		return invalidParams
23314	}
23315	return nil
23316}
23317
23318// SetAwsAccountId sets the AwsAccountId field's value.
23319func (s *DescribeTemplatePermissionsInput) SetAwsAccountId(v string) *DescribeTemplatePermissionsInput {
23320	s.AwsAccountId = &v
23321	return s
23322}
23323
23324// SetTemplateId sets the TemplateId field's value.
23325func (s *DescribeTemplatePermissionsInput) SetTemplateId(v string) *DescribeTemplatePermissionsInput {
23326	s.TemplateId = &v
23327	return s
23328}
23329
23330type DescribeTemplatePermissionsOutput struct {
23331	_ struct{} `type:"structure"`
23332
23333	// A list of resource permissions to be set on the template.
23334	Permissions []*ResourcePermission `min:"1" type:"list"`
23335
23336	// The Amazon Web Services request ID for this operation.
23337	RequestId *string `type:"string"`
23338
23339	// The HTTP status of the request.
23340	Status *int64 `location:"statusCode" type:"integer"`
23341
23342	// The Amazon Resource Name (ARN) of the template.
23343	TemplateArn *string `type:"string"`
23344
23345	// The ID for the template.
23346	TemplateId *string `min:"1" type:"string"`
23347}
23348
23349// String returns the string representation
23350func (s DescribeTemplatePermissionsOutput) String() string {
23351	return awsutil.Prettify(s)
23352}
23353
23354// GoString returns the string representation
23355func (s DescribeTemplatePermissionsOutput) GoString() string {
23356	return s.String()
23357}
23358
23359// SetPermissions sets the Permissions field's value.
23360func (s *DescribeTemplatePermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeTemplatePermissionsOutput {
23361	s.Permissions = v
23362	return s
23363}
23364
23365// SetRequestId sets the RequestId field's value.
23366func (s *DescribeTemplatePermissionsOutput) SetRequestId(v string) *DescribeTemplatePermissionsOutput {
23367	s.RequestId = &v
23368	return s
23369}
23370
23371// SetStatus sets the Status field's value.
23372func (s *DescribeTemplatePermissionsOutput) SetStatus(v int64) *DescribeTemplatePermissionsOutput {
23373	s.Status = &v
23374	return s
23375}
23376
23377// SetTemplateArn sets the TemplateArn field's value.
23378func (s *DescribeTemplatePermissionsOutput) SetTemplateArn(v string) *DescribeTemplatePermissionsOutput {
23379	s.TemplateArn = &v
23380	return s
23381}
23382
23383// SetTemplateId sets the TemplateId field's value.
23384func (s *DescribeTemplatePermissionsOutput) SetTemplateId(v string) *DescribeTemplatePermissionsOutput {
23385	s.TemplateId = &v
23386	return s
23387}
23388
23389type DescribeThemeAliasInput struct {
23390	_ struct{} `type:"structure"`
23391
23392	// The name of the theme alias that you want to describe.
23393	//
23394	// AliasName is a required field
23395	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
23396
23397	// The ID of the Amazon Web Services account that contains the theme alias that
23398	// you're describing.
23399	//
23400	// AwsAccountId is a required field
23401	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
23402
23403	// The ID for the theme.
23404	//
23405	// ThemeId is a required field
23406	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
23407}
23408
23409// String returns the string representation
23410func (s DescribeThemeAliasInput) String() string {
23411	return awsutil.Prettify(s)
23412}
23413
23414// GoString returns the string representation
23415func (s DescribeThemeAliasInput) GoString() string {
23416	return s.String()
23417}
23418
23419// Validate inspects the fields of the type to determine if they are valid.
23420func (s *DescribeThemeAliasInput) Validate() error {
23421	invalidParams := request.ErrInvalidParams{Context: "DescribeThemeAliasInput"}
23422	if s.AliasName == nil {
23423		invalidParams.Add(request.NewErrParamRequired("AliasName"))
23424	}
23425	if s.AliasName != nil && len(*s.AliasName) < 1 {
23426		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
23427	}
23428	if s.AwsAccountId == nil {
23429		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
23430	}
23431	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
23432		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
23433	}
23434	if s.ThemeId == nil {
23435		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
23436	}
23437	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
23438		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
23439	}
23440
23441	if invalidParams.Len() > 0 {
23442		return invalidParams
23443	}
23444	return nil
23445}
23446
23447// SetAliasName sets the AliasName field's value.
23448func (s *DescribeThemeAliasInput) SetAliasName(v string) *DescribeThemeAliasInput {
23449	s.AliasName = &v
23450	return s
23451}
23452
23453// SetAwsAccountId sets the AwsAccountId field's value.
23454func (s *DescribeThemeAliasInput) SetAwsAccountId(v string) *DescribeThemeAliasInput {
23455	s.AwsAccountId = &v
23456	return s
23457}
23458
23459// SetThemeId sets the ThemeId field's value.
23460func (s *DescribeThemeAliasInput) SetThemeId(v string) *DescribeThemeAliasInput {
23461	s.ThemeId = &v
23462	return s
23463}
23464
23465type DescribeThemeAliasOutput struct {
23466	_ struct{} `type:"structure"`
23467
23468	// The Amazon Web Services request ID for this operation.
23469	RequestId *string `type:"string"`
23470
23471	// The HTTP status of the request.
23472	Status *int64 `location:"statusCode" type:"integer"`
23473
23474	// Information about the theme alias.
23475	ThemeAlias *ThemeAlias `type:"structure"`
23476}
23477
23478// String returns the string representation
23479func (s DescribeThemeAliasOutput) String() string {
23480	return awsutil.Prettify(s)
23481}
23482
23483// GoString returns the string representation
23484func (s DescribeThemeAliasOutput) GoString() string {
23485	return s.String()
23486}
23487
23488// SetRequestId sets the RequestId field's value.
23489func (s *DescribeThemeAliasOutput) SetRequestId(v string) *DescribeThemeAliasOutput {
23490	s.RequestId = &v
23491	return s
23492}
23493
23494// SetStatus sets the Status field's value.
23495func (s *DescribeThemeAliasOutput) SetStatus(v int64) *DescribeThemeAliasOutput {
23496	s.Status = &v
23497	return s
23498}
23499
23500// SetThemeAlias sets the ThemeAlias field's value.
23501func (s *DescribeThemeAliasOutput) SetThemeAlias(v *ThemeAlias) *DescribeThemeAliasOutput {
23502	s.ThemeAlias = v
23503	return s
23504}
23505
23506type DescribeThemeInput struct {
23507	_ struct{} `type:"structure"`
23508
23509	// The alias of the theme that you want to describe. If you name a specific
23510	// alias, you describe the version that the alias points to. You can specify
23511	// the latest version of the theme by providing the keyword $LATEST in the AliasName
23512	// parameter. The keyword $PUBLISHED doesn't apply to themes.
23513	AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"`
23514
23515	// The ID of the Amazon Web Services account that contains the theme that you're
23516	// describing.
23517	//
23518	// AwsAccountId is a required field
23519	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" type:"string" required:"true"`
23520
23521	// The ID for the theme.
23522	//
23523	// ThemeId is a required field
23524	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
23525
23526	// The version number for the version to describe. If a VersionNumber parameter
23527	// value isn't provided, the latest version of the theme is described.
23528	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
23529}
23530
23531// String returns the string representation
23532func (s DescribeThemeInput) String() string {
23533	return awsutil.Prettify(s)
23534}
23535
23536// GoString returns the string representation
23537func (s DescribeThemeInput) GoString() string {
23538	return s.String()
23539}
23540
23541// Validate inspects the fields of the type to determine if they are valid.
23542func (s *DescribeThemeInput) Validate() error {
23543	invalidParams := request.ErrInvalidParams{Context: "DescribeThemeInput"}
23544	if s.AliasName != nil && len(*s.AliasName) < 1 {
23545		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
23546	}
23547	if s.AwsAccountId == nil {
23548		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
23549	}
23550	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 1 {
23551		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 1))
23552	}
23553	if s.ThemeId == nil {
23554		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
23555	}
23556	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
23557		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
23558	}
23559	if s.VersionNumber != nil && *s.VersionNumber < 1 {
23560		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
23561	}
23562
23563	if invalidParams.Len() > 0 {
23564		return invalidParams
23565	}
23566	return nil
23567}
23568
23569// SetAliasName sets the AliasName field's value.
23570func (s *DescribeThemeInput) SetAliasName(v string) *DescribeThemeInput {
23571	s.AliasName = &v
23572	return s
23573}
23574
23575// SetAwsAccountId sets the AwsAccountId field's value.
23576func (s *DescribeThemeInput) SetAwsAccountId(v string) *DescribeThemeInput {
23577	s.AwsAccountId = &v
23578	return s
23579}
23580
23581// SetThemeId sets the ThemeId field's value.
23582func (s *DescribeThemeInput) SetThemeId(v string) *DescribeThemeInput {
23583	s.ThemeId = &v
23584	return s
23585}
23586
23587// SetVersionNumber sets the VersionNumber field's value.
23588func (s *DescribeThemeInput) SetVersionNumber(v int64) *DescribeThemeInput {
23589	s.VersionNumber = &v
23590	return s
23591}
23592
23593type DescribeThemeOutput struct {
23594	_ struct{} `type:"structure"`
23595
23596	// The Amazon Web Services request ID for this operation.
23597	RequestId *string `type:"string"`
23598
23599	// The HTTP status of the request.
23600	Status *int64 `location:"statusCode" type:"integer"`
23601
23602	// The information about the theme that you are describing.
23603	Theme *Theme `type:"structure"`
23604}
23605
23606// String returns the string representation
23607func (s DescribeThemeOutput) String() string {
23608	return awsutil.Prettify(s)
23609}
23610
23611// GoString returns the string representation
23612func (s DescribeThemeOutput) GoString() string {
23613	return s.String()
23614}
23615
23616// SetRequestId sets the RequestId field's value.
23617func (s *DescribeThemeOutput) SetRequestId(v string) *DescribeThemeOutput {
23618	s.RequestId = &v
23619	return s
23620}
23621
23622// SetStatus sets the Status field's value.
23623func (s *DescribeThemeOutput) SetStatus(v int64) *DescribeThemeOutput {
23624	s.Status = &v
23625	return s
23626}
23627
23628// SetTheme sets the Theme field's value.
23629func (s *DescribeThemeOutput) SetTheme(v *Theme) *DescribeThemeOutput {
23630	s.Theme = v
23631	return s
23632}
23633
23634type DescribeThemePermissionsInput struct {
23635	_ struct{} `type:"structure"`
23636
23637	// The ID of the Amazon Web Services account that contains the theme that you're
23638	// describing.
23639	//
23640	// AwsAccountId is a required field
23641	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
23642
23643	// The ID for the theme that you want to describe permissions for.
23644	//
23645	// ThemeId is a required field
23646	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
23647}
23648
23649// String returns the string representation
23650func (s DescribeThemePermissionsInput) String() string {
23651	return awsutil.Prettify(s)
23652}
23653
23654// GoString returns the string representation
23655func (s DescribeThemePermissionsInput) GoString() string {
23656	return s.String()
23657}
23658
23659// Validate inspects the fields of the type to determine if they are valid.
23660func (s *DescribeThemePermissionsInput) Validate() error {
23661	invalidParams := request.ErrInvalidParams{Context: "DescribeThemePermissionsInput"}
23662	if s.AwsAccountId == nil {
23663		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
23664	}
23665	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
23666		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
23667	}
23668	if s.ThemeId == nil {
23669		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
23670	}
23671	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
23672		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
23673	}
23674
23675	if invalidParams.Len() > 0 {
23676		return invalidParams
23677	}
23678	return nil
23679}
23680
23681// SetAwsAccountId sets the AwsAccountId field's value.
23682func (s *DescribeThemePermissionsInput) SetAwsAccountId(v string) *DescribeThemePermissionsInput {
23683	s.AwsAccountId = &v
23684	return s
23685}
23686
23687// SetThemeId sets the ThemeId field's value.
23688func (s *DescribeThemePermissionsInput) SetThemeId(v string) *DescribeThemePermissionsInput {
23689	s.ThemeId = &v
23690	return s
23691}
23692
23693type DescribeThemePermissionsOutput struct {
23694	_ struct{} `type:"structure"`
23695
23696	// A list of resource permissions set on the theme.
23697	Permissions []*ResourcePermission `min:"1" type:"list"`
23698
23699	// The Amazon Web Services request ID for this operation.
23700	RequestId *string `type:"string"`
23701
23702	// The HTTP status of the request.
23703	Status *int64 `location:"statusCode" type:"integer"`
23704
23705	// The Amazon Resource Name (ARN) of the theme.
23706	ThemeArn *string `type:"string"`
23707
23708	// The ID for the theme.
23709	ThemeId *string `min:"1" type:"string"`
23710}
23711
23712// String returns the string representation
23713func (s DescribeThemePermissionsOutput) String() string {
23714	return awsutil.Prettify(s)
23715}
23716
23717// GoString returns the string representation
23718func (s DescribeThemePermissionsOutput) GoString() string {
23719	return s.String()
23720}
23721
23722// SetPermissions sets the Permissions field's value.
23723func (s *DescribeThemePermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeThemePermissionsOutput {
23724	s.Permissions = v
23725	return s
23726}
23727
23728// SetRequestId sets the RequestId field's value.
23729func (s *DescribeThemePermissionsOutput) SetRequestId(v string) *DescribeThemePermissionsOutput {
23730	s.RequestId = &v
23731	return s
23732}
23733
23734// SetStatus sets the Status field's value.
23735func (s *DescribeThemePermissionsOutput) SetStatus(v int64) *DescribeThemePermissionsOutput {
23736	s.Status = &v
23737	return s
23738}
23739
23740// SetThemeArn sets the ThemeArn field's value.
23741func (s *DescribeThemePermissionsOutput) SetThemeArn(v string) *DescribeThemePermissionsOutput {
23742	s.ThemeArn = &v
23743	return s
23744}
23745
23746// SetThemeId sets the ThemeId field's value.
23747func (s *DescribeThemePermissionsOutput) SetThemeId(v string) *DescribeThemePermissionsOutput {
23748	s.ThemeId = &v
23749	return s
23750}
23751
23752type DescribeUserInput struct {
23753	_ struct{} `type:"structure"`
23754
23755	// The ID for the Amazon Web Services account that the user is in. Currently,
23756	// you use the ID for the Amazon Web Services account that contains your Amazon
23757	// QuickSight account.
23758	//
23759	// AwsAccountId is a required field
23760	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
23761
23762	// The namespace. Currently, you should set this to default.
23763	//
23764	// Namespace is a required field
23765	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
23766
23767	// The name of the user that you want to describe.
23768	//
23769	// UserName is a required field
23770	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
23771}
23772
23773// String returns the string representation
23774func (s DescribeUserInput) String() string {
23775	return awsutil.Prettify(s)
23776}
23777
23778// GoString returns the string representation
23779func (s DescribeUserInput) GoString() string {
23780	return s.String()
23781}
23782
23783// Validate inspects the fields of the type to determine if they are valid.
23784func (s *DescribeUserInput) Validate() error {
23785	invalidParams := request.ErrInvalidParams{Context: "DescribeUserInput"}
23786	if s.AwsAccountId == nil {
23787		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
23788	}
23789	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
23790		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
23791	}
23792	if s.Namespace == nil {
23793		invalidParams.Add(request.NewErrParamRequired("Namespace"))
23794	}
23795	if s.Namespace != nil && len(*s.Namespace) < 1 {
23796		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
23797	}
23798	if s.UserName == nil {
23799		invalidParams.Add(request.NewErrParamRequired("UserName"))
23800	}
23801	if s.UserName != nil && len(*s.UserName) < 1 {
23802		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
23803	}
23804
23805	if invalidParams.Len() > 0 {
23806		return invalidParams
23807	}
23808	return nil
23809}
23810
23811// SetAwsAccountId sets the AwsAccountId field's value.
23812func (s *DescribeUserInput) SetAwsAccountId(v string) *DescribeUserInput {
23813	s.AwsAccountId = &v
23814	return s
23815}
23816
23817// SetNamespace sets the Namespace field's value.
23818func (s *DescribeUserInput) SetNamespace(v string) *DescribeUserInput {
23819	s.Namespace = &v
23820	return s
23821}
23822
23823// SetUserName sets the UserName field's value.
23824func (s *DescribeUserInput) SetUserName(v string) *DescribeUserInput {
23825	s.UserName = &v
23826	return s
23827}
23828
23829type DescribeUserOutput struct {
23830	_ struct{} `type:"structure"`
23831
23832	// The Amazon Web Services request ID for this operation.
23833	RequestId *string `type:"string"`
23834
23835	// The HTTP status of the request.
23836	Status *int64 `location:"statusCode" type:"integer"`
23837
23838	// The user name.
23839	User *User `type:"structure"`
23840}
23841
23842// String returns the string representation
23843func (s DescribeUserOutput) String() string {
23844	return awsutil.Prettify(s)
23845}
23846
23847// GoString returns the string representation
23848func (s DescribeUserOutput) GoString() string {
23849	return s.String()
23850}
23851
23852// SetRequestId sets the RequestId field's value.
23853func (s *DescribeUserOutput) SetRequestId(v string) *DescribeUserOutput {
23854	s.RequestId = &v
23855	return s
23856}
23857
23858// SetStatus sets the Status field's value.
23859func (s *DescribeUserOutput) SetStatus(v int64) *DescribeUserOutput {
23860	s.Status = &v
23861	return s
23862}
23863
23864// SetUser sets the User field's value.
23865func (s *DescribeUserOutput) SetUser(v *User) *DescribeUserOutput {
23866	s.User = v
23867	return s
23868}
23869
23870// The domain specified isn't on the allow list. All domains for embedded dashboards
23871// must be added to the approved list by an Amazon QuickSight admin.
23872type DomainNotWhitelistedException struct {
23873	_            struct{}                  `type:"structure"`
23874	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
23875
23876	Message_ *string `locationName:"Message" type:"string"`
23877
23878	// The Amazon Web Services request ID for this request.
23879	RequestId *string `type:"string"`
23880}
23881
23882// String returns the string representation
23883func (s DomainNotWhitelistedException) String() string {
23884	return awsutil.Prettify(s)
23885}
23886
23887// GoString returns the string representation
23888func (s DomainNotWhitelistedException) GoString() string {
23889	return s.String()
23890}
23891
23892func newErrorDomainNotWhitelistedException(v protocol.ResponseMetadata) error {
23893	return &DomainNotWhitelistedException{
23894		RespMetadata: v,
23895	}
23896}
23897
23898// Code returns the exception type name.
23899func (s *DomainNotWhitelistedException) Code() string {
23900	return "DomainNotWhitelistedException"
23901}
23902
23903// Message returns the exception's message.
23904func (s *DomainNotWhitelistedException) Message() string {
23905	if s.Message_ != nil {
23906		return *s.Message_
23907	}
23908	return ""
23909}
23910
23911// OrigErr always returns nil, satisfies awserr.Error interface.
23912func (s *DomainNotWhitelistedException) OrigErr() error {
23913	return nil
23914}
23915
23916func (s *DomainNotWhitelistedException) Error() string {
23917	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
23918}
23919
23920// Status code returns the HTTP status code for the request's response error.
23921func (s *DomainNotWhitelistedException) StatusCode() int {
23922	return s.RespMetadata.StatusCode
23923}
23924
23925// RequestID returns the service's response RequestID for request.
23926func (s *DomainNotWhitelistedException) RequestID() string {
23927	return s.RespMetadata.RequestID
23928}
23929
23930// Error information for the SPICE ingestion of a dataset.
23931type ErrorInfo struct {
23932	_ struct{} `type:"structure"`
23933
23934	// Error message.
23935	Message *string `type:"string"`
23936
23937	// Error type.
23938	Type *string `type:"string" enum:"IngestionErrorType"`
23939}
23940
23941// String returns the string representation
23942func (s ErrorInfo) String() string {
23943	return awsutil.Prettify(s)
23944}
23945
23946// GoString returns the string representation
23947func (s ErrorInfo) GoString() string {
23948	return s.String()
23949}
23950
23951// SetMessage sets the Message field's value.
23952func (s *ErrorInfo) SetMessage(v string) *ErrorInfo {
23953	s.Message = &v
23954	return s
23955}
23956
23957// SetType sets the Type field's value.
23958func (s *ErrorInfo) SetType(v string) *ErrorInfo {
23959	s.Type = &v
23960	return s
23961}
23962
23963// Export to .csv option.
23964type ExportToCSVOption struct {
23965	_ struct{} `type:"structure"`
23966
23967	// Availability status.
23968	AvailabilityStatus *string `type:"string" enum:"DashboardBehavior"`
23969}
23970
23971// String returns the string representation
23972func (s ExportToCSVOption) String() string {
23973	return awsutil.Prettify(s)
23974}
23975
23976// GoString returns the string representation
23977func (s ExportToCSVOption) GoString() string {
23978	return s.String()
23979}
23980
23981// SetAvailabilityStatus sets the AvailabilityStatus field's value.
23982func (s *ExportToCSVOption) SetAvailabilityStatus(v string) *ExportToCSVOption {
23983	s.AvailabilityStatus = &v
23984	return s
23985}
23986
23987// A FieldFolder element is a folder that contains fields and nested subfolders.
23988type FieldFolder struct {
23989	_ struct{} `type:"structure"`
23990
23991	// A folder has a list of columns. A column can only be in one folder.
23992	Columns []*string `locationName:"columns" type:"list"`
23993
23994	// The description for a field folder.
23995	Description *string `locationName:"description" type:"string"`
23996}
23997
23998// String returns the string representation
23999func (s FieldFolder) String() string {
24000	return awsutil.Prettify(s)
24001}
24002
24003// GoString returns the string representation
24004func (s FieldFolder) GoString() string {
24005	return s.String()
24006}
24007
24008// SetColumns sets the Columns field's value.
24009func (s *FieldFolder) SetColumns(v []*string) *FieldFolder {
24010	s.Columns = v
24011	return s
24012}
24013
24014// SetDescription sets the Description field's value.
24015func (s *FieldFolder) SetDescription(v string) *FieldFolder {
24016	s.Description = &v
24017	return s
24018}
24019
24020// A transform operation that filters rows based on a condition.
24021type FilterOperation struct {
24022	_ struct{} `type:"structure"`
24023
24024	// An expression that must evaluate to a Boolean value. Rows for which the expression
24025	// evaluates to true are kept in the dataset.
24026	//
24027	// ConditionExpression is a required field
24028	ConditionExpression *string `min:"1" type:"string" required:"true"`
24029}
24030
24031// String returns the string representation
24032func (s FilterOperation) String() string {
24033	return awsutil.Prettify(s)
24034}
24035
24036// GoString returns the string representation
24037func (s FilterOperation) GoString() string {
24038	return s.String()
24039}
24040
24041// Validate inspects the fields of the type to determine if they are valid.
24042func (s *FilterOperation) Validate() error {
24043	invalidParams := request.ErrInvalidParams{Context: "FilterOperation"}
24044	if s.ConditionExpression == nil {
24045		invalidParams.Add(request.NewErrParamRequired("ConditionExpression"))
24046	}
24047	if s.ConditionExpression != nil && len(*s.ConditionExpression) < 1 {
24048		invalidParams.Add(request.NewErrParamMinLen("ConditionExpression", 1))
24049	}
24050
24051	if invalidParams.Len() > 0 {
24052		return invalidParams
24053	}
24054	return nil
24055}
24056
24057// SetConditionExpression sets the ConditionExpression field's value.
24058func (s *FilterOperation) SetConditionExpression(v string) *FilterOperation {
24059	s.ConditionExpression = &v
24060	return s
24061}
24062
24063// A folder.
24064type Folder struct {
24065	_ struct{} `type:"structure"`
24066
24067	// The folder Amazon Resource Name (ARN).
24068	Arn *string `type:"string"`
24069
24070	// The time that the folder was created.
24071	CreatedTime *time.Time `type:"timestamp"`
24072
24073	// The folder ID.
24074	FolderId *string `min:"1" type:"string"`
24075
24076	// An array of ancestor folder ARN strings.
24077	FolderPath []*string `min:"1" type:"list"`
24078
24079	// The type of the folder.
24080	FolderType *string `type:"string" enum:"FolderType"`
24081
24082	// The time that the folder was last updated.
24083	LastUpdatedTime *time.Time `type:"timestamp"`
24084
24085	// A display name for the folder.
24086	Name *string `min:"1" type:"string"`
24087}
24088
24089// String returns the string representation
24090func (s Folder) String() string {
24091	return awsutil.Prettify(s)
24092}
24093
24094// GoString returns the string representation
24095func (s Folder) GoString() string {
24096	return s.String()
24097}
24098
24099// SetArn sets the Arn field's value.
24100func (s *Folder) SetArn(v string) *Folder {
24101	s.Arn = &v
24102	return s
24103}
24104
24105// SetCreatedTime sets the CreatedTime field's value.
24106func (s *Folder) SetCreatedTime(v time.Time) *Folder {
24107	s.CreatedTime = &v
24108	return s
24109}
24110
24111// SetFolderId sets the FolderId field's value.
24112func (s *Folder) SetFolderId(v string) *Folder {
24113	s.FolderId = &v
24114	return s
24115}
24116
24117// SetFolderPath sets the FolderPath field's value.
24118func (s *Folder) SetFolderPath(v []*string) *Folder {
24119	s.FolderPath = v
24120	return s
24121}
24122
24123// SetFolderType sets the FolderType field's value.
24124func (s *Folder) SetFolderType(v string) *Folder {
24125	s.FolderType = &v
24126	return s
24127}
24128
24129// SetLastUpdatedTime sets the LastUpdatedTime field's value.
24130func (s *Folder) SetLastUpdatedTime(v time.Time) *Folder {
24131	s.LastUpdatedTime = &v
24132	return s
24133}
24134
24135// SetName sets the Name field's value.
24136func (s *Folder) SetName(v string) *Folder {
24137	s.Name = &v
24138	return s
24139}
24140
24141// An asset in a folder, such as a dashboard, analysis, or dataset.
24142type FolderMember struct {
24143	_ struct{} `type:"structure"`
24144
24145	// The ID of the asset.
24146	MemberId *string `min:"1" type:"string"`
24147
24148	// The type of the asset.
24149	MemberType *string `type:"string" enum:"MemberType"`
24150}
24151
24152// String returns the string representation
24153func (s FolderMember) String() string {
24154	return awsutil.Prettify(s)
24155}
24156
24157// GoString returns the string representation
24158func (s FolderMember) GoString() string {
24159	return s.String()
24160}
24161
24162// SetMemberId sets the MemberId field's value.
24163func (s *FolderMember) SetMemberId(v string) *FolderMember {
24164	s.MemberId = &v
24165	return s
24166}
24167
24168// SetMemberType sets the MemberType field's value.
24169func (s *FolderMember) SetMemberType(v string) *FolderMember {
24170	s.MemberType = &v
24171	return s
24172}
24173
24174// Searches a folder by a filter.
24175type FolderSearchFilter struct {
24176	_ struct{} `type:"structure"`
24177
24178	// The name of the value that you want to use as a filter. For example, "Name":
24179	// "PARENT_FOLDER_ARN".
24180	Name *string `type:"string" enum:"FolderFilterAttribute"`
24181
24182	// The comparison operator that you want to use as a filter. For example, "Operator":
24183	// "StringEquals".
24184	Operator *string `type:"string" enum:"FilterOperator"`
24185
24186	// The value of the named item (in this example, PARENT_FOLDER_ARN), that you
24187	// want to use as a filter. For example, "Value": "arn:aws:quicksight:us-east-1:1:folder/folderId".
24188	Value *string `type:"string"`
24189}
24190
24191// String returns the string representation
24192func (s FolderSearchFilter) String() string {
24193	return awsutil.Prettify(s)
24194}
24195
24196// GoString returns the string representation
24197func (s FolderSearchFilter) GoString() string {
24198	return s.String()
24199}
24200
24201// SetName sets the Name field's value.
24202func (s *FolderSearchFilter) SetName(v string) *FolderSearchFilter {
24203	s.Name = &v
24204	return s
24205}
24206
24207// SetOperator sets the Operator field's value.
24208func (s *FolderSearchFilter) SetOperator(v string) *FolderSearchFilter {
24209	s.Operator = &v
24210	return s
24211}
24212
24213// SetValue sets the Value field's value.
24214func (s *FolderSearchFilter) SetValue(v string) *FolderSearchFilter {
24215	s.Value = &v
24216	return s
24217}
24218
24219// A summary of the folder.
24220type FolderSummary struct {
24221	_ struct{} `type:"structure"`
24222
24223	// The Amazon Resource Name (ARN).
24224	Arn *string `type:"string"`
24225
24226	// The time that the folder was created.
24227	CreatedTime *time.Time `type:"timestamp"`
24228
24229	// The folder ID.
24230	FolderId *string `min:"1" type:"string"`
24231
24232	// The type of folder.
24233	FolderType *string `type:"string" enum:"FolderType"`
24234
24235	// The time that the folder was last updated.
24236	LastUpdatedTime *time.Time `type:"timestamp"`
24237
24238	// The display name of the folder.
24239	Name *string `min:"1" type:"string"`
24240}
24241
24242// String returns the string representation
24243func (s FolderSummary) String() string {
24244	return awsutil.Prettify(s)
24245}
24246
24247// GoString returns the string representation
24248func (s FolderSummary) GoString() string {
24249	return s.String()
24250}
24251
24252// SetArn sets the Arn field's value.
24253func (s *FolderSummary) SetArn(v string) *FolderSummary {
24254	s.Arn = &v
24255	return s
24256}
24257
24258// SetCreatedTime sets the CreatedTime field's value.
24259func (s *FolderSummary) SetCreatedTime(v time.Time) *FolderSummary {
24260	s.CreatedTime = &v
24261	return s
24262}
24263
24264// SetFolderId sets the FolderId field's value.
24265func (s *FolderSummary) SetFolderId(v string) *FolderSummary {
24266	s.FolderId = &v
24267	return s
24268}
24269
24270// SetFolderType sets the FolderType field's value.
24271func (s *FolderSummary) SetFolderType(v string) *FolderSummary {
24272	s.FolderType = &v
24273	return s
24274}
24275
24276// SetLastUpdatedTime sets the LastUpdatedTime field's value.
24277func (s *FolderSummary) SetLastUpdatedTime(v time.Time) *FolderSummary {
24278	s.LastUpdatedTime = &v
24279	return s
24280}
24281
24282// SetName sets the Name field's value.
24283func (s *FolderSummary) SetName(v string) *FolderSummary {
24284	s.Name = &v
24285	return s
24286}
24287
24288type GenerateEmbedUrlForAnonymousUserInput struct {
24289	_ struct{} `type:"structure"`
24290
24291	// The Amazon Resource Names for the Amazon QuickSight resources that the user
24292	// is authorized to access during the lifetime of the session. If you choose
24293	// Dashboard embedding experience, pass the list of dashboard ARNs in the account
24294	// that you want the user to be able to view.
24295	//
24296	// AuthorizedResourceArns is a required field
24297	AuthorizedResourceArns []*string `type:"list" required:"true"`
24298
24299	// The ID for the Amazon Web Services account that contains the dashboard that
24300	// you're embedding.
24301	//
24302	// AwsAccountId is a required field
24303	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
24304
24305	// The configuration of the experience you are embedding.
24306	//
24307	// ExperienceConfiguration is a required field
24308	ExperienceConfiguration *AnonymousUserEmbeddingExperienceConfiguration `type:"structure" required:"true"`
24309
24310	// The Amazon QuickSight namespace that the anonymous user virtually belongs
24311	// to. If you are not using an Amazon QuickSight custom namespace, set this
24312	// to default.
24313	//
24314	// Namespace is a required field
24315	Namespace *string `type:"string" required:"true"`
24316
24317	// How many minutes the session is valid. The session lifetime must be in [15-600]
24318	// minutes range.
24319	SessionLifetimeInMinutes *int64 `min:"15" type:"long"`
24320
24321	// The session tags used for row-level security. Before you use this parameter,
24322	// make sure that you have configured the relevant datasets using the DataSet$RowLevelPermissionTagConfiguration
24323	// parameter so that session tags can be used to provide row-level security.
24324	//
24325	// These are not the tags used for the Amazon Web Services resource tagging
24326	// feature. For more information, see Using Row-Level Security (RLS) with Tags
24327	// (https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-rls-tags.html).
24328	SessionTags []*SessionTag `min:"1" type:"list"`
24329}
24330
24331// String returns the string representation
24332func (s GenerateEmbedUrlForAnonymousUserInput) String() string {
24333	return awsutil.Prettify(s)
24334}
24335
24336// GoString returns the string representation
24337func (s GenerateEmbedUrlForAnonymousUserInput) GoString() string {
24338	return s.String()
24339}
24340
24341// Validate inspects the fields of the type to determine if they are valid.
24342func (s *GenerateEmbedUrlForAnonymousUserInput) Validate() error {
24343	invalidParams := request.ErrInvalidParams{Context: "GenerateEmbedUrlForAnonymousUserInput"}
24344	if s.AuthorizedResourceArns == nil {
24345		invalidParams.Add(request.NewErrParamRequired("AuthorizedResourceArns"))
24346	}
24347	if s.AwsAccountId == nil {
24348		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
24349	}
24350	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
24351		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
24352	}
24353	if s.ExperienceConfiguration == nil {
24354		invalidParams.Add(request.NewErrParamRequired("ExperienceConfiguration"))
24355	}
24356	if s.Namespace == nil {
24357		invalidParams.Add(request.NewErrParamRequired("Namespace"))
24358	}
24359	if s.SessionLifetimeInMinutes != nil && *s.SessionLifetimeInMinutes < 15 {
24360		invalidParams.Add(request.NewErrParamMinValue("SessionLifetimeInMinutes", 15))
24361	}
24362	if s.SessionTags != nil && len(s.SessionTags) < 1 {
24363		invalidParams.Add(request.NewErrParamMinLen("SessionTags", 1))
24364	}
24365	if s.ExperienceConfiguration != nil {
24366		if err := s.ExperienceConfiguration.Validate(); err != nil {
24367			invalidParams.AddNested("ExperienceConfiguration", err.(request.ErrInvalidParams))
24368		}
24369	}
24370	if s.SessionTags != nil {
24371		for i, v := range s.SessionTags {
24372			if v == nil {
24373				continue
24374			}
24375			if err := v.Validate(); err != nil {
24376				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SessionTags", i), err.(request.ErrInvalidParams))
24377			}
24378		}
24379	}
24380
24381	if invalidParams.Len() > 0 {
24382		return invalidParams
24383	}
24384	return nil
24385}
24386
24387// SetAuthorizedResourceArns sets the AuthorizedResourceArns field's value.
24388func (s *GenerateEmbedUrlForAnonymousUserInput) SetAuthorizedResourceArns(v []*string) *GenerateEmbedUrlForAnonymousUserInput {
24389	s.AuthorizedResourceArns = v
24390	return s
24391}
24392
24393// SetAwsAccountId sets the AwsAccountId field's value.
24394func (s *GenerateEmbedUrlForAnonymousUserInput) SetAwsAccountId(v string) *GenerateEmbedUrlForAnonymousUserInput {
24395	s.AwsAccountId = &v
24396	return s
24397}
24398
24399// SetExperienceConfiguration sets the ExperienceConfiguration field's value.
24400func (s *GenerateEmbedUrlForAnonymousUserInput) SetExperienceConfiguration(v *AnonymousUserEmbeddingExperienceConfiguration) *GenerateEmbedUrlForAnonymousUserInput {
24401	s.ExperienceConfiguration = v
24402	return s
24403}
24404
24405// SetNamespace sets the Namespace field's value.
24406func (s *GenerateEmbedUrlForAnonymousUserInput) SetNamespace(v string) *GenerateEmbedUrlForAnonymousUserInput {
24407	s.Namespace = &v
24408	return s
24409}
24410
24411// SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value.
24412func (s *GenerateEmbedUrlForAnonymousUserInput) SetSessionLifetimeInMinutes(v int64) *GenerateEmbedUrlForAnonymousUserInput {
24413	s.SessionLifetimeInMinutes = &v
24414	return s
24415}
24416
24417// SetSessionTags sets the SessionTags field's value.
24418func (s *GenerateEmbedUrlForAnonymousUserInput) SetSessionTags(v []*SessionTag) *GenerateEmbedUrlForAnonymousUserInput {
24419	s.SessionTags = v
24420	return s
24421}
24422
24423type GenerateEmbedUrlForAnonymousUserOutput struct {
24424	_ struct{} `type:"structure"`
24425
24426	// The embed URL for the dashboard.
24427	//
24428	// EmbedUrl is a required field
24429	EmbedUrl *string `type:"string" required:"true" sensitive:"true"`
24430
24431	// The Amazon Web Services request ID for this operation.
24432	//
24433	// RequestId is a required field
24434	RequestId *string `type:"string" required:"true"`
24435
24436	// The HTTP status of the request.
24437	//
24438	// Status is a required field
24439	Status *int64 `location:"statusCode" type:"integer" required:"true"`
24440}
24441
24442// String returns the string representation
24443func (s GenerateEmbedUrlForAnonymousUserOutput) String() string {
24444	return awsutil.Prettify(s)
24445}
24446
24447// GoString returns the string representation
24448func (s GenerateEmbedUrlForAnonymousUserOutput) GoString() string {
24449	return s.String()
24450}
24451
24452// SetEmbedUrl sets the EmbedUrl field's value.
24453func (s *GenerateEmbedUrlForAnonymousUserOutput) SetEmbedUrl(v string) *GenerateEmbedUrlForAnonymousUserOutput {
24454	s.EmbedUrl = &v
24455	return s
24456}
24457
24458// SetRequestId sets the RequestId field's value.
24459func (s *GenerateEmbedUrlForAnonymousUserOutput) SetRequestId(v string) *GenerateEmbedUrlForAnonymousUserOutput {
24460	s.RequestId = &v
24461	return s
24462}
24463
24464// SetStatus sets the Status field's value.
24465func (s *GenerateEmbedUrlForAnonymousUserOutput) SetStatus(v int64) *GenerateEmbedUrlForAnonymousUserOutput {
24466	s.Status = &v
24467	return s
24468}
24469
24470type GenerateEmbedUrlForRegisteredUserInput struct {
24471	_ struct{} `type:"structure"`
24472
24473	// The ID for the Amazon Web Services account that contains the dashboard that
24474	// you're embedding.
24475	//
24476	// AwsAccountId is a required field
24477	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
24478
24479	// The experience you are embedding. For registered users, you can embed Amazon
24480	// QuickSight dashboards or the entire Amazon QuickSight console.
24481	//
24482	// ExperienceConfiguration is a required field
24483	ExperienceConfiguration *RegisteredUserEmbeddingExperienceConfiguration `type:"structure" required:"true"`
24484
24485	// How many minutes the session is valid. The session lifetime must be in [15-600]
24486	// minutes range.
24487	SessionLifetimeInMinutes *int64 `min:"15" type:"long"`
24488
24489	// The Amazon Resource Name for the registered user.
24490	//
24491	// UserArn is a required field
24492	UserArn *string `type:"string" required:"true"`
24493}
24494
24495// String returns the string representation
24496func (s GenerateEmbedUrlForRegisteredUserInput) String() string {
24497	return awsutil.Prettify(s)
24498}
24499
24500// GoString returns the string representation
24501func (s GenerateEmbedUrlForRegisteredUserInput) GoString() string {
24502	return s.String()
24503}
24504
24505// Validate inspects the fields of the type to determine if they are valid.
24506func (s *GenerateEmbedUrlForRegisteredUserInput) Validate() error {
24507	invalidParams := request.ErrInvalidParams{Context: "GenerateEmbedUrlForRegisteredUserInput"}
24508	if s.AwsAccountId == nil {
24509		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
24510	}
24511	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
24512		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
24513	}
24514	if s.ExperienceConfiguration == nil {
24515		invalidParams.Add(request.NewErrParamRequired("ExperienceConfiguration"))
24516	}
24517	if s.SessionLifetimeInMinutes != nil && *s.SessionLifetimeInMinutes < 15 {
24518		invalidParams.Add(request.NewErrParamMinValue("SessionLifetimeInMinutes", 15))
24519	}
24520	if s.UserArn == nil {
24521		invalidParams.Add(request.NewErrParamRequired("UserArn"))
24522	}
24523	if s.ExperienceConfiguration != nil {
24524		if err := s.ExperienceConfiguration.Validate(); err != nil {
24525			invalidParams.AddNested("ExperienceConfiguration", err.(request.ErrInvalidParams))
24526		}
24527	}
24528
24529	if invalidParams.Len() > 0 {
24530		return invalidParams
24531	}
24532	return nil
24533}
24534
24535// SetAwsAccountId sets the AwsAccountId field's value.
24536func (s *GenerateEmbedUrlForRegisteredUserInput) SetAwsAccountId(v string) *GenerateEmbedUrlForRegisteredUserInput {
24537	s.AwsAccountId = &v
24538	return s
24539}
24540
24541// SetExperienceConfiguration sets the ExperienceConfiguration field's value.
24542func (s *GenerateEmbedUrlForRegisteredUserInput) SetExperienceConfiguration(v *RegisteredUserEmbeddingExperienceConfiguration) *GenerateEmbedUrlForRegisteredUserInput {
24543	s.ExperienceConfiguration = v
24544	return s
24545}
24546
24547// SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value.
24548func (s *GenerateEmbedUrlForRegisteredUserInput) SetSessionLifetimeInMinutes(v int64) *GenerateEmbedUrlForRegisteredUserInput {
24549	s.SessionLifetimeInMinutes = &v
24550	return s
24551}
24552
24553// SetUserArn sets the UserArn field's value.
24554func (s *GenerateEmbedUrlForRegisteredUserInput) SetUserArn(v string) *GenerateEmbedUrlForRegisteredUserInput {
24555	s.UserArn = &v
24556	return s
24557}
24558
24559type GenerateEmbedUrlForRegisteredUserOutput struct {
24560	_ struct{} `type:"structure"`
24561
24562	// The embed URL for the Amazon QuickSight dashboard or console.
24563	//
24564	// EmbedUrl is a required field
24565	EmbedUrl *string `type:"string" required:"true" sensitive:"true"`
24566
24567	// The Amazon Web Services request ID for this operation.
24568	//
24569	// RequestId is a required field
24570	RequestId *string `type:"string" required:"true"`
24571
24572	// The HTTP status of the request.
24573	//
24574	// Status is a required field
24575	Status *int64 `location:"statusCode" type:"integer" required:"true"`
24576}
24577
24578// String returns the string representation
24579func (s GenerateEmbedUrlForRegisteredUserOutput) String() string {
24580	return awsutil.Prettify(s)
24581}
24582
24583// GoString returns the string representation
24584func (s GenerateEmbedUrlForRegisteredUserOutput) GoString() string {
24585	return s.String()
24586}
24587
24588// SetEmbedUrl sets the EmbedUrl field's value.
24589func (s *GenerateEmbedUrlForRegisteredUserOutput) SetEmbedUrl(v string) *GenerateEmbedUrlForRegisteredUserOutput {
24590	s.EmbedUrl = &v
24591	return s
24592}
24593
24594// SetRequestId sets the RequestId field's value.
24595func (s *GenerateEmbedUrlForRegisteredUserOutput) SetRequestId(v string) *GenerateEmbedUrlForRegisteredUserOutput {
24596	s.RequestId = &v
24597	return s
24598}
24599
24600// SetStatus sets the Status field's value.
24601func (s *GenerateEmbedUrlForRegisteredUserOutput) SetStatus(v int64) *GenerateEmbedUrlForRegisteredUserOutput {
24602	s.Status = &v
24603	return s
24604}
24605
24606// Geospatial column group that denotes a hierarchy.
24607type GeoSpatialColumnGroup struct {
24608	_ struct{} `type:"structure"`
24609
24610	// Columns in this hierarchy.
24611	//
24612	// Columns is a required field
24613	Columns []*string `min:"1" type:"list" required:"true"`
24614
24615	// Country code.
24616	//
24617	// CountryCode is a required field
24618	CountryCode *string `type:"string" required:"true" enum:"GeoSpatialCountryCode"`
24619
24620	// A display name for the hierarchy.
24621	//
24622	// Name is a required field
24623	Name *string `min:"1" type:"string" required:"true"`
24624}
24625
24626// String returns the string representation
24627func (s GeoSpatialColumnGroup) String() string {
24628	return awsutil.Prettify(s)
24629}
24630
24631// GoString returns the string representation
24632func (s GeoSpatialColumnGroup) GoString() string {
24633	return s.String()
24634}
24635
24636// Validate inspects the fields of the type to determine if they are valid.
24637func (s *GeoSpatialColumnGroup) Validate() error {
24638	invalidParams := request.ErrInvalidParams{Context: "GeoSpatialColumnGroup"}
24639	if s.Columns == nil {
24640		invalidParams.Add(request.NewErrParamRequired("Columns"))
24641	}
24642	if s.Columns != nil && len(s.Columns) < 1 {
24643		invalidParams.Add(request.NewErrParamMinLen("Columns", 1))
24644	}
24645	if s.CountryCode == nil {
24646		invalidParams.Add(request.NewErrParamRequired("CountryCode"))
24647	}
24648	if s.Name == nil {
24649		invalidParams.Add(request.NewErrParamRequired("Name"))
24650	}
24651	if s.Name != nil && len(*s.Name) < 1 {
24652		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
24653	}
24654
24655	if invalidParams.Len() > 0 {
24656		return invalidParams
24657	}
24658	return nil
24659}
24660
24661// SetColumns sets the Columns field's value.
24662func (s *GeoSpatialColumnGroup) SetColumns(v []*string) *GeoSpatialColumnGroup {
24663	s.Columns = v
24664	return s
24665}
24666
24667// SetCountryCode sets the CountryCode field's value.
24668func (s *GeoSpatialColumnGroup) SetCountryCode(v string) *GeoSpatialColumnGroup {
24669	s.CountryCode = &v
24670	return s
24671}
24672
24673// SetName sets the Name field's value.
24674func (s *GeoSpatialColumnGroup) SetName(v string) *GeoSpatialColumnGroup {
24675	s.Name = &v
24676	return s
24677}
24678
24679type GetDashboardEmbedUrlInput struct {
24680	_ struct{} `type:"structure"`
24681
24682	// A list of one or more dashboard IDs that you want to add to a session that
24683	// includes anonymous users. The IdentityType parameter must be set to ANONYMOUS
24684	// for this to work, because other identity types authenticate as Amazon QuickSight
24685	// or IAMusers. For example, if you set "--dashboard-id dash_id1 --dashboard-id
24686	// dash_id2 dash_id3 identity-type ANONYMOUS", the session can access all three
24687	// dashboards.
24688	AdditionalDashboardIds []*string `location:"querystring" locationName:"additional-dashboard-ids" min:"1" type:"list"`
24689
24690	// The ID for the Amazon Web Services account that contains the dashboard that
24691	// you're embedding.
24692	//
24693	// AwsAccountId is a required field
24694	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
24695
24696	// The ID for the dashboard, also added to the Identity and Access Management
24697	// (IAM) policy.
24698	//
24699	// DashboardId is a required field
24700	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
24701
24702	// The authentication method that the user uses to sign in.
24703	//
24704	// IdentityType is a required field
24705	IdentityType *string `location:"querystring" locationName:"creds-type" type:"string" required:"true" enum:"EmbeddingIdentityType"`
24706
24707	// The Amazon QuickSight namespace that contains the dashboard IDs in this request.
24708	// If you're not using a custom namespace, set Namespace = default.
24709	Namespace *string `location:"querystring" locationName:"namespace" type:"string"`
24710
24711	// Remove the reset button on the embedded dashboard. The default is FALSE,
24712	// which enables the reset button.
24713	ResetDisabled *bool `location:"querystring" locationName:"reset-disabled" type:"boolean"`
24714
24715	// How many minutes the session is valid. The session lifetime must be 15-600
24716	// minutes.
24717	SessionLifetimeInMinutes *int64 `location:"querystring" locationName:"session-lifetime" min:"15" type:"long"`
24718
24719	// Adds persistence of state for the user session in an embedded dashboard.
24720	// Persistence applies to the sheet and the parameter settings. These are control
24721	// settings that the dashboard subscriber (Amazon QuickSight reader) chooses
24722	// while viewing the dashboard. If this is set to TRUE, the settings are the
24723	// same when the subscriber reopens the same dashboard URL. The state is stored
24724	// in Amazon QuickSight, not in a browser cookie. If this is set to FALSE, the
24725	// state of the user session is not persisted. The default is FALSE.
24726	StatePersistenceEnabled *bool `location:"querystring" locationName:"state-persistence-enabled" type:"boolean"`
24727
24728	// Remove the undo/redo button on the embedded dashboard. The default is FALSE,
24729	// which enables the undo/redo button.
24730	UndoRedoDisabled *bool `location:"querystring" locationName:"undo-redo-disabled" type:"boolean"`
24731
24732	// The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT
24733	// identity type. You can use this for any Amazon QuickSight users in your account
24734	// (readers, authors, or admins) authenticated as one of the following:
24735	//
24736	//    * Active Directory (AD) users or group members
24737	//
24738	//    * Invited nonfederated users
24739	//
24740	//    * IAMusers and IAMrole-based sessions authenticated through Federated
24741	//    Single Sign-On using SAML, OpenID Connect, or IAMfederation.
24742	//
24743	// Omit this parameter for users in the third group – IAMusers and IAM role-based
24744	// sessions.
24745	UserArn *string `location:"querystring" locationName:"user-arn" type:"string"`
24746}
24747
24748// String returns the string representation
24749func (s GetDashboardEmbedUrlInput) String() string {
24750	return awsutil.Prettify(s)
24751}
24752
24753// GoString returns the string representation
24754func (s GetDashboardEmbedUrlInput) GoString() string {
24755	return s.String()
24756}
24757
24758// Validate inspects the fields of the type to determine if they are valid.
24759func (s *GetDashboardEmbedUrlInput) Validate() error {
24760	invalidParams := request.ErrInvalidParams{Context: "GetDashboardEmbedUrlInput"}
24761	if s.AdditionalDashboardIds != nil && len(s.AdditionalDashboardIds) < 1 {
24762		invalidParams.Add(request.NewErrParamMinLen("AdditionalDashboardIds", 1))
24763	}
24764	if s.AwsAccountId == nil {
24765		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
24766	}
24767	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
24768		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
24769	}
24770	if s.DashboardId == nil {
24771		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
24772	}
24773	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
24774		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
24775	}
24776	if s.IdentityType == nil {
24777		invalidParams.Add(request.NewErrParamRequired("IdentityType"))
24778	}
24779	if s.SessionLifetimeInMinutes != nil && *s.SessionLifetimeInMinutes < 15 {
24780		invalidParams.Add(request.NewErrParamMinValue("SessionLifetimeInMinutes", 15))
24781	}
24782
24783	if invalidParams.Len() > 0 {
24784		return invalidParams
24785	}
24786	return nil
24787}
24788
24789// SetAdditionalDashboardIds sets the AdditionalDashboardIds field's value.
24790func (s *GetDashboardEmbedUrlInput) SetAdditionalDashboardIds(v []*string) *GetDashboardEmbedUrlInput {
24791	s.AdditionalDashboardIds = v
24792	return s
24793}
24794
24795// SetAwsAccountId sets the AwsAccountId field's value.
24796func (s *GetDashboardEmbedUrlInput) SetAwsAccountId(v string) *GetDashboardEmbedUrlInput {
24797	s.AwsAccountId = &v
24798	return s
24799}
24800
24801// SetDashboardId sets the DashboardId field's value.
24802func (s *GetDashboardEmbedUrlInput) SetDashboardId(v string) *GetDashboardEmbedUrlInput {
24803	s.DashboardId = &v
24804	return s
24805}
24806
24807// SetIdentityType sets the IdentityType field's value.
24808func (s *GetDashboardEmbedUrlInput) SetIdentityType(v string) *GetDashboardEmbedUrlInput {
24809	s.IdentityType = &v
24810	return s
24811}
24812
24813// SetNamespace sets the Namespace field's value.
24814func (s *GetDashboardEmbedUrlInput) SetNamespace(v string) *GetDashboardEmbedUrlInput {
24815	s.Namespace = &v
24816	return s
24817}
24818
24819// SetResetDisabled sets the ResetDisabled field's value.
24820func (s *GetDashboardEmbedUrlInput) SetResetDisabled(v bool) *GetDashboardEmbedUrlInput {
24821	s.ResetDisabled = &v
24822	return s
24823}
24824
24825// SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value.
24826func (s *GetDashboardEmbedUrlInput) SetSessionLifetimeInMinutes(v int64) *GetDashboardEmbedUrlInput {
24827	s.SessionLifetimeInMinutes = &v
24828	return s
24829}
24830
24831// SetStatePersistenceEnabled sets the StatePersistenceEnabled field's value.
24832func (s *GetDashboardEmbedUrlInput) SetStatePersistenceEnabled(v bool) *GetDashboardEmbedUrlInput {
24833	s.StatePersistenceEnabled = &v
24834	return s
24835}
24836
24837// SetUndoRedoDisabled sets the UndoRedoDisabled field's value.
24838func (s *GetDashboardEmbedUrlInput) SetUndoRedoDisabled(v bool) *GetDashboardEmbedUrlInput {
24839	s.UndoRedoDisabled = &v
24840	return s
24841}
24842
24843// SetUserArn sets the UserArn field's value.
24844func (s *GetDashboardEmbedUrlInput) SetUserArn(v string) *GetDashboardEmbedUrlInput {
24845	s.UserArn = &v
24846	return s
24847}
24848
24849// Output returned from the GetDashboardEmbedUrl operation.
24850type GetDashboardEmbedUrlOutput struct {
24851	_ struct{} `type:"structure"`
24852
24853	// A single-use URL that you can put into your server-side webpage to embed
24854	// your dashboard. This URL is valid for 5 minutes. The API operation provides
24855	// the URL with an auth_code value that enables one (and only one) sign-on to
24856	// a user session that is valid for 10 hours.
24857	EmbedUrl *string `type:"string" sensitive:"true"`
24858
24859	// The Amazon Web Services request ID for this operation.
24860	RequestId *string `type:"string"`
24861
24862	// The HTTP status of the request.
24863	Status *int64 `location:"statusCode" type:"integer"`
24864}
24865
24866// String returns the string representation
24867func (s GetDashboardEmbedUrlOutput) String() string {
24868	return awsutil.Prettify(s)
24869}
24870
24871// GoString returns the string representation
24872func (s GetDashboardEmbedUrlOutput) GoString() string {
24873	return s.String()
24874}
24875
24876// SetEmbedUrl sets the EmbedUrl field's value.
24877func (s *GetDashboardEmbedUrlOutput) SetEmbedUrl(v string) *GetDashboardEmbedUrlOutput {
24878	s.EmbedUrl = &v
24879	return s
24880}
24881
24882// SetRequestId sets the RequestId field's value.
24883func (s *GetDashboardEmbedUrlOutput) SetRequestId(v string) *GetDashboardEmbedUrlOutput {
24884	s.RequestId = &v
24885	return s
24886}
24887
24888// SetStatus sets the Status field's value.
24889func (s *GetDashboardEmbedUrlOutput) SetStatus(v int64) *GetDashboardEmbedUrlOutput {
24890	s.Status = &v
24891	return s
24892}
24893
24894type GetSessionEmbedUrlInput struct {
24895	_ struct{} `type:"structure"`
24896
24897	// The ID for the Amazon Web Services account associated with your Amazon QuickSight
24898	// subscription.
24899	//
24900	// AwsAccountId is a required field
24901	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
24902
24903	// The URL you use to access the embedded session. The entry point URL is constrained
24904	// to the following paths:
24905	//
24906	//    * /start
24907	//
24908	//    * /start/analyses
24909	//
24910	//    * /start/dashboards
24911	//
24912	//    * /start/favorites
24913	//
24914	//    * /dashboards/DashboardId - where DashboardId is the actual ID key from
24915	//    the Amazon QuickSight console URL of the dashboard
24916	//
24917	//    * /analyses/AnalysisId - where AnalysisId is the actual ID key from the
24918	//    Amazon QuickSight console URL of the analysis
24919	EntryPoint *string `location:"querystring" locationName:"entry-point" min:"1" type:"string"`
24920
24921	// How many minutes the session is valid. The session lifetime must be 15-600
24922	// minutes.
24923	SessionLifetimeInMinutes *int64 `location:"querystring" locationName:"session-lifetime" min:"15" type:"long"`
24924
24925	// The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT
24926	// identity type. You can use this for any type of Amazon QuickSight users in
24927	// your account (readers, authors, or admins). They need to be authenticated
24928	// as one of the following:
24929	//
24930	// Active Directory (AD) users or group members
24931	//
24932	// Invited nonfederated users
24933	//
24934	// Identity and Access Management (IAM) users and IAM role-based sessions authenticated
24935	// through Federated Single Sign-On using SAML, OpenID Connect, or IAM federation
24936	//
24937	// Omit this parameter for users in the third group, IAM users and IAM role-based
24938	// sessions.
24939	UserArn *string `location:"querystring" locationName:"user-arn" type:"string"`
24940}
24941
24942// String returns the string representation
24943func (s GetSessionEmbedUrlInput) String() string {
24944	return awsutil.Prettify(s)
24945}
24946
24947// GoString returns the string representation
24948func (s GetSessionEmbedUrlInput) GoString() string {
24949	return s.String()
24950}
24951
24952// Validate inspects the fields of the type to determine if they are valid.
24953func (s *GetSessionEmbedUrlInput) Validate() error {
24954	invalidParams := request.ErrInvalidParams{Context: "GetSessionEmbedUrlInput"}
24955	if s.AwsAccountId == nil {
24956		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
24957	}
24958	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
24959		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
24960	}
24961	if s.EntryPoint != nil && len(*s.EntryPoint) < 1 {
24962		invalidParams.Add(request.NewErrParamMinLen("EntryPoint", 1))
24963	}
24964	if s.SessionLifetimeInMinutes != nil && *s.SessionLifetimeInMinutes < 15 {
24965		invalidParams.Add(request.NewErrParamMinValue("SessionLifetimeInMinutes", 15))
24966	}
24967
24968	if invalidParams.Len() > 0 {
24969		return invalidParams
24970	}
24971	return nil
24972}
24973
24974// SetAwsAccountId sets the AwsAccountId field's value.
24975func (s *GetSessionEmbedUrlInput) SetAwsAccountId(v string) *GetSessionEmbedUrlInput {
24976	s.AwsAccountId = &v
24977	return s
24978}
24979
24980// SetEntryPoint sets the EntryPoint field's value.
24981func (s *GetSessionEmbedUrlInput) SetEntryPoint(v string) *GetSessionEmbedUrlInput {
24982	s.EntryPoint = &v
24983	return s
24984}
24985
24986// SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value.
24987func (s *GetSessionEmbedUrlInput) SetSessionLifetimeInMinutes(v int64) *GetSessionEmbedUrlInput {
24988	s.SessionLifetimeInMinutes = &v
24989	return s
24990}
24991
24992// SetUserArn sets the UserArn field's value.
24993func (s *GetSessionEmbedUrlInput) SetUserArn(v string) *GetSessionEmbedUrlInput {
24994	s.UserArn = &v
24995	return s
24996}
24997
24998type GetSessionEmbedUrlOutput struct {
24999	_ struct{} `type:"structure"`
25000
25001	// A single-use URL that you can put into your server-side web page to embed
25002	// your Amazon QuickSight session. This URL is valid for 5 minutes. The API
25003	// operation provides the URL with an auth_code value that enables one (and
25004	// only one) sign-on to a user session that is valid for 10 hours.
25005	EmbedUrl *string `type:"string" sensitive:"true"`
25006
25007	// The Amazon Web Services request ID for this operation.
25008	RequestId *string `type:"string"`
25009
25010	// The HTTP status of the request.
25011	Status *int64 `location:"statusCode" type:"integer"`
25012}
25013
25014// String returns the string representation
25015func (s GetSessionEmbedUrlOutput) String() string {
25016	return awsutil.Prettify(s)
25017}
25018
25019// GoString returns the string representation
25020func (s GetSessionEmbedUrlOutput) GoString() string {
25021	return s.String()
25022}
25023
25024// SetEmbedUrl sets the EmbedUrl field's value.
25025func (s *GetSessionEmbedUrlOutput) SetEmbedUrl(v string) *GetSessionEmbedUrlOutput {
25026	s.EmbedUrl = &v
25027	return s
25028}
25029
25030// SetRequestId sets the RequestId field's value.
25031func (s *GetSessionEmbedUrlOutput) SetRequestId(v string) *GetSessionEmbedUrlOutput {
25032	s.RequestId = &v
25033	return s
25034}
25035
25036// SetStatus sets the Status field's value.
25037func (s *GetSessionEmbedUrlOutput) SetStatus(v int64) *GetSessionEmbedUrlOutput {
25038	s.Status = &v
25039	return s
25040}
25041
25042// A group in Amazon QuickSight consists of a set of users. You can use groups
25043// to make it easier to manage access and security.
25044type Group struct {
25045	_ struct{} `type:"structure"`
25046
25047	// The Amazon Resource Name (ARN) for the group.
25048	Arn *string `type:"string"`
25049
25050	// The group description.
25051	Description *string `min:"1" type:"string"`
25052
25053	// The name of the group.
25054	GroupName *string `min:"1" type:"string"`
25055
25056	// The principal ID of the group.
25057	PrincipalId *string `type:"string"`
25058}
25059
25060// String returns the string representation
25061func (s Group) String() string {
25062	return awsutil.Prettify(s)
25063}
25064
25065// GoString returns the string representation
25066func (s Group) GoString() string {
25067	return s.String()
25068}
25069
25070// SetArn sets the Arn field's value.
25071func (s *Group) SetArn(v string) *Group {
25072	s.Arn = &v
25073	return s
25074}
25075
25076// SetDescription sets the Description field's value.
25077func (s *Group) SetDescription(v string) *Group {
25078	s.Description = &v
25079	return s
25080}
25081
25082// SetGroupName sets the GroupName field's value.
25083func (s *Group) SetGroupName(v string) *Group {
25084	s.GroupName = &v
25085	return s
25086}
25087
25088// SetPrincipalId sets the PrincipalId field's value.
25089func (s *Group) SetPrincipalId(v string) *Group {
25090	s.PrincipalId = &v
25091	return s
25092}
25093
25094// A member of an Amazon QuickSight group. Currently, group members must be
25095// users. Groups can't be members of another group. .
25096type GroupMember struct {
25097	_ struct{} `type:"structure"`
25098
25099	// The Amazon Resource Name (ARN) for the group member (user).
25100	Arn *string `type:"string"`
25101
25102	// The name of the group member (user).
25103	MemberName *string `min:"1" type:"string"`
25104}
25105
25106// String returns the string representation
25107func (s GroupMember) String() string {
25108	return awsutil.Prettify(s)
25109}
25110
25111// GoString returns the string representation
25112func (s GroupMember) GoString() string {
25113	return s.String()
25114}
25115
25116// SetArn sets the Arn field's value.
25117func (s *GroupMember) SetArn(v string) *GroupMember {
25118	s.Arn = &v
25119	return s
25120}
25121
25122// SetMemberName sets the MemberName field's value.
25123func (s *GroupMember) SetMemberName(v string) *GroupMember {
25124	s.MemberName = &v
25125	return s
25126}
25127
25128// The display options for gutter spacing between tiles on a sheet.
25129type GutterStyle struct {
25130	_ struct{} `type:"structure"`
25131
25132	// This Boolean value controls whether to display a gutter space between sheet
25133	// tiles.
25134	Show *bool `type:"boolean"`
25135}
25136
25137// String returns the string representation
25138func (s GutterStyle) String() string {
25139	return awsutil.Prettify(s)
25140}
25141
25142// GoString returns the string representation
25143func (s GutterStyle) GoString() string {
25144	return s.String()
25145}
25146
25147// SetShow sets the Show field's value.
25148func (s *GutterStyle) SetShow(v bool) *GutterStyle {
25149	s.Show = &v
25150	return s
25151}
25152
25153// An Identity and Access Management (IAM) policy assignment.
25154type IAMPolicyAssignment struct {
25155	_ struct{} `type:"structure"`
25156
25157	// Assignment ID.
25158	AssignmentId *string `type:"string"`
25159
25160	// Assignment name.
25161	AssignmentName *string `min:"1" type:"string"`
25162
25163	// Assignment status.
25164	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
25165
25166	// The Amazon Web Services account ID.
25167	AwsAccountId *string `min:"12" type:"string"`
25168
25169	// Identities.
25170	Identities map[string][]*string `type:"map"`
25171
25172	// The Amazon Resource Name (ARN) for the IAMpolicy.
25173	PolicyArn *string `type:"string"`
25174}
25175
25176// String returns the string representation
25177func (s IAMPolicyAssignment) String() string {
25178	return awsutil.Prettify(s)
25179}
25180
25181// GoString returns the string representation
25182func (s IAMPolicyAssignment) GoString() string {
25183	return s.String()
25184}
25185
25186// SetAssignmentId sets the AssignmentId field's value.
25187func (s *IAMPolicyAssignment) SetAssignmentId(v string) *IAMPolicyAssignment {
25188	s.AssignmentId = &v
25189	return s
25190}
25191
25192// SetAssignmentName sets the AssignmentName field's value.
25193func (s *IAMPolicyAssignment) SetAssignmentName(v string) *IAMPolicyAssignment {
25194	s.AssignmentName = &v
25195	return s
25196}
25197
25198// SetAssignmentStatus sets the AssignmentStatus field's value.
25199func (s *IAMPolicyAssignment) SetAssignmentStatus(v string) *IAMPolicyAssignment {
25200	s.AssignmentStatus = &v
25201	return s
25202}
25203
25204// SetAwsAccountId sets the AwsAccountId field's value.
25205func (s *IAMPolicyAssignment) SetAwsAccountId(v string) *IAMPolicyAssignment {
25206	s.AwsAccountId = &v
25207	return s
25208}
25209
25210// SetIdentities sets the Identities field's value.
25211func (s *IAMPolicyAssignment) SetIdentities(v map[string][]*string) *IAMPolicyAssignment {
25212	s.Identities = v
25213	return s
25214}
25215
25216// SetPolicyArn sets the PolicyArn field's value.
25217func (s *IAMPolicyAssignment) SetPolicyArn(v string) *IAMPolicyAssignment {
25218	s.PolicyArn = &v
25219	return s
25220}
25221
25222// IAMpolicy assignment summary.
25223type IAMPolicyAssignmentSummary struct {
25224	_ struct{} `type:"structure"`
25225
25226	// Assignment name.
25227	AssignmentName *string `min:"1" type:"string"`
25228
25229	// Assignment status.
25230	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
25231}
25232
25233// String returns the string representation
25234func (s IAMPolicyAssignmentSummary) String() string {
25235	return awsutil.Prettify(s)
25236}
25237
25238// GoString returns the string representation
25239func (s IAMPolicyAssignmentSummary) GoString() string {
25240	return s.String()
25241}
25242
25243// SetAssignmentName sets the AssignmentName field's value.
25244func (s *IAMPolicyAssignmentSummary) SetAssignmentName(v string) *IAMPolicyAssignmentSummary {
25245	s.AssignmentName = &v
25246	return s
25247}
25248
25249// SetAssignmentStatus sets the AssignmentStatus field's value.
25250func (s *IAMPolicyAssignmentSummary) SetAssignmentStatus(v string) *IAMPolicyAssignmentSummary {
25251	s.AssignmentStatus = &v
25252	return s
25253}
25254
25255// The identity type specified isn't supported. Supported identity types include
25256// IAM and QUICKSIGHT.
25257type IdentityTypeNotSupportedException struct {
25258	_            struct{}                  `type:"structure"`
25259	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
25260
25261	Message_ *string `locationName:"Message" type:"string"`
25262
25263	// The Amazon Web Services request ID for this request.
25264	RequestId *string `type:"string"`
25265}
25266
25267// String returns the string representation
25268func (s IdentityTypeNotSupportedException) String() string {
25269	return awsutil.Prettify(s)
25270}
25271
25272// GoString returns the string representation
25273func (s IdentityTypeNotSupportedException) GoString() string {
25274	return s.String()
25275}
25276
25277func newErrorIdentityTypeNotSupportedException(v protocol.ResponseMetadata) error {
25278	return &IdentityTypeNotSupportedException{
25279		RespMetadata: v,
25280	}
25281}
25282
25283// Code returns the exception type name.
25284func (s *IdentityTypeNotSupportedException) Code() string {
25285	return "IdentityTypeNotSupportedException"
25286}
25287
25288// Message returns the exception's message.
25289func (s *IdentityTypeNotSupportedException) Message() string {
25290	if s.Message_ != nil {
25291		return *s.Message_
25292	}
25293	return ""
25294}
25295
25296// OrigErr always returns nil, satisfies awserr.Error interface.
25297func (s *IdentityTypeNotSupportedException) OrigErr() error {
25298	return nil
25299}
25300
25301func (s *IdentityTypeNotSupportedException) Error() string {
25302	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
25303}
25304
25305// Status code returns the HTTP status code for the request's response error.
25306func (s *IdentityTypeNotSupportedException) StatusCode() int {
25307	return s.RespMetadata.StatusCode
25308}
25309
25310// RequestID returns the service's response RequestID for request.
25311func (s *IdentityTypeNotSupportedException) RequestID() string {
25312	return s.RespMetadata.RequestID
25313}
25314
25315// Information about the SPICE ingestion for a dataset.
25316type Ingestion struct {
25317	_ struct{} `type:"structure"`
25318
25319	// The Amazon Resource Name (ARN) of the resource.
25320	//
25321	// Arn is a required field
25322	Arn *string `type:"string" required:"true"`
25323
25324	// The time that this ingestion started.
25325	//
25326	// CreatedTime is a required field
25327	CreatedTime *time.Time `type:"timestamp" required:"true"`
25328
25329	// Error information for this ingestion.
25330	ErrorInfo *ErrorInfo `type:"structure"`
25331
25332	// Ingestion ID.
25333	IngestionId *string `min:"1" type:"string"`
25334
25335	// The size of the data ingested, in bytes.
25336	IngestionSizeInBytes *int64 `type:"long"`
25337
25338	// Ingestion status.
25339	//
25340	// IngestionStatus is a required field
25341	IngestionStatus *string `type:"string" required:"true" enum:"IngestionStatus"`
25342
25343	// The time that this ingestion took, measured in seconds.
25344	IngestionTimeInSeconds *int64 `type:"long"`
25345
25346	// Information about a queued dataset SPICE ingestion.
25347	QueueInfo *QueueInfo `type:"structure"`
25348
25349	// Event source for this ingestion.
25350	RequestSource *string `type:"string" enum:"IngestionRequestSource"`
25351
25352	// Type of this ingestion.
25353	RequestType *string `type:"string" enum:"IngestionRequestType"`
25354
25355	// Information about rows for a data set SPICE ingestion.
25356	RowInfo *RowInfo `type:"structure"`
25357}
25358
25359// String returns the string representation
25360func (s Ingestion) String() string {
25361	return awsutil.Prettify(s)
25362}
25363
25364// GoString returns the string representation
25365func (s Ingestion) GoString() string {
25366	return s.String()
25367}
25368
25369// SetArn sets the Arn field's value.
25370func (s *Ingestion) SetArn(v string) *Ingestion {
25371	s.Arn = &v
25372	return s
25373}
25374
25375// SetCreatedTime sets the CreatedTime field's value.
25376func (s *Ingestion) SetCreatedTime(v time.Time) *Ingestion {
25377	s.CreatedTime = &v
25378	return s
25379}
25380
25381// SetErrorInfo sets the ErrorInfo field's value.
25382func (s *Ingestion) SetErrorInfo(v *ErrorInfo) *Ingestion {
25383	s.ErrorInfo = v
25384	return s
25385}
25386
25387// SetIngestionId sets the IngestionId field's value.
25388func (s *Ingestion) SetIngestionId(v string) *Ingestion {
25389	s.IngestionId = &v
25390	return s
25391}
25392
25393// SetIngestionSizeInBytes sets the IngestionSizeInBytes field's value.
25394func (s *Ingestion) SetIngestionSizeInBytes(v int64) *Ingestion {
25395	s.IngestionSizeInBytes = &v
25396	return s
25397}
25398
25399// SetIngestionStatus sets the IngestionStatus field's value.
25400func (s *Ingestion) SetIngestionStatus(v string) *Ingestion {
25401	s.IngestionStatus = &v
25402	return s
25403}
25404
25405// SetIngestionTimeInSeconds sets the IngestionTimeInSeconds field's value.
25406func (s *Ingestion) SetIngestionTimeInSeconds(v int64) *Ingestion {
25407	s.IngestionTimeInSeconds = &v
25408	return s
25409}
25410
25411// SetQueueInfo sets the QueueInfo field's value.
25412func (s *Ingestion) SetQueueInfo(v *QueueInfo) *Ingestion {
25413	s.QueueInfo = v
25414	return s
25415}
25416
25417// SetRequestSource sets the RequestSource field's value.
25418func (s *Ingestion) SetRequestSource(v string) *Ingestion {
25419	s.RequestSource = &v
25420	return s
25421}
25422
25423// SetRequestType sets the RequestType field's value.
25424func (s *Ingestion) SetRequestType(v string) *Ingestion {
25425	s.RequestType = &v
25426	return s
25427}
25428
25429// SetRowInfo sets the RowInfo field's value.
25430func (s *Ingestion) SetRowInfo(v *RowInfo) *Ingestion {
25431	s.RowInfo = v
25432	return s
25433}
25434
25435// Metadata for a column that is used as the input of a transform operation.
25436type InputColumn struct {
25437	_ struct{} `type:"structure"`
25438
25439	// The name of this column in the underlying data source.
25440	//
25441	// Name is a required field
25442	Name *string `min:"1" type:"string" required:"true"`
25443
25444	// The data type of the column.
25445	//
25446	// Type is a required field
25447	Type *string `type:"string" required:"true" enum:"InputColumnDataType"`
25448}
25449
25450// String returns the string representation
25451func (s InputColumn) String() string {
25452	return awsutil.Prettify(s)
25453}
25454
25455// GoString returns the string representation
25456func (s InputColumn) GoString() string {
25457	return s.String()
25458}
25459
25460// Validate inspects the fields of the type to determine if they are valid.
25461func (s *InputColumn) Validate() error {
25462	invalidParams := request.ErrInvalidParams{Context: "InputColumn"}
25463	if s.Name == nil {
25464		invalidParams.Add(request.NewErrParamRequired("Name"))
25465	}
25466	if s.Name != nil && len(*s.Name) < 1 {
25467		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
25468	}
25469	if s.Type == nil {
25470		invalidParams.Add(request.NewErrParamRequired("Type"))
25471	}
25472
25473	if invalidParams.Len() > 0 {
25474		return invalidParams
25475	}
25476	return nil
25477}
25478
25479// SetName sets the Name field's value.
25480func (s *InputColumn) SetName(v string) *InputColumn {
25481	s.Name = &v
25482	return s
25483}
25484
25485// SetType sets the Type field's value.
25486func (s *InputColumn) SetType(v string) *InputColumn {
25487	s.Type = &v
25488	return s
25489}
25490
25491// An integer parameter.
25492type IntegerParameter struct {
25493	_ struct{} `type:"structure"`
25494
25495	// The name of the integer parameter.
25496	//
25497	// Name is a required field
25498	Name *string `type:"string" required:"true"`
25499
25500	// The values for the integer parameter.
25501	//
25502	// Values is a required field
25503	Values []*int64 `type:"list" required:"true"`
25504}
25505
25506// String returns the string representation
25507func (s IntegerParameter) String() string {
25508	return awsutil.Prettify(s)
25509}
25510
25511// GoString returns the string representation
25512func (s IntegerParameter) GoString() string {
25513	return s.String()
25514}
25515
25516// Validate inspects the fields of the type to determine if they are valid.
25517func (s *IntegerParameter) Validate() error {
25518	invalidParams := request.ErrInvalidParams{Context: "IntegerParameter"}
25519	if s.Name == nil {
25520		invalidParams.Add(request.NewErrParamRequired("Name"))
25521	}
25522	if s.Values == nil {
25523		invalidParams.Add(request.NewErrParamRequired("Values"))
25524	}
25525
25526	if invalidParams.Len() > 0 {
25527		return invalidParams
25528	}
25529	return nil
25530}
25531
25532// SetName sets the Name field's value.
25533func (s *IntegerParameter) SetName(v string) *IntegerParameter {
25534	s.Name = &v
25535	return s
25536}
25537
25538// SetValues sets the Values field's value.
25539func (s *IntegerParameter) SetValues(v []*int64) *IntegerParameter {
25540	s.Values = v
25541	return s
25542}
25543
25544// An internal failure occurred.
25545type InternalFailureException struct {
25546	_            struct{}                  `type:"structure"`
25547	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
25548
25549	Message_ *string `locationName:"Message" type:"string"`
25550
25551	// The Amazon Web Services request ID for this request.
25552	RequestId *string `type:"string"`
25553}
25554
25555// String returns the string representation
25556func (s InternalFailureException) String() string {
25557	return awsutil.Prettify(s)
25558}
25559
25560// GoString returns the string representation
25561func (s InternalFailureException) GoString() string {
25562	return s.String()
25563}
25564
25565func newErrorInternalFailureException(v protocol.ResponseMetadata) error {
25566	return &InternalFailureException{
25567		RespMetadata: v,
25568	}
25569}
25570
25571// Code returns the exception type name.
25572func (s *InternalFailureException) Code() string {
25573	return "InternalFailureException"
25574}
25575
25576// Message returns the exception's message.
25577func (s *InternalFailureException) Message() string {
25578	if s.Message_ != nil {
25579		return *s.Message_
25580	}
25581	return ""
25582}
25583
25584// OrigErr always returns nil, satisfies awserr.Error interface.
25585func (s *InternalFailureException) OrigErr() error {
25586	return nil
25587}
25588
25589func (s *InternalFailureException) Error() string {
25590	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
25591}
25592
25593// Status code returns the HTTP status code for the request's response error.
25594func (s *InternalFailureException) StatusCode() int {
25595	return s.RespMetadata.StatusCode
25596}
25597
25598// RequestID returns the service's response RequestID for request.
25599func (s *InternalFailureException) RequestID() string {
25600	return s.RespMetadata.RequestID
25601}
25602
25603// The NextToken value isn't valid.
25604type InvalidNextTokenException struct {
25605	_            struct{}                  `type:"structure"`
25606	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
25607
25608	Message_ *string `locationName:"Message" type:"string"`
25609
25610	// The Amazon Web Services request ID for this request.
25611	RequestId *string `type:"string"`
25612}
25613
25614// String returns the string representation
25615func (s InvalidNextTokenException) String() string {
25616	return awsutil.Prettify(s)
25617}
25618
25619// GoString returns the string representation
25620func (s InvalidNextTokenException) GoString() string {
25621	return s.String()
25622}
25623
25624func newErrorInvalidNextTokenException(v protocol.ResponseMetadata) error {
25625	return &InvalidNextTokenException{
25626		RespMetadata: v,
25627	}
25628}
25629
25630// Code returns the exception type name.
25631func (s *InvalidNextTokenException) Code() string {
25632	return "InvalidNextTokenException"
25633}
25634
25635// Message returns the exception's message.
25636func (s *InvalidNextTokenException) Message() string {
25637	if s.Message_ != nil {
25638		return *s.Message_
25639	}
25640	return ""
25641}
25642
25643// OrigErr always returns nil, satisfies awserr.Error interface.
25644func (s *InvalidNextTokenException) OrigErr() error {
25645	return nil
25646}
25647
25648func (s *InvalidNextTokenException) Error() string {
25649	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
25650}
25651
25652// Status code returns the HTTP status code for the request's response error.
25653func (s *InvalidNextTokenException) StatusCode() int {
25654	return s.RespMetadata.StatusCode
25655}
25656
25657// RequestID returns the service's response RequestID for request.
25658func (s *InvalidNextTokenException) RequestID() string {
25659	return s.RespMetadata.RequestID
25660}
25661
25662// One or more parameters has a value that isn't valid.
25663type InvalidParameterValueException struct {
25664	_            struct{}                  `type:"structure"`
25665	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
25666
25667	Message_ *string `locationName:"Message" type:"string"`
25668
25669	// The Amazon Web Services request ID for this request.
25670	RequestId *string `type:"string"`
25671}
25672
25673// String returns the string representation
25674func (s InvalidParameterValueException) String() string {
25675	return awsutil.Prettify(s)
25676}
25677
25678// GoString returns the string representation
25679func (s InvalidParameterValueException) GoString() string {
25680	return s.String()
25681}
25682
25683func newErrorInvalidParameterValueException(v protocol.ResponseMetadata) error {
25684	return &InvalidParameterValueException{
25685		RespMetadata: v,
25686	}
25687}
25688
25689// Code returns the exception type name.
25690func (s *InvalidParameterValueException) Code() string {
25691	return "InvalidParameterValueException"
25692}
25693
25694// Message returns the exception's message.
25695func (s *InvalidParameterValueException) Message() string {
25696	if s.Message_ != nil {
25697		return *s.Message_
25698	}
25699	return ""
25700}
25701
25702// OrigErr always returns nil, satisfies awserr.Error interface.
25703func (s *InvalidParameterValueException) OrigErr() error {
25704	return nil
25705}
25706
25707func (s *InvalidParameterValueException) Error() string {
25708	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
25709}
25710
25711// Status code returns the HTTP status code for the request's response error.
25712func (s *InvalidParameterValueException) StatusCode() int {
25713	return s.RespMetadata.StatusCode
25714}
25715
25716// RequestID returns the service's response RequestID for request.
25717func (s *InvalidParameterValueException) RequestID() string {
25718	return s.RespMetadata.RequestID
25719}
25720
25721// The parameters for Jira.
25722type JiraParameters struct {
25723	_ struct{} `type:"structure"`
25724
25725	// The base URL of the Jira site.
25726	//
25727	// SiteBaseUrl is a required field
25728	SiteBaseUrl *string `min:"1" type:"string" required:"true"`
25729}
25730
25731// String returns the string representation
25732func (s JiraParameters) String() string {
25733	return awsutil.Prettify(s)
25734}
25735
25736// GoString returns the string representation
25737func (s JiraParameters) GoString() string {
25738	return s.String()
25739}
25740
25741// Validate inspects the fields of the type to determine if they are valid.
25742func (s *JiraParameters) Validate() error {
25743	invalidParams := request.ErrInvalidParams{Context: "JiraParameters"}
25744	if s.SiteBaseUrl == nil {
25745		invalidParams.Add(request.NewErrParamRequired("SiteBaseUrl"))
25746	}
25747	if s.SiteBaseUrl != nil && len(*s.SiteBaseUrl) < 1 {
25748		invalidParams.Add(request.NewErrParamMinLen("SiteBaseUrl", 1))
25749	}
25750
25751	if invalidParams.Len() > 0 {
25752		return invalidParams
25753	}
25754	return nil
25755}
25756
25757// SetSiteBaseUrl sets the SiteBaseUrl field's value.
25758func (s *JiraParameters) SetSiteBaseUrl(v string) *JiraParameters {
25759	s.SiteBaseUrl = &v
25760	return s
25761}
25762
25763// The instructions associated with a join.
25764type JoinInstruction struct {
25765	_ struct{} `type:"structure"`
25766
25767	// Join key properties of the left operand.
25768	LeftJoinKeyProperties *JoinKeyProperties `type:"structure"`
25769
25770	// The operand on the left side of a join.
25771	//
25772	// LeftOperand is a required field
25773	LeftOperand *string `min:"1" type:"string" required:"true"`
25774
25775	// The join instructions provided in the ON clause of a join.
25776	//
25777	// OnClause is a required field
25778	OnClause *string `min:"1" type:"string" required:"true"`
25779
25780	// Join key properties of the right operand.
25781	RightJoinKeyProperties *JoinKeyProperties `type:"structure"`
25782
25783	// The operand on the right side of a join.
25784	//
25785	// RightOperand is a required field
25786	RightOperand *string `min:"1" type:"string" required:"true"`
25787
25788	// The type of join that it is.
25789	//
25790	// Type is a required field
25791	Type *string `type:"string" required:"true" enum:"JoinType"`
25792}
25793
25794// String returns the string representation
25795func (s JoinInstruction) String() string {
25796	return awsutil.Prettify(s)
25797}
25798
25799// GoString returns the string representation
25800func (s JoinInstruction) GoString() string {
25801	return s.String()
25802}
25803
25804// Validate inspects the fields of the type to determine if they are valid.
25805func (s *JoinInstruction) Validate() error {
25806	invalidParams := request.ErrInvalidParams{Context: "JoinInstruction"}
25807	if s.LeftOperand == nil {
25808		invalidParams.Add(request.NewErrParamRequired("LeftOperand"))
25809	}
25810	if s.LeftOperand != nil && len(*s.LeftOperand) < 1 {
25811		invalidParams.Add(request.NewErrParamMinLen("LeftOperand", 1))
25812	}
25813	if s.OnClause == nil {
25814		invalidParams.Add(request.NewErrParamRequired("OnClause"))
25815	}
25816	if s.OnClause != nil && len(*s.OnClause) < 1 {
25817		invalidParams.Add(request.NewErrParamMinLen("OnClause", 1))
25818	}
25819	if s.RightOperand == nil {
25820		invalidParams.Add(request.NewErrParamRequired("RightOperand"))
25821	}
25822	if s.RightOperand != nil && len(*s.RightOperand) < 1 {
25823		invalidParams.Add(request.NewErrParamMinLen("RightOperand", 1))
25824	}
25825	if s.Type == nil {
25826		invalidParams.Add(request.NewErrParamRequired("Type"))
25827	}
25828
25829	if invalidParams.Len() > 0 {
25830		return invalidParams
25831	}
25832	return nil
25833}
25834
25835// SetLeftJoinKeyProperties sets the LeftJoinKeyProperties field's value.
25836func (s *JoinInstruction) SetLeftJoinKeyProperties(v *JoinKeyProperties) *JoinInstruction {
25837	s.LeftJoinKeyProperties = v
25838	return s
25839}
25840
25841// SetLeftOperand sets the LeftOperand field's value.
25842func (s *JoinInstruction) SetLeftOperand(v string) *JoinInstruction {
25843	s.LeftOperand = &v
25844	return s
25845}
25846
25847// SetOnClause sets the OnClause field's value.
25848func (s *JoinInstruction) SetOnClause(v string) *JoinInstruction {
25849	s.OnClause = &v
25850	return s
25851}
25852
25853// SetRightJoinKeyProperties sets the RightJoinKeyProperties field's value.
25854func (s *JoinInstruction) SetRightJoinKeyProperties(v *JoinKeyProperties) *JoinInstruction {
25855	s.RightJoinKeyProperties = v
25856	return s
25857}
25858
25859// SetRightOperand sets the RightOperand field's value.
25860func (s *JoinInstruction) SetRightOperand(v string) *JoinInstruction {
25861	s.RightOperand = &v
25862	return s
25863}
25864
25865// SetType sets the Type field's value.
25866func (s *JoinInstruction) SetType(v string) *JoinInstruction {
25867	s.Type = &v
25868	return s
25869}
25870
25871// Properties associated with the columns participating in a join.
25872type JoinKeyProperties struct {
25873	_ struct{} `type:"structure"`
25874
25875	// A value that indicates that a row in a table is uniquely identified by the
25876	// columns in a join key. This is used by Amazon QuickSight to optimize query
25877	// performance.
25878	UniqueKey *bool `type:"boolean"`
25879}
25880
25881// String returns the string representation
25882func (s JoinKeyProperties) String() string {
25883	return awsutil.Prettify(s)
25884}
25885
25886// GoString returns the string representation
25887func (s JoinKeyProperties) GoString() string {
25888	return s.String()
25889}
25890
25891// SetUniqueKey sets the UniqueKey field's value.
25892func (s *JoinKeyProperties) SetUniqueKey(v bool) *JoinKeyProperties {
25893	s.UniqueKey = &v
25894	return s
25895}
25896
25897// A limit is exceeded.
25898type LimitExceededException struct {
25899	_            struct{}                  `type:"structure"`
25900	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
25901
25902	Message_ *string `locationName:"Message" type:"string"`
25903
25904	// The Amazon Web Services request ID for this request.
25905	RequestId *string `type:"string"`
25906
25907	// Limit exceeded.
25908	ResourceType *string `type:"string" enum:"ExceptionResourceType"`
25909}
25910
25911// String returns the string representation
25912func (s LimitExceededException) String() string {
25913	return awsutil.Prettify(s)
25914}
25915
25916// GoString returns the string representation
25917func (s LimitExceededException) GoString() string {
25918	return s.String()
25919}
25920
25921func newErrorLimitExceededException(v protocol.ResponseMetadata) error {
25922	return &LimitExceededException{
25923		RespMetadata: v,
25924	}
25925}
25926
25927// Code returns the exception type name.
25928func (s *LimitExceededException) Code() string {
25929	return "LimitExceededException"
25930}
25931
25932// Message returns the exception's message.
25933func (s *LimitExceededException) Message() string {
25934	if s.Message_ != nil {
25935		return *s.Message_
25936	}
25937	return ""
25938}
25939
25940// OrigErr always returns nil, satisfies awserr.Error interface.
25941func (s *LimitExceededException) OrigErr() error {
25942	return nil
25943}
25944
25945func (s *LimitExceededException) Error() string {
25946	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
25947}
25948
25949// Status code returns the HTTP status code for the request's response error.
25950func (s *LimitExceededException) StatusCode() int {
25951	return s.RespMetadata.StatusCode
25952}
25953
25954// RequestID returns the service's response RequestID for request.
25955func (s *LimitExceededException) RequestID() string {
25956	return s.RespMetadata.RequestID
25957}
25958
25959type ListAnalysesInput struct {
25960	_ struct{} `type:"structure"`
25961
25962	// The ID of the Amazon Web Services account that contains the analyses.
25963	//
25964	// AwsAccountId is a required field
25965	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
25966
25967	// The maximum number of results to return.
25968	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
25969
25970	// A pagination token that can be used in a subsequent request.
25971	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
25972}
25973
25974// String returns the string representation
25975func (s ListAnalysesInput) String() string {
25976	return awsutil.Prettify(s)
25977}
25978
25979// GoString returns the string representation
25980func (s ListAnalysesInput) GoString() string {
25981	return s.String()
25982}
25983
25984// Validate inspects the fields of the type to determine if they are valid.
25985func (s *ListAnalysesInput) Validate() error {
25986	invalidParams := request.ErrInvalidParams{Context: "ListAnalysesInput"}
25987	if s.AwsAccountId == nil {
25988		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
25989	}
25990	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
25991		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
25992	}
25993	if s.MaxResults != nil && *s.MaxResults < 1 {
25994		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
25995	}
25996
25997	if invalidParams.Len() > 0 {
25998		return invalidParams
25999	}
26000	return nil
26001}
26002
26003// SetAwsAccountId sets the AwsAccountId field's value.
26004func (s *ListAnalysesInput) SetAwsAccountId(v string) *ListAnalysesInput {
26005	s.AwsAccountId = &v
26006	return s
26007}
26008
26009// SetMaxResults sets the MaxResults field's value.
26010func (s *ListAnalysesInput) SetMaxResults(v int64) *ListAnalysesInput {
26011	s.MaxResults = &v
26012	return s
26013}
26014
26015// SetNextToken sets the NextToken field's value.
26016func (s *ListAnalysesInput) SetNextToken(v string) *ListAnalysesInput {
26017	s.NextToken = &v
26018	return s
26019}
26020
26021type ListAnalysesOutput struct {
26022	_ struct{} `type:"structure"`
26023
26024	// Metadata describing each of the analyses that are listed.
26025	AnalysisSummaryList []*AnalysisSummary `type:"list"`
26026
26027	// A pagination token that can be used in a subsequent request.
26028	NextToken *string `type:"string"`
26029
26030	// The Amazon Web Services request ID for this operation.
26031	RequestId *string `type:"string"`
26032
26033	// The HTTP status of the request.
26034	Status *int64 `location:"statusCode" type:"integer"`
26035}
26036
26037// String returns the string representation
26038func (s ListAnalysesOutput) String() string {
26039	return awsutil.Prettify(s)
26040}
26041
26042// GoString returns the string representation
26043func (s ListAnalysesOutput) GoString() string {
26044	return s.String()
26045}
26046
26047// SetAnalysisSummaryList sets the AnalysisSummaryList field's value.
26048func (s *ListAnalysesOutput) SetAnalysisSummaryList(v []*AnalysisSummary) *ListAnalysesOutput {
26049	s.AnalysisSummaryList = v
26050	return s
26051}
26052
26053// SetNextToken sets the NextToken field's value.
26054func (s *ListAnalysesOutput) SetNextToken(v string) *ListAnalysesOutput {
26055	s.NextToken = &v
26056	return s
26057}
26058
26059// SetRequestId sets the RequestId field's value.
26060func (s *ListAnalysesOutput) SetRequestId(v string) *ListAnalysesOutput {
26061	s.RequestId = &v
26062	return s
26063}
26064
26065// SetStatus sets the Status field's value.
26066func (s *ListAnalysesOutput) SetStatus(v int64) *ListAnalysesOutput {
26067	s.Status = &v
26068	return s
26069}
26070
26071type ListDashboardVersionsInput struct {
26072	_ struct{} `type:"structure"`
26073
26074	// The ID of the Amazon Web Services account that contains the dashboard that
26075	// you're listing versions for.
26076	//
26077	// AwsAccountId is a required field
26078	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
26079
26080	// The ID for the dashboard.
26081	//
26082	// DashboardId is a required field
26083	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
26084
26085	// The maximum number of results to be returned per request.
26086	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
26087
26088	// The token for the next set of results, or null if there are no more results.
26089	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
26090}
26091
26092// String returns the string representation
26093func (s ListDashboardVersionsInput) String() string {
26094	return awsutil.Prettify(s)
26095}
26096
26097// GoString returns the string representation
26098func (s ListDashboardVersionsInput) GoString() string {
26099	return s.String()
26100}
26101
26102// Validate inspects the fields of the type to determine if they are valid.
26103func (s *ListDashboardVersionsInput) Validate() error {
26104	invalidParams := request.ErrInvalidParams{Context: "ListDashboardVersionsInput"}
26105	if s.AwsAccountId == nil {
26106		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
26107	}
26108	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
26109		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
26110	}
26111	if s.DashboardId == nil {
26112		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
26113	}
26114	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
26115		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
26116	}
26117	if s.MaxResults != nil && *s.MaxResults < 1 {
26118		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
26119	}
26120
26121	if invalidParams.Len() > 0 {
26122		return invalidParams
26123	}
26124	return nil
26125}
26126
26127// SetAwsAccountId sets the AwsAccountId field's value.
26128func (s *ListDashboardVersionsInput) SetAwsAccountId(v string) *ListDashboardVersionsInput {
26129	s.AwsAccountId = &v
26130	return s
26131}
26132
26133// SetDashboardId sets the DashboardId field's value.
26134func (s *ListDashboardVersionsInput) SetDashboardId(v string) *ListDashboardVersionsInput {
26135	s.DashboardId = &v
26136	return s
26137}
26138
26139// SetMaxResults sets the MaxResults field's value.
26140func (s *ListDashboardVersionsInput) SetMaxResults(v int64) *ListDashboardVersionsInput {
26141	s.MaxResults = &v
26142	return s
26143}
26144
26145// SetNextToken sets the NextToken field's value.
26146func (s *ListDashboardVersionsInput) SetNextToken(v string) *ListDashboardVersionsInput {
26147	s.NextToken = &v
26148	return s
26149}
26150
26151type ListDashboardVersionsOutput struct {
26152	_ struct{} `type:"structure"`
26153
26154	// A structure that contains information about each version of the dashboard.
26155	DashboardVersionSummaryList []*DashboardVersionSummary `type:"list"`
26156
26157	// The token for the next set of results, or null if there are no more results.
26158	NextToken *string `type:"string"`
26159
26160	// The Amazon Web Services request ID for this operation.
26161	RequestId *string `type:"string"`
26162
26163	// The HTTP status of the request.
26164	Status *int64 `location:"statusCode" type:"integer"`
26165}
26166
26167// String returns the string representation
26168func (s ListDashboardVersionsOutput) String() string {
26169	return awsutil.Prettify(s)
26170}
26171
26172// GoString returns the string representation
26173func (s ListDashboardVersionsOutput) GoString() string {
26174	return s.String()
26175}
26176
26177// SetDashboardVersionSummaryList sets the DashboardVersionSummaryList field's value.
26178func (s *ListDashboardVersionsOutput) SetDashboardVersionSummaryList(v []*DashboardVersionSummary) *ListDashboardVersionsOutput {
26179	s.DashboardVersionSummaryList = v
26180	return s
26181}
26182
26183// SetNextToken sets the NextToken field's value.
26184func (s *ListDashboardVersionsOutput) SetNextToken(v string) *ListDashboardVersionsOutput {
26185	s.NextToken = &v
26186	return s
26187}
26188
26189// SetRequestId sets the RequestId field's value.
26190func (s *ListDashboardVersionsOutput) SetRequestId(v string) *ListDashboardVersionsOutput {
26191	s.RequestId = &v
26192	return s
26193}
26194
26195// SetStatus sets the Status field's value.
26196func (s *ListDashboardVersionsOutput) SetStatus(v int64) *ListDashboardVersionsOutput {
26197	s.Status = &v
26198	return s
26199}
26200
26201type ListDashboardsInput struct {
26202	_ struct{} `type:"structure"`
26203
26204	// The ID of the Amazon Web Services account that contains the dashboards that
26205	// you're listing.
26206	//
26207	// AwsAccountId is a required field
26208	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
26209
26210	// The maximum number of results to be returned per request.
26211	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
26212
26213	// The token for the next set of results, or null if there are no more results.
26214	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
26215}
26216
26217// String returns the string representation
26218func (s ListDashboardsInput) String() string {
26219	return awsutil.Prettify(s)
26220}
26221
26222// GoString returns the string representation
26223func (s ListDashboardsInput) GoString() string {
26224	return s.String()
26225}
26226
26227// Validate inspects the fields of the type to determine if they are valid.
26228func (s *ListDashboardsInput) Validate() error {
26229	invalidParams := request.ErrInvalidParams{Context: "ListDashboardsInput"}
26230	if s.AwsAccountId == nil {
26231		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
26232	}
26233	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
26234		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
26235	}
26236	if s.MaxResults != nil && *s.MaxResults < 1 {
26237		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
26238	}
26239
26240	if invalidParams.Len() > 0 {
26241		return invalidParams
26242	}
26243	return nil
26244}
26245
26246// SetAwsAccountId sets the AwsAccountId field's value.
26247func (s *ListDashboardsInput) SetAwsAccountId(v string) *ListDashboardsInput {
26248	s.AwsAccountId = &v
26249	return s
26250}
26251
26252// SetMaxResults sets the MaxResults field's value.
26253func (s *ListDashboardsInput) SetMaxResults(v int64) *ListDashboardsInput {
26254	s.MaxResults = &v
26255	return s
26256}
26257
26258// SetNextToken sets the NextToken field's value.
26259func (s *ListDashboardsInput) SetNextToken(v string) *ListDashboardsInput {
26260	s.NextToken = &v
26261	return s
26262}
26263
26264type ListDashboardsOutput struct {
26265	_ struct{} `type:"structure"`
26266
26267	// A structure that contains all of the dashboards in your Amazon Web Services
26268	// account. This structure provides basic information about the dashboards.
26269	DashboardSummaryList []*DashboardSummary `type:"list"`
26270
26271	// The token for the next set of results, or null if there are no more results.
26272	NextToken *string `type:"string"`
26273
26274	// The Amazon Web Services request ID for this operation.
26275	RequestId *string `type:"string"`
26276
26277	// The HTTP status of the request.
26278	Status *int64 `location:"statusCode" type:"integer"`
26279}
26280
26281// String returns the string representation
26282func (s ListDashboardsOutput) String() string {
26283	return awsutil.Prettify(s)
26284}
26285
26286// GoString returns the string representation
26287func (s ListDashboardsOutput) GoString() string {
26288	return s.String()
26289}
26290
26291// SetDashboardSummaryList sets the DashboardSummaryList field's value.
26292func (s *ListDashboardsOutput) SetDashboardSummaryList(v []*DashboardSummary) *ListDashboardsOutput {
26293	s.DashboardSummaryList = v
26294	return s
26295}
26296
26297// SetNextToken sets the NextToken field's value.
26298func (s *ListDashboardsOutput) SetNextToken(v string) *ListDashboardsOutput {
26299	s.NextToken = &v
26300	return s
26301}
26302
26303// SetRequestId sets the RequestId field's value.
26304func (s *ListDashboardsOutput) SetRequestId(v string) *ListDashboardsOutput {
26305	s.RequestId = &v
26306	return s
26307}
26308
26309// SetStatus sets the Status field's value.
26310func (s *ListDashboardsOutput) SetStatus(v int64) *ListDashboardsOutput {
26311	s.Status = &v
26312	return s
26313}
26314
26315type ListDataSetsInput struct {
26316	_ struct{} `type:"structure"`
26317
26318	// The Amazon Web Services account ID.
26319	//
26320	// AwsAccountId is a required field
26321	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
26322
26323	// The maximum number of results to be returned per request.
26324	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
26325
26326	// The token for the next set of results, or null if there are no more results.
26327	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
26328}
26329
26330// String returns the string representation
26331func (s ListDataSetsInput) String() string {
26332	return awsutil.Prettify(s)
26333}
26334
26335// GoString returns the string representation
26336func (s ListDataSetsInput) GoString() string {
26337	return s.String()
26338}
26339
26340// Validate inspects the fields of the type to determine if they are valid.
26341func (s *ListDataSetsInput) Validate() error {
26342	invalidParams := request.ErrInvalidParams{Context: "ListDataSetsInput"}
26343	if s.AwsAccountId == nil {
26344		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
26345	}
26346	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
26347		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
26348	}
26349	if s.MaxResults != nil && *s.MaxResults < 1 {
26350		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
26351	}
26352
26353	if invalidParams.Len() > 0 {
26354		return invalidParams
26355	}
26356	return nil
26357}
26358
26359// SetAwsAccountId sets the AwsAccountId field's value.
26360func (s *ListDataSetsInput) SetAwsAccountId(v string) *ListDataSetsInput {
26361	s.AwsAccountId = &v
26362	return s
26363}
26364
26365// SetMaxResults sets the MaxResults field's value.
26366func (s *ListDataSetsInput) SetMaxResults(v int64) *ListDataSetsInput {
26367	s.MaxResults = &v
26368	return s
26369}
26370
26371// SetNextToken sets the NextToken field's value.
26372func (s *ListDataSetsInput) SetNextToken(v string) *ListDataSetsInput {
26373	s.NextToken = &v
26374	return s
26375}
26376
26377type ListDataSetsOutput struct {
26378	_ struct{} `type:"structure"`
26379
26380	// The list of dataset summaries.
26381	DataSetSummaries []*DataSetSummary `type:"list"`
26382
26383	// The token for the next set of results, or null if there are no more results.
26384	NextToken *string `type:"string"`
26385
26386	// The Amazon Web Services request ID for this operation.
26387	RequestId *string `type:"string"`
26388
26389	// The HTTP status of the request.
26390	Status *int64 `location:"statusCode" type:"integer"`
26391}
26392
26393// String returns the string representation
26394func (s ListDataSetsOutput) String() string {
26395	return awsutil.Prettify(s)
26396}
26397
26398// GoString returns the string representation
26399func (s ListDataSetsOutput) GoString() string {
26400	return s.String()
26401}
26402
26403// SetDataSetSummaries sets the DataSetSummaries field's value.
26404func (s *ListDataSetsOutput) SetDataSetSummaries(v []*DataSetSummary) *ListDataSetsOutput {
26405	s.DataSetSummaries = v
26406	return s
26407}
26408
26409// SetNextToken sets the NextToken field's value.
26410func (s *ListDataSetsOutput) SetNextToken(v string) *ListDataSetsOutput {
26411	s.NextToken = &v
26412	return s
26413}
26414
26415// SetRequestId sets the RequestId field's value.
26416func (s *ListDataSetsOutput) SetRequestId(v string) *ListDataSetsOutput {
26417	s.RequestId = &v
26418	return s
26419}
26420
26421// SetStatus sets the Status field's value.
26422func (s *ListDataSetsOutput) SetStatus(v int64) *ListDataSetsOutput {
26423	s.Status = &v
26424	return s
26425}
26426
26427type ListDataSourcesInput struct {
26428	_ struct{} `type:"structure"`
26429
26430	// The Amazon Web Services account ID.
26431	//
26432	// AwsAccountId is a required field
26433	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
26434
26435	// The maximum number of results to be returned per request.
26436	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
26437
26438	// The token for the next set of results, or null if there are no more results.
26439	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
26440}
26441
26442// String returns the string representation
26443func (s ListDataSourcesInput) String() string {
26444	return awsutil.Prettify(s)
26445}
26446
26447// GoString returns the string representation
26448func (s ListDataSourcesInput) GoString() string {
26449	return s.String()
26450}
26451
26452// Validate inspects the fields of the type to determine if they are valid.
26453func (s *ListDataSourcesInput) Validate() error {
26454	invalidParams := request.ErrInvalidParams{Context: "ListDataSourcesInput"}
26455	if s.AwsAccountId == nil {
26456		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
26457	}
26458	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
26459		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
26460	}
26461	if s.MaxResults != nil && *s.MaxResults < 1 {
26462		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
26463	}
26464
26465	if invalidParams.Len() > 0 {
26466		return invalidParams
26467	}
26468	return nil
26469}
26470
26471// SetAwsAccountId sets the AwsAccountId field's value.
26472func (s *ListDataSourcesInput) SetAwsAccountId(v string) *ListDataSourcesInput {
26473	s.AwsAccountId = &v
26474	return s
26475}
26476
26477// SetMaxResults sets the MaxResults field's value.
26478func (s *ListDataSourcesInput) SetMaxResults(v int64) *ListDataSourcesInput {
26479	s.MaxResults = &v
26480	return s
26481}
26482
26483// SetNextToken sets the NextToken field's value.
26484func (s *ListDataSourcesInput) SetNextToken(v string) *ListDataSourcesInput {
26485	s.NextToken = &v
26486	return s
26487}
26488
26489type ListDataSourcesOutput struct {
26490	_ struct{} `type:"structure"`
26491
26492	// A list of data sources.
26493	DataSources []*DataSource `type:"list"`
26494
26495	// The token for the next set of results, or null if there are no more results.
26496	NextToken *string `type:"string"`
26497
26498	// The Amazon Web Services request ID for this operation.
26499	RequestId *string `type:"string"`
26500
26501	// The HTTP status of the request.
26502	Status *int64 `location:"statusCode" type:"integer"`
26503}
26504
26505// String returns the string representation
26506func (s ListDataSourcesOutput) String() string {
26507	return awsutil.Prettify(s)
26508}
26509
26510// GoString returns the string representation
26511func (s ListDataSourcesOutput) GoString() string {
26512	return s.String()
26513}
26514
26515// SetDataSources sets the DataSources field's value.
26516func (s *ListDataSourcesOutput) SetDataSources(v []*DataSource) *ListDataSourcesOutput {
26517	s.DataSources = v
26518	return s
26519}
26520
26521// SetNextToken sets the NextToken field's value.
26522func (s *ListDataSourcesOutput) SetNextToken(v string) *ListDataSourcesOutput {
26523	s.NextToken = &v
26524	return s
26525}
26526
26527// SetRequestId sets the RequestId field's value.
26528func (s *ListDataSourcesOutput) SetRequestId(v string) *ListDataSourcesOutput {
26529	s.RequestId = &v
26530	return s
26531}
26532
26533// SetStatus sets the Status field's value.
26534func (s *ListDataSourcesOutput) SetStatus(v int64) *ListDataSourcesOutput {
26535	s.Status = &v
26536	return s
26537}
26538
26539type ListFolderMembersInput struct {
26540	_ struct{} `type:"structure"`
26541
26542	// The AWS account ID.
26543	//
26544	// AwsAccountId is a required field
26545	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
26546
26547	// The folder ID.
26548	//
26549	// FolderId is a required field
26550	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
26551
26552	// The maximum number of results to be returned per request.
26553	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
26554
26555	// The token for the next set of results, or null if there are no more results.
26556	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
26557}
26558
26559// String returns the string representation
26560func (s ListFolderMembersInput) String() string {
26561	return awsutil.Prettify(s)
26562}
26563
26564// GoString returns the string representation
26565func (s ListFolderMembersInput) GoString() string {
26566	return s.String()
26567}
26568
26569// Validate inspects the fields of the type to determine if they are valid.
26570func (s *ListFolderMembersInput) Validate() error {
26571	invalidParams := request.ErrInvalidParams{Context: "ListFolderMembersInput"}
26572	if s.AwsAccountId == nil {
26573		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
26574	}
26575	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
26576		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
26577	}
26578	if s.FolderId == nil {
26579		invalidParams.Add(request.NewErrParamRequired("FolderId"))
26580	}
26581	if s.FolderId != nil && len(*s.FolderId) < 1 {
26582		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
26583	}
26584	if s.MaxResults != nil && *s.MaxResults < 1 {
26585		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
26586	}
26587
26588	if invalidParams.Len() > 0 {
26589		return invalidParams
26590	}
26591	return nil
26592}
26593
26594// SetAwsAccountId sets the AwsAccountId field's value.
26595func (s *ListFolderMembersInput) SetAwsAccountId(v string) *ListFolderMembersInput {
26596	s.AwsAccountId = &v
26597	return s
26598}
26599
26600// SetFolderId sets the FolderId field's value.
26601func (s *ListFolderMembersInput) SetFolderId(v string) *ListFolderMembersInput {
26602	s.FolderId = &v
26603	return s
26604}
26605
26606// SetMaxResults sets the MaxResults field's value.
26607func (s *ListFolderMembersInput) SetMaxResults(v int64) *ListFolderMembersInput {
26608	s.MaxResults = &v
26609	return s
26610}
26611
26612// SetNextToken sets the NextToken field's value.
26613func (s *ListFolderMembersInput) SetNextToken(v string) *ListFolderMembersInput {
26614	s.NextToken = &v
26615	return s
26616}
26617
26618type ListFolderMembersOutput struct {
26619	_ struct{} `type:"structure"`
26620
26621	// A structure that contains all of the folder members (dashboards, analyses,
26622	// and datasets) in the folder.
26623	FolderMemberList []*MemberIdArnPair `type:"list"`
26624
26625	// The token for the next set of results, or null if there are no more results.
26626	NextToken *string `type:"string"`
26627
26628	// The request ID.
26629	RequestId *string `type:"string"`
26630
26631	// The status. If succeeded, the status is SC_OK
26632	Status *int64 `location:"statusCode" type:"integer"`
26633}
26634
26635// String returns the string representation
26636func (s ListFolderMembersOutput) String() string {
26637	return awsutil.Prettify(s)
26638}
26639
26640// GoString returns the string representation
26641func (s ListFolderMembersOutput) GoString() string {
26642	return s.String()
26643}
26644
26645// SetFolderMemberList sets the FolderMemberList field's value.
26646func (s *ListFolderMembersOutput) SetFolderMemberList(v []*MemberIdArnPair) *ListFolderMembersOutput {
26647	s.FolderMemberList = v
26648	return s
26649}
26650
26651// SetNextToken sets the NextToken field's value.
26652func (s *ListFolderMembersOutput) SetNextToken(v string) *ListFolderMembersOutput {
26653	s.NextToken = &v
26654	return s
26655}
26656
26657// SetRequestId sets the RequestId field's value.
26658func (s *ListFolderMembersOutput) SetRequestId(v string) *ListFolderMembersOutput {
26659	s.RequestId = &v
26660	return s
26661}
26662
26663// SetStatus sets the Status field's value.
26664func (s *ListFolderMembersOutput) SetStatus(v int64) *ListFolderMembersOutput {
26665	s.Status = &v
26666	return s
26667}
26668
26669type ListFoldersInput struct {
26670	_ struct{} `type:"structure"`
26671
26672	// The AWS account ID.
26673	//
26674	// AwsAccountId is a required field
26675	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
26676
26677	// The maximum number of results to be returned per request.
26678	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
26679
26680	// The token for the next set of results, or null if there are no more results.
26681	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
26682}
26683
26684// String returns the string representation
26685func (s ListFoldersInput) String() string {
26686	return awsutil.Prettify(s)
26687}
26688
26689// GoString returns the string representation
26690func (s ListFoldersInput) GoString() string {
26691	return s.String()
26692}
26693
26694// Validate inspects the fields of the type to determine if they are valid.
26695func (s *ListFoldersInput) Validate() error {
26696	invalidParams := request.ErrInvalidParams{Context: "ListFoldersInput"}
26697	if s.AwsAccountId == nil {
26698		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
26699	}
26700	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
26701		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
26702	}
26703	if s.MaxResults != nil && *s.MaxResults < 1 {
26704		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
26705	}
26706
26707	if invalidParams.Len() > 0 {
26708		return invalidParams
26709	}
26710	return nil
26711}
26712
26713// SetAwsAccountId sets the AwsAccountId field's value.
26714func (s *ListFoldersInput) SetAwsAccountId(v string) *ListFoldersInput {
26715	s.AwsAccountId = &v
26716	return s
26717}
26718
26719// SetMaxResults sets the MaxResults field's value.
26720func (s *ListFoldersInput) SetMaxResults(v int64) *ListFoldersInput {
26721	s.MaxResults = &v
26722	return s
26723}
26724
26725// SetNextToken sets the NextToken field's value.
26726func (s *ListFoldersInput) SetNextToken(v string) *ListFoldersInput {
26727	s.NextToken = &v
26728	return s
26729}
26730
26731type ListFoldersOutput struct {
26732	_ struct{} `type:"structure"`
26733
26734	// A structure that contains all of the folders in your AWS account. This structure
26735	// provides basic information about the folders.
26736	FolderSummaryList []*FolderSummary `type:"list"`
26737
26738	// The token for the next set of results, or null if there are no more results.
26739	NextToken *string `type:"string"`
26740
26741	// The request ID.
26742	RequestId *string `type:"string"`
26743
26744	// The status. If succeeded, the status is SC_OK
26745	Status *int64 `location:"statusCode" type:"integer"`
26746}
26747
26748// String returns the string representation
26749func (s ListFoldersOutput) String() string {
26750	return awsutil.Prettify(s)
26751}
26752
26753// GoString returns the string representation
26754func (s ListFoldersOutput) GoString() string {
26755	return s.String()
26756}
26757
26758// SetFolderSummaryList sets the FolderSummaryList field's value.
26759func (s *ListFoldersOutput) SetFolderSummaryList(v []*FolderSummary) *ListFoldersOutput {
26760	s.FolderSummaryList = v
26761	return s
26762}
26763
26764// SetNextToken sets the NextToken field's value.
26765func (s *ListFoldersOutput) SetNextToken(v string) *ListFoldersOutput {
26766	s.NextToken = &v
26767	return s
26768}
26769
26770// SetRequestId sets the RequestId field's value.
26771func (s *ListFoldersOutput) SetRequestId(v string) *ListFoldersOutput {
26772	s.RequestId = &v
26773	return s
26774}
26775
26776// SetStatus sets the Status field's value.
26777func (s *ListFoldersOutput) SetStatus(v int64) *ListFoldersOutput {
26778	s.Status = &v
26779	return s
26780}
26781
26782type ListGroupMembershipsInput struct {
26783	_ struct{} `type:"structure"`
26784
26785	// The ID for the Amazon Web Services account that the group is in. Currently,
26786	// you use the ID for the Amazon Web Services account that contains your Amazon
26787	// QuickSight account.
26788	//
26789	// AwsAccountId is a required field
26790	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
26791
26792	// The name of the group that you want to see a membership list of.
26793	//
26794	// GroupName is a required field
26795	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
26796
26797	// The maximum number of results to return from this request.
26798	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
26799
26800	// The namespace. Currently, you should set this to default.
26801	//
26802	// Namespace is a required field
26803	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
26804
26805	// A pagination token that can be used in a subsequent request.
26806	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
26807}
26808
26809// String returns the string representation
26810func (s ListGroupMembershipsInput) String() string {
26811	return awsutil.Prettify(s)
26812}
26813
26814// GoString returns the string representation
26815func (s ListGroupMembershipsInput) GoString() string {
26816	return s.String()
26817}
26818
26819// Validate inspects the fields of the type to determine if they are valid.
26820func (s *ListGroupMembershipsInput) Validate() error {
26821	invalidParams := request.ErrInvalidParams{Context: "ListGroupMembershipsInput"}
26822	if s.AwsAccountId == nil {
26823		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
26824	}
26825	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
26826		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
26827	}
26828	if s.GroupName == nil {
26829		invalidParams.Add(request.NewErrParamRequired("GroupName"))
26830	}
26831	if s.GroupName != nil && len(*s.GroupName) < 1 {
26832		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
26833	}
26834	if s.MaxResults != nil && *s.MaxResults < 1 {
26835		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
26836	}
26837	if s.Namespace == nil {
26838		invalidParams.Add(request.NewErrParamRequired("Namespace"))
26839	}
26840	if s.Namespace != nil && len(*s.Namespace) < 1 {
26841		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
26842	}
26843
26844	if invalidParams.Len() > 0 {
26845		return invalidParams
26846	}
26847	return nil
26848}
26849
26850// SetAwsAccountId sets the AwsAccountId field's value.
26851func (s *ListGroupMembershipsInput) SetAwsAccountId(v string) *ListGroupMembershipsInput {
26852	s.AwsAccountId = &v
26853	return s
26854}
26855
26856// SetGroupName sets the GroupName field's value.
26857func (s *ListGroupMembershipsInput) SetGroupName(v string) *ListGroupMembershipsInput {
26858	s.GroupName = &v
26859	return s
26860}
26861
26862// SetMaxResults sets the MaxResults field's value.
26863func (s *ListGroupMembershipsInput) SetMaxResults(v int64) *ListGroupMembershipsInput {
26864	s.MaxResults = &v
26865	return s
26866}
26867
26868// SetNamespace sets the Namespace field's value.
26869func (s *ListGroupMembershipsInput) SetNamespace(v string) *ListGroupMembershipsInput {
26870	s.Namespace = &v
26871	return s
26872}
26873
26874// SetNextToken sets the NextToken field's value.
26875func (s *ListGroupMembershipsInput) SetNextToken(v string) *ListGroupMembershipsInput {
26876	s.NextToken = &v
26877	return s
26878}
26879
26880type ListGroupMembershipsOutput struct {
26881	_ struct{} `type:"structure"`
26882
26883	// The list of the members of the group.
26884	GroupMemberList []*GroupMember `type:"list"`
26885
26886	// A pagination token that can be used in a subsequent request.
26887	NextToken *string `type:"string"`
26888
26889	// The Amazon Web Services request ID for this operation.
26890	RequestId *string `type:"string"`
26891
26892	// The HTTP status of the request.
26893	Status *int64 `location:"statusCode" type:"integer"`
26894}
26895
26896// String returns the string representation
26897func (s ListGroupMembershipsOutput) String() string {
26898	return awsutil.Prettify(s)
26899}
26900
26901// GoString returns the string representation
26902func (s ListGroupMembershipsOutput) GoString() string {
26903	return s.String()
26904}
26905
26906// SetGroupMemberList sets the GroupMemberList field's value.
26907func (s *ListGroupMembershipsOutput) SetGroupMemberList(v []*GroupMember) *ListGroupMembershipsOutput {
26908	s.GroupMemberList = v
26909	return s
26910}
26911
26912// SetNextToken sets the NextToken field's value.
26913func (s *ListGroupMembershipsOutput) SetNextToken(v string) *ListGroupMembershipsOutput {
26914	s.NextToken = &v
26915	return s
26916}
26917
26918// SetRequestId sets the RequestId field's value.
26919func (s *ListGroupMembershipsOutput) SetRequestId(v string) *ListGroupMembershipsOutput {
26920	s.RequestId = &v
26921	return s
26922}
26923
26924// SetStatus sets the Status field's value.
26925func (s *ListGroupMembershipsOutput) SetStatus(v int64) *ListGroupMembershipsOutput {
26926	s.Status = &v
26927	return s
26928}
26929
26930type ListGroupsInput struct {
26931	_ struct{} `type:"structure"`
26932
26933	// The ID for the Amazon Web Services account that the group is in. Currently,
26934	// you use the ID for the Amazon Web Services account that contains your Amazon
26935	// QuickSight account.
26936	//
26937	// AwsAccountId is a required field
26938	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
26939
26940	// The maximum number of results to return.
26941	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
26942
26943	// The namespace. Currently, you should set this to default.
26944	//
26945	// Namespace is a required field
26946	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
26947
26948	// A pagination token that can be used in a subsequent request.
26949	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
26950}
26951
26952// String returns the string representation
26953func (s ListGroupsInput) String() string {
26954	return awsutil.Prettify(s)
26955}
26956
26957// GoString returns the string representation
26958func (s ListGroupsInput) GoString() string {
26959	return s.String()
26960}
26961
26962// Validate inspects the fields of the type to determine if they are valid.
26963func (s *ListGroupsInput) Validate() error {
26964	invalidParams := request.ErrInvalidParams{Context: "ListGroupsInput"}
26965	if s.AwsAccountId == nil {
26966		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
26967	}
26968	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
26969		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
26970	}
26971	if s.MaxResults != nil && *s.MaxResults < 1 {
26972		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
26973	}
26974	if s.Namespace == nil {
26975		invalidParams.Add(request.NewErrParamRequired("Namespace"))
26976	}
26977	if s.Namespace != nil && len(*s.Namespace) < 1 {
26978		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
26979	}
26980
26981	if invalidParams.Len() > 0 {
26982		return invalidParams
26983	}
26984	return nil
26985}
26986
26987// SetAwsAccountId sets the AwsAccountId field's value.
26988func (s *ListGroupsInput) SetAwsAccountId(v string) *ListGroupsInput {
26989	s.AwsAccountId = &v
26990	return s
26991}
26992
26993// SetMaxResults sets the MaxResults field's value.
26994func (s *ListGroupsInput) SetMaxResults(v int64) *ListGroupsInput {
26995	s.MaxResults = &v
26996	return s
26997}
26998
26999// SetNamespace sets the Namespace field's value.
27000func (s *ListGroupsInput) SetNamespace(v string) *ListGroupsInput {
27001	s.Namespace = &v
27002	return s
27003}
27004
27005// SetNextToken sets the NextToken field's value.
27006func (s *ListGroupsInput) SetNextToken(v string) *ListGroupsInput {
27007	s.NextToken = &v
27008	return s
27009}
27010
27011type ListGroupsOutput struct {
27012	_ struct{} `type:"structure"`
27013
27014	// The list of the groups.
27015	GroupList []*Group `type:"list"`
27016
27017	// A pagination token that can be used in a subsequent request.
27018	NextToken *string `type:"string"`
27019
27020	// The Amazon Web Services request ID for this operation.
27021	RequestId *string `type:"string"`
27022
27023	// The HTTP status of the request.
27024	Status *int64 `location:"statusCode" type:"integer"`
27025}
27026
27027// String returns the string representation
27028func (s ListGroupsOutput) String() string {
27029	return awsutil.Prettify(s)
27030}
27031
27032// GoString returns the string representation
27033func (s ListGroupsOutput) GoString() string {
27034	return s.String()
27035}
27036
27037// SetGroupList sets the GroupList field's value.
27038func (s *ListGroupsOutput) SetGroupList(v []*Group) *ListGroupsOutput {
27039	s.GroupList = v
27040	return s
27041}
27042
27043// SetNextToken sets the NextToken field's value.
27044func (s *ListGroupsOutput) SetNextToken(v string) *ListGroupsOutput {
27045	s.NextToken = &v
27046	return s
27047}
27048
27049// SetRequestId sets the RequestId field's value.
27050func (s *ListGroupsOutput) SetRequestId(v string) *ListGroupsOutput {
27051	s.RequestId = &v
27052	return s
27053}
27054
27055// SetStatus sets the Status field's value.
27056func (s *ListGroupsOutput) SetStatus(v int64) *ListGroupsOutput {
27057	s.Status = &v
27058	return s
27059}
27060
27061type ListIAMPolicyAssignmentsForUserInput struct {
27062	_ struct{} `type:"structure"`
27063
27064	// The ID of the Amazon Web Services account that contains the assignments.
27065	//
27066	// AwsAccountId is a required field
27067	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
27068
27069	// The maximum number of results to be returned per request.
27070	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
27071
27072	// The namespace of the assignment.
27073	//
27074	// Namespace is a required field
27075	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
27076
27077	// The token for the next set of results, or null if there are no more results.
27078	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
27079
27080	// The name of the user.
27081	//
27082	// UserName is a required field
27083	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
27084}
27085
27086// String returns the string representation
27087func (s ListIAMPolicyAssignmentsForUserInput) String() string {
27088	return awsutil.Prettify(s)
27089}
27090
27091// GoString returns the string representation
27092func (s ListIAMPolicyAssignmentsForUserInput) GoString() string {
27093	return s.String()
27094}
27095
27096// Validate inspects the fields of the type to determine if they are valid.
27097func (s *ListIAMPolicyAssignmentsForUserInput) Validate() error {
27098	invalidParams := request.ErrInvalidParams{Context: "ListIAMPolicyAssignmentsForUserInput"}
27099	if s.AwsAccountId == nil {
27100		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
27101	}
27102	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
27103		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
27104	}
27105	if s.MaxResults != nil && *s.MaxResults < 1 {
27106		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
27107	}
27108	if s.Namespace == nil {
27109		invalidParams.Add(request.NewErrParamRequired("Namespace"))
27110	}
27111	if s.Namespace != nil && len(*s.Namespace) < 1 {
27112		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
27113	}
27114	if s.UserName == nil {
27115		invalidParams.Add(request.NewErrParamRequired("UserName"))
27116	}
27117	if s.UserName != nil && len(*s.UserName) < 1 {
27118		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
27119	}
27120
27121	if invalidParams.Len() > 0 {
27122		return invalidParams
27123	}
27124	return nil
27125}
27126
27127// SetAwsAccountId sets the AwsAccountId field's value.
27128func (s *ListIAMPolicyAssignmentsForUserInput) SetAwsAccountId(v string) *ListIAMPolicyAssignmentsForUserInput {
27129	s.AwsAccountId = &v
27130	return s
27131}
27132
27133// SetMaxResults sets the MaxResults field's value.
27134func (s *ListIAMPolicyAssignmentsForUserInput) SetMaxResults(v int64) *ListIAMPolicyAssignmentsForUserInput {
27135	s.MaxResults = &v
27136	return s
27137}
27138
27139// SetNamespace sets the Namespace field's value.
27140func (s *ListIAMPolicyAssignmentsForUserInput) SetNamespace(v string) *ListIAMPolicyAssignmentsForUserInput {
27141	s.Namespace = &v
27142	return s
27143}
27144
27145// SetNextToken sets the NextToken field's value.
27146func (s *ListIAMPolicyAssignmentsForUserInput) SetNextToken(v string) *ListIAMPolicyAssignmentsForUserInput {
27147	s.NextToken = &v
27148	return s
27149}
27150
27151// SetUserName sets the UserName field's value.
27152func (s *ListIAMPolicyAssignmentsForUserInput) SetUserName(v string) *ListIAMPolicyAssignmentsForUserInput {
27153	s.UserName = &v
27154	return s
27155}
27156
27157type ListIAMPolicyAssignmentsForUserOutput struct {
27158	_ struct{} `type:"structure"`
27159
27160	// The active assignments for this user.
27161	ActiveAssignments []*ActiveIAMPolicyAssignment `type:"list"`
27162
27163	// The token for the next set of results, or null if there are no more results.
27164	NextToken *string `type:"string"`
27165
27166	// The Amazon Web Services request ID for this operation.
27167	RequestId *string `type:"string"`
27168
27169	// The HTTP status of the request.
27170	Status *int64 `location:"statusCode" type:"integer"`
27171}
27172
27173// String returns the string representation
27174func (s ListIAMPolicyAssignmentsForUserOutput) String() string {
27175	return awsutil.Prettify(s)
27176}
27177
27178// GoString returns the string representation
27179func (s ListIAMPolicyAssignmentsForUserOutput) GoString() string {
27180	return s.String()
27181}
27182
27183// SetActiveAssignments sets the ActiveAssignments field's value.
27184func (s *ListIAMPolicyAssignmentsForUserOutput) SetActiveAssignments(v []*ActiveIAMPolicyAssignment) *ListIAMPolicyAssignmentsForUserOutput {
27185	s.ActiveAssignments = v
27186	return s
27187}
27188
27189// SetNextToken sets the NextToken field's value.
27190func (s *ListIAMPolicyAssignmentsForUserOutput) SetNextToken(v string) *ListIAMPolicyAssignmentsForUserOutput {
27191	s.NextToken = &v
27192	return s
27193}
27194
27195// SetRequestId sets the RequestId field's value.
27196func (s *ListIAMPolicyAssignmentsForUserOutput) SetRequestId(v string) *ListIAMPolicyAssignmentsForUserOutput {
27197	s.RequestId = &v
27198	return s
27199}
27200
27201// SetStatus sets the Status field's value.
27202func (s *ListIAMPolicyAssignmentsForUserOutput) SetStatus(v int64) *ListIAMPolicyAssignmentsForUserOutput {
27203	s.Status = &v
27204	return s
27205}
27206
27207type ListIAMPolicyAssignmentsInput struct {
27208	_ struct{} `type:"structure"`
27209
27210	// The status of the assignments.
27211	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
27212
27213	// The ID of the Amazon Web Services account that contains these IAMpolicy assignments.
27214	//
27215	// AwsAccountId is a required field
27216	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
27217
27218	// The maximum number of results to be returned per request.
27219	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
27220
27221	// The namespace for the assignments.
27222	//
27223	// Namespace is a required field
27224	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
27225
27226	// The token for the next set of results, or null if there are no more results.
27227	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
27228}
27229
27230// String returns the string representation
27231func (s ListIAMPolicyAssignmentsInput) String() string {
27232	return awsutil.Prettify(s)
27233}
27234
27235// GoString returns the string representation
27236func (s ListIAMPolicyAssignmentsInput) GoString() string {
27237	return s.String()
27238}
27239
27240// Validate inspects the fields of the type to determine if they are valid.
27241func (s *ListIAMPolicyAssignmentsInput) Validate() error {
27242	invalidParams := request.ErrInvalidParams{Context: "ListIAMPolicyAssignmentsInput"}
27243	if s.AwsAccountId == nil {
27244		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
27245	}
27246	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
27247		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
27248	}
27249	if s.MaxResults != nil && *s.MaxResults < 1 {
27250		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
27251	}
27252	if s.Namespace == nil {
27253		invalidParams.Add(request.NewErrParamRequired("Namespace"))
27254	}
27255	if s.Namespace != nil && len(*s.Namespace) < 1 {
27256		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
27257	}
27258
27259	if invalidParams.Len() > 0 {
27260		return invalidParams
27261	}
27262	return nil
27263}
27264
27265// SetAssignmentStatus sets the AssignmentStatus field's value.
27266func (s *ListIAMPolicyAssignmentsInput) SetAssignmentStatus(v string) *ListIAMPolicyAssignmentsInput {
27267	s.AssignmentStatus = &v
27268	return s
27269}
27270
27271// SetAwsAccountId sets the AwsAccountId field's value.
27272func (s *ListIAMPolicyAssignmentsInput) SetAwsAccountId(v string) *ListIAMPolicyAssignmentsInput {
27273	s.AwsAccountId = &v
27274	return s
27275}
27276
27277// SetMaxResults sets the MaxResults field's value.
27278func (s *ListIAMPolicyAssignmentsInput) SetMaxResults(v int64) *ListIAMPolicyAssignmentsInput {
27279	s.MaxResults = &v
27280	return s
27281}
27282
27283// SetNamespace sets the Namespace field's value.
27284func (s *ListIAMPolicyAssignmentsInput) SetNamespace(v string) *ListIAMPolicyAssignmentsInput {
27285	s.Namespace = &v
27286	return s
27287}
27288
27289// SetNextToken sets the NextToken field's value.
27290func (s *ListIAMPolicyAssignmentsInput) SetNextToken(v string) *ListIAMPolicyAssignmentsInput {
27291	s.NextToken = &v
27292	return s
27293}
27294
27295type ListIAMPolicyAssignmentsOutput struct {
27296	_ struct{} `type:"structure"`
27297
27298	// Information describing the IAMpolicy assignments.
27299	IAMPolicyAssignments []*IAMPolicyAssignmentSummary `type:"list"`
27300
27301	// The token for the next set of results, or null if there are no more results.
27302	NextToken *string `type:"string"`
27303
27304	// The Amazon Web Services request ID for this operation.
27305	RequestId *string `type:"string"`
27306
27307	// The HTTP status of the request.
27308	Status *int64 `location:"statusCode" type:"integer"`
27309}
27310
27311// String returns the string representation
27312func (s ListIAMPolicyAssignmentsOutput) String() string {
27313	return awsutil.Prettify(s)
27314}
27315
27316// GoString returns the string representation
27317func (s ListIAMPolicyAssignmentsOutput) GoString() string {
27318	return s.String()
27319}
27320
27321// SetIAMPolicyAssignments sets the IAMPolicyAssignments field's value.
27322func (s *ListIAMPolicyAssignmentsOutput) SetIAMPolicyAssignments(v []*IAMPolicyAssignmentSummary) *ListIAMPolicyAssignmentsOutput {
27323	s.IAMPolicyAssignments = v
27324	return s
27325}
27326
27327// SetNextToken sets the NextToken field's value.
27328func (s *ListIAMPolicyAssignmentsOutput) SetNextToken(v string) *ListIAMPolicyAssignmentsOutput {
27329	s.NextToken = &v
27330	return s
27331}
27332
27333// SetRequestId sets the RequestId field's value.
27334func (s *ListIAMPolicyAssignmentsOutput) SetRequestId(v string) *ListIAMPolicyAssignmentsOutput {
27335	s.RequestId = &v
27336	return s
27337}
27338
27339// SetStatus sets the Status field's value.
27340func (s *ListIAMPolicyAssignmentsOutput) SetStatus(v int64) *ListIAMPolicyAssignmentsOutput {
27341	s.Status = &v
27342	return s
27343}
27344
27345type ListIngestionsInput struct {
27346	_ struct{} `type:"structure"`
27347
27348	// The Amazon Web Services account ID.
27349	//
27350	// AwsAccountId is a required field
27351	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
27352
27353	// The ID of the dataset used in the ingestion.
27354	//
27355	// DataSetId is a required field
27356	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
27357
27358	// The maximum number of results to be returned per request.
27359	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
27360
27361	// The token for the next set of results, or null if there are no more results.
27362	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
27363}
27364
27365// String returns the string representation
27366func (s ListIngestionsInput) String() string {
27367	return awsutil.Prettify(s)
27368}
27369
27370// GoString returns the string representation
27371func (s ListIngestionsInput) GoString() string {
27372	return s.String()
27373}
27374
27375// Validate inspects the fields of the type to determine if they are valid.
27376func (s *ListIngestionsInput) Validate() error {
27377	invalidParams := request.ErrInvalidParams{Context: "ListIngestionsInput"}
27378	if s.AwsAccountId == nil {
27379		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
27380	}
27381	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
27382		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
27383	}
27384	if s.DataSetId == nil {
27385		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
27386	}
27387	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
27388		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
27389	}
27390	if s.MaxResults != nil && *s.MaxResults < 1 {
27391		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
27392	}
27393
27394	if invalidParams.Len() > 0 {
27395		return invalidParams
27396	}
27397	return nil
27398}
27399
27400// SetAwsAccountId sets the AwsAccountId field's value.
27401func (s *ListIngestionsInput) SetAwsAccountId(v string) *ListIngestionsInput {
27402	s.AwsAccountId = &v
27403	return s
27404}
27405
27406// SetDataSetId sets the DataSetId field's value.
27407func (s *ListIngestionsInput) SetDataSetId(v string) *ListIngestionsInput {
27408	s.DataSetId = &v
27409	return s
27410}
27411
27412// SetMaxResults sets the MaxResults field's value.
27413func (s *ListIngestionsInput) SetMaxResults(v int64) *ListIngestionsInput {
27414	s.MaxResults = &v
27415	return s
27416}
27417
27418// SetNextToken sets the NextToken field's value.
27419func (s *ListIngestionsInput) SetNextToken(v string) *ListIngestionsInput {
27420	s.NextToken = &v
27421	return s
27422}
27423
27424type ListIngestionsOutput struct {
27425	_ struct{} `type:"structure"`
27426
27427	// A list of the ingestions.
27428	Ingestions []*Ingestion `type:"list"`
27429
27430	// The token for the next set of results, or null if there are no more results.
27431	NextToken *string `type:"string"`
27432
27433	// The Amazon Web Services request ID for this operation.
27434	RequestId *string `type:"string"`
27435
27436	// The HTTP status of the request.
27437	Status *int64 `location:"statusCode" type:"integer"`
27438}
27439
27440// String returns the string representation
27441func (s ListIngestionsOutput) String() string {
27442	return awsutil.Prettify(s)
27443}
27444
27445// GoString returns the string representation
27446func (s ListIngestionsOutput) GoString() string {
27447	return s.String()
27448}
27449
27450// SetIngestions sets the Ingestions field's value.
27451func (s *ListIngestionsOutput) SetIngestions(v []*Ingestion) *ListIngestionsOutput {
27452	s.Ingestions = v
27453	return s
27454}
27455
27456// SetNextToken sets the NextToken field's value.
27457func (s *ListIngestionsOutput) SetNextToken(v string) *ListIngestionsOutput {
27458	s.NextToken = &v
27459	return s
27460}
27461
27462// SetRequestId sets the RequestId field's value.
27463func (s *ListIngestionsOutput) SetRequestId(v string) *ListIngestionsOutput {
27464	s.RequestId = &v
27465	return s
27466}
27467
27468// SetStatus sets the Status field's value.
27469func (s *ListIngestionsOutput) SetStatus(v int64) *ListIngestionsOutput {
27470	s.Status = &v
27471	return s
27472}
27473
27474type ListNamespacesInput struct {
27475	_ struct{} `type:"structure"`
27476
27477	// The ID for the Amazon Web Services account that contains the Amazon QuickSight
27478	// namespaces that you want to list.
27479	//
27480	// AwsAccountId is a required field
27481	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
27482
27483	// The maximum number of results to return.
27484	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
27485
27486	// A pagination token that can be used in a subsequent request.
27487	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
27488}
27489
27490// String returns the string representation
27491func (s ListNamespacesInput) String() string {
27492	return awsutil.Prettify(s)
27493}
27494
27495// GoString returns the string representation
27496func (s ListNamespacesInput) GoString() string {
27497	return s.String()
27498}
27499
27500// Validate inspects the fields of the type to determine if they are valid.
27501func (s *ListNamespacesInput) Validate() error {
27502	invalidParams := request.ErrInvalidParams{Context: "ListNamespacesInput"}
27503	if s.AwsAccountId == nil {
27504		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
27505	}
27506	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
27507		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
27508	}
27509	if s.MaxResults != nil && *s.MaxResults < 1 {
27510		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
27511	}
27512
27513	if invalidParams.Len() > 0 {
27514		return invalidParams
27515	}
27516	return nil
27517}
27518
27519// SetAwsAccountId sets the AwsAccountId field's value.
27520func (s *ListNamespacesInput) SetAwsAccountId(v string) *ListNamespacesInput {
27521	s.AwsAccountId = &v
27522	return s
27523}
27524
27525// SetMaxResults sets the MaxResults field's value.
27526func (s *ListNamespacesInput) SetMaxResults(v int64) *ListNamespacesInput {
27527	s.MaxResults = &v
27528	return s
27529}
27530
27531// SetNextToken sets the NextToken field's value.
27532func (s *ListNamespacesInput) SetNextToken(v string) *ListNamespacesInput {
27533	s.NextToken = &v
27534	return s
27535}
27536
27537type ListNamespacesOutput struct {
27538	_ struct{} `type:"structure"`
27539
27540	// The information about the namespaces in this Amazon Web Services account.
27541	// The response includes the namespace ARN, name, Amazon Web Services Region;,
27542	// notification email address, creation status, and identity store.
27543	Namespaces []*NamespaceInfoV2 `type:"list"`
27544
27545	// A pagination token that can be used in a subsequent request.
27546	NextToken *string `type:"string"`
27547
27548	// The Amazon Web Services request ID for this operation.
27549	RequestId *string `type:"string"`
27550
27551	// The HTTP status of the request.
27552	Status *int64 `location:"statusCode" type:"integer"`
27553}
27554
27555// String returns the string representation
27556func (s ListNamespacesOutput) String() string {
27557	return awsutil.Prettify(s)
27558}
27559
27560// GoString returns the string representation
27561func (s ListNamespacesOutput) GoString() string {
27562	return s.String()
27563}
27564
27565// SetNamespaces sets the Namespaces field's value.
27566func (s *ListNamespacesOutput) SetNamespaces(v []*NamespaceInfoV2) *ListNamespacesOutput {
27567	s.Namespaces = v
27568	return s
27569}
27570
27571// SetNextToken sets the NextToken field's value.
27572func (s *ListNamespacesOutput) SetNextToken(v string) *ListNamespacesOutput {
27573	s.NextToken = &v
27574	return s
27575}
27576
27577// SetRequestId sets the RequestId field's value.
27578func (s *ListNamespacesOutput) SetRequestId(v string) *ListNamespacesOutput {
27579	s.RequestId = &v
27580	return s
27581}
27582
27583// SetStatus sets the Status field's value.
27584func (s *ListNamespacesOutput) SetStatus(v int64) *ListNamespacesOutput {
27585	s.Status = &v
27586	return s
27587}
27588
27589type ListTagsForResourceInput struct {
27590	_ struct{} `type:"structure"`
27591
27592	// The Amazon Resource Name (ARN) of the resource that you want a list of tags
27593	// for.
27594	//
27595	// ResourceArn is a required field
27596	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
27597}
27598
27599// String returns the string representation
27600func (s ListTagsForResourceInput) String() string {
27601	return awsutil.Prettify(s)
27602}
27603
27604// GoString returns the string representation
27605func (s ListTagsForResourceInput) GoString() string {
27606	return s.String()
27607}
27608
27609// Validate inspects the fields of the type to determine if they are valid.
27610func (s *ListTagsForResourceInput) Validate() error {
27611	invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
27612	if s.ResourceArn == nil {
27613		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
27614	}
27615	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
27616		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
27617	}
27618
27619	if invalidParams.Len() > 0 {
27620		return invalidParams
27621	}
27622	return nil
27623}
27624
27625// SetResourceArn sets the ResourceArn field's value.
27626func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
27627	s.ResourceArn = &v
27628	return s
27629}
27630
27631type ListTagsForResourceOutput struct {
27632	_ struct{} `type:"structure"`
27633
27634	// The Amazon Web Services request ID for this operation.
27635	RequestId *string `type:"string"`
27636
27637	// The HTTP status of the request.
27638	Status *int64 `location:"statusCode" type:"integer"`
27639
27640	// Contains a map of the key-value pairs for the resource tag or tags assigned
27641	// to the resource.
27642	Tags []*Tag `min:"1" type:"list"`
27643}
27644
27645// String returns the string representation
27646func (s ListTagsForResourceOutput) String() string {
27647	return awsutil.Prettify(s)
27648}
27649
27650// GoString returns the string representation
27651func (s ListTagsForResourceOutput) GoString() string {
27652	return s.String()
27653}
27654
27655// SetRequestId sets the RequestId field's value.
27656func (s *ListTagsForResourceOutput) SetRequestId(v string) *ListTagsForResourceOutput {
27657	s.RequestId = &v
27658	return s
27659}
27660
27661// SetStatus sets the Status field's value.
27662func (s *ListTagsForResourceOutput) SetStatus(v int64) *ListTagsForResourceOutput {
27663	s.Status = &v
27664	return s
27665}
27666
27667// SetTags sets the Tags field's value.
27668func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput {
27669	s.Tags = v
27670	return s
27671}
27672
27673type ListTemplateAliasesInput struct {
27674	_ struct{} `type:"structure"`
27675
27676	// The ID of the Amazon Web Services account that contains the template aliases
27677	// that you're listing.
27678	//
27679	// AwsAccountId is a required field
27680	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
27681
27682	// The maximum number of results to be returned per request.
27683	MaxResults *int64 `location:"querystring" locationName:"max-result" min:"1" type:"integer"`
27684
27685	// The token for the next set of results, or null if there are no more results.
27686	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
27687
27688	// The ID for the template.
27689	//
27690	// TemplateId is a required field
27691	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
27692}
27693
27694// String returns the string representation
27695func (s ListTemplateAliasesInput) String() string {
27696	return awsutil.Prettify(s)
27697}
27698
27699// GoString returns the string representation
27700func (s ListTemplateAliasesInput) GoString() string {
27701	return s.String()
27702}
27703
27704// Validate inspects the fields of the type to determine if they are valid.
27705func (s *ListTemplateAliasesInput) Validate() error {
27706	invalidParams := request.ErrInvalidParams{Context: "ListTemplateAliasesInput"}
27707	if s.AwsAccountId == nil {
27708		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
27709	}
27710	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
27711		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
27712	}
27713	if s.MaxResults != nil && *s.MaxResults < 1 {
27714		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
27715	}
27716	if s.TemplateId == nil {
27717		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
27718	}
27719	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
27720		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
27721	}
27722
27723	if invalidParams.Len() > 0 {
27724		return invalidParams
27725	}
27726	return nil
27727}
27728
27729// SetAwsAccountId sets the AwsAccountId field's value.
27730func (s *ListTemplateAliasesInput) SetAwsAccountId(v string) *ListTemplateAliasesInput {
27731	s.AwsAccountId = &v
27732	return s
27733}
27734
27735// SetMaxResults sets the MaxResults field's value.
27736func (s *ListTemplateAliasesInput) SetMaxResults(v int64) *ListTemplateAliasesInput {
27737	s.MaxResults = &v
27738	return s
27739}
27740
27741// SetNextToken sets the NextToken field's value.
27742func (s *ListTemplateAliasesInput) SetNextToken(v string) *ListTemplateAliasesInput {
27743	s.NextToken = &v
27744	return s
27745}
27746
27747// SetTemplateId sets the TemplateId field's value.
27748func (s *ListTemplateAliasesInput) SetTemplateId(v string) *ListTemplateAliasesInput {
27749	s.TemplateId = &v
27750	return s
27751}
27752
27753type ListTemplateAliasesOutput struct {
27754	_ struct{} `type:"structure"`
27755
27756	// The token for the next set of results, or null if there are no more results.
27757	NextToken *string `type:"string"`
27758
27759	// The Amazon Web Services request ID for this operation.
27760	RequestId *string `type:"string"`
27761
27762	// The HTTP status of the request.
27763	Status *int64 `location:"statusCode" type:"integer"`
27764
27765	// A structure containing the list of the template's aliases.
27766	TemplateAliasList []*TemplateAlias `type:"list"`
27767}
27768
27769// String returns the string representation
27770func (s ListTemplateAliasesOutput) String() string {
27771	return awsutil.Prettify(s)
27772}
27773
27774// GoString returns the string representation
27775func (s ListTemplateAliasesOutput) GoString() string {
27776	return s.String()
27777}
27778
27779// SetNextToken sets the NextToken field's value.
27780func (s *ListTemplateAliasesOutput) SetNextToken(v string) *ListTemplateAliasesOutput {
27781	s.NextToken = &v
27782	return s
27783}
27784
27785// SetRequestId sets the RequestId field's value.
27786func (s *ListTemplateAliasesOutput) SetRequestId(v string) *ListTemplateAliasesOutput {
27787	s.RequestId = &v
27788	return s
27789}
27790
27791// SetStatus sets the Status field's value.
27792func (s *ListTemplateAliasesOutput) SetStatus(v int64) *ListTemplateAliasesOutput {
27793	s.Status = &v
27794	return s
27795}
27796
27797// SetTemplateAliasList sets the TemplateAliasList field's value.
27798func (s *ListTemplateAliasesOutput) SetTemplateAliasList(v []*TemplateAlias) *ListTemplateAliasesOutput {
27799	s.TemplateAliasList = v
27800	return s
27801}
27802
27803type ListTemplateVersionsInput struct {
27804	_ struct{} `type:"structure"`
27805
27806	// The ID of the Amazon Web Services account that contains the templates that
27807	// you're listing.
27808	//
27809	// AwsAccountId is a required field
27810	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
27811
27812	// The maximum number of results to be returned per request.
27813	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
27814
27815	// The token for the next set of results, or null if there are no more results.
27816	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
27817
27818	// The ID for the template.
27819	//
27820	// TemplateId is a required field
27821	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
27822}
27823
27824// String returns the string representation
27825func (s ListTemplateVersionsInput) String() string {
27826	return awsutil.Prettify(s)
27827}
27828
27829// GoString returns the string representation
27830func (s ListTemplateVersionsInput) GoString() string {
27831	return s.String()
27832}
27833
27834// Validate inspects the fields of the type to determine if they are valid.
27835func (s *ListTemplateVersionsInput) Validate() error {
27836	invalidParams := request.ErrInvalidParams{Context: "ListTemplateVersionsInput"}
27837	if s.AwsAccountId == nil {
27838		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
27839	}
27840	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
27841		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
27842	}
27843	if s.MaxResults != nil && *s.MaxResults < 1 {
27844		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
27845	}
27846	if s.TemplateId == nil {
27847		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
27848	}
27849	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
27850		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
27851	}
27852
27853	if invalidParams.Len() > 0 {
27854		return invalidParams
27855	}
27856	return nil
27857}
27858
27859// SetAwsAccountId sets the AwsAccountId field's value.
27860func (s *ListTemplateVersionsInput) SetAwsAccountId(v string) *ListTemplateVersionsInput {
27861	s.AwsAccountId = &v
27862	return s
27863}
27864
27865// SetMaxResults sets the MaxResults field's value.
27866func (s *ListTemplateVersionsInput) SetMaxResults(v int64) *ListTemplateVersionsInput {
27867	s.MaxResults = &v
27868	return s
27869}
27870
27871// SetNextToken sets the NextToken field's value.
27872func (s *ListTemplateVersionsInput) SetNextToken(v string) *ListTemplateVersionsInput {
27873	s.NextToken = &v
27874	return s
27875}
27876
27877// SetTemplateId sets the TemplateId field's value.
27878func (s *ListTemplateVersionsInput) SetTemplateId(v string) *ListTemplateVersionsInput {
27879	s.TemplateId = &v
27880	return s
27881}
27882
27883type ListTemplateVersionsOutput struct {
27884	_ struct{} `type:"structure"`
27885
27886	// The token for the next set of results, or null if there are no more results.
27887	NextToken *string `type:"string"`
27888
27889	// The Amazon Web Services request ID for this operation.
27890	RequestId *string `type:"string"`
27891
27892	// The HTTP status of the request.
27893	Status *int64 `location:"statusCode" type:"integer"`
27894
27895	// A structure containing a list of all the versions of the specified template.
27896	TemplateVersionSummaryList []*TemplateVersionSummary `type:"list"`
27897}
27898
27899// String returns the string representation
27900func (s ListTemplateVersionsOutput) String() string {
27901	return awsutil.Prettify(s)
27902}
27903
27904// GoString returns the string representation
27905func (s ListTemplateVersionsOutput) GoString() string {
27906	return s.String()
27907}
27908
27909// SetNextToken sets the NextToken field's value.
27910func (s *ListTemplateVersionsOutput) SetNextToken(v string) *ListTemplateVersionsOutput {
27911	s.NextToken = &v
27912	return s
27913}
27914
27915// SetRequestId sets the RequestId field's value.
27916func (s *ListTemplateVersionsOutput) SetRequestId(v string) *ListTemplateVersionsOutput {
27917	s.RequestId = &v
27918	return s
27919}
27920
27921// SetStatus sets the Status field's value.
27922func (s *ListTemplateVersionsOutput) SetStatus(v int64) *ListTemplateVersionsOutput {
27923	s.Status = &v
27924	return s
27925}
27926
27927// SetTemplateVersionSummaryList sets the TemplateVersionSummaryList field's value.
27928func (s *ListTemplateVersionsOutput) SetTemplateVersionSummaryList(v []*TemplateVersionSummary) *ListTemplateVersionsOutput {
27929	s.TemplateVersionSummaryList = v
27930	return s
27931}
27932
27933type ListTemplatesInput struct {
27934	_ struct{} `type:"structure"`
27935
27936	// The ID of the Amazon Web Services account that contains the templates that
27937	// you're listing.
27938	//
27939	// AwsAccountId is a required field
27940	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
27941
27942	// The maximum number of results to be returned per request.
27943	MaxResults *int64 `location:"querystring" locationName:"max-result" min:"1" type:"integer"`
27944
27945	// The token for the next set of results, or null if there are no more results.
27946	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
27947}
27948
27949// String returns the string representation
27950func (s ListTemplatesInput) String() string {
27951	return awsutil.Prettify(s)
27952}
27953
27954// GoString returns the string representation
27955func (s ListTemplatesInput) GoString() string {
27956	return s.String()
27957}
27958
27959// Validate inspects the fields of the type to determine if they are valid.
27960func (s *ListTemplatesInput) Validate() error {
27961	invalidParams := request.ErrInvalidParams{Context: "ListTemplatesInput"}
27962	if s.AwsAccountId == nil {
27963		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
27964	}
27965	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
27966		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
27967	}
27968	if s.MaxResults != nil && *s.MaxResults < 1 {
27969		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
27970	}
27971
27972	if invalidParams.Len() > 0 {
27973		return invalidParams
27974	}
27975	return nil
27976}
27977
27978// SetAwsAccountId sets the AwsAccountId field's value.
27979func (s *ListTemplatesInput) SetAwsAccountId(v string) *ListTemplatesInput {
27980	s.AwsAccountId = &v
27981	return s
27982}
27983
27984// SetMaxResults sets the MaxResults field's value.
27985func (s *ListTemplatesInput) SetMaxResults(v int64) *ListTemplatesInput {
27986	s.MaxResults = &v
27987	return s
27988}
27989
27990// SetNextToken sets the NextToken field's value.
27991func (s *ListTemplatesInput) SetNextToken(v string) *ListTemplatesInput {
27992	s.NextToken = &v
27993	return s
27994}
27995
27996type ListTemplatesOutput struct {
27997	_ struct{} `type:"structure"`
27998
27999	// The token for the next set of results, or null if there are no more results.
28000	NextToken *string `type:"string"`
28001
28002	// The Amazon Web Services request ID for this operation.
28003	RequestId *string `type:"string"`
28004
28005	// The HTTP status of the request.
28006	Status *int64 `location:"statusCode" type:"integer"`
28007
28008	// A structure containing information about the templates in the list.
28009	TemplateSummaryList []*TemplateSummary `type:"list"`
28010}
28011
28012// String returns the string representation
28013func (s ListTemplatesOutput) String() string {
28014	return awsutil.Prettify(s)
28015}
28016
28017// GoString returns the string representation
28018func (s ListTemplatesOutput) GoString() string {
28019	return s.String()
28020}
28021
28022// SetNextToken sets the NextToken field's value.
28023func (s *ListTemplatesOutput) SetNextToken(v string) *ListTemplatesOutput {
28024	s.NextToken = &v
28025	return s
28026}
28027
28028// SetRequestId sets the RequestId field's value.
28029func (s *ListTemplatesOutput) SetRequestId(v string) *ListTemplatesOutput {
28030	s.RequestId = &v
28031	return s
28032}
28033
28034// SetStatus sets the Status field's value.
28035func (s *ListTemplatesOutput) SetStatus(v int64) *ListTemplatesOutput {
28036	s.Status = &v
28037	return s
28038}
28039
28040// SetTemplateSummaryList sets the TemplateSummaryList field's value.
28041func (s *ListTemplatesOutput) SetTemplateSummaryList(v []*TemplateSummary) *ListTemplatesOutput {
28042	s.TemplateSummaryList = v
28043	return s
28044}
28045
28046type ListThemeAliasesInput struct {
28047	_ struct{} `type:"structure"`
28048
28049	// The ID of the Amazon Web Services account that contains the theme aliases
28050	// that you're listing.
28051	//
28052	// AwsAccountId is a required field
28053	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
28054
28055	// The maximum number of results to be returned per request.
28056	MaxResults *int64 `location:"querystring" locationName:"max-result" min:"1" type:"integer"`
28057
28058	// The token for the next set of results, or null if there are no more results.
28059	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
28060
28061	// The ID for the theme.
28062	//
28063	// ThemeId is a required field
28064	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
28065}
28066
28067// String returns the string representation
28068func (s ListThemeAliasesInput) String() string {
28069	return awsutil.Prettify(s)
28070}
28071
28072// GoString returns the string representation
28073func (s ListThemeAliasesInput) GoString() string {
28074	return s.String()
28075}
28076
28077// Validate inspects the fields of the type to determine if they are valid.
28078func (s *ListThemeAliasesInput) Validate() error {
28079	invalidParams := request.ErrInvalidParams{Context: "ListThemeAliasesInput"}
28080	if s.AwsAccountId == nil {
28081		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
28082	}
28083	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
28084		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
28085	}
28086	if s.MaxResults != nil && *s.MaxResults < 1 {
28087		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
28088	}
28089	if s.ThemeId == nil {
28090		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
28091	}
28092	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
28093		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
28094	}
28095
28096	if invalidParams.Len() > 0 {
28097		return invalidParams
28098	}
28099	return nil
28100}
28101
28102// SetAwsAccountId sets the AwsAccountId field's value.
28103func (s *ListThemeAliasesInput) SetAwsAccountId(v string) *ListThemeAliasesInput {
28104	s.AwsAccountId = &v
28105	return s
28106}
28107
28108// SetMaxResults sets the MaxResults field's value.
28109func (s *ListThemeAliasesInput) SetMaxResults(v int64) *ListThemeAliasesInput {
28110	s.MaxResults = &v
28111	return s
28112}
28113
28114// SetNextToken sets the NextToken field's value.
28115func (s *ListThemeAliasesInput) SetNextToken(v string) *ListThemeAliasesInput {
28116	s.NextToken = &v
28117	return s
28118}
28119
28120// SetThemeId sets the ThemeId field's value.
28121func (s *ListThemeAliasesInput) SetThemeId(v string) *ListThemeAliasesInput {
28122	s.ThemeId = &v
28123	return s
28124}
28125
28126type ListThemeAliasesOutput struct {
28127	_ struct{} `type:"structure"`
28128
28129	// The token for the next set of results, or null if there are no more results.
28130	NextToken *string `type:"string"`
28131
28132	// The Amazon Web Services request ID for this operation.
28133	RequestId *string `type:"string"`
28134
28135	// The HTTP status of the request.
28136	Status *int64 `location:"statusCode" type:"integer"`
28137
28138	// A structure containing the list of the theme's aliases.
28139	ThemeAliasList []*ThemeAlias `type:"list"`
28140}
28141
28142// String returns the string representation
28143func (s ListThemeAliasesOutput) String() string {
28144	return awsutil.Prettify(s)
28145}
28146
28147// GoString returns the string representation
28148func (s ListThemeAliasesOutput) GoString() string {
28149	return s.String()
28150}
28151
28152// SetNextToken sets the NextToken field's value.
28153func (s *ListThemeAliasesOutput) SetNextToken(v string) *ListThemeAliasesOutput {
28154	s.NextToken = &v
28155	return s
28156}
28157
28158// SetRequestId sets the RequestId field's value.
28159func (s *ListThemeAliasesOutput) SetRequestId(v string) *ListThemeAliasesOutput {
28160	s.RequestId = &v
28161	return s
28162}
28163
28164// SetStatus sets the Status field's value.
28165func (s *ListThemeAliasesOutput) SetStatus(v int64) *ListThemeAliasesOutput {
28166	s.Status = &v
28167	return s
28168}
28169
28170// SetThemeAliasList sets the ThemeAliasList field's value.
28171func (s *ListThemeAliasesOutput) SetThemeAliasList(v []*ThemeAlias) *ListThemeAliasesOutput {
28172	s.ThemeAliasList = v
28173	return s
28174}
28175
28176type ListThemeVersionsInput struct {
28177	_ struct{} `type:"structure"`
28178
28179	// The ID of the Amazon Web Services account that contains the themes that you're
28180	// listing.
28181	//
28182	// AwsAccountId is a required field
28183	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
28184
28185	// The maximum number of results to be returned per request.
28186	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
28187
28188	// The token for the next set of results, or null if there are no more results.
28189	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
28190
28191	// The ID for the theme.
28192	//
28193	// ThemeId is a required field
28194	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
28195}
28196
28197// String returns the string representation
28198func (s ListThemeVersionsInput) String() string {
28199	return awsutil.Prettify(s)
28200}
28201
28202// GoString returns the string representation
28203func (s ListThemeVersionsInput) GoString() string {
28204	return s.String()
28205}
28206
28207// Validate inspects the fields of the type to determine if they are valid.
28208func (s *ListThemeVersionsInput) Validate() error {
28209	invalidParams := request.ErrInvalidParams{Context: "ListThemeVersionsInput"}
28210	if s.AwsAccountId == nil {
28211		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
28212	}
28213	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
28214		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
28215	}
28216	if s.MaxResults != nil && *s.MaxResults < 1 {
28217		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
28218	}
28219	if s.ThemeId == nil {
28220		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
28221	}
28222	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
28223		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
28224	}
28225
28226	if invalidParams.Len() > 0 {
28227		return invalidParams
28228	}
28229	return nil
28230}
28231
28232// SetAwsAccountId sets the AwsAccountId field's value.
28233func (s *ListThemeVersionsInput) SetAwsAccountId(v string) *ListThemeVersionsInput {
28234	s.AwsAccountId = &v
28235	return s
28236}
28237
28238// SetMaxResults sets the MaxResults field's value.
28239func (s *ListThemeVersionsInput) SetMaxResults(v int64) *ListThemeVersionsInput {
28240	s.MaxResults = &v
28241	return s
28242}
28243
28244// SetNextToken sets the NextToken field's value.
28245func (s *ListThemeVersionsInput) SetNextToken(v string) *ListThemeVersionsInput {
28246	s.NextToken = &v
28247	return s
28248}
28249
28250// SetThemeId sets the ThemeId field's value.
28251func (s *ListThemeVersionsInput) SetThemeId(v string) *ListThemeVersionsInput {
28252	s.ThemeId = &v
28253	return s
28254}
28255
28256type ListThemeVersionsOutput struct {
28257	_ struct{} `type:"structure"`
28258
28259	// The token for the next set of results, or null if there are no more results.
28260	NextToken *string `type:"string"`
28261
28262	// The Amazon Web Services request ID for this operation.
28263	RequestId *string `type:"string"`
28264
28265	// The HTTP status of the request.
28266	Status *int64 `location:"statusCode" type:"integer"`
28267
28268	// A structure containing a list of all the versions of the specified theme.
28269	ThemeVersionSummaryList []*ThemeVersionSummary `type:"list"`
28270}
28271
28272// String returns the string representation
28273func (s ListThemeVersionsOutput) String() string {
28274	return awsutil.Prettify(s)
28275}
28276
28277// GoString returns the string representation
28278func (s ListThemeVersionsOutput) GoString() string {
28279	return s.String()
28280}
28281
28282// SetNextToken sets the NextToken field's value.
28283func (s *ListThemeVersionsOutput) SetNextToken(v string) *ListThemeVersionsOutput {
28284	s.NextToken = &v
28285	return s
28286}
28287
28288// SetRequestId sets the RequestId field's value.
28289func (s *ListThemeVersionsOutput) SetRequestId(v string) *ListThemeVersionsOutput {
28290	s.RequestId = &v
28291	return s
28292}
28293
28294// SetStatus sets the Status field's value.
28295func (s *ListThemeVersionsOutput) SetStatus(v int64) *ListThemeVersionsOutput {
28296	s.Status = &v
28297	return s
28298}
28299
28300// SetThemeVersionSummaryList sets the ThemeVersionSummaryList field's value.
28301func (s *ListThemeVersionsOutput) SetThemeVersionSummaryList(v []*ThemeVersionSummary) *ListThemeVersionsOutput {
28302	s.ThemeVersionSummaryList = v
28303	return s
28304}
28305
28306type ListThemesInput struct {
28307	_ struct{} `type:"structure"`
28308
28309	// The ID of the Amazon Web Services account that contains the themes that you're
28310	// listing.
28311	//
28312	// AwsAccountId is a required field
28313	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
28314
28315	// The maximum number of results to be returned per request.
28316	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
28317
28318	// The token for the next set of results, or null if there are no more results.
28319	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
28320
28321	// The type of themes that you want to list. Valid options include the following:
28322	//
28323	//    * ALL (default)- Display all existing themes.
28324	//
28325	//    * CUSTOM - Display only the themes created by people using Amazon QuickSight.
28326	//
28327	//    * QUICKSIGHT - Display only the starting themes defined by Amazon QuickSight.
28328	Type *string `location:"querystring" locationName:"type" type:"string" enum:"ThemeType"`
28329}
28330
28331// String returns the string representation
28332func (s ListThemesInput) String() string {
28333	return awsutil.Prettify(s)
28334}
28335
28336// GoString returns the string representation
28337func (s ListThemesInput) GoString() string {
28338	return s.String()
28339}
28340
28341// Validate inspects the fields of the type to determine if they are valid.
28342func (s *ListThemesInput) Validate() error {
28343	invalidParams := request.ErrInvalidParams{Context: "ListThemesInput"}
28344	if s.AwsAccountId == nil {
28345		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
28346	}
28347	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
28348		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
28349	}
28350	if s.MaxResults != nil && *s.MaxResults < 1 {
28351		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
28352	}
28353
28354	if invalidParams.Len() > 0 {
28355		return invalidParams
28356	}
28357	return nil
28358}
28359
28360// SetAwsAccountId sets the AwsAccountId field's value.
28361func (s *ListThemesInput) SetAwsAccountId(v string) *ListThemesInput {
28362	s.AwsAccountId = &v
28363	return s
28364}
28365
28366// SetMaxResults sets the MaxResults field's value.
28367func (s *ListThemesInput) SetMaxResults(v int64) *ListThemesInput {
28368	s.MaxResults = &v
28369	return s
28370}
28371
28372// SetNextToken sets the NextToken field's value.
28373func (s *ListThemesInput) SetNextToken(v string) *ListThemesInput {
28374	s.NextToken = &v
28375	return s
28376}
28377
28378// SetType sets the Type field's value.
28379func (s *ListThemesInput) SetType(v string) *ListThemesInput {
28380	s.Type = &v
28381	return s
28382}
28383
28384type ListThemesOutput struct {
28385	_ struct{} `type:"structure"`
28386
28387	// The token for the next set of results, or null if there are no more results.
28388	NextToken *string `type:"string"`
28389
28390	// The Amazon Web Services request ID for this operation.
28391	RequestId *string `type:"string"`
28392
28393	// The HTTP status of the request.
28394	Status *int64 `location:"statusCode" type:"integer"`
28395
28396	// Information about the themes in the list.
28397	ThemeSummaryList []*ThemeSummary `type:"list"`
28398}
28399
28400// String returns the string representation
28401func (s ListThemesOutput) String() string {
28402	return awsutil.Prettify(s)
28403}
28404
28405// GoString returns the string representation
28406func (s ListThemesOutput) GoString() string {
28407	return s.String()
28408}
28409
28410// SetNextToken sets the NextToken field's value.
28411func (s *ListThemesOutput) SetNextToken(v string) *ListThemesOutput {
28412	s.NextToken = &v
28413	return s
28414}
28415
28416// SetRequestId sets the RequestId field's value.
28417func (s *ListThemesOutput) SetRequestId(v string) *ListThemesOutput {
28418	s.RequestId = &v
28419	return s
28420}
28421
28422// SetStatus sets the Status field's value.
28423func (s *ListThemesOutput) SetStatus(v int64) *ListThemesOutput {
28424	s.Status = &v
28425	return s
28426}
28427
28428// SetThemeSummaryList sets the ThemeSummaryList field's value.
28429func (s *ListThemesOutput) SetThemeSummaryList(v []*ThemeSummary) *ListThemesOutput {
28430	s.ThemeSummaryList = v
28431	return s
28432}
28433
28434type ListUserGroupsInput struct {
28435	_ struct{} `type:"structure"`
28436
28437	// The Amazon Web Services account ID that the user is in. Currently, you use
28438	// the ID for the Amazon Web Services account that contains your Amazon QuickSight
28439	// account.
28440	//
28441	// AwsAccountId is a required field
28442	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
28443
28444	// The maximum number of results to return from this request.
28445	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
28446
28447	// The namespace. Currently, you should set this to default.
28448	//
28449	// Namespace is a required field
28450	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
28451
28452	// A pagination token that can be used in a subsequent request.
28453	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
28454
28455	// The Amazon QuickSight user name that you want to list group memberships for.
28456	//
28457	// UserName is a required field
28458	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
28459}
28460
28461// String returns the string representation
28462func (s ListUserGroupsInput) String() string {
28463	return awsutil.Prettify(s)
28464}
28465
28466// GoString returns the string representation
28467func (s ListUserGroupsInput) GoString() string {
28468	return s.String()
28469}
28470
28471// Validate inspects the fields of the type to determine if they are valid.
28472func (s *ListUserGroupsInput) Validate() error {
28473	invalidParams := request.ErrInvalidParams{Context: "ListUserGroupsInput"}
28474	if s.AwsAccountId == nil {
28475		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
28476	}
28477	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
28478		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
28479	}
28480	if s.MaxResults != nil && *s.MaxResults < 1 {
28481		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
28482	}
28483	if s.Namespace == nil {
28484		invalidParams.Add(request.NewErrParamRequired("Namespace"))
28485	}
28486	if s.Namespace != nil && len(*s.Namespace) < 1 {
28487		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
28488	}
28489	if s.UserName == nil {
28490		invalidParams.Add(request.NewErrParamRequired("UserName"))
28491	}
28492	if s.UserName != nil && len(*s.UserName) < 1 {
28493		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
28494	}
28495
28496	if invalidParams.Len() > 0 {
28497		return invalidParams
28498	}
28499	return nil
28500}
28501
28502// SetAwsAccountId sets the AwsAccountId field's value.
28503func (s *ListUserGroupsInput) SetAwsAccountId(v string) *ListUserGroupsInput {
28504	s.AwsAccountId = &v
28505	return s
28506}
28507
28508// SetMaxResults sets the MaxResults field's value.
28509func (s *ListUserGroupsInput) SetMaxResults(v int64) *ListUserGroupsInput {
28510	s.MaxResults = &v
28511	return s
28512}
28513
28514// SetNamespace sets the Namespace field's value.
28515func (s *ListUserGroupsInput) SetNamespace(v string) *ListUserGroupsInput {
28516	s.Namespace = &v
28517	return s
28518}
28519
28520// SetNextToken sets the NextToken field's value.
28521func (s *ListUserGroupsInput) SetNextToken(v string) *ListUserGroupsInput {
28522	s.NextToken = &v
28523	return s
28524}
28525
28526// SetUserName sets the UserName field's value.
28527func (s *ListUserGroupsInput) SetUserName(v string) *ListUserGroupsInput {
28528	s.UserName = &v
28529	return s
28530}
28531
28532type ListUserGroupsOutput struct {
28533	_ struct{} `type:"structure"`
28534
28535	// The list of groups the user is a member of.
28536	GroupList []*Group `type:"list"`
28537
28538	// A pagination token that can be used in a subsequent request.
28539	NextToken *string `type:"string"`
28540
28541	// The Amazon Web Services request ID for this operation.
28542	RequestId *string `type:"string"`
28543
28544	// The HTTP status of the request.
28545	Status *int64 `location:"statusCode" type:"integer"`
28546}
28547
28548// String returns the string representation
28549func (s ListUserGroupsOutput) String() string {
28550	return awsutil.Prettify(s)
28551}
28552
28553// GoString returns the string representation
28554func (s ListUserGroupsOutput) GoString() string {
28555	return s.String()
28556}
28557
28558// SetGroupList sets the GroupList field's value.
28559func (s *ListUserGroupsOutput) SetGroupList(v []*Group) *ListUserGroupsOutput {
28560	s.GroupList = v
28561	return s
28562}
28563
28564// SetNextToken sets the NextToken field's value.
28565func (s *ListUserGroupsOutput) SetNextToken(v string) *ListUserGroupsOutput {
28566	s.NextToken = &v
28567	return s
28568}
28569
28570// SetRequestId sets the RequestId field's value.
28571func (s *ListUserGroupsOutput) SetRequestId(v string) *ListUserGroupsOutput {
28572	s.RequestId = &v
28573	return s
28574}
28575
28576// SetStatus sets the Status field's value.
28577func (s *ListUserGroupsOutput) SetStatus(v int64) *ListUserGroupsOutput {
28578	s.Status = &v
28579	return s
28580}
28581
28582type ListUsersInput struct {
28583	_ struct{} `type:"structure"`
28584
28585	// The ID for the Amazon Web Services account that the user is in. Currently,
28586	// you use the ID for the Amazon Web Services account that contains your Amazon
28587	// QuickSight account.
28588	//
28589	// AwsAccountId is a required field
28590	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
28591
28592	// The maximum number of results to return from this request.
28593	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
28594
28595	// The namespace. Currently, you should set this to default.
28596	//
28597	// Namespace is a required field
28598	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
28599
28600	// A pagination token that can be used in a subsequent request.
28601	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
28602}
28603
28604// String returns the string representation
28605func (s ListUsersInput) String() string {
28606	return awsutil.Prettify(s)
28607}
28608
28609// GoString returns the string representation
28610func (s ListUsersInput) GoString() string {
28611	return s.String()
28612}
28613
28614// Validate inspects the fields of the type to determine if they are valid.
28615func (s *ListUsersInput) Validate() error {
28616	invalidParams := request.ErrInvalidParams{Context: "ListUsersInput"}
28617	if s.AwsAccountId == nil {
28618		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
28619	}
28620	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
28621		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
28622	}
28623	if s.MaxResults != nil && *s.MaxResults < 1 {
28624		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
28625	}
28626	if s.Namespace == nil {
28627		invalidParams.Add(request.NewErrParamRequired("Namespace"))
28628	}
28629	if s.Namespace != nil && len(*s.Namespace) < 1 {
28630		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
28631	}
28632
28633	if invalidParams.Len() > 0 {
28634		return invalidParams
28635	}
28636	return nil
28637}
28638
28639// SetAwsAccountId sets the AwsAccountId field's value.
28640func (s *ListUsersInput) SetAwsAccountId(v string) *ListUsersInput {
28641	s.AwsAccountId = &v
28642	return s
28643}
28644
28645// SetMaxResults sets the MaxResults field's value.
28646func (s *ListUsersInput) SetMaxResults(v int64) *ListUsersInput {
28647	s.MaxResults = &v
28648	return s
28649}
28650
28651// SetNamespace sets the Namespace field's value.
28652func (s *ListUsersInput) SetNamespace(v string) *ListUsersInput {
28653	s.Namespace = &v
28654	return s
28655}
28656
28657// SetNextToken sets the NextToken field's value.
28658func (s *ListUsersInput) SetNextToken(v string) *ListUsersInput {
28659	s.NextToken = &v
28660	return s
28661}
28662
28663type ListUsersOutput struct {
28664	_ struct{} `type:"structure"`
28665
28666	// A pagination token that can be used in a subsequent request.
28667	NextToken *string `type:"string"`
28668
28669	// The Amazon Web Services request ID for this operation.
28670	RequestId *string `type:"string"`
28671
28672	// The HTTP status of the request.
28673	Status *int64 `location:"statusCode" type:"integer"`
28674
28675	// The list of users.
28676	UserList []*User `type:"list"`
28677}
28678
28679// String returns the string representation
28680func (s ListUsersOutput) String() string {
28681	return awsutil.Prettify(s)
28682}
28683
28684// GoString returns the string representation
28685func (s ListUsersOutput) GoString() string {
28686	return s.String()
28687}
28688
28689// SetNextToken sets the NextToken field's value.
28690func (s *ListUsersOutput) SetNextToken(v string) *ListUsersOutput {
28691	s.NextToken = &v
28692	return s
28693}
28694
28695// SetRequestId sets the RequestId field's value.
28696func (s *ListUsersOutput) SetRequestId(v string) *ListUsersOutput {
28697	s.RequestId = &v
28698	return s
28699}
28700
28701// SetStatus sets the Status field's value.
28702func (s *ListUsersOutput) SetStatus(v int64) *ListUsersOutput {
28703	s.Status = &v
28704	return s
28705}
28706
28707// SetUserList sets the UserList field's value.
28708func (s *ListUsersOutput) SetUserList(v []*User) *ListUsersOutput {
28709	s.UserList = v
28710	return s
28711}
28712
28713// A logical table is a unit that joins and that data transformations operate
28714// on. A logical table has a source, which can be either a physical table or
28715// result of a join. When a logical table points to a physical table, the logical
28716// table acts as a mutable copy of that physical table through transform operations.
28717type LogicalTable struct {
28718	_ struct{} `type:"structure"`
28719
28720	// A display name for the logical table.
28721	//
28722	// Alias is a required field
28723	Alias *string `min:"1" type:"string" required:"true"`
28724
28725	// Transform operations that act on this logical table.
28726	DataTransforms []*TransformOperation `min:"1" type:"list"`
28727
28728	// Source of this logical table.
28729	//
28730	// Source is a required field
28731	Source *LogicalTableSource `type:"structure" required:"true"`
28732}
28733
28734// String returns the string representation
28735func (s LogicalTable) String() string {
28736	return awsutil.Prettify(s)
28737}
28738
28739// GoString returns the string representation
28740func (s LogicalTable) GoString() string {
28741	return s.String()
28742}
28743
28744// Validate inspects the fields of the type to determine if they are valid.
28745func (s *LogicalTable) Validate() error {
28746	invalidParams := request.ErrInvalidParams{Context: "LogicalTable"}
28747	if s.Alias == nil {
28748		invalidParams.Add(request.NewErrParamRequired("Alias"))
28749	}
28750	if s.Alias != nil && len(*s.Alias) < 1 {
28751		invalidParams.Add(request.NewErrParamMinLen("Alias", 1))
28752	}
28753	if s.DataTransforms != nil && len(s.DataTransforms) < 1 {
28754		invalidParams.Add(request.NewErrParamMinLen("DataTransforms", 1))
28755	}
28756	if s.Source == nil {
28757		invalidParams.Add(request.NewErrParamRequired("Source"))
28758	}
28759	if s.DataTransforms != nil {
28760		for i, v := range s.DataTransforms {
28761			if v == nil {
28762				continue
28763			}
28764			if err := v.Validate(); err != nil {
28765				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataTransforms", i), err.(request.ErrInvalidParams))
28766			}
28767		}
28768	}
28769	if s.Source != nil {
28770		if err := s.Source.Validate(); err != nil {
28771			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
28772		}
28773	}
28774
28775	if invalidParams.Len() > 0 {
28776		return invalidParams
28777	}
28778	return nil
28779}
28780
28781// SetAlias sets the Alias field's value.
28782func (s *LogicalTable) SetAlias(v string) *LogicalTable {
28783	s.Alias = &v
28784	return s
28785}
28786
28787// SetDataTransforms sets the DataTransforms field's value.
28788func (s *LogicalTable) SetDataTransforms(v []*TransformOperation) *LogicalTable {
28789	s.DataTransforms = v
28790	return s
28791}
28792
28793// SetSource sets the Source field's value.
28794func (s *LogicalTable) SetSource(v *LogicalTableSource) *LogicalTable {
28795	s.Source = v
28796	return s
28797}
28798
28799// Information about the source of a logical table. This is a variant type structure.
28800// For this structure to be valid, only one of the attributes can be non-null.
28801type LogicalTableSource struct {
28802	_ struct{} `type:"structure"`
28803
28804	// The Amazon Resource Number (ARN) of the parent dataset.
28805	DataSetArn *string `type:"string"`
28806
28807	// Specifies the result of a join of two logical tables.
28808	JoinInstruction *JoinInstruction `type:"structure"`
28809
28810	// Physical table ID.
28811	PhysicalTableId *string `min:"1" type:"string"`
28812}
28813
28814// String returns the string representation
28815func (s LogicalTableSource) String() string {
28816	return awsutil.Prettify(s)
28817}
28818
28819// GoString returns the string representation
28820func (s LogicalTableSource) GoString() string {
28821	return s.String()
28822}
28823
28824// Validate inspects the fields of the type to determine if they are valid.
28825func (s *LogicalTableSource) Validate() error {
28826	invalidParams := request.ErrInvalidParams{Context: "LogicalTableSource"}
28827	if s.PhysicalTableId != nil && len(*s.PhysicalTableId) < 1 {
28828		invalidParams.Add(request.NewErrParamMinLen("PhysicalTableId", 1))
28829	}
28830	if s.JoinInstruction != nil {
28831		if err := s.JoinInstruction.Validate(); err != nil {
28832			invalidParams.AddNested("JoinInstruction", err.(request.ErrInvalidParams))
28833		}
28834	}
28835
28836	if invalidParams.Len() > 0 {
28837		return invalidParams
28838	}
28839	return nil
28840}
28841
28842// SetDataSetArn sets the DataSetArn field's value.
28843func (s *LogicalTableSource) SetDataSetArn(v string) *LogicalTableSource {
28844	s.DataSetArn = &v
28845	return s
28846}
28847
28848// SetJoinInstruction sets the JoinInstruction field's value.
28849func (s *LogicalTableSource) SetJoinInstruction(v *JoinInstruction) *LogicalTableSource {
28850	s.JoinInstruction = v
28851	return s
28852}
28853
28854// SetPhysicalTableId sets the PhysicalTableId field's value.
28855func (s *LogicalTableSource) SetPhysicalTableId(v string) *LogicalTableSource {
28856	s.PhysicalTableId = &v
28857	return s
28858}
28859
28860// Amazon S3 manifest file location.
28861type ManifestFileLocation struct {
28862	_ struct{} `type:"structure"`
28863
28864	// Amazon S3 bucket.
28865	//
28866	// Bucket is a required field
28867	Bucket *string `min:"1" type:"string" required:"true"`
28868
28869	// Amazon S3 key that identifies an object.
28870	//
28871	// Key is a required field
28872	Key *string `min:"1" type:"string" required:"true"`
28873}
28874
28875// String returns the string representation
28876func (s ManifestFileLocation) String() string {
28877	return awsutil.Prettify(s)
28878}
28879
28880// GoString returns the string representation
28881func (s ManifestFileLocation) GoString() string {
28882	return s.String()
28883}
28884
28885// Validate inspects the fields of the type to determine if they are valid.
28886func (s *ManifestFileLocation) Validate() error {
28887	invalidParams := request.ErrInvalidParams{Context: "ManifestFileLocation"}
28888	if s.Bucket == nil {
28889		invalidParams.Add(request.NewErrParamRequired("Bucket"))
28890	}
28891	if s.Bucket != nil && len(*s.Bucket) < 1 {
28892		invalidParams.Add(request.NewErrParamMinLen("Bucket", 1))
28893	}
28894	if s.Key == nil {
28895		invalidParams.Add(request.NewErrParamRequired("Key"))
28896	}
28897	if s.Key != nil && len(*s.Key) < 1 {
28898		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
28899	}
28900
28901	if invalidParams.Len() > 0 {
28902		return invalidParams
28903	}
28904	return nil
28905}
28906
28907// SetBucket sets the Bucket field's value.
28908func (s *ManifestFileLocation) SetBucket(v string) *ManifestFileLocation {
28909	s.Bucket = &v
28910	return s
28911}
28912
28913// SetKey sets the Key field's value.
28914func (s *ManifestFileLocation) SetKey(v string) *ManifestFileLocation {
28915	s.Key = &v
28916	return s
28917}
28918
28919// The display options for margins around the outside edge of sheets.
28920type MarginStyle struct {
28921	_ struct{} `type:"structure"`
28922
28923	// This Boolean value controls whether to display sheet margins.
28924	Show *bool `type:"boolean"`
28925}
28926
28927// String returns the string representation
28928func (s MarginStyle) String() string {
28929	return awsutil.Prettify(s)
28930}
28931
28932// GoString returns the string representation
28933func (s MarginStyle) GoString() string {
28934	return s.String()
28935}
28936
28937// SetShow sets the Show field's value.
28938func (s *MarginStyle) SetShow(v bool) *MarginStyle {
28939	s.Show = &v
28940	return s
28941}
28942
28943// The parameters for MariaDB.
28944type MariaDbParameters struct {
28945	_ struct{} `type:"structure"`
28946
28947	// Database.
28948	//
28949	// Database is a required field
28950	Database *string `min:"1" type:"string" required:"true"`
28951
28952	// Host.
28953	//
28954	// Host is a required field
28955	Host *string `min:"1" type:"string" required:"true"`
28956
28957	// Port.
28958	//
28959	// Port is a required field
28960	Port *int64 `min:"1" type:"integer" required:"true"`
28961}
28962
28963// String returns the string representation
28964func (s MariaDbParameters) String() string {
28965	return awsutil.Prettify(s)
28966}
28967
28968// GoString returns the string representation
28969func (s MariaDbParameters) GoString() string {
28970	return s.String()
28971}
28972
28973// Validate inspects the fields of the type to determine if they are valid.
28974func (s *MariaDbParameters) Validate() error {
28975	invalidParams := request.ErrInvalidParams{Context: "MariaDbParameters"}
28976	if s.Database == nil {
28977		invalidParams.Add(request.NewErrParamRequired("Database"))
28978	}
28979	if s.Database != nil && len(*s.Database) < 1 {
28980		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
28981	}
28982	if s.Host == nil {
28983		invalidParams.Add(request.NewErrParamRequired("Host"))
28984	}
28985	if s.Host != nil && len(*s.Host) < 1 {
28986		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
28987	}
28988	if s.Port == nil {
28989		invalidParams.Add(request.NewErrParamRequired("Port"))
28990	}
28991	if s.Port != nil && *s.Port < 1 {
28992		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
28993	}
28994
28995	if invalidParams.Len() > 0 {
28996		return invalidParams
28997	}
28998	return nil
28999}
29000
29001// SetDatabase sets the Database field's value.
29002func (s *MariaDbParameters) SetDatabase(v string) *MariaDbParameters {
29003	s.Database = &v
29004	return s
29005}
29006
29007// SetHost sets the Host field's value.
29008func (s *MariaDbParameters) SetHost(v string) *MariaDbParameters {
29009	s.Host = &v
29010	return s
29011}
29012
29013// SetPort sets the Port field's value.
29014func (s *MariaDbParameters) SetPort(v int64) *MariaDbParameters {
29015	s.Port = &v
29016	return s
29017}
29018
29019// An object that consists of the member Amazon Resource Name (ARN) and member
29020// ID.
29021type MemberIdArnPair struct {
29022	_ struct{} `type:"structure"`
29023
29024	// The Amazon Resource Name (ARN) of the member.
29025	MemberArn *string `type:"string"`
29026
29027	// The ID of the member.
29028	MemberId *string `min:"1" type:"string"`
29029}
29030
29031// String returns the string representation
29032func (s MemberIdArnPair) String() string {
29033	return awsutil.Prettify(s)
29034}
29035
29036// GoString returns the string representation
29037func (s MemberIdArnPair) GoString() string {
29038	return s.String()
29039}
29040
29041// SetMemberArn sets the MemberArn field's value.
29042func (s *MemberIdArnPair) SetMemberArn(v string) *MemberIdArnPair {
29043	s.MemberArn = &v
29044	return s
29045}
29046
29047// SetMemberId sets the MemberId field's value.
29048func (s *MemberIdArnPair) SetMemberId(v string) *MemberIdArnPair {
29049	s.MemberId = &v
29050	return s
29051}
29052
29053// The parameters for MySQL.
29054type MySqlParameters struct {
29055	_ struct{} `type:"structure"`
29056
29057	// Database.
29058	//
29059	// Database is a required field
29060	Database *string `min:"1" type:"string" required:"true"`
29061
29062	// Host.
29063	//
29064	// Host is a required field
29065	Host *string `min:"1" type:"string" required:"true"`
29066
29067	// Port.
29068	//
29069	// Port is a required field
29070	Port *int64 `min:"1" type:"integer" required:"true"`
29071}
29072
29073// String returns the string representation
29074func (s MySqlParameters) String() string {
29075	return awsutil.Prettify(s)
29076}
29077
29078// GoString returns the string representation
29079func (s MySqlParameters) GoString() string {
29080	return s.String()
29081}
29082
29083// Validate inspects the fields of the type to determine if they are valid.
29084func (s *MySqlParameters) Validate() error {
29085	invalidParams := request.ErrInvalidParams{Context: "MySqlParameters"}
29086	if s.Database == nil {
29087		invalidParams.Add(request.NewErrParamRequired("Database"))
29088	}
29089	if s.Database != nil && len(*s.Database) < 1 {
29090		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
29091	}
29092	if s.Host == nil {
29093		invalidParams.Add(request.NewErrParamRequired("Host"))
29094	}
29095	if s.Host != nil && len(*s.Host) < 1 {
29096		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
29097	}
29098	if s.Port == nil {
29099		invalidParams.Add(request.NewErrParamRequired("Port"))
29100	}
29101	if s.Port != nil && *s.Port < 1 {
29102		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
29103	}
29104
29105	if invalidParams.Len() > 0 {
29106		return invalidParams
29107	}
29108	return nil
29109}
29110
29111// SetDatabase sets the Database field's value.
29112func (s *MySqlParameters) SetDatabase(v string) *MySqlParameters {
29113	s.Database = &v
29114	return s
29115}
29116
29117// SetHost sets the Host field's value.
29118func (s *MySqlParameters) SetHost(v string) *MySqlParameters {
29119	s.Host = &v
29120	return s
29121}
29122
29123// SetPort sets the Port field's value.
29124func (s *MySqlParameters) SetPort(v int64) *MySqlParameters {
29125	s.Port = &v
29126	return s
29127}
29128
29129// Errors that occur during namespace creation.
29130type NamespaceError struct {
29131	_ struct{} `type:"structure"`
29132
29133	// The message for the error.
29134	Message *string `type:"string"`
29135
29136	// The error type.
29137	Type *string `type:"string" enum:"NamespaceErrorType"`
29138}
29139
29140// String returns the string representation
29141func (s NamespaceError) String() string {
29142	return awsutil.Prettify(s)
29143}
29144
29145// GoString returns the string representation
29146func (s NamespaceError) GoString() string {
29147	return s.String()
29148}
29149
29150// SetMessage sets the Message field's value.
29151func (s *NamespaceError) SetMessage(v string) *NamespaceError {
29152	s.Message = &v
29153	return s
29154}
29155
29156// SetType sets the Type field's value.
29157func (s *NamespaceError) SetType(v string) *NamespaceError {
29158	s.Type = &v
29159	return s
29160}
29161
29162// The error type.
29163type NamespaceInfoV2 struct {
29164	_ struct{} `type:"structure"`
29165
29166	// The namespace ARN.
29167	Arn *string `type:"string"`
29168
29169	// The namespace Amazon Web Services Region;.
29170	CapacityRegion *string `type:"string"`
29171
29172	// The creation status of a namespace that is not yet completely created.
29173	CreationStatus *string `type:"string" enum:"NamespaceStatus"`
29174
29175	// The identity store used for the namespace.
29176	IdentityStore *string `type:"string" enum:"IdentityStore"`
29177
29178	// The name of the error.
29179	Name *string `type:"string"`
29180
29181	// An error that occurred when the namespace was created.
29182	NamespaceError *NamespaceError `type:"structure"`
29183}
29184
29185// String returns the string representation
29186func (s NamespaceInfoV2) String() string {
29187	return awsutil.Prettify(s)
29188}
29189
29190// GoString returns the string representation
29191func (s NamespaceInfoV2) GoString() string {
29192	return s.String()
29193}
29194
29195// SetArn sets the Arn field's value.
29196func (s *NamespaceInfoV2) SetArn(v string) *NamespaceInfoV2 {
29197	s.Arn = &v
29198	return s
29199}
29200
29201// SetCapacityRegion sets the CapacityRegion field's value.
29202func (s *NamespaceInfoV2) SetCapacityRegion(v string) *NamespaceInfoV2 {
29203	s.CapacityRegion = &v
29204	return s
29205}
29206
29207// SetCreationStatus sets the CreationStatus field's value.
29208func (s *NamespaceInfoV2) SetCreationStatus(v string) *NamespaceInfoV2 {
29209	s.CreationStatus = &v
29210	return s
29211}
29212
29213// SetIdentityStore sets the IdentityStore field's value.
29214func (s *NamespaceInfoV2) SetIdentityStore(v string) *NamespaceInfoV2 {
29215	s.IdentityStore = &v
29216	return s
29217}
29218
29219// SetName sets the Name field's value.
29220func (s *NamespaceInfoV2) SetName(v string) *NamespaceInfoV2 {
29221	s.Name = &v
29222	return s
29223}
29224
29225// SetNamespaceError sets the NamespaceError field's value.
29226func (s *NamespaceInfoV2) SetNamespaceError(v *NamespaceError) *NamespaceInfoV2 {
29227	s.NamespaceError = v
29228	return s
29229}
29230
29231// The parameters for Oracle.
29232type OracleParameters struct {
29233	_ struct{} `type:"structure"`
29234
29235	// Database.
29236	//
29237	// Database is a required field
29238	Database *string `min:"1" type:"string" required:"true"`
29239
29240	// An Oracle host.
29241	//
29242	// Host is a required field
29243	Host *string `min:"1" type:"string" required:"true"`
29244
29245	// Port.
29246	//
29247	// Port is a required field
29248	Port *int64 `min:"1" type:"integer" required:"true"`
29249}
29250
29251// String returns the string representation
29252func (s OracleParameters) String() string {
29253	return awsutil.Prettify(s)
29254}
29255
29256// GoString returns the string representation
29257func (s OracleParameters) GoString() string {
29258	return s.String()
29259}
29260
29261// Validate inspects the fields of the type to determine if they are valid.
29262func (s *OracleParameters) Validate() error {
29263	invalidParams := request.ErrInvalidParams{Context: "OracleParameters"}
29264	if s.Database == nil {
29265		invalidParams.Add(request.NewErrParamRequired("Database"))
29266	}
29267	if s.Database != nil && len(*s.Database) < 1 {
29268		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
29269	}
29270	if s.Host == nil {
29271		invalidParams.Add(request.NewErrParamRequired("Host"))
29272	}
29273	if s.Host != nil && len(*s.Host) < 1 {
29274		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
29275	}
29276	if s.Port == nil {
29277		invalidParams.Add(request.NewErrParamRequired("Port"))
29278	}
29279	if s.Port != nil && *s.Port < 1 {
29280		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
29281	}
29282
29283	if invalidParams.Len() > 0 {
29284		return invalidParams
29285	}
29286	return nil
29287}
29288
29289// SetDatabase sets the Database field's value.
29290func (s *OracleParameters) SetDatabase(v string) *OracleParameters {
29291	s.Database = &v
29292	return s
29293}
29294
29295// SetHost sets the Host field's value.
29296func (s *OracleParameters) SetHost(v string) *OracleParameters {
29297	s.Host = &v
29298	return s
29299}
29300
29301// SetPort sets the Port field's value.
29302func (s *OracleParameters) SetPort(v int64) *OracleParameters {
29303	s.Port = &v
29304	return s
29305}
29306
29307// Output column.
29308type OutputColumn struct {
29309	_ struct{} `type:"structure"`
29310
29311	// A description for a column.
29312	Description *string `type:"string"`
29313
29314	// A display name for the dataset.
29315	Name *string `min:"1" type:"string"`
29316
29317	// Type.
29318	Type *string `type:"string" enum:"ColumnDataType"`
29319}
29320
29321// String returns the string representation
29322func (s OutputColumn) String() string {
29323	return awsutil.Prettify(s)
29324}
29325
29326// GoString returns the string representation
29327func (s OutputColumn) GoString() string {
29328	return s.String()
29329}
29330
29331// SetDescription sets the Description field's value.
29332func (s *OutputColumn) SetDescription(v string) *OutputColumn {
29333	s.Description = &v
29334	return s
29335}
29336
29337// SetName sets the Name field's value.
29338func (s *OutputColumn) SetName(v string) *OutputColumn {
29339	s.Name = &v
29340	return s
29341}
29342
29343// SetType sets the Type field's value.
29344func (s *OutputColumn) SetType(v string) *OutputColumn {
29345	s.Type = &v
29346	return s
29347}
29348
29349// A list of Amazon QuickSight parameters and the list's override values.
29350type Parameters struct {
29351	_ struct{} `type:"structure"`
29352
29353	// The parameters that have a data type of date-time.
29354	DateTimeParameters []*DateTimeParameter `type:"list"`
29355
29356	// The parameters that have a data type of decimal.
29357	DecimalParameters []*DecimalParameter `type:"list"`
29358
29359	// The parameters that have a data type of integer.
29360	IntegerParameters []*IntegerParameter `type:"list"`
29361
29362	// The parameters that have a data type of string.
29363	StringParameters []*StringParameter `type:"list"`
29364}
29365
29366// String returns the string representation
29367func (s Parameters) String() string {
29368	return awsutil.Prettify(s)
29369}
29370
29371// GoString returns the string representation
29372func (s Parameters) GoString() string {
29373	return s.String()
29374}
29375
29376// Validate inspects the fields of the type to determine if they are valid.
29377func (s *Parameters) Validate() error {
29378	invalidParams := request.ErrInvalidParams{Context: "Parameters"}
29379	if s.DateTimeParameters != nil {
29380		for i, v := range s.DateTimeParameters {
29381			if v == nil {
29382				continue
29383			}
29384			if err := v.Validate(); err != nil {
29385				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DateTimeParameters", i), err.(request.ErrInvalidParams))
29386			}
29387		}
29388	}
29389	if s.DecimalParameters != nil {
29390		for i, v := range s.DecimalParameters {
29391			if v == nil {
29392				continue
29393			}
29394			if err := v.Validate(); err != nil {
29395				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DecimalParameters", i), err.(request.ErrInvalidParams))
29396			}
29397		}
29398	}
29399	if s.IntegerParameters != nil {
29400		for i, v := range s.IntegerParameters {
29401			if v == nil {
29402				continue
29403			}
29404			if err := v.Validate(); err != nil {
29405				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "IntegerParameters", i), err.(request.ErrInvalidParams))
29406			}
29407		}
29408	}
29409	if s.StringParameters != nil {
29410		for i, v := range s.StringParameters {
29411			if v == nil {
29412				continue
29413			}
29414			if err := v.Validate(); err != nil {
29415				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "StringParameters", i), err.(request.ErrInvalidParams))
29416			}
29417		}
29418	}
29419
29420	if invalidParams.Len() > 0 {
29421		return invalidParams
29422	}
29423	return nil
29424}
29425
29426// SetDateTimeParameters sets the DateTimeParameters field's value.
29427func (s *Parameters) SetDateTimeParameters(v []*DateTimeParameter) *Parameters {
29428	s.DateTimeParameters = v
29429	return s
29430}
29431
29432// SetDecimalParameters sets the DecimalParameters field's value.
29433func (s *Parameters) SetDecimalParameters(v []*DecimalParameter) *Parameters {
29434	s.DecimalParameters = v
29435	return s
29436}
29437
29438// SetIntegerParameters sets the IntegerParameters field's value.
29439func (s *Parameters) SetIntegerParameters(v []*IntegerParameter) *Parameters {
29440	s.IntegerParameters = v
29441	return s
29442}
29443
29444// SetStringParameters sets the StringParameters field's value.
29445func (s *Parameters) SetStringParameters(v []*StringParameter) *Parameters {
29446	s.StringParameters = v
29447	return s
29448}
29449
29450// A view of a data source that contains information about the shape of the
29451// data in the underlying source. This is a variant type structure. For this
29452// structure to be valid, only one of the attributes can be non-null.
29453type PhysicalTable struct {
29454	_ struct{} `type:"structure"`
29455
29456	// A physical table type built from the results of the custom SQL query.
29457	CustomSql *CustomSql `type:"structure"`
29458
29459	// A physical table type for relational data sources.
29460	RelationalTable *RelationalTable `type:"structure"`
29461
29462	// A physical table type for as S3 data source.
29463	S3Source *S3Source `type:"structure"`
29464}
29465
29466// String returns the string representation
29467func (s PhysicalTable) String() string {
29468	return awsutil.Prettify(s)
29469}
29470
29471// GoString returns the string representation
29472func (s PhysicalTable) GoString() string {
29473	return s.String()
29474}
29475
29476// Validate inspects the fields of the type to determine if they are valid.
29477func (s *PhysicalTable) Validate() error {
29478	invalidParams := request.ErrInvalidParams{Context: "PhysicalTable"}
29479	if s.CustomSql != nil {
29480		if err := s.CustomSql.Validate(); err != nil {
29481			invalidParams.AddNested("CustomSql", err.(request.ErrInvalidParams))
29482		}
29483	}
29484	if s.RelationalTable != nil {
29485		if err := s.RelationalTable.Validate(); err != nil {
29486			invalidParams.AddNested("RelationalTable", err.(request.ErrInvalidParams))
29487		}
29488	}
29489	if s.S3Source != nil {
29490		if err := s.S3Source.Validate(); err != nil {
29491			invalidParams.AddNested("S3Source", err.(request.ErrInvalidParams))
29492		}
29493	}
29494
29495	if invalidParams.Len() > 0 {
29496		return invalidParams
29497	}
29498	return nil
29499}
29500
29501// SetCustomSql sets the CustomSql field's value.
29502func (s *PhysicalTable) SetCustomSql(v *CustomSql) *PhysicalTable {
29503	s.CustomSql = v
29504	return s
29505}
29506
29507// SetRelationalTable sets the RelationalTable field's value.
29508func (s *PhysicalTable) SetRelationalTable(v *RelationalTable) *PhysicalTable {
29509	s.RelationalTable = v
29510	return s
29511}
29512
29513// SetS3Source sets the S3Source field's value.
29514func (s *PhysicalTable) SetS3Source(v *S3Source) *PhysicalTable {
29515	s.S3Source = v
29516	return s
29517}
29518
29519// The parameters for PostgreSQL.
29520type PostgreSqlParameters struct {
29521	_ struct{} `type:"structure"`
29522
29523	// Database.
29524	//
29525	// Database is a required field
29526	Database *string `min:"1" type:"string" required:"true"`
29527
29528	// Host.
29529	//
29530	// Host is a required field
29531	Host *string `min:"1" type:"string" required:"true"`
29532
29533	// Port.
29534	//
29535	// Port is a required field
29536	Port *int64 `min:"1" type:"integer" required:"true"`
29537}
29538
29539// String returns the string representation
29540func (s PostgreSqlParameters) String() string {
29541	return awsutil.Prettify(s)
29542}
29543
29544// GoString returns the string representation
29545func (s PostgreSqlParameters) GoString() string {
29546	return s.String()
29547}
29548
29549// Validate inspects the fields of the type to determine if they are valid.
29550func (s *PostgreSqlParameters) Validate() error {
29551	invalidParams := request.ErrInvalidParams{Context: "PostgreSqlParameters"}
29552	if s.Database == nil {
29553		invalidParams.Add(request.NewErrParamRequired("Database"))
29554	}
29555	if s.Database != nil && len(*s.Database) < 1 {
29556		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
29557	}
29558	if s.Host == nil {
29559		invalidParams.Add(request.NewErrParamRequired("Host"))
29560	}
29561	if s.Host != nil && len(*s.Host) < 1 {
29562		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
29563	}
29564	if s.Port == nil {
29565		invalidParams.Add(request.NewErrParamRequired("Port"))
29566	}
29567	if s.Port != nil && *s.Port < 1 {
29568		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
29569	}
29570
29571	if invalidParams.Len() > 0 {
29572		return invalidParams
29573	}
29574	return nil
29575}
29576
29577// SetDatabase sets the Database field's value.
29578func (s *PostgreSqlParameters) SetDatabase(v string) *PostgreSqlParameters {
29579	s.Database = &v
29580	return s
29581}
29582
29583// SetHost sets the Host field's value.
29584func (s *PostgreSqlParameters) SetHost(v string) *PostgreSqlParameters {
29585	s.Host = &v
29586	return s
29587}
29588
29589// SetPort sets the Port field's value.
29590func (s *PostgreSqlParameters) SetPort(v int64) *PostgreSqlParameters {
29591	s.Port = &v
29592	return s
29593}
29594
29595// One or more preconditions aren't met.
29596type PreconditionNotMetException struct {
29597	_            struct{}                  `type:"structure"`
29598	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
29599
29600	Message_ *string `locationName:"Message" type:"string"`
29601
29602	// The Amazon Web Services request ID for this request.
29603	RequestId *string `type:"string"`
29604}
29605
29606// String returns the string representation
29607func (s PreconditionNotMetException) String() string {
29608	return awsutil.Prettify(s)
29609}
29610
29611// GoString returns the string representation
29612func (s PreconditionNotMetException) GoString() string {
29613	return s.String()
29614}
29615
29616func newErrorPreconditionNotMetException(v protocol.ResponseMetadata) error {
29617	return &PreconditionNotMetException{
29618		RespMetadata: v,
29619	}
29620}
29621
29622// Code returns the exception type name.
29623func (s *PreconditionNotMetException) Code() string {
29624	return "PreconditionNotMetException"
29625}
29626
29627// Message returns the exception's message.
29628func (s *PreconditionNotMetException) Message() string {
29629	if s.Message_ != nil {
29630		return *s.Message_
29631	}
29632	return ""
29633}
29634
29635// OrigErr always returns nil, satisfies awserr.Error interface.
29636func (s *PreconditionNotMetException) OrigErr() error {
29637	return nil
29638}
29639
29640func (s *PreconditionNotMetException) Error() string {
29641	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
29642}
29643
29644// Status code returns the HTTP status code for the request's response error.
29645func (s *PreconditionNotMetException) StatusCode() int {
29646	return s.RespMetadata.StatusCode
29647}
29648
29649// RequestID returns the service's response RequestID for request.
29650func (s *PreconditionNotMetException) RequestID() string {
29651	return s.RespMetadata.RequestID
29652}
29653
29654// The parameters for Presto.
29655type PrestoParameters struct {
29656	_ struct{} `type:"structure"`
29657
29658	// Catalog.
29659	//
29660	// Catalog is a required field
29661	Catalog *string `type:"string" required:"true"`
29662
29663	// Host.
29664	//
29665	// Host is a required field
29666	Host *string `min:"1" type:"string" required:"true"`
29667
29668	// Port.
29669	//
29670	// Port is a required field
29671	Port *int64 `min:"1" type:"integer" required:"true"`
29672}
29673
29674// String returns the string representation
29675func (s PrestoParameters) String() string {
29676	return awsutil.Prettify(s)
29677}
29678
29679// GoString returns the string representation
29680func (s PrestoParameters) GoString() string {
29681	return s.String()
29682}
29683
29684// Validate inspects the fields of the type to determine if they are valid.
29685func (s *PrestoParameters) Validate() error {
29686	invalidParams := request.ErrInvalidParams{Context: "PrestoParameters"}
29687	if s.Catalog == nil {
29688		invalidParams.Add(request.NewErrParamRequired("Catalog"))
29689	}
29690	if s.Host == nil {
29691		invalidParams.Add(request.NewErrParamRequired("Host"))
29692	}
29693	if s.Host != nil && len(*s.Host) < 1 {
29694		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
29695	}
29696	if s.Port == nil {
29697		invalidParams.Add(request.NewErrParamRequired("Port"))
29698	}
29699	if s.Port != nil && *s.Port < 1 {
29700		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
29701	}
29702
29703	if invalidParams.Len() > 0 {
29704		return invalidParams
29705	}
29706	return nil
29707}
29708
29709// SetCatalog sets the Catalog field's value.
29710func (s *PrestoParameters) SetCatalog(v string) *PrestoParameters {
29711	s.Catalog = &v
29712	return s
29713}
29714
29715// SetHost sets the Host field's value.
29716func (s *PrestoParameters) SetHost(v string) *PrestoParameters {
29717	s.Host = &v
29718	return s
29719}
29720
29721// SetPort sets the Port field's value.
29722func (s *PrestoParameters) SetPort(v int64) *PrestoParameters {
29723	s.Port = &v
29724	return s
29725}
29726
29727// A transform operation that projects columns. Operations that come after a
29728// projection can only refer to projected columns.
29729type ProjectOperation struct {
29730	_ struct{} `type:"structure"`
29731
29732	// Projected columns.
29733	//
29734	// ProjectedColumns is a required field
29735	ProjectedColumns []*string `min:"1" type:"list" required:"true"`
29736}
29737
29738// String returns the string representation
29739func (s ProjectOperation) String() string {
29740	return awsutil.Prettify(s)
29741}
29742
29743// GoString returns the string representation
29744func (s ProjectOperation) GoString() string {
29745	return s.String()
29746}
29747
29748// Validate inspects the fields of the type to determine if they are valid.
29749func (s *ProjectOperation) Validate() error {
29750	invalidParams := request.ErrInvalidParams{Context: "ProjectOperation"}
29751	if s.ProjectedColumns == nil {
29752		invalidParams.Add(request.NewErrParamRequired("ProjectedColumns"))
29753	}
29754	if s.ProjectedColumns != nil && len(s.ProjectedColumns) < 1 {
29755		invalidParams.Add(request.NewErrParamMinLen("ProjectedColumns", 1))
29756	}
29757
29758	if invalidParams.Len() > 0 {
29759		return invalidParams
29760	}
29761	return nil
29762}
29763
29764// SetProjectedColumns sets the ProjectedColumns field's value.
29765func (s *ProjectOperation) SetProjectedColumns(v []*string) *ProjectOperation {
29766	s.ProjectedColumns = v
29767	return s
29768}
29769
29770// Information about a queued dataset SPICE ingestion.
29771type QueueInfo struct {
29772	_ struct{} `type:"structure"`
29773
29774	// The ID of the ongoing ingestion. The queued ingestion is waiting for the
29775	// ongoing ingestion to complete.
29776	//
29777	// QueuedIngestion is a required field
29778	QueuedIngestion *string `type:"string" required:"true"`
29779
29780	// The ID of the queued ingestion.
29781	//
29782	// WaitingOnIngestion is a required field
29783	WaitingOnIngestion *string `type:"string" required:"true"`
29784}
29785
29786// String returns the string representation
29787func (s QueueInfo) String() string {
29788	return awsutil.Prettify(s)
29789}
29790
29791// GoString returns the string representation
29792func (s QueueInfo) GoString() string {
29793	return s.String()
29794}
29795
29796// SetQueuedIngestion sets the QueuedIngestion field's value.
29797func (s *QueueInfo) SetQueuedIngestion(v string) *QueueInfo {
29798	s.QueuedIngestion = &v
29799	return s
29800}
29801
29802// SetWaitingOnIngestion sets the WaitingOnIngestion field's value.
29803func (s *QueueInfo) SetWaitingOnIngestion(v string) *QueueInfo {
29804	s.WaitingOnIngestion = &v
29805	return s
29806}
29807
29808// The parameters for Amazon RDS.
29809type RdsParameters struct {
29810	_ struct{} `type:"structure"`
29811
29812	// Database.
29813	//
29814	// Database is a required field
29815	Database *string `min:"1" type:"string" required:"true"`
29816
29817	// Instance ID.
29818	//
29819	// InstanceId is a required field
29820	InstanceId *string `min:"1" type:"string" required:"true"`
29821}
29822
29823// String returns the string representation
29824func (s RdsParameters) String() string {
29825	return awsutil.Prettify(s)
29826}
29827
29828// GoString returns the string representation
29829func (s RdsParameters) GoString() string {
29830	return s.String()
29831}
29832
29833// Validate inspects the fields of the type to determine if they are valid.
29834func (s *RdsParameters) Validate() error {
29835	invalidParams := request.ErrInvalidParams{Context: "RdsParameters"}
29836	if s.Database == nil {
29837		invalidParams.Add(request.NewErrParamRequired("Database"))
29838	}
29839	if s.Database != nil && len(*s.Database) < 1 {
29840		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
29841	}
29842	if s.InstanceId == nil {
29843		invalidParams.Add(request.NewErrParamRequired("InstanceId"))
29844	}
29845	if s.InstanceId != nil && len(*s.InstanceId) < 1 {
29846		invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1))
29847	}
29848
29849	if invalidParams.Len() > 0 {
29850		return invalidParams
29851	}
29852	return nil
29853}
29854
29855// SetDatabase sets the Database field's value.
29856func (s *RdsParameters) SetDatabase(v string) *RdsParameters {
29857	s.Database = &v
29858	return s
29859}
29860
29861// SetInstanceId sets the InstanceId field's value.
29862func (s *RdsParameters) SetInstanceId(v string) *RdsParameters {
29863	s.InstanceId = &v
29864	return s
29865}
29866
29867// The parameters for Amazon Redshift. The ClusterId field can be blank if Host
29868// and Port are both set. The Host and Port fields can be blank if the ClusterId
29869// field is set.
29870type RedshiftParameters struct {
29871	_ struct{} `type:"structure"`
29872
29873	// Cluster ID. This field can be blank if the Host and Port are provided.
29874	ClusterId *string `min:"1" type:"string"`
29875
29876	// Database.
29877	//
29878	// Database is a required field
29879	Database *string `min:"1" type:"string" required:"true"`
29880
29881	// Host. This field can be blank if ClusterId is provided.
29882	Host *string `min:"1" type:"string"`
29883
29884	// Port. This field can be blank if the ClusterId is provided.
29885	Port *int64 `type:"integer"`
29886}
29887
29888// String returns the string representation
29889func (s RedshiftParameters) String() string {
29890	return awsutil.Prettify(s)
29891}
29892
29893// GoString returns the string representation
29894func (s RedshiftParameters) GoString() string {
29895	return s.String()
29896}
29897
29898// Validate inspects the fields of the type to determine if they are valid.
29899func (s *RedshiftParameters) Validate() error {
29900	invalidParams := request.ErrInvalidParams{Context: "RedshiftParameters"}
29901	if s.ClusterId != nil && len(*s.ClusterId) < 1 {
29902		invalidParams.Add(request.NewErrParamMinLen("ClusterId", 1))
29903	}
29904	if s.Database == nil {
29905		invalidParams.Add(request.NewErrParamRequired("Database"))
29906	}
29907	if s.Database != nil && len(*s.Database) < 1 {
29908		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
29909	}
29910	if s.Host != nil && len(*s.Host) < 1 {
29911		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
29912	}
29913
29914	if invalidParams.Len() > 0 {
29915		return invalidParams
29916	}
29917	return nil
29918}
29919
29920// SetClusterId sets the ClusterId field's value.
29921func (s *RedshiftParameters) SetClusterId(v string) *RedshiftParameters {
29922	s.ClusterId = &v
29923	return s
29924}
29925
29926// SetDatabase sets the Database field's value.
29927func (s *RedshiftParameters) SetDatabase(v string) *RedshiftParameters {
29928	s.Database = &v
29929	return s
29930}
29931
29932// SetHost sets the Host field's value.
29933func (s *RedshiftParameters) SetHost(v string) *RedshiftParameters {
29934	s.Host = &v
29935	return s
29936}
29937
29938// SetPort sets the Port field's value.
29939func (s *RedshiftParameters) SetPort(v int64) *RedshiftParameters {
29940	s.Port = &v
29941	return s
29942}
29943
29944type RegisterUserInput struct {
29945	_ struct{} `type:"structure"`
29946
29947	// The ID for the Amazon Web Services account that the user is in. Currently,
29948	// you use the ID for the Amazon Web Services account that contains your Amazon
29949	// QuickSight account.
29950	//
29951	// AwsAccountId is a required field
29952	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
29953
29954	// The URL of the custom OpenID Connect (OIDC) provider that provides identity
29955	// to let a user federate into Amazon QuickSight with an associated Identity
29956	// and Access Management(IAM) role. This parameter should only be used when
29957	// ExternalLoginFederationProviderType parameter is set to CUSTOM_OIDC.
29958	CustomFederationProviderUrl *string `type:"string"`
29959
29960	// (Enterprise edition only) The name of the custom permissions profile that
29961	// you want to assign to this user. Customized permissions allows you to control
29962	// a user's access by restricting access the following operations:
29963	//
29964	//    * Create and update data sources
29965	//
29966	//    * Create and update datasets
29967	//
29968	//    * Create and update email reports
29969	//
29970	//    * Subscribe to email reports
29971	//
29972	// To add custom permissions to an existing user, use UpdateUser instead.
29973	//
29974	// A set of custom permissions includes any combination of these restrictions.
29975	// Currently, you need to create the profile names for custom permission sets
29976	// by using the Amazon QuickSight console. Then, you use the RegisterUser API
29977	// operation to assign the named set of permissions to a Amazon QuickSight user.
29978	//
29979	// Amazon QuickSight custom permissions are applied through IAMpolicies. Therefore,
29980	// they override the permissions typically granted by assigning Amazon QuickSight
29981	// users to one of the default security cohorts in Amazon QuickSight (admin,
29982	// author, reader).
29983	//
29984	// This feature is available only to Amazon QuickSight Enterprise edition subscriptions.
29985	CustomPermissionsName *string `min:"1" type:"string"`
29986
29987	// The email address of the user that you want to register.
29988	//
29989	// Email is a required field
29990	Email *string `type:"string" required:"true"`
29991
29992	// The type of supported external login provider that provides identity to let
29993	// a user federate into Amazon QuickSight with an associated Identity and Access
29994	// Management(IAM) role. The type of supported external login provider can be
29995	// one of the following.
29996	//
29997	//    * COGNITO: Amazon Cognito. The provider URL is cognito-identity.amazonaws.com.
29998	//    When choosing the COGNITO provider type, don’t use the "CustomFederationProviderUrl"
29999	//    parameter which is only needed when the external provider is custom.
30000	//
30001	//    * CUSTOM_OIDC: Custom OpenID Connect (OIDC) provider. When choosing CUSTOM_OIDC
30002	//    type, use the CustomFederationProviderUrl parameter to provide the custom
30003	//    OIDC provider URL.
30004	ExternalLoginFederationProviderType *string `type:"string"`
30005
30006	// The identity ID for a user in the external login provider.
30007	ExternalLoginId *string `type:"string"`
30008
30009	// The ARN of the IAMuser or role that you are registering with Amazon QuickSight.
30010	IamArn *string `type:"string"`
30011
30012	// Amazon QuickSight supports several ways of managing the identity of users.
30013	// This parameter accepts two values:
30014	//
30015	//    * IAM: A user whose identity maps to an existing IAMuser or role.
30016	//
30017	//    * QUICKSIGHT: A user whose identity is owned and managed internally by
30018	//    Amazon QuickSight.
30019	//
30020	// IdentityType is a required field
30021	IdentityType *string `type:"string" required:"true" enum:"IdentityType"`
30022
30023	// The namespace. Currently, you should set this to default.
30024	//
30025	// Namespace is a required field
30026	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
30027
30028	// You need to use this parameter only when you register one or more users using
30029	// an assumed IAMrole. You don't need to provide the session name for other
30030	// scenarios, for example when you are registering an IAMuser or an Amazon QuickSight
30031	// user. You can register multiple users using the same IAMrole if each user
30032	// has a different session name. For more information on assuming IAMroles,
30033	// see assume-role (https://docs.aws.amazon.com/cli/latest/reference/sts/assume-role.html)
30034	// in the AWS CLI Reference.
30035	SessionName *string `min:"2" type:"string"`
30036
30037	// The Amazon QuickSight user name that you want to create for the user you
30038	// are registering.
30039	UserName *string `min:"1" type:"string"`
30040
30041	// The Amazon QuickSight role for the user. The user role can be one of the
30042	// following:
30043	//
30044	//    * READER: A user who has read-only access to dashboards.
30045	//
30046	//    * AUTHOR: A user who can create data sources, datasets, analyses, and
30047	//    dashboards.
30048	//
30049	//    * ADMIN: A user who is an author, who can also manage Amazon QuickSight
30050	//    settings.
30051	//
30052	//    * RESTRICTED_READER: This role isn't currently available for use.
30053	//
30054	//    * RESTRICTED_AUTHOR: This role isn't currently available for use.
30055	//
30056	// UserRole is a required field
30057	UserRole *string `type:"string" required:"true" enum:"UserRole"`
30058}
30059
30060// String returns the string representation
30061func (s RegisterUserInput) String() string {
30062	return awsutil.Prettify(s)
30063}
30064
30065// GoString returns the string representation
30066func (s RegisterUserInput) GoString() string {
30067	return s.String()
30068}
30069
30070// Validate inspects the fields of the type to determine if they are valid.
30071func (s *RegisterUserInput) Validate() error {
30072	invalidParams := request.ErrInvalidParams{Context: "RegisterUserInput"}
30073	if s.AwsAccountId == nil {
30074		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
30075	}
30076	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
30077		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
30078	}
30079	if s.CustomPermissionsName != nil && len(*s.CustomPermissionsName) < 1 {
30080		invalidParams.Add(request.NewErrParamMinLen("CustomPermissionsName", 1))
30081	}
30082	if s.Email == nil {
30083		invalidParams.Add(request.NewErrParamRequired("Email"))
30084	}
30085	if s.IdentityType == nil {
30086		invalidParams.Add(request.NewErrParamRequired("IdentityType"))
30087	}
30088	if s.Namespace == nil {
30089		invalidParams.Add(request.NewErrParamRequired("Namespace"))
30090	}
30091	if s.Namespace != nil && len(*s.Namespace) < 1 {
30092		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
30093	}
30094	if s.SessionName != nil && len(*s.SessionName) < 2 {
30095		invalidParams.Add(request.NewErrParamMinLen("SessionName", 2))
30096	}
30097	if s.UserName != nil && len(*s.UserName) < 1 {
30098		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
30099	}
30100	if s.UserRole == nil {
30101		invalidParams.Add(request.NewErrParamRequired("UserRole"))
30102	}
30103
30104	if invalidParams.Len() > 0 {
30105		return invalidParams
30106	}
30107	return nil
30108}
30109
30110// SetAwsAccountId sets the AwsAccountId field's value.
30111func (s *RegisterUserInput) SetAwsAccountId(v string) *RegisterUserInput {
30112	s.AwsAccountId = &v
30113	return s
30114}
30115
30116// SetCustomFederationProviderUrl sets the CustomFederationProviderUrl field's value.
30117func (s *RegisterUserInput) SetCustomFederationProviderUrl(v string) *RegisterUserInput {
30118	s.CustomFederationProviderUrl = &v
30119	return s
30120}
30121
30122// SetCustomPermissionsName sets the CustomPermissionsName field's value.
30123func (s *RegisterUserInput) SetCustomPermissionsName(v string) *RegisterUserInput {
30124	s.CustomPermissionsName = &v
30125	return s
30126}
30127
30128// SetEmail sets the Email field's value.
30129func (s *RegisterUserInput) SetEmail(v string) *RegisterUserInput {
30130	s.Email = &v
30131	return s
30132}
30133
30134// SetExternalLoginFederationProviderType sets the ExternalLoginFederationProviderType field's value.
30135func (s *RegisterUserInput) SetExternalLoginFederationProviderType(v string) *RegisterUserInput {
30136	s.ExternalLoginFederationProviderType = &v
30137	return s
30138}
30139
30140// SetExternalLoginId sets the ExternalLoginId field's value.
30141func (s *RegisterUserInput) SetExternalLoginId(v string) *RegisterUserInput {
30142	s.ExternalLoginId = &v
30143	return s
30144}
30145
30146// SetIamArn sets the IamArn field's value.
30147func (s *RegisterUserInput) SetIamArn(v string) *RegisterUserInput {
30148	s.IamArn = &v
30149	return s
30150}
30151
30152// SetIdentityType sets the IdentityType field's value.
30153func (s *RegisterUserInput) SetIdentityType(v string) *RegisterUserInput {
30154	s.IdentityType = &v
30155	return s
30156}
30157
30158// SetNamespace sets the Namespace field's value.
30159func (s *RegisterUserInput) SetNamespace(v string) *RegisterUserInput {
30160	s.Namespace = &v
30161	return s
30162}
30163
30164// SetSessionName sets the SessionName field's value.
30165func (s *RegisterUserInput) SetSessionName(v string) *RegisterUserInput {
30166	s.SessionName = &v
30167	return s
30168}
30169
30170// SetUserName sets the UserName field's value.
30171func (s *RegisterUserInput) SetUserName(v string) *RegisterUserInput {
30172	s.UserName = &v
30173	return s
30174}
30175
30176// SetUserRole sets the UserRole field's value.
30177func (s *RegisterUserInput) SetUserRole(v string) *RegisterUserInput {
30178	s.UserRole = &v
30179	return s
30180}
30181
30182type RegisterUserOutput struct {
30183	_ struct{} `type:"structure"`
30184
30185	// The Amazon Web Services request ID for this operation.
30186	RequestId *string `type:"string"`
30187
30188	// The HTTP status of the request.
30189	Status *int64 `location:"statusCode" type:"integer"`
30190
30191	// The user's user name.
30192	User *User `type:"structure"`
30193
30194	// The URL the user visits to complete registration and provide a password.
30195	// This is returned only for users with an identity type of QUICKSIGHT.
30196	UserInvitationUrl *string `type:"string"`
30197}
30198
30199// String returns the string representation
30200func (s RegisterUserOutput) String() string {
30201	return awsutil.Prettify(s)
30202}
30203
30204// GoString returns the string representation
30205func (s RegisterUserOutput) GoString() string {
30206	return s.String()
30207}
30208
30209// SetRequestId sets the RequestId field's value.
30210func (s *RegisterUserOutput) SetRequestId(v string) *RegisterUserOutput {
30211	s.RequestId = &v
30212	return s
30213}
30214
30215// SetStatus sets the Status field's value.
30216func (s *RegisterUserOutput) SetStatus(v int64) *RegisterUserOutput {
30217	s.Status = &v
30218	return s
30219}
30220
30221// SetUser sets the User field's value.
30222func (s *RegisterUserOutput) SetUser(v *User) *RegisterUserOutput {
30223	s.User = v
30224	return s
30225}
30226
30227// SetUserInvitationUrl sets the UserInvitationUrl field's value.
30228func (s *RegisterUserOutput) SetUserInvitationUrl(v string) *RegisterUserOutput {
30229	s.UserInvitationUrl = &v
30230	return s
30231}
30232
30233// Information about the dashboard you want to embed.
30234type RegisteredUserDashboardEmbeddingConfiguration struct {
30235	_ struct{} `type:"structure"`
30236
30237	// The dashboard ID for the dashboard that you want the user to see first. This
30238	// ID is included in the output URL. When the URL in response is accessed, Amazon
30239	// QuickSight renders this dashboard if the user has permissions to view it.
30240	//
30241	// If the user does not have permission to view this dashboard, they see a permissions
30242	// error message.
30243	//
30244	// InitialDashboardId is a required field
30245	InitialDashboardId *string `min:"1" type:"string" required:"true"`
30246}
30247
30248// String returns the string representation
30249func (s RegisteredUserDashboardEmbeddingConfiguration) String() string {
30250	return awsutil.Prettify(s)
30251}
30252
30253// GoString returns the string representation
30254func (s RegisteredUserDashboardEmbeddingConfiguration) GoString() string {
30255	return s.String()
30256}
30257
30258// Validate inspects the fields of the type to determine if they are valid.
30259func (s *RegisteredUserDashboardEmbeddingConfiguration) Validate() error {
30260	invalidParams := request.ErrInvalidParams{Context: "RegisteredUserDashboardEmbeddingConfiguration"}
30261	if s.InitialDashboardId == nil {
30262		invalidParams.Add(request.NewErrParamRequired("InitialDashboardId"))
30263	}
30264	if s.InitialDashboardId != nil && len(*s.InitialDashboardId) < 1 {
30265		invalidParams.Add(request.NewErrParamMinLen("InitialDashboardId", 1))
30266	}
30267
30268	if invalidParams.Len() > 0 {
30269		return invalidParams
30270	}
30271	return nil
30272}
30273
30274// SetInitialDashboardId sets the InitialDashboardId field's value.
30275func (s *RegisteredUserDashboardEmbeddingConfiguration) SetInitialDashboardId(v string) *RegisteredUserDashboardEmbeddingConfiguration {
30276	s.InitialDashboardId = &v
30277	return s
30278}
30279
30280// The type of experience you want to embed. For registered users, you can embed
30281// an Amazon QuickSight dashboard or the Amazon QuickSight console.
30282//
30283// Exactly one of the experience configurations is required. You can choose
30284// Dashboard or QuickSightConsole. You cannot choose more than one experience
30285// configuraton.
30286type RegisteredUserEmbeddingExperienceConfiguration struct {
30287	_ struct{} `type:"structure"`
30288
30289	// The configuration details for providing a dashboard embedding experience.
30290	Dashboard *RegisteredUserDashboardEmbeddingConfiguration `type:"structure"`
30291
30292	// The configuration details for providing an Amazon QuickSight console embedding
30293	// experience. This can be used along with custom permissions to restrict access
30294	// to certain features. For more information, see Customizing Access to the
30295	// Amazon QuickSight Console (https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html)
30296	// in the Amazon QuickSight User Guide.
30297	//
30298	// Use GenerateEmbedUrlForRegisteredUser where you want to provide an authoring
30299	// portal that allows users to create data sources, datasets, analyses, and
30300	// dashboards. The users who accesses an embedded Amazon QuickSight console
30301	// needs to belong to the author or admin security cohort. If you want to restrict
30302	// permissions to some of these features, add a custom permissions profile to
30303	// the user with the UpdateUser API operation. Use RegisterUser API operation
30304	// to add a new user with a custom permission profile attached. For more information,
30305	// see the following sections in the Amazon QuickSight User Guide:
30306	//
30307	//    * Embedding the Full Functionality of the Amazon QuickSight Console for
30308	//    Authenticated Users (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics-full-console-for-authenticated-users.html)
30309	//
30310	//    * Customizing Access to the Amazon QuickSight Console (https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html)
30311	//
30312	// For more information about the high-level steps for embedding and for an
30313	// interactive demo of the ways you can customize embedding, visit the Amazon
30314	// QuickSight Developer Portal (https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html).
30315	QuickSightConsole *RegisteredUserQuickSightConsoleEmbeddingConfiguration `type:"structure"`
30316}
30317
30318// String returns the string representation
30319func (s RegisteredUserEmbeddingExperienceConfiguration) String() string {
30320	return awsutil.Prettify(s)
30321}
30322
30323// GoString returns the string representation
30324func (s RegisteredUserEmbeddingExperienceConfiguration) GoString() string {
30325	return s.String()
30326}
30327
30328// Validate inspects the fields of the type to determine if they are valid.
30329func (s *RegisteredUserEmbeddingExperienceConfiguration) Validate() error {
30330	invalidParams := request.ErrInvalidParams{Context: "RegisteredUserEmbeddingExperienceConfiguration"}
30331	if s.Dashboard != nil {
30332		if err := s.Dashboard.Validate(); err != nil {
30333			invalidParams.AddNested("Dashboard", err.(request.ErrInvalidParams))
30334		}
30335	}
30336	if s.QuickSightConsole != nil {
30337		if err := s.QuickSightConsole.Validate(); err != nil {
30338			invalidParams.AddNested("QuickSightConsole", err.(request.ErrInvalidParams))
30339		}
30340	}
30341
30342	if invalidParams.Len() > 0 {
30343		return invalidParams
30344	}
30345	return nil
30346}
30347
30348// SetDashboard sets the Dashboard field's value.
30349func (s *RegisteredUserEmbeddingExperienceConfiguration) SetDashboard(v *RegisteredUserDashboardEmbeddingConfiguration) *RegisteredUserEmbeddingExperienceConfiguration {
30350	s.Dashboard = v
30351	return s
30352}
30353
30354// SetQuickSightConsole sets the QuickSightConsole field's value.
30355func (s *RegisteredUserEmbeddingExperienceConfiguration) SetQuickSightConsole(v *RegisteredUserQuickSightConsoleEmbeddingConfiguration) *RegisteredUserEmbeddingExperienceConfiguration {
30356	s.QuickSightConsole = v
30357	return s
30358}
30359
30360// Information about the Amazon QuickSight console that you want to embed.
30361type RegisteredUserQuickSightConsoleEmbeddingConfiguration struct {
30362	_ struct{} `type:"structure"`
30363
30364	// The initial URL path for the Amazon QuickSight console. InitialPath is required.
30365	//
30366	// The entry point URL is constrained to the following paths:
30367	//
30368	//    * /start
30369	//
30370	//    * /start/analyses
30371	//
30372	//    * /start/dashboards
30373	//
30374	//    * /start/favorites
30375	//
30376	//    * /dashboards/DashboardId. DashboardId is the actual ID key from the Amazon
30377	//    QuickSight console URL of the dashboard.
30378	//
30379	//    * /analyses/AnalysisId. AnalysisId is the actual ID key from the Amazon
30380	//    QuickSight console URL of the analysis.
30381	InitialPath *string `min:"1" type:"string"`
30382}
30383
30384// String returns the string representation
30385func (s RegisteredUserQuickSightConsoleEmbeddingConfiguration) String() string {
30386	return awsutil.Prettify(s)
30387}
30388
30389// GoString returns the string representation
30390func (s RegisteredUserQuickSightConsoleEmbeddingConfiguration) GoString() string {
30391	return s.String()
30392}
30393
30394// Validate inspects the fields of the type to determine if they are valid.
30395func (s *RegisteredUserQuickSightConsoleEmbeddingConfiguration) Validate() error {
30396	invalidParams := request.ErrInvalidParams{Context: "RegisteredUserQuickSightConsoleEmbeddingConfiguration"}
30397	if s.InitialPath != nil && len(*s.InitialPath) < 1 {
30398		invalidParams.Add(request.NewErrParamMinLen("InitialPath", 1))
30399	}
30400
30401	if invalidParams.Len() > 0 {
30402		return invalidParams
30403	}
30404	return nil
30405}
30406
30407// SetInitialPath sets the InitialPath field's value.
30408func (s *RegisteredUserQuickSightConsoleEmbeddingConfiguration) SetInitialPath(v string) *RegisteredUserQuickSightConsoleEmbeddingConfiguration {
30409	s.InitialPath = &v
30410	return s
30411}
30412
30413// A physical table type for relational data sources.
30414type RelationalTable struct {
30415	_ struct{} `type:"structure"`
30416
30417	// The catalog associated with a table.
30418	Catalog *string `type:"string"`
30419
30420	// The Amazon Resource Name (ARN) for the data source.
30421	//
30422	// DataSourceArn is a required field
30423	DataSourceArn *string `type:"string" required:"true"`
30424
30425	// The column schema of the table.
30426	//
30427	// InputColumns is a required field
30428	InputColumns []*InputColumn `min:"1" type:"list" required:"true"`
30429
30430	// The name of the relational table.
30431	//
30432	// Name is a required field
30433	Name *string `min:"1" type:"string" required:"true"`
30434
30435	// The schema name. This name applies to certain relational database engines.
30436	Schema *string `type:"string"`
30437}
30438
30439// String returns the string representation
30440func (s RelationalTable) String() string {
30441	return awsutil.Prettify(s)
30442}
30443
30444// GoString returns the string representation
30445func (s RelationalTable) GoString() string {
30446	return s.String()
30447}
30448
30449// Validate inspects the fields of the type to determine if they are valid.
30450func (s *RelationalTable) Validate() error {
30451	invalidParams := request.ErrInvalidParams{Context: "RelationalTable"}
30452	if s.DataSourceArn == nil {
30453		invalidParams.Add(request.NewErrParamRequired("DataSourceArn"))
30454	}
30455	if s.InputColumns == nil {
30456		invalidParams.Add(request.NewErrParamRequired("InputColumns"))
30457	}
30458	if s.InputColumns != nil && len(s.InputColumns) < 1 {
30459		invalidParams.Add(request.NewErrParamMinLen("InputColumns", 1))
30460	}
30461	if s.Name == nil {
30462		invalidParams.Add(request.NewErrParamRequired("Name"))
30463	}
30464	if s.Name != nil && len(*s.Name) < 1 {
30465		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30466	}
30467	if s.InputColumns != nil {
30468		for i, v := range s.InputColumns {
30469			if v == nil {
30470				continue
30471			}
30472			if err := v.Validate(); err != nil {
30473				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputColumns", i), err.(request.ErrInvalidParams))
30474			}
30475		}
30476	}
30477
30478	if invalidParams.Len() > 0 {
30479		return invalidParams
30480	}
30481	return nil
30482}
30483
30484// SetCatalog sets the Catalog field's value.
30485func (s *RelationalTable) SetCatalog(v string) *RelationalTable {
30486	s.Catalog = &v
30487	return s
30488}
30489
30490// SetDataSourceArn sets the DataSourceArn field's value.
30491func (s *RelationalTable) SetDataSourceArn(v string) *RelationalTable {
30492	s.DataSourceArn = &v
30493	return s
30494}
30495
30496// SetInputColumns sets the InputColumns field's value.
30497func (s *RelationalTable) SetInputColumns(v []*InputColumn) *RelationalTable {
30498	s.InputColumns = v
30499	return s
30500}
30501
30502// SetName sets the Name field's value.
30503func (s *RelationalTable) SetName(v string) *RelationalTable {
30504	s.Name = &v
30505	return s
30506}
30507
30508// SetSchema sets the Schema field's value.
30509func (s *RelationalTable) SetSchema(v string) *RelationalTable {
30510	s.Schema = &v
30511	return s
30512}
30513
30514// A transform operation that renames a column.
30515type RenameColumnOperation struct {
30516	_ struct{} `type:"structure"`
30517
30518	// The name of the column to be renamed.
30519	//
30520	// ColumnName is a required field
30521	ColumnName *string `min:"1" type:"string" required:"true"`
30522
30523	// The new name for the column.
30524	//
30525	// NewColumnName is a required field
30526	NewColumnName *string `min:"1" type:"string" required:"true"`
30527}
30528
30529// String returns the string representation
30530func (s RenameColumnOperation) String() string {
30531	return awsutil.Prettify(s)
30532}
30533
30534// GoString returns the string representation
30535func (s RenameColumnOperation) GoString() string {
30536	return s.String()
30537}
30538
30539// Validate inspects the fields of the type to determine if they are valid.
30540func (s *RenameColumnOperation) Validate() error {
30541	invalidParams := request.ErrInvalidParams{Context: "RenameColumnOperation"}
30542	if s.ColumnName == nil {
30543		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
30544	}
30545	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
30546		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
30547	}
30548	if s.NewColumnName == nil {
30549		invalidParams.Add(request.NewErrParamRequired("NewColumnName"))
30550	}
30551	if s.NewColumnName != nil && len(*s.NewColumnName) < 1 {
30552		invalidParams.Add(request.NewErrParamMinLen("NewColumnName", 1))
30553	}
30554
30555	if invalidParams.Len() > 0 {
30556		return invalidParams
30557	}
30558	return nil
30559}
30560
30561// SetColumnName sets the ColumnName field's value.
30562func (s *RenameColumnOperation) SetColumnName(v string) *RenameColumnOperation {
30563	s.ColumnName = &v
30564	return s
30565}
30566
30567// SetNewColumnName sets the NewColumnName field's value.
30568func (s *RenameColumnOperation) SetNewColumnName(v string) *RenameColumnOperation {
30569	s.NewColumnName = &v
30570	return s
30571}
30572
30573// The resource specified already exists.
30574type ResourceExistsException struct {
30575	_            struct{}                  `type:"structure"`
30576	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
30577
30578	Message_ *string `locationName:"Message" type:"string"`
30579
30580	// The Amazon Web Services request ID for this request.
30581	RequestId *string `type:"string"`
30582
30583	// The resource type for this request.
30584	ResourceType *string `type:"string" enum:"ExceptionResourceType"`
30585}
30586
30587// String returns the string representation
30588func (s ResourceExistsException) String() string {
30589	return awsutil.Prettify(s)
30590}
30591
30592// GoString returns the string representation
30593func (s ResourceExistsException) GoString() string {
30594	return s.String()
30595}
30596
30597func newErrorResourceExistsException(v protocol.ResponseMetadata) error {
30598	return &ResourceExistsException{
30599		RespMetadata: v,
30600	}
30601}
30602
30603// Code returns the exception type name.
30604func (s *ResourceExistsException) Code() string {
30605	return "ResourceExistsException"
30606}
30607
30608// Message returns the exception's message.
30609func (s *ResourceExistsException) Message() string {
30610	if s.Message_ != nil {
30611		return *s.Message_
30612	}
30613	return ""
30614}
30615
30616// OrigErr always returns nil, satisfies awserr.Error interface.
30617func (s *ResourceExistsException) OrigErr() error {
30618	return nil
30619}
30620
30621func (s *ResourceExistsException) Error() string {
30622	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
30623}
30624
30625// Status code returns the HTTP status code for the request's response error.
30626func (s *ResourceExistsException) StatusCode() int {
30627	return s.RespMetadata.StatusCode
30628}
30629
30630// RequestID returns the service's response RequestID for request.
30631func (s *ResourceExistsException) RequestID() string {
30632	return s.RespMetadata.RequestID
30633}
30634
30635// One or more resources can't be found.
30636type ResourceNotFoundException struct {
30637	_            struct{}                  `type:"structure"`
30638	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
30639
30640	Message_ *string `locationName:"Message" type:"string"`
30641
30642	// The Amazon Web Services request ID for this request.
30643	RequestId *string `type:"string"`
30644
30645	// The resource type for this request.
30646	ResourceType *string `type:"string" enum:"ExceptionResourceType"`
30647}
30648
30649// String returns the string representation
30650func (s ResourceNotFoundException) String() string {
30651	return awsutil.Prettify(s)
30652}
30653
30654// GoString returns the string representation
30655func (s ResourceNotFoundException) GoString() string {
30656	return s.String()
30657}
30658
30659func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
30660	return &ResourceNotFoundException{
30661		RespMetadata: v,
30662	}
30663}
30664
30665// Code returns the exception type name.
30666func (s *ResourceNotFoundException) Code() string {
30667	return "ResourceNotFoundException"
30668}
30669
30670// Message returns the exception's message.
30671func (s *ResourceNotFoundException) Message() string {
30672	if s.Message_ != nil {
30673		return *s.Message_
30674	}
30675	return ""
30676}
30677
30678// OrigErr always returns nil, satisfies awserr.Error interface.
30679func (s *ResourceNotFoundException) OrigErr() error {
30680	return nil
30681}
30682
30683func (s *ResourceNotFoundException) Error() string {
30684	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
30685}
30686
30687// Status code returns the HTTP status code for the request's response error.
30688func (s *ResourceNotFoundException) StatusCode() int {
30689	return s.RespMetadata.StatusCode
30690}
30691
30692// RequestID returns the service's response RequestID for request.
30693func (s *ResourceNotFoundException) RequestID() string {
30694	return s.RespMetadata.RequestID
30695}
30696
30697// Permission for the resource.
30698type ResourcePermission struct {
30699	_ struct{} `type:"structure"`
30700
30701	// The IAMaction to grant or revoke permissions on.
30702	//
30703	// Actions is a required field
30704	Actions []*string `min:"1" type:"list" required:"true"`
30705
30706	// The Amazon Resource Name (ARN) of the principal. This can be one of the following:
30707	//
30708	//    * The ARN of an Amazon QuickSight user or group associated with a data
30709	//    source or dataset. (This is common.)
30710	//
30711	//    * The ARN of an Amazon QuickSight user, group, or namespace associated
30712	//    with an analysis, dashboard, template, or theme. (This is common.)
30713	//
30714	//    * The ARN of an Amazon Web Services account root: This is an IAMARN rather
30715	//    than a Amazon QuickSight ARN. Use this option only to share resources
30716	//    (templates) across Amazon Web Services accounts. (This is less common.)
30717	//
30718	// Principal is a required field
30719	Principal *string `min:"1" type:"string" required:"true"`
30720}
30721
30722// String returns the string representation
30723func (s ResourcePermission) String() string {
30724	return awsutil.Prettify(s)
30725}
30726
30727// GoString returns the string representation
30728func (s ResourcePermission) GoString() string {
30729	return s.String()
30730}
30731
30732// Validate inspects the fields of the type to determine if they are valid.
30733func (s *ResourcePermission) Validate() error {
30734	invalidParams := request.ErrInvalidParams{Context: "ResourcePermission"}
30735	if s.Actions == nil {
30736		invalidParams.Add(request.NewErrParamRequired("Actions"))
30737	}
30738	if s.Actions != nil && len(s.Actions) < 1 {
30739		invalidParams.Add(request.NewErrParamMinLen("Actions", 1))
30740	}
30741	if s.Principal == nil {
30742		invalidParams.Add(request.NewErrParamRequired("Principal"))
30743	}
30744	if s.Principal != nil && len(*s.Principal) < 1 {
30745		invalidParams.Add(request.NewErrParamMinLen("Principal", 1))
30746	}
30747
30748	if invalidParams.Len() > 0 {
30749		return invalidParams
30750	}
30751	return nil
30752}
30753
30754// SetActions sets the Actions field's value.
30755func (s *ResourcePermission) SetActions(v []*string) *ResourcePermission {
30756	s.Actions = v
30757	return s
30758}
30759
30760// SetPrincipal sets the Principal field's value.
30761func (s *ResourcePermission) SetPrincipal(v string) *ResourcePermission {
30762	s.Principal = &v
30763	return s
30764}
30765
30766// This resource is currently unavailable.
30767type ResourceUnavailableException struct {
30768	_            struct{}                  `type:"structure"`
30769	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
30770
30771	Message_ *string `locationName:"Message" type:"string"`
30772
30773	// The Amazon Web Services request ID for this request.
30774	RequestId *string `type:"string"`
30775
30776	// The resource type for this request.
30777	ResourceType *string `type:"string" enum:"ExceptionResourceType"`
30778}
30779
30780// String returns the string representation
30781func (s ResourceUnavailableException) String() string {
30782	return awsutil.Prettify(s)
30783}
30784
30785// GoString returns the string representation
30786func (s ResourceUnavailableException) GoString() string {
30787	return s.String()
30788}
30789
30790func newErrorResourceUnavailableException(v protocol.ResponseMetadata) error {
30791	return &ResourceUnavailableException{
30792		RespMetadata: v,
30793	}
30794}
30795
30796// Code returns the exception type name.
30797func (s *ResourceUnavailableException) Code() string {
30798	return "ResourceUnavailableException"
30799}
30800
30801// Message returns the exception's message.
30802func (s *ResourceUnavailableException) Message() string {
30803	if s.Message_ != nil {
30804		return *s.Message_
30805	}
30806	return ""
30807}
30808
30809// OrigErr always returns nil, satisfies awserr.Error interface.
30810func (s *ResourceUnavailableException) OrigErr() error {
30811	return nil
30812}
30813
30814func (s *ResourceUnavailableException) Error() string {
30815	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
30816}
30817
30818// Status code returns the HTTP status code for the request's response error.
30819func (s *ResourceUnavailableException) StatusCode() int {
30820	return s.RespMetadata.StatusCode
30821}
30822
30823// RequestID returns the service's response RequestID for request.
30824func (s *ResourceUnavailableException) RequestID() string {
30825	return s.RespMetadata.RequestID
30826}
30827
30828type RestoreAnalysisInput struct {
30829	_ struct{} `type:"structure"`
30830
30831	// The ID of the analysis that you're restoring.
30832	//
30833	// AnalysisId is a required field
30834	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
30835
30836	// The ID of the Amazon Web Services account that contains the analysis.
30837	//
30838	// AwsAccountId is a required field
30839	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
30840}
30841
30842// String returns the string representation
30843func (s RestoreAnalysisInput) String() string {
30844	return awsutil.Prettify(s)
30845}
30846
30847// GoString returns the string representation
30848func (s RestoreAnalysisInput) GoString() string {
30849	return s.String()
30850}
30851
30852// Validate inspects the fields of the type to determine if they are valid.
30853func (s *RestoreAnalysisInput) Validate() error {
30854	invalidParams := request.ErrInvalidParams{Context: "RestoreAnalysisInput"}
30855	if s.AnalysisId == nil {
30856		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
30857	}
30858	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
30859		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
30860	}
30861	if s.AwsAccountId == nil {
30862		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
30863	}
30864	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
30865		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
30866	}
30867
30868	if invalidParams.Len() > 0 {
30869		return invalidParams
30870	}
30871	return nil
30872}
30873
30874// SetAnalysisId sets the AnalysisId field's value.
30875func (s *RestoreAnalysisInput) SetAnalysisId(v string) *RestoreAnalysisInput {
30876	s.AnalysisId = &v
30877	return s
30878}
30879
30880// SetAwsAccountId sets the AwsAccountId field's value.
30881func (s *RestoreAnalysisInput) SetAwsAccountId(v string) *RestoreAnalysisInput {
30882	s.AwsAccountId = &v
30883	return s
30884}
30885
30886type RestoreAnalysisOutput struct {
30887	_ struct{} `type:"structure"`
30888
30889	// The ID of the analysis that you're restoring.
30890	AnalysisId *string `min:"1" type:"string"`
30891
30892	// The Amazon Resource Name (ARN) of the analysis that you're restoring.
30893	Arn *string `type:"string"`
30894
30895	// The Amazon Web Services request ID for this operation.
30896	RequestId *string `type:"string"`
30897
30898	// The HTTP status of the request.
30899	Status *int64 `location:"statusCode" type:"integer"`
30900}
30901
30902// String returns the string representation
30903func (s RestoreAnalysisOutput) String() string {
30904	return awsutil.Prettify(s)
30905}
30906
30907// GoString returns the string representation
30908func (s RestoreAnalysisOutput) GoString() string {
30909	return s.String()
30910}
30911
30912// SetAnalysisId sets the AnalysisId field's value.
30913func (s *RestoreAnalysisOutput) SetAnalysisId(v string) *RestoreAnalysisOutput {
30914	s.AnalysisId = &v
30915	return s
30916}
30917
30918// SetArn sets the Arn field's value.
30919func (s *RestoreAnalysisOutput) SetArn(v string) *RestoreAnalysisOutput {
30920	s.Arn = &v
30921	return s
30922}
30923
30924// SetRequestId sets the RequestId field's value.
30925func (s *RestoreAnalysisOutput) SetRequestId(v string) *RestoreAnalysisOutput {
30926	s.RequestId = &v
30927	return s
30928}
30929
30930// SetStatus sets the Status field's value.
30931func (s *RestoreAnalysisOutput) SetStatus(v int64) *RestoreAnalysisOutput {
30932	s.Status = &v
30933	return s
30934}
30935
30936// Information about rows for a data set SPICE ingestion.
30937type RowInfo struct {
30938	_ struct{} `type:"structure"`
30939
30940	// The number of rows that were not ingested.
30941	RowsDropped *int64 `type:"long"`
30942
30943	// The number of rows that were ingested.
30944	RowsIngested *int64 `type:"long"`
30945}
30946
30947// String returns the string representation
30948func (s RowInfo) String() string {
30949	return awsutil.Prettify(s)
30950}
30951
30952// GoString returns the string representation
30953func (s RowInfo) GoString() string {
30954	return s.String()
30955}
30956
30957// SetRowsDropped sets the RowsDropped field's value.
30958func (s *RowInfo) SetRowsDropped(v int64) *RowInfo {
30959	s.RowsDropped = &v
30960	return s
30961}
30962
30963// SetRowsIngested sets the RowsIngested field's value.
30964func (s *RowInfo) SetRowsIngested(v int64) *RowInfo {
30965	s.RowsIngested = &v
30966	return s
30967}
30968
30969// Information about a dataset that contains permissions for row-level security
30970// (RLS). The permissions dataset maps fields to users or groups. For more information,
30971// see Using Row-Level Security (RLS) to Restrict Access to a Dataset (https://docs.aws.amazon.com/quicksight/latest/user/restrict-access-to-a-data-set-using-row-level-security.html)
30972// in the Amazon QuickSight User Guide.
30973//
30974// The option to deny permissions by setting PermissionPolicy to DENY_ACCESS
30975// is not supported for new RLS datasets.
30976type RowLevelPermissionDataSet struct {
30977	_ struct{} `type:"structure"`
30978
30979	// The Amazon Resource Name (ARN) of the dataset that contains permissions for
30980	// RLS.
30981	//
30982	// Arn is a required field
30983	Arn *string `type:"string" required:"true"`
30984
30985	// The user or group rules associated with the dataset that contains permissions
30986	// for RLS.
30987	//
30988	// By default, FormatVersion is VERSION_1. When FormatVersion is VERSION_1,
30989	// UserName and GroupName are required. When FormatVersion is VERSION_2, UserARN
30990	// and GroupARN are required, and Namespace must not exist.
30991	FormatVersion *string `type:"string" enum:"RowLevelPermissionFormatVersion"`
30992
30993	// The namespace associated with the dataset that contains permissions for RLS.
30994	Namespace *string `type:"string"`
30995
30996	// The type of permissions to use when interpreting the permissions for RLS.
30997	// DENY_ACCESS is included for backward compatibility only.
30998	//
30999	// PermissionPolicy is a required field
31000	PermissionPolicy *string `type:"string" required:"true" enum:"RowLevelPermissionPolicy"`
31001
31002	// The status of the row-level security permission dataset. If enabled, the
31003	// status is ENABLED. If disabled, the status is DISABLED.
31004	Status *string `type:"string" enum:"Status"`
31005}
31006
31007// String returns the string representation
31008func (s RowLevelPermissionDataSet) String() string {
31009	return awsutil.Prettify(s)
31010}
31011
31012// GoString returns the string representation
31013func (s RowLevelPermissionDataSet) GoString() string {
31014	return s.String()
31015}
31016
31017// Validate inspects the fields of the type to determine if they are valid.
31018func (s *RowLevelPermissionDataSet) Validate() error {
31019	invalidParams := request.ErrInvalidParams{Context: "RowLevelPermissionDataSet"}
31020	if s.Arn == nil {
31021		invalidParams.Add(request.NewErrParamRequired("Arn"))
31022	}
31023	if s.PermissionPolicy == nil {
31024		invalidParams.Add(request.NewErrParamRequired("PermissionPolicy"))
31025	}
31026
31027	if invalidParams.Len() > 0 {
31028		return invalidParams
31029	}
31030	return nil
31031}
31032
31033// SetArn sets the Arn field's value.
31034func (s *RowLevelPermissionDataSet) SetArn(v string) *RowLevelPermissionDataSet {
31035	s.Arn = &v
31036	return s
31037}
31038
31039// SetFormatVersion sets the FormatVersion field's value.
31040func (s *RowLevelPermissionDataSet) SetFormatVersion(v string) *RowLevelPermissionDataSet {
31041	s.FormatVersion = &v
31042	return s
31043}
31044
31045// SetNamespace sets the Namespace field's value.
31046func (s *RowLevelPermissionDataSet) SetNamespace(v string) *RowLevelPermissionDataSet {
31047	s.Namespace = &v
31048	return s
31049}
31050
31051// SetPermissionPolicy sets the PermissionPolicy field's value.
31052func (s *RowLevelPermissionDataSet) SetPermissionPolicy(v string) *RowLevelPermissionDataSet {
31053	s.PermissionPolicy = &v
31054	return s
31055}
31056
31057// SetStatus sets the Status field's value.
31058func (s *RowLevelPermissionDataSet) SetStatus(v string) *RowLevelPermissionDataSet {
31059	s.Status = &v
31060	return s
31061}
31062
31063// The configuration of tags on a dataset to set row-level security.
31064type RowLevelPermissionTagConfiguration struct {
31065	_ struct{} `type:"structure"`
31066
31067	// The status of row-level security tags. If enabled, the status is ENABLED.
31068	// If disabled, the status is DISABLED.
31069	Status *string `type:"string" enum:"Status"`
31070
31071	// A set of rules associated with row-level security, such as the tag names
31072	// and columns that they are assigned to.
31073	//
31074	// TagRules is a required field
31075	TagRules []*RowLevelPermissionTagRule `min:"1" type:"list" required:"true"`
31076}
31077
31078// String returns the string representation
31079func (s RowLevelPermissionTagConfiguration) String() string {
31080	return awsutil.Prettify(s)
31081}
31082
31083// GoString returns the string representation
31084func (s RowLevelPermissionTagConfiguration) GoString() string {
31085	return s.String()
31086}
31087
31088// Validate inspects the fields of the type to determine if they are valid.
31089func (s *RowLevelPermissionTagConfiguration) Validate() error {
31090	invalidParams := request.ErrInvalidParams{Context: "RowLevelPermissionTagConfiguration"}
31091	if s.TagRules == nil {
31092		invalidParams.Add(request.NewErrParamRequired("TagRules"))
31093	}
31094	if s.TagRules != nil && len(s.TagRules) < 1 {
31095		invalidParams.Add(request.NewErrParamMinLen("TagRules", 1))
31096	}
31097	if s.TagRules != nil {
31098		for i, v := range s.TagRules {
31099			if v == nil {
31100				continue
31101			}
31102			if err := v.Validate(); err != nil {
31103				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TagRules", i), err.(request.ErrInvalidParams))
31104			}
31105		}
31106	}
31107
31108	if invalidParams.Len() > 0 {
31109		return invalidParams
31110	}
31111	return nil
31112}
31113
31114// SetStatus sets the Status field's value.
31115func (s *RowLevelPermissionTagConfiguration) SetStatus(v string) *RowLevelPermissionTagConfiguration {
31116	s.Status = &v
31117	return s
31118}
31119
31120// SetTagRules sets the TagRules field's value.
31121func (s *RowLevelPermissionTagConfiguration) SetTagRules(v []*RowLevelPermissionTagRule) *RowLevelPermissionTagConfiguration {
31122	s.TagRules = v
31123	return s
31124}
31125
31126// A set of rules associated with a tag.
31127type RowLevelPermissionTagRule struct {
31128	_ struct{} `type:"structure"`
31129
31130	// The column name that a tag key is assigned to.
31131	//
31132	// ColumnName is a required field
31133	ColumnName *string `type:"string" required:"true"`
31134
31135	// A string that you want to use to filter by all the values in a column in
31136	// the dataset and don’t want to list the values one by one. For example,
31137	// you can use an asterisk as your match all value.
31138	MatchAllValue *string `min:"1" type:"string" sensitive:"true"`
31139
31140	// The unique key for a tag.
31141	//
31142	// TagKey is a required field
31143	TagKey *string `min:"1" type:"string" required:"true"`
31144
31145	// A string that you want to use to delimit the values when you pass the values
31146	// at run time. For example, you can delimit the values with a comma.
31147	TagMultiValueDelimiter *string `type:"string"`
31148}
31149
31150// String returns the string representation
31151func (s RowLevelPermissionTagRule) String() string {
31152	return awsutil.Prettify(s)
31153}
31154
31155// GoString returns the string representation
31156func (s RowLevelPermissionTagRule) GoString() string {
31157	return s.String()
31158}
31159
31160// Validate inspects the fields of the type to determine if they are valid.
31161func (s *RowLevelPermissionTagRule) Validate() error {
31162	invalidParams := request.ErrInvalidParams{Context: "RowLevelPermissionTagRule"}
31163	if s.ColumnName == nil {
31164		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
31165	}
31166	if s.MatchAllValue != nil && len(*s.MatchAllValue) < 1 {
31167		invalidParams.Add(request.NewErrParamMinLen("MatchAllValue", 1))
31168	}
31169	if s.TagKey == nil {
31170		invalidParams.Add(request.NewErrParamRequired("TagKey"))
31171	}
31172	if s.TagKey != nil && len(*s.TagKey) < 1 {
31173		invalidParams.Add(request.NewErrParamMinLen("TagKey", 1))
31174	}
31175
31176	if invalidParams.Len() > 0 {
31177		return invalidParams
31178	}
31179	return nil
31180}
31181
31182// SetColumnName sets the ColumnName field's value.
31183func (s *RowLevelPermissionTagRule) SetColumnName(v string) *RowLevelPermissionTagRule {
31184	s.ColumnName = &v
31185	return s
31186}
31187
31188// SetMatchAllValue sets the MatchAllValue field's value.
31189func (s *RowLevelPermissionTagRule) SetMatchAllValue(v string) *RowLevelPermissionTagRule {
31190	s.MatchAllValue = &v
31191	return s
31192}
31193
31194// SetTagKey sets the TagKey field's value.
31195func (s *RowLevelPermissionTagRule) SetTagKey(v string) *RowLevelPermissionTagRule {
31196	s.TagKey = &v
31197	return s
31198}
31199
31200// SetTagMultiValueDelimiter sets the TagMultiValueDelimiter field's value.
31201func (s *RowLevelPermissionTagRule) SetTagMultiValueDelimiter(v string) *RowLevelPermissionTagRule {
31202	s.TagMultiValueDelimiter = &v
31203	return s
31204}
31205
31206// The parameters for S3.
31207type S3Parameters struct {
31208	_ struct{} `type:"structure"`
31209
31210	// Location of the Amazon S3 manifest file. This is NULL if the manifest file
31211	// was uploaded into Amazon QuickSight.
31212	//
31213	// ManifestFileLocation is a required field
31214	ManifestFileLocation *ManifestFileLocation `type:"structure" required:"true"`
31215}
31216
31217// String returns the string representation
31218func (s S3Parameters) String() string {
31219	return awsutil.Prettify(s)
31220}
31221
31222// GoString returns the string representation
31223func (s S3Parameters) GoString() string {
31224	return s.String()
31225}
31226
31227// Validate inspects the fields of the type to determine if they are valid.
31228func (s *S3Parameters) Validate() error {
31229	invalidParams := request.ErrInvalidParams{Context: "S3Parameters"}
31230	if s.ManifestFileLocation == nil {
31231		invalidParams.Add(request.NewErrParamRequired("ManifestFileLocation"))
31232	}
31233	if s.ManifestFileLocation != nil {
31234		if err := s.ManifestFileLocation.Validate(); err != nil {
31235			invalidParams.AddNested("ManifestFileLocation", err.(request.ErrInvalidParams))
31236		}
31237	}
31238
31239	if invalidParams.Len() > 0 {
31240		return invalidParams
31241	}
31242	return nil
31243}
31244
31245// SetManifestFileLocation sets the ManifestFileLocation field's value.
31246func (s *S3Parameters) SetManifestFileLocation(v *ManifestFileLocation) *S3Parameters {
31247	s.ManifestFileLocation = v
31248	return s
31249}
31250
31251// A physical table type for an S3 data source.
31252type S3Source struct {
31253	_ struct{} `type:"structure"`
31254
31255	// The Amazon Resource Name (ARN) for the data source.
31256	//
31257	// DataSourceArn is a required field
31258	DataSourceArn *string `type:"string" required:"true"`
31259
31260	// A physical table type for an S3 data source.
31261	//
31262	// For files that aren't JSON, only STRING data types are supported in input
31263	// columns.
31264	//
31265	// InputColumns is a required field
31266	InputColumns []*InputColumn `min:"1" type:"list" required:"true"`
31267
31268	// Information about the format for the S3 source file or files.
31269	UploadSettings *UploadSettings `type:"structure"`
31270}
31271
31272// String returns the string representation
31273func (s S3Source) String() string {
31274	return awsutil.Prettify(s)
31275}
31276
31277// GoString returns the string representation
31278func (s S3Source) GoString() string {
31279	return s.String()
31280}
31281
31282// Validate inspects the fields of the type to determine if they are valid.
31283func (s *S3Source) Validate() error {
31284	invalidParams := request.ErrInvalidParams{Context: "S3Source"}
31285	if s.DataSourceArn == nil {
31286		invalidParams.Add(request.NewErrParamRequired("DataSourceArn"))
31287	}
31288	if s.InputColumns == nil {
31289		invalidParams.Add(request.NewErrParamRequired("InputColumns"))
31290	}
31291	if s.InputColumns != nil && len(s.InputColumns) < 1 {
31292		invalidParams.Add(request.NewErrParamMinLen("InputColumns", 1))
31293	}
31294	if s.InputColumns != nil {
31295		for i, v := range s.InputColumns {
31296			if v == nil {
31297				continue
31298			}
31299			if err := v.Validate(); err != nil {
31300				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputColumns", i), err.(request.ErrInvalidParams))
31301			}
31302		}
31303	}
31304	if s.UploadSettings != nil {
31305		if err := s.UploadSettings.Validate(); err != nil {
31306			invalidParams.AddNested("UploadSettings", err.(request.ErrInvalidParams))
31307		}
31308	}
31309
31310	if invalidParams.Len() > 0 {
31311		return invalidParams
31312	}
31313	return nil
31314}
31315
31316// SetDataSourceArn sets the DataSourceArn field's value.
31317func (s *S3Source) SetDataSourceArn(v string) *S3Source {
31318	s.DataSourceArn = &v
31319	return s
31320}
31321
31322// SetInputColumns sets the InputColumns field's value.
31323func (s *S3Source) SetInputColumns(v []*InputColumn) *S3Source {
31324	s.InputColumns = v
31325	return s
31326}
31327
31328// SetUploadSettings sets the UploadSettings field's value.
31329func (s *S3Source) SetUploadSettings(v *UploadSettings) *S3Source {
31330	s.UploadSettings = v
31331	return s
31332}
31333
31334type SearchAnalysesInput struct {
31335	_ struct{} `type:"structure"`
31336
31337	// The ID of the Amazon Web Services account that contains the analyses that
31338	// you're searching for.
31339	//
31340	// AwsAccountId is a required field
31341	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
31342
31343	// The structure for the search filters that you want to apply to your search.
31344	//
31345	// Filters is a required field
31346	Filters []*AnalysisSearchFilter `min:"1" type:"list" required:"true"`
31347
31348	// The maximum number of results to return.
31349	MaxResults *int64 `min:"1" type:"integer"`
31350
31351	// A pagination token that can be used in a subsequent request.
31352	NextToken *string `type:"string"`
31353}
31354
31355// String returns the string representation
31356func (s SearchAnalysesInput) String() string {
31357	return awsutil.Prettify(s)
31358}
31359
31360// GoString returns the string representation
31361func (s SearchAnalysesInput) GoString() string {
31362	return s.String()
31363}
31364
31365// Validate inspects the fields of the type to determine if they are valid.
31366func (s *SearchAnalysesInput) Validate() error {
31367	invalidParams := request.ErrInvalidParams{Context: "SearchAnalysesInput"}
31368	if s.AwsAccountId == nil {
31369		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
31370	}
31371	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
31372		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
31373	}
31374	if s.Filters == nil {
31375		invalidParams.Add(request.NewErrParamRequired("Filters"))
31376	}
31377	if s.Filters != nil && len(s.Filters) < 1 {
31378		invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
31379	}
31380	if s.MaxResults != nil && *s.MaxResults < 1 {
31381		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31382	}
31383
31384	if invalidParams.Len() > 0 {
31385		return invalidParams
31386	}
31387	return nil
31388}
31389
31390// SetAwsAccountId sets the AwsAccountId field's value.
31391func (s *SearchAnalysesInput) SetAwsAccountId(v string) *SearchAnalysesInput {
31392	s.AwsAccountId = &v
31393	return s
31394}
31395
31396// SetFilters sets the Filters field's value.
31397func (s *SearchAnalysesInput) SetFilters(v []*AnalysisSearchFilter) *SearchAnalysesInput {
31398	s.Filters = v
31399	return s
31400}
31401
31402// SetMaxResults sets the MaxResults field's value.
31403func (s *SearchAnalysesInput) SetMaxResults(v int64) *SearchAnalysesInput {
31404	s.MaxResults = &v
31405	return s
31406}
31407
31408// SetNextToken sets the NextToken field's value.
31409func (s *SearchAnalysesInput) SetNextToken(v string) *SearchAnalysesInput {
31410	s.NextToken = &v
31411	return s
31412}
31413
31414type SearchAnalysesOutput struct {
31415	_ struct{} `type:"structure"`
31416
31417	// Metadata describing the analyses that you searched for.
31418	AnalysisSummaryList []*AnalysisSummary `type:"list"`
31419
31420	// A pagination token that can be used in a subsequent request.
31421	NextToken *string `type:"string"`
31422
31423	// The Amazon Web Services request ID for this operation.
31424	RequestId *string `type:"string"`
31425
31426	// The HTTP status of the request.
31427	Status *int64 `location:"statusCode" type:"integer"`
31428}
31429
31430// String returns the string representation
31431func (s SearchAnalysesOutput) String() string {
31432	return awsutil.Prettify(s)
31433}
31434
31435// GoString returns the string representation
31436func (s SearchAnalysesOutput) GoString() string {
31437	return s.String()
31438}
31439
31440// SetAnalysisSummaryList sets the AnalysisSummaryList field's value.
31441func (s *SearchAnalysesOutput) SetAnalysisSummaryList(v []*AnalysisSummary) *SearchAnalysesOutput {
31442	s.AnalysisSummaryList = v
31443	return s
31444}
31445
31446// SetNextToken sets the NextToken field's value.
31447func (s *SearchAnalysesOutput) SetNextToken(v string) *SearchAnalysesOutput {
31448	s.NextToken = &v
31449	return s
31450}
31451
31452// SetRequestId sets the RequestId field's value.
31453func (s *SearchAnalysesOutput) SetRequestId(v string) *SearchAnalysesOutput {
31454	s.RequestId = &v
31455	return s
31456}
31457
31458// SetStatus sets the Status field's value.
31459func (s *SearchAnalysesOutput) SetStatus(v int64) *SearchAnalysesOutput {
31460	s.Status = &v
31461	return s
31462}
31463
31464type SearchDashboardsInput struct {
31465	_ struct{} `type:"structure"`
31466
31467	// The ID of the Amazon Web Services account that contains the user whose dashboards
31468	// you're searching for.
31469	//
31470	// AwsAccountId is a required field
31471	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
31472
31473	// The filters to apply to the search. Currently, you can search only by user
31474	// name, for example, "Filters": [ { "Name": "QUICKSIGHT_USER", "Operator":
31475	// "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1"
31476	// } ]
31477	//
31478	// Filters is a required field
31479	Filters []*DashboardSearchFilter `min:"1" type:"list" required:"true"`
31480
31481	// The maximum number of results to be returned per request.
31482	MaxResults *int64 `min:"1" type:"integer"`
31483
31484	// The token for the next set of results, or null if there are no more results.
31485	NextToken *string `type:"string"`
31486}
31487
31488// String returns the string representation
31489func (s SearchDashboardsInput) String() string {
31490	return awsutil.Prettify(s)
31491}
31492
31493// GoString returns the string representation
31494func (s SearchDashboardsInput) GoString() string {
31495	return s.String()
31496}
31497
31498// Validate inspects the fields of the type to determine if they are valid.
31499func (s *SearchDashboardsInput) Validate() error {
31500	invalidParams := request.ErrInvalidParams{Context: "SearchDashboardsInput"}
31501	if s.AwsAccountId == nil {
31502		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
31503	}
31504	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
31505		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
31506	}
31507	if s.Filters == nil {
31508		invalidParams.Add(request.NewErrParamRequired("Filters"))
31509	}
31510	if s.Filters != nil && len(s.Filters) < 1 {
31511		invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
31512	}
31513	if s.MaxResults != nil && *s.MaxResults < 1 {
31514		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31515	}
31516	if s.Filters != nil {
31517		for i, v := range s.Filters {
31518			if v == nil {
31519				continue
31520			}
31521			if err := v.Validate(); err != nil {
31522				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
31523			}
31524		}
31525	}
31526
31527	if invalidParams.Len() > 0 {
31528		return invalidParams
31529	}
31530	return nil
31531}
31532
31533// SetAwsAccountId sets the AwsAccountId field's value.
31534func (s *SearchDashboardsInput) SetAwsAccountId(v string) *SearchDashboardsInput {
31535	s.AwsAccountId = &v
31536	return s
31537}
31538
31539// SetFilters sets the Filters field's value.
31540func (s *SearchDashboardsInput) SetFilters(v []*DashboardSearchFilter) *SearchDashboardsInput {
31541	s.Filters = v
31542	return s
31543}
31544
31545// SetMaxResults sets the MaxResults field's value.
31546func (s *SearchDashboardsInput) SetMaxResults(v int64) *SearchDashboardsInput {
31547	s.MaxResults = &v
31548	return s
31549}
31550
31551// SetNextToken sets the NextToken field's value.
31552func (s *SearchDashboardsInput) SetNextToken(v string) *SearchDashboardsInput {
31553	s.NextToken = &v
31554	return s
31555}
31556
31557type SearchDashboardsOutput struct {
31558	_ struct{} `type:"structure"`
31559
31560	// The list of dashboards owned by the user specified in Filters in your request.
31561	DashboardSummaryList []*DashboardSummary `type:"list"`
31562
31563	// The token for the next set of results, or null if there are no more results.
31564	NextToken *string `type:"string"`
31565
31566	// The Amazon Web Services request ID for this operation.
31567	RequestId *string `type:"string"`
31568
31569	// The HTTP status of the request.
31570	Status *int64 `location:"statusCode" type:"integer"`
31571}
31572
31573// String returns the string representation
31574func (s SearchDashboardsOutput) String() string {
31575	return awsutil.Prettify(s)
31576}
31577
31578// GoString returns the string representation
31579func (s SearchDashboardsOutput) GoString() string {
31580	return s.String()
31581}
31582
31583// SetDashboardSummaryList sets the DashboardSummaryList field's value.
31584func (s *SearchDashboardsOutput) SetDashboardSummaryList(v []*DashboardSummary) *SearchDashboardsOutput {
31585	s.DashboardSummaryList = v
31586	return s
31587}
31588
31589// SetNextToken sets the NextToken field's value.
31590func (s *SearchDashboardsOutput) SetNextToken(v string) *SearchDashboardsOutput {
31591	s.NextToken = &v
31592	return s
31593}
31594
31595// SetRequestId sets the RequestId field's value.
31596func (s *SearchDashboardsOutput) SetRequestId(v string) *SearchDashboardsOutput {
31597	s.RequestId = &v
31598	return s
31599}
31600
31601// SetStatus sets the Status field's value.
31602func (s *SearchDashboardsOutput) SetStatus(v int64) *SearchDashboardsOutput {
31603	s.Status = &v
31604	return s
31605}
31606
31607type SearchFoldersInput struct {
31608	_ struct{} `type:"structure"`
31609
31610	// The AWS account ID.
31611	//
31612	// AwsAccountId is a required field
31613	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
31614
31615	// The filters to apply to the search. Currently, you can search only by the
31616	// parent folder ARN. For example, "Filters": [ { "Name": "PARENT_FOLDER_ARN",
31617	// "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:folder/folderId"
31618	// } ].
31619	//
31620	// Filters is a required field
31621	Filters []*FolderSearchFilter `type:"list" required:"true"`
31622
31623	// The maximum number of results to be returned per request.
31624	MaxResults *int64 `min:"1" type:"integer"`
31625
31626	// The token for the next set of results, or null if there are no more results.
31627	NextToken *string `type:"string"`
31628}
31629
31630// String returns the string representation
31631func (s SearchFoldersInput) String() string {
31632	return awsutil.Prettify(s)
31633}
31634
31635// GoString returns the string representation
31636func (s SearchFoldersInput) GoString() string {
31637	return s.String()
31638}
31639
31640// Validate inspects the fields of the type to determine if they are valid.
31641func (s *SearchFoldersInput) Validate() error {
31642	invalidParams := request.ErrInvalidParams{Context: "SearchFoldersInput"}
31643	if s.AwsAccountId == nil {
31644		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
31645	}
31646	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
31647		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
31648	}
31649	if s.Filters == nil {
31650		invalidParams.Add(request.NewErrParamRequired("Filters"))
31651	}
31652	if s.MaxResults != nil && *s.MaxResults < 1 {
31653		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
31654	}
31655
31656	if invalidParams.Len() > 0 {
31657		return invalidParams
31658	}
31659	return nil
31660}
31661
31662// SetAwsAccountId sets the AwsAccountId field's value.
31663func (s *SearchFoldersInput) SetAwsAccountId(v string) *SearchFoldersInput {
31664	s.AwsAccountId = &v
31665	return s
31666}
31667
31668// SetFilters sets the Filters field's value.
31669func (s *SearchFoldersInput) SetFilters(v []*FolderSearchFilter) *SearchFoldersInput {
31670	s.Filters = v
31671	return s
31672}
31673
31674// SetMaxResults sets the MaxResults field's value.
31675func (s *SearchFoldersInput) SetMaxResults(v int64) *SearchFoldersInput {
31676	s.MaxResults = &v
31677	return s
31678}
31679
31680// SetNextToken sets the NextToken field's value.
31681func (s *SearchFoldersInput) SetNextToken(v string) *SearchFoldersInput {
31682	s.NextToken = &v
31683	return s
31684}
31685
31686type SearchFoldersOutput struct {
31687	_ struct{} `type:"structure"`
31688
31689	// A structure that contains all of the folders in your AWS account. This structure
31690	// provides basic information about the folders.
31691	FolderSummaryList []*FolderSummary `type:"list"`
31692
31693	// The token for the next set of results, or null if there are no more results.
31694	NextToken *string `type:"string"`
31695
31696	// The request ID.
31697	RequestId *string `type:"string"`
31698
31699	// The status. If succeeded, the status is SC_OK.
31700	Status *int64 `location:"statusCode" type:"integer"`
31701}
31702
31703// String returns the string representation
31704func (s SearchFoldersOutput) String() string {
31705	return awsutil.Prettify(s)
31706}
31707
31708// GoString returns the string representation
31709func (s SearchFoldersOutput) GoString() string {
31710	return s.String()
31711}
31712
31713// SetFolderSummaryList sets the FolderSummaryList field's value.
31714func (s *SearchFoldersOutput) SetFolderSummaryList(v []*FolderSummary) *SearchFoldersOutput {
31715	s.FolderSummaryList = v
31716	return s
31717}
31718
31719// SetNextToken sets the NextToken field's value.
31720func (s *SearchFoldersOutput) SetNextToken(v string) *SearchFoldersOutput {
31721	s.NextToken = &v
31722	return s
31723}
31724
31725// SetRequestId sets the RequestId field's value.
31726func (s *SearchFoldersOutput) SetRequestId(v string) *SearchFoldersOutput {
31727	s.RequestId = &v
31728	return s
31729}
31730
31731// SetStatus sets the Status field's value.
31732func (s *SearchFoldersOutput) SetStatus(v int64) *SearchFoldersOutput {
31733	s.Status = &v
31734	return s
31735}
31736
31737// The parameters for ServiceNow.
31738type ServiceNowParameters struct {
31739	_ struct{} `type:"structure"`
31740
31741	// URL of the base site.
31742	//
31743	// SiteBaseUrl is a required field
31744	SiteBaseUrl *string `min:"1" type:"string" required:"true"`
31745}
31746
31747// String returns the string representation
31748func (s ServiceNowParameters) String() string {
31749	return awsutil.Prettify(s)
31750}
31751
31752// GoString returns the string representation
31753func (s ServiceNowParameters) GoString() string {
31754	return s.String()
31755}
31756
31757// Validate inspects the fields of the type to determine if they are valid.
31758func (s *ServiceNowParameters) Validate() error {
31759	invalidParams := request.ErrInvalidParams{Context: "ServiceNowParameters"}
31760	if s.SiteBaseUrl == nil {
31761		invalidParams.Add(request.NewErrParamRequired("SiteBaseUrl"))
31762	}
31763	if s.SiteBaseUrl != nil && len(*s.SiteBaseUrl) < 1 {
31764		invalidParams.Add(request.NewErrParamMinLen("SiteBaseUrl", 1))
31765	}
31766
31767	if invalidParams.Len() > 0 {
31768		return invalidParams
31769	}
31770	return nil
31771}
31772
31773// SetSiteBaseUrl sets the SiteBaseUrl field's value.
31774func (s *ServiceNowParameters) SetSiteBaseUrl(v string) *ServiceNowParameters {
31775	s.SiteBaseUrl = &v
31776	return s
31777}
31778
31779// The number of minutes specified for the lifetime of a session isn't valid.
31780// The session lifetime must be 15-600 minutes.
31781type SessionLifetimeInMinutesInvalidException struct {
31782	_            struct{}                  `type:"structure"`
31783	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
31784
31785	Message_ *string `locationName:"Message" type:"string"`
31786
31787	// The Amazon Web Services request ID for this request.
31788	RequestId *string `type:"string"`
31789}
31790
31791// String returns the string representation
31792func (s SessionLifetimeInMinutesInvalidException) String() string {
31793	return awsutil.Prettify(s)
31794}
31795
31796// GoString returns the string representation
31797func (s SessionLifetimeInMinutesInvalidException) GoString() string {
31798	return s.String()
31799}
31800
31801func newErrorSessionLifetimeInMinutesInvalidException(v protocol.ResponseMetadata) error {
31802	return &SessionLifetimeInMinutesInvalidException{
31803		RespMetadata: v,
31804	}
31805}
31806
31807// Code returns the exception type name.
31808func (s *SessionLifetimeInMinutesInvalidException) Code() string {
31809	return "SessionLifetimeInMinutesInvalidException"
31810}
31811
31812// Message returns the exception's message.
31813func (s *SessionLifetimeInMinutesInvalidException) Message() string {
31814	if s.Message_ != nil {
31815		return *s.Message_
31816	}
31817	return ""
31818}
31819
31820// OrigErr always returns nil, satisfies awserr.Error interface.
31821func (s *SessionLifetimeInMinutesInvalidException) OrigErr() error {
31822	return nil
31823}
31824
31825func (s *SessionLifetimeInMinutesInvalidException) Error() string {
31826	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
31827}
31828
31829// Status code returns the HTTP status code for the request's response error.
31830func (s *SessionLifetimeInMinutesInvalidException) StatusCode() int {
31831	return s.RespMetadata.StatusCode
31832}
31833
31834// RequestID returns the service's response RequestID for request.
31835func (s *SessionLifetimeInMinutesInvalidException) RequestID() string {
31836	return s.RespMetadata.RequestID
31837}
31838
31839// The key-value pair used for the row-level security tags feature.
31840type SessionTag struct {
31841	_ struct{} `type:"structure"`
31842
31843	// The key for the tag.
31844	//
31845	// Key is a required field
31846	Key *string `min:"1" type:"string" required:"true"`
31847
31848	// The value that you want to assign the tag.
31849	//
31850	// Value is a required field
31851	Value *string `min:"1" type:"string" required:"true" sensitive:"true"`
31852}
31853
31854// String returns the string representation
31855func (s SessionTag) String() string {
31856	return awsutil.Prettify(s)
31857}
31858
31859// GoString returns the string representation
31860func (s SessionTag) GoString() string {
31861	return s.String()
31862}
31863
31864// Validate inspects the fields of the type to determine if they are valid.
31865func (s *SessionTag) Validate() error {
31866	invalidParams := request.ErrInvalidParams{Context: "SessionTag"}
31867	if s.Key == nil {
31868		invalidParams.Add(request.NewErrParamRequired("Key"))
31869	}
31870	if s.Key != nil && len(*s.Key) < 1 {
31871		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
31872	}
31873	if s.Value == nil {
31874		invalidParams.Add(request.NewErrParamRequired("Value"))
31875	}
31876	if s.Value != nil && len(*s.Value) < 1 {
31877		invalidParams.Add(request.NewErrParamMinLen("Value", 1))
31878	}
31879
31880	if invalidParams.Len() > 0 {
31881		return invalidParams
31882	}
31883	return nil
31884}
31885
31886// SetKey sets the Key field's value.
31887func (s *SessionTag) SetKey(v string) *SessionTag {
31888	s.Key = &v
31889	return s
31890}
31891
31892// SetValue sets the Value field's value.
31893func (s *SessionTag) SetValue(v string) *SessionTag {
31894	s.Value = &v
31895	return s
31896}
31897
31898// A sheet, which is an object that contains a set of visuals that are viewed
31899// together on one page in Amazon QuickSight. Every analysis and dashboard contains
31900// at least one sheet. Each sheet contains at least one visualization widget,
31901// for example a chart, pivot table, or narrative insight. Sheets can be associated
31902// with other components, such as controls, filters, and so on.
31903type Sheet struct {
31904	_ struct{} `type:"structure"`
31905
31906	// The name of a sheet. This name is displayed on the sheet's tab in the Amazon
31907	// QuickSight console.
31908	Name *string `type:"string"`
31909
31910	// The unique identifier associated with a sheet.
31911	SheetId *string `min:"1" type:"string"`
31912}
31913
31914// String returns the string representation
31915func (s Sheet) String() string {
31916	return awsutil.Prettify(s)
31917}
31918
31919// GoString returns the string representation
31920func (s Sheet) GoString() string {
31921	return s.String()
31922}
31923
31924// SetName sets the Name field's value.
31925func (s *Sheet) SetName(v string) *Sheet {
31926	s.Name = &v
31927	return s
31928}
31929
31930// SetSheetId sets the SheetId field's value.
31931func (s *Sheet) SetSheetId(v string) *Sheet {
31932	s.SheetId = &v
31933	return s
31934}
31935
31936// Sheet controls option.
31937type SheetControlsOption struct {
31938	_ struct{} `type:"structure"`
31939
31940	// Visibility state.
31941	VisibilityState *string `type:"string" enum:"DashboardUIState"`
31942}
31943
31944// String returns the string representation
31945func (s SheetControlsOption) String() string {
31946	return awsutil.Prettify(s)
31947}
31948
31949// GoString returns the string representation
31950func (s SheetControlsOption) GoString() string {
31951	return s.String()
31952}
31953
31954// SetVisibilityState sets the VisibilityState field's value.
31955func (s *SheetControlsOption) SetVisibilityState(v string) *SheetControlsOption {
31956	s.VisibilityState = &v
31957	return s
31958}
31959
31960// The theme display options for sheets.
31961type SheetStyle struct {
31962	_ struct{} `type:"structure"`
31963
31964	// The display options for tiles.
31965	Tile *TileStyle `type:"structure"`
31966
31967	// The layout options for tiles.
31968	TileLayout *TileLayoutStyle `type:"structure"`
31969}
31970
31971// String returns the string representation
31972func (s SheetStyle) String() string {
31973	return awsutil.Prettify(s)
31974}
31975
31976// GoString returns the string representation
31977func (s SheetStyle) GoString() string {
31978	return s.String()
31979}
31980
31981// SetTile sets the Tile field's value.
31982func (s *SheetStyle) SetTile(v *TileStyle) *SheetStyle {
31983	s.Tile = v
31984	return s
31985}
31986
31987// SetTileLayout sets the TileLayout field's value.
31988func (s *SheetStyle) SetTileLayout(v *TileLayoutStyle) *SheetStyle {
31989	s.TileLayout = v
31990	return s
31991}
31992
31993// The parameters for Snowflake.
31994type SnowflakeParameters struct {
31995	_ struct{} `type:"structure"`
31996
31997	// Database.
31998	//
31999	// Database is a required field
32000	Database *string `min:"1" type:"string" required:"true"`
32001
32002	// Host.
32003	//
32004	// Host is a required field
32005	Host *string `min:"1" type:"string" required:"true"`
32006
32007	// Warehouse.
32008	//
32009	// Warehouse is a required field
32010	Warehouse *string `type:"string" required:"true"`
32011}
32012
32013// String returns the string representation
32014func (s SnowflakeParameters) String() string {
32015	return awsutil.Prettify(s)
32016}
32017
32018// GoString returns the string representation
32019func (s SnowflakeParameters) GoString() string {
32020	return s.String()
32021}
32022
32023// Validate inspects the fields of the type to determine if they are valid.
32024func (s *SnowflakeParameters) Validate() error {
32025	invalidParams := request.ErrInvalidParams{Context: "SnowflakeParameters"}
32026	if s.Database == nil {
32027		invalidParams.Add(request.NewErrParamRequired("Database"))
32028	}
32029	if s.Database != nil && len(*s.Database) < 1 {
32030		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
32031	}
32032	if s.Host == nil {
32033		invalidParams.Add(request.NewErrParamRequired("Host"))
32034	}
32035	if s.Host != nil && len(*s.Host) < 1 {
32036		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
32037	}
32038	if s.Warehouse == nil {
32039		invalidParams.Add(request.NewErrParamRequired("Warehouse"))
32040	}
32041
32042	if invalidParams.Len() > 0 {
32043		return invalidParams
32044	}
32045	return nil
32046}
32047
32048// SetDatabase sets the Database field's value.
32049func (s *SnowflakeParameters) SetDatabase(v string) *SnowflakeParameters {
32050	s.Database = &v
32051	return s
32052}
32053
32054// SetHost sets the Host field's value.
32055func (s *SnowflakeParameters) SetHost(v string) *SnowflakeParameters {
32056	s.Host = &v
32057	return s
32058}
32059
32060// SetWarehouse sets the Warehouse field's value.
32061func (s *SnowflakeParameters) SetWarehouse(v string) *SnowflakeParameters {
32062	s.Warehouse = &v
32063	return s
32064}
32065
32066// The parameters for Spark.
32067type SparkParameters struct {
32068	_ struct{} `type:"structure"`
32069
32070	// Host.
32071	//
32072	// Host is a required field
32073	Host *string `min:"1" type:"string" required:"true"`
32074
32075	// Port.
32076	//
32077	// Port is a required field
32078	Port *int64 `min:"1" type:"integer" required:"true"`
32079}
32080
32081// String returns the string representation
32082func (s SparkParameters) String() string {
32083	return awsutil.Prettify(s)
32084}
32085
32086// GoString returns the string representation
32087func (s SparkParameters) GoString() string {
32088	return s.String()
32089}
32090
32091// Validate inspects the fields of the type to determine if they are valid.
32092func (s *SparkParameters) Validate() error {
32093	invalidParams := request.ErrInvalidParams{Context: "SparkParameters"}
32094	if s.Host == nil {
32095		invalidParams.Add(request.NewErrParamRequired("Host"))
32096	}
32097	if s.Host != nil && len(*s.Host) < 1 {
32098		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
32099	}
32100	if s.Port == nil {
32101		invalidParams.Add(request.NewErrParamRequired("Port"))
32102	}
32103	if s.Port != nil && *s.Port < 1 {
32104		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
32105	}
32106
32107	if invalidParams.Len() > 0 {
32108		return invalidParams
32109	}
32110	return nil
32111}
32112
32113// SetHost sets the Host field's value.
32114func (s *SparkParameters) SetHost(v string) *SparkParameters {
32115	s.Host = &v
32116	return s
32117}
32118
32119// SetPort sets the Port field's value.
32120func (s *SparkParameters) SetPort(v int64) *SparkParameters {
32121	s.Port = &v
32122	return s
32123}
32124
32125// The parameters for SQL Server.
32126type SqlServerParameters struct {
32127	_ struct{} `type:"structure"`
32128
32129	// Database.
32130	//
32131	// Database is a required field
32132	Database *string `min:"1" type:"string" required:"true"`
32133
32134	// Host.
32135	//
32136	// Host is a required field
32137	Host *string `min:"1" type:"string" required:"true"`
32138
32139	// Port.
32140	//
32141	// Port is a required field
32142	Port *int64 `min:"1" type:"integer" required:"true"`
32143}
32144
32145// String returns the string representation
32146func (s SqlServerParameters) String() string {
32147	return awsutil.Prettify(s)
32148}
32149
32150// GoString returns the string representation
32151func (s SqlServerParameters) GoString() string {
32152	return s.String()
32153}
32154
32155// Validate inspects the fields of the type to determine if they are valid.
32156func (s *SqlServerParameters) Validate() error {
32157	invalidParams := request.ErrInvalidParams{Context: "SqlServerParameters"}
32158	if s.Database == nil {
32159		invalidParams.Add(request.NewErrParamRequired("Database"))
32160	}
32161	if s.Database != nil && len(*s.Database) < 1 {
32162		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
32163	}
32164	if s.Host == nil {
32165		invalidParams.Add(request.NewErrParamRequired("Host"))
32166	}
32167	if s.Host != nil && len(*s.Host) < 1 {
32168		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
32169	}
32170	if s.Port == nil {
32171		invalidParams.Add(request.NewErrParamRequired("Port"))
32172	}
32173	if s.Port != nil && *s.Port < 1 {
32174		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
32175	}
32176
32177	if invalidParams.Len() > 0 {
32178		return invalidParams
32179	}
32180	return nil
32181}
32182
32183// SetDatabase sets the Database field's value.
32184func (s *SqlServerParameters) SetDatabase(v string) *SqlServerParameters {
32185	s.Database = &v
32186	return s
32187}
32188
32189// SetHost sets the Host field's value.
32190func (s *SqlServerParameters) SetHost(v string) *SqlServerParameters {
32191	s.Host = &v
32192	return s
32193}
32194
32195// SetPort sets the Port field's value.
32196func (s *SqlServerParameters) SetPort(v int64) *SqlServerParameters {
32197	s.Port = &v
32198	return s
32199}
32200
32201// Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects
32202// to your underlying data source.
32203type SslProperties struct {
32204	_ struct{} `type:"structure"`
32205
32206	// A Boolean option to control whether SSL should be disabled.
32207	DisableSsl *bool `type:"boolean"`
32208}
32209
32210// String returns the string representation
32211func (s SslProperties) String() string {
32212	return awsutil.Prettify(s)
32213}
32214
32215// GoString returns the string representation
32216func (s SslProperties) GoString() string {
32217	return s.String()
32218}
32219
32220// SetDisableSsl sets the DisableSsl field's value.
32221func (s *SslProperties) SetDisableSsl(v bool) *SslProperties {
32222	s.DisableSsl = &v
32223	return s
32224}
32225
32226// A string parameter.
32227type StringParameter struct {
32228	_ struct{} `type:"structure"`
32229
32230	// A display name for a string parameter.
32231	//
32232	// Name is a required field
32233	Name *string `type:"string" required:"true"`
32234
32235	// The values of a string parameter.
32236	//
32237	// Values is a required field
32238	Values []*string `type:"list" required:"true"`
32239}
32240
32241// String returns the string representation
32242func (s StringParameter) String() string {
32243	return awsutil.Prettify(s)
32244}
32245
32246// GoString returns the string representation
32247func (s StringParameter) GoString() string {
32248	return s.String()
32249}
32250
32251// Validate inspects the fields of the type to determine if they are valid.
32252func (s *StringParameter) Validate() error {
32253	invalidParams := request.ErrInvalidParams{Context: "StringParameter"}
32254	if s.Name == nil {
32255		invalidParams.Add(request.NewErrParamRequired("Name"))
32256	}
32257	if s.Values == nil {
32258		invalidParams.Add(request.NewErrParamRequired("Values"))
32259	}
32260
32261	if invalidParams.Len() > 0 {
32262		return invalidParams
32263	}
32264	return nil
32265}
32266
32267// SetName sets the Name field's value.
32268func (s *StringParameter) SetName(v string) *StringParameter {
32269	s.Name = &v
32270	return s
32271}
32272
32273// SetValues sets the Values field's value.
32274func (s *StringParameter) SetValues(v []*string) *StringParameter {
32275	s.Values = v
32276	return s
32277}
32278
32279// The key or keys of the key-value pairs for the resource tag or tags assigned
32280// to the resource.
32281type Tag struct {
32282	_ struct{} `type:"structure"`
32283
32284	// Tag key.
32285	//
32286	// Key is a required field
32287	Key *string `min:"1" type:"string" required:"true"`
32288
32289	// Tag value.
32290	//
32291	// Value is a required field
32292	Value *string `min:"1" type:"string" required:"true"`
32293}
32294
32295// String returns the string representation
32296func (s Tag) String() string {
32297	return awsutil.Prettify(s)
32298}
32299
32300// GoString returns the string representation
32301func (s Tag) GoString() string {
32302	return s.String()
32303}
32304
32305// Validate inspects the fields of the type to determine if they are valid.
32306func (s *Tag) Validate() error {
32307	invalidParams := request.ErrInvalidParams{Context: "Tag"}
32308	if s.Key == nil {
32309		invalidParams.Add(request.NewErrParamRequired("Key"))
32310	}
32311	if s.Key != nil && len(*s.Key) < 1 {
32312		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
32313	}
32314	if s.Value == nil {
32315		invalidParams.Add(request.NewErrParamRequired("Value"))
32316	}
32317	if s.Value != nil && len(*s.Value) < 1 {
32318		invalidParams.Add(request.NewErrParamMinLen("Value", 1))
32319	}
32320
32321	if invalidParams.Len() > 0 {
32322		return invalidParams
32323	}
32324	return nil
32325}
32326
32327// SetKey sets the Key field's value.
32328func (s *Tag) SetKey(v string) *Tag {
32329	s.Key = &v
32330	return s
32331}
32332
32333// SetValue sets the Value field's value.
32334func (s *Tag) SetValue(v string) *Tag {
32335	s.Value = &v
32336	return s
32337}
32338
32339// A transform operation that tags a column with additional information.
32340type TagColumnOperation struct {
32341	_ struct{} `type:"structure"`
32342
32343	// The column that this operation acts on.
32344	//
32345	// ColumnName is a required field
32346	ColumnName *string `min:"1" type:"string" required:"true"`
32347
32348	// The dataset column tag, currently only used for geospatial type tagging.
32349	//
32350	// This is not tags for the Amazon Web Services tagging feature.
32351	//
32352	// Tags is a required field
32353	Tags []*ColumnTag `min:"1" type:"list" required:"true"`
32354}
32355
32356// String returns the string representation
32357func (s TagColumnOperation) String() string {
32358	return awsutil.Prettify(s)
32359}
32360
32361// GoString returns the string representation
32362func (s TagColumnOperation) GoString() string {
32363	return s.String()
32364}
32365
32366// Validate inspects the fields of the type to determine if they are valid.
32367func (s *TagColumnOperation) Validate() error {
32368	invalidParams := request.ErrInvalidParams{Context: "TagColumnOperation"}
32369	if s.ColumnName == nil {
32370		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
32371	}
32372	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
32373		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
32374	}
32375	if s.Tags == nil {
32376		invalidParams.Add(request.NewErrParamRequired("Tags"))
32377	}
32378	if s.Tags != nil && len(s.Tags) < 1 {
32379		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
32380	}
32381
32382	if invalidParams.Len() > 0 {
32383		return invalidParams
32384	}
32385	return nil
32386}
32387
32388// SetColumnName sets the ColumnName field's value.
32389func (s *TagColumnOperation) SetColumnName(v string) *TagColumnOperation {
32390	s.ColumnName = &v
32391	return s
32392}
32393
32394// SetTags sets the Tags field's value.
32395func (s *TagColumnOperation) SetTags(v []*ColumnTag) *TagColumnOperation {
32396	s.Tags = v
32397	return s
32398}
32399
32400type TagResourceInput struct {
32401	_ struct{} `type:"structure"`
32402
32403	// The Amazon Resource Name (ARN) of the resource that you want to tag.
32404	//
32405	// ResourceArn is a required field
32406	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
32407
32408	// Contains a map of the key-value pairs for the resource tag or tags assigned
32409	// to the resource.
32410	//
32411	// Tags is a required field
32412	Tags []*Tag `min:"1" type:"list" required:"true"`
32413}
32414
32415// String returns the string representation
32416func (s TagResourceInput) String() string {
32417	return awsutil.Prettify(s)
32418}
32419
32420// GoString returns the string representation
32421func (s TagResourceInput) GoString() string {
32422	return s.String()
32423}
32424
32425// Validate inspects the fields of the type to determine if they are valid.
32426func (s *TagResourceInput) Validate() error {
32427	invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
32428	if s.ResourceArn == nil {
32429		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
32430	}
32431	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
32432		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
32433	}
32434	if s.Tags == nil {
32435		invalidParams.Add(request.NewErrParamRequired("Tags"))
32436	}
32437	if s.Tags != nil && len(s.Tags) < 1 {
32438		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
32439	}
32440	if s.Tags != nil {
32441		for i, v := range s.Tags {
32442			if v == nil {
32443				continue
32444			}
32445			if err := v.Validate(); err != nil {
32446				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
32447			}
32448		}
32449	}
32450
32451	if invalidParams.Len() > 0 {
32452		return invalidParams
32453	}
32454	return nil
32455}
32456
32457// SetResourceArn sets the ResourceArn field's value.
32458func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
32459	s.ResourceArn = &v
32460	return s
32461}
32462
32463// SetTags sets the Tags field's value.
32464func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput {
32465	s.Tags = v
32466	return s
32467}
32468
32469type TagResourceOutput struct {
32470	_ struct{} `type:"structure"`
32471
32472	// The Amazon Web Services request ID for this operation.
32473	RequestId *string `type:"string"`
32474
32475	// The HTTP status of the request.
32476	Status *int64 `location:"statusCode" type:"integer"`
32477}
32478
32479// String returns the string representation
32480func (s TagResourceOutput) String() string {
32481	return awsutil.Prettify(s)
32482}
32483
32484// GoString returns the string representation
32485func (s TagResourceOutput) GoString() string {
32486	return s.String()
32487}
32488
32489// SetRequestId sets the RequestId field's value.
32490func (s *TagResourceOutput) SetRequestId(v string) *TagResourceOutput {
32491	s.RequestId = &v
32492	return s
32493}
32494
32495// SetStatus sets the Status field's value.
32496func (s *TagResourceOutput) SetStatus(v int64) *TagResourceOutput {
32497	s.Status = &v
32498	return s
32499}
32500
32501// A template object. A template is an entity in Amazon QuickSight that encapsulates
32502// the metadata required to create an analysis and that you can use to create
32503// a dashboard. A template adds a layer of abstraction by using placeholders
32504// to replace the dataset associated with an analysis. You can use templates
32505// to create dashboards by replacing dataset placeholders with datasets that
32506// follow the same schema that was used to create the source analysis and template.
32507//
32508// You can share templates across Amazon Web Services accounts by allowing users
32509// in other Amazon Web Services accounts to create a template or a dashboard
32510// from an existing template.
32511type Template struct {
32512	_ struct{} `type:"structure"`
32513
32514	// The Amazon Resource Name (ARN) of the template.
32515	Arn *string `type:"string"`
32516
32517	// Time when this was created.
32518	CreatedTime *time.Time `type:"timestamp"`
32519
32520	// Time when this was last updated.
32521	LastUpdatedTime *time.Time `type:"timestamp"`
32522
32523	// The display name of the template.
32524	Name *string `min:"1" type:"string"`
32525
32526	// The ID for the template. This is unique per Amazon Web Services Region; for
32527	// each Amazon Web Services account.
32528	TemplateId *string `min:"1" type:"string"`
32529
32530	// A structure describing the versions of the template.
32531	Version *TemplateVersion `type:"structure"`
32532}
32533
32534// String returns the string representation
32535func (s Template) String() string {
32536	return awsutil.Prettify(s)
32537}
32538
32539// GoString returns the string representation
32540func (s Template) GoString() string {
32541	return s.String()
32542}
32543
32544// SetArn sets the Arn field's value.
32545func (s *Template) SetArn(v string) *Template {
32546	s.Arn = &v
32547	return s
32548}
32549
32550// SetCreatedTime sets the CreatedTime field's value.
32551func (s *Template) SetCreatedTime(v time.Time) *Template {
32552	s.CreatedTime = &v
32553	return s
32554}
32555
32556// SetLastUpdatedTime sets the LastUpdatedTime field's value.
32557func (s *Template) SetLastUpdatedTime(v time.Time) *Template {
32558	s.LastUpdatedTime = &v
32559	return s
32560}
32561
32562// SetName sets the Name field's value.
32563func (s *Template) SetName(v string) *Template {
32564	s.Name = &v
32565	return s
32566}
32567
32568// SetTemplateId sets the TemplateId field's value.
32569func (s *Template) SetTemplateId(v string) *Template {
32570	s.TemplateId = &v
32571	return s
32572}
32573
32574// SetVersion sets the Version field's value.
32575func (s *Template) SetVersion(v *TemplateVersion) *Template {
32576	s.Version = v
32577	return s
32578}
32579
32580// The template alias.
32581type TemplateAlias struct {
32582	_ struct{} `type:"structure"`
32583
32584	// The display name of the template alias.
32585	AliasName *string `min:"1" type:"string"`
32586
32587	// The Amazon Resource Name (ARN) of the template alias.
32588	Arn *string `type:"string"`
32589
32590	// The version number of the template alias.
32591	TemplateVersionNumber *int64 `min:"1" type:"long"`
32592}
32593
32594// String returns the string representation
32595func (s TemplateAlias) String() string {
32596	return awsutil.Prettify(s)
32597}
32598
32599// GoString returns the string representation
32600func (s TemplateAlias) GoString() string {
32601	return s.String()
32602}
32603
32604// SetAliasName sets the AliasName field's value.
32605func (s *TemplateAlias) SetAliasName(v string) *TemplateAlias {
32606	s.AliasName = &v
32607	return s
32608}
32609
32610// SetArn sets the Arn field's value.
32611func (s *TemplateAlias) SetArn(v string) *TemplateAlias {
32612	s.Arn = &v
32613	return s
32614}
32615
32616// SetTemplateVersionNumber sets the TemplateVersionNumber field's value.
32617func (s *TemplateAlias) SetTemplateVersionNumber(v int64) *TemplateAlias {
32618	s.TemplateVersionNumber = &v
32619	return s
32620}
32621
32622// List of errors that occurred when the template version creation failed.
32623type TemplateError struct {
32624	_ struct{} `type:"structure"`
32625
32626	// Description of the error type.
32627	Message *string `type:"string"`
32628
32629	// Type of error.
32630	Type *string `type:"string" enum:"TemplateErrorType"`
32631}
32632
32633// String returns the string representation
32634func (s TemplateError) String() string {
32635	return awsutil.Prettify(s)
32636}
32637
32638// GoString returns the string representation
32639func (s TemplateError) GoString() string {
32640	return s.String()
32641}
32642
32643// SetMessage sets the Message field's value.
32644func (s *TemplateError) SetMessage(v string) *TemplateError {
32645	s.Message = &v
32646	return s
32647}
32648
32649// SetType sets the Type field's value.
32650func (s *TemplateError) SetType(v string) *TemplateError {
32651	s.Type = &v
32652	return s
32653}
32654
32655// The source analysis of the template.
32656type TemplateSourceAnalysis struct {
32657	_ struct{} `type:"structure"`
32658
32659	// The Amazon Resource Name (ARN) of the resource.
32660	//
32661	// Arn is a required field
32662	Arn *string `type:"string" required:"true"`
32663
32664	// A structure containing information about the dataset references used as placeholders
32665	// in the template.
32666	//
32667	// DataSetReferences is a required field
32668	DataSetReferences []*DataSetReference `min:"1" type:"list" required:"true"`
32669}
32670
32671// String returns the string representation
32672func (s TemplateSourceAnalysis) String() string {
32673	return awsutil.Prettify(s)
32674}
32675
32676// GoString returns the string representation
32677func (s TemplateSourceAnalysis) GoString() string {
32678	return s.String()
32679}
32680
32681// Validate inspects the fields of the type to determine if they are valid.
32682func (s *TemplateSourceAnalysis) Validate() error {
32683	invalidParams := request.ErrInvalidParams{Context: "TemplateSourceAnalysis"}
32684	if s.Arn == nil {
32685		invalidParams.Add(request.NewErrParamRequired("Arn"))
32686	}
32687	if s.DataSetReferences == nil {
32688		invalidParams.Add(request.NewErrParamRequired("DataSetReferences"))
32689	}
32690	if s.DataSetReferences != nil && len(s.DataSetReferences) < 1 {
32691		invalidParams.Add(request.NewErrParamMinLen("DataSetReferences", 1))
32692	}
32693	if s.DataSetReferences != nil {
32694		for i, v := range s.DataSetReferences {
32695			if v == nil {
32696				continue
32697			}
32698			if err := v.Validate(); err != nil {
32699				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSetReferences", i), err.(request.ErrInvalidParams))
32700			}
32701		}
32702	}
32703
32704	if invalidParams.Len() > 0 {
32705		return invalidParams
32706	}
32707	return nil
32708}
32709
32710// SetArn sets the Arn field's value.
32711func (s *TemplateSourceAnalysis) SetArn(v string) *TemplateSourceAnalysis {
32712	s.Arn = &v
32713	return s
32714}
32715
32716// SetDataSetReferences sets the DataSetReferences field's value.
32717func (s *TemplateSourceAnalysis) SetDataSetReferences(v []*DataSetReference) *TemplateSourceAnalysis {
32718	s.DataSetReferences = v
32719	return s
32720}
32721
32722// The source entity of the template.
32723type TemplateSourceEntity struct {
32724	_ struct{} `type:"structure"`
32725
32726	// The source analysis, if it is based on an analysis.
32727	SourceAnalysis *TemplateSourceAnalysis `type:"structure"`
32728
32729	// The source template, if it is based on an template.
32730	SourceTemplate *TemplateSourceTemplate `type:"structure"`
32731}
32732
32733// String returns the string representation
32734func (s TemplateSourceEntity) String() string {
32735	return awsutil.Prettify(s)
32736}
32737
32738// GoString returns the string representation
32739func (s TemplateSourceEntity) GoString() string {
32740	return s.String()
32741}
32742
32743// Validate inspects the fields of the type to determine if they are valid.
32744func (s *TemplateSourceEntity) Validate() error {
32745	invalidParams := request.ErrInvalidParams{Context: "TemplateSourceEntity"}
32746	if s.SourceAnalysis != nil {
32747		if err := s.SourceAnalysis.Validate(); err != nil {
32748			invalidParams.AddNested("SourceAnalysis", err.(request.ErrInvalidParams))
32749		}
32750	}
32751	if s.SourceTemplate != nil {
32752		if err := s.SourceTemplate.Validate(); err != nil {
32753			invalidParams.AddNested("SourceTemplate", err.(request.ErrInvalidParams))
32754		}
32755	}
32756
32757	if invalidParams.Len() > 0 {
32758		return invalidParams
32759	}
32760	return nil
32761}
32762
32763// SetSourceAnalysis sets the SourceAnalysis field's value.
32764func (s *TemplateSourceEntity) SetSourceAnalysis(v *TemplateSourceAnalysis) *TemplateSourceEntity {
32765	s.SourceAnalysis = v
32766	return s
32767}
32768
32769// SetSourceTemplate sets the SourceTemplate field's value.
32770func (s *TemplateSourceEntity) SetSourceTemplate(v *TemplateSourceTemplate) *TemplateSourceEntity {
32771	s.SourceTemplate = v
32772	return s
32773}
32774
32775// The source template of the template.
32776type TemplateSourceTemplate struct {
32777	_ struct{} `type:"structure"`
32778
32779	// The Amazon Resource Name (ARN) of the resource.
32780	//
32781	// Arn is a required field
32782	Arn *string `type:"string" required:"true"`
32783}
32784
32785// String returns the string representation
32786func (s TemplateSourceTemplate) String() string {
32787	return awsutil.Prettify(s)
32788}
32789
32790// GoString returns the string representation
32791func (s TemplateSourceTemplate) GoString() string {
32792	return s.String()
32793}
32794
32795// Validate inspects the fields of the type to determine if they are valid.
32796func (s *TemplateSourceTemplate) Validate() error {
32797	invalidParams := request.ErrInvalidParams{Context: "TemplateSourceTemplate"}
32798	if s.Arn == nil {
32799		invalidParams.Add(request.NewErrParamRequired("Arn"))
32800	}
32801
32802	if invalidParams.Len() > 0 {
32803		return invalidParams
32804	}
32805	return nil
32806}
32807
32808// SetArn sets the Arn field's value.
32809func (s *TemplateSourceTemplate) SetArn(v string) *TemplateSourceTemplate {
32810	s.Arn = &v
32811	return s
32812}
32813
32814// The template summary.
32815type TemplateSummary struct {
32816	_ struct{} `type:"structure"`
32817
32818	// A summary of a template.
32819	Arn *string `type:"string"`
32820
32821	// The last time that this template was created.
32822	CreatedTime *time.Time `type:"timestamp"`
32823
32824	// The last time that this template was updated.
32825	LastUpdatedTime *time.Time `type:"timestamp"`
32826
32827	// A structure containing a list of version numbers for the template summary.
32828	LatestVersionNumber *int64 `min:"1" type:"long"`
32829
32830	// A display name for the template.
32831	Name *string `min:"1" type:"string"`
32832
32833	// The ID of the template. This ID is unique per Amazon Web Services Region;
32834	// for each Amazon Web Services account.
32835	TemplateId *string `min:"1" type:"string"`
32836}
32837
32838// String returns the string representation
32839func (s TemplateSummary) String() string {
32840	return awsutil.Prettify(s)
32841}
32842
32843// GoString returns the string representation
32844func (s TemplateSummary) GoString() string {
32845	return s.String()
32846}
32847
32848// SetArn sets the Arn field's value.
32849func (s *TemplateSummary) SetArn(v string) *TemplateSummary {
32850	s.Arn = &v
32851	return s
32852}
32853
32854// SetCreatedTime sets the CreatedTime field's value.
32855func (s *TemplateSummary) SetCreatedTime(v time.Time) *TemplateSummary {
32856	s.CreatedTime = &v
32857	return s
32858}
32859
32860// SetLastUpdatedTime sets the LastUpdatedTime field's value.
32861func (s *TemplateSummary) SetLastUpdatedTime(v time.Time) *TemplateSummary {
32862	s.LastUpdatedTime = &v
32863	return s
32864}
32865
32866// SetLatestVersionNumber sets the LatestVersionNumber field's value.
32867func (s *TemplateSummary) SetLatestVersionNumber(v int64) *TemplateSummary {
32868	s.LatestVersionNumber = &v
32869	return s
32870}
32871
32872// SetName sets the Name field's value.
32873func (s *TemplateSummary) SetName(v string) *TemplateSummary {
32874	s.Name = &v
32875	return s
32876}
32877
32878// SetTemplateId sets the TemplateId field's value.
32879func (s *TemplateSummary) SetTemplateId(v string) *TemplateSummary {
32880	s.TemplateId = &v
32881	return s
32882}
32883
32884// A version of a template.
32885type TemplateVersion struct {
32886	_ struct{} `type:"structure"`
32887
32888	// The time that this template version was created.
32889	CreatedTime *time.Time `type:"timestamp"`
32890
32891	// Schema of the dataset identified by the placeholder. Any dashboard created
32892	// from this template should be bound to new datasets matching the same schema
32893	// described through this API operation.
32894	DataSetConfigurations []*DataSetConfiguration `type:"list"`
32895
32896	// The description of the template.
32897	Description *string `min:"1" type:"string"`
32898
32899	// Errors associated with this template version.
32900	Errors []*TemplateError `min:"1" type:"list"`
32901
32902	// A list of the associated sheets with the unique identifier and name of each
32903	// sheet.
32904	Sheets []*Sheet `type:"list"`
32905
32906	// The Amazon Resource Name (ARN) of an analysis or template that was used to
32907	// create this template.
32908	SourceEntityArn *string `type:"string"`
32909
32910	// The HTTP status of the request.
32911	Status *string `type:"string" enum:"ResourceStatus"`
32912
32913	// The ARN of the theme associated with this version of the template.
32914	ThemeArn *string `type:"string"`
32915
32916	// The version number of the template version.
32917	VersionNumber *int64 `min:"1" type:"long"`
32918}
32919
32920// String returns the string representation
32921func (s TemplateVersion) String() string {
32922	return awsutil.Prettify(s)
32923}
32924
32925// GoString returns the string representation
32926func (s TemplateVersion) GoString() string {
32927	return s.String()
32928}
32929
32930// SetCreatedTime sets the CreatedTime field's value.
32931func (s *TemplateVersion) SetCreatedTime(v time.Time) *TemplateVersion {
32932	s.CreatedTime = &v
32933	return s
32934}
32935
32936// SetDataSetConfigurations sets the DataSetConfigurations field's value.
32937func (s *TemplateVersion) SetDataSetConfigurations(v []*DataSetConfiguration) *TemplateVersion {
32938	s.DataSetConfigurations = v
32939	return s
32940}
32941
32942// SetDescription sets the Description field's value.
32943func (s *TemplateVersion) SetDescription(v string) *TemplateVersion {
32944	s.Description = &v
32945	return s
32946}
32947
32948// SetErrors sets the Errors field's value.
32949func (s *TemplateVersion) SetErrors(v []*TemplateError) *TemplateVersion {
32950	s.Errors = v
32951	return s
32952}
32953
32954// SetSheets sets the Sheets field's value.
32955func (s *TemplateVersion) SetSheets(v []*Sheet) *TemplateVersion {
32956	s.Sheets = v
32957	return s
32958}
32959
32960// SetSourceEntityArn sets the SourceEntityArn field's value.
32961func (s *TemplateVersion) SetSourceEntityArn(v string) *TemplateVersion {
32962	s.SourceEntityArn = &v
32963	return s
32964}
32965
32966// SetStatus sets the Status field's value.
32967func (s *TemplateVersion) SetStatus(v string) *TemplateVersion {
32968	s.Status = &v
32969	return s
32970}
32971
32972// SetThemeArn sets the ThemeArn field's value.
32973func (s *TemplateVersion) SetThemeArn(v string) *TemplateVersion {
32974	s.ThemeArn = &v
32975	return s
32976}
32977
32978// SetVersionNumber sets the VersionNumber field's value.
32979func (s *TemplateVersion) SetVersionNumber(v int64) *TemplateVersion {
32980	s.VersionNumber = &v
32981	return s
32982}
32983
32984// The template version.
32985type TemplateVersionSummary struct {
32986	_ struct{} `type:"structure"`
32987
32988	// The Amazon Resource Name (ARN) of the template version.
32989	Arn *string `type:"string"`
32990
32991	// The time that this template version was created.
32992	CreatedTime *time.Time `type:"timestamp"`
32993
32994	// The description of the template version.
32995	Description *string `min:"1" type:"string"`
32996
32997	// The status of the template version.
32998	Status *string `type:"string" enum:"ResourceStatus"`
32999
33000	// The version number of the template version.
33001	VersionNumber *int64 `min:"1" type:"long"`
33002}
33003
33004// String returns the string representation
33005func (s TemplateVersionSummary) String() string {
33006	return awsutil.Prettify(s)
33007}
33008
33009// GoString returns the string representation
33010func (s TemplateVersionSummary) GoString() string {
33011	return s.String()
33012}
33013
33014// SetArn sets the Arn field's value.
33015func (s *TemplateVersionSummary) SetArn(v string) *TemplateVersionSummary {
33016	s.Arn = &v
33017	return s
33018}
33019
33020// SetCreatedTime sets the CreatedTime field's value.
33021func (s *TemplateVersionSummary) SetCreatedTime(v time.Time) *TemplateVersionSummary {
33022	s.CreatedTime = &v
33023	return s
33024}
33025
33026// SetDescription sets the Description field's value.
33027func (s *TemplateVersionSummary) SetDescription(v string) *TemplateVersionSummary {
33028	s.Description = &v
33029	return s
33030}
33031
33032// SetStatus sets the Status field's value.
33033func (s *TemplateVersionSummary) SetStatus(v string) *TemplateVersionSummary {
33034	s.Status = &v
33035	return s
33036}
33037
33038// SetVersionNumber sets the VersionNumber field's value.
33039func (s *TemplateVersionSummary) SetVersionNumber(v int64) *TemplateVersionSummary {
33040	s.VersionNumber = &v
33041	return s
33042}
33043
33044// The parameters for Teradata.
33045type TeradataParameters struct {
33046	_ struct{} `type:"structure"`
33047
33048	// Database.
33049	//
33050	// Database is a required field
33051	Database *string `min:"1" type:"string" required:"true"`
33052
33053	// Host.
33054	//
33055	// Host is a required field
33056	Host *string `min:"1" type:"string" required:"true"`
33057
33058	// Port.
33059	//
33060	// Port is a required field
33061	Port *int64 `min:"1" type:"integer" required:"true"`
33062}
33063
33064// String returns the string representation
33065func (s TeradataParameters) String() string {
33066	return awsutil.Prettify(s)
33067}
33068
33069// GoString returns the string representation
33070func (s TeradataParameters) GoString() string {
33071	return s.String()
33072}
33073
33074// Validate inspects the fields of the type to determine if they are valid.
33075func (s *TeradataParameters) Validate() error {
33076	invalidParams := request.ErrInvalidParams{Context: "TeradataParameters"}
33077	if s.Database == nil {
33078		invalidParams.Add(request.NewErrParamRequired("Database"))
33079	}
33080	if s.Database != nil && len(*s.Database) < 1 {
33081		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
33082	}
33083	if s.Host == nil {
33084		invalidParams.Add(request.NewErrParamRequired("Host"))
33085	}
33086	if s.Host != nil && len(*s.Host) < 1 {
33087		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
33088	}
33089	if s.Port == nil {
33090		invalidParams.Add(request.NewErrParamRequired("Port"))
33091	}
33092	if s.Port != nil && *s.Port < 1 {
33093		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
33094	}
33095
33096	if invalidParams.Len() > 0 {
33097		return invalidParams
33098	}
33099	return nil
33100}
33101
33102// SetDatabase sets the Database field's value.
33103func (s *TeradataParameters) SetDatabase(v string) *TeradataParameters {
33104	s.Database = &v
33105	return s
33106}
33107
33108// SetHost sets the Host field's value.
33109func (s *TeradataParameters) SetHost(v string) *TeradataParameters {
33110	s.Host = &v
33111	return s
33112}
33113
33114// SetPort sets the Port field's value.
33115func (s *TeradataParameters) SetPort(v int64) *TeradataParameters {
33116	s.Port = &v
33117	return s
33118}
33119
33120// Summary information about a theme.
33121type Theme struct {
33122	_ struct{} `type:"structure"`
33123
33124	// The Amazon Resource Name (ARN) of the theme.
33125	Arn *string `type:"string"`
33126
33127	// The date and time that the theme was created.
33128	CreatedTime *time.Time `type:"timestamp"`
33129
33130	// The date and time that the theme was last updated.
33131	LastUpdatedTime *time.Time `type:"timestamp"`
33132
33133	// The name that the user gives to the theme.
33134	Name *string `min:"1" type:"string"`
33135
33136	// The identifier that the user gives to the theme.
33137	ThemeId *string `min:"1" type:"string"`
33138
33139	// The type of theme, based on how it was created. Valid values include: QUICKSIGHT
33140	// and CUSTOM.
33141	Type *string `type:"string" enum:"ThemeType"`
33142
33143	// A version of a theme.
33144	Version *ThemeVersion `type:"structure"`
33145}
33146
33147// String returns the string representation
33148func (s Theme) String() string {
33149	return awsutil.Prettify(s)
33150}
33151
33152// GoString returns the string representation
33153func (s Theme) GoString() string {
33154	return s.String()
33155}
33156
33157// SetArn sets the Arn field's value.
33158func (s *Theme) SetArn(v string) *Theme {
33159	s.Arn = &v
33160	return s
33161}
33162
33163// SetCreatedTime sets the CreatedTime field's value.
33164func (s *Theme) SetCreatedTime(v time.Time) *Theme {
33165	s.CreatedTime = &v
33166	return s
33167}
33168
33169// SetLastUpdatedTime sets the LastUpdatedTime field's value.
33170func (s *Theme) SetLastUpdatedTime(v time.Time) *Theme {
33171	s.LastUpdatedTime = &v
33172	return s
33173}
33174
33175// SetName sets the Name field's value.
33176func (s *Theme) SetName(v string) *Theme {
33177	s.Name = &v
33178	return s
33179}
33180
33181// SetThemeId sets the ThemeId field's value.
33182func (s *Theme) SetThemeId(v string) *Theme {
33183	s.ThemeId = &v
33184	return s
33185}
33186
33187// SetType sets the Type field's value.
33188func (s *Theme) SetType(v string) *Theme {
33189	s.Type = &v
33190	return s
33191}
33192
33193// SetVersion sets the Version field's value.
33194func (s *Theme) SetVersion(v *ThemeVersion) *Theme {
33195	s.Version = v
33196	return s
33197}
33198
33199// An alias for a theme.
33200type ThemeAlias struct {
33201	_ struct{} `type:"structure"`
33202
33203	// The display name of the theme alias.
33204	AliasName *string `min:"1" type:"string"`
33205
33206	// The Amazon Resource Name (ARN) of the theme alias.
33207	Arn *string `type:"string"`
33208
33209	// The version number of the theme alias.
33210	ThemeVersionNumber *int64 `min:"1" type:"long"`
33211}
33212
33213// String returns the string representation
33214func (s ThemeAlias) String() string {
33215	return awsutil.Prettify(s)
33216}
33217
33218// GoString returns the string representation
33219func (s ThemeAlias) GoString() string {
33220	return s.String()
33221}
33222
33223// SetAliasName sets the AliasName field's value.
33224func (s *ThemeAlias) SetAliasName(v string) *ThemeAlias {
33225	s.AliasName = &v
33226	return s
33227}
33228
33229// SetArn sets the Arn field's value.
33230func (s *ThemeAlias) SetArn(v string) *ThemeAlias {
33231	s.Arn = &v
33232	return s
33233}
33234
33235// SetThemeVersionNumber sets the ThemeVersionNumber field's value.
33236func (s *ThemeAlias) SetThemeVersionNumber(v int64) *ThemeAlias {
33237	s.ThemeVersionNumber = &v
33238	return s
33239}
33240
33241// The theme configuration. This configuration contains all of the display properties
33242// for a theme.
33243type ThemeConfiguration struct {
33244	_ struct{} `type:"structure"`
33245
33246	// Color properties that apply to chart data colors.
33247	DataColorPalette *DataColorPalette `type:"structure"`
33248
33249	// Display options related to sheets.
33250	Sheet *SheetStyle `type:"structure"`
33251
33252	// Color properties that apply to the UI and to charts, excluding the colors
33253	// that apply to data.
33254	UIColorPalette *UIColorPalette `type:"structure"`
33255}
33256
33257// String returns the string representation
33258func (s ThemeConfiguration) String() string {
33259	return awsutil.Prettify(s)
33260}
33261
33262// GoString returns the string representation
33263func (s ThemeConfiguration) GoString() string {
33264	return s.String()
33265}
33266
33267// SetDataColorPalette sets the DataColorPalette field's value.
33268func (s *ThemeConfiguration) SetDataColorPalette(v *DataColorPalette) *ThemeConfiguration {
33269	s.DataColorPalette = v
33270	return s
33271}
33272
33273// SetSheet sets the Sheet field's value.
33274func (s *ThemeConfiguration) SetSheet(v *SheetStyle) *ThemeConfiguration {
33275	s.Sheet = v
33276	return s
33277}
33278
33279// SetUIColorPalette sets the UIColorPalette field's value.
33280func (s *ThemeConfiguration) SetUIColorPalette(v *UIColorPalette) *ThemeConfiguration {
33281	s.UIColorPalette = v
33282	return s
33283}
33284
33285// Theme error.
33286type ThemeError struct {
33287	_ struct{} `type:"structure"`
33288
33289	// The error message.
33290	Message *string `type:"string"`
33291
33292	// The type of error.
33293	Type *string `type:"string" enum:"ThemeErrorType"`
33294}
33295
33296// String returns the string representation
33297func (s ThemeError) String() string {
33298	return awsutil.Prettify(s)
33299}
33300
33301// GoString returns the string representation
33302func (s ThemeError) GoString() string {
33303	return s.String()
33304}
33305
33306// SetMessage sets the Message field's value.
33307func (s *ThemeError) SetMessage(v string) *ThemeError {
33308	s.Message = &v
33309	return s
33310}
33311
33312// SetType sets the Type field's value.
33313func (s *ThemeError) SetType(v string) *ThemeError {
33314	s.Type = &v
33315	return s
33316}
33317
33318// The theme summary.
33319type ThemeSummary struct {
33320	_ struct{} `type:"structure"`
33321
33322	// The Amazon Resource Name (ARN) of the resource.
33323	Arn *string `type:"string"`
33324
33325	// The date and time that this theme was created.
33326	CreatedTime *time.Time `type:"timestamp"`
33327
33328	// The last date and time that this theme was updated.
33329	LastUpdatedTime *time.Time `type:"timestamp"`
33330
33331	// The latest version number for the theme.
33332	LatestVersionNumber *int64 `min:"1" type:"long"`
33333
33334	// the display name for the theme.
33335	Name *string `min:"1" type:"string"`
33336
33337	// The ID of the theme. This ID is unique per Amazon Web Services Region; for
33338	// each Amazon Web Services account.
33339	ThemeId *string `min:"1" type:"string"`
33340}
33341
33342// String returns the string representation
33343func (s ThemeSummary) String() string {
33344	return awsutil.Prettify(s)
33345}
33346
33347// GoString returns the string representation
33348func (s ThemeSummary) GoString() string {
33349	return s.String()
33350}
33351
33352// SetArn sets the Arn field's value.
33353func (s *ThemeSummary) SetArn(v string) *ThemeSummary {
33354	s.Arn = &v
33355	return s
33356}
33357
33358// SetCreatedTime sets the CreatedTime field's value.
33359func (s *ThemeSummary) SetCreatedTime(v time.Time) *ThemeSummary {
33360	s.CreatedTime = &v
33361	return s
33362}
33363
33364// SetLastUpdatedTime sets the LastUpdatedTime field's value.
33365func (s *ThemeSummary) SetLastUpdatedTime(v time.Time) *ThemeSummary {
33366	s.LastUpdatedTime = &v
33367	return s
33368}
33369
33370// SetLatestVersionNumber sets the LatestVersionNumber field's value.
33371func (s *ThemeSummary) SetLatestVersionNumber(v int64) *ThemeSummary {
33372	s.LatestVersionNumber = &v
33373	return s
33374}
33375
33376// SetName sets the Name field's value.
33377func (s *ThemeSummary) SetName(v string) *ThemeSummary {
33378	s.Name = &v
33379	return s
33380}
33381
33382// SetThemeId sets the ThemeId field's value.
33383func (s *ThemeSummary) SetThemeId(v string) *ThemeSummary {
33384	s.ThemeId = &v
33385	return s
33386}
33387
33388// A version of a theme.
33389type ThemeVersion struct {
33390	_ struct{} `type:"structure"`
33391
33392	// The Amazon Resource Name (ARN) of the resource.
33393	Arn *string `type:"string"`
33394
33395	// The Amazon QuickSight-defined ID of the theme that a custom theme inherits
33396	// from. All themes initially inherit from a default Amazon QuickSight theme.
33397	BaseThemeId *string `min:"1" type:"string"`
33398
33399	// The theme configuration, which contains all the theme display properties.
33400	Configuration *ThemeConfiguration `type:"structure"`
33401
33402	// The date and time that this theme version was created.
33403	CreatedTime *time.Time `type:"timestamp"`
33404
33405	// The description of the theme.
33406	Description *string `min:"1" type:"string"`
33407
33408	// Errors associated with the theme.
33409	Errors []*ThemeError `min:"1" type:"list"`
33410
33411	// The status of the theme version.
33412	Status *string `type:"string" enum:"ResourceStatus"`
33413
33414	// The version number of the theme.
33415	VersionNumber *int64 `min:"1" type:"long"`
33416}
33417
33418// String returns the string representation
33419func (s ThemeVersion) String() string {
33420	return awsutil.Prettify(s)
33421}
33422
33423// GoString returns the string representation
33424func (s ThemeVersion) GoString() string {
33425	return s.String()
33426}
33427
33428// SetArn sets the Arn field's value.
33429func (s *ThemeVersion) SetArn(v string) *ThemeVersion {
33430	s.Arn = &v
33431	return s
33432}
33433
33434// SetBaseThemeId sets the BaseThemeId field's value.
33435func (s *ThemeVersion) SetBaseThemeId(v string) *ThemeVersion {
33436	s.BaseThemeId = &v
33437	return s
33438}
33439
33440// SetConfiguration sets the Configuration field's value.
33441func (s *ThemeVersion) SetConfiguration(v *ThemeConfiguration) *ThemeVersion {
33442	s.Configuration = v
33443	return s
33444}
33445
33446// SetCreatedTime sets the CreatedTime field's value.
33447func (s *ThemeVersion) SetCreatedTime(v time.Time) *ThemeVersion {
33448	s.CreatedTime = &v
33449	return s
33450}
33451
33452// SetDescription sets the Description field's value.
33453func (s *ThemeVersion) SetDescription(v string) *ThemeVersion {
33454	s.Description = &v
33455	return s
33456}
33457
33458// SetErrors sets the Errors field's value.
33459func (s *ThemeVersion) SetErrors(v []*ThemeError) *ThemeVersion {
33460	s.Errors = v
33461	return s
33462}
33463
33464// SetStatus sets the Status field's value.
33465func (s *ThemeVersion) SetStatus(v string) *ThemeVersion {
33466	s.Status = &v
33467	return s
33468}
33469
33470// SetVersionNumber sets the VersionNumber field's value.
33471func (s *ThemeVersion) SetVersionNumber(v int64) *ThemeVersion {
33472	s.VersionNumber = &v
33473	return s
33474}
33475
33476// The theme version.
33477type ThemeVersionSummary struct {
33478	_ struct{} `type:"structure"`
33479
33480	// The Amazon Resource Name (ARN) of the theme version.
33481	Arn *string `type:"string"`
33482
33483	// The date and time that this theme version was created.
33484	CreatedTime *time.Time `type:"timestamp"`
33485
33486	// The description of the theme version.
33487	Description *string `min:"1" type:"string"`
33488
33489	// The status of the theme version.
33490	Status *string `type:"string" enum:"ResourceStatus"`
33491
33492	// The version number of the theme version.
33493	VersionNumber *int64 `min:"1" type:"long"`
33494}
33495
33496// String returns the string representation
33497func (s ThemeVersionSummary) String() string {
33498	return awsutil.Prettify(s)
33499}
33500
33501// GoString returns the string representation
33502func (s ThemeVersionSummary) GoString() string {
33503	return s.String()
33504}
33505
33506// SetArn sets the Arn field's value.
33507func (s *ThemeVersionSummary) SetArn(v string) *ThemeVersionSummary {
33508	s.Arn = &v
33509	return s
33510}
33511
33512// SetCreatedTime sets the CreatedTime field's value.
33513func (s *ThemeVersionSummary) SetCreatedTime(v time.Time) *ThemeVersionSummary {
33514	s.CreatedTime = &v
33515	return s
33516}
33517
33518// SetDescription sets the Description field's value.
33519func (s *ThemeVersionSummary) SetDescription(v string) *ThemeVersionSummary {
33520	s.Description = &v
33521	return s
33522}
33523
33524// SetStatus sets the Status field's value.
33525func (s *ThemeVersionSummary) SetStatus(v string) *ThemeVersionSummary {
33526	s.Status = &v
33527	return s
33528}
33529
33530// SetVersionNumber sets the VersionNumber field's value.
33531func (s *ThemeVersionSummary) SetVersionNumber(v int64) *ThemeVersionSummary {
33532	s.VersionNumber = &v
33533	return s
33534}
33535
33536// Access is throttled.
33537type ThrottlingException struct {
33538	_            struct{}                  `type:"structure"`
33539	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
33540
33541	Message_ *string `locationName:"Message" type:"string"`
33542
33543	// The Amazon Web Services request ID for this request.
33544	RequestId *string `type:"string"`
33545}
33546
33547// String returns the string representation
33548func (s ThrottlingException) String() string {
33549	return awsutil.Prettify(s)
33550}
33551
33552// GoString returns the string representation
33553func (s ThrottlingException) GoString() string {
33554	return s.String()
33555}
33556
33557func newErrorThrottlingException(v protocol.ResponseMetadata) error {
33558	return &ThrottlingException{
33559		RespMetadata: v,
33560	}
33561}
33562
33563// Code returns the exception type name.
33564func (s *ThrottlingException) Code() string {
33565	return "ThrottlingException"
33566}
33567
33568// Message returns the exception's message.
33569func (s *ThrottlingException) Message() string {
33570	if s.Message_ != nil {
33571		return *s.Message_
33572	}
33573	return ""
33574}
33575
33576// OrigErr always returns nil, satisfies awserr.Error interface.
33577func (s *ThrottlingException) OrigErr() error {
33578	return nil
33579}
33580
33581func (s *ThrottlingException) Error() string {
33582	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
33583}
33584
33585// Status code returns the HTTP status code for the request's response error.
33586func (s *ThrottlingException) StatusCode() int {
33587	return s.RespMetadata.StatusCode
33588}
33589
33590// RequestID returns the service's response RequestID for request.
33591func (s *ThrottlingException) RequestID() string {
33592	return s.RespMetadata.RequestID
33593}
33594
33595// The display options for the layout of tiles on a sheet.
33596type TileLayoutStyle struct {
33597	_ struct{} `type:"structure"`
33598
33599	// The gutter settings that apply between tiles.
33600	Gutter *GutterStyle `type:"structure"`
33601
33602	// The margin settings that apply around the outside edge of sheets.
33603	Margin *MarginStyle `type:"structure"`
33604}
33605
33606// String returns the string representation
33607func (s TileLayoutStyle) String() string {
33608	return awsutil.Prettify(s)
33609}
33610
33611// GoString returns the string representation
33612func (s TileLayoutStyle) GoString() string {
33613	return s.String()
33614}
33615
33616// SetGutter sets the Gutter field's value.
33617func (s *TileLayoutStyle) SetGutter(v *GutterStyle) *TileLayoutStyle {
33618	s.Gutter = v
33619	return s
33620}
33621
33622// SetMargin sets the Margin field's value.
33623func (s *TileLayoutStyle) SetMargin(v *MarginStyle) *TileLayoutStyle {
33624	s.Margin = v
33625	return s
33626}
33627
33628// Display options related to tiles on a sheet.
33629type TileStyle struct {
33630	_ struct{} `type:"structure"`
33631
33632	// The border around a tile.
33633	Border *BorderStyle `type:"structure"`
33634}
33635
33636// String returns the string representation
33637func (s TileStyle) String() string {
33638	return awsutil.Prettify(s)
33639}
33640
33641// GoString returns the string representation
33642func (s TileStyle) GoString() string {
33643	return s.String()
33644}
33645
33646// SetBorder sets the Border field's value.
33647func (s *TileStyle) SetBorder(v *BorderStyle) *TileStyle {
33648	s.Border = v
33649	return s
33650}
33651
33652// A data transformation on a logical table. This is a variant type structure.
33653// For this structure to be valid, only one of the attributes can be non-null.
33654type TransformOperation struct {
33655	_ struct{} `type:"structure"`
33656
33657	// A transform operation that casts a column to a different type.
33658	CastColumnTypeOperation *CastColumnTypeOperation `type:"structure"`
33659
33660	// An operation that creates calculated columns. Columns created in one such
33661	// operation form a lexical closure.
33662	CreateColumnsOperation *CreateColumnsOperation `type:"structure"`
33663
33664	// An operation that filters rows based on some condition.
33665	FilterOperation *FilterOperation `type:"structure"`
33666
33667	// An operation that projects columns. Operations that come after a projection
33668	// can only refer to projected columns.
33669	ProjectOperation *ProjectOperation `type:"structure"`
33670
33671	// An operation that renames a column.
33672	RenameColumnOperation *RenameColumnOperation `type:"structure"`
33673
33674	// An operation that tags a column with additional information.
33675	TagColumnOperation *TagColumnOperation `type:"structure"`
33676
33677	// A transform operation that removes tags associated with a column.
33678	UntagColumnOperation *UntagColumnOperation `type:"structure"`
33679}
33680
33681// String returns the string representation
33682func (s TransformOperation) String() string {
33683	return awsutil.Prettify(s)
33684}
33685
33686// GoString returns the string representation
33687func (s TransformOperation) GoString() string {
33688	return s.String()
33689}
33690
33691// Validate inspects the fields of the type to determine if they are valid.
33692func (s *TransformOperation) Validate() error {
33693	invalidParams := request.ErrInvalidParams{Context: "TransformOperation"}
33694	if s.CastColumnTypeOperation != nil {
33695		if err := s.CastColumnTypeOperation.Validate(); err != nil {
33696			invalidParams.AddNested("CastColumnTypeOperation", err.(request.ErrInvalidParams))
33697		}
33698	}
33699	if s.CreateColumnsOperation != nil {
33700		if err := s.CreateColumnsOperation.Validate(); err != nil {
33701			invalidParams.AddNested("CreateColumnsOperation", err.(request.ErrInvalidParams))
33702		}
33703	}
33704	if s.FilterOperation != nil {
33705		if err := s.FilterOperation.Validate(); err != nil {
33706			invalidParams.AddNested("FilterOperation", err.(request.ErrInvalidParams))
33707		}
33708	}
33709	if s.ProjectOperation != nil {
33710		if err := s.ProjectOperation.Validate(); err != nil {
33711			invalidParams.AddNested("ProjectOperation", err.(request.ErrInvalidParams))
33712		}
33713	}
33714	if s.RenameColumnOperation != nil {
33715		if err := s.RenameColumnOperation.Validate(); err != nil {
33716			invalidParams.AddNested("RenameColumnOperation", err.(request.ErrInvalidParams))
33717		}
33718	}
33719	if s.TagColumnOperation != nil {
33720		if err := s.TagColumnOperation.Validate(); err != nil {
33721			invalidParams.AddNested("TagColumnOperation", err.(request.ErrInvalidParams))
33722		}
33723	}
33724	if s.UntagColumnOperation != nil {
33725		if err := s.UntagColumnOperation.Validate(); err != nil {
33726			invalidParams.AddNested("UntagColumnOperation", err.(request.ErrInvalidParams))
33727		}
33728	}
33729
33730	if invalidParams.Len() > 0 {
33731		return invalidParams
33732	}
33733	return nil
33734}
33735
33736// SetCastColumnTypeOperation sets the CastColumnTypeOperation field's value.
33737func (s *TransformOperation) SetCastColumnTypeOperation(v *CastColumnTypeOperation) *TransformOperation {
33738	s.CastColumnTypeOperation = v
33739	return s
33740}
33741
33742// SetCreateColumnsOperation sets the CreateColumnsOperation field's value.
33743func (s *TransformOperation) SetCreateColumnsOperation(v *CreateColumnsOperation) *TransformOperation {
33744	s.CreateColumnsOperation = v
33745	return s
33746}
33747
33748// SetFilterOperation sets the FilterOperation field's value.
33749func (s *TransformOperation) SetFilterOperation(v *FilterOperation) *TransformOperation {
33750	s.FilterOperation = v
33751	return s
33752}
33753
33754// SetProjectOperation sets the ProjectOperation field's value.
33755func (s *TransformOperation) SetProjectOperation(v *ProjectOperation) *TransformOperation {
33756	s.ProjectOperation = v
33757	return s
33758}
33759
33760// SetRenameColumnOperation sets the RenameColumnOperation field's value.
33761func (s *TransformOperation) SetRenameColumnOperation(v *RenameColumnOperation) *TransformOperation {
33762	s.RenameColumnOperation = v
33763	return s
33764}
33765
33766// SetTagColumnOperation sets the TagColumnOperation field's value.
33767func (s *TransformOperation) SetTagColumnOperation(v *TagColumnOperation) *TransformOperation {
33768	s.TagColumnOperation = v
33769	return s
33770}
33771
33772// SetUntagColumnOperation sets the UntagColumnOperation field's value.
33773func (s *TransformOperation) SetUntagColumnOperation(v *UntagColumnOperation) *TransformOperation {
33774	s.UntagColumnOperation = v
33775	return s
33776}
33777
33778// The parameters for Twitter.
33779type TwitterParameters struct {
33780	_ struct{} `type:"structure"`
33781
33782	// Maximum number of rows to query Twitter.
33783	//
33784	// MaxRows is a required field
33785	MaxRows *int64 `min:"1" type:"integer" required:"true"`
33786
33787	// Twitter query string.
33788	//
33789	// Query is a required field
33790	Query *string `min:"1" type:"string" required:"true"`
33791}
33792
33793// String returns the string representation
33794func (s TwitterParameters) String() string {
33795	return awsutil.Prettify(s)
33796}
33797
33798// GoString returns the string representation
33799func (s TwitterParameters) GoString() string {
33800	return s.String()
33801}
33802
33803// Validate inspects the fields of the type to determine if they are valid.
33804func (s *TwitterParameters) Validate() error {
33805	invalidParams := request.ErrInvalidParams{Context: "TwitterParameters"}
33806	if s.MaxRows == nil {
33807		invalidParams.Add(request.NewErrParamRequired("MaxRows"))
33808	}
33809	if s.MaxRows != nil && *s.MaxRows < 1 {
33810		invalidParams.Add(request.NewErrParamMinValue("MaxRows", 1))
33811	}
33812	if s.Query == nil {
33813		invalidParams.Add(request.NewErrParamRequired("Query"))
33814	}
33815	if s.Query != nil && len(*s.Query) < 1 {
33816		invalidParams.Add(request.NewErrParamMinLen("Query", 1))
33817	}
33818
33819	if invalidParams.Len() > 0 {
33820		return invalidParams
33821	}
33822	return nil
33823}
33824
33825// SetMaxRows sets the MaxRows field's value.
33826func (s *TwitterParameters) SetMaxRows(v int64) *TwitterParameters {
33827	s.MaxRows = &v
33828	return s
33829}
33830
33831// SetQuery sets the Query field's value.
33832func (s *TwitterParameters) SetQuery(v string) *TwitterParameters {
33833	s.Query = &v
33834	return s
33835}
33836
33837// The theme colors that apply to UI and to charts, excluding data colors. The
33838// colors description is a hexadecimal color code that consists of six alphanumerical
33839// characters, prefixed with #, for example #37BFF5. For more information, see
33840// Using Themes in Amazon QuickSight (https://docs.aws.amazon.com/quicksight/latest/user/themes-in-quicksight.html)
33841// in the Amazon QuickSight User Guide.
33842type UIColorPalette struct {
33843	_ struct{} `type:"structure"`
33844
33845	// This color is that applies to selected states and buttons.
33846	Accent *string `type:"string"`
33847
33848	// The foreground color that applies to any text or other elements that appear
33849	// over the accent color.
33850	AccentForeground *string `type:"string"`
33851
33852	// The color that applies to error messages.
33853	Danger *string `type:"string"`
33854
33855	// The foreground color that applies to any text or other elements that appear
33856	// over the error color.
33857	DangerForeground *string `type:"string"`
33858
33859	// The color that applies to the names of fields that are identified as dimensions.
33860	Dimension *string `type:"string"`
33861
33862	// The foreground color that applies to any text or other elements that appear
33863	// over the dimension color.
33864	DimensionForeground *string `type:"string"`
33865
33866	// The color that applies to the names of fields that are identified as measures.
33867	Measure *string `type:"string"`
33868
33869	// The foreground color that applies to any text or other elements that appear
33870	// over the measure color.
33871	MeasureForeground *string `type:"string"`
33872
33873	// The background color that applies to visuals and other high emphasis UI.
33874	PrimaryBackground *string `type:"string"`
33875
33876	// The color of text and other foreground elements that appear over the primary
33877	// background regions, such as grid lines, borders, table banding, icons, and
33878	// so on.
33879	PrimaryForeground *string `type:"string"`
33880
33881	// The background color that applies to the sheet background and sheet controls.
33882	SecondaryBackground *string `type:"string"`
33883
33884	// The foreground color that applies to any sheet title, sheet control text,
33885	// or UI that appears over the secondary background.
33886	SecondaryForeground *string `type:"string"`
33887
33888	// The color that applies to success messages, for example the check mark for
33889	// a successful download.
33890	Success *string `type:"string"`
33891
33892	// The foreground color that applies to any text or other elements that appear
33893	// over the success color.
33894	SuccessForeground *string `type:"string"`
33895
33896	// This color that applies to warning and informational messages.
33897	Warning *string `type:"string"`
33898
33899	// The foreground color that applies to any text or other elements that appear
33900	// over the warning color.
33901	WarningForeground *string `type:"string"`
33902}
33903
33904// String returns the string representation
33905func (s UIColorPalette) String() string {
33906	return awsutil.Prettify(s)
33907}
33908
33909// GoString returns the string representation
33910func (s UIColorPalette) GoString() string {
33911	return s.String()
33912}
33913
33914// SetAccent sets the Accent field's value.
33915func (s *UIColorPalette) SetAccent(v string) *UIColorPalette {
33916	s.Accent = &v
33917	return s
33918}
33919
33920// SetAccentForeground sets the AccentForeground field's value.
33921func (s *UIColorPalette) SetAccentForeground(v string) *UIColorPalette {
33922	s.AccentForeground = &v
33923	return s
33924}
33925
33926// SetDanger sets the Danger field's value.
33927func (s *UIColorPalette) SetDanger(v string) *UIColorPalette {
33928	s.Danger = &v
33929	return s
33930}
33931
33932// SetDangerForeground sets the DangerForeground field's value.
33933func (s *UIColorPalette) SetDangerForeground(v string) *UIColorPalette {
33934	s.DangerForeground = &v
33935	return s
33936}
33937
33938// SetDimension sets the Dimension field's value.
33939func (s *UIColorPalette) SetDimension(v string) *UIColorPalette {
33940	s.Dimension = &v
33941	return s
33942}
33943
33944// SetDimensionForeground sets the DimensionForeground field's value.
33945func (s *UIColorPalette) SetDimensionForeground(v string) *UIColorPalette {
33946	s.DimensionForeground = &v
33947	return s
33948}
33949
33950// SetMeasure sets the Measure field's value.
33951func (s *UIColorPalette) SetMeasure(v string) *UIColorPalette {
33952	s.Measure = &v
33953	return s
33954}
33955
33956// SetMeasureForeground sets the MeasureForeground field's value.
33957func (s *UIColorPalette) SetMeasureForeground(v string) *UIColorPalette {
33958	s.MeasureForeground = &v
33959	return s
33960}
33961
33962// SetPrimaryBackground sets the PrimaryBackground field's value.
33963func (s *UIColorPalette) SetPrimaryBackground(v string) *UIColorPalette {
33964	s.PrimaryBackground = &v
33965	return s
33966}
33967
33968// SetPrimaryForeground sets the PrimaryForeground field's value.
33969func (s *UIColorPalette) SetPrimaryForeground(v string) *UIColorPalette {
33970	s.PrimaryForeground = &v
33971	return s
33972}
33973
33974// SetSecondaryBackground sets the SecondaryBackground field's value.
33975func (s *UIColorPalette) SetSecondaryBackground(v string) *UIColorPalette {
33976	s.SecondaryBackground = &v
33977	return s
33978}
33979
33980// SetSecondaryForeground sets the SecondaryForeground field's value.
33981func (s *UIColorPalette) SetSecondaryForeground(v string) *UIColorPalette {
33982	s.SecondaryForeground = &v
33983	return s
33984}
33985
33986// SetSuccess sets the Success field's value.
33987func (s *UIColorPalette) SetSuccess(v string) *UIColorPalette {
33988	s.Success = &v
33989	return s
33990}
33991
33992// SetSuccessForeground sets the SuccessForeground field's value.
33993func (s *UIColorPalette) SetSuccessForeground(v string) *UIColorPalette {
33994	s.SuccessForeground = &v
33995	return s
33996}
33997
33998// SetWarning sets the Warning field's value.
33999func (s *UIColorPalette) SetWarning(v string) *UIColorPalette {
34000	s.Warning = &v
34001	return s
34002}
34003
34004// SetWarningForeground sets the WarningForeground field's value.
34005func (s *UIColorPalette) SetWarningForeground(v string) *UIColorPalette {
34006	s.WarningForeground = &v
34007	return s
34008}
34009
34010// This error indicates that you are calling an embedding operation in Amazon
34011// QuickSight without the required pricing plan on your Amazon Web Services
34012// account. Before you can use embedding for anonymous users, a Amazon QuickSight
34013// administrator needs to add capacity pricing to Amazon QuickSight. You can
34014// do this on the Manage Amazon QuickSight page.
34015//
34016// After capacity pricing is added, you can use the GetDashboardEmbedUrl API
34017// operation with the --identity-type ANONYMOUS option.
34018type UnsupportedPricingPlanException struct {
34019	_            struct{}                  `type:"structure"`
34020	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
34021
34022	Message_ *string `locationName:"Message" type:"string"`
34023
34024	// The Amazon Web Services request ID for this request.
34025	RequestId *string `type:"string"`
34026}
34027
34028// String returns the string representation
34029func (s UnsupportedPricingPlanException) String() string {
34030	return awsutil.Prettify(s)
34031}
34032
34033// GoString returns the string representation
34034func (s UnsupportedPricingPlanException) GoString() string {
34035	return s.String()
34036}
34037
34038func newErrorUnsupportedPricingPlanException(v protocol.ResponseMetadata) error {
34039	return &UnsupportedPricingPlanException{
34040		RespMetadata: v,
34041	}
34042}
34043
34044// Code returns the exception type name.
34045func (s *UnsupportedPricingPlanException) Code() string {
34046	return "UnsupportedPricingPlanException"
34047}
34048
34049// Message returns the exception's message.
34050func (s *UnsupportedPricingPlanException) Message() string {
34051	if s.Message_ != nil {
34052		return *s.Message_
34053	}
34054	return ""
34055}
34056
34057// OrigErr always returns nil, satisfies awserr.Error interface.
34058func (s *UnsupportedPricingPlanException) OrigErr() error {
34059	return nil
34060}
34061
34062func (s *UnsupportedPricingPlanException) Error() string {
34063	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
34064}
34065
34066// Status code returns the HTTP status code for the request's response error.
34067func (s *UnsupportedPricingPlanException) StatusCode() int {
34068	return s.RespMetadata.StatusCode
34069}
34070
34071// RequestID returns the service's response RequestID for request.
34072func (s *UnsupportedPricingPlanException) RequestID() string {
34073	return s.RespMetadata.RequestID
34074}
34075
34076// This error indicates that you are calling an operation on an Amazon QuickSight
34077// subscription where the edition doesn't include support for that operation.
34078// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition.
34079// Not every operation and capability is available in every edition.
34080type UnsupportedUserEditionException struct {
34081	_            struct{}                  `type:"structure"`
34082	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
34083
34084	Message_ *string `locationName:"Message" type:"string"`
34085
34086	// The Amazon Web Services request ID for this request.
34087	RequestId *string `type:"string"`
34088}
34089
34090// String returns the string representation
34091func (s UnsupportedUserEditionException) String() string {
34092	return awsutil.Prettify(s)
34093}
34094
34095// GoString returns the string representation
34096func (s UnsupportedUserEditionException) GoString() string {
34097	return s.String()
34098}
34099
34100func newErrorUnsupportedUserEditionException(v protocol.ResponseMetadata) error {
34101	return &UnsupportedUserEditionException{
34102		RespMetadata: v,
34103	}
34104}
34105
34106// Code returns the exception type name.
34107func (s *UnsupportedUserEditionException) Code() string {
34108	return "UnsupportedUserEditionException"
34109}
34110
34111// Message returns the exception's message.
34112func (s *UnsupportedUserEditionException) Message() string {
34113	if s.Message_ != nil {
34114		return *s.Message_
34115	}
34116	return ""
34117}
34118
34119// OrigErr always returns nil, satisfies awserr.Error interface.
34120func (s *UnsupportedUserEditionException) OrigErr() error {
34121	return nil
34122}
34123
34124func (s *UnsupportedUserEditionException) Error() string {
34125	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
34126}
34127
34128// Status code returns the HTTP status code for the request's response error.
34129func (s *UnsupportedUserEditionException) StatusCode() int {
34130	return s.RespMetadata.StatusCode
34131}
34132
34133// RequestID returns the service's response RequestID for request.
34134func (s *UnsupportedUserEditionException) RequestID() string {
34135	return s.RespMetadata.RequestID
34136}
34137
34138// A transform operation that removes tags associated with a column.
34139type UntagColumnOperation struct {
34140	_ struct{} `type:"structure"`
34141
34142	// The column that this operation acts on.
34143	//
34144	// ColumnName is a required field
34145	ColumnName *string `min:"1" type:"string" required:"true"`
34146
34147	// The column tags to remove from this column.
34148	//
34149	// TagNames is a required field
34150	TagNames []*string `type:"list" required:"true"`
34151}
34152
34153// String returns the string representation
34154func (s UntagColumnOperation) String() string {
34155	return awsutil.Prettify(s)
34156}
34157
34158// GoString returns the string representation
34159func (s UntagColumnOperation) GoString() string {
34160	return s.String()
34161}
34162
34163// Validate inspects the fields of the type to determine if they are valid.
34164func (s *UntagColumnOperation) Validate() error {
34165	invalidParams := request.ErrInvalidParams{Context: "UntagColumnOperation"}
34166	if s.ColumnName == nil {
34167		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
34168	}
34169	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
34170		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
34171	}
34172	if s.TagNames == nil {
34173		invalidParams.Add(request.NewErrParamRequired("TagNames"))
34174	}
34175
34176	if invalidParams.Len() > 0 {
34177		return invalidParams
34178	}
34179	return nil
34180}
34181
34182// SetColumnName sets the ColumnName field's value.
34183func (s *UntagColumnOperation) SetColumnName(v string) *UntagColumnOperation {
34184	s.ColumnName = &v
34185	return s
34186}
34187
34188// SetTagNames sets the TagNames field's value.
34189func (s *UntagColumnOperation) SetTagNames(v []*string) *UntagColumnOperation {
34190	s.TagNames = v
34191	return s
34192}
34193
34194type UntagResourceInput struct {
34195	_ struct{} `type:"structure"`
34196
34197	// The Amazon Resource Name (ARN) of the resource that you want to untag.
34198	//
34199	// ResourceArn is a required field
34200	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
34201
34202	// The keys of the key-value pairs for the resource tag or tags assigned to
34203	// the resource.
34204	//
34205	// TagKeys is a required field
34206	TagKeys []*string `location:"querystring" locationName:"keys" min:"1" type:"list" required:"true"`
34207}
34208
34209// String returns the string representation
34210func (s UntagResourceInput) String() string {
34211	return awsutil.Prettify(s)
34212}
34213
34214// GoString returns the string representation
34215func (s UntagResourceInput) GoString() string {
34216	return s.String()
34217}
34218
34219// Validate inspects the fields of the type to determine if they are valid.
34220func (s *UntagResourceInput) Validate() error {
34221	invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
34222	if s.ResourceArn == nil {
34223		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
34224	}
34225	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
34226		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
34227	}
34228	if s.TagKeys == nil {
34229		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
34230	}
34231	if s.TagKeys != nil && len(s.TagKeys) < 1 {
34232		invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
34233	}
34234
34235	if invalidParams.Len() > 0 {
34236		return invalidParams
34237	}
34238	return nil
34239}
34240
34241// SetResourceArn sets the ResourceArn field's value.
34242func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
34243	s.ResourceArn = &v
34244	return s
34245}
34246
34247// SetTagKeys sets the TagKeys field's value.
34248func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
34249	s.TagKeys = v
34250	return s
34251}
34252
34253type UntagResourceOutput struct {
34254	_ struct{} `type:"structure"`
34255
34256	// The Amazon Web Services request ID for this operation.
34257	RequestId *string `type:"string"`
34258
34259	// The HTTP status of the request.
34260	Status *int64 `location:"statusCode" type:"integer"`
34261}
34262
34263// String returns the string representation
34264func (s UntagResourceOutput) String() string {
34265	return awsutil.Prettify(s)
34266}
34267
34268// GoString returns the string representation
34269func (s UntagResourceOutput) GoString() string {
34270	return s.String()
34271}
34272
34273// SetRequestId sets the RequestId field's value.
34274func (s *UntagResourceOutput) SetRequestId(v string) *UntagResourceOutput {
34275	s.RequestId = &v
34276	return s
34277}
34278
34279// SetStatus sets the Status field's value.
34280func (s *UntagResourceOutput) SetStatus(v int64) *UntagResourceOutput {
34281	s.Status = &v
34282	return s
34283}
34284
34285type UpdateAccountCustomizationInput struct {
34286	_ struct{} `type:"structure"`
34287
34288	// The Amazon QuickSight customizations you're updating in the current Amazon
34289	// Web Services Region;.
34290	//
34291	// AccountCustomization is a required field
34292	AccountCustomization *AccountCustomization `type:"structure" required:"true"`
34293
34294	// The ID for the Amazon Web Services account that you want to update Amazon
34295	// QuickSight customizations for.
34296	//
34297	// AwsAccountId is a required field
34298	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
34299
34300	// The namespace that you want to update Amazon QuickSight customizations for.
34301	Namespace *string `location:"querystring" locationName:"namespace" type:"string"`
34302}
34303
34304// String returns the string representation
34305func (s UpdateAccountCustomizationInput) String() string {
34306	return awsutil.Prettify(s)
34307}
34308
34309// GoString returns the string representation
34310func (s UpdateAccountCustomizationInput) GoString() string {
34311	return s.String()
34312}
34313
34314// Validate inspects the fields of the type to determine if they are valid.
34315func (s *UpdateAccountCustomizationInput) Validate() error {
34316	invalidParams := request.ErrInvalidParams{Context: "UpdateAccountCustomizationInput"}
34317	if s.AccountCustomization == nil {
34318		invalidParams.Add(request.NewErrParamRequired("AccountCustomization"))
34319	}
34320	if s.AwsAccountId == nil {
34321		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
34322	}
34323	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
34324		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
34325	}
34326
34327	if invalidParams.Len() > 0 {
34328		return invalidParams
34329	}
34330	return nil
34331}
34332
34333// SetAccountCustomization sets the AccountCustomization field's value.
34334func (s *UpdateAccountCustomizationInput) SetAccountCustomization(v *AccountCustomization) *UpdateAccountCustomizationInput {
34335	s.AccountCustomization = v
34336	return s
34337}
34338
34339// SetAwsAccountId sets the AwsAccountId field's value.
34340func (s *UpdateAccountCustomizationInput) SetAwsAccountId(v string) *UpdateAccountCustomizationInput {
34341	s.AwsAccountId = &v
34342	return s
34343}
34344
34345// SetNamespace sets the Namespace field's value.
34346func (s *UpdateAccountCustomizationInput) SetNamespace(v string) *UpdateAccountCustomizationInput {
34347	s.Namespace = &v
34348	return s
34349}
34350
34351type UpdateAccountCustomizationOutput struct {
34352	_ struct{} `type:"structure"`
34353
34354	// The Amazon QuickSight customizations you're updating in the current Amazon
34355	// Web Services Region;.
34356	AccountCustomization *AccountCustomization `type:"structure"`
34357
34358	// The Amazon Resource Name (ARN) for the updated customization for this Amazon
34359	// Web Services account.
34360	Arn *string `type:"string"`
34361
34362	// The ID for the Amazon Web Services account that you want to update Amazon
34363	// QuickSight customizations for.
34364	AwsAccountId *string `min:"12" type:"string"`
34365
34366	// The namespace associated with the customization that you're updating.
34367	Namespace *string `type:"string"`
34368
34369	// The Amazon Web Services request ID for this operation.
34370	RequestId *string `type:"string"`
34371
34372	// The HTTP status of the request.
34373	Status *int64 `location:"statusCode" type:"integer"`
34374}
34375
34376// String returns the string representation
34377func (s UpdateAccountCustomizationOutput) String() string {
34378	return awsutil.Prettify(s)
34379}
34380
34381// GoString returns the string representation
34382func (s UpdateAccountCustomizationOutput) GoString() string {
34383	return s.String()
34384}
34385
34386// SetAccountCustomization sets the AccountCustomization field's value.
34387func (s *UpdateAccountCustomizationOutput) SetAccountCustomization(v *AccountCustomization) *UpdateAccountCustomizationOutput {
34388	s.AccountCustomization = v
34389	return s
34390}
34391
34392// SetArn sets the Arn field's value.
34393func (s *UpdateAccountCustomizationOutput) SetArn(v string) *UpdateAccountCustomizationOutput {
34394	s.Arn = &v
34395	return s
34396}
34397
34398// SetAwsAccountId sets the AwsAccountId field's value.
34399func (s *UpdateAccountCustomizationOutput) SetAwsAccountId(v string) *UpdateAccountCustomizationOutput {
34400	s.AwsAccountId = &v
34401	return s
34402}
34403
34404// SetNamespace sets the Namespace field's value.
34405func (s *UpdateAccountCustomizationOutput) SetNamespace(v string) *UpdateAccountCustomizationOutput {
34406	s.Namespace = &v
34407	return s
34408}
34409
34410// SetRequestId sets the RequestId field's value.
34411func (s *UpdateAccountCustomizationOutput) SetRequestId(v string) *UpdateAccountCustomizationOutput {
34412	s.RequestId = &v
34413	return s
34414}
34415
34416// SetStatus sets the Status field's value.
34417func (s *UpdateAccountCustomizationOutput) SetStatus(v int64) *UpdateAccountCustomizationOutput {
34418	s.Status = &v
34419	return s
34420}
34421
34422type UpdateAccountSettingsInput struct {
34423	_ struct{} `type:"structure"`
34424
34425	// The ID for the Amazon Web Services account that contains the Amazon QuickSight
34426	// settings that you want to list.
34427	//
34428	// AwsAccountId is a required field
34429	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
34430
34431	// The default namespace for this Amazon Web Services account. Currently, the
34432	// default is default. Identity and Access Management (IAM) users that register
34433	// for the first time with Amazon QuickSight provide an email that becomes associated
34434	// with the default namespace.
34435	//
34436	// DefaultNamespace is a required field
34437	DefaultNamespace *string `type:"string" required:"true"`
34438
34439	// The email address that you want Amazon QuickSight to send notifications to
34440	// regarding your Amazon Web Services account or Amazon QuickSight subscription.
34441	NotificationEmail *string `type:"string"`
34442}
34443
34444// String returns the string representation
34445func (s UpdateAccountSettingsInput) String() string {
34446	return awsutil.Prettify(s)
34447}
34448
34449// GoString returns the string representation
34450func (s UpdateAccountSettingsInput) GoString() string {
34451	return s.String()
34452}
34453
34454// Validate inspects the fields of the type to determine if they are valid.
34455func (s *UpdateAccountSettingsInput) Validate() error {
34456	invalidParams := request.ErrInvalidParams{Context: "UpdateAccountSettingsInput"}
34457	if s.AwsAccountId == nil {
34458		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
34459	}
34460	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
34461		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
34462	}
34463	if s.DefaultNamespace == nil {
34464		invalidParams.Add(request.NewErrParamRequired("DefaultNamespace"))
34465	}
34466
34467	if invalidParams.Len() > 0 {
34468		return invalidParams
34469	}
34470	return nil
34471}
34472
34473// SetAwsAccountId sets the AwsAccountId field's value.
34474func (s *UpdateAccountSettingsInput) SetAwsAccountId(v string) *UpdateAccountSettingsInput {
34475	s.AwsAccountId = &v
34476	return s
34477}
34478
34479// SetDefaultNamespace sets the DefaultNamespace field's value.
34480func (s *UpdateAccountSettingsInput) SetDefaultNamespace(v string) *UpdateAccountSettingsInput {
34481	s.DefaultNamespace = &v
34482	return s
34483}
34484
34485// SetNotificationEmail sets the NotificationEmail field's value.
34486func (s *UpdateAccountSettingsInput) SetNotificationEmail(v string) *UpdateAccountSettingsInput {
34487	s.NotificationEmail = &v
34488	return s
34489}
34490
34491type UpdateAccountSettingsOutput struct {
34492	_ struct{} `type:"structure"`
34493
34494	// The Amazon Web Services request ID for this operation.
34495	RequestId *string `type:"string"`
34496
34497	// The HTTP status of the request.
34498	Status *int64 `location:"statusCode" type:"integer"`
34499}
34500
34501// String returns the string representation
34502func (s UpdateAccountSettingsOutput) String() string {
34503	return awsutil.Prettify(s)
34504}
34505
34506// GoString returns the string representation
34507func (s UpdateAccountSettingsOutput) GoString() string {
34508	return s.String()
34509}
34510
34511// SetRequestId sets the RequestId field's value.
34512func (s *UpdateAccountSettingsOutput) SetRequestId(v string) *UpdateAccountSettingsOutput {
34513	s.RequestId = &v
34514	return s
34515}
34516
34517// SetStatus sets the Status field's value.
34518func (s *UpdateAccountSettingsOutput) SetStatus(v int64) *UpdateAccountSettingsOutput {
34519	s.Status = &v
34520	return s
34521}
34522
34523type UpdateAnalysisInput struct {
34524	_ struct{} `type:"structure"`
34525
34526	// The ID for the analysis that you're updating. This ID displays in the URL
34527	// of the analysis.
34528	//
34529	// AnalysisId is a required field
34530	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
34531
34532	// The ID of the Amazon Web Services account that contains the analysis that
34533	// you're updating.
34534	//
34535	// AwsAccountId is a required field
34536	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
34537
34538	// A descriptive name for the analysis that you're updating. This name displays
34539	// for the analysis in the Amazon QuickSight console.
34540	//
34541	// Name is a required field
34542	Name *string `min:"1" type:"string" required:"true"`
34543
34544	// The parameter names and override values that you want to use. An analysis
34545	// can have any parameter type, and some parameters might accept multiple values.
34546	Parameters *Parameters `type:"structure"`
34547
34548	// A source entity to use for the analysis that you're updating. This metadata
34549	// structure contains details that describe a source template and one or more
34550	// datasets.
34551	//
34552	// SourceEntity is a required field
34553	SourceEntity *AnalysisSourceEntity `type:"structure" required:"true"`
34554
34555	// The Amazon Resource Name (ARN) for the theme to apply to the analysis that
34556	// you're creating. To see the theme in the Amazon QuickSight console, make
34557	// sure that you have access to it.
34558	ThemeArn *string `type:"string"`
34559}
34560
34561// String returns the string representation
34562func (s UpdateAnalysisInput) String() string {
34563	return awsutil.Prettify(s)
34564}
34565
34566// GoString returns the string representation
34567func (s UpdateAnalysisInput) GoString() string {
34568	return s.String()
34569}
34570
34571// Validate inspects the fields of the type to determine if they are valid.
34572func (s *UpdateAnalysisInput) Validate() error {
34573	invalidParams := request.ErrInvalidParams{Context: "UpdateAnalysisInput"}
34574	if s.AnalysisId == nil {
34575		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
34576	}
34577	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
34578		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
34579	}
34580	if s.AwsAccountId == nil {
34581		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
34582	}
34583	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
34584		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
34585	}
34586	if s.Name == nil {
34587		invalidParams.Add(request.NewErrParamRequired("Name"))
34588	}
34589	if s.Name != nil && len(*s.Name) < 1 {
34590		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
34591	}
34592	if s.SourceEntity == nil {
34593		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
34594	}
34595	if s.Parameters != nil {
34596		if err := s.Parameters.Validate(); err != nil {
34597			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
34598		}
34599	}
34600	if s.SourceEntity != nil {
34601		if err := s.SourceEntity.Validate(); err != nil {
34602			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
34603		}
34604	}
34605
34606	if invalidParams.Len() > 0 {
34607		return invalidParams
34608	}
34609	return nil
34610}
34611
34612// SetAnalysisId sets the AnalysisId field's value.
34613func (s *UpdateAnalysisInput) SetAnalysisId(v string) *UpdateAnalysisInput {
34614	s.AnalysisId = &v
34615	return s
34616}
34617
34618// SetAwsAccountId sets the AwsAccountId field's value.
34619func (s *UpdateAnalysisInput) SetAwsAccountId(v string) *UpdateAnalysisInput {
34620	s.AwsAccountId = &v
34621	return s
34622}
34623
34624// SetName sets the Name field's value.
34625func (s *UpdateAnalysisInput) SetName(v string) *UpdateAnalysisInput {
34626	s.Name = &v
34627	return s
34628}
34629
34630// SetParameters sets the Parameters field's value.
34631func (s *UpdateAnalysisInput) SetParameters(v *Parameters) *UpdateAnalysisInput {
34632	s.Parameters = v
34633	return s
34634}
34635
34636// SetSourceEntity sets the SourceEntity field's value.
34637func (s *UpdateAnalysisInput) SetSourceEntity(v *AnalysisSourceEntity) *UpdateAnalysisInput {
34638	s.SourceEntity = v
34639	return s
34640}
34641
34642// SetThemeArn sets the ThemeArn field's value.
34643func (s *UpdateAnalysisInput) SetThemeArn(v string) *UpdateAnalysisInput {
34644	s.ThemeArn = &v
34645	return s
34646}
34647
34648type UpdateAnalysisOutput struct {
34649	_ struct{} `type:"structure"`
34650
34651	// The ID of the analysis.
34652	AnalysisId *string `min:"1" type:"string"`
34653
34654	// The ARN of the analysis that you're updating.
34655	Arn *string `type:"string"`
34656
34657	// The Amazon Web Services request ID for this operation.
34658	RequestId *string `type:"string"`
34659
34660	// The HTTP status of the request.
34661	Status *int64 `location:"statusCode" type:"integer"`
34662
34663	// The update status of the last update that was made to the analysis.
34664	UpdateStatus *string `type:"string" enum:"ResourceStatus"`
34665}
34666
34667// String returns the string representation
34668func (s UpdateAnalysisOutput) String() string {
34669	return awsutil.Prettify(s)
34670}
34671
34672// GoString returns the string representation
34673func (s UpdateAnalysisOutput) GoString() string {
34674	return s.String()
34675}
34676
34677// SetAnalysisId sets the AnalysisId field's value.
34678func (s *UpdateAnalysisOutput) SetAnalysisId(v string) *UpdateAnalysisOutput {
34679	s.AnalysisId = &v
34680	return s
34681}
34682
34683// SetArn sets the Arn field's value.
34684func (s *UpdateAnalysisOutput) SetArn(v string) *UpdateAnalysisOutput {
34685	s.Arn = &v
34686	return s
34687}
34688
34689// SetRequestId sets the RequestId field's value.
34690func (s *UpdateAnalysisOutput) SetRequestId(v string) *UpdateAnalysisOutput {
34691	s.RequestId = &v
34692	return s
34693}
34694
34695// SetStatus sets the Status field's value.
34696func (s *UpdateAnalysisOutput) SetStatus(v int64) *UpdateAnalysisOutput {
34697	s.Status = &v
34698	return s
34699}
34700
34701// SetUpdateStatus sets the UpdateStatus field's value.
34702func (s *UpdateAnalysisOutput) SetUpdateStatus(v string) *UpdateAnalysisOutput {
34703	s.UpdateStatus = &v
34704	return s
34705}
34706
34707type UpdateAnalysisPermissionsInput struct {
34708	_ struct{} `type:"structure"`
34709
34710	// The ID of the analysis whose permissions you're updating. The ID is part
34711	// of the analysis URL.
34712	//
34713	// AnalysisId is a required field
34714	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
34715
34716	// The ID of the Amazon Web Services account that contains the analysis whose
34717	// permissions you're updating. You must be using the Amazon Web Services account
34718	// that the analysis is in.
34719	//
34720	// AwsAccountId is a required field
34721	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
34722
34723	// A structure that describes the permissions to add and the principal to add
34724	// them to.
34725	GrantPermissions []*ResourcePermission `type:"list"`
34726
34727	// A structure that describes the permissions to remove and the principal to
34728	// remove them from.
34729	RevokePermissions []*ResourcePermission `type:"list"`
34730}
34731
34732// String returns the string representation
34733func (s UpdateAnalysisPermissionsInput) String() string {
34734	return awsutil.Prettify(s)
34735}
34736
34737// GoString returns the string representation
34738func (s UpdateAnalysisPermissionsInput) GoString() string {
34739	return s.String()
34740}
34741
34742// Validate inspects the fields of the type to determine if they are valid.
34743func (s *UpdateAnalysisPermissionsInput) Validate() error {
34744	invalidParams := request.ErrInvalidParams{Context: "UpdateAnalysisPermissionsInput"}
34745	if s.AnalysisId == nil {
34746		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
34747	}
34748	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
34749		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
34750	}
34751	if s.AwsAccountId == nil {
34752		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
34753	}
34754	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
34755		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
34756	}
34757	if s.GrantPermissions != nil {
34758		for i, v := range s.GrantPermissions {
34759			if v == nil {
34760				continue
34761			}
34762			if err := v.Validate(); err != nil {
34763				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
34764			}
34765		}
34766	}
34767	if s.RevokePermissions != nil {
34768		for i, v := range s.RevokePermissions {
34769			if v == nil {
34770				continue
34771			}
34772			if err := v.Validate(); err != nil {
34773				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
34774			}
34775		}
34776	}
34777
34778	if invalidParams.Len() > 0 {
34779		return invalidParams
34780	}
34781	return nil
34782}
34783
34784// SetAnalysisId sets the AnalysisId field's value.
34785func (s *UpdateAnalysisPermissionsInput) SetAnalysisId(v string) *UpdateAnalysisPermissionsInput {
34786	s.AnalysisId = &v
34787	return s
34788}
34789
34790// SetAwsAccountId sets the AwsAccountId field's value.
34791func (s *UpdateAnalysisPermissionsInput) SetAwsAccountId(v string) *UpdateAnalysisPermissionsInput {
34792	s.AwsAccountId = &v
34793	return s
34794}
34795
34796// SetGrantPermissions sets the GrantPermissions field's value.
34797func (s *UpdateAnalysisPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateAnalysisPermissionsInput {
34798	s.GrantPermissions = v
34799	return s
34800}
34801
34802// SetRevokePermissions sets the RevokePermissions field's value.
34803func (s *UpdateAnalysisPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateAnalysisPermissionsInput {
34804	s.RevokePermissions = v
34805	return s
34806}
34807
34808type UpdateAnalysisPermissionsOutput struct {
34809	_ struct{} `type:"structure"`
34810
34811	// The Amazon Resource Name (ARN) of the analysis that you updated.
34812	AnalysisArn *string `type:"string"`
34813
34814	// The ID of the analysis that you updated permissions for.
34815	AnalysisId *string `min:"1" type:"string"`
34816
34817	// A structure that describes the principals and the resource-level permissions
34818	// on an analysis.
34819	Permissions []*ResourcePermission `min:"1" type:"list"`
34820
34821	// The Amazon Web Services request ID for this operation.
34822	RequestId *string `type:"string"`
34823
34824	// The HTTP status of the request.
34825	Status *int64 `location:"statusCode" type:"integer"`
34826}
34827
34828// String returns the string representation
34829func (s UpdateAnalysisPermissionsOutput) String() string {
34830	return awsutil.Prettify(s)
34831}
34832
34833// GoString returns the string representation
34834func (s UpdateAnalysisPermissionsOutput) GoString() string {
34835	return s.String()
34836}
34837
34838// SetAnalysisArn sets the AnalysisArn field's value.
34839func (s *UpdateAnalysisPermissionsOutput) SetAnalysisArn(v string) *UpdateAnalysisPermissionsOutput {
34840	s.AnalysisArn = &v
34841	return s
34842}
34843
34844// SetAnalysisId sets the AnalysisId field's value.
34845func (s *UpdateAnalysisPermissionsOutput) SetAnalysisId(v string) *UpdateAnalysisPermissionsOutput {
34846	s.AnalysisId = &v
34847	return s
34848}
34849
34850// SetPermissions sets the Permissions field's value.
34851func (s *UpdateAnalysisPermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateAnalysisPermissionsOutput {
34852	s.Permissions = v
34853	return s
34854}
34855
34856// SetRequestId sets the RequestId field's value.
34857func (s *UpdateAnalysisPermissionsOutput) SetRequestId(v string) *UpdateAnalysisPermissionsOutput {
34858	s.RequestId = &v
34859	return s
34860}
34861
34862// SetStatus sets the Status field's value.
34863func (s *UpdateAnalysisPermissionsOutput) SetStatus(v int64) *UpdateAnalysisPermissionsOutput {
34864	s.Status = &v
34865	return s
34866}
34867
34868type UpdateDashboardInput struct {
34869	_ struct{} `type:"structure"`
34870
34871	// The ID of the Amazon Web Services account that contains the dashboard that
34872	// you're updating.
34873	//
34874	// AwsAccountId is a required field
34875	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
34876
34877	// The ID for the dashboard.
34878	//
34879	// DashboardId is a required field
34880	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
34881
34882	// Options for publishing the dashboard when you create it:
34883	//
34884	//    * AvailabilityStatus for AdHocFilteringOption - This status can be either
34885	//    ENABLED or DISABLED. When this is set to DISABLED, Amazon QuickSight disables
34886	//    the left filter pane on the published dashboard, which can be used for
34887	//    ad hoc (one-time) filtering. This option is ENABLED by default.
34888	//
34889	//    * AvailabilityStatus for ExportToCSVOption - This status can be either
34890	//    ENABLED or DISABLED. The visual option to export data to .CSV format isn't
34891	//    enabled when this is set to DISABLED. This option is ENABLED by default.
34892	//
34893	//    * VisibilityState for SheetControlsOption - This visibility state can
34894	//    be either COLLAPSED or EXPANDED. This option is COLLAPSED by default.
34895	DashboardPublishOptions *DashboardPublishOptions `type:"structure"`
34896
34897	// The display name of the dashboard.
34898	//
34899	// Name is a required field
34900	Name *string `min:"1" type:"string" required:"true"`
34901
34902	// A structure that contains the parameters of the dashboard. These are parameter
34903	// overrides for a dashboard. A dashboard can have any type of parameters, and
34904	// some parameters might accept multiple values.
34905	Parameters *Parameters `type:"structure"`
34906
34907	// The entity that you are using as a source when you update the dashboard.
34908	// In SourceEntity, you specify the type of object you're using as source. You
34909	// can only update a dashboard from a template, so you use a SourceTemplate
34910	// entity. If you need to update a dashboard from an analysis, first convert
34911	// the analysis to a template by using the CreateTemplate API operation. For
34912	// SourceTemplate, specify the Amazon Resource Name (ARN) of the source template.
34913	// The SourceTemplate ARN can contain any Amazon Web Services account and any
34914	// Amazon QuickSight-supported Amazon Web Services Region;.
34915	//
34916	// Use the DataSetReferences entity within SourceTemplate to list the replacement
34917	// datasets for the placeholders listed in the original. The schema in each
34918	// dataset must match its placeholder.
34919	//
34920	// SourceEntity is a required field
34921	SourceEntity *DashboardSourceEntity `type:"structure" required:"true"`
34922
34923	// The Amazon Resource Name (ARN) of the theme that is being used for this dashboard.
34924	// If you add a value for this field, it overrides the value that was originally
34925	// associated with the entity. The theme ARN must exist in the same Amazon Web
34926	// Services account where you create the dashboard.
34927	ThemeArn *string `type:"string"`
34928
34929	// A description for the first version of the dashboard being created.
34930	VersionDescription *string `min:"1" type:"string"`
34931}
34932
34933// String returns the string representation
34934func (s UpdateDashboardInput) String() string {
34935	return awsutil.Prettify(s)
34936}
34937
34938// GoString returns the string representation
34939func (s UpdateDashboardInput) GoString() string {
34940	return s.String()
34941}
34942
34943// Validate inspects the fields of the type to determine if they are valid.
34944func (s *UpdateDashboardInput) Validate() error {
34945	invalidParams := request.ErrInvalidParams{Context: "UpdateDashboardInput"}
34946	if s.AwsAccountId == nil {
34947		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
34948	}
34949	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
34950		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
34951	}
34952	if s.DashboardId == nil {
34953		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
34954	}
34955	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
34956		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
34957	}
34958	if s.Name == nil {
34959		invalidParams.Add(request.NewErrParamRequired("Name"))
34960	}
34961	if s.Name != nil && len(*s.Name) < 1 {
34962		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
34963	}
34964	if s.SourceEntity == nil {
34965		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
34966	}
34967	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
34968		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
34969	}
34970	if s.Parameters != nil {
34971		if err := s.Parameters.Validate(); err != nil {
34972			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
34973		}
34974	}
34975	if s.SourceEntity != nil {
34976		if err := s.SourceEntity.Validate(); err != nil {
34977			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
34978		}
34979	}
34980
34981	if invalidParams.Len() > 0 {
34982		return invalidParams
34983	}
34984	return nil
34985}
34986
34987// SetAwsAccountId sets the AwsAccountId field's value.
34988func (s *UpdateDashboardInput) SetAwsAccountId(v string) *UpdateDashboardInput {
34989	s.AwsAccountId = &v
34990	return s
34991}
34992
34993// SetDashboardId sets the DashboardId field's value.
34994func (s *UpdateDashboardInput) SetDashboardId(v string) *UpdateDashboardInput {
34995	s.DashboardId = &v
34996	return s
34997}
34998
34999// SetDashboardPublishOptions sets the DashboardPublishOptions field's value.
35000func (s *UpdateDashboardInput) SetDashboardPublishOptions(v *DashboardPublishOptions) *UpdateDashboardInput {
35001	s.DashboardPublishOptions = v
35002	return s
35003}
35004
35005// SetName sets the Name field's value.
35006func (s *UpdateDashboardInput) SetName(v string) *UpdateDashboardInput {
35007	s.Name = &v
35008	return s
35009}
35010
35011// SetParameters sets the Parameters field's value.
35012func (s *UpdateDashboardInput) SetParameters(v *Parameters) *UpdateDashboardInput {
35013	s.Parameters = v
35014	return s
35015}
35016
35017// SetSourceEntity sets the SourceEntity field's value.
35018func (s *UpdateDashboardInput) SetSourceEntity(v *DashboardSourceEntity) *UpdateDashboardInput {
35019	s.SourceEntity = v
35020	return s
35021}
35022
35023// SetThemeArn sets the ThemeArn field's value.
35024func (s *UpdateDashboardInput) SetThemeArn(v string) *UpdateDashboardInput {
35025	s.ThemeArn = &v
35026	return s
35027}
35028
35029// SetVersionDescription sets the VersionDescription field's value.
35030func (s *UpdateDashboardInput) SetVersionDescription(v string) *UpdateDashboardInput {
35031	s.VersionDescription = &v
35032	return s
35033}
35034
35035type UpdateDashboardOutput struct {
35036	_ struct{} `type:"structure"`
35037
35038	// The Amazon Resource Name (ARN) of the resource.
35039	Arn *string `type:"string"`
35040
35041	// The creation status of the request.
35042	CreationStatus *string `type:"string" enum:"ResourceStatus"`
35043
35044	// The ID for the dashboard.
35045	DashboardId *string `min:"1" type:"string"`
35046
35047	// The Amazon Web Services request ID for this operation.
35048	RequestId *string `type:"string"`
35049
35050	// The HTTP status of the request.
35051	Status *int64 `type:"integer"`
35052
35053	// The ARN of the dashboard, including the version number.
35054	VersionArn *string `type:"string"`
35055}
35056
35057// String returns the string representation
35058func (s UpdateDashboardOutput) String() string {
35059	return awsutil.Prettify(s)
35060}
35061
35062// GoString returns the string representation
35063func (s UpdateDashboardOutput) GoString() string {
35064	return s.String()
35065}
35066
35067// SetArn sets the Arn field's value.
35068func (s *UpdateDashboardOutput) SetArn(v string) *UpdateDashboardOutput {
35069	s.Arn = &v
35070	return s
35071}
35072
35073// SetCreationStatus sets the CreationStatus field's value.
35074func (s *UpdateDashboardOutput) SetCreationStatus(v string) *UpdateDashboardOutput {
35075	s.CreationStatus = &v
35076	return s
35077}
35078
35079// SetDashboardId sets the DashboardId field's value.
35080func (s *UpdateDashboardOutput) SetDashboardId(v string) *UpdateDashboardOutput {
35081	s.DashboardId = &v
35082	return s
35083}
35084
35085// SetRequestId sets the RequestId field's value.
35086func (s *UpdateDashboardOutput) SetRequestId(v string) *UpdateDashboardOutput {
35087	s.RequestId = &v
35088	return s
35089}
35090
35091// SetStatus sets the Status field's value.
35092func (s *UpdateDashboardOutput) SetStatus(v int64) *UpdateDashboardOutput {
35093	s.Status = &v
35094	return s
35095}
35096
35097// SetVersionArn sets the VersionArn field's value.
35098func (s *UpdateDashboardOutput) SetVersionArn(v string) *UpdateDashboardOutput {
35099	s.VersionArn = &v
35100	return s
35101}
35102
35103type UpdateDashboardPermissionsInput struct {
35104	_ struct{} `type:"structure"`
35105
35106	// The ID of the Amazon Web Services account that contains the dashboard whose
35107	// permissions you're updating.
35108	//
35109	// AwsAccountId is a required field
35110	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
35111
35112	// The ID for the dashboard.
35113	//
35114	// DashboardId is a required field
35115	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
35116
35117	// The permissions that you want to grant on this resource.
35118	GrantPermissions []*ResourcePermission `type:"list"`
35119
35120	// The permissions that you want to revoke from this resource.
35121	RevokePermissions []*ResourcePermission `type:"list"`
35122}
35123
35124// String returns the string representation
35125func (s UpdateDashboardPermissionsInput) String() string {
35126	return awsutil.Prettify(s)
35127}
35128
35129// GoString returns the string representation
35130func (s UpdateDashboardPermissionsInput) GoString() string {
35131	return s.String()
35132}
35133
35134// Validate inspects the fields of the type to determine if they are valid.
35135func (s *UpdateDashboardPermissionsInput) Validate() error {
35136	invalidParams := request.ErrInvalidParams{Context: "UpdateDashboardPermissionsInput"}
35137	if s.AwsAccountId == nil {
35138		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
35139	}
35140	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
35141		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
35142	}
35143	if s.DashboardId == nil {
35144		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
35145	}
35146	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
35147		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
35148	}
35149	if s.GrantPermissions != nil {
35150		for i, v := range s.GrantPermissions {
35151			if v == nil {
35152				continue
35153			}
35154			if err := v.Validate(); err != nil {
35155				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
35156			}
35157		}
35158	}
35159	if s.RevokePermissions != nil {
35160		for i, v := range s.RevokePermissions {
35161			if v == nil {
35162				continue
35163			}
35164			if err := v.Validate(); err != nil {
35165				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
35166			}
35167		}
35168	}
35169
35170	if invalidParams.Len() > 0 {
35171		return invalidParams
35172	}
35173	return nil
35174}
35175
35176// SetAwsAccountId sets the AwsAccountId field's value.
35177func (s *UpdateDashboardPermissionsInput) SetAwsAccountId(v string) *UpdateDashboardPermissionsInput {
35178	s.AwsAccountId = &v
35179	return s
35180}
35181
35182// SetDashboardId sets the DashboardId field's value.
35183func (s *UpdateDashboardPermissionsInput) SetDashboardId(v string) *UpdateDashboardPermissionsInput {
35184	s.DashboardId = &v
35185	return s
35186}
35187
35188// SetGrantPermissions sets the GrantPermissions field's value.
35189func (s *UpdateDashboardPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateDashboardPermissionsInput {
35190	s.GrantPermissions = v
35191	return s
35192}
35193
35194// SetRevokePermissions sets the RevokePermissions field's value.
35195func (s *UpdateDashboardPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateDashboardPermissionsInput {
35196	s.RevokePermissions = v
35197	return s
35198}
35199
35200type UpdateDashboardPermissionsOutput struct {
35201	_ struct{} `type:"structure"`
35202
35203	// The Amazon Resource Name (ARN) of the dashboard.
35204	DashboardArn *string `type:"string"`
35205
35206	// The ID for the dashboard.
35207	DashboardId *string `min:"1" type:"string"`
35208
35209	// Information about the permissions on the dashboard.
35210	Permissions []*ResourcePermission `min:"1" type:"list"`
35211
35212	// The Amazon Web Services request ID for this operation.
35213	RequestId *string `type:"string"`
35214
35215	// The HTTP status of the request.
35216	Status *int64 `location:"statusCode" type:"integer"`
35217}
35218
35219// String returns the string representation
35220func (s UpdateDashboardPermissionsOutput) String() string {
35221	return awsutil.Prettify(s)
35222}
35223
35224// GoString returns the string representation
35225func (s UpdateDashboardPermissionsOutput) GoString() string {
35226	return s.String()
35227}
35228
35229// SetDashboardArn sets the DashboardArn field's value.
35230func (s *UpdateDashboardPermissionsOutput) SetDashboardArn(v string) *UpdateDashboardPermissionsOutput {
35231	s.DashboardArn = &v
35232	return s
35233}
35234
35235// SetDashboardId sets the DashboardId field's value.
35236func (s *UpdateDashboardPermissionsOutput) SetDashboardId(v string) *UpdateDashboardPermissionsOutput {
35237	s.DashboardId = &v
35238	return s
35239}
35240
35241// SetPermissions sets the Permissions field's value.
35242func (s *UpdateDashboardPermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateDashboardPermissionsOutput {
35243	s.Permissions = v
35244	return s
35245}
35246
35247// SetRequestId sets the RequestId field's value.
35248func (s *UpdateDashboardPermissionsOutput) SetRequestId(v string) *UpdateDashboardPermissionsOutput {
35249	s.RequestId = &v
35250	return s
35251}
35252
35253// SetStatus sets the Status field's value.
35254func (s *UpdateDashboardPermissionsOutput) SetStatus(v int64) *UpdateDashboardPermissionsOutput {
35255	s.Status = &v
35256	return s
35257}
35258
35259type UpdateDashboardPublishedVersionInput struct {
35260	_ struct{} `type:"structure"`
35261
35262	// The ID of the Amazon Web Services account that contains the dashboard that
35263	// you're updating.
35264	//
35265	// AwsAccountId is a required field
35266	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
35267
35268	// The ID for the dashboard.
35269	//
35270	// DashboardId is a required field
35271	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
35272
35273	// The version number of the dashboard.
35274	//
35275	// VersionNumber is a required field
35276	VersionNumber *int64 `location:"uri" locationName:"VersionNumber" min:"1" type:"long" required:"true"`
35277}
35278
35279// String returns the string representation
35280func (s UpdateDashboardPublishedVersionInput) String() string {
35281	return awsutil.Prettify(s)
35282}
35283
35284// GoString returns the string representation
35285func (s UpdateDashboardPublishedVersionInput) GoString() string {
35286	return s.String()
35287}
35288
35289// Validate inspects the fields of the type to determine if they are valid.
35290func (s *UpdateDashboardPublishedVersionInput) Validate() error {
35291	invalidParams := request.ErrInvalidParams{Context: "UpdateDashboardPublishedVersionInput"}
35292	if s.AwsAccountId == nil {
35293		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
35294	}
35295	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
35296		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
35297	}
35298	if s.DashboardId == nil {
35299		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
35300	}
35301	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
35302		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
35303	}
35304	if s.VersionNumber == nil {
35305		invalidParams.Add(request.NewErrParamRequired("VersionNumber"))
35306	}
35307	if s.VersionNumber != nil && *s.VersionNumber < 1 {
35308		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
35309	}
35310
35311	if invalidParams.Len() > 0 {
35312		return invalidParams
35313	}
35314	return nil
35315}
35316
35317// SetAwsAccountId sets the AwsAccountId field's value.
35318func (s *UpdateDashboardPublishedVersionInput) SetAwsAccountId(v string) *UpdateDashboardPublishedVersionInput {
35319	s.AwsAccountId = &v
35320	return s
35321}
35322
35323// SetDashboardId sets the DashboardId field's value.
35324func (s *UpdateDashboardPublishedVersionInput) SetDashboardId(v string) *UpdateDashboardPublishedVersionInput {
35325	s.DashboardId = &v
35326	return s
35327}
35328
35329// SetVersionNumber sets the VersionNumber field's value.
35330func (s *UpdateDashboardPublishedVersionInput) SetVersionNumber(v int64) *UpdateDashboardPublishedVersionInput {
35331	s.VersionNumber = &v
35332	return s
35333}
35334
35335type UpdateDashboardPublishedVersionOutput struct {
35336	_ struct{} `type:"structure"`
35337
35338	// The Amazon Resource Name (ARN) of the dashboard.
35339	DashboardArn *string `type:"string"`
35340
35341	// The ID for the dashboard.
35342	DashboardId *string `min:"1" type:"string"`
35343
35344	// The Amazon Web Services request ID for this operation.
35345	RequestId *string `type:"string"`
35346
35347	// The HTTP status of the request.
35348	Status *int64 `location:"statusCode" type:"integer"`
35349}
35350
35351// String returns the string representation
35352func (s UpdateDashboardPublishedVersionOutput) String() string {
35353	return awsutil.Prettify(s)
35354}
35355
35356// GoString returns the string representation
35357func (s UpdateDashboardPublishedVersionOutput) GoString() string {
35358	return s.String()
35359}
35360
35361// SetDashboardArn sets the DashboardArn field's value.
35362func (s *UpdateDashboardPublishedVersionOutput) SetDashboardArn(v string) *UpdateDashboardPublishedVersionOutput {
35363	s.DashboardArn = &v
35364	return s
35365}
35366
35367// SetDashboardId sets the DashboardId field's value.
35368func (s *UpdateDashboardPublishedVersionOutput) SetDashboardId(v string) *UpdateDashboardPublishedVersionOutput {
35369	s.DashboardId = &v
35370	return s
35371}
35372
35373// SetRequestId sets the RequestId field's value.
35374func (s *UpdateDashboardPublishedVersionOutput) SetRequestId(v string) *UpdateDashboardPublishedVersionOutput {
35375	s.RequestId = &v
35376	return s
35377}
35378
35379// SetStatus sets the Status field's value.
35380func (s *UpdateDashboardPublishedVersionOutput) SetStatus(v int64) *UpdateDashboardPublishedVersionOutput {
35381	s.Status = &v
35382	return s
35383}
35384
35385type UpdateDataSetInput struct {
35386	_ struct{} `type:"structure"`
35387
35388	// The Amazon Web Services account ID.
35389	//
35390	// AwsAccountId is a required field
35391	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
35392
35393	// Groupings of columns that work together in certain Amazon QuickSight features.
35394	// Currently, only geospatial hierarchy is supported.
35395	ColumnGroups []*ColumnGroup `min:"1" type:"list"`
35396
35397	// A set of one or more definitions of a ColumnLevelPermissionRule .
35398	ColumnLevelPermissionRules []*ColumnLevelPermissionRule `min:"1" type:"list"`
35399
35400	// The ID for the dataset that you want to update. This ID is unique per Amazon
35401	// Web Services Region; for each Amazon Web Services account.
35402	//
35403	// DataSetId is a required field
35404	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
35405
35406	// The usage configuration to apply to child datasets that reference this dataset
35407	// as a source.
35408	DataSetUsageConfiguration *DataSetUsageConfiguration `type:"structure"`
35409
35410	// The folder that contains fields and nested subfolders for your dataset.
35411	FieldFolders map[string]*FieldFolder `type:"map"`
35412
35413	// Indicates whether you want to import the data into SPICE.
35414	//
35415	// ImportMode is a required field
35416	ImportMode *string `type:"string" required:"true" enum:"DataSetImportMode"`
35417
35418	// Configures the combination and transformation of the data from the physical
35419	// tables.
35420	LogicalTableMap map[string]*LogicalTable `min:"1" type:"map"`
35421
35422	// The display name for the dataset.
35423	//
35424	// Name is a required field
35425	Name *string `min:"1" type:"string" required:"true"`
35426
35427	// Declares the physical tables that are available in the underlying data sources.
35428	//
35429	// PhysicalTableMap is a required field
35430	PhysicalTableMap map[string]*PhysicalTable `type:"map" required:"true"`
35431
35432	// The row-level security configuration for the data you want to create.
35433	RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"`
35434
35435	// The configuration of tags on a dataset to set row-level security. Row-level
35436	// security tags are currently supported for anonymous embedding only.
35437	RowLevelPermissionTagConfiguration *RowLevelPermissionTagConfiguration `type:"structure"`
35438}
35439
35440// String returns the string representation
35441func (s UpdateDataSetInput) String() string {
35442	return awsutil.Prettify(s)
35443}
35444
35445// GoString returns the string representation
35446func (s UpdateDataSetInput) GoString() string {
35447	return s.String()
35448}
35449
35450// Validate inspects the fields of the type to determine if they are valid.
35451func (s *UpdateDataSetInput) Validate() error {
35452	invalidParams := request.ErrInvalidParams{Context: "UpdateDataSetInput"}
35453	if s.AwsAccountId == nil {
35454		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
35455	}
35456	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
35457		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
35458	}
35459	if s.ColumnGroups != nil && len(s.ColumnGroups) < 1 {
35460		invalidParams.Add(request.NewErrParamMinLen("ColumnGroups", 1))
35461	}
35462	if s.ColumnLevelPermissionRules != nil && len(s.ColumnLevelPermissionRules) < 1 {
35463		invalidParams.Add(request.NewErrParamMinLen("ColumnLevelPermissionRules", 1))
35464	}
35465	if s.DataSetId == nil {
35466		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
35467	}
35468	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
35469		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
35470	}
35471	if s.ImportMode == nil {
35472		invalidParams.Add(request.NewErrParamRequired("ImportMode"))
35473	}
35474	if s.LogicalTableMap != nil && len(s.LogicalTableMap) < 1 {
35475		invalidParams.Add(request.NewErrParamMinLen("LogicalTableMap", 1))
35476	}
35477	if s.Name == nil {
35478		invalidParams.Add(request.NewErrParamRequired("Name"))
35479	}
35480	if s.Name != nil && len(*s.Name) < 1 {
35481		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
35482	}
35483	if s.PhysicalTableMap == nil {
35484		invalidParams.Add(request.NewErrParamRequired("PhysicalTableMap"))
35485	}
35486	if s.ColumnGroups != nil {
35487		for i, v := range s.ColumnGroups {
35488			if v == nil {
35489				continue
35490			}
35491			if err := v.Validate(); err != nil {
35492				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnGroups", i), err.(request.ErrInvalidParams))
35493			}
35494		}
35495	}
35496	if s.ColumnLevelPermissionRules != nil {
35497		for i, v := range s.ColumnLevelPermissionRules {
35498			if v == nil {
35499				continue
35500			}
35501			if err := v.Validate(); err != nil {
35502				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnLevelPermissionRules", i), err.(request.ErrInvalidParams))
35503			}
35504		}
35505	}
35506	if s.LogicalTableMap != nil {
35507		for i, v := range s.LogicalTableMap {
35508			if v == nil {
35509				continue
35510			}
35511			if err := v.Validate(); err != nil {
35512				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LogicalTableMap", i), err.(request.ErrInvalidParams))
35513			}
35514		}
35515	}
35516	if s.PhysicalTableMap != nil {
35517		for i, v := range s.PhysicalTableMap {
35518			if v == nil {
35519				continue
35520			}
35521			if err := v.Validate(); err != nil {
35522				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PhysicalTableMap", i), err.(request.ErrInvalidParams))
35523			}
35524		}
35525	}
35526	if s.RowLevelPermissionDataSet != nil {
35527		if err := s.RowLevelPermissionDataSet.Validate(); err != nil {
35528			invalidParams.AddNested("RowLevelPermissionDataSet", err.(request.ErrInvalidParams))
35529		}
35530	}
35531	if s.RowLevelPermissionTagConfiguration != nil {
35532		if err := s.RowLevelPermissionTagConfiguration.Validate(); err != nil {
35533			invalidParams.AddNested("RowLevelPermissionTagConfiguration", err.(request.ErrInvalidParams))
35534		}
35535	}
35536
35537	if invalidParams.Len() > 0 {
35538		return invalidParams
35539	}
35540	return nil
35541}
35542
35543// SetAwsAccountId sets the AwsAccountId field's value.
35544func (s *UpdateDataSetInput) SetAwsAccountId(v string) *UpdateDataSetInput {
35545	s.AwsAccountId = &v
35546	return s
35547}
35548
35549// SetColumnGroups sets the ColumnGroups field's value.
35550func (s *UpdateDataSetInput) SetColumnGroups(v []*ColumnGroup) *UpdateDataSetInput {
35551	s.ColumnGroups = v
35552	return s
35553}
35554
35555// SetColumnLevelPermissionRules sets the ColumnLevelPermissionRules field's value.
35556func (s *UpdateDataSetInput) SetColumnLevelPermissionRules(v []*ColumnLevelPermissionRule) *UpdateDataSetInput {
35557	s.ColumnLevelPermissionRules = v
35558	return s
35559}
35560
35561// SetDataSetId sets the DataSetId field's value.
35562func (s *UpdateDataSetInput) SetDataSetId(v string) *UpdateDataSetInput {
35563	s.DataSetId = &v
35564	return s
35565}
35566
35567// SetDataSetUsageConfiguration sets the DataSetUsageConfiguration field's value.
35568func (s *UpdateDataSetInput) SetDataSetUsageConfiguration(v *DataSetUsageConfiguration) *UpdateDataSetInput {
35569	s.DataSetUsageConfiguration = v
35570	return s
35571}
35572
35573// SetFieldFolders sets the FieldFolders field's value.
35574func (s *UpdateDataSetInput) SetFieldFolders(v map[string]*FieldFolder) *UpdateDataSetInput {
35575	s.FieldFolders = v
35576	return s
35577}
35578
35579// SetImportMode sets the ImportMode field's value.
35580func (s *UpdateDataSetInput) SetImportMode(v string) *UpdateDataSetInput {
35581	s.ImportMode = &v
35582	return s
35583}
35584
35585// SetLogicalTableMap sets the LogicalTableMap field's value.
35586func (s *UpdateDataSetInput) SetLogicalTableMap(v map[string]*LogicalTable) *UpdateDataSetInput {
35587	s.LogicalTableMap = v
35588	return s
35589}
35590
35591// SetName sets the Name field's value.
35592func (s *UpdateDataSetInput) SetName(v string) *UpdateDataSetInput {
35593	s.Name = &v
35594	return s
35595}
35596
35597// SetPhysicalTableMap sets the PhysicalTableMap field's value.
35598func (s *UpdateDataSetInput) SetPhysicalTableMap(v map[string]*PhysicalTable) *UpdateDataSetInput {
35599	s.PhysicalTableMap = v
35600	return s
35601}
35602
35603// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value.
35604func (s *UpdateDataSetInput) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *UpdateDataSetInput {
35605	s.RowLevelPermissionDataSet = v
35606	return s
35607}
35608
35609// SetRowLevelPermissionTagConfiguration sets the RowLevelPermissionTagConfiguration field's value.
35610func (s *UpdateDataSetInput) SetRowLevelPermissionTagConfiguration(v *RowLevelPermissionTagConfiguration) *UpdateDataSetInput {
35611	s.RowLevelPermissionTagConfiguration = v
35612	return s
35613}
35614
35615type UpdateDataSetOutput struct {
35616	_ struct{} `type:"structure"`
35617
35618	// The Amazon Resource Name (ARN) of the dataset.
35619	Arn *string `type:"string"`
35620
35621	// The ID for the dataset that you want to create. This ID is unique per Amazon
35622	// Web Services Region; for each Amazon Web Services account.
35623	DataSetId *string `type:"string"`
35624
35625	// The ARN for the ingestion, which is triggered as a result of dataset creation
35626	// if the import mode is SPICE.
35627	IngestionArn *string `type:"string"`
35628
35629	// The ID of the ingestion, which is triggered as a result of dataset creation
35630	// if the import mode is SPICE.
35631	IngestionId *string `type:"string"`
35632
35633	// The Amazon Web Services request ID for this operation.
35634	RequestId *string `type:"string"`
35635
35636	// The HTTP status of the request.
35637	Status *int64 `location:"statusCode" type:"integer"`
35638}
35639
35640// String returns the string representation
35641func (s UpdateDataSetOutput) String() string {
35642	return awsutil.Prettify(s)
35643}
35644
35645// GoString returns the string representation
35646func (s UpdateDataSetOutput) GoString() string {
35647	return s.String()
35648}
35649
35650// SetArn sets the Arn field's value.
35651func (s *UpdateDataSetOutput) SetArn(v string) *UpdateDataSetOutput {
35652	s.Arn = &v
35653	return s
35654}
35655
35656// SetDataSetId sets the DataSetId field's value.
35657func (s *UpdateDataSetOutput) SetDataSetId(v string) *UpdateDataSetOutput {
35658	s.DataSetId = &v
35659	return s
35660}
35661
35662// SetIngestionArn sets the IngestionArn field's value.
35663func (s *UpdateDataSetOutput) SetIngestionArn(v string) *UpdateDataSetOutput {
35664	s.IngestionArn = &v
35665	return s
35666}
35667
35668// SetIngestionId sets the IngestionId field's value.
35669func (s *UpdateDataSetOutput) SetIngestionId(v string) *UpdateDataSetOutput {
35670	s.IngestionId = &v
35671	return s
35672}
35673
35674// SetRequestId sets the RequestId field's value.
35675func (s *UpdateDataSetOutput) SetRequestId(v string) *UpdateDataSetOutput {
35676	s.RequestId = &v
35677	return s
35678}
35679
35680// SetStatus sets the Status field's value.
35681func (s *UpdateDataSetOutput) SetStatus(v int64) *UpdateDataSetOutput {
35682	s.Status = &v
35683	return s
35684}
35685
35686type UpdateDataSetPermissionsInput struct {
35687	_ struct{} `type:"structure"`
35688
35689	// The Amazon Web Services account ID.
35690	//
35691	// AwsAccountId is a required field
35692	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
35693
35694	// The ID for the dataset whose permissions you want to update. This ID is unique
35695	// per Amazon Web Services Region; for each Amazon Web Services account.
35696	//
35697	// DataSetId is a required field
35698	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
35699
35700	// The resource permissions that you want to grant to the dataset.
35701	GrantPermissions []*ResourcePermission `min:"1" type:"list"`
35702
35703	// The resource permissions that you want to revoke from the dataset.
35704	RevokePermissions []*ResourcePermission `min:"1" type:"list"`
35705}
35706
35707// String returns the string representation
35708func (s UpdateDataSetPermissionsInput) String() string {
35709	return awsutil.Prettify(s)
35710}
35711
35712// GoString returns the string representation
35713func (s UpdateDataSetPermissionsInput) GoString() string {
35714	return s.String()
35715}
35716
35717// Validate inspects the fields of the type to determine if they are valid.
35718func (s *UpdateDataSetPermissionsInput) Validate() error {
35719	invalidParams := request.ErrInvalidParams{Context: "UpdateDataSetPermissionsInput"}
35720	if s.AwsAccountId == nil {
35721		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
35722	}
35723	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
35724		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
35725	}
35726	if s.DataSetId == nil {
35727		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
35728	}
35729	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
35730		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
35731	}
35732	if s.GrantPermissions != nil && len(s.GrantPermissions) < 1 {
35733		invalidParams.Add(request.NewErrParamMinLen("GrantPermissions", 1))
35734	}
35735	if s.RevokePermissions != nil && len(s.RevokePermissions) < 1 {
35736		invalidParams.Add(request.NewErrParamMinLen("RevokePermissions", 1))
35737	}
35738	if s.GrantPermissions != nil {
35739		for i, v := range s.GrantPermissions {
35740			if v == nil {
35741				continue
35742			}
35743			if err := v.Validate(); err != nil {
35744				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
35745			}
35746		}
35747	}
35748	if s.RevokePermissions != nil {
35749		for i, v := range s.RevokePermissions {
35750			if v == nil {
35751				continue
35752			}
35753			if err := v.Validate(); err != nil {
35754				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
35755			}
35756		}
35757	}
35758
35759	if invalidParams.Len() > 0 {
35760		return invalidParams
35761	}
35762	return nil
35763}
35764
35765// SetAwsAccountId sets the AwsAccountId field's value.
35766func (s *UpdateDataSetPermissionsInput) SetAwsAccountId(v string) *UpdateDataSetPermissionsInput {
35767	s.AwsAccountId = &v
35768	return s
35769}
35770
35771// SetDataSetId sets the DataSetId field's value.
35772func (s *UpdateDataSetPermissionsInput) SetDataSetId(v string) *UpdateDataSetPermissionsInput {
35773	s.DataSetId = &v
35774	return s
35775}
35776
35777// SetGrantPermissions sets the GrantPermissions field's value.
35778func (s *UpdateDataSetPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateDataSetPermissionsInput {
35779	s.GrantPermissions = v
35780	return s
35781}
35782
35783// SetRevokePermissions sets the RevokePermissions field's value.
35784func (s *UpdateDataSetPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateDataSetPermissionsInput {
35785	s.RevokePermissions = v
35786	return s
35787}
35788
35789type UpdateDataSetPermissionsOutput struct {
35790	_ struct{} `type:"structure"`
35791
35792	// The Amazon Resource Name (ARN) of the dataset.
35793	DataSetArn *string `type:"string"`
35794
35795	// The ID for the dataset whose permissions you want to update. This ID is unique
35796	// per Amazon Web Services Region; for each Amazon Web Services account.
35797	DataSetId *string `type:"string"`
35798
35799	// The Amazon Web Services request ID for this operation.
35800	RequestId *string `type:"string"`
35801
35802	// The HTTP status of the request.
35803	Status *int64 `location:"statusCode" type:"integer"`
35804}
35805
35806// String returns the string representation
35807func (s UpdateDataSetPermissionsOutput) String() string {
35808	return awsutil.Prettify(s)
35809}
35810
35811// GoString returns the string representation
35812func (s UpdateDataSetPermissionsOutput) GoString() string {
35813	return s.String()
35814}
35815
35816// SetDataSetArn sets the DataSetArn field's value.
35817func (s *UpdateDataSetPermissionsOutput) SetDataSetArn(v string) *UpdateDataSetPermissionsOutput {
35818	s.DataSetArn = &v
35819	return s
35820}
35821
35822// SetDataSetId sets the DataSetId field's value.
35823func (s *UpdateDataSetPermissionsOutput) SetDataSetId(v string) *UpdateDataSetPermissionsOutput {
35824	s.DataSetId = &v
35825	return s
35826}
35827
35828// SetRequestId sets the RequestId field's value.
35829func (s *UpdateDataSetPermissionsOutput) SetRequestId(v string) *UpdateDataSetPermissionsOutput {
35830	s.RequestId = &v
35831	return s
35832}
35833
35834// SetStatus sets the Status field's value.
35835func (s *UpdateDataSetPermissionsOutput) SetStatus(v int64) *UpdateDataSetPermissionsOutput {
35836	s.Status = &v
35837	return s
35838}
35839
35840type UpdateDataSourceInput struct {
35841	_ struct{} `type:"structure"`
35842
35843	// The Amazon Web Services account ID.
35844	//
35845	// AwsAccountId is a required field
35846	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
35847
35848	// The credentials that Amazon QuickSight that uses to connect to your underlying
35849	// source. Currently, only credentials based on user name and password are supported.
35850	Credentials *DataSourceCredentials `type:"structure" sensitive:"true"`
35851
35852	// The ID of the data source. This ID is unique per Amazon Web Services Region;
35853	// for each Amazon Web Services account.
35854	//
35855	// DataSourceId is a required field
35856	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
35857
35858	// The parameters that Amazon QuickSight uses to connect to your underlying
35859	// source.
35860	DataSourceParameters *DataSourceParameters `type:"structure"`
35861
35862	// A display name for the data source.
35863	//
35864	// Name is a required field
35865	Name *string `min:"1" type:"string" required:"true"`
35866
35867	// Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects
35868	// to your underlying source.
35869	SslProperties *SslProperties `type:"structure"`
35870
35871	// Use this parameter only when you want Amazon QuickSight to use a VPC connection
35872	// when connecting to your underlying source.
35873	VpcConnectionProperties *VpcConnectionProperties `type:"structure"`
35874}
35875
35876// String returns the string representation
35877func (s UpdateDataSourceInput) String() string {
35878	return awsutil.Prettify(s)
35879}
35880
35881// GoString returns the string representation
35882func (s UpdateDataSourceInput) GoString() string {
35883	return s.String()
35884}
35885
35886// Validate inspects the fields of the type to determine if they are valid.
35887func (s *UpdateDataSourceInput) Validate() error {
35888	invalidParams := request.ErrInvalidParams{Context: "UpdateDataSourceInput"}
35889	if s.AwsAccountId == nil {
35890		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
35891	}
35892	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
35893		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
35894	}
35895	if s.DataSourceId == nil {
35896		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
35897	}
35898	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
35899		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
35900	}
35901	if s.Name == nil {
35902		invalidParams.Add(request.NewErrParamRequired("Name"))
35903	}
35904	if s.Name != nil && len(*s.Name) < 1 {
35905		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
35906	}
35907	if s.Credentials != nil {
35908		if err := s.Credentials.Validate(); err != nil {
35909			invalidParams.AddNested("Credentials", err.(request.ErrInvalidParams))
35910		}
35911	}
35912	if s.DataSourceParameters != nil {
35913		if err := s.DataSourceParameters.Validate(); err != nil {
35914			invalidParams.AddNested("DataSourceParameters", err.(request.ErrInvalidParams))
35915		}
35916	}
35917	if s.VpcConnectionProperties != nil {
35918		if err := s.VpcConnectionProperties.Validate(); err != nil {
35919			invalidParams.AddNested("VpcConnectionProperties", err.(request.ErrInvalidParams))
35920		}
35921	}
35922
35923	if invalidParams.Len() > 0 {
35924		return invalidParams
35925	}
35926	return nil
35927}
35928
35929// SetAwsAccountId sets the AwsAccountId field's value.
35930func (s *UpdateDataSourceInput) SetAwsAccountId(v string) *UpdateDataSourceInput {
35931	s.AwsAccountId = &v
35932	return s
35933}
35934
35935// SetCredentials sets the Credentials field's value.
35936func (s *UpdateDataSourceInput) SetCredentials(v *DataSourceCredentials) *UpdateDataSourceInput {
35937	s.Credentials = v
35938	return s
35939}
35940
35941// SetDataSourceId sets the DataSourceId field's value.
35942func (s *UpdateDataSourceInput) SetDataSourceId(v string) *UpdateDataSourceInput {
35943	s.DataSourceId = &v
35944	return s
35945}
35946
35947// SetDataSourceParameters sets the DataSourceParameters field's value.
35948func (s *UpdateDataSourceInput) SetDataSourceParameters(v *DataSourceParameters) *UpdateDataSourceInput {
35949	s.DataSourceParameters = v
35950	return s
35951}
35952
35953// SetName sets the Name field's value.
35954func (s *UpdateDataSourceInput) SetName(v string) *UpdateDataSourceInput {
35955	s.Name = &v
35956	return s
35957}
35958
35959// SetSslProperties sets the SslProperties field's value.
35960func (s *UpdateDataSourceInput) SetSslProperties(v *SslProperties) *UpdateDataSourceInput {
35961	s.SslProperties = v
35962	return s
35963}
35964
35965// SetVpcConnectionProperties sets the VpcConnectionProperties field's value.
35966func (s *UpdateDataSourceInput) SetVpcConnectionProperties(v *VpcConnectionProperties) *UpdateDataSourceInput {
35967	s.VpcConnectionProperties = v
35968	return s
35969}
35970
35971type UpdateDataSourceOutput struct {
35972	_ struct{} `type:"structure"`
35973
35974	// The Amazon Resource Name (ARN) of the data source.
35975	Arn *string `type:"string"`
35976
35977	// The ID of the data source. This ID is unique per Amazon Web Services Region;
35978	// for each Amazon Web Services account.
35979	DataSourceId *string `type:"string"`
35980
35981	// The Amazon Web Services request ID for this operation.
35982	RequestId *string `type:"string"`
35983
35984	// The HTTP status of the request.
35985	Status *int64 `location:"statusCode" type:"integer"`
35986
35987	// The update status of the data source's last update.
35988	UpdateStatus *string `type:"string" enum:"ResourceStatus"`
35989}
35990
35991// String returns the string representation
35992func (s UpdateDataSourceOutput) String() string {
35993	return awsutil.Prettify(s)
35994}
35995
35996// GoString returns the string representation
35997func (s UpdateDataSourceOutput) GoString() string {
35998	return s.String()
35999}
36000
36001// SetArn sets the Arn field's value.
36002func (s *UpdateDataSourceOutput) SetArn(v string) *UpdateDataSourceOutput {
36003	s.Arn = &v
36004	return s
36005}
36006
36007// SetDataSourceId sets the DataSourceId field's value.
36008func (s *UpdateDataSourceOutput) SetDataSourceId(v string) *UpdateDataSourceOutput {
36009	s.DataSourceId = &v
36010	return s
36011}
36012
36013// SetRequestId sets the RequestId field's value.
36014func (s *UpdateDataSourceOutput) SetRequestId(v string) *UpdateDataSourceOutput {
36015	s.RequestId = &v
36016	return s
36017}
36018
36019// SetStatus sets the Status field's value.
36020func (s *UpdateDataSourceOutput) SetStatus(v int64) *UpdateDataSourceOutput {
36021	s.Status = &v
36022	return s
36023}
36024
36025// SetUpdateStatus sets the UpdateStatus field's value.
36026func (s *UpdateDataSourceOutput) SetUpdateStatus(v string) *UpdateDataSourceOutput {
36027	s.UpdateStatus = &v
36028	return s
36029}
36030
36031type UpdateDataSourcePermissionsInput struct {
36032	_ struct{} `type:"structure"`
36033
36034	// The Amazon Web Services account ID.
36035	//
36036	// AwsAccountId is a required field
36037	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
36038
36039	// The ID of the data source. This ID is unique per Amazon Web Services Region;
36040	// for each Amazon Web Services account.
36041	//
36042	// DataSourceId is a required field
36043	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
36044
36045	// A list of resource permissions that you want to grant on the data source.
36046	GrantPermissions []*ResourcePermission `min:"1" type:"list"`
36047
36048	// A list of resource permissions that you want to revoke on the data source.
36049	RevokePermissions []*ResourcePermission `min:"1" type:"list"`
36050}
36051
36052// String returns the string representation
36053func (s UpdateDataSourcePermissionsInput) String() string {
36054	return awsutil.Prettify(s)
36055}
36056
36057// GoString returns the string representation
36058func (s UpdateDataSourcePermissionsInput) GoString() string {
36059	return s.String()
36060}
36061
36062// Validate inspects the fields of the type to determine if they are valid.
36063func (s *UpdateDataSourcePermissionsInput) Validate() error {
36064	invalidParams := request.ErrInvalidParams{Context: "UpdateDataSourcePermissionsInput"}
36065	if s.AwsAccountId == nil {
36066		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
36067	}
36068	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
36069		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
36070	}
36071	if s.DataSourceId == nil {
36072		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
36073	}
36074	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
36075		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
36076	}
36077	if s.GrantPermissions != nil && len(s.GrantPermissions) < 1 {
36078		invalidParams.Add(request.NewErrParamMinLen("GrantPermissions", 1))
36079	}
36080	if s.RevokePermissions != nil && len(s.RevokePermissions) < 1 {
36081		invalidParams.Add(request.NewErrParamMinLen("RevokePermissions", 1))
36082	}
36083	if s.GrantPermissions != nil {
36084		for i, v := range s.GrantPermissions {
36085			if v == nil {
36086				continue
36087			}
36088			if err := v.Validate(); err != nil {
36089				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
36090			}
36091		}
36092	}
36093	if s.RevokePermissions != nil {
36094		for i, v := range s.RevokePermissions {
36095			if v == nil {
36096				continue
36097			}
36098			if err := v.Validate(); err != nil {
36099				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
36100			}
36101		}
36102	}
36103
36104	if invalidParams.Len() > 0 {
36105		return invalidParams
36106	}
36107	return nil
36108}
36109
36110// SetAwsAccountId sets the AwsAccountId field's value.
36111func (s *UpdateDataSourcePermissionsInput) SetAwsAccountId(v string) *UpdateDataSourcePermissionsInput {
36112	s.AwsAccountId = &v
36113	return s
36114}
36115
36116// SetDataSourceId sets the DataSourceId field's value.
36117func (s *UpdateDataSourcePermissionsInput) SetDataSourceId(v string) *UpdateDataSourcePermissionsInput {
36118	s.DataSourceId = &v
36119	return s
36120}
36121
36122// SetGrantPermissions sets the GrantPermissions field's value.
36123func (s *UpdateDataSourcePermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateDataSourcePermissionsInput {
36124	s.GrantPermissions = v
36125	return s
36126}
36127
36128// SetRevokePermissions sets the RevokePermissions field's value.
36129func (s *UpdateDataSourcePermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateDataSourcePermissionsInput {
36130	s.RevokePermissions = v
36131	return s
36132}
36133
36134type UpdateDataSourcePermissionsOutput struct {
36135	_ struct{} `type:"structure"`
36136
36137	// The Amazon Resource Name (ARN) of the data source.
36138	DataSourceArn *string `type:"string"`
36139
36140	// The ID of the data source. This ID is unique per Amazon Web Services Region;
36141	// for each Amazon Web Services account.
36142	DataSourceId *string `type:"string"`
36143
36144	// The Amazon Web Services request ID for this operation.
36145	RequestId *string `type:"string"`
36146
36147	// The HTTP status of the request.
36148	Status *int64 `location:"statusCode" type:"integer"`
36149}
36150
36151// String returns the string representation
36152func (s UpdateDataSourcePermissionsOutput) String() string {
36153	return awsutil.Prettify(s)
36154}
36155
36156// GoString returns the string representation
36157func (s UpdateDataSourcePermissionsOutput) GoString() string {
36158	return s.String()
36159}
36160
36161// SetDataSourceArn sets the DataSourceArn field's value.
36162func (s *UpdateDataSourcePermissionsOutput) SetDataSourceArn(v string) *UpdateDataSourcePermissionsOutput {
36163	s.DataSourceArn = &v
36164	return s
36165}
36166
36167// SetDataSourceId sets the DataSourceId field's value.
36168func (s *UpdateDataSourcePermissionsOutput) SetDataSourceId(v string) *UpdateDataSourcePermissionsOutput {
36169	s.DataSourceId = &v
36170	return s
36171}
36172
36173// SetRequestId sets the RequestId field's value.
36174func (s *UpdateDataSourcePermissionsOutput) SetRequestId(v string) *UpdateDataSourcePermissionsOutput {
36175	s.RequestId = &v
36176	return s
36177}
36178
36179// SetStatus sets the Status field's value.
36180func (s *UpdateDataSourcePermissionsOutput) SetStatus(v int64) *UpdateDataSourcePermissionsOutput {
36181	s.Status = &v
36182	return s
36183}
36184
36185type UpdateFolderInput struct {
36186	_ struct{} `type:"structure"`
36187
36188	// The AWS account ID.
36189	//
36190	// AwsAccountId is a required field
36191	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
36192
36193	// The folder ID.
36194	//
36195	// FolderId is a required field
36196	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
36197
36198	// The name of the folder.
36199	//
36200	// Name is a required field
36201	Name *string `min:"1" type:"string" required:"true"`
36202}
36203
36204// String returns the string representation
36205func (s UpdateFolderInput) String() string {
36206	return awsutil.Prettify(s)
36207}
36208
36209// GoString returns the string representation
36210func (s UpdateFolderInput) GoString() string {
36211	return s.String()
36212}
36213
36214// Validate inspects the fields of the type to determine if they are valid.
36215func (s *UpdateFolderInput) Validate() error {
36216	invalidParams := request.ErrInvalidParams{Context: "UpdateFolderInput"}
36217	if s.AwsAccountId == nil {
36218		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
36219	}
36220	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
36221		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
36222	}
36223	if s.FolderId == nil {
36224		invalidParams.Add(request.NewErrParamRequired("FolderId"))
36225	}
36226	if s.FolderId != nil && len(*s.FolderId) < 1 {
36227		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
36228	}
36229	if s.Name == nil {
36230		invalidParams.Add(request.NewErrParamRequired("Name"))
36231	}
36232	if s.Name != nil && len(*s.Name) < 1 {
36233		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
36234	}
36235
36236	if invalidParams.Len() > 0 {
36237		return invalidParams
36238	}
36239	return nil
36240}
36241
36242// SetAwsAccountId sets the AwsAccountId field's value.
36243func (s *UpdateFolderInput) SetAwsAccountId(v string) *UpdateFolderInput {
36244	s.AwsAccountId = &v
36245	return s
36246}
36247
36248// SetFolderId sets the FolderId field's value.
36249func (s *UpdateFolderInput) SetFolderId(v string) *UpdateFolderInput {
36250	s.FolderId = &v
36251	return s
36252}
36253
36254// SetName sets the Name field's value.
36255func (s *UpdateFolderInput) SetName(v string) *UpdateFolderInput {
36256	s.Name = &v
36257	return s
36258}
36259
36260type UpdateFolderOutput struct {
36261	_ struct{} `type:"structure"`
36262
36263	// The Amazon Resource Name (ARN).
36264	Arn *string `type:"string"`
36265
36266	// The folder ID.
36267	FolderId *string `min:"1" type:"string"`
36268
36269	// The request ID.
36270	RequestId *string `type:"string"`
36271
36272	// The status. If succeeded, the status is SC_OK.
36273	Status *int64 `location:"statusCode" type:"integer"`
36274}
36275
36276// String returns the string representation
36277func (s UpdateFolderOutput) String() string {
36278	return awsutil.Prettify(s)
36279}
36280
36281// GoString returns the string representation
36282func (s UpdateFolderOutput) GoString() string {
36283	return s.String()
36284}
36285
36286// SetArn sets the Arn field's value.
36287func (s *UpdateFolderOutput) SetArn(v string) *UpdateFolderOutput {
36288	s.Arn = &v
36289	return s
36290}
36291
36292// SetFolderId sets the FolderId field's value.
36293func (s *UpdateFolderOutput) SetFolderId(v string) *UpdateFolderOutput {
36294	s.FolderId = &v
36295	return s
36296}
36297
36298// SetRequestId sets the RequestId field's value.
36299func (s *UpdateFolderOutput) SetRequestId(v string) *UpdateFolderOutput {
36300	s.RequestId = &v
36301	return s
36302}
36303
36304// SetStatus sets the Status field's value.
36305func (s *UpdateFolderOutput) SetStatus(v int64) *UpdateFolderOutput {
36306	s.Status = &v
36307	return s
36308}
36309
36310type UpdateFolderPermissionsInput struct {
36311	_ struct{} `type:"structure"`
36312
36313	// The AWS account ID.
36314	//
36315	// AwsAccountId is a required field
36316	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
36317
36318	// The folder ID.
36319	//
36320	// FolderId is a required field
36321	FolderId *string `location:"uri" locationName:"FolderId" min:"1" type:"string" required:"true"`
36322
36323	// The permissions that you want to grant on a resource.
36324	GrantPermissions []*ResourcePermission `min:"1" type:"list"`
36325
36326	// The permissions that you want to revoke from a resource.
36327	RevokePermissions []*ResourcePermission `min:"1" type:"list"`
36328}
36329
36330// String returns the string representation
36331func (s UpdateFolderPermissionsInput) String() string {
36332	return awsutil.Prettify(s)
36333}
36334
36335// GoString returns the string representation
36336func (s UpdateFolderPermissionsInput) GoString() string {
36337	return s.String()
36338}
36339
36340// Validate inspects the fields of the type to determine if they are valid.
36341func (s *UpdateFolderPermissionsInput) Validate() error {
36342	invalidParams := request.ErrInvalidParams{Context: "UpdateFolderPermissionsInput"}
36343	if s.AwsAccountId == nil {
36344		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
36345	}
36346	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
36347		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
36348	}
36349	if s.FolderId == nil {
36350		invalidParams.Add(request.NewErrParamRequired("FolderId"))
36351	}
36352	if s.FolderId != nil && len(*s.FolderId) < 1 {
36353		invalidParams.Add(request.NewErrParamMinLen("FolderId", 1))
36354	}
36355	if s.GrantPermissions != nil && len(s.GrantPermissions) < 1 {
36356		invalidParams.Add(request.NewErrParamMinLen("GrantPermissions", 1))
36357	}
36358	if s.RevokePermissions != nil && len(s.RevokePermissions) < 1 {
36359		invalidParams.Add(request.NewErrParamMinLen("RevokePermissions", 1))
36360	}
36361	if s.GrantPermissions != nil {
36362		for i, v := range s.GrantPermissions {
36363			if v == nil {
36364				continue
36365			}
36366			if err := v.Validate(); err != nil {
36367				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
36368			}
36369		}
36370	}
36371	if s.RevokePermissions != nil {
36372		for i, v := range s.RevokePermissions {
36373			if v == nil {
36374				continue
36375			}
36376			if err := v.Validate(); err != nil {
36377				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
36378			}
36379		}
36380	}
36381
36382	if invalidParams.Len() > 0 {
36383		return invalidParams
36384	}
36385	return nil
36386}
36387
36388// SetAwsAccountId sets the AwsAccountId field's value.
36389func (s *UpdateFolderPermissionsInput) SetAwsAccountId(v string) *UpdateFolderPermissionsInput {
36390	s.AwsAccountId = &v
36391	return s
36392}
36393
36394// SetFolderId sets the FolderId field's value.
36395func (s *UpdateFolderPermissionsInput) SetFolderId(v string) *UpdateFolderPermissionsInput {
36396	s.FolderId = &v
36397	return s
36398}
36399
36400// SetGrantPermissions sets the GrantPermissions field's value.
36401func (s *UpdateFolderPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateFolderPermissionsInput {
36402	s.GrantPermissions = v
36403	return s
36404}
36405
36406// SetRevokePermissions sets the RevokePermissions field's value.
36407func (s *UpdateFolderPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateFolderPermissionsInput {
36408	s.RevokePermissions = v
36409	return s
36410}
36411
36412type UpdateFolderPermissionsOutput struct {
36413	_ struct{} `type:"structure"`
36414
36415	// The Amazon Resource Name (ARN).
36416	Arn *string `type:"string"`
36417
36418	// The folder ID.
36419	FolderId *string `min:"1" type:"string"`
36420
36421	// Information about the permissions on the dashboard.
36422	Permissions []*ResourcePermission `min:"1" type:"list"`
36423
36424	// The request ID.
36425	RequestId *string `type:"string"`
36426
36427	// The status. If succeeded, the status is SC_OK.
36428	Status *int64 `type:"integer"`
36429}
36430
36431// String returns the string representation
36432func (s UpdateFolderPermissionsOutput) String() string {
36433	return awsutil.Prettify(s)
36434}
36435
36436// GoString returns the string representation
36437func (s UpdateFolderPermissionsOutput) GoString() string {
36438	return s.String()
36439}
36440
36441// SetArn sets the Arn field's value.
36442func (s *UpdateFolderPermissionsOutput) SetArn(v string) *UpdateFolderPermissionsOutput {
36443	s.Arn = &v
36444	return s
36445}
36446
36447// SetFolderId sets the FolderId field's value.
36448func (s *UpdateFolderPermissionsOutput) SetFolderId(v string) *UpdateFolderPermissionsOutput {
36449	s.FolderId = &v
36450	return s
36451}
36452
36453// SetPermissions sets the Permissions field's value.
36454func (s *UpdateFolderPermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateFolderPermissionsOutput {
36455	s.Permissions = v
36456	return s
36457}
36458
36459// SetRequestId sets the RequestId field's value.
36460func (s *UpdateFolderPermissionsOutput) SetRequestId(v string) *UpdateFolderPermissionsOutput {
36461	s.RequestId = &v
36462	return s
36463}
36464
36465// SetStatus sets the Status field's value.
36466func (s *UpdateFolderPermissionsOutput) SetStatus(v int64) *UpdateFolderPermissionsOutput {
36467	s.Status = &v
36468	return s
36469}
36470
36471type UpdateGroupInput struct {
36472	_ struct{} `type:"structure"`
36473
36474	// The ID for the Amazon Web Services account that the group is in. Currently,
36475	// you use the ID for the Amazon Web Services account that contains your Amazon
36476	// QuickSight account.
36477	//
36478	// AwsAccountId is a required field
36479	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
36480
36481	// The description for the group that you want to update.
36482	Description *string `min:"1" type:"string"`
36483
36484	// The name of the group that you want to update.
36485	//
36486	// GroupName is a required field
36487	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
36488
36489	// The namespace. Currently, you should set this to default.
36490	//
36491	// Namespace is a required field
36492	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
36493}
36494
36495// String returns the string representation
36496func (s UpdateGroupInput) String() string {
36497	return awsutil.Prettify(s)
36498}
36499
36500// GoString returns the string representation
36501func (s UpdateGroupInput) GoString() string {
36502	return s.String()
36503}
36504
36505// Validate inspects the fields of the type to determine if they are valid.
36506func (s *UpdateGroupInput) Validate() error {
36507	invalidParams := request.ErrInvalidParams{Context: "UpdateGroupInput"}
36508	if s.AwsAccountId == nil {
36509		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
36510	}
36511	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
36512		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
36513	}
36514	if s.Description != nil && len(*s.Description) < 1 {
36515		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
36516	}
36517	if s.GroupName == nil {
36518		invalidParams.Add(request.NewErrParamRequired("GroupName"))
36519	}
36520	if s.GroupName != nil && len(*s.GroupName) < 1 {
36521		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
36522	}
36523	if s.Namespace == nil {
36524		invalidParams.Add(request.NewErrParamRequired("Namespace"))
36525	}
36526	if s.Namespace != nil && len(*s.Namespace) < 1 {
36527		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
36528	}
36529
36530	if invalidParams.Len() > 0 {
36531		return invalidParams
36532	}
36533	return nil
36534}
36535
36536// SetAwsAccountId sets the AwsAccountId field's value.
36537func (s *UpdateGroupInput) SetAwsAccountId(v string) *UpdateGroupInput {
36538	s.AwsAccountId = &v
36539	return s
36540}
36541
36542// SetDescription sets the Description field's value.
36543func (s *UpdateGroupInput) SetDescription(v string) *UpdateGroupInput {
36544	s.Description = &v
36545	return s
36546}
36547
36548// SetGroupName sets the GroupName field's value.
36549func (s *UpdateGroupInput) SetGroupName(v string) *UpdateGroupInput {
36550	s.GroupName = &v
36551	return s
36552}
36553
36554// SetNamespace sets the Namespace field's value.
36555func (s *UpdateGroupInput) SetNamespace(v string) *UpdateGroupInput {
36556	s.Namespace = &v
36557	return s
36558}
36559
36560type UpdateGroupOutput struct {
36561	_ struct{} `type:"structure"`
36562
36563	// The name of the group.
36564	Group *Group `type:"structure"`
36565
36566	// The Amazon Web Services request ID for this operation.
36567	RequestId *string `type:"string"`
36568
36569	// The HTTP status of the request.
36570	Status *int64 `location:"statusCode" type:"integer"`
36571}
36572
36573// String returns the string representation
36574func (s UpdateGroupOutput) String() string {
36575	return awsutil.Prettify(s)
36576}
36577
36578// GoString returns the string representation
36579func (s UpdateGroupOutput) GoString() string {
36580	return s.String()
36581}
36582
36583// SetGroup sets the Group field's value.
36584func (s *UpdateGroupOutput) SetGroup(v *Group) *UpdateGroupOutput {
36585	s.Group = v
36586	return s
36587}
36588
36589// SetRequestId sets the RequestId field's value.
36590func (s *UpdateGroupOutput) SetRequestId(v string) *UpdateGroupOutput {
36591	s.RequestId = &v
36592	return s
36593}
36594
36595// SetStatus sets the Status field's value.
36596func (s *UpdateGroupOutput) SetStatus(v int64) *UpdateGroupOutput {
36597	s.Status = &v
36598	return s
36599}
36600
36601type UpdateIAMPolicyAssignmentInput struct {
36602	_ struct{} `type:"structure"`
36603
36604	// The name of the assignment, also called a rule. This name must be unique
36605	// within an Amazon Web Services account.
36606	//
36607	// AssignmentName is a required field
36608	AssignmentName *string `location:"uri" locationName:"AssignmentName" min:"1" type:"string" required:"true"`
36609
36610	// The status of the assignment. Possible values are as follows:
36611	//
36612	//    * ENABLED - Anything specified in this assignment is used when creating
36613	//    the data source.
36614	//
36615	//    * DISABLED - This assignment isn't used when creating the data source.
36616	//
36617	//    * DRAFT - This assignment is an unfinished draft and isn't used when creating
36618	//    the data source.
36619	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
36620
36621	// The ID of the Amazon Web Services account that contains the IAMpolicy assignment.
36622	//
36623	// AwsAccountId is a required field
36624	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
36625
36626	// The Amazon QuickSight users, groups, or both that you want to assign the
36627	// policy to.
36628	Identities map[string][]*string `type:"map"`
36629
36630	// The namespace of the assignment.
36631	//
36632	// Namespace is a required field
36633	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
36634
36635	// The ARN for the IAMpolicy to apply to the Amazon QuickSight users and groups
36636	// specified in this assignment.
36637	PolicyArn *string `type:"string"`
36638}
36639
36640// String returns the string representation
36641func (s UpdateIAMPolicyAssignmentInput) String() string {
36642	return awsutil.Prettify(s)
36643}
36644
36645// GoString returns the string representation
36646func (s UpdateIAMPolicyAssignmentInput) GoString() string {
36647	return s.String()
36648}
36649
36650// Validate inspects the fields of the type to determine if they are valid.
36651func (s *UpdateIAMPolicyAssignmentInput) Validate() error {
36652	invalidParams := request.ErrInvalidParams{Context: "UpdateIAMPolicyAssignmentInput"}
36653	if s.AssignmentName == nil {
36654		invalidParams.Add(request.NewErrParamRequired("AssignmentName"))
36655	}
36656	if s.AssignmentName != nil && len(*s.AssignmentName) < 1 {
36657		invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1))
36658	}
36659	if s.AwsAccountId == nil {
36660		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
36661	}
36662	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
36663		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
36664	}
36665	if s.Namespace == nil {
36666		invalidParams.Add(request.NewErrParamRequired("Namespace"))
36667	}
36668	if s.Namespace != nil && len(*s.Namespace) < 1 {
36669		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
36670	}
36671
36672	if invalidParams.Len() > 0 {
36673		return invalidParams
36674	}
36675	return nil
36676}
36677
36678// SetAssignmentName sets the AssignmentName field's value.
36679func (s *UpdateIAMPolicyAssignmentInput) SetAssignmentName(v string) *UpdateIAMPolicyAssignmentInput {
36680	s.AssignmentName = &v
36681	return s
36682}
36683
36684// SetAssignmentStatus sets the AssignmentStatus field's value.
36685func (s *UpdateIAMPolicyAssignmentInput) SetAssignmentStatus(v string) *UpdateIAMPolicyAssignmentInput {
36686	s.AssignmentStatus = &v
36687	return s
36688}
36689
36690// SetAwsAccountId sets the AwsAccountId field's value.
36691func (s *UpdateIAMPolicyAssignmentInput) SetAwsAccountId(v string) *UpdateIAMPolicyAssignmentInput {
36692	s.AwsAccountId = &v
36693	return s
36694}
36695
36696// SetIdentities sets the Identities field's value.
36697func (s *UpdateIAMPolicyAssignmentInput) SetIdentities(v map[string][]*string) *UpdateIAMPolicyAssignmentInput {
36698	s.Identities = v
36699	return s
36700}
36701
36702// SetNamespace sets the Namespace field's value.
36703func (s *UpdateIAMPolicyAssignmentInput) SetNamespace(v string) *UpdateIAMPolicyAssignmentInput {
36704	s.Namespace = &v
36705	return s
36706}
36707
36708// SetPolicyArn sets the PolicyArn field's value.
36709func (s *UpdateIAMPolicyAssignmentInput) SetPolicyArn(v string) *UpdateIAMPolicyAssignmentInput {
36710	s.PolicyArn = &v
36711	return s
36712}
36713
36714type UpdateIAMPolicyAssignmentOutput struct {
36715	_ struct{} `type:"structure"`
36716
36717	// The ID of the assignment.
36718	AssignmentId *string `type:"string"`
36719
36720	// The name of the assignment or rule.
36721	AssignmentName *string `min:"1" type:"string"`
36722
36723	// The status of the assignment. Possible values are as follows:
36724	//
36725	//    * ENABLED - Anything specified in this assignment is used when creating
36726	//    the data source.
36727	//
36728	//    * DISABLED - This assignment isn't used when creating the data source.
36729	//
36730	//    * DRAFT - This assignment is an unfinished draft and isn't used when creating
36731	//    the data source.
36732	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
36733
36734	// The Amazon QuickSight users, groups, or both that the IAMpolicy is assigned
36735	// to.
36736	Identities map[string][]*string `type:"map"`
36737
36738	// The ARN for the IAMpolicy applied to the Amazon QuickSight users and groups
36739	// specified in this assignment.
36740	PolicyArn *string `type:"string"`
36741
36742	// The Amazon Web Services request ID for this operation.
36743	RequestId *string `type:"string"`
36744
36745	// The HTTP status of the request.
36746	Status *int64 `location:"statusCode" type:"integer"`
36747}
36748
36749// String returns the string representation
36750func (s UpdateIAMPolicyAssignmentOutput) String() string {
36751	return awsutil.Prettify(s)
36752}
36753
36754// GoString returns the string representation
36755func (s UpdateIAMPolicyAssignmentOutput) GoString() string {
36756	return s.String()
36757}
36758
36759// SetAssignmentId sets the AssignmentId field's value.
36760func (s *UpdateIAMPolicyAssignmentOutput) SetAssignmentId(v string) *UpdateIAMPolicyAssignmentOutput {
36761	s.AssignmentId = &v
36762	return s
36763}
36764
36765// SetAssignmentName sets the AssignmentName field's value.
36766func (s *UpdateIAMPolicyAssignmentOutput) SetAssignmentName(v string) *UpdateIAMPolicyAssignmentOutput {
36767	s.AssignmentName = &v
36768	return s
36769}
36770
36771// SetAssignmentStatus sets the AssignmentStatus field's value.
36772func (s *UpdateIAMPolicyAssignmentOutput) SetAssignmentStatus(v string) *UpdateIAMPolicyAssignmentOutput {
36773	s.AssignmentStatus = &v
36774	return s
36775}
36776
36777// SetIdentities sets the Identities field's value.
36778func (s *UpdateIAMPolicyAssignmentOutput) SetIdentities(v map[string][]*string) *UpdateIAMPolicyAssignmentOutput {
36779	s.Identities = v
36780	return s
36781}
36782
36783// SetPolicyArn sets the PolicyArn field's value.
36784func (s *UpdateIAMPolicyAssignmentOutput) SetPolicyArn(v string) *UpdateIAMPolicyAssignmentOutput {
36785	s.PolicyArn = &v
36786	return s
36787}
36788
36789// SetRequestId sets the RequestId field's value.
36790func (s *UpdateIAMPolicyAssignmentOutput) SetRequestId(v string) *UpdateIAMPolicyAssignmentOutput {
36791	s.RequestId = &v
36792	return s
36793}
36794
36795// SetStatus sets the Status field's value.
36796func (s *UpdateIAMPolicyAssignmentOutput) SetStatus(v int64) *UpdateIAMPolicyAssignmentOutput {
36797	s.Status = &v
36798	return s
36799}
36800
36801type UpdateTemplateAliasInput struct {
36802	_ struct{} `type:"structure"`
36803
36804	// The alias of the template that you want to update. If you name a specific
36805	// alias, you update the version that the alias points to. You can specify the
36806	// latest version of the template by providing the keyword $LATEST in the AliasName
36807	// parameter. The keyword $PUBLISHED doesn't apply to templates.
36808	//
36809	// AliasName is a required field
36810	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
36811
36812	// The ID of the Amazon Web Services account that contains the template alias
36813	// that you're updating.
36814	//
36815	// AwsAccountId is a required field
36816	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
36817
36818	// The ID for the template.
36819	//
36820	// TemplateId is a required field
36821	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
36822
36823	// The version number of the template.
36824	//
36825	// TemplateVersionNumber is a required field
36826	TemplateVersionNumber *int64 `min:"1" type:"long" required:"true"`
36827}
36828
36829// String returns the string representation
36830func (s UpdateTemplateAliasInput) String() string {
36831	return awsutil.Prettify(s)
36832}
36833
36834// GoString returns the string representation
36835func (s UpdateTemplateAliasInput) GoString() string {
36836	return s.String()
36837}
36838
36839// Validate inspects the fields of the type to determine if they are valid.
36840func (s *UpdateTemplateAliasInput) Validate() error {
36841	invalidParams := request.ErrInvalidParams{Context: "UpdateTemplateAliasInput"}
36842	if s.AliasName == nil {
36843		invalidParams.Add(request.NewErrParamRequired("AliasName"))
36844	}
36845	if s.AliasName != nil && len(*s.AliasName) < 1 {
36846		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
36847	}
36848	if s.AwsAccountId == nil {
36849		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
36850	}
36851	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
36852		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
36853	}
36854	if s.TemplateId == nil {
36855		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
36856	}
36857	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
36858		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
36859	}
36860	if s.TemplateVersionNumber == nil {
36861		invalidParams.Add(request.NewErrParamRequired("TemplateVersionNumber"))
36862	}
36863	if s.TemplateVersionNumber != nil && *s.TemplateVersionNumber < 1 {
36864		invalidParams.Add(request.NewErrParamMinValue("TemplateVersionNumber", 1))
36865	}
36866
36867	if invalidParams.Len() > 0 {
36868		return invalidParams
36869	}
36870	return nil
36871}
36872
36873// SetAliasName sets the AliasName field's value.
36874func (s *UpdateTemplateAliasInput) SetAliasName(v string) *UpdateTemplateAliasInput {
36875	s.AliasName = &v
36876	return s
36877}
36878
36879// SetAwsAccountId sets the AwsAccountId field's value.
36880func (s *UpdateTemplateAliasInput) SetAwsAccountId(v string) *UpdateTemplateAliasInput {
36881	s.AwsAccountId = &v
36882	return s
36883}
36884
36885// SetTemplateId sets the TemplateId field's value.
36886func (s *UpdateTemplateAliasInput) SetTemplateId(v string) *UpdateTemplateAliasInput {
36887	s.TemplateId = &v
36888	return s
36889}
36890
36891// SetTemplateVersionNumber sets the TemplateVersionNumber field's value.
36892func (s *UpdateTemplateAliasInput) SetTemplateVersionNumber(v int64) *UpdateTemplateAliasInput {
36893	s.TemplateVersionNumber = &v
36894	return s
36895}
36896
36897type UpdateTemplateAliasOutput struct {
36898	_ struct{} `type:"structure"`
36899
36900	// The Amazon Web Services request ID for this operation.
36901	RequestId *string `type:"string"`
36902
36903	// The HTTP status of the request.
36904	Status *int64 `location:"statusCode" type:"integer"`
36905
36906	// The template alias.
36907	TemplateAlias *TemplateAlias `type:"structure"`
36908}
36909
36910// String returns the string representation
36911func (s UpdateTemplateAliasOutput) String() string {
36912	return awsutil.Prettify(s)
36913}
36914
36915// GoString returns the string representation
36916func (s UpdateTemplateAliasOutput) GoString() string {
36917	return s.String()
36918}
36919
36920// SetRequestId sets the RequestId field's value.
36921func (s *UpdateTemplateAliasOutput) SetRequestId(v string) *UpdateTemplateAliasOutput {
36922	s.RequestId = &v
36923	return s
36924}
36925
36926// SetStatus sets the Status field's value.
36927func (s *UpdateTemplateAliasOutput) SetStatus(v int64) *UpdateTemplateAliasOutput {
36928	s.Status = &v
36929	return s
36930}
36931
36932// SetTemplateAlias sets the TemplateAlias field's value.
36933func (s *UpdateTemplateAliasOutput) SetTemplateAlias(v *TemplateAlias) *UpdateTemplateAliasOutput {
36934	s.TemplateAlias = v
36935	return s
36936}
36937
36938type UpdateTemplateInput struct {
36939	_ struct{} `type:"structure"`
36940
36941	// The ID of the Amazon Web Services account that contains the template that
36942	// you're updating.
36943	//
36944	// AwsAccountId is a required field
36945	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
36946
36947	// The name for the template.
36948	Name *string `min:"1" type:"string"`
36949
36950	// The entity that you are using as a source when you update the template. In
36951	// SourceEntity, you specify the type of object you're using as source: SourceTemplate
36952	// for a template or SourceAnalysis for an analysis. Both of these require an
36953	// Amazon Resource Name (ARN). For SourceTemplate, specify the ARN of the source
36954	// template. For SourceAnalysis, specify the ARN of the source analysis. The
36955	// SourceTemplate ARN can contain any Amazon Web Services account and any Amazon
36956	// QuickSight-supported Amazon Web Services Region;.
36957	//
36958	// Use the DataSetReferences entity within SourceTemplate or SourceAnalysis
36959	// to list the replacement datasets for the placeholders listed in the original.
36960	// The schema in each dataset must match its placeholder.
36961	//
36962	// SourceEntity is a required field
36963	SourceEntity *TemplateSourceEntity `type:"structure" required:"true"`
36964
36965	// The ID for the template.
36966	//
36967	// TemplateId is a required field
36968	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
36969
36970	// A description of the current template version that is being updated. Every
36971	// time you call UpdateTemplate, you create a new version of the template. Each
36972	// version of the template maintains a description of the version in the VersionDescription
36973	// field.
36974	VersionDescription *string `min:"1" type:"string"`
36975}
36976
36977// String returns the string representation
36978func (s UpdateTemplateInput) String() string {
36979	return awsutil.Prettify(s)
36980}
36981
36982// GoString returns the string representation
36983func (s UpdateTemplateInput) GoString() string {
36984	return s.String()
36985}
36986
36987// Validate inspects the fields of the type to determine if they are valid.
36988func (s *UpdateTemplateInput) Validate() error {
36989	invalidParams := request.ErrInvalidParams{Context: "UpdateTemplateInput"}
36990	if s.AwsAccountId == nil {
36991		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
36992	}
36993	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
36994		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
36995	}
36996	if s.Name != nil && len(*s.Name) < 1 {
36997		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
36998	}
36999	if s.SourceEntity == nil {
37000		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
37001	}
37002	if s.TemplateId == nil {
37003		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
37004	}
37005	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
37006		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
37007	}
37008	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
37009		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
37010	}
37011	if s.SourceEntity != nil {
37012		if err := s.SourceEntity.Validate(); err != nil {
37013			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
37014		}
37015	}
37016
37017	if invalidParams.Len() > 0 {
37018		return invalidParams
37019	}
37020	return nil
37021}
37022
37023// SetAwsAccountId sets the AwsAccountId field's value.
37024func (s *UpdateTemplateInput) SetAwsAccountId(v string) *UpdateTemplateInput {
37025	s.AwsAccountId = &v
37026	return s
37027}
37028
37029// SetName sets the Name field's value.
37030func (s *UpdateTemplateInput) SetName(v string) *UpdateTemplateInput {
37031	s.Name = &v
37032	return s
37033}
37034
37035// SetSourceEntity sets the SourceEntity field's value.
37036func (s *UpdateTemplateInput) SetSourceEntity(v *TemplateSourceEntity) *UpdateTemplateInput {
37037	s.SourceEntity = v
37038	return s
37039}
37040
37041// SetTemplateId sets the TemplateId field's value.
37042func (s *UpdateTemplateInput) SetTemplateId(v string) *UpdateTemplateInput {
37043	s.TemplateId = &v
37044	return s
37045}
37046
37047// SetVersionDescription sets the VersionDescription field's value.
37048func (s *UpdateTemplateInput) SetVersionDescription(v string) *UpdateTemplateInput {
37049	s.VersionDescription = &v
37050	return s
37051}
37052
37053type UpdateTemplateOutput struct {
37054	_ struct{} `type:"structure"`
37055
37056	// The Amazon Resource Name (ARN) for the template.
37057	Arn *string `type:"string"`
37058
37059	// The creation status of the template.
37060	CreationStatus *string `type:"string" enum:"ResourceStatus"`
37061
37062	// The Amazon Web Services request ID for this operation.
37063	RequestId *string `type:"string"`
37064
37065	// The HTTP status of the request.
37066	Status *int64 `location:"statusCode" type:"integer"`
37067
37068	// The ID for the template.
37069	TemplateId *string `min:"1" type:"string"`
37070
37071	// The ARN for the template, including the version information of the first
37072	// version.
37073	VersionArn *string `type:"string"`
37074}
37075
37076// String returns the string representation
37077func (s UpdateTemplateOutput) String() string {
37078	return awsutil.Prettify(s)
37079}
37080
37081// GoString returns the string representation
37082func (s UpdateTemplateOutput) GoString() string {
37083	return s.String()
37084}
37085
37086// SetArn sets the Arn field's value.
37087func (s *UpdateTemplateOutput) SetArn(v string) *UpdateTemplateOutput {
37088	s.Arn = &v
37089	return s
37090}
37091
37092// SetCreationStatus sets the CreationStatus field's value.
37093func (s *UpdateTemplateOutput) SetCreationStatus(v string) *UpdateTemplateOutput {
37094	s.CreationStatus = &v
37095	return s
37096}
37097
37098// SetRequestId sets the RequestId field's value.
37099func (s *UpdateTemplateOutput) SetRequestId(v string) *UpdateTemplateOutput {
37100	s.RequestId = &v
37101	return s
37102}
37103
37104// SetStatus sets the Status field's value.
37105func (s *UpdateTemplateOutput) SetStatus(v int64) *UpdateTemplateOutput {
37106	s.Status = &v
37107	return s
37108}
37109
37110// SetTemplateId sets the TemplateId field's value.
37111func (s *UpdateTemplateOutput) SetTemplateId(v string) *UpdateTemplateOutput {
37112	s.TemplateId = &v
37113	return s
37114}
37115
37116// SetVersionArn sets the VersionArn field's value.
37117func (s *UpdateTemplateOutput) SetVersionArn(v string) *UpdateTemplateOutput {
37118	s.VersionArn = &v
37119	return s
37120}
37121
37122type UpdateTemplatePermissionsInput struct {
37123	_ struct{} `type:"structure"`
37124
37125	// The ID of the Amazon Web Services account that contains the template.
37126	//
37127	// AwsAccountId is a required field
37128	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
37129
37130	// A list of resource permissions to be granted on the template.
37131	GrantPermissions []*ResourcePermission `type:"list"`
37132
37133	// A list of resource permissions to be revoked from the template.
37134	RevokePermissions []*ResourcePermission `type:"list"`
37135
37136	// The ID for the template.
37137	//
37138	// TemplateId is a required field
37139	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
37140}
37141
37142// String returns the string representation
37143func (s UpdateTemplatePermissionsInput) String() string {
37144	return awsutil.Prettify(s)
37145}
37146
37147// GoString returns the string representation
37148func (s UpdateTemplatePermissionsInput) GoString() string {
37149	return s.String()
37150}
37151
37152// Validate inspects the fields of the type to determine if they are valid.
37153func (s *UpdateTemplatePermissionsInput) Validate() error {
37154	invalidParams := request.ErrInvalidParams{Context: "UpdateTemplatePermissionsInput"}
37155	if s.AwsAccountId == nil {
37156		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
37157	}
37158	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
37159		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
37160	}
37161	if s.TemplateId == nil {
37162		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
37163	}
37164	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
37165		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
37166	}
37167	if s.GrantPermissions != nil {
37168		for i, v := range s.GrantPermissions {
37169			if v == nil {
37170				continue
37171			}
37172			if err := v.Validate(); err != nil {
37173				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
37174			}
37175		}
37176	}
37177	if s.RevokePermissions != nil {
37178		for i, v := range s.RevokePermissions {
37179			if v == nil {
37180				continue
37181			}
37182			if err := v.Validate(); err != nil {
37183				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
37184			}
37185		}
37186	}
37187
37188	if invalidParams.Len() > 0 {
37189		return invalidParams
37190	}
37191	return nil
37192}
37193
37194// SetAwsAccountId sets the AwsAccountId field's value.
37195func (s *UpdateTemplatePermissionsInput) SetAwsAccountId(v string) *UpdateTemplatePermissionsInput {
37196	s.AwsAccountId = &v
37197	return s
37198}
37199
37200// SetGrantPermissions sets the GrantPermissions field's value.
37201func (s *UpdateTemplatePermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateTemplatePermissionsInput {
37202	s.GrantPermissions = v
37203	return s
37204}
37205
37206// SetRevokePermissions sets the RevokePermissions field's value.
37207func (s *UpdateTemplatePermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateTemplatePermissionsInput {
37208	s.RevokePermissions = v
37209	return s
37210}
37211
37212// SetTemplateId sets the TemplateId field's value.
37213func (s *UpdateTemplatePermissionsInput) SetTemplateId(v string) *UpdateTemplatePermissionsInput {
37214	s.TemplateId = &v
37215	return s
37216}
37217
37218type UpdateTemplatePermissionsOutput struct {
37219	_ struct{} `type:"structure"`
37220
37221	// A list of resource permissions to be set on the template.
37222	Permissions []*ResourcePermission `min:"1" type:"list"`
37223
37224	// The Amazon Web Services request ID for this operation.
37225	RequestId *string `type:"string"`
37226
37227	// The HTTP status of the request.
37228	Status *int64 `location:"statusCode" type:"integer"`
37229
37230	// The Amazon Resource Name (ARN) of the template.
37231	TemplateArn *string `type:"string"`
37232
37233	// The ID for the template.
37234	TemplateId *string `min:"1" type:"string"`
37235}
37236
37237// String returns the string representation
37238func (s UpdateTemplatePermissionsOutput) String() string {
37239	return awsutil.Prettify(s)
37240}
37241
37242// GoString returns the string representation
37243func (s UpdateTemplatePermissionsOutput) GoString() string {
37244	return s.String()
37245}
37246
37247// SetPermissions sets the Permissions field's value.
37248func (s *UpdateTemplatePermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateTemplatePermissionsOutput {
37249	s.Permissions = v
37250	return s
37251}
37252
37253// SetRequestId sets the RequestId field's value.
37254func (s *UpdateTemplatePermissionsOutput) SetRequestId(v string) *UpdateTemplatePermissionsOutput {
37255	s.RequestId = &v
37256	return s
37257}
37258
37259// SetStatus sets the Status field's value.
37260func (s *UpdateTemplatePermissionsOutput) SetStatus(v int64) *UpdateTemplatePermissionsOutput {
37261	s.Status = &v
37262	return s
37263}
37264
37265// SetTemplateArn sets the TemplateArn field's value.
37266func (s *UpdateTemplatePermissionsOutput) SetTemplateArn(v string) *UpdateTemplatePermissionsOutput {
37267	s.TemplateArn = &v
37268	return s
37269}
37270
37271// SetTemplateId sets the TemplateId field's value.
37272func (s *UpdateTemplatePermissionsOutput) SetTemplateId(v string) *UpdateTemplatePermissionsOutput {
37273	s.TemplateId = &v
37274	return s
37275}
37276
37277type UpdateThemeAliasInput struct {
37278	_ struct{} `type:"structure"`
37279
37280	// The name of the theme alias that you want to update.
37281	//
37282	// AliasName is a required field
37283	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
37284
37285	// The ID of the Amazon Web Services account that contains the theme alias that
37286	// you're updating.
37287	//
37288	// AwsAccountId is a required field
37289	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
37290
37291	// The ID for the theme.
37292	//
37293	// ThemeId is a required field
37294	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
37295
37296	// The version number of the theme that the alias should reference.
37297	//
37298	// ThemeVersionNumber is a required field
37299	ThemeVersionNumber *int64 `min:"1" type:"long" required:"true"`
37300}
37301
37302// String returns the string representation
37303func (s UpdateThemeAliasInput) String() string {
37304	return awsutil.Prettify(s)
37305}
37306
37307// GoString returns the string representation
37308func (s UpdateThemeAliasInput) GoString() string {
37309	return s.String()
37310}
37311
37312// Validate inspects the fields of the type to determine if they are valid.
37313func (s *UpdateThemeAliasInput) Validate() error {
37314	invalidParams := request.ErrInvalidParams{Context: "UpdateThemeAliasInput"}
37315	if s.AliasName == nil {
37316		invalidParams.Add(request.NewErrParamRequired("AliasName"))
37317	}
37318	if s.AliasName != nil && len(*s.AliasName) < 1 {
37319		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
37320	}
37321	if s.AwsAccountId == nil {
37322		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
37323	}
37324	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
37325		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
37326	}
37327	if s.ThemeId == nil {
37328		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
37329	}
37330	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
37331		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
37332	}
37333	if s.ThemeVersionNumber == nil {
37334		invalidParams.Add(request.NewErrParamRequired("ThemeVersionNumber"))
37335	}
37336	if s.ThemeVersionNumber != nil && *s.ThemeVersionNumber < 1 {
37337		invalidParams.Add(request.NewErrParamMinValue("ThemeVersionNumber", 1))
37338	}
37339
37340	if invalidParams.Len() > 0 {
37341		return invalidParams
37342	}
37343	return nil
37344}
37345
37346// SetAliasName sets the AliasName field's value.
37347func (s *UpdateThemeAliasInput) SetAliasName(v string) *UpdateThemeAliasInput {
37348	s.AliasName = &v
37349	return s
37350}
37351
37352// SetAwsAccountId sets the AwsAccountId field's value.
37353func (s *UpdateThemeAliasInput) SetAwsAccountId(v string) *UpdateThemeAliasInput {
37354	s.AwsAccountId = &v
37355	return s
37356}
37357
37358// SetThemeId sets the ThemeId field's value.
37359func (s *UpdateThemeAliasInput) SetThemeId(v string) *UpdateThemeAliasInput {
37360	s.ThemeId = &v
37361	return s
37362}
37363
37364// SetThemeVersionNumber sets the ThemeVersionNumber field's value.
37365func (s *UpdateThemeAliasInput) SetThemeVersionNumber(v int64) *UpdateThemeAliasInput {
37366	s.ThemeVersionNumber = &v
37367	return s
37368}
37369
37370type UpdateThemeAliasOutput struct {
37371	_ struct{} `type:"structure"`
37372
37373	// The Amazon Web Services request ID for this operation.
37374	RequestId *string `type:"string"`
37375
37376	// The HTTP status of the request.
37377	Status *int64 `location:"statusCode" type:"integer"`
37378
37379	// Information about the theme alias.
37380	ThemeAlias *ThemeAlias `type:"structure"`
37381}
37382
37383// String returns the string representation
37384func (s UpdateThemeAliasOutput) String() string {
37385	return awsutil.Prettify(s)
37386}
37387
37388// GoString returns the string representation
37389func (s UpdateThemeAliasOutput) GoString() string {
37390	return s.String()
37391}
37392
37393// SetRequestId sets the RequestId field's value.
37394func (s *UpdateThemeAliasOutput) SetRequestId(v string) *UpdateThemeAliasOutput {
37395	s.RequestId = &v
37396	return s
37397}
37398
37399// SetStatus sets the Status field's value.
37400func (s *UpdateThemeAliasOutput) SetStatus(v int64) *UpdateThemeAliasOutput {
37401	s.Status = &v
37402	return s
37403}
37404
37405// SetThemeAlias sets the ThemeAlias field's value.
37406func (s *UpdateThemeAliasOutput) SetThemeAlias(v *ThemeAlias) *UpdateThemeAliasOutput {
37407	s.ThemeAlias = v
37408	return s
37409}
37410
37411type UpdateThemeInput struct {
37412	_ struct{} `type:"structure"`
37413
37414	// The ID of the Amazon Web Services account that contains the theme that you're
37415	// updating.
37416	//
37417	// AwsAccountId is a required field
37418	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
37419
37420	// The theme ID, defined by Amazon QuickSight, that a custom theme inherits
37421	// from. All themes initially inherit from a default Amazon QuickSight theme.
37422	//
37423	// BaseThemeId is a required field
37424	BaseThemeId *string `min:"1" type:"string" required:"true"`
37425
37426	// The theme configuration, which contains the theme display properties.
37427	Configuration *ThemeConfiguration `type:"structure"`
37428
37429	// The name for the theme.
37430	Name *string `min:"1" type:"string"`
37431
37432	// The ID for the theme.
37433	//
37434	// ThemeId is a required field
37435	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
37436
37437	// A description of the theme version that you're updating Every time that you
37438	// call UpdateTheme, you create a new version of the theme. Each version of
37439	// the theme maintains a description of the version in VersionDescription.
37440	VersionDescription *string `min:"1" type:"string"`
37441}
37442
37443// String returns the string representation
37444func (s UpdateThemeInput) String() string {
37445	return awsutil.Prettify(s)
37446}
37447
37448// GoString returns the string representation
37449func (s UpdateThemeInput) GoString() string {
37450	return s.String()
37451}
37452
37453// Validate inspects the fields of the type to determine if they are valid.
37454func (s *UpdateThemeInput) Validate() error {
37455	invalidParams := request.ErrInvalidParams{Context: "UpdateThemeInput"}
37456	if s.AwsAccountId == nil {
37457		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
37458	}
37459	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
37460		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
37461	}
37462	if s.BaseThemeId == nil {
37463		invalidParams.Add(request.NewErrParamRequired("BaseThemeId"))
37464	}
37465	if s.BaseThemeId != nil && len(*s.BaseThemeId) < 1 {
37466		invalidParams.Add(request.NewErrParamMinLen("BaseThemeId", 1))
37467	}
37468	if s.Name != nil && len(*s.Name) < 1 {
37469		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
37470	}
37471	if s.ThemeId == nil {
37472		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
37473	}
37474	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
37475		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
37476	}
37477	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
37478		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
37479	}
37480
37481	if invalidParams.Len() > 0 {
37482		return invalidParams
37483	}
37484	return nil
37485}
37486
37487// SetAwsAccountId sets the AwsAccountId field's value.
37488func (s *UpdateThemeInput) SetAwsAccountId(v string) *UpdateThemeInput {
37489	s.AwsAccountId = &v
37490	return s
37491}
37492
37493// SetBaseThemeId sets the BaseThemeId field's value.
37494func (s *UpdateThemeInput) SetBaseThemeId(v string) *UpdateThemeInput {
37495	s.BaseThemeId = &v
37496	return s
37497}
37498
37499// SetConfiguration sets the Configuration field's value.
37500func (s *UpdateThemeInput) SetConfiguration(v *ThemeConfiguration) *UpdateThemeInput {
37501	s.Configuration = v
37502	return s
37503}
37504
37505// SetName sets the Name field's value.
37506func (s *UpdateThemeInput) SetName(v string) *UpdateThemeInput {
37507	s.Name = &v
37508	return s
37509}
37510
37511// SetThemeId sets the ThemeId field's value.
37512func (s *UpdateThemeInput) SetThemeId(v string) *UpdateThemeInput {
37513	s.ThemeId = &v
37514	return s
37515}
37516
37517// SetVersionDescription sets the VersionDescription field's value.
37518func (s *UpdateThemeInput) SetVersionDescription(v string) *UpdateThemeInput {
37519	s.VersionDescription = &v
37520	return s
37521}
37522
37523type UpdateThemeOutput struct {
37524	_ struct{} `type:"structure"`
37525
37526	// The Amazon Resource Name (ARN) for the theme.
37527	Arn *string `type:"string"`
37528
37529	// The creation status of the theme.
37530	CreationStatus *string `type:"string" enum:"ResourceStatus"`
37531
37532	// The Amazon Web Services request ID for this operation.
37533	RequestId *string `type:"string"`
37534
37535	// The HTTP status of the request.
37536	Status *int64 `location:"statusCode" type:"integer"`
37537
37538	// The ID for the theme.
37539	ThemeId *string `min:"1" type:"string"`
37540
37541	// The Amazon Resource Name (ARN) for the new version of the theme.
37542	VersionArn *string `type:"string"`
37543}
37544
37545// String returns the string representation
37546func (s UpdateThemeOutput) String() string {
37547	return awsutil.Prettify(s)
37548}
37549
37550// GoString returns the string representation
37551func (s UpdateThemeOutput) GoString() string {
37552	return s.String()
37553}
37554
37555// SetArn sets the Arn field's value.
37556func (s *UpdateThemeOutput) SetArn(v string) *UpdateThemeOutput {
37557	s.Arn = &v
37558	return s
37559}
37560
37561// SetCreationStatus sets the CreationStatus field's value.
37562func (s *UpdateThemeOutput) SetCreationStatus(v string) *UpdateThemeOutput {
37563	s.CreationStatus = &v
37564	return s
37565}
37566
37567// SetRequestId sets the RequestId field's value.
37568func (s *UpdateThemeOutput) SetRequestId(v string) *UpdateThemeOutput {
37569	s.RequestId = &v
37570	return s
37571}
37572
37573// SetStatus sets the Status field's value.
37574func (s *UpdateThemeOutput) SetStatus(v int64) *UpdateThemeOutput {
37575	s.Status = &v
37576	return s
37577}
37578
37579// SetThemeId sets the ThemeId field's value.
37580func (s *UpdateThemeOutput) SetThemeId(v string) *UpdateThemeOutput {
37581	s.ThemeId = &v
37582	return s
37583}
37584
37585// SetVersionArn sets the VersionArn field's value.
37586func (s *UpdateThemeOutput) SetVersionArn(v string) *UpdateThemeOutput {
37587	s.VersionArn = &v
37588	return s
37589}
37590
37591type UpdateThemePermissionsInput struct {
37592	_ struct{} `type:"structure"`
37593
37594	// The ID of the Amazon Web Services account that contains the theme.
37595	//
37596	// AwsAccountId is a required field
37597	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
37598
37599	// A list of resource permissions to be granted for the theme.
37600	GrantPermissions []*ResourcePermission `type:"list"`
37601
37602	// A list of resource permissions to be revoked from the theme.
37603	RevokePermissions []*ResourcePermission `type:"list"`
37604
37605	// The ID for the theme.
37606	//
37607	// ThemeId is a required field
37608	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
37609}
37610
37611// String returns the string representation
37612func (s UpdateThemePermissionsInput) String() string {
37613	return awsutil.Prettify(s)
37614}
37615
37616// GoString returns the string representation
37617func (s UpdateThemePermissionsInput) GoString() string {
37618	return s.String()
37619}
37620
37621// Validate inspects the fields of the type to determine if they are valid.
37622func (s *UpdateThemePermissionsInput) Validate() error {
37623	invalidParams := request.ErrInvalidParams{Context: "UpdateThemePermissionsInput"}
37624	if s.AwsAccountId == nil {
37625		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
37626	}
37627	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
37628		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
37629	}
37630	if s.ThemeId == nil {
37631		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
37632	}
37633	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
37634		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
37635	}
37636	if s.GrantPermissions != nil {
37637		for i, v := range s.GrantPermissions {
37638			if v == nil {
37639				continue
37640			}
37641			if err := v.Validate(); err != nil {
37642				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
37643			}
37644		}
37645	}
37646	if s.RevokePermissions != nil {
37647		for i, v := range s.RevokePermissions {
37648			if v == nil {
37649				continue
37650			}
37651			if err := v.Validate(); err != nil {
37652				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
37653			}
37654		}
37655	}
37656
37657	if invalidParams.Len() > 0 {
37658		return invalidParams
37659	}
37660	return nil
37661}
37662
37663// SetAwsAccountId sets the AwsAccountId field's value.
37664func (s *UpdateThemePermissionsInput) SetAwsAccountId(v string) *UpdateThemePermissionsInput {
37665	s.AwsAccountId = &v
37666	return s
37667}
37668
37669// SetGrantPermissions sets the GrantPermissions field's value.
37670func (s *UpdateThemePermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateThemePermissionsInput {
37671	s.GrantPermissions = v
37672	return s
37673}
37674
37675// SetRevokePermissions sets the RevokePermissions field's value.
37676func (s *UpdateThemePermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateThemePermissionsInput {
37677	s.RevokePermissions = v
37678	return s
37679}
37680
37681// SetThemeId sets the ThemeId field's value.
37682func (s *UpdateThemePermissionsInput) SetThemeId(v string) *UpdateThemePermissionsInput {
37683	s.ThemeId = &v
37684	return s
37685}
37686
37687type UpdateThemePermissionsOutput struct {
37688	_ struct{} `type:"structure"`
37689
37690	// The resulting list of resource permissions for the theme.
37691	Permissions []*ResourcePermission `min:"1" type:"list"`
37692
37693	// The Amazon Web Services request ID for this operation.
37694	RequestId *string `type:"string"`
37695
37696	// The HTTP status of the request.
37697	Status *int64 `location:"statusCode" type:"integer"`
37698
37699	// The Amazon Resource Name (ARN) of the theme.
37700	ThemeArn *string `type:"string"`
37701
37702	// The ID for the theme.
37703	ThemeId *string `min:"1" type:"string"`
37704}
37705
37706// String returns the string representation
37707func (s UpdateThemePermissionsOutput) String() string {
37708	return awsutil.Prettify(s)
37709}
37710
37711// GoString returns the string representation
37712func (s UpdateThemePermissionsOutput) GoString() string {
37713	return s.String()
37714}
37715
37716// SetPermissions sets the Permissions field's value.
37717func (s *UpdateThemePermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateThemePermissionsOutput {
37718	s.Permissions = v
37719	return s
37720}
37721
37722// SetRequestId sets the RequestId field's value.
37723func (s *UpdateThemePermissionsOutput) SetRequestId(v string) *UpdateThemePermissionsOutput {
37724	s.RequestId = &v
37725	return s
37726}
37727
37728// SetStatus sets the Status field's value.
37729func (s *UpdateThemePermissionsOutput) SetStatus(v int64) *UpdateThemePermissionsOutput {
37730	s.Status = &v
37731	return s
37732}
37733
37734// SetThemeArn sets the ThemeArn field's value.
37735func (s *UpdateThemePermissionsOutput) SetThemeArn(v string) *UpdateThemePermissionsOutput {
37736	s.ThemeArn = &v
37737	return s
37738}
37739
37740// SetThemeId sets the ThemeId field's value.
37741func (s *UpdateThemePermissionsOutput) SetThemeId(v string) *UpdateThemePermissionsOutput {
37742	s.ThemeId = &v
37743	return s
37744}
37745
37746type UpdateUserInput struct {
37747	_ struct{} `type:"structure"`
37748
37749	// The ID for the Amazon Web Services account that the user is in. Currently,
37750	// you use the ID for the Amazon Web Services account that contains your Amazon
37751	// QuickSight account.
37752	//
37753	// AwsAccountId is a required field
37754	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
37755
37756	// The URL of the custom OpenID Connect (OIDC) provider that provides identity
37757	// to let a user federate into Amazon QuickSight with an associated Identity
37758	// and Access Management(IAM) role. This parameter should only be used when
37759	// ExternalLoginFederationProviderType parameter is set to CUSTOM_OIDC.
37760	CustomFederationProviderUrl *string `type:"string"`
37761
37762	// (Enterprise edition only) The name of the custom permissions profile that
37763	// you want to assign to this user. Customized permissions allows you to control
37764	// a user's access by restricting access the following operations:
37765	//
37766	//    * Create and update data sources
37767	//
37768	//    * Create and update datasets
37769	//
37770	//    * Create and update email reports
37771	//
37772	//    * Subscribe to email reports
37773	//
37774	// A set of custom permissions includes any combination of these restrictions.
37775	// Currently, you need to create the profile names for custom permission sets
37776	// by using the Amazon QuickSight console. Then, you use the RegisterUser API
37777	// operation to assign the named set of permissions to a Amazon QuickSight user.
37778	//
37779	// Amazon QuickSight custom permissions are applied through IAMpolicies. Therefore,
37780	// they override the permissions typically granted by assigning Amazon QuickSight
37781	// users to one of the default security cohorts in Amazon QuickSight (admin,
37782	// author, reader).
37783	//
37784	// This feature is available only to Amazon QuickSight Enterprise edition subscriptions.
37785	CustomPermissionsName *string `min:"1" type:"string"`
37786
37787	// The email address of the user that you want to update.
37788	//
37789	// Email is a required field
37790	Email *string `type:"string" required:"true"`
37791
37792	// The type of supported external login provider that provides identity to let
37793	// a user federate into Amazon QuickSight with an associated Identity and Access
37794	// Management(IAM) role. The type of supported external login provider can be
37795	// one of the following.
37796	//
37797	//    * COGNITO: Amazon Cognito. The provider URL is cognito-identity.amazonaws.com.
37798	//    When choosing the COGNITO provider type, don’t use the "CustomFederationProviderUrl"
37799	//    parameter which is only needed when the external provider is custom.
37800	//
37801	//    * CUSTOM_OIDC: Custom OpenID Connect (OIDC) provider. When choosing CUSTOM_OIDC
37802	//    type, use the CustomFederationProviderUrl parameter to provide the custom
37803	//    OIDC provider URL.
37804	//
37805	//    * NONE: This clears all the previously saved external login information
37806	//    for a user. Use DescribeUser API to check the external login information.
37807	ExternalLoginFederationProviderType *string `type:"string"`
37808
37809	// The identity ID for a user in the external login provider.
37810	ExternalLoginId *string `type:"string"`
37811
37812	// The namespace. Currently, you should set this to default.
37813	//
37814	// Namespace is a required field
37815	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
37816
37817	// The Amazon QuickSight role of the user. The role can be one of the following
37818	// default security cohorts:
37819	//
37820	//    * READER: A user who has read-only access to dashboards.
37821	//
37822	//    * AUTHOR: A user who can create data sources, datasets, analyses, and
37823	//    dashboards.
37824	//
37825	//    * ADMIN: A user who is an author, who can also manage Amazon QuickSight
37826	//    settings.
37827	//
37828	// The name of the Amazon QuickSight role is invisible to the user except for
37829	// the console screens dealing with permissions.
37830	//
37831	// Role is a required field
37832	Role *string `type:"string" required:"true" enum:"UserRole"`
37833
37834	// A flag that you use to indicate that you want to remove all custom permissions
37835	// from this user. Using this parameter resets the user to the state it was
37836	// in before a custom permissions profile was applied. This parameter defaults
37837	// to NULL and it doesn't accept any other value.
37838	UnapplyCustomPermissions *bool `type:"boolean"`
37839
37840	// The Amazon QuickSight user name that you want to update.
37841	//
37842	// UserName is a required field
37843	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
37844}
37845
37846// String returns the string representation
37847func (s UpdateUserInput) String() string {
37848	return awsutil.Prettify(s)
37849}
37850
37851// GoString returns the string representation
37852func (s UpdateUserInput) GoString() string {
37853	return s.String()
37854}
37855
37856// Validate inspects the fields of the type to determine if they are valid.
37857func (s *UpdateUserInput) Validate() error {
37858	invalidParams := request.ErrInvalidParams{Context: "UpdateUserInput"}
37859	if s.AwsAccountId == nil {
37860		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
37861	}
37862	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
37863		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
37864	}
37865	if s.CustomPermissionsName != nil && len(*s.CustomPermissionsName) < 1 {
37866		invalidParams.Add(request.NewErrParamMinLen("CustomPermissionsName", 1))
37867	}
37868	if s.Email == nil {
37869		invalidParams.Add(request.NewErrParamRequired("Email"))
37870	}
37871	if s.Namespace == nil {
37872		invalidParams.Add(request.NewErrParamRequired("Namespace"))
37873	}
37874	if s.Namespace != nil && len(*s.Namespace) < 1 {
37875		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
37876	}
37877	if s.Role == nil {
37878		invalidParams.Add(request.NewErrParamRequired("Role"))
37879	}
37880	if s.UserName == nil {
37881		invalidParams.Add(request.NewErrParamRequired("UserName"))
37882	}
37883	if s.UserName != nil && len(*s.UserName) < 1 {
37884		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
37885	}
37886
37887	if invalidParams.Len() > 0 {
37888		return invalidParams
37889	}
37890	return nil
37891}
37892
37893// SetAwsAccountId sets the AwsAccountId field's value.
37894func (s *UpdateUserInput) SetAwsAccountId(v string) *UpdateUserInput {
37895	s.AwsAccountId = &v
37896	return s
37897}
37898
37899// SetCustomFederationProviderUrl sets the CustomFederationProviderUrl field's value.
37900func (s *UpdateUserInput) SetCustomFederationProviderUrl(v string) *UpdateUserInput {
37901	s.CustomFederationProviderUrl = &v
37902	return s
37903}
37904
37905// SetCustomPermissionsName sets the CustomPermissionsName field's value.
37906func (s *UpdateUserInput) SetCustomPermissionsName(v string) *UpdateUserInput {
37907	s.CustomPermissionsName = &v
37908	return s
37909}
37910
37911// SetEmail sets the Email field's value.
37912func (s *UpdateUserInput) SetEmail(v string) *UpdateUserInput {
37913	s.Email = &v
37914	return s
37915}
37916
37917// SetExternalLoginFederationProviderType sets the ExternalLoginFederationProviderType field's value.
37918func (s *UpdateUserInput) SetExternalLoginFederationProviderType(v string) *UpdateUserInput {
37919	s.ExternalLoginFederationProviderType = &v
37920	return s
37921}
37922
37923// SetExternalLoginId sets the ExternalLoginId field's value.
37924func (s *UpdateUserInput) SetExternalLoginId(v string) *UpdateUserInput {
37925	s.ExternalLoginId = &v
37926	return s
37927}
37928
37929// SetNamespace sets the Namespace field's value.
37930func (s *UpdateUserInput) SetNamespace(v string) *UpdateUserInput {
37931	s.Namespace = &v
37932	return s
37933}
37934
37935// SetRole sets the Role field's value.
37936func (s *UpdateUserInput) SetRole(v string) *UpdateUserInput {
37937	s.Role = &v
37938	return s
37939}
37940
37941// SetUnapplyCustomPermissions sets the UnapplyCustomPermissions field's value.
37942func (s *UpdateUserInput) SetUnapplyCustomPermissions(v bool) *UpdateUserInput {
37943	s.UnapplyCustomPermissions = &v
37944	return s
37945}
37946
37947// SetUserName sets the UserName field's value.
37948func (s *UpdateUserInput) SetUserName(v string) *UpdateUserInput {
37949	s.UserName = &v
37950	return s
37951}
37952
37953type UpdateUserOutput struct {
37954	_ struct{} `type:"structure"`
37955
37956	// The Amazon Web Services request ID for this operation.
37957	RequestId *string `type:"string"`
37958
37959	// The HTTP status of the request.
37960	Status *int64 `location:"statusCode" type:"integer"`
37961
37962	// The Amazon QuickSight user.
37963	User *User `type:"structure"`
37964}
37965
37966// String returns the string representation
37967func (s UpdateUserOutput) String() string {
37968	return awsutil.Prettify(s)
37969}
37970
37971// GoString returns the string representation
37972func (s UpdateUserOutput) GoString() string {
37973	return s.String()
37974}
37975
37976// SetRequestId sets the RequestId field's value.
37977func (s *UpdateUserOutput) SetRequestId(v string) *UpdateUserOutput {
37978	s.RequestId = &v
37979	return s
37980}
37981
37982// SetStatus sets the Status field's value.
37983func (s *UpdateUserOutput) SetStatus(v int64) *UpdateUserOutput {
37984	s.Status = &v
37985	return s
37986}
37987
37988// SetUser sets the User field's value.
37989func (s *UpdateUserOutput) SetUser(v *User) *UpdateUserOutput {
37990	s.User = v
37991	return s
37992}
37993
37994// Information about the format for a source file or files.
37995type UploadSettings struct {
37996	_ struct{} `type:"structure"`
37997
37998	// Whether the file has a header row, or the files each have a header row.
37999	ContainsHeader *bool `type:"boolean"`
38000
38001	// The delimiter between values in the file.
38002	Delimiter *string `min:"1" type:"string"`
38003
38004	// File format.
38005	Format *string `type:"string" enum:"FileFormat"`
38006
38007	// A row number to start reading data from.
38008	StartFromRow *int64 `min:"1" type:"integer"`
38009
38010	// Text qualifier.
38011	TextQualifier *string `type:"string" enum:"TextQualifier"`
38012}
38013
38014// String returns the string representation
38015func (s UploadSettings) String() string {
38016	return awsutil.Prettify(s)
38017}
38018
38019// GoString returns the string representation
38020func (s UploadSettings) GoString() string {
38021	return s.String()
38022}
38023
38024// Validate inspects the fields of the type to determine if they are valid.
38025func (s *UploadSettings) Validate() error {
38026	invalidParams := request.ErrInvalidParams{Context: "UploadSettings"}
38027	if s.Delimiter != nil && len(*s.Delimiter) < 1 {
38028		invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1))
38029	}
38030	if s.StartFromRow != nil && *s.StartFromRow < 1 {
38031		invalidParams.Add(request.NewErrParamMinValue("StartFromRow", 1))
38032	}
38033
38034	if invalidParams.Len() > 0 {
38035		return invalidParams
38036	}
38037	return nil
38038}
38039
38040// SetContainsHeader sets the ContainsHeader field's value.
38041func (s *UploadSettings) SetContainsHeader(v bool) *UploadSettings {
38042	s.ContainsHeader = &v
38043	return s
38044}
38045
38046// SetDelimiter sets the Delimiter field's value.
38047func (s *UploadSettings) SetDelimiter(v string) *UploadSettings {
38048	s.Delimiter = &v
38049	return s
38050}
38051
38052// SetFormat sets the Format field's value.
38053func (s *UploadSettings) SetFormat(v string) *UploadSettings {
38054	s.Format = &v
38055	return s
38056}
38057
38058// SetStartFromRow sets the StartFromRow field's value.
38059func (s *UploadSettings) SetStartFromRow(v int64) *UploadSettings {
38060	s.StartFromRow = &v
38061	return s
38062}
38063
38064// SetTextQualifier sets the TextQualifier field's value.
38065func (s *UploadSettings) SetTextQualifier(v string) *UploadSettings {
38066	s.TextQualifier = &v
38067	return s
38068}
38069
38070// A registered user of Amazon QuickSight.
38071type User struct {
38072	_ struct{} `type:"structure"`
38073
38074	// The active status of user. When you create an Amazon QuickSight user that’s
38075	// not an IAM user or an Active Directory user, that user is inactive until
38076	// they sign in and provide a password.
38077	Active *bool `type:"boolean"`
38078
38079	// The Amazon Resource Name (ARN) for the user.
38080	Arn *string `type:"string"`
38081
38082	// The custom permissions profile associated with this user.
38083	CustomPermissionsName *string `min:"1" type:"string"`
38084
38085	// The user's email address.
38086	Email *string `type:"string"`
38087
38088	// The type of supported external login provider that provides identity to let
38089	// the user federate into Amazon QuickSight with an associated IAMrole. The
38090	// type can be one of the following.
38091	//
38092	//    * COGNITO: Amazon Cognito. The provider URL is cognito-identity.amazonaws.com.
38093	//
38094	//    * CUSTOM_OIDC: Custom OpenID Connect (OIDC) provider.
38095	ExternalLoginFederationProviderType *string `type:"string"`
38096
38097	// The URL of the external login provider.
38098	ExternalLoginFederationProviderUrl *string `type:"string"`
38099
38100	// The identity ID for the user in the external login provider.
38101	ExternalLoginId *string `type:"string"`
38102
38103	// The type of identity authentication used by the user.
38104	IdentityType *string `type:"string" enum:"IdentityType"`
38105
38106	// The principal ID of the user.
38107	PrincipalId *string `type:"string"`
38108
38109	// The Amazon QuickSight role for the user. The user role can be one of the
38110	// following:.
38111	//
38112	//    * READER: A user who has read-only access to dashboards.
38113	//
38114	//    * AUTHOR: A user who can create data sources, datasets, analyses, and
38115	//    dashboards.
38116	//
38117	//    * ADMIN: A user who is an author, who can also manage Amazon Amazon QuickSight
38118	//    settings.
38119	//
38120	//    * RESTRICTED_READER: This role isn't currently available for use.
38121	//
38122	//    * RESTRICTED_AUTHOR: This role isn't currently available for use.
38123	Role *string `type:"string" enum:"UserRole"`
38124
38125	// The user's user name.
38126	UserName *string `min:"1" type:"string"`
38127}
38128
38129// String returns the string representation
38130func (s User) String() string {
38131	return awsutil.Prettify(s)
38132}
38133
38134// GoString returns the string representation
38135func (s User) GoString() string {
38136	return s.String()
38137}
38138
38139// SetActive sets the Active field's value.
38140func (s *User) SetActive(v bool) *User {
38141	s.Active = &v
38142	return s
38143}
38144
38145// SetArn sets the Arn field's value.
38146func (s *User) SetArn(v string) *User {
38147	s.Arn = &v
38148	return s
38149}
38150
38151// SetCustomPermissionsName sets the CustomPermissionsName field's value.
38152func (s *User) SetCustomPermissionsName(v string) *User {
38153	s.CustomPermissionsName = &v
38154	return s
38155}
38156
38157// SetEmail sets the Email field's value.
38158func (s *User) SetEmail(v string) *User {
38159	s.Email = &v
38160	return s
38161}
38162
38163// SetExternalLoginFederationProviderType sets the ExternalLoginFederationProviderType field's value.
38164func (s *User) SetExternalLoginFederationProviderType(v string) *User {
38165	s.ExternalLoginFederationProviderType = &v
38166	return s
38167}
38168
38169// SetExternalLoginFederationProviderUrl sets the ExternalLoginFederationProviderUrl field's value.
38170func (s *User) SetExternalLoginFederationProviderUrl(v string) *User {
38171	s.ExternalLoginFederationProviderUrl = &v
38172	return s
38173}
38174
38175// SetExternalLoginId sets the ExternalLoginId field's value.
38176func (s *User) SetExternalLoginId(v string) *User {
38177	s.ExternalLoginId = &v
38178	return s
38179}
38180
38181// SetIdentityType sets the IdentityType field's value.
38182func (s *User) SetIdentityType(v string) *User {
38183	s.IdentityType = &v
38184	return s
38185}
38186
38187// SetPrincipalId sets the PrincipalId field's value.
38188func (s *User) SetPrincipalId(v string) *User {
38189	s.PrincipalId = &v
38190	return s
38191}
38192
38193// SetRole sets the Role field's value.
38194func (s *User) SetRole(v string) *User {
38195	s.Role = &v
38196	return s
38197}
38198
38199// SetUserName sets the UserName field's value.
38200func (s *User) SetUserName(v string) *User {
38201	s.UserName = &v
38202	return s
38203}
38204
38205// The user with the provided name isn't found. This error can happen in any
38206// operation that requires finding a user based on a provided user name, such
38207// as DeleteUser, DescribeUser, and so on.
38208type UserNotFoundException struct {
38209	_            struct{}                  `type:"structure"`
38210	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
38211
38212	Message_ *string `locationName:"Message" type:"string"`
38213
38214	// The Amazon Web Services request ID for this request.
38215	RequestId *string `type:"string"`
38216}
38217
38218// String returns the string representation
38219func (s UserNotFoundException) String() string {
38220	return awsutil.Prettify(s)
38221}
38222
38223// GoString returns the string representation
38224func (s UserNotFoundException) GoString() string {
38225	return s.String()
38226}
38227
38228func newErrorUserNotFoundException(v protocol.ResponseMetadata) error {
38229	return &UserNotFoundException{
38230		RespMetadata: v,
38231	}
38232}
38233
38234// Code returns the exception type name.
38235func (s *UserNotFoundException) Code() string {
38236	return "QuickSightUserNotFoundException"
38237}
38238
38239// Message returns the exception's message.
38240func (s *UserNotFoundException) Message() string {
38241	if s.Message_ != nil {
38242		return *s.Message_
38243	}
38244	return ""
38245}
38246
38247// OrigErr always returns nil, satisfies awserr.Error interface.
38248func (s *UserNotFoundException) OrigErr() error {
38249	return nil
38250}
38251
38252func (s *UserNotFoundException) Error() string {
38253	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
38254}
38255
38256// Status code returns the HTTP status code for the request's response error.
38257func (s *UserNotFoundException) StatusCode() int {
38258	return s.RespMetadata.StatusCode
38259}
38260
38261// RequestID returns the service's response RequestID for request.
38262func (s *UserNotFoundException) RequestID() string {
38263	return s.RespMetadata.RequestID
38264}
38265
38266// VPC connection properties.
38267type VpcConnectionProperties struct {
38268	_ struct{} `type:"structure"`
38269
38270	// The Amazon Resource Name (ARN) for the VPC connection.
38271	//
38272	// VpcConnectionArn is a required field
38273	VpcConnectionArn *string `type:"string" required:"true"`
38274}
38275
38276// String returns the string representation
38277func (s VpcConnectionProperties) String() string {
38278	return awsutil.Prettify(s)
38279}
38280
38281// GoString returns the string representation
38282func (s VpcConnectionProperties) GoString() string {
38283	return s.String()
38284}
38285
38286// Validate inspects the fields of the type to determine if they are valid.
38287func (s *VpcConnectionProperties) Validate() error {
38288	invalidParams := request.ErrInvalidParams{Context: "VpcConnectionProperties"}
38289	if s.VpcConnectionArn == nil {
38290		invalidParams.Add(request.NewErrParamRequired("VpcConnectionArn"))
38291	}
38292
38293	if invalidParams.Len() > 0 {
38294		return invalidParams
38295	}
38296	return nil
38297}
38298
38299// SetVpcConnectionArn sets the VpcConnectionArn field's value.
38300func (s *VpcConnectionProperties) SetVpcConnectionArn(v string) *VpcConnectionProperties {
38301	s.VpcConnectionArn = &v
38302	return s
38303}
38304
38305const (
38306	// AnalysisErrorTypeAccessDenied is a AnalysisErrorType enum value
38307	AnalysisErrorTypeAccessDenied = "ACCESS_DENIED"
38308
38309	// AnalysisErrorTypeSourceNotFound is a AnalysisErrorType enum value
38310	AnalysisErrorTypeSourceNotFound = "SOURCE_NOT_FOUND"
38311
38312	// AnalysisErrorTypeDataSetNotFound is a AnalysisErrorType enum value
38313	AnalysisErrorTypeDataSetNotFound = "DATA_SET_NOT_FOUND"
38314
38315	// AnalysisErrorTypeInternalFailure is a AnalysisErrorType enum value
38316	AnalysisErrorTypeInternalFailure = "INTERNAL_FAILURE"
38317
38318	// AnalysisErrorTypeParameterValueIncompatible is a AnalysisErrorType enum value
38319	AnalysisErrorTypeParameterValueIncompatible = "PARAMETER_VALUE_INCOMPATIBLE"
38320
38321	// AnalysisErrorTypeParameterTypeInvalid is a AnalysisErrorType enum value
38322	AnalysisErrorTypeParameterTypeInvalid = "PARAMETER_TYPE_INVALID"
38323
38324	// AnalysisErrorTypeParameterNotFound is a AnalysisErrorType enum value
38325	AnalysisErrorTypeParameterNotFound = "PARAMETER_NOT_FOUND"
38326
38327	// AnalysisErrorTypeColumnTypeMismatch is a AnalysisErrorType enum value
38328	AnalysisErrorTypeColumnTypeMismatch = "COLUMN_TYPE_MISMATCH"
38329
38330	// AnalysisErrorTypeColumnGeographicRoleMismatch is a AnalysisErrorType enum value
38331	AnalysisErrorTypeColumnGeographicRoleMismatch = "COLUMN_GEOGRAPHIC_ROLE_MISMATCH"
38332
38333	// AnalysisErrorTypeColumnReplacementMissing is a AnalysisErrorType enum value
38334	AnalysisErrorTypeColumnReplacementMissing = "COLUMN_REPLACEMENT_MISSING"
38335)
38336
38337// AnalysisErrorType_Values returns all elements of the AnalysisErrorType enum
38338func AnalysisErrorType_Values() []string {
38339	return []string{
38340		AnalysisErrorTypeAccessDenied,
38341		AnalysisErrorTypeSourceNotFound,
38342		AnalysisErrorTypeDataSetNotFound,
38343		AnalysisErrorTypeInternalFailure,
38344		AnalysisErrorTypeParameterValueIncompatible,
38345		AnalysisErrorTypeParameterTypeInvalid,
38346		AnalysisErrorTypeParameterNotFound,
38347		AnalysisErrorTypeColumnTypeMismatch,
38348		AnalysisErrorTypeColumnGeographicRoleMismatch,
38349		AnalysisErrorTypeColumnReplacementMissing,
38350	}
38351}
38352
38353const (
38354	// AnalysisFilterAttributeQuicksightUser is a AnalysisFilterAttribute enum value
38355	AnalysisFilterAttributeQuicksightUser = "QUICKSIGHT_USER"
38356)
38357
38358// AnalysisFilterAttribute_Values returns all elements of the AnalysisFilterAttribute enum
38359func AnalysisFilterAttribute_Values() []string {
38360	return []string{
38361		AnalysisFilterAttributeQuicksightUser,
38362	}
38363}
38364
38365const (
38366	// AssignmentStatusEnabled is a AssignmentStatus enum value
38367	AssignmentStatusEnabled = "ENABLED"
38368
38369	// AssignmentStatusDraft is a AssignmentStatus enum value
38370	AssignmentStatusDraft = "DRAFT"
38371
38372	// AssignmentStatusDisabled is a AssignmentStatus enum value
38373	AssignmentStatusDisabled = "DISABLED"
38374)
38375
38376// AssignmentStatus_Values returns all elements of the AssignmentStatus enum
38377func AssignmentStatus_Values() []string {
38378	return []string{
38379		AssignmentStatusEnabled,
38380		AssignmentStatusDraft,
38381		AssignmentStatusDisabled,
38382	}
38383}
38384
38385const (
38386	// ColumnDataTypeString is a ColumnDataType enum value
38387	ColumnDataTypeString = "STRING"
38388
38389	// ColumnDataTypeInteger is a ColumnDataType enum value
38390	ColumnDataTypeInteger = "INTEGER"
38391
38392	// ColumnDataTypeDecimal is a ColumnDataType enum value
38393	ColumnDataTypeDecimal = "DECIMAL"
38394
38395	// ColumnDataTypeDatetime is a ColumnDataType enum value
38396	ColumnDataTypeDatetime = "DATETIME"
38397)
38398
38399// ColumnDataType_Values returns all elements of the ColumnDataType enum
38400func ColumnDataType_Values() []string {
38401	return []string{
38402		ColumnDataTypeString,
38403		ColumnDataTypeInteger,
38404		ColumnDataTypeDecimal,
38405		ColumnDataTypeDatetime,
38406	}
38407}
38408
38409const (
38410	// ColumnTagNameColumnGeographicRole is a ColumnTagName enum value
38411	ColumnTagNameColumnGeographicRole = "COLUMN_GEOGRAPHIC_ROLE"
38412
38413	// ColumnTagNameColumnDescription is a ColumnTagName enum value
38414	ColumnTagNameColumnDescription = "COLUMN_DESCRIPTION"
38415)
38416
38417// ColumnTagName_Values returns all elements of the ColumnTagName enum
38418func ColumnTagName_Values() []string {
38419	return []string{
38420		ColumnTagNameColumnGeographicRole,
38421		ColumnTagNameColumnDescription,
38422	}
38423}
38424
38425const (
38426	// DashboardBehaviorEnabled is a DashboardBehavior enum value
38427	DashboardBehaviorEnabled = "ENABLED"
38428
38429	// DashboardBehaviorDisabled is a DashboardBehavior enum value
38430	DashboardBehaviorDisabled = "DISABLED"
38431)
38432
38433// DashboardBehavior_Values returns all elements of the DashboardBehavior enum
38434func DashboardBehavior_Values() []string {
38435	return []string{
38436		DashboardBehaviorEnabled,
38437		DashboardBehaviorDisabled,
38438	}
38439}
38440
38441const (
38442	// DashboardErrorTypeAccessDenied is a DashboardErrorType enum value
38443	DashboardErrorTypeAccessDenied = "ACCESS_DENIED"
38444
38445	// DashboardErrorTypeSourceNotFound is a DashboardErrorType enum value
38446	DashboardErrorTypeSourceNotFound = "SOURCE_NOT_FOUND"
38447
38448	// DashboardErrorTypeDataSetNotFound is a DashboardErrorType enum value
38449	DashboardErrorTypeDataSetNotFound = "DATA_SET_NOT_FOUND"
38450
38451	// DashboardErrorTypeInternalFailure is a DashboardErrorType enum value
38452	DashboardErrorTypeInternalFailure = "INTERNAL_FAILURE"
38453
38454	// DashboardErrorTypeParameterValueIncompatible is a DashboardErrorType enum value
38455	DashboardErrorTypeParameterValueIncompatible = "PARAMETER_VALUE_INCOMPATIBLE"
38456
38457	// DashboardErrorTypeParameterTypeInvalid is a DashboardErrorType enum value
38458	DashboardErrorTypeParameterTypeInvalid = "PARAMETER_TYPE_INVALID"
38459
38460	// DashboardErrorTypeParameterNotFound is a DashboardErrorType enum value
38461	DashboardErrorTypeParameterNotFound = "PARAMETER_NOT_FOUND"
38462
38463	// DashboardErrorTypeColumnTypeMismatch is a DashboardErrorType enum value
38464	DashboardErrorTypeColumnTypeMismatch = "COLUMN_TYPE_MISMATCH"
38465
38466	// DashboardErrorTypeColumnGeographicRoleMismatch is a DashboardErrorType enum value
38467	DashboardErrorTypeColumnGeographicRoleMismatch = "COLUMN_GEOGRAPHIC_ROLE_MISMATCH"
38468
38469	// DashboardErrorTypeColumnReplacementMissing is a DashboardErrorType enum value
38470	DashboardErrorTypeColumnReplacementMissing = "COLUMN_REPLACEMENT_MISSING"
38471)
38472
38473// DashboardErrorType_Values returns all elements of the DashboardErrorType enum
38474func DashboardErrorType_Values() []string {
38475	return []string{
38476		DashboardErrorTypeAccessDenied,
38477		DashboardErrorTypeSourceNotFound,
38478		DashboardErrorTypeDataSetNotFound,
38479		DashboardErrorTypeInternalFailure,
38480		DashboardErrorTypeParameterValueIncompatible,
38481		DashboardErrorTypeParameterTypeInvalid,
38482		DashboardErrorTypeParameterNotFound,
38483		DashboardErrorTypeColumnTypeMismatch,
38484		DashboardErrorTypeColumnGeographicRoleMismatch,
38485		DashboardErrorTypeColumnReplacementMissing,
38486	}
38487}
38488
38489const (
38490	// DashboardFilterAttributeQuicksightUser is a DashboardFilterAttribute enum value
38491	DashboardFilterAttributeQuicksightUser = "QUICKSIGHT_USER"
38492)
38493
38494// DashboardFilterAttribute_Values returns all elements of the DashboardFilterAttribute enum
38495func DashboardFilterAttribute_Values() []string {
38496	return []string{
38497		DashboardFilterAttributeQuicksightUser,
38498	}
38499}
38500
38501const (
38502	// DashboardUIStateExpanded is a DashboardUIState enum value
38503	DashboardUIStateExpanded = "EXPANDED"
38504
38505	// DashboardUIStateCollapsed is a DashboardUIState enum value
38506	DashboardUIStateCollapsed = "COLLAPSED"
38507)
38508
38509// DashboardUIState_Values returns all elements of the DashboardUIState enum
38510func DashboardUIState_Values() []string {
38511	return []string{
38512		DashboardUIStateExpanded,
38513		DashboardUIStateCollapsed,
38514	}
38515}
38516
38517const (
38518	// DataSetImportModeSpice is a DataSetImportMode enum value
38519	DataSetImportModeSpice = "SPICE"
38520
38521	// DataSetImportModeDirectQuery is a DataSetImportMode enum value
38522	DataSetImportModeDirectQuery = "DIRECT_QUERY"
38523)
38524
38525// DataSetImportMode_Values returns all elements of the DataSetImportMode enum
38526func DataSetImportMode_Values() []string {
38527	return []string{
38528		DataSetImportModeSpice,
38529		DataSetImportModeDirectQuery,
38530	}
38531}
38532
38533const (
38534	// DataSourceErrorInfoTypeAccessDenied is a DataSourceErrorInfoType enum value
38535	DataSourceErrorInfoTypeAccessDenied = "ACCESS_DENIED"
38536
38537	// DataSourceErrorInfoTypeCopySourceNotFound is a DataSourceErrorInfoType enum value
38538	DataSourceErrorInfoTypeCopySourceNotFound = "COPY_SOURCE_NOT_FOUND"
38539
38540	// DataSourceErrorInfoTypeTimeout is a DataSourceErrorInfoType enum value
38541	DataSourceErrorInfoTypeTimeout = "TIMEOUT"
38542
38543	// DataSourceErrorInfoTypeEngineVersionNotSupported is a DataSourceErrorInfoType enum value
38544	DataSourceErrorInfoTypeEngineVersionNotSupported = "ENGINE_VERSION_NOT_SUPPORTED"
38545
38546	// DataSourceErrorInfoTypeUnknownHost is a DataSourceErrorInfoType enum value
38547	DataSourceErrorInfoTypeUnknownHost = "UNKNOWN_HOST"
38548
38549	// DataSourceErrorInfoTypeGenericSqlFailure is a DataSourceErrorInfoType enum value
38550	DataSourceErrorInfoTypeGenericSqlFailure = "GENERIC_SQL_FAILURE"
38551
38552	// DataSourceErrorInfoTypeConflict is a DataSourceErrorInfoType enum value
38553	DataSourceErrorInfoTypeConflict = "CONFLICT"
38554
38555	// DataSourceErrorInfoTypeUnknown is a DataSourceErrorInfoType enum value
38556	DataSourceErrorInfoTypeUnknown = "UNKNOWN"
38557)
38558
38559// DataSourceErrorInfoType_Values returns all elements of the DataSourceErrorInfoType enum
38560func DataSourceErrorInfoType_Values() []string {
38561	return []string{
38562		DataSourceErrorInfoTypeAccessDenied,
38563		DataSourceErrorInfoTypeCopySourceNotFound,
38564		DataSourceErrorInfoTypeTimeout,
38565		DataSourceErrorInfoTypeEngineVersionNotSupported,
38566		DataSourceErrorInfoTypeUnknownHost,
38567		DataSourceErrorInfoTypeGenericSqlFailure,
38568		DataSourceErrorInfoTypeConflict,
38569		DataSourceErrorInfoTypeUnknown,
38570	}
38571}
38572
38573const (
38574	// DataSourceTypeAdobeAnalytics is a DataSourceType enum value
38575	DataSourceTypeAdobeAnalytics = "ADOBE_ANALYTICS"
38576
38577	// DataSourceTypeAmazonElasticsearch is a DataSourceType enum value
38578	DataSourceTypeAmazonElasticsearch = "AMAZON_ELASTICSEARCH"
38579
38580	// DataSourceTypeAthena is a DataSourceType enum value
38581	DataSourceTypeAthena = "ATHENA"
38582
38583	// DataSourceTypeAurora is a DataSourceType enum value
38584	DataSourceTypeAurora = "AURORA"
38585
38586	// DataSourceTypeAuroraPostgresql is a DataSourceType enum value
38587	DataSourceTypeAuroraPostgresql = "AURORA_POSTGRESQL"
38588
38589	// DataSourceTypeAwsIotAnalytics is a DataSourceType enum value
38590	DataSourceTypeAwsIotAnalytics = "AWS_IOT_ANALYTICS"
38591
38592	// DataSourceTypeGithub is a DataSourceType enum value
38593	DataSourceTypeGithub = "GITHUB"
38594
38595	// DataSourceTypeJira is a DataSourceType enum value
38596	DataSourceTypeJira = "JIRA"
38597
38598	// DataSourceTypeMariadb is a DataSourceType enum value
38599	DataSourceTypeMariadb = "MARIADB"
38600
38601	// DataSourceTypeMysql is a DataSourceType enum value
38602	DataSourceTypeMysql = "MYSQL"
38603
38604	// DataSourceTypeOracle is a DataSourceType enum value
38605	DataSourceTypeOracle = "ORACLE"
38606
38607	// DataSourceTypePostgresql is a DataSourceType enum value
38608	DataSourceTypePostgresql = "POSTGRESQL"
38609
38610	// DataSourceTypePresto is a DataSourceType enum value
38611	DataSourceTypePresto = "PRESTO"
38612
38613	// DataSourceTypeRedshift is a DataSourceType enum value
38614	DataSourceTypeRedshift = "REDSHIFT"
38615
38616	// DataSourceTypeS3 is a DataSourceType enum value
38617	DataSourceTypeS3 = "S3"
38618
38619	// DataSourceTypeSalesforce is a DataSourceType enum value
38620	DataSourceTypeSalesforce = "SALESFORCE"
38621
38622	// DataSourceTypeServicenow is a DataSourceType enum value
38623	DataSourceTypeServicenow = "SERVICENOW"
38624
38625	// DataSourceTypeSnowflake is a DataSourceType enum value
38626	DataSourceTypeSnowflake = "SNOWFLAKE"
38627
38628	// DataSourceTypeSpark is a DataSourceType enum value
38629	DataSourceTypeSpark = "SPARK"
38630
38631	// DataSourceTypeSqlserver is a DataSourceType enum value
38632	DataSourceTypeSqlserver = "SQLSERVER"
38633
38634	// DataSourceTypeTeradata is a DataSourceType enum value
38635	DataSourceTypeTeradata = "TERADATA"
38636
38637	// DataSourceTypeTwitter is a DataSourceType enum value
38638	DataSourceTypeTwitter = "TWITTER"
38639
38640	// DataSourceTypeTimestream is a DataSourceType enum value
38641	DataSourceTypeTimestream = "TIMESTREAM"
38642)
38643
38644// DataSourceType_Values returns all elements of the DataSourceType enum
38645func DataSourceType_Values() []string {
38646	return []string{
38647		DataSourceTypeAdobeAnalytics,
38648		DataSourceTypeAmazonElasticsearch,
38649		DataSourceTypeAthena,
38650		DataSourceTypeAurora,
38651		DataSourceTypeAuroraPostgresql,
38652		DataSourceTypeAwsIotAnalytics,
38653		DataSourceTypeGithub,
38654		DataSourceTypeJira,
38655		DataSourceTypeMariadb,
38656		DataSourceTypeMysql,
38657		DataSourceTypeOracle,
38658		DataSourceTypePostgresql,
38659		DataSourceTypePresto,
38660		DataSourceTypeRedshift,
38661		DataSourceTypeS3,
38662		DataSourceTypeSalesforce,
38663		DataSourceTypeServicenow,
38664		DataSourceTypeSnowflake,
38665		DataSourceTypeSpark,
38666		DataSourceTypeSqlserver,
38667		DataSourceTypeTeradata,
38668		DataSourceTypeTwitter,
38669		DataSourceTypeTimestream,
38670	}
38671}
38672
38673const (
38674	// EditionStandard is a Edition enum value
38675	EditionStandard = "STANDARD"
38676
38677	// EditionEnterprise is a Edition enum value
38678	EditionEnterprise = "ENTERPRISE"
38679)
38680
38681// Edition_Values returns all elements of the Edition enum
38682func Edition_Values() []string {
38683	return []string{
38684		EditionStandard,
38685		EditionEnterprise,
38686	}
38687}
38688
38689const (
38690	// EmbeddingIdentityTypeIam is a EmbeddingIdentityType enum value
38691	EmbeddingIdentityTypeIam = "IAM"
38692
38693	// EmbeddingIdentityTypeQuicksight is a EmbeddingIdentityType enum value
38694	EmbeddingIdentityTypeQuicksight = "QUICKSIGHT"
38695
38696	// EmbeddingIdentityTypeAnonymous is a EmbeddingIdentityType enum value
38697	EmbeddingIdentityTypeAnonymous = "ANONYMOUS"
38698)
38699
38700// EmbeddingIdentityType_Values returns all elements of the EmbeddingIdentityType enum
38701func EmbeddingIdentityType_Values() []string {
38702	return []string{
38703		EmbeddingIdentityTypeIam,
38704		EmbeddingIdentityTypeQuicksight,
38705		EmbeddingIdentityTypeAnonymous,
38706	}
38707}
38708
38709const (
38710	// ExceptionResourceTypeUser is a ExceptionResourceType enum value
38711	ExceptionResourceTypeUser = "USER"
38712
38713	// ExceptionResourceTypeGroup is a ExceptionResourceType enum value
38714	ExceptionResourceTypeGroup = "GROUP"
38715
38716	// ExceptionResourceTypeNamespace is a ExceptionResourceType enum value
38717	ExceptionResourceTypeNamespace = "NAMESPACE"
38718
38719	// ExceptionResourceTypeAccountSettings is a ExceptionResourceType enum value
38720	ExceptionResourceTypeAccountSettings = "ACCOUNT_SETTINGS"
38721
38722	// ExceptionResourceTypeIampolicyAssignment is a ExceptionResourceType enum value
38723	ExceptionResourceTypeIampolicyAssignment = "IAMPOLICY_ASSIGNMENT"
38724
38725	// ExceptionResourceTypeDataSource is a ExceptionResourceType enum value
38726	ExceptionResourceTypeDataSource = "DATA_SOURCE"
38727
38728	// ExceptionResourceTypeDataSet is a ExceptionResourceType enum value
38729	ExceptionResourceTypeDataSet = "DATA_SET"
38730
38731	// ExceptionResourceTypeVpcConnection is a ExceptionResourceType enum value
38732	ExceptionResourceTypeVpcConnection = "VPC_CONNECTION"
38733
38734	// ExceptionResourceTypeIngestion is a ExceptionResourceType enum value
38735	ExceptionResourceTypeIngestion = "INGESTION"
38736)
38737
38738// ExceptionResourceType_Values returns all elements of the ExceptionResourceType enum
38739func ExceptionResourceType_Values() []string {
38740	return []string{
38741		ExceptionResourceTypeUser,
38742		ExceptionResourceTypeGroup,
38743		ExceptionResourceTypeNamespace,
38744		ExceptionResourceTypeAccountSettings,
38745		ExceptionResourceTypeIampolicyAssignment,
38746		ExceptionResourceTypeDataSource,
38747		ExceptionResourceTypeDataSet,
38748		ExceptionResourceTypeVpcConnection,
38749		ExceptionResourceTypeIngestion,
38750	}
38751}
38752
38753const (
38754	// FileFormatCsv is a FileFormat enum value
38755	FileFormatCsv = "CSV"
38756
38757	// FileFormatTsv is a FileFormat enum value
38758	FileFormatTsv = "TSV"
38759
38760	// FileFormatClf is a FileFormat enum value
38761	FileFormatClf = "CLF"
38762
38763	// FileFormatElf is a FileFormat enum value
38764	FileFormatElf = "ELF"
38765
38766	// FileFormatXlsx is a FileFormat enum value
38767	FileFormatXlsx = "XLSX"
38768
38769	// FileFormatJson is a FileFormat enum value
38770	FileFormatJson = "JSON"
38771)
38772
38773// FileFormat_Values returns all elements of the FileFormat enum
38774func FileFormat_Values() []string {
38775	return []string{
38776		FileFormatCsv,
38777		FileFormatTsv,
38778		FileFormatClf,
38779		FileFormatElf,
38780		FileFormatXlsx,
38781		FileFormatJson,
38782	}
38783}
38784
38785const (
38786	// FilterOperatorStringEquals is a FilterOperator enum value
38787	FilterOperatorStringEquals = "StringEquals"
38788)
38789
38790// FilterOperator_Values returns all elements of the FilterOperator enum
38791func FilterOperator_Values() []string {
38792	return []string{
38793		FilterOperatorStringEquals,
38794	}
38795}
38796
38797const (
38798	// FolderFilterAttributeParentFolderArn is a FolderFilterAttribute enum value
38799	FolderFilterAttributeParentFolderArn = "PARENT_FOLDER_ARN"
38800)
38801
38802// FolderFilterAttribute_Values returns all elements of the FolderFilterAttribute enum
38803func FolderFilterAttribute_Values() []string {
38804	return []string{
38805		FolderFilterAttributeParentFolderArn,
38806	}
38807}
38808
38809const (
38810	// FolderTypeShared is a FolderType enum value
38811	FolderTypeShared = "SHARED"
38812)
38813
38814// FolderType_Values returns all elements of the FolderType enum
38815func FolderType_Values() []string {
38816	return []string{
38817		FolderTypeShared,
38818	}
38819}
38820
38821const (
38822	// GeoSpatialCountryCodeUs is a GeoSpatialCountryCode enum value
38823	GeoSpatialCountryCodeUs = "US"
38824)
38825
38826// GeoSpatialCountryCode_Values returns all elements of the GeoSpatialCountryCode enum
38827func GeoSpatialCountryCode_Values() []string {
38828	return []string{
38829		GeoSpatialCountryCodeUs,
38830	}
38831}
38832
38833const (
38834	// GeoSpatialDataRoleCountry is a GeoSpatialDataRole enum value
38835	GeoSpatialDataRoleCountry = "COUNTRY"
38836
38837	// GeoSpatialDataRoleState is a GeoSpatialDataRole enum value
38838	GeoSpatialDataRoleState = "STATE"
38839
38840	// GeoSpatialDataRoleCounty is a GeoSpatialDataRole enum value
38841	GeoSpatialDataRoleCounty = "COUNTY"
38842
38843	// GeoSpatialDataRoleCity is a GeoSpatialDataRole enum value
38844	GeoSpatialDataRoleCity = "CITY"
38845
38846	// GeoSpatialDataRolePostcode is a GeoSpatialDataRole enum value
38847	GeoSpatialDataRolePostcode = "POSTCODE"
38848
38849	// GeoSpatialDataRoleLongitude is a GeoSpatialDataRole enum value
38850	GeoSpatialDataRoleLongitude = "LONGITUDE"
38851
38852	// GeoSpatialDataRoleLatitude is a GeoSpatialDataRole enum value
38853	GeoSpatialDataRoleLatitude = "LATITUDE"
38854)
38855
38856// GeoSpatialDataRole_Values returns all elements of the GeoSpatialDataRole enum
38857func GeoSpatialDataRole_Values() []string {
38858	return []string{
38859		GeoSpatialDataRoleCountry,
38860		GeoSpatialDataRoleState,
38861		GeoSpatialDataRoleCounty,
38862		GeoSpatialDataRoleCity,
38863		GeoSpatialDataRolePostcode,
38864		GeoSpatialDataRoleLongitude,
38865		GeoSpatialDataRoleLatitude,
38866	}
38867}
38868
38869const (
38870	// IdentityStoreQuicksight is a IdentityStore enum value
38871	IdentityStoreQuicksight = "QUICKSIGHT"
38872)
38873
38874// IdentityStore_Values returns all elements of the IdentityStore enum
38875func IdentityStore_Values() []string {
38876	return []string{
38877		IdentityStoreQuicksight,
38878	}
38879}
38880
38881const (
38882	// IdentityTypeIam is a IdentityType enum value
38883	IdentityTypeIam = "IAM"
38884
38885	// IdentityTypeQuicksight is a IdentityType enum value
38886	IdentityTypeQuicksight = "QUICKSIGHT"
38887)
38888
38889// IdentityType_Values returns all elements of the IdentityType enum
38890func IdentityType_Values() []string {
38891	return []string{
38892		IdentityTypeIam,
38893		IdentityTypeQuicksight,
38894	}
38895}
38896
38897const (
38898	// IngestionErrorTypeFailureToAssumeRole is a IngestionErrorType enum value
38899	IngestionErrorTypeFailureToAssumeRole = "FAILURE_TO_ASSUME_ROLE"
38900
38901	// IngestionErrorTypeIngestionSuperseded is a IngestionErrorType enum value
38902	IngestionErrorTypeIngestionSuperseded = "INGESTION_SUPERSEDED"
38903
38904	// IngestionErrorTypeIngestionCanceled is a IngestionErrorType enum value
38905	IngestionErrorTypeIngestionCanceled = "INGESTION_CANCELED"
38906
38907	// IngestionErrorTypeDataSetDeleted is a IngestionErrorType enum value
38908	IngestionErrorTypeDataSetDeleted = "DATA_SET_DELETED"
38909
38910	// IngestionErrorTypeDataSetNotSpice is a IngestionErrorType enum value
38911	IngestionErrorTypeDataSetNotSpice = "DATA_SET_NOT_SPICE"
38912
38913	// IngestionErrorTypeS3UploadedFileDeleted is a IngestionErrorType enum value
38914	IngestionErrorTypeS3UploadedFileDeleted = "S3_UPLOADED_FILE_DELETED"
38915
38916	// IngestionErrorTypeS3ManifestError is a IngestionErrorType enum value
38917	IngestionErrorTypeS3ManifestError = "S3_MANIFEST_ERROR"
38918
38919	// IngestionErrorTypeDataToleranceException is a IngestionErrorType enum value
38920	IngestionErrorTypeDataToleranceException = "DATA_TOLERANCE_EXCEPTION"
38921
38922	// IngestionErrorTypeSpiceTableNotFound is a IngestionErrorType enum value
38923	IngestionErrorTypeSpiceTableNotFound = "SPICE_TABLE_NOT_FOUND"
38924
38925	// IngestionErrorTypeDataSetSizeLimitExceeded is a IngestionErrorType enum value
38926	IngestionErrorTypeDataSetSizeLimitExceeded = "DATA_SET_SIZE_LIMIT_EXCEEDED"
38927
38928	// IngestionErrorTypeRowSizeLimitExceeded is a IngestionErrorType enum value
38929	IngestionErrorTypeRowSizeLimitExceeded = "ROW_SIZE_LIMIT_EXCEEDED"
38930
38931	// IngestionErrorTypeAccountCapacityLimitExceeded is a IngestionErrorType enum value
38932	IngestionErrorTypeAccountCapacityLimitExceeded = "ACCOUNT_CAPACITY_LIMIT_EXCEEDED"
38933
38934	// IngestionErrorTypeCustomerError is a IngestionErrorType enum value
38935	IngestionErrorTypeCustomerError = "CUSTOMER_ERROR"
38936
38937	// IngestionErrorTypeDataSourceNotFound is a IngestionErrorType enum value
38938	IngestionErrorTypeDataSourceNotFound = "DATA_SOURCE_NOT_FOUND"
38939
38940	// IngestionErrorTypeIamRoleNotAvailable is a IngestionErrorType enum value
38941	IngestionErrorTypeIamRoleNotAvailable = "IAM_ROLE_NOT_AVAILABLE"
38942
38943	// IngestionErrorTypeConnectionFailure is a IngestionErrorType enum value
38944	IngestionErrorTypeConnectionFailure = "CONNECTION_FAILURE"
38945
38946	// IngestionErrorTypeSqlTableNotFound is a IngestionErrorType enum value
38947	IngestionErrorTypeSqlTableNotFound = "SQL_TABLE_NOT_FOUND"
38948
38949	// IngestionErrorTypePermissionDenied is a IngestionErrorType enum value
38950	IngestionErrorTypePermissionDenied = "PERMISSION_DENIED"
38951
38952	// IngestionErrorTypeSslCertificateValidationFailure is a IngestionErrorType enum value
38953	IngestionErrorTypeSslCertificateValidationFailure = "SSL_CERTIFICATE_VALIDATION_FAILURE"
38954
38955	// IngestionErrorTypeOauthTokenFailure is a IngestionErrorType enum value
38956	IngestionErrorTypeOauthTokenFailure = "OAUTH_TOKEN_FAILURE"
38957
38958	// IngestionErrorTypeSourceApiLimitExceededFailure is a IngestionErrorType enum value
38959	IngestionErrorTypeSourceApiLimitExceededFailure = "SOURCE_API_LIMIT_EXCEEDED_FAILURE"
38960
38961	// IngestionErrorTypePasswordAuthenticationFailure is a IngestionErrorType enum value
38962	IngestionErrorTypePasswordAuthenticationFailure = "PASSWORD_AUTHENTICATION_FAILURE"
38963
38964	// IngestionErrorTypeSqlSchemaMismatchError is a IngestionErrorType enum value
38965	IngestionErrorTypeSqlSchemaMismatchError = "SQL_SCHEMA_MISMATCH_ERROR"
38966
38967	// IngestionErrorTypeInvalidDateFormat is a IngestionErrorType enum value
38968	IngestionErrorTypeInvalidDateFormat = "INVALID_DATE_FORMAT"
38969
38970	// IngestionErrorTypeInvalidDataprepSyntax is a IngestionErrorType enum value
38971	IngestionErrorTypeInvalidDataprepSyntax = "INVALID_DATAPREP_SYNTAX"
38972
38973	// IngestionErrorTypeSourceResourceLimitExceeded is a IngestionErrorType enum value
38974	IngestionErrorTypeSourceResourceLimitExceeded = "SOURCE_RESOURCE_LIMIT_EXCEEDED"
38975
38976	// IngestionErrorTypeSqlInvalidParameterValue is a IngestionErrorType enum value
38977	IngestionErrorTypeSqlInvalidParameterValue = "SQL_INVALID_PARAMETER_VALUE"
38978
38979	// IngestionErrorTypeQueryTimeout is a IngestionErrorType enum value
38980	IngestionErrorTypeQueryTimeout = "QUERY_TIMEOUT"
38981
38982	// IngestionErrorTypeSqlNumericOverflow is a IngestionErrorType enum value
38983	IngestionErrorTypeSqlNumericOverflow = "SQL_NUMERIC_OVERFLOW"
38984
38985	// IngestionErrorTypeUnresolvableHost is a IngestionErrorType enum value
38986	IngestionErrorTypeUnresolvableHost = "UNRESOLVABLE_HOST"
38987
38988	// IngestionErrorTypeUnroutableHost is a IngestionErrorType enum value
38989	IngestionErrorTypeUnroutableHost = "UNROUTABLE_HOST"
38990
38991	// IngestionErrorTypeSqlException is a IngestionErrorType enum value
38992	IngestionErrorTypeSqlException = "SQL_EXCEPTION"
38993
38994	// IngestionErrorTypeS3FileInaccessible is a IngestionErrorType enum value
38995	IngestionErrorTypeS3FileInaccessible = "S3_FILE_INACCESSIBLE"
38996
38997	// IngestionErrorTypeIotFileNotFound is a IngestionErrorType enum value
38998	IngestionErrorTypeIotFileNotFound = "IOT_FILE_NOT_FOUND"
38999
39000	// IngestionErrorTypeIotDataSetFileEmpty is a IngestionErrorType enum value
39001	IngestionErrorTypeIotDataSetFileEmpty = "IOT_DATA_SET_FILE_EMPTY"
39002
39003	// IngestionErrorTypeInvalidDataSourceConfig is a IngestionErrorType enum value
39004	IngestionErrorTypeInvalidDataSourceConfig = "INVALID_DATA_SOURCE_CONFIG"
39005
39006	// IngestionErrorTypeDataSourceAuthFailed is a IngestionErrorType enum value
39007	IngestionErrorTypeDataSourceAuthFailed = "DATA_SOURCE_AUTH_FAILED"
39008
39009	// IngestionErrorTypeDataSourceConnectionFailed is a IngestionErrorType enum value
39010	IngestionErrorTypeDataSourceConnectionFailed = "DATA_SOURCE_CONNECTION_FAILED"
39011
39012	// IngestionErrorTypeFailureToProcessJsonFile is a IngestionErrorType enum value
39013	IngestionErrorTypeFailureToProcessJsonFile = "FAILURE_TO_PROCESS_JSON_FILE"
39014
39015	// IngestionErrorTypeInternalServiceError is a IngestionErrorType enum value
39016	IngestionErrorTypeInternalServiceError = "INTERNAL_SERVICE_ERROR"
39017)
39018
39019// IngestionErrorType_Values returns all elements of the IngestionErrorType enum
39020func IngestionErrorType_Values() []string {
39021	return []string{
39022		IngestionErrorTypeFailureToAssumeRole,
39023		IngestionErrorTypeIngestionSuperseded,
39024		IngestionErrorTypeIngestionCanceled,
39025		IngestionErrorTypeDataSetDeleted,
39026		IngestionErrorTypeDataSetNotSpice,
39027		IngestionErrorTypeS3UploadedFileDeleted,
39028		IngestionErrorTypeS3ManifestError,
39029		IngestionErrorTypeDataToleranceException,
39030		IngestionErrorTypeSpiceTableNotFound,
39031		IngestionErrorTypeDataSetSizeLimitExceeded,
39032		IngestionErrorTypeRowSizeLimitExceeded,
39033		IngestionErrorTypeAccountCapacityLimitExceeded,
39034		IngestionErrorTypeCustomerError,
39035		IngestionErrorTypeDataSourceNotFound,
39036		IngestionErrorTypeIamRoleNotAvailable,
39037		IngestionErrorTypeConnectionFailure,
39038		IngestionErrorTypeSqlTableNotFound,
39039		IngestionErrorTypePermissionDenied,
39040		IngestionErrorTypeSslCertificateValidationFailure,
39041		IngestionErrorTypeOauthTokenFailure,
39042		IngestionErrorTypeSourceApiLimitExceededFailure,
39043		IngestionErrorTypePasswordAuthenticationFailure,
39044		IngestionErrorTypeSqlSchemaMismatchError,
39045		IngestionErrorTypeInvalidDateFormat,
39046		IngestionErrorTypeInvalidDataprepSyntax,
39047		IngestionErrorTypeSourceResourceLimitExceeded,
39048		IngestionErrorTypeSqlInvalidParameterValue,
39049		IngestionErrorTypeQueryTimeout,
39050		IngestionErrorTypeSqlNumericOverflow,
39051		IngestionErrorTypeUnresolvableHost,
39052		IngestionErrorTypeUnroutableHost,
39053		IngestionErrorTypeSqlException,
39054		IngestionErrorTypeS3FileInaccessible,
39055		IngestionErrorTypeIotFileNotFound,
39056		IngestionErrorTypeIotDataSetFileEmpty,
39057		IngestionErrorTypeInvalidDataSourceConfig,
39058		IngestionErrorTypeDataSourceAuthFailed,
39059		IngestionErrorTypeDataSourceConnectionFailed,
39060		IngestionErrorTypeFailureToProcessJsonFile,
39061		IngestionErrorTypeInternalServiceError,
39062	}
39063}
39064
39065const (
39066	// IngestionRequestSourceManual is a IngestionRequestSource enum value
39067	IngestionRequestSourceManual = "MANUAL"
39068
39069	// IngestionRequestSourceScheduled is a IngestionRequestSource enum value
39070	IngestionRequestSourceScheduled = "SCHEDULED"
39071)
39072
39073// IngestionRequestSource_Values returns all elements of the IngestionRequestSource enum
39074func IngestionRequestSource_Values() []string {
39075	return []string{
39076		IngestionRequestSourceManual,
39077		IngestionRequestSourceScheduled,
39078	}
39079}
39080
39081const (
39082	// IngestionRequestTypeInitialIngestion is a IngestionRequestType enum value
39083	IngestionRequestTypeInitialIngestion = "INITIAL_INGESTION"
39084
39085	// IngestionRequestTypeEdit is a IngestionRequestType enum value
39086	IngestionRequestTypeEdit = "EDIT"
39087
39088	// IngestionRequestTypeIncrementalRefresh is a IngestionRequestType enum value
39089	IngestionRequestTypeIncrementalRefresh = "INCREMENTAL_REFRESH"
39090
39091	// IngestionRequestTypeFullRefresh is a IngestionRequestType enum value
39092	IngestionRequestTypeFullRefresh = "FULL_REFRESH"
39093)
39094
39095// IngestionRequestType_Values returns all elements of the IngestionRequestType enum
39096func IngestionRequestType_Values() []string {
39097	return []string{
39098		IngestionRequestTypeInitialIngestion,
39099		IngestionRequestTypeEdit,
39100		IngestionRequestTypeIncrementalRefresh,
39101		IngestionRequestTypeFullRefresh,
39102	}
39103}
39104
39105const (
39106	// IngestionStatusInitialized is a IngestionStatus enum value
39107	IngestionStatusInitialized = "INITIALIZED"
39108
39109	// IngestionStatusQueued is a IngestionStatus enum value
39110	IngestionStatusQueued = "QUEUED"
39111
39112	// IngestionStatusRunning is a IngestionStatus enum value
39113	IngestionStatusRunning = "RUNNING"
39114
39115	// IngestionStatusFailed is a IngestionStatus enum value
39116	IngestionStatusFailed = "FAILED"
39117
39118	// IngestionStatusCompleted is a IngestionStatus enum value
39119	IngestionStatusCompleted = "COMPLETED"
39120
39121	// IngestionStatusCancelled is a IngestionStatus enum value
39122	IngestionStatusCancelled = "CANCELLED"
39123)
39124
39125// IngestionStatus_Values returns all elements of the IngestionStatus enum
39126func IngestionStatus_Values() []string {
39127	return []string{
39128		IngestionStatusInitialized,
39129		IngestionStatusQueued,
39130		IngestionStatusRunning,
39131		IngestionStatusFailed,
39132		IngestionStatusCompleted,
39133		IngestionStatusCancelled,
39134	}
39135}
39136
39137const (
39138	// InputColumnDataTypeString is a InputColumnDataType enum value
39139	InputColumnDataTypeString = "STRING"
39140
39141	// InputColumnDataTypeInteger is a InputColumnDataType enum value
39142	InputColumnDataTypeInteger = "INTEGER"
39143
39144	// InputColumnDataTypeDecimal is a InputColumnDataType enum value
39145	InputColumnDataTypeDecimal = "DECIMAL"
39146
39147	// InputColumnDataTypeDatetime is a InputColumnDataType enum value
39148	InputColumnDataTypeDatetime = "DATETIME"
39149
39150	// InputColumnDataTypeBit is a InputColumnDataType enum value
39151	InputColumnDataTypeBit = "BIT"
39152
39153	// InputColumnDataTypeBoolean is a InputColumnDataType enum value
39154	InputColumnDataTypeBoolean = "BOOLEAN"
39155
39156	// InputColumnDataTypeJson is a InputColumnDataType enum value
39157	InputColumnDataTypeJson = "JSON"
39158)
39159
39160// InputColumnDataType_Values returns all elements of the InputColumnDataType enum
39161func InputColumnDataType_Values() []string {
39162	return []string{
39163		InputColumnDataTypeString,
39164		InputColumnDataTypeInteger,
39165		InputColumnDataTypeDecimal,
39166		InputColumnDataTypeDatetime,
39167		InputColumnDataTypeBit,
39168		InputColumnDataTypeBoolean,
39169		InputColumnDataTypeJson,
39170	}
39171}
39172
39173const (
39174	// JoinTypeInner is a JoinType enum value
39175	JoinTypeInner = "INNER"
39176
39177	// JoinTypeOuter is a JoinType enum value
39178	JoinTypeOuter = "OUTER"
39179
39180	// JoinTypeLeft is a JoinType enum value
39181	JoinTypeLeft = "LEFT"
39182
39183	// JoinTypeRight is a JoinType enum value
39184	JoinTypeRight = "RIGHT"
39185)
39186
39187// JoinType_Values returns all elements of the JoinType enum
39188func JoinType_Values() []string {
39189	return []string{
39190		JoinTypeInner,
39191		JoinTypeOuter,
39192		JoinTypeLeft,
39193		JoinTypeRight,
39194	}
39195}
39196
39197const (
39198	// MemberTypeDashboard is a MemberType enum value
39199	MemberTypeDashboard = "DASHBOARD"
39200
39201	// MemberTypeAnalysis is a MemberType enum value
39202	MemberTypeAnalysis = "ANALYSIS"
39203
39204	// MemberTypeDataset is a MemberType enum value
39205	MemberTypeDataset = "DATASET"
39206)
39207
39208// MemberType_Values returns all elements of the MemberType enum
39209func MemberType_Values() []string {
39210	return []string{
39211		MemberTypeDashboard,
39212		MemberTypeAnalysis,
39213		MemberTypeDataset,
39214	}
39215}
39216
39217const (
39218	// NamespaceErrorTypePermissionDenied is a NamespaceErrorType enum value
39219	NamespaceErrorTypePermissionDenied = "PERMISSION_DENIED"
39220
39221	// NamespaceErrorTypeInternalServiceError is a NamespaceErrorType enum value
39222	NamespaceErrorTypeInternalServiceError = "INTERNAL_SERVICE_ERROR"
39223)
39224
39225// NamespaceErrorType_Values returns all elements of the NamespaceErrorType enum
39226func NamespaceErrorType_Values() []string {
39227	return []string{
39228		NamespaceErrorTypePermissionDenied,
39229		NamespaceErrorTypeInternalServiceError,
39230	}
39231}
39232
39233const (
39234	// NamespaceStatusCreated is a NamespaceStatus enum value
39235	NamespaceStatusCreated = "CREATED"
39236
39237	// NamespaceStatusCreating is a NamespaceStatus enum value
39238	NamespaceStatusCreating = "CREATING"
39239
39240	// NamespaceStatusDeleting is a NamespaceStatus enum value
39241	NamespaceStatusDeleting = "DELETING"
39242
39243	// NamespaceStatusRetryableFailure is a NamespaceStatus enum value
39244	NamespaceStatusRetryableFailure = "RETRYABLE_FAILURE"
39245
39246	// NamespaceStatusNonRetryableFailure is a NamespaceStatus enum value
39247	NamespaceStatusNonRetryableFailure = "NON_RETRYABLE_FAILURE"
39248)
39249
39250// NamespaceStatus_Values returns all elements of the NamespaceStatus enum
39251func NamespaceStatus_Values() []string {
39252	return []string{
39253		NamespaceStatusCreated,
39254		NamespaceStatusCreating,
39255		NamespaceStatusDeleting,
39256		NamespaceStatusRetryableFailure,
39257		NamespaceStatusNonRetryableFailure,
39258	}
39259}
39260
39261const (
39262	// ResourceStatusCreationInProgress is a ResourceStatus enum value
39263	ResourceStatusCreationInProgress = "CREATION_IN_PROGRESS"
39264
39265	// ResourceStatusCreationSuccessful is a ResourceStatus enum value
39266	ResourceStatusCreationSuccessful = "CREATION_SUCCESSFUL"
39267
39268	// ResourceStatusCreationFailed is a ResourceStatus enum value
39269	ResourceStatusCreationFailed = "CREATION_FAILED"
39270
39271	// ResourceStatusUpdateInProgress is a ResourceStatus enum value
39272	ResourceStatusUpdateInProgress = "UPDATE_IN_PROGRESS"
39273
39274	// ResourceStatusUpdateSuccessful is a ResourceStatus enum value
39275	ResourceStatusUpdateSuccessful = "UPDATE_SUCCESSFUL"
39276
39277	// ResourceStatusUpdateFailed is a ResourceStatus enum value
39278	ResourceStatusUpdateFailed = "UPDATE_FAILED"
39279
39280	// ResourceStatusDeleted is a ResourceStatus enum value
39281	ResourceStatusDeleted = "DELETED"
39282)
39283
39284// ResourceStatus_Values returns all elements of the ResourceStatus enum
39285func ResourceStatus_Values() []string {
39286	return []string{
39287		ResourceStatusCreationInProgress,
39288		ResourceStatusCreationSuccessful,
39289		ResourceStatusCreationFailed,
39290		ResourceStatusUpdateInProgress,
39291		ResourceStatusUpdateSuccessful,
39292		ResourceStatusUpdateFailed,
39293		ResourceStatusDeleted,
39294	}
39295}
39296
39297const (
39298	// RowLevelPermissionFormatVersionVersion1 is a RowLevelPermissionFormatVersion enum value
39299	RowLevelPermissionFormatVersionVersion1 = "VERSION_1"
39300
39301	// RowLevelPermissionFormatVersionVersion2 is a RowLevelPermissionFormatVersion enum value
39302	RowLevelPermissionFormatVersionVersion2 = "VERSION_2"
39303)
39304
39305// RowLevelPermissionFormatVersion_Values returns all elements of the RowLevelPermissionFormatVersion enum
39306func RowLevelPermissionFormatVersion_Values() []string {
39307	return []string{
39308		RowLevelPermissionFormatVersionVersion1,
39309		RowLevelPermissionFormatVersionVersion2,
39310	}
39311}
39312
39313const (
39314	// RowLevelPermissionPolicyGrantAccess is a RowLevelPermissionPolicy enum value
39315	RowLevelPermissionPolicyGrantAccess = "GRANT_ACCESS"
39316
39317	// RowLevelPermissionPolicyDenyAccess is a RowLevelPermissionPolicy enum value
39318	RowLevelPermissionPolicyDenyAccess = "DENY_ACCESS"
39319)
39320
39321// RowLevelPermissionPolicy_Values returns all elements of the RowLevelPermissionPolicy enum
39322func RowLevelPermissionPolicy_Values() []string {
39323	return []string{
39324		RowLevelPermissionPolicyGrantAccess,
39325		RowLevelPermissionPolicyDenyAccess,
39326	}
39327}
39328
39329const (
39330	// StatusEnabled is a Status enum value
39331	StatusEnabled = "ENABLED"
39332
39333	// StatusDisabled is a Status enum value
39334	StatusDisabled = "DISABLED"
39335)
39336
39337// Status_Values returns all elements of the Status enum
39338func Status_Values() []string {
39339	return []string{
39340		StatusEnabled,
39341		StatusDisabled,
39342	}
39343}
39344
39345const (
39346	// TemplateErrorTypeSourceNotFound is a TemplateErrorType enum value
39347	TemplateErrorTypeSourceNotFound = "SOURCE_NOT_FOUND"
39348
39349	// TemplateErrorTypeDataSetNotFound is a TemplateErrorType enum value
39350	TemplateErrorTypeDataSetNotFound = "DATA_SET_NOT_FOUND"
39351
39352	// TemplateErrorTypeInternalFailure is a TemplateErrorType enum value
39353	TemplateErrorTypeInternalFailure = "INTERNAL_FAILURE"
39354
39355	// TemplateErrorTypeAccessDenied is a TemplateErrorType enum value
39356	TemplateErrorTypeAccessDenied = "ACCESS_DENIED"
39357)
39358
39359// TemplateErrorType_Values returns all elements of the TemplateErrorType enum
39360func TemplateErrorType_Values() []string {
39361	return []string{
39362		TemplateErrorTypeSourceNotFound,
39363		TemplateErrorTypeDataSetNotFound,
39364		TemplateErrorTypeInternalFailure,
39365		TemplateErrorTypeAccessDenied,
39366	}
39367}
39368
39369const (
39370	// TextQualifierDoubleQuote is a TextQualifier enum value
39371	TextQualifierDoubleQuote = "DOUBLE_QUOTE"
39372
39373	// TextQualifierSingleQuote is a TextQualifier enum value
39374	TextQualifierSingleQuote = "SINGLE_QUOTE"
39375)
39376
39377// TextQualifier_Values returns all elements of the TextQualifier enum
39378func TextQualifier_Values() []string {
39379	return []string{
39380		TextQualifierDoubleQuote,
39381		TextQualifierSingleQuote,
39382	}
39383}
39384
39385const (
39386	// ThemeErrorTypeInternalFailure is a ThemeErrorType enum value
39387	ThemeErrorTypeInternalFailure = "INTERNAL_FAILURE"
39388)
39389
39390// ThemeErrorType_Values returns all elements of the ThemeErrorType enum
39391func ThemeErrorType_Values() []string {
39392	return []string{
39393		ThemeErrorTypeInternalFailure,
39394	}
39395}
39396
39397const (
39398	// ThemeTypeQuicksight is a ThemeType enum value
39399	ThemeTypeQuicksight = "QUICKSIGHT"
39400
39401	// ThemeTypeCustom is a ThemeType enum value
39402	ThemeTypeCustom = "CUSTOM"
39403
39404	// ThemeTypeAll is a ThemeType enum value
39405	ThemeTypeAll = "ALL"
39406)
39407
39408// ThemeType_Values returns all elements of the ThemeType enum
39409func ThemeType_Values() []string {
39410	return []string{
39411		ThemeTypeQuicksight,
39412		ThemeTypeCustom,
39413		ThemeTypeAll,
39414	}
39415}
39416
39417const (
39418	// UserRoleAdmin is a UserRole enum value
39419	UserRoleAdmin = "ADMIN"
39420
39421	// UserRoleAuthor is a UserRole enum value
39422	UserRoleAuthor = "AUTHOR"
39423
39424	// UserRoleReader is a UserRole enum value
39425	UserRoleReader = "READER"
39426
39427	// UserRoleRestrictedAuthor is a UserRole enum value
39428	UserRoleRestrictedAuthor = "RESTRICTED_AUTHOR"
39429
39430	// UserRoleRestrictedReader is a UserRole enum value
39431	UserRoleRestrictedReader = "RESTRICTED_READER"
39432)
39433
39434// UserRole_Values returns all elements of the UserRole enum
39435func UserRole_Values() []string {
39436	return []string{
39437		UserRoleAdmin,
39438		UserRoleAuthor,
39439		UserRoleReader,
39440		UserRoleRestrictedAuthor,
39441		UserRoleRestrictedReader,
39442	}
39443}
39444