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 AWS Region. Currently,
158// you can add a custom default theme by using the CreateAccountCustomization
159// or UpdateAccountCustomization API operation. To further customize QuickSight
160// by removing QuickSight sample assets and videos for all new users, see Customizing
161// 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 AWS account or, if you specify a namespace,
165// for a QuickSight namespace instead. Customizations that apply to a namespace
166// always override customizations that apply to an AWS account. To find out
167// which customizations apply, use the DescribeAccountCustomization API operation.
168//
169// Before you use the CreateAccountCustomization API operation to add a theme
170// as the namespace default, make sure that you first share the theme with the
171// namespace. If you don't share it with the namespace, the theme isn't visible
172// to your users even if you make it the default theme. To check if the theme
173// is shared, view the current permissions by using the DescribeThemePermissions
174// API operation. To share the theme, grant permissions by using the UpdateThemePermissions
175// API operation.
176//
177// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
178// with awserr.Error's Code and Message methods to get detailed information about
179// the error.
180//
181// See the AWS API reference guide for Amazon QuickSight's
182// API operation CreateAccountCustomization for usage and error information.
183//
184// Returned Error Types:
185//   * AccessDeniedException
186//   You don't have access to this item. The provided credentials couldn't be
187//   validated. You might not be authorized to carry out the request. Make sure
188//   that your account is authorized to use the Amazon QuickSight service, that
189//   your policies have the correct permissions, and that you are using the correct
190//   access keys.
191//
192//   * InvalidParameterValueException
193//   One or more parameters has a value that isn't valid.
194//
195//   * ResourceExistsException
196//   The resource specified already exists.
197//
198//   * ResourceNotFoundException
199//   One or more resources can't be found.
200//
201//   * ThrottlingException
202//   Access is throttled.
203//
204//   * InternalFailureException
205//   An internal failure occurred.
206//
207//   * ResourceUnavailableException
208//   This resource is currently unavailable.
209//
210// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateAccountCustomization
211func (c *QuickSight) CreateAccountCustomization(input *CreateAccountCustomizationInput) (*CreateAccountCustomizationOutput, error) {
212	req, out := c.CreateAccountCustomizationRequest(input)
213	return out, req.Send()
214}
215
216// CreateAccountCustomizationWithContext is the same as CreateAccountCustomization with the addition of
217// the ability to pass a context and additional request options.
218//
219// See CreateAccountCustomization for details on how to use this API operation.
220//
221// The context must be non-nil and will be used for request cancellation. If
222// the context is nil a panic will occur. In the future the SDK may create
223// sub-contexts for http.Requests. See https://golang.org/pkg/context/
224// for more information on using Contexts.
225func (c *QuickSight) CreateAccountCustomizationWithContext(ctx aws.Context, input *CreateAccountCustomizationInput, opts ...request.Option) (*CreateAccountCustomizationOutput, error) {
226	req, out := c.CreateAccountCustomizationRequest(input)
227	req.SetContext(ctx)
228	req.ApplyOptions(opts...)
229	return out, req.Send()
230}
231
232const opCreateAnalysis = "CreateAnalysis"
233
234// CreateAnalysisRequest generates a "aws/request.Request" representing the
235// client's request for the CreateAnalysis operation. The "output" return
236// value will be populated with the request's response once the request completes
237// successfully.
238//
239// Use "Send" method on the returned Request to send the API call to the service.
240// the "output" return value is not valid until after Send returns without error.
241//
242// See CreateAnalysis for more information on using the CreateAnalysis
243// API call, and error handling.
244//
245// This method is useful when you want to inject custom logic or configuration
246// into the SDK's request lifecycle. Such as custom headers, or retry logic.
247//
248//
249//    // Example sending a request using the CreateAnalysisRequest method.
250//    req, resp := client.CreateAnalysisRequest(params)
251//
252//    err := req.Send()
253//    if err == nil { // resp is now filled
254//        fmt.Println(resp)
255//    }
256//
257// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateAnalysis
258func (c *QuickSight) CreateAnalysisRequest(input *CreateAnalysisInput) (req *request.Request, output *CreateAnalysisOutput) {
259	op := &request.Operation{
260		Name:       opCreateAnalysis,
261		HTTPMethod: "POST",
262		HTTPPath:   "/accounts/{AwsAccountId}/analyses/{AnalysisId}",
263	}
264
265	if input == nil {
266		input = &CreateAnalysisInput{}
267	}
268
269	output = &CreateAnalysisOutput{}
270	req = c.newRequest(op, input, output)
271	return
272}
273
274// CreateAnalysis API operation for Amazon QuickSight.
275//
276// Creates an analysis in Amazon QuickSight.
277//
278// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
279// with awserr.Error's Code and Message methods to get detailed information about
280// the error.
281//
282// See the AWS API reference guide for Amazon QuickSight's
283// API operation CreateAnalysis for usage and error information.
284//
285// Returned Error Types:
286//   * ResourceNotFoundException
287//   One or more resources can't be found.
288//
289//   * InvalidParameterValueException
290//   One or more parameters has a value that isn't valid.
291//
292//   * ThrottlingException
293//   Access is throttled.
294//
295//   * ResourceExistsException
296//   The resource specified already exists.
297//
298//   * ConflictException
299//   Updating or deleting a resource can cause an inconsistent state.
300//
301//   * UnsupportedUserEditionException
302//   This error indicates that you are calling an operation on an Amazon QuickSight
303//   subscription where the edition doesn't include support for that operation.
304//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
305//   Not every operation and capability is available in every edition.
306//
307//   * InternalFailureException
308//   An internal failure occurred.
309//
310// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateAnalysis
311func (c *QuickSight) CreateAnalysis(input *CreateAnalysisInput) (*CreateAnalysisOutput, error) {
312	req, out := c.CreateAnalysisRequest(input)
313	return out, req.Send()
314}
315
316// CreateAnalysisWithContext is the same as CreateAnalysis with the addition of
317// the ability to pass a context and additional request options.
318//
319// See CreateAnalysis for details on how to use this API operation.
320//
321// The context must be non-nil and will be used for request cancellation. If
322// the context is nil a panic will occur. In the future the SDK may create
323// sub-contexts for http.Requests. See https://golang.org/pkg/context/
324// for more information on using Contexts.
325func (c *QuickSight) CreateAnalysisWithContext(ctx aws.Context, input *CreateAnalysisInput, opts ...request.Option) (*CreateAnalysisOutput, error) {
326	req, out := c.CreateAnalysisRequest(input)
327	req.SetContext(ctx)
328	req.ApplyOptions(opts...)
329	return out, req.Send()
330}
331
332const opCreateDashboard = "CreateDashboard"
333
334// CreateDashboardRequest generates a "aws/request.Request" representing the
335// client's request for the CreateDashboard operation. The "output" return
336// value will be populated with the request's response once the request completes
337// successfully.
338//
339// Use "Send" method on the returned Request to send the API call to the service.
340// the "output" return value is not valid until after Send returns without error.
341//
342// See CreateDashboard for more information on using the CreateDashboard
343// API call, and error handling.
344//
345// This method is useful when you want to inject custom logic or configuration
346// into the SDK's request lifecycle. Such as custom headers, or retry logic.
347//
348//
349//    // Example sending a request using the CreateDashboardRequest method.
350//    req, resp := client.CreateDashboardRequest(params)
351//
352//    err := req.Send()
353//    if err == nil { // resp is now filled
354//        fmt.Println(resp)
355//    }
356//
357// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDashboard
358func (c *QuickSight) CreateDashboardRequest(input *CreateDashboardInput) (req *request.Request, output *CreateDashboardOutput) {
359	op := &request.Operation{
360		Name:       opCreateDashboard,
361		HTTPMethod: "POST",
362		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
363	}
364
365	if input == nil {
366		input = &CreateDashboardInput{}
367	}
368
369	output = &CreateDashboardOutput{}
370	req = c.newRequest(op, input, output)
371	return
372}
373
374// CreateDashboard API operation for Amazon QuickSight.
375//
376// Creates a dashboard from a template. To first create a template, see the
377// CreateTemplate API operation.
378//
379// A dashboard is an entity in QuickSight that identifies QuickSight reports,
380// created from analyses. You can share QuickSight dashboards. With the right
381// permissions, you can create scheduled email reports from them. If you have
382// the correct permissions, you can create a dashboard from a template that
383// exists in a different AWS account.
384//
385// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
386// with awserr.Error's Code and Message methods to get detailed information about
387// the error.
388//
389// See the AWS API reference guide for Amazon QuickSight's
390// API operation CreateDashboard for usage and error information.
391//
392// Returned Error Types:
393//   * ResourceNotFoundException
394//   One or more resources can't be found.
395//
396//   * InvalidParameterValueException
397//   One or more parameters has a value that isn't valid.
398//
399//   * ThrottlingException
400//   Access is throttled.
401//
402//   * ResourceExistsException
403//   The resource specified already exists.
404//
405//   * ConflictException
406//   Updating or deleting a resource can cause an inconsistent state.
407//
408//   * UnsupportedUserEditionException
409//   This error indicates that you are calling an operation on an Amazon QuickSight
410//   subscription where the edition doesn't include support for that operation.
411//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
412//   Not every operation and capability is available in every edition.
413//
414//   * InternalFailureException
415//   An internal failure occurred.
416//
417// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDashboard
418func (c *QuickSight) CreateDashboard(input *CreateDashboardInput) (*CreateDashboardOutput, error) {
419	req, out := c.CreateDashboardRequest(input)
420	return out, req.Send()
421}
422
423// CreateDashboardWithContext is the same as CreateDashboard with the addition of
424// the ability to pass a context and additional request options.
425//
426// See CreateDashboard for details on how to use this API operation.
427//
428// The context must be non-nil and will be used for request cancellation. If
429// the context is nil a panic will occur. In the future the SDK may create
430// sub-contexts for http.Requests. See https://golang.org/pkg/context/
431// for more information on using Contexts.
432func (c *QuickSight) CreateDashboardWithContext(ctx aws.Context, input *CreateDashboardInput, opts ...request.Option) (*CreateDashboardOutput, error) {
433	req, out := c.CreateDashboardRequest(input)
434	req.SetContext(ctx)
435	req.ApplyOptions(opts...)
436	return out, req.Send()
437}
438
439const opCreateDataSet = "CreateDataSet"
440
441// CreateDataSetRequest generates a "aws/request.Request" representing the
442// client's request for the CreateDataSet operation. The "output" return
443// value will be populated with the request's response once the request completes
444// successfully.
445//
446// Use "Send" method on the returned Request to send the API call to the service.
447// the "output" return value is not valid until after Send returns without error.
448//
449// See CreateDataSet for more information on using the CreateDataSet
450// API call, and error handling.
451//
452// This method is useful when you want to inject custom logic or configuration
453// into the SDK's request lifecycle. Such as custom headers, or retry logic.
454//
455//
456//    // Example sending a request using the CreateDataSetRequest method.
457//    req, resp := client.CreateDataSetRequest(params)
458//
459//    err := req.Send()
460//    if err == nil { // resp is now filled
461//        fmt.Println(resp)
462//    }
463//
464// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSet
465func (c *QuickSight) CreateDataSetRequest(input *CreateDataSetInput) (req *request.Request, output *CreateDataSetOutput) {
466	op := &request.Operation{
467		Name:       opCreateDataSet,
468		HTTPMethod: "POST",
469		HTTPPath:   "/accounts/{AwsAccountId}/data-sets",
470	}
471
472	if input == nil {
473		input = &CreateDataSetInput{}
474	}
475
476	output = &CreateDataSetOutput{}
477	req = c.newRequest(op, input, output)
478	return
479}
480
481// CreateDataSet API operation for Amazon QuickSight.
482//
483// Creates a dataset.
484//
485// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
486// with awserr.Error's Code and Message methods to get detailed information about
487// the error.
488//
489// See the AWS API reference guide for Amazon QuickSight's
490// API operation CreateDataSet for usage and error information.
491//
492// Returned Error Types:
493//   * AccessDeniedException
494//   You don't have access to this item. The provided credentials couldn't be
495//   validated. You might not be authorized to carry out the request. Make sure
496//   that your account is authorized to use the Amazon QuickSight service, that
497//   your policies have the correct permissions, and that you are using the correct
498//   access keys.
499//
500//   * ConflictException
501//   Updating or deleting a resource can cause an inconsistent state.
502//
503//   * InvalidParameterValueException
504//   One or more parameters has a value that isn't valid.
505//
506//   * LimitExceededException
507//   A limit is exceeded.
508//
509//   * ResourceExistsException
510//   The resource specified already exists.
511//
512//   * ResourceNotFoundException
513//   One or more resources can't be found.
514//
515//   * ThrottlingException
516//   Access is throttled.
517//
518//   * UnsupportedUserEditionException
519//   This error indicates that you are calling an operation on an Amazon QuickSight
520//   subscription where the edition doesn't include support for that operation.
521//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
522//   Not every operation and capability is available in every edition.
523//
524//   * InternalFailureException
525//   An internal failure occurred.
526//
527// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSet
528func (c *QuickSight) CreateDataSet(input *CreateDataSetInput) (*CreateDataSetOutput, error) {
529	req, out := c.CreateDataSetRequest(input)
530	return out, req.Send()
531}
532
533// CreateDataSetWithContext is the same as CreateDataSet with the addition of
534// the ability to pass a context and additional request options.
535//
536// See CreateDataSet for details on how to use this API operation.
537//
538// The context must be non-nil and will be used for request cancellation. If
539// the context is nil a panic will occur. In the future the SDK may create
540// sub-contexts for http.Requests. See https://golang.org/pkg/context/
541// for more information on using Contexts.
542func (c *QuickSight) CreateDataSetWithContext(ctx aws.Context, input *CreateDataSetInput, opts ...request.Option) (*CreateDataSetOutput, error) {
543	req, out := c.CreateDataSetRequest(input)
544	req.SetContext(ctx)
545	req.ApplyOptions(opts...)
546	return out, req.Send()
547}
548
549const opCreateDataSource = "CreateDataSource"
550
551// CreateDataSourceRequest generates a "aws/request.Request" representing the
552// client's request for the CreateDataSource operation. The "output" return
553// value will be populated with the request's response once the request completes
554// successfully.
555//
556// Use "Send" method on the returned Request to send the API call to the service.
557// the "output" return value is not valid until after Send returns without error.
558//
559// See CreateDataSource for more information on using the CreateDataSource
560// API call, and error handling.
561//
562// This method is useful when you want to inject custom logic or configuration
563// into the SDK's request lifecycle. Such as custom headers, or retry logic.
564//
565//
566//    // Example sending a request using the CreateDataSourceRequest method.
567//    req, resp := client.CreateDataSourceRequest(params)
568//
569//    err := req.Send()
570//    if err == nil { // resp is now filled
571//        fmt.Println(resp)
572//    }
573//
574// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSource
575func (c *QuickSight) CreateDataSourceRequest(input *CreateDataSourceInput) (req *request.Request, output *CreateDataSourceOutput) {
576	op := &request.Operation{
577		Name:       opCreateDataSource,
578		HTTPMethod: "POST",
579		HTTPPath:   "/accounts/{AwsAccountId}/data-sources",
580	}
581
582	if input == nil {
583		input = &CreateDataSourceInput{}
584	}
585
586	output = &CreateDataSourceOutput{}
587	req = c.newRequest(op, input, output)
588	return
589}
590
591// CreateDataSource API operation for Amazon QuickSight.
592//
593// Creates a data source.
594//
595// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
596// with awserr.Error's Code and Message methods to get detailed information about
597// the error.
598//
599// See the AWS API reference guide for Amazon QuickSight's
600// API operation CreateDataSource for usage and error information.
601//
602// Returned Error Types:
603//   * AccessDeniedException
604//   You don't have access to this item. The provided credentials couldn't be
605//   validated. You might not be authorized to carry out the request. Make sure
606//   that your account is authorized to use the Amazon QuickSight service, that
607//   your policies have the correct permissions, and that you are using the correct
608//   access keys.
609//
610//   * ConflictException
611//   Updating or deleting a resource can cause an inconsistent state.
612//
613//   * InvalidParameterValueException
614//   One or more parameters has a value that isn't valid.
615//
616//   * LimitExceededException
617//   A limit is exceeded.
618//
619//   * ResourceNotFoundException
620//   One or more resources can't be found.
621//
622//   * ResourceExistsException
623//   The resource specified already exists.
624//
625//   * ThrottlingException
626//   Access is throttled.
627//
628//   * InternalFailureException
629//   An internal failure occurred.
630//
631// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSource
632func (c *QuickSight) CreateDataSource(input *CreateDataSourceInput) (*CreateDataSourceOutput, error) {
633	req, out := c.CreateDataSourceRequest(input)
634	return out, req.Send()
635}
636
637// CreateDataSourceWithContext is the same as CreateDataSource with the addition of
638// the ability to pass a context and additional request options.
639//
640// See CreateDataSource for details on how to use this API operation.
641//
642// The context must be non-nil and will be used for request cancellation. If
643// the context is nil a panic will occur. In the future the SDK may create
644// sub-contexts for http.Requests. See https://golang.org/pkg/context/
645// for more information on using Contexts.
646func (c *QuickSight) CreateDataSourceWithContext(ctx aws.Context, input *CreateDataSourceInput, opts ...request.Option) (*CreateDataSourceOutput, error) {
647	req, out := c.CreateDataSourceRequest(input)
648	req.SetContext(ctx)
649	req.ApplyOptions(opts...)
650	return out, req.Send()
651}
652
653const opCreateGroup = "CreateGroup"
654
655// CreateGroupRequest generates a "aws/request.Request" representing the
656// client's request for the CreateGroup operation. The "output" return
657// value will be populated with the request's response once the request completes
658// successfully.
659//
660// Use "Send" method on the returned Request to send the API call to the service.
661// the "output" return value is not valid until after Send returns without error.
662//
663// See CreateGroup for more information on using the CreateGroup
664// API call, and error handling.
665//
666// This method is useful when you want to inject custom logic or configuration
667// into the SDK's request lifecycle. Such as custom headers, or retry logic.
668//
669//
670//    // Example sending a request using the CreateGroupRequest method.
671//    req, resp := client.CreateGroupRequest(params)
672//
673//    err := req.Send()
674//    if err == nil { // resp is now filled
675//        fmt.Println(resp)
676//    }
677//
678// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroup
679func (c *QuickSight) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, output *CreateGroupOutput) {
680	op := &request.Operation{
681		Name:       opCreateGroup,
682		HTTPMethod: "POST",
683		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups",
684	}
685
686	if input == nil {
687		input = &CreateGroupInput{}
688	}
689
690	output = &CreateGroupOutput{}
691	req = c.newRequest(op, input, output)
692	return
693}
694
695// CreateGroup API operation for Amazon QuickSight.
696//
697// Creates an Amazon QuickSight group.
698//
699// The permissions resource is arn:aws:quicksight:us-east-1:<relevant-aws-account-id>:group/default/<group-name> .
700//
701// The response is a group object.
702//
703// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
704// with awserr.Error's Code and Message methods to get detailed information about
705// the error.
706//
707// See the AWS API reference guide for Amazon QuickSight's
708// API operation CreateGroup for usage and error information.
709//
710// Returned Error Types:
711//   * AccessDeniedException
712//   You don't have access to this item. The provided credentials couldn't be
713//   validated. You might not be authorized to carry out the request. Make sure
714//   that your account is authorized to use the Amazon QuickSight service, that
715//   your policies have the correct permissions, and that you are using the correct
716//   access keys.
717//
718//   * InvalidParameterValueException
719//   One or more parameters has a value that isn't valid.
720//
721//   * ResourceExistsException
722//   The resource specified already exists.
723//
724//   * ResourceNotFoundException
725//   One or more resources can't be found.
726//
727//   * ThrottlingException
728//   Access is throttled.
729//
730//   * PreconditionNotMetException
731//   One or more preconditions aren't met.
732//
733//   * LimitExceededException
734//   A limit is exceeded.
735//
736//   * InternalFailureException
737//   An internal failure occurred.
738//
739//   * ResourceUnavailableException
740//   This resource is currently unavailable.
741//
742// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroup
743func (c *QuickSight) CreateGroup(input *CreateGroupInput) (*CreateGroupOutput, error) {
744	req, out := c.CreateGroupRequest(input)
745	return out, req.Send()
746}
747
748// CreateGroupWithContext is the same as CreateGroup with the addition of
749// the ability to pass a context and additional request options.
750//
751// See CreateGroup 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) CreateGroupWithContext(ctx aws.Context, input *CreateGroupInput, opts ...request.Option) (*CreateGroupOutput, error) {
758	req, out := c.CreateGroupRequest(input)
759	req.SetContext(ctx)
760	req.ApplyOptions(opts...)
761	return out, req.Send()
762}
763
764const opCreateGroupMembership = "CreateGroupMembership"
765
766// CreateGroupMembershipRequest generates a "aws/request.Request" representing the
767// client's request for the CreateGroupMembership 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 CreateGroupMembership for more information on using the CreateGroupMembership
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 CreateGroupMembershipRequest method.
782//    req, resp := client.CreateGroupMembershipRequest(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/CreateGroupMembership
790func (c *QuickSight) CreateGroupMembershipRequest(input *CreateGroupMembershipInput) (req *request.Request, output *CreateGroupMembershipOutput) {
791	op := &request.Operation{
792		Name:       opCreateGroupMembership,
793		HTTPMethod: "PUT",
794		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}",
795	}
796
797	if input == nil {
798		input = &CreateGroupMembershipInput{}
799	}
800
801	output = &CreateGroupMembershipOutput{}
802	req = c.newRequest(op, input, output)
803	return
804}
805
806// CreateGroupMembership API operation for Amazon QuickSight.
807//
808// Adds an Amazon QuickSight user to an Amazon QuickSight group.
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 CreateGroupMembership 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//   * ThrottlingException
832//   Access is throttled.
833//
834//   * PreconditionNotMetException
835//   One or more preconditions aren't met.
836//
837//   * InternalFailureException
838//   An internal failure occurred.
839//
840//   * ResourceUnavailableException
841//   This resource is currently unavailable.
842//
843// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroupMembership
844func (c *QuickSight) CreateGroupMembership(input *CreateGroupMembershipInput) (*CreateGroupMembershipOutput, error) {
845	req, out := c.CreateGroupMembershipRequest(input)
846	return out, req.Send()
847}
848
849// CreateGroupMembershipWithContext is the same as CreateGroupMembership with the addition of
850// the ability to pass a context and additional request options.
851//
852// See CreateGroupMembership for details on how to use this API operation.
853//
854// The context must be non-nil and will be used for request cancellation. If
855// the context is nil a panic will occur. In the future the SDK may create
856// sub-contexts for http.Requests. See https://golang.org/pkg/context/
857// for more information on using Contexts.
858func (c *QuickSight) CreateGroupMembershipWithContext(ctx aws.Context, input *CreateGroupMembershipInput, opts ...request.Option) (*CreateGroupMembershipOutput, error) {
859	req, out := c.CreateGroupMembershipRequest(input)
860	req.SetContext(ctx)
861	req.ApplyOptions(opts...)
862	return out, req.Send()
863}
864
865const opCreateIAMPolicyAssignment = "CreateIAMPolicyAssignment"
866
867// CreateIAMPolicyAssignmentRequest generates a "aws/request.Request" representing the
868// client's request for the CreateIAMPolicyAssignment operation. The "output" return
869// value will be populated with the request's response once the request completes
870// successfully.
871//
872// Use "Send" method on the returned Request to send the API call to the service.
873// the "output" return value is not valid until after Send returns without error.
874//
875// See CreateIAMPolicyAssignment for more information on using the CreateIAMPolicyAssignment
876// API call, and error handling.
877//
878// This method is useful when you want to inject custom logic or configuration
879// into the SDK's request lifecycle. Such as custom headers, or retry logic.
880//
881//
882//    // Example sending a request using the CreateIAMPolicyAssignmentRequest method.
883//    req, resp := client.CreateIAMPolicyAssignmentRequest(params)
884//
885//    err := req.Send()
886//    if err == nil { // resp is now filled
887//        fmt.Println(resp)
888//    }
889//
890// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIAMPolicyAssignment
891func (c *QuickSight) CreateIAMPolicyAssignmentRequest(input *CreateIAMPolicyAssignmentInput) (req *request.Request, output *CreateIAMPolicyAssignmentOutput) {
892	op := &request.Operation{
893		Name:       opCreateIAMPolicyAssignment,
894		HTTPMethod: "POST",
895		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/",
896	}
897
898	if input == nil {
899		input = &CreateIAMPolicyAssignmentInput{}
900	}
901
902	output = &CreateIAMPolicyAssignmentOutput{}
903	req = c.newRequest(op, input, output)
904	return
905}
906
907// CreateIAMPolicyAssignment API operation for Amazon QuickSight.
908//
909// Creates an assignment with one specified IAM policy, identified by its Amazon
910// Resource Name (ARN). This policy assignment is attached to the specified
911// groups or users of Amazon QuickSight. Assignment names are unique per AWS
912// account. To avoid overwriting rules in other namespaces, use assignment names
913// that are unique.
914//
915// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
916// with awserr.Error's Code and Message methods to get detailed information about
917// the error.
918//
919// See the AWS API reference guide for Amazon QuickSight's
920// API operation CreateIAMPolicyAssignment for usage and error information.
921//
922// Returned Error Types:
923//   * AccessDeniedException
924//   You don't have access to this item. The provided credentials couldn't be
925//   validated. You might not be authorized to carry out the request. Make sure
926//   that your account is authorized to use the Amazon QuickSight service, that
927//   your policies have the correct permissions, and that you are using the correct
928//   access keys.
929//
930//   * InvalidParameterValueException
931//   One or more parameters has a value that isn't valid.
932//
933//   * ResourceExistsException
934//   The resource specified already exists.
935//
936//   * ResourceNotFoundException
937//   One or more resources can't be found.
938//
939//   * ThrottlingException
940//   Access is throttled.
941//
942//   * ConcurrentUpdatingException
943//   A resource is already in a state that indicates an operation is happening
944//   that must complete before a new update can be applied.
945//
946//   * InternalFailureException
947//   An internal failure occurred.
948//
949// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIAMPolicyAssignment
950func (c *QuickSight) CreateIAMPolicyAssignment(input *CreateIAMPolicyAssignmentInput) (*CreateIAMPolicyAssignmentOutput, error) {
951	req, out := c.CreateIAMPolicyAssignmentRequest(input)
952	return out, req.Send()
953}
954
955// CreateIAMPolicyAssignmentWithContext is the same as CreateIAMPolicyAssignment with the addition of
956// the ability to pass a context and additional request options.
957//
958// See CreateIAMPolicyAssignment for details on how to use this API operation.
959//
960// The context must be non-nil and will be used for request cancellation. If
961// the context is nil a panic will occur. In the future the SDK may create
962// sub-contexts for http.Requests. See https://golang.org/pkg/context/
963// for more information on using Contexts.
964func (c *QuickSight) CreateIAMPolicyAssignmentWithContext(ctx aws.Context, input *CreateIAMPolicyAssignmentInput, opts ...request.Option) (*CreateIAMPolicyAssignmentOutput, error) {
965	req, out := c.CreateIAMPolicyAssignmentRequest(input)
966	req.SetContext(ctx)
967	req.ApplyOptions(opts...)
968	return out, req.Send()
969}
970
971const opCreateIngestion = "CreateIngestion"
972
973// CreateIngestionRequest generates a "aws/request.Request" representing the
974// client's request for the CreateIngestion operation. The "output" return
975// value will be populated with the request's response once the request completes
976// successfully.
977//
978// Use "Send" method on the returned Request to send the API call to the service.
979// the "output" return value is not valid until after Send returns without error.
980//
981// See CreateIngestion for more information on using the CreateIngestion
982// API call, and error handling.
983//
984// This method is useful when you want to inject custom logic or configuration
985// into the SDK's request lifecycle. Such as custom headers, or retry logic.
986//
987//
988//    // Example sending a request using the CreateIngestionRequest method.
989//    req, resp := client.CreateIngestionRequest(params)
990//
991//    err := req.Send()
992//    if err == nil { // resp is now filled
993//        fmt.Println(resp)
994//    }
995//
996// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIngestion
997func (c *QuickSight) CreateIngestionRequest(input *CreateIngestionInput) (req *request.Request, output *CreateIngestionOutput) {
998	op := &request.Operation{
999		Name:       opCreateIngestion,
1000		HTTPMethod: "PUT",
1001		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}",
1002	}
1003
1004	if input == nil {
1005		input = &CreateIngestionInput{}
1006	}
1007
1008	output = &CreateIngestionOutput{}
1009	req = c.newRequest(op, input, output)
1010	return
1011}
1012
1013// CreateIngestion API operation for Amazon QuickSight.
1014//
1015// Creates and starts a new SPICE ingestion on a dataset
1016//
1017// Any ingestions operating on tagged datasets inherit the same tags automatically
1018// for use in access control. For an example, see How do I create an IAM policy
1019// to control access to Amazon EC2 resources using tags? (http://aws.amazon.com/premiumsupport/knowledge-center/iam-ec2-resource-tags/)
1020// in the AWS Knowledge Center. Tags are visible on the tagged dataset, but
1021// not on the ingestion resource.
1022//
1023// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1024// with awserr.Error's Code and Message methods to get detailed information about
1025// the error.
1026//
1027// See the AWS API reference guide for Amazon QuickSight's
1028// API operation CreateIngestion for usage and error information.
1029//
1030// Returned Error Types:
1031//   * AccessDeniedException
1032//   You don't have access to this item. The provided credentials couldn't be
1033//   validated. You might not be authorized to carry out the request. Make sure
1034//   that your account is authorized to use the Amazon QuickSight service, that
1035//   your policies have the correct permissions, and that you are using the correct
1036//   access keys.
1037//
1038//   * InvalidParameterValueException
1039//   One or more parameters has a value that isn't valid.
1040//
1041//   * ResourceNotFoundException
1042//   One or more resources can't be found.
1043//
1044//   * ThrottlingException
1045//   Access is throttled.
1046//
1047//   * LimitExceededException
1048//   A limit is exceeded.
1049//
1050//   * ResourceExistsException
1051//   The resource specified already exists.
1052//
1053//   * InternalFailureException
1054//   An internal failure occurred.
1055//
1056// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIngestion
1057func (c *QuickSight) CreateIngestion(input *CreateIngestionInput) (*CreateIngestionOutput, error) {
1058	req, out := c.CreateIngestionRequest(input)
1059	return out, req.Send()
1060}
1061
1062// CreateIngestionWithContext is the same as CreateIngestion with the addition of
1063// the ability to pass a context and additional request options.
1064//
1065// See CreateIngestion for details on how to use this API operation.
1066//
1067// The context must be non-nil and will be used for request cancellation. If
1068// the context is nil a panic will occur. In the future the SDK may create
1069// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1070// for more information on using Contexts.
1071func (c *QuickSight) CreateIngestionWithContext(ctx aws.Context, input *CreateIngestionInput, opts ...request.Option) (*CreateIngestionOutput, error) {
1072	req, out := c.CreateIngestionRequest(input)
1073	req.SetContext(ctx)
1074	req.ApplyOptions(opts...)
1075	return out, req.Send()
1076}
1077
1078const opCreateNamespace = "CreateNamespace"
1079
1080// CreateNamespaceRequest generates a "aws/request.Request" representing the
1081// client's request for the CreateNamespace operation. The "output" return
1082// value will be populated with the request's response once the request completes
1083// successfully.
1084//
1085// Use "Send" method on the returned Request to send the API call to the service.
1086// the "output" return value is not valid until after Send returns without error.
1087//
1088// See CreateNamespace for more information on using the CreateNamespace
1089// API call, and error handling.
1090//
1091// This method is useful when you want to inject custom logic or configuration
1092// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1093//
1094//
1095//    // Example sending a request using the CreateNamespaceRequest method.
1096//    req, resp := client.CreateNamespaceRequest(params)
1097//
1098//    err := req.Send()
1099//    if err == nil { // resp is now filled
1100//        fmt.Println(resp)
1101//    }
1102//
1103// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateNamespace
1104func (c *QuickSight) CreateNamespaceRequest(input *CreateNamespaceInput) (req *request.Request, output *CreateNamespaceOutput) {
1105	op := &request.Operation{
1106		Name:       opCreateNamespace,
1107		HTTPMethod: "POST",
1108		HTTPPath:   "/accounts/{AwsAccountId}",
1109	}
1110
1111	if input == nil {
1112		input = &CreateNamespaceInput{}
1113	}
1114
1115	output = &CreateNamespaceOutput{}
1116	req = c.newRequest(op, input, output)
1117	return
1118}
1119
1120// CreateNamespace API operation for Amazon QuickSight.
1121//
1122// (Enterprise edition only) Creates a new namespace for you to use with Amazon
1123// QuickSight.
1124//
1125// A namespace allows you to isolate the QuickSight users and groups that are
1126// registered for that namespace. Users that access the namespace can share
1127// assets only with other users or groups in the same namespace. They can't
1128// see users and groups in other namespaces. You can create a namespace after
1129// your AWS account is subscribed to QuickSight. The namespace must be unique
1130// within the AWS account. By default, there is a limit of 100 namespaces per
1131// AWS account. To increase your limit, create a ticket with AWS Support.
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 CreateNamespace 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//   * ResourceNotFoundException
1152//   One or more resources can't be found.
1153//
1154//   * ThrottlingException
1155//   Access is throttled.
1156//
1157//   * LimitExceededException
1158//   A limit is exceeded.
1159//
1160//   * ResourceExistsException
1161//   The resource specified already exists.
1162//
1163//   * PreconditionNotMetException
1164//   One or more preconditions aren't met.
1165//
1166//   * ConflictException
1167//   Updating or deleting a resource can cause an inconsistent state.
1168//
1169//   * InternalFailureException
1170//   An internal failure occurred.
1171//
1172//   * ResourceUnavailableException
1173//   This resource is currently unavailable.
1174//
1175// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateNamespace
1176func (c *QuickSight) CreateNamespace(input *CreateNamespaceInput) (*CreateNamespaceOutput, error) {
1177	req, out := c.CreateNamespaceRequest(input)
1178	return out, req.Send()
1179}
1180
1181// CreateNamespaceWithContext is the same as CreateNamespace with the addition of
1182// the ability to pass a context and additional request options.
1183//
1184// See CreateNamespace for details on how to use this API operation.
1185//
1186// The context must be non-nil and will be used for request cancellation. If
1187// the context is nil a panic will occur. In the future the SDK may create
1188// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1189// for more information on using Contexts.
1190func (c *QuickSight) CreateNamespaceWithContext(ctx aws.Context, input *CreateNamespaceInput, opts ...request.Option) (*CreateNamespaceOutput, error) {
1191	req, out := c.CreateNamespaceRequest(input)
1192	req.SetContext(ctx)
1193	req.ApplyOptions(opts...)
1194	return out, req.Send()
1195}
1196
1197const opCreateTemplate = "CreateTemplate"
1198
1199// CreateTemplateRequest generates a "aws/request.Request" representing the
1200// client's request for the CreateTemplate operation. The "output" return
1201// value will be populated with the request's response once the request completes
1202// successfully.
1203//
1204// Use "Send" method on the returned Request to send the API call to the service.
1205// the "output" return value is not valid until after Send returns without error.
1206//
1207// See CreateTemplate for more information on using the CreateTemplate
1208// API call, and error handling.
1209//
1210// This method is useful when you want to inject custom logic or configuration
1211// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1212//
1213//
1214//    // Example sending a request using the CreateTemplateRequest method.
1215//    req, resp := client.CreateTemplateRequest(params)
1216//
1217//    err := req.Send()
1218//    if err == nil { // resp is now filled
1219//        fmt.Println(resp)
1220//    }
1221//
1222// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplate
1223func (c *QuickSight) CreateTemplateRequest(input *CreateTemplateInput) (req *request.Request, output *CreateTemplateOutput) {
1224	op := &request.Operation{
1225		Name:       opCreateTemplate,
1226		HTTPMethod: "POST",
1227		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}",
1228	}
1229
1230	if input == nil {
1231		input = &CreateTemplateInput{}
1232	}
1233
1234	output = &CreateTemplateOutput{}
1235	req = c.newRequest(op, input, output)
1236	return
1237}
1238
1239// CreateTemplate API operation for Amazon QuickSight.
1240//
1241// Creates a template from an existing QuickSight analysis or template. You
1242// can use the resulting template to create a dashboard.
1243//
1244// A template is an entity in QuickSight that encapsulates the metadata required
1245// to create an analysis and that you can use to create s dashboard. A template
1246// adds a layer of abstraction by using placeholders to replace the dataset
1247// associated with the analysis. You can use templates to create dashboards
1248// by replacing dataset placeholders with datasets that follow the same schema
1249// that was used to create the source analysis and template.
1250//
1251// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1252// with awserr.Error's Code and Message methods to get detailed information about
1253// the error.
1254//
1255// See the AWS API reference guide for Amazon QuickSight's
1256// API operation CreateTemplate for usage and error information.
1257//
1258// Returned Error Types:
1259//   * InvalidParameterValueException
1260//   One or more parameters has a value that isn't valid.
1261//
1262//   * AccessDeniedException
1263//   You don't have access to this item. The provided credentials couldn't be
1264//   validated. You might not be authorized to carry out the request. Make sure
1265//   that your account is authorized to use the Amazon QuickSight service, that
1266//   your policies have the correct permissions, and that you are using the correct
1267//   access keys.
1268//
1269//   * ResourceExistsException
1270//   The resource specified already exists.
1271//
1272//   * ResourceNotFoundException
1273//   One or more resources can't be found.
1274//
1275//   * ThrottlingException
1276//   Access is throttled.
1277//
1278//   * LimitExceededException
1279//   A limit is exceeded.
1280//
1281//   * UnsupportedUserEditionException
1282//   This error indicates that you are calling an operation on an Amazon QuickSight
1283//   subscription where the edition doesn't include support for that operation.
1284//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
1285//   Not every operation and capability is available in every edition.
1286//
1287//   * ConflictException
1288//   Updating or deleting a resource can cause an inconsistent state.
1289//
1290//   * InternalFailureException
1291//   An internal failure occurred.
1292//
1293// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplate
1294func (c *QuickSight) CreateTemplate(input *CreateTemplateInput) (*CreateTemplateOutput, error) {
1295	req, out := c.CreateTemplateRequest(input)
1296	return out, req.Send()
1297}
1298
1299// CreateTemplateWithContext is the same as CreateTemplate with the addition of
1300// the ability to pass a context and additional request options.
1301//
1302// See CreateTemplate for details on how to use this API operation.
1303//
1304// The context must be non-nil and will be used for request cancellation. If
1305// the context is nil a panic will occur. In the future the SDK may create
1306// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1307// for more information on using Contexts.
1308func (c *QuickSight) CreateTemplateWithContext(ctx aws.Context, input *CreateTemplateInput, opts ...request.Option) (*CreateTemplateOutput, error) {
1309	req, out := c.CreateTemplateRequest(input)
1310	req.SetContext(ctx)
1311	req.ApplyOptions(opts...)
1312	return out, req.Send()
1313}
1314
1315const opCreateTemplateAlias = "CreateTemplateAlias"
1316
1317// CreateTemplateAliasRequest generates a "aws/request.Request" representing the
1318// client's request for the CreateTemplateAlias operation. The "output" return
1319// value will be populated with the request's response once the request completes
1320// successfully.
1321//
1322// Use "Send" method on the returned Request to send the API call to the service.
1323// the "output" return value is not valid until after Send returns without error.
1324//
1325// See CreateTemplateAlias for more information on using the CreateTemplateAlias
1326// API call, and error handling.
1327//
1328// This method is useful when you want to inject custom logic or configuration
1329// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1330//
1331//
1332//    // Example sending a request using the CreateTemplateAliasRequest method.
1333//    req, resp := client.CreateTemplateAliasRequest(params)
1334//
1335//    err := req.Send()
1336//    if err == nil { // resp is now filled
1337//        fmt.Println(resp)
1338//    }
1339//
1340// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplateAlias
1341func (c *QuickSight) CreateTemplateAliasRequest(input *CreateTemplateAliasInput) (req *request.Request, output *CreateTemplateAliasOutput) {
1342	op := &request.Operation{
1343		Name:       opCreateTemplateAlias,
1344		HTTPMethod: "POST",
1345		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
1346	}
1347
1348	if input == nil {
1349		input = &CreateTemplateAliasInput{}
1350	}
1351
1352	output = &CreateTemplateAliasOutput{}
1353	req = c.newRequest(op, input, output)
1354	return
1355}
1356
1357// CreateTemplateAlias API operation for Amazon QuickSight.
1358//
1359// Creates a template alias for a template.
1360//
1361// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1362// with awserr.Error's Code and Message methods to get detailed information about
1363// the error.
1364//
1365// See the AWS API reference guide for Amazon QuickSight's
1366// API operation CreateTemplateAlias for usage and error information.
1367//
1368// Returned Error Types:
1369//   * ThrottlingException
1370//   Access is throttled.
1371//
1372//   * ResourceNotFoundException
1373//   One or more resources can't be found.
1374//
1375//   * ConflictException
1376//   Updating or deleting a resource can cause an inconsistent state.
1377//
1378//   * ResourceExistsException
1379//   The resource specified already exists.
1380//
1381//   * LimitExceededException
1382//   A limit is exceeded.
1383//
1384//   * UnsupportedUserEditionException
1385//   This error indicates that you are calling an operation on an Amazon QuickSight
1386//   subscription where the edition doesn't include support for that operation.
1387//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
1388//   Not every operation and capability is available in every edition.
1389//
1390//   * ConflictException
1391//   Updating or deleting a resource can cause an inconsistent state.
1392//
1393//   * InternalFailureException
1394//   An internal failure occurred.
1395//
1396// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplateAlias
1397func (c *QuickSight) CreateTemplateAlias(input *CreateTemplateAliasInput) (*CreateTemplateAliasOutput, error) {
1398	req, out := c.CreateTemplateAliasRequest(input)
1399	return out, req.Send()
1400}
1401
1402// CreateTemplateAliasWithContext is the same as CreateTemplateAlias with the addition of
1403// the ability to pass a context and additional request options.
1404//
1405// See CreateTemplateAlias for details on how to use this API operation.
1406//
1407// The context must be non-nil and will be used for request cancellation. If
1408// the context is nil a panic will occur. In the future the SDK may create
1409// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1410// for more information on using Contexts.
1411func (c *QuickSight) CreateTemplateAliasWithContext(ctx aws.Context, input *CreateTemplateAliasInput, opts ...request.Option) (*CreateTemplateAliasOutput, error) {
1412	req, out := c.CreateTemplateAliasRequest(input)
1413	req.SetContext(ctx)
1414	req.ApplyOptions(opts...)
1415	return out, req.Send()
1416}
1417
1418const opCreateTheme = "CreateTheme"
1419
1420// CreateThemeRequest generates a "aws/request.Request" representing the
1421// client's request for the CreateTheme operation. The "output" return
1422// value will be populated with the request's response once the request completes
1423// successfully.
1424//
1425// Use "Send" method on the returned Request to send the API call to the service.
1426// the "output" return value is not valid until after Send returns without error.
1427//
1428// See CreateTheme for more information on using the CreateTheme
1429// API call, and error handling.
1430//
1431// This method is useful when you want to inject custom logic or configuration
1432// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1433//
1434//
1435//    // Example sending a request using the CreateThemeRequest method.
1436//    req, resp := client.CreateThemeRequest(params)
1437//
1438//    err := req.Send()
1439//    if err == nil { // resp is now filled
1440//        fmt.Println(resp)
1441//    }
1442//
1443// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTheme
1444func (c *QuickSight) CreateThemeRequest(input *CreateThemeInput) (req *request.Request, output *CreateThemeOutput) {
1445	op := &request.Operation{
1446		Name:       opCreateTheme,
1447		HTTPMethod: "POST",
1448		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}",
1449	}
1450
1451	if input == nil {
1452		input = &CreateThemeInput{}
1453	}
1454
1455	output = &CreateThemeOutput{}
1456	req = c.newRequest(op, input, output)
1457	return
1458}
1459
1460// CreateTheme API operation for Amazon QuickSight.
1461//
1462// Creates a theme.
1463//
1464// A theme is set of configuration options for color and layout. Themes apply
1465// to analyses and dashboards. For more information, see Using Themes in Amazon
1466// QuickSight (https://docs.aws.amazon.com/quicksight/latest/user/themes-in-quicksight.html)
1467// in the Amazon QuickSight User Guide.
1468//
1469// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1470// with awserr.Error's Code and Message methods to get detailed information about
1471// the error.
1472//
1473// See the AWS API reference guide for Amazon QuickSight's
1474// API operation CreateTheme for usage and error information.
1475//
1476// Returned Error Types:
1477//   * AccessDeniedException
1478//   You don't have access to this item. The provided credentials couldn't be
1479//   validated. You might not be authorized to carry out the request. Make sure
1480//   that your account is authorized to use the Amazon QuickSight service, that
1481//   your policies have the correct permissions, and that you are using the correct
1482//   access keys.
1483//
1484//   * InvalidParameterValueException
1485//   One or more parameters has a value that isn't valid.
1486//
1487//   * ResourceExistsException
1488//   The resource specified already exists.
1489//
1490//   * ResourceNotFoundException
1491//   One or more resources can't be found.
1492//
1493//   * ThrottlingException
1494//   Access is throttled.
1495//
1496//   * UnsupportedUserEditionException
1497//   This error indicates that you are calling an operation on an Amazon QuickSight
1498//   subscription where the edition doesn't include support for that operation.
1499//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
1500//   Not every operation and capability is available in every edition.
1501//
1502//   * LimitExceededException
1503//   A limit is exceeded.
1504//
1505//   * InternalFailureException
1506//   An internal failure occurred.
1507//
1508// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTheme
1509func (c *QuickSight) CreateTheme(input *CreateThemeInput) (*CreateThemeOutput, error) {
1510	req, out := c.CreateThemeRequest(input)
1511	return out, req.Send()
1512}
1513
1514// CreateThemeWithContext is the same as CreateTheme with the addition of
1515// the ability to pass a context and additional request options.
1516//
1517// See CreateTheme for details on how to use this API operation.
1518//
1519// The context must be non-nil and will be used for request cancellation. If
1520// the context is nil a panic will occur. In the future the SDK may create
1521// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1522// for more information on using Contexts.
1523func (c *QuickSight) CreateThemeWithContext(ctx aws.Context, input *CreateThemeInput, opts ...request.Option) (*CreateThemeOutput, error) {
1524	req, out := c.CreateThemeRequest(input)
1525	req.SetContext(ctx)
1526	req.ApplyOptions(opts...)
1527	return out, req.Send()
1528}
1529
1530const opCreateThemeAlias = "CreateThemeAlias"
1531
1532// CreateThemeAliasRequest generates a "aws/request.Request" representing the
1533// client's request for the CreateThemeAlias operation. The "output" return
1534// value will be populated with the request's response once the request completes
1535// successfully.
1536//
1537// Use "Send" method on the returned Request to send the API call to the service.
1538// the "output" return value is not valid until after Send returns without error.
1539//
1540// See CreateThemeAlias for more information on using the CreateThemeAlias
1541// API call, and error handling.
1542//
1543// This method is useful when you want to inject custom logic or configuration
1544// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1545//
1546//
1547//    // Example sending a request using the CreateThemeAliasRequest method.
1548//    req, resp := client.CreateThemeAliasRequest(params)
1549//
1550//    err := req.Send()
1551//    if err == nil { // resp is now filled
1552//        fmt.Println(resp)
1553//    }
1554//
1555// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateThemeAlias
1556func (c *QuickSight) CreateThemeAliasRequest(input *CreateThemeAliasInput) (req *request.Request, output *CreateThemeAliasOutput) {
1557	op := &request.Operation{
1558		Name:       opCreateThemeAlias,
1559		HTTPMethod: "POST",
1560		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}",
1561	}
1562
1563	if input == nil {
1564		input = &CreateThemeAliasInput{}
1565	}
1566
1567	output = &CreateThemeAliasOutput{}
1568	req = c.newRequest(op, input, output)
1569	return
1570}
1571
1572// CreateThemeAlias API operation for Amazon QuickSight.
1573//
1574// Creates a theme alias for a theme.
1575//
1576// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1577// with awserr.Error's Code and Message methods to get detailed information about
1578// the error.
1579//
1580// See the AWS API reference guide for Amazon QuickSight's
1581// API operation CreateThemeAlias for usage and error information.
1582//
1583// Returned Error Types:
1584//   * ConflictException
1585//   Updating or deleting a resource can cause an inconsistent state.
1586//
1587//   * InvalidParameterValueException
1588//   One or more parameters has a value that isn't valid.
1589//
1590//   * LimitExceededException
1591//   A limit is exceeded.
1592//
1593//   * ResourceExistsException
1594//   The resource specified already exists.
1595//
1596//   * ResourceNotFoundException
1597//   One or more resources can't be found.
1598//
1599//   * ThrottlingException
1600//   Access is throttled.
1601//
1602//   * UnsupportedUserEditionException
1603//   This error indicates that you are calling an operation on an Amazon QuickSight
1604//   subscription where the edition doesn't include support for that operation.
1605//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
1606//   Not every operation and capability is available in every edition.
1607//
1608//   * InternalFailureException
1609//   An internal failure occurred.
1610//
1611// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateThemeAlias
1612func (c *QuickSight) CreateThemeAlias(input *CreateThemeAliasInput) (*CreateThemeAliasOutput, error) {
1613	req, out := c.CreateThemeAliasRequest(input)
1614	return out, req.Send()
1615}
1616
1617// CreateThemeAliasWithContext is the same as CreateThemeAlias with the addition of
1618// the ability to pass a context and additional request options.
1619//
1620// See CreateThemeAlias for details on how to use this API operation.
1621//
1622// The context must be non-nil and will be used for request cancellation. If
1623// the context is nil a panic will occur. In the future the SDK may create
1624// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1625// for more information on using Contexts.
1626func (c *QuickSight) CreateThemeAliasWithContext(ctx aws.Context, input *CreateThemeAliasInput, opts ...request.Option) (*CreateThemeAliasOutput, error) {
1627	req, out := c.CreateThemeAliasRequest(input)
1628	req.SetContext(ctx)
1629	req.ApplyOptions(opts...)
1630	return out, req.Send()
1631}
1632
1633const opDeleteAccountCustomization = "DeleteAccountCustomization"
1634
1635// DeleteAccountCustomizationRequest generates a "aws/request.Request" representing the
1636// client's request for the DeleteAccountCustomization operation. The "output" return
1637// value will be populated with the request's response once the request completes
1638// successfully.
1639//
1640// Use "Send" method on the returned Request to send the API call to the service.
1641// the "output" return value is not valid until after Send returns without error.
1642//
1643// See DeleteAccountCustomization for more information on using the DeleteAccountCustomization
1644// API call, and error handling.
1645//
1646// This method is useful when you want to inject custom logic or configuration
1647// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1648//
1649//
1650//    // Example sending a request using the DeleteAccountCustomizationRequest method.
1651//    req, resp := client.DeleteAccountCustomizationRequest(params)
1652//
1653//    err := req.Send()
1654//    if err == nil { // resp is now filled
1655//        fmt.Println(resp)
1656//    }
1657//
1658// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteAccountCustomization
1659func (c *QuickSight) DeleteAccountCustomizationRequest(input *DeleteAccountCustomizationInput) (req *request.Request, output *DeleteAccountCustomizationOutput) {
1660	op := &request.Operation{
1661		Name:       opDeleteAccountCustomization,
1662		HTTPMethod: "DELETE",
1663		HTTPPath:   "/accounts/{AwsAccountId}/customizations",
1664	}
1665
1666	if input == nil {
1667		input = &DeleteAccountCustomizationInput{}
1668	}
1669
1670	output = &DeleteAccountCustomizationOutput{}
1671	req = c.newRequest(op, input, output)
1672	return
1673}
1674
1675// DeleteAccountCustomization API operation for Amazon QuickSight.
1676//
1677// Deletes all Amazon QuickSight customizations in this AWS Region for the specified
1678// AWS account and QuickSight namespace.
1679//
1680// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1681// with awserr.Error's Code and Message methods to get detailed information about
1682// the error.
1683//
1684// See the AWS API reference guide for Amazon QuickSight's
1685// API operation DeleteAccountCustomization for usage and error information.
1686//
1687// Returned Error Types:
1688//   * AccessDeniedException
1689//   You don't have access to this item. The provided credentials couldn't be
1690//   validated. You might not be authorized to carry out the request. Make sure
1691//   that your account is authorized to use the Amazon QuickSight service, that
1692//   your policies have the correct permissions, and that you are using the correct
1693//   access keys.
1694//
1695//   * InvalidParameterValueException
1696//   One or more parameters has a value that isn't valid.
1697//
1698//   * ResourceNotFoundException
1699//   One or more resources can't be found.
1700//
1701//   * ThrottlingException
1702//   Access is throttled.
1703//
1704//   * InternalFailureException
1705//   An internal failure occurred.
1706//
1707//   * ResourceUnavailableException
1708//   This resource is currently unavailable.
1709//
1710// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteAccountCustomization
1711func (c *QuickSight) DeleteAccountCustomization(input *DeleteAccountCustomizationInput) (*DeleteAccountCustomizationOutput, error) {
1712	req, out := c.DeleteAccountCustomizationRequest(input)
1713	return out, req.Send()
1714}
1715
1716// DeleteAccountCustomizationWithContext is the same as DeleteAccountCustomization with the addition of
1717// the ability to pass a context and additional request options.
1718//
1719// See DeleteAccountCustomization for details on how to use this API operation.
1720//
1721// The context must be non-nil and will be used for request cancellation. If
1722// the context is nil a panic will occur. In the future the SDK may create
1723// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1724// for more information on using Contexts.
1725func (c *QuickSight) DeleteAccountCustomizationWithContext(ctx aws.Context, input *DeleteAccountCustomizationInput, opts ...request.Option) (*DeleteAccountCustomizationOutput, error) {
1726	req, out := c.DeleteAccountCustomizationRequest(input)
1727	req.SetContext(ctx)
1728	req.ApplyOptions(opts...)
1729	return out, req.Send()
1730}
1731
1732const opDeleteAnalysis = "DeleteAnalysis"
1733
1734// DeleteAnalysisRequest generates a "aws/request.Request" representing the
1735// client's request for the DeleteAnalysis operation. The "output" return
1736// value will be populated with the request's response once the request completes
1737// successfully.
1738//
1739// Use "Send" method on the returned Request to send the API call to the service.
1740// the "output" return value is not valid until after Send returns without error.
1741//
1742// See DeleteAnalysis for more information on using the DeleteAnalysis
1743// API call, and error handling.
1744//
1745// This method is useful when you want to inject custom logic or configuration
1746// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1747//
1748//
1749//    // Example sending a request using the DeleteAnalysisRequest method.
1750//    req, resp := client.DeleteAnalysisRequest(params)
1751//
1752//    err := req.Send()
1753//    if err == nil { // resp is now filled
1754//        fmt.Println(resp)
1755//    }
1756//
1757// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteAnalysis
1758func (c *QuickSight) DeleteAnalysisRequest(input *DeleteAnalysisInput) (req *request.Request, output *DeleteAnalysisOutput) {
1759	op := &request.Operation{
1760		Name:       opDeleteAnalysis,
1761		HTTPMethod: "DELETE",
1762		HTTPPath:   "/accounts/{AwsAccountId}/analyses/{AnalysisId}",
1763	}
1764
1765	if input == nil {
1766		input = &DeleteAnalysisInput{}
1767	}
1768
1769	output = &DeleteAnalysisOutput{}
1770	req = c.newRequest(op, input, output)
1771	return
1772}
1773
1774// DeleteAnalysis API operation for Amazon QuickSight.
1775//
1776// Deletes an analysis from Amazon QuickSight. You can optionally include a
1777// recovery window during which you can restore the analysis. If you don't specify
1778// a recovery window value, the operation defaults to 30 days. QuickSight attaches
1779// a DeletionTime stamp to the response that specifies the end of the recovery
1780// window. At the end of the recovery window, QuickSight deletes the analysis
1781// permanently.
1782//
1783// At any time before recovery window ends, you can use the RestoreAnalysis
1784// API operation to remove the DeletionTime stamp and cancel the deletion of
1785// the analysis. The analysis remains visible in the API until it's deleted,
1786// so you can describe it but you can't make a template from it.
1787//
1788// An analysis that's scheduled for deletion isn't accessible in the QuickSight
1789// console. To access it in the console, restore it. Deleting an analysis doesn't
1790// delete the dashboards that you publish from it.
1791//
1792// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1793// with awserr.Error's Code and Message methods to get detailed information about
1794// the error.
1795//
1796// See the AWS API reference guide for Amazon QuickSight's
1797// API operation DeleteAnalysis for usage and error information.
1798//
1799// Returned Error Types:
1800//   * ThrottlingException
1801//   Access is throttled.
1802//
1803//   * InvalidParameterValueException
1804//   One or more parameters has a value that isn't valid.
1805//
1806//   * ConflictException
1807//   Updating or deleting a resource can cause an inconsistent state.
1808//
1809//   * ResourceNotFoundException
1810//   One or more resources can't be found.
1811//
1812//   * UnsupportedUserEditionException
1813//   This error indicates that you are calling an operation on an Amazon QuickSight
1814//   subscription where the edition doesn't include support for that operation.
1815//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
1816//   Not every operation and capability is available in every edition.
1817//
1818//   * InternalFailureException
1819//   An internal failure occurred.
1820//
1821// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteAnalysis
1822func (c *QuickSight) DeleteAnalysis(input *DeleteAnalysisInput) (*DeleteAnalysisOutput, error) {
1823	req, out := c.DeleteAnalysisRequest(input)
1824	return out, req.Send()
1825}
1826
1827// DeleteAnalysisWithContext is the same as DeleteAnalysis with the addition of
1828// the ability to pass a context and additional request options.
1829//
1830// See DeleteAnalysis for details on how to use this API operation.
1831//
1832// The context must be non-nil and will be used for request cancellation. If
1833// the context is nil a panic will occur. In the future the SDK may create
1834// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1835// for more information on using Contexts.
1836func (c *QuickSight) DeleteAnalysisWithContext(ctx aws.Context, input *DeleteAnalysisInput, opts ...request.Option) (*DeleteAnalysisOutput, error) {
1837	req, out := c.DeleteAnalysisRequest(input)
1838	req.SetContext(ctx)
1839	req.ApplyOptions(opts...)
1840	return out, req.Send()
1841}
1842
1843const opDeleteDashboard = "DeleteDashboard"
1844
1845// DeleteDashboardRequest generates a "aws/request.Request" representing the
1846// client's request for the DeleteDashboard operation. The "output" return
1847// value will be populated with the request's response once the request completes
1848// successfully.
1849//
1850// Use "Send" method on the returned Request to send the API call to the service.
1851// the "output" return value is not valid until after Send returns without error.
1852//
1853// See DeleteDashboard for more information on using the DeleteDashboard
1854// API call, and error handling.
1855//
1856// This method is useful when you want to inject custom logic or configuration
1857// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1858//
1859//
1860//    // Example sending a request using the DeleteDashboardRequest method.
1861//    req, resp := client.DeleteDashboardRequest(params)
1862//
1863//    err := req.Send()
1864//    if err == nil { // resp is now filled
1865//        fmt.Println(resp)
1866//    }
1867//
1868// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDashboard
1869func (c *QuickSight) DeleteDashboardRequest(input *DeleteDashboardInput) (req *request.Request, output *DeleteDashboardOutput) {
1870	op := &request.Operation{
1871		Name:       opDeleteDashboard,
1872		HTTPMethod: "DELETE",
1873		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
1874	}
1875
1876	if input == nil {
1877		input = &DeleteDashboardInput{}
1878	}
1879
1880	output = &DeleteDashboardOutput{}
1881	req = c.newRequest(op, input, output)
1882	return
1883}
1884
1885// DeleteDashboard API operation for Amazon QuickSight.
1886//
1887// Deletes a dashboard.
1888//
1889// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1890// with awserr.Error's Code and Message methods to get detailed information about
1891// the error.
1892//
1893// See the AWS API reference guide for Amazon QuickSight's
1894// API operation DeleteDashboard for usage and error information.
1895//
1896// Returned Error Types:
1897//   * ThrottlingException
1898//   Access is throttled.
1899//
1900//   * InvalidParameterValueException
1901//   One or more parameters has a value that isn't valid.
1902//
1903//   * ConflictException
1904//   Updating or deleting a resource can cause an inconsistent state.
1905//
1906//   * ResourceNotFoundException
1907//   One or more resources can't be found.
1908//
1909//   * UnsupportedUserEditionException
1910//   This error indicates that you are calling an operation on an Amazon QuickSight
1911//   subscription where the edition doesn't include support for that operation.
1912//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
1913//   Not every operation and capability is available in every edition.
1914//
1915//   * InternalFailureException
1916//   An internal failure occurred.
1917//
1918// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDashboard
1919func (c *QuickSight) DeleteDashboard(input *DeleteDashboardInput) (*DeleteDashboardOutput, error) {
1920	req, out := c.DeleteDashboardRequest(input)
1921	return out, req.Send()
1922}
1923
1924// DeleteDashboardWithContext is the same as DeleteDashboard with the addition of
1925// the ability to pass a context and additional request options.
1926//
1927// See DeleteDashboard for details on how to use this API operation.
1928//
1929// The context must be non-nil and will be used for request cancellation. If
1930// the context is nil a panic will occur. In the future the SDK may create
1931// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1932// for more information on using Contexts.
1933func (c *QuickSight) DeleteDashboardWithContext(ctx aws.Context, input *DeleteDashboardInput, opts ...request.Option) (*DeleteDashboardOutput, error) {
1934	req, out := c.DeleteDashboardRequest(input)
1935	req.SetContext(ctx)
1936	req.ApplyOptions(opts...)
1937	return out, req.Send()
1938}
1939
1940const opDeleteDataSet = "DeleteDataSet"
1941
1942// DeleteDataSetRequest generates a "aws/request.Request" representing the
1943// client's request for the DeleteDataSet operation. The "output" return
1944// value will be populated with the request's response once the request completes
1945// successfully.
1946//
1947// Use "Send" method on the returned Request to send the API call to the service.
1948// the "output" return value is not valid until after Send returns without error.
1949//
1950// See DeleteDataSet for more information on using the DeleteDataSet
1951// API call, and error handling.
1952//
1953// This method is useful when you want to inject custom logic or configuration
1954// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1955//
1956//
1957//    // Example sending a request using the DeleteDataSetRequest method.
1958//    req, resp := client.DeleteDataSetRequest(params)
1959//
1960//    err := req.Send()
1961//    if err == nil { // resp is now filled
1962//        fmt.Println(resp)
1963//    }
1964//
1965// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSet
1966func (c *QuickSight) DeleteDataSetRequest(input *DeleteDataSetInput) (req *request.Request, output *DeleteDataSetOutput) {
1967	op := &request.Operation{
1968		Name:       opDeleteDataSet,
1969		HTTPMethod: "DELETE",
1970		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}",
1971	}
1972
1973	if input == nil {
1974		input = &DeleteDataSetInput{}
1975	}
1976
1977	output = &DeleteDataSetOutput{}
1978	req = c.newRequest(op, input, output)
1979	return
1980}
1981
1982// DeleteDataSet API operation for Amazon QuickSight.
1983//
1984// Deletes a dataset.
1985//
1986// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1987// with awserr.Error's Code and Message methods to get detailed information about
1988// the error.
1989//
1990// See the AWS API reference guide for Amazon QuickSight's
1991// API operation DeleteDataSet for usage and error information.
1992//
1993// Returned Error Types:
1994//   * AccessDeniedException
1995//   You don't have access to this item. The provided credentials couldn't be
1996//   validated. You might not be authorized to carry out the request. Make sure
1997//   that your account is authorized to use the Amazon QuickSight service, that
1998//   your policies have the correct permissions, and that you are using the correct
1999//   access keys.
2000//
2001//   * InvalidParameterValueException
2002//   One or more parameters has a value that isn't valid.
2003//
2004//   * ThrottlingException
2005//   Access is throttled.
2006//
2007//   * ResourceNotFoundException
2008//   One or more resources can't be found.
2009//
2010//   * InternalFailureException
2011//   An internal failure occurred.
2012//
2013// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSet
2014func (c *QuickSight) DeleteDataSet(input *DeleteDataSetInput) (*DeleteDataSetOutput, error) {
2015	req, out := c.DeleteDataSetRequest(input)
2016	return out, req.Send()
2017}
2018
2019// DeleteDataSetWithContext is the same as DeleteDataSet with the addition of
2020// the ability to pass a context and additional request options.
2021//
2022// See DeleteDataSet for details on how to use this API operation.
2023//
2024// The context must be non-nil and will be used for request cancellation. If
2025// the context is nil a panic will occur. In the future the SDK may create
2026// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2027// for more information on using Contexts.
2028func (c *QuickSight) DeleteDataSetWithContext(ctx aws.Context, input *DeleteDataSetInput, opts ...request.Option) (*DeleteDataSetOutput, error) {
2029	req, out := c.DeleteDataSetRequest(input)
2030	req.SetContext(ctx)
2031	req.ApplyOptions(opts...)
2032	return out, req.Send()
2033}
2034
2035const opDeleteDataSource = "DeleteDataSource"
2036
2037// DeleteDataSourceRequest generates a "aws/request.Request" representing the
2038// client's request for the DeleteDataSource operation. The "output" return
2039// value will be populated with the request's response once the request completes
2040// successfully.
2041//
2042// Use "Send" method on the returned Request to send the API call to the service.
2043// the "output" return value is not valid until after Send returns without error.
2044//
2045// See DeleteDataSource for more information on using the DeleteDataSource
2046// API call, and error handling.
2047//
2048// This method is useful when you want to inject custom logic or configuration
2049// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2050//
2051//
2052//    // Example sending a request using the DeleteDataSourceRequest method.
2053//    req, resp := client.DeleteDataSourceRequest(params)
2054//
2055//    err := req.Send()
2056//    if err == nil { // resp is now filled
2057//        fmt.Println(resp)
2058//    }
2059//
2060// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSource
2061func (c *QuickSight) DeleteDataSourceRequest(input *DeleteDataSourceInput) (req *request.Request, output *DeleteDataSourceOutput) {
2062	op := &request.Operation{
2063		Name:       opDeleteDataSource,
2064		HTTPMethod: "DELETE",
2065		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}",
2066	}
2067
2068	if input == nil {
2069		input = &DeleteDataSourceInput{}
2070	}
2071
2072	output = &DeleteDataSourceOutput{}
2073	req = c.newRequest(op, input, output)
2074	return
2075}
2076
2077// DeleteDataSource API operation for Amazon QuickSight.
2078//
2079// Deletes the data source permanently. This operation breaks all the datasets
2080// that reference the deleted data source.
2081//
2082// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2083// with awserr.Error's Code and Message methods to get detailed information about
2084// the error.
2085//
2086// See the AWS API reference guide for Amazon QuickSight's
2087// API operation DeleteDataSource for usage and error information.
2088//
2089// Returned Error Types:
2090//   * AccessDeniedException
2091//   You don't have access to this item. The provided credentials couldn't be
2092//   validated. You might not be authorized to carry out the request. Make sure
2093//   that your account is authorized to use the Amazon QuickSight service, that
2094//   your policies have the correct permissions, and that you are using the correct
2095//   access keys.
2096//
2097//   * InvalidParameterValueException
2098//   One or more parameters has a value that isn't valid.
2099//
2100//   * ThrottlingException
2101//   Access is throttled.
2102//
2103//   * ResourceNotFoundException
2104//   One or more resources can't be found.
2105//
2106//   * InternalFailureException
2107//   An internal failure occurred.
2108//
2109// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSource
2110func (c *QuickSight) DeleteDataSource(input *DeleteDataSourceInput) (*DeleteDataSourceOutput, error) {
2111	req, out := c.DeleteDataSourceRequest(input)
2112	return out, req.Send()
2113}
2114
2115// DeleteDataSourceWithContext is the same as DeleteDataSource with the addition of
2116// the ability to pass a context and additional request options.
2117//
2118// See DeleteDataSource for details on how to use this API operation.
2119//
2120// The context must be non-nil and will be used for request cancellation. If
2121// the context is nil a panic will occur. In the future the SDK may create
2122// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2123// for more information on using Contexts.
2124func (c *QuickSight) DeleteDataSourceWithContext(ctx aws.Context, input *DeleteDataSourceInput, opts ...request.Option) (*DeleteDataSourceOutput, error) {
2125	req, out := c.DeleteDataSourceRequest(input)
2126	req.SetContext(ctx)
2127	req.ApplyOptions(opts...)
2128	return out, req.Send()
2129}
2130
2131const opDeleteGroup = "DeleteGroup"
2132
2133// DeleteGroupRequest generates a "aws/request.Request" representing the
2134// client's request for the DeleteGroup operation. The "output" return
2135// value will be populated with the request's response once the request completes
2136// successfully.
2137//
2138// Use "Send" method on the returned Request to send the API call to the service.
2139// the "output" return value is not valid until after Send returns without error.
2140//
2141// See DeleteGroup for more information on using the DeleteGroup
2142// API call, and error handling.
2143//
2144// This method is useful when you want to inject custom logic or configuration
2145// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2146//
2147//
2148//    // Example sending a request using the DeleteGroupRequest method.
2149//    req, resp := client.DeleteGroupRequest(params)
2150//
2151//    err := req.Send()
2152//    if err == nil { // resp is now filled
2153//        fmt.Println(resp)
2154//    }
2155//
2156// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroup
2157func (c *QuickSight) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, output *DeleteGroupOutput) {
2158	op := &request.Operation{
2159		Name:       opDeleteGroup,
2160		HTTPMethod: "DELETE",
2161		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}",
2162	}
2163
2164	if input == nil {
2165		input = &DeleteGroupInput{}
2166	}
2167
2168	output = &DeleteGroupOutput{}
2169	req = c.newRequest(op, input, output)
2170	return
2171}
2172
2173// DeleteGroup API operation for Amazon QuickSight.
2174//
2175// Removes a user group from Amazon QuickSight.
2176//
2177// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2178// with awserr.Error's Code and Message methods to get detailed information about
2179// the error.
2180//
2181// See the AWS API reference guide for Amazon QuickSight's
2182// API operation DeleteGroup for usage and error information.
2183//
2184// Returned Error Types:
2185//   * AccessDeniedException
2186//   You don't have access to this item. The provided credentials couldn't be
2187//   validated. You might not be authorized to carry out the request. Make sure
2188//   that your account is authorized to use the Amazon QuickSight service, that
2189//   your policies have the correct permissions, and that you are using the correct
2190//   access keys.
2191//
2192//   * InvalidParameterValueException
2193//   One or more parameters has a value that isn't valid.
2194//
2195//   * ResourceNotFoundException
2196//   One or more resources can't be found.
2197//
2198//   * ThrottlingException
2199//   Access is throttled.
2200//
2201//   * PreconditionNotMetException
2202//   One or more preconditions aren't met.
2203//
2204//   * InternalFailureException
2205//   An internal failure occurred.
2206//
2207//   * ResourceUnavailableException
2208//   This resource is currently unavailable.
2209//
2210// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroup
2211func (c *QuickSight) DeleteGroup(input *DeleteGroupInput) (*DeleteGroupOutput, error) {
2212	req, out := c.DeleteGroupRequest(input)
2213	return out, req.Send()
2214}
2215
2216// DeleteGroupWithContext is the same as DeleteGroup with the addition of
2217// the ability to pass a context and additional request options.
2218//
2219// See DeleteGroup for details on how to use this API operation.
2220//
2221// The context must be non-nil and will be used for request cancellation. If
2222// the context is nil a panic will occur. In the future the SDK may create
2223// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2224// for more information on using Contexts.
2225func (c *QuickSight) DeleteGroupWithContext(ctx aws.Context, input *DeleteGroupInput, opts ...request.Option) (*DeleteGroupOutput, error) {
2226	req, out := c.DeleteGroupRequest(input)
2227	req.SetContext(ctx)
2228	req.ApplyOptions(opts...)
2229	return out, req.Send()
2230}
2231
2232const opDeleteGroupMembership = "DeleteGroupMembership"
2233
2234// DeleteGroupMembershipRequest generates a "aws/request.Request" representing the
2235// client's request for the DeleteGroupMembership operation. The "output" return
2236// value will be populated with the request's response once the request completes
2237// successfully.
2238//
2239// Use "Send" method on the returned Request to send the API call to the service.
2240// the "output" return value is not valid until after Send returns without error.
2241//
2242// See DeleteGroupMembership for more information on using the DeleteGroupMembership
2243// API call, and error handling.
2244//
2245// This method is useful when you want to inject custom logic or configuration
2246// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2247//
2248//
2249//    // Example sending a request using the DeleteGroupMembershipRequest method.
2250//    req, resp := client.DeleteGroupMembershipRequest(params)
2251//
2252//    err := req.Send()
2253//    if err == nil { // resp is now filled
2254//        fmt.Println(resp)
2255//    }
2256//
2257// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroupMembership
2258func (c *QuickSight) DeleteGroupMembershipRequest(input *DeleteGroupMembershipInput) (req *request.Request, output *DeleteGroupMembershipOutput) {
2259	op := &request.Operation{
2260		Name:       opDeleteGroupMembership,
2261		HTTPMethod: "DELETE",
2262		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}",
2263	}
2264
2265	if input == nil {
2266		input = &DeleteGroupMembershipInput{}
2267	}
2268
2269	output = &DeleteGroupMembershipOutput{}
2270	req = c.newRequest(op, input, output)
2271	return
2272}
2273
2274// DeleteGroupMembership API operation for Amazon QuickSight.
2275//
2276// Removes a user from a group so that the user is no longer a member of the
2277// group.
2278//
2279// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2280// with awserr.Error's Code and Message methods to get detailed information about
2281// the error.
2282//
2283// See the AWS API reference guide for Amazon QuickSight's
2284// API operation DeleteGroupMembership for usage and error information.
2285//
2286// Returned Error Types:
2287//   * AccessDeniedException
2288//   You don't have access to this item. The provided credentials couldn't be
2289//   validated. You might not be authorized to carry out the request. Make sure
2290//   that your account is authorized to use the Amazon QuickSight service, that
2291//   your policies have the correct permissions, and that you are using the correct
2292//   access keys.
2293//
2294//   * InvalidParameterValueException
2295//   One or more parameters has a value that isn't valid.
2296//
2297//   * ResourceNotFoundException
2298//   One or more resources can't be found.
2299//
2300//   * ThrottlingException
2301//   Access is throttled.
2302//
2303//   * PreconditionNotMetException
2304//   One or more preconditions aren't met.
2305//
2306//   * InternalFailureException
2307//   An internal failure occurred.
2308//
2309//   * ResourceUnavailableException
2310//   This resource is currently unavailable.
2311//
2312// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroupMembership
2313func (c *QuickSight) DeleteGroupMembership(input *DeleteGroupMembershipInput) (*DeleteGroupMembershipOutput, error) {
2314	req, out := c.DeleteGroupMembershipRequest(input)
2315	return out, req.Send()
2316}
2317
2318// DeleteGroupMembershipWithContext is the same as DeleteGroupMembership with the addition of
2319// the ability to pass a context and additional request options.
2320//
2321// See DeleteGroupMembership for details on how to use this API operation.
2322//
2323// The context must be non-nil and will be used for request cancellation. If
2324// the context is nil a panic will occur. In the future the SDK may create
2325// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2326// for more information on using Contexts.
2327func (c *QuickSight) DeleteGroupMembershipWithContext(ctx aws.Context, input *DeleteGroupMembershipInput, opts ...request.Option) (*DeleteGroupMembershipOutput, error) {
2328	req, out := c.DeleteGroupMembershipRequest(input)
2329	req.SetContext(ctx)
2330	req.ApplyOptions(opts...)
2331	return out, req.Send()
2332}
2333
2334const opDeleteIAMPolicyAssignment = "DeleteIAMPolicyAssignment"
2335
2336// DeleteIAMPolicyAssignmentRequest generates a "aws/request.Request" representing the
2337// client's request for the DeleteIAMPolicyAssignment operation. The "output" return
2338// value will be populated with the request's response once the request completes
2339// successfully.
2340//
2341// Use "Send" method on the returned Request to send the API call to the service.
2342// the "output" return value is not valid until after Send returns without error.
2343//
2344// See DeleteIAMPolicyAssignment for more information on using the DeleteIAMPolicyAssignment
2345// API call, and error handling.
2346//
2347// This method is useful when you want to inject custom logic or configuration
2348// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2349//
2350//
2351//    // Example sending a request using the DeleteIAMPolicyAssignmentRequest method.
2352//    req, resp := client.DeleteIAMPolicyAssignmentRequest(params)
2353//
2354//    err := req.Send()
2355//    if err == nil { // resp is now filled
2356//        fmt.Println(resp)
2357//    }
2358//
2359// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteIAMPolicyAssignment
2360func (c *QuickSight) DeleteIAMPolicyAssignmentRequest(input *DeleteIAMPolicyAssignmentInput) (req *request.Request, output *DeleteIAMPolicyAssignmentOutput) {
2361	op := &request.Operation{
2362		Name:       opDeleteIAMPolicyAssignment,
2363		HTTPMethod: "DELETE",
2364		HTTPPath:   "/accounts/{AwsAccountId}/namespace/{Namespace}/iam-policy-assignments/{AssignmentName}",
2365	}
2366
2367	if input == nil {
2368		input = &DeleteIAMPolicyAssignmentInput{}
2369	}
2370
2371	output = &DeleteIAMPolicyAssignmentOutput{}
2372	req = c.newRequest(op, input, output)
2373	return
2374}
2375
2376// DeleteIAMPolicyAssignment API operation for Amazon QuickSight.
2377//
2378// Deletes an existing IAM policy assignment.
2379//
2380// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2381// with awserr.Error's Code and Message methods to get detailed information about
2382// the error.
2383//
2384// See the AWS API reference guide for Amazon QuickSight's
2385// API operation DeleteIAMPolicyAssignment for usage and error information.
2386//
2387// Returned Error Types:
2388//   * AccessDeniedException
2389//   You don't have access to this item. The provided credentials couldn't be
2390//   validated. You might not be authorized to carry out the request. Make sure
2391//   that your account is authorized to use the Amazon QuickSight service, that
2392//   your policies have the correct permissions, and that you are using the correct
2393//   access keys.
2394//
2395//   * InvalidParameterValueException
2396//   One or more parameters has a value that isn't valid.
2397//
2398//   * ResourceExistsException
2399//   The resource specified already exists.
2400//
2401//   * ResourceNotFoundException
2402//   One or more resources can't be found.
2403//
2404//   * ThrottlingException
2405//   Access is throttled.
2406//
2407//   * ConcurrentUpdatingException
2408//   A resource is already in a state that indicates an operation is happening
2409//   that must complete before a new update can be applied.
2410//
2411//   * InternalFailureException
2412//   An internal failure occurred.
2413//
2414// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteIAMPolicyAssignment
2415func (c *QuickSight) DeleteIAMPolicyAssignment(input *DeleteIAMPolicyAssignmentInput) (*DeleteIAMPolicyAssignmentOutput, error) {
2416	req, out := c.DeleteIAMPolicyAssignmentRequest(input)
2417	return out, req.Send()
2418}
2419
2420// DeleteIAMPolicyAssignmentWithContext is the same as DeleteIAMPolicyAssignment with the addition of
2421// the ability to pass a context and additional request options.
2422//
2423// See DeleteIAMPolicyAssignment for details on how to use this API operation.
2424//
2425// The context must be non-nil and will be used for request cancellation. If
2426// the context is nil a panic will occur. In the future the SDK may create
2427// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2428// for more information on using Contexts.
2429func (c *QuickSight) DeleteIAMPolicyAssignmentWithContext(ctx aws.Context, input *DeleteIAMPolicyAssignmentInput, opts ...request.Option) (*DeleteIAMPolicyAssignmentOutput, error) {
2430	req, out := c.DeleteIAMPolicyAssignmentRequest(input)
2431	req.SetContext(ctx)
2432	req.ApplyOptions(opts...)
2433	return out, req.Send()
2434}
2435
2436const opDeleteNamespace = "DeleteNamespace"
2437
2438// DeleteNamespaceRequest generates a "aws/request.Request" representing the
2439// client's request for the DeleteNamespace operation. The "output" return
2440// value will be populated with the request's response once the request completes
2441// successfully.
2442//
2443// Use "Send" method on the returned Request to send the API call to the service.
2444// the "output" return value is not valid until after Send returns without error.
2445//
2446// See DeleteNamespace for more information on using the DeleteNamespace
2447// API call, and error handling.
2448//
2449// This method is useful when you want to inject custom logic or configuration
2450// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2451//
2452//
2453//    // Example sending a request using the DeleteNamespaceRequest method.
2454//    req, resp := client.DeleteNamespaceRequest(params)
2455//
2456//    err := req.Send()
2457//    if err == nil { // resp is now filled
2458//        fmt.Println(resp)
2459//    }
2460//
2461// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteNamespace
2462func (c *QuickSight) DeleteNamespaceRequest(input *DeleteNamespaceInput) (req *request.Request, output *DeleteNamespaceOutput) {
2463	op := &request.Operation{
2464		Name:       opDeleteNamespace,
2465		HTTPMethod: "DELETE",
2466		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}",
2467	}
2468
2469	if input == nil {
2470		input = &DeleteNamespaceInput{}
2471	}
2472
2473	output = &DeleteNamespaceOutput{}
2474	req = c.newRequest(op, input, output)
2475	return
2476}
2477
2478// DeleteNamespace API operation for Amazon QuickSight.
2479//
2480// Deletes a namespace and the users and groups that are associated with the
2481// namespace. This is an asynchronous process. Assets including dashboards,
2482// analyses, datasets and data sources are not deleted. To delete these assets,
2483// you use the API operations for the relevant asset.
2484//
2485// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2486// with awserr.Error's Code and Message methods to get detailed information about
2487// the error.
2488//
2489// See the AWS API reference guide for Amazon QuickSight's
2490// API operation DeleteNamespace for usage and error information.
2491//
2492// Returned Error Types:
2493//   * AccessDeniedException
2494//   You don't have access to this item. The provided credentials couldn't be
2495//   validated. You might not be authorized to carry out the request. Make sure
2496//   that your account is authorized to use the Amazon QuickSight service, that
2497//   your policies have the correct permissions, and that you are using the correct
2498//   access keys.
2499//
2500//   * InvalidParameterValueException
2501//   One or more parameters has a value that isn't valid.
2502//
2503//   * ResourceNotFoundException
2504//   One or more resources can't be found.
2505//
2506//   * ThrottlingException
2507//   Access is throttled.
2508//
2509//   * PreconditionNotMetException
2510//   One or more preconditions aren't met.
2511//
2512//   * InternalFailureException
2513//   An internal failure occurred.
2514//
2515//   * ResourceUnavailableException
2516//   This resource is currently unavailable.
2517//
2518// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteNamespace
2519func (c *QuickSight) DeleteNamespace(input *DeleteNamespaceInput) (*DeleteNamespaceOutput, error) {
2520	req, out := c.DeleteNamespaceRequest(input)
2521	return out, req.Send()
2522}
2523
2524// DeleteNamespaceWithContext is the same as DeleteNamespace with the addition of
2525// the ability to pass a context and additional request options.
2526//
2527// See DeleteNamespace for details on how to use this API operation.
2528//
2529// The context must be non-nil and will be used for request cancellation. If
2530// the context is nil a panic will occur. In the future the SDK may create
2531// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2532// for more information on using Contexts.
2533func (c *QuickSight) DeleteNamespaceWithContext(ctx aws.Context, input *DeleteNamespaceInput, opts ...request.Option) (*DeleteNamespaceOutput, error) {
2534	req, out := c.DeleteNamespaceRequest(input)
2535	req.SetContext(ctx)
2536	req.ApplyOptions(opts...)
2537	return out, req.Send()
2538}
2539
2540const opDeleteTemplate = "DeleteTemplate"
2541
2542// DeleteTemplateRequest generates a "aws/request.Request" representing the
2543// client's request for the DeleteTemplate operation. The "output" return
2544// value will be populated with the request's response once the request completes
2545// successfully.
2546//
2547// Use "Send" method on the returned Request to send the API call to the service.
2548// the "output" return value is not valid until after Send returns without error.
2549//
2550// See DeleteTemplate for more information on using the DeleteTemplate
2551// API call, and error handling.
2552//
2553// This method is useful when you want to inject custom logic or configuration
2554// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2555//
2556//
2557//    // Example sending a request using the DeleteTemplateRequest method.
2558//    req, resp := client.DeleteTemplateRequest(params)
2559//
2560//    err := req.Send()
2561//    if err == nil { // resp is now filled
2562//        fmt.Println(resp)
2563//    }
2564//
2565// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplate
2566func (c *QuickSight) DeleteTemplateRequest(input *DeleteTemplateInput) (req *request.Request, output *DeleteTemplateOutput) {
2567	op := &request.Operation{
2568		Name:       opDeleteTemplate,
2569		HTTPMethod: "DELETE",
2570		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}",
2571	}
2572
2573	if input == nil {
2574		input = &DeleteTemplateInput{}
2575	}
2576
2577	output = &DeleteTemplateOutput{}
2578	req = c.newRequest(op, input, output)
2579	return
2580}
2581
2582// DeleteTemplate API operation for Amazon QuickSight.
2583//
2584// Deletes a template.
2585//
2586// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2587// with awserr.Error's Code and Message methods to get detailed information about
2588// the error.
2589//
2590// See the AWS API reference guide for Amazon QuickSight's
2591// API operation DeleteTemplate for usage and error information.
2592//
2593// Returned Error Types:
2594//   * InvalidParameterValueException
2595//   One or more parameters has a value that isn't valid.
2596//
2597//   * ResourceNotFoundException
2598//   One or more resources can't be found.
2599//
2600//   * ThrottlingException
2601//   Access is throttled.
2602//
2603//   * ConflictException
2604//   Updating or deleting a resource can cause an inconsistent state.
2605//
2606//   * LimitExceededException
2607//   A limit is exceeded.
2608//
2609//   * UnsupportedUserEditionException
2610//   This error indicates that you are calling an operation on an Amazon QuickSight
2611//   subscription where the edition doesn't include support for that operation.
2612//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
2613//   Not every operation and capability is available in every edition.
2614//
2615//   * InternalFailureException
2616//   An internal failure occurred.
2617//
2618// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplate
2619func (c *QuickSight) DeleteTemplate(input *DeleteTemplateInput) (*DeleteTemplateOutput, error) {
2620	req, out := c.DeleteTemplateRequest(input)
2621	return out, req.Send()
2622}
2623
2624// DeleteTemplateWithContext is the same as DeleteTemplate with the addition of
2625// the ability to pass a context and additional request options.
2626//
2627// See DeleteTemplate for details on how to use this API operation.
2628//
2629// The context must be non-nil and will be used for request cancellation. If
2630// the context is nil a panic will occur. In the future the SDK may create
2631// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2632// for more information on using Contexts.
2633func (c *QuickSight) DeleteTemplateWithContext(ctx aws.Context, input *DeleteTemplateInput, opts ...request.Option) (*DeleteTemplateOutput, error) {
2634	req, out := c.DeleteTemplateRequest(input)
2635	req.SetContext(ctx)
2636	req.ApplyOptions(opts...)
2637	return out, req.Send()
2638}
2639
2640const opDeleteTemplateAlias = "DeleteTemplateAlias"
2641
2642// DeleteTemplateAliasRequest generates a "aws/request.Request" representing the
2643// client's request for the DeleteTemplateAlias operation. The "output" return
2644// value will be populated with the request's response once the request completes
2645// successfully.
2646//
2647// Use "Send" method on the returned Request to send the API call to the service.
2648// the "output" return value is not valid until after Send returns without error.
2649//
2650// See DeleteTemplateAlias for more information on using the DeleteTemplateAlias
2651// API call, and error handling.
2652//
2653// This method is useful when you want to inject custom logic or configuration
2654// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2655//
2656//
2657//    // Example sending a request using the DeleteTemplateAliasRequest method.
2658//    req, resp := client.DeleteTemplateAliasRequest(params)
2659//
2660//    err := req.Send()
2661//    if err == nil { // resp is now filled
2662//        fmt.Println(resp)
2663//    }
2664//
2665// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplateAlias
2666func (c *QuickSight) DeleteTemplateAliasRequest(input *DeleteTemplateAliasInput) (req *request.Request, output *DeleteTemplateAliasOutput) {
2667	op := &request.Operation{
2668		Name:       opDeleteTemplateAlias,
2669		HTTPMethod: "DELETE",
2670		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
2671	}
2672
2673	if input == nil {
2674		input = &DeleteTemplateAliasInput{}
2675	}
2676
2677	output = &DeleteTemplateAliasOutput{}
2678	req = c.newRequest(op, input, output)
2679	return
2680}
2681
2682// DeleteTemplateAlias API operation for Amazon QuickSight.
2683//
2684// Deletes the item that the specified template alias points to. If you provide
2685// a specific alias, you delete the version of the template that the alias points
2686// to.
2687//
2688// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2689// with awserr.Error's Code and Message methods to get detailed information about
2690// the error.
2691//
2692// See the AWS API reference guide for Amazon QuickSight's
2693// API operation DeleteTemplateAlias for usage and error information.
2694//
2695// Returned Error Types:
2696//   * ThrottlingException
2697//   Access is throttled.
2698//
2699//   * ResourceNotFoundException
2700//   One or more resources can't be found.
2701//
2702//   * UnsupportedUserEditionException
2703//   This error indicates that you are calling an operation on an Amazon QuickSight
2704//   subscription where the edition doesn't include support for that operation.
2705//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
2706//   Not every operation and capability is available in every edition.
2707//
2708//   * ConflictException
2709//   Updating or deleting a resource can cause an inconsistent state.
2710//
2711//   * InternalFailureException
2712//   An internal failure occurred.
2713//
2714// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplateAlias
2715func (c *QuickSight) DeleteTemplateAlias(input *DeleteTemplateAliasInput) (*DeleteTemplateAliasOutput, error) {
2716	req, out := c.DeleteTemplateAliasRequest(input)
2717	return out, req.Send()
2718}
2719
2720// DeleteTemplateAliasWithContext is the same as DeleteTemplateAlias with the addition of
2721// the ability to pass a context and additional request options.
2722//
2723// See DeleteTemplateAlias for details on how to use this API operation.
2724//
2725// The context must be non-nil and will be used for request cancellation. If
2726// the context is nil a panic will occur. In the future the SDK may create
2727// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2728// for more information on using Contexts.
2729func (c *QuickSight) DeleteTemplateAliasWithContext(ctx aws.Context, input *DeleteTemplateAliasInput, opts ...request.Option) (*DeleteTemplateAliasOutput, error) {
2730	req, out := c.DeleteTemplateAliasRequest(input)
2731	req.SetContext(ctx)
2732	req.ApplyOptions(opts...)
2733	return out, req.Send()
2734}
2735
2736const opDeleteTheme = "DeleteTheme"
2737
2738// DeleteThemeRequest generates a "aws/request.Request" representing the
2739// client's request for the DeleteTheme operation. The "output" return
2740// value will be populated with the request's response once the request completes
2741// successfully.
2742//
2743// Use "Send" method on the returned Request to send the API call to the service.
2744// the "output" return value is not valid until after Send returns without error.
2745//
2746// See DeleteTheme for more information on using the DeleteTheme
2747// API call, and error handling.
2748//
2749// This method is useful when you want to inject custom logic or configuration
2750// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2751//
2752//
2753//    // Example sending a request using the DeleteThemeRequest method.
2754//    req, resp := client.DeleteThemeRequest(params)
2755//
2756//    err := req.Send()
2757//    if err == nil { // resp is now filled
2758//        fmt.Println(resp)
2759//    }
2760//
2761// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTheme
2762func (c *QuickSight) DeleteThemeRequest(input *DeleteThemeInput) (req *request.Request, output *DeleteThemeOutput) {
2763	op := &request.Operation{
2764		Name:       opDeleteTheme,
2765		HTTPMethod: "DELETE",
2766		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}",
2767	}
2768
2769	if input == nil {
2770		input = &DeleteThemeInput{}
2771	}
2772
2773	output = &DeleteThemeOutput{}
2774	req = c.newRequest(op, input, output)
2775	return
2776}
2777
2778// DeleteTheme API operation for Amazon QuickSight.
2779//
2780// Deletes a theme.
2781//
2782// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2783// with awserr.Error's Code and Message methods to get detailed information about
2784// the error.
2785//
2786// See the AWS API reference guide for Amazon QuickSight's
2787// API operation DeleteTheme for usage and error information.
2788//
2789// Returned Error Types:
2790//   * AccessDeniedException
2791//   You don't have access to this item. The provided credentials couldn't be
2792//   validated. You might not be authorized to carry out the request. Make sure
2793//   that your account is authorized to use the Amazon QuickSight service, that
2794//   your policies have the correct permissions, and that you are using the correct
2795//   access keys.
2796//
2797//   * ConflictException
2798//   Updating or deleting a resource can cause an inconsistent state.
2799//
2800//   * InvalidParameterValueException
2801//   One or more parameters has a value that isn't valid.
2802//
2803//   * ResourceNotFoundException
2804//   One or more resources can't be found.
2805//
2806//   * ThrottlingException
2807//   Access is throttled.
2808//
2809//   * UnsupportedUserEditionException
2810//   This error indicates that you are calling an operation on an Amazon QuickSight
2811//   subscription where the edition doesn't include support for that operation.
2812//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
2813//   Not every operation and capability is available in every edition.
2814//
2815//   * InternalFailureException
2816//   An internal failure occurred.
2817//
2818// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTheme
2819func (c *QuickSight) DeleteTheme(input *DeleteThemeInput) (*DeleteThemeOutput, error) {
2820	req, out := c.DeleteThemeRequest(input)
2821	return out, req.Send()
2822}
2823
2824// DeleteThemeWithContext is the same as DeleteTheme with the addition of
2825// the ability to pass a context and additional request options.
2826//
2827// See DeleteTheme for details on how to use this API operation.
2828//
2829// The context must be non-nil and will be used for request cancellation. If
2830// the context is nil a panic will occur. In the future the SDK may create
2831// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2832// for more information on using Contexts.
2833func (c *QuickSight) DeleteThemeWithContext(ctx aws.Context, input *DeleteThemeInput, opts ...request.Option) (*DeleteThemeOutput, error) {
2834	req, out := c.DeleteThemeRequest(input)
2835	req.SetContext(ctx)
2836	req.ApplyOptions(opts...)
2837	return out, req.Send()
2838}
2839
2840const opDeleteThemeAlias = "DeleteThemeAlias"
2841
2842// DeleteThemeAliasRequest generates a "aws/request.Request" representing the
2843// client's request for the DeleteThemeAlias operation. The "output" return
2844// value will be populated with the request's response once the request completes
2845// successfully.
2846//
2847// Use "Send" method on the returned Request to send the API call to the service.
2848// the "output" return value is not valid until after Send returns without error.
2849//
2850// See DeleteThemeAlias for more information on using the DeleteThemeAlias
2851// API call, and error handling.
2852//
2853// This method is useful when you want to inject custom logic or configuration
2854// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2855//
2856//
2857//    // Example sending a request using the DeleteThemeAliasRequest method.
2858//    req, resp := client.DeleteThemeAliasRequest(params)
2859//
2860//    err := req.Send()
2861//    if err == nil { // resp is now filled
2862//        fmt.Println(resp)
2863//    }
2864//
2865// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteThemeAlias
2866func (c *QuickSight) DeleteThemeAliasRequest(input *DeleteThemeAliasInput) (req *request.Request, output *DeleteThemeAliasOutput) {
2867	op := &request.Operation{
2868		Name:       opDeleteThemeAlias,
2869		HTTPMethod: "DELETE",
2870		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}",
2871	}
2872
2873	if input == nil {
2874		input = &DeleteThemeAliasInput{}
2875	}
2876
2877	output = &DeleteThemeAliasOutput{}
2878	req = c.newRequest(op, input, output)
2879	return
2880}
2881
2882// DeleteThemeAlias API operation for Amazon QuickSight.
2883//
2884// Deletes the version of the theme that the specified theme alias points to.
2885// If you provide a specific alias, you delete the version of the theme that
2886// the alias points to.
2887//
2888// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2889// with awserr.Error's Code and Message methods to get detailed information about
2890// the error.
2891//
2892// See the AWS API reference guide for Amazon QuickSight's
2893// API operation DeleteThemeAlias for usage and error information.
2894//
2895// Returned Error Types:
2896//   * ConflictException
2897//   Updating or deleting a resource can cause an inconsistent state.
2898//
2899//   * InvalidParameterValueException
2900//   One or more parameters has a value that isn't valid.
2901//
2902//   * ResourceNotFoundException
2903//   One or more resources can't be found.
2904//
2905//   * ThrottlingException
2906//   Access is throttled.
2907//
2908//   * UnsupportedUserEditionException
2909//   This error indicates that you are calling an operation on an Amazon QuickSight
2910//   subscription where the edition doesn't include support for that operation.
2911//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
2912//   Not every operation and capability is available in every edition.
2913//
2914//   * InternalFailureException
2915//   An internal failure occurred.
2916//
2917// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteThemeAlias
2918func (c *QuickSight) DeleteThemeAlias(input *DeleteThemeAliasInput) (*DeleteThemeAliasOutput, error) {
2919	req, out := c.DeleteThemeAliasRequest(input)
2920	return out, req.Send()
2921}
2922
2923// DeleteThemeAliasWithContext is the same as DeleteThemeAlias with the addition of
2924// the ability to pass a context and additional request options.
2925//
2926// See DeleteThemeAlias for details on how to use this API operation.
2927//
2928// The context must be non-nil and will be used for request cancellation. If
2929// the context is nil a panic will occur. In the future the SDK may create
2930// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2931// for more information on using Contexts.
2932func (c *QuickSight) DeleteThemeAliasWithContext(ctx aws.Context, input *DeleteThemeAliasInput, opts ...request.Option) (*DeleteThemeAliasOutput, error) {
2933	req, out := c.DeleteThemeAliasRequest(input)
2934	req.SetContext(ctx)
2935	req.ApplyOptions(opts...)
2936	return out, req.Send()
2937}
2938
2939const opDeleteUser = "DeleteUser"
2940
2941// DeleteUserRequest generates a "aws/request.Request" representing the
2942// client's request for the DeleteUser operation. The "output" return
2943// value will be populated with the request's response once the request completes
2944// successfully.
2945//
2946// Use "Send" method on the returned Request to send the API call to the service.
2947// the "output" return value is not valid until after Send returns without error.
2948//
2949// See DeleteUser for more information on using the DeleteUser
2950// API call, and error handling.
2951//
2952// This method is useful when you want to inject custom logic or configuration
2953// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2954//
2955//
2956//    // Example sending a request using the DeleteUserRequest method.
2957//    req, resp := client.DeleteUserRequest(params)
2958//
2959//    err := req.Send()
2960//    if err == nil { // resp is now filled
2961//        fmt.Println(resp)
2962//    }
2963//
2964// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUser
2965func (c *QuickSight) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) {
2966	op := &request.Operation{
2967		Name:       opDeleteUser,
2968		HTTPMethod: "DELETE",
2969		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}",
2970	}
2971
2972	if input == nil {
2973		input = &DeleteUserInput{}
2974	}
2975
2976	output = &DeleteUserOutput{}
2977	req = c.newRequest(op, input, output)
2978	return
2979}
2980
2981// DeleteUser API operation for Amazon QuickSight.
2982//
2983// Deletes the Amazon QuickSight user that is associated with the identity of
2984// the AWS Identity and Access Management (IAM) user or role that's making the
2985// call. The IAM user isn't deleted as a result of this call.
2986//
2987// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2988// with awserr.Error's Code and Message methods to get detailed information about
2989// the error.
2990//
2991// See the AWS API reference guide for Amazon QuickSight's
2992// API operation DeleteUser for usage and error information.
2993//
2994// Returned Error Types:
2995//   * AccessDeniedException
2996//   You don't have access to this item. The provided credentials couldn't be
2997//   validated. You might not be authorized to carry out the request. Make sure
2998//   that your account is authorized to use the Amazon QuickSight service, that
2999//   your policies have the correct permissions, and that you are using the correct
3000//   access keys.
3001//
3002//   * InvalidParameterValueException
3003//   One or more parameters has a value that isn't valid.
3004//
3005//   * ResourceNotFoundException
3006//   One or more resources can't be found.
3007//
3008//   * ThrottlingException
3009//   Access is throttled.
3010//
3011//   * PreconditionNotMetException
3012//   One or more preconditions aren't met.
3013//
3014//   * InternalFailureException
3015//   An internal failure occurred.
3016//
3017//   * ResourceUnavailableException
3018//   This resource is currently unavailable.
3019//
3020// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUser
3021func (c *QuickSight) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) {
3022	req, out := c.DeleteUserRequest(input)
3023	return out, req.Send()
3024}
3025
3026// DeleteUserWithContext is the same as DeleteUser with the addition of
3027// the ability to pass a context and additional request options.
3028//
3029// See DeleteUser for details on how to use this API operation.
3030//
3031// The context must be non-nil and will be used for request cancellation. If
3032// the context is nil a panic will occur. In the future the SDK may create
3033// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3034// for more information on using Contexts.
3035func (c *QuickSight) DeleteUserWithContext(ctx aws.Context, input *DeleteUserInput, opts ...request.Option) (*DeleteUserOutput, error) {
3036	req, out := c.DeleteUserRequest(input)
3037	req.SetContext(ctx)
3038	req.ApplyOptions(opts...)
3039	return out, req.Send()
3040}
3041
3042const opDeleteUserByPrincipalId = "DeleteUserByPrincipalId"
3043
3044// DeleteUserByPrincipalIdRequest generates a "aws/request.Request" representing the
3045// client's request for the DeleteUserByPrincipalId operation. The "output" return
3046// value will be populated with the request's response once the request completes
3047// successfully.
3048//
3049// Use "Send" method on the returned Request to send the API call to the service.
3050// the "output" return value is not valid until after Send returns without error.
3051//
3052// See DeleteUserByPrincipalId for more information on using the DeleteUserByPrincipalId
3053// API call, and error handling.
3054//
3055// This method is useful when you want to inject custom logic or configuration
3056// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3057//
3058//
3059//    // Example sending a request using the DeleteUserByPrincipalIdRequest method.
3060//    req, resp := client.DeleteUserByPrincipalIdRequest(params)
3061//
3062//    err := req.Send()
3063//    if err == nil { // resp is now filled
3064//        fmt.Println(resp)
3065//    }
3066//
3067// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUserByPrincipalId
3068func (c *QuickSight) DeleteUserByPrincipalIdRequest(input *DeleteUserByPrincipalIdInput) (req *request.Request, output *DeleteUserByPrincipalIdOutput) {
3069	op := &request.Operation{
3070		Name:       opDeleteUserByPrincipalId,
3071		HTTPMethod: "DELETE",
3072		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/user-principals/{PrincipalId}",
3073	}
3074
3075	if input == nil {
3076		input = &DeleteUserByPrincipalIdInput{}
3077	}
3078
3079	output = &DeleteUserByPrincipalIdOutput{}
3080	req = c.newRequest(op, input, output)
3081	return
3082}
3083
3084// DeleteUserByPrincipalId API operation for Amazon QuickSight.
3085//
3086// Deletes a user identified by its principal ID.
3087//
3088// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3089// with awserr.Error's Code and Message methods to get detailed information about
3090// the error.
3091//
3092// See the AWS API reference guide for Amazon QuickSight's
3093// API operation DeleteUserByPrincipalId for usage and error information.
3094//
3095// Returned Error Types:
3096//   * AccessDeniedException
3097//   You don't have access to this item. The provided credentials couldn't be
3098//   validated. You might not be authorized to carry out the request. Make sure
3099//   that your account is authorized to use the Amazon QuickSight service, that
3100//   your policies have the correct permissions, and that you are using the correct
3101//   access keys.
3102//
3103//   * InvalidParameterValueException
3104//   One or more parameters has a value that isn't valid.
3105//
3106//   * ResourceNotFoundException
3107//   One or more resources can't be found.
3108//
3109//   * ThrottlingException
3110//   Access is throttled.
3111//
3112//   * PreconditionNotMetException
3113//   One or more preconditions aren't met.
3114//
3115//   * InternalFailureException
3116//   An internal failure occurred.
3117//
3118//   * ResourceUnavailableException
3119//   This resource is currently unavailable.
3120//
3121// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUserByPrincipalId
3122func (c *QuickSight) DeleteUserByPrincipalId(input *DeleteUserByPrincipalIdInput) (*DeleteUserByPrincipalIdOutput, error) {
3123	req, out := c.DeleteUserByPrincipalIdRequest(input)
3124	return out, req.Send()
3125}
3126
3127// DeleteUserByPrincipalIdWithContext is the same as DeleteUserByPrincipalId with the addition of
3128// the ability to pass a context and additional request options.
3129//
3130// See DeleteUserByPrincipalId for details on how to use this API operation.
3131//
3132// The context must be non-nil and will be used for request cancellation. If
3133// the context is nil a panic will occur. In the future the SDK may create
3134// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3135// for more information on using Contexts.
3136func (c *QuickSight) DeleteUserByPrincipalIdWithContext(ctx aws.Context, input *DeleteUserByPrincipalIdInput, opts ...request.Option) (*DeleteUserByPrincipalIdOutput, error) {
3137	req, out := c.DeleteUserByPrincipalIdRequest(input)
3138	req.SetContext(ctx)
3139	req.ApplyOptions(opts...)
3140	return out, req.Send()
3141}
3142
3143const opDescribeAccountCustomization = "DescribeAccountCustomization"
3144
3145// DescribeAccountCustomizationRequest generates a "aws/request.Request" representing the
3146// client's request for the DescribeAccountCustomization operation. The "output" return
3147// value will be populated with the request's response once the request completes
3148// successfully.
3149//
3150// Use "Send" method on the returned Request to send the API call to the service.
3151// the "output" return value is not valid until after Send returns without error.
3152//
3153// See DescribeAccountCustomization for more information on using the DescribeAccountCustomization
3154// API call, and error handling.
3155//
3156// This method is useful when you want to inject custom logic or configuration
3157// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3158//
3159//
3160//    // Example sending a request using the DescribeAccountCustomizationRequest method.
3161//    req, resp := client.DescribeAccountCustomizationRequest(params)
3162//
3163//    err := req.Send()
3164//    if err == nil { // resp is now filled
3165//        fmt.Println(resp)
3166//    }
3167//
3168// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAccountCustomization
3169func (c *QuickSight) DescribeAccountCustomizationRequest(input *DescribeAccountCustomizationInput) (req *request.Request, output *DescribeAccountCustomizationOutput) {
3170	op := &request.Operation{
3171		Name:       opDescribeAccountCustomization,
3172		HTTPMethod: "GET",
3173		HTTPPath:   "/accounts/{AwsAccountId}/customizations",
3174	}
3175
3176	if input == nil {
3177		input = &DescribeAccountCustomizationInput{}
3178	}
3179
3180	output = &DescribeAccountCustomizationOutput{}
3181	req = c.newRequest(op, input, output)
3182	return
3183}
3184
3185// DescribeAccountCustomization API operation for Amazon QuickSight.
3186//
3187// Describes the customizations associated with the provided AWS account and
3188// Amazon QuickSight namespace in an AWS Region. The QuickSight console evaluates
3189// which customizations to apply by running this API operation with the Resolved
3190// flag included.
3191//
3192// To determine what customizations display when you run this command, it can
3193// help to visualize the relationship of the entities involved.
3194//
3195//    * AWS Account - The AWS account exists at the top of the hierarchy. It
3196//    has the potential to use all of the AWS Regions and AWS Services. When
3197//    you subscribe to QuickSight, you choose one AWS Region to use as your
3198//    home Region. That's where your free SPICE capacity is located. You can
3199//    use QuickSight in any supported AWS Region.
3200//
3201//    * AWS Region - In each AWS Region where you sign in to QuickSight at least
3202//    once, QuickSight acts as a separate instance of the same service. If you
3203//    have a user directory, it resides in us-east-1, which is the US East (N.
3204//    Virginia). Generally speaking, these users have access to QuickSight in
3205//    any AWS Region, unless they are constrained to a namespace. To run the
3206//    command in a different AWS Region, you change your Region settings. If
3207//    you're using the AWS CLI, you can use one of the following options: Use
3208//    command line options (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-options.html).
3209//    Use named profiles (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html).
3210//    Run aws configure to change your default AWS Region. Use Enter to key
3211//    the same settings for your keys. For more information, see Configuring
3212//    the AWS CLI (https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html).
3213//
3214//    * Namespace - A QuickSight namespace is a partition that contains users
3215//    and assets (data sources, datasets, dashboards, and so on). To access
3216//    assets that are in a specific namespace, users and groups must also be
3217//    part of the same namespace. People who share a namespace are completely
3218//    isolated from users and assets in other namespaces, even if they are in
3219//    the same AWS account and AWS Region.
3220//
3221//    * Applied customizations - Within an AWS Region, a set of QuickSight customizations
3222//    can apply to an AWS account or to a namespace. Settings that you apply
3223//    to a namespace override settings that you apply to an AWS account. All
3224//    settings are isolated to a single AWS Region. To apply them in other AWS
3225//    Regions, run the CreateAccountCustomization command in each AWS Region
3226//    where you want to apply the same customizations.
3227//
3228// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3229// with awserr.Error's Code and Message methods to get detailed information about
3230// the error.
3231//
3232// See the AWS API reference guide for Amazon QuickSight's
3233// API operation DescribeAccountCustomization for usage and error information.
3234//
3235// Returned Error Types:
3236//   * AccessDeniedException
3237//   You don't have access to this item. The provided credentials couldn't be
3238//   validated. You might not be authorized to carry out the request. Make sure
3239//   that your account is authorized to use the Amazon QuickSight service, that
3240//   your policies have the correct permissions, and that you are using the correct
3241//   access keys.
3242//
3243//   * InvalidParameterValueException
3244//   One or more parameters has a value that isn't valid.
3245//
3246//   * ResourceNotFoundException
3247//   One or more resources can't be found.
3248//
3249//   * ThrottlingException
3250//   Access is throttled.
3251//
3252//   * InternalFailureException
3253//   An internal failure occurred.
3254//
3255//   * ResourceUnavailableException
3256//   This resource is currently unavailable.
3257//
3258// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAccountCustomization
3259func (c *QuickSight) DescribeAccountCustomization(input *DescribeAccountCustomizationInput) (*DescribeAccountCustomizationOutput, error) {
3260	req, out := c.DescribeAccountCustomizationRequest(input)
3261	return out, req.Send()
3262}
3263
3264// DescribeAccountCustomizationWithContext is the same as DescribeAccountCustomization with the addition of
3265// the ability to pass a context and additional request options.
3266//
3267// See DescribeAccountCustomization for details on how to use this API operation.
3268//
3269// The context must be non-nil and will be used for request cancellation. If
3270// the context is nil a panic will occur. In the future the SDK may create
3271// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3272// for more information on using Contexts.
3273func (c *QuickSight) DescribeAccountCustomizationWithContext(ctx aws.Context, input *DescribeAccountCustomizationInput, opts ...request.Option) (*DescribeAccountCustomizationOutput, error) {
3274	req, out := c.DescribeAccountCustomizationRequest(input)
3275	req.SetContext(ctx)
3276	req.ApplyOptions(opts...)
3277	return out, req.Send()
3278}
3279
3280const opDescribeAccountSettings = "DescribeAccountSettings"
3281
3282// DescribeAccountSettingsRequest generates a "aws/request.Request" representing the
3283// client's request for the DescribeAccountSettings operation. The "output" return
3284// value will be populated with the request's response once the request completes
3285// successfully.
3286//
3287// Use "Send" method on the returned Request to send the API call to the service.
3288// the "output" return value is not valid until after Send returns without error.
3289//
3290// See DescribeAccountSettings for more information on using the DescribeAccountSettings
3291// API call, and error handling.
3292//
3293// This method is useful when you want to inject custom logic or configuration
3294// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3295//
3296//
3297//    // Example sending a request using the DescribeAccountSettingsRequest method.
3298//    req, resp := client.DescribeAccountSettingsRequest(params)
3299//
3300//    err := req.Send()
3301//    if err == nil { // resp is now filled
3302//        fmt.Println(resp)
3303//    }
3304//
3305// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAccountSettings
3306func (c *QuickSight) DescribeAccountSettingsRequest(input *DescribeAccountSettingsInput) (req *request.Request, output *DescribeAccountSettingsOutput) {
3307	op := &request.Operation{
3308		Name:       opDescribeAccountSettings,
3309		HTTPMethod: "GET",
3310		HTTPPath:   "/accounts/{AwsAccountId}/settings",
3311	}
3312
3313	if input == nil {
3314		input = &DescribeAccountSettingsInput{}
3315	}
3316
3317	output = &DescribeAccountSettingsOutput{}
3318	req = c.newRequest(op, input, output)
3319	return
3320}
3321
3322// DescribeAccountSettings API operation for Amazon QuickSight.
3323//
3324// Describes the settings that were used when your QuickSight subscription was
3325// first created in this AWS account.
3326//
3327// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3328// with awserr.Error's Code and Message methods to get detailed information about
3329// the error.
3330//
3331// See the AWS API reference guide for Amazon QuickSight's
3332// API operation DescribeAccountSettings for usage and error information.
3333//
3334// Returned Error Types:
3335//   * AccessDeniedException
3336//   You don't have access to this item. The provided credentials couldn't be
3337//   validated. You might not be authorized to carry out the request. Make sure
3338//   that your account is authorized to use the Amazon QuickSight service, that
3339//   your policies have the correct permissions, and that you are using the correct
3340//   access keys.
3341//
3342//   * InvalidParameterValueException
3343//   One or more parameters has a value that isn't valid.
3344//
3345//   * ResourceNotFoundException
3346//   One or more resources can't be found.
3347//
3348//   * ThrottlingException
3349//   Access is throttled.
3350//
3351//   * InternalFailureException
3352//   An internal failure occurred.
3353//
3354//   * ResourceUnavailableException
3355//   This resource is currently unavailable.
3356//
3357// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAccountSettings
3358func (c *QuickSight) DescribeAccountSettings(input *DescribeAccountSettingsInput) (*DescribeAccountSettingsOutput, error) {
3359	req, out := c.DescribeAccountSettingsRequest(input)
3360	return out, req.Send()
3361}
3362
3363// DescribeAccountSettingsWithContext is the same as DescribeAccountSettings with the addition of
3364// the ability to pass a context and additional request options.
3365//
3366// See DescribeAccountSettings for details on how to use this API operation.
3367//
3368// The context must be non-nil and will be used for request cancellation. If
3369// the context is nil a panic will occur. In the future the SDK may create
3370// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3371// for more information on using Contexts.
3372func (c *QuickSight) DescribeAccountSettingsWithContext(ctx aws.Context, input *DescribeAccountSettingsInput, opts ...request.Option) (*DescribeAccountSettingsOutput, error) {
3373	req, out := c.DescribeAccountSettingsRequest(input)
3374	req.SetContext(ctx)
3375	req.ApplyOptions(opts...)
3376	return out, req.Send()
3377}
3378
3379const opDescribeAnalysis = "DescribeAnalysis"
3380
3381// DescribeAnalysisRequest generates a "aws/request.Request" representing the
3382// client's request for the DescribeAnalysis operation. The "output" return
3383// value will be populated with the request's response once the request completes
3384// successfully.
3385//
3386// Use "Send" method on the returned Request to send the API call to the service.
3387// the "output" return value is not valid until after Send returns without error.
3388//
3389// See DescribeAnalysis for more information on using the DescribeAnalysis
3390// API call, and error handling.
3391//
3392// This method is useful when you want to inject custom logic or configuration
3393// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3394//
3395//
3396//    // Example sending a request using the DescribeAnalysisRequest method.
3397//    req, resp := client.DescribeAnalysisRequest(params)
3398//
3399//    err := req.Send()
3400//    if err == nil { // resp is now filled
3401//        fmt.Println(resp)
3402//    }
3403//
3404// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAnalysis
3405func (c *QuickSight) DescribeAnalysisRequest(input *DescribeAnalysisInput) (req *request.Request, output *DescribeAnalysisOutput) {
3406	op := &request.Operation{
3407		Name:       opDescribeAnalysis,
3408		HTTPMethod: "GET",
3409		HTTPPath:   "/accounts/{AwsAccountId}/analyses/{AnalysisId}",
3410	}
3411
3412	if input == nil {
3413		input = &DescribeAnalysisInput{}
3414	}
3415
3416	output = &DescribeAnalysisOutput{}
3417	req = c.newRequest(op, input, output)
3418	return
3419}
3420
3421// DescribeAnalysis API operation for Amazon QuickSight.
3422//
3423// Provides a summary of the metadata for an analysis.
3424//
3425// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3426// with awserr.Error's Code and Message methods to get detailed information about
3427// the error.
3428//
3429// See the AWS API reference guide for Amazon QuickSight's
3430// API operation DescribeAnalysis for usage and error information.
3431//
3432// Returned Error Types:
3433//   * InvalidParameterValueException
3434//   One or more parameters has a value that isn't valid.
3435//
3436//   * ResourceNotFoundException
3437//   One or more resources can't be found.
3438//
3439//   * AccessDeniedException
3440//   You don't have access to this item. The provided credentials couldn't be
3441//   validated. You might not be authorized to carry out the request. Make sure
3442//   that your account is authorized to use the Amazon QuickSight service, that
3443//   your policies have the correct permissions, and that you are using the correct
3444//   access keys.
3445//
3446//   * ThrottlingException
3447//   Access is throttled.
3448//
3449//   * UnsupportedUserEditionException
3450//   This error indicates that you are calling an operation on an Amazon QuickSight
3451//   subscription where the edition doesn't include support for that operation.
3452//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
3453//   Not every operation and capability is available in every edition.
3454//
3455//   * InternalFailureException
3456//   An internal failure occurred.
3457//
3458// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAnalysis
3459func (c *QuickSight) DescribeAnalysis(input *DescribeAnalysisInput) (*DescribeAnalysisOutput, error) {
3460	req, out := c.DescribeAnalysisRequest(input)
3461	return out, req.Send()
3462}
3463
3464// DescribeAnalysisWithContext is the same as DescribeAnalysis with the addition of
3465// the ability to pass a context and additional request options.
3466//
3467// See DescribeAnalysis for details on how to use this API operation.
3468//
3469// The context must be non-nil and will be used for request cancellation. If
3470// the context is nil a panic will occur. In the future the SDK may create
3471// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3472// for more information on using Contexts.
3473func (c *QuickSight) DescribeAnalysisWithContext(ctx aws.Context, input *DescribeAnalysisInput, opts ...request.Option) (*DescribeAnalysisOutput, error) {
3474	req, out := c.DescribeAnalysisRequest(input)
3475	req.SetContext(ctx)
3476	req.ApplyOptions(opts...)
3477	return out, req.Send()
3478}
3479
3480const opDescribeAnalysisPermissions = "DescribeAnalysisPermissions"
3481
3482// DescribeAnalysisPermissionsRequest generates a "aws/request.Request" representing the
3483// client's request for the DescribeAnalysisPermissions operation. The "output" return
3484// value will be populated with the request's response once the request completes
3485// successfully.
3486//
3487// Use "Send" method on the returned Request to send the API call to the service.
3488// the "output" return value is not valid until after Send returns without error.
3489//
3490// See DescribeAnalysisPermissions for more information on using the DescribeAnalysisPermissions
3491// API call, and error handling.
3492//
3493// This method is useful when you want to inject custom logic or configuration
3494// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3495//
3496//
3497//    // Example sending a request using the DescribeAnalysisPermissionsRequest method.
3498//    req, resp := client.DescribeAnalysisPermissionsRequest(params)
3499//
3500//    err := req.Send()
3501//    if err == nil { // resp is now filled
3502//        fmt.Println(resp)
3503//    }
3504//
3505// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAnalysisPermissions
3506func (c *QuickSight) DescribeAnalysisPermissionsRequest(input *DescribeAnalysisPermissionsInput) (req *request.Request, output *DescribeAnalysisPermissionsOutput) {
3507	op := &request.Operation{
3508		Name:       opDescribeAnalysisPermissions,
3509		HTTPMethod: "GET",
3510		HTTPPath:   "/accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions",
3511	}
3512
3513	if input == nil {
3514		input = &DescribeAnalysisPermissionsInput{}
3515	}
3516
3517	output = &DescribeAnalysisPermissionsOutput{}
3518	req = c.newRequest(op, input, output)
3519	return
3520}
3521
3522// DescribeAnalysisPermissions API operation for Amazon QuickSight.
3523//
3524// Provides the read and write permissions for an analysis.
3525//
3526// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3527// with awserr.Error's Code and Message methods to get detailed information about
3528// the error.
3529//
3530// See the AWS API reference guide for Amazon QuickSight's
3531// API operation DescribeAnalysisPermissions for usage and error information.
3532//
3533// Returned Error Types:
3534//   * InvalidParameterValueException
3535//   One or more parameters has a value that isn't valid.
3536//
3537//   * ResourceNotFoundException
3538//   One or more resources can't be found.
3539//
3540//   * ThrottlingException
3541//   Access is throttled.
3542//
3543//   * UnsupportedUserEditionException
3544//   This error indicates that you are calling an operation on an Amazon QuickSight
3545//   subscription where the edition doesn't include support for that operation.
3546//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
3547//   Not every operation and capability is available in every edition.
3548//
3549//   * InternalFailureException
3550//   An internal failure occurred.
3551//
3552// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAnalysisPermissions
3553func (c *QuickSight) DescribeAnalysisPermissions(input *DescribeAnalysisPermissionsInput) (*DescribeAnalysisPermissionsOutput, error) {
3554	req, out := c.DescribeAnalysisPermissionsRequest(input)
3555	return out, req.Send()
3556}
3557
3558// DescribeAnalysisPermissionsWithContext is the same as DescribeAnalysisPermissions with the addition of
3559// the ability to pass a context and additional request options.
3560//
3561// See DescribeAnalysisPermissions for details on how to use this API operation.
3562//
3563// The context must be non-nil and will be used for request cancellation. If
3564// the context is nil a panic will occur. In the future the SDK may create
3565// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3566// for more information on using Contexts.
3567func (c *QuickSight) DescribeAnalysisPermissionsWithContext(ctx aws.Context, input *DescribeAnalysisPermissionsInput, opts ...request.Option) (*DescribeAnalysisPermissionsOutput, error) {
3568	req, out := c.DescribeAnalysisPermissionsRequest(input)
3569	req.SetContext(ctx)
3570	req.ApplyOptions(opts...)
3571	return out, req.Send()
3572}
3573
3574const opDescribeDashboard = "DescribeDashboard"
3575
3576// DescribeDashboardRequest generates a "aws/request.Request" representing the
3577// client's request for the DescribeDashboard operation. The "output" return
3578// value will be populated with the request's response once the request completes
3579// successfully.
3580//
3581// Use "Send" method on the returned Request to send the API call to the service.
3582// the "output" return value is not valid until after Send returns without error.
3583//
3584// See DescribeDashboard for more information on using the DescribeDashboard
3585// API call, and error handling.
3586//
3587// This method is useful when you want to inject custom logic or configuration
3588// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3589//
3590//
3591//    // Example sending a request using the DescribeDashboardRequest method.
3592//    req, resp := client.DescribeDashboardRequest(params)
3593//
3594//    err := req.Send()
3595//    if err == nil { // resp is now filled
3596//        fmt.Println(resp)
3597//    }
3598//
3599// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboard
3600func (c *QuickSight) DescribeDashboardRequest(input *DescribeDashboardInput) (req *request.Request, output *DescribeDashboardOutput) {
3601	op := &request.Operation{
3602		Name:       opDescribeDashboard,
3603		HTTPMethod: "GET",
3604		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
3605	}
3606
3607	if input == nil {
3608		input = &DescribeDashboardInput{}
3609	}
3610
3611	output = &DescribeDashboardOutput{}
3612	req = c.newRequest(op, input, output)
3613	return
3614}
3615
3616// DescribeDashboard API operation for Amazon QuickSight.
3617//
3618// Provides a summary for a dashboard.
3619//
3620// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3621// with awserr.Error's Code and Message methods to get detailed information about
3622// the error.
3623//
3624// See the AWS API reference guide for Amazon QuickSight's
3625// API operation DescribeDashboard for usage and error information.
3626//
3627// Returned Error Types:
3628//   * InvalidParameterValueException
3629//   One or more parameters has a value that isn't valid.
3630//
3631//   * ResourceNotFoundException
3632//   One or more resources can't be found.
3633//
3634//   * AccessDeniedException
3635//   You don't have access to this item. The provided credentials couldn't be
3636//   validated. You might not be authorized to carry out the request. Make sure
3637//   that your account is authorized to use the Amazon QuickSight service, that
3638//   your policies have the correct permissions, and that you are using the correct
3639//   access keys.
3640//
3641//   * ThrottlingException
3642//   Access is throttled.
3643//
3644//   * UnsupportedUserEditionException
3645//   This error indicates that you are calling an operation on an Amazon QuickSight
3646//   subscription where the edition doesn't include support for that operation.
3647//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
3648//   Not every operation and capability is available in every edition.
3649//
3650//   * InternalFailureException
3651//   An internal failure occurred.
3652//
3653// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboard
3654func (c *QuickSight) DescribeDashboard(input *DescribeDashboardInput) (*DescribeDashboardOutput, error) {
3655	req, out := c.DescribeDashboardRequest(input)
3656	return out, req.Send()
3657}
3658
3659// DescribeDashboardWithContext is the same as DescribeDashboard with the addition of
3660// the ability to pass a context and additional request options.
3661//
3662// See DescribeDashboard for details on how to use this API operation.
3663//
3664// The context must be non-nil and will be used for request cancellation. If
3665// the context is nil a panic will occur. In the future the SDK may create
3666// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3667// for more information on using Contexts.
3668func (c *QuickSight) DescribeDashboardWithContext(ctx aws.Context, input *DescribeDashboardInput, opts ...request.Option) (*DescribeDashboardOutput, error) {
3669	req, out := c.DescribeDashboardRequest(input)
3670	req.SetContext(ctx)
3671	req.ApplyOptions(opts...)
3672	return out, req.Send()
3673}
3674
3675const opDescribeDashboardPermissions = "DescribeDashboardPermissions"
3676
3677// DescribeDashboardPermissionsRequest generates a "aws/request.Request" representing the
3678// client's request for the DescribeDashboardPermissions operation. The "output" return
3679// value will be populated with the request's response once the request completes
3680// successfully.
3681//
3682// Use "Send" method on the returned Request to send the API call to the service.
3683// the "output" return value is not valid until after Send returns without error.
3684//
3685// See DescribeDashboardPermissions for more information on using the DescribeDashboardPermissions
3686// API call, and error handling.
3687//
3688// This method is useful when you want to inject custom logic or configuration
3689// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3690//
3691//
3692//    // Example sending a request using the DescribeDashboardPermissionsRequest method.
3693//    req, resp := client.DescribeDashboardPermissionsRequest(params)
3694//
3695//    err := req.Send()
3696//    if err == nil { // resp is now filled
3697//        fmt.Println(resp)
3698//    }
3699//
3700// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboardPermissions
3701func (c *QuickSight) DescribeDashboardPermissionsRequest(input *DescribeDashboardPermissionsInput) (req *request.Request, output *DescribeDashboardPermissionsOutput) {
3702	op := &request.Operation{
3703		Name:       opDescribeDashboardPermissions,
3704		HTTPMethod: "GET",
3705		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions",
3706	}
3707
3708	if input == nil {
3709		input = &DescribeDashboardPermissionsInput{}
3710	}
3711
3712	output = &DescribeDashboardPermissionsOutput{}
3713	req = c.newRequest(op, input, output)
3714	return
3715}
3716
3717// DescribeDashboardPermissions API operation for Amazon QuickSight.
3718//
3719// Describes read and write permissions for a dashboard.
3720//
3721// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3722// with awserr.Error's Code and Message methods to get detailed information about
3723// the error.
3724//
3725// See the AWS API reference guide for Amazon QuickSight's
3726// API operation DescribeDashboardPermissions for usage and error information.
3727//
3728// Returned Error Types:
3729//   * InvalidParameterValueException
3730//   One or more parameters has a value that isn't valid.
3731//
3732//   * ResourceNotFoundException
3733//   One or more resources can't be found.
3734//
3735//   * ThrottlingException
3736//   Access is throttled.
3737//
3738//   * UnsupportedUserEditionException
3739//   This error indicates that you are calling an operation on an Amazon QuickSight
3740//   subscription where the edition doesn't include support for that operation.
3741//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
3742//   Not every operation and capability is available in every edition.
3743//
3744//   * InternalFailureException
3745//   An internal failure occurred.
3746//
3747// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboardPermissions
3748func (c *QuickSight) DescribeDashboardPermissions(input *DescribeDashboardPermissionsInput) (*DescribeDashboardPermissionsOutput, error) {
3749	req, out := c.DescribeDashboardPermissionsRequest(input)
3750	return out, req.Send()
3751}
3752
3753// DescribeDashboardPermissionsWithContext is the same as DescribeDashboardPermissions with the addition of
3754// the ability to pass a context and additional request options.
3755//
3756// See DescribeDashboardPermissions for details on how to use this API operation.
3757//
3758// The context must be non-nil and will be used for request cancellation. If
3759// the context is nil a panic will occur. In the future the SDK may create
3760// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3761// for more information on using Contexts.
3762func (c *QuickSight) DescribeDashboardPermissionsWithContext(ctx aws.Context, input *DescribeDashboardPermissionsInput, opts ...request.Option) (*DescribeDashboardPermissionsOutput, error) {
3763	req, out := c.DescribeDashboardPermissionsRequest(input)
3764	req.SetContext(ctx)
3765	req.ApplyOptions(opts...)
3766	return out, req.Send()
3767}
3768
3769const opDescribeDataSet = "DescribeDataSet"
3770
3771// DescribeDataSetRequest generates a "aws/request.Request" representing the
3772// client's request for the DescribeDataSet operation. The "output" return
3773// value will be populated with the request's response once the request completes
3774// successfully.
3775//
3776// Use "Send" method on the returned Request to send the API call to the service.
3777// the "output" return value is not valid until after Send returns without error.
3778//
3779// See DescribeDataSet for more information on using the DescribeDataSet
3780// API call, and error handling.
3781//
3782// This method is useful when you want to inject custom logic or configuration
3783// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3784//
3785//
3786//    // Example sending a request using the DescribeDataSetRequest method.
3787//    req, resp := client.DescribeDataSetRequest(params)
3788//
3789//    err := req.Send()
3790//    if err == nil { // resp is now filled
3791//        fmt.Println(resp)
3792//    }
3793//
3794// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSet
3795func (c *QuickSight) DescribeDataSetRequest(input *DescribeDataSetInput) (req *request.Request, output *DescribeDataSetOutput) {
3796	op := &request.Operation{
3797		Name:       opDescribeDataSet,
3798		HTTPMethod: "GET",
3799		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}",
3800	}
3801
3802	if input == nil {
3803		input = &DescribeDataSetInput{}
3804	}
3805
3806	output = &DescribeDataSetOutput{}
3807	req = c.newRequest(op, input, output)
3808	return
3809}
3810
3811// DescribeDataSet API operation for Amazon QuickSight.
3812//
3813// Describes a dataset.
3814//
3815// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3816// with awserr.Error's Code and Message methods to get detailed information about
3817// the error.
3818//
3819// See the AWS API reference guide for Amazon QuickSight's
3820// API operation DescribeDataSet for usage and error information.
3821//
3822// Returned Error Types:
3823//   * AccessDeniedException
3824//   You don't have access to this item. The provided credentials couldn't be
3825//   validated. You might not be authorized to carry out the request. Make sure
3826//   that your account is authorized to use the Amazon QuickSight service, that
3827//   your policies have the correct permissions, and that you are using the correct
3828//   access keys.
3829//
3830//   * InvalidParameterValueException
3831//   One or more parameters has a value that isn't valid.
3832//
3833//   * ThrottlingException
3834//   Access is throttled.
3835//
3836//   * ResourceNotFoundException
3837//   One or more resources can't be found.
3838//
3839//   * InternalFailureException
3840//   An internal failure occurred.
3841//
3842// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSet
3843func (c *QuickSight) DescribeDataSet(input *DescribeDataSetInput) (*DescribeDataSetOutput, error) {
3844	req, out := c.DescribeDataSetRequest(input)
3845	return out, req.Send()
3846}
3847
3848// DescribeDataSetWithContext is the same as DescribeDataSet with the addition of
3849// the ability to pass a context and additional request options.
3850//
3851// See DescribeDataSet for details on how to use this API operation.
3852//
3853// The context must be non-nil and will be used for request cancellation. If
3854// the context is nil a panic will occur. In the future the SDK may create
3855// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3856// for more information on using Contexts.
3857func (c *QuickSight) DescribeDataSetWithContext(ctx aws.Context, input *DescribeDataSetInput, opts ...request.Option) (*DescribeDataSetOutput, error) {
3858	req, out := c.DescribeDataSetRequest(input)
3859	req.SetContext(ctx)
3860	req.ApplyOptions(opts...)
3861	return out, req.Send()
3862}
3863
3864const opDescribeDataSetPermissions = "DescribeDataSetPermissions"
3865
3866// DescribeDataSetPermissionsRequest generates a "aws/request.Request" representing the
3867// client's request for the DescribeDataSetPermissions operation. The "output" return
3868// value will be populated with the request's response once the request completes
3869// successfully.
3870//
3871// Use "Send" method on the returned Request to send the API call to the service.
3872// the "output" return value is not valid until after Send returns without error.
3873//
3874// See DescribeDataSetPermissions for more information on using the DescribeDataSetPermissions
3875// API call, and error handling.
3876//
3877// This method is useful when you want to inject custom logic or configuration
3878// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3879//
3880//
3881//    // Example sending a request using the DescribeDataSetPermissionsRequest method.
3882//    req, resp := client.DescribeDataSetPermissionsRequest(params)
3883//
3884//    err := req.Send()
3885//    if err == nil { // resp is now filled
3886//        fmt.Println(resp)
3887//    }
3888//
3889// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSetPermissions
3890func (c *QuickSight) DescribeDataSetPermissionsRequest(input *DescribeDataSetPermissionsInput) (req *request.Request, output *DescribeDataSetPermissionsOutput) {
3891	op := &request.Operation{
3892		Name:       opDescribeDataSetPermissions,
3893		HTTPMethod: "GET",
3894		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions",
3895	}
3896
3897	if input == nil {
3898		input = &DescribeDataSetPermissionsInput{}
3899	}
3900
3901	output = &DescribeDataSetPermissionsOutput{}
3902	req = c.newRequest(op, input, output)
3903	return
3904}
3905
3906// DescribeDataSetPermissions API operation for Amazon QuickSight.
3907//
3908// Describes the permissions on a dataset.
3909//
3910// The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/data-set-id.
3911//
3912// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3913// with awserr.Error's Code and Message methods to get detailed information about
3914// the error.
3915//
3916// See the AWS API reference guide for Amazon QuickSight's
3917// API operation DescribeDataSetPermissions for usage and error information.
3918//
3919// Returned Error Types:
3920//   * AccessDeniedException
3921//   You don't have access to this item. The provided credentials couldn't be
3922//   validated. You might not be authorized to carry out the request. Make sure
3923//   that your account is authorized to use the Amazon QuickSight service, that
3924//   your policies have the correct permissions, and that you are using the correct
3925//   access keys.
3926//
3927//   * InvalidParameterValueException
3928//   One or more parameters has a value that isn't valid.
3929//
3930//   * ThrottlingException
3931//   Access is throttled.
3932//
3933//   * ResourceNotFoundException
3934//   One or more resources can't be found.
3935//
3936//   * InternalFailureException
3937//   An internal failure occurred.
3938//
3939// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSetPermissions
3940func (c *QuickSight) DescribeDataSetPermissions(input *DescribeDataSetPermissionsInput) (*DescribeDataSetPermissionsOutput, error) {
3941	req, out := c.DescribeDataSetPermissionsRequest(input)
3942	return out, req.Send()
3943}
3944
3945// DescribeDataSetPermissionsWithContext is the same as DescribeDataSetPermissions with the addition of
3946// the ability to pass a context and additional request options.
3947//
3948// See DescribeDataSetPermissions for details on how to use this API operation.
3949//
3950// The context must be non-nil and will be used for request cancellation. If
3951// the context is nil a panic will occur. In the future the SDK may create
3952// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3953// for more information on using Contexts.
3954func (c *QuickSight) DescribeDataSetPermissionsWithContext(ctx aws.Context, input *DescribeDataSetPermissionsInput, opts ...request.Option) (*DescribeDataSetPermissionsOutput, error) {
3955	req, out := c.DescribeDataSetPermissionsRequest(input)
3956	req.SetContext(ctx)
3957	req.ApplyOptions(opts...)
3958	return out, req.Send()
3959}
3960
3961const opDescribeDataSource = "DescribeDataSource"
3962
3963// DescribeDataSourceRequest generates a "aws/request.Request" representing the
3964// client's request for the DescribeDataSource operation. The "output" return
3965// value will be populated with the request's response once the request completes
3966// successfully.
3967//
3968// Use "Send" method on the returned Request to send the API call to the service.
3969// the "output" return value is not valid until after Send returns without error.
3970//
3971// See DescribeDataSource for more information on using the DescribeDataSource
3972// API call, and error handling.
3973//
3974// This method is useful when you want to inject custom logic or configuration
3975// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3976//
3977//
3978//    // Example sending a request using the DescribeDataSourceRequest method.
3979//    req, resp := client.DescribeDataSourceRequest(params)
3980//
3981//    err := req.Send()
3982//    if err == nil { // resp is now filled
3983//        fmt.Println(resp)
3984//    }
3985//
3986// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSource
3987func (c *QuickSight) DescribeDataSourceRequest(input *DescribeDataSourceInput) (req *request.Request, output *DescribeDataSourceOutput) {
3988	op := &request.Operation{
3989		Name:       opDescribeDataSource,
3990		HTTPMethod: "GET",
3991		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}",
3992	}
3993
3994	if input == nil {
3995		input = &DescribeDataSourceInput{}
3996	}
3997
3998	output = &DescribeDataSourceOutput{}
3999	req = c.newRequest(op, input, output)
4000	return
4001}
4002
4003// DescribeDataSource API operation for Amazon QuickSight.
4004//
4005// Describes a data source.
4006//
4007// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4008// with awserr.Error's Code and Message methods to get detailed information about
4009// the error.
4010//
4011// See the AWS API reference guide for Amazon QuickSight's
4012// API operation DescribeDataSource for usage and error information.
4013//
4014// Returned Error Types:
4015//   * AccessDeniedException
4016//   You don't have access to this item. The provided credentials couldn't be
4017//   validated. You might not be authorized to carry out the request. Make sure
4018//   that your account is authorized to use the Amazon QuickSight service, that
4019//   your policies have the correct permissions, and that you are using the correct
4020//   access keys.
4021//
4022//   * InvalidParameterValueException
4023//   One or more parameters has a value that isn't valid.
4024//
4025//   * ThrottlingException
4026//   Access is throttled.
4027//
4028//   * ResourceNotFoundException
4029//   One or more resources can't be found.
4030//
4031//   * InternalFailureException
4032//   An internal failure occurred.
4033//
4034// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSource
4035func (c *QuickSight) DescribeDataSource(input *DescribeDataSourceInput) (*DescribeDataSourceOutput, error) {
4036	req, out := c.DescribeDataSourceRequest(input)
4037	return out, req.Send()
4038}
4039
4040// DescribeDataSourceWithContext is the same as DescribeDataSource with the addition of
4041// the ability to pass a context and additional request options.
4042//
4043// See DescribeDataSource for details on how to use this API operation.
4044//
4045// The context must be non-nil and will be used for request cancellation. If
4046// the context is nil a panic will occur. In the future the SDK may create
4047// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4048// for more information on using Contexts.
4049func (c *QuickSight) DescribeDataSourceWithContext(ctx aws.Context, input *DescribeDataSourceInput, opts ...request.Option) (*DescribeDataSourceOutput, error) {
4050	req, out := c.DescribeDataSourceRequest(input)
4051	req.SetContext(ctx)
4052	req.ApplyOptions(opts...)
4053	return out, req.Send()
4054}
4055
4056const opDescribeDataSourcePermissions = "DescribeDataSourcePermissions"
4057
4058// DescribeDataSourcePermissionsRequest generates a "aws/request.Request" representing the
4059// client's request for the DescribeDataSourcePermissions operation. The "output" return
4060// value will be populated with the request's response once the request completes
4061// successfully.
4062//
4063// Use "Send" method on the returned Request to send the API call to the service.
4064// the "output" return value is not valid until after Send returns without error.
4065//
4066// See DescribeDataSourcePermissions for more information on using the DescribeDataSourcePermissions
4067// API call, and error handling.
4068//
4069// This method is useful when you want to inject custom logic or configuration
4070// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4071//
4072//
4073//    // Example sending a request using the DescribeDataSourcePermissionsRequest method.
4074//    req, resp := client.DescribeDataSourcePermissionsRequest(params)
4075//
4076//    err := req.Send()
4077//    if err == nil { // resp is now filled
4078//        fmt.Println(resp)
4079//    }
4080//
4081// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSourcePermissions
4082func (c *QuickSight) DescribeDataSourcePermissionsRequest(input *DescribeDataSourcePermissionsInput) (req *request.Request, output *DescribeDataSourcePermissionsOutput) {
4083	op := &request.Operation{
4084		Name:       opDescribeDataSourcePermissions,
4085		HTTPMethod: "GET",
4086		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions",
4087	}
4088
4089	if input == nil {
4090		input = &DescribeDataSourcePermissionsInput{}
4091	}
4092
4093	output = &DescribeDataSourcePermissionsOutput{}
4094	req = c.newRequest(op, input, output)
4095	return
4096}
4097
4098// DescribeDataSourcePermissions API operation for Amazon QuickSight.
4099//
4100// Describes the resource permissions for a data source.
4101//
4102// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4103// with awserr.Error's Code and Message methods to get detailed information about
4104// the error.
4105//
4106// See the AWS API reference guide for Amazon QuickSight's
4107// API operation DescribeDataSourcePermissions for usage and error information.
4108//
4109// Returned Error Types:
4110//   * AccessDeniedException
4111//   You don't have access to this item. The provided credentials couldn't be
4112//   validated. You might not be authorized to carry out the request. Make sure
4113//   that your account is authorized to use the Amazon QuickSight service, that
4114//   your policies have the correct permissions, and that you are using the correct
4115//   access keys.
4116//
4117//   * InvalidParameterValueException
4118//   One or more parameters has a value that isn't valid.
4119//
4120//   * ThrottlingException
4121//   Access is throttled.
4122//
4123//   * ResourceNotFoundException
4124//   One or more resources can't be found.
4125//
4126//   * InternalFailureException
4127//   An internal failure occurred.
4128//
4129// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSourcePermissions
4130func (c *QuickSight) DescribeDataSourcePermissions(input *DescribeDataSourcePermissionsInput) (*DescribeDataSourcePermissionsOutput, error) {
4131	req, out := c.DescribeDataSourcePermissionsRequest(input)
4132	return out, req.Send()
4133}
4134
4135// DescribeDataSourcePermissionsWithContext is the same as DescribeDataSourcePermissions with the addition of
4136// the ability to pass a context and additional request options.
4137//
4138// See DescribeDataSourcePermissions for details on how to use this API operation.
4139//
4140// The context must be non-nil and will be used for request cancellation. If
4141// the context is nil a panic will occur. In the future the SDK may create
4142// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4143// for more information on using Contexts.
4144func (c *QuickSight) DescribeDataSourcePermissionsWithContext(ctx aws.Context, input *DescribeDataSourcePermissionsInput, opts ...request.Option) (*DescribeDataSourcePermissionsOutput, error) {
4145	req, out := c.DescribeDataSourcePermissionsRequest(input)
4146	req.SetContext(ctx)
4147	req.ApplyOptions(opts...)
4148	return out, req.Send()
4149}
4150
4151const opDescribeGroup = "DescribeGroup"
4152
4153// DescribeGroupRequest generates a "aws/request.Request" representing the
4154// client's request for the DescribeGroup operation. The "output" return
4155// value will be populated with the request's response once the request completes
4156// successfully.
4157//
4158// Use "Send" method on the returned Request to send the API call to the service.
4159// the "output" return value is not valid until after Send returns without error.
4160//
4161// See DescribeGroup for more information on using the DescribeGroup
4162// API call, and error handling.
4163//
4164// This method is useful when you want to inject custom logic or configuration
4165// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4166//
4167//
4168//    // Example sending a request using the DescribeGroupRequest method.
4169//    req, resp := client.DescribeGroupRequest(params)
4170//
4171//    err := req.Send()
4172//    if err == nil { // resp is now filled
4173//        fmt.Println(resp)
4174//    }
4175//
4176// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeGroup
4177func (c *QuickSight) DescribeGroupRequest(input *DescribeGroupInput) (req *request.Request, output *DescribeGroupOutput) {
4178	op := &request.Operation{
4179		Name:       opDescribeGroup,
4180		HTTPMethod: "GET",
4181		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}",
4182	}
4183
4184	if input == nil {
4185		input = &DescribeGroupInput{}
4186	}
4187
4188	output = &DescribeGroupOutput{}
4189	req = c.newRequest(op, input, output)
4190	return
4191}
4192
4193// DescribeGroup API operation for Amazon QuickSight.
4194//
4195// Returns an Amazon QuickSight group's description and Amazon Resource Name
4196// (ARN).
4197//
4198// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4199// with awserr.Error's Code and Message methods to get detailed information about
4200// the error.
4201//
4202// See the AWS API reference guide for Amazon QuickSight's
4203// API operation DescribeGroup for usage and error information.
4204//
4205// Returned Error Types:
4206//   * AccessDeniedException
4207//   You don't have access to this item. The provided credentials couldn't be
4208//   validated. You might not be authorized to carry out the request. Make sure
4209//   that your account is authorized to use the Amazon QuickSight service, that
4210//   your policies have the correct permissions, and that you are using the correct
4211//   access keys.
4212//
4213//   * InvalidParameterValueException
4214//   One or more parameters has a value that isn't valid.
4215//
4216//   * ResourceNotFoundException
4217//   One or more resources can't be found.
4218//
4219//   * ThrottlingException
4220//   Access is throttled.
4221//
4222//   * PreconditionNotMetException
4223//   One or more preconditions aren't met.
4224//
4225//   * InternalFailureException
4226//   An internal failure occurred.
4227//
4228//   * ResourceUnavailableException
4229//   This resource is currently unavailable.
4230//
4231// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeGroup
4232func (c *QuickSight) DescribeGroup(input *DescribeGroupInput) (*DescribeGroupOutput, error) {
4233	req, out := c.DescribeGroupRequest(input)
4234	return out, req.Send()
4235}
4236
4237// DescribeGroupWithContext is the same as DescribeGroup with the addition of
4238// the ability to pass a context and additional request options.
4239//
4240// See DescribeGroup for details on how to use this API operation.
4241//
4242// The context must be non-nil and will be used for request cancellation. If
4243// the context is nil a panic will occur. In the future the SDK may create
4244// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4245// for more information on using Contexts.
4246func (c *QuickSight) DescribeGroupWithContext(ctx aws.Context, input *DescribeGroupInput, opts ...request.Option) (*DescribeGroupOutput, error) {
4247	req, out := c.DescribeGroupRequest(input)
4248	req.SetContext(ctx)
4249	req.ApplyOptions(opts...)
4250	return out, req.Send()
4251}
4252
4253const opDescribeIAMPolicyAssignment = "DescribeIAMPolicyAssignment"
4254
4255// DescribeIAMPolicyAssignmentRequest generates a "aws/request.Request" representing the
4256// client's request for the DescribeIAMPolicyAssignment operation. The "output" return
4257// value will be populated with the request's response once the request completes
4258// successfully.
4259//
4260// Use "Send" method on the returned Request to send the API call to the service.
4261// the "output" return value is not valid until after Send returns without error.
4262//
4263// See DescribeIAMPolicyAssignment for more information on using the DescribeIAMPolicyAssignment
4264// API call, and error handling.
4265//
4266// This method is useful when you want to inject custom logic or configuration
4267// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4268//
4269//
4270//    // Example sending a request using the DescribeIAMPolicyAssignmentRequest method.
4271//    req, resp := client.DescribeIAMPolicyAssignmentRequest(params)
4272//
4273//    err := req.Send()
4274//    if err == nil { // resp is now filled
4275//        fmt.Println(resp)
4276//    }
4277//
4278// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIAMPolicyAssignment
4279func (c *QuickSight) DescribeIAMPolicyAssignmentRequest(input *DescribeIAMPolicyAssignmentInput) (req *request.Request, output *DescribeIAMPolicyAssignmentOutput) {
4280	op := &request.Operation{
4281		Name:       opDescribeIAMPolicyAssignment,
4282		HTTPMethod: "GET",
4283		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}",
4284	}
4285
4286	if input == nil {
4287		input = &DescribeIAMPolicyAssignmentInput{}
4288	}
4289
4290	output = &DescribeIAMPolicyAssignmentOutput{}
4291	req = c.newRequest(op, input, output)
4292	return
4293}
4294
4295// DescribeIAMPolicyAssignment API operation for Amazon QuickSight.
4296//
4297// Describes an existing IAM policy assignment, as specified by the assignment
4298// name.
4299//
4300// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4301// with awserr.Error's Code and Message methods to get detailed information about
4302// the error.
4303//
4304// See the AWS API reference guide for Amazon QuickSight's
4305// API operation DescribeIAMPolicyAssignment for usage and error information.
4306//
4307// Returned Error Types:
4308//   * AccessDeniedException
4309//   You don't have access to this item. The provided credentials couldn't be
4310//   validated. You might not be authorized to carry out the request. Make sure
4311//   that your account is authorized to use the Amazon QuickSight service, that
4312//   your policies have the correct permissions, and that you are using the correct
4313//   access keys.
4314//
4315//   * InvalidParameterValueException
4316//   One or more parameters has a value that isn't valid.
4317//
4318//   * ResourceNotFoundException
4319//   One or more resources can't be found.
4320//
4321//   * ThrottlingException
4322//   Access is throttled.
4323//
4324//   * InvalidNextTokenException
4325//   The NextToken value isn't valid.
4326//
4327//   * InternalFailureException
4328//   An internal failure occurred.
4329//
4330// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIAMPolicyAssignment
4331func (c *QuickSight) DescribeIAMPolicyAssignment(input *DescribeIAMPolicyAssignmentInput) (*DescribeIAMPolicyAssignmentOutput, error) {
4332	req, out := c.DescribeIAMPolicyAssignmentRequest(input)
4333	return out, req.Send()
4334}
4335
4336// DescribeIAMPolicyAssignmentWithContext is the same as DescribeIAMPolicyAssignment with the addition of
4337// the ability to pass a context and additional request options.
4338//
4339// See DescribeIAMPolicyAssignment for details on how to use this API operation.
4340//
4341// The context must be non-nil and will be used for request cancellation. If
4342// the context is nil a panic will occur. In the future the SDK may create
4343// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4344// for more information on using Contexts.
4345func (c *QuickSight) DescribeIAMPolicyAssignmentWithContext(ctx aws.Context, input *DescribeIAMPolicyAssignmentInput, opts ...request.Option) (*DescribeIAMPolicyAssignmentOutput, error) {
4346	req, out := c.DescribeIAMPolicyAssignmentRequest(input)
4347	req.SetContext(ctx)
4348	req.ApplyOptions(opts...)
4349	return out, req.Send()
4350}
4351
4352const opDescribeIngestion = "DescribeIngestion"
4353
4354// DescribeIngestionRequest generates a "aws/request.Request" representing the
4355// client's request for the DescribeIngestion operation. The "output" return
4356// value will be populated with the request's response once the request completes
4357// successfully.
4358//
4359// Use "Send" method on the returned Request to send the API call to the service.
4360// the "output" return value is not valid until after Send returns without error.
4361//
4362// See DescribeIngestion for more information on using the DescribeIngestion
4363// API call, and error handling.
4364//
4365// This method is useful when you want to inject custom logic or configuration
4366// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4367//
4368//
4369//    // Example sending a request using the DescribeIngestionRequest method.
4370//    req, resp := client.DescribeIngestionRequest(params)
4371//
4372//    err := req.Send()
4373//    if err == nil { // resp is now filled
4374//        fmt.Println(resp)
4375//    }
4376//
4377// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIngestion
4378func (c *QuickSight) DescribeIngestionRequest(input *DescribeIngestionInput) (req *request.Request, output *DescribeIngestionOutput) {
4379	op := &request.Operation{
4380		Name:       opDescribeIngestion,
4381		HTTPMethod: "GET",
4382		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}",
4383	}
4384
4385	if input == nil {
4386		input = &DescribeIngestionInput{}
4387	}
4388
4389	output = &DescribeIngestionOutput{}
4390	req = c.newRequest(op, input, output)
4391	return
4392}
4393
4394// DescribeIngestion API operation for Amazon QuickSight.
4395//
4396// Describes a SPICE ingestion.
4397//
4398// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4399// with awserr.Error's Code and Message methods to get detailed information about
4400// the error.
4401//
4402// See the AWS API reference guide for Amazon QuickSight's
4403// API operation DescribeIngestion for usage and error information.
4404//
4405// Returned Error Types:
4406//   * AccessDeniedException
4407//   You don't have access to this item. The provided credentials couldn't be
4408//   validated. You might not be authorized to carry out the request. Make sure
4409//   that your account is authorized to use the Amazon QuickSight service, that
4410//   your policies have the correct permissions, and that you are using the correct
4411//   access keys.
4412//
4413//   * InvalidParameterValueException
4414//   One or more parameters has a value that isn't valid.
4415//
4416//   * ResourceNotFoundException
4417//   One or more resources can't be found.
4418//
4419//   * ThrottlingException
4420//   Access is throttled.
4421//
4422//   * ResourceExistsException
4423//   The resource specified already exists.
4424//
4425//   * InternalFailureException
4426//   An internal failure occurred.
4427//
4428// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIngestion
4429func (c *QuickSight) DescribeIngestion(input *DescribeIngestionInput) (*DescribeIngestionOutput, error) {
4430	req, out := c.DescribeIngestionRequest(input)
4431	return out, req.Send()
4432}
4433
4434// DescribeIngestionWithContext is the same as DescribeIngestion with the addition of
4435// the ability to pass a context and additional request options.
4436//
4437// See DescribeIngestion for details on how to use this API operation.
4438//
4439// The context must be non-nil and will be used for request cancellation. If
4440// the context is nil a panic will occur. In the future the SDK may create
4441// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4442// for more information on using Contexts.
4443func (c *QuickSight) DescribeIngestionWithContext(ctx aws.Context, input *DescribeIngestionInput, opts ...request.Option) (*DescribeIngestionOutput, error) {
4444	req, out := c.DescribeIngestionRequest(input)
4445	req.SetContext(ctx)
4446	req.ApplyOptions(opts...)
4447	return out, req.Send()
4448}
4449
4450const opDescribeNamespace = "DescribeNamespace"
4451
4452// DescribeNamespaceRequest generates a "aws/request.Request" representing the
4453// client's request for the DescribeNamespace operation. The "output" return
4454// value will be populated with the request's response once the request completes
4455// successfully.
4456//
4457// Use "Send" method on the returned Request to send the API call to the service.
4458// the "output" return value is not valid until after Send returns without error.
4459//
4460// See DescribeNamespace for more information on using the DescribeNamespace
4461// API call, and error handling.
4462//
4463// This method is useful when you want to inject custom logic or configuration
4464// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4465//
4466//
4467//    // Example sending a request using the DescribeNamespaceRequest method.
4468//    req, resp := client.DescribeNamespaceRequest(params)
4469//
4470//    err := req.Send()
4471//    if err == nil { // resp is now filled
4472//        fmt.Println(resp)
4473//    }
4474//
4475// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeNamespace
4476func (c *QuickSight) DescribeNamespaceRequest(input *DescribeNamespaceInput) (req *request.Request, output *DescribeNamespaceOutput) {
4477	op := &request.Operation{
4478		Name:       opDescribeNamespace,
4479		HTTPMethod: "GET",
4480		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}",
4481	}
4482
4483	if input == nil {
4484		input = &DescribeNamespaceInput{}
4485	}
4486
4487	output = &DescribeNamespaceOutput{}
4488	req = c.newRequest(op, input, output)
4489	return
4490}
4491
4492// DescribeNamespace API operation for Amazon QuickSight.
4493//
4494// Describes the current namespace.
4495//
4496// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4497// with awserr.Error's Code and Message methods to get detailed information about
4498// the error.
4499//
4500// See the AWS API reference guide for Amazon QuickSight's
4501// API operation DescribeNamespace for usage and error information.
4502//
4503// Returned Error Types:
4504//   * AccessDeniedException
4505//   You don't have access to this item. The provided credentials couldn't be
4506//   validated. You might not be authorized to carry out the request. Make sure
4507//   that your account is authorized to use the Amazon QuickSight service, that
4508//   your policies have the correct permissions, and that you are using the correct
4509//   access keys.
4510//
4511//   * InvalidParameterValueException
4512//   One or more parameters has a value that isn't valid.
4513//
4514//   * ResourceNotFoundException
4515//   One or more resources can't be found.
4516//
4517//   * ThrottlingException
4518//   Access is throttled.
4519//
4520//   * InternalFailureException
4521//   An internal failure occurred.
4522//
4523//   * ResourceUnavailableException
4524//   This resource is currently unavailable.
4525//
4526// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeNamespace
4527func (c *QuickSight) DescribeNamespace(input *DescribeNamespaceInput) (*DescribeNamespaceOutput, error) {
4528	req, out := c.DescribeNamespaceRequest(input)
4529	return out, req.Send()
4530}
4531
4532// DescribeNamespaceWithContext is the same as DescribeNamespace with the addition of
4533// the ability to pass a context and additional request options.
4534//
4535// See DescribeNamespace for details on how to use this API operation.
4536//
4537// The context must be non-nil and will be used for request cancellation. If
4538// the context is nil a panic will occur. In the future the SDK may create
4539// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4540// for more information on using Contexts.
4541func (c *QuickSight) DescribeNamespaceWithContext(ctx aws.Context, input *DescribeNamespaceInput, opts ...request.Option) (*DescribeNamespaceOutput, error) {
4542	req, out := c.DescribeNamespaceRequest(input)
4543	req.SetContext(ctx)
4544	req.ApplyOptions(opts...)
4545	return out, req.Send()
4546}
4547
4548const opDescribeTemplate = "DescribeTemplate"
4549
4550// DescribeTemplateRequest generates a "aws/request.Request" representing the
4551// client's request for the DescribeTemplate operation. The "output" return
4552// value will be populated with the request's response once the request completes
4553// successfully.
4554//
4555// Use "Send" method on the returned Request to send the API call to the service.
4556// the "output" return value is not valid until after Send returns without error.
4557//
4558// See DescribeTemplate for more information on using the DescribeTemplate
4559// API call, and error handling.
4560//
4561// This method is useful when you want to inject custom logic or configuration
4562// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4563//
4564//
4565//    // Example sending a request using the DescribeTemplateRequest method.
4566//    req, resp := client.DescribeTemplateRequest(params)
4567//
4568//    err := req.Send()
4569//    if err == nil { // resp is now filled
4570//        fmt.Println(resp)
4571//    }
4572//
4573// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplate
4574func (c *QuickSight) DescribeTemplateRequest(input *DescribeTemplateInput) (req *request.Request, output *DescribeTemplateOutput) {
4575	op := &request.Operation{
4576		Name:       opDescribeTemplate,
4577		HTTPMethod: "GET",
4578		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}",
4579	}
4580
4581	if input == nil {
4582		input = &DescribeTemplateInput{}
4583	}
4584
4585	output = &DescribeTemplateOutput{}
4586	req = c.newRequest(op, input, output)
4587	return
4588}
4589
4590// DescribeTemplate API operation for Amazon QuickSight.
4591//
4592// Describes a template's metadata.
4593//
4594// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4595// with awserr.Error's Code and Message methods to get detailed information about
4596// the error.
4597//
4598// See the AWS API reference guide for Amazon QuickSight's
4599// API operation DescribeTemplate for usage and error information.
4600//
4601// Returned Error Types:
4602//   * InvalidParameterValueException
4603//   One or more parameters has a value that isn't valid.
4604//
4605//   * AccessDeniedException
4606//   You don't have access to this item. The provided credentials couldn't be
4607//   validated. You might not be authorized to carry out the request. Make sure
4608//   that your account is authorized to use the Amazon QuickSight service, that
4609//   your policies have the correct permissions, and that you are using the correct
4610//   access keys.
4611//
4612//   * ResourceExistsException
4613//   The resource specified already exists.
4614//
4615//   * ResourceNotFoundException
4616//   One or more resources can't be found.
4617//
4618//   * ThrottlingException
4619//   Access is throttled.
4620//
4621//   * ConflictException
4622//   Updating or deleting a resource can cause an inconsistent state.
4623//
4624//   * UnsupportedUserEditionException
4625//   This error indicates that you are calling an operation on an Amazon QuickSight
4626//   subscription where the edition doesn't include support for that operation.
4627//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
4628//   Not every operation and capability is available in every edition.
4629//
4630//   * InternalFailureException
4631//   An internal failure occurred.
4632//
4633// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplate
4634func (c *QuickSight) DescribeTemplate(input *DescribeTemplateInput) (*DescribeTemplateOutput, error) {
4635	req, out := c.DescribeTemplateRequest(input)
4636	return out, req.Send()
4637}
4638
4639// DescribeTemplateWithContext is the same as DescribeTemplate with the addition of
4640// the ability to pass a context and additional request options.
4641//
4642// See DescribeTemplate for details on how to use this API operation.
4643//
4644// The context must be non-nil and will be used for request cancellation. If
4645// the context is nil a panic will occur. In the future the SDK may create
4646// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4647// for more information on using Contexts.
4648func (c *QuickSight) DescribeTemplateWithContext(ctx aws.Context, input *DescribeTemplateInput, opts ...request.Option) (*DescribeTemplateOutput, error) {
4649	req, out := c.DescribeTemplateRequest(input)
4650	req.SetContext(ctx)
4651	req.ApplyOptions(opts...)
4652	return out, req.Send()
4653}
4654
4655const opDescribeTemplateAlias = "DescribeTemplateAlias"
4656
4657// DescribeTemplateAliasRequest generates a "aws/request.Request" representing the
4658// client's request for the DescribeTemplateAlias operation. The "output" return
4659// value will be populated with the request's response once the request completes
4660// successfully.
4661//
4662// Use "Send" method on the returned Request to send the API call to the service.
4663// the "output" return value is not valid until after Send returns without error.
4664//
4665// See DescribeTemplateAlias for more information on using the DescribeTemplateAlias
4666// API call, and error handling.
4667//
4668// This method is useful when you want to inject custom logic or configuration
4669// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4670//
4671//
4672//    // Example sending a request using the DescribeTemplateAliasRequest method.
4673//    req, resp := client.DescribeTemplateAliasRequest(params)
4674//
4675//    err := req.Send()
4676//    if err == nil { // resp is now filled
4677//        fmt.Println(resp)
4678//    }
4679//
4680// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplateAlias
4681func (c *QuickSight) DescribeTemplateAliasRequest(input *DescribeTemplateAliasInput) (req *request.Request, output *DescribeTemplateAliasOutput) {
4682	op := &request.Operation{
4683		Name:       opDescribeTemplateAlias,
4684		HTTPMethod: "GET",
4685		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
4686	}
4687
4688	if input == nil {
4689		input = &DescribeTemplateAliasInput{}
4690	}
4691
4692	output = &DescribeTemplateAliasOutput{}
4693	req = c.newRequest(op, input, output)
4694	return
4695}
4696
4697// DescribeTemplateAlias API operation for Amazon QuickSight.
4698//
4699// Describes the template alias for a template.
4700//
4701// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4702// with awserr.Error's Code and Message methods to get detailed information about
4703// the error.
4704//
4705// See the AWS API reference guide for Amazon QuickSight's
4706// API operation DescribeTemplateAlias for usage and error information.
4707//
4708// Returned Error Types:
4709//   * ThrottlingException
4710//   Access is throttled.
4711//
4712//   * ResourceNotFoundException
4713//   One or more resources can't be found.
4714//
4715//   * UnsupportedUserEditionException
4716//   This error indicates that you are calling an operation on an Amazon QuickSight
4717//   subscription where the edition doesn't include support for that operation.
4718//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
4719//   Not every operation and capability is available in every edition.
4720//
4721//   * InternalFailureException
4722//   An internal failure occurred.
4723//
4724// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplateAlias
4725func (c *QuickSight) DescribeTemplateAlias(input *DescribeTemplateAliasInput) (*DescribeTemplateAliasOutput, error) {
4726	req, out := c.DescribeTemplateAliasRequest(input)
4727	return out, req.Send()
4728}
4729
4730// DescribeTemplateAliasWithContext is the same as DescribeTemplateAlias with the addition of
4731// the ability to pass a context and additional request options.
4732//
4733// See DescribeTemplateAlias for details on how to use this API operation.
4734//
4735// The context must be non-nil and will be used for request cancellation. If
4736// the context is nil a panic will occur. In the future the SDK may create
4737// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4738// for more information on using Contexts.
4739func (c *QuickSight) DescribeTemplateAliasWithContext(ctx aws.Context, input *DescribeTemplateAliasInput, opts ...request.Option) (*DescribeTemplateAliasOutput, error) {
4740	req, out := c.DescribeTemplateAliasRequest(input)
4741	req.SetContext(ctx)
4742	req.ApplyOptions(opts...)
4743	return out, req.Send()
4744}
4745
4746const opDescribeTemplatePermissions = "DescribeTemplatePermissions"
4747
4748// DescribeTemplatePermissionsRequest generates a "aws/request.Request" representing the
4749// client's request for the DescribeTemplatePermissions operation. The "output" return
4750// value will be populated with the request's response once the request completes
4751// successfully.
4752//
4753// Use "Send" method on the returned Request to send the API call to the service.
4754// the "output" return value is not valid until after Send returns without error.
4755//
4756// See DescribeTemplatePermissions for more information on using the DescribeTemplatePermissions
4757// API call, and error handling.
4758//
4759// This method is useful when you want to inject custom logic or configuration
4760// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4761//
4762//
4763//    // Example sending a request using the DescribeTemplatePermissionsRequest method.
4764//    req, resp := client.DescribeTemplatePermissionsRequest(params)
4765//
4766//    err := req.Send()
4767//    if err == nil { // resp is now filled
4768//        fmt.Println(resp)
4769//    }
4770//
4771// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplatePermissions
4772func (c *QuickSight) DescribeTemplatePermissionsRequest(input *DescribeTemplatePermissionsInput) (req *request.Request, output *DescribeTemplatePermissionsOutput) {
4773	op := &request.Operation{
4774		Name:       opDescribeTemplatePermissions,
4775		HTTPMethod: "GET",
4776		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/permissions",
4777	}
4778
4779	if input == nil {
4780		input = &DescribeTemplatePermissionsInput{}
4781	}
4782
4783	output = &DescribeTemplatePermissionsOutput{}
4784	req = c.newRequest(op, input, output)
4785	return
4786}
4787
4788// DescribeTemplatePermissions API operation for Amazon QuickSight.
4789//
4790// Describes read and write permissions on a template.
4791//
4792// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4793// with awserr.Error's Code and Message methods to get detailed information about
4794// the error.
4795//
4796// See the AWS API reference guide for Amazon QuickSight's
4797// API operation DescribeTemplatePermissions for usage and error information.
4798//
4799// Returned Error Types:
4800//   * ThrottlingException
4801//   Access is throttled.
4802//
4803//   * InvalidParameterValueException
4804//   One or more parameters has a value that isn't valid.
4805//
4806//   * ConflictException
4807//   Updating or deleting a resource can cause an inconsistent state.
4808//
4809//   * ResourceNotFoundException
4810//   One or more resources can't be found.
4811//
4812//   * UnsupportedUserEditionException
4813//   This error indicates that you are calling an operation on an Amazon QuickSight
4814//   subscription where the edition doesn't include support for that operation.
4815//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
4816//   Not every operation and capability is available in every edition.
4817//
4818//   * InternalFailureException
4819//   An internal failure occurred.
4820//
4821// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplatePermissions
4822func (c *QuickSight) DescribeTemplatePermissions(input *DescribeTemplatePermissionsInput) (*DescribeTemplatePermissionsOutput, error) {
4823	req, out := c.DescribeTemplatePermissionsRequest(input)
4824	return out, req.Send()
4825}
4826
4827// DescribeTemplatePermissionsWithContext is the same as DescribeTemplatePermissions with the addition of
4828// the ability to pass a context and additional request options.
4829//
4830// See DescribeTemplatePermissions for details on how to use this API operation.
4831//
4832// The context must be non-nil and will be used for request cancellation. If
4833// the context is nil a panic will occur. In the future the SDK may create
4834// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4835// for more information on using Contexts.
4836func (c *QuickSight) DescribeTemplatePermissionsWithContext(ctx aws.Context, input *DescribeTemplatePermissionsInput, opts ...request.Option) (*DescribeTemplatePermissionsOutput, error) {
4837	req, out := c.DescribeTemplatePermissionsRequest(input)
4838	req.SetContext(ctx)
4839	req.ApplyOptions(opts...)
4840	return out, req.Send()
4841}
4842
4843const opDescribeTheme = "DescribeTheme"
4844
4845// DescribeThemeRequest generates a "aws/request.Request" representing the
4846// client's request for the DescribeTheme operation. The "output" return
4847// value will be populated with the request's response once the request completes
4848// successfully.
4849//
4850// Use "Send" method on the returned Request to send the API call to the service.
4851// the "output" return value is not valid until after Send returns without error.
4852//
4853// See DescribeTheme for more information on using the DescribeTheme
4854// API call, and error handling.
4855//
4856// This method is useful when you want to inject custom logic or configuration
4857// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4858//
4859//
4860//    // Example sending a request using the DescribeThemeRequest method.
4861//    req, resp := client.DescribeThemeRequest(params)
4862//
4863//    err := req.Send()
4864//    if err == nil { // resp is now filled
4865//        fmt.Println(resp)
4866//    }
4867//
4868// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTheme
4869func (c *QuickSight) DescribeThemeRequest(input *DescribeThemeInput) (req *request.Request, output *DescribeThemeOutput) {
4870	op := &request.Operation{
4871		Name:       opDescribeTheme,
4872		HTTPMethod: "GET",
4873		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}",
4874	}
4875
4876	if input == nil {
4877		input = &DescribeThemeInput{}
4878	}
4879
4880	output = &DescribeThemeOutput{}
4881	req = c.newRequest(op, input, output)
4882	return
4883}
4884
4885// DescribeTheme API operation for Amazon QuickSight.
4886//
4887// Describes a theme.
4888//
4889// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4890// with awserr.Error's Code and Message methods to get detailed information about
4891// the error.
4892//
4893// See the AWS API reference guide for Amazon QuickSight's
4894// API operation DescribeTheme for usage and error information.
4895//
4896// Returned Error Types:
4897//   * AccessDeniedException
4898//   You don't have access to this item. The provided credentials couldn't be
4899//   validated. You might not be authorized to carry out the request. Make sure
4900//   that your account is authorized to use the Amazon QuickSight service, that
4901//   your policies have the correct permissions, and that you are using the correct
4902//   access keys.
4903//
4904//   * InvalidParameterValueException
4905//   One or more parameters has a value that isn't valid.
4906//
4907//   * ResourceExistsException
4908//   The resource specified already exists.
4909//
4910//   * ResourceNotFoundException
4911//   One or more resources can't be found.
4912//
4913//   * ThrottlingException
4914//   Access is throttled.
4915//
4916//   * UnsupportedUserEditionException
4917//   This error indicates that you are calling an operation on an Amazon QuickSight
4918//   subscription where the edition doesn't include support for that operation.
4919//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
4920//   Not every operation and capability is available in every edition.
4921//
4922//   * InternalFailureException
4923//   An internal failure occurred.
4924//
4925// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTheme
4926func (c *QuickSight) DescribeTheme(input *DescribeThemeInput) (*DescribeThemeOutput, error) {
4927	req, out := c.DescribeThemeRequest(input)
4928	return out, req.Send()
4929}
4930
4931// DescribeThemeWithContext is the same as DescribeTheme with the addition of
4932// the ability to pass a context and additional request options.
4933//
4934// See DescribeTheme for details on how to use this API operation.
4935//
4936// The context must be non-nil and will be used for request cancellation. If
4937// the context is nil a panic will occur. In the future the SDK may create
4938// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4939// for more information on using Contexts.
4940func (c *QuickSight) DescribeThemeWithContext(ctx aws.Context, input *DescribeThemeInput, opts ...request.Option) (*DescribeThemeOutput, error) {
4941	req, out := c.DescribeThemeRequest(input)
4942	req.SetContext(ctx)
4943	req.ApplyOptions(opts...)
4944	return out, req.Send()
4945}
4946
4947const opDescribeThemeAlias = "DescribeThemeAlias"
4948
4949// DescribeThemeAliasRequest generates a "aws/request.Request" representing the
4950// client's request for the DescribeThemeAlias operation. The "output" return
4951// value will be populated with the request's response once the request completes
4952// successfully.
4953//
4954// Use "Send" method on the returned Request to send the API call to the service.
4955// the "output" return value is not valid until after Send returns without error.
4956//
4957// See DescribeThemeAlias for more information on using the DescribeThemeAlias
4958// API call, and error handling.
4959//
4960// This method is useful when you want to inject custom logic or configuration
4961// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4962//
4963//
4964//    // Example sending a request using the DescribeThemeAliasRequest method.
4965//    req, resp := client.DescribeThemeAliasRequest(params)
4966//
4967//    err := req.Send()
4968//    if err == nil { // resp is now filled
4969//        fmt.Println(resp)
4970//    }
4971//
4972// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeThemeAlias
4973func (c *QuickSight) DescribeThemeAliasRequest(input *DescribeThemeAliasInput) (req *request.Request, output *DescribeThemeAliasOutput) {
4974	op := &request.Operation{
4975		Name:       opDescribeThemeAlias,
4976		HTTPMethod: "GET",
4977		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}",
4978	}
4979
4980	if input == nil {
4981		input = &DescribeThemeAliasInput{}
4982	}
4983
4984	output = &DescribeThemeAliasOutput{}
4985	req = c.newRequest(op, input, output)
4986	return
4987}
4988
4989// DescribeThemeAlias API operation for Amazon QuickSight.
4990//
4991// Describes the alias for a theme.
4992//
4993// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4994// with awserr.Error's Code and Message methods to get detailed information about
4995// the error.
4996//
4997// See the AWS API reference guide for Amazon QuickSight's
4998// API operation DescribeThemeAlias for usage and error information.
4999//
5000// Returned Error Types:
5001//   * ConflictException
5002//   Updating or deleting a resource can cause an inconsistent state.
5003//
5004//   * InvalidParameterValueException
5005//   One or more parameters has a value that isn't valid.
5006//
5007//   * ResourceNotFoundException
5008//   One or more resources can't be found.
5009//
5010//   * ThrottlingException
5011//   Access is throttled.
5012//
5013//   * UnsupportedUserEditionException
5014//   This error indicates that you are calling an operation on an Amazon QuickSight
5015//   subscription where the edition doesn't include support for that operation.
5016//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
5017//   Not every operation and capability is available in every edition.
5018//
5019//   * InternalFailureException
5020//   An internal failure occurred.
5021//
5022// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeThemeAlias
5023func (c *QuickSight) DescribeThemeAlias(input *DescribeThemeAliasInput) (*DescribeThemeAliasOutput, error) {
5024	req, out := c.DescribeThemeAliasRequest(input)
5025	return out, req.Send()
5026}
5027
5028// DescribeThemeAliasWithContext is the same as DescribeThemeAlias with the addition of
5029// the ability to pass a context and additional request options.
5030//
5031// See DescribeThemeAlias for details on how to use this API operation.
5032//
5033// The context must be non-nil and will be used for request cancellation. If
5034// the context is nil a panic will occur. In the future the SDK may create
5035// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5036// for more information on using Contexts.
5037func (c *QuickSight) DescribeThemeAliasWithContext(ctx aws.Context, input *DescribeThemeAliasInput, opts ...request.Option) (*DescribeThemeAliasOutput, error) {
5038	req, out := c.DescribeThemeAliasRequest(input)
5039	req.SetContext(ctx)
5040	req.ApplyOptions(opts...)
5041	return out, req.Send()
5042}
5043
5044const opDescribeThemePermissions = "DescribeThemePermissions"
5045
5046// DescribeThemePermissionsRequest generates a "aws/request.Request" representing the
5047// client's request for the DescribeThemePermissions operation. The "output" return
5048// value will be populated with the request's response once the request completes
5049// successfully.
5050//
5051// Use "Send" method on the returned Request to send the API call to the service.
5052// the "output" return value is not valid until after Send returns without error.
5053//
5054// See DescribeThemePermissions for more information on using the DescribeThemePermissions
5055// API call, and error handling.
5056//
5057// This method is useful when you want to inject custom logic or configuration
5058// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5059//
5060//
5061//    // Example sending a request using the DescribeThemePermissionsRequest method.
5062//    req, resp := client.DescribeThemePermissionsRequest(params)
5063//
5064//    err := req.Send()
5065//    if err == nil { // resp is now filled
5066//        fmt.Println(resp)
5067//    }
5068//
5069// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeThemePermissions
5070func (c *QuickSight) DescribeThemePermissionsRequest(input *DescribeThemePermissionsInput) (req *request.Request, output *DescribeThemePermissionsOutput) {
5071	op := &request.Operation{
5072		Name:       opDescribeThemePermissions,
5073		HTTPMethod: "GET",
5074		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/permissions",
5075	}
5076
5077	if input == nil {
5078		input = &DescribeThemePermissionsInput{}
5079	}
5080
5081	output = &DescribeThemePermissionsOutput{}
5082	req = c.newRequest(op, input, output)
5083	return
5084}
5085
5086// DescribeThemePermissions API operation for Amazon QuickSight.
5087//
5088// Describes the read and write permissions for a theme.
5089//
5090// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5091// with awserr.Error's Code and Message methods to get detailed information about
5092// the error.
5093//
5094// See the AWS API reference guide for Amazon QuickSight's
5095// API operation DescribeThemePermissions for usage and error information.
5096//
5097// Returned Error Types:
5098//   * AccessDeniedException
5099//   You don't have access to this item. The provided credentials couldn't be
5100//   validated. You might not be authorized to carry out the request. Make sure
5101//   that your account is authorized to use the Amazon QuickSight service, that
5102//   your policies have the correct permissions, and that you are using the correct
5103//   access keys.
5104//
5105//   * InvalidParameterValueException
5106//   One or more parameters has a value that isn't valid.
5107//
5108//   * ResourceNotFoundException
5109//   One or more resources can't be found.
5110//
5111//   * ThrottlingException
5112//   Access is throttled.
5113//
5114//   * UnsupportedUserEditionException
5115//   This error indicates that you are calling an operation on an Amazon QuickSight
5116//   subscription where the edition doesn't include support for that operation.
5117//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
5118//   Not every operation and capability is available in every edition.
5119//
5120//   * InternalFailureException
5121//   An internal failure occurred.
5122//
5123// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeThemePermissions
5124func (c *QuickSight) DescribeThemePermissions(input *DescribeThemePermissionsInput) (*DescribeThemePermissionsOutput, error) {
5125	req, out := c.DescribeThemePermissionsRequest(input)
5126	return out, req.Send()
5127}
5128
5129// DescribeThemePermissionsWithContext is the same as DescribeThemePermissions with the addition of
5130// the ability to pass a context and additional request options.
5131//
5132// See DescribeThemePermissions for details on how to use this API operation.
5133//
5134// The context must be non-nil and will be used for request cancellation. If
5135// the context is nil a panic will occur. In the future the SDK may create
5136// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5137// for more information on using Contexts.
5138func (c *QuickSight) DescribeThemePermissionsWithContext(ctx aws.Context, input *DescribeThemePermissionsInput, opts ...request.Option) (*DescribeThemePermissionsOutput, error) {
5139	req, out := c.DescribeThemePermissionsRequest(input)
5140	req.SetContext(ctx)
5141	req.ApplyOptions(opts...)
5142	return out, req.Send()
5143}
5144
5145const opDescribeUser = "DescribeUser"
5146
5147// DescribeUserRequest generates a "aws/request.Request" representing the
5148// client's request for the DescribeUser operation. The "output" return
5149// value will be populated with the request's response once the request completes
5150// successfully.
5151//
5152// Use "Send" method on the returned Request to send the API call to the service.
5153// the "output" return value is not valid until after Send returns without error.
5154//
5155// See DescribeUser for more information on using the DescribeUser
5156// API call, and error handling.
5157//
5158// This method is useful when you want to inject custom logic or configuration
5159// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5160//
5161//
5162//    // Example sending a request using the DescribeUserRequest method.
5163//    req, resp := client.DescribeUserRequest(params)
5164//
5165//    err := req.Send()
5166//    if err == nil { // resp is now filled
5167//        fmt.Println(resp)
5168//    }
5169//
5170// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeUser
5171func (c *QuickSight) DescribeUserRequest(input *DescribeUserInput) (req *request.Request, output *DescribeUserOutput) {
5172	op := &request.Operation{
5173		Name:       opDescribeUser,
5174		HTTPMethod: "GET",
5175		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}",
5176	}
5177
5178	if input == nil {
5179		input = &DescribeUserInput{}
5180	}
5181
5182	output = &DescribeUserOutput{}
5183	req = c.newRequest(op, input, output)
5184	return
5185}
5186
5187// DescribeUser API operation for Amazon QuickSight.
5188//
5189// Returns information about a user, given the user name.
5190//
5191// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5192// with awserr.Error's Code and Message methods to get detailed information about
5193// the error.
5194//
5195// See the AWS API reference guide for Amazon QuickSight's
5196// API operation DescribeUser for usage and error information.
5197//
5198// Returned Error Types:
5199//   * AccessDeniedException
5200//   You don't have access to this item. The provided credentials couldn't be
5201//   validated. You might not be authorized to carry out the request. Make sure
5202//   that your account is authorized to use the Amazon QuickSight service, that
5203//   your policies have the correct permissions, and that you are using the correct
5204//   access keys.
5205//
5206//   * InvalidParameterValueException
5207//   One or more parameters has a value that isn't valid.
5208//
5209//   * ResourceNotFoundException
5210//   One or more resources can't be found.
5211//
5212//   * ThrottlingException
5213//   Access is throttled.
5214//
5215//   * PreconditionNotMetException
5216//   One or more preconditions aren't met.
5217//
5218//   * InternalFailureException
5219//   An internal failure occurred.
5220//
5221//   * ResourceUnavailableException
5222//   This resource is currently unavailable.
5223//
5224// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeUser
5225func (c *QuickSight) DescribeUser(input *DescribeUserInput) (*DescribeUserOutput, error) {
5226	req, out := c.DescribeUserRequest(input)
5227	return out, req.Send()
5228}
5229
5230// DescribeUserWithContext is the same as DescribeUser with the addition of
5231// the ability to pass a context and additional request options.
5232//
5233// See DescribeUser for details on how to use this API operation.
5234//
5235// The context must be non-nil and will be used for request cancellation. If
5236// the context is nil a panic will occur. In the future the SDK may create
5237// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5238// for more information on using Contexts.
5239func (c *QuickSight) DescribeUserWithContext(ctx aws.Context, input *DescribeUserInput, opts ...request.Option) (*DescribeUserOutput, error) {
5240	req, out := c.DescribeUserRequest(input)
5241	req.SetContext(ctx)
5242	req.ApplyOptions(opts...)
5243	return out, req.Send()
5244}
5245
5246const opGetDashboardEmbedUrl = "GetDashboardEmbedUrl"
5247
5248// GetDashboardEmbedUrlRequest generates a "aws/request.Request" representing the
5249// client's request for the GetDashboardEmbedUrl operation. The "output" return
5250// value will be populated with the request's response once the request completes
5251// successfully.
5252//
5253// Use "Send" method on the returned Request to send the API call to the service.
5254// the "output" return value is not valid until after Send returns without error.
5255//
5256// See GetDashboardEmbedUrl for more information on using the GetDashboardEmbedUrl
5257// API call, and error handling.
5258//
5259// This method is useful when you want to inject custom logic or configuration
5260// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5261//
5262//
5263//    // Example sending a request using the GetDashboardEmbedUrlRequest method.
5264//    req, resp := client.GetDashboardEmbedUrlRequest(params)
5265//
5266//    err := req.Send()
5267//    if err == nil { // resp is now filled
5268//        fmt.Println(resp)
5269//    }
5270//
5271// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GetDashboardEmbedUrl
5272func (c *QuickSight) GetDashboardEmbedUrlRequest(input *GetDashboardEmbedUrlInput) (req *request.Request, output *GetDashboardEmbedUrlOutput) {
5273	op := &request.Operation{
5274		Name:       opGetDashboardEmbedUrl,
5275		HTTPMethod: "GET",
5276		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/embed-url",
5277	}
5278
5279	if input == nil {
5280		input = &GetDashboardEmbedUrlInput{}
5281	}
5282
5283	output = &GetDashboardEmbedUrlOutput{}
5284	req = c.newRequest(op, input, output)
5285	return
5286}
5287
5288// GetDashboardEmbedUrl API operation for Amazon QuickSight.
5289//
5290// Generates a session URL and authorization code that you can use to embed
5291// an Amazon QuickSight read-only dashboard in your web server code. Before
5292// you use this command, make sure that you have configured the dashboards and
5293// permissions.
5294//
5295// Currently, you can use GetDashboardEmbedURL only from the server, not from
5296// the user's browser. The following rules apply to the combination of URL and
5297// authorization code:
5298//
5299//    * They must be used together.
5300//
5301//    * They can be used one time only.
5302//
5303//    * They are valid for 5 minutes after you run this command.
5304//
5305//    * The resulting user session is valid for 10 hours.
5306//
5307// For more information, see Embedded Analytics (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html)
5308// in the Amazon QuickSight User Guide.
5309//
5310// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5311// with awserr.Error's Code and Message methods to get detailed information about
5312// the error.
5313//
5314// See the AWS API reference guide for Amazon QuickSight's
5315// API operation GetDashboardEmbedUrl for usage and error information.
5316//
5317// Returned Error Types:
5318//   * AccessDeniedException
5319//   You don't have access to this item. The provided credentials couldn't be
5320//   validated. You might not be authorized to carry out the request. Make sure
5321//   that your account is authorized to use the Amazon QuickSight service, that
5322//   your policies have the correct permissions, and that you are using the correct
5323//   access keys.
5324//
5325//   * InvalidParameterValueException
5326//   One or more parameters has a value that isn't valid.
5327//
5328//   * ResourceExistsException
5329//   The resource specified already exists.
5330//
5331//   * ResourceNotFoundException
5332//   One or more resources can't be found.
5333//
5334//   * ThrottlingException
5335//   Access is throttled.
5336//
5337//   * DomainNotWhitelistedException
5338//   The domain specified isn't on the allow list. All domains for embedded dashboards
5339//   must be added to the approved list by an Amazon QuickSight admin.
5340//
5341//   * UserNotFoundException
5342//   The user with the provided name isn't found. This error can happen in any
5343//   operation that requires finding a user based on a provided user name, such
5344//   as DeleteUser, DescribeUser, and so on.
5345//
5346//   * IdentityTypeNotSupportedException
5347//   The identity type specified isn't supported. Supported identity types include
5348//   IAM and QUICKSIGHT.
5349//
5350//   * SessionLifetimeInMinutesInvalidException
5351//   The number of minutes specified for the lifetime of a session isn't valid.
5352//   The session lifetime must be 15-600 minutes.
5353//
5354//   * UnsupportedUserEditionException
5355//   This error indicates that you are calling an operation on an Amazon QuickSight
5356//   subscription where the edition doesn't include support for that operation.
5357//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
5358//   Not every operation and capability is available in every edition.
5359//
5360//   * UnsupportedPricingPlanException
5361//   This error indicates that you are calling an embedding operation in Amazon
5362//   QuickSight without the required pricing plan on your AWS account. Before
5363//   you can use embedding for anonymous users, a QuickSight administrator needs
5364//   to add capacity pricing to QuickSight. You can do this on the Manage QuickSight
5365//   page.
5366//
5367//   After capacity pricing is added, you can use the GetDashboardEmbedUrl API
5368//   operation with the --identity-type ANONYMOUS option.
5369//
5370//   * InternalFailureException
5371//   An internal failure occurred.
5372//
5373// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GetDashboardEmbedUrl
5374func (c *QuickSight) GetDashboardEmbedUrl(input *GetDashboardEmbedUrlInput) (*GetDashboardEmbedUrlOutput, error) {
5375	req, out := c.GetDashboardEmbedUrlRequest(input)
5376	return out, req.Send()
5377}
5378
5379// GetDashboardEmbedUrlWithContext is the same as GetDashboardEmbedUrl with the addition of
5380// the ability to pass a context and additional request options.
5381//
5382// See GetDashboardEmbedUrl for details on how to use this API operation.
5383//
5384// The context must be non-nil and will be used for request cancellation. If
5385// the context is nil a panic will occur. In the future the SDK may create
5386// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5387// for more information on using Contexts.
5388func (c *QuickSight) GetDashboardEmbedUrlWithContext(ctx aws.Context, input *GetDashboardEmbedUrlInput, opts ...request.Option) (*GetDashboardEmbedUrlOutput, error) {
5389	req, out := c.GetDashboardEmbedUrlRequest(input)
5390	req.SetContext(ctx)
5391	req.ApplyOptions(opts...)
5392	return out, req.Send()
5393}
5394
5395const opGetSessionEmbedUrl = "GetSessionEmbedUrl"
5396
5397// GetSessionEmbedUrlRequest generates a "aws/request.Request" representing the
5398// client's request for the GetSessionEmbedUrl operation. The "output" return
5399// value will be populated with the request's response once the request completes
5400// successfully.
5401//
5402// Use "Send" method on the returned Request to send the API call to the service.
5403// the "output" return value is not valid until after Send returns without error.
5404//
5405// See GetSessionEmbedUrl for more information on using the GetSessionEmbedUrl
5406// API call, and error handling.
5407//
5408// This method is useful when you want to inject custom logic or configuration
5409// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5410//
5411//
5412//    // Example sending a request using the GetSessionEmbedUrlRequest method.
5413//    req, resp := client.GetSessionEmbedUrlRequest(params)
5414//
5415//    err := req.Send()
5416//    if err == nil { // resp is now filled
5417//        fmt.Println(resp)
5418//    }
5419//
5420// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GetSessionEmbedUrl
5421func (c *QuickSight) GetSessionEmbedUrlRequest(input *GetSessionEmbedUrlInput) (req *request.Request, output *GetSessionEmbedUrlOutput) {
5422	op := &request.Operation{
5423		Name:       opGetSessionEmbedUrl,
5424		HTTPMethod: "GET",
5425		HTTPPath:   "/accounts/{AwsAccountId}/session-embed-url",
5426	}
5427
5428	if input == nil {
5429		input = &GetSessionEmbedUrlInput{}
5430	}
5431
5432	output = &GetSessionEmbedUrlOutput{}
5433	req = c.newRequest(op, input, output)
5434	return
5435}
5436
5437// GetSessionEmbedUrl API operation for Amazon QuickSight.
5438//
5439// Generates a session URL and authorization code that you can use to embed
5440// the Amazon QuickSight console in your web server code. Use GetSessionEmbedUrl
5441// where you want to provide an authoring portal that allows users to create
5442// data sources, datasets, analyses, and dashboards. The users who access an
5443// embedded QuickSight console need belong to the author or admin security cohort.
5444// If you want to restrict permissions to some of these features, add a custom
5445// permissions profile to the user with the UpdateUser API operation. Use RegisterUser
5446// API operation to add a new user with a custom permission profile attached.
5447// For more information, see the following sections in the Amazon QuickSight
5448// User Guide:
5449//
5450//    * Embedding the Amazon QuickSight Console (https://docs.aws.amazon.com/quicksight/latest/user/embedding-the-quicksight-console.html)
5451//
5452//    * Customizing Access to the Amazon QuickSight Console (https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html)
5453//
5454// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5455// with awserr.Error's Code and Message methods to get detailed information about
5456// the error.
5457//
5458// See the AWS API reference guide for Amazon QuickSight's
5459// API operation GetSessionEmbedUrl for usage and error information.
5460//
5461// Returned Error Types:
5462//   * AccessDeniedException
5463//   You don't have access to this item. The provided credentials couldn't be
5464//   validated. You might not be authorized to carry out the request. Make sure
5465//   that your account is authorized to use the Amazon QuickSight service, that
5466//   your policies have the correct permissions, and that you are using the correct
5467//   access keys.
5468//
5469//   * InvalidParameterValueException
5470//   One or more parameters has a value that isn't valid.
5471//
5472//   * ResourceExistsException
5473//   The resource specified already exists.
5474//
5475//   * ResourceNotFoundException
5476//   One or more resources can't be found.
5477//
5478//   * ThrottlingException
5479//   Access is throttled.
5480//
5481//   * UserNotFoundException
5482//   The user with the provided name isn't found. This error can happen in any
5483//   operation that requires finding a user based on a provided user name, such
5484//   as DeleteUser, DescribeUser, and so on.
5485//
5486//   * SessionLifetimeInMinutesInvalidException
5487//   The number of minutes specified for the lifetime of a session isn't valid.
5488//   The session lifetime must be 15-600 minutes.
5489//
5490//   * UnsupportedUserEditionException
5491//   This error indicates that you are calling an operation on an Amazon QuickSight
5492//   subscription where the edition doesn't include support for that operation.
5493//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
5494//   Not every operation and capability is available in every edition.
5495//
5496//   * InternalFailureException
5497//   An internal failure occurred.
5498//
5499// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GetSessionEmbedUrl
5500func (c *QuickSight) GetSessionEmbedUrl(input *GetSessionEmbedUrlInput) (*GetSessionEmbedUrlOutput, error) {
5501	req, out := c.GetSessionEmbedUrlRequest(input)
5502	return out, req.Send()
5503}
5504
5505// GetSessionEmbedUrlWithContext is the same as GetSessionEmbedUrl with the addition of
5506// the ability to pass a context and additional request options.
5507//
5508// See GetSessionEmbedUrl for details on how to use this API operation.
5509//
5510// The context must be non-nil and will be used for request cancellation. If
5511// the context is nil a panic will occur. In the future the SDK may create
5512// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5513// for more information on using Contexts.
5514func (c *QuickSight) GetSessionEmbedUrlWithContext(ctx aws.Context, input *GetSessionEmbedUrlInput, opts ...request.Option) (*GetSessionEmbedUrlOutput, error) {
5515	req, out := c.GetSessionEmbedUrlRequest(input)
5516	req.SetContext(ctx)
5517	req.ApplyOptions(opts...)
5518	return out, req.Send()
5519}
5520
5521const opListAnalyses = "ListAnalyses"
5522
5523// ListAnalysesRequest generates a "aws/request.Request" representing the
5524// client's request for the ListAnalyses operation. The "output" return
5525// value will be populated with the request's response once the request completes
5526// successfully.
5527//
5528// Use "Send" method on the returned Request to send the API call to the service.
5529// the "output" return value is not valid until after Send returns without error.
5530//
5531// See ListAnalyses for more information on using the ListAnalyses
5532// API call, and error handling.
5533//
5534// This method is useful when you want to inject custom logic or configuration
5535// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5536//
5537//
5538//    // Example sending a request using the ListAnalysesRequest method.
5539//    req, resp := client.ListAnalysesRequest(params)
5540//
5541//    err := req.Send()
5542//    if err == nil { // resp is now filled
5543//        fmt.Println(resp)
5544//    }
5545//
5546// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListAnalyses
5547func (c *QuickSight) ListAnalysesRequest(input *ListAnalysesInput) (req *request.Request, output *ListAnalysesOutput) {
5548	op := &request.Operation{
5549		Name:       opListAnalyses,
5550		HTTPMethod: "GET",
5551		HTTPPath:   "/accounts/{AwsAccountId}/analyses",
5552		Paginator: &request.Paginator{
5553			InputTokens:     []string{"NextToken"},
5554			OutputTokens:    []string{"NextToken"},
5555			LimitToken:      "MaxResults",
5556			TruncationToken: "",
5557		},
5558	}
5559
5560	if input == nil {
5561		input = &ListAnalysesInput{}
5562	}
5563
5564	output = &ListAnalysesOutput{}
5565	req = c.newRequest(op, input, output)
5566	return
5567}
5568
5569// ListAnalyses API operation for Amazon QuickSight.
5570//
5571// Lists Amazon QuickSight analyses that exist in the specified AWS account.
5572//
5573// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5574// with awserr.Error's Code and Message methods to get detailed information about
5575// the error.
5576//
5577// See the AWS API reference guide for Amazon QuickSight's
5578// API operation ListAnalyses for usage and error information.
5579//
5580// Returned Error Types:
5581//   * ThrottlingException
5582//   Access is throttled.
5583//
5584//   * InvalidNextTokenException
5585//   The NextToken value isn't valid.
5586//
5587//   * UnsupportedUserEditionException
5588//   This error indicates that you are calling an operation on an Amazon QuickSight
5589//   subscription where the edition doesn't include support for that operation.
5590//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
5591//   Not every operation and capability is available in every edition.
5592//
5593//   * InternalFailureException
5594//   An internal failure occurred.
5595//
5596// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListAnalyses
5597func (c *QuickSight) ListAnalyses(input *ListAnalysesInput) (*ListAnalysesOutput, error) {
5598	req, out := c.ListAnalysesRequest(input)
5599	return out, req.Send()
5600}
5601
5602// ListAnalysesWithContext is the same as ListAnalyses with the addition of
5603// the ability to pass a context and additional request options.
5604//
5605// See ListAnalyses for details on how to use this API operation.
5606//
5607// The context must be non-nil and will be used for request cancellation. If
5608// the context is nil a panic will occur. In the future the SDK may create
5609// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5610// for more information on using Contexts.
5611func (c *QuickSight) ListAnalysesWithContext(ctx aws.Context, input *ListAnalysesInput, opts ...request.Option) (*ListAnalysesOutput, error) {
5612	req, out := c.ListAnalysesRequest(input)
5613	req.SetContext(ctx)
5614	req.ApplyOptions(opts...)
5615	return out, req.Send()
5616}
5617
5618// ListAnalysesPages iterates over the pages of a ListAnalyses operation,
5619// calling the "fn" function with the response data for each page. To stop
5620// iterating, return false from the fn function.
5621//
5622// See ListAnalyses method for more information on how to use this operation.
5623//
5624// Note: This operation can generate multiple requests to a service.
5625//
5626//    // Example iterating over at most 3 pages of a ListAnalyses operation.
5627//    pageNum := 0
5628//    err := client.ListAnalysesPages(params,
5629//        func(page *quicksight.ListAnalysesOutput, lastPage bool) bool {
5630//            pageNum++
5631//            fmt.Println(page)
5632//            return pageNum <= 3
5633//        })
5634//
5635func (c *QuickSight) ListAnalysesPages(input *ListAnalysesInput, fn func(*ListAnalysesOutput, bool) bool) error {
5636	return c.ListAnalysesPagesWithContext(aws.BackgroundContext(), input, fn)
5637}
5638
5639// ListAnalysesPagesWithContext same as ListAnalysesPages except
5640// it takes a Context and allows setting request options on the pages.
5641//
5642// The context must be non-nil and will be used for request cancellation. If
5643// the context is nil a panic will occur. In the future the SDK may create
5644// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5645// for more information on using Contexts.
5646func (c *QuickSight) ListAnalysesPagesWithContext(ctx aws.Context, input *ListAnalysesInput, fn func(*ListAnalysesOutput, bool) bool, opts ...request.Option) error {
5647	p := request.Pagination{
5648		NewRequest: func() (*request.Request, error) {
5649			var inCpy *ListAnalysesInput
5650			if input != nil {
5651				tmp := *input
5652				inCpy = &tmp
5653			}
5654			req, _ := c.ListAnalysesRequest(inCpy)
5655			req.SetContext(ctx)
5656			req.ApplyOptions(opts...)
5657			return req, nil
5658		},
5659	}
5660
5661	for p.Next() {
5662		if !fn(p.Page().(*ListAnalysesOutput), !p.HasNextPage()) {
5663			break
5664		}
5665	}
5666
5667	return p.Err()
5668}
5669
5670const opListDashboardVersions = "ListDashboardVersions"
5671
5672// ListDashboardVersionsRequest generates a "aws/request.Request" representing the
5673// client's request for the ListDashboardVersions operation. The "output" return
5674// value will be populated with the request's response once the request completes
5675// successfully.
5676//
5677// Use "Send" method on the returned Request to send the API call to the service.
5678// the "output" return value is not valid until after Send returns without error.
5679//
5680// See ListDashboardVersions for more information on using the ListDashboardVersions
5681// API call, and error handling.
5682//
5683// This method is useful when you want to inject custom logic or configuration
5684// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5685//
5686//
5687//    // Example sending a request using the ListDashboardVersionsRequest method.
5688//    req, resp := client.ListDashboardVersionsRequest(params)
5689//
5690//    err := req.Send()
5691//    if err == nil { // resp is now filled
5692//        fmt.Println(resp)
5693//    }
5694//
5695// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboardVersions
5696func (c *QuickSight) ListDashboardVersionsRequest(input *ListDashboardVersionsInput) (req *request.Request, output *ListDashboardVersionsOutput) {
5697	op := &request.Operation{
5698		Name:       opListDashboardVersions,
5699		HTTPMethod: "GET",
5700		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions",
5701		Paginator: &request.Paginator{
5702			InputTokens:     []string{"NextToken"},
5703			OutputTokens:    []string{"NextToken"},
5704			LimitToken:      "MaxResults",
5705			TruncationToken: "",
5706		},
5707	}
5708
5709	if input == nil {
5710		input = &ListDashboardVersionsInput{}
5711	}
5712
5713	output = &ListDashboardVersionsOutput{}
5714	req = c.newRequest(op, input, output)
5715	return
5716}
5717
5718// ListDashboardVersions API operation for Amazon QuickSight.
5719//
5720// Lists all the versions of the dashboards in the QuickSight subscription.
5721//
5722// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5723// with awserr.Error's Code and Message methods to get detailed information about
5724// the error.
5725//
5726// See the AWS API reference guide for Amazon QuickSight's
5727// API operation ListDashboardVersions for usage and error information.
5728//
5729// Returned Error Types:
5730//   * InvalidParameterValueException
5731//   One or more parameters has a value that isn't valid.
5732//
5733//   * ResourceNotFoundException
5734//   One or more resources can't be found.
5735//
5736//   * ThrottlingException
5737//   Access is throttled.
5738//
5739//   * InvalidNextTokenException
5740//   The NextToken value isn't valid.
5741//
5742//   * UnsupportedUserEditionException
5743//   This error indicates that you are calling an operation on an Amazon QuickSight
5744//   subscription where the edition doesn't include support for that operation.
5745//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
5746//   Not every operation and capability is available in every edition.
5747//
5748//   * InternalFailureException
5749//   An internal failure occurred.
5750//
5751// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboardVersions
5752func (c *QuickSight) ListDashboardVersions(input *ListDashboardVersionsInput) (*ListDashboardVersionsOutput, error) {
5753	req, out := c.ListDashboardVersionsRequest(input)
5754	return out, req.Send()
5755}
5756
5757// ListDashboardVersionsWithContext is the same as ListDashboardVersions with the addition of
5758// the ability to pass a context and additional request options.
5759//
5760// See ListDashboardVersions for details on how to use this API operation.
5761//
5762// The context must be non-nil and will be used for request cancellation. If
5763// the context is nil a panic will occur. In the future the SDK may create
5764// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5765// for more information on using Contexts.
5766func (c *QuickSight) ListDashboardVersionsWithContext(ctx aws.Context, input *ListDashboardVersionsInput, opts ...request.Option) (*ListDashboardVersionsOutput, error) {
5767	req, out := c.ListDashboardVersionsRequest(input)
5768	req.SetContext(ctx)
5769	req.ApplyOptions(opts...)
5770	return out, req.Send()
5771}
5772
5773// ListDashboardVersionsPages iterates over the pages of a ListDashboardVersions operation,
5774// calling the "fn" function with the response data for each page. To stop
5775// iterating, return false from the fn function.
5776//
5777// See ListDashboardVersions method for more information on how to use this operation.
5778//
5779// Note: This operation can generate multiple requests to a service.
5780//
5781//    // Example iterating over at most 3 pages of a ListDashboardVersions operation.
5782//    pageNum := 0
5783//    err := client.ListDashboardVersionsPages(params,
5784//        func(page *quicksight.ListDashboardVersionsOutput, lastPage bool) bool {
5785//            pageNum++
5786//            fmt.Println(page)
5787//            return pageNum <= 3
5788//        })
5789//
5790func (c *QuickSight) ListDashboardVersionsPages(input *ListDashboardVersionsInput, fn func(*ListDashboardVersionsOutput, bool) bool) error {
5791	return c.ListDashboardVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
5792}
5793
5794// ListDashboardVersionsPagesWithContext same as ListDashboardVersionsPages except
5795// it takes a Context and allows setting request options on the pages.
5796//
5797// The context must be non-nil and will be used for request cancellation. If
5798// the context is nil a panic will occur. In the future the SDK may create
5799// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5800// for more information on using Contexts.
5801func (c *QuickSight) ListDashboardVersionsPagesWithContext(ctx aws.Context, input *ListDashboardVersionsInput, fn func(*ListDashboardVersionsOutput, bool) bool, opts ...request.Option) error {
5802	p := request.Pagination{
5803		NewRequest: func() (*request.Request, error) {
5804			var inCpy *ListDashboardVersionsInput
5805			if input != nil {
5806				tmp := *input
5807				inCpy = &tmp
5808			}
5809			req, _ := c.ListDashboardVersionsRequest(inCpy)
5810			req.SetContext(ctx)
5811			req.ApplyOptions(opts...)
5812			return req, nil
5813		},
5814	}
5815
5816	for p.Next() {
5817		if !fn(p.Page().(*ListDashboardVersionsOutput), !p.HasNextPage()) {
5818			break
5819		}
5820	}
5821
5822	return p.Err()
5823}
5824
5825const opListDashboards = "ListDashboards"
5826
5827// ListDashboardsRequest generates a "aws/request.Request" representing the
5828// client's request for the ListDashboards operation. The "output" return
5829// value will be populated with the request's response once the request completes
5830// successfully.
5831//
5832// Use "Send" method on the returned Request to send the API call to the service.
5833// the "output" return value is not valid until after Send returns without error.
5834//
5835// See ListDashboards for more information on using the ListDashboards
5836// API call, and error handling.
5837//
5838// This method is useful when you want to inject custom logic or configuration
5839// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5840//
5841//
5842//    // Example sending a request using the ListDashboardsRequest method.
5843//    req, resp := client.ListDashboardsRequest(params)
5844//
5845//    err := req.Send()
5846//    if err == nil { // resp is now filled
5847//        fmt.Println(resp)
5848//    }
5849//
5850// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboards
5851func (c *QuickSight) ListDashboardsRequest(input *ListDashboardsInput) (req *request.Request, output *ListDashboardsOutput) {
5852	op := &request.Operation{
5853		Name:       opListDashboards,
5854		HTTPMethod: "GET",
5855		HTTPPath:   "/accounts/{AwsAccountId}/dashboards",
5856		Paginator: &request.Paginator{
5857			InputTokens:     []string{"NextToken"},
5858			OutputTokens:    []string{"NextToken"},
5859			LimitToken:      "MaxResults",
5860			TruncationToken: "",
5861		},
5862	}
5863
5864	if input == nil {
5865		input = &ListDashboardsInput{}
5866	}
5867
5868	output = &ListDashboardsOutput{}
5869	req = c.newRequest(op, input, output)
5870	return
5871}
5872
5873// ListDashboards API operation for Amazon QuickSight.
5874//
5875// Lists dashboards in an AWS account.
5876//
5877// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5878// with awserr.Error's Code and Message methods to get detailed information about
5879// the error.
5880//
5881// See the AWS API reference guide for Amazon QuickSight's
5882// API operation ListDashboards for usage and error information.
5883//
5884// Returned Error Types:
5885//   * ThrottlingException
5886//   Access is throttled.
5887//
5888//   * InvalidNextTokenException
5889//   The NextToken value isn't valid.
5890//
5891//   * UnsupportedUserEditionException
5892//   This error indicates that you are calling an operation on an Amazon QuickSight
5893//   subscription where the edition doesn't include support for that operation.
5894//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
5895//   Not every operation and capability is available in every edition.
5896//
5897//   * InternalFailureException
5898//   An internal failure occurred.
5899//
5900// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboards
5901func (c *QuickSight) ListDashboards(input *ListDashboardsInput) (*ListDashboardsOutput, error) {
5902	req, out := c.ListDashboardsRequest(input)
5903	return out, req.Send()
5904}
5905
5906// ListDashboardsWithContext is the same as ListDashboards with the addition of
5907// the ability to pass a context and additional request options.
5908//
5909// See ListDashboards for details on how to use this API operation.
5910//
5911// The context must be non-nil and will be used for request cancellation. If
5912// the context is nil a panic will occur. In the future the SDK may create
5913// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5914// for more information on using Contexts.
5915func (c *QuickSight) ListDashboardsWithContext(ctx aws.Context, input *ListDashboardsInput, opts ...request.Option) (*ListDashboardsOutput, error) {
5916	req, out := c.ListDashboardsRequest(input)
5917	req.SetContext(ctx)
5918	req.ApplyOptions(opts...)
5919	return out, req.Send()
5920}
5921
5922// ListDashboardsPages iterates over the pages of a ListDashboards operation,
5923// calling the "fn" function with the response data for each page. To stop
5924// iterating, return false from the fn function.
5925//
5926// See ListDashboards method for more information on how to use this operation.
5927//
5928// Note: This operation can generate multiple requests to a service.
5929//
5930//    // Example iterating over at most 3 pages of a ListDashboards operation.
5931//    pageNum := 0
5932//    err := client.ListDashboardsPages(params,
5933//        func(page *quicksight.ListDashboardsOutput, lastPage bool) bool {
5934//            pageNum++
5935//            fmt.Println(page)
5936//            return pageNum <= 3
5937//        })
5938//
5939func (c *QuickSight) ListDashboardsPages(input *ListDashboardsInput, fn func(*ListDashboardsOutput, bool) bool) error {
5940	return c.ListDashboardsPagesWithContext(aws.BackgroundContext(), input, fn)
5941}
5942
5943// ListDashboardsPagesWithContext same as ListDashboardsPages except
5944// it takes a Context and allows setting request options on the pages.
5945//
5946// The context must be non-nil and will be used for request cancellation. If
5947// the context is nil a panic will occur. In the future the SDK may create
5948// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5949// for more information on using Contexts.
5950func (c *QuickSight) ListDashboardsPagesWithContext(ctx aws.Context, input *ListDashboardsInput, fn func(*ListDashboardsOutput, bool) bool, opts ...request.Option) error {
5951	p := request.Pagination{
5952		NewRequest: func() (*request.Request, error) {
5953			var inCpy *ListDashboardsInput
5954			if input != nil {
5955				tmp := *input
5956				inCpy = &tmp
5957			}
5958			req, _ := c.ListDashboardsRequest(inCpy)
5959			req.SetContext(ctx)
5960			req.ApplyOptions(opts...)
5961			return req, nil
5962		},
5963	}
5964
5965	for p.Next() {
5966		if !fn(p.Page().(*ListDashboardsOutput), !p.HasNextPage()) {
5967			break
5968		}
5969	}
5970
5971	return p.Err()
5972}
5973
5974const opListDataSets = "ListDataSets"
5975
5976// ListDataSetsRequest generates a "aws/request.Request" representing the
5977// client's request for the ListDataSets operation. The "output" return
5978// value will be populated with the request's response once the request completes
5979// successfully.
5980//
5981// Use "Send" method on the returned Request to send the API call to the service.
5982// the "output" return value is not valid until after Send returns without error.
5983//
5984// See ListDataSets for more information on using the ListDataSets
5985// API call, and error handling.
5986//
5987// This method is useful when you want to inject custom logic or configuration
5988// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5989//
5990//
5991//    // Example sending a request using the ListDataSetsRequest method.
5992//    req, resp := client.ListDataSetsRequest(params)
5993//
5994//    err := req.Send()
5995//    if err == nil { // resp is now filled
5996//        fmt.Println(resp)
5997//    }
5998//
5999// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSets
6000func (c *QuickSight) ListDataSetsRequest(input *ListDataSetsInput) (req *request.Request, output *ListDataSetsOutput) {
6001	op := &request.Operation{
6002		Name:       opListDataSets,
6003		HTTPMethod: "GET",
6004		HTTPPath:   "/accounts/{AwsAccountId}/data-sets",
6005		Paginator: &request.Paginator{
6006			InputTokens:     []string{"NextToken"},
6007			OutputTokens:    []string{"NextToken"},
6008			LimitToken:      "MaxResults",
6009			TruncationToken: "",
6010		},
6011	}
6012
6013	if input == nil {
6014		input = &ListDataSetsInput{}
6015	}
6016
6017	output = &ListDataSetsOutput{}
6018	req = c.newRequest(op, input, output)
6019	return
6020}
6021
6022// ListDataSets API operation for Amazon QuickSight.
6023//
6024// Lists all of the datasets belonging to the current AWS account in an AWS
6025// Region.
6026//
6027// The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/*.
6028//
6029// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6030// with awserr.Error's Code and Message methods to get detailed information about
6031// the error.
6032//
6033// See the AWS API reference guide for Amazon QuickSight's
6034// API operation ListDataSets for usage and error information.
6035//
6036// Returned Error Types:
6037//   * AccessDeniedException
6038//   You don't have access to this item. The provided credentials couldn't be
6039//   validated. You might not be authorized to carry out the request. Make sure
6040//   that your account is authorized to use the Amazon QuickSight service, that
6041//   your policies have the correct permissions, and that you are using the correct
6042//   access keys.
6043//
6044//   * InvalidParameterValueException
6045//   One or more parameters has a value that isn't valid.
6046//
6047//   * ThrottlingException
6048//   Access is throttled.
6049//
6050//   * InvalidNextTokenException
6051//   The NextToken value isn't valid.
6052//
6053//   * InternalFailureException
6054//   An internal failure occurred.
6055//
6056// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSets
6057func (c *QuickSight) ListDataSets(input *ListDataSetsInput) (*ListDataSetsOutput, error) {
6058	req, out := c.ListDataSetsRequest(input)
6059	return out, req.Send()
6060}
6061
6062// ListDataSetsWithContext is the same as ListDataSets with the addition of
6063// the ability to pass a context and additional request options.
6064//
6065// See ListDataSets for details on how to use this API operation.
6066//
6067// The context must be non-nil and will be used for request cancellation. If
6068// the context is nil a panic will occur. In the future the SDK may create
6069// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6070// for more information on using Contexts.
6071func (c *QuickSight) ListDataSetsWithContext(ctx aws.Context, input *ListDataSetsInput, opts ...request.Option) (*ListDataSetsOutput, error) {
6072	req, out := c.ListDataSetsRequest(input)
6073	req.SetContext(ctx)
6074	req.ApplyOptions(opts...)
6075	return out, req.Send()
6076}
6077
6078// ListDataSetsPages iterates over the pages of a ListDataSets operation,
6079// calling the "fn" function with the response data for each page. To stop
6080// iterating, return false from the fn function.
6081//
6082// See ListDataSets method for more information on how to use this operation.
6083//
6084// Note: This operation can generate multiple requests to a service.
6085//
6086//    // Example iterating over at most 3 pages of a ListDataSets operation.
6087//    pageNum := 0
6088//    err := client.ListDataSetsPages(params,
6089//        func(page *quicksight.ListDataSetsOutput, lastPage bool) bool {
6090//            pageNum++
6091//            fmt.Println(page)
6092//            return pageNum <= 3
6093//        })
6094//
6095func (c *QuickSight) ListDataSetsPages(input *ListDataSetsInput, fn func(*ListDataSetsOutput, bool) bool) error {
6096	return c.ListDataSetsPagesWithContext(aws.BackgroundContext(), input, fn)
6097}
6098
6099// ListDataSetsPagesWithContext same as ListDataSetsPages except
6100// it takes a Context and allows setting request options on the pages.
6101//
6102// The context must be non-nil and will be used for request cancellation. If
6103// the context is nil a panic will occur. In the future the SDK may create
6104// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6105// for more information on using Contexts.
6106func (c *QuickSight) ListDataSetsPagesWithContext(ctx aws.Context, input *ListDataSetsInput, fn func(*ListDataSetsOutput, bool) bool, opts ...request.Option) error {
6107	p := request.Pagination{
6108		NewRequest: func() (*request.Request, error) {
6109			var inCpy *ListDataSetsInput
6110			if input != nil {
6111				tmp := *input
6112				inCpy = &tmp
6113			}
6114			req, _ := c.ListDataSetsRequest(inCpy)
6115			req.SetContext(ctx)
6116			req.ApplyOptions(opts...)
6117			return req, nil
6118		},
6119	}
6120
6121	for p.Next() {
6122		if !fn(p.Page().(*ListDataSetsOutput), !p.HasNextPage()) {
6123			break
6124		}
6125	}
6126
6127	return p.Err()
6128}
6129
6130const opListDataSources = "ListDataSources"
6131
6132// ListDataSourcesRequest generates a "aws/request.Request" representing the
6133// client's request for the ListDataSources operation. The "output" return
6134// value will be populated with the request's response once the request completes
6135// successfully.
6136//
6137// Use "Send" method on the returned Request to send the API call to the service.
6138// the "output" return value is not valid until after Send returns without error.
6139//
6140// See ListDataSources for more information on using the ListDataSources
6141// API call, and error handling.
6142//
6143// This method is useful when you want to inject custom logic or configuration
6144// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6145//
6146//
6147//    // Example sending a request using the ListDataSourcesRequest method.
6148//    req, resp := client.ListDataSourcesRequest(params)
6149//
6150//    err := req.Send()
6151//    if err == nil { // resp is now filled
6152//        fmt.Println(resp)
6153//    }
6154//
6155// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSources
6156func (c *QuickSight) ListDataSourcesRequest(input *ListDataSourcesInput) (req *request.Request, output *ListDataSourcesOutput) {
6157	op := &request.Operation{
6158		Name:       opListDataSources,
6159		HTTPMethod: "GET",
6160		HTTPPath:   "/accounts/{AwsAccountId}/data-sources",
6161		Paginator: &request.Paginator{
6162			InputTokens:     []string{"NextToken"},
6163			OutputTokens:    []string{"NextToken"},
6164			LimitToken:      "MaxResults",
6165			TruncationToken: "",
6166		},
6167	}
6168
6169	if input == nil {
6170		input = &ListDataSourcesInput{}
6171	}
6172
6173	output = &ListDataSourcesOutput{}
6174	req = c.newRequest(op, input, output)
6175	return
6176}
6177
6178// ListDataSources API operation for Amazon QuickSight.
6179//
6180// Lists data sources in current AWS Region that belong to this AWS account.
6181//
6182// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6183// with awserr.Error's Code and Message methods to get detailed information about
6184// the error.
6185//
6186// See the AWS API reference guide for Amazon QuickSight's
6187// API operation ListDataSources for usage and error information.
6188//
6189// Returned Error Types:
6190//   * AccessDeniedException
6191//   You don't have access to this item. The provided credentials couldn't be
6192//   validated. You might not be authorized to carry out the request. Make sure
6193//   that your account is authorized to use the Amazon QuickSight service, that
6194//   your policies have the correct permissions, and that you are using the correct
6195//   access keys.
6196//
6197//   * InvalidParameterValueException
6198//   One or more parameters has a value that isn't valid.
6199//
6200//   * ThrottlingException
6201//   Access is throttled.
6202//
6203//   * InvalidNextTokenException
6204//   The NextToken value isn't valid.
6205//
6206//   * InternalFailureException
6207//   An internal failure occurred.
6208//
6209// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSources
6210func (c *QuickSight) ListDataSources(input *ListDataSourcesInput) (*ListDataSourcesOutput, error) {
6211	req, out := c.ListDataSourcesRequest(input)
6212	return out, req.Send()
6213}
6214
6215// ListDataSourcesWithContext is the same as ListDataSources with the addition of
6216// the ability to pass a context and additional request options.
6217//
6218// See ListDataSources for details on how to use this API operation.
6219//
6220// The context must be non-nil and will be used for request cancellation. If
6221// the context is nil a panic will occur. In the future the SDK may create
6222// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6223// for more information on using Contexts.
6224func (c *QuickSight) ListDataSourcesWithContext(ctx aws.Context, input *ListDataSourcesInput, opts ...request.Option) (*ListDataSourcesOutput, error) {
6225	req, out := c.ListDataSourcesRequest(input)
6226	req.SetContext(ctx)
6227	req.ApplyOptions(opts...)
6228	return out, req.Send()
6229}
6230
6231// ListDataSourcesPages iterates over the pages of a ListDataSources operation,
6232// calling the "fn" function with the response data for each page. To stop
6233// iterating, return false from the fn function.
6234//
6235// See ListDataSources method for more information on how to use this operation.
6236//
6237// Note: This operation can generate multiple requests to a service.
6238//
6239//    // Example iterating over at most 3 pages of a ListDataSources operation.
6240//    pageNum := 0
6241//    err := client.ListDataSourcesPages(params,
6242//        func(page *quicksight.ListDataSourcesOutput, lastPage bool) bool {
6243//            pageNum++
6244//            fmt.Println(page)
6245//            return pageNum <= 3
6246//        })
6247//
6248func (c *QuickSight) ListDataSourcesPages(input *ListDataSourcesInput, fn func(*ListDataSourcesOutput, bool) bool) error {
6249	return c.ListDataSourcesPagesWithContext(aws.BackgroundContext(), input, fn)
6250}
6251
6252// ListDataSourcesPagesWithContext same as ListDataSourcesPages except
6253// it takes a Context and allows setting request options on the pages.
6254//
6255// The context must be non-nil and will be used for request cancellation. If
6256// the context is nil a panic will occur. In the future the SDK may create
6257// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6258// for more information on using Contexts.
6259func (c *QuickSight) ListDataSourcesPagesWithContext(ctx aws.Context, input *ListDataSourcesInput, fn func(*ListDataSourcesOutput, bool) bool, opts ...request.Option) error {
6260	p := request.Pagination{
6261		NewRequest: func() (*request.Request, error) {
6262			var inCpy *ListDataSourcesInput
6263			if input != nil {
6264				tmp := *input
6265				inCpy = &tmp
6266			}
6267			req, _ := c.ListDataSourcesRequest(inCpy)
6268			req.SetContext(ctx)
6269			req.ApplyOptions(opts...)
6270			return req, nil
6271		},
6272	}
6273
6274	for p.Next() {
6275		if !fn(p.Page().(*ListDataSourcesOutput), !p.HasNextPage()) {
6276			break
6277		}
6278	}
6279
6280	return p.Err()
6281}
6282
6283const opListGroupMemberships = "ListGroupMemberships"
6284
6285// ListGroupMembershipsRequest generates a "aws/request.Request" representing the
6286// client's request for the ListGroupMemberships operation. The "output" return
6287// value will be populated with the request's response once the request completes
6288// successfully.
6289//
6290// Use "Send" method on the returned Request to send the API call to the service.
6291// the "output" return value is not valid until after Send returns without error.
6292//
6293// See ListGroupMemberships for more information on using the ListGroupMemberships
6294// API call, and error handling.
6295//
6296// This method is useful when you want to inject custom logic or configuration
6297// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6298//
6299//
6300//    // Example sending a request using the ListGroupMembershipsRequest method.
6301//    req, resp := client.ListGroupMembershipsRequest(params)
6302//
6303//    err := req.Send()
6304//    if err == nil { // resp is now filled
6305//        fmt.Println(resp)
6306//    }
6307//
6308// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroupMemberships
6309func (c *QuickSight) ListGroupMembershipsRequest(input *ListGroupMembershipsInput) (req *request.Request, output *ListGroupMembershipsOutput) {
6310	op := &request.Operation{
6311		Name:       opListGroupMemberships,
6312		HTTPMethod: "GET",
6313		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members",
6314	}
6315
6316	if input == nil {
6317		input = &ListGroupMembershipsInput{}
6318	}
6319
6320	output = &ListGroupMembershipsOutput{}
6321	req = c.newRequest(op, input, output)
6322	return
6323}
6324
6325// ListGroupMemberships API operation for Amazon QuickSight.
6326//
6327// Lists member users in a group.
6328//
6329// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6330// with awserr.Error's Code and Message methods to get detailed information about
6331// the error.
6332//
6333// See the AWS API reference guide for Amazon QuickSight's
6334// API operation ListGroupMemberships for usage and error information.
6335//
6336// Returned Error Types:
6337//   * AccessDeniedException
6338//   You don't have access to this item. The provided credentials couldn't be
6339//   validated. You might not be authorized to carry out the request. Make sure
6340//   that your account is authorized to use the Amazon QuickSight service, that
6341//   your policies have the correct permissions, and that you are using the correct
6342//   access keys.
6343//
6344//   * InvalidParameterValueException
6345//   One or more parameters has a value that isn't valid.
6346//
6347//   * ResourceNotFoundException
6348//   One or more resources can't be found.
6349//
6350//   * ThrottlingException
6351//   Access is throttled.
6352//
6353//   * InvalidNextTokenException
6354//   The NextToken value isn't valid.
6355//
6356//   * PreconditionNotMetException
6357//   One or more preconditions aren't met.
6358//
6359//   * InternalFailureException
6360//   An internal failure occurred.
6361//
6362//   * ResourceUnavailableException
6363//   This resource is currently unavailable.
6364//
6365// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroupMemberships
6366func (c *QuickSight) ListGroupMemberships(input *ListGroupMembershipsInput) (*ListGroupMembershipsOutput, error) {
6367	req, out := c.ListGroupMembershipsRequest(input)
6368	return out, req.Send()
6369}
6370
6371// ListGroupMembershipsWithContext is the same as ListGroupMemberships with the addition of
6372// the ability to pass a context and additional request options.
6373//
6374// See ListGroupMemberships for details on how to use this API operation.
6375//
6376// The context must be non-nil and will be used for request cancellation. If
6377// the context is nil a panic will occur. In the future the SDK may create
6378// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6379// for more information on using Contexts.
6380func (c *QuickSight) ListGroupMembershipsWithContext(ctx aws.Context, input *ListGroupMembershipsInput, opts ...request.Option) (*ListGroupMembershipsOutput, error) {
6381	req, out := c.ListGroupMembershipsRequest(input)
6382	req.SetContext(ctx)
6383	req.ApplyOptions(opts...)
6384	return out, req.Send()
6385}
6386
6387const opListGroups = "ListGroups"
6388
6389// ListGroupsRequest generates a "aws/request.Request" representing the
6390// client's request for the ListGroups operation. The "output" return
6391// value will be populated with the request's response once the request completes
6392// successfully.
6393//
6394// Use "Send" method on the returned Request to send the API call to the service.
6395// the "output" return value is not valid until after Send returns without error.
6396//
6397// See ListGroups for more information on using the ListGroups
6398// API call, and error handling.
6399//
6400// This method is useful when you want to inject custom logic or configuration
6401// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6402//
6403//
6404//    // Example sending a request using the ListGroupsRequest method.
6405//    req, resp := client.ListGroupsRequest(params)
6406//
6407//    err := req.Send()
6408//    if err == nil { // resp is now filled
6409//        fmt.Println(resp)
6410//    }
6411//
6412// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroups
6413func (c *QuickSight) ListGroupsRequest(input *ListGroupsInput) (req *request.Request, output *ListGroupsOutput) {
6414	op := &request.Operation{
6415		Name:       opListGroups,
6416		HTTPMethod: "GET",
6417		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups",
6418	}
6419
6420	if input == nil {
6421		input = &ListGroupsInput{}
6422	}
6423
6424	output = &ListGroupsOutput{}
6425	req = c.newRequest(op, input, output)
6426	return
6427}
6428
6429// ListGroups API operation for Amazon QuickSight.
6430//
6431// Lists all user groups in Amazon QuickSight.
6432//
6433// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6434// with awserr.Error's Code and Message methods to get detailed information about
6435// the error.
6436//
6437// See the AWS API reference guide for Amazon QuickSight's
6438// API operation ListGroups for usage and error information.
6439//
6440// Returned Error Types:
6441//   * AccessDeniedException
6442//   You don't have access to this item. The provided credentials couldn't be
6443//   validated. You might not be authorized to carry out the request. Make sure
6444//   that your account is authorized to use the Amazon QuickSight service, that
6445//   your policies have the correct permissions, and that you are using the correct
6446//   access keys.
6447//
6448//   * InvalidParameterValueException
6449//   One or more parameters has a value that isn't valid.
6450//
6451//   * ResourceNotFoundException
6452//   One or more resources can't be found.
6453//
6454//   * ThrottlingException
6455//   Access is throttled.
6456//
6457//   * InvalidNextTokenException
6458//   The NextToken value isn't valid.
6459//
6460//   * PreconditionNotMetException
6461//   One or more preconditions aren't met.
6462//
6463//   * InternalFailureException
6464//   An internal failure occurred.
6465//
6466//   * ResourceUnavailableException
6467//   This resource is currently unavailable.
6468//
6469// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroups
6470func (c *QuickSight) ListGroups(input *ListGroupsInput) (*ListGroupsOutput, error) {
6471	req, out := c.ListGroupsRequest(input)
6472	return out, req.Send()
6473}
6474
6475// ListGroupsWithContext is the same as ListGroups with the addition of
6476// the ability to pass a context and additional request options.
6477//
6478// See ListGroups for details on how to use this API operation.
6479//
6480// The context must be non-nil and will be used for request cancellation. If
6481// the context is nil a panic will occur. In the future the SDK may create
6482// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6483// for more information on using Contexts.
6484func (c *QuickSight) ListGroupsWithContext(ctx aws.Context, input *ListGroupsInput, opts ...request.Option) (*ListGroupsOutput, error) {
6485	req, out := c.ListGroupsRequest(input)
6486	req.SetContext(ctx)
6487	req.ApplyOptions(opts...)
6488	return out, req.Send()
6489}
6490
6491const opListIAMPolicyAssignments = "ListIAMPolicyAssignments"
6492
6493// ListIAMPolicyAssignmentsRequest generates a "aws/request.Request" representing the
6494// client's request for the ListIAMPolicyAssignments operation. The "output" return
6495// value will be populated with the request's response once the request completes
6496// successfully.
6497//
6498// Use "Send" method on the returned Request to send the API call to the service.
6499// the "output" return value is not valid until after Send returns without error.
6500//
6501// See ListIAMPolicyAssignments for more information on using the ListIAMPolicyAssignments
6502// API call, and error handling.
6503//
6504// This method is useful when you want to inject custom logic or configuration
6505// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6506//
6507//
6508//    // Example sending a request using the ListIAMPolicyAssignmentsRequest method.
6509//    req, resp := client.ListIAMPolicyAssignmentsRequest(params)
6510//
6511//    err := req.Send()
6512//    if err == nil { // resp is now filled
6513//        fmt.Println(resp)
6514//    }
6515//
6516// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignments
6517func (c *QuickSight) ListIAMPolicyAssignmentsRequest(input *ListIAMPolicyAssignmentsInput) (req *request.Request, output *ListIAMPolicyAssignmentsOutput) {
6518	op := &request.Operation{
6519		Name:       opListIAMPolicyAssignments,
6520		HTTPMethod: "GET",
6521		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments",
6522	}
6523
6524	if input == nil {
6525		input = &ListIAMPolicyAssignmentsInput{}
6526	}
6527
6528	output = &ListIAMPolicyAssignmentsOutput{}
6529	req = c.newRequest(op, input, output)
6530	return
6531}
6532
6533// ListIAMPolicyAssignments API operation for Amazon QuickSight.
6534//
6535// Lists IAM policy assignments in the current Amazon QuickSight account.
6536//
6537// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6538// with awserr.Error's Code and Message methods to get detailed information about
6539// the error.
6540//
6541// See the AWS API reference guide for Amazon QuickSight's
6542// API operation ListIAMPolicyAssignments for usage and error information.
6543//
6544// Returned Error Types:
6545//   * AccessDeniedException
6546//   You don't have access to this item. The provided credentials couldn't be
6547//   validated. You might not be authorized to carry out the request. Make sure
6548//   that your account is authorized to use the Amazon QuickSight service, that
6549//   your policies have the correct permissions, and that you are using the correct
6550//   access keys.
6551//
6552//   * InvalidParameterValueException
6553//   One or more parameters has a value that isn't valid.
6554//
6555//   * ResourceNotFoundException
6556//   One or more resources can't be found.
6557//
6558//   * ThrottlingException
6559//   Access is throttled.
6560//
6561//   * InvalidNextTokenException
6562//   The NextToken value isn't valid.
6563//
6564//   * InternalFailureException
6565//   An internal failure occurred.
6566//
6567// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignments
6568func (c *QuickSight) ListIAMPolicyAssignments(input *ListIAMPolicyAssignmentsInput) (*ListIAMPolicyAssignmentsOutput, error) {
6569	req, out := c.ListIAMPolicyAssignmentsRequest(input)
6570	return out, req.Send()
6571}
6572
6573// ListIAMPolicyAssignmentsWithContext is the same as ListIAMPolicyAssignments with the addition of
6574// the ability to pass a context and additional request options.
6575//
6576// See ListIAMPolicyAssignments for details on how to use this API operation.
6577//
6578// The context must be non-nil and will be used for request cancellation. If
6579// the context is nil a panic will occur. In the future the SDK may create
6580// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6581// for more information on using Contexts.
6582func (c *QuickSight) ListIAMPolicyAssignmentsWithContext(ctx aws.Context, input *ListIAMPolicyAssignmentsInput, opts ...request.Option) (*ListIAMPolicyAssignmentsOutput, error) {
6583	req, out := c.ListIAMPolicyAssignmentsRequest(input)
6584	req.SetContext(ctx)
6585	req.ApplyOptions(opts...)
6586	return out, req.Send()
6587}
6588
6589const opListIAMPolicyAssignmentsForUser = "ListIAMPolicyAssignmentsForUser"
6590
6591// ListIAMPolicyAssignmentsForUserRequest generates a "aws/request.Request" representing the
6592// client's request for the ListIAMPolicyAssignmentsForUser operation. The "output" return
6593// value will be populated with the request's response once the request completes
6594// successfully.
6595//
6596// Use "Send" method on the returned Request to send the API call to the service.
6597// the "output" return value is not valid until after Send returns without error.
6598//
6599// See ListIAMPolicyAssignmentsForUser for more information on using the ListIAMPolicyAssignmentsForUser
6600// API call, and error handling.
6601//
6602// This method is useful when you want to inject custom logic or configuration
6603// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6604//
6605//
6606//    // Example sending a request using the ListIAMPolicyAssignmentsForUserRequest method.
6607//    req, resp := client.ListIAMPolicyAssignmentsForUserRequest(params)
6608//
6609//    err := req.Send()
6610//    if err == nil { // resp is now filled
6611//        fmt.Println(resp)
6612//    }
6613//
6614// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignmentsForUser
6615func (c *QuickSight) ListIAMPolicyAssignmentsForUserRequest(input *ListIAMPolicyAssignmentsForUserInput) (req *request.Request, output *ListIAMPolicyAssignmentsForUserOutput) {
6616	op := &request.Operation{
6617		Name:       opListIAMPolicyAssignmentsForUser,
6618		HTTPMethod: "GET",
6619		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/iam-policy-assignments",
6620	}
6621
6622	if input == nil {
6623		input = &ListIAMPolicyAssignmentsForUserInput{}
6624	}
6625
6626	output = &ListIAMPolicyAssignmentsForUserOutput{}
6627	req = c.newRequest(op, input, output)
6628	return
6629}
6630
6631// ListIAMPolicyAssignmentsForUser API operation for Amazon QuickSight.
6632//
6633// Lists all the IAM policy assignments, including the Amazon Resource Names
6634// (ARNs) for the IAM policies assigned to the specified user and group or groups
6635// that the user belongs to.
6636//
6637// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6638// with awserr.Error's Code and Message methods to get detailed information about
6639// the error.
6640//
6641// See the AWS API reference guide for Amazon QuickSight's
6642// API operation ListIAMPolicyAssignmentsForUser for usage and error information.
6643//
6644// Returned Error Types:
6645//   * AccessDeniedException
6646//   You don't have access to this item. The provided credentials couldn't be
6647//   validated. You might not be authorized to carry out the request. Make sure
6648//   that your account is authorized to use the Amazon QuickSight service, that
6649//   your policies have the correct permissions, and that you are using the correct
6650//   access keys.
6651//
6652//   * InvalidParameterValueException
6653//   One or more parameters has a value that isn't valid.
6654//
6655//   * ResourceExistsException
6656//   The resource specified already exists.
6657//
6658//   * ResourceNotFoundException
6659//   One or more resources can't be found.
6660//
6661//   * ThrottlingException
6662//   Access is throttled.
6663//
6664//   * ConcurrentUpdatingException
6665//   A resource is already in a state that indicates an operation is happening
6666//   that must complete before a new update can be applied.
6667//
6668//   * InternalFailureException
6669//   An internal failure occurred.
6670//
6671// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignmentsForUser
6672func (c *QuickSight) ListIAMPolicyAssignmentsForUser(input *ListIAMPolicyAssignmentsForUserInput) (*ListIAMPolicyAssignmentsForUserOutput, error) {
6673	req, out := c.ListIAMPolicyAssignmentsForUserRequest(input)
6674	return out, req.Send()
6675}
6676
6677// ListIAMPolicyAssignmentsForUserWithContext is the same as ListIAMPolicyAssignmentsForUser with the addition of
6678// the ability to pass a context and additional request options.
6679//
6680// See ListIAMPolicyAssignmentsForUser for details on how to use this API operation.
6681//
6682// The context must be non-nil and will be used for request cancellation. If
6683// the context is nil a panic will occur. In the future the SDK may create
6684// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6685// for more information on using Contexts.
6686func (c *QuickSight) ListIAMPolicyAssignmentsForUserWithContext(ctx aws.Context, input *ListIAMPolicyAssignmentsForUserInput, opts ...request.Option) (*ListIAMPolicyAssignmentsForUserOutput, error) {
6687	req, out := c.ListIAMPolicyAssignmentsForUserRequest(input)
6688	req.SetContext(ctx)
6689	req.ApplyOptions(opts...)
6690	return out, req.Send()
6691}
6692
6693const opListIngestions = "ListIngestions"
6694
6695// ListIngestionsRequest generates a "aws/request.Request" representing the
6696// client's request for the ListIngestions operation. The "output" return
6697// value will be populated with the request's response once the request completes
6698// successfully.
6699//
6700// Use "Send" method on the returned Request to send the API call to the service.
6701// the "output" return value is not valid until after Send returns without error.
6702//
6703// See ListIngestions for more information on using the ListIngestions
6704// API call, and error handling.
6705//
6706// This method is useful when you want to inject custom logic or configuration
6707// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6708//
6709//
6710//    // Example sending a request using the ListIngestionsRequest method.
6711//    req, resp := client.ListIngestionsRequest(params)
6712//
6713//    err := req.Send()
6714//    if err == nil { // resp is now filled
6715//        fmt.Println(resp)
6716//    }
6717//
6718// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIngestions
6719func (c *QuickSight) ListIngestionsRequest(input *ListIngestionsInput) (req *request.Request, output *ListIngestionsOutput) {
6720	op := &request.Operation{
6721		Name:       opListIngestions,
6722		HTTPMethod: "GET",
6723		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions",
6724		Paginator: &request.Paginator{
6725			InputTokens:     []string{"NextToken"},
6726			OutputTokens:    []string{"NextToken"},
6727			LimitToken:      "MaxResults",
6728			TruncationToken: "",
6729		},
6730	}
6731
6732	if input == nil {
6733		input = &ListIngestionsInput{}
6734	}
6735
6736	output = &ListIngestionsOutput{}
6737	req = c.newRequest(op, input, output)
6738	return
6739}
6740
6741// ListIngestions API operation for Amazon QuickSight.
6742//
6743// Lists the history of SPICE ingestions for a dataset.
6744//
6745// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6746// with awserr.Error's Code and Message methods to get detailed information about
6747// the error.
6748//
6749// See the AWS API reference guide for Amazon QuickSight's
6750// API operation ListIngestions for usage and error information.
6751//
6752// Returned Error Types:
6753//   * AccessDeniedException
6754//   You don't have access to this item. The provided credentials couldn't be
6755//   validated. You might not be authorized to carry out the request. Make sure
6756//   that your account is authorized to use the Amazon QuickSight service, that
6757//   your policies have the correct permissions, and that you are using the correct
6758//   access keys.
6759//
6760//   * InvalidParameterValueException
6761//   One or more parameters has a value that isn't valid.
6762//
6763//   * ResourceNotFoundException
6764//   One or more resources can't be found.
6765//
6766//   * ThrottlingException
6767//   Access is throttled.
6768//
6769//   * ResourceExistsException
6770//   The resource specified already exists.
6771//
6772//   * InvalidNextTokenException
6773//   The NextToken value isn't valid.
6774//
6775//   * InternalFailureException
6776//   An internal failure occurred.
6777//
6778// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIngestions
6779func (c *QuickSight) ListIngestions(input *ListIngestionsInput) (*ListIngestionsOutput, error) {
6780	req, out := c.ListIngestionsRequest(input)
6781	return out, req.Send()
6782}
6783
6784// ListIngestionsWithContext is the same as ListIngestions with the addition of
6785// the ability to pass a context and additional request options.
6786//
6787// See ListIngestions for details on how to use this API operation.
6788//
6789// The context must be non-nil and will be used for request cancellation. If
6790// the context is nil a panic will occur. In the future the SDK may create
6791// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6792// for more information on using Contexts.
6793func (c *QuickSight) ListIngestionsWithContext(ctx aws.Context, input *ListIngestionsInput, opts ...request.Option) (*ListIngestionsOutput, error) {
6794	req, out := c.ListIngestionsRequest(input)
6795	req.SetContext(ctx)
6796	req.ApplyOptions(opts...)
6797	return out, req.Send()
6798}
6799
6800// ListIngestionsPages iterates over the pages of a ListIngestions operation,
6801// calling the "fn" function with the response data for each page. To stop
6802// iterating, return false from the fn function.
6803//
6804// See ListIngestions method for more information on how to use this operation.
6805//
6806// Note: This operation can generate multiple requests to a service.
6807//
6808//    // Example iterating over at most 3 pages of a ListIngestions operation.
6809//    pageNum := 0
6810//    err := client.ListIngestionsPages(params,
6811//        func(page *quicksight.ListIngestionsOutput, lastPage bool) bool {
6812//            pageNum++
6813//            fmt.Println(page)
6814//            return pageNum <= 3
6815//        })
6816//
6817func (c *QuickSight) ListIngestionsPages(input *ListIngestionsInput, fn func(*ListIngestionsOutput, bool) bool) error {
6818	return c.ListIngestionsPagesWithContext(aws.BackgroundContext(), input, fn)
6819}
6820
6821// ListIngestionsPagesWithContext same as ListIngestionsPages except
6822// it takes a Context and allows setting request options on the pages.
6823//
6824// The context must be non-nil and will be used for request cancellation. If
6825// the context is nil a panic will occur. In the future the SDK may create
6826// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6827// for more information on using Contexts.
6828func (c *QuickSight) ListIngestionsPagesWithContext(ctx aws.Context, input *ListIngestionsInput, fn func(*ListIngestionsOutput, bool) bool, opts ...request.Option) error {
6829	p := request.Pagination{
6830		NewRequest: func() (*request.Request, error) {
6831			var inCpy *ListIngestionsInput
6832			if input != nil {
6833				tmp := *input
6834				inCpy = &tmp
6835			}
6836			req, _ := c.ListIngestionsRequest(inCpy)
6837			req.SetContext(ctx)
6838			req.ApplyOptions(opts...)
6839			return req, nil
6840		},
6841	}
6842
6843	for p.Next() {
6844		if !fn(p.Page().(*ListIngestionsOutput), !p.HasNextPage()) {
6845			break
6846		}
6847	}
6848
6849	return p.Err()
6850}
6851
6852const opListNamespaces = "ListNamespaces"
6853
6854// ListNamespacesRequest generates a "aws/request.Request" representing the
6855// client's request for the ListNamespaces operation. The "output" return
6856// value will be populated with the request's response once the request completes
6857// successfully.
6858//
6859// Use "Send" method on the returned Request to send the API call to the service.
6860// the "output" return value is not valid until after Send returns without error.
6861//
6862// See ListNamespaces for more information on using the ListNamespaces
6863// API call, and error handling.
6864//
6865// This method is useful when you want to inject custom logic or configuration
6866// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6867//
6868//
6869//    // Example sending a request using the ListNamespacesRequest method.
6870//    req, resp := client.ListNamespacesRequest(params)
6871//
6872//    err := req.Send()
6873//    if err == nil { // resp is now filled
6874//        fmt.Println(resp)
6875//    }
6876//
6877// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListNamespaces
6878func (c *QuickSight) ListNamespacesRequest(input *ListNamespacesInput) (req *request.Request, output *ListNamespacesOutput) {
6879	op := &request.Operation{
6880		Name:       opListNamespaces,
6881		HTTPMethod: "GET",
6882		HTTPPath:   "/accounts/{AwsAccountId}/namespaces",
6883		Paginator: &request.Paginator{
6884			InputTokens:     []string{"NextToken"},
6885			OutputTokens:    []string{"NextToken"},
6886			LimitToken:      "MaxResults",
6887			TruncationToken: "",
6888		},
6889	}
6890
6891	if input == nil {
6892		input = &ListNamespacesInput{}
6893	}
6894
6895	output = &ListNamespacesOutput{}
6896	req = c.newRequest(op, input, output)
6897	return
6898}
6899
6900// ListNamespaces API operation for Amazon QuickSight.
6901//
6902// Lists the namespaces for the specified AWS account.
6903//
6904// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6905// with awserr.Error's Code and Message methods to get detailed information about
6906// the error.
6907//
6908// See the AWS API reference guide for Amazon QuickSight's
6909// API operation ListNamespaces for usage and error information.
6910//
6911// Returned Error Types:
6912//   * AccessDeniedException
6913//   You don't have access to this item. The provided credentials couldn't be
6914//   validated. You might not be authorized to carry out the request. Make sure
6915//   that your account is authorized to use the Amazon QuickSight service, that
6916//   your policies have the correct permissions, and that you are using the correct
6917//   access keys.
6918//
6919//   * InvalidParameterValueException
6920//   One or more parameters has a value that isn't valid.
6921//
6922//   * ResourceNotFoundException
6923//   One or more resources can't be found.
6924//
6925//   * ThrottlingException
6926//   Access is throttled.
6927//
6928//   * InvalidNextTokenException
6929//   The NextToken value isn't valid.
6930//
6931//   * PreconditionNotMetException
6932//   One or more preconditions aren't met.
6933//
6934//   * InternalFailureException
6935//   An internal failure occurred.
6936//
6937//   * ResourceUnavailableException
6938//   This resource is currently unavailable.
6939//
6940// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListNamespaces
6941func (c *QuickSight) ListNamespaces(input *ListNamespacesInput) (*ListNamespacesOutput, error) {
6942	req, out := c.ListNamespacesRequest(input)
6943	return out, req.Send()
6944}
6945
6946// ListNamespacesWithContext is the same as ListNamespaces with the addition of
6947// the ability to pass a context and additional request options.
6948//
6949// See ListNamespaces for details on how to use this API operation.
6950//
6951// The context must be non-nil and will be used for request cancellation. If
6952// the context is nil a panic will occur. In the future the SDK may create
6953// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6954// for more information on using Contexts.
6955func (c *QuickSight) ListNamespacesWithContext(ctx aws.Context, input *ListNamespacesInput, opts ...request.Option) (*ListNamespacesOutput, error) {
6956	req, out := c.ListNamespacesRequest(input)
6957	req.SetContext(ctx)
6958	req.ApplyOptions(opts...)
6959	return out, req.Send()
6960}
6961
6962// ListNamespacesPages iterates over the pages of a ListNamespaces operation,
6963// calling the "fn" function with the response data for each page. To stop
6964// iterating, return false from the fn function.
6965//
6966// See ListNamespaces method for more information on how to use this operation.
6967//
6968// Note: This operation can generate multiple requests to a service.
6969//
6970//    // Example iterating over at most 3 pages of a ListNamespaces operation.
6971//    pageNum := 0
6972//    err := client.ListNamespacesPages(params,
6973//        func(page *quicksight.ListNamespacesOutput, lastPage bool) bool {
6974//            pageNum++
6975//            fmt.Println(page)
6976//            return pageNum <= 3
6977//        })
6978//
6979func (c *QuickSight) ListNamespacesPages(input *ListNamespacesInput, fn func(*ListNamespacesOutput, bool) bool) error {
6980	return c.ListNamespacesPagesWithContext(aws.BackgroundContext(), input, fn)
6981}
6982
6983// ListNamespacesPagesWithContext same as ListNamespacesPages except
6984// it takes a Context and allows setting request options on the pages.
6985//
6986// The context must be non-nil and will be used for request cancellation. If
6987// the context is nil a panic will occur. In the future the SDK may create
6988// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6989// for more information on using Contexts.
6990func (c *QuickSight) ListNamespacesPagesWithContext(ctx aws.Context, input *ListNamespacesInput, fn func(*ListNamespacesOutput, bool) bool, opts ...request.Option) error {
6991	p := request.Pagination{
6992		NewRequest: func() (*request.Request, error) {
6993			var inCpy *ListNamespacesInput
6994			if input != nil {
6995				tmp := *input
6996				inCpy = &tmp
6997			}
6998			req, _ := c.ListNamespacesRequest(inCpy)
6999			req.SetContext(ctx)
7000			req.ApplyOptions(opts...)
7001			return req, nil
7002		},
7003	}
7004
7005	for p.Next() {
7006		if !fn(p.Page().(*ListNamespacesOutput), !p.HasNextPage()) {
7007			break
7008		}
7009	}
7010
7011	return p.Err()
7012}
7013
7014const opListTagsForResource = "ListTagsForResource"
7015
7016// ListTagsForResourceRequest generates a "aws/request.Request" representing the
7017// client's request for the ListTagsForResource operation. The "output" return
7018// value will be populated with the request's response once the request completes
7019// successfully.
7020//
7021// Use "Send" method on the returned Request to send the API call to the service.
7022// the "output" return value is not valid until after Send returns without error.
7023//
7024// See ListTagsForResource for more information on using the ListTagsForResource
7025// API call, and error handling.
7026//
7027// This method is useful when you want to inject custom logic or configuration
7028// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7029//
7030//
7031//    // Example sending a request using the ListTagsForResourceRequest method.
7032//    req, resp := client.ListTagsForResourceRequest(params)
7033//
7034//    err := req.Send()
7035//    if err == nil { // resp is now filled
7036//        fmt.Println(resp)
7037//    }
7038//
7039// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTagsForResource
7040func (c *QuickSight) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
7041	op := &request.Operation{
7042		Name:       opListTagsForResource,
7043		HTTPMethod: "GET",
7044		HTTPPath:   "/resources/{ResourceArn}/tags",
7045	}
7046
7047	if input == nil {
7048		input = &ListTagsForResourceInput{}
7049	}
7050
7051	output = &ListTagsForResourceOutput{}
7052	req = c.newRequest(op, input, output)
7053	return
7054}
7055
7056// ListTagsForResource API operation for Amazon QuickSight.
7057//
7058// Lists the tags assigned to a resource.
7059//
7060// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7061// with awserr.Error's Code and Message methods to get detailed information about
7062// the error.
7063//
7064// See the AWS API reference guide for Amazon QuickSight's
7065// API operation ListTagsForResource for usage and error information.
7066//
7067// Returned Error Types:
7068//   * AccessDeniedException
7069//   You don't have access to this item. The provided credentials couldn't be
7070//   validated. You might not be authorized to carry out the request. Make sure
7071//   that your account is authorized to use the Amazon QuickSight service, that
7072//   your policies have the correct permissions, and that you are using the correct
7073//   access keys.
7074//
7075//   * InvalidParameterValueException
7076//   One or more parameters has a value that isn't valid.
7077//
7078//   * ResourceNotFoundException
7079//   One or more resources can't be found.
7080//
7081//   * ThrottlingException
7082//   Access is throttled.
7083//
7084//   * InternalFailureException
7085//   An internal failure occurred.
7086//
7087// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTagsForResource
7088func (c *QuickSight) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
7089	req, out := c.ListTagsForResourceRequest(input)
7090	return out, req.Send()
7091}
7092
7093// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
7094// the ability to pass a context and additional request options.
7095//
7096// See ListTagsForResource for details on how to use this API operation.
7097//
7098// The context must be non-nil and will be used for request cancellation. If
7099// the context is nil a panic will occur. In the future the SDK may create
7100// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7101// for more information on using Contexts.
7102func (c *QuickSight) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
7103	req, out := c.ListTagsForResourceRequest(input)
7104	req.SetContext(ctx)
7105	req.ApplyOptions(opts...)
7106	return out, req.Send()
7107}
7108
7109const opListTemplateAliases = "ListTemplateAliases"
7110
7111// ListTemplateAliasesRequest generates a "aws/request.Request" representing the
7112// client's request for the ListTemplateAliases operation. The "output" return
7113// value will be populated with the request's response once the request completes
7114// successfully.
7115//
7116// Use "Send" method on the returned Request to send the API call to the service.
7117// the "output" return value is not valid until after Send returns without error.
7118//
7119// See ListTemplateAliases for more information on using the ListTemplateAliases
7120// API call, and error handling.
7121//
7122// This method is useful when you want to inject custom logic or configuration
7123// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7124//
7125//
7126//    // Example sending a request using the ListTemplateAliasesRequest method.
7127//    req, resp := client.ListTemplateAliasesRequest(params)
7128//
7129//    err := req.Send()
7130//    if err == nil { // resp is now filled
7131//        fmt.Println(resp)
7132//    }
7133//
7134// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateAliases
7135func (c *QuickSight) ListTemplateAliasesRequest(input *ListTemplateAliasesInput) (req *request.Request, output *ListTemplateAliasesOutput) {
7136	op := &request.Operation{
7137		Name:       opListTemplateAliases,
7138		HTTPMethod: "GET",
7139		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases",
7140		Paginator: &request.Paginator{
7141			InputTokens:     []string{"NextToken"},
7142			OutputTokens:    []string{"NextToken"},
7143			LimitToken:      "MaxResults",
7144			TruncationToken: "",
7145		},
7146	}
7147
7148	if input == nil {
7149		input = &ListTemplateAliasesInput{}
7150	}
7151
7152	output = &ListTemplateAliasesOutput{}
7153	req = c.newRequest(op, input, output)
7154	return
7155}
7156
7157// ListTemplateAliases API operation for Amazon QuickSight.
7158//
7159// Lists all the aliases of a template.
7160//
7161// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7162// with awserr.Error's Code and Message methods to get detailed information about
7163// the error.
7164//
7165// See the AWS API reference guide for Amazon QuickSight's
7166// API operation ListTemplateAliases for usage and error information.
7167//
7168// Returned Error Types:
7169//   * InvalidNextTokenException
7170//   The NextToken value isn't valid.
7171//
7172//   * ThrottlingException
7173//   Access is throttled.
7174//
7175//   * ResourceNotFoundException
7176//   One or more resources can't be found.
7177//
7178//   * UnsupportedUserEditionException
7179//   This error indicates that you are calling an operation on an Amazon QuickSight
7180//   subscription where the edition doesn't include support for that operation.
7181//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
7182//   Not every operation and capability is available in every edition.
7183//
7184//   * InternalFailureException
7185//   An internal failure occurred.
7186//
7187// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateAliases
7188func (c *QuickSight) ListTemplateAliases(input *ListTemplateAliasesInput) (*ListTemplateAliasesOutput, error) {
7189	req, out := c.ListTemplateAliasesRequest(input)
7190	return out, req.Send()
7191}
7192
7193// ListTemplateAliasesWithContext is the same as ListTemplateAliases with the addition of
7194// the ability to pass a context and additional request options.
7195//
7196// See ListTemplateAliases for details on how to use this API operation.
7197//
7198// The context must be non-nil and will be used for request cancellation. If
7199// the context is nil a panic will occur. In the future the SDK may create
7200// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7201// for more information on using Contexts.
7202func (c *QuickSight) ListTemplateAliasesWithContext(ctx aws.Context, input *ListTemplateAliasesInput, opts ...request.Option) (*ListTemplateAliasesOutput, error) {
7203	req, out := c.ListTemplateAliasesRequest(input)
7204	req.SetContext(ctx)
7205	req.ApplyOptions(opts...)
7206	return out, req.Send()
7207}
7208
7209// ListTemplateAliasesPages iterates over the pages of a ListTemplateAliases operation,
7210// calling the "fn" function with the response data for each page. To stop
7211// iterating, return false from the fn function.
7212//
7213// See ListTemplateAliases method for more information on how to use this operation.
7214//
7215// Note: This operation can generate multiple requests to a service.
7216//
7217//    // Example iterating over at most 3 pages of a ListTemplateAliases operation.
7218//    pageNum := 0
7219//    err := client.ListTemplateAliasesPages(params,
7220//        func(page *quicksight.ListTemplateAliasesOutput, lastPage bool) bool {
7221//            pageNum++
7222//            fmt.Println(page)
7223//            return pageNum <= 3
7224//        })
7225//
7226func (c *QuickSight) ListTemplateAliasesPages(input *ListTemplateAliasesInput, fn func(*ListTemplateAliasesOutput, bool) bool) error {
7227	return c.ListTemplateAliasesPagesWithContext(aws.BackgroundContext(), input, fn)
7228}
7229
7230// ListTemplateAliasesPagesWithContext same as ListTemplateAliasesPages except
7231// it takes a Context and allows setting request options on the pages.
7232//
7233// The context must be non-nil and will be used for request cancellation. If
7234// the context is nil a panic will occur. In the future the SDK may create
7235// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7236// for more information on using Contexts.
7237func (c *QuickSight) ListTemplateAliasesPagesWithContext(ctx aws.Context, input *ListTemplateAliasesInput, fn func(*ListTemplateAliasesOutput, bool) bool, opts ...request.Option) error {
7238	p := request.Pagination{
7239		NewRequest: func() (*request.Request, error) {
7240			var inCpy *ListTemplateAliasesInput
7241			if input != nil {
7242				tmp := *input
7243				inCpy = &tmp
7244			}
7245			req, _ := c.ListTemplateAliasesRequest(inCpy)
7246			req.SetContext(ctx)
7247			req.ApplyOptions(opts...)
7248			return req, nil
7249		},
7250	}
7251
7252	for p.Next() {
7253		if !fn(p.Page().(*ListTemplateAliasesOutput), !p.HasNextPage()) {
7254			break
7255		}
7256	}
7257
7258	return p.Err()
7259}
7260
7261const opListTemplateVersions = "ListTemplateVersions"
7262
7263// ListTemplateVersionsRequest generates a "aws/request.Request" representing the
7264// client's request for the ListTemplateVersions operation. The "output" return
7265// value will be populated with the request's response once the request completes
7266// successfully.
7267//
7268// Use "Send" method on the returned Request to send the API call to the service.
7269// the "output" return value is not valid until after Send returns without error.
7270//
7271// See ListTemplateVersions for more information on using the ListTemplateVersions
7272// API call, and error handling.
7273//
7274// This method is useful when you want to inject custom logic or configuration
7275// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7276//
7277//
7278//    // Example sending a request using the ListTemplateVersionsRequest method.
7279//    req, resp := client.ListTemplateVersionsRequest(params)
7280//
7281//    err := req.Send()
7282//    if err == nil { // resp is now filled
7283//        fmt.Println(resp)
7284//    }
7285//
7286// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateVersions
7287func (c *QuickSight) ListTemplateVersionsRequest(input *ListTemplateVersionsInput) (req *request.Request, output *ListTemplateVersionsOutput) {
7288	op := &request.Operation{
7289		Name:       opListTemplateVersions,
7290		HTTPMethod: "GET",
7291		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/versions",
7292		Paginator: &request.Paginator{
7293			InputTokens:     []string{"NextToken"},
7294			OutputTokens:    []string{"NextToken"},
7295			LimitToken:      "MaxResults",
7296			TruncationToken: "",
7297		},
7298	}
7299
7300	if input == nil {
7301		input = &ListTemplateVersionsInput{}
7302	}
7303
7304	output = &ListTemplateVersionsOutput{}
7305	req = c.newRequest(op, input, output)
7306	return
7307}
7308
7309// ListTemplateVersions API operation for Amazon QuickSight.
7310//
7311// Lists all the versions of the templates in the current Amazon QuickSight
7312// account.
7313//
7314// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7315// with awserr.Error's Code and Message methods to get detailed information about
7316// the error.
7317//
7318// See the AWS API reference guide for Amazon QuickSight's
7319// API operation ListTemplateVersions for usage and error information.
7320//
7321// Returned Error Types:
7322//   * ThrottlingException
7323//   Access is throttled.
7324//
7325//   * InvalidParameterValueException
7326//   One or more parameters has a value that isn't valid.
7327//
7328//   * ResourceNotFoundException
7329//   One or more resources can't be found.
7330//
7331//   * InvalidNextTokenException
7332//   The NextToken value isn't valid.
7333//
7334//   * UnsupportedUserEditionException
7335//   This error indicates that you are calling an operation on an Amazon QuickSight
7336//   subscription where the edition doesn't include support for that operation.
7337//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
7338//   Not every operation and capability is available in every edition.
7339//
7340//   * InternalFailureException
7341//   An internal failure occurred.
7342//
7343// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateVersions
7344func (c *QuickSight) ListTemplateVersions(input *ListTemplateVersionsInput) (*ListTemplateVersionsOutput, error) {
7345	req, out := c.ListTemplateVersionsRequest(input)
7346	return out, req.Send()
7347}
7348
7349// ListTemplateVersionsWithContext is the same as ListTemplateVersions with the addition of
7350// the ability to pass a context and additional request options.
7351//
7352// See ListTemplateVersions for details on how to use this API operation.
7353//
7354// The context must be non-nil and will be used for request cancellation. If
7355// the context is nil a panic will occur. In the future the SDK may create
7356// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7357// for more information on using Contexts.
7358func (c *QuickSight) ListTemplateVersionsWithContext(ctx aws.Context, input *ListTemplateVersionsInput, opts ...request.Option) (*ListTemplateVersionsOutput, error) {
7359	req, out := c.ListTemplateVersionsRequest(input)
7360	req.SetContext(ctx)
7361	req.ApplyOptions(opts...)
7362	return out, req.Send()
7363}
7364
7365// ListTemplateVersionsPages iterates over the pages of a ListTemplateVersions operation,
7366// calling the "fn" function with the response data for each page. To stop
7367// iterating, return false from the fn function.
7368//
7369// See ListTemplateVersions method for more information on how to use this operation.
7370//
7371// Note: This operation can generate multiple requests to a service.
7372//
7373//    // Example iterating over at most 3 pages of a ListTemplateVersions operation.
7374//    pageNum := 0
7375//    err := client.ListTemplateVersionsPages(params,
7376//        func(page *quicksight.ListTemplateVersionsOutput, lastPage bool) bool {
7377//            pageNum++
7378//            fmt.Println(page)
7379//            return pageNum <= 3
7380//        })
7381//
7382func (c *QuickSight) ListTemplateVersionsPages(input *ListTemplateVersionsInput, fn func(*ListTemplateVersionsOutput, bool) bool) error {
7383	return c.ListTemplateVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
7384}
7385
7386// ListTemplateVersionsPagesWithContext same as ListTemplateVersionsPages except
7387// it takes a Context and allows setting request options on the pages.
7388//
7389// The context must be non-nil and will be used for request cancellation. If
7390// the context is nil a panic will occur. In the future the SDK may create
7391// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7392// for more information on using Contexts.
7393func (c *QuickSight) ListTemplateVersionsPagesWithContext(ctx aws.Context, input *ListTemplateVersionsInput, fn func(*ListTemplateVersionsOutput, bool) bool, opts ...request.Option) error {
7394	p := request.Pagination{
7395		NewRequest: func() (*request.Request, error) {
7396			var inCpy *ListTemplateVersionsInput
7397			if input != nil {
7398				tmp := *input
7399				inCpy = &tmp
7400			}
7401			req, _ := c.ListTemplateVersionsRequest(inCpy)
7402			req.SetContext(ctx)
7403			req.ApplyOptions(opts...)
7404			return req, nil
7405		},
7406	}
7407
7408	for p.Next() {
7409		if !fn(p.Page().(*ListTemplateVersionsOutput), !p.HasNextPage()) {
7410			break
7411		}
7412	}
7413
7414	return p.Err()
7415}
7416
7417const opListTemplates = "ListTemplates"
7418
7419// ListTemplatesRequest generates a "aws/request.Request" representing the
7420// client's request for the ListTemplates operation. The "output" return
7421// value will be populated with the request's response once the request completes
7422// successfully.
7423//
7424// Use "Send" method on the returned Request to send the API call to the service.
7425// the "output" return value is not valid until after Send returns without error.
7426//
7427// See ListTemplates for more information on using the ListTemplates
7428// API call, and error handling.
7429//
7430// This method is useful when you want to inject custom logic or configuration
7431// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7432//
7433//
7434//    // Example sending a request using the ListTemplatesRequest method.
7435//    req, resp := client.ListTemplatesRequest(params)
7436//
7437//    err := req.Send()
7438//    if err == nil { // resp is now filled
7439//        fmt.Println(resp)
7440//    }
7441//
7442// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplates
7443func (c *QuickSight) ListTemplatesRequest(input *ListTemplatesInput) (req *request.Request, output *ListTemplatesOutput) {
7444	op := &request.Operation{
7445		Name:       opListTemplates,
7446		HTTPMethod: "GET",
7447		HTTPPath:   "/accounts/{AwsAccountId}/templates",
7448		Paginator: &request.Paginator{
7449			InputTokens:     []string{"NextToken"},
7450			OutputTokens:    []string{"NextToken"},
7451			LimitToken:      "MaxResults",
7452			TruncationToken: "",
7453		},
7454	}
7455
7456	if input == nil {
7457		input = &ListTemplatesInput{}
7458	}
7459
7460	output = &ListTemplatesOutput{}
7461	req = c.newRequest(op, input, output)
7462	return
7463}
7464
7465// ListTemplates API operation for Amazon QuickSight.
7466//
7467// Lists all the templates in the current Amazon QuickSight account.
7468//
7469// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7470// with awserr.Error's Code and Message methods to get detailed information about
7471// the error.
7472//
7473// See the AWS API reference guide for Amazon QuickSight's
7474// API operation ListTemplates for usage and error information.
7475//
7476// Returned Error Types:
7477//   * ThrottlingException
7478//   Access is throttled.
7479//
7480//   * InvalidParameterValueException
7481//   One or more parameters has a value that isn't valid.
7482//
7483//   * ResourceNotFoundException
7484//   One or more resources can't be found.
7485//
7486//   * InvalidNextTokenException
7487//   The NextToken value isn't valid.
7488//
7489//   * UnsupportedUserEditionException
7490//   This error indicates that you are calling an operation on an Amazon QuickSight
7491//   subscription where the edition doesn't include support for that operation.
7492//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
7493//   Not every operation and capability is available in every edition.
7494//
7495//   * InternalFailureException
7496//   An internal failure occurred.
7497//
7498// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplates
7499func (c *QuickSight) ListTemplates(input *ListTemplatesInput) (*ListTemplatesOutput, error) {
7500	req, out := c.ListTemplatesRequest(input)
7501	return out, req.Send()
7502}
7503
7504// ListTemplatesWithContext is the same as ListTemplates with the addition of
7505// the ability to pass a context and additional request options.
7506//
7507// See ListTemplates for details on how to use this API operation.
7508//
7509// The context must be non-nil and will be used for request cancellation. If
7510// the context is nil a panic will occur. In the future the SDK may create
7511// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7512// for more information on using Contexts.
7513func (c *QuickSight) ListTemplatesWithContext(ctx aws.Context, input *ListTemplatesInput, opts ...request.Option) (*ListTemplatesOutput, error) {
7514	req, out := c.ListTemplatesRequest(input)
7515	req.SetContext(ctx)
7516	req.ApplyOptions(opts...)
7517	return out, req.Send()
7518}
7519
7520// ListTemplatesPages iterates over the pages of a ListTemplates operation,
7521// calling the "fn" function with the response data for each page. To stop
7522// iterating, return false from the fn function.
7523//
7524// See ListTemplates method for more information on how to use this operation.
7525//
7526// Note: This operation can generate multiple requests to a service.
7527//
7528//    // Example iterating over at most 3 pages of a ListTemplates operation.
7529//    pageNum := 0
7530//    err := client.ListTemplatesPages(params,
7531//        func(page *quicksight.ListTemplatesOutput, lastPage bool) bool {
7532//            pageNum++
7533//            fmt.Println(page)
7534//            return pageNum <= 3
7535//        })
7536//
7537func (c *QuickSight) ListTemplatesPages(input *ListTemplatesInput, fn func(*ListTemplatesOutput, bool) bool) error {
7538	return c.ListTemplatesPagesWithContext(aws.BackgroundContext(), input, fn)
7539}
7540
7541// ListTemplatesPagesWithContext same as ListTemplatesPages except
7542// it takes a Context and allows setting request options on the pages.
7543//
7544// The context must be non-nil and will be used for request cancellation. If
7545// the context is nil a panic will occur. In the future the SDK may create
7546// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7547// for more information on using Contexts.
7548func (c *QuickSight) ListTemplatesPagesWithContext(ctx aws.Context, input *ListTemplatesInput, fn func(*ListTemplatesOutput, bool) bool, opts ...request.Option) error {
7549	p := request.Pagination{
7550		NewRequest: func() (*request.Request, error) {
7551			var inCpy *ListTemplatesInput
7552			if input != nil {
7553				tmp := *input
7554				inCpy = &tmp
7555			}
7556			req, _ := c.ListTemplatesRequest(inCpy)
7557			req.SetContext(ctx)
7558			req.ApplyOptions(opts...)
7559			return req, nil
7560		},
7561	}
7562
7563	for p.Next() {
7564		if !fn(p.Page().(*ListTemplatesOutput), !p.HasNextPage()) {
7565			break
7566		}
7567	}
7568
7569	return p.Err()
7570}
7571
7572const opListThemeAliases = "ListThemeAliases"
7573
7574// ListThemeAliasesRequest generates a "aws/request.Request" representing the
7575// client's request for the ListThemeAliases operation. The "output" return
7576// value will be populated with the request's response once the request completes
7577// successfully.
7578//
7579// Use "Send" method on the returned Request to send the API call to the service.
7580// the "output" return value is not valid until after Send returns without error.
7581//
7582// See ListThemeAliases for more information on using the ListThemeAliases
7583// API call, and error handling.
7584//
7585// This method is useful when you want to inject custom logic or configuration
7586// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7587//
7588//
7589//    // Example sending a request using the ListThemeAliasesRequest method.
7590//    req, resp := client.ListThemeAliasesRequest(params)
7591//
7592//    err := req.Send()
7593//    if err == nil { // resp is now filled
7594//        fmt.Println(resp)
7595//    }
7596//
7597// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeAliases
7598func (c *QuickSight) ListThemeAliasesRequest(input *ListThemeAliasesInput) (req *request.Request, output *ListThemeAliasesOutput) {
7599	op := &request.Operation{
7600		Name:       opListThemeAliases,
7601		HTTPMethod: "GET",
7602		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases",
7603	}
7604
7605	if input == nil {
7606		input = &ListThemeAliasesInput{}
7607	}
7608
7609	output = &ListThemeAliasesOutput{}
7610	req = c.newRequest(op, input, output)
7611	return
7612}
7613
7614// ListThemeAliases API operation for Amazon QuickSight.
7615//
7616// Lists all the aliases of a theme.
7617//
7618// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7619// with awserr.Error's Code and Message methods to get detailed information about
7620// the error.
7621//
7622// See the AWS API reference guide for Amazon QuickSight's
7623// API operation ListThemeAliases for usage and error information.
7624//
7625// Returned Error Types:
7626//   * ConflictException
7627//   Updating or deleting a resource can cause an inconsistent state.
7628//
7629//   * InvalidNextTokenException
7630//   The NextToken value isn't valid.
7631//
7632//   * InvalidParameterValueException
7633//   One or more parameters has a value that isn't valid.
7634//
7635//   * ResourceNotFoundException
7636//   One or more resources can't be found.
7637//
7638//   * ThrottlingException
7639//   Access is throttled.
7640//
7641//   * UnsupportedUserEditionException
7642//   This error indicates that you are calling an operation on an Amazon QuickSight
7643//   subscription where the edition doesn't include support for that operation.
7644//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
7645//   Not every operation and capability is available in every edition.
7646//
7647//   * InternalFailureException
7648//   An internal failure occurred.
7649//
7650// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeAliases
7651func (c *QuickSight) ListThemeAliases(input *ListThemeAliasesInput) (*ListThemeAliasesOutput, error) {
7652	req, out := c.ListThemeAliasesRequest(input)
7653	return out, req.Send()
7654}
7655
7656// ListThemeAliasesWithContext is the same as ListThemeAliases with the addition of
7657// the ability to pass a context and additional request options.
7658//
7659// See ListThemeAliases for details on how to use this API operation.
7660//
7661// The context must be non-nil and will be used for request cancellation. If
7662// the context is nil a panic will occur. In the future the SDK may create
7663// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7664// for more information on using Contexts.
7665func (c *QuickSight) ListThemeAliasesWithContext(ctx aws.Context, input *ListThemeAliasesInput, opts ...request.Option) (*ListThemeAliasesOutput, error) {
7666	req, out := c.ListThemeAliasesRequest(input)
7667	req.SetContext(ctx)
7668	req.ApplyOptions(opts...)
7669	return out, req.Send()
7670}
7671
7672const opListThemeVersions = "ListThemeVersions"
7673
7674// ListThemeVersionsRequest generates a "aws/request.Request" representing the
7675// client's request for the ListThemeVersions operation. The "output" return
7676// value will be populated with the request's response once the request completes
7677// successfully.
7678//
7679// Use "Send" method on the returned Request to send the API call to the service.
7680// the "output" return value is not valid until after Send returns without error.
7681//
7682// See ListThemeVersions for more information on using the ListThemeVersions
7683// API call, and error handling.
7684//
7685// This method is useful when you want to inject custom logic or configuration
7686// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7687//
7688//
7689//    // Example sending a request using the ListThemeVersionsRequest method.
7690//    req, resp := client.ListThemeVersionsRequest(params)
7691//
7692//    err := req.Send()
7693//    if err == nil { // resp is now filled
7694//        fmt.Println(resp)
7695//    }
7696//
7697// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeVersions
7698func (c *QuickSight) ListThemeVersionsRequest(input *ListThemeVersionsInput) (req *request.Request, output *ListThemeVersionsOutput) {
7699	op := &request.Operation{
7700		Name:       opListThemeVersions,
7701		HTTPMethod: "GET",
7702		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/versions",
7703		Paginator: &request.Paginator{
7704			InputTokens:     []string{"NextToken"},
7705			OutputTokens:    []string{"NextToken"},
7706			LimitToken:      "MaxResults",
7707			TruncationToken: "",
7708		},
7709	}
7710
7711	if input == nil {
7712		input = &ListThemeVersionsInput{}
7713	}
7714
7715	output = &ListThemeVersionsOutput{}
7716	req = c.newRequest(op, input, output)
7717	return
7718}
7719
7720// ListThemeVersions API operation for Amazon QuickSight.
7721//
7722// Lists all the versions of the themes in the current AWS account.
7723//
7724// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7725// with awserr.Error's Code and Message methods to get detailed information about
7726// the error.
7727//
7728// See the AWS API reference guide for Amazon QuickSight's
7729// API operation ListThemeVersions for usage and error information.
7730//
7731// Returned Error Types:
7732//   * AccessDeniedException
7733//   You don't have access to this item. The provided credentials couldn't be
7734//   validated. You might not be authorized to carry out the request. Make sure
7735//   that your account is authorized to use the Amazon QuickSight service, that
7736//   your policies have the correct permissions, and that you are using the correct
7737//   access keys.
7738//
7739//   * InvalidNextTokenException
7740//   The NextToken value isn't valid.
7741//
7742//   * InvalidParameterValueException
7743//   One or more parameters has a value that isn't valid.
7744//
7745//   * ResourceNotFoundException
7746//   One or more resources can't be found.
7747//
7748//   * ThrottlingException
7749//   Access is throttled.
7750//
7751//   * UnsupportedUserEditionException
7752//   This error indicates that you are calling an operation on an Amazon QuickSight
7753//   subscription where the edition doesn't include support for that operation.
7754//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
7755//   Not every operation and capability is available in every edition.
7756//
7757//   * InternalFailureException
7758//   An internal failure occurred.
7759//
7760// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeVersions
7761func (c *QuickSight) ListThemeVersions(input *ListThemeVersionsInput) (*ListThemeVersionsOutput, error) {
7762	req, out := c.ListThemeVersionsRequest(input)
7763	return out, req.Send()
7764}
7765
7766// ListThemeVersionsWithContext is the same as ListThemeVersions with the addition of
7767// the ability to pass a context and additional request options.
7768//
7769// See ListThemeVersions for details on how to use this API operation.
7770//
7771// The context must be non-nil and will be used for request cancellation. If
7772// the context is nil a panic will occur. In the future the SDK may create
7773// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7774// for more information on using Contexts.
7775func (c *QuickSight) ListThemeVersionsWithContext(ctx aws.Context, input *ListThemeVersionsInput, opts ...request.Option) (*ListThemeVersionsOutput, error) {
7776	req, out := c.ListThemeVersionsRequest(input)
7777	req.SetContext(ctx)
7778	req.ApplyOptions(opts...)
7779	return out, req.Send()
7780}
7781
7782// ListThemeVersionsPages iterates over the pages of a ListThemeVersions operation,
7783// calling the "fn" function with the response data for each page. To stop
7784// iterating, return false from the fn function.
7785//
7786// See ListThemeVersions method for more information on how to use this operation.
7787//
7788// Note: This operation can generate multiple requests to a service.
7789//
7790//    // Example iterating over at most 3 pages of a ListThemeVersions operation.
7791//    pageNum := 0
7792//    err := client.ListThemeVersionsPages(params,
7793//        func(page *quicksight.ListThemeVersionsOutput, lastPage bool) bool {
7794//            pageNum++
7795//            fmt.Println(page)
7796//            return pageNum <= 3
7797//        })
7798//
7799func (c *QuickSight) ListThemeVersionsPages(input *ListThemeVersionsInput, fn func(*ListThemeVersionsOutput, bool) bool) error {
7800	return c.ListThemeVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
7801}
7802
7803// ListThemeVersionsPagesWithContext same as ListThemeVersionsPages except
7804// it takes a Context and allows setting request options on the pages.
7805//
7806// The context must be non-nil and will be used for request cancellation. If
7807// the context is nil a panic will occur. In the future the SDK may create
7808// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7809// for more information on using Contexts.
7810func (c *QuickSight) ListThemeVersionsPagesWithContext(ctx aws.Context, input *ListThemeVersionsInput, fn func(*ListThemeVersionsOutput, bool) bool, opts ...request.Option) error {
7811	p := request.Pagination{
7812		NewRequest: func() (*request.Request, error) {
7813			var inCpy *ListThemeVersionsInput
7814			if input != nil {
7815				tmp := *input
7816				inCpy = &tmp
7817			}
7818			req, _ := c.ListThemeVersionsRequest(inCpy)
7819			req.SetContext(ctx)
7820			req.ApplyOptions(opts...)
7821			return req, nil
7822		},
7823	}
7824
7825	for p.Next() {
7826		if !fn(p.Page().(*ListThemeVersionsOutput), !p.HasNextPage()) {
7827			break
7828		}
7829	}
7830
7831	return p.Err()
7832}
7833
7834const opListThemes = "ListThemes"
7835
7836// ListThemesRequest generates a "aws/request.Request" representing the
7837// client's request for the ListThemes operation. The "output" return
7838// value will be populated with the request's response once the request completes
7839// successfully.
7840//
7841// Use "Send" method on the returned Request to send the API call to the service.
7842// the "output" return value is not valid until after Send returns without error.
7843//
7844// See ListThemes for more information on using the ListThemes
7845// API call, and error handling.
7846//
7847// This method is useful when you want to inject custom logic or configuration
7848// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7849//
7850//
7851//    // Example sending a request using the ListThemesRequest method.
7852//    req, resp := client.ListThemesRequest(params)
7853//
7854//    err := req.Send()
7855//    if err == nil { // resp is now filled
7856//        fmt.Println(resp)
7857//    }
7858//
7859// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemes
7860func (c *QuickSight) ListThemesRequest(input *ListThemesInput) (req *request.Request, output *ListThemesOutput) {
7861	op := &request.Operation{
7862		Name:       opListThemes,
7863		HTTPMethod: "GET",
7864		HTTPPath:   "/accounts/{AwsAccountId}/themes",
7865		Paginator: &request.Paginator{
7866			InputTokens:     []string{"NextToken"},
7867			OutputTokens:    []string{"NextToken"},
7868			LimitToken:      "MaxResults",
7869			TruncationToken: "",
7870		},
7871	}
7872
7873	if input == nil {
7874		input = &ListThemesInput{}
7875	}
7876
7877	output = &ListThemesOutput{}
7878	req = c.newRequest(op, input, output)
7879	return
7880}
7881
7882// ListThemes API operation for Amazon QuickSight.
7883//
7884// Lists all the themes in the current AWS account.
7885//
7886// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7887// with awserr.Error's Code and Message methods to get detailed information about
7888// the error.
7889//
7890// See the AWS API reference guide for Amazon QuickSight's
7891// API operation ListThemes for usage and error information.
7892//
7893// Returned Error Types:
7894//   * AccessDeniedException
7895//   You don't have access to this item. The provided credentials couldn't be
7896//   validated. You might not be authorized to carry out the request. Make sure
7897//   that your account is authorized to use the Amazon QuickSight service, that
7898//   your policies have the correct permissions, and that you are using the correct
7899//   access keys.
7900//
7901//   * InvalidParameterValueException
7902//   One or more parameters has a value that isn't valid.
7903//
7904//   * InvalidNextTokenException
7905//   The NextToken value isn't valid.
7906//
7907//   * ResourceNotFoundException
7908//   One or more resources can't be found.
7909//
7910//   * ThrottlingException
7911//   Access is throttled.
7912//
7913//   * UnsupportedUserEditionException
7914//   This error indicates that you are calling an operation on an Amazon QuickSight
7915//   subscription where the edition doesn't include support for that operation.
7916//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
7917//   Not every operation and capability is available in every edition.
7918//
7919//   * InternalFailureException
7920//   An internal failure occurred.
7921//
7922// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemes
7923func (c *QuickSight) ListThemes(input *ListThemesInput) (*ListThemesOutput, error) {
7924	req, out := c.ListThemesRequest(input)
7925	return out, req.Send()
7926}
7927
7928// ListThemesWithContext is the same as ListThemes with the addition of
7929// the ability to pass a context and additional request options.
7930//
7931// See ListThemes for details on how to use this API operation.
7932//
7933// The context must be non-nil and will be used for request cancellation. If
7934// the context is nil a panic will occur. In the future the SDK may create
7935// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7936// for more information on using Contexts.
7937func (c *QuickSight) ListThemesWithContext(ctx aws.Context, input *ListThemesInput, opts ...request.Option) (*ListThemesOutput, error) {
7938	req, out := c.ListThemesRequest(input)
7939	req.SetContext(ctx)
7940	req.ApplyOptions(opts...)
7941	return out, req.Send()
7942}
7943
7944// ListThemesPages iterates over the pages of a ListThemes operation,
7945// calling the "fn" function with the response data for each page. To stop
7946// iterating, return false from the fn function.
7947//
7948// See ListThemes method for more information on how to use this operation.
7949//
7950// Note: This operation can generate multiple requests to a service.
7951//
7952//    // Example iterating over at most 3 pages of a ListThemes operation.
7953//    pageNum := 0
7954//    err := client.ListThemesPages(params,
7955//        func(page *quicksight.ListThemesOutput, lastPage bool) bool {
7956//            pageNum++
7957//            fmt.Println(page)
7958//            return pageNum <= 3
7959//        })
7960//
7961func (c *QuickSight) ListThemesPages(input *ListThemesInput, fn func(*ListThemesOutput, bool) bool) error {
7962	return c.ListThemesPagesWithContext(aws.BackgroundContext(), input, fn)
7963}
7964
7965// ListThemesPagesWithContext same as ListThemesPages except
7966// it takes a Context and allows setting request options on the pages.
7967//
7968// The context must be non-nil and will be used for request cancellation. If
7969// the context is nil a panic will occur. In the future the SDK may create
7970// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7971// for more information on using Contexts.
7972func (c *QuickSight) ListThemesPagesWithContext(ctx aws.Context, input *ListThemesInput, fn func(*ListThemesOutput, bool) bool, opts ...request.Option) error {
7973	p := request.Pagination{
7974		NewRequest: func() (*request.Request, error) {
7975			var inCpy *ListThemesInput
7976			if input != nil {
7977				tmp := *input
7978				inCpy = &tmp
7979			}
7980			req, _ := c.ListThemesRequest(inCpy)
7981			req.SetContext(ctx)
7982			req.ApplyOptions(opts...)
7983			return req, nil
7984		},
7985	}
7986
7987	for p.Next() {
7988		if !fn(p.Page().(*ListThemesOutput), !p.HasNextPage()) {
7989			break
7990		}
7991	}
7992
7993	return p.Err()
7994}
7995
7996const opListUserGroups = "ListUserGroups"
7997
7998// ListUserGroupsRequest generates a "aws/request.Request" representing the
7999// client's request for the ListUserGroups operation. The "output" return
8000// value will be populated with the request's response once the request completes
8001// successfully.
8002//
8003// Use "Send" method on the returned Request to send the API call to the service.
8004// the "output" return value is not valid until after Send returns without error.
8005//
8006// See ListUserGroups for more information on using the ListUserGroups
8007// API call, and error handling.
8008//
8009// This method is useful when you want to inject custom logic or configuration
8010// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8011//
8012//
8013//    // Example sending a request using the ListUserGroupsRequest method.
8014//    req, resp := client.ListUserGroupsRequest(params)
8015//
8016//    err := req.Send()
8017//    if err == nil { // resp is now filled
8018//        fmt.Println(resp)
8019//    }
8020//
8021// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUserGroups
8022func (c *QuickSight) ListUserGroupsRequest(input *ListUserGroupsInput) (req *request.Request, output *ListUserGroupsOutput) {
8023	op := &request.Operation{
8024		Name:       opListUserGroups,
8025		HTTPMethod: "GET",
8026		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/groups",
8027	}
8028
8029	if input == nil {
8030		input = &ListUserGroupsInput{}
8031	}
8032
8033	output = &ListUserGroupsOutput{}
8034	req = c.newRequest(op, input, output)
8035	return
8036}
8037
8038// ListUserGroups API operation for Amazon QuickSight.
8039//
8040// Lists the Amazon QuickSight groups that an Amazon QuickSight user is a member
8041// of.
8042//
8043// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8044// with awserr.Error's Code and Message methods to get detailed information about
8045// the error.
8046//
8047// See the AWS API reference guide for Amazon QuickSight's
8048// API operation ListUserGroups for usage and error information.
8049//
8050// Returned Error Types:
8051//   * AccessDeniedException
8052//   You don't have access to this item. The provided credentials couldn't be
8053//   validated. You might not be authorized to carry out the request. Make sure
8054//   that your account is authorized to use the Amazon QuickSight service, that
8055//   your policies have the correct permissions, and that you are using the correct
8056//   access keys.
8057//
8058//   * InvalidParameterValueException
8059//   One or more parameters has a value that isn't valid.
8060//
8061//   * ResourceNotFoundException
8062//   One or more resources can't be found.
8063//
8064//   * ThrottlingException
8065//   Access is throttled.
8066//
8067//   * PreconditionNotMetException
8068//   One or more preconditions aren't met.
8069//
8070//   * InternalFailureException
8071//   An internal failure occurred.
8072//
8073//   * ResourceUnavailableException
8074//   This resource is currently unavailable.
8075//
8076// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUserGroups
8077func (c *QuickSight) ListUserGroups(input *ListUserGroupsInput) (*ListUserGroupsOutput, error) {
8078	req, out := c.ListUserGroupsRequest(input)
8079	return out, req.Send()
8080}
8081
8082// ListUserGroupsWithContext is the same as ListUserGroups with the addition of
8083// the ability to pass a context and additional request options.
8084//
8085// See ListUserGroups for details on how to use this API operation.
8086//
8087// The context must be non-nil and will be used for request cancellation. If
8088// the context is nil a panic will occur. In the future the SDK may create
8089// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8090// for more information on using Contexts.
8091func (c *QuickSight) ListUserGroupsWithContext(ctx aws.Context, input *ListUserGroupsInput, opts ...request.Option) (*ListUserGroupsOutput, error) {
8092	req, out := c.ListUserGroupsRequest(input)
8093	req.SetContext(ctx)
8094	req.ApplyOptions(opts...)
8095	return out, req.Send()
8096}
8097
8098const opListUsers = "ListUsers"
8099
8100// ListUsersRequest generates a "aws/request.Request" representing the
8101// client's request for the ListUsers operation. The "output" return
8102// value will be populated with the request's response once the request completes
8103// successfully.
8104//
8105// Use "Send" method on the returned Request to send the API call to the service.
8106// the "output" return value is not valid until after Send returns without error.
8107//
8108// See ListUsers for more information on using the ListUsers
8109// API call, and error handling.
8110//
8111// This method is useful when you want to inject custom logic or configuration
8112// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8113//
8114//
8115//    // Example sending a request using the ListUsersRequest method.
8116//    req, resp := client.ListUsersRequest(params)
8117//
8118//    err := req.Send()
8119//    if err == nil { // resp is now filled
8120//        fmt.Println(resp)
8121//    }
8122//
8123// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUsers
8124func (c *QuickSight) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput) {
8125	op := &request.Operation{
8126		Name:       opListUsers,
8127		HTTPMethod: "GET",
8128		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users",
8129	}
8130
8131	if input == nil {
8132		input = &ListUsersInput{}
8133	}
8134
8135	output = &ListUsersOutput{}
8136	req = c.newRequest(op, input, output)
8137	return
8138}
8139
8140// ListUsers API operation for Amazon QuickSight.
8141//
8142// Returns a list of all of the Amazon QuickSight users belonging to this account.
8143//
8144// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8145// with awserr.Error's Code and Message methods to get detailed information about
8146// the error.
8147//
8148// See the AWS API reference guide for Amazon QuickSight's
8149// API operation ListUsers for usage and error information.
8150//
8151// Returned Error Types:
8152//   * AccessDeniedException
8153//   You don't have access to this item. The provided credentials couldn't be
8154//   validated. You might not be authorized to carry out the request. Make sure
8155//   that your account is authorized to use the Amazon QuickSight service, that
8156//   your policies have the correct permissions, and that you are using the correct
8157//   access keys.
8158//
8159//   * InvalidParameterValueException
8160//   One or more parameters has a value that isn't valid.
8161//
8162//   * ResourceNotFoundException
8163//   One or more resources can't be found.
8164//
8165//   * ThrottlingException
8166//   Access is throttled.
8167//
8168//   * InvalidNextTokenException
8169//   The NextToken value isn't valid.
8170//
8171//   * PreconditionNotMetException
8172//   One or more preconditions aren't met.
8173//
8174//   * InternalFailureException
8175//   An internal failure occurred.
8176//
8177//   * ResourceUnavailableException
8178//   This resource is currently unavailable.
8179//
8180// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUsers
8181func (c *QuickSight) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) {
8182	req, out := c.ListUsersRequest(input)
8183	return out, req.Send()
8184}
8185
8186// ListUsersWithContext is the same as ListUsers with the addition of
8187// the ability to pass a context and additional request options.
8188//
8189// See ListUsers for details on how to use this API operation.
8190//
8191// The context must be non-nil and will be used for request cancellation. If
8192// the context is nil a panic will occur. In the future the SDK may create
8193// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8194// for more information on using Contexts.
8195func (c *QuickSight) ListUsersWithContext(ctx aws.Context, input *ListUsersInput, opts ...request.Option) (*ListUsersOutput, error) {
8196	req, out := c.ListUsersRequest(input)
8197	req.SetContext(ctx)
8198	req.ApplyOptions(opts...)
8199	return out, req.Send()
8200}
8201
8202const opRegisterUser = "RegisterUser"
8203
8204// RegisterUserRequest generates a "aws/request.Request" representing the
8205// client's request for the RegisterUser operation. The "output" return
8206// value will be populated with the request's response once the request completes
8207// successfully.
8208//
8209// Use "Send" method on the returned Request to send the API call to the service.
8210// the "output" return value is not valid until after Send returns without error.
8211//
8212// See RegisterUser for more information on using the RegisterUser
8213// API call, and error handling.
8214//
8215// This method is useful when you want to inject custom logic or configuration
8216// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8217//
8218//
8219//    // Example sending a request using the RegisterUserRequest method.
8220//    req, resp := client.RegisterUserRequest(params)
8221//
8222//    err := req.Send()
8223//    if err == nil { // resp is now filled
8224//        fmt.Println(resp)
8225//    }
8226//
8227// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RegisterUser
8228func (c *QuickSight) RegisterUserRequest(input *RegisterUserInput) (req *request.Request, output *RegisterUserOutput) {
8229	op := &request.Operation{
8230		Name:       opRegisterUser,
8231		HTTPMethod: "POST",
8232		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users",
8233	}
8234
8235	if input == nil {
8236		input = &RegisterUserInput{}
8237	}
8238
8239	output = &RegisterUserOutput{}
8240	req = c.newRequest(op, input, output)
8241	return
8242}
8243
8244// RegisterUser API operation for Amazon QuickSight.
8245//
8246// Creates an Amazon QuickSight user, whose identity is associated with the
8247// AWS Identity and Access Management (IAM) identity or role specified in the
8248// request.
8249//
8250// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8251// with awserr.Error's Code and Message methods to get detailed information about
8252// the error.
8253//
8254// See the AWS API reference guide for Amazon QuickSight's
8255// API operation RegisterUser for usage and error information.
8256//
8257// Returned Error Types:
8258//   * AccessDeniedException
8259//   You don't have access to this item. The provided credentials couldn't be
8260//   validated. You might not be authorized to carry out the request. Make sure
8261//   that your account is authorized to use the Amazon QuickSight service, that
8262//   your policies have the correct permissions, and that you are using the correct
8263//   access keys.
8264//
8265//   * InvalidParameterValueException
8266//   One or more parameters has a value that isn't valid.
8267//
8268//   * ResourceNotFoundException
8269//   One or more resources can't be found.
8270//
8271//   * ThrottlingException
8272//   Access is throttled.
8273//
8274//   * LimitExceededException
8275//   A limit is exceeded.
8276//
8277//   * ResourceExistsException
8278//   The resource specified already exists.
8279//
8280//   * PreconditionNotMetException
8281//   One or more preconditions aren't met.
8282//
8283//   * InternalFailureException
8284//   An internal failure occurred.
8285//
8286//   * ResourceUnavailableException
8287//   This resource is currently unavailable.
8288//
8289// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RegisterUser
8290func (c *QuickSight) RegisterUser(input *RegisterUserInput) (*RegisterUserOutput, error) {
8291	req, out := c.RegisterUserRequest(input)
8292	return out, req.Send()
8293}
8294
8295// RegisterUserWithContext is the same as RegisterUser with the addition of
8296// the ability to pass a context and additional request options.
8297//
8298// See RegisterUser for details on how to use this API operation.
8299//
8300// The context must be non-nil and will be used for request cancellation. If
8301// the context is nil a panic will occur. In the future the SDK may create
8302// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8303// for more information on using Contexts.
8304func (c *QuickSight) RegisterUserWithContext(ctx aws.Context, input *RegisterUserInput, opts ...request.Option) (*RegisterUserOutput, error) {
8305	req, out := c.RegisterUserRequest(input)
8306	req.SetContext(ctx)
8307	req.ApplyOptions(opts...)
8308	return out, req.Send()
8309}
8310
8311const opRestoreAnalysis = "RestoreAnalysis"
8312
8313// RestoreAnalysisRequest generates a "aws/request.Request" representing the
8314// client's request for the RestoreAnalysis operation. The "output" return
8315// value will be populated with the request's response once the request completes
8316// successfully.
8317//
8318// Use "Send" method on the returned Request to send the API call to the service.
8319// the "output" return value is not valid until after Send returns without error.
8320//
8321// See RestoreAnalysis for more information on using the RestoreAnalysis
8322// API call, and error handling.
8323//
8324// This method is useful when you want to inject custom logic or configuration
8325// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8326//
8327//
8328//    // Example sending a request using the RestoreAnalysisRequest method.
8329//    req, resp := client.RestoreAnalysisRequest(params)
8330//
8331//    err := req.Send()
8332//    if err == nil { // resp is now filled
8333//        fmt.Println(resp)
8334//    }
8335//
8336// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RestoreAnalysis
8337func (c *QuickSight) RestoreAnalysisRequest(input *RestoreAnalysisInput) (req *request.Request, output *RestoreAnalysisOutput) {
8338	op := &request.Operation{
8339		Name:       opRestoreAnalysis,
8340		HTTPMethod: "POST",
8341		HTTPPath:   "/accounts/{AwsAccountId}/restore/analyses/{AnalysisId}",
8342	}
8343
8344	if input == nil {
8345		input = &RestoreAnalysisInput{}
8346	}
8347
8348	output = &RestoreAnalysisOutput{}
8349	req = c.newRequest(op, input, output)
8350	return
8351}
8352
8353// RestoreAnalysis API operation for Amazon QuickSight.
8354//
8355// Restores an analysis.
8356//
8357// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8358// with awserr.Error's Code and Message methods to get detailed information about
8359// the error.
8360//
8361// See the AWS API reference guide for Amazon QuickSight's
8362// API operation RestoreAnalysis for usage and error information.
8363//
8364// Returned Error Types:
8365//   * ThrottlingException
8366//   Access is throttled.
8367//
8368//   * InvalidParameterValueException
8369//   One or more parameters has a value that isn't valid.
8370//
8371//   * ConflictException
8372//   Updating or deleting a resource can cause an inconsistent state.
8373//
8374//   * ResourceNotFoundException
8375//   One or more resources can't be found.
8376//
8377//   * UnsupportedUserEditionException
8378//   This error indicates that you are calling an operation on an Amazon QuickSight
8379//   subscription where the edition doesn't include support for that operation.
8380//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
8381//   Not every operation and capability is available in every edition.
8382//
8383//   * InternalFailureException
8384//   An internal failure occurred.
8385//
8386// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RestoreAnalysis
8387func (c *QuickSight) RestoreAnalysis(input *RestoreAnalysisInput) (*RestoreAnalysisOutput, error) {
8388	req, out := c.RestoreAnalysisRequest(input)
8389	return out, req.Send()
8390}
8391
8392// RestoreAnalysisWithContext is the same as RestoreAnalysis with the addition of
8393// the ability to pass a context and additional request options.
8394//
8395// See RestoreAnalysis for details on how to use this API operation.
8396//
8397// The context must be non-nil and will be used for request cancellation. If
8398// the context is nil a panic will occur. In the future the SDK may create
8399// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8400// for more information on using Contexts.
8401func (c *QuickSight) RestoreAnalysisWithContext(ctx aws.Context, input *RestoreAnalysisInput, opts ...request.Option) (*RestoreAnalysisOutput, error) {
8402	req, out := c.RestoreAnalysisRequest(input)
8403	req.SetContext(ctx)
8404	req.ApplyOptions(opts...)
8405	return out, req.Send()
8406}
8407
8408const opSearchAnalyses = "SearchAnalyses"
8409
8410// SearchAnalysesRequest generates a "aws/request.Request" representing the
8411// client's request for the SearchAnalyses operation. The "output" return
8412// value will be populated with the request's response once the request completes
8413// successfully.
8414//
8415// Use "Send" method on the returned Request to send the API call to the service.
8416// the "output" return value is not valid until after Send returns without error.
8417//
8418// See SearchAnalyses for more information on using the SearchAnalyses
8419// API call, and error handling.
8420//
8421// This method is useful when you want to inject custom logic or configuration
8422// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8423//
8424//
8425//    // Example sending a request using the SearchAnalysesRequest method.
8426//    req, resp := client.SearchAnalysesRequest(params)
8427//
8428//    err := req.Send()
8429//    if err == nil { // resp is now filled
8430//        fmt.Println(resp)
8431//    }
8432//
8433// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchAnalyses
8434func (c *QuickSight) SearchAnalysesRequest(input *SearchAnalysesInput) (req *request.Request, output *SearchAnalysesOutput) {
8435	op := &request.Operation{
8436		Name:       opSearchAnalyses,
8437		HTTPMethod: "POST",
8438		HTTPPath:   "/accounts/{AwsAccountId}/search/analyses",
8439		Paginator: &request.Paginator{
8440			InputTokens:     []string{"NextToken"},
8441			OutputTokens:    []string{"NextToken"},
8442			LimitToken:      "MaxResults",
8443			TruncationToken: "",
8444		},
8445	}
8446
8447	if input == nil {
8448		input = &SearchAnalysesInput{}
8449	}
8450
8451	output = &SearchAnalysesOutput{}
8452	req = c.newRequest(op, input, output)
8453	return
8454}
8455
8456// SearchAnalyses API operation for Amazon QuickSight.
8457//
8458// Searches for analyses that belong to the user specified in the filter.
8459//
8460// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8461// with awserr.Error's Code and Message methods to get detailed information about
8462// the error.
8463//
8464// See the AWS API reference guide for Amazon QuickSight's
8465// API operation SearchAnalyses for usage and error information.
8466//
8467// Returned Error Types:
8468//   * ThrottlingException
8469//   Access is throttled.
8470//
8471//   * ResourceNotFoundException
8472//   One or more resources can't be found.
8473//
8474//   * InvalidParameterValueException
8475//   One or more parameters has a value that isn't valid.
8476//
8477//   * UnsupportedUserEditionException
8478//   This error indicates that you are calling an operation on an Amazon QuickSight
8479//   subscription where the edition doesn't include support for that operation.
8480//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
8481//   Not every operation and capability is available in every edition.
8482//
8483//   * InvalidNextTokenException
8484//   The NextToken value isn't valid.
8485//
8486//   * InternalFailureException
8487//   An internal failure occurred.
8488//
8489// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchAnalyses
8490func (c *QuickSight) SearchAnalyses(input *SearchAnalysesInput) (*SearchAnalysesOutput, error) {
8491	req, out := c.SearchAnalysesRequest(input)
8492	return out, req.Send()
8493}
8494
8495// SearchAnalysesWithContext is the same as SearchAnalyses with the addition of
8496// the ability to pass a context and additional request options.
8497//
8498// See SearchAnalyses for details on how to use this API operation.
8499//
8500// The context must be non-nil and will be used for request cancellation. If
8501// the context is nil a panic will occur. In the future the SDK may create
8502// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8503// for more information on using Contexts.
8504func (c *QuickSight) SearchAnalysesWithContext(ctx aws.Context, input *SearchAnalysesInput, opts ...request.Option) (*SearchAnalysesOutput, error) {
8505	req, out := c.SearchAnalysesRequest(input)
8506	req.SetContext(ctx)
8507	req.ApplyOptions(opts...)
8508	return out, req.Send()
8509}
8510
8511// SearchAnalysesPages iterates over the pages of a SearchAnalyses operation,
8512// calling the "fn" function with the response data for each page. To stop
8513// iterating, return false from the fn function.
8514//
8515// See SearchAnalyses method for more information on how to use this operation.
8516//
8517// Note: This operation can generate multiple requests to a service.
8518//
8519//    // Example iterating over at most 3 pages of a SearchAnalyses operation.
8520//    pageNum := 0
8521//    err := client.SearchAnalysesPages(params,
8522//        func(page *quicksight.SearchAnalysesOutput, lastPage bool) bool {
8523//            pageNum++
8524//            fmt.Println(page)
8525//            return pageNum <= 3
8526//        })
8527//
8528func (c *QuickSight) SearchAnalysesPages(input *SearchAnalysesInput, fn func(*SearchAnalysesOutput, bool) bool) error {
8529	return c.SearchAnalysesPagesWithContext(aws.BackgroundContext(), input, fn)
8530}
8531
8532// SearchAnalysesPagesWithContext same as SearchAnalysesPages except
8533// it takes a Context and allows setting request options on the pages.
8534//
8535// The context must be non-nil and will be used for request cancellation. If
8536// the context is nil a panic will occur. In the future the SDK may create
8537// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8538// for more information on using Contexts.
8539func (c *QuickSight) SearchAnalysesPagesWithContext(ctx aws.Context, input *SearchAnalysesInput, fn func(*SearchAnalysesOutput, bool) bool, opts ...request.Option) error {
8540	p := request.Pagination{
8541		NewRequest: func() (*request.Request, error) {
8542			var inCpy *SearchAnalysesInput
8543			if input != nil {
8544				tmp := *input
8545				inCpy = &tmp
8546			}
8547			req, _ := c.SearchAnalysesRequest(inCpy)
8548			req.SetContext(ctx)
8549			req.ApplyOptions(opts...)
8550			return req, nil
8551		},
8552	}
8553
8554	for p.Next() {
8555		if !fn(p.Page().(*SearchAnalysesOutput), !p.HasNextPage()) {
8556			break
8557		}
8558	}
8559
8560	return p.Err()
8561}
8562
8563const opSearchDashboards = "SearchDashboards"
8564
8565// SearchDashboardsRequest generates a "aws/request.Request" representing the
8566// client's request for the SearchDashboards operation. The "output" return
8567// value will be populated with the request's response once the request completes
8568// successfully.
8569//
8570// Use "Send" method on the returned Request to send the API call to the service.
8571// the "output" return value is not valid until after Send returns without error.
8572//
8573// See SearchDashboards for more information on using the SearchDashboards
8574// API call, and error handling.
8575//
8576// This method is useful when you want to inject custom logic or configuration
8577// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8578//
8579//
8580//    // Example sending a request using the SearchDashboardsRequest method.
8581//    req, resp := client.SearchDashboardsRequest(params)
8582//
8583//    err := req.Send()
8584//    if err == nil { // resp is now filled
8585//        fmt.Println(resp)
8586//    }
8587//
8588// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchDashboards
8589func (c *QuickSight) SearchDashboardsRequest(input *SearchDashboardsInput) (req *request.Request, output *SearchDashboardsOutput) {
8590	op := &request.Operation{
8591		Name:       opSearchDashboards,
8592		HTTPMethod: "POST",
8593		HTTPPath:   "/accounts/{AwsAccountId}/search/dashboards",
8594		Paginator: &request.Paginator{
8595			InputTokens:     []string{"NextToken"},
8596			OutputTokens:    []string{"NextToken"},
8597			LimitToken:      "MaxResults",
8598			TruncationToken: "",
8599		},
8600	}
8601
8602	if input == nil {
8603		input = &SearchDashboardsInput{}
8604	}
8605
8606	output = &SearchDashboardsOutput{}
8607	req = c.newRequest(op, input, output)
8608	return
8609}
8610
8611// SearchDashboards API operation for Amazon QuickSight.
8612//
8613// Searches for dashboards that belong to a user.
8614//
8615// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8616// with awserr.Error's Code and Message methods to get detailed information about
8617// the error.
8618//
8619// See the AWS API reference guide for Amazon QuickSight's
8620// API operation SearchDashboards for usage and error information.
8621//
8622// Returned Error Types:
8623//   * ThrottlingException
8624//   Access is throttled.
8625//
8626//   * ResourceNotFoundException
8627//   One or more resources can't be found.
8628//
8629//   * InvalidParameterValueException
8630//   One or more parameters has a value that isn't valid.
8631//
8632//   * UnsupportedUserEditionException
8633//   This error indicates that you are calling an operation on an Amazon QuickSight
8634//   subscription where the edition doesn't include support for that operation.
8635//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
8636//   Not every operation and capability is available in every edition.
8637//
8638//   * InvalidNextTokenException
8639//   The NextToken value isn't valid.
8640//
8641//   * InternalFailureException
8642//   An internal failure occurred.
8643//
8644// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchDashboards
8645func (c *QuickSight) SearchDashboards(input *SearchDashboardsInput) (*SearchDashboardsOutput, error) {
8646	req, out := c.SearchDashboardsRequest(input)
8647	return out, req.Send()
8648}
8649
8650// SearchDashboardsWithContext is the same as SearchDashboards with the addition of
8651// the ability to pass a context and additional request options.
8652//
8653// See SearchDashboards for details on how to use this API operation.
8654//
8655// The context must be non-nil and will be used for request cancellation. If
8656// the context is nil a panic will occur. In the future the SDK may create
8657// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8658// for more information on using Contexts.
8659func (c *QuickSight) SearchDashboardsWithContext(ctx aws.Context, input *SearchDashboardsInput, opts ...request.Option) (*SearchDashboardsOutput, error) {
8660	req, out := c.SearchDashboardsRequest(input)
8661	req.SetContext(ctx)
8662	req.ApplyOptions(opts...)
8663	return out, req.Send()
8664}
8665
8666// SearchDashboardsPages iterates over the pages of a SearchDashboards operation,
8667// calling the "fn" function with the response data for each page. To stop
8668// iterating, return false from the fn function.
8669//
8670// See SearchDashboards method for more information on how to use this operation.
8671//
8672// Note: This operation can generate multiple requests to a service.
8673//
8674//    // Example iterating over at most 3 pages of a SearchDashboards operation.
8675//    pageNum := 0
8676//    err := client.SearchDashboardsPages(params,
8677//        func(page *quicksight.SearchDashboardsOutput, lastPage bool) bool {
8678//            pageNum++
8679//            fmt.Println(page)
8680//            return pageNum <= 3
8681//        })
8682//
8683func (c *QuickSight) SearchDashboardsPages(input *SearchDashboardsInput, fn func(*SearchDashboardsOutput, bool) bool) error {
8684	return c.SearchDashboardsPagesWithContext(aws.BackgroundContext(), input, fn)
8685}
8686
8687// SearchDashboardsPagesWithContext same as SearchDashboardsPages except
8688// it takes a Context and allows setting request options on the pages.
8689//
8690// The context must be non-nil and will be used for request cancellation. If
8691// the context is nil a panic will occur. In the future the SDK may create
8692// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8693// for more information on using Contexts.
8694func (c *QuickSight) SearchDashboardsPagesWithContext(ctx aws.Context, input *SearchDashboardsInput, fn func(*SearchDashboardsOutput, bool) bool, opts ...request.Option) error {
8695	p := request.Pagination{
8696		NewRequest: func() (*request.Request, error) {
8697			var inCpy *SearchDashboardsInput
8698			if input != nil {
8699				tmp := *input
8700				inCpy = &tmp
8701			}
8702			req, _ := c.SearchDashboardsRequest(inCpy)
8703			req.SetContext(ctx)
8704			req.ApplyOptions(opts...)
8705			return req, nil
8706		},
8707	}
8708
8709	for p.Next() {
8710		if !fn(p.Page().(*SearchDashboardsOutput), !p.HasNextPage()) {
8711			break
8712		}
8713	}
8714
8715	return p.Err()
8716}
8717
8718const opTagResource = "TagResource"
8719
8720// TagResourceRequest generates a "aws/request.Request" representing the
8721// client's request for the TagResource operation. The "output" return
8722// value will be populated with the request's response once the request completes
8723// successfully.
8724//
8725// Use "Send" method on the returned Request to send the API call to the service.
8726// the "output" return value is not valid until after Send returns without error.
8727//
8728// See TagResource for more information on using the TagResource
8729// API call, and error handling.
8730//
8731// This method is useful when you want to inject custom logic or configuration
8732// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8733//
8734//
8735//    // Example sending a request using the TagResourceRequest method.
8736//    req, resp := client.TagResourceRequest(params)
8737//
8738//    err := req.Send()
8739//    if err == nil { // resp is now filled
8740//        fmt.Println(resp)
8741//    }
8742//
8743// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/TagResource
8744func (c *QuickSight) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
8745	op := &request.Operation{
8746		Name:       opTagResource,
8747		HTTPMethod: "POST",
8748		HTTPPath:   "/resources/{ResourceArn}/tags",
8749	}
8750
8751	if input == nil {
8752		input = &TagResourceInput{}
8753	}
8754
8755	output = &TagResourceOutput{}
8756	req = c.newRequest(op, input, output)
8757	return
8758}
8759
8760// TagResource API operation for Amazon QuickSight.
8761//
8762// Assigns one or more tags (key-value pairs) to the specified QuickSight resource.
8763//
8764// Tags can help you organize and categorize your resources. You can also use
8765// them to scope user permissions, by granting a user permission to access or
8766// change only resources with certain tag values. You can use the TagResource
8767// operation with a resource that already has tags. If you specify a new tag
8768// key for the resource, this tag is appended to the list of tags associated
8769// with the resource. If you specify a tag key that is already associated with
8770// the resource, the new tag value that you specify replaces the previous value
8771// for that tag.
8772//
8773// You can associate as many as 50 tags with a resource. QuickSight supports
8774// tagging on data set, data source, dashboard, and template.
8775//
8776// Tagging for QuickSight works in a similar way to tagging for other AWS services,
8777// except for the following:
8778//
8779//    * You can't use tags to track AWS costs for QuickSight. This restriction
8780//    is because QuickSight costs are based on users and SPICE capacity, which
8781//    aren't taggable resources.
8782//
8783//    * QuickSight doesn't currently support the Tag Editor for AWS Resource
8784//    Groups.
8785//
8786// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8787// with awserr.Error's Code and Message methods to get detailed information about
8788// the error.
8789//
8790// See the AWS API reference guide for Amazon QuickSight's
8791// API operation TagResource for usage and error information.
8792//
8793// Returned Error Types:
8794//   * LimitExceededException
8795//   A limit is exceeded.
8796//
8797//   * AccessDeniedException
8798//   You don't have access to this item. The provided credentials couldn't be
8799//   validated. You might not be authorized to carry out the request. Make sure
8800//   that your account is authorized to use the Amazon QuickSight service, that
8801//   your policies have the correct permissions, and that you are using the correct
8802//   access keys.
8803//
8804//   * InvalidParameterValueException
8805//   One or more parameters has a value that isn't valid.
8806//
8807//   * ResourceNotFoundException
8808//   One or more resources can't be found.
8809//
8810//   * ThrottlingException
8811//   Access is throttled.
8812//
8813//   * InternalFailureException
8814//   An internal failure occurred.
8815//
8816// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/TagResource
8817func (c *QuickSight) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
8818	req, out := c.TagResourceRequest(input)
8819	return out, req.Send()
8820}
8821
8822// TagResourceWithContext is the same as TagResource with the addition of
8823// the ability to pass a context and additional request options.
8824//
8825// See TagResource for details on how to use this API operation.
8826//
8827// The context must be non-nil and will be used for request cancellation. If
8828// the context is nil a panic will occur. In the future the SDK may create
8829// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8830// for more information on using Contexts.
8831func (c *QuickSight) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
8832	req, out := c.TagResourceRequest(input)
8833	req.SetContext(ctx)
8834	req.ApplyOptions(opts...)
8835	return out, req.Send()
8836}
8837
8838const opUntagResource = "UntagResource"
8839
8840// UntagResourceRequest generates a "aws/request.Request" representing the
8841// client's request for the UntagResource operation. The "output" return
8842// value will be populated with the request's response once the request completes
8843// successfully.
8844//
8845// Use "Send" method on the returned Request to send the API call to the service.
8846// the "output" return value is not valid until after Send returns without error.
8847//
8848// See UntagResource for more information on using the UntagResource
8849// API call, and error handling.
8850//
8851// This method is useful when you want to inject custom logic or configuration
8852// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8853//
8854//
8855//    // Example sending a request using the UntagResourceRequest method.
8856//    req, resp := client.UntagResourceRequest(params)
8857//
8858//    err := req.Send()
8859//    if err == nil { // resp is now filled
8860//        fmt.Println(resp)
8861//    }
8862//
8863// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UntagResource
8864func (c *QuickSight) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
8865	op := &request.Operation{
8866		Name:       opUntagResource,
8867		HTTPMethod: "DELETE",
8868		HTTPPath:   "/resources/{ResourceArn}/tags",
8869	}
8870
8871	if input == nil {
8872		input = &UntagResourceInput{}
8873	}
8874
8875	output = &UntagResourceOutput{}
8876	req = c.newRequest(op, input, output)
8877	return
8878}
8879
8880// UntagResource API operation for Amazon QuickSight.
8881//
8882// Removes a tag or tags from a resource.
8883//
8884// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8885// with awserr.Error's Code and Message methods to get detailed information about
8886// the error.
8887//
8888// See the AWS API reference guide for Amazon QuickSight's
8889// API operation UntagResource for usage and error information.
8890//
8891// Returned Error Types:
8892//   * AccessDeniedException
8893//   You don't have access to this item. The provided credentials couldn't be
8894//   validated. You might not be authorized to carry out the request. Make sure
8895//   that your account is authorized to use the Amazon QuickSight service, that
8896//   your policies have the correct permissions, and that you are using the correct
8897//   access keys.
8898//
8899//   * InvalidParameterValueException
8900//   One or more parameters has a value that isn't valid.
8901//
8902//   * ResourceNotFoundException
8903//   One or more resources can't be found.
8904//
8905//   * ThrottlingException
8906//   Access is throttled.
8907//
8908//   * InternalFailureException
8909//   An internal failure occurred.
8910//
8911// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UntagResource
8912func (c *QuickSight) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
8913	req, out := c.UntagResourceRequest(input)
8914	return out, req.Send()
8915}
8916
8917// UntagResourceWithContext is the same as UntagResource with the addition of
8918// the ability to pass a context and additional request options.
8919//
8920// See UntagResource for details on how to use this API operation.
8921//
8922// The context must be non-nil and will be used for request cancellation. If
8923// the context is nil a panic will occur. In the future the SDK may create
8924// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8925// for more information on using Contexts.
8926func (c *QuickSight) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
8927	req, out := c.UntagResourceRequest(input)
8928	req.SetContext(ctx)
8929	req.ApplyOptions(opts...)
8930	return out, req.Send()
8931}
8932
8933const opUpdateAccountCustomization = "UpdateAccountCustomization"
8934
8935// UpdateAccountCustomizationRequest generates a "aws/request.Request" representing the
8936// client's request for the UpdateAccountCustomization operation. The "output" return
8937// value will be populated with the request's response once the request completes
8938// successfully.
8939//
8940// Use "Send" method on the returned Request to send the API call to the service.
8941// the "output" return value is not valid until after Send returns without error.
8942//
8943// See UpdateAccountCustomization for more information on using the UpdateAccountCustomization
8944// API call, and error handling.
8945//
8946// This method is useful when you want to inject custom logic or configuration
8947// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8948//
8949//
8950//    // Example sending a request using the UpdateAccountCustomizationRequest method.
8951//    req, resp := client.UpdateAccountCustomizationRequest(params)
8952//
8953//    err := req.Send()
8954//    if err == nil { // resp is now filled
8955//        fmt.Println(resp)
8956//    }
8957//
8958// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountCustomization
8959func (c *QuickSight) UpdateAccountCustomizationRequest(input *UpdateAccountCustomizationInput) (req *request.Request, output *UpdateAccountCustomizationOutput) {
8960	op := &request.Operation{
8961		Name:       opUpdateAccountCustomization,
8962		HTTPMethod: "PUT",
8963		HTTPPath:   "/accounts/{AwsAccountId}/customizations",
8964	}
8965
8966	if input == nil {
8967		input = &UpdateAccountCustomizationInput{}
8968	}
8969
8970	output = &UpdateAccountCustomizationOutput{}
8971	req = c.newRequest(op, input, output)
8972	return
8973}
8974
8975// UpdateAccountCustomization API operation for Amazon QuickSight.
8976//
8977// Updates Amazon QuickSight customizations the current AWS Region. Currently,
8978// the only customization you can use is a theme.
8979//
8980// You can use customizations for your AWS account or, if you specify a namespace,
8981// for a QuickSight namespace instead. Customizations that apply to a namespace
8982// override customizations that apply to an AWS account. To find out which customizations
8983// apply, use the DescribeAccountCustomization API operation.
8984//
8985// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8986// with awserr.Error's Code and Message methods to get detailed information about
8987// the error.
8988//
8989// See the AWS API reference guide for Amazon QuickSight's
8990// API operation UpdateAccountCustomization for usage and error information.
8991//
8992// Returned Error Types:
8993//   * AccessDeniedException
8994//   You don't have access to this item. The provided credentials couldn't be
8995//   validated. You might not be authorized to carry out the request. Make sure
8996//   that your account is authorized to use the Amazon QuickSight service, that
8997//   your policies have the correct permissions, and that you are using the correct
8998//   access keys.
8999//
9000//   * InvalidParameterValueException
9001//   One or more parameters has a value that isn't valid.
9002//
9003//   * ResourceNotFoundException
9004//   One or more resources can't be found.
9005//
9006//   * ThrottlingException
9007//   Access is throttled.
9008//
9009//   * InternalFailureException
9010//   An internal failure occurred.
9011//
9012//   * ResourceUnavailableException
9013//   This resource is currently unavailable.
9014//
9015// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountCustomization
9016func (c *QuickSight) UpdateAccountCustomization(input *UpdateAccountCustomizationInput) (*UpdateAccountCustomizationOutput, error) {
9017	req, out := c.UpdateAccountCustomizationRequest(input)
9018	return out, req.Send()
9019}
9020
9021// UpdateAccountCustomizationWithContext is the same as UpdateAccountCustomization with the addition of
9022// the ability to pass a context and additional request options.
9023//
9024// See UpdateAccountCustomization for details on how to use this API operation.
9025//
9026// The context must be non-nil and will be used for request cancellation. If
9027// the context is nil a panic will occur. In the future the SDK may create
9028// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9029// for more information on using Contexts.
9030func (c *QuickSight) UpdateAccountCustomizationWithContext(ctx aws.Context, input *UpdateAccountCustomizationInput, opts ...request.Option) (*UpdateAccountCustomizationOutput, error) {
9031	req, out := c.UpdateAccountCustomizationRequest(input)
9032	req.SetContext(ctx)
9033	req.ApplyOptions(opts...)
9034	return out, req.Send()
9035}
9036
9037const opUpdateAccountSettings = "UpdateAccountSettings"
9038
9039// UpdateAccountSettingsRequest generates a "aws/request.Request" representing the
9040// client's request for the UpdateAccountSettings operation. The "output" return
9041// value will be populated with the request's response once the request completes
9042// successfully.
9043//
9044// Use "Send" method on the returned Request to send the API call to the service.
9045// the "output" return value is not valid until after Send returns without error.
9046//
9047// See UpdateAccountSettings for more information on using the UpdateAccountSettings
9048// API call, and error handling.
9049//
9050// This method is useful when you want to inject custom logic or configuration
9051// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9052//
9053//
9054//    // Example sending a request using the UpdateAccountSettingsRequest method.
9055//    req, resp := client.UpdateAccountSettingsRequest(params)
9056//
9057//    err := req.Send()
9058//    if err == nil { // resp is now filled
9059//        fmt.Println(resp)
9060//    }
9061//
9062// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountSettings
9063func (c *QuickSight) UpdateAccountSettingsRequest(input *UpdateAccountSettingsInput) (req *request.Request, output *UpdateAccountSettingsOutput) {
9064	op := &request.Operation{
9065		Name:       opUpdateAccountSettings,
9066		HTTPMethod: "PUT",
9067		HTTPPath:   "/accounts/{AwsAccountId}/settings",
9068	}
9069
9070	if input == nil {
9071		input = &UpdateAccountSettingsInput{}
9072	}
9073
9074	output = &UpdateAccountSettingsOutput{}
9075	req = c.newRequest(op, input, output)
9076	return
9077}
9078
9079// UpdateAccountSettings API operation for Amazon QuickSight.
9080//
9081// Updates the Amazon QuickSight settings in your AWS account.
9082//
9083// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9084// with awserr.Error's Code and Message methods to get detailed information about
9085// the error.
9086//
9087// See the AWS API reference guide for Amazon QuickSight's
9088// API operation UpdateAccountSettings for usage and error information.
9089//
9090// Returned Error Types:
9091//   * AccessDeniedException
9092//   You don't have access to this item. The provided credentials couldn't be
9093//   validated. You might not be authorized to carry out the request. Make sure
9094//   that your account is authorized to use the Amazon QuickSight service, that
9095//   your policies have the correct permissions, and that you are using the correct
9096//   access keys.
9097//
9098//   * InvalidParameterValueException
9099//   One or more parameters has a value that isn't valid.
9100//
9101//   * ResourceNotFoundException
9102//   One or more resources can't be found.
9103//
9104//   * ThrottlingException
9105//   Access is throttled.
9106//
9107//   * InternalFailureException
9108//   An internal failure occurred.
9109//
9110//   * ResourceUnavailableException
9111//   This resource is currently unavailable.
9112//
9113// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountSettings
9114func (c *QuickSight) UpdateAccountSettings(input *UpdateAccountSettingsInput) (*UpdateAccountSettingsOutput, error) {
9115	req, out := c.UpdateAccountSettingsRequest(input)
9116	return out, req.Send()
9117}
9118
9119// UpdateAccountSettingsWithContext is the same as UpdateAccountSettings with the addition of
9120// the ability to pass a context and additional request options.
9121//
9122// See UpdateAccountSettings for details on how to use this API operation.
9123//
9124// The context must be non-nil and will be used for request cancellation. If
9125// the context is nil a panic will occur. In the future the SDK may create
9126// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9127// for more information on using Contexts.
9128func (c *QuickSight) UpdateAccountSettingsWithContext(ctx aws.Context, input *UpdateAccountSettingsInput, opts ...request.Option) (*UpdateAccountSettingsOutput, error) {
9129	req, out := c.UpdateAccountSettingsRequest(input)
9130	req.SetContext(ctx)
9131	req.ApplyOptions(opts...)
9132	return out, req.Send()
9133}
9134
9135const opUpdateAnalysis = "UpdateAnalysis"
9136
9137// UpdateAnalysisRequest generates a "aws/request.Request" representing the
9138// client's request for the UpdateAnalysis operation. The "output" return
9139// value will be populated with the request's response once the request completes
9140// successfully.
9141//
9142// Use "Send" method on the returned Request to send the API call to the service.
9143// the "output" return value is not valid until after Send returns without error.
9144//
9145// See UpdateAnalysis for more information on using the UpdateAnalysis
9146// API call, and error handling.
9147//
9148// This method is useful when you want to inject custom logic or configuration
9149// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9150//
9151//
9152//    // Example sending a request using the UpdateAnalysisRequest method.
9153//    req, resp := client.UpdateAnalysisRequest(params)
9154//
9155//    err := req.Send()
9156//    if err == nil { // resp is now filled
9157//        fmt.Println(resp)
9158//    }
9159//
9160// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAnalysis
9161func (c *QuickSight) UpdateAnalysisRequest(input *UpdateAnalysisInput) (req *request.Request, output *UpdateAnalysisOutput) {
9162	op := &request.Operation{
9163		Name:       opUpdateAnalysis,
9164		HTTPMethod: "PUT",
9165		HTTPPath:   "/accounts/{AwsAccountId}/analyses/{AnalysisId}",
9166	}
9167
9168	if input == nil {
9169		input = &UpdateAnalysisInput{}
9170	}
9171
9172	output = &UpdateAnalysisOutput{}
9173	req = c.newRequest(op, input, output)
9174	return
9175}
9176
9177// UpdateAnalysis API operation for Amazon QuickSight.
9178//
9179// Updates an analysis in Amazon QuickSight
9180//
9181// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9182// with awserr.Error's Code and Message methods to get detailed information about
9183// the error.
9184//
9185// See the AWS API reference guide for Amazon QuickSight's
9186// API operation UpdateAnalysis for usage and error information.
9187//
9188// Returned Error Types:
9189//   * ResourceNotFoundException
9190//   One or more resources can't be found.
9191//
9192//   * InvalidParameterValueException
9193//   One or more parameters has a value that isn't valid.
9194//
9195//   * ThrottlingException
9196//   Access is throttled.
9197//
9198//   * ResourceExistsException
9199//   The resource specified already exists.
9200//
9201//   * ConflictException
9202//   Updating or deleting a resource can cause an inconsistent state.
9203//
9204//   * UnsupportedUserEditionException
9205//   This error indicates that you are calling an operation on an Amazon QuickSight
9206//   subscription where the edition doesn't include support for that operation.
9207//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
9208//   Not every operation and capability is available in every edition.
9209//
9210//   * InternalFailureException
9211//   An internal failure occurred.
9212//
9213// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAnalysis
9214func (c *QuickSight) UpdateAnalysis(input *UpdateAnalysisInput) (*UpdateAnalysisOutput, error) {
9215	req, out := c.UpdateAnalysisRequest(input)
9216	return out, req.Send()
9217}
9218
9219// UpdateAnalysisWithContext is the same as UpdateAnalysis with the addition of
9220// the ability to pass a context and additional request options.
9221//
9222// See UpdateAnalysis for details on how to use this API operation.
9223//
9224// The context must be non-nil and will be used for request cancellation. If
9225// the context is nil a panic will occur. In the future the SDK may create
9226// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9227// for more information on using Contexts.
9228func (c *QuickSight) UpdateAnalysisWithContext(ctx aws.Context, input *UpdateAnalysisInput, opts ...request.Option) (*UpdateAnalysisOutput, error) {
9229	req, out := c.UpdateAnalysisRequest(input)
9230	req.SetContext(ctx)
9231	req.ApplyOptions(opts...)
9232	return out, req.Send()
9233}
9234
9235const opUpdateAnalysisPermissions = "UpdateAnalysisPermissions"
9236
9237// UpdateAnalysisPermissionsRequest generates a "aws/request.Request" representing the
9238// client's request for the UpdateAnalysisPermissions operation. The "output" return
9239// value will be populated with the request's response once the request completes
9240// successfully.
9241//
9242// Use "Send" method on the returned Request to send the API call to the service.
9243// the "output" return value is not valid until after Send returns without error.
9244//
9245// See UpdateAnalysisPermissions for more information on using the UpdateAnalysisPermissions
9246// API call, and error handling.
9247//
9248// This method is useful when you want to inject custom logic or configuration
9249// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9250//
9251//
9252//    // Example sending a request using the UpdateAnalysisPermissionsRequest method.
9253//    req, resp := client.UpdateAnalysisPermissionsRequest(params)
9254//
9255//    err := req.Send()
9256//    if err == nil { // resp is now filled
9257//        fmt.Println(resp)
9258//    }
9259//
9260// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAnalysisPermissions
9261func (c *QuickSight) UpdateAnalysisPermissionsRequest(input *UpdateAnalysisPermissionsInput) (req *request.Request, output *UpdateAnalysisPermissionsOutput) {
9262	op := &request.Operation{
9263		Name:       opUpdateAnalysisPermissions,
9264		HTTPMethod: "PUT",
9265		HTTPPath:   "/accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions",
9266	}
9267
9268	if input == nil {
9269		input = &UpdateAnalysisPermissionsInput{}
9270	}
9271
9272	output = &UpdateAnalysisPermissionsOutput{}
9273	req = c.newRequest(op, input, output)
9274	return
9275}
9276
9277// UpdateAnalysisPermissions API operation for Amazon QuickSight.
9278//
9279// Updates the read and write permissions for an analysis.
9280//
9281// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9282// with awserr.Error's Code and Message methods to get detailed information about
9283// the error.
9284//
9285// See the AWS API reference guide for Amazon QuickSight's
9286// API operation UpdateAnalysisPermissions for usage and error information.
9287//
9288// Returned Error Types:
9289//   * ThrottlingException
9290//   Access is throttled.
9291//
9292//   * InvalidParameterValueException
9293//   One or more parameters has a value that isn't valid.
9294//
9295//   * ResourceNotFoundException
9296//   One or more resources can't be found.
9297//
9298//   * UnsupportedUserEditionException
9299//   This error indicates that you are calling an operation on an Amazon QuickSight
9300//   subscription where the edition doesn't include support for that operation.
9301//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
9302//   Not every operation and capability is available in every edition.
9303//
9304//   * ConflictException
9305//   Updating or deleting a resource can cause an inconsistent state.
9306//
9307//   * InternalFailureException
9308//   An internal failure occurred.
9309//
9310// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAnalysisPermissions
9311func (c *QuickSight) UpdateAnalysisPermissions(input *UpdateAnalysisPermissionsInput) (*UpdateAnalysisPermissionsOutput, error) {
9312	req, out := c.UpdateAnalysisPermissionsRequest(input)
9313	return out, req.Send()
9314}
9315
9316// UpdateAnalysisPermissionsWithContext is the same as UpdateAnalysisPermissions with the addition of
9317// the ability to pass a context and additional request options.
9318//
9319// See UpdateAnalysisPermissions for details on how to use this API operation.
9320//
9321// The context must be non-nil and will be used for request cancellation. If
9322// the context is nil a panic will occur. In the future the SDK may create
9323// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9324// for more information on using Contexts.
9325func (c *QuickSight) UpdateAnalysisPermissionsWithContext(ctx aws.Context, input *UpdateAnalysisPermissionsInput, opts ...request.Option) (*UpdateAnalysisPermissionsOutput, error) {
9326	req, out := c.UpdateAnalysisPermissionsRequest(input)
9327	req.SetContext(ctx)
9328	req.ApplyOptions(opts...)
9329	return out, req.Send()
9330}
9331
9332const opUpdateDashboard = "UpdateDashboard"
9333
9334// UpdateDashboardRequest generates a "aws/request.Request" representing the
9335// client's request for the UpdateDashboard operation. The "output" return
9336// value will be populated with the request's response once the request completes
9337// successfully.
9338//
9339// Use "Send" method on the returned Request to send the API call to the service.
9340// the "output" return value is not valid until after Send returns without error.
9341//
9342// See UpdateDashboard for more information on using the UpdateDashboard
9343// API call, and error handling.
9344//
9345// This method is useful when you want to inject custom logic or configuration
9346// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9347//
9348//
9349//    // Example sending a request using the UpdateDashboardRequest method.
9350//    req, resp := client.UpdateDashboardRequest(params)
9351//
9352//    err := req.Send()
9353//    if err == nil { // resp is now filled
9354//        fmt.Println(resp)
9355//    }
9356//
9357// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboard
9358func (c *QuickSight) UpdateDashboardRequest(input *UpdateDashboardInput) (req *request.Request, output *UpdateDashboardOutput) {
9359	op := &request.Operation{
9360		Name:       opUpdateDashboard,
9361		HTTPMethod: "PUT",
9362		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}",
9363	}
9364
9365	if input == nil {
9366		input = &UpdateDashboardInput{}
9367	}
9368
9369	output = &UpdateDashboardOutput{}
9370	req = c.newRequest(op, input, output)
9371	return
9372}
9373
9374// UpdateDashboard API operation for Amazon QuickSight.
9375//
9376// Updates a dashboard in an AWS account.
9377//
9378// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9379// with awserr.Error's Code and Message methods to get detailed information about
9380// the error.
9381//
9382// See the AWS API reference guide for Amazon QuickSight's
9383// API operation UpdateDashboard for usage and error information.
9384//
9385// Returned Error Types:
9386//   * ThrottlingException
9387//   Access is throttled.
9388//
9389//   * InvalidParameterValueException
9390//   One or more parameters has a value that isn't valid.
9391//
9392//   * ResourceNotFoundException
9393//   One or more resources can't be found.
9394//
9395//   * ConflictException
9396//   Updating or deleting a resource can cause an inconsistent state.
9397//
9398//   * LimitExceededException
9399//   A limit is exceeded.
9400//
9401//   * UnsupportedUserEditionException
9402//   This error indicates that you are calling an operation on an Amazon QuickSight
9403//   subscription where the edition doesn't include support for that operation.
9404//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
9405//   Not every operation and capability is available in every edition.
9406//
9407//   * InternalFailureException
9408//   An internal failure occurred.
9409//
9410// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboard
9411func (c *QuickSight) UpdateDashboard(input *UpdateDashboardInput) (*UpdateDashboardOutput, error) {
9412	req, out := c.UpdateDashboardRequest(input)
9413	return out, req.Send()
9414}
9415
9416// UpdateDashboardWithContext is the same as UpdateDashboard with the addition of
9417// the ability to pass a context and additional request options.
9418//
9419// See UpdateDashboard for details on how to use this API operation.
9420//
9421// The context must be non-nil and will be used for request cancellation. If
9422// the context is nil a panic will occur. In the future the SDK may create
9423// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9424// for more information on using Contexts.
9425func (c *QuickSight) UpdateDashboardWithContext(ctx aws.Context, input *UpdateDashboardInput, opts ...request.Option) (*UpdateDashboardOutput, error) {
9426	req, out := c.UpdateDashboardRequest(input)
9427	req.SetContext(ctx)
9428	req.ApplyOptions(opts...)
9429	return out, req.Send()
9430}
9431
9432const opUpdateDashboardPermissions = "UpdateDashboardPermissions"
9433
9434// UpdateDashboardPermissionsRequest generates a "aws/request.Request" representing the
9435// client's request for the UpdateDashboardPermissions operation. The "output" return
9436// value will be populated with the request's response once the request completes
9437// successfully.
9438//
9439// Use "Send" method on the returned Request to send the API call to the service.
9440// the "output" return value is not valid until after Send returns without error.
9441//
9442// See UpdateDashboardPermissions for more information on using the UpdateDashboardPermissions
9443// API call, and error handling.
9444//
9445// This method is useful when you want to inject custom logic or configuration
9446// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9447//
9448//
9449//    // Example sending a request using the UpdateDashboardPermissionsRequest method.
9450//    req, resp := client.UpdateDashboardPermissionsRequest(params)
9451//
9452//    err := req.Send()
9453//    if err == nil { // resp is now filled
9454//        fmt.Println(resp)
9455//    }
9456//
9457// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPermissions
9458func (c *QuickSight) UpdateDashboardPermissionsRequest(input *UpdateDashboardPermissionsInput) (req *request.Request, output *UpdateDashboardPermissionsOutput) {
9459	op := &request.Operation{
9460		Name:       opUpdateDashboardPermissions,
9461		HTTPMethod: "PUT",
9462		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions",
9463	}
9464
9465	if input == nil {
9466		input = &UpdateDashboardPermissionsInput{}
9467	}
9468
9469	output = &UpdateDashboardPermissionsOutput{}
9470	req = c.newRequest(op, input, output)
9471	return
9472}
9473
9474// UpdateDashboardPermissions API operation for Amazon QuickSight.
9475//
9476// Updates read and write permissions on a dashboard.
9477//
9478// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9479// with awserr.Error's Code and Message methods to get detailed information about
9480// the error.
9481//
9482// See the AWS API reference guide for Amazon QuickSight's
9483// API operation UpdateDashboardPermissions for usage and error information.
9484//
9485// Returned Error Types:
9486//   * ThrottlingException
9487//   Access is throttled.
9488//
9489//   * InvalidParameterValueException
9490//   One or more parameters has a value that isn't valid.
9491//
9492//   * ResourceNotFoundException
9493//   One or more resources can't be found.
9494//
9495//   * UnsupportedUserEditionException
9496//   This error indicates that you are calling an operation on an Amazon QuickSight
9497//   subscription where the edition doesn't include support for that operation.
9498//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
9499//   Not every operation and capability is available in every edition.
9500//
9501//   * ConflictException
9502//   Updating or deleting a resource can cause an inconsistent state.
9503//
9504//   * InternalFailureException
9505//   An internal failure occurred.
9506//
9507// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPermissions
9508func (c *QuickSight) UpdateDashboardPermissions(input *UpdateDashboardPermissionsInput) (*UpdateDashboardPermissionsOutput, error) {
9509	req, out := c.UpdateDashboardPermissionsRequest(input)
9510	return out, req.Send()
9511}
9512
9513// UpdateDashboardPermissionsWithContext is the same as UpdateDashboardPermissions with the addition of
9514// the ability to pass a context and additional request options.
9515//
9516// See UpdateDashboardPermissions for details on how to use this API operation.
9517//
9518// The context must be non-nil and will be used for request cancellation. If
9519// the context is nil a panic will occur. In the future the SDK may create
9520// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9521// for more information on using Contexts.
9522func (c *QuickSight) UpdateDashboardPermissionsWithContext(ctx aws.Context, input *UpdateDashboardPermissionsInput, opts ...request.Option) (*UpdateDashboardPermissionsOutput, error) {
9523	req, out := c.UpdateDashboardPermissionsRequest(input)
9524	req.SetContext(ctx)
9525	req.ApplyOptions(opts...)
9526	return out, req.Send()
9527}
9528
9529const opUpdateDashboardPublishedVersion = "UpdateDashboardPublishedVersion"
9530
9531// UpdateDashboardPublishedVersionRequest generates a "aws/request.Request" representing the
9532// client's request for the UpdateDashboardPublishedVersion operation. The "output" return
9533// value will be populated with the request's response once the request completes
9534// successfully.
9535//
9536// Use "Send" method on the returned Request to send the API call to the service.
9537// the "output" return value is not valid until after Send returns without error.
9538//
9539// See UpdateDashboardPublishedVersion for more information on using the UpdateDashboardPublishedVersion
9540// API call, and error handling.
9541//
9542// This method is useful when you want to inject custom logic or configuration
9543// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9544//
9545//
9546//    // Example sending a request using the UpdateDashboardPublishedVersionRequest method.
9547//    req, resp := client.UpdateDashboardPublishedVersionRequest(params)
9548//
9549//    err := req.Send()
9550//    if err == nil { // resp is now filled
9551//        fmt.Println(resp)
9552//    }
9553//
9554// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPublishedVersion
9555func (c *QuickSight) UpdateDashboardPublishedVersionRequest(input *UpdateDashboardPublishedVersionInput) (req *request.Request, output *UpdateDashboardPublishedVersionOutput) {
9556	op := &request.Operation{
9557		Name:       opUpdateDashboardPublishedVersion,
9558		HTTPMethod: "PUT",
9559		HTTPPath:   "/accounts/{AwsAccountId}/dashboards/{DashboardId}/versions/{VersionNumber}",
9560	}
9561
9562	if input == nil {
9563		input = &UpdateDashboardPublishedVersionInput{}
9564	}
9565
9566	output = &UpdateDashboardPublishedVersionOutput{}
9567	req = c.newRequest(op, input, output)
9568	return
9569}
9570
9571// UpdateDashboardPublishedVersion API operation for Amazon QuickSight.
9572//
9573// Updates the published version of a dashboard.
9574//
9575// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9576// with awserr.Error's Code and Message methods to get detailed information about
9577// the error.
9578//
9579// See the AWS API reference guide for Amazon QuickSight's
9580// API operation UpdateDashboardPublishedVersion for usage and error information.
9581//
9582// Returned Error Types:
9583//   * InvalidParameterValueException
9584//   One or more parameters has a value that isn't valid.
9585//
9586//   * ThrottlingException
9587//   Access is throttled.
9588//
9589//   * ConflictException
9590//   Updating or deleting a resource can cause an inconsistent state.
9591//
9592//   * ResourceNotFoundException
9593//   One or more resources can't be found.
9594//
9595//   * UnsupportedUserEditionException
9596//   This error indicates that you are calling an operation on an Amazon QuickSight
9597//   subscription where the edition doesn't include support for that operation.
9598//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
9599//   Not every operation and capability is available in every edition.
9600//
9601//   * InternalFailureException
9602//   An internal failure occurred.
9603//
9604// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPublishedVersion
9605func (c *QuickSight) UpdateDashboardPublishedVersion(input *UpdateDashboardPublishedVersionInput) (*UpdateDashboardPublishedVersionOutput, error) {
9606	req, out := c.UpdateDashboardPublishedVersionRequest(input)
9607	return out, req.Send()
9608}
9609
9610// UpdateDashboardPublishedVersionWithContext is the same as UpdateDashboardPublishedVersion with the addition of
9611// the ability to pass a context and additional request options.
9612//
9613// See UpdateDashboardPublishedVersion for details on how to use this API operation.
9614//
9615// The context must be non-nil and will be used for request cancellation. If
9616// the context is nil a panic will occur. In the future the SDK may create
9617// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9618// for more information on using Contexts.
9619func (c *QuickSight) UpdateDashboardPublishedVersionWithContext(ctx aws.Context, input *UpdateDashboardPublishedVersionInput, opts ...request.Option) (*UpdateDashboardPublishedVersionOutput, error) {
9620	req, out := c.UpdateDashboardPublishedVersionRequest(input)
9621	req.SetContext(ctx)
9622	req.ApplyOptions(opts...)
9623	return out, req.Send()
9624}
9625
9626const opUpdateDataSet = "UpdateDataSet"
9627
9628// UpdateDataSetRequest generates a "aws/request.Request" representing the
9629// client's request for the UpdateDataSet operation. The "output" return
9630// value will be populated with the request's response once the request completes
9631// successfully.
9632//
9633// Use "Send" method on the returned Request to send the API call to the service.
9634// the "output" return value is not valid until after Send returns without error.
9635//
9636// See UpdateDataSet for more information on using the UpdateDataSet
9637// API call, and error handling.
9638//
9639// This method is useful when you want to inject custom logic or configuration
9640// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9641//
9642//
9643//    // Example sending a request using the UpdateDataSetRequest method.
9644//    req, resp := client.UpdateDataSetRequest(params)
9645//
9646//    err := req.Send()
9647//    if err == nil { // resp is now filled
9648//        fmt.Println(resp)
9649//    }
9650//
9651// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSet
9652func (c *QuickSight) UpdateDataSetRequest(input *UpdateDataSetInput) (req *request.Request, output *UpdateDataSetOutput) {
9653	op := &request.Operation{
9654		Name:       opUpdateDataSet,
9655		HTTPMethod: "PUT",
9656		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}",
9657	}
9658
9659	if input == nil {
9660		input = &UpdateDataSetInput{}
9661	}
9662
9663	output = &UpdateDataSetOutput{}
9664	req = c.newRequest(op, input, output)
9665	return
9666}
9667
9668// UpdateDataSet API operation for Amazon QuickSight.
9669//
9670// Updates a dataset.
9671//
9672// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9673// with awserr.Error's Code and Message methods to get detailed information about
9674// the error.
9675//
9676// See the AWS API reference guide for Amazon QuickSight's
9677// API operation UpdateDataSet for usage and error information.
9678//
9679// Returned Error Types:
9680//   * AccessDeniedException
9681//   You don't have access to this item. The provided credentials couldn't be
9682//   validated. You might not be authorized to carry out the request. Make sure
9683//   that your account is authorized to use the Amazon QuickSight service, that
9684//   your policies have the correct permissions, and that you are using the correct
9685//   access keys.
9686//
9687//   * ConflictException
9688//   Updating or deleting a resource can cause an inconsistent state.
9689//
9690//   * InvalidParameterValueException
9691//   One or more parameters has a value that isn't valid.
9692//
9693//   * LimitExceededException
9694//   A limit is exceeded.
9695//
9696//   * ThrottlingException
9697//   Access is throttled.
9698//
9699//   * ResourceNotFoundException
9700//   One or more resources can't be found.
9701//
9702//   * UnsupportedUserEditionException
9703//   This error indicates that you are calling an operation on an Amazon QuickSight
9704//   subscription where the edition doesn't include support for that operation.
9705//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
9706//   Not every operation and capability is available in every edition.
9707//
9708//   * InternalFailureException
9709//   An internal failure occurred.
9710//
9711// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSet
9712func (c *QuickSight) UpdateDataSet(input *UpdateDataSetInput) (*UpdateDataSetOutput, error) {
9713	req, out := c.UpdateDataSetRequest(input)
9714	return out, req.Send()
9715}
9716
9717// UpdateDataSetWithContext is the same as UpdateDataSet with the addition of
9718// the ability to pass a context and additional request options.
9719//
9720// See UpdateDataSet for details on how to use this API operation.
9721//
9722// The context must be non-nil and will be used for request cancellation. If
9723// the context is nil a panic will occur. In the future the SDK may create
9724// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9725// for more information on using Contexts.
9726func (c *QuickSight) UpdateDataSetWithContext(ctx aws.Context, input *UpdateDataSetInput, opts ...request.Option) (*UpdateDataSetOutput, error) {
9727	req, out := c.UpdateDataSetRequest(input)
9728	req.SetContext(ctx)
9729	req.ApplyOptions(opts...)
9730	return out, req.Send()
9731}
9732
9733const opUpdateDataSetPermissions = "UpdateDataSetPermissions"
9734
9735// UpdateDataSetPermissionsRequest generates a "aws/request.Request" representing the
9736// client's request for the UpdateDataSetPermissions operation. The "output" return
9737// value will be populated with the request's response once the request completes
9738// successfully.
9739//
9740// Use "Send" method on the returned Request to send the API call to the service.
9741// the "output" return value is not valid until after Send returns without error.
9742//
9743// See UpdateDataSetPermissions for more information on using the UpdateDataSetPermissions
9744// API call, and error handling.
9745//
9746// This method is useful when you want to inject custom logic or configuration
9747// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9748//
9749//
9750//    // Example sending a request using the UpdateDataSetPermissionsRequest method.
9751//    req, resp := client.UpdateDataSetPermissionsRequest(params)
9752//
9753//    err := req.Send()
9754//    if err == nil { // resp is now filled
9755//        fmt.Println(resp)
9756//    }
9757//
9758// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSetPermissions
9759func (c *QuickSight) UpdateDataSetPermissionsRequest(input *UpdateDataSetPermissionsInput) (req *request.Request, output *UpdateDataSetPermissionsOutput) {
9760	op := &request.Operation{
9761		Name:       opUpdateDataSetPermissions,
9762		HTTPMethod: "POST",
9763		HTTPPath:   "/accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions",
9764	}
9765
9766	if input == nil {
9767		input = &UpdateDataSetPermissionsInput{}
9768	}
9769
9770	output = &UpdateDataSetPermissionsOutput{}
9771	req = c.newRequest(op, input, output)
9772	return
9773}
9774
9775// UpdateDataSetPermissions API operation for Amazon QuickSight.
9776//
9777// Updates the permissions on a dataset.
9778//
9779// The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/data-set-id.
9780//
9781// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9782// with awserr.Error's Code and Message methods to get detailed information about
9783// the error.
9784//
9785// See the AWS API reference guide for Amazon QuickSight's
9786// API operation UpdateDataSetPermissions for usage and error information.
9787//
9788// Returned Error Types:
9789//   * AccessDeniedException
9790//   You don't have access to this item. The provided credentials couldn't be
9791//   validated. You might not be authorized to carry out the request. Make sure
9792//   that your account is authorized to use the Amazon QuickSight service, that
9793//   your policies have the correct permissions, and that you are using the correct
9794//   access keys.
9795//
9796//   * ConflictException
9797//   Updating or deleting a resource can cause an inconsistent state.
9798//
9799//   * InvalidParameterValueException
9800//   One or more parameters has a value that isn't valid.
9801//
9802//   * ResourceNotFoundException
9803//   One or more resources can't be found.
9804//
9805//   * ThrottlingException
9806//   Access is throttled.
9807//
9808//   * InternalFailureException
9809//   An internal failure occurred.
9810//
9811// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSetPermissions
9812func (c *QuickSight) UpdateDataSetPermissions(input *UpdateDataSetPermissionsInput) (*UpdateDataSetPermissionsOutput, error) {
9813	req, out := c.UpdateDataSetPermissionsRequest(input)
9814	return out, req.Send()
9815}
9816
9817// UpdateDataSetPermissionsWithContext is the same as UpdateDataSetPermissions with the addition of
9818// the ability to pass a context and additional request options.
9819//
9820// See UpdateDataSetPermissions for details on how to use this API operation.
9821//
9822// The context must be non-nil and will be used for request cancellation. If
9823// the context is nil a panic will occur. In the future the SDK may create
9824// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9825// for more information on using Contexts.
9826func (c *QuickSight) UpdateDataSetPermissionsWithContext(ctx aws.Context, input *UpdateDataSetPermissionsInput, opts ...request.Option) (*UpdateDataSetPermissionsOutput, error) {
9827	req, out := c.UpdateDataSetPermissionsRequest(input)
9828	req.SetContext(ctx)
9829	req.ApplyOptions(opts...)
9830	return out, req.Send()
9831}
9832
9833const opUpdateDataSource = "UpdateDataSource"
9834
9835// UpdateDataSourceRequest generates a "aws/request.Request" representing the
9836// client's request for the UpdateDataSource operation. The "output" return
9837// value will be populated with the request's response once the request completes
9838// successfully.
9839//
9840// Use "Send" method on the returned Request to send the API call to the service.
9841// the "output" return value is not valid until after Send returns without error.
9842//
9843// See UpdateDataSource for more information on using the UpdateDataSource
9844// API call, and error handling.
9845//
9846// This method is useful when you want to inject custom logic or configuration
9847// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9848//
9849//
9850//    // Example sending a request using the UpdateDataSourceRequest method.
9851//    req, resp := client.UpdateDataSourceRequest(params)
9852//
9853//    err := req.Send()
9854//    if err == nil { // resp is now filled
9855//        fmt.Println(resp)
9856//    }
9857//
9858// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSource
9859func (c *QuickSight) UpdateDataSourceRequest(input *UpdateDataSourceInput) (req *request.Request, output *UpdateDataSourceOutput) {
9860	op := &request.Operation{
9861		Name:       opUpdateDataSource,
9862		HTTPMethod: "PUT",
9863		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}",
9864	}
9865
9866	if input == nil {
9867		input = &UpdateDataSourceInput{}
9868	}
9869
9870	output = &UpdateDataSourceOutput{}
9871	req = c.newRequest(op, input, output)
9872	return
9873}
9874
9875// UpdateDataSource API operation for Amazon QuickSight.
9876//
9877// Updates a data source.
9878//
9879// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9880// with awserr.Error's Code and Message methods to get detailed information about
9881// the error.
9882//
9883// See the AWS API reference guide for Amazon QuickSight's
9884// API operation UpdateDataSource for usage and error information.
9885//
9886// Returned Error Types:
9887//   * AccessDeniedException
9888//   You don't have access to this item. The provided credentials couldn't be
9889//   validated. You might not be authorized to carry out the request. Make sure
9890//   that your account is authorized to use the Amazon QuickSight service, that
9891//   your policies have the correct permissions, and that you are using the correct
9892//   access keys.
9893//
9894//   * ConflictException
9895//   Updating or deleting a resource can cause an inconsistent state.
9896//
9897//   * InvalidParameterValueException
9898//   One or more parameters has a value that isn't valid.
9899//
9900//   * ThrottlingException
9901//   Access is throttled.
9902//
9903//   * ResourceNotFoundException
9904//   One or more resources can't be found.
9905//
9906//   * InternalFailureException
9907//   An internal failure occurred.
9908//
9909// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSource
9910func (c *QuickSight) UpdateDataSource(input *UpdateDataSourceInput) (*UpdateDataSourceOutput, error) {
9911	req, out := c.UpdateDataSourceRequest(input)
9912	return out, req.Send()
9913}
9914
9915// UpdateDataSourceWithContext is the same as UpdateDataSource with the addition of
9916// the ability to pass a context and additional request options.
9917//
9918// See UpdateDataSource for details on how to use this API operation.
9919//
9920// The context must be non-nil and will be used for request cancellation. If
9921// the context is nil a panic will occur. In the future the SDK may create
9922// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9923// for more information on using Contexts.
9924func (c *QuickSight) UpdateDataSourceWithContext(ctx aws.Context, input *UpdateDataSourceInput, opts ...request.Option) (*UpdateDataSourceOutput, error) {
9925	req, out := c.UpdateDataSourceRequest(input)
9926	req.SetContext(ctx)
9927	req.ApplyOptions(opts...)
9928	return out, req.Send()
9929}
9930
9931const opUpdateDataSourcePermissions = "UpdateDataSourcePermissions"
9932
9933// UpdateDataSourcePermissionsRequest generates a "aws/request.Request" representing the
9934// client's request for the UpdateDataSourcePermissions operation. The "output" return
9935// value will be populated with the request's response once the request completes
9936// successfully.
9937//
9938// Use "Send" method on the returned Request to send the API call to the service.
9939// the "output" return value is not valid until after Send returns without error.
9940//
9941// See UpdateDataSourcePermissions for more information on using the UpdateDataSourcePermissions
9942// API call, and error handling.
9943//
9944// This method is useful when you want to inject custom logic or configuration
9945// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9946//
9947//
9948//    // Example sending a request using the UpdateDataSourcePermissionsRequest method.
9949//    req, resp := client.UpdateDataSourcePermissionsRequest(params)
9950//
9951//    err := req.Send()
9952//    if err == nil { // resp is now filled
9953//        fmt.Println(resp)
9954//    }
9955//
9956// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSourcePermissions
9957func (c *QuickSight) UpdateDataSourcePermissionsRequest(input *UpdateDataSourcePermissionsInput) (req *request.Request, output *UpdateDataSourcePermissionsOutput) {
9958	op := &request.Operation{
9959		Name:       opUpdateDataSourcePermissions,
9960		HTTPMethod: "POST",
9961		HTTPPath:   "/accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions",
9962	}
9963
9964	if input == nil {
9965		input = &UpdateDataSourcePermissionsInput{}
9966	}
9967
9968	output = &UpdateDataSourcePermissionsOutput{}
9969	req = c.newRequest(op, input, output)
9970	return
9971}
9972
9973// UpdateDataSourcePermissions API operation for Amazon QuickSight.
9974//
9975// Updates the permissions to a data source.
9976//
9977// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9978// with awserr.Error's Code and Message methods to get detailed information about
9979// the error.
9980//
9981// See the AWS API reference guide for Amazon QuickSight's
9982// API operation UpdateDataSourcePermissions for usage and error information.
9983//
9984// Returned Error Types:
9985//   * AccessDeniedException
9986//   You don't have access to this item. The provided credentials couldn't be
9987//   validated. You might not be authorized to carry out the request. Make sure
9988//   that your account is authorized to use the Amazon QuickSight service, that
9989//   your policies have the correct permissions, and that you are using the correct
9990//   access keys.
9991//
9992//   * ConflictException
9993//   Updating or deleting a resource can cause an inconsistent state.
9994//
9995//   * InvalidParameterValueException
9996//   One or more parameters has a value that isn't valid.
9997//
9998//   * ResourceNotFoundException
9999//   One or more resources can't be found.
10000//
10001//   * ThrottlingException
10002//   Access is throttled.
10003//
10004//   * InternalFailureException
10005//   An internal failure occurred.
10006//
10007// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSourcePermissions
10008func (c *QuickSight) UpdateDataSourcePermissions(input *UpdateDataSourcePermissionsInput) (*UpdateDataSourcePermissionsOutput, error) {
10009	req, out := c.UpdateDataSourcePermissionsRequest(input)
10010	return out, req.Send()
10011}
10012
10013// UpdateDataSourcePermissionsWithContext is the same as UpdateDataSourcePermissions with the addition of
10014// the ability to pass a context and additional request options.
10015//
10016// See UpdateDataSourcePermissions for details on how to use this API operation.
10017//
10018// The context must be non-nil and will be used for request cancellation. If
10019// the context is nil a panic will occur. In the future the SDK may create
10020// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10021// for more information on using Contexts.
10022func (c *QuickSight) UpdateDataSourcePermissionsWithContext(ctx aws.Context, input *UpdateDataSourcePermissionsInput, opts ...request.Option) (*UpdateDataSourcePermissionsOutput, error) {
10023	req, out := c.UpdateDataSourcePermissionsRequest(input)
10024	req.SetContext(ctx)
10025	req.ApplyOptions(opts...)
10026	return out, req.Send()
10027}
10028
10029const opUpdateGroup = "UpdateGroup"
10030
10031// UpdateGroupRequest generates a "aws/request.Request" representing the
10032// client's request for the UpdateGroup operation. The "output" return
10033// value will be populated with the request's response once the request completes
10034// successfully.
10035//
10036// Use "Send" method on the returned Request to send the API call to the service.
10037// the "output" return value is not valid until after Send returns without error.
10038//
10039// See UpdateGroup for more information on using the UpdateGroup
10040// API call, and error handling.
10041//
10042// This method is useful when you want to inject custom logic or configuration
10043// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10044//
10045//
10046//    // Example sending a request using the UpdateGroupRequest method.
10047//    req, resp := client.UpdateGroupRequest(params)
10048//
10049//    err := req.Send()
10050//    if err == nil { // resp is now filled
10051//        fmt.Println(resp)
10052//    }
10053//
10054// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateGroup
10055func (c *QuickSight) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, output *UpdateGroupOutput) {
10056	op := &request.Operation{
10057		Name:       opUpdateGroup,
10058		HTTPMethod: "PUT",
10059		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}",
10060	}
10061
10062	if input == nil {
10063		input = &UpdateGroupInput{}
10064	}
10065
10066	output = &UpdateGroupOutput{}
10067	req = c.newRequest(op, input, output)
10068	return
10069}
10070
10071// UpdateGroup API operation for Amazon QuickSight.
10072//
10073// Changes a group description.
10074//
10075// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10076// with awserr.Error's Code and Message methods to get detailed information about
10077// the error.
10078//
10079// See the AWS API reference guide for Amazon QuickSight's
10080// API operation UpdateGroup for usage and error information.
10081//
10082// Returned Error Types:
10083//   * AccessDeniedException
10084//   You don't have access to this item. The provided credentials couldn't be
10085//   validated. You might not be authorized to carry out the request. Make sure
10086//   that your account is authorized to use the Amazon QuickSight service, that
10087//   your policies have the correct permissions, and that you are using the correct
10088//   access keys.
10089//
10090//   * InvalidParameterValueException
10091//   One or more parameters has a value that isn't valid.
10092//
10093//   * ResourceNotFoundException
10094//   One or more resources can't be found.
10095//
10096//   * ThrottlingException
10097//   Access is throttled.
10098//
10099//   * PreconditionNotMetException
10100//   One or more preconditions aren't met.
10101//
10102//   * InternalFailureException
10103//   An internal failure occurred.
10104//
10105//   * ResourceUnavailableException
10106//   This resource is currently unavailable.
10107//
10108// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateGroup
10109func (c *QuickSight) UpdateGroup(input *UpdateGroupInput) (*UpdateGroupOutput, error) {
10110	req, out := c.UpdateGroupRequest(input)
10111	return out, req.Send()
10112}
10113
10114// UpdateGroupWithContext is the same as UpdateGroup with the addition of
10115// the ability to pass a context and additional request options.
10116//
10117// See UpdateGroup for details on how to use this API operation.
10118//
10119// The context must be non-nil and will be used for request cancellation. If
10120// the context is nil a panic will occur. In the future the SDK may create
10121// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10122// for more information on using Contexts.
10123func (c *QuickSight) UpdateGroupWithContext(ctx aws.Context, input *UpdateGroupInput, opts ...request.Option) (*UpdateGroupOutput, error) {
10124	req, out := c.UpdateGroupRequest(input)
10125	req.SetContext(ctx)
10126	req.ApplyOptions(opts...)
10127	return out, req.Send()
10128}
10129
10130const opUpdateIAMPolicyAssignment = "UpdateIAMPolicyAssignment"
10131
10132// UpdateIAMPolicyAssignmentRequest generates a "aws/request.Request" representing the
10133// client's request for the UpdateIAMPolicyAssignment operation. The "output" return
10134// value will be populated with the request's response once the request completes
10135// successfully.
10136//
10137// Use "Send" method on the returned Request to send the API call to the service.
10138// the "output" return value is not valid until after Send returns without error.
10139//
10140// See UpdateIAMPolicyAssignment for more information on using the UpdateIAMPolicyAssignment
10141// API call, and error handling.
10142//
10143// This method is useful when you want to inject custom logic or configuration
10144// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10145//
10146//
10147//    // Example sending a request using the UpdateIAMPolicyAssignmentRequest method.
10148//    req, resp := client.UpdateIAMPolicyAssignmentRequest(params)
10149//
10150//    err := req.Send()
10151//    if err == nil { // resp is now filled
10152//        fmt.Println(resp)
10153//    }
10154//
10155// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateIAMPolicyAssignment
10156func (c *QuickSight) UpdateIAMPolicyAssignmentRequest(input *UpdateIAMPolicyAssignmentInput) (req *request.Request, output *UpdateIAMPolicyAssignmentOutput) {
10157	op := &request.Operation{
10158		Name:       opUpdateIAMPolicyAssignment,
10159		HTTPMethod: "PUT",
10160		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}",
10161	}
10162
10163	if input == nil {
10164		input = &UpdateIAMPolicyAssignmentInput{}
10165	}
10166
10167	output = &UpdateIAMPolicyAssignmentOutput{}
10168	req = c.newRequest(op, input, output)
10169	return
10170}
10171
10172// UpdateIAMPolicyAssignment API operation for Amazon QuickSight.
10173//
10174// Updates an existing IAM policy assignment. This operation updates only the
10175// optional parameter or parameters that are specified in the request. This
10176// overwrites all of the users included in Identities.
10177//
10178// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10179// with awserr.Error's Code and Message methods to get detailed information about
10180// the error.
10181//
10182// See the AWS API reference guide for Amazon QuickSight's
10183// API operation UpdateIAMPolicyAssignment for usage and error information.
10184//
10185// Returned Error Types:
10186//   * AccessDeniedException
10187//   You don't have access to this item. The provided credentials couldn't be
10188//   validated. You might not be authorized to carry out the request. Make sure
10189//   that your account is authorized to use the Amazon QuickSight service, that
10190//   your policies have the correct permissions, and that you are using the correct
10191//   access keys.
10192//
10193//   * InvalidParameterValueException
10194//   One or more parameters has a value that isn't valid.
10195//
10196//   * ResourceExistsException
10197//   The resource specified already exists.
10198//
10199//   * ResourceNotFoundException
10200//   One or more resources can't be found.
10201//
10202//   * ThrottlingException
10203//   Access is throttled.
10204//
10205//   * ConcurrentUpdatingException
10206//   A resource is already in a state that indicates an operation is happening
10207//   that must complete before a new update can be applied.
10208//
10209//   * InternalFailureException
10210//   An internal failure occurred.
10211//
10212// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateIAMPolicyAssignment
10213func (c *QuickSight) UpdateIAMPolicyAssignment(input *UpdateIAMPolicyAssignmentInput) (*UpdateIAMPolicyAssignmentOutput, error) {
10214	req, out := c.UpdateIAMPolicyAssignmentRequest(input)
10215	return out, req.Send()
10216}
10217
10218// UpdateIAMPolicyAssignmentWithContext is the same as UpdateIAMPolicyAssignment with the addition of
10219// the ability to pass a context and additional request options.
10220//
10221// See UpdateIAMPolicyAssignment for details on how to use this API operation.
10222//
10223// The context must be non-nil and will be used for request cancellation. If
10224// the context is nil a panic will occur. In the future the SDK may create
10225// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10226// for more information on using Contexts.
10227func (c *QuickSight) UpdateIAMPolicyAssignmentWithContext(ctx aws.Context, input *UpdateIAMPolicyAssignmentInput, opts ...request.Option) (*UpdateIAMPolicyAssignmentOutput, error) {
10228	req, out := c.UpdateIAMPolicyAssignmentRequest(input)
10229	req.SetContext(ctx)
10230	req.ApplyOptions(opts...)
10231	return out, req.Send()
10232}
10233
10234const opUpdateTemplate = "UpdateTemplate"
10235
10236// UpdateTemplateRequest generates a "aws/request.Request" representing the
10237// client's request for the UpdateTemplate operation. The "output" return
10238// value will be populated with the request's response once the request completes
10239// successfully.
10240//
10241// Use "Send" method on the returned Request to send the API call to the service.
10242// the "output" return value is not valid until after Send returns without error.
10243//
10244// See UpdateTemplate for more information on using the UpdateTemplate
10245// API call, and error handling.
10246//
10247// This method is useful when you want to inject custom logic or configuration
10248// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10249//
10250//
10251//    // Example sending a request using the UpdateTemplateRequest method.
10252//    req, resp := client.UpdateTemplateRequest(params)
10253//
10254//    err := req.Send()
10255//    if err == nil { // resp is now filled
10256//        fmt.Println(resp)
10257//    }
10258//
10259// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplate
10260func (c *QuickSight) UpdateTemplateRequest(input *UpdateTemplateInput) (req *request.Request, output *UpdateTemplateOutput) {
10261	op := &request.Operation{
10262		Name:       opUpdateTemplate,
10263		HTTPMethod: "PUT",
10264		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}",
10265	}
10266
10267	if input == nil {
10268		input = &UpdateTemplateInput{}
10269	}
10270
10271	output = &UpdateTemplateOutput{}
10272	req = c.newRequest(op, input, output)
10273	return
10274}
10275
10276// UpdateTemplate API operation for Amazon QuickSight.
10277//
10278// Updates a template from an existing Amazon QuickSight analysis or another
10279// template.
10280//
10281// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10282// with awserr.Error's Code and Message methods to get detailed information about
10283// the error.
10284//
10285// See the AWS API reference guide for Amazon QuickSight's
10286// API operation UpdateTemplate for usage and error information.
10287//
10288// Returned Error Types:
10289//   * InvalidParameterValueException
10290//   One or more parameters has a value that isn't valid.
10291//
10292//   * ResourceExistsException
10293//   The resource specified already exists.
10294//
10295//   * ResourceNotFoundException
10296//   One or more resources can't be found.
10297//
10298//   * ThrottlingException
10299//   Access is throttled.
10300//
10301//   * ConflictException
10302//   Updating or deleting a resource can cause an inconsistent state.
10303//
10304//   * LimitExceededException
10305//   A limit is exceeded.
10306//
10307//   * UnsupportedUserEditionException
10308//   This error indicates that you are calling an operation on an Amazon QuickSight
10309//   subscription where the edition doesn't include support for that operation.
10310//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
10311//   Not every operation and capability is available in every edition.
10312//
10313//   * InternalFailureException
10314//   An internal failure occurred.
10315//
10316// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplate
10317func (c *QuickSight) UpdateTemplate(input *UpdateTemplateInput) (*UpdateTemplateOutput, error) {
10318	req, out := c.UpdateTemplateRequest(input)
10319	return out, req.Send()
10320}
10321
10322// UpdateTemplateWithContext is the same as UpdateTemplate with the addition of
10323// the ability to pass a context and additional request options.
10324//
10325// See UpdateTemplate for details on how to use this API operation.
10326//
10327// The context must be non-nil and will be used for request cancellation. If
10328// the context is nil a panic will occur. In the future the SDK may create
10329// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10330// for more information on using Contexts.
10331func (c *QuickSight) UpdateTemplateWithContext(ctx aws.Context, input *UpdateTemplateInput, opts ...request.Option) (*UpdateTemplateOutput, error) {
10332	req, out := c.UpdateTemplateRequest(input)
10333	req.SetContext(ctx)
10334	req.ApplyOptions(opts...)
10335	return out, req.Send()
10336}
10337
10338const opUpdateTemplateAlias = "UpdateTemplateAlias"
10339
10340// UpdateTemplateAliasRequest generates a "aws/request.Request" representing the
10341// client's request for the UpdateTemplateAlias operation. The "output" return
10342// value will be populated with the request's response once the request completes
10343// successfully.
10344//
10345// Use "Send" method on the returned Request to send the API call to the service.
10346// the "output" return value is not valid until after Send returns without error.
10347//
10348// See UpdateTemplateAlias for more information on using the UpdateTemplateAlias
10349// API call, and error handling.
10350//
10351// This method is useful when you want to inject custom logic or configuration
10352// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10353//
10354//
10355//    // Example sending a request using the UpdateTemplateAliasRequest method.
10356//    req, resp := client.UpdateTemplateAliasRequest(params)
10357//
10358//    err := req.Send()
10359//    if err == nil { // resp is now filled
10360//        fmt.Println(resp)
10361//    }
10362//
10363// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplateAlias
10364func (c *QuickSight) UpdateTemplateAliasRequest(input *UpdateTemplateAliasInput) (req *request.Request, output *UpdateTemplateAliasOutput) {
10365	op := &request.Operation{
10366		Name:       opUpdateTemplateAlias,
10367		HTTPMethod: "PUT",
10368		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}",
10369	}
10370
10371	if input == nil {
10372		input = &UpdateTemplateAliasInput{}
10373	}
10374
10375	output = &UpdateTemplateAliasOutput{}
10376	req = c.newRequest(op, input, output)
10377	return
10378}
10379
10380// UpdateTemplateAlias API operation for Amazon QuickSight.
10381//
10382// Updates the template alias of a template.
10383//
10384// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10385// with awserr.Error's Code and Message methods to get detailed information about
10386// the error.
10387//
10388// See the AWS API reference guide for Amazon QuickSight's
10389// API operation UpdateTemplateAlias for usage and error information.
10390//
10391// Returned Error Types:
10392//   * ThrottlingException
10393//   Access is throttled.
10394//
10395//   * ResourceNotFoundException
10396//   One or more resources can't be found.
10397//
10398//   * ConflictException
10399//   Updating or deleting a resource can cause an inconsistent state.
10400//
10401//   * UnsupportedUserEditionException
10402//   This error indicates that you are calling an operation on an Amazon QuickSight
10403//   subscription where the edition doesn't include support for that operation.
10404//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
10405//   Not every operation and capability is available in every edition.
10406//
10407//   * ConflictException
10408//   Updating or deleting a resource can cause an inconsistent state.
10409//
10410//   * InternalFailureException
10411//   An internal failure occurred.
10412//
10413// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplateAlias
10414func (c *QuickSight) UpdateTemplateAlias(input *UpdateTemplateAliasInput) (*UpdateTemplateAliasOutput, error) {
10415	req, out := c.UpdateTemplateAliasRequest(input)
10416	return out, req.Send()
10417}
10418
10419// UpdateTemplateAliasWithContext is the same as UpdateTemplateAlias with the addition of
10420// the ability to pass a context and additional request options.
10421//
10422// See UpdateTemplateAlias for details on how to use this API operation.
10423//
10424// The context must be non-nil and will be used for request cancellation. If
10425// the context is nil a panic will occur. In the future the SDK may create
10426// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10427// for more information on using Contexts.
10428func (c *QuickSight) UpdateTemplateAliasWithContext(ctx aws.Context, input *UpdateTemplateAliasInput, opts ...request.Option) (*UpdateTemplateAliasOutput, error) {
10429	req, out := c.UpdateTemplateAliasRequest(input)
10430	req.SetContext(ctx)
10431	req.ApplyOptions(opts...)
10432	return out, req.Send()
10433}
10434
10435const opUpdateTemplatePermissions = "UpdateTemplatePermissions"
10436
10437// UpdateTemplatePermissionsRequest generates a "aws/request.Request" representing the
10438// client's request for the UpdateTemplatePermissions operation. The "output" return
10439// value will be populated with the request's response once the request completes
10440// successfully.
10441//
10442// Use "Send" method on the returned Request to send the API call to the service.
10443// the "output" return value is not valid until after Send returns without error.
10444//
10445// See UpdateTemplatePermissions for more information on using the UpdateTemplatePermissions
10446// API call, and error handling.
10447//
10448// This method is useful when you want to inject custom logic or configuration
10449// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10450//
10451//
10452//    // Example sending a request using the UpdateTemplatePermissionsRequest method.
10453//    req, resp := client.UpdateTemplatePermissionsRequest(params)
10454//
10455//    err := req.Send()
10456//    if err == nil { // resp is now filled
10457//        fmt.Println(resp)
10458//    }
10459//
10460// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplatePermissions
10461func (c *QuickSight) UpdateTemplatePermissionsRequest(input *UpdateTemplatePermissionsInput) (req *request.Request, output *UpdateTemplatePermissionsOutput) {
10462	op := &request.Operation{
10463		Name:       opUpdateTemplatePermissions,
10464		HTTPMethod: "PUT",
10465		HTTPPath:   "/accounts/{AwsAccountId}/templates/{TemplateId}/permissions",
10466	}
10467
10468	if input == nil {
10469		input = &UpdateTemplatePermissionsInput{}
10470	}
10471
10472	output = &UpdateTemplatePermissionsOutput{}
10473	req = c.newRequest(op, input, output)
10474	return
10475}
10476
10477// UpdateTemplatePermissions API operation for Amazon QuickSight.
10478//
10479// Updates the resource permissions for a template.
10480//
10481// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10482// with awserr.Error's Code and Message methods to get detailed information about
10483// the error.
10484//
10485// See the AWS API reference guide for Amazon QuickSight's
10486// API operation UpdateTemplatePermissions for usage and error information.
10487//
10488// Returned Error Types:
10489//   * ThrottlingException
10490//   Access is throttled.
10491//
10492//   * InvalidParameterValueException
10493//   One or more parameters has a value that isn't valid.
10494//
10495//   * ConflictException
10496//   Updating or deleting a resource can cause an inconsistent state.
10497//
10498//   * ResourceNotFoundException
10499//   One or more resources can't be found.
10500//
10501//   * UnsupportedUserEditionException
10502//   This error indicates that you are calling an operation on an Amazon QuickSight
10503//   subscription where the edition doesn't include support for that operation.
10504//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
10505//   Not every operation and capability is available in every edition.
10506//
10507//   * InternalFailureException
10508//   An internal failure occurred.
10509//
10510// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplatePermissions
10511func (c *QuickSight) UpdateTemplatePermissions(input *UpdateTemplatePermissionsInput) (*UpdateTemplatePermissionsOutput, error) {
10512	req, out := c.UpdateTemplatePermissionsRequest(input)
10513	return out, req.Send()
10514}
10515
10516// UpdateTemplatePermissionsWithContext is the same as UpdateTemplatePermissions with the addition of
10517// the ability to pass a context and additional request options.
10518//
10519// See UpdateTemplatePermissions for details on how to use this API operation.
10520//
10521// The context must be non-nil and will be used for request cancellation. If
10522// the context is nil a panic will occur. In the future the SDK may create
10523// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10524// for more information on using Contexts.
10525func (c *QuickSight) UpdateTemplatePermissionsWithContext(ctx aws.Context, input *UpdateTemplatePermissionsInput, opts ...request.Option) (*UpdateTemplatePermissionsOutput, error) {
10526	req, out := c.UpdateTemplatePermissionsRequest(input)
10527	req.SetContext(ctx)
10528	req.ApplyOptions(opts...)
10529	return out, req.Send()
10530}
10531
10532const opUpdateTheme = "UpdateTheme"
10533
10534// UpdateThemeRequest generates a "aws/request.Request" representing the
10535// client's request for the UpdateTheme operation. The "output" return
10536// value will be populated with the request's response once the request completes
10537// successfully.
10538//
10539// Use "Send" method on the returned Request to send the API call to the service.
10540// the "output" return value is not valid until after Send returns without error.
10541//
10542// See UpdateTheme for more information on using the UpdateTheme
10543// API call, and error handling.
10544//
10545// This method is useful when you want to inject custom logic or configuration
10546// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10547//
10548//
10549//    // Example sending a request using the UpdateThemeRequest method.
10550//    req, resp := client.UpdateThemeRequest(params)
10551//
10552//    err := req.Send()
10553//    if err == nil { // resp is now filled
10554//        fmt.Println(resp)
10555//    }
10556//
10557// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTheme
10558func (c *QuickSight) UpdateThemeRequest(input *UpdateThemeInput) (req *request.Request, output *UpdateThemeOutput) {
10559	op := &request.Operation{
10560		Name:       opUpdateTheme,
10561		HTTPMethod: "PUT",
10562		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}",
10563	}
10564
10565	if input == nil {
10566		input = &UpdateThemeInput{}
10567	}
10568
10569	output = &UpdateThemeOutput{}
10570	req = c.newRequest(op, input, output)
10571	return
10572}
10573
10574// UpdateTheme API operation for Amazon QuickSight.
10575//
10576// Updates a theme.
10577//
10578// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10579// with awserr.Error's Code and Message methods to get detailed information about
10580// the error.
10581//
10582// See the AWS API reference guide for Amazon QuickSight's
10583// API operation UpdateTheme for usage and error information.
10584//
10585// Returned Error Types:
10586//   * AccessDeniedException
10587//   You don't have access to this item. The provided credentials couldn't be
10588//   validated. You might not be authorized to carry out the request. Make sure
10589//   that your account is authorized to use the Amazon QuickSight service, that
10590//   your policies have the correct permissions, and that you are using the correct
10591//   access keys.
10592//
10593//   * InvalidParameterValueException
10594//   One or more parameters has a value that isn't valid.
10595//
10596//   * LimitExceededException
10597//   A limit is exceeded.
10598//
10599//   * ResourceExistsException
10600//   The resource specified already exists.
10601//
10602//   * ResourceNotFoundException
10603//   One or more resources can't be found.
10604//
10605//   * ThrottlingException
10606//   Access is throttled.
10607//
10608//   * UnsupportedUserEditionException
10609//   This error indicates that you are calling an operation on an Amazon QuickSight
10610//   subscription where the edition doesn't include support for that operation.
10611//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
10612//   Not every operation and capability is available in every edition.
10613//
10614//   * InternalFailureException
10615//   An internal failure occurred.
10616//
10617// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTheme
10618func (c *QuickSight) UpdateTheme(input *UpdateThemeInput) (*UpdateThemeOutput, error) {
10619	req, out := c.UpdateThemeRequest(input)
10620	return out, req.Send()
10621}
10622
10623// UpdateThemeWithContext is the same as UpdateTheme with the addition of
10624// the ability to pass a context and additional request options.
10625//
10626// See UpdateTheme for details on how to use this API operation.
10627//
10628// The context must be non-nil and will be used for request cancellation. If
10629// the context is nil a panic will occur. In the future the SDK may create
10630// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10631// for more information on using Contexts.
10632func (c *QuickSight) UpdateThemeWithContext(ctx aws.Context, input *UpdateThemeInput, opts ...request.Option) (*UpdateThemeOutput, error) {
10633	req, out := c.UpdateThemeRequest(input)
10634	req.SetContext(ctx)
10635	req.ApplyOptions(opts...)
10636	return out, req.Send()
10637}
10638
10639const opUpdateThemeAlias = "UpdateThemeAlias"
10640
10641// UpdateThemeAliasRequest generates a "aws/request.Request" representing the
10642// client's request for the UpdateThemeAlias operation. The "output" return
10643// value will be populated with the request's response once the request completes
10644// successfully.
10645//
10646// Use "Send" method on the returned Request to send the API call to the service.
10647// the "output" return value is not valid until after Send returns without error.
10648//
10649// See UpdateThemeAlias for more information on using the UpdateThemeAlias
10650// API call, and error handling.
10651//
10652// This method is useful when you want to inject custom logic or configuration
10653// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10654//
10655//
10656//    // Example sending a request using the UpdateThemeAliasRequest method.
10657//    req, resp := client.UpdateThemeAliasRequest(params)
10658//
10659//    err := req.Send()
10660//    if err == nil { // resp is now filled
10661//        fmt.Println(resp)
10662//    }
10663//
10664// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemeAlias
10665func (c *QuickSight) UpdateThemeAliasRequest(input *UpdateThemeAliasInput) (req *request.Request, output *UpdateThemeAliasOutput) {
10666	op := &request.Operation{
10667		Name:       opUpdateThemeAlias,
10668		HTTPMethod: "PUT",
10669		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}",
10670	}
10671
10672	if input == nil {
10673		input = &UpdateThemeAliasInput{}
10674	}
10675
10676	output = &UpdateThemeAliasOutput{}
10677	req = c.newRequest(op, input, output)
10678	return
10679}
10680
10681// UpdateThemeAlias API operation for Amazon QuickSight.
10682//
10683// Updates an alias of a theme.
10684//
10685// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10686// with awserr.Error's Code and Message methods to get detailed information about
10687// the error.
10688//
10689// See the AWS API reference guide for Amazon QuickSight's
10690// API operation UpdateThemeAlias for usage and error information.
10691//
10692// Returned Error Types:
10693//   * ConflictException
10694//   Updating or deleting a resource can cause an inconsistent state.
10695//
10696//   * InvalidParameterValueException
10697//   One or more parameters has a value that isn't valid.
10698//
10699//   * ResourceExistsException
10700//   The resource specified already exists.
10701//
10702//   * ResourceNotFoundException
10703//   One or more resources can't be found.
10704//
10705//   * ThrottlingException
10706//   Access is throttled.
10707//
10708//   * UnsupportedUserEditionException
10709//   This error indicates that you are calling an operation on an Amazon QuickSight
10710//   subscription where the edition doesn't include support for that operation.
10711//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
10712//   Not every operation and capability is available in every edition.
10713//
10714//   * InternalFailureException
10715//   An internal failure occurred.
10716//
10717// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemeAlias
10718func (c *QuickSight) UpdateThemeAlias(input *UpdateThemeAliasInput) (*UpdateThemeAliasOutput, error) {
10719	req, out := c.UpdateThemeAliasRequest(input)
10720	return out, req.Send()
10721}
10722
10723// UpdateThemeAliasWithContext is the same as UpdateThemeAlias with the addition of
10724// the ability to pass a context and additional request options.
10725//
10726// See UpdateThemeAlias for details on how to use this API operation.
10727//
10728// The context must be non-nil and will be used for request cancellation. If
10729// the context is nil a panic will occur. In the future the SDK may create
10730// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10731// for more information on using Contexts.
10732func (c *QuickSight) UpdateThemeAliasWithContext(ctx aws.Context, input *UpdateThemeAliasInput, opts ...request.Option) (*UpdateThemeAliasOutput, error) {
10733	req, out := c.UpdateThemeAliasRequest(input)
10734	req.SetContext(ctx)
10735	req.ApplyOptions(opts...)
10736	return out, req.Send()
10737}
10738
10739const opUpdateThemePermissions = "UpdateThemePermissions"
10740
10741// UpdateThemePermissionsRequest generates a "aws/request.Request" representing the
10742// client's request for the UpdateThemePermissions operation. The "output" return
10743// value will be populated with the request's response once the request completes
10744// successfully.
10745//
10746// Use "Send" method on the returned Request to send the API call to the service.
10747// the "output" return value is not valid until after Send returns without error.
10748//
10749// See UpdateThemePermissions for more information on using the UpdateThemePermissions
10750// API call, and error handling.
10751//
10752// This method is useful when you want to inject custom logic or configuration
10753// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10754//
10755//
10756//    // Example sending a request using the UpdateThemePermissionsRequest method.
10757//    req, resp := client.UpdateThemePermissionsRequest(params)
10758//
10759//    err := req.Send()
10760//    if err == nil { // resp is now filled
10761//        fmt.Println(resp)
10762//    }
10763//
10764// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemePermissions
10765func (c *QuickSight) UpdateThemePermissionsRequest(input *UpdateThemePermissionsInput) (req *request.Request, output *UpdateThemePermissionsOutput) {
10766	op := &request.Operation{
10767		Name:       opUpdateThemePermissions,
10768		HTTPMethod: "PUT",
10769		HTTPPath:   "/accounts/{AwsAccountId}/themes/{ThemeId}/permissions",
10770	}
10771
10772	if input == nil {
10773		input = &UpdateThemePermissionsInput{}
10774	}
10775
10776	output = &UpdateThemePermissionsOutput{}
10777	req = c.newRequest(op, input, output)
10778	return
10779}
10780
10781// UpdateThemePermissions API operation for Amazon QuickSight.
10782//
10783// Updates the resource permissions for a theme. Permissions apply to the action
10784// to grant or revoke permissions on, for example "quicksight:DescribeTheme".
10785//
10786// Theme permissions apply in groupings. Valid groupings include the following
10787// for the three levels of permissions, which are user, owner, or no permissions:
10788//
10789//    * User "quicksight:DescribeTheme" "quicksight:DescribeThemeAlias" "quicksight:ListThemeAliases"
10790//    "quicksight:ListThemeVersions"
10791//
10792//    * Owner "quicksight:DescribeTheme" "quicksight:DescribeThemeAlias" "quicksight:ListThemeAliases"
10793//    "quicksight:ListThemeVersions" "quicksight:DeleteTheme" "quicksight:UpdateTheme"
10794//    "quicksight:CreateThemeAlias" "quicksight:DeleteThemeAlias" "quicksight:UpdateThemeAlias"
10795//    "quicksight:UpdateThemePermissions" "quicksight:DescribeThemePermissions"
10796//
10797//    * To specify no permissions, omit the permissions list.
10798//
10799// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10800// with awserr.Error's Code and Message methods to get detailed information about
10801// the error.
10802//
10803// See the AWS API reference guide for Amazon QuickSight's
10804// API operation UpdateThemePermissions for usage and error information.
10805//
10806// Returned Error Types:
10807//   * AccessDeniedException
10808//   You don't have access to this item. The provided credentials couldn't be
10809//   validated. You might not be authorized to carry out the request. Make sure
10810//   that your account is authorized to use the Amazon QuickSight service, that
10811//   your policies have the correct permissions, and that you are using the correct
10812//   access keys.
10813//
10814//   * InvalidParameterValueException
10815//   One or more parameters has a value that isn't valid.
10816//
10817//   * ResourceNotFoundException
10818//   One or more resources can't be found.
10819//
10820//   * ThrottlingException
10821//   Access is throttled.
10822//
10823//   * UnsupportedUserEditionException
10824//   This error indicates that you are calling an operation on an Amazon QuickSight
10825//   subscription where the edition doesn't include support for that operation.
10826//   Amazon QuickSight currently has Standard Edition and Enterprise Edition.
10827//   Not every operation and capability is available in every edition.
10828//
10829//   * InternalFailureException
10830//   An internal failure occurred.
10831//
10832// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemePermissions
10833func (c *QuickSight) UpdateThemePermissions(input *UpdateThemePermissionsInput) (*UpdateThemePermissionsOutput, error) {
10834	req, out := c.UpdateThemePermissionsRequest(input)
10835	return out, req.Send()
10836}
10837
10838// UpdateThemePermissionsWithContext is the same as UpdateThemePermissions with the addition of
10839// the ability to pass a context and additional request options.
10840//
10841// See UpdateThemePermissions for details on how to use this API operation.
10842//
10843// The context must be non-nil and will be used for request cancellation. If
10844// the context is nil a panic will occur. In the future the SDK may create
10845// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10846// for more information on using Contexts.
10847func (c *QuickSight) UpdateThemePermissionsWithContext(ctx aws.Context, input *UpdateThemePermissionsInput, opts ...request.Option) (*UpdateThemePermissionsOutput, error) {
10848	req, out := c.UpdateThemePermissionsRequest(input)
10849	req.SetContext(ctx)
10850	req.ApplyOptions(opts...)
10851	return out, req.Send()
10852}
10853
10854const opUpdateUser = "UpdateUser"
10855
10856// UpdateUserRequest generates a "aws/request.Request" representing the
10857// client's request for the UpdateUser operation. The "output" return
10858// value will be populated with the request's response once the request completes
10859// successfully.
10860//
10861// Use "Send" method on the returned Request to send the API call to the service.
10862// the "output" return value is not valid until after Send returns without error.
10863//
10864// See UpdateUser for more information on using the UpdateUser
10865// API call, and error handling.
10866//
10867// This method is useful when you want to inject custom logic or configuration
10868// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10869//
10870//
10871//    // Example sending a request using the UpdateUserRequest method.
10872//    req, resp := client.UpdateUserRequest(params)
10873//
10874//    err := req.Send()
10875//    if err == nil { // resp is now filled
10876//        fmt.Println(resp)
10877//    }
10878//
10879// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateUser
10880func (c *QuickSight) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, output *UpdateUserOutput) {
10881	op := &request.Operation{
10882		Name:       opUpdateUser,
10883		HTTPMethod: "PUT",
10884		HTTPPath:   "/accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}",
10885	}
10886
10887	if input == nil {
10888		input = &UpdateUserInput{}
10889	}
10890
10891	output = &UpdateUserOutput{}
10892	req = c.newRequest(op, input, output)
10893	return
10894}
10895
10896// UpdateUser API operation for Amazon QuickSight.
10897//
10898// Updates an Amazon QuickSight user.
10899//
10900// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10901// with awserr.Error's Code and Message methods to get detailed information about
10902// the error.
10903//
10904// See the AWS API reference guide for Amazon QuickSight's
10905// API operation UpdateUser for usage and error information.
10906//
10907// Returned Error Types:
10908//   * AccessDeniedException
10909//   You don't have access to this item. The provided credentials couldn't be
10910//   validated. You might not be authorized to carry out the request. Make sure
10911//   that your account is authorized to use the Amazon QuickSight service, that
10912//   your policies have the correct permissions, and that you are using the correct
10913//   access keys.
10914//
10915//   * InvalidParameterValueException
10916//   One or more parameters has a value that isn't valid.
10917//
10918//   * ResourceNotFoundException
10919//   One or more resources can't be found.
10920//
10921//   * ThrottlingException
10922//   Access is throttled.
10923//
10924//   * PreconditionNotMetException
10925//   One or more preconditions aren't met.
10926//
10927//   * InternalFailureException
10928//   An internal failure occurred.
10929//
10930//   * ResourceUnavailableException
10931//   This resource is currently unavailable.
10932//
10933// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateUser
10934func (c *QuickSight) UpdateUser(input *UpdateUserInput) (*UpdateUserOutput, error) {
10935	req, out := c.UpdateUserRequest(input)
10936	return out, req.Send()
10937}
10938
10939// UpdateUserWithContext is the same as UpdateUser with the addition of
10940// the ability to pass a context and additional request options.
10941//
10942// See UpdateUser for details on how to use this API operation.
10943//
10944// The context must be non-nil and will be used for request cancellation. If
10945// the context is nil a panic will occur. In the future the SDK may create
10946// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10947// for more information on using Contexts.
10948func (c *QuickSight) UpdateUserWithContext(ctx aws.Context, input *UpdateUserInput, opts ...request.Option) (*UpdateUserOutput, error) {
10949	req, out := c.UpdateUserRequest(input)
10950	req.SetContext(ctx)
10951	req.ApplyOptions(opts...)
10952	return out, req.Send()
10953}
10954
10955// You don't have access to this item. The provided credentials couldn't be
10956// validated. You might not be authorized to carry out the request. Make sure
10957// that your account is authorized to use the Amazon QuickSight service, that
10958// your policies have the correct permissions, and that you are using the correct
10959// access keys.
10960type AccessDeniedException struct {
10961	_            struct{}                  `type:"structure"`
10962	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
10963
10964	Message_ *string `locationName:"Message" type:"string"`
10965
10966	// The AWS request ID for this request.
10967	RequestId *string `type:"string"`
10968}
10969
10970// String returns the string representation
10971func (s AccessDeniedException) String() string {
10972	return awsutil.Prettify(s)
10973}
10974
10975// GoString returns the string representation
10976func (s AccessDeniedException) GoString() string {
10977	return s.String()
10978}
10979
10980func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
10981	return &AccessDeniedException{
10982		RespMetadata: v,
10983	}
10984}
10985
10986// Code returns the exception type name.
10987func (s *AccessDeniedException) Code() string {
10988	return "AccessDeniedException"
10989}
10990
10991// Message returns the exception's message.
10992func (s *AccessDeniedException) Message() string {
10993	if s.Message_ != nil {
10994		return *s.Message_
10995	}
10996	return ""
10997}
10998
10999// OrigErr always returns nil, satisfies awserr.Error interface.
11000func (s *AccessDeniedException) OrigErr() error {
11001	return nil
11002}
11003
11004func (s *AccessDeniedException) Error() string {
11005	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
11006}
11007
11008// Status code returns the HTTP status code for the request's response error.
11009func (s *AccessDeniedException) StatusCode() int {
11010	return s.RespMetadata.StatusCode
11011}
11012
11013// RequestID returns the service's response RequestID for request.
11014func (s *AccessDeniedException) RequestID() string {
11015	return s.RespMetadata.RequestID
11016}
11017
11018// The Amazon QuickSight customizations associated with your AWS account or
11019// a QuickSight namespace in a specific AWS Region.
11020type AccountCustomization struct {
11021	_ struct{} `type:"structure"`
11022
11023	// The default theme for this QuickSight subscription.
11024	DefaultTheme *string `type:"string"`
11025}
11026
11027// String returns the string representation
11028func (s AccountCustomization) String() string {
11029	return awsutil.Prettify(s)
11030}
11031
11032// GoString returns the string representation
11033func (s AccountCustomization) GoString() string {
11034	return s.String()
11035}
11036
11037// SetDefaultTheme sets the DefaultTheme field's value.
11038func (s *AccountCustomization) SetDefaultTheme(v string) *AccountCustomization {
11039	s.DefaultTheme = &v
11040	return s
11041}
11042
11043// The QuickSight settings associated with your AWS account.
11044type AccountSettings struct {
11045	_ struct{} `type:"structure"`
11046
11047	// The "account name" you provided for the QuickSight subscription in your AWS
11048	// account. You create this name when you sign up for QuickSight. It is unique
11049	// in all of AWS and it appears only in the console when users sign in.
11050	AccountName *string `type:"string"`
11051
11052	// The default QuickSight namespace for your AWS account.
11053	DefaultNamespace *string `type:"string"`
11054
11055	// The edition of QuickSight that you're currently subscribed to: Enterprise
11056	// edition or Standard edition.
11057	Edition *string `type:"string" enum:"Edition"`
11058
11059	// The main notification email for your QuickSight subscription.
11060	NotificationEmail *string `type:"string"`
11061}
11062
11063// String returns the string representation
11064func (s AccountSettings) String() string {
11065	return awsutil.Prettify(s)
11066}
11067
11068// GoString returns the string representation
11069func (s AccountSettings) GoString() string {
11070	return s.String()
11071}
11072
11073// SetAccountName sets the AccountName field's value.
11074func (s *AccountSettings) SetAccountName(v string) *AccountSettings {
11075	s.AccountName = &v
11076	return s
11077}
11078
11079// SetDefaultNamespace sets the DefaultNamespace field's value.
11080func (s *AccountSettings) SetDefaultNamespace(v string) *AccountSettings {
11081	s.DefaultNamespace = &v
11082	return s
11083}
11084
11085// SetEdition sets the Edition field's value.
11086func (s *AccountSettings) SetEdition(v string) *AccountSettings {
11087	s.Edition = &v
11088	return s
11089}
11090
11091// SetNotificationEmail sets the NotificationEmail field's value.
11092func (s *AccountSettings) SetNotificationEmail(v string) *AccountSettings {
11093	s.NotificationEmail = &v
11094	return s
11095}
11096
11097// The active AWS Identity and Access Management (IAM) policy assignment.
11098type ActiveIAMPolicyAssignment struct {
11099	_ struct{} `type:"structure"`
11100
11101	// A name for the IAM policy assignment.
11102	AssignmentName *string `min:"1" type:"string"`
11103
11104	// The Amazon Resource Name (ARN) of the resource.
11105	PolicyArn *string `type:"string"`
11106}
11107
11108// String returns the string representation
11109func (s ActiveIAMPolicyAssignment) String() string {
11110	return awsutil.Prettify(s)
11111}
11112
11113// GoString returns the string representation
11114func (s ActiveIAMPolicyAssignment) GoString() string {
11115	return s.String()
11116}
11117
11118// SetAssignmentName sets the AssignmentName field's value.
11119func (s *ActiveIAMPolicyAssignment) SetAssignmentName(v string) *ActiveIAMPolicyAssignment {
11120	s.AssignmentName = &v
11121	return s
11122}
11123
11124// SetPolicyArn sets the PolicyArn field's value.
11125func (s *ActiveIAMPolicyAssignment) SetPolicyArn(v string) *ActiveIAMPolicyAssignment {
11126	s.PolicyArn = &v
11127	return s
11128}
11129
11130// Ad hoc (one-time) filtering option.
11131type AdHocFilteringOption struct {
11132	_ struct{} `type:"structure"`
11133
11134	// Availability status.
11135	AvailabilityStatus *string `type:"string" enum:"DashboardBehavior"`
11136}
11137
11138// String returns the string representation
11139func (s AdHocFilteringOption) String() string {
11140	return awsutil.Prettify(s)
11141}
11142
11143// GoString returns the string representation
11144func (s AdHocFilteringOption) GoString() string {
11145	return s.String()
11146}
11147
11148// SetAvailabilityStatus sets the AvailabilityStatus field's value.
11149func (s *AdHocFilteringOption) SetAvailabilityStatus(v string) *AdHocFilteringOption {
11150	s.AvailabilityStatus = &v
11151	return s
11152}
11153
11154// Amazon Elasticsearch Service parameters.
11155type AmazonElasticsearchParameters struct {
11156	_ struct{} `type:"structure"`
11157
11158	// The Amazon Elasticsearch Service domain.
11159	//
11160	// Domain is a required field
11161	Domain *string `min:"1" type:"string" required:"true"`
11162}
11163
11164// String returns the string representation
11165func (s AmazonElasticsearchParameters) String() string {
11166	return awsutil.Prettify(s)
11167}
11168
11169// GoString returns the string representation
11170func (s AmazonElasticsearchParameters) GoString() string {
11171	return s.String()
11172}
11173
11174// Validate inspects the fields of the type to determine if they are valid.
11175func (s *AmazonElasticsearchParameters) Validate() error {
11176	invalidParams := request.ErrInvalidParams{Context: "AmazonElasticsearchParameters"}
11177	if s.Domain == nil {
11178		invalidParams.Add(request.NewErrParamRequired("Domain"))
11179	}
11180	if s.Domain != nil && len(*s.Domain) < 1 {
11181		invalidParams.Add(request.NewErrParamMinLen("Domain", 1))
11182	}
11183
11184	if invalidParams.Len() > 0 {
11185		return invalidParams
11186	}
11187	return nil
11188}
11189
11190// SetDomain sets the Domain field's value.
11191func (s *AmazonElasticsearchParameters) SetDomain(v string) *AmazonElasticsearchParameters {
11192	s.Domain = &v
11193	return s
11194}
11195
11196// Metadata structure for an analysis in Amazon QuickSight
11197type Analysis struct {
11198	_ struct{} `type:"structure"`
11199
11200	// The ID of the analysis.
11201	AnalysisId *string `min:"1" type:"string"`
11202
11203	// The Amazon Resource Name (ARN) of the analysis.
11204	Arn *string `type:"string"`
11205
11206	// The time that the analysis was created.
11207	CreatedTime *time.Time `type:"timestamp"`
11208
11209	// The ARNs of the datasets of the analysis.
11210	DataSetArns []*string `type:"list"`
11211
11212	// Errors associated with the analysis.
11213	Errors []*AnalysisError `min:"1" type:"list"`
11214
11215	// The time that the analysis was last updated.
11216	LastUpdatedTime *time.Time `type:"timestamp"`
11217
11218	// The descriptive name of the analysis.
11219	Name *string `min:"1" type:"string"`
11220
11221	// A list of the associated sheets with the unique identifier and name of each
11222	// sheet.
11223	Sheets []*Sheet `type:"list"`
11224
11225	// Status associated with the analysis.
11226	Status *string `type:"string" enum:"ResourceStatus"`
11227
11228	// The ARN of the theme of the analysis.
11229	ThemeArn *string `type:"string"`
11230}
11231
11232// String returns the string representation
11233func (s Analysis) String() string {
11234	return awsutil.Prettify(s)
11235}
11236
11237// GoString returns the string representation
11238func (s Analysis) GoString() string {
11239	return s.String()
11240}
11241
11242// SetAnalysisId sets the AnalysisId field's value.
11243func (s *Analysis) SetAnalysisId(v string) *Analysis {
11244	s.AnalysisId = &v
11245	return s
11246}
11247
11248// SetArn sets the Arn field's value.
11249func (s *Analysis) SetArn(v string) *Analysis {
11250	s.Arn = &v
11251	return s
11252}
11253
11254// SetCreatedTime sets the CreatedTime field's value.
11255func (s *Analysis) SetCreatedTime(v time.Time) *Analysis {
11256	s.CreatedTime = &v
11257	return s
11258}
11259
11260// SetDataSetArns sets the DataSetArns field's value.
11261func (s *Analysis) SetDataSetArns(v []*string) *Analysis {
11262	s.DataSetArns = v
11263	return s
11264}
11265
11266// SetErrors sets the Errors field's value.
11267func (s *Analysis) SetErrors(v []*AnalysisError) *Analysis {
11268	s.Errors = v
11269	return s
11270}
11271
11272// SetLastUpdatedTime sets the LastUpdatedTime field's value.
11273func (s *Analysis) SetLastUpdatedTime(v time.Time) *Analysis {
11274	s.LastUpdatedTime = &v
11275	return s
11276}
11277
11278// SetName sets the Name field's value.
11279func (s *Analysis) SetName(v string) *Analysis {
11280	s.Name = &v
11281	return s
11282}
11283
11284// SetSheets sets the Sheets field's value.
11285func (s *Analysis) SetSheets(v []*Sheet) *Analysis {
11286	s.Sheets = v
11287	return s
11288}
11289
11290// SetStatus sets the Status field's value.
11291func (s *Analysis) SetStatus(v string) *Analysis {
11292	s.Status = &v
11293	return s
11294}
11295
11296// SetThemeArn sets the ThemeArn field's value.
11297func (s *Analysis) SetThemeArn(v string) *Analysis {
11298	s.ThemeArn = &v
11299	return s
11300}
11301
11302// A metadata error structure for an analysis.
11303type AnalysisError struct {
11304	_ struct{} `type:"structure"`
11305
11306	// The message associated with the analysis error.
11307	Message *string `type:"string"`
11308
11309	// The type of the analysis error.
11310	Type *string `type:"string" enum:"AnalysisErrorType"`
11311}
11312
11313// String returns the string representation
11314func (s AnalysisError) String() string {
11315	return awsutil.Prettify(s)
11316}
11317
11318// GoString returns the string representation
11319func (s AnalysisError) GoString() string {
11320	return s.String()
11321}
11322
11323// SetMessage sets the Message field's value.
11324func (s *AnalysisError) SetMessage(v string) *AnalysisError {
11325	s.Message = &v
11326	return s
11327}
11328
11329// SetType sets the Type field's value.
11330func (s *AnalysisError) SetType(v string) *AnalysisError {
11331	s.Type = &v
11332	return s
11333}
11334
11335// A filter that you apply when searching for one or more analyses.
11336type AnalysisSearchFilter struct {
11337	_ struct{} `type:"structure"`
11338
11339	// The name of the value that you want to use as a filter, for example "Name":
11340	// "QUICKSIGHT_USER".
11341	Name *string `type:"string" enum:"AnalysisFilterAttribute"`
11342
11343	// The comparison operator that you want to use as a filter, for example "Operator":
11344	// "StringEquals".
11345	Operator *string `type:"string" enum:"FilterOperator"`
11346
11347	// The value of the named item, in this case QUICKSIGHT_USER, that you want
11348	// to use as a filter, for example "Value". An example is "arn:aws:quicksight:us-east-1:1:user/default/UserName1".
11349	Value *string `type:"string"`
11350}
11351
11352// String returns the string representation
11353func (s AnalysisSearchFilter) String() string {
11354	return awsutil.Prettify(s)
11355}
11356
11357// GoString returns the string representation
11358func (s AnalysisSearchFilter) GoString() string {
11359	return s.String()
11360}
11361
11362// SetName sets the Name field's value.
11363func (s *AnalysisSearchFilter) SetName(v string) *AnalysisSearchFilter {
11364	s.Name = &v
11365	return s
11366}
11367
11368// SetOperator sets the Operator field's value.
11369func (s *AnalysisSearchFilter) SetOperator(v string) *AnalysisSearchFilter {
11370	s.Operator = &v
11371	return s
11372}
11373
11374// SetValue sets the Value field's value.
11375func (s *AnalysisSearchFilter) SetValue(v string) *AnalysisSearchFilter {
11376	s.Value = &v
11377	return s
11378}
11379
11380// The source entity of an analysis.
11381type AnalysisSourceEntity struct {
11382	_ struct{} `type:"structure"`
11383
11384	// The source template for the source entity of the analysis.
11385	SourceTemplate *AnalysisSourceTemplate `type:"structure"`
11386}
11387
11388// String returns the string representation
11389func (s AnalysisSourceEntity) String() string {
11390	return awsutil.Prettify(s)
11391}
11392
11393// GoString returns the string representation
11394func (s AnalysisSourceEntity) GoString() string {
11395	return s.String()
11396}
11397
11398// Validate inspects the fields of the type to determine if they are valid.
11399func (s *AnalysisSourceEntity) Validate() error {
11400	invalidParams := request.ErrInvalidParams{Context: "AnalysisSourceEntity"}
11401	if s.SourceTemplate != nil {
11402		if err := s.SourceTemplate.Validate(); err != nil {
11403			invalidParams.AddNested("SourceTemplate", err.(request.ErrInvalidParams))
11404		}
11405	}
11406
11407	if invalidParams.Len() > 0 {
11408		return invalidParams
11409	}
11410	return nil
11411}
11412
11413// SetSourceTemplate sets the SourceTemplate field's value.
11414func (s *AnalysisSourceEntity) SetSourceTemplate(v *AnalysisSourceTemplate) *AnalysisSourceEntity {
11415	s.SourceTemplate = v
11416	return s
11417}
11418
11419// The source template of an analysis.
11420type AnalysisSourceTemplate struct {
11421	_ struct{} `type:"structure"`
11422
11423	// The Amazon Resource Name (ARN) of the source template of an analysis.
11424	//
11425	// Arn is a required field
11426	Arn *string `type:"string" required:"true"`
11427
11428	// The dataset references of the source template of an analysis.
11429	//
11430	// DataSetReferences is a required field
11431	DataSetReferences []*DataSetReference `min:"1" type:"list" required:"true"`
11432}
11433
11434// String returns the string representation
11435func (s AnalysisSourceTemplate) String() string {
11436	return awsutil.Prettify(s)
11437}
11438
11439// GoString returns the string representation
11440func (s AnalysisSourceTemplate) GoString() string {
11441	return s.String()
11442}
11443
11444// Validate inspects the fields of the type to determine if they are valid.
11445func (s *AnalysisSourceTemplate) Validate() error {
11446	invalidParams := request.ErrInvalidParams{Context: "AnalysisSourceTemplate"}
11447	if s.Arn == nil {
11448		invalidParams.Add(request.NewErrParamRequired("Arn"))
11449	}
11450	if s.DataSetReferences == nil {
11451		invalidParams.Add(request.NewErrParamRequired("DataSetReferences"))
11452	}
11453	if s.DataSetReferences != nil && len(s.DataSetReferences) < 1 {
11454		invalidParams.Add(request.NewErrParamMinLen("DataSetReferences", 1))
11455	}
11456	if s.DataSetReferences != nil {
11457		for i, v := range s.DataSetReferences {
11458			if v == nil {
11459				continue
11460			}
11461			if err := v.Validate(); err != nil {
11462				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSetReferences", i), err.(request.ErrInvalidParams))
11463			}
11464		}
11465	}
11466
11467	if invalidParams.Len() > 0 {
11468		return invalidParams
11469	}
11470	return nil
11471}
11472
11473// SetArn sets the Arn field's value.
11474func (s *AnalysisSourceTemplate) SetArn(v string) *AnalysisSourceTemplate {
11475	s.Arn = &v
11476	return s
11477}
11478
11479// SetDataSetReferences sets the DataSetReferences field's value.
11480func (s *AnalysisSourceTemplate) SetDataSetReferences(v []*DataSetReference) *AnalysisSourceTemplate {
11481	s.DataSetReferences = v
11482	return s
11483}
11484
11485// The summary metadata that describes an analysis.
11486type AnalysisSummary struct {
11487	_ struct{} `type:"structure"`
11488
11489	// The ID of the analysis. This ID displays in the URL.
11490	AnalysisId *string `min:"1" type:"string"`
11491
11492	// The Amazon Resource Name (ARN) for the analysis.
11493	Arn *string `type:"string"`
11494
11495	// The time that the analysis was created.
11496	CreatedTime *time.Time `type:"timestamp"`
11497
11498	// The time that the analysis was last updated.
11499	LastUpdatedTime *time.Time `type:"timestamp"`
11500
11501	// The name of the analysis. This name is displayed in the QuickSight console.
11502	Name *string `min:"1" type:"string"`
11503
11504	// The last known status for the analysis.
11505	Status *string `type:"string" enum:"ResourceStatus"`
11506}
11507
11508// String returns the string representation
11509func (s AnalysisSummary) String() string {
11510	return awsutil.Prettify(s)
11511}
11512
11513// GoString returns the string representation
11514func (s AnalysisSummary) GoString() string {
11515	return s.String()
11516}
11517
11518// SetAnalysisId sets the AnalysisId field's value.
11519func (s *AnalysisSummary) SetAnalysisId(v string) *AnalysisSummary {
11520	s.AnalysisId = &v
11521	return s
11522}
11523
11524// SetArn sets the Arn field's value.
11525func (s *AnalysisSummary) SetArn(v string) *AnalysisSummary {
11526	s.Arn = &v
11527	return s
11528}
11529
11530// SetCreatedTime sets the CreatedTime field's value.
11531func (s *AnalysisSummary) SetCreatedTime(v time.Time) *AnalysisSummary {
11532	s.CreatedTime = &v
11533	return s
11534}
11535
11536// SetLastUpdatedTime sets the LastUpdatedTime field's value.
11537func (s *AnalysisSummary) SetLastUpdatedTime(v time.Time) *AnalysisSummary {
11538	s.LastUpdatedTime = &v
11539	return s
11540}
11541
11542// SetName sets the Name field's value.
11543func (s *AnalysisSummary) SetName(v string) *AnalysisSummary {
11544	s.Name = &v
11545	return s
11546}
11547
11548// SetStatus sets the Status field's value.
11549func (s *AnalysisSummary) SetStatus(v string) *AnalysisSummary {
11550	s.Status = &v
11551	return s
11552}
11553
11554// Amazon Athena parameters.
11555type AthenaParameters struct {
11556	_ struct{} `type:"structure"`
11557
11558	// The workgroup that Amazon Athena uses.
11559	WorkGroup *string `min:"1" type:"string"`
11560}
11561
11562// String returns the string representation
11563func (s AthenaParameters) String() string {
11564	return awsutil.Prettify(s)
11565}
11566
11567// GoString returns the string representation
11568func (s AthenaParameters) GoString() string {
11569	return s.String()
11570}
11571
11572// Validate inspects the fields of the type to determine if they are valid.
11573func (s *AthenaParameters) Validate() error {
11574	invalidParams := request.ErrInvalidParams{Context: "AthenaParameters"}
11575	if s.WorkGroup != nil && len(*s.WorkGroup) < 1 {
11576		invalidParams.Add(request.NewErrParamMinLen("WorkGroup", 1))
11577	}
11578
11579	if invalidParams.Len() > 0 {
11580		return invalidParams
11581	}
11582	return nil
11583}
11584
11585// SetWorkGroup sets the WorkGroup field's value.
11586func (s *AthenaParameters) SetWorkGroup(v string) *AthenaParameters {
11587	s.WorkGroup = &v
11588	return s
11589}
11590
11591// Amazon Aurora parameters.
11592type AuroraParameters struct {
11593	_ struct{} `type:"structure"`
11594
11595	// Database.
11596	//
11597	// Database is a required field
11598	Database *string `min:"1" type:"string" required:"true"`
11599
11600	// Host.
11601	//
11602	// Host is a required field
11603	Host *string `min:"1" type:"string" required:"true"`
11604
11605	// Port.
11606	//
11607	// Port is a required field
11608	Port *int64 `min:"1" type:"integer" required:"true"`
11609}
11610
11611// String returns the string representation
11612func (s AuroraParameters) String() string {
11613	return awsutil.Prettify(s)
11614}
11615
11616// GoString returns the string representation
11617func (s AuroraParameters) GoString() string {
11618	return s.String()
11619}
11620
11621// Validate inspects the fields of the type to determine if they are valid.
11622func (s *AuroraParameters) Validate() error {
11623	invalidParams := request.ErrInvalidParams{Context: "AuroraParameters"}
11624	if s.Database == nil {
11625		invalidParams.Add(request.NewErrParamRequired("Database"))
11626	}
11627	if s.Database != nil && len(*s.Database) < 1 {
11628		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
11629	}
11630	if s.Host == nil {
11631		invalidParams.Add(request.NewErrParamRequired("Host"))
11632	}
11633	if s.Host != nil && len(*s.Host) < 1 {
11634		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
11635	}
11636	if s.Port == nil {
11637		invalidParams.Add(request.NewErrParamRequired("Port"))
11638	}
11639	if s.Port != nil && *s.Port < 1 {
11640		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
11641	}
11642
11643	if invalidParams.Len() > 0 {
11644		return invalidParams
11645	}
11646	return nil
11647}
11648
11649// SetDatabase sets the Database field's value.
11650func (s *AuroraParameters) SetDatabase(v string) *AuroraParameters {
11651	s.Database = &v
11652	return s
11653}
11654
11655// SetHost sets the Host field's value.
11656func (s *AuroraParameters) SetHost(v string) *AuroraParameters {
11657	s.Host = &v
11658	return s
11659}
11660
11661// SetPort sets the Port field's value.
11662func (s *AuroraParameters) SetPort(v int64) *AuroraParameters {
11663	s.Port = &v
11664	return s
11665}
11666
11667// Amazon Aurora with PostgreSQL compatibility parameters.
11668type AuroraPostgreSqlParameters struct {
11669	_ struct{} `type:"structure"`
11670
11671	// Database.
11672	//
11673	// Database is a required field
11674	Database *string `min:"1" type:"string" required:"true"`
11675
11676	// Host.
11677	//
11678	// Host is a required field
11679	Host *string `min:"1" type:"string" required:"true"`
11680
11681	// Port.
11682	//
11683	// Port is a required field
11684	Port *int64 `min:"1" type:"integer" required:"true"`
11685}
11686
11687// String returns the string representation
11688func (s AuroraPostgreSqlParameters) String() string {
11689	return awsutil.Prettify(s)
11690}
11691
11692// GoString returns the string representation
11693func (s AuroraPostgreSqlParameters) GoString() string {
11694	return s.String()
11695}
11696
11697// Validate inspects the fields of the type to determine if they are valid.
11698func (s *AuroraPostgreSqlParameters) Validate() error {
11699	invalidParams := request.ErrInvalidParams{Context: "AuroraPostgreSqlParameters"}
11700	if s.Database == nil {
11701		invalidParams.Add(request.NewErrParamRequired("Database"))
11702	}
11703	if s.Database != nil && len(*s.Database) < 1 {
11704		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
11705	}
11706	if s.Host == nil {
11707		invalidParams.Add(request.NewErrParamRequired("Host"))
11708	}
11709	if s.Host != nil && len(*s.Host) < 1 {
11710		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
11711	}
11712	if s.Port == nil {
11713		invalidParams.Add(request.NewErrParamRequired("Port"))
11714	}
11715	if s.Port != nil && *s.Port < 1 {
11716		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
11717	}
11718
11719	if invalidParams.Len() > 0 {
11720		return invalidParams
11721	}
11722	return nil
11723}
11724
11725// SetDatabase sets the Database field's value.
11726func (s *AuroraPostgreSqlParameters) SetDatabase(v string) *AuroraPostgreSqlParameters {
11727	s.Database = &v
11728	return s
11729}
11730
11731// SetHost sets the Host field's value.
11732func (s *AuroraPostgreSqlParameters) SetHost(v string) *AuroraPostgreSqlParameters {
11733	s.Host = &v
11734	return s
11735}
11736
11737// SetPort sets the Port field's value.
11738func (s *AuroraPostgreSqlParameters) SetPort(v int64) *AuroraPostgreSqlParameters {
11739	s.Port = &v
11740	return s
11741}
11742
11743// AWS IoT Analytics parameters.
11744type AwsIotAnalyticsParameters struct {
11745	_ struct{} `type:"structure"`
11746
11747	// Dataset name.
11748	//
11749	// DataSetName is a required field
11750	DataSetName *string `min:"1" type:"string" required:"true"`
11751}
11752
11753// String returns the string representation
11754func (s AwsIotAnalyticsParameters) String() string {
11755	return awsutil.Prettify(s)
11756}
11757
11758// GoString returns the string representation
11759func (s AwsIotAnalyticsParameters) GoString() string {
11760	return s.String()
11761}
11762
11763// Validate inspects the fields of the type to determine if they are valid.
11764func (s *AwsIotAnalyticsParameters) Validate() error {
11765	invalidParams := request.ErrInvalidParams{Context: "AwsIotAnalyticsParameters"}
11766	if s.DataSetName == nil {
11767		invalidParams.Add(request.NewErrParamRequired("DataSetName"))
11768	}
11769	if s.DataSetName != nil && len(*s.DataSetName) < 1 {
11770		invalidParams.Add(request.NewErrParamMinLen("DataSetName", 1))
11771	}
11772
11773	if invalidParams.Len() > 0 {
11774		return invalidParams
11775	}
11776	return nil
11777}
11778
11779// SetDataSetName sets the DataSetName field's value.
11780func (s *AwsIotAnalyticsParameters) SetDataSetName(v string) *AwsIotAnalyticsParameters {
11781	s.DataSetName = &v
11782	return s
11783}
11784
11785// The display options for tile borders for visuals.
11786type BorderStyle struct {
11787	_ struct{} `type:"structure"`
11788
11789	// The option to enable display of borders for visuals.
11790	Show *bool `type:"boolean"`
11791}
11792
11793// String returns the string representation
11794func (s BorderStyle) String() string {
11795	return awsutil.Prettify(s)
11796}
11797
11798// GoString returns the string representation
11799func (s BorderStyle) GoString() string {
11800	return s.String()
11801}
11802
11803// SetShow sets the Show field's value.
11804func (s *BorderStyle) SetShow(v bool) *BorderStyle {
11805	s.Show = &v
11806	return s
11807}
11808
11809// A calculated column for a dataset.
11810type CalculatedColumn struct {
11811	_ struct{} `type:"structure"`
11812
11813	// A unique ID to identify a calculated column. During a dataset update, if
11814	// the column ID of a calculated column matches that of an existing calculated
11815	// column, Amazon QuickSight preserves the existing calculated column.
11816	//
11817	// ColumnId is a required field
11818	ColumnId *string `min:"1" type:"string" required:"true"`
11819
11820	// Column name.
11821	//
11822	// ColumnName is a required field
11823	ColumnName *string `min:"1" type:"string" required:"true"`
11824
11825	// An expression that defines the calculated column.
11826	//
11827	// Expression is a required field
11828	Expression *string `min:"1" type:"string" required:"true"`
11829}
11830
11831// String returns the string representation
11832func (s CalculatedColumn) String() string {
11833	return awsutil.Prettify(s)
11834}
11835
11836// GoString returns the string representation
11837func (s CalculatedColumn) GoString() string {
11838	return s.String()
11839}
11840
11841// Validate inspects the fields of the type to determine if they are valid.
11842func (s *CalculatedColumn) Validate() error {
11843	invalidParams := request.ErrInvalidParams{Context: "CalculatedColumn"}
11844	if s.ColumnId == nil {
11845		invalidParams.Add(request.NewErrParamRequired("ColumnId"))
11846	}
11847	if s.ColumnId != nil && len(*s.ColumnId) < 1 {
11848		invalidParams.Add(request.NewErrParamMinLen("ColumnId", 1))
11849	}
11850	if s.ColumnName == nil {
11851		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
11852	}
11853	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
11854		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
11855	}
11856	if s.Expression == nil {
11857		invalidParams.Add(request.NewErrParamRequired("Expression"))
11858	}
11859	if s.Expression != nil && len(*s.Expression) < 1 {
11860		invalidParams.Add(request.NewErrParamMinLen("Expression", 1))
11861	}
11862
11863	if invalidParams.Len() > 0 {
11864		return invalidParams
11865	}
11866	return nil
11867}
11868
11869// SetColumnId sets the ColumnId field's value.
11870func (s *CalculatedColumn) SetColumnId(v string) *CalculatedColumn {
11871	s.ColumnId = &v
11872	return s
11873}
11874
11875// SetColumnName sets the ColumnName field's value.
11876func (s *CalculatedColumn) SetColumnName(v string) *CalculatedColumn {
11877	s.ColumnName = &v
11878	return s
11879}
11880
11881// SetExpression sets the Expression field's value.
11882func (s *CalculatedColumn) SetExpression(v string) *CalculatedColumn {
11883	s.Expression = &v
11884	return s
11885}
11886
11887type CancelIngestionInput struct {
11888	_ struct{} `type:"structure"`
11889
11890	// The AWS account ID.
11891	//
11892	// AwsAccountId is a required field
11893	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
11894
11895	// The ID of the dataset used in the ingestion.
11896	//
11897	// DataSetId is a required field
11898	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
11899
11900	// An ID for the ingestion.
11901	//
11902	// IngestionId is a required field
11903	IngestionId *string `location:"uri" locationName:"IngestionId" min:"1" type:"string" required:"true"`
11904}
11905
11906// String returns the string representation
11907func (s CancelIngestionInput) String() string {
11908	return awsutil.Prettify(s)
11909}
11910
11911// GoString returns the string representation
11912func (s CancelIngestionInput) GoString() string {
11913	return s.String()
11914}
11915
11916// Validate inspects the fields of the type to determine if they are valid.
11917func (s *CancelIngestionInput) Validate() error {
11918	invalidParams := request.ErrInvalidParams{Context: "CancelIngestionInput"}
11919	if s.AwsAccountId == nil {
11920		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
11921	}
11922	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
11923		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
11924	}
11925	if s.DataSetId == nil {
11926		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
11927	}
11928	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
11929		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
11930	}
11931	if s.IngestionId == nil {
11932		invalidParams.Add(request.NewErrParamRequired("IngestionId"))
11933	}
11934	if s.IngestionId != nil && len(*s.IngestionId) < 1 {
11935		invalidParams.Add(request.NewErrParamMinLen("IngestionId", 1))
11936	}
11937
11938	if invalidParams.Len() > 0 {
11939		return invalidParams
11940	}
11941	return nil
11942}
11943
11944// SetAwsAccountId sets the AwsAccountId field's value.
11945func (s *CancelIngestionInput) SetAwsAccountId(v string) *CancelIngestionInput {
11946	s.AwsAccountId = &v
11947	return s
11948}
11949
11950// SetDataSetId sets the DataSetId field's value.
11951func (s *CancelIngestionInput) SetDataSetId(v string) *CancelIngestionInput {
11952	s.DataSetId = &v
11953	return s
11954}
11955
11956// SetIngestionId sets the IngestionId field's value.
11957func (s *CancelIngestionInput) SetIngestionId(v string) *CancelIngestionInput {
11958	s.IngestionId = &v
11959	return s
11960}
11961
11962type CancelIngestionOutput struct {
11963	_ struct{} `type:"structure"`
11964
11965	// The Amazon Resource Name (ARN) for the data ingestion.
11966	Arn *string `type:"string"`
11967
11968	// An ID for the ingestion.
11969	IngestionId *string `min:"1" type:"string"`
11970
11971	// The AWS request ID for this operation.
11972	RequestId *string `type:"string"`
11973
11974	// The HTTP status of the request.
11975	Status *int64 `location:"statusCode" type:"integer"`
11976}
11977
11978// String returns the string representation
11979func (s CancelIngestionOutput) String() string {
11980	return awsutil.Prettify(s)
11981}
11982
11983// GoString returns the string representation
11984func (s CancelIngestionOutput) GoString() string {
11985	return s.String()
11986}
11987
11988// SetArn sets the Arn field's value.
11989func (s *CancelIngestionOutput) SetArn(v string) *CancelIngestionOutput {
11990	s.Arn = &v
11991	return s
11992}
11993
11994// SetIngestionId sets the IngestionId field's value.
11995func (s *CancelIngestionOutput) SetIngestionId(v string) *CancelIngestionOutput {
11996	s.IngestionId = &v
11997	return s
11998}
11999
12000// SetRequestId sets the RequestId field's value.
12001func (s *CancelIngestionOutput) SetRequestId(v string) *CancelIngestionOutput {
12002	s.RequestId = &v
12003	return s
12004}
12005
12006// SetStatus sets the Status field's value.
12007func (s *CancelIngestionOutput) SetStatus(v int64) *CancelIngestionOutput {
12008	s.Status = &v
12009	return s
12010}
12011
12012// A transform operation that casts a column to a different type.
12013type CastColumnTypeOperation struct {
12014	_ struct{} `type:"structure"`
12015
12016	// Column name.
12017	//
12018	// ColumnName is a required field
12019	ColumnName *string `min:"1" type:"string" required:"true"`
12020
12021	// When casting a column from string to datetime type, you can supply a string
12022	// in a format supported by Amazon QuickSight to denote the source data format.
12023	Format *string `type:"string"`
12024
12025	// New column data type.
12026	//
12027	// NewColumnType is a required field
12028	NewColumnType *string `type:"string" required:"true" enum:"ColumnDataType"`
12029}
12030
12031// String returns the string representation
12032func (s CastColumnTypeOperation) String() string {
12033	return awsutil.Prettify(s)
12034}
12035
12036// GoString returns the string representation
12037func (s CastColumnTypeOperation) GoString() string {
12038	return s.String()
12039}
12040
12041// Validate inspects the fields of the type to determine if they are valid.
12042func (s *CastColumnTypeOperation) Validate() error {
12043	invalidParams := request.ErrInvalidParams{Context: "CastColumnTypeOperation"}
12044	if s.ColumnName == nil {
12045		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
12046	}
12047	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
12048		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
12049	}
12050	if s.NewColumnType == nil {
12051		invalidParams.Add(request.NewErrParamRequired("NewColumnType"))
12052	}
12053
12054	if invalidParams.Len() > 0 {
12055		return invalidParams
12056	}
12057	return nil
12058}
12059
12060// SetColumnName sets the ColumnName field's value.
12061func (s *CastColumnTypeOperation) SetColumnName(v string) *CastColumnTypeOperation {
12062	s.ColumnName = &v
12063	return s
12064}
12065
12066// SetFormat sets the Format field's value.
12067func (s *CastColumnTypeOperation) SetFormat(v string) *CastColumnTypeOperation {
12068	s.Format = &v
12069	return s
12070}
12071
12072// SetNewColumnType sets the NewColumnType field's value.
12073func (s *CastColumnTypeOperation) SetNewColumnType(v string) *CastColumnTypeOperation {
12074	s.NewColumnType = &v
12075	return s
12076}
12077
12078// Metadata that contains a description for a column.
12079type ColumnDescription struct {
12080	_ struct{} `type:"structure"`
12081
12082	// The text of a description for a column.
12083	Text *string `type:"string"`
12084}
12085
12086// String returns the string representation
12087func (s ColumnDescription) String() string {
12088	return awsutil.Prettify(s)
12089}
12090
12091// GoString returns the string representation
12092func (s ColumnDescription) GoString() string {
12093	return s.String()
12094}
12095
12096// SetText sets the Text field's value.
12097func (s *ColumnDescription) SetText(v string) *ColumnDescription {
12098	s.Text = &v
12099	return s
12100}
12101
12102// Groupings of columns that work together in certain Amazon QuickSight features.
12103// This is a variant type structure. For this structure to be valid, only one
12104// of the attributes can be non-null.
12105type ColumnGroup struct {
12106	_ struct{} `type:"structure"`
12107
12108	// Geospatial column group that denotes a hierarchy.
12109	GeoSpatialColumnGroup *GeoSpatialColumnGroup `type:"structure"`
12110}
12111
12112// String returns the string representation
12113func (s ColumnGroup) String() string {
12114	return awsutil.Prettify(s)
12115}
12116
12117// GoString returns the string representation
12118func (s ColumnGroup) GoString() string {
12119	return s.String()
12120}
12121
12122// Validate inspects the fields of the type to determine if they are valid.
12123func (s *ColumnGroup) Validate() error {
12124	invalidParams := request.ErrInvalidParams{Context: "ColumnGroup"}
12125	if s.GeoSpatialColumnGroup != nil {
12126		if err := s.GeoSpatialColumnGroup.Validate(); err != nil {
12127			invalidParams.AddNested("GeoSpatialColumnGroup", err.(request.ErrInvalidParams))
12128		}
12129	}
12130
12131	if invalidParams.Len() > 0 {
12132		return invalidParams
12133	}
12134	return nil
12135}
12136
12137// SetGeoSpatialColumnGroup sets the GeoSpatialColumnGroup field's value.
12138func (s *ColumnGroup) SetGeoSpatialColumnGroup(v *GeoSpatialColumnGroup) *ColumnGroup {
12139	s.GeoSpatialColumnGroup = v
12140	return s
12141}
12142
12143// A structure describing the name, data type, and geographic role of the columns.
12144type ColumnGroupColumnSchema struct {
12145	_ struct{} `type:"structure"`
12146
12147	// The name of the column group's column schema.
12148	Name *string `type:"string"`
12149}
12150
12151// String returns the string representation
12152func (s ColumnGroupColumnSchema) String() string {
12153	return awsutil.Prettify(s)
12154}
12155
12156// GoString returns the string representation
12157func (s ColumnGroupColumnSchema) GoString() string {
12158	return s.String()
12159}
12160
12161// SetName sets the Name field's value.
12162func (s *ColumnGroupColumnSchema) SetName(v string) *ColumnGroupColumnSchema {
12163	s.Name = &v
12164	return s
12165}
12166
12167// The column group schema.
12168type ColumnGroupSchema struct {
12169	_ struct{} `type:"structure"`
12170
12171	// A structure containing the list of schemas for column group columns.
12172	ColumnGroupColumnSchemaList []*ColumnGroupColumnSchema `type:"list"`
12173
12174	// The name of the column group schema.
12175	Name *string `type:"string"`
12176}
12177
12178// String returns the string representation
12179func (s ColumnGroupSchema) String() string {
12180	return awsutil.Prettify(s)
12181}
12182
12183// GoString returns the string representation
12184func (s ColumnGroupSchema) GoString() string {
12185	return s.String()
12186}
12187
12188// SetColumnGroupColumnSchemaList sets the ColumnGroupColumnSchemaList field's value.
12189func (s *ColumnGroupSchema) SetColumnGroupColumnSchemaList(v []*ColumnGroupColumnSchema) *ColumnGroupSchema {
12190	s.ColumnGroupColumnSchemaList = v
12191	return s
12192}
12193
12194// SetName sets the Name field's value.
12195func (s *ColumnGroupSchema) SetName(v string) *ColumnGroupSchema {
12196	s.Name = &v
12197	return s
12198}
12199
12200// A rule defined to grant access on one or more restricted columns. Each dataset
12201// can have multiple rules. To create a restricted column, you add it to one
12202// or more rules. Each rule must contain at least one column and at least one
12203// user or group. To be able to see a restricted column, a user or group needs
12204// to be added to a rule for that column.
12205type ColumnLevelPermissionRule struct {
12206	_ struct{} `type:"structure"`
12207
12208	// An array of column names.
12209	ColumnNames []*string `min:"1" type:"list"`
12210
12211	// An array of Amazon Resource Names (ARNs) for QuickSight users or groups.
12212	Principals []*string `min:"1" type:"list"`
12213}
12214
12215// String returns the string representation
12216func (s ColumnLevelPermissionRule) String() string {
12217	return awsutil.Prettify(s)
12218}
12219
12220// GoString returns the string representation
12221func (s ColumnLevelPermissionRule) GoString() string {
12222	return s.String()
12223}
12224
12225// Validate inspects the fields of the type to determine if they are valid.
12226func (s *ColumnLevelPermissionRule) Validate() error {
12227	invalidParams := request.ErrInvalidParams{Context: "ColumnLevelPermissionRule"}
12228	if s.ColumnNames != nil && len(s.ColumnNames) < 1 {
12229		invalidParams.Add(request.NewErrParamMinLen("ColumnNames", 1))
12230	}
12231	if s.Principals != nil && len(s.Principals) < 1 {
12232		invalidParams.Add(request.NewErrParamMinLen("Principals", 1))
12233	}
12234
12235	if invalidParams.Len() > 0 {
12236		return invalidParams
12237	}
12238	return nil
12239}
12240
12241// SetColumnNames sets the ColumnNames field's value.
12242func (s *ColumnLevelPermissionRule) SetColumnNames(v []*string) *ColumnLevelPermissionRule {
12243	s.ColumnNames = v
12244	return s
12245}
12246
12247// SetPrincipals sets the Principals field's value.
12248func (s *ColumnLevelPermissionRule) SetPrincipals(v []*string) *ColumnLevelPermissionRule {
12249	s.Principals = v
12250	return s
12251}
12252
12253// The column schema.
12254type ColumnSchema struct {
12255	_ struct{} `type:"structure"`
12256
12257	// The data type of the column schema.
12258	DataType *string `type:"string"`
12259
12260	// The geographic role of the column schema.
12261	GeographicRole *string `type:"string"`
12262
12263	// The name of the column schema.
12264	Name *string `type:"string"`
12265}
12266
12267// String returns the string representation
12268func (s ColumnSchema) String() string {
12269	return awsutil.Prettify(s)
12270}
12271
12272// GoString returns the string representation
12273func (s ColumnSchema) GoString() string {
12274	return s.String()
12275}
12276
12277// SetDataType sets the DataType field's value.
12278func (s *ColumnSchema) SetDataType(v string) *ColumnSchema {
12279	s.DataType = &v
12280	return s
12281}
12282
12283// SetGeographicRole sets the GeographicRole field's value.
12284func (s *ColumnSchema) SetGeographicRole(v string) *ColumnSchema {
12285	s.GeographicRole = &v
12286	return s
12287}
12288
12289// SetName sets the Name field's value.
12290func (s *ColumnSchema) SetName(v string) *ColumnSchema {
12291	s.Name = &v
12292	return s
12293}
12294
12295// A tag for a column in a TagColumnOperation structure. This is a variant type
12296// structure. For this structure to be valid, only one of the attributes can
12297// be non-null.
12298type ColumnTag struct {
12299	_ struct{} `type:"structure"`
12300
12301	// A description for a column.
12302	ColumnDescription *ColumnDescription `type:"structure"`
12303
12304	// A geospatial role for a column.
12305	ColumnGeographicRole *string `type:"string" enum:"GeoSpatialDataRole"`
12306}
12307
12308// String returns the string representation
12309func (s ColumnTag) String() string {
12310	return awsutil.Prettify(s)
12311}
12312
12313// GoString returns the string representation
12314func (s ColumnTag) GoString() string {
12315	return s.String()
12316}
12317
12318// SetColumnDescription sets the ColumnDescription field's value.
12319func (s *ColumnTag) SetColumnDescription(v *ColumnDescription) *ColumnTag {
12320	s.ColumnDescription = v
12321	return s
12322}
12323
12324// SetColumnGeographicRole sets the ColumnGeographicRole field's value.
12325func (s *ColumnTag) SetColumnGeographicRole(v string) *ColumnTag {
12326	s.ColumnGeographicRole = &v
12327	return s
12328}
12329
12330// A resource is already in a state that indicates an operation is happening
12331// that must complete before a new update can be applied.
12332type ConcurrentUpdatingException struct {
12333	_            struct{}                  `type:"structure"`
12334	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
12335
12336	Message_ *string `locationName:"Message" type:"string"`
12337
12338	RequestId *string `type:"string"`
12339}
12340
12341// String returns the string representation
12342func (s ConcurrentUpdatingException) String() string {
12343	return awsutil.Prettify(s)
12344}
12345
12346// GoString returns the string representation
12347func (s ConcurrentUpdatingException) GoString() string {
12348	return s.String()
12349}
12350
12351func newErrorConcurrentUpdatingException(v protocol.ResponseMetadata) error {
12352	return &ConcurrentUpdatingException{
12353		RespMetadata: v,
12354	}
12355}
12356
12357// Code returns the exception type name.
12358func (s *ConcurrentUpdatingException) Code() string {
12359	return "ConcurrentUpdatingException"
12360}
12361
12362// Message returns the exception's message.
12363func (s *ConcurrentUpdatingException) Message() string {
12364	if s.Message_ != nil {
12365		return *s.Message_
12366	}
12367	return ""
12368}
12369
12370// OrigErr always returns nil, satisfies awserr.Error interface.
12371func (s *ConcurrentUpdatingException) OrigErr() error {
12372	return nil
12373}
12374
12375func (s *ConcurrentUpdatingException) Error() string {
12376	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
12377}
12378
12379// Status code returns the HTTP status code for the request's response error.
12380func (s *ConcurrentUpdatingException) StatusCode() int {
12381	return s.RespMetadata.StatusCode
12382}
12383
12384// RequestID returns the service's response RequestID for request.
12385func (s *ConcurrentUpdatingException) RequestID() string {
12386	return s.RespMetadata.RequestID
12387}
12388
12389// Updating or deleting a resource can cause an inconsistent state.
12390type ConflictException struct {
12391	_            struct{}                  `type:"structure"`
12392	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
12393
12394	Message_ *string `locationName:"Message" type:"string"`
12395
12396	// The AWS request ID for this request.
12397	RequestId *string `type:"string"`
12398}
12399
12400// String returns the string representation
12401func (s ConflictException) String() string {
12402	return awsutil.Prettify(s)
12403}
12404
12405// GoString returns the string representation
12406func (s ConflictException) GoString() string {
12407	return s.String()
12408}
12409
12410func newErrorConflictException(v protocol.ResponseMetadata) error {
12411	return &ConflictException{
12412		RespMetadata: v,
12413	}
12414}
12415
12416// Code returns the exception type name.
12417func (s *ConflictException) Code() string {
12418	return "ConflictException"
12419}
12420
12421// Message returns the exception's message.
12422func (s *ConflictException) Message() string {
12423	if s.Message_ != nil {
12424		return *s.Message_
12425	}
12426	return ""
12427}
12428
12429// OrigErr always returns nil, satisfies awserr.Error interface.
12430func (s *ConflictException) OrigErr() error {
12431	return nil
12432}
12433
12434func (s *ConflictException) Error() string {
12435	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
12436}
12437
12438// Status code returns the HTTP status code for the request's response error.
12439func (s *ConflictException) StatusCode() int {
12440	return s.RespMetadata.StatusCode
12441}
12442
12443// RequestID returns the service's response RequestID for request.
12444func (s *ConflictException) RequestID() string {
12445	return s.RespMetadata.RequestID
12446}
12447
12448type CreateAccountCustomizationInput struct {
12449	_ struct{} `type:"structure"`
12450
12451	// The QuickSight customizations you're adding in the current AWS Region. You
12452	// can add these to an AWS account and a QuickSight namespace.
12453	//
12454	// For example, you can add a default theme by setting AccountCustomization
12455	// to the midnight theme: "AccountCustomization": { "DefaultTheme": "arn:aws:quicksight::aws:theme/MIDNIGHT"
12456	// }. Or, you can add a custom theme by specifying "AccountCustomization": {
12457	// "DefaultTheme": "arn:aws:quicksight:us-west-2:111122223333:theme/bdb844d0-0fe9-4d9d-b520-0fe602d93639"
12458	// }.
12459	//
12460	// AccountCustomization is a required field
12461	AccountCustomization *AccountCustomization `type:"structure" required:"true"`
12462
12463	// The ID for the AWS account that you want to customize QuickSight for.
12464	//
12465	// AwsAccountId is a required field
12466	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
12467
12468	// The QuickSight namespace that you want to add customizations to.
12469	Namespace *string `location:"querystring" locationName:"namespace" type:"string"`
12470
12471	// A list of the tags that you want to attach to this resource.
12472	Tags []*Tag `min:"1" type:"list"`
12473}
12474
12475// String returns the string representation
12476func (s CreateAccountCustomizationInput) String() string {
12477	return awsutil.Prettify(s)
12478}
12479
12480// GoString returns the string representation
12481func (s CreateAccountCustomizationInput) GoString() string {
12482	return s.String()
12483}
12484
12485// Validate inspects the fields of the type to determine if they are valid.
12486func (s *CreateAccountCustomizationInput) Validate() error {
12487	invalidParams := request.ErrInvalidParams{Context: "CreateAccountCustomizationInput"}
12488	if s.AccountCustomization == nil {
12489		invalidParams.Add(request.NewErrParamRequired("AccountCustomization"))
12490	}
12491	if s.AwsAccountId == nil {
12492		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
12493	}
12494	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
12495		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
12496	}
12497	if s.Tags != nil && len(s.Tags) < 1 {
12498		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
12499	}
12500	if s.Tags != nil {
12501		for i, v := range s.Tags {
12502			if v == nil {
12503				continue
12504			}
12505			if err := v.Validate(); err != nil {
12506				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
12507			}
12508		}
12509	}
12510
12511	if invalidParams.Len() > 0 {
12512		return invalidParams
12513	}
12514	return nil
12515}
12516
12517// SetAccountCustomization sets the AccountCustomization field's value.
12518func (s *CreateAccountCustomizationInput) SetAccountCustomization(v *AccountCustomization) *CreateAccountCustomizationInput {
12519	s.AccountCustomization = v
12520	return s
12521}
12522
12523// SetAwsAccountId sets the AwsAccountId field's value.
12524func (s *CreateAccountCustomizationInput) SetAwsAccountId(v string) *CreateAccountCustomizationInput {
12525	s.AwsAccountId = &v
12526	return s
12527}
12528
12529// SetNamespace sets the Namespace field's value.
12530func (s *CreateAccountCustomizationInput) SetNamespace(v string) *CreateAccountCustomizationInput {
12531	s.Namespace = &v
12532	return s
12533}
12534
12535// SetTags sets the Tags field's value.
12536func (s *CreateAccountCustomizationInput) SetTags(v []*Tag) *CreateAccountCustomizationInput {
12537	s.Tags = v
12538	return s
12539}
12540
12541type CreateAccountCustomizationOutput struct {
12542	_ struct{} `type:"structure"`
12543
12544	// The QuickSight customizations you're adding in the current AWS Region.
12545	AccountCustomization *AccountCustomization `type:"structure"`
12546
12547	// The Amazon Resource Name (ARN) for the customization that you created for
12548	// this AWS account.
12549	Arn *string `type:"string"`
12550
12551	// The ID for the AWS account that you want to customize QuickSight for.
12552	AwsAccountId *string `min:"12" type:"string"`
12553
12554	// The namespace associated with the customization you're creating.
12555	Namespace *string `type:"string"`
12556
12557	// The AWS request ID for this operation.
12558	RequestId *string `type:"string"`
12559
12560	// The HTTP status of the request.
12561	Status *int64 `location:"statusCode" type:"integer"`
12562}
12563
12564// String returns the string representation
12565func (s CreateAccountCustomizationOutput) String() string {
12566	return awsutil.Prettify(s)
12567}
12568
12569// GoString returns the string representation
12570func (s CreateAccountCustomizationOutput) GoString() string {
12571	return s.String()
12572}
12573
12574// SetAccountCustomization sets the AccountCustomization field's value.
12575func (s *CreateAccountCustomizationOutput) SetAccountCustomization(v *AccountCustomization) *CreateAccountCustomizationOutput {
12576	s.AccountCustomization = v
12577	return s
12578}
12579
12580// SetArn sets the Arn field's value.
12581func (s *CreateAccountCustomizationOutput) SetArn(v string) *CreateAccountCustomizationOutput {
12582	s.Arn = &v
12583	return s
12584}
12585
12586// SetAwsAccountId sets the AwsAccountId field's value.
12587func (s *CreateAccountCustomizationOutput) SetAwsAccountId(v string) *CreateAccountCustomizationOutput {
12588	s.AwsAccountId = &v
12589	return s
12590}
12591
12592// SetNamespace sets the Namespace field's value.
12593func (s *CreateAccountCustomizationOutput) SetNamespace(v string) *CreateAccountCustomizationOutput {
12594	s.Namespace = &v
12595	return s
12596}
12597
12598// SetRequestId sets the RequestId field's value.
12599func (s *CreateAccountCustomizationOutput) SetRequestId(v string) *CreateAccountCustomizationOutput {
12600	s.RequestId = &v
12601	return s
12602}
12603
12604// SetStatus sets the Status field's value.
12605func (s *CreateAccountCustomizationOutput) SetStatus(v int64) *CreateAccountCustomizationOutput {
12606	s.Status = &v
12607	return s
12608}
12609
12610type CreateAnalysisInput struct {
12611	_ struct{} `type:"structure"`
12612
12613	// The ID for the analysis that you're creating. This ID displays in the URL
12614	// of the analysis.
12615	//
12616	// AnalysisId is a required field
12617	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
12618
12619	// The ID of the AWS account where you are creating an analysis.
12620	//
12621	// AwsAccountId is a required field
12622	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
12623
12624	// A descriptive name for the analysis that you're creating. This name displays
12625	// for the analysis in the QuickSight console.
12626	//
12627	// Name is a required field
12628	Name *string `min:"1" type:"string" required:"true"`
12629
12630	// The parameter names and override values that you want to use. An analysis
12631	// can have any parameter type, and some parameters might accept multiple values.
12632	Parameters *Parameters `type:"structure"`
12633
12634	// A structure that describes the principals and the resource-level permissions
12635	// on an analysis. You can use the Permissions structure to grant permissions
12636	// by providing a list of AWS Identity and Access Management (IAM) action information
12637	// for each principal listed by Amazon Resource Name (ARN).
12638	//
12639	// To specify no permissions, omit Permissions.
12640	Permissions []*ResourcePermission `min:"1" type:"list"`
12641
12642	// A source entity to use for the analysis that you're creating. This metadata
12643	// structure contains details that describe a source template and one or more
12644	// datasets.
12645	//
12646	// SourceEntity is a required field
12647	SourceEntity *AnalysisSourceEntity `type:"structure" required:"true"`
12648
12649	// Contains a map of the key-value pairs for the resource tag or tags assigned
12650	// to the analysis.
12651	Tags []*Tag `min:"1" type:"list"`
12652
12653	// The ARN for the theme to apply to the analysis that you're creating. To see
12654	// the theme in the QuickSight console, make sure that you have access to it.
12655	ThemeArn *string `type:"string"`
12656}
12657
12658// String returns the string representation
12659func (s CreateAnalysisInput) String() string {
12660	return awsutil.Prettify(s)
12661}
12662
12663// GoString returns the string representation
12664func (s CreateAnalysisInput) GoString() string {
12665	return s.String()
12666}
12667
12668// Validate inspects the fields of the type to determine if they are valid.
12669func (s *CreateAnalysisInput) Validate() error {
12670	invalidParams := request.ErrInvalidParams{Context: "CreateAnalysisInput"}
12671	if s.AnalysisId == nil {
12672		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
12673	}
12674	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
12675		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
12676	}
12677	if s.AwsAccountId == nil {
12678		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
12679	}
12680	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
12681		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
12682	}
12683	if s.Name == nil {
12684		invalidParams.Add(request.NewErrParamRequired("Name"))
12685	}
12686	if s.Name != nil && len(*s.Name) < 1 {
12687		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
12688	}
12689	if s.Permissions != nil && len(s.Permissions) < 1 {
12690		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
12691	}
12692	if s.SourceEntity == nil {
12693		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
12694	}
12695	if s.Tags != nil && len(s.Tags) < 1 {
12696		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
12697	}
12698	if s.Parameters != nil {
12699		if err := s.Parameters.Validate(); err != nil {
12700			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
12701		}
12702	}
12703	if s.Permissions != nil {
12704		for i, v := range s.Permissions {
12705			if v == nil {
12706				continue
12707			}
12708			if err := v.Validate(); err != nil {
12709				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
12710			}
12711		}
12712	}
12713	if s.SourceEntity != nil {
12714		if err := s.SourceEntity.Validate(); err != nil {
12715			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
12716		}
12717	}
12718	if s.Tags != nil {
12719		for i, v := range s.Tags {
12720			if v == nil {
12721				continue
12722			}
12723			if err := v.Validate(); err != nil {
12724				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
12725			}
12726		}
12727	}
12728
12729	if invalidParams.Len() > 0 {
12730		return invalidParams
12731	}
12732	return nil
12733}
12734
12735// SetAnalysisId sets the AnalysisId field's value.
12736func (s *CreateAnalysisInput) SetAnalysisId(v string) *CreateAnalysisInput {
12737	s.AnalysisId = &v
12738	return s
12739}
12740
12741// SetAwsAccountId sets the AwsAccountId field's value.
12742func (s *CreateAnalysisInput) SetAwsAccountId(v string) *CreateAnalysisInput {
12743	s.AwsAccountId = &v
12744	return s
12745}
12746
12747// SetName sets the Name field's value.
12748func (s *CreateAnalysisInput) SetName(v string) *CreateAnalysisInput {
12749	s.Name = &v
12750	return s
12751}
12752
12753// SetParameters sets the Parameters field's value.
12754func (s *CreateAnalysisInput) SetParameters(v *Parameters) *CreateAnalysisInput {
12755	s.Parameters = v
12756	return s
12757}
12758
12759// SetPermissions sets the Permissions field's value.
12760func (s *CreateAnalysisInput) SetPermissions(v []*ResourcePermission) *CreateAnalysisInput {
12761	s.Permissions = v
12762	return s
12763}
12764
12765// SetSourceEntity sets the SourceEntity field's value.
12766func (s *CreateAnalysisInput) SetSourceEntity(v *AnalysisSourceEntity) *CreateAnalysisInput {
12767	s.SourceEntity = v
12768	return s
12769}
12770
12771// SetTags sets the Tags field's value.
12772func (s *CreateAnalysisInput) SetTags(v []*Tag) *CreateAnalysisInput {
12773	s.Tags = v
12774	return s
12775}
12776
12777// SetThemeArn sets the ThemeArn field's value.
12778func (s *CreateAnalysisInput) SetThemeArn(v string) *CreateAnalysisInput {
12779	s.ThemeArn = &v
12780	return s
12781}
12782
12783type CreateAnalysisOutput struct {
12784	_ struct{} `type:"structure"`
12785
12786	// The ID of the analysis.
12787	AnalysisId *string `min:"1" type:"string"`
12788
12789	// The ARN for the analysis.
12790	Arn *string `type:"string"`
12791
12792	// The status of the creation of the analysis.
12793	CreationStatus *string `type:"string" enum:"ResourceStatus"`
12794
12795	// The AWS request ID for this operation.
12796	RequestId *string `type:"string"`
12797
12798	// The HTTP status of the request.
12799	Status *int64 `location:"statusCode" type:"integer"`
12800}
12801
12802// String returns the string representation
12803func (s CreateAnalysisOutput) String() string {
12804	return awsutil.Prettify(s)
12805}
12806
12807// GoString returns the string representation
12808func (s CreateAnalysisOutput) GoString() string {
12809	return s.String()
12810}
12811
12812// SetAnalysisId sets the AnalysisId field's value.
12813func (s *CreateAnalysisOutput) SetAnalysisId(v string) *CreateAnalysisOutput {
12814	s.AnalysisId = &v
12815	return s
12816}
12817
12818// SetArn sets the Arn field's value.
12819func (s *CreateAnalysisOutput) SetArn(v string) *CreateAnalysisOutput {
12820	s.Arn = &v
12821	return s
12822}
12823
12824// SetCreationStatus sets the CreationStatus field's value.
12825func (s *CreateAnalysisOutput) SetCreationStatus(v string) *CreateAnalysisOutput {
12826	s.CreationStatus = &v
12827	return s
12828}
12829
12830// SetRequestId sets the RequestId field's value.
12831func (s *CreateAnalysisOutput) SetRequestId(v string) *CreateAnalysisOutput {
12832	s.RequestId = &v
12833	return s
12834}
12835
12836// SetStatus sets the Status field's value.
12837func (s *CreateAnalysisOutput) SetStatus(v int64) *CreateAnalysisOutput {
12838	s.Status = &v
12839	return s
12840}
12841
12842// A transform operation that creates calculated columns. Columns created in
12843// one such operation form a lexical closure.
12844type CreateColumnsOperation struct {
12845	_ struct{} `type:"structure"`
12846
12847	// Calculated columns to create.
12848	//
12849	// Columns is a required field
12850	Columns []*CalculatedColumn `min:"1" type:"list" required:"true"`
12851}
12852
12853// String returns the string representation
12854func (s CreateColumnsOperation) String() string {
12855	return awsutil.Prettify(s)
12856}
12857
12858// GoString returns the string representation
12859func (s CreateColumnsOperation) GoString() string {
12860	return s.String()
12861}
12862
12863// Validate inspects the fields of the type to determine if they are valid.
12864func (s *CreateColumnsOperation) Validate() error {
12865	invalidParams := request.ErrInvalidParams{Context: "CreateColumnsOperation"}
12866	if s.Columns == nil {
12867		invalidParams.Add(request.NewErrParamRequired("Columns"))
12868	}
12869	if s.Columns != nil && len(s.Columns) < 1 {
12870		invalidParams.Add(request.NewErrParamMinLen("Columns", 1))
12871	}
12872	if s.Columns != nil {
12873		for i, v := range s.Columns {
12874			if v == nil {
12875				continue
12876			}
12877			if err := v.Validate(); err != nil {
12878				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams))
12879			}
12880		}
12881	}
12882
12883	if invalidParams.Len() > 0 {
12884		return invalidParams
12885	}
12886	return nil
12887}
12888
12889// SetColumns sets the Columns field's value.
12890func (s *CreateColumnsOperation) SetColumns(v []*CalculatedColumn) *CreateColumnsOperation {
12891	s.Columns = v
12892	return s
12893}
12894
12895type CreateDashboardInput struct {
12896	_ struct{} `type:"structure"`
12897
12898	// The ID of the AWS account where you want to create the dashboard.
12899	//
12900	// AwsAccountId is a required field
12901	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
12902
12903	// The ID for the dashboard, also added to the IAM policy.
12904	//
12905	// DashboardId is a required field
12906	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
12907
12908	// Options for publishing the dashboard when you create it:
12909	//
12910	//    * AvailabilityStatus for AdHocFilteringOption - This status can be either
12911	//    ENABLED or DISABLED. When this is set to DISABLED, QuickSight disables
12912	//    the left filter pane on the published dashboard, which can be used for
12913	//    ad hoc (one-time) filtering. This option is ENABLED by default.
12914	//
12915	//    * AvailabilityStatus for ExportToCSVOption - This status can be either
12916	//    ENABLED or DISABLED. The visual option to export data to .CSV format isn't
12917	//    enabled when this is set to DISABLED. This option is ENABLED by default.
12918	//
12919	//    * VisibilityState for SheetControlsOption - This visibility state can
12920	//    be either COLLAPSED or EXPANDED. This option is COLLAPSED by default.
12921	DashboardPublishOptions *DashboardPublishOptions `type:"structure"`
12922
12923	// The display name of the dashboard.
12924	//
12925	// Name is a required field
12926	Name *string `min:"1" type:"string" required:"true"`
12927
12928	// The parameters for the creation of the dashboard, which you want to use to
12929	// override the default settings. A dashboard can have any type of parameters,
12930	// and some parameters might accept multiple values.
12931	Parameters *Parameters `type:"structure"`
12932
12933	// A structure that contains the permissions of the dashboard. You can use this
12934	// structure for granting permissions by providing a list of IAM action information
12935	// for each principal ARN.
12936	//
12937	// To specify no permissions, omit the permissions list.
12938	Permissions []*ResourcePermission `min:"1" type:"list"`
12939
12940	// The entity that you are using as a source when you create the dashboard.
12941	// In SourceEntity, you specify the type of object you're using as source. You
12942	// can only create a dashboard from a template, so you use a SourceTemplate
12943	// entity. If you need to create a dashboard from an analysis, first convert
12944	// the analysis to a template by using the CreateTemplate API operation. For
12945	// SourceTemplate, specify the Amazon Resource Name (ARN) of the source template.
12946	// The SourceTemplateARN can contain any AWS Account and any QuickSight-supported
12947	// AWS Region.
12948	//
12949	// Use the DataSetReferences entity within SourceTemplate to list the replacement
12950	// datasets for the placeholders listed in the original. The schema in each
12951	// dataset must match its placeholder.
12952	//
12953	// SourceEntity is a required field
12954	SourceEntity *DashboardSourceEntity `type:"structure" required:"true"`
12955
12956	// Contains a map of the key-value pairs for the resource tag or tags assigned
12957	// to the dashboard.
12958	Tags []*Tag `min:"1" type:"list"`
12959
12960	// The Amazon Resource Name (ARN) of the theme that is being used for this dashboard.
12961	// If you add a value for this field, it overrides the value that is used in
12962	// the source entity. The theme ARN must exist in the same AWS account where
12963	// you create the dashboard.
12964	ThemeArn *string `type:"string"`
12965
12966	// A description for the first version of the dashboard being created.
12967	VersionDescription *string `min:"1" type:"string"`
12968}
12969
12970// String returns the string representation
12971func (s CreateDashboardInput) String() string {
12972	return awsutil.Prettify(s)
12973}
12974
12975// GoString returns the string representation
12976func (s CreateDashboardInput) GoString() string {
12977	return s.String()
12978}
12979
12980// Validate inspects the fields of the type to determine if they are valid.
12981func (s *CreateDashboardInput) Validate() error {
12982	invalidParams := request.ErrInvalidParams{Context: "CreateDashboardInput"}
12983	if s.AwsAccountId == nil {
12984		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
12985	}
12986	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
12987		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
12988	}
12989	if s.DashboardId == nil {
12990		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
12991	}
12992	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
12993		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
12994	}
12995	if s.Name == nil {
12996		invalidParams.Add(request.NewErrParamRequired("Name"))
12997	}
12998	if s.Name != nil && len(*s.Name) < 1 {
12999		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
13000	}
13001	if s.Permissions != nil && len(s.Permissions) < 1 {
13002		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
13003	}
13004	if s.SourceEntity == nil {
13005		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
13006	}
13007	if s.Tags != nil && len(s.Tags) < 1 {
13008		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
13009	}
13010	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
13011		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
13012	}
13013	if s.Parameters != nil {
13014		if err := s.Parameters.Validate(); err != nil {
13015			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
13016		}
13017	}
13018	if s.Permissions != nil {
13019		for i, v := range s.Permissions {
13020			if v == nil {
13021				continue
13022			}
13023			if err := v.Validate(); err != nil {
13024				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
13025			}
13026		}
13027	}
13028	if s.SourceEntity != nil {
13029		if err := s.SourceEntity.Validate(); err != nil {
13030			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
13031		}
13032	}
13033	if s.Tags != nil {
13034		for i, v := range s.Tags {
13035			if v == nil {
13036				continue
13037			}
13038			if err := v.Validate(); err != nil {
13039				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
13040			}
13041		}
13042	}
13043
13044	if invalidParams.Len() > 0 {
13045		return invalidParams
13046	}
13047	return nil
13048}
13049
13050// SetAwsAccountId sets the AwsAccountId field's value.
13051func (s *CreateDashboardInput) SetAwsAccountId(v string) *CreateDashboardInput {
13052	s.AwsAccountId = &v
13053	return s
13054}
13055
13056// SetDashboardId sets the DashboardId field's value.
13057func (s *CreateDashboardInput) SetDashboardId(v string) *CreateDashboardInput {
13058	s.DashboardId = &v
13059	return s
13060}
13061
13062// SetDashboardPublishOptions sets the DashboardPublishOptions field's value.
13063func (s *CreateDashboardInput) SetDashboardPublishOptions(v *DashboardPublishOptions) *CreateDashboardInput {
13064	s.DashboardPublishOptions = v
13065	return s
13066}
13067
13068// SetName sets the Name field's value.
13069func (s *CreateDashboardInput) SetName(v string) *CreateDashboardInput {
13070	s.Name = &v
13071	return s
13072}
13073
13074// SetParameters sets the Parameters field's value.
13075func (s *CreateDashboardInput) SetParameters(v *Parameters) *CreateDashboardInput {
13076	s.Parameters = v
13077	return s
13078}
13079
13080// SetPermissions sets the Permissions field's value.
13081func (s *CreateDashboardInput) SetPermissions(v []*ResourcePermission) *CreateDashboardInput {
13082	s.Permissions = v
13083	return s
13084}
13085
13086// SetSourceEntity sets the SourceEntity field's value.
13087func (s *CreateDashboardInput) SetSourceEntity(v *DashboardSourceEntity) *CreateDashboardInput {
13088	s.SourceEntity = v
13089	return s
13090}
13091
13092// SetTags sets the Tags field's value.
13093func (s *CreateDashboardInput) SetTags(v []*Tag) *CreateDashboardInput {
13094	s.Tags = v
13095	return s
13096}
13097
13098// SetThemeArn sets the ThemeArn field's value.
13099func (s *CreateDashboardInput) SetThemeArn(v string) *CreateDashboardInput {
13100	s.ThemeArn = &v
13101	return s
13102}
13103
13104// SetVersionDescription sets the VersionDescription field's value.
13105func (s *CreateDashboardInput) SetVersionDescription(v string) *CreateDashboardInput {
13106	s.VersionDescription = &v
13107	return s
13108}
13109
13110type CreateDashboardOutput struct {
13111	_ struct{} `type:"structure"`
13112
13113	// The ARN of the dashboard.
13114	Arn *string `type:"string"`
13115
13116	// The status of the dashboard creation request.
13117	CreationStatus *string `type:"string" enum:"ResourceStatus"`
13118
13119	// The ID for the dashboard.
13120	DashboardId *string `min:"1" type:"string"`
13121
13122	// The AWS request ID for this operation.
13123	RequestId *string `type:"string"`
13124
13125	// The HTTP status of the request.
13126	Status *int64 `location:"statusCode" type:"integer"`
13127
13128	// The ARN of the dashboard, including the version number of the first version
13129	// that is created.
13130	VersionArn *string `type:"string"`
13131}
13132
13133// String returns the string representation
13134func (s CreateDashboardOutput) String() string {
13135	return awsutil.Prettify(s)
13136}
13137
13138// GoString returns the string representation
13139func (s CreateDashboardOutput) GoString() string {
13140	return s.String()
13141}
13142
13143// SetArn sets the Arn field's value.
13144func (s *CreateDashboardOutput) SetArn(v string) *CreateDashboardOutput {
13145	s.Arn = &v
13146	return s
13147}
13148
13149// SetCreationStatus sets the CreationStatus field's value.
13150func (s *CreateDashboardOutput) SetCreationStatus(v string) *CreateDashboardOutput {
13151	s.CreationStatus = &v
13152	return s
13153}
13154
13155// SetDashboardId sets the DashboardId field's value.
13156func (s *CreateDashboardOutput) SetDashboardId(v string) *CreateDashboardOutput {
13157	s.DashboardId = &v
13158	return s
13159}
13160
13161// SetRequestId sets the RequestId field's value.
13162func (s *CreateDashboardOutput) SetRequestId(v string) *CreateDashboardOutput {
13163	s.RequestId = &v
13164	return s
13165}
13166
13167// SetStatus sets the Status field's value.
13168func (s *CreateDashboardOutput) SetStatus(v int64) *CreateDashboardOutput {
13169	s.Status = &v
13170	return s
13171}
13172
13173// SetVersionArn sets the VersionArn field's value.
13174func (s *CreateDashboardOutput) SetVersionArn(v string) *CreateDashboardOutput {
13175	s.VersionArn = &v
13176	return s
13177}
13178
13179type CreateDataSetInput struct {
13180	_ struct{} `type:"structure"`
13181
13182	// The AWS account ID.
13183	//
13184	// AwsAccountId is a required field
13185	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
13186
13187	// Groupings of columns that work together in certain QuickSight features. Currently,
13188	// only geospatial hierarchy is supported.
13189	ColumnGroups []*ColumnGroup `min:"1" type:"list"`
13190
13191	// A set of one or more definitions of a ColumnLevelPermissionRule .
13192	ColumnLevelPermissionRules []*ColumnLevelPermissionRule `min:"1" type:"list"`
13193
13194	// An ID for the dataset that you want to create. This ID is unique per AWS
13195	// Region for each AWS account.
13196	//
13197	// DataSetId is a required field
13198	DataSetId *string `type:"string" required:"true"`
13199
13200	// The folder that contains fields and nested subfolders for your dataset.
13201	FieldFolders map[string]*FieldFolder `type:"map"`
13202
13203	// Indicates whether you want to import the data into SPICE.
13204	//
13205	// ImportMode is a required field
13206	ImportMode *string `type:"string" required:"true" enum:"DataSetImportMode"`
13207
13208	// Configures the combination and transformation of the data from the physical
13209	// tables.
13210	LogicalTableMap map[string]*LogicalTable `min:"1" type:"map"`
13211
13212	// The display name for the dataset.
13213	//
13214	// Name is a required field
13215	Name *string `min:"1" type:"string" required:"true"`
13216
13217	// A list of resource permissions on the dataset.
13218	Permissions []*ResourcePermission `min:"1" type:"list"`
13219
13220	// Declares the physical tables that are available in the underlying data sources.
13221	//
13222	// PhysicalTableMap is a required field
13223	PhysicalTableMap map[string]*PhysicalTable `min:"1" type:"map" required:"true"`
13224
13225	// The row-level security configuration for the data that you want to create.
13226	RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"`
13227
13228	// Contains a map of the key-value pairs for the resource tag or tags assigned
13229	// to the dataset.
13230	Tags []*Tag `min:"1" type:"list"`
13231}
13232
13233// String returns the string representation
13234func (s CreateDataSetInput) String() string {
13235	return awsutil.Prettify(s)
13236}
13237
13238// GoString returns the string representation
13239func (s CreateDataSetInput) GoString() string {
13240	return s.String()
13241}
13242
13243// Validate inspects the fields of the type to determine if they are valid.
13244func (s *CreateDataSetInput) Validate() error {
13245	invalidParams := request.ErrInvalidParams{Context: "CreateDataSetInput"}
13246	if s.AwsAccountId == nil {
13247		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
13248	}
13249	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
13250		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
13251	}
13252	if s.ColumnGroups != nil && len(s.ColumnGroups) < 1 {
13253		invalidParams.Add(request.NewErrParamMinLen("ColumnGroups", 1))
13254	}
13255	if s.ColumnLevelPermissionRules != nil && len(s.ColumnLevelPermissionRules) < 1 {
13256		invalidParams.Add(request.NewErrParamMinLen("ColumnLevelPermissionRules", 1))
13257	}
13258	if s.DataSetId == nil {
13259		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
13260	}
13261	if s.ImportMode == nil {
13262		invalidParams.Add(request.NewErrParamRequired("ImportMode"))
13263	}
13264	if s.LogicalTableMap != nil && len(s.LogicalTableMap) < 1 {
13265		invalidParams.Add(request.NewErrParamMinLen("LogicalTableMap", 1))
13266	}
13267	if s.Name == nil {
13268		invalidParams.Add(request.NewErrParamRequired("Name"))
13269	}
13270	if s.Name != nil && len(*s.Name) < 1 {
13271		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
13272	}
13273	if s.Permissions != nil && len(s.Permissions) < 1 {
13274		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
13275	}
13276	if s.PhysicalTableMap == nil {
13277		invalidParams.Add(request.NewErrParamRequired("PhysicalTableMap"))
13278	}
13279	if s.PhysicalTableMap != nil && len(s.PhysicalTableMap) < 1 {
13280		invalidParams.Add(request.NewErrParamMinLen("PhysicalTableMap", 1))
13281	}
13282	if s.Tags != nil && len(s.Tags) < 1 {
13283		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
13284	}
13285	if s.ColumnGroups != nil {
13286		for i, v := range s.ColumnGroups {
13287			if v == nil {
13288				continue
13289			}
13290			if err := v.Validate(); err != nil {
13291				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnGroups", i), err.(request.ErrInvalidParams))
13292			}
13293		}
13294	}
13295	if s.ColumnLevelPermissionRules != nil {
13296		for i, v := range s.ColumnLevelPermissionRules {
13297			if v == nil {
13298				continue
13299			}
13300			if err := v.Validate(); err != nil {
13301				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnLevelPermissionRules", i), err.(request.ErrInvalidParams))
13302			}
13303		}
13304	}
13305	if s.LogicalTableMap != nil {
13306		for i, v := range s.LogicalTableMap {
13307			if v == nil {
13308				continue
13309			}
13310			if err := v.Validate(); err != nil {
13311				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LogicalTableMap", i), err.(request.ErrInvalidParams))
13312			}
13313		}
13314	}
13315	if s.Permissions != nil {
13316		for i, v := range s.Permissions {
13317			if v == nil {
13318				continue
13319			}
13320			if err := v.Validate(); err != nil {
13321				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
13322			}
13323		}
13324	}
13325	if s.PhysicalTableMap != nil {
13326		for i, v := range s.PhysicalTableMap {
13327			if v == nil {
13328				continue
13329			}
13330			if err := v.Validate(); err != nil {
13331				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PhysicalTableMap", i), err.(request.ErrInvalidParams))
13332			}
13333		}
13334	}
13335	if s.RowLevelPermissionDataSet != nil {
13336		if err := s.RowLevelPermissionDataSet.Validate(); err != nil {
13337			invalidParams.AddNested("RowLevelPermissionDataSet", err.(request.ErrInvalidParams))
13338		}
13339	}
13340	if s.Tags != nil {
13341		for i, v := range s.Tags {
13342			if v == nil {
13343				continue
13344			}
13345			if err := v.Validate(); err != nil {
13346				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
13347			}
13348		}
13349	}
13350
13351	if invalidParams.Len() > 0 {
13352		return invalidParams
13353	}
13354	return nil
13355}
13356
13357// SetAwsAccountId sets the AwsAccountId field's value.
13358func (s *CreateDataSetInput) SetAwsAccountId(v string) *CreateDataSetInput {
13359	s.AwsAccountId = &v
13360	return s
13361}
13362
13363// SetColumnGroups sets the ColumnGroups field's value.
13364func (s *CreateDataSetInput) SetColumnGroups(v []*ColumnGroup) *CreateDataSetInput {
13365	s.ColumnGroups = v
13366	return s
13367}
13368
13369// SetColumnLevelPermissionRules sets the ColumnLevelPermissionRules field's value.
13370func (s *CreateDataSetInput) SetColumnLevelPermissionRules(v []*ColumnLevelPermissionRule) *CreateDataSetInput {
13371	s.ColumnLevelPermissionRules = v
13372	return s
13373}
13374
13375// SetDataSetId sets the DataSetId field's value.
13376func (s *CreateDataSetInput) SetDataSetId(v string) *CreateDataSetInput {
13377	s.DataSetId = &v
13378	return s
13379}
13380
13381// SetFieldFolders sets the FieldFolders field's value.
13382func (s *CreateDataSetInput) SetFieldFolders(v map[string]*FieldFolder) *CreateDataSetInput {
13383	s.FieldFolders = v
13384	return s
13385}
13386
13387// SetImportMode sets the ImportMode field's value.
13388func (s *CreateDataSetInput) SetImportMode(v string) *CreateDataSetInput {
13389	s.ImportMode = &v
13390	return s
13391}
13392
13393// SetLogicalTableMap sets the LogicalTableMap field's value.
13394func (s *CreateDataSetInput) SetLogicalTableMap(v map[string]*LogicalTable) *CreateDataSetInput {
13395	s.LogicalTableMap = v
13396	return s
13397}
13398
13399// SetName sets the Name field's value.
13400func (s *CreateDataSetInput) SetName(v string) *CreateDataSetInput {
13401	s.Name = &v
13402	return s
13403}
13404
13405// SetPermissions sets the Permissions field's value.
13406func (s *CreateDataSetInput) SetPermissions(v []*ResourcePermission) *CreateDataSetInput {
13407	s.Permissions = v
13408	return s
13409}
13410
13411// SetPhysicalTableMap sets the PhysicalTableMap field's value.
13412func (s *CreateDataSetInput) SetPhysicalTableMap(v map[string]*PhysicalTable) *CreateDataSetInput {
13413	s.PhysicalTableMap = v
13414	return s
13415}
13416
13417// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value.
13418func (s *CreateDataSetInput) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *CreateDataSetInput {
13419	s.RowLevelPermissionDataSet = v
13420	return s
13421}
13422
13423// SetTags sets the Tags field's value.
13424func (s *CreateDataSetInput) SetTags(v []*Tag) *CreateDataSetInput {
13425	s.Tags = v
13426	return s
13427}
13428
13429type CreateDataSetOutput struct {
13430	_ struct{} `type:"structure"`
13431
13432	// The Amazon Resource Name (ARN) of the dataset.
13433	Arn *string `type:"string"`
13434
13435	// The ID for the dataset that you want to create. This ID is unique per AWS
13436	// Region for each AWS account.
13437	DataSetId *string `type:"string"`
13438
13439	// The ARN for the ingestion, which is triggered as a result of dataset creation
13440	// if the import mode is SPICE.
13441	IngestionArn *string `type:"string"`
13442
13443	// The ID of the ingestion, which is triggered as a result of dataset creation
13444	// if the import mode is SPICE.
13445	IngestionId *string `type:"string"`
13446
13447	// The AWS request ID for this operation.
13448	RequestId *string `type:"string"`
13449
13450	// The HTTP status of the request.
13451	Status *int64 `location:"statusCode" type:"integer"`
13452}
13453
13454// String returns the string representation
13455func (s CreateDataSetOutput) String() string {
13456	return awsutil.Prettify(s)
13457}
13458
13459// GoString returns the string representation
13460func (s CreateDataSetOutput) GoString() string {
13461	return s.String()
13462}
13463
13464// SetArn sets the Arn field's value.
13465func (s *CreateDataSetOutput) SetArn(v string) *CreateDataSetOutput {
13466	s.Arn = &v
13467	return s
13468}
13469
13470// SetDataSetId sets the DataSetId field's value.
13471func (s *CreateDataSetOutput) SetDataSetId(v string) *CreateDataSetOutput {
13472	s.DataSetId = &v
13473	return s
13474}
13475
13476// SetIngestionArn sets the IngestionArn field's value.
13477func (s *CreateDataSetOutput) SetIngestionArn(v string) *CreateDataSetOutput {
13478	s.IngestionArn = &v
13479	return s
13480}
13481
13482// SetIngestionId sets the IngestionId field's value.
13483func (s *CreateDataSetOutput) SetIngestionId(v string) *CreateDataSetOutput {
13484	s.IngestionId = &v
13485	return s
13486}
13487
13488// SetRequestId sets the RequestId field's value.
13489func (s *CreateDataSetOutput) SetRequestId(v string) *CreateDataSetOutput {
13490	s.RequestId = &v
13491	return s
13492}
13493
13494// SetStatus sets the Status field's value.
13495func (s *CreateDataSetOutput) SetStatus(v int64) *CreateDataSetOutput {
13496	s.Status = &v
13497	return s
13498}
13499
13500type CreateDataSourceInput struct {
13501	_ struct{} `type:"structure"`
13502
13503	// The AWS account ID.
13504	//
13505	// AwsAccountId is a required field
13506	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
13507
13508	// The credentials QuickSight that uses to connect to your underlying source.
13509	// Currently, only credentials based on user name and password are supported.
13510	Credentials *DataSourceCredentials `type:"structure" sensitive:"true"`
13511
13512	// An ID for the data source. This ID is unique per AWS Region for each AWS
13513	// account.
13514	//
13515	// DataSourceId is a required field
13516	DataSourceId *string `type:"string" required:"true"`
13517
13518	// The parameters that QuickSight uses to connect to your underlying source.
13519	DataSourceParameters *DataSourceParameters `type:"structure"`
13520
13521	// A display name for the data source.
13522	//
13523	// Name is a required field
13524	Name *string `min:"1" type:"string" required:"true"`
13525
13526	// A list of resource permissions on the data source.
13527	Permissions []*ResourcePermission `min:"1" type:"list"`
13528
13529	// Secure Socket Layer (SSL) properties that apply when QuickSight connects
13530	// to your underlying source.
13531	SslProperties *SslProperties `type:"structure"`
13532
13533	// Contains a map of the key-value pairs for the resource tag or tags assigned
13534	// to the data source.
13535	Tags []*Tag `min:"1" type:"list"`
13536
13537	// The type of the data source. Currently, the supported types for this operation
13538	// are: ATHENA, AURORA, AURORA_POSTGRESQL, AMAZON_ELASTICSEARCH, MARIADB, MYSQL,
13539	// POSTGRESQL, PRESTO, REDSHIFT, S3, SNOWFLAKE, SPARK, SQLSERVER, TERADATA.
13540	// Use ListDataSources to return a list of all data sources.
13541	//
13542	// AMAZON_ELASTICSEARCH is for Amazon managed Elasticsearch Service.
13543	//
13544	// Type is a required field
13545	Type *string `type:"string" required:"true" enum:"DataSourceType"`
13546
13547	// Use this parameter only when you want QuickSight to use a VPC connection
13548	// when connecting to your underlying source.
13549	VpcConnectionProperties *VpcConnectionProperties `type:"structure"`
13550}
13551
13552// String returns the string representation
13553func (s CreateDataSourceInput) String() string {
13554	return awsutil.Prettify(s)
13555}
13556
13557// GoString returns the string representation
13558func (s CreateDataSourceInput) GoString() string {
13559	return s.String()
13560}
13561
13562// Validate inspects the fields of the type to determine if they are valid.
13563func (s *CreateDataSourceInput) Validate() error {
13564	invalidParams := request.ErrInvalidParams{Context: "CreateDataSourceInput"}
13565	if s.AwsAccountId == nil {
13566		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
13567	}
13568	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
13569		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
13570	}
13571	if s.DataSourceId == nil {
13572		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
13573	}
13574	if s.Name == nil {
13575		invalidParams.Add(request.NewErrParamRequired("Name"))
13576	}
13577	if s.Name != nil && len(*s.Name) < 1 {
13578		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
13579	}
13580	if s.Permissions != nil && len(s.Permissions) < 1 {
13581		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
13582	}
13583	if s.Tags != nil && len(s.Tags) < 1 {
13584		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
13585	}
13586	if s.Type == nil {
13587		invalidParams.Add(request.NewErrParamRequired("Type"))
13588	}
13589	if s.Credentials != nil {
13590		if err := s.Credentials.Validate(); err != nil {
13591			invalidParams.AddNested("Credentials", err.(request.ErrInvalidParams))
13592		}
13593	}
13594	if s.DataSourceParameters != nil {
13595		if err := s.DataSourceParameters.Validate(); err != nil {
13596			invalidParams.AddNested("DataSourceParameters", err.(request.ErrInvalidParams))
13597		}
13598	}
13599	if s.Permissions != nil {
13600		for i, v := range s.Permissions {
13601			if v == nil {
13602				continue
13603			}
13604			if err := v.Validate(); err != nil {
13605				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
13606			}
13607		}
13608	}
13609	if s.Tags != nil {
13610		for i, v := range s.Tags {
13611			if v == nil {
13612				continue
13613			}
13614			if err := v.Validate(); err != nil {
13615				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
13616			}
13617		}
13618	}
13619	if s.VpcConnectionProperties != nil {
13620		if err := s.VpcConnectionProperties.Validate(); err != nil {
13621			invalidParams.AddNested("VpcConnectionProperties", err.(request.ErrInvalidParams))
13622		}
13623	}
13624
13625	if invalidParams.Len() > 0 {
13626		return invalidParams
13627	}
13628	return nil
13629}
13630
13631// SetAwsAccountId sets the AwsAccountId field's value.
13632func (s *CreateDataSourceInput) SetAwsAccountId(v string) *CreateDataSourceInput {
13633	s.AwsAccountId = &v
13634	return s
13635}
13636
13637// SetCredentials sets the Credentials field's value.
13638func (s *CreateDataSourceInput) SetCredentials(v *DataSourceCredentials) *CreateDataSourceInput {
13639	s.Credentials = v
13640	return s
13641}
13642
13643// SetDataSourceId sets the DataSourceId field's value.
13644func (s *CreateDataSourceInput) SetDataSourceId(v string) *CreateDataSourceInput {
13645	s.DataSourceId = &v
13646	return s
13647}
13648
13649// SetDataSourceParameters sets the DataSourceParameters field's value.
13650func (s *CreateDataSourceInput) SetDataSourceParameters(v *DataSourceParameters) *CreateDataSourceInput {
13651	s.DataSourceParameters = v
13652	return s
13653}
13654
13655// SetName sets the Name field's value.
13656func (s *CreateDataSourceInput) SetName(v string) *CreateDataSourceInput {
13657	s.Name = &v
13658	return s
13659}
13660
13661// SetPermissions sets the Permissions field's value.
13662func (s *CreateDataSourceInput) SetPermissions(v []*ResourcePermission) *CreateDataSourceInput {
13663	s.Permissions = v
13664	return s
13665}
13666
13667// SetSslProperties sets the SslProperties field's value.
13668func (s *CreateDataSourceInput) SetSslProperties(v *SslProperties) *CreateDataSourceInput {
13669	s.SslProperties = v
13670	return s
13671}
13672
13673// SetTags sets the Tags field's value.
13674func (s *CreateDataSourceInput) SetTags(v []*Tag) *CreateDataSourceInput {
13675	s.Tags = v
13676	return s
13677}
13678
13679// SetType sets the Type field's value.
13680func (s *CreateDataSourceInput) SetType(v string) *CreateDataSourceInput {
13681	s.Type = &v
13682	return s
13683}
13684
13685// SetVpcConnectionProperties sets the VpcConnectionProperties field's value.
13686func (s *CreateDataSourceInput) SetVpcConnectionProperties(v *VpcConnectionProperties) *CreateDataSourceInput {
13687	s.VpcConnectionProperties = v
13688	return s
13689}
13690
13691type CreateDataSourceOutput struct {
13692	_ struct{} `type:"structure"`
13693
13694	// The Amazon Resource Name (ARN) of the data source.
13695	Arn *string `type:"string"`
13696
13697	// The status of creating the data source.
13698	CreationStatus *string `type:"string" enum:"ResourceStatus"`
13699
13700	// The ID of the data source. This ID is unique per AWS Region for each AWS
13701	// account.
13702	DataSourceId *string `type:"string"`
13703
13704	// The AWS request ID for this operation.
13705	RequestId *string `type:"string"`
13706
13707	// The HTTP status of the request.
13708	Status *int64 `location:"statusCode" type:"integer"`
13709}
13710
13711// String returns the string representation
13712func (s CreateDataSourceOutput) String() string {
13713	return awsutil.Prettify(s)
13714}
13715
13716// GoString returns the string representation
13717func (s CreateDataSourceOutput) GoString() string {
13718	return s.String()
13719}
13720
13721// SetArn sets the Arn field's value.
13722func (s *CreateDataSourceOutput) SetArn(v string) *CreateDataSourceOutput {
13723	s.Arn = &v
13724	return s
13725}
13726
13727// SetCreationStatus sets the CreationStatus field's value.
13728func (s *CreateDataSourceOutput) SetCreationStatus(v string) *CreateDataSourceOutput {
13729	s.CreationStatus = &v
13730	return s
13731}
13732
13733// SetDataSourceId sets the DataSourceId field's value.
13734func (s *CreateDataSourceOutput) SetDataSourceId(v string) *CreateDataSourceOutput {
13735	s.DataSourceId = &v
13736	return s
13737}
13738
13739// SetRequestId sets the RequestId field's value.
13740func (s *CreateDataSourceOutput) SetRequestId(v string) *CreateDataSourceOutput {
13741	s.RequestId = &v
13742	return s
13743}
13744
13745// SetStatus sets the Status field's value.
13746func (s *CreateDataSourceOutput) SetStatus(v int64) *CreateDataSourceOutput {
13747	s.Status = &v
13748	return s
13749}
13750
13751// The request object for this operation.
13752type CreateGroupInput struct {
13753	_ struct{} `type:"structure"`
13754
13755	// The ID for the AWS account that the group is in. Currently, you use the ID
13756	// for the AWS account that contains your Amazon QuickSight account.
13757	//
13758	// AwsAccountId is a required field
13759	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
13760
13761	// A description for the group that you want to create.
13762	Description *string `min:"1" type:"string"`
13763
13764	// A name for the group that you want to create.
13765	//
13766	// GroupName is a required field
13767	GroupName *string `min:"1" type:"string" required:"true"`
13768
13769	// The namespace. Currently, you should set this to default.
13770	//
13771	// Namespace is a required field
13772	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
13773}
13774
13775// String returns the string representation
13776func (s CreateGroupInput) String() string {
13777	return awsutil.Prettify(s)
13778}
13779
13780// GoString returns the string representation
13781func (s CreateGroupInput) GoString() string {
13782	return s.String()
13783}
13784
13785// Validate inspects the fields of the type to determine if they are valid.
13786func (s *CreateGroupInput) Validate() error {
13787	invalidParams := request.ErrInvalidParams{Context: "CreateGroupInput"}
13788	if s.AwsAccountId == nil {
13789		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
13790	}
13791	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
13792		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
13793	}
13794	if s.Description != nil && len(*s.Description) < 1 {
13795		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
13796	}
13797	if s.GroupName == nil {
13798		invalidParams.Add(request.NewErrParamRequired("GroupName"))
13799	}
13800	if s.GroupName != nil && len(*s.GroupName) < 1 {
13801		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
13802	}
13803	if s.Namespace == nil {
13804		invalidParams.Add(request.NewErrParamRequired("Namespace"))
13805	}
13806	if s.Namespace != nil && len(*s.Namespace) < 1 {
13807		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
13808	}
13809
13810	if invalidParams.Len() > 0 {
13811		return invalidParams
13812	}
13813	return nil
13814}
13815
13816// SetAwsAccountId sets the AwsAccountId field's value.
13817func (s *CreateGroupInput) SetAwsAccountId(v string) *CreateGroupInput {
13818	s.AwsAccountId = &v
13819	return s
13820}
13821
13822// SetDescription sets the Description field's value.
13823func (s *CreateGroupInput) SetDescription(v string) *CreateGroupInput {
13824	s.Description = &v
13825	return s
13826}
13827
13828// SetGroupName sets the GroupName field's value.
13829func (s *CreateGroupInput) SetGroupName(v string) *CreateGroupInput {
13830	s.GroupName = &v
13831	return s
13832}
13833
13834// SetNamespace sets the Namespace field's value.
13835func (s *CreateGroupInput) SetNamespace(v string) *CreateGroupInput {
13836	s.Namespace = &v
13837	return s
13838}
13839
13840type CreateGroupMembershipInput struct {
13841	_ struct{} `type:"structure"`
13842
13843	// The ID for the AWS account that the group is in. Currently, you use the ID
13844	// for the AWS account that contains your Amazon QuickSight account.
13845	//
13846	// AwsAccountId is a required field
13847	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
13848
13849	// The name of the group that you want to add the user to.
13850	//
13851	// GroupName is a required field
13852	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
13853
13854	// The name of the user that you want to add to the group membership.
13855	//
13856	// MemberName is a required field
13857	MemberName *string `location:"uri" locationName:"MemberName" min:"1" type:"string" required:"true"`
13858
13859	// The namespace. Currently, you should set this to default.
13860	//
13861	// Namespace is a required field
13862	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
13863}
13864
13865// String returns the string representation
13866func (s CreateGroupMembershipInput) String() string {
13867	return awsutil.Prettify(s)
13868}
13869
13870// GoString returns the string representation
13871func (s CreateGroupMembershipInput) GoString() string {
13872	return s.String()
13873}
13874
13875// Validate inspects the fields of the type to determine if they are valid.
13876func (s *CreateGroupMembershipInput) Validate() error {
13877	invalidParams := request.ErrInvalidParams{Context: "CreateGroupMembershipInput"}
13878	if s.AwsAccountId == nil {
13879		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
13880	}
13881	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
13882		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
13883	}
13884	if s.GroupName == nil {
13885		invalidParams.Add(request.NewErrParamRequired("GroupName"))
13886	}
13887	if s.GroupName != nil && len(*s.GroupName) < 1 {
13888		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
13889	}
13890	if s.MemberName == nil {
13891		invalidParams.Add(request.NewErrParamRequired("MemberName"))
13892	}
13893	if s.MemberName != nil && len(*s.MemberName) < 1 {
13894		invalidParams.Add(request.NewErrParamMinLen("MemberName", 1))
13895	}
13896	if s.Namespace == nil {
13897		invalidParams.Add(request.NewErrParamRequired("Namespace"))
13898	}
13899	if s.Namespace != nil && len(*s.Namespace) < 1 {
13900		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
13901	}
13902
13903	if invalidParams.Len() > 0 {
13904		return invalidParams
13905	}
13906	return nil
13907}
13908
13909// SetAwsAccountId sets the AwsAccountId field's value.
13910func (s *CreateGroupMembershipInput) SetAwsAccountId(v string) *CreateGroupMembershipInput {
13911	s.AwsAccountId = &v
13912	return s
13913}
13914
13915// SetGroupName sets the GroupName field's value.
13916func (s *CreateGroupMembershipInput) SetGroupName(v string) *CreateGroupMembershipInput {
13917	s.GroupName = &v
13918	return s
13919}
13920
13921// SetMemberName sets the MemberName field's value.
13922func (s *CreateGroupMembershipInput) SetMemberName(v string) *CreateGroupMembershipInput {
13923	s.MemberName = &v
13924	return s
13925}
13926
13927// SetNamespace sets the Namespace field's value.
13928func (s *CreateGroupMembershipInput) SetNamespace(v string) *CreateGroupMembershipInput {
13929	s.Namespace = &v
13930	return s
13931}
13932
13933type CreateGroupMembershipOutput struct {
13934	_ struct{} `type:"structure"`
13935
13936	// The group member.
13937	GroupMember *GroupMember `type:"structure"`
13938
13939	// The AWS request ID for this operation.
13940	RequestId *string `type:"string"`
13941
13942	// The HTTP status of the request.
13943	Status *int64 `location:"statusCode" type:"integer"`
13944}
13945
13946// String returns the string representation
13947func (s CreateGroupMembershipOutput) String() string {
13948	return awsutil.Prettify(s)
13949}
13950
13951// GoString returns the string representation
13952func (s CreateGroupMembershipOutput) GoString() string {
13953	return s.String()
13954}
13955
13956// SetGroupMember sets the GroupMember field's value.
13957func (s *CreateGroupMembershipOutput) SetGroupMember(v *GroupMember) *CreateGroupMembershipOutput {
13958	s.GroupMember = v
13959	return s
13960}
13961
13962// SetRequestId sets the RequestId field's value.
13963func (s *CreateGroupMembershipOutput) SetRequestId(v string) *CreateGroupMembershipOutput {
13964	s.RequestId = &v
13965	return s
13966}
13967
13968// SetStatus sets the Status field's value.
13969func (s *CreateGroupMembershipOutput) SetStatus(v int64) *CreateGroupMembershipOutput {
13970	s.Status = &v
13971	return s
13972}
13973
13974// The response object for this operation.
13975type CreateGroupOutput struct {
13976	_ struct{} `type:"structure"`
13977
13978	// The name of the group.
13979	Group *Group `type:"structure"`
13980
13981	// The AWS request ID for this operation.
13982	RequestId *string `type:"string"`
13983
13984	// The HTTP status of the request.
13985	Status *int64 `location:"statusCode" type:"integer"`
13986}
13987
13988// String returns the string representation
13989func (s CreateGroupOutput) String() string {
13990	return awsutil.Prettify(s)
13991}
13992
13993// GoString returns the string representation
13994func (s CreateGroupOutput) GoString() string {
13995	return s.String()
13996}
13997
13998// SetGroup sets the Group field's value.
13999func (s *CreateGroupOutput) SetGroup(v *Group) *CreateGroupOutput {
14000	s.Group = v
14001	return s
14002}
14003
14004// SetRequestId sets the RequestId field's value.
14005func (s *CreateGroupOutput) SetRequestId(v string) *CreateGroupOutput {
14006	s.RequestId = &v
14007	return s
14008}
14009
14010// SetStatus sets the Status field's value.
14011func (s *CreateGroupOutput) SetStatus(v int64) *CreateGroupOutput {
14012	s.Status = &v
14013	return s
14014}
14015
14016type CreateIAMPolicyAssignmentInput struct {
14017	_ struct{} `type:"structure"`
14018
14019	// The name of the assignment, also called a rule. It must be unique within
14020	// an AWS account.
14021	//
14022	// AssignmentName is a required field
14023	AssignmentName *string `min:"1" type:"string" required:"true"`
14024
14025	// The status of the assignment. Possible values are as follows:
14026	//
14027	//    * ENABLED - Anything specified in this assignment is used when creating
14028	//    the data source.
14029	//
14030	//    * DISABLED - This assignment isn't used when creating the data source.
14031	//
14032	//    * DRAFT - This assignment is an unfinished draft and isn't used when creating
14033	//    the data source.
14034	//
14035	// AssignmentStatus is a required field
14036	AssignmentStatus *string `type:"string" required:"true" enum:"AssignmentStatus"`
14037
14038	// The ID of the AWS account where you want to assign an IAM policy to QuickSight
14039	// users or groups.
14040	//
14041	// AwsAccountId is a required field
14042	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
14043
14044	// The QuickSight users, groups, or both that you want to assign the policy
14045	// to.
14046	Identities map[string][]*string `type:"map"`
14047
14048	// The namespace that contains the assignment.
14049	//
14050	// Namespace is a required field
14051	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
14052
14053	// The ARN for the IAM policy to apply to the QuickSight users and groups specified
14054	// in this assignment.
14055	PolicyArn *string `type:"string"`
14056}
14057
14058// String returns the string representation
14059func (s CreateIAMPolicyAssignmentInput) String() string {
14060	return awsutil.Prettify(s)
14061}
14062
14063// GoString returns the string representation
14064func (s CreateIAMPolicyAssignmentInput) GoString() string {
14065	return s.String()
14066}
14067
14068// Validate inspects the fields of the type to determine if they are valid.
14069func (s *CreateIAMPolicyAssignmentInput) Validate() error {
14070	invalidParams := request.ErrInvalidParams{Context: "CreateIAMPolicyAssignmentInput"}
14071	if s.AssignmentName == nil {
14072		invalidParams.Add(request.NewErrParamRequired("AssignmentName"))
14073	}
14074	if s.AssignmentName != nil && len(*s.AssignmentName) < 1 {
14075		invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1))
14076	}
14077	if s.AssignmentStatus == nil {
14078		invalidParams.Add(request.NewErrParamRequired("AssignmentStatus"))
14079	}
14080	if s.AwsAccountId == nil {
14081		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
14082	}
14083	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
14084		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
14085	}
14086	if s.Namespace == nil {
14087		invalidParams.Add(request.NewErrParamRequired("Namespace"))
14088	}
14089	if s.Namespace != nil && len(*s.Namespace) < 1 {
14090		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
14091	}
14092
14093	if invalidParams.Len() > 0 {
14094		return invalidParams
14095	}
14096	return nil
14097}
14098
14099// SetAssignmentName sets the AssignmentName field's value.
14100func (s *CreateIAMPolicyAssignmentInput) SetAssignmentName(v string) *CreateIAMPolicyAssignmentInput {
14101	s.AssignmentName = &v
14102	return s
14103}
14104
14105// SetAssignmentStatus sets the AssignmentStatus field's value.
14106func (s *CreateIAMPolicyAssignmentInput) SetAssignmentStatus(v string) *CreateIAMPolicyAssignmentInput {
14107	s.AssignmentStatus = &v
14108	return s
14109}
14110
14111// SetAwsAccountId sets the AwsAccountId field's value.
14112func (s *CreateIAMPolicyAssignmentInput) SetAwsAccountId(v string) *CreateIAMPolicyAssignmentInput {
14113	s.AwsAccountId = &v
14114	return s
14115}
14116
14117// SetIdentities sets the Identities field's value.
14118func (s *CreateIAMPolicyAssignmentInput) SetIdentities(v map[string][]*string) *CreateIAMPolicyAssignmentInput {
14119	s.Identities = v
14120	return s
14121}
14122
14123// SetNamespace sets the Namespace field's value.
14124func (s *CreateIAMPolicyAssignmentInput) SetNamespace(v string) *CreateIAMPolicyAssignmentInput {
14125	s.Namespace = &v
14126	return s
14127}
14128
14129// SetPolicyArn sets the PolicyArn field's value.
14130func (s *CreateIAMPolicyAssignmentInput) SetPolicyArn(v string) *CreateIAMPolicyAssignmentInput {
14131	s.PolicyArn = &v
14132	return s
14133}
14134
14135type CreateIAMPolicyAssignmentOutput struct {
14136	_ struct{} `type:"structure"`
14137
14138	// The ID for the assignment.
14139	AssignmentId *string `type:"string"`
14140
14141	// The name of the assignment. This name must be unique within the AWS account.
14142	AssignmentName *string `min:"1" type:"string"`
14143
14144	// The status of the assignment. Possible values are as follows:
14145	//
14146	//    * ENABLED - Anything specified in this assignment is used when creating
14147	//    the data source.
14148	//
14149	//    * DISABLED - This assignment isn't used when creating the data source.
14150	//
14151	//    * DRAFT - This assignment is an unfinished draft and isn't used when creating
14152	//    the data source.
14153	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
14154
14155	// The QuickSight users, groups, or both that the IAM policy is assigned to.
14156	Identities map[string][]*string `type:"map"`
14157
14158	// The ARN for the IAM policy that is applied to the QuickSight users and groups
14159	// specified in this assignment.
14160	PolicyArn *string `type:"string"`
14161
14162	// The AWS request ID for this operation.
14163	RequestId *string `type:"string"`
14164
14165	// The HTTP status of the request.
14166	Status *int64 `location:"statusCode" type:"integer"`
14167}
14168
14169// String returns the string representation
14170func (s CreateIAMPolicyAssignmentOutput) String() string {
14171	return awsutil.Prettify(s)
14172}
14173
14174// GoString returns the string representation
14175func (s CreateIAMPolicyAssignmentOutput) GoString() string {
14176	return s.String()
14177}
14178
14179// SetAssignmentId sets the AssignmentId field's value.
14180func (s *CreateIAMPolicyAssignmentOutput) SetAssignmentId(v string) *CreateIAMPolicyAssignmentOutput {
14181	s.AssignmentId = &v
14182	return s
14183}
14184
14185// SetAssignmentName sets the AssignmentName field's value.
14186func (s *CreateIAMPolicyAssignmentOutput) SetAssignmentName(v string) *CreateIAMPolicyAssignmentOutput {
14187	s.AssignmentName = &v
14188	return s
14189}
14190
14191// SetAssignmentStatus sets the AssignmentStatus field's value.
14192func (s *CreateIAMPolicyAssignmentOutput) SetAssignmentStatus(v string) *CreateIAMPolicyAssignmentOutput {
14193	s.AssignmentStatus = &v
14194	return s
14195}
14196
14197// SetIdentities sets the Identities field's value.
14198func (s *CreateIAMPolicyAssignmentOutput) SetIdentities(v map[string][]*string) *CreateIAMPolicyAssignmentOutput {
14199	s.Identities = v
14200	return s
14201}
14202
14203// SetPolicyArn sets the PolicyArn field's value.
14204func (s *CreateIAMPolicyAssignmentOutput) SetPolicyArn(v string) *CreateIAMPolicyAssignmentOutput {
14205	s.PolicyArn = &v
14206	return s
14207}
14208
14209// SetRequestId sets the RequestId field's value.
14210func (s *CreateIAMPolicyAssignmentOutput) SetRequestId(v string) *CreateIAMPolicyAssignmentOutput {
14211	s.RequestId = &v
14212	return s
14213}
14214
14215// SetStatus sets the Status field's value.
14216func (s *CreateIAMPolicyAssignmentOutput) SetStatus(v int64) *CreateIAMPolicyAssignmentOutput {
14217	s.Status = &v
14218	return s
14219}
14220
14221type CreateIngestionInput struct {
14222	_ struct{} `type:"structure"`
14223
14224	// The AWS account ID.
14225	//
14226	// AwsAccountId is a required field
14227	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
14228
14229	// The ID of the dataset used in the ingestion.
14230	//
14231	// DataSetId is a required field
14232	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
14233
14234	// An ID for the ingestion.
14235	//
14236	// IngestionId is a required field
14237	IngestionId *string `location:"uri" locationName:"IngestionId" min:"1" type:"string" required:"true"`
14238}
14239
14240// String returns the string representation
14241func (s CreateIngestionInput) String() string {
14242	return awsutil.Prettify(s)
14243}
14244
14245// GoString returns the string representation
14246func (s CreateIngestionInput) GoString() string {
14247	return s.String()
14248}
14249
14250// Validate inspects the fields of the type to determine if they are valid.
14251func (s *CreateIngestionInput) Validate() error {
14252	invalidParams := request.ErrInvalidParams{Context: "CreateIngestionInput"}
14253	if s.AwsAccountId == nil {
14254		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
14255	}
14256	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
14257		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
14258	}
14259	if s.DataSetId == nil {
14260		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
14261	}
14262	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
14263		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
14264	}
14265	if s.IngestionId == nil {
14266		invalidParams.Add(request.NewErrParamRequired("IngestionId"))
14267	}
14268	if s.IngestionId != nil && len(*s.IngestionId) < 1 {
14269		invalidParams.Add(request.NewErrParamMinLen("IngestionId", 1))
14270	}
14271
14272	if invalidParams.Len() > 0 {
14273		return invalidParams
14274	}
14275	return nil
14276}
14277
14278// SetAwsAccountId sets the AwsAccountId field's value.
14279func (s *CreateIngestionInput) SetAwsAccountId(v string) *CreateIngestionInput {
14280	s.AwsAccountId = &v
14281	return s
14282}
14283
14284// SetDataSetId sets the DataSetId field's value.
14285func (s *CreateIngestionInput) SetDataSetId(v string) *CreateIngestionInput {
14286	s.DataSetId = &v
14287	return s
14288}
14289
14290// SetIngestionId sets the IngestionId field's value.
14291func (s *CreateIngestionInput) SetIngestionId(v string) *CreateIngestionInput {
14292	s.IngestionId = &v
14293	return s
14294}
14295
14296type CreateIngestionOutput struct {
14297	_ struct{} `type:"structure"`
14298
14299	// The Amazon Resource Name (ARN) for the data ingestion.
14300	Arn *string `type:"string"`
14301
14302	// An ID for the ingestion.
14303	IngestionId *string `min:"1" type:"string"`
14304
14305	// The ingestion status.
14306	IngestionStatus *string `type:"string" enum:"IngestionStatus"`
14307
14308	// The AWS request ID for this operation.
14309	RequestId *string `type:"string"`
14310
14311	// The HTTP status of the request.
14312	Status *int64 `location:"statusCode" type:"integer"`
14313}
14314
14315// String returns the string representation
14316func (s CreateIngestionOutput) String() string {
14317	return awsutil.Prettify(s)
14318}
14319
14320// GoString returns the string representation
14321func (s CreateIngestionOutput) GoString() string {
14322	return s.String()
14323}
14324
14325// SetArn sets the Arn field's value.
14326func (s *CreateIngestionOutput) SetArn(v string) *CreateIngestionOutput {
14327	s.Arn = &v
14328	return s
14329}
14330
14331// SetIngestionId sets the IngestionId field's value.
14332func (s *CreateIngestionOutput) SetIngestionId(v string) *CreateIngestionOutput {
14333	s.IngestionId = &v
14334	return s
14335}
14336
14337// SetIngestionStatus sets the IngestionStatus field's value.
14338func (s *CreateIngestionOutput) SetIngestionStatus(v string) *CreateIngestionOutput {
14339	s.IngestionStatus = &v
14340	return s
14341}
14342
14343// SetRequestId sets the RequestId field's value.
14344func (s *CreateIngestionOutput) SetRequestId(v string) *CreateIngestionOutput {
14345	s.RequestId = &v
14346	return s
14347}
14348
14349// SetStatus sets the Status field's value.
14350func (s *CreateIngestionOutput) SetStatus(v int64) *CreateIngestionOutput {
14351	s.Status = &v
14352	return s
14353}
14354
14355type CreateNamespaceInput struct {
14356	_ struct{} `type:"structure"`
14357
14358	// The ID for the AWS account that you want to create the QuickSight namespace
14359	// in.
14360	//
14361	// AwsAccountId is a required field
14362	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
14363
14364	// Specifies the type of your user identity directory. Currently, this supports
14365	// users with an identity type of QUICKSIGHT.
14366	//
14367	// IdentityStore is a required field
14368	IdentityStore *string `type:"string" required:"true" enum:"IdentityStore"`
14369
14370	// The name that you want to use to describe the new namespace.
14371	//
14372	// Namespace is a required field
14373	Namespace *string `type:"string" required:"true"`
14374
14375	// The tags that you want to associate with the namespace that you're creating.
14376	Tags []*Tag `min:"1" type:"list"`
14377}
14378
14379// String returns the string representation
14380func (s CreateNamespaceInput) String() string {
14381	return awsutil.Prettify(s)
14382}
14383
14384// GoString returns the string representation
14385func (s CreateNamespaceInput) GoString() string {
14386	return s.String()
14387}
14388
14389// Validate inspects the fields of the type to determine if they are valid.
14390func (s *CreateNamespaceInput) Validate() error {
14391	invalidParams := request.ErrInvalidParams{Context: "CreateNamespaceInput"}
14392	if s.AwsAccountId == nil {
14393		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
14394	}
14395	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
14396		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
14397	}
14398	if s.IdentityStore == nil {
14399		invalidParams.Add(request.NewErrParamRequired("IdentityStore"))
14400	}
14401	if s.Namespace == nil {
14402		invalidParams.Add(request.NewErrParamRequired("Namespace"))
14403	}
14404	if s.Tags != nil && len(s.Tags) < 1 {
14405		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
14406	}
14407	if s.Tags != nil {
14408		for i, v := range s.Tags {
14409			if v == nil {
14410				continue
14411			}
14412			if err := v.Validate(); err != nil {
14413				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
14414			}
14415		}
14416	}
14417
14418	if invalidParams.Len() > 0 {
14419		return invalidParams
14420	}
14421	return nil
14422}
14423
14424// SetAwsAccountId sets the AwsAccountId field's value.
14425func (s *CreateNamespaceInput) SetAwsAccountId(v string) *CreateNamespaceInput {
14426	s.AwsAccountId = &v
14427	return s
14428}
14429
14430// SetIdentityStore sets the IdentityStore field's value.
14431func (s *CreateNamespaceInput) SetIdentityStore(v string) *CreateNamespaceInput {
14432	s.IdentityStore = &v
14433	return s
14434}
14435
14436// SetNamespace sets the Namespace field's value.
14437func (s *CreateNamespaceInput) SetNamespace(v string) *CreateNamespaceInput {
14438	s.Namespace = &v
14439	return s
14440}
14441
14442// SetTags sets the Tags field's value.
14443func (s *CreateNamespaceInput) SetTags(v []*Tag) *CreateNamespaceInput {
14444	s.Tags = v
14445	return s
14446}
14447
14448type CreateNamespaceOutput struct {
14449	_ struct{} `type:"structure"`
14450
14451	// The ARN of the QuickSight namespace you created.
14452	Arn *string `type:"string"`
14453
14454	// The AWS Region that you want to use for the free SPICE capacity for the new
14455	// namespace. This is set to the region that you run CreateNamespace in.
14456	CapacityRegion *string `type:"string"`
14457
14458	// The status of the creation of the namespace. This is an asynchronous process.
14459	// A status of CREATED means that your namespace is ready to use. If an error
14460	// occurs, it indicates if the process is retryable or non-retryable. In the
14461	// case of a non-retryable error, refer to the error message for follow-up tasks.
14462	CreationStatus *string `type:"string" enum:"NamespaceStatus"`
14463
14464	// Specifies the type of your user identity directory. Currently, this supports
14465	// users with an identity type of QUICKSIGHT.
14466	IdentityStore *string `type:"string" enum:"IdentityStore"`
14467
14468	// The name of the new namespace that you created.
14469	Name *string `type:"string"`
14470
14471	// The AWS request ID for this operation.
14472	RequestId *string `type:"string"`
14473
14474	// The HTTP status of the request.
14475	Status *int64 `location:"statusCode" type:"integer"`
14476}
14477
14478// String returns the string representation
14479func (s CreateNamespaceOutput) String() string {
14480	return awsutil.Prettify(s)
14481}
14482
14483// GoString returns the string representation
14484func (s CreateNamespaceOutput) GoString() string {
14485	return s.String()
14486}
14487
14488// SetArn sets the Arn field's value.
14489func (s *CreateNamespaceOutput) SetArn(v string) *CreateNamespaceOutput {
14490	s.Arn = &v
14491	return s
14492}
14493
14494// SetCapacityRegion sets the CapacityRegion field's value.
14495func (s *CreateNamespaceOutput) SetCapacityRegion(v string) *CreateNamespaceOutput {
14496	s.CapacityRegion = &v
14497	return s
14498}
14499
14500// SetCreationStatus sets the CreationStatus field's value.
14501func (s *CreateNamespaceOutput) SetCreationStatus(v string) *CreateNamespaceOutput {
14502	s.CreationStatus = &v
14503	return s
14504}
14505
14506// SetIdentityStore sets the IdentityStore field's value.
14507func (s *CreateNamespaceOutput) SetIdentityStore(v string) *CreateNamespaceOutput {
14508	s.IdentityStore = &v
14509	return s
14510}
14511
14512// SetName sets the Name field's value.
14513func (s *CreateNamespaceOutput) SetName(v string) *CreateNamespaceOutput {
14514	s.Name = &v
14515	return s
14516}
14517
14518// SetRequestId sets the RequestId field's value.
14519func (s *CreateNamespaceOutput) SetRequestId(v string) *CreateNamespaceOutput {
14520	s.RequestId = &v
14521	return s
14522}
14523
14524// SetStatus sets the Status field's value.
14525func (s *CreateNamespaceOutput) SetStatus(v int64) *CreateNamespaceOutput {
14526	s.Status = &v
14527	return s
14528}
14529
14530type CreateTemplateAliasInput struct {
14531	_ struct{} `type:"structure"`
14532
14533	// The name that you want to give to the template alias that you're creating.
14534	// Don't start the alias name with the $ character. Alias names that start with
14535	// $ are reserved by QuickSight.
14536	//
14537	// AliasName is a required field
14538	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
14539
14540	// The ID of the AWS account that contains the template that you creating an
14541	// alias for.
14542	//
14543	// AwsAccountId is a required field
14544	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
14545
14546	// An ID for the template.
14547	//
14548	// TemplateId is a required field
14549	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
14550
14551	// The version number of the template.
14552	//
14553	// TemplateVersionNumber is a required field
14554	TemplateVersionNumber *int64 `min:"1" type:"long" required:"true"`
14555}
14556
14557// String returns the string representation
14558func (s CreateTemplateAliasInput) String() string {
14559	return awsutil.Prettify(s)
14560}
14561
14562// GoString returns the string representation
14563func (s CreateTemplateAliasInput) GoString() string {
14564	return s.String()
14565}
14566
14567// Validate inspects the fields of the type to determine if they are valid.
14568func (s *CreateTemplateAliasInput) Validate() error {
14569	invalidParams := request.ErrInvalidParams{Context: "CreateTemplateAliasInput"}
14570	if s.AliasName == nil {
14571		invalidParams.Add(request.NewErrParamRequired("AliasName"))
14572	}
14573	if s.AliasName != nil && len(*s.AliasName) < 1 {
14574		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
14575	}
14576	if s.AwsAccountId == nil {
14577		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
14578	}
14579	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
14580		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
14581	}
14582	if s.TemplateId == nil {
14583		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
14584	}
14585	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
14586		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
14587	}
14588	if s.TemplateVersionNumber == nil {
14589		invalidParams.Add(request.NewErrParamRequired("TemplateVersionNumber"))
14590	}
14591	if s.TemplateVersionNumber != nil && *s.TemplateVersionNumber < 1 {
14592		invalidParams.Add(request.NewErrParamMinValue("TemplateVersionNumber", 1))
14593	}
14594
14595	if invalidParams.Len() > 0 {
14596		return invalidParams
14597	}
14598	return nil
14599}
14600
14601// SetAliasName sets the AliasName field's value.
14602func (s *CreateTemplateAliasInput) SetAliasName(v string) *CreateTemplateAliasInput {
14603	s.AliasName = &v
14604	return s
14605}
14606
14607// SetAwsAccountId sets the AwsAccountId field's value.
14608func (s *CreateTemplateAliasInput) SetAwsAccountId(v string) *CreateTemplateAliasInput {
14609	s.AwsAccountId = &v
14610	return s
14611}
14612
14613// SetTemplateId sets the TemplateId field's value.
14614func (s *CreateTemplateAliasInput) SetTemplateId(v string) *CreateTemplateAliasInput {
14615	s.TemplateId = &v
14616	return s
14617}
14618
14619// SetTemplateVersionNumber sets the TemplateVersionNumber field's value.
14620func (s *CreateTemplateAliasInput) SetTemplateVersionNumber(v int64) *CreateTemplateAliasInput {
14621	s.TemplateVersionNumber = &v
14622	return s
14623}
14624
14625type CreateTemplateAliasOutput struct {
14626	_ struct{} `type:"structure"`
14627
14628	// The AWS request ID for this operation.
14629	RequestId *string `type:"string"`
14630
14631	// The HTTP status of the request.
14632	Status *int64 `location:"statusCode" type:"integer"`
14633
14634	// Information about the template alias.
14635	TemplateAlias *TemplateAlias `type:"structure"`
14636}
14637
14638// String returns the string representation
14639func (s CreateTemplateAliasOutput) String() string {
14640	return awsutil.Prettify(s)
14641}
14642
14643// GoString returns the string representation
14644func (s CreateTemplateAliasOutput) GoString() string {
14645	return s.String()
14646}
14647
14648// SetRequestId sets the RequestId field's value.
14649func (s *CreateTemplateAliasOutput) SetRequestId(v string) *CreateTemplateAliasOutput {
14650	s.RequestId = &v
14651	return s
14652}
14653
14654// SetStatus sets the Status field's value.
14655func (s *CreateTemplateAliasOutput) SetStatus(v int64) *CreateTemplateAliasOutput {
14656	s.Status = &v
14657	return s
14658}
14659
14660// SetTemplateAlias sets the TemplateAlias field's value.
14661func (s *CreateTemplateAliasOutput) SetTemplateAlias(v *TemplateAlias) *CreateTemplateAliasOutput {
14662	s.TemplateAlias = v
14663	return s
14664}
14665
14666type CreateTemplateInput struct {
14667	_ struct{} `type:"structure"`
14668
14669	// The ID for the AWS account that the group is in. Currently, you use the ID
14670	// for the AWS account that contains your Amazon QuickSight account.
14671	//
14672	// AwsAccountId is a required field
14673	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
14674
14675	// A display name for the template.
14676	Name *string `min:"1" type:"string"`
14677
14678	// A list of resource permissions to be set on the template.
14679	Permissions []*ResourcePermission `min:"1" type:"list"`
14680
14681	// The entity that you are using as a source when you create the template. In
14682	// SourceEntity, you specify the type of object you're using as source: SourceTemplate
14683	// for a template or SourceAnalysis for an analysis. Both of these require an
14684	// Amazon Resource Name (ARN). For SourceTemplate, specify the ARN of the source
14685	// template. For SourceAnalysis, specify the ARN of the source analysis. The
14686	// SourceTemplate ARN can contain any AWS Account and any QuickSight-supported
14687	// AWS Region.
14688	//
14689	// Use the DataSetReferences entity within SourceTemplate or SourceAnalysis
14690	// to list the replacement datasets for the placeholders listed in the original.
14691	// The schema in each dataset must match its placeholder.
14692	//
14693	// SourceEntity is a required field
14694	SourceEntity *TemplateSourceEntity `type:"structure" required:"true"`
14695
14696	// Contains a map of the key-value pairs for the resource tag or tags assigned
14697	// to the resource.
14698	Tags []*Tag `min:"1" type:"list"`
14699
14700	// An ID for the template that you want to create. This template is unique per
14701	// AWS Region in each AWS account.
14702	//
14703	// TemplateId is a required field
14704	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
14705
14706	// A description of the current template version being created. This API operation
14707	// creates the first version of the template. Every time UpdateTemplate is called,
14708	// a new version is created. Each version of the template maintains a description
14709	// of the version in the VersionDescription field.
14710	VersionDescription *string `min:"1" type:"string"`
14711}
14712
14713// String returns the string representation
14714func (s CreateTemplateInput) String() string {
14715	return awsutil.Prettify(s)
14716}
14717
14718// GoString returns the string representation
14719func (s CreateTemplateInput) GoString() string {
14720	return s.String()
14721}
14722
14723// Validate inspects the fields of the type to determine if they are valid.
14724func (s *CreateTemplateInput) Validate() error {
14725	invalidParams := request.ErrInvalidParams{Context: "CreateTemplateInput"}
14726	if s.AwsAccountId == nil {
14727		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
14728	}
14729	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
14730		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
14731	}
14732	if s.Name != nil && len(*s.Name) < 1 {
14733		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
14734	}
14735	if s.Permissions != nil && len(s.Permissions) < 1 {
14736		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
14737	}
14738	if s.SourceEntity == nil {
14739		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
14740	}
14741	if s.Tags != nil && len(s.Tags) < 1 {
14742		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
14743	}
14744	if s.TemplateId == nil {
14745		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
14746	}
14747	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
14748		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
14749	}
14750	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
14751		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
14752	}
14753	if s.Permissions != nil {
14754		for i, v := range s.Permissions {
14755			if v == nil {
14756				continue
14757			}
14758			if err := v.Validate(); err != nil {
14759				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
14760			}
14761		}
14762	}
14763	if s.SourceEntity != nil {
14764		if err := s.SourceEntity.Validate(); err != nil {
14765			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
14766		}
14767	}
14768	if s.Tags != nil {
14769		for i, v := range s.Tags {
14770			if v == nil {
14771				continue
14772			}
14773			if err := v.Validate(); err != nil {
14774				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
14775			}
14776		}
14777	}
14778
14779	if invalidParams.Len() > 0 {
14780		return invalidParams
14781	}
14782	return nil
14783}
14784
14785// SetAwsAccountId sets the AwsAccountId field's value.
14786func (s *CreateTemplateInput) SetAwsAccountId(v string) *CreateTemplateInput {
14787	s.AwsAccountId = &v
14788	return s
14789}
14790
14791// SetName sets the Name field's value.
14792func (s *CreateTemplateInput) SetName(v string) *CreateTemplateInput {
14793	s.Name = &v
14794	return s
14795}
14796
14797// SetPermissions sets the Permissions field's value.
14798func (s *CreateTemplateInput) SetPermissions(v []*ResourcePermission) *CreateTemplateInput {
14799	s.Permissions = v
14800	return s
14801}
14802
14803// SetSourceEntity sets the SourceEntity field's value.
14804func (s *CreateTemplateInput) SetSourceEntity(v *TemplateSourceEntity) *CreateTemplateInput {
14805	s.SourceEntity = v
14806	return s
14807}
14808
14809// SetTags sets the Tags field's value.
14810func (s *CreateTemplateInput) SetTags(v []*Tag) *CreateTemplateInput {
14811	s.Tags = v
14812	return s
14813}
14814
14815// SetTemplateId sets the TemplateId field's value.
14816func (s *CreateTemplateInput) SetTemplateId(v string) *CreateTemplateInput {
14817	s.TemplateId = &v
14818	return s
14819}
14820
14821// SetVersionDescription sets the VersionDescription field's value.
14822func (s *CreateTemplateInput) SetVersionDescription(v string) *CreateTemplateInput {
14823	s.VersionDescription = &v
14824	return s
14825}
14826
14827type CreateTemplateOutput struct {
14828	_ struct{} `type:"structure"`
14829
14830	// The ARN for the template.
14831	Arn *string `type:"string"`
14832
14833	// The template creation status.
14834	CreationStatus *string `type:"string" enum:"ResourceStatus"`
14835
14836	// The AWS request ID for this operation.
14837	RequestId *string `type:"string"`
14838
14839	// The HTTP status of the request.
14840	Status *int64 `location:"statusCode" type:"integer"`
14841
14842	// The ID of the template.
14843	TemplateId *string `min:"1" type:"string"`
14844
14845	// The ARN for the template, including the version information of the first
14846	// version.
14847	VersionArn *string `type:"string"`
14848}
14849
14850// String returns the string representation
14851func (s CreateTemplateOutput) String() string {
14852	return awsutil.Prettify(s)
14853}
14854
14855// GoString returns the string representation
14856func (s CreateTemplateOutput) GoString() string {
14857	return s.String()
14858}
14859
14860// SetArn sets the Arn field's value.
14861func (s *CreateTemplateOutput) SetArn(v string) *CreateTemplateOutput {
14862	s.Arn = &v
14863	return s
14864}
14865
14866// SetCreationStatus sets the CreationStatus field's value.
14867func (s *CreateTemplateOutput) SetCreationStatus(v string) *CreateTemplateOutput {
14868	s.CreationStatus = &v
14869	return s
14870}
14871
14872// SetRequestId sets the RequestId field's value.
14873func (s *CreateTemplateOutput) SetRequestId(v string) *CreateTemplateOutput {
14874	s.RequestId = &v
14875	return s
14876}
14877
14878// SetStatus sets the Status field's value.
14879func (s *CreateTemplateOutput) SetStatus(v int64) *CreateTemplateOutput {
14880	s.Status = &v
14881	return s
14882}
14883
14884// SetTemplateId sets the TemplateId field's value.
14885func (s *CreateTemplateOutput) SetTemplateId(v string) *CreateTemplateOutput {
14886	s.TemplateId = &v
14887	return s
14888}
14889
14890// SetVersionArn sets the VersionArn field's value.
14891func (s *CreateTemplateOutput) SetVersionArn(v string) *CreateTemplateOutput {
14892	s.VersionArn = &v
14893	return s
14894}
14895
14896type CreateThemeAliasInput struct {
14897	_ struct{} `type:"structure"`
14898
14899	// The name that you want to give to the theme alias that you are creating.
14900	// The alias name can't begin with a $. Alias names that start with $ are reserved
14901	// by Amazon QuickSight.
14902	//
14903	// AliasName is a required field
14904	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
14905
14906	// The ID of the AWS account that contains the theme for the new theme alias.
14907	//
14908	// AwsAccountId is a required field
14909	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
14910
14911	// An ID for the theme alias.
14912	//
14913	// ThemeId is a required field
14914	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
14915
14916	// The version number of the theme.
14917	//
14918	// ThemeVersionNumber is a required field
14919	ThemeVersionNumber *int64 `min:"1" type:"long" required:"true"`
14920}
14921
14922// String returns the string representation
14923func (s CreateThemeAliasInput) String() string {
14924	return awsutil.Prettify(s)
14925}
14926
14927// GoString returns the string representation
14928func (s CreateThemeAliasInput) GoString() string {
14929	return s.String()
14930}
14931
14932// Validate inspects the fields of the type to determine if they are valid.
14933func (s *CreateThemeAliasInput) Validate() error {
14934	invalidParams := request.ErrInvalidParams{Context: "CreateThemeAliasInput"}
14935	if s.AliasName == nil {
14936		invalidParams.Add(request.NewErrParamRequired("AliasName"))
14937	}
14938	if s.AliasName != nil && len(*s.AliasName) < 1 {
14939		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
14940	}
14941	if s.AwsAccountId == nil {
14942		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
14943	}
14944	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
14945		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
14946	}
14947	if s.ThemeId == nil {
14948		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
14949	}
14950	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
14951		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
14952	}
14953	if s.ThemeVersionNumber == nil {
14954		invalidParams.Add(request.NewErrParamRequired("ThemeVersionNumber"))
14955	}
14956	if s.ThemeVersionNumber != nil && *s.ThemeVersionNumber < 1 {
14957		invalidParams.Add(request.NewErrParamMinValue("ThemeVersionNumber", 1))
14958	}
14959
14960	if invalidParams.Len() > 0 {
14961		return invalidParams
14962	}
14963	return nil
14964}
14965
14966// SetAliasName sets the AliasName field's value.
14967func (s *CreateThemeAliasInput) SetAliasName(v string) *CreateThemeAliasInput {
14968	s.AliasName = &v
14969	return s
14970}
14971
14972// SetAwsAccountId sets the AwsAccountId field's value.
14973func (s *CreateThemeAliasInput) SetAwsAccountId(v string) *CreateThemeAliasInput {
14974	s.AwsAccountId = &v
14975	return s
14976}
14977
14978// SetThemeId sets the ThemeId field's value.
14979func (s *CreateThemeAliasInput) SetThemeId(v string) *CreateThemeAliasInput {
14980	s.ThemeId = &v
14981	return s
14982}
14983
14984// SetThemeVersionNumber sets the ThemeVersionNumber field's value.
14985func (s *CreateThemeAliasInput) SetThemeVersionNumber(v int64) *CreateThemeAliasInput {
14986	s.ThemeVersionNumber = &v
14987	return s
14988}
14989
14990type CreateThemeAliasOutput struct {
14991	_ struct{} `type:"structure"`
14992
14993	// The AWS request ID for this operation.
14994	RequestId *string `type:"string"`
14995
14996	// The HTTP status of the request.
14997	Status *int64 `location:"statusCode" type:"integer"`
14998
14999	// Information about the theme alias.
15000	ThemeAlias *ThemeAlias `type:"structure"`
15001}
15002
15003// String returns the string representation
15004func (s CreateThemeAliasOutput) String() string {
15005	return awsutil.Prettify(s)
15006}
15007
15008// GoString returns the string representation
15009func (s CreateThemeAliasOutput) GoString() string {
15010	return s.String()
15011}
15012
15013// SetRequestId sets the RequestId field's value.
15014func (s *CreateThemeAliasOutput) SetRequestId(v string) *CreateThemeAliasOutput {
15015	s.RequestId = &v
15016	return s
15017}
15018
15019// SetStatus sets the Status field's value.
15020func (s *CreateThemeAliasOutput) SetStatus(v int64) *CreateThemeAliasOutput {
15021	s.Status = &v
15022	return s
15023}
15024
15025// SetThemeAlias sets the ThemeAlias field's value.
15026func (s *CreateThemeAliasOutput) SetThemeAlias(v *ThemeAlias) *CreateThemeAliasOutput {
15027	s.ThemeAlias = v
15028	return s
15029}
15030
15031type CreateThemeInput struct {
15032	_ struct{} `type:"structure"`
15033
15034	// The ID of the AWS account where you want to store the new theme.
15035	//
15036	// AwsAccountId is a required field
15037	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
15038
15039	// The ID of the theme that a custom theme will inherit from. All themes inherit
15040	// from one of the starting themes defined by Amazon QuickSight. For a list
15041	// of the starting themes, use ListThemes or choose Themes from within a QuickSight
15042	// analysis.
15043	//
15044	// BaseThemeId is a required field
15045	BaseThemeId *string `min:"1" type:"string" required:"true"`
15046
15047	// The theme configuration, which contains the theme display properties.
15048	//
15049	// Configuration is a required field
15050	Configuration *ThemeConfiguration `type:"structure" required:"true"`
15051
15052	// A display name for the theme.
15053	//
15054	// Name is a required field
15055	Name *string `min:"1" type:"string" required:"true"`
15056
15057	// A valid grouping of resource permissions to apply to the new theme.
15058	Permissions []*ResourcePermission `min:"1" type:"list"`
15059
15060	// A map of the key-value pairs for the resource tag or tags that you want to
15061	// add to the resource.
15062	Tags []*Tag `min:"1" type:"list"`
15063
15064	// An ID for the theme that you want to create. The theme ID is unique per AWS
15065	// Region in each AWS account.
15066	//
15067	// ThemeId is a required field
15068	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
15069
15070	// A description of the first version of the theme that you're creating. Every
15071	// time UpdateTheme is called, a new version is created. Each version of the
15072	// theme has a description of the version in the VersionDescription field.
15073	VersionDescription *string `min:"1" type:"string"`
15074}
15075
15076// String returns the string representation
15077func (s CreateThemeInput) String() string {
15078	return awsutil.Prettify(s)
15079}
15080
15081// GoString returns the string representation
15082func (s CreateThemeInput) GoString() string {
15083	return s.String()
15084}
15085
15086// Validate inspects the fields of the type to determine if they are valid.
15087func (s *CreateThemeInput) Validate() error {
15088	invalidParams := request.ErrInvalidParams{Context: "CreateThemeInput"}
15089	if s.AwsAccountId == nil {
15090		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
15091	}
15092	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
15093		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
15094	}
15095	if s.BaseThemeId == nil {
15096		invalidParams.Add(request.NewErrParamRequired("BaseThemeId"))
15097	}
15098	if s.BaseThemeId != nil && len(*s.BaseThemeId) < 1 {
15099		invalidParams.Add(request.NewErrParamMinLen("BaseThemeId", 1))
15100	}
15101	if s.Configuration == nil {
15102		invalidParams.Add(request.NewErrParamRequired("Configuration"))
15103	}
15104	if s.Name == nil {
15105		invalidParams.Add(request.NewErrParamRequired("Name"))
15106	}
15107	if s.Name != nil && len(*s.Name) < 1 {
15108		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
15109	}
15110	if s.Permissions != nil && len(s.Permissions) < 1 {
15111		invalidParams.Add(request.NewErrParamMinLen("Permissions", 1))
15112	}
15113	if s.Tags != nil && len(s.Tags) < 1 {
15114		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
15115	}
15116	if s.ThemeId == nil {
15117		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
15118	}
15119	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
15120		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
15121	}
15122	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
15123		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
15124	}
15125	if s.Permissions != nil {
15126		for i, v := range s.Permissions {
15127			if v == nil {
15128				continue
15129			}
15130			if err := v.Validate(); err != nil {
15131				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Permissions", i), err.(request.ErrInvalidParams))
15132			}
15133		}
15134	}
15135	if s.Tags != nil {
15136		for i, v := range s.Tags {
15137			if v == nil {
15138				continue
15139			}
15140			if err := v.Validate(); err != nil {
15141				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
15142			}
15143		}
15144	}
15145
15146	if invalidParams.Len() > 0 {
15147		return invalidParams
15148	}
15149	return nil
15150}
15151
15152// SetAwsAccountId sets the AwsAccountId field's value.
15153func (s *CreateThemeInput) SetAwsAccountId(v string) *CreateThemeInput {
15154	s.AwsAccountId = &v
15155	return s
15156}
15157
15158// SetBaseThemeId sets the BaseThemeId field's value.
15159func (s *CreateThemeInput) SetBaseThemeId(v string) *CreateThemeInput {
15160	s.BaseThemeId = &v
15161	return s
15162}
15163
15164// SetConfiguration sets the Configuration field's value.
15165func (s *CreateThemeInput) SetConfiguration(v *ThemeConfiguration) *CreateThemeInput {
15166	s.Configuration = v
15167	return s
15168}
15169
15170// SetName sets the Name field's value.
15171func (s *CreateThemeInput) SetName(v string) *CreateThemeInput {
15172	s.Name = &v
15173	return s
15174}
15175
15176// SetPermissions sets the Permissions field's value.
15177func (s *CreateThemeInput) SetPermissions(v []*ResourcePermission) *CreateThemeInput {
15178	s.Permissions = v
15179	return s
15180}
15181
15182// SetTags sets the Tags field's value.
15183func (s *CreateThemeInput) SetTags(v []*Tag) *CreateThemeInput {
15184	s.Tags = v
15185	return s
15186}
15187
15188// SetThemeId sets the ThemeId field's value.
15189func (s *CreateThemeInput) SetThemeId(v string) *CreateThemeInput {
15190	s.ThemeId = &v
15191	return s
15192}
15193
15194// SetVersionDescription sets the VersionDescription field's value.
15195func (s *CreateThemeInput) SetVersionDescription(v string) *CreateThemeInput {
15196	s.VersionDescription = &v
15197	return s
15198}
15199
15200type CreateThemeOutput struct {
15201	_ struct{} `type:"structure"`
15202
15203	// The Amazon Resource Name (ARN) for the theme.
15204	Arn *string `type:"string"`
15205
15206	// The theme creation status.
15207	CreationStatus *string `type:"string" enum:"ResourceStatus"`
15208
15209	// The AWS request ID for this operation.
15210	RequestId *string `type:"string"`
15211
15212	// The HTTP status of the request.
15213	Status *int64 `location:"statusCode" type:"integer"`
15214
15215	// The ID of the theme.
15216	ThemeId *string `min:"1" type:"string"`
15217
15218	// The Amazon Resource Name (ARN) for the new theme.
15219	VersionArn *string `type:"string"`
15220}
15221
15222// String returns the string representation
15223func (s CreateThemeOutput) String() string {
15224	return awsutil.Prettify(s)
15225}
15226
15227// GoString returns the string representation
15228func (s CreateThemeOutput) GoString() string {
15229	return s.String()
15230}
15231
15232// SetArn sets the Arn field's value.
15233func (s *CreateThemeOutput) SetArn(v string) *CreateThemeOutput {
15234	s.Arn = &v
15235	return s
15236}
15237
15238// SetCreationStatus sets the CreationStatus field's value.
15239func (s *CreateThemeOutput) SetCreationStatus(v string) *CreateThemeOutput {
15240	s.CreationStatus = &v
15241	return s
15242}
15243
15244// SetRequestId sets the RequestId field's value.
15245func (s *CreateThemeOutput) SetRequestId(v string) *CreateThemeOutput {
15246	s.RequestId = &v
15247	return s
15248}
15249
15250// SetStatus sets the Status field's value.
15251func (s *CreateThemeOutput) SetStatus(v int64) *CreateThemeOutput {
15252	s.Status = &v
15253	return s
15254}
15255
15256// SetThemeId sets the ThemeId field's value.
15257func (s *CreateThemeOutput) SetThemeId(v string) *CreateThemeOutput {
15258	s.ThemeId = &v
15259	return s
15260}
15261
15262// SetVersionArn sets the VersionArn field's value.
15263func (s *CreateThemeOutput) SetVersionArn(v string) *CreateThemeOutput {
15264	s.VersionArn = &v
15265	return s
15266}
15267
15268// The combination of user name and password that are used as credentials.
15269type CredentialPair struct {
15270	_ struct{} `type:"structure"`
15271
15272	// A set of alternate data source parameters that you want to share for these
15273	// credentials. The credentials are applied in tandem with the data source parameters
15274	// when you copy a data source by using a create or update request. The API
15275	// operation compares the DataSourceParameters structure that's in the request
15276	// with the structures in the AlternateDataSourceParameters allow list. If the
15277	// structures are an exact match, the request is allowed to use the new data
15278	// source with the existing credentials. If the AlternateDataSourceParameters
15279	// list is null, the DataSourceParameters originally used with these Credentials
15280	// is automatically allowed.
15281	AlternateDataSourceParameters []*DataSourceParameters `min:"1" type:"list"`
15282
15283	// Password.
15284	//
15285	// Password is a required field
15286	Password *string `min:"1" type:"string" required:"true"`
15287
15288	// User name.
15289	//
15290	// Username is a required field
15291	Username *string `min:"1" type:"string" required:"true"`
15292}
15293
15294// String returns the string representation
15295func (s CredentialPair) String() string {
15296	return awsutil.Prettify(s)
15297}
15298
15299// GoString returns the string representation
15300func (s CredentialPair) GoString() string {
15301	return s.String()
15302}
15303
15304// Validate inspects the fields of the type to determine if they are valid.
15305func (s *CredentialPair) Validate() error {
15306	invalidParams := request.ErrInvalidParams{Context: "CredentialPair"}
15307	if s.AlternateDataSourceParameters != nil && len(s.AlternateDataSourceParameters) < 1 {
15308		invalidParams.Add(request.NewErrParamMinLen("AlternateDataSourceParameters", 1))
15309	}
15310	if s.Password == nil {
15311		invalidParams.Add(request.NewErrParamRequired("Password"))
15312	}
15313	if s.Password != nil && len(*s.Password) < 1 {
15314		invalidParams.Add(request.NewErrParamMinLen("Password", 1))
15315	}
15316	if s.Username == nil {
15317		invalidParams.Add(request.NewErrParamRequired("Username"))
15318	}
15319	if s.Username != nil && len(*s.Username) < 1 {
15320		invalidParams.Add(request.NewErrParamMinLen("Username", 1))
15321	}
15322	if s.AlternateDataSourceParameters != nil {
15323		for i, v := range s.AlternateDataSourceParameters {
15324			if v == nil {
15325				continue
15326			}
15327			if err := v.Validate(); err != nil {
15328				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AlternateDataSourceParameters", i), err.(request.ErrInvalidParams))
15329			}
15330		}
15331	}
15332
15333	if invalidParams.Len() > 0 {
15334		return invalidParams
15335	}
15336	return nil
15337}
15338
15339// SetAlternateDataSourceParameters sets the AlternateDataSourceParameters field's value.
15340func (s *CredentialPair) SetAlternateDataSourceParameters(v []*DataSourceParameters) *CredentialPair {
15341	s.AlternateDataSourceParameters = v
15342	return s
15343}
15344
15345// SetPassword sets the Password field's value.
15346func (s *CredentialPair) SetPassword(v string) *CredentialPair {
15347	s.Password = &v
15348	return s
15349}
15350
15351// SetUsername sets the Username field's value.
15352func (s *CredentialPair) SetUsername(v string) *CredentialPair {
15353	s.Username = &v
15354	return s
15355}
15356
15357// A physical table type built from the results of the custom SQL query.
15358type CustomSql struct {
15359	_ struct{} `type:"structure"`
15360
15361	// The column schema from the SQL query result set.
15362	Columns []*InputColumn `min:"1" type:"list"`
15363
15364	// The Amazon Resource Name (ARN) of the data source.
15365	//
15366	// DataSourceArn is a required field
15367	DataSourceArn *string `type:"string" required:"true"`
15368
15369	// A display name for the SQL query result.
15370	//
15371	// Name is a required field
15372	Name *string `min:"1" type:"string" required:"true"`
15373
15374	// The SQL query.
15375	//
15376	// SqlQuery is a required field
15377	SqlQuery *string `min:"1" type:"string" required:"true"`
15378}
15379
15380// String returns the string representation
15381func (s CustomSql) String() string {
15382	return awsutil.Prettify(s)
15383}
15384
15385// GoString returns the string representation
15386func (s CustomSql) GoString() string {
15387	return s.String()
15388}
15389
15390// Validate inspects the fields of the type to determine if they are valid.
15391func (s *CustomSql) Validate() error {
15392	invalidParams := request.ErrInvalidParams{Context: "CustomSql"}
15393	if s.Columns != nil && len(s.Columns) < 1 {
15394		invalidParams.Add(request.NewErrParamMinLen("Columns", 1))
15395	}
15396	if s.DataSourceArn == nil {
15397		invalidParams.Add(request.NewErrParamRequired("DataSourceArn"))
15398	}
15399	if s.Name == nil {
15400		invalidParams.Add(request.NewErrParamRequired("Name"))
15401	}
15402	if s.Name != nil && len(*s.Name) < 1 {
15403		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
15404	}
15405	if s.SqlQuery == nil {
15406		invalidParams.Add(request.NewErrParamRequired("SqlQuery"))
15407	}
15408	if s.SqlQuery != nil && len(*s.SqlQuery) < 1 {
15409		invalidParams.Add(request.NewErrParamMinLen("SqlQuery", 1))
15410	}
15411	if s.Columns != nil {
15412		for i, v := range s.Columns {
15413			if v == nil {
15414				continue
15415			}
15416			if err := v.Validate(); err != nil {
15417				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Columns", i), err.(request.ErrInvalidParams))
15418			}
15419		}
15420	}
15421
15422	if invalidParams.Len() > 0 {
15423		return invalidParams
15424	}
15425	return nil
15426}
15427
15428// SetColumns sets the Columns field's value.
15429func (s *CustomSql) SetColumns(v []*InputColumn) *CustomSql {
15430	s.Columns = v
15431	return s
15432}
15433
15434// SetDataSourceArn sets the DataSourceArn field's value.
15435func (s *CustomSql) SetDataSourceArn(v string) *CustomSql {
15436	s.DataSourceArn = &v
15437	return s
15438}
15439
15440// SetName sets the Name field's value.
15441func (s *CustomSql) SetName(v string) *CustomSql {
15442	s.Name = &v
15443	return s
15444}
15445
15446// SetSqlQuery sets the SqlQuery field's value.
15447func (s *CustomSql) SetSqlQuery(v string) *CustomSql {
15448	s.SqlQuery = &v
15449	return s
15450}
15451
15452// Dashboard.
15453type Dashboard struct {
15454	_ struct{} `type:"structure"`
15455
15456	// The Amazon Resource Name (ARN) of the resource.
15457	Arn *string `type:"string"`
15458
15459	// The time that this dataset was created.
15460	CreatedTime *time.Time `type:"timestamp"`
15461
15462	// Dashboard ID.
15463	DashboardId *string `min:"1" type:"string"`
15464
15465	// The last time that this dataset was published.
15466	LastPublishedTime *time.Time `type:"timestamp"`
15467
15468	// The last time that this dataset was updated.
15469	LastUpdatedTime *time.Time `type:"timestamp"`
15470
15471	// A display name for the dashboard.
15472	Name *string `min:"1" type:"string"`
15473
15474	// Version.
15475	Version *DashboardVersion `type:"structure"`
15476}
15477
15478// String returns the string representation
15479func (s Dashboard) String() string {
15480	return awsutil.Prettify(s)
15481}
15482
15483// GoString returns the string representation
15484func (s Dashboard) GoString() string {
15485	return s.String()
15486}
15487
15488// SetArn sets the Arn field's value.
15489func (s *Dashboard) SetArn(v string) *Dashboard {
15490	s.Arn = &v
15491	return s
15492}
15493
15494// SetCreatedTime sets the CreatedTime field's value.
15495func (s *Dashboard) SetCreatedTime(v time.Time) *Dashboard {
15496	s.CreatedTime = &v
15497	return s
15498}
15499
15500// SetDashboardId sets the DashboardId field's value.
15501func (s *Dashboard) SetDashboardId(v string) *Dashboard {
15502	s.DashboardId = &v
15503	return s
15504}
15505
15506// SetLastPublishedTime sets the LastPublishedTime field's value.
15507func (s *Dashboard) SetLastPublishedTime(v time.Time) *Dashboard {
15508	s.LastPublishedTime = &v
15509	return s
15510}
15511
15512// SetLastUpdatedTime sets the LastUpdatedTime field's value.
15513func (s *Dashboard) SetLastUpdatedTime(v time.Time) *Dashboard {
15514	s.LastUpdatedTime = &v
15515	return s
15516}
15517
15518// SetName sets the Name field's value.
15519func (s *Dashboard) SetName(v string) *Dashboard {
15520	s.Name = &v
15521	return s
15522}
15523
15524// SetVersion sets the Version field's value.
15525func (s *Dashboard) SetVersion(v *DashboardVersion) *Dashboard {
15526	s.Version = v
15527	return s
15528}
15529
15530// Dashboard error.
15531type DashboardError struct {
15532	_ struct{} `type:"structure"`
15533
15534	// Message.
15535	Message *string `type:"string"`
15536
15537	// Type.
15538	Type *string `type:"string" enum:"DashboardErrorType"`
15539}
15540
15541// String returns the string representation
15542func (s DashboardError) String() string {
15543	return awsutil.Prettify(s)
15544}
15545
15546// GoString returns the string representation
15547func (s DashboardError) GoString() string {
15548	return s.String()
15549}
15550
15551// SetMessage sets the Message field's value.
15552func (s *DashboardError) SetMessage(v string) *DashboardError {
15553	s.Message = &v
15554	return s
15555}
15556
15557// SetType sets the Type field's value.
15558func (s *DashboardError) SetType(v string) *DashboardError {
15559	s.Type = &v
15560	return s
15561}
15562
15563// Dashboard publish options.
15564type DashboardPublishOptions struct {
15565	_ struct{} `type:"structure"`
15566
15567	// Ad hoc (one-time) filtering option.
15568	AdHocFilteringOption *AdHocFilteringOption `type:"structure"`
15569
15570	// Export to .csv option.
15571	ExportToCSVOption *ExportToCSVOption `type:"structure"`
15572
15573	// Sheet controls option.
15574	SheetControlsOption *SheetControlsOption `type:"structure"`
15575}
15576
15577// String returns the string representation
15578func (s DashboardPublishOptions) String() string {
15579	return awsutil.Prettify(s)
15580}
15581
15582// GoString returns the string representation
15583func (s DashboardPublishOptions) GoString() string {
15584	return s.String()
15585}
15586
15587// SetAdHocFilteringOption sets the AdHocFilteringOption field's value.
15588func (s *DashboardPublishOptions) SetAdHocFilteringOption(v *AdHocFilteringOption) *DashboardPublishOptions {
15589	s.AdHocFilteringOption = v
15590	return s
15591}
15592
15593// SetExportToCSVOption sets the ExportToCSVOption field's value.
15594func (s *DashboardPublishOptions) SetExportToCSVOption(v *ExportToCSVOption) *DashboardPublishOptions {
15595	s.ExportToCSVOption = v
15596	return s
15597}
15598
15599// SetSheetControlsOption sets the SheetControlsOption field's value.
15600func (s *DashboardPublishOptions) SetSheetControlsOption(v *SheetControlsOption) *DashboardPublishOptions {
15601	s.SheetControlsOption = v
15602	return s
15603}
15604
15605// A filter that you apply when searching for dashboards.
15606type DashboardSearchFilter struct {
15607	_ struct{} `type:"structure"`
15608
15609	// The name of the value that you want to use as a filter, for example, "Name":
15610	// "QUICKSIGHT_USER".
15611	Name *string `type:"string" enum:"DashboardFilterAttribute"`
15612
15613	// The comparison operator that you want to use as a filter, for example, "Operator":
15614	// "StringEquals".
15615	//
15616	// Operator is a required field
15617	Operator *string `type:"string" required:"true" enum:"FilterOperator"`
15618
15619	// The value of the named item, in this case QUICKSIGHT_USER, that you want
15620	// to use as a filter, for example, "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1".
15621	Value *string `type:"string"`
15622}
15623
15624// String returns the string representation
15625func (s DashboardSearchFilter) String() string {
15626	return awsutil.Prettify(s)
15627}
15628
15629// GoString returns the string representation
15630func (s DashboardSearchFilter) GoString() string {
15631	return s.String()
15632}
15633
15634// Validate inspects the fields of the type to determine if they are valid.
15635func (s *DashboardSearchFilter) Validate() error {
15636	invalidParams := request.ErrInvalidParams{Context: "DashboardSearchFilter"}
15637	if s.Operator == nil {
15638		invalidParams.Add(request.NewErrParamRequired("Operator"))
15639	}
15640
15641	if invalidParams.Len() > 0 {
15642		return invalidParams
15643	}
15644	return nil
15645}
15646
15647// SetName sets the Name field's value.
15648func (s *DashboardSearchFilter) SetName(v string) *DashboardSearchFilter {
15649	s.Name = &v
15650	return s
15651}
15652
15653// SetOperator sets the Operator field's value.
15654func (s *DashboardSearchFilter) SetOperator(v string) *DashboardSearchFilter {
15655	s.Operator = &v
15656	return s
15657}
15658
15659// SetValue sets the Value field's value.
15660func (s *DashboardSearchFilter) SetValue(v string) *DashboardSearchFilter {
15661	s.Value = &v
15662	return s
15663}
15664
15665// Dashboard source entity.
15666type DashboardSourceEntity struct {
15667	_ struct{} `type:"structure"`
15668
15669	// Source template.
15670	SourceTemplate *DashboardSourceTemplate `type:"structure"`
15671}
15672
15673// String returns the string representation
15674func (s DashboardSourceEntity) String() string {
15675	return awsutil.Prettify(s)
15676}
15677
15678// GoString returns the string representation
15679func (s DashboardSourceEntity) GoString() string {
15680	return s.String()
15681}
15682
15683// Validate inspects the fields of the type to determine if they are valid.
15684func (s *DashboardSourceEntity) Validate() error {
15685	invalidParams := request.ErrInvalidParams{Context: "DashboardSourceEntity"}
15686	if s.SourceTemplate != nil {
15687		if err := s.SourceTemplate.Validate(); err != nil {
15688			invalidParams.AddNested("SourceTemplate", err.(request.ErrInvalidParams))
15689		}
15690	}
15691
15692	if invalidParams.Len() > 0 {
15693		return invalidParams
15694	}
15695	return nil
15696}
15697
15698// SetSourceTemplate sets the SourceTemplate field's value.
15699func (s *DashboardSourceEntity) SetSourceTemplate(v *DashboardSourceTemplate) *DashboardSourceEntity {
15700	s.SourceTemplate = v
15701	return s
15702}
15703
15704// Dashboard source template.
15705type DashboardSourceTemplate struct {
15706	_ struct{} `type:"structure"`
15707
15708	// The Amazon Resource Name (ARN) of the resource.
15709	//
15710	// Arn is a required field
15711	Arn *string `type:"string" required:"true"`
15712
15713	// Dataset references.
15714	//
15715	// DataSetReferences is a required field
15716	DataSetReferences []*DataSetReference `min:"1" type:"list" required:"true"`
15717}
15718
15719// String returns the string representation
15720func (s DashboardSourceTemplate) String() string {
15721	return awsutil.Prettify(s)
15722}
15723
15724// GoString returns the string representation
15725func (s DashboardSourceTemplate) GoString() string {
15726	return s.String()
15727}
15728
15729// Validate inspects the fields of the type to determine if they are valid.
15730func (s *DashboardSourceTemplate) Validate() error {
15731	invalidParams := request.ErrInvalidParams{Context: "DashboardSourceTemplate"}
15732	if s.Arn == nil {
15733		invalidParams.Add(request.NewErrParamRequired("Arn"))
15734	}
15735	if s.DataSetReferences == nil {
15736		invalidParams.Add(request.NewErrParamRequired("DataSetReferences"))
15737	}
15738	if s.DataSetReferences != nil && len(s.DataSetReferences) < 1 {
15739		invalidParams.Add(request.NewErrParamMinLen("DataSetReferences", 1))
15740	}
15741	if s.DataSetReferences != nil {
15742		for i, v := range s.DataSetReferences {
15743			if v == nil {
15744				continue
15745			}
15746			if err := v.Validate(); err != nil {
15747				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSetReferences", i), err.(request.ErrInvalidParams))
15748			}
15749		}
15750	}
15751
15752	if invalidParams.Len() > 0 {
15753		return invalidParams
15754	}
15755	return nil
15756}
15757
15758// SetArn sets the Arn field's value.
15759func (s *DashboardSourceTemplate) SetArn(v string) *DashboardSourceTemplate {
15760	s.Arn = &v
15761	return s
15762}
15763
15764// SetDataSetReferences sets the DataSetReferences field's value.
15765func (s *DashboardSourceTemplate) SetDataSetReferences(v []*DataSetReference) *DashboardSourceTemplate {
15766	s.DataSetReferences = v
15767	return s
15768}
15769
15770// Dashboard summary.
15771type DashboardSummary struct {
15772	_ struct{} `type:"structure"`
15773
15774	// The Amazon Resource Name (ARN) of the resource.
15775	Arn *string `type:"string"`
15776
15777	// The time that this dashboard was created.
15778	CreatedTime *time.Time `type:"timestamp"`
15779
15780	// Dashboard ID.
15781	DashboardId *string `min:"1" type:"string"`
15782
15783	// The last time that this dashboard was published.
15784	LastPublishedTime *time.Time `type:"timestamp"`
15785
15786	// The last time that this dashboard was updated.
15787	LastUpdatedTime *time.Time `type:"timestamp"`
15788
15789	// A display name for the dashboard.
15790	Name *string `min:"1" type:"string"`
15791
15792	// Published version number.
15793	PublishedVersionNumber *int64 `min:"1" type:"long"`
15794}
15795
15796// String returns the string representation
15797func (s DashboardSummary) String() string {
15798	return awsutil.Prettify(s)
15799}
15800
15801// GoString returns the string representation
15802func (s DashboardSummary) GoString() string {
15803	return s.String()
15804}
15805
15806// SetArn sets the Arn field's value.
15807func (s *DashboardSummary) SetArn(v string) *DashboardSummary {
15808	s.Arn = &v
15809	return s
15810}
15811
15812// SetCreatedTime sets the CreatedTime field's value.
15813func (s *DashboardSummary) SetCreatedTime(v time.Time) *DashboardSummary {
15814	s.CreatedTime = &v
15815	return s
15816}
15817
15818// SetDashboardId sets the DashboardId field's value.
15819func (s *DashboardSummary) SetDashboardId(v string) *DashboardSummary {
15820	s.DashboardId = &v
15821	return s
15822}
15823
15824// SetLastPublishedTime sets the LastPublishedTime field's value.
15825func (s *DashboardSummary) SetLastPublishedTime(v time.Time) *DashboardSummary {
15826	s.LastPublishedTime = &v
15827	return s
15828}
15829
15830// SetLastUpdatedTime sets the LastUpdatedTime field's value.
15831func (s *DashboardSummary) SetLastUpdatedTime(v time.Time) *DashboardSummary {
15832	s.LastUpdatedTime = &v
15833	return s
15834}
15835
15836// SetName sets the Name field's value.
15837func (s *DashboardSummary) SetName(v string) *DashboardSummary {
15838	s.Name = &v
15839	return s
15840}
15841
15842// SetPublishedVersionNumber sets the PublishedVersionNumber field's value.
15843func (s *DashboardSummary) SetPublishedVersionNumber(v int64) *DashboardSummary {
15844	s.PublishedVersionNumber = &v
15845	return s
15846}
15847
15848// Dashboard version.
15849type DashboardVersion struct {
15850	_ struct{} `type:"structure"`
15851
15852	// The Amazon Resource Name (ARN) of the resource.
15853	Arn *string `type:"string"`
15854
15855	// The time that this dashboard version was created.
15856	CreatedTime *time.Time `type:"timestamp"`
15857
15858	// The Amazon Resource Numbers (ARNs) for the datasets that are associated with
15859	// this version of the dashboard.
15860	DataSetArns []*string `type:"list"`
15861
15862	// Description.
15863	Description *string `min:"1" type:"string"`
15864
15865	// Errors associated with this dashboard version.
15866	Errors []*DashboardError `min:"1" type:"list"`
15867
15868	// A list of the associated sheets with the unique identifier and name of each
15869	// sheet.
15870	Sheets []*Sheet `type:"list"`
15871
15872	// Source entity ARN.
15873	SourceEntityArn *string `type:"string"`
15874
15875	// The HTTP status of the request.
15876	Status *string `type:"string" enum:"ResourceStatus"`
15877
15878	// The ARN of the theme associated with a version of the dashboard.
15879	ThemeArn *string `type:"string"`
15880
15881	// Version number for this version of the dashboard.
15882	VersionNumber *int64 `min:"1" type:"long"`
15883}
15884
15885// String returns the string representation
15886func (s DashboardVersion) String() string {
15887	return awsutil.Prettify(s)
15888}
15889
15890// GoString returns the string representation
15891func (s DashboardVersion) GoString() string {
15892	return s.String()
15893}
15894
15895// SetArn sets the Arn field's value.
15896func (s *DashboardVersion) SetArn(v string) *DashboardVersion {
15897	s.Arn = &v
15898	return s
15899}
15900
15901// SetCreatedTime sets the CreatedTime field's value.
15902func (s *DashboardVersion) SetCreatedTime(v time.Time) *DashboardVersion {
15903	s.CreatedTime = &v
15904	return s
15905}
15906
15907// SetDataSetArns sets the DataSetArns field's value.
15908func (s *DashboardVersion) SetDataSetArns(v []*string) *DashboardVersion {
15909	s.DataSetArns = v
15910	return s
15911}
15912
15913// SetDescription sets the Description field's value.
15914func (s *DashboardVersion) SetDescription(v string) *DashboardVersion {
15915	s.Description = &v
15916	return s
15917}
15918
15919// SetErrors sets the Errors field's value.
15920func (s *DashboardVersion) SetErrors(v []*DashboardError) *DashboardVersion {
15921	s.Errors = v
15922	return s
15923}
15924
15925// SetSheets sets the Sheets field's value.
15926func (s *DashboardVersion) SetSheets(v []*Sheet) *DashboardVersion {
15927	s.Sheets = v
15928	return s
15929}
15930
15931// SetSourceEntityArn sets the SourceEntityArn field's value.
15932func (s *DashboardVersion) SetSourceEntityArn(v string) *DashboardVersion {
15933	s.SourceEntityArn = &v
15934	return s
15935}
15936
15937// SetStatus sets the Status field's value.
15938func (s *DashboardVersion) SetStatus(v string) *DashboardVersion {
15939	s.Status = &v
15940	return s
15941}
15942
15943// SetThemeArn sets the ThemeArn field's value.
15944func (s *DashboardVersion) SetThemeArn(v string) *DashboardVersion {
15945	s.ThemeArn = &v
15946	return s
15947}
15948
15949// SetVersionNumber sets the VersionNumber field's value.
15950func (s *DashboardVersion) SetVersionNumber(v int64) *DashboardVersion {
15951	s.VersionNumber = &v
15952	return s
15953}
15954
15955// Dashboard version summary.
15956type DashboardVersionSummary struct {
15957	_ struct{} `type:"structure"`
15958
15959	// The Amazon Resource Name (ARN) of the resource.
15960	Arn *string `type:"string"`
15961
15962	// The time that this dashboard version was created.
15963	CreatedTime *time.Time `type:"timestamp"`
15964
15965	// Description.
15966	Description *string `min:"1" type:"string"`
15967
15968	// Source entity ARN.
15969	SourceEntityArn *string `type:"string"`
15970
15971	// The HTTP status of the request.
15972	Status *string `type:"string" enum:"ResourceStatus"`
15973
15974	// Version number.
15975	VersionNumber *int64 `min:"1" type:"long"`
15976}
15977
15978// String returns the string representation
15979func (s DashboardVersionSummary) String() string {
15980	return awsutil.Prettify(s)
15981}
15982
15983// GoString returns the string representation
15984func (s DashboardVersionSummary) GoString() string {
15985	return s.String()
15986}
15987
15988// SetArn sets the Arn field's value.
15989func (s *DashboardVersionSummary) SetArn(v string) *DashboardVersionSummary {
15990	s.Arn = &v
15991	return s
15992}
15993
15994// SetCreatedTime sets the CreatedTime field's value.
15995func (s *DashboardVersionSummary) SetCreatedTime(v time.Time) *DashboardVersionSummary {
15996	s.CreatedTime = &v
15997	return s
15998}
15999
16000// SetDescription sets the Description field's value.
16001func (s *DashboardVersionSummary) SetDescription(v string) *DashboardVersionSummary {
16002	s.Description = &v
16003	return s
16004}
16005
16006// SetSourceEntityArn sets the SourceEntityArn field's value.
16007func (s *DashboardVersionSummary) SetSourceEntityArn(v string) *DashboardVersionSummary {
16008	s.SourceEntityArn = &v
16009	return s
16010}
16011
16012// SetStatus sets the Status field's value.
16013func (s *DashboardVersionSummary) SetStatus(v string) *DashboardVersionSummary {
16014	s.Status = &v
16015	return s
16016}
16017
16018// SetVersionNumber sets the VersionNumber field's value.
16019func (s *DashboardVersionSummary) SetVersionNumber(v int64) *DashboardVersionSummary {
16020	s.VersionNumber = &v
16021	return s
16022}
16023
16024// The theme colors that are used for data colors in charts. The colors description
16025// is a hexadecimal color code that consists of six alphanumerical characters,
16026// prefixed with #, for example #37BFF5.
16027type DataColorPalette struct {
16028	_ struct{} `type:"structure"`
16029
16030	// The hexadecimal codes for the colors.
16031	Colors []*string `type:"list"`
16032
16033	// The hexadecimal code of a color that applies to charts where a lack of data
16034	// is highlighted.
16035	EmptyFillColor *string `type:"string"`
16036
16037	// The minimum and maximum hexadecimal codes that describe a color gradient.
16038	MinMaxGradient []*string `type:"list"`
16039}
16040
16041// String returns the string representation
16042func (s DataColorPalette) String() string {
16043	return awsutil.Prettify(s)
16044}
16045
16046// GoString returns the string representation
16047func (s DataColorPalette) GoString() string {
16048	return s.String()
16049}
16050
16051// SetColors sets the Colors field's value.
16052func (s *DataColorPalette) SetColors(v []*string) *DataColorPalette {
16053	s.Colors = v
16054	return s
16055}
16056
16057// SetEmptyFillColor sets the EmptyFillColor field's value.
16058func (s *DataColorPalette) SetEmptyFillColor(v string) *DataColorPalette {
16059	s.EmptyFillColor = &v
16060	return s
16061}
16062
16063// SetMinMaxGradient sets the MinMaxGradient field's value.
16064func (s *DataColorPalette) SetMinMaxGradient(v []*string) *DataColorPalette {
16065	s.MinMaxGradient = v
16066	return s
16067}
16068
16069// Dataset.
16070type DataSet struct {
16071	_ struct{} `type:"structure"`
16072
16073	// The Amazon Resource Name (ARN) of the resource.
16074	Arn *string `type:"string"`
16075
16076	// Groupings of columns that work together in certain Amazon QuickSight features.
16077	// Currently, only geospatial hierarchy is supported.
16078	ColumnGroups []*ColumnGroup `min:"1" type:"list"`
16079
16080	// A set of one or more definitions of a ColumnLevelPermissionRule .
16081	ColumnLevelPermissionRules []*ColumnLevelPermissionRule `min:"1" type:"list"`
16082
16083	// The amount of SPICE capacity used by this dataset. This is 0 if the dataset
16084	// isn't imported into SPICE.
16085	ConsumedSpiceCapacityInBytes *int64 `type:"long"`
16086
16087	// The time that this dataset was created.
16088	CreatedTime *time.Time `type:"timestamp"`
16089
16090	// The ID of the dataset.
16091	DataSetId *string `type:"string"`
16092
16093	// The folder that contains fields and nested subfolders for your dataset.
16094	FieldFolders map[string]*FieldFolder `type:"map"`
16095
16096	// A value that indicates whether you want to import the data into SPICE.
16097	ImportMode *string `type:"string" enum:"DataSetImportMode"`
16098
16099	// The last time that this dataset was updated.
16100	LastUpdatedTime *time.Time `type:"timestamp"`
16101
16102	// Configures the combination and transformation of the data from the physical
16103	// tables.
16104	LogicalTableMap map[string]*LogicalTable `min:"1" type:"map"`
16105
16106	// A display name for the dataset.
16107	Name *string `min:"1" type:"string"`
16108
16109	// The list of columns after all transforms. These columns are available in
16110	// templates, analyses, and dashboards.
16111	OutputColumns []*OutputColumn `type:"list"`
16112
16113	// Declares the physical tables that are available in the underlying data sources.
16114	PhysicalTableMap map[string]*PhysicalTable `min:"1" type:"map"`
16115
16116	// The row-level security configuration for the dataset.
16117	RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"`
16118}
16119
16120// String returns the string representation
16121func (s DataSet) String() string {
16122	return awsutil.Prettify(s)
16123}
16124
16125// GoString returns the string representation
16126func (s DataSet) GoString() string {
16127	return s.String()
16128}
16129
16130// SetArn sets the Arn field's value.
16131func (s *DataSet) SetArn(v string) *DataSet {
16132	s.Arn = &v
16133	return s
16134}
16135
16136// SetColumnGroups sets the ColumnGroups field's value.
16137func (s *DataSet) SetColumnGroups(v []*ColumnGroup) *DataSet {
16138	s.ColumnGroups = v
16139	return s
16140}
16141
16142// SetColumnLevelPermissionRules sets the ColumnLevelPermissionRules field's value.
16143func (s *DataSet) SetColumnLevelPermissionRules(v []*ColumnLevelPermissionRule) *DataSet {
16144	s.ColumnLevelPermissionRules = v
16145	return s
16146}
16147
16148// SetConsumedSpiceCapacityInBytes sets the ConsumedSpiceCapacityInBytes field's value.
16149func (s *DataSet) SetConsumedSpiceCapacityInBytes(v int64) *DataSet {
16150	s.ConsumedSpiceCapacityInBytes = &v
16151	return s
16152}
16153
16154// SetCreatedTime sets the CreatedTime field's value.
16155func (s *DataSet) SetCreatedTime(v time.Time) *DataSet {
16156	s.CreatedTime = &v
16157	return s
16158}
16159
16160// SetDataSetId sets the DataSetId field's value.
16161func (s *DataSet) SetDataSetId(v string) *DataSet {
16162	s.DataSetId = &v
16163	return s
16164}
16165
16166// SetFieldFolders sets the FieldFolders field's value.
16167func (s *DataSet) SetFieldFolders(v map[string]*FieldFolder) *DataSet {
16168	s.FieldFolders = v
16169	return s
16170}
16171
16172// SetImportMode sets the ImportMode field's value.
16173func (s *DataSet) SetImportMode(v string) *DataSet {
16174	s.ImportMode = &v
16175	return s
16176}
16177
16178// SetLastUpdatedTime sets the LastUpdatedTime field's value.
16179func (s *DataSet) SetLastUpdatedTime(v time.Time) *DataSet {
16180	s.LastUpdatedTime = &v
16181	return s
16182}
16183
16184// SetLogicalTableMap sets the LogicalTableMap field's value.
16185func (s *DataSet) SetLogicalTableMap(v map[string]*LogicalTable) *DataSet {
16186	s.LogicalTableMap = v
16187	return s
16188}
16189
16190// SetName sets the Name field's value.
16191func (s *DataSet) SetName(v string) *DataSet {
16192	s.Name = &v
16193	return s
16194}
16195
16196// SetOutputColumns sets the OutputColumns field's value.
16197func (s *DataSet) SetOutputColumns(v []*OutputColumn) *DataSet {
16198	s.OutputColumns = v
16199	return s
16200}
16201
16202// SetPhysicalTableMap sets the PhysicalTableMap field's value.
16203func (s *DataSet) SetPhysicalTableMap(v map[string]*PhysicalTable) *DataSet {
16204	s.PhysicalTableMap = v
16205	return s
16206}
16207
16208// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value.
16209func (s *DataSet) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *DataSet {
16210	s.RowLevelPermissionDataSet = v
16211	return s
16212}
16213
16214// Dataset configuration.
16215type DataSetConfiguration struct {
16216	_ struct{} `type:"structure"`
16217
16218	// A structure containing the list of column group schemas.
16219	ColumnGroupSchemaList []*ColumnGroupSchema `type:"list"`
16220
16221	// Dataset schema.
16222	DataSetSchema *DataSetSchema `type:"structure"`
16223
16224	// Placeholder.
16225	Placeholder *string `type:"string"`
16226}
16227
16228// String returns the string representation
16229func (s DataSetConfiguration) String() string {
16230	return awsutil.Prettify(s)
16231}
16232
16233// GoString returns the string representation
16234func (s DataSetConfiguration) GoString() string {
16235	return s.String()
16236}
16237
16238// SetColumnGroupSchemaList sets the ColumnGroupSchemaList field's value.
16239func (s *DataSetConfiguration) SetColumnGroupSchemaList(v []*ColumnGroupSchema) *DataSetConfiguration {
16240	s.ColumnGroupSchemaList = v
16241	return s
16242}
16243
16244// SetDataSetSchema sets the DataSetSchema field's value.
16245func (s *DataSetConfiguration) SetDataSetSchema(v *DataSetSchema) *DataSetConfiguration {
16246	s.DataSetSchema = v
16247	return s
16248}
16249
16250// SetPlaceholder sets the Placeholder field's value.
16251func (s *DataSetConfiguration) SetPlaceholder(v string) *DataSetConfiguration {
16252	s.Placeholder = &v
16253	return s
16254}
16255
16256// Dataset reference.
16257type DataSetReference struct {
16258	_ struct{} `type:"structure"`
16259
16260	// Dataset Amazon Resource Name (ARN).
16261	//
16262	// DataSetArn is a required field
16263	DataSetArn *string `type:"string" required:"true"`
16264
16265	// Dataset placeholder.
16266	//
16267	// DataSetPlaceholder is a required field
16268	DataSetPlaceholder *string `type:"string" required:"true"`
16269}
16270
16271// String returns the string representation
16272func (s DataSetReference) String() string {
16273	return awsutil.Prettify(s)
16274}
16275
16276// GoString returns the string representation
16277func (s DataSetReference) GoString() string {
16278	return s.String()
16279}
16280
16281// Validate inspects the fields of the type to determine if they are valid.
16282func (s *DataSetReference) Validate() error {
16283	invalidParams := request.ErrInvalidParams{Context: "DataSetReference"}
16284	if s.DataSetArn == nil {
16285		invalidParams.Add(request.NewErrParamRequired("DataSetArn"))
16286	}
16287	if s.DataSetPlaceholder == nil {
16288		invalidParams.Add(request.NewErrParamRequired("DataSetPlaceholder"))
16289	}
16290
16291	if invalidParams.Len() > 0 {
16292		return invalidParams
16293	}
16294	return nil
16295}
16296
16297// SetDataSetArn sets the DataSetArn field's value.
16298func (s *DataSetReference) SetDataSetArn(v string) *DataSetReference {
16299	s.DataSetArn = &v
16300	return s
16301}
16302
16303// SetDataSetPlaceholder sets the DataSetPlaceholder field's value.
16304func (s *DataSetReference) SetDataSetPlaceholder(v string) *DataSetReference {
16305	s.DataSetPlaceholder = &v
16306	return s
16307}
16308
16309// Dataset schema.
16310type DataSetSchema struct {
16311	_ struct{} `type:"structure"`
16312
16313	// A structure containing the list of column schemas.
16314	ColumnSchemaList []*ColumnSchema `type:"list"`
16315}
16316
16317// String returns the string representation
16318func (s DataSetSchema) String() string {
16319	return awsutil.Prettify(s)
16320}
16321
16322// GoString returns the string representation
16323func (s DataSetSchema) GoString() string {
16324	return s.String()
16325}
16326
16327// SetColumnSchemaList sets the ColumnSchemaList field's value.
16328func (s *DataSetSchema) SetColumnSchemaList(v []*ColumnSchema) *DataSetSchema {
16329	s.ColumnSchemaList = v
16330	return s
16331}
16332
16333// Dataset summary.
16334type DataSetSummary struct {
16335	_ struct{} `type:"structure"`
16336
16337	// The Amazon Resource Name (ARN) of the dataset.
16338	Arn *string `type:"string"`
16339
16340	// A value that indicates if the dataset has column level permission configured.
16341	ColumnLevelPermissionRulesApplied *bool `type:"boolean"`
16342
16343	// The time that this dataset was created.
16344	CreatedTime *time.Time `type:"timestamp"`
16345
16346	// The ID of the dataset.
16347	DataSetId *string `type:"string"`
16348
16349	// A value that indicates whether you want to import the data into SPICE.
16350	ImportMode *string `type:"string" enum:"DataSetImportMode"`
16351
16352	// The last time that this dataset was updated.
16353	LastUpdatedTime *time.Time `type:"timestamp"`
16354
16355	// A display name for the dataset.
16356	Name *string `min:"1" type:"string"`
16357
16358	// The row-level security configuration for the dataset.
16359	RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"`
16360}
16361
16362// String returns the string representation
16363func (s DataSetSummary) String() string {
16364	return awsutil.Prettify(s)
16365}
16366
16367// GoString returns the string representation
16368func (s DataSetSummary) GoString() string {
16369	return s.String()
16370}
16371
16372// SetArn sets the Arn field's value.
16373func (s *DataSetSummary) SetArn(v string) *DataSetSummary {
16374	s.Arn = &v
16375	return s
16376}
16377
16378// SetColumnLevelPermissionRulesApplied sets the ColumnLevelPermissionRulesApplied field's value.
16379func (s *DataSetSummary) SetColumnLevelPermissionRulesApplied(v bool) *DataSetSummary {
16380	s.ColumnLevelPermissionRulesApplied = &v
16381	return s
16382}
16383
16384// SetCreatedTime sets the CreatedTime field's value.
16385func (s *DataSetSummary) SetCreatedTime(v time.Time) *DataSetSummary {
16386	s.CreatedTime = &v
16387	return s
16388}
16389
16390// SetDataSetId sets the DataSetId field's value.
16391func (s *DataSetSummary) SetDataSetId(v string) *DataSetSummary {
16392	s.DataSetId = &v
16393	return s
16394}
16395
16396// SetImportMode sets the ImportMode field's value.
16397func (s *DataSetSummary) SetImportMode(v string) *DataSetSummary {
16398	s.ImportMode = &v
16399	return s
16400}
16401
16402// SetLastUpdatedTime sets the LastUpdatedTime field's value.
16403func (s *DataSetSummary) SetLastUpdatedTime(v time.Time) *DataSetSummary {
16404	s.LastUpdatedTime = &v
16405	return s
16406}
16407
16408// SetName sets the Name field's value.
16409func (s *DataSetSummary) SetName(v string) *DataSetSummary {
16410	s.Name = &v
16411	return s
16412}
16413
16414// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value.
16415func (s *DataSetSummary) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *DataSetSummary {
16416	s.RowLevelPermissionDataSet = v
16417	return s
16418}
16419
16420// The structure of a data source.
16421type DataSource struct {
16422	_ struct{} `type:"structure"`
16423
16424	// A set of alternate data source parameters that you want to share for the
16425	// credentials stored with this data source. The credentials are applied in
16426	// tandem with the data source parameters when you copy a data source by using
16427	// a create or update request. The API operation compares the DataSourceParameters
16428	// structure that's in the request with the structures in the AlternateDataSourceParameters
16429	// allow list. If the structures are an exact match, the request is allowed
16430	// to use the credentials from this existing data source. If the AlternateDataSourceParameters
16431	// list is null, the Credentials originally used with this DataSourceParameters
16432	// are automatically allowed.
16433	AlternateDataSourceParameters []*DataSourceParameters `min:"1" type:"list"`
16434
16435	// The Amazon Resource Name (ARN) of the data source.
16436	Arn *string `type:"string"`
16437
16438	// The time that this data source was created.
16439	CreatedTime *time.Time `type:"timestamp"`
16440
16441	// The ID of the data source. This ID is unique per AWS Region for each AWS
16442	// account.
16443	DataSourceId *string `type:"string"`
16444
16445	// The parameters that Amazon QuickSight uses to connect to your underlying
16446	// source. This is a variant type structure. For this structure to be valid,
16447	// only one of the attributes can be non-null.
16448	DataSourceParameters *DataSourceParameters `type:"structure"`
16449
16450	// Error information from the last update or the creation of the data source.
16451	ErrorInfo *DataSourceErrorInfo `type:"structure"`
16452
16453	// The last time that this data source was updated.
16454	LastUpdatedTime *time.Time `type:"timestamp"`
16455
16456	// A display name for the data source.
16457	Name *string `min:"1" type:"string"`
16458
16459	// Secure Socket Layer (SSL) properties that apply when QuickSight connects
16460	// to your underlying source.
16461	SslProperties *SslProperties `type:"structure"`
16462
16463	// The HTTP status of the request.
16464	Status *string `type:"string" enum:"ResourceStatus"`
16465
16466	// The type of the data source. This type indicates which database engine the
16467	// data source connects to.
16468	Type *string `type:"string" enum:"DataSourceType"`
16469
16470	// The VPC connection information. You need to use this parameter only when
16471	// you want QuickSight to use a VPC connection when connecting to your underlying
16472	// source.
16473	VpcConnectionProperties *VpcConnectionProperties `type:"structure"`
16474}
16475
16476// String returns the string representation
16477func (s DataSource) String() string {
16478	return awsutil.Prettify(s)
16479}
16480
16481// GoString returns the string representation
16482func (s DataSource) GoString() string {
16483	return s.String()
16484}
16485
16486// SetAlternateDataSourceParameters sets the AlternateDataSourceParameters field's value.
16487func (s *DataSource) SetAlternateDataSourceParameters(v []*DataSourceParameters) *DataSource {
16488	s.AlternateDataSourceParameters = v
16489	return s
16490}
16491
16492// SetArn sets the Arn field's value.
16493func (s *DataSource) SetArn(v string) *DataSource {
16494	s.Arn = &v
16495	return s
16496}
16497
16498// SetCreatedTime sets the CreatedTime field's value.
16499func (s *DataSource) SetCreatedTime(v time.Time) *DataSource {
16500	s.CreatedTime = &v
16501	return s
16502}
16503
16504// SetDataSourceId sets the DataSourceId field's value.
16505func (s *DataSource) SetDataSourceId(v string) *DataSource {
16506	s.DataSourceId = &v
16507	return s
16508}
16509
16510// SetDataSourceParameters sets the DataSourceParameters field's value.
16511func (s *DataSource) SetDataSourceParameters(v *DataSourceParameters) *DataSource {
16512	s.DataSourceParameters = v
16513	return s
16514}
16515
16516// SetErrorInfo sets the ErrorInfo field's value.
16517func (s *DataSource) SetErrorInfo(v *DataSourceErrorInfo) *DataSource {
16518	s.ErrorInfo = v
16519	return s
16520}
16521
16522// SetLastUpdatedTime sets the LastUpdatedTime field's value.
16523func (s *DataSource) SetLastUpdatedTime(v time.Time) *DataSource {
16524	s.LastUpdatedTime = &v
16525	return s
16526}
16527
16528// SetName sets the Name field's value.
16529func (s *DataSource) SetName(v string) *DataSource {
16530	s.Name = &v
16531	return s
16532}
16533
16534// SetSslProperties sets the SslProperties field's value.
16535func (s *DataSource) SetSslProperties(v *SslProperties) *DataSource {
16536	s.SslProperties = v
16537	return s
16538}
16539
16540// SetStatus sets the Status field's value.
16541func (s *DataSource) SetStatus(v string) *DataSource {
16542	s.Status = &v
16543	return s
16544}
16545
16546// SetType sets the Type field's value.
16547func (s *DataSource) SetType(v string) *DataSource {
16548	s.Type = &v
16549	return s
16550}
16551
16552// SetVpcConnectionProperties sets the VpcConnectionProperties field's value.
16553func (s *DataSource) SetVpcConnectionProperties(v *VpcConnectionProperties) *DataSource {
16554	s.VpcConnectionProperties = v
16555	return s
16556}
16557
16558// Data source credentials. This is a variant type structure. For this structure
16559// to be valid, only one of the attributes can be non-null.
16560type DataSourceCredentials struct {
16561	_ struct{} `type:"structure" sensitive:"true"`
16562
16563	// The Amazon Resource Name (ARN) of a data source that has the credential pair
16564	// that you want to use. When CopySourceArn is not null, the credential pair
16565	// from the data source in the ARN is used as the credentials for the DataSourceCredentials
16566	// structure.
16567	CopySourceArn *string `type:"string"`
16568
16569	// Credential pair. For more information, see CredentialPair.
16570	CredentialPair *CredentialPair `type:"structure"`
16571}
16572
16573// String returns the string representation
16574func (s DataSourceCredentials) String() string {
16575	return awsutil.Prettify(s)
16576}
16577
16578// GoString returns the string representation
16579func (s DataSourceCredentials) GoString() string {
16580	return s.String()
16581}
16582
16583// Validate inspects the fields of the type to determine if they are valid.
16584func (s *DataSourceCredentials) Validate() error {
16585	invalidParams := request.ErrInvalidParams{Context: "DataSourceCredentials"}
16586	if s.CredentialPair != nil {
16587		if err := s.CredentialPair.Validate(); err != nil {
16588			invalidParams.AddNested("CredentialPair", err.(request.ErrInvalidParams))
16589		}
16590	}
16591
16592	if invalidParams.Len() > 0 {
16593		return invalidParams
16594	}
16595	return nil
16596}
16597
16598// SetCopySourceArn sets the CopySourceArn field's value.
16599func (s *DataSourceCredentials) SetCopySourceArn(v string) *DataSourceCredentials {
16600	s.CopySourceArn = &v
16601	return s
16602}
16603
16604// SetCredentialPair sets the CredentialPair field's value.
16605func (s *DataSourceCredentials) SetCredentialPair(v *CredentialPair) *DataSourceCredentials {
16606	s.CredentialPair = v
16607	return s
16608}
16609
16610// Error information for the data source creation or update.
16611type DataSourceErrorInfo struct {
16612	_ struct{} `type:"structure"`
16613
16614	// Error message.
16615	Message *string `type:"string"`
16616
16617	// Error type.
16618	Type *string `type:"string" enum:"DataSourceErrorInfoType"`
16619}
16620
16621// String returns the string representation
16622func (s DataSourceErrorInfo) String() string {
16623	return awsutil.Prettify(s)
16624}
16625
16626// GoString returns the string representation
16627func (s DataSourceErrorInfo) GoString() string {
16628	return s.String()
16629}
16630
16631// SetMessage sets the Message field's value.
16632func (s *DataSourceErrorInfo) SetMessage(v string) *DataSourceErrorInfo {
16633	s.Message = &v
16634	return s
16635}
16636
16637// SetType sets the Type field's value.
16638func (s *DataSourceErrorInfo) SetType(v string) *DataSourceErrorInfo {
16639	s.Type = &v
16640	return s
16641}
16642
16643// The parameters that Amazon QuickSight uses to connect to your underlying
16644// data source. This is a variant type structure. For this structure to be valid,
16645// only one of the attributes can be non-null.
16646type DataSourceParameters struct {
16647	_ struct{} `type:"structure"`
16648
16649	// Amazon Elasticsearch Service parameters.
16650	AmazonElasticsearchParameters *AmazonElasticsearchParameters `type:"structure"`
16651
16652	// Amazon Athena parameters.
16653	AthenaParameters *AthenaParameters `type:"structure"`
16654
16655	// Amazon Aurora MySQL parameters.
16656	AuroraParameters *AuroraParameters `type:"structure"`
16657
16658	// Aurora PostgreSQL parameters.
16659	AuroraPostgreSqlParameters *AuroraPostgreSqlParameters `type:"structure"`
16660
16661	// AWS IoT Analytics parameters.
16662	AwsIotAnalyticsParameters *AwsIotAnalyticsParameters `type:"structure"`
16663
16664	// Jira parameters.
16665	JiraParameters *JiraParameters `type:"structure"`
16666
16667	// MariaDB parameters.
16668	MariaDbParameters *MariaDbParameters `type:"structure"`
16669
16670	// MySQL parameters.
16671	MySqlParameters *MySqlParameters `type:"structure"`
16672
16673	// Oracle parameters.
16674	OracleParameters *OracleParameters `type:"structure"`
16675
16676	// PostgreSQL parameters.
16677	PostgreSqlParameters *PostgreSqlParameters `type:"structure"`
16678
16679	// Presto parameters.
16680	PrestoParameters *PrestoParameters `type:"structure"`
16681
16682	// Amazon RDS parameters.
16683	RdsParameters *RdsParameters `type:"structure"`
16684
16685	// Amazon Redshift parameters.
16686	RedshiftParameters *RedshiftParameters `type:"structure"`
16687
16688	// S3 parameters.
16689	S3Parameters *S3Parameters `type:"structure"`
16690
16691	// ServiceNow parameters.
16692	ServiceNowParameters *ServiceNowParameters `type:"structure"`
16693
16694	// Snowflake parameters.
16695	SnowflakeParameters *SnowflakeParameters `type:"structure"`
16696
16697	// Spark parameters.
16698	SparkParameters *SparkParameters `type:"structure"`
16699
16700	// SQL Server parameters.
16701	SqlServerParameters *SqlServerParameters `type:"structure"`
16702
16703	// Teradata parameters.
16704	TeradataParameters *TeradataParameters `type:"structure"`
16705
16706	// Twitter parameters.
16707	TwitterParameters *TwitterParameters `type:"structure"`
16708}
16709
16710// String returns the string representation
16711func (s DataSourceParameters) String() string {
16712	return awsutil.Prettify(s)
16713}
16714
16715// GoString returns the string representation
16716func (s DataSourceParameters) GoString() string {
16717	return s.String()
16718}
16719
16720// Validate inspects the fields of the type to determine if they are valid.
16721func (s *DataSourceParameters) Validate() error {
16722	invalidParams := request.ErrInvalidParams{Context: "DataSourceParameters"}
16723	if s.AmazonElasticsearchParameters != nil {
16724		if err := s.AmazonElasticsearchParameters.Validate(); err != nil {
16725			invalidParams.AddNested("AmazonElasticsearchParameters", err.(request.ErrInvalidParams))
16726		}
16727	}
16728	if s.AthenaParameters != nil {
16729		if err := s.AthenaParameters.Validate(); err != nil {
16730			invalidParams.AddNested("AthenaParameters", err.(request.ErrInvalidParams))
16731		}
16732	}
16733	if s.AuroraParameters != nil {
16734		if err := s.AuroraParameters.Validate(); err != nil {
16735			invalidParams.AddNested("AuroraParameters", err.(request.ErrInvalidParams))
16736		}
16737	}
16738	if s.AuroraPostgreSqlParameters != nil {
16739		if err := s.AuroraPostgreSqlParameters.Validate(); err != nil {
16740			invalidParams.AddNested("AuroraPostgreSqlParameters", err.(request.ErrInvalidParams))
16741		}
16742	}
16743	if s.AwsIotAnalyticsParameters != nil {
16744		if err := s.AwsIotAnalyticsParameters.Validate(); err != nil {
16745			invalidParams.AddNested("AwsIotAnalyticsParameters", err.(request.ErrInvalidParams))
16746		}
16747	}
16748	if s.JiraParameters != nil {
16749		if err := s.JiraParameters.Validate(); err != nil {
16750			invalidParams.AddNested("JiraParameters", err.(request.ErrInvalidParams))
16751		}
16752	}
16753	if s.MariaDbParameters != nil {
16754		if err := s.MariaDbParameters.Validate(); err != nil {
16755			invalidParams.AddNested("MariaDbParameters", err.(request.ErrInvalidParams))
16756		}
16757	}
16758	if s.MySqlParameters != nil {
16759		if err := s.MySqlParameters.Validate(); err != nil {
16760			invalidParams.AddNested("MySqlParameters", err.(request.ErrInvalidParams))
16761		}
16762	}
16763	if s.OracleParameters != nil {
16764		if err := s.OracleParameters.Validate(); err != nil {
16765			invalidParams.AddNested("OracleParameters", err.(request.ErrInvalidParams))
16766		}
16767	}
16768	if s.PostgreSqlParameters != nil {
16769		if err := s.PostgreSqlParameters.Validate(); err != nil {
16770			invalidParams.AddNested("PostgreSqlParameters", err.(request.ErrInvalidParams))
16771		}
16772	}
16773	if s.PrestoParameters != nil {
16774		if err := s.PrestoParameters.Validate(); err != nil {
16775			invalidParams.AddNested("PrestoParameters", err.(request.ErrInvalidParams))
16776		}
16777	}
16778	if s.RdsParameters != nil {
16779		if err := s.RdsParameters.Validate(); err != nil {
16780			invalidParams.AddNested("RdsParameters", err.(request.ErrInvalidParams))
16781		}
16782	}
16783	if s.RedshiftParameters != nil {
16784		if err := s.RedshiftParameters.Validate(); err != nil {
16785			invalidParams.AddNested("RedshiftParameters", err.(request.ErrInvalidParams))
16786		}
16787	}
16788	if s.S3Parameters != nil {
16789		if err := s.S3Parameters.Validate(); err != nil {
16790			invalidParams.AddNested("S3Parameters", err.(request.ErrInvalidParams))
16791		}
16792	}
16793	if s.ServiceNowParameters != nil {
16794		if err := s.ServiceNowParameters.Validate(); err != nil {
16795			invalidParams.AddNested("ServiceNowParameters", err.(request.ErrInvalidParams))
16796		}
16797	}
16798	if s.SnowflakeParameters != nil {
16799		if err := s.SnowflakeParameters.Validate(); err != nil {
16800			invalidParams.AddNested("SnowflakeParameters", err.(request.ErrInvalidParams))
16801		}
16802	}
16803	if s.SparkParameters != nil {
16804		if err := s.SparkParameters.Validate(); err != nil {
16805			invalidParams.AddNested("SparkParameters", err.(request.ErrInvalidParams))
16806		}
16807	}
16808	if s.SqlServerParameters != nil {
16809		if err := s.SqlServerParameters.Validate(); err != nil {
16810			invalidParams.AddNested("SqlServerParameters", err.(request.ErrInvalidParams))
16811		}
16812	}
16813	if s.TeradataParameters != nil {
16814		if err := s.TeradataParameters.Validate(); err != nil {
16815			invalidParams.AddNested("TeradataParameters", err.(request.ErrInvalidParams))
16816		}
16817	}
16818	if s.TwitterParameters != nil {
16819		if err := s.TwitterParameters.Validate(); err != nil {
16820			invalidParams.AddNested("TwitterParameters", err.(request.ErrInvalidParams))
16821		}
16822	}
16823
16824	if invalidParams.Len() > 0 {
16825		return invalidParams
16826	}
16827	return nil
16828}
16829
16830// SetAmazonElasticsearchParameters sets the AmazonElasticsearchParameters field's value.
16831func (s *DataSourceParameters) SetAmazonElasticsearchParameters(v *AmazonElasticsearchParameters) *DataSourceParameters {
16832	s.AmazonElasticsearchParameters = v
16833	return s
16834}
16835
16836// SetAthenaParameters sets the AthenaParameters field's value.
16837func (s *DataSourceParameters) SetAthenaParameters(v *AthenaParameters) *DataSourceParameters {
16838	s.AthenaParameters = v
16839	return s
16840}
16841
16842// SetAuroraParameters sets the AuroraParameters field's value.
16843func (s *DataSourceParameters) SetAuroraParameters(v *AuroraParameters) *DataSourceParameters {
16844	s.AuroraParameters = v
16845	return s
16846}
16847
16848// SetAuroraPostgreSqlParameters sets the AuroraPostgreSqlParameters field's value.
16849func (s *DataSourceParameters) SetAuroraPostgreSqlParameters(v *AuroraPostgreSqlParameters) *DataSourceParameters {
16850	s.AuroraPostgreSqlParameters = v
16851	return s
16852}
16853
16854// SetAwsIotAnalyticsParameters sets the AwsIotAnalyticsParameters field's value.
16855func (s *DataSourceParameters) SetAwsIotAnalyticsParameters(v *AwsIotAnalyticsParameters) *DataSourceParameters {
16856	s.AwsIotAnalyticsParameters = v
16857	return s
16858}
16859
16860// SetJiraParameters sets the JiraParameters field's value.
16861func (s *DataSourceParameters) SetJiraParameters(v *JiraParameters) *DataSourceParameters {
16862	s.JiraParameters = v
16863	return s
16864}
16865
16866// SetMariaDbParameters sets the MariaDbParameters field's value.
16867func (s *DataSourceParameters) SetMariaDbParameters(v *MariaDbParameters) *DataSourceParameters {
16868	s.MariaDbParameters = v
16869	return s
16870}
16871
16872// SetMySqlParameters sets the MySqlParameters field's value.
16873func (s *DataSourceParameters) SetMySqlParameters(v *MySqlParameters) *DataSourceParameters {
16874	s.MySqlParameters = v
16875	return s
16876}
16877
16878// SetOracleParameters sets the OracleParameters field's value.
16879func (s *DataSourceParameters) SetOracleParameters(v *OracleParameters) *DataSourceParameters {
16880	s.OracleParameters = v
16881	return s
16882}
16883
16884// SetPostgreSqlParameters sets the PostgreSqlParameters field's value.
16885func (s *DataSourceParameters) SetPostgreSqlParameters(v *PostgreSqlParameters) *DataSourceParameters {
16886	s.PostgreSqlParameters = v
16887	return s
16888}
16889
16890// SetPrestoParameters sets the PrestoParameters field's value.
16891func (s *DataSourceParameters) SetPrestoParameters(v *PrestoParameters) *DataSourceParameters {
16892	s.PrestoParameters = v
16893	return s
16894}
16895
16896// SetRdsParameters sets the RdsParameters field's value.
16897func (s *DataSourceParameters) SetRdsParameters(v *RdsParameters) *DataSourceParameters {
16898	s.RdsParameters = v
16899	return s
16900}
16901
16902// SetRedshiftParameters sets the RedshiftParameters field's value.
16903func (s *DataSourceParameters) SetRedshiftParameters(v *RedshiftParameters) *DataSourceParameters {
16904	s.RedshiftParameters = v
16905	return s
16906}
16907
16908// SetS3Parameters sets the S3Parameters field's value.
16909func (s *DataSourceParameters) SetS3Parameters(v *S3Parameters) *DataSourceParameters {
16910	s.S3Parameters = v
16911	return s
16912}
16913
16914// SetServiceNowParameters sets the ServiceNowParameters field's value.
16915func (s *DataSourceParameters) SetServiceNowParameters(v *ServiceNowParameters) *DataSourceParameters {
16916	s.ServiceNowParameters = v
16917	return s
16918}
16919
16920// SetSnowflakeParameters sets the SnowflakeParameters field's value.
16921func (s *DataSourceParameters) SetSnowflakeParameters(v *SnowflakeParameters) *DataSourceParameters {
16922	s.SnowflakeParameters = v
16923	return s
16924}
16925
16926// SetSparkParameters sets the SparkParameters field's value.
16927func (s *DataSourceParameters) SetSparkParameters(v *SparkParameters) *DataSourceParameters {
16928	s.SparkParameters = v
16929	return s
16930}
16931
16932// SetSqlServerParameters sets the SqlServerParameters field's value.
16933func (s *DataSourceParameters) SetSqlServerParameters(v *SqlServerParameters) *DataSourceParameters {
16934	s.SqlServerParameters = v
16935	return s
16936}
16937
16938// SetTeradataParameters sets the TeradataParameters field's value.
16939func (s *DataSourceParameters) SetTeradataParameters(v *TeradataParameters) *DataSourceParameters {
16940	s.TeradataParameters = v
16941	return s
16942}
16943
16944// SetTwitterParameters sets the TwitterParameters field's value.
16945func (s *DataSourceParameters) SetTwitterParameters(v *TwitterParameters) *DataSourceParameters {
16946	s.TwitterParameters = v
16947	return s
16948}
16949
16950// A date-time parameter.
16951type DateTimeParameter struct {
16952	_ struct{} `type:"structure"`
16953
16954	// A display name for the date-time parameter.
16955	//
16956	// Name is a required field
16957	Name *string `type:"string" required:"true"`
16958
16959	// The values for the date-time parameter.
16960	//
16961	// Values is a required field
16962	Values []*time.Time `type:"list" required:"true"`
16963}
16964
16965// String returns the string representation
16966func (s DateTimeParameter) String() string {
16967	return awsutil.Prettify(s)
16968}
16969
16970// GoString returns the string representation
16971func (s DateTimeParameter) GoString() string {
16972	return s.String()
16973}
16974
16975// Validate inspects the fields of the type to determine if they are valid.
16976func (s *DateTimeParameter) Validate() error {
16977	invalidParams := request.ErrInvalidParams{Context: "DateTimeParameter"}
16978	if s.Name == nil {
16979		invalidParams.Add(request.NewErrParamRequired("Name"))
16980	}
16981	if s.Values == nil {
16982		invalidParams.Add(request.NewErrParamRequired("Values"))
16983	}
16984
16985	if invalidParams.Len() > 0 {
16986		return invalidParams
16987	}
16988	return nil
16989}
16990
16991// SetName sets the Name field's value.
16992func (s *DateTimeParameter) SetName(v string) *DateTimeParameter {
16993	s.Name = &v
16994	return s
16995}
16996
16997// SetValues sets the Values field's value.
16998func (s *DateTimeParameter) SetValues(v []*time.Time) *DateTimeParameter {
16999	s.Values = v
17000	return s
17001}
17002
17003// A decimal parameter.
17004type DecimalParameter struct {
17005	_ struct{} `type:"structure"`
17006
17007	// A display name for the decimal parameter.
17008	//
17009	// Name is a required field
17010	Name *string `type:"string" required:"true"`
17011
17012	// The values for the decimal parameter.
17013	//
17014	// Values is a required field
17015	Values []*float64 `type:"list" required:"true"`
17016}
17017
17018// String returns the string representation
17019func (s DecimalParameter) String() string {
17020	return awsutil.Prettify(s)
17021}
17022
17023// GoString returns the string representation
17024func (s DecimalParameter) GoString() string {
17025	return s.String()
17026}
17027
17028// Validate inspects the fields of the type to determine if they are valid.
17029func (s *DecimalParameter) Validate() error {
17030	invalidParams := request.ErrInvalidParams{Context: "DecimalParameter"}
17031	if s.Name == nil {
17032		invalidParams.Add(request.NewErrParamRequired("Name"))
17033	}
17034	if s.Values == nil {
17035		invalidParams.Add(request.NewErrParamRequired("Values"))
17036	}
17037
17038	if invalidParams.Len() > 0 {
17039		return invalidParams
17040	}
17041	return nil
17042}
17043
17044// SetName sets the Name field's value.
17045func (s *DecimalParameter) SetName(v string) *DecimalParameter {
17046	s.Name = &v
17047	return s
17048}
17049
17050// SetValues sets the Values field's value.
17051func (s *DecimalParameter) SetValues(v []*float64) *DecimalParameter {
17052	s.Values = v
17053	return s
17054}
17055
17056type DeleteAccountCustomizationInput struct {
17057	_ struct{} `type:"structure"`
17058
17059	// The ID for the AWS account that you want to delete QuickSight customizations
17060	// from in this AWS Region.
17061	//
17062	// AwsAccountId is a required field
17063	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
17064
17065	// The QuickSight namespace that you're deleting the customizations from.
17066	Namespace *string `location:"querystring" locationName:"namespace" type:"string"`
17067}
17068
17069// String returns the string representation
17070func (s DeleteAccountCustomizationInput) String() string {
17071	return awsutil.Prettify(s)
17072}
17073
17074// GoString returns the string representation
17075func (s DeleteAccountCustomizationInput) GoString() string {
17076	return s.String()
17077}
17078
17079// Validate inspects the fields of the type to determine if they are valid.
17080func (s *DeleteAccountCustomizationInput) Validate() error {
17081	invalidParams := request.ErrInvalidParams{Context: "DeleteAccountCustomizationInput"}
17082	if s.AwsAccountId == nil {
17083		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
17084	}
17085	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
17086		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
17087	}
17088
17089	if invalidParams.Len() > 0 {
17090		return invalidParams
17091	}
17092	return nil
17093}
17094
17095// SetAwsAccountId sets the AwsAccountId field's value.
17096func (s *DeleteAccountCustomizationInput) SetAwsAccountId(v string) *DeleteAccountCustomizationInput {
17097	s.AwsAccountId = &v
17098	return s
17099}
17100
17101// SetNamespace sets the Namespace field's value.
17102func (s *DeleteAccountCustomizationInput) SetNamespace(v string) *DeleteAccountCustomizationInput {
17103	s.Namespace = &v
17104	return s
17105}
17106
17107type DeleteAccountCustomizationOutput struct {
17108	_ struct{} `type:"structure"`
17109
17110	// The AWS request ID for this operation.
17111	RequestId *string `type:"string"`
17112
17113	// The HTTP status of the request.
17114	Status *int64 `location:"statusCode" type:"integer"`
17115}
17116
17117// String returns the string representation
17118func (s DeleteAccountCustomizationOutput) String() string {
17119	return awsutil.Prettify(s)
17120}
17121
17122// GoString returns the string representation
17123func (s DeleteAccountCustomizationOutput) GoString() string {
17124	return s.String()
17125}
17126
17127// SetRequestId sets the RequestId field's value.
17128func (s *DeleteAccountCustomizationOutput) SetRequestId(v string) *DeleteAccountCustomizationOutput {
17129	s.RequestId = &v
17130	return s
17131}
17132
17133// SetStatus sets the Status field's value.
17134func (s *DeleteAccountCustomizationOutput) SetStatus(v int64) *DeleteAccountCustomizationOutput {
17135	s.Status = &v
17136	return s
17137}
17138
17139type DeleteAnalysisInput struct {
17140	_ struct{} `type:"structure"`
17141
17142	// The ID of the analysis that you're deleting.
17143	//
17144	// AnalysisId is a required field
17145	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
17146
17147	// The ID of the AWS account where you want to delete an analysis.
17148	//
17149	// AwsAccountId is a required field
17150	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
17151
17152	// This option defaults to the value NoForceDeleteWithoutRecovery. To immediately
17153	// delete the analysis, add the ForceDeleteWithoutRecovery option. You can't
17154	// restore an analysis after it's deleted.
17155	ForceDeleteWithoutRecovery *bool `location:"querystring" locationName:"force-delete-without-recovery" type:"boolean"`
17156
17157	// A value that specifies the number of days that QuickSight waits before it
17158	// deletes the analysis. You can't use this parameter with the ForceDeleteWithoutRecovery
17159	// option in the same API call. The default value is 30.
17160	RecoveryWindowInDays *int64 `location:"querystring" locationName:"recovery-window-in-days" min:"7" type:"long"`
17161}
17162
17163// String returns the string representation
17164func (s DeleteAnalysisInput) String() string {
17165	return awsutil.Prettify(s)
17166}
17167
17168// GoString returns the string representation
17169func (s DeleteAnalysisInput) GoString() string {
17170	return s.String()
17171}
17172
17173// Validate inspects the fields of the type to determine if they are valid.
17174func (s *DeleteAnalysisInput) Validate() error {
17175	invalidParams := request.ErrInvalidParams{Context: "DeleteAnalysisInput"}
17176	if s.AnalysisId == nil {
17177		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
17178	}
17179	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
17180		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
17181	}
17182	if s.AwsAccountId == nil {
17183		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
17184	}
17185	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
17186		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
17187	}
17188	if s.RecoveryWindowInDays != nil && *s.RecoveryWindowInDays < 7 {
17189		invalidParams.Add(request.NewErrParamMinValue("RecoveryWindowInDays", 7))
17190	}
17191
17192	if invalidParams.Len() > 0 {
17193		return invalidParams
17194	}
17195	return nil
17196}
17197
17198// SetAnalysisId sets the AnalysisId field's value.
17199func (s *DeleteAnalysisInput) SetAnalysisId(v string) *DeleteAnalysisInput {
17200	s.AnalysisId = &v
17201	return s
17202}
17203
17204// SetAwsAccountId sets the AwsAccountId field's value.
17205func (s *DeleteAnalysisInput) SetAwsAccountId(v string) *DeleteAnalysisInput {
17206	s.AwsAccountId = &v
17207	return s
17208}
17209
17210// SetForceDeleteWithoutRecovery sets the ForceDeleteWithoutRecovery field's value.
17211func (s *DeleteAnalysisInput) SetForceDeleteWithoutRecovery(v bool) *DeleteAnalysisInput {
17212	s.ForceDeleteWithoutRecovery = &v
17213	return s
17214}
17215
17216// SetRecoveryWindowInDays sets the RecoveryWindowInDays field's value.
17217func (s *DeleteAnalysisInput) SetRecoveryWindowInDays(v int64) *DeleteAnalysisInput {
17218	s.RecoveryWindowInDays = &v
17219	return s
17220}
17221
17222type DeleteAnalysisOutput struct {
17223	_ struct{} `type:"structure"`
17224
17225	// The ID of the deleted analysis.
17226	AnalysisId *string `min:"1" type:"string"`
17227
17228	// The Amazon Resource Name (ARN) of the deleted analysis.
17229	Arn *string `type:"string"`
17230
17231	// The date and time that the analysis is scheduled to be deleted.
17232	DeletionTime *time.Time `type:"timestamp"`
17233
17234	// The AWS request ID for this operation.
17235	RequestId *string `type:"string"`
17236
17237	// The HTTP status of the request.
17238	Status *int64 `location:"statusCode" type:"integer"`
17239}
17240
17241// String returns the string representation
17242func (s DeleteAnalysisOutput) String() string {
17243	return awsutil.Prettify(s)
17244}
17245
17246// GoString returns the string representation
17247func (s DeleteAnalysisOutput) GoString() string {
17248	return s.String()
17249}
17250
17251// SetAnalysisId sets the AnalysisId field's value.
17252func (s *DeleteAnalysisOutput) SetAnalysisId(v string) *DeleteAnalysisOutput {
17253	s.AnalysisId = &v
17254	return s
17255}
17256
17257// SetArn sets the Arn field's value.
17258func (s *DeleteAnalysisOutput) SetArn(v string) *DeleteAnalysisOutput {
17259	s.Arn = &v
17260	return s
17261}
17262
17263// SetDeletionTime sets the DeletionTime field's value.
17264func (s *DeleteAnalysisOutput) SetDeletionTime(v time.Time) *DeleteAnalysisOutput {
17265	s.DeletionTime = &v
17266	return s
17267}
17268
17269// SetRequestId sets the RequestId field's value.
17270func (s *DeleteAnalysisOutput) SetRequestId(v string) *DeleteAnalysisOutput {
17271	s.RequestId = &v
17272	return s
17273}
17274
17275// SetStatus sets the Status field's value.
17276func (s *DeleteAnalysisOutput) SetStatus(v int64) *DeleteAnalysisOutput {
17277	s.Status = &v
17278	return s
17279}
17280
17281type DeleteDashboardInput struct {
17282	_ struct{} `type:"structure"`
17283
17284	// The ID of the AWS account that contains the dashboard that you're deleting.
17285	//
17286	// AwsAccountId is a required field
17287	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
17288
17289	// The ID for the dashboard.
17290	//
17291	// DashboardId is a required field
17292	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
17293
17294	// The version number of the dashboard. If the version number property is provided,
17295	// only the specified version of the dashboard is deleted.
17296	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
17297}
17298
17299// String returns the string representation
17300func (s DeleteDashboardInput) String() string {
17301	return awsutil.Prettify(s)
17302}
17303
17304// GoString returns the string representation
17305func (s DeleteDashboardInput) GoString() string {
17306	return s.String()
17307}
17308
17309// Validate inspects the fields of the type to determine if they are valid.
17310func (s *DeleteDashboardInput) Validate() error {
17311	invalidParams := request.ErrInvalidParams{Context: "DeleteDashboardInput"}
17312	if s.AwsAccountId == nil {
17313		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
17314	}
17315	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
17316		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
17317	}
17318	if s.DashboardId == nil {
17319		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
17320	}
17321	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
17322		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
17323	}
17324	if s.VersionNumber != nil && *s.VersionNumber < 1 {
17325		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
17326	}
17327
17328	if invalidParams.Len() > 0 {
17329		return invalidParams
17330	}
17331	return nil
17332}
17333
17334// SetAwsAccountId sets the AwsAccountId field's value.
17335func (s *DeleteDashboardInput) SetAwsAccountId(v string) *DeleteDashboardInput {
17336	s.AwsAccountId = &v
17337	return s
17338}
17339
17340// SetDashboardId sets the DashboardId field's value.
17341func (s *DeleteDashboardInput) SetDashboardId(v string) *DeleteDashboardInput {
17342	s.DashboardId = &v
17343	return s
17344}
17345
17346// SetVersionNumber sets the VersionNumber field's value.
17347func (s *DeleteDashboardInput) SetVersionNumber(v int64) *DeleteDashboardInput {
17348	s.VersionNumber = &v
17349	return s
17350}
17351
17352type DeleteDashboardOutput struct {
17353	_ struct{} `type:"structure"`
17354
17355	// The Secure Socket Layer (SSL) properties that apply for the resource.
17356	Arn *string `type:"string"`
17357
17358	// The ID of the dashboard.
17359	DashboardId *string `min:"1" type:"string"`
17360
17361	// The AWS request ID for this operation.
17362	RequestId *string `type:"string"`
17363
17364	// The HTTP status of the request.
17365	Status *int64 `location:"statusCode" type:"integer"`
17366}
17367
17368// String returns the string representation
17369func (s DeleteDashboardOutput) String() string {
17370	return awsutil.Prettify(s)
17371}
17372
17373// GoString returns the string representation
17374func (s DeleteDashboardOutput) GoString() string {
17375	return s.String()
17376}
17377
17378// SetArn sets the Arn field's value.
17379func (s *DeleteDashboardOutput) SetArn(v string) *DeleteDashboardOutput {
17380	s.Arn = &v
17381	return s
17382}
17383
17384// SetDashboardId sets the DashboardId field's value.
17385func (s *DeleteDashboardOutput) SetDashboardId(v string) *DeleteDashboardOutput {
17386	s.DashboardId = &v
17387	return s
17388}
17389
17390// SetRequestId sets the RequestId field's value.
17391func (s *DeleteDashboardOutput) SetRequestId(v string) *DeleteDashboardOutput {
17392	s.RequestId = &v
17393	return s
17394}
17395
17396// SetStatus sets the Status field's value.
17397func (s *DeleteDashboardOutput) SetStatus(v int64) *DeleteDashboardOutput {
17398	s.Status = &v
17399	return s
17400}
17401
17402type DeleteDataSetInput struct {
17403	_ struct{} `type:"structure"`
17404
17405	// The AWS account ID.
17406	//
17407	// AwsAccountId is a required field
17408	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
17409
17410	// The ID for the dataset that you want to create. This ID is unique per AWS
17411	// Region for each AWS account.
17412	//
17413	// DataSetId is a required field
17414	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
17415}
17416
17417// String returns the string representation
17418func (s DeleteDataSetInput) String() string {
17419	return awsutil.Prettify(s)
17420}
17421
17422// GoString returns the string representation
17423func (s DeleteDataSetInput) GoString() string {
17424	return s.String()
17425}
17426
17427// Validate inspects the fields of the type to determine if they are valid.
17428func (s *DeleteDataSetInput) Validate() error {
17429	invalidParams := request.ErrInvalidParams{Context: "DeleteDataSetInput"}
17430	if s.AwsAccountId == nil {
17431		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
17432	}
17433	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
17434		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
17435	}
17436	if s.DataSetId == nil {
17437		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
17438	}
17439	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
17440		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
17441	}
17442
17443	if invalidParams.Len() > 0 {
17444		return invalidParams
17445	}
17446	return nil
17447}
17448
17449// SetAwsAccountId sets the AwsAccountId field's value.
17450func (s *DeleteDataSetInput) SetAwsAccountId(v string) *DeleteDataSetInput {
17451	s.AwsAccountId = &v
17452	return s
17453}
17454
17455// SetDataSetId sets the DataSetId field's value.
17456func (s *DeleteDataSetInput) SetDataSetId(v string) *DeleteDataSetInput {
17457	s.DataSetId = &v
17458	return s
17459}
17460
17461type DeleteDataSetOutput struct {
17462	_ struct{} `type:"structure"`
17463
17464	// The Amazon Resource Name (ARN) of the dataset.
17465	Arn *string `type:"string"`
17466
17467	// The ID for the dataset that you want to create. This ID is unique per AWS
17468	// Region for each AWS account.
17469	DataSetId *string `type:"string"`
17470
17471	// The AWS request ID for this operation.
17472	RequestId *string `type:"string"`
17473
17474	// The HTTP status of the request.
17475	Status *int64 `location:"statusCode" type:"integer"`
17476}
17477
17478// String returns the string representation
17479func (s DeleteDataSetOutput) String() string {
17480	return awsutil.Prettify(s)
17481}
17482
17483// GoString returns the string representation
17484func (s DeleteDataSetOutput) GoString() string {
17485	return s.String()
17486}
17487
17488// SetArn sets the Arn field's value.
17489func (s *DeleteDataSetOutput) SetArn(v string) *DeleteDataSetOutput {
17490	s.Arn = &v
17491	return s
17492}
17493
17494// SetDataSetId sets the DataSetId field's value.
17495func (s *DeleteDataSetOutput) SetDataSetId(v string) *DeleteDataSetOutput {
17496	s.DataSetId = &v
17497	return s
17498}
17499
17500// SetRequestId sets the RequestId field's value.
17501func (s *DeleteDataSetOutput) SetRequestId(v string) *DeleteDataSetOutput {
17502	s.RequestId = &v
17503	return s
17504}
17505
17506// SetStatus sets the Status field's value.
17507func (s *DeleteDataSetOutput) SetStatus(v int64) *DeleteDataSetOutput {
17508	s.Status = &v
17509	return s
17510}
17511
17512type DeleteDataSourceInput struct {
17513	_ struct{} `type:"structure"`
17514
17515	// The AWS account ID.
17516	//
17517	// AwsAccountId is a required field
17518	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
17519
17520	// The ID of the data source. This ID is unique per AWS Region for each AWS
17521	// account.
17522	//
17523	// DataSourceId is a required field
17524	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
17525}
17526
17527// String returns the string representation
17528func (s DeleteDataSourceInput) String() string {
17529	return awsutil.Prettify(s)
17530}
17531
17532// GoString returns the string representation
17533func (s DeleteDataSourceInput) GoString() string {
17534	return s.String()
17535}
17536
17537// Validate inspects the fields of the type to determine if they are valid.
17538func (s *DeleteDataSourceInput) Validate() error {
17539	invalidParams := request.ErrInvalidParams{Context: "DeleteDataSourceInput"}
17540	if s.AwsAccountId == nil {
17541		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
17542	}
17543	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
17544		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
17545	}
17546	if s.DataSourceId == nil {
17547		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
17548	}
17549	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
17550		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
17551	}
17552
17553	if invalidParams.Len() > 0 {
17554		return invalidParams
17555	}
17556	return nil
17557}
17558
17559// SetAwsAccountId sets the AwsAccountId field's value.
17560func (s *DeleteDataSourceInput) SetAwsAccountId(v string) *DeleteDataSourceInput {
17561	s.AwsAccountId = &v
17562	return s
17563}
17564
17565// SetDataSourceId sets the DataSourceId field's value.
17566func (s *DeleteDataSourceInput) SetDataSourceId(v string) *DeleteDataSourceInput {
17567	s.DataSourceId = &v
17568	return s
17569}
17570
17571type DeleteDataSourceOutput struct {
17572	_ struct{} `type:"structure"`
17573
17574	// The Amazon Resource Name (ARN) of the data source that you deleted.
17575	Arn *string `type:"string"`
17576
17577	// The ID of the data source. This ID is unique per AWS Region for each AWS
17578	// account.
17579	DataSourceId *string `type:"string"`
17580
17581	// The AWS request ID for this operation.
17582	RequestId *string `type:"string"`
17583
17584	// The HTTP status of the request.
17585	Status *int64 `location:"statusCode" type:"integer"`
17586}
17587
17588// String returns the string representation
17589func (s DeleteDataSourceOutput) String() string {
17590	return awsutil.Prettify(s)
17591}
17592
17593// GoString returns the string representation
17594func (s DeleteDataSourceOutput) GoString() string {
17595	return s.String()
17596}
17597
17598// SetArn sets the Arn field's value.
17599func (s *DeleteDataSourceOutput) SetArn(v string) *DeleteDataSourceOutput {
17600	s.Arn = &v
17601	return s
17602}
17603
17604// SetDataSourceId sets the DataSourceId field's value.
17605func (s *DeleteDataSourceOutput) SetDataSourceId(v string) *DeleteDataSourceOutput {
17606	s.DataSourceId = &v
17607	return s
17608}
17609
17610// SetRequestId sets the RequestId field's value.
17611func (s *DeleteDataSourceOutput) SetRequestId(v string) *DeleteDataSourceOutput {
17612	s.RequestId = &v
17613	return s
17614}
17615
17616// SetStatus sets the Status field's value.
17617func (s *DeleteDataSourceOutput) SetStatus(v int64) *DeleteDataSourceOutput {
17618	s.Status = &v
17619	return s
17620}
17621
17622type DeleteGroupInput struct {
17623	_ struct{} `type:"structure"`
17624
17625	// The ID for the AWS account that the group is in. Currently, you use the ID
17626	// for the AWS account that contains your Amazon QuickSight account.
17627	//
17628	// AwsAccountId is a required field
17629	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
17630
17631	// The name of the group that you want to delete.
17632	//
17633	// GroupName is a required field
17634	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
17635
17636	// The namespace. Currently, you should set this to default.
17637	//
17638	// Namespace is a required field
17639	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
17640}
17641
17642// String returns the string representation
17643func (s DeleteGroupInput) String() string {
17644	return awsutil.Prettify(s)
17645}
17646
17647// GoString returns the string representation
17648func (s DeleteGroupInput) GoString() string {
17649	return s.String()
17650}
17651
17652// Validate inspects the fields of the type to determine if they are valid.
17653func (s *DeleteGroupInput) Validate() error {
17654	invalidParams := request.ErrInvalidParams{Context: "DeleteGroupInput"}
17655	if s.AwsAccountId == nil {
17656		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
17657	}
17658	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
17659		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
17660	}
17661	if s.GroupName == nil {
17662		invalidParams.Add(request.NewErrParamRequired("GroupName"))
17663	}
17664	if s.GroupName != nil && len(*s.GroupName) < 1 {
17665		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
17666	}
17667	if s.Namespace == nil {
17668		invalidParams.Add(request.NewErrParamRequired("Namespace"))
17669	}
17670	if s.Namespace != nil && len(*s.Namespace) < 1 {
17671		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
17672	}
17673
17674	if invalidParams.Len() > 0 {
17675		return invalidParams
17676	}
17677	return nil
17678}
17679
17680// SetAwsAccountId sets the AwsAccountId field's value.
17681func (s *DeleteGroupInput) SetAwsAccountId(v string) *DeleteGroupInput {
17682	s.AwsAccountId = &v
17683	return s
17684}
17685
17686// SetGroupName sets the GroupName field's value.
17687func (s *DeleteGroupInput) SetGroupName(v string) *DeleteGroupInput {
17688	s.GroupName = &v
17689	return s
17690}
17691
17692// SetNamespace sets the Namespace field's value.
17693func (s *DeleteGroupInput) SetNamespace(v string) *DeleteGroupInput {
17694	s.Namespace = &v
17695	return s
17696}
17697
17698type DeleteGroupMembershipInput struct {
17699	_ struct{} `type:"structure"`
17700
17701	// The ID for the AWS account that the group is in. Currently, you use the ID
17702	// for the AWS account that contains your Amazon QuickSight account.
17703	//
17704	// AwsAccountId is a required field
17705	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
17706
17707	// The name of the group that you want to delete the user from.
17708	//
17709	// GroupName is a required field
17710	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
17711
17712	// The name of the user that you want to delete from the group membership.
17713	//
17714	// MemberName is a required field
17715	MemberName *string `location:"uri" locationName:"MemberName" min:"1" type:"string" required:"true"`
17716
17717	// The namespace. Currently, you should set this to default.
17718	//
17719	// Namespace is a required field
17720	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
17721}
17722
17723// String returns the string representation
17724func (s DeleteGroupMembershipInput) String() string {
17725	return awsutil.Prettify(s)
17726}
17727
17728// GoString returns the string representation
17729func (s DeleteGroupMembershipInput) GoString() string {
17730	return s.String()
17731}
17732
17733// Validate inspects the fields of the type to determine if they are valid.
17734func (s *DeleteGroupMembershipInput) Validate() error {
17735	invalidParams := request.ErrInvalidParams{Context: "DeleteGroupMembershipInput"}
17736	if s.AwsAccountId == nil {
17737		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
17738	}
17739	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
17740		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
17741	}
17742	if s.GroupName == nil {
17743		invalidParams.Add(request.NewErrParamRequired("GroupName"))
17744	}
17745	if s.GroupName != nil && len(*s.GroupName) < 1 {
17746		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
17747	}
17748	if s.MemberName == nil {
17749		invalidParams.Add(request.NewErrParamRequired("MemberName"))
17750	}
17751	if s.MemberName != nil && len(*s.MemberName) < 1 {
17752		invalidParams.Add(request.NewErrParamMinLen("MemberName", 1))
17753	}
17754	if s.Namespace == nil {
17755		invalidParams.Add(request.NewErrParamRequired("Namespace"))
17756	}
17757	if s.Namespace != nil && len(*s.Namespace) < 1 {
17758		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
17759	}
17760
17761	if invalidParams.Len() > 0 {
17762		return invalidParams
17763	}
17764	return nil
17765}
17766
17767// SetAwsAccountId sets the AwsAccountId field's value.
17768func (s *DeleteGroupMembershipInput) SetAwsAccountId(v string) *DeleteGroupMembershipInput {
17769	s.AwsAccountId = &v
17770	return s
17771}
17772
17773// SetGroupName sets the GroupName field's value.
17774func (s *DeleteGroupMembershipInput) SetGroupName(v string) *DeleteGroupMembershipInput {
17775	s.GroupName = &v
17776	return s
17777}
17778
17779// SetMemberName sets the MemberName field's value.
17780func (s *DeleteGroupMembershipInput) SetMemberName(v string) *DeleteGroupMembershipInput {
17781	s.MemberName = &v
17782	return s
17783}
17784
17785// SetNamespace sets the Namespace field's value.
17786func (s *DeleteGroupMembershipInput) SetNamespace(v string) *DeleteGroupMembershipInput {
17787	s.Namespace = &v
17788	return s
17789}
17790
17791type DeleteGroupMembershipOutput struct {
17792	_ struct{} `type:"structure"`
17793
17794	// The AWS request ID for this operation.
17795	RequestId *string `type:"string"`
17796
17797	// The HTTP status of the request.
17798	Status *int64 `location:"statusCode" type:"integer"`
17799}
17800
17801// String returns the string representation
17802func (s DeleteGroupMembershipOutput) String() string {
17803	return awsutil.Prettify(s)
17804}
17805
17806// GoString returns the string representation
17807func (s DeleteGroupMembershipOutput) GoString() string {
17808	return s.String()
17809}
17810
17811// SetRequestId sets the RequestId field's value.
17812func (s *DeleteGroupMembershipOutput) SetRequestId(v string) *DeleteGroupMembershipOutput {
17813	s.RequestId = &v
17814	return s
17815}
17816
17817// SetStatus sets the Status field's value.
17818func (s *DeleteGroupMembershipOutput) SetStatus(v int64) *DeleteGroupMembershipOutput {
17819	s.Status = &v
17820	return s
17821}
17822
17823type DeleteGroupOutput struct {
17824	_ struct{} `type:"structure"`
17825
17826	// The AWS request ID for this operation.
17827	RequestId *string `type:"string"`
17828
17829	// The HTTP status of the request.
17830	Status *int64 `location:"statusCode" type:"integer"`
17831}
17832
17833// String returns the string representation
17834func (s DeleteGroupOutput) String() string {
17835	return awsutil.Prettify(s)
17836}
17837
17838// GoString returns the string representation
17839func (s DeleteGroupOutput) GoString() string {
17840	return s.String()
17841}
17842
17843// SetRequestId sets the RequestId field's value.
17844func (s *DeleteGroupOutput) SetRequestId(v string) *DeleteGroupOutput {
17845	s.RequestId = &v
17846	return s
17847}
17848
17849// SetStatus sets the Status field's value.
17850func (s *DeleteGroupOutput) SetStatus(v int64) *DeleteGroupOutput {
17851	s.Status = &v
17852	return s
17853}
17854
17855type DeleteIAMPolicyAssignmentInput struct {
17856	_ struct{} `type:"structure"`
17857
17858	// The name of the assignment.
17859	//
17860	// AssignmentName is a required field
17861	AssignmentName *string `location:"uri" locationName:"AssignmentName" min:"1" type:"string" required:"true"`
17862
17863	// The AWS account ID where you want to delete the IAM policy assignment.
17864	//
17865	// AwsAccountId is a required field
17866	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
17867
17868	// The namespace that contains the assignment.
17869	//
17870	// Namespace is a required field
17871	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
17872}
17873
17874// String returns the string representation
17875func (s DeleteIAMPolicyAssignmentInput) String() string {
17876	return awsutil.Prettify(s)
17877}
17878
17879// GoString returns the string representation
17880func (s DeleteIAMPolicyAssignmentInput) GoString() string {
17881	return s.String()
17882}
17883
17884// Validate inspects the fields of the type to determine if they are valid.
17885func (s *DeleteIAMPolicyAssignmentInput) Validate() error {
17886	invalidParams := request.ErrInvalidParams{Context: "DeleteIAMPolicyAssignmentInput"}
17887	if s.AssignmentName == nil {
17888		invalidParams.Add(request.NewErrParamRequired("AssignmentName"))
17889	}
17890	if s.AssignmentName != nil && len(*s.AssignmentName) < 1 {
17891		invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1))
17892	}
17893	if s.AwsAccountId == nil {
17894		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
17895	}
17896	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
17897		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
17898	}
17899	if s.Namespace == nil {
17900		invalidParams.Add(request.NewErrParamRequired("Namespace"))
17901	}
17902	if s.Namespace != nil && len(*s.Namespace) < 1 {
17903		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
17904	}
17905
17906	if invalidParams.Len() > 0 {
17907		return invalidParams
17908	}
17909	return nil
17910}
17911
17912// SetAssignmentName sets the AssignmentName field's value.
17913func (s *DeleteIAMPolicyAssignmentInput) SetAssignmentName(v string) *DeleteIAMPolicyAssignmentInput {
17914	s.AssignmentName = &v
17915	return s
17916}
17917
17918// SetAwsAccountId sets the AwsAccountId field's value.
17919func (s *DeleteIAMPolicyAssignmentInput) SetAwsAccountId(v string) *DeleteIAMPolicyAssignmentInput {
17920	s.AwsAccountId = &v
17921	return s
17922}
17923
17924// SetNamespace sets the Namespace field's value.
17925func (s *DeleteIAMPolicyAssignmentInput) SetNamespace(v string) *DeleteIAMPolicyAssignmentInput {
17926	s.Namespace = &v
17927	return s
17928}
17929
17930type DeleteIAMPolicyAssignmentOutput struct {
17931	_ struct{} `type:"structure"`
17932
17933	// The name of the assignment.
17934	AssignmentName *string `min:"1" type:"string"`
17935
17936	// The AWS request ID for this operation.
17937	RequestId *string `type:"string"`
17938
17939	// The HTTP status of the request.
17940	Status *int64 `location:"statusCode" type:"integer"`
17941}
17942
17943// String returns the string representation
17944func (s DeleteIAMPolicyAssignmentOutput) String() string {
17945	return awsutil.Prettify(s)
17946}
17947
17948// GoString returns the string representation
17949func (s DeleteIAMPolicyAssignmentOutput) GoString() string {
17950	return s.String()
17951}
17952
17953// SetAssignmentName sets the AssignmentName field's value.
17954func (s *DeleteIAMPolicyAssignmentOutput) SetAssignmentName(v string) *DeleteIAMPolicyAssignmentOutput {
17955	s.AssignmentName = &v
17956	return s
17957}
17958
17959// SetRequestId sets the RequestId field's value.
17960func (s *DeleteIAMPolicyAssignmentOutput) SetRequestId(v string) *DeleteIAMPolicyAssignmentOutput {
17961	s.RequestId = &v
17962	return s
17963}
17964
17965// SetStatus sets the Status field's value.
17966func (s *DeleteIAMPolicyAssignmentOutput) SetStatus(v int64) *DeleteIAMPolicyAssignmentOutput {
17967	s.Status = &v
17968	return s
17969}
17970
17971type DeleteNamespaceInput struct {
17972	_ struct{} `type:"structure"`
17973
17974	// The ID for the AWS account that you want to delete the QuickSight namespace
17975	// from.
17976	//
17977	// AwsAccountId is a required field
17978	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
17979
17980	// The namespace that you want to delete.
17981	//
17982	// Namespace is a required field
17983	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
17984}
17985
17986// String returns the string representation
17987func (s DeleteNamespaceInput) String() string {
17988	return awsutil.Prettify(s)
17989}
17990
17991// GoString returns the string representation
17992func (s DeleteNamespaceInput) GoString() string {
17993	return s.String()
17994}
17995
17996// Validate inspects the fields of the type to determine if they are valid.
17997func (s *DeleteNamespaceInput) Validate() error {
17998	invalidParams := request.ErrInvalidParams{Context: "DeleteNamespaceInput"}
17999	if s.AwsAccountId == nil {
18000		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
18001	}
18002	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
18003		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
18004	}
18005	if s.Namespace == nil {
18006		invalidParams.Add(request.NewErrParamRequired("Namespace"))
18007	}
18008	if s.Namespace != nil && len(*s.Namespace) < 1 {
18009		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
18010	}
18011
18012	if invalidParams.Len() > 0 {
18013		return invalidParams
18014	}
18015	return nil
18016}
18017
18018// SetAwsAccountId sets the AwsAccountId field's value.
18019func (s *DeleteNamespaceInput) SetAwsAccountId(v string) *DeleteNamespaceInput {
18020	s.AwsAccountId = &v
18021	return s
18022}
18023
18024// SetNamespace sets the Namespace field's value.
18025func (s *DeleteNamespaceInput) SetNamespace(v string) *DeleteNamespaceInput {
18026	s.Namespace = &v
18027	return s
18028}
18029
18030type DeleteNamespaceOutput struct {
18031	_ struct{} `type:"structure"`
18032
18033	// The AWS request ID for this operation.
18034	RequestId *string `type:"string"`
18035
18036	// The HTTP status of the request.
18037	Status *int64 `location:"statusCode" type:"integer"`
18038}
18039
18040// String returns the string representation
18041func (s DeleteNamespaceOutput) String() string {
18042	return awsutil.Prettify(s)
18043}
18044
18045// GoString returns the string representation
18046func (s DeleteNamespaceOutput) GoString() string {
18047	return s.String()
18048}
18049
18050// SetRequestId sets the RequestId field's value.
18051func (s *DeleteNamespaceOutput) SetRequestId(v string) *DeleteNamespaceOutput {
18052	s.RequestId = &v
18053	return s
18054}
18055
18056// SetStatus sets the Status field's value.
18057func (s *DeleteNamespaceOutput) SetStatus(v int64) *DeleteNamespaceOutput {
18058	s.Status = &v
18059	return s
18060}
18061
18062type DeleteTemplateAliasInput struct {
18063	_ struct{} `type:"structure"`
18064
18065	// The name for the template alias. To delete a specific alias, you delete the
18066	// version that the alias points to. You can specify the alias name, or specify
18067	// the latest version of the template by providing the keyword $LATEST in the
18068	// AliasName parameter.
18069	//
18070	// AliasName is a required field
18071	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
18072
18073	// The ID of the AWS account that contains the item to delete.
18074	//
18075	// AwsAccountId is a required field
18076	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
18077
18078	// The ID for the template that the specified alias is for.
18079	//
18080	// TemplateId is a required field
18081	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
18082}
18083
18084// String returns the string representation
18085func (s DeleteTemplateAliasInput) String() string {
18086	return awsutil.Prettify(s)
18087}
18088
18089// GoString returns the string representation
18090func (s DeleteTemplateAliasInput) GoString() string {
18091	return s.String()
18092}
18093
18094// Validate inspects the fields of the type to determine if they are valid.
18095func (s *DeleteTemplateAliasInput) Validate() error {
18096	invalidParams := request.ErrInvalidParams{Context: "DeleteTemplateAliasInput"}
18097	if s.AliasName == nil {
18098		invalidParams.Add(request.NewErrParamRequired("AliasName"))
18099	}
18100	if s.AliasName != nil && len(*s.AliasName) < 1 {
18101		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
18102	}
18103	if s.AwsAccountId == nil {
18104		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
18105	}
18106	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
18107		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
18108	}
18109	if s.TemplateId == nil {
18110		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
18111	}
18112	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
18113		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
18114	}
18115
18116	if invalidParams.Len() > 0 {
18117		return invalidParams
18118	}
18119	return nil
18120}
18121
18122// SetAliasName sets the AliasName field's value.
18123func (s *DeleteTemplateAliasInput) SetAliasName(v string) *DeleteTemplateAliasInput {
18124	s.AliasName = &v
18125	return s
18126}
18127
18128// SetAwsAccountId sets the AwsAccountId field's value.
18129func (s *DeleteTemplateAliasInput) SetAwsAccountId(v string) *DeleteTemplateAliasInput {
18130	s.AwsAccountId = &v
18131	return s
18132}
18133
18134// SetTemplateId sets the TemplateId field's value.
18135func (s *DeleteTemplateAliasInput) SetTemplateId(v string) *DeleteTemplateAliasInput {
18136	s.TemplateId = &v
18137	return s
18138}
18139
18140type DeleteTemplateAliasOutput struct {
18141	_ struct{} `type:"structure"`
18142
18143	// The name for the template alias.
18144	AliasName *string `min:"1" type:"string"`
18145
18146	// The Amazon Resource Name (ARN) of the template you want to delete.
18147	Arn *string `type:"string"`
18148
18149	// The AWS request ID for this operation.
18150	RequestId *string `type:"string"`
18151
18152	// The HTTP status of the request.
18153	Status *int64 `location:"statusCode" type:"integer"`
18154
18155	// An ID for the template associated with the deletion.
18156	TemplateId *string `min:"1" type:"string"`
18157}
18158
18159// String returns the string representation
18160func (s DeleteTemplateAliasOutput) String() string {
18161	return awsutil.Prettify(s)
18162}
18163
18164// GoString returns the string representation
18165func (s DeleteTemplateAliasOutput) GoString() string {
18166	return s.String()
18167}
18168
18169// SetAliasName sets the AliasName field's value.
18170func (s *DeleteTemplateAliasOutput) SetAliasName(v string) *DeleteTemplateAliasOutput {
18171	s.AliasName = &v
18172	return s
18173}
18174
18175// SetArn sets the Arn field's value.
18176func (s *DeleteTemplateAliasOutput) SetArn(v string) *DeleteTemplateAliasOutput {
18177	s.Arn = &v
18178	return s
18179}
18180
18181// SetRequestId sets the RequestId field's value.
18182func (s *DeleteTemplateAliasOutput) SetRequestId(v string) *DeleteTemplateAliasOutput {
18183	s.RequestId = &v
18184	return s
18185}
18186
18187// SetStatus sets the Status field's value.
18188func (s *DeleteTemplateAliasOutput) SetStatus(v int64) *DeleteTemplateAliasOutput {
18189	s.Status = &v
18190	return s
18191}
18192
18193// SetTemplateId sets the TemplateId field's value.
18194func (s *DeleteTemplateAliasOutput) SetTemplateId(v string) *DeleteTemplateAliasOutput {
18195	s.TemplateId = &v
18196	return s
18197}
18198
18199type DeleteTemplateInput struct {
18200	_ struct{} `type:"structure"`
18201
18202	// The ID of the AWS account that contains the template that you're deleting.
18203	//
18204	// AwsAccountId is a required field
18205	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
18206
18207	// An ID for the template you want to delete.
18208	//
18209	// TemplateId is a required field
18210	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
18211
18212	// Specifies the version of the template that you want to delete. If you don't
18213	// provide a version number, DeleteTemplate deletes all versions of the template.
18214	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
18215}
18216
18217// String returns the string representation
18218func (s DeleteTemplateInput) String() string {
18219	return awsutil.Prettify(s)
18220}
18221
18222// GoString returns the string representation
18223func (s DeleteTemplateInput) GoString() string {
18224	return s.String()
18225}
18226
18227// Validate inspects the fields of the type to determine if they are valid.
18228func (s *DeleteTemplateInput) Validate() error {
18229	invalidParams := request.ErrInvalidParams{Context: "DeleteTemplateInput"}
18230	if s.AwsAccountId == nil {
18231		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
18232	}
18233	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
18234		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
18235	}
18236	if s.TemplateId == nil {
18237		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
18238	}
18239	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
18240		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
18241	}
18242	if s.VersionNumber != nil && *s.VersionNumber < 1 {
18243		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
18244	}
18245
18246	if invalidParams.Len() > 0 {
18247		return invalidParams
18248	}
18249	return nil
18250}
18251
18252// SetAwsAccountId sets the AwsAccountId field's value.
18253func (s *DeleteTemplateInput) SetAwsAccountId(v string) *DeleteTemplateInput {
18254	s.AwsAccountId = &v
18255	return s
18256}
18257
18258// SetTemplateId sets the TemplateId field's value.
18259func (s *DeleteTemplateInput) SetTemplateId(v string) *DeleteTemplateInput {
18260	s.TemplateId = &v
18261	return s
18262}
18263
18264// SetVersionNumber sets the VersionNumber field's value.
18265func (s *DeleteTemplateInput) SetVersionNumber(v int64) *DeleteTemplateInput {
18266	s.VersionNumber = &v
18267	return s
18268}
18269
18270type DeleteTemplateOutput struct {
18271	_ struct{} `type:"structure"`
18272
18273	// The Amazon Resource Name (ARN) of the resource.
18274	Arn *string `type:"string"`
18275
18276	// The AWS request ID for this operation.
18277	RequestId *string `type:"string"`
18278
18279	// The HTTP status of the request.
18280	Status *int64 `location:"statusCode" type:"integer"`
18281
18282	// An ID for the template.
18283	TemplateId *string `min:"1" type:"string"`
18284}
18285
18286// String returns the string representation
18287func (s DeleteTemplateOutput) String() string {
18288	return awsutil.Prettify(s)
18289}
18290
18291// GoString returns the string representation
18292func (s DeleteTemplateOutput) GoString() string {
18293	return s.String()
18294}
18295
18296// SetArn sets the Arn field's value.
18297func (s *DeleteTemplateOutput) SetArn(v string) *DeleteTemplateOutput {
18298	s.Arn = &v
18299	return s
18300}
18301
18302// SetRequestId sets the RequestId field's value.
18303func (s *DeleteTemplateOutput) SetRequestId(v string) *DeleteTemplateOutput {
18304	s.RequestId = &v
18305	return s
18306}
18307
18308// SetStatus sets the Status field's value.
18309func (s *DeleteTemplateOutput) SetStatus(v int64) *DeleteTemplateOutput {
18310	s.Status = &v
18311	return s
18312}
18313
18314// SetTemplateId sets the TemplateId field's value.
18315func (s *DeleteTemplateOutput) SetTemplateId(v string) *DeleteTemplateOutput {
18316	s.TemplateId = &v
18317	return s
18318}
18319
18320type DeleteThemeAliasInput struct {
18321	_ struct{} `type:"structure"`
18322
18323	// The unique name for the theme alias to delete.
18324	//
18325	// AliasName is a required field
18326	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
18327
18328	// The ID of the AWS account that contains the theme alias to delete.
18329	//
18330	// AwsAccountId is a required field
18331	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
18332
18333	// The ID for the theme that the specified alias is for.
18334	//
18335	// ThemeId is a required field
18336	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
18337}
18338
18339// String returns the string representation
18340func (s DeleteThemeAliasInput) String() string {
18341	return awsutil.Prettify(s)
18342}
18343
18344// GoString returns the string representation
18345func (s DeleteThemeAliasInput) GoString() string {
18346	return s.String()
18347}
18348
18349// Validate inspects the fields of the type to determine if they are valid.
18350func (s *DeleteThemeAliasInput) Validate() error {
18351	invalidParams := request.ErrInvalidParams{Context: "DeleteThemeAliasInput"}
18352	if s.AliasName == nil {
18353		invalidParams.Add(request.NewErrParamRequired("AliasName"))
18354	}
18355	if s.AliasName != nil && len(*s.AliasName) < 1 {
18356		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
18357	}
18358	if s.AwsAccountId == nil {
18359		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
18360	}
18361	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
18362		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
18363	}
18364	if s.ThemeId == nil {
18365		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
18366	}
18367	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
18368		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
18369	}
18370
18371	if invalidParams.Len() > 0 {
18372		return invalidParams
18373	}
18374	return nil
18375}
18376
18377// SetAliasName sets the AliasName field's value.
18378func (s *DeleteThemeAliasInput) SetAliasName(v string) *DeleteThemeAliasInput {
18379	s.AliasName = &v
18380	return s
18381}
18382
18383// SetAwsAccountId sets the AwsAccountId field's value.
18384func (s *DeleteThemeAliasInput) SetAwsAccountId(v string) *DeleteThemeAliasInput {
18385	s.AwsAccountId = &v
18386	return s
18387}
18388
18389// SetThemeId sets the ThemeId field's value.
18390func (s *DeleteThemeAliasInput) SetThemeId(v string) *DeleteThemeAliasInput {
18391	s.ThemeId = &v
18392	return s
18393}
18394
18395type DeleteThemeAliasOutput struct {
18396	_ struct{} `type:"structure"`
18397
18398	// The name for the theme alias.
18399	AliasName *string `min:"1" type:"string"`
18400
18401	// The Amazon Resource Name (ARN) of the theme resource using the deleted alias.
18402	Arn *string `type:"string"`
18403
18404	// The AWS request ID for this operation.
18405	RequestId *string `type:"string"`
18406
18407	// The HTTP status of the request.
18408	Status *int64 `location:"statusCode" type:"integer"`
18409
18410	// An ID for the theme associated with the deletion.
18411	ThemeId *string `min:"1" type:"string"`
18412}
18413
18414// String returns the string representation
18415func (s DeleteThemeAliasOutput) String() string {
18416	return awsutil.Prettify(s)
18417}
18418
18419// GoString returns the string representation
18420func (s DeleteThemeAliasOutput) GoString() string {
18421	return s.String()
18422}
18423
18424// SetAliasName sets the AliasName field's value.
18425func (s *DeleteThemeAliasOutput) SetAliasName(v string) *DeleteThemeAliasOutput {
18426	s.AliasName = &v
18427	return s
18428}
18429
18430// SetArn sets the Arn field's value.
18431func (s *DeleteThemeAliasOutput) SetArn(v string) *DeleteThemeAliasOutput {
18432	s.Arn = &v
18433	return s
18434}
18435
18436// SetRequestId sets the RequestId field's value.
18437func (s *DeleteThemeAliasOutput) SetRequestId(v string) *DeleteThemeAliasOutput {
18438	s.RequestId = &v
18439	return s
18440}
18441
18442// SetStatus sets the Status field's value.
18443func (s *DeleteThemeAliasOutput) SetStatus(v int64) *DeleteThemeAliasOutput {
18444	s.Status = &v
18445	return s
18446}
18447
18448// SetThemeId sets the ThemeId field's value.
18449func (s *DeleteThemeAliasOutput) SetThemeId(v string) *DeleteThemeAliasOutput {
18450	s.ThemeId = &v
18451	return s
18452}
18453
18454type DeleteThemeInput struct {
18455	_ struct{} `type:"structure"`
18456
18457	// The ID of the AWS account that contains the theme that you're deleting.
18458	//
18459	// AwsAccountId is a required field
18460	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
18461
18462	// An ID for the theme that you want to delete.
18463	//
18464	// ThemeId is a required field
18465	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
18466
18467	// The version of the theme that you want to delete.
18468	//
18469	// Note: If you don't provide a version number, you're using this call to DeleteTheme
18470	// to delete all versions of the theme.
18471	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
18472}
18473
18474// String returns the string representation
18475func (s DeleteThemeInput) String() string {
18476	return awsutil.Prettify(s)
18477}
18478
18479// GoString returns the string representation
18480func (s DeleteThemeInput) GoString() string {
18481	return s.String()
18482}
18483
18484// Validate inspects the fields of the type to determine if they are valid.
18485func (s *DeleteThemeInput) Validate() error {
18486	invalidParams := request.ErrInvalidParams{Context: "DeleteThemeInput"}
18487	if s.AwsAccountId == nil {
18488		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
18489	}
18490	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
18491		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
18492	}
18493	if s.ThemeId == nil {
18494		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
18495	}
18496	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
18497		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
18498	}
18499	if s.VersionNumber != nil && *s.VersionNumber < 1 {
18500		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
18501	}
18502
18503	if invalidParams.Len() > 0 {
18504		return invalidParams
18505	}
18506	return nil
18507}
18508
18509// SetAwsAccountId sets the AwsAccountId field's value.
18510func (s *DeleteThemeInput) SetAwsAccountId(v string) *DeleteThemeInput {
18511	s.AwsAccountId = &v
18512	return s
18513}
18514
18515// SetThemeId sets the ThemeId field's value.
18516func (s *DeleteThemeInput) SetThemeId(v string) *DeleteThemeInput {
18517	s.ThemeId = &v
18518	return s
18519}
18520
18521// SetVersionNumber sets the VersionNumber field's value.
18522func (s *DeleteThemeInput) SetVersionNumber(v int64) *DeleteThemeInput {
18523	s.VersionNumber = &v
18524	return s
18525}
18526
18527type DeleteThemeOutput struct {
18528	_ struct{} `type:"structure"`
18529
18530	// The Amazon Resource Name (ARN) of the resource.
18531	Arn *string `type:"string"`
18532
18533	// The AWS request ID for this operation.
18534	RequestId *string `type:"string"`
18535
18536	// The HTTP status of the request.
18537	Status *int64 `location:"statusCode" type:"integer"`
18538
18539	// An ID for the theme.
18540	ThemeId *string `min:"1" type:"string"`
18541}
18542
18543// String returns the string representation
18544func (s DeleteThemeOutput) String() string {
18545	return awsutil.Prettify(s)
18546}
18547
18548// GoString returns the string representation
18549func (s DeleteThemeOutput) GoString() string {
18550	return s.String()
18551}
18552
18553// SetArn sets the Arn field's value.
18554func (s *DeleteThemeOutput) SetArn(v string) *DeleteThemeOutput {
18555	s.Arn = &v
18556	return s
18557}
18558
18559// SetRequestId sets the RequestId field's value.
18560func (s *DeleteThemeOutput) SetRequestId(v string) *DeleteThemeOutput {
18561	s.RequestId = &v
18562	return s
18563}
18564
18565// SetStatus sets the Status field's value.
18566func (s *DeleteThemeOutput) SetStatus(v int64) *DeleteThemeOutput {
18567	s.Status = &v
18568	return s
18569}
18570
18571// SetThemeId sets the ThemeId field's value.
18572func (s *DeleteThemeOutput) SetThemeId(v string) *DeleteThemeOutput {
18573	s.ThemeId = &v
18574	return s
18575}
18576
18577type DeleteUserByPrincipalIdInput struct {
18578	_ struct{} `type:"structure"`
18579
18580	// The ID for the AWS account that the user is in. Currently, you use the ID
18581	// for the AWS account that contains your Amazon QuickSight account.
18582	//
18583	// AwsAccountId is a required field
18584	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
18585
18586	// The namespace. Currently, you should set this to default.
18587	//
18588	// Namespace is a required field
18589	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
18590
18591	// The principal ID of the user.
18592	//
18593	// PrincipalId is a required field
18594	PrincipalId *string `location:"uri" locationName:"PrincipalId" type:"string" required:"true"`
18595}
18596
18597// String returns the string representation
18598func (s DeleteUserByPrincipalIdInput) String() string {
18599	return awsutil.Prettify(s)
18600}
18601
18602// GoString returns the string representation
18603func (s DeleteUserByPrincipalIdInput) GoString() string {
18604	return s.String()
18605}
18606
18607// Validate inspects the fields of the type to determine if they are valid.
18608func (s *DeleteUserByPrincipalIdInput) Validate() error {
18609	invalidParams := request.ErrInvalidParams{Context: "DeleteUserByPrincipalIdInput"}
18610	if s.AwsAccountId == nil {
18611		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
18612	}
18613	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
18614		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
18615	}
18616	if s.Namespace == nil {
18617		invalidParams.Add(request.NewErrParamRequired("Namespace"))
18618	}
18619	if s.Namespace != nil && len(*s.Namespace) < 1 {
18620		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
18621	}
18622	if s.PrincipalId == nil {
18623		invalidParams.Add(request.NewErrParamRequired("PrincipalId"))
18624	}
18625	if s.PrincipalId != nil && len(*s.PrincipalId) < 1 {
18626		invalidParams.Add(request.NewErrParamMinLen("PrincipalId", 1))
18627	}
18628
18629	if invalidParams.Len() > 0 {
18630		return invalidParams
18631	}
18632	return nil
18633}
18634
18635// SetAwsAccountId sets the AwsAccountId field's value.
18636func (s *DeleteUserByPrincipalIdInput) SetAwsAccountId(v string) *DeleteUserByPrincipalIdInput {
18637	s.AwsAccountId = &v
18638	return s
18639}
18640
18641// SetNamespace sets the Namespace field's value.
18642func (s *DeleteUserByPrincipalIdInput) SetNamespace(v string) *DeleteUserByPrincipalIdInput {
18643	s.Namespace = &v
18644	return s
18645}
18646
18647// SetPrincipalId sets the PrincipalId field's value.
18648func (s *DeleteUserByPrincipalIdInput) SetPrincipalId(v string) *DeleteUserByPrincipalIdInput {
18649	s.PrincipalId = &v
18650	return s
18651}
18652
18653type DeleteUserByPrincipalIdOutput struct {
18654	_ struct{} `type:"structure"`
18655
18656	// The AWS request ID for this operation.
18657	RequestId *string `type:"string"`
18658
18659	// The HTTP status of the request.
18660	Status *int64 `location:"statusCode" type:"integer"`
18661}
18662
18663// String returns the string representation
18664func (s DeleteUserByPrincipalIdOutput) String() string {
18665	return awsutil.Prettify(s)
18666}
18667
18668// GoString returns the string representation
18669func (s DeleteUserByPrincipalIdOutput) GoString() string {
18670	return s.String()
18671}
18672
18673// SetRequestId sets the RequestId field's value.
18674func (s *DeleteUserByPrincipalIdOutput) SetRequestId(v string) *DeleteUserByPrincipalIdOutput {
18675	s.RequestId = &v
18676	return s
18677}
18678
18679// SetStatus sets the Status field's value.
18680func (s *DeleteUserByPrincipalIdOutput) SetStatus(v int64) *DeleteUserByPrincipalIdOutput {
18681	s.Status = &v
18682	return s
18683}
18684
18685type DeleteUserInput struct {
18686	_ struct{} `type:"structure"`
18687
18688	// The ID for the AWS account that the user is in. Currently, you use the ID
18689	// for the AWS account that contains your Amazon QuickSight account.
18690	//
18691	// AwsAccountId is a required field
18692	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
18693
18694	// The namespace. Currently, you should set this to default.
18695	//
18696	// Namespace is a required field
18697	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
18698
18699	// The name of the user that you want to delete.
18700	//
18701	// UserName is a required field
18702	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
18703}
18704
18705// String returns the string representation
18706func (s DeleteUserInput) String() string {
18707	return awsutil.Prettify(s)
18708}
18709
18710// GoString returns the string representation
18711func (s DeleteUserInput) GoString() string {
18712	return s.String()
18713}
18714
18715// Validate inspects the fields of the type to determine if they are valid.
18716func (s *DeleteUserInput) Validate() error {
18717	invalidParams := request.ErrInvalidParams{Context: "DeleteUserInput"}
18718	if s.AwsAccountId == nil {
18719		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
18720	}
18721	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
18722		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
18723	}
18724	if s.Namespace == nil {
18725		invalidParams.Add(request.NewErrParamRequired("Namespace"))
18726	}
18727	if s.Namespace != nil && len(*s.Namespace) < 1 {
18728		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
18729	}
18730	if s.UserName == nil {
18731		invalidParams.Add(request.NewErrParamRequired("UserName"))
18732	}
18733	if s.UserName != nil && len(*s.UserName) < 1 {
18734		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
18735	}
18736
18737	if invalidParams.Len() > 0 {
18738		return invalidParams
18739	}
18740	return nil
18741}
18742
18743// SetAwsAccountId sets the AwsAccountId field's value.
18744func (s *DeleteUserInput) SetAwsAccountId(v string) *DeleteUserInput {
18745	s.AwsAccountId = &v
18746	return s
18747}
18748
18749// SetNamespace sets the Namespace field's value.
18750func (s *DeleteUserInput) SetNamespace(v string) *DeleteUserInput {
18751	s.Namespace = &v
18752	return s
18753}
18754
18755// SetUserName sets the UserName field's value.
18756func (s *DeleteUserInput) SetUserName(v string) *DeleteUserInput {
18757	s.UserName = &v
18758	return s
18759}
18760
18761type DeleteUserOutput struct {
18762	_ struct{} `type:"structure"`
18763
18764	// The AWS request ID for this operation.
18765	RequestId *string `type:"string"`
18766
18767	// The HTTP status of the request.
18768	Status *int64 `location:"statusCode" type:"integer"`
18769}
18770
18771// String returns the string representation
18772func (s DeleteUserOutput) String() string {
18773	return awsutil.Prettify(s)
18774}
18775
18776// GoString returns the string representation
18777func (s DeleteUserOutput) GoString() string {
18778	return s.String()
18779}
18780
18781// SetRequestId sets the RequestId field's value.
18782func (s *DeleteUserOutput) SetRequestId(v string) *DeleteUserOutput {
18783	s.RequestId = &v
18784	return s
18785}
18786
18787// SetStatus sets the Status field's value.
18788func (s *DeleteUserOutput) SetStatus(v int64) *DeleteUserOutput {
18789	s.Status = &v
18790	return s
18791}
18792
18793type DescribeAccountCustomizationInput struct {
18794	_ struct{} `type:"structure"`
18795
18796	// The ID for the AWS account that you want to describe QuickSight customizations
18797	// for.
18798	//
18799	// AwsAccountId is a required field
18800	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
18801
18802	// The QuickSight namespace that you want to describe QuickSight customizations
18803	// for.
18804	Namespace *string `location:"querystring" locationName:"namespace" type:"string"`
18805
18806	// The Resolved flag works with the other parameters to determine which view
18807	// of QuickSight customizations is returned. You can add this flag to your command
18808	// to use the same view that QuickSight uses to identify which customizations
18809	// to apply to the console. Omit this flag, or set it to no-resolved, to reveal
18810	// customizations that are configured at different levels.
18811	Resolved *bool `location:"querystring" locationName:"resolved" type:"boolean"`
18812}
18813
18814// String returns the string representation
18815func (s DescribeAccountCustomizationInput) String() string {
18816	return awsutil.Prettify(s)
18817}
18818
18819// GoString returns the string representation
18820func (s DescribeAccountCustomizationInput) GoString() string {
18821	return s.String()
18822}
18823
18824// Validate inspects the fields of the type to determine if they are valid.
18825func (s *DescribeAccountCustomizationInput) Validate() error {
18826	invalidParams := request.ErrInvalidParams{Context: "DescribeAccountCustomizationInput"}
18827	if s.AwsAccountId == nil {
18828		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
18829	}
18830	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
18831		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
18832	}
18833
18834	if invalidParams.Len() > 0 {
18835		return invalidParams
18836	}
18837	return nil
18838}
18839
18840// SetAwsAccountId sets the AwsAccountId field's value.
18841func (s *DescribeAccountCustomizationInput) SetAwsAccountId(v string) *DescribeAccountCustomizationInput {
18842	s.AwsAccountId = &v
18843	return s
18844}
18845
18846// SetNamespace sets the Namespace field's value.
18847func (s *DescribeAccountCustomizationInput) SetNamespace(v string) *DescribeAccountCustomizationInput {
18848	s.Namespace = &v
18849	return s
18850}
18851
18852// SetResolved sets the Resolved field's value.
18853func (s *DescribeAccountCustomizationInput) SetResolved(v bool) *DescribeAccountCustomizationInput {
18854	s.Resolved = &v
18855	return s
18856}
18857
18858type DescribeAccountCustomizationOutput struct {
18859	_ struct{} `type:"structure"`
18860
18861	// The QuickSight customizations that exist in the current AWS Region.
18862	AccountCustomization *AccountCustomization `type:"structure"`
18863
18864	// The Amazon Resource Name (ARN) of the customization that's associated with
18865	// this AWS account.
18866	Arn *string `type:"string"`
18867
18868	// The ID for the AWS account that you're describing.
18869	AwsAccountId *string `min:"12" type:"string"`
18870
18871	// The QuickSight namespace that you're describing.
18872	Namespace *string `type:"string"`
18873
18874	// The AWS request ID for this operation.
18875	RequestId *string `type:"string"`
18876
18877	// The HTTP status of the request.
18878	Status *int64 `location:"statusCode" type:"integer"`
18879}
18880
18881// String returns the string representation
18882func (s DescribeAccountCustomizationOutput) String() string {
18883	return awsutil.Prettify(s)
18884}
18885
18886// GoString returns the string representation
18887func (s DescribeAccountCustomizationOutput) GoString() string {
18888	return s.String()
18889}
18890
18891// SetAccountCustomization sets the AccountCustomization field's value.
18892func (s *DescribeAccountCustomizationOutput) SetAccountCustomization(v *AccountCustomization) *DescribeAccountCustomizationOutput {
18893	s.AccountCustomization = v
18894	return s
18895}
18896
18897// SetArn sets the Arn field's value.
18898func (s *DescribeAccountCustomizationOutput) SetArn(v string) *DescribeAccountCustomizationOutput {
18899	s.Arn = &v
18900	return s
18901}
18902
18903// SetAwsAccountId sets the AwsAccountId field's value.
18904func (s *DescribeAccountCustomizationOutput) SetAwsAccountId(v string) *DescribeAccountCustomizationOutput {
18905	s.AwsAccountId = &v
18906	return s
18907}
18908
18909// SetNamespace sets the Namespace field's value.
18910func (s *DescribeAccountCustomizationOutput) SetNamespace(v string) *DescribeAccountCustomizationOutput {
18911	s.Namespace = &v
18912	return s
18913}
18914
18915// SetRequestId sets the RequestId field's value.
18916func (s *DescribeAccountCustomizationOutput) SetRequestId(v string) *DescribeAccountCustomizationOutput {
18917	s.RequestId = &v
18918	return s
18919}
18920
18921// SetStatus sets the Status field's value.
18922func (s *DescribeAccountCustomizationOutput) SetStatus(v int64) *DescribeAccountCustomizationOutput {
18923	s.Status = &v
18924	return s
18925}
18926
18927type DescribeAccountSettingsInput struct {
18928	_ struct{} `type:"structure"`
18929
18930	// The ID for the AWS account that contains the settings that you want to list.
18931	//
18932	// AwsAccountId is a required field
18933	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
18934}
18935
18936// String returns the string representation
18937func (s DescribeAccountSettingsInput) String() string {
18938	return awsutil.Prettify(s)
18939}
18940
18941// GoString returns the string representation
18942func (s DescribeAccountSettingsInput) GoString() string {
18943	return s.String()
18944}
18945
18946// Validate inspects the fields of the type to determine if they are valid.
18947func (s *DescribeAccountSettingsInput) Validate() error {
18948	invalidParams := request.ErrInvalidParams{Context: "DescribeAccountSettingsInput"}
18949	if s.AwsAccountId == nil {
18950		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
18951	}
18952	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
18953		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
18954	}
18955
18956	if invalidParams.Len() > 0 {
18957		return invalidParams
18958	}
18959	return nil
18960}
18961
18962// SetAwsAccountId sets the AwsAccountId field's value.
18963func (s *DescribeAccountSettingsInput) SetAwsAccountId(v string) *DescribeAccountSettingsInput {
18964	s.AwsAccountId = &v
18965	return s
18966}
18967
18968type DescribeAccountSettingsOutput struct {
18969	_ struct{} `type:"structure"`
18970
18971	// The QuickSight settings for this AWS account. This information includes the
18972	// edition of Amazon QuickSight that you subscribed to (Standard or Enterprise)
18973	// and the notification email for the QuickSight subscription. In the QuickSight
18974	// console, the QuickSight subscription is sometimes referred to as a QuickSight
18975	// "account" even though it's technically not an account by itself. Instead,
18976	// it's a subscription to the QuickSight service for your AWS account. The edition
18977	// that you subscribe to applies to QuickSight in every AWS Region where you
18978	// use it.
18979	AccountSettings *AccountSettings `type:"structure"`
18980
18981	// The AWS request ID for this operation.
18982	RequestId *string `type:"string"`
18983
18984	// The HTTP status of the request.
18985	Status *int64 `location:"statusCode" type:"integer"`
18986}
18987
18988// String returns the string representation
18989func (s DescribeAccountSettingsOutput) String() string {
18990	return awsutil.Prettify(s)
18991}
18992
18993// GoString returns the string representation
18994func (s DescribeAccountSettingsOutput) GoString() string {
18995	return s.String()
18996}
18997
18998// SetAccountSettings sets the AccountSettings field's value.
18999func (s *DescribeAccountSettingsOutput) SetAccountSettings(v *AccountSettings) *DescribeAccountSettingsOutput {
19000	s.AccountSettings = v
19001	return s
19002}
19003
19004// SetRequestId sets the RequestId field's value.
19005func (s *DescribeAccountSettingsOutput) SetRequestId(v string) *DescribeAccountSettingsOutput {
19006	s.RequestId = &v
19007	return s
19008}
19009
19010// SetStatus sets the Status field's value.
19011func (s *DescribeAccountSettingsOutput) SetStatus(v int64) *DescribeAccountSettingsOutput {
19012	s.Status = &v
19013	return s
19014}
19015
19016type DescribeAnalysisInput struct {
19017	_ struct{} `type:"structure"`
19018
19019	// The ID of the analysis that you're describing. The ID is part of the URL
19020	// of the analysis.
19021	//
19022	// AnalysisId is a required field
19023	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
19024
19025	// The ID of the AWS account that contains the analysis. You must be using the
19026	// AWS account that the analysis is in.
19027	//
19028	// AwsAccountId is a required field
19029	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19030}
19031
19032// String returns the string representation
19033func (s DescribeAnalysisInput) String() string {
19034	return awsutil.Prettify(s)
19035}
19036
19037// GoString returns the string representation
19038func (s DescribeAnalysisInput) GoString() string {
19039	return s.String()
19040}
19041
19042// Validate inspects the fields of the type to determine if they are valid.
19043func (s *DescribeAnalysisInput) Validate() error {
19044	invalidParams := request.ErrInvalidParams{Context: "DescribeAnalysisInput"}
19045	if s.AnalysisId == nil {
19046		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
19047	}
19048	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
19049		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
19050	}
19051	if s.AwsAccountId == nil {
19052		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19053	}
19054	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19055		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19056	}
19057
19058	if invalidParams.Len() > 0 {
19059		return invalidParams
19060	}
19061	return nil
19062}
19063
19064// SetAnalysisId sets the AnalysisId field's value.
19065func (s *DescribeAnalysisInput) SetAnalysisId(v string) *DescribeAnalysisInput {
19066	s.AnalysisId = &v
19067	return s
19068}
19069
19070// SetAwsAccountId sets the AwsAccountId field's value.
19071func (s *DescribeAnalysisInput) SetAwsAccountId(v string) *DescribeAnalysisInput {
19072	s.AwsAccountId = &v
19073	return s
19074}
19075
19076type DescribeAnalysisOutput struct {
19077	_ struct{} `type:"structure"`
19078
19079	// A metadata structure that contains summary information for the analysis that
19080	// you're describing.
19081	Analysis *Analysis `type:"structure"`
19082
19083	// The AWS request ID for this operation.
19084	RequestId *string `type:"string"`
19085
19086	// The HTTP status of the request.
19087	Status *int64 `location:"statusCode" type:"integer"`
19088}
19089
19090// String returns the string representation
19091func (s DescribeAnalysisOutput) String() string {
19092	return awsutil.Prettify(s)
19093}
19094
19095// GoString returns the string representation
19096func (s DescribeAnalysisOutput) GoString() string {
19097	return s.String()
19098}
19099
19100// SetAnalysis sets the Analysis field's value.
19101func (s *DescribeAnalysisOutput) SetAnalysis(v *Analysis) *DescribeAnalysisOutput {
19102	s.Analysis = v
19103	return s
19104}
19105
19106// SetRequestId sets the RequestId field's value.
19107func (s *DescribeAnalysisOutput) SetRequestId(v string) *DescribeAnalysisOutput {
19108	s.RequestId = &v
19109	return s
19110}
19111
19112// SetStatus sets the Status field's value.
19113func (s *DescribeAnalysisOutput) SetStatus(v int64) *DescribeAnalysisOutput {
19114	s.Status = &v
19115	return s
19116}
19117
19118type DescribeAnalysisPermissionsInput struct {
19119	_ struct{} `type:"structure"`
19120
19121	// The ID of the analysis whose permissions you're describing. The ID is part
19122	// of the analysis URL.
19123	//
19124	// AnalysisId is a required field
19125	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
19126
19127	// The ID of the AWS account that contains the analysis whose permissions you're
19128	// describing. You must be using the AWS account that the analysis is in.
19129	//
19130	// AwsAccountId is a required field
19131	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19132}
19133
19134// String returns the string representation
19135func (s DescribeAnalysisPermissionsInput) String() string {
19136	return awsutil.Prettify(s)
19137}
19138
19139// GoString returns the string representation
19140func (s DescribeAnalysisPermissionsInput) GoString() string {
19141	return s.String()
19142}
19143
19144// Validate inspects the fields of the type to determine if they are valid.
19145func (s *DescribeAnalysisPermissionsInput) Validate() error {
19146	invalidParams := request.ErrInvalidParams{Context: "DescribeAnalysisPermissionsInput"}
19147	if s.AnalysisId == nil {
19148		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
19149	}
19150	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
19151		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
19152	}
19153	if s.AwsAccountId == nil {
19154		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19155	}
19156	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19157		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19158	}
19159
19160	if invalidParams.Len() > 0 {
19161		return invalidParams
19162	}
19163	return nil
19164}
19165
19166// SetAnalysisId sets the AnalysisId field's value.
19167func (s *DescribeAnalysisPermissionsInput) SetAnalysisId(v string) *DescribeAnalysisPermissionsInput {
19168	s.AnalysisId = &v
19169	return s
19170}
19171
19172// SetAwsAccountId sets the AwsAccountId field's value.
19173func (s *DescribeAnalysisPermissionsInput) SetAwsAccountId(v string) *DescribeAnalysisPermissionsInput {
19174	s.AwsAccountId = &v
19175	return s
19176}
19177
19178type DescribeAnalysisPermissionsOutput struct {
19179	_ struct{} `type:"structure"`
19180
19181	// The Amazon Resource Name (ARN) of the analysis whose permissions you're describing.
19182	AnalysisArn *string `type:"string"`
19183
19184	// The ID of the analysis whose permissions you're describing.
19185	AnalysisId *string `min:"1" type:"string"`
19186
19187	// A structure that describes the principals and the resource-level permissions
19188	// on an analysis.
19189	Permissions []*ResourcePermission `min:"1" type:"list"`
19190
19191	// The AWS request ID for this operation.
19192	RequestId *string `type:"string"`
19193
19194	// The HTTP status of the request.
19195	Status *int64 `location:"statusCode" type:"integer"`
19196}
19197
19198// String returns the string representation
19199func (s DescribeAnalysisPermissionsOutput) String() string {
19200	return awsutil.Prettify(s)
19201}
19202
19203// GoString returns the string representation
19204func (s DescribeAnalysisPermissionsOutput) GoString() string {
19205	return s.String()
19206}
19207
19208// SetAnalysisArn sets the AnalysisArn field's value.
19209func (s *DescribeAnalysisPermissionsOutput) SetAnalysisArn(v string) *DescribeAnalysisPermissionsOutput {
19210	s.AnalysisArn = &v
19211	return s
19212}
19213
19214// SetAnalysisId sets the AnalysisId field's value.
19215func (s *DescribeAnalysisPermissionsOutput) SetAnalysisId(v string) *DescribeAnalysisPermissionsOutput {
19216	s.AnalysisId = &v
19217	return s
19218}
19219
19220// SetPermissions sets the Permissions field's value.
19221func (s *DescribeAnalysisPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeAnalysisPermissionsOutput {
19222	s.Permissions = v
19223	return s
19224}
19225
19226// SetRequestId sets the RequestId field's value.
19227func (s *DescribeAnalysisPermissionsOutput) SetRequestId(v string) *DescribeAnalysisPermissionsOutput {
19228	s.RequestId = &v
19229	return s
19230}
19231
19232// SetStatus sets the Status field's value.
19233func (s *DescribeAnalysisPermissionsOutput) SetStatus(v int64) *DescribeAnalysisPermissionsOutput {
19234	s.Status = &v
19235	return s
19236}
19237
19238type DescribeDashboardInput struct {
19239	_ struct{} `type:"structure"`
19240
19241	// The alias name.
19242	AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"`
19243
19244	// The ID of the AWS account that contains the dashboard that you're describing.
19245	//
19246	// AwsAccountId is a required field
19247	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19248
19249	// The ID for the dashboard.
19250	//
19251	// DashboardId is a required field
19252	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
19253
19254	// The version number for the dashboard. If a version number isn't passed, the
19255	// latest published dashboard version is described.
19256	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
19257}
19258
19259// String returns the string representation
19260func (s DescribeDashboardInput) String() string {
19261	return awsutil.Prettify(s)
19262}
19263
19264// GoString returns the string representation
19265func (s DescribeDashboardInput) GoString() string {
19266	return s.String()
19267}
19268
19269// Validate inspects the fields of the type to determine if they are valid.
19270func (s *DescribeDashboardInput) Validate() error {
19271	invalidParams := request.ErrInvalidParams{Context: "DescribeDashboardInput"}
19272	if s.AliasName != nil && len(*s.AliasName) < 1 {
19273		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
19274	}
19275	if s.AwsAccountId == nil {
19276		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19277	}
19278	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19279		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19280	}
19281	if s.DashboardId == nil {
19282		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
19283	}
19284	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
19285		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
19286	}
19287	if s.VersionNumber != nil && *s.VersionNumber < 1 {
19288		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
19289	}
19290
19291	if invalidParams.Len() > 0 {
19292		return invalidParams
19293	}
19294	return nil
19295}
19296
19297// SetAliasName sets the AliasName field's value.
19298func (s *DescribeDashboardInput) SetAliasName(v string) *DescribeDashboardInput {
19299	s.AliasName = &v
19300	return s
19301}
19302
19303// SetAwsAccountId sets the AwsAccountId field's value.
19304func (s *DescribeDashboardInput) SetAwsAccountId(v string) *DescribeDashboardInput {
19305	s.AwsAccountId = &v
19306	return s
19307}
19308
19309// SetDashboardId sets the DashboardId field's value.
19310func (s *DescribeDashboardInput) SetDashboardId(v string) *DescribeDashboardInput {
19311	s.DashboardId = &v
19312	return s
19313}
19314
19315// SetVersionNumber sets the VersionNumber field's value.
19316func (s *DescribeDashboardInput) SetVersionNumber(v int64) *DescribeDashboardInput {
19317	s.VersionNumber = &v
19318	return s
19319}
19320
19321type DescribeDashboardOutput struct {
19322	_ struct{} `type:"structure"`
19323
19324	// Information about the dashboard.
19325	Dashboard *Dashboard `type:"structure"`
19326
19327	// The AWS request ID for this operation.
19328	RequestId *string `type:"string"`
19329
19330	// The HTTP status of this request.
19331	Status *int64 `location:"statusCode" type:"integer"`
19332}
19333
19334// String returns the string representation
19335func (s DescribeDashboardOutput) String() string {
19336	return awsutil.Prettify(s)
19337}
19338
19339// GoString returns the string representation
19340func (s DescribeDashboardOutput) GoString() string {
19341	return s.String()
19342}
19343
19344// SetDashboard sets the Dashboard field's value.
19345func (s *DescribeDashboardOutput) SetDashboard(v *Dashboard) *DescribeDashboardOutput {
19346	s.Dashboard = v
19347	return s
19348}
19349
19350// SetRequestId sets the RequestId field's value.
19351func (s *DescribeDashboardOutput) SetRequestId(v string) *DescribeDashboardOutput {
19352	s.RequestId = &v
19353	return s
19354}
19355
19356// SetStatus sets the Status field's value.
19357func (s *DescribeDashboardOutput) SetStatus(v int64) *DescribeDashboardOutput {
19358	s.Status = &v
19359	return s
19360}
19361
19362type DescribeDashboardPermissionsInput struct {
19363	_ struct{} `type:"structure"`
19364
19365	// The ID of the AWS account that contains the dashboard that you're describing
19366	// permissions for.
19367	//
19368	// AwsAccountId is a required field
19369	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19370
19371	// The ID for the dashboard, also added to the IAM policy.
19372	//
19373	// DashboardId is a required field
19374	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
19375}
19376
19377// String returns the string representation
19378func (s DescribeDashboardPermissionsInput) String() string {
19379	return awsutil.Prettify(s)
19380}
19381
19382// GoString returns the string representation
19383func (s DescribeDashboardPermissionsInput) GoString() string {
19384	return s.String()
19385}
19386
19387// Validate inspects the fields of the type to determine if they are valid.
19388func (s *DescribeDashboardPermissionsInput) Validate() error {
19389	invalidParams := request.ErrInvalidParams{Context: "DescribeDashboardPermissionsInput"}
19390	if s.AwsAccountId == nil {
19391		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19392	}
19393	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19394		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19395	}
19396	if s.DashboardId == nil {
19397		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
19398	}
19399	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
19400		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
19401	}
19402
19403	if invalidParams.Len() > 0 {
19404		return invalidParams
19405	}
19406	return nil
19407}
19408
19409// SetAwsAccountId sets the AwsAccountId field's value.
19410func (s *DescribeDashboardPermissionsInput) SetAwsAccountId(v string) *DescribeDashboardPermissionsInput {
19411	s.AwsAccountId = &v
19412	return s
19413}
19414
19415// SetDashboardId sets the DashboardId field's value.
19416func (s *DescribeDashboardPermissionsInput) SetDashboardId(v string) *DescribeDashboardPermissionsInput {
19417	s.DashboardId = &v
19418	return s
19419}
19420
19421type DescribeDashboardPermissionsOutput struct {
19422	_ struct{} `type:"structure"`
19423
19424	// The Amazon Resource Name (ARN) of the dashboard.
19425	DashboardArn *string `type:"string"`
19426
19427	// The ID for the dashboard.
19428	DashboardId *string `min:"1" type:"string"`
19429
19430	// A structure that contains the permissions for the dashboard.
19431	Permissions []*ResourcePermission `min:"1" type:"list"`
19432
19433	// The AWS request ID for this operation.
19434	RequestId *string `type:"string"`
19435
19436	// The HTTP status of the request.
19437	Status *int64 `location:"statusCode" type:"integer"`
19438}
19439
19440// String returns the string representation
19441func (s DescribeDashboardPermissionsOutput) String() string {
19442	return awsutil.Prettify(s)
19443}
19444
19445// GoString returns the string representation
19446func (s DescribeDashboardPermissionsOutput) GoString() string {
19447	return s.String()
19448}
19449
19450// SetDashboardArn sets the DashboardArn field's value.
19451func (s *DescribeDashboardPermissionsOutput) SetDashboardArn(v string) *DescribeDashboardPermissionsOutput {
19452	s.DashboardArn = &v
19453	return s
19454}
19455
19456// SetDashboardId sets the DashboardId field's value.
19457func (s *DescribeDashboardPermissionsOutput) SetDashboardId(v string) *DescribeDashboardPermissionsOutput {
19458	s.DashboardId = &v
19459	return s
19460}
19461
19462// SetPermissions sets the Permissions field's value.
19463func (s *DescribeDashboardPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeDashboardPermissionsOutput {
19464	s.Permissions = v
19465	return s
19466}
19467
19468// SetRequestId sets the RequestId field's value.
19469func (s *DescribeDashboardPermissionsOutput) SetRequestId(v string) *DescribeDashboardPermissionsOutput {
19470	s.RequestId = &v
19471	return s
19472}
19473
19474// SetStatus sets the Status field's value.
19475func (s *DescribeDashboardPermissionsOutput) SetStatus(v int64) *DescribeDashboardPermissionsOutput {
19476	s.Status = &v
19477	return s
19478}
19479
19480type DescribeDataSetInput struct {
19481	_ struct{} `type:"structure"`
19482
19483	// The AWS account ID.
19484	//
19485	// AwsAccountId is a required field
19486	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19487
19488	// The ID for the dataset that you want to create. This ID is unique per AWS
19489	// Region for each AWS account.
19490	//
19491	// DataSetId is a required field
19492	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
19493}
19494
19495// String returns the string representation
19496func (s DescribeDataSetInput) String() string {
19497	return awsutil.Prettify(s)
19498}
19499
19500// GoString returns the string representation
19501func (s DescribeDataSetInput) GoString() string {
19502	return s.String()
19503}
19504
19505// Validate inspects the fields of the type to determine if they are valid.
19506func (s *DescribeDataSetInput) Validate() error {
19507	invalidParams := request.ErrInvalidParams{Context: "DescribeDataSetInput"}
19508	if s.AwsAccountId == nil {
19509		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19510	}
19511	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19512		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19513	}
19514	if s.DataSetId == nil {
19515		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
19516	}
19517	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
19518		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
19519	}
19520
19521	if invalidParams.Len() > 0 {
19522		return invalidParams
19523	}
19524	return nil
19525}
19526
19527// SetAwsAccountId sets the AwsAccountId field's value.
19528func (s *DescribeDataSetInput) SetAwsAccountId(v string) *DescribeDataSetInput {
19529	s.AwsAccountId = &v
19530	return s
19531}
19532
19533// SetDataSetId sets the DataSetId field's value.
19534func (s *DescribeDataSetInput) SetDataSetId(v string) *DescribeDataSetInput {
19535	s.DataSetId = &v
19536	return s
19537}
19538
19539type DescribeDataSetOutput struct {
19540	_ struct{} `type:"structure"`
19541
19542	// Information on the dataset.
19543	DataSet *DataSet `type:"structure"`
19544
19545	// The AWS request ID for this operation.
19546	RequestId *string `type:"string"`
19547
19548	// The HTTP status of the request.
19549	Status *int64 `location:"statusCode" type:"integer"`
19550}
19551
19552// String returns the string representation
19553func (s DescribeDataSetOutput) String() string {
19554	return awsutil.Prettify(s)
19555}
19556
19557// GoString returns the string representation
19558func (s DescribeDataSetOutput) GoString() string {
19559	return s.String()
19560}
19561
19562// SetDataSet sets the DataSet field's value.
19563func (s *DescribeDataSetOutput) SetDataSet(v *DataSet) *DescribeDataSetOutput {
19564	s.DataSet = v
19565	return s
19566}
19567
19568// SetRequestId sets the RequestId field's value.
19569func (s *DescribeDataSetOutput) SetRequestId(v string) *DescribeDataSetOutput {
19570	s.RequestId = &v
19571	return s
19572}
19573
19574// SetStatus sets the Status field's value.
19575func (s *DescribeDataSetOutput) SetStatus(v int64) *DescribeDataSetOutput {
19576	s.Status = &v
19577	return s
19578}
19579
19580type DescribeDataSetPermissionsInput struct {
19581	_ struct{} `type:"structure"`
19582
19583	// The AWS account ID.
19584	//
19585	// AwsAccountId is a required field
19586	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19587
19588	// The ID for the dataset that you want to create. This ID is unique per AWS
19589	// Region for each AWS account.
19590	//
19591	// DataSetId is a required field
19592	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
19593}
19594
19595// String returns the string representation
19596func (s DescribeDataSetPermissionsInput) String() string {
19597	return awsutil.Prettify(s)
19598}
19599
19600// GoString returns the string representation
19601func (s DescribeDataSetPermissionsInput) GoString() string {
19602	return s.String()
19603}
19604
19605// Validate inspects the fields of the type to determine if they are valid.
19606func (s *DescribeDataSetPermissionsInput) Validate() error {
19607	invalidParams := request.ErrInvalidParams{Context: "DescribeDataSetPermissionsInput"}
19608	if s.AwsAccountId == nil {
19609		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19610	}
19611	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19612		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19613	}
19614	if s.DataSetId == nil {
19615		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
19616	}
19617	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
19618		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
19619	}
19620
19621	if invalidParams.Len() > 0 {
19622		return invalidParams
19623	}
19624	return nil
19625}
19626
19627// SetAwsAccountId sets the AwsAccountId field's value.
19628func (s *DescribeDataSetPermissionsInput) SetAwsAccountId(v string) *DescribeDataSetPermissionsInput {
19629	s.AwsAccountId = &v
19630	return s
19631}
19632
19633// SetDataSetId sets the DataSetId field's value.
19634func (s *DescribeDataSetPermissionsInput) SetDataSetId(v string) *DescribeDataSetPermissionsInput {
19635	s.DataSetId = &v
19636	return s
19637}
19638
19639type DescribeDataSetPermissionsOutput struct {
19640	_ struct{} `type:"structure"`
19641
19642	// The Amazon Resource Name (ARN) of the dataset.
19643	DataSetArn *string `type:"string"`
19644
19645	// The ID for the dataset that you want to create. This ID is unique per AWS
19646	// Region for each AWS account.
19647	DataSetId *string `type:"string"`
19648
19649	// A list of resource permissions on the dataset.
19650	Permissions []*ResourcePermission `min:"1" type:"list"`
19651
19652	// The AWS request ID for this operation.
19653	RequestId *string `type:"string"`
19654
19655	// The HTTP status of the request.
19656	Status *int64 `location:"statusCode" type:"integer"`
19657}
19658
19659// String returns the string representation
19660func (s DescribeDataSetPermissionsOutput) String() string {
19661	return awsutil.Prettify(s)
19662}
19663
19664// GoString returns the string representation
19665func (s DescribeDataSetPermissionsOutput) GoString() string {
19666	return s.String()
19667}
19668
19669// SetDataSetArn sets the DataSetArn field's value.
19670func (s *DescribeDataSetPermissionsOutput) SetDataSetArn(v string) *DescribeDataSetPermissionsOutput {
19671	s.DataSetArn = &v
19672	return s
19673}
19674
19675// SetDataSetId sets the DataSetId field's value.
19676func (s *DescribeDataSetPermissionsOutput) SetDataSetId(v string) *DescribeDataSetPermissionsOutput {
19677	s.DataSetId = &v
19678	return s
19679}
19680
19681// SetPermissions sets the Permissions field's value.
19682func (s *DescribeDataSetPermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeDataSetPermissionsOutput {
19683	s.Permissions = v
19684	return s
19685}
19686
19687// SetRequestId sets the RequestId field's value.
19688func (s *DescribeDataSetPermissionsOutput) SetRequestId(v string) *DescribeDataSetPermissionsOutput {
19689	s.RequestId = &v
19690	return s
19691}
19692
19693// SetStatus sets the Status field's value.
19694func (s *DescribeDataSetPermissionsOutput) SetStatus(v int64) *DescribeDataSetPermissionsOutput {
19695	s.Status = &v
19696	return s
19697}
19698
19699type DescribeDataSourceInput struct {
19700	_ struct{} `type:"structure"`
19701
19702	// The AWS account ID.
19703	//
19704	// AwsAccountId is a required field
19705	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19706
19707	// The ID of the data source. This ID is unique per AWS Region for each AWS
19708	// account.
19709	//
19710	// DataSourceId is a required field
19711	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
19712}
19713
19714// String returns the string representation
19715func (s DescribeDataSourceInput) String() string {
19716	return awsutil.Prettify(s)
19717}
19718
19719// GoString returns the string representation
19720func (s DescribeDataSourceInput) GoString() string {
19721	return s.String()
19722}
19723
19724// Validate inspects the fields of the type to determine if they are valid.
19725func (s *DescribeDataSourceInput) Validate() error {
19726	invalidParams := request.ErrInvalidParams{Context: "DescribeDataSourceInput"}
19727	if s.AwsAccountId == nil {
19728		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19729	}
19730	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19731		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19732	}
19733	if s.DataSourceId == nil {
19734		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
19735	}
19736	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
19737		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
19738	}
19739
19740	if invalidParams.Len() > 0 {
19741		return invalidParams
19742	}
19743	return nil
19744}
19745
19746// SetAwsAccountId sets the AwsAccountId field's value.
19747func (s *DescribeDataSourceInput) SetAwsAccountId(v string) *DescribeDataSourceInput {
19748	s.AwsAccountId = &v
19749	return s
19750}
19751
19752// SetDataSourceId sets the DataSourceId field's value.
19753func (s *DescribeDataSourceInput) SetDataSourceId(v string) *DescribeDataSourceInput {
19754	s.DataSourceId = &v
19755	return s
19756}
19757
19758type DescribeDataSourceOutput struct {
19759	_ struct{} `type:"structure"`
19760
19761	// The information on the data source.
19762	DataSource *DataSource `type:"structure"`
19763
19764	// The AWS request ID for this operation.
19765	RequestId *string `type:"string"`
19766
19767	// The HTTP status of the request.
19768	Status *int64 `location:"statusCode" type:"integer"`
19769}
19770
19771// String returns the string representation
19772func (s DescribeDataSourceOutput) String() string {
19773	return awsutil.Prettify(s)
19774}
19775
19776// GoString returns the string representation
19777func (s DescribeDataSourceOutput) GoString() string {
19778	return s.String()
19779}
19780
19781// SetDataSource sets the DataSource field's value.
19782func (s *DescribeDataSourceOutput) SetDataSource(v *DataSource) *DescribeDataSourceOutput {
19783	s.DataSource = v
19784	return s
19785}
19786
19787// SetRequestId sets the RequestId field's value.
19788func (s *DescribeDataSourceOutput) SetRequestId(v string) *DescribeDataSourceOutput {
19789	s.RequestId = &v
19790	return s
19791}
19792
19793// SetStatus sets the Status field's value.
19794func (s *DescribeDataSourceOutput) SetStatus(v int64) *DescribeDataSourceOutput {
19795	s.Status = &v
19796	return s
19797}
19798
19799type DescribeDataSourcePermissionsInput struct {
19800	_ struct{} `type:"structure"`
19801
19802	// The AWS account ID.
19803	//
19804	// AwsAccountId is a required field
19805	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19806
19807	// The ID of the data source. This ID is unique per AWS Region for each AWS
19808	// account.
19809	//
19810	// DataSourceId is a required field
19811	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
19812}
19813
19814// String returns the string representation
19815func (s DescribeDataSourcePermissionsInput) String() string {
19816	return awsutil.Prettify(s)
19817}
19818
19819// GoString returns the string representation
19820func (s DescribeDataSourcePermissionsInput) GoString() string {
19821	return s.String()
19822}
19823
19824// Validate inspects the fields of the type to determine if they are valid.
19825func (s *DescribeDataSourcePermissionsInput) Validate() error {
19826	invalidParams := request.ErrInvalidParams{Context: "DescribeDataSourcePermissionsInput"}
19827	if s.AwsAccountId == nil {
19828		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19829	}
19830	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19831		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19832	}
19833	if s.DataSourceId == nil {
19834		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
19835	}
19836	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
19837		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
19838	}
19839
19840	if invalidParams.Len() > 0 {
19841		return invalidParams
19842	}
19843	return nil
19844}
19845
19846// SetAwsAccountId sets the AwsAccountId field's value.
19847func (s *DescribeDataSourcePermissionsInput) SetAwsAccountId(v string) *DescribeDataSourcePermissionsInput {
19848	s.AwsAccountId = &v
19849	return s
19850}
19851
19852// SetDataSourceId sets the DataSourceId field's value.
19853func (s *DescribeDataSourcePermissionsInput) SetDataSourceId(v string) *DescribeDataSourcePermissionsInput {
19854	s.DataSourceId = &v
19855	return s
19856}
19857
19858type DescribeDataSourcePermissionsOutput struct {
19859	_ struct{} `type:"structure"`
19860
19861	// The Amazon Resource Name (ARN) of the data source.
19862	DataSourceArn *string `type:"string"`
19863
19864	// The ID of the data source. This ID is unique per AWS Region for each AWS
19865	// account.
19866	DataSourceId *string `type:"string"`
19867
19868	// A list of resource permissions on the data source.
19869	Permissions []*ResourcePermission `min:"1" type:"list"`
19870
19871	// The AWS request ID for this operation.
19872	RequestId *string `type:"string"`
19873
19874	// The HTTP status of the request.
19875	Status *int64 `location:"statusCode" type:"integer"`
19876}
19877
19878// String returns the string representation
19879func (s DescribeDataSourcePermissionsOutput) String() string {
19880	return awsutil.Prettify(s)
19881}
19882
19883// GoString returns the string representation
19884func (s DescribeDataSourcePermissionsOutput) GoString() string {
19885	return s.String()
19886}
19887
19888// SetDataSourceArn sets the DataSourceArn field's value.
19889func (s *DescribeDataSourcePermissionsOutput) SetDataSourceArn(v string) *DescribeDataSourcePermissionsOutput {
19890	s.DataSourceArn = &v
19891	return s
19892}
19893
19894// SetDataSourceId sets the DataSourceId field's value.
19895func (s *DescribeDataSourcePermissionsOutput) SetDataSourceId(v string) *DescribeDataSourcePermissionsOutput {
19896	s.DataSourceId = &v
19897	return s
19898}
19899
19900// SetPermissions sets the Permissions field's value.
19901func (s *DescribeDataSourcePermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeDataSourcePermissionsOutput {
19902	s.Permissions = v
19903	return s
19904}
19905
19906// SetRequestId sets the RequestId field's value.
19907func (s *DescribeDataSourcePermissionsOutput) SetRequestId(v string) *DescribeDataSourcePermissionsOutput {
19908	s.RequestId = &v
19909	return s
19910}
19911
19912// SetStatus sets the Status field's value.
19913func (s *DescribeDataSourcePermissionsOutput) SetStatus(v int64) *DescribeDataSourcePermissionsOutput {
19914	s.Status = &v
19915	return s
19916}
19917
19918type DescribeGroupInput struct {
19919	_ struct{} `type:"structure"`
19920
19921	// The ID for the AWS account that the group is in. Currently, you use the ID
19922	// for the AWS account that contains your Amazon QuickSight account.
19923	//
19924	// AwsAccountId is a required field
19925	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
19926
19927	// The name of the group that you want to describe.
19928	//
19929	// GroupName is a required field
19930	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
19931
19932	// The namespace. Currently, you should set this to default.
19933	//
19934	// Namespace is a required field
19935	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
19936}
19937
19938// String returns the string representation
19939func (s DescribeGroupInput) String() string {
19940	return awsutil.Prettify(s)
19941}
19942
19943// GoString returns the string representation
19944func (s DescribeGroupInput) GoString() string {
19945	return s.String()
19946}
19947
19948// Validate inspects the fields of the type to determine if they are valid.
19949func (s *DescribeGroupInput) Validate() error {
19950	invalidParams := request.ErrInvalidParams{Context: "DescribeGroupInput"}
19951	if s.AwsAccountId == nil {
19952		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
19953	}
19954	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
19955		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
19956	}
19957	if s.GroupName == nil {
19958		invalidParams.Add(request.NewErrParamRequired("GroupName"))
19959	}
19960	if s.GroupName != nil && len(*s.GroupName) < 1 {
19961		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
19962	}
19963	if s.Namespace == nil {
19964		invalidParams.Add(request.NewErrParamRequired("Namespace"))
19965	}
19966	if s.Namespace != nil && len(*s.Namespace) < 1 {
19967		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
19968	}
19969
19970	if invalidParams.Len() > 0 {
19971		return invalidParams
19972	}
19973	return nil
19974}
19975
19976// SetAwsAccountId sets the AwsAccountId field's value.
19977func (s *DescribeGroupInput) SetAwsAccountId(v string) *DescribeGroupInput {
19978	s.AwsAccountId = &v
19979	return s
19980}
19981
19982// SetGroupName sets the GroupName field's value.
19983func (s *DescribeGroupInput) SetGroupName(v string) *DescribeGroupInput {
19984	s.GroupName = &v
19985	return s
19986}
19987
19988// SetNamespace sets the Namespace field's value.
19989func (s *DescribeGroupInput) SetNamespace(v string) *DescribeGroupInput {
19990	s.Namespace = &v
19991	return s
19992}
19993
19994type DescribeGroupOutput struct {
19995	_ struct{} `type:"structure"`
19996
19997	// The name of the group.
19998	Group *Group `type:"structure"`
19999
20000	// The AWS request ID for this operation.
20001	RequestId *string `type:"string"`
20002
20003	// The HTTP status of the request.
20004	Status *int64 `location:"statusCode" type:"integer"`
20005}
20006
20007// String returns the string representation
20008func (s DescribeGroupOutput) String() string {
20009	return awsutil.Prettify(s)
20010}
20011
20012// GoString returns the string representation
20013func (s DescribeGroupOutput) GoString() string {
20014	return s.String()
20015}
20016
20017// SetGroup sets the Group field's value.
20018func (s *DescribeGroupOutput) SetGroup(v *Group) *DescribeGroupOutput {
20019	s.Group = v
20020	return s
20021}
20022
20023// SetRequestId sets the RequestId field's value.
20024func (s *DescribeGroupOutput) SetRequestId(v string) *DescribeGroupOutput {
20025	s.RequestId = &v
20026	return s
20027}
20028
20029// SetStatus sets the Status field's value.
20030func (s *DescribeGroupOutput) SetStatus(v int64) *DescribeGroupOutput {
20031	s.Status = &v
20032	return s
20033}
20034
20035type DescribeIAMPolicyAssignmentInput struct {
20036	_ struct{} `type:"structure"`
20037
20038	// The name of the assignment, also called a rule.
20039	//
20040	// AssignmentName is a required field
20041	AssignmentName *string `location:"uri" locationName:"AssignmentName" min:"1" type:"string" required:"true"`
20042
20043	// The ID of the AWS account that contains the assignment that you want to describe.
20044	//
20045	// AwsAccountId is a required field
20046	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
20047
20048	// The namespace that contains the assignment.
20049	//
20050	// Namespace is a required field
20051	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
20052}
20053
20054// String returns the string representation
20055func (s DescribeIAMPolicyAssignmentInput) String() string {
20056	return awsutil.Prettify(s)
20057}
20058
20059// GoString returns the string representation
20060func (s DescribeIAMPolicyAssignmentInput) GoString() string {
20061	return s.String()
20062}
20063
20064// Validate inspects the fields of the type to determine if they are valid.
20065func (s *DescribeIAMPolicyAssignmentInput) Validate() error {
20066	invalidParams := request.ErrInvalidParams{Context: "DescribeIAMPolicyAssignmentInput"}
20067	if s.AssignmentName == nil {
20068		invalidParams.Add(request.NewErrParamRequired("AssignmentName"))
20069	}
20070	if s.AssignmentName != nil && len(*s.AssignmentName) < 1 {
20071		invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1))
20072	}
20073	if s.AwsAccountId == nil {
20074		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
20075	}
20076	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
20077		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
20078	}
20079	if s.Namespace == nil {
20080		invalidParams.Add(request.NewErrParamRequired("Namespace"))
20081	}
20082	if s.Namespace != nil && len(*s.Namespace) < 1 {
20083		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
20084	}
20085
20086	if invalidParams.Len() > 0 {
20087		return invalidParams
20088	}
20089	return nil
20090}
20091
20092// SetAssignmentName sets the AssignmentName field's value.
20093func (s *DescribeIAMPolicyAssignmentInput) SetAssignmentName(v string) *DescribeIAMPolicyAssignmentInput {
20094	s.AssignmentName = &v
20095	return s
20096}
20097
20098// SetAwsAccountId sets the AwsAccountId field's value.
20099func (s *DescribeIAMPolicyAssignmentInput) SetAwsAccountId(v string) *DescribeIAMPolicyAssignmentInput {
20100	s.AwsAccountId = &v
20101	return s
20102}
20103
20104// SetNamespace sets the Namespace field's value.
20105func (s *DescribeIAMPolicyAssignmentInput) SetNamespace(v string) *DescribeIAMPolicyAssignmentInput {
20106	s.Namespace = &v
20107	return s
20108}
20109
20110type DescribeIAMPolicyAssignmentOutput struct {
20111	_ struct{} `type:"structure"`
20112
20113	// Information describing the IAM policy assignment.
20114	IAMPolicyAssignment *IAMPolicyAssignment `type:"structure"`
20115
20116	// The AWS request ID for this operation.
20117	RequestId *string `type:"string"`
20118
20119	// The HTTP status of the request.
20120	Status *int64 `location:"statusCode" type:"integer"`
20121}
20122
20123// String returns the string representation
20124func (s DescribeIAMPolicyAssignmentOutput) String() string {
20125	return awsutil.Prettify(s)
20126}
20127
20128// GoString returns the string representation
20129func (s DescribeIAMPolicyAssignmentOutput) GoString() string {
20130	return s.String()
20131}
20132
20133// SetIAMPolicyAssignment sets the IAMPolicyAssignment field's value.
20134func (s *DescribeIAMPolicyAssignmentOutput) SetIAMPolicyAssignment(v *IAMPolicyAssignment) *DescribeIAMPolicyAssignmentOutput {
20135	s.IAMPolicyAssignment = v
20136	return s
20137}
20138
20139// SetRequestId sets the RequestId field's value.
20140func (s *DescribeIAMPolicyAssignmentOutput) SetRequestId(v string) *DescribeIAMPolicyAssignmentOutput {
20141	s.RequestId = &v
20142	return s
20143}
20144
20145// SetStatus sets the Status field's value.
20146func (s *DescribeIAMPolicyAssignmentOutput) SetStatus(v int64) *DescribeIAMPolicyAssignmentOutput {
20147	s.Status = &v
20148	return s
20149}
20150
20151type DescribeIngestionInput struct {
20152	_ struct{} `type:"structure"`
20153
20154	// The AWS account ID.
20155	//
20156	// AwsAccountId is a required field
20157	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
20158
20159	// The ID of the dataset used in the ingestion.
20160	//
20161	// DataSetId is a required field
20162	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
20163
20164	// An ID for the ingestion.
20165	//
20166	// IngestionId is a required field
20167	IngestionId *string `location:"uri" locationName:"IngestionId" min:"1" type:"string" required:"true"`
20168}
20169
20170// String returns the string representation
20171func (s DescribeIngestionInput) String() string {
20172	return awsutil.Prettify(s)
20173}
20174
20175// GoString returns the string representation
20176func (s DescribeIngestionInput) GoString() string {
20177	return s.String()
20178}
20179
20180// Validate inspects the fields of the type to determine if they are valid.
20181func (s *DescribeIngestionInput) Validate() error {
20182	invalidParams := request.ErrInvalidParams{Context: "DescribeIngestionInput"}
20183	if s.AwsAccountId == nil {
20184		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
20185	}
20186	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
20187		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
20188	}
20189	if s.DataSetId == nil {
20190		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
20191	}
20192	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
20193		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
20194	}
20195	if s.IngestionId == nil {
20196		invalidParams.Add(request.NewErrParamRequired("IngestionId"))
20197	}
20198	if s.IngestionId != nil && len(*s.IngestionId) < 1 {
20199		invalidParams.Add(request.NewErrParamMinLen("IngestionId", 1))
20200	}
20201
20202	if invalidParams.Len() > 0 {
20203		return invalidParams
20204	}
20205	return nil
20206}
20207
20208// SetAwsAccountId sets the AwsAccountId field's value.
20209func (s *DescribeIngestionInput) SetAwsAccountId(v string) *DescribeIngestionInput {
20210	s.AwsAccountId = &v
20211	return s
20212}
20213
20214// SetDataSetId sets the DataSetId field's value.
20215func (s *DescribeIngestionInput) SetDataSetId(v string) *DescribeIngestionInput {
20216	s.DataSetId = &v
20217	return s
20218}
20219
20220// SetIngestionId sets the IngestionId field's value.
20221func (s *DescribeIngestionInput) SetIngestionId(v string) *DescribeIngestionInput {
20222	s.IngestionId = &v
20223	return s
20224}
20225
20226type DescribeIngestionOutput struct {
20227	_ struct{} `type:"structure"`
20228
20229	// Information about the ingestion.
20230	Ingestion *Ingestion `type:"structure"`
20231
20232	// The AWS request ID for this operation.
20233	RequestId *string `type:"string"`
20234
20235	// The HTTP status of the request.
20236	Status *int64 `location:"statusCode" type:"integer"`
20237}
20238
20239// String returns the string representation
20240func (s DescribeIngestionOutput) String() string {
20241	return awsutil.Prettify(s)
20242}
20243
20244// GoString returns the string representation
20245func (s DescribeIngestionOutput) GoString() string {
20246	return s.String()
20247}
20248
20249// SetIngestion sets the Ingestion field's value.
20250func (s *DescribeIngestionOutput) SetIngestion(v *Ingestion) *DescribeIngestionOutput {
20251	s.Ingestion = v
20252	return s
20253}
20254
20255// SetRequestId sets the RequestId field's value.
20256func (s *DescribeIngestionOutput) SetRequestId(v string) *DescribeIngestionOutput {
20257	s.RequestId = &v
20258	return s
20259}
20260
20261// SetStatus sets the Status field's value.
20262func (s *DescribeIngestionOutput) SetStatus(v int64) *DescribeIngestionOutput {
20263	s.Status = &v
20264	return s
20265}
20266
20267type DescribeNamespaceInput struct {
20268	_ struct{} `type:"structure"`
20269
20270	// The ID for the AWS account that contains the QuickSight namespace that you
20271	// want to describe.
20272	//
20273	// AwsAccountId is a required field
20274	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
20275
20276	// The namespace that you want to describe.
20277	//
20278	// Namespace is a required field
20279	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
20280}
20281
20282// String returns the string representation
20283func (s DescribeNamespaceInput) String() string {
20284	return awsutil.Prettify(s)
20285}
20286
20287// GoString returns the string representation
20288func (s DescribeNamespaceInput) GoString() string {
20289	return s.String()
20290}
20291
20292// Validate inspects the fields of the type to determine if they are valid.
20293func (s *DescribeNamespaceInput) Validate() error {
20294	invalidParams := request.ErrInvalidParams{Context: "DescribeNamespaceInput"}
20295	if s.AwsAccountId == nil {
20296		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
20297	}
20298	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
20299		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
20300	}
20301	if s.Namespace == nil {
20302		invalidParams.Add(request.NewErrParamRequired("Namespace"))
20303	}
20304	if s.Namespace != nil && len(*s.Namespace) < 1 {
20305		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
20306	}
20307
20308	if invalidParams.Len() > 0 {
20309		return invalidParams
20310	}
20311	return nil
20312}
20313
20314// SetAwsAccountId sets the AwsAccountId field's value.
20315func (s *DescribeNamespaceInput) SetAwsAccountId(v string) *DescribeNamespaceInput {
20316	s.AwsAccountId = &v
20317	return s
20318}
20319
20320// SetNamespace sets the Namespace field's value.
20321func (s *DescribeNamespaceInput) SetNamespace(v string) *DescribeNamespaceInput {
20322	s.Namespace = &v
20323	return s
20324}
20325
20326type DescribeNamespaceOutput struct {
20327	_ struct{} `type:"structure"`
20328
20329	// The information about the namespace that you're describing. The response
20330	// includes the namespace ARN, name, AWS Region, creation status, and identity
20331	// store. DescribeNamespace also works for namespaces that are in the process
20332	// of being created. For incomplete namespaces, this API operation lists the
20333	// namespace error types and messages associated with the creation process.
20334	Namespace *NamespaceInfoV2 `type:"structure"`
20335
20336	// The AWS request ID for this operation.
20337	RequestId *string `type:"string"`
20338
20339	// The HTTP status of the request.
20340	Status *int64 `location:"statusCode" type:"integer"`
20341}
20342
20343// String returns the string representation
20344func (s DescribeNamespaceOutput) String() string {
20345	return awsutil.Prettify(s)
20346}
20347
20348// GoString returns the string representation
20349func (s DescribeNamespaceOutput) GoString() string {
20350	return s.String()
20351}
20352
20353// SetNamespace sets the Namespace field's value.
20354func (s *DescribeNamespaceOutput) SetNamespace(v *NamespaceInfoV2) *DescribeNamespaceOutput {
20355	s.Namespace = v
20356	return s
20357}
20358
20359// SetRequestId sets the RequestId field's value.
20360func (s *DescribeNamespaceOutput) SetRequestId(v string) *DescribeNamespaceOutput {
20361	s.RequestId = &v
20362	return s
20363}
20364
20365// SetStatus sets the Status field's value.
20366func (s *DescribeNamespaceOutput) SetStatus(v int64) *DescribeNamespaceOutput {
20367	s.Status = &v
20368	return s
20369}
20370
20371type DescribeTemplateAliasInput struct {
20372	_ struct{} `type:"structure"`
20373
20374	// The name of the template alias that you want to describe. If you name a specific
20375	// alias, you describe the version that the alias points to. You can specify
20376	// the latest version of the template by providing the keyword $LATEST in the
20377	// AliasName parameter. The keyword $PUBLISHED doesn't apply to templates.
20378	//
20379	// AliasName is a required field
20380	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
20381
20382	// The ID of the AWS account that contains the template alias that you're describing.
20383	//
20384	// AwsAccountId is a required field
20385	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
20386
20387	// The ID for the template.
20388	//
20389	// TemplateId is a required field
20390	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
20391}
20392
20393// String returns the string representation
20394func (s DescribeTemplateAliasInput) String() string {
20395	return awsutil.Prettify(s)
20396}
20397
20398// GoString returns the string representation
20399func (s DescribeTemplateAliasInput) GoString() string {
20400	return s.String()
20401}
20402
20403// Validate inspects the fields of the type to determine if they are valid.
20404func (s *DescribeTemplateAliasInput) Validate() error {
20405	invalidParams := request.ErrInvalidParams{Context: "DescribeTemplateAliasInput"}
20406	if s.AliasName == nil {
20407		invalidParams.Add(request.NewErrParamRequired("AliasName"))
20408	}
20409	if s.AliasName != nil && len(*s.AliasName) < 1 {
20410		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
20411	}
20412	if s.AwsAccountId == nil {
20413		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
20414	}
20415	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
20416		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
20417	}
20418	if s.TemplateId == nil {
20419		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
20420	}
20421	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
20422		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
20423	}
20424
20425	if invalidParams.Len() > 0 {
20426		return invalidParams
20427	}
20428	return nil
20429}
20430
20431// SetAliasName sets the AliasName field's value.
20432func (s *DescribeTemplateAliasInput) SetAliasName(v string) *DescribeTemplateAliasInput {
20433	s.AliasName = &v
20434	return s
20435}
20436
20437// SetAwsAccountId sets the AwsAccountId field's value.
20438func (s *DescribeTemplateAliasInput) SetAwsAccountId(v string) *DescribeTemplateAliasInput {
20439	s.AwsAccountId = &v
20440	return s
20441}
20442
20443// SetTemplateId sets the TemplateId field's value.
20444func (s *DescribeTemplateAliasInput) SetTemplateId(v string) *DescribeTemplateAliasInput {
20445	s.TemplateId = &v
20446	return s
20447}
20448
20449type DescribeTemplateAliasOutput struct {
20450	_ struct{} `type:"structure"`
20451
20452	// The AWS request ID for this operation.
20453	RequestId *string `type:"string"`
20454
20455	// The HTTP status of the request.
20456	Status *int64 `location:"statusCode" type:"integer"`
20457
20458	// Information about the template alias.
20459	TemplateAlias *TemplateAlias `type:"structure"`
20460}
20461
20462// String returns the string representation
20463func (s DescribeTemplateAliasOutput) String() string {
20464	return awsutil.Prettify(s)
20465}
20466
20467// GoString returns the string representation
20468func (s DescribeTemplateAliasOutput) GoString() string {
20469	return s.String()
20470}
20471
20472// SetRequestId sets the RequestId field's value.
20473func (s *DescribeTemplateAliasOutput) SetRequestId(v string) *DescribeTemplateAliasOutput {
20474	s.RequestId = &v
20475	return s
20476}
20477
20478// SetStatus sets the Status field's value.
20479func (s *DescribeTemplateAliasOutput) SetStatus(v int64) *DescribeTemplateAliasOutput {
20480	s.Status = &v
20481	return s
20482}
20483
20484// SetTemplateAlias sets the TemplateAlias field's value.
20485func (s *DescribeTemplateAliasOutput) SetTemplateAlias(v *TemplateAlias) *DescribeTemplateAliasOutput {
20486	s.TemplateAlias = v
20487	return s
20488}
20489
20490type DescribeTemplateInput struct {
20491	_ struct{} `type:"structure"`
20492
20493	// The alias of the template that you want to describe. If you name a specific
20494	// alias, you describe the version that the alias points to. You can specify
20495	// the latest version of the template by providing the keyword $LATEST in the
20496	// AliasName parameter. The keyword $PUBLISHED doesn't apply to templates.
20497	AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"`
20498
20499	// The ID of the AWS account that contains the template that you're describing.
20500	//
20501	// AwsAccountId is a required field
20502	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
20503
20504	// The ID for the template.
20505	//
20506	// TemplateId is a required field
20507	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
20508
20509	// (Optional) The number for the version to describe. If a VersionNumber parameter
20510	// value isn't provided, the latest version of the template is described.
20511	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
20512}
20513
20514// String returns the string representation
20515func (s DescribeTemplateInput) String() string {
20516	return awsutil.Prettify(s)
20517}
20518
20519// GoString returns the string representation
20520func (s DescribeTemplateInput) GoString() string {
20521	return s.String()
20522}
20523
20524// Validate inspects the fields of the type to determine if they are valid.
20525func (s *DescribeTemplateInput) Validate() error {
20526	invalidParams := request.ErrInvalidParams{Context: "DescribeTemplateInput"}
20527	if s.AliasName != nil && len(*s.AliasName) < 1 {
20528		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
20529	}
20530	if s.AwsAccountId == nil {
20531		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
20532	}
20533	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
20534		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
20535	}
20536	if s.TemplateId == nil {
20537		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
20538	}
20539	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
20540		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
20541	}
20542	if s.VersionNumber != nil && *s.VersionNumber < 1 {
20543		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
20544	}
20545
20546	if invalidParams.Len() > 0 {
20547		return invalidParams
20548	}
20549	return nil
20550}
20551
20552// SetAliasName sets the AliasName field's value.
20553func (s *DescribeTemplateInput) SetAliasName(v string) *DescribeTemplateInput {
20554	s.AliasName = &v
20555	return s
20556}
20557
20558// SetAwsAccountId sets the AwsAccountId field's value.
20559func (s *DescribeTemplateInput) SetAwsAccountId(v string) *DescribeTemplateInput {
20560	s.AwsAccountId = &v
20561	return s
20562}
20563
20564// SetTemplateId sets the TemplateId field's value.
20565func (s *DescribeTemplateInput) SetTemplateId(v string) *DescribeTemplateInput {
20566	s.TemplateId = &v
20567	return s
20568}
20569
20570// SetVersionNumber sets the VersionNumber field's value.
20571func (s *DescribeTemplateInput) SetVersionNumber(v int64) *DescribeTemplateInput {
20572	s.VersionNumber = &v
20573	return s
20574}
20575
20576type DescribeTemplateOutput struct {
20577	_ struct{} `type:"structure"`
20578
20579	// The AWS request ID for this operation.
20580	RequestId *string `type:"string"`
20581
20582	// The HTTP status of the request.
20583	Status *int64 `location:"statusCode" type:"integer"`
20584
20585	// The template structure for the object you want to describe.
20586	Template *Template `type:"structure"`
20587}
20588
20589// String returns the string representation
20590func (s DescribeTemplateOutput) String() string {
20591	return awsutil.Prettify(s)
20592}
20593
20594// GoString returns the string representation
20595func (s DescribeTemplateOutput) GoString() string {
20596	return s.String()
20597}
20598
20599// SetRequestId sets the RequestId field's value.
20600func (s *DescribeTemplateOutput) SetRequestId(v string) *DescribeTemplateOutput {
20601	s.RequestId = &v
20602	return s
20603}
20604
20605// SetStatus sets the Status field's value.
20606func (s *DescribeTemplateOutput) SetStatus(v int64) *DescribeTemplateOutput {
20607	s.Status = &v
20608	return s
20609}
20610
20611// SetTemplate sets the Template field's value.
20612func (s *DescribeTemplateOutput) SetTemplate(v *Template) *DescribeTemplateOutput {
20613	s.Template = v
20614	return s
20615}
20616
20617type DescribeTemplatePermissionsInput struct {
20618	_ struct{} `type:"structure"`
20619
20620	// The ID of the AWS account that contains the template that you're describing.
20621	//
20622	// AwsAccountId is a required field
20623	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
20624
20625	// The ID for the template.
20626	//
20627	// TemplateId is a required field
20628	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
20629}
20630
20631// String returns the string representation
20632func (s DescribeTemplatePermissionsInput) String() string {
20633	return awsutil.Prettify(s)
20634}
20635
20636// GoString returns the string representation
20637func (s DescribeTemplatePermissionsInput) GoString() string {
20638	return s.String()
20639}
20640
20641// Validate inspects the fields of the type to determine if they are valid.
20642func (s *DescribeTemplatePermissionsInput) Validate() error {
20643	invalidParams := request.ErrInvalidParams{Context: "DescribeTemplatePermissionsInput"}
20644	if s.AwsAccountId == nil {
20645		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
20646	}
20647	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
20648		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
20649	}
20650	if s.TemplateId == nil {
20651		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
20652	}
20653	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
20654		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
20655	}
20656
20657	if invalidParams.Len() > 0 {
20658		return invalidParams
20659	}
20660	return nil
20661}
20662
20663// SetAwsAccountId sets the AwsAccountId field's value.
20664func (s *DescribeTemplatePermissionsInput) SetAwsAccountId(v string) *DescribeTemplatePermissionsInput {
20665	s.AwsAccountId = &v
20666	return s
20667}
20668
20669// SetTemplateId sets the TemplateId field's value.
20670func (s *DescribeTemplatePermissionsInput) SetTemplateId(v string) *DescribeTemplatePermissionsInput {
20671	s.TemplateId = &v
20672	return s
20673}
20674
20675type DescribeTemplatePermissionsOutput struct {
20676	_ struct{} `type:"structure"`
20677
20678	// A list of resource permissions to be set on the template.
20679	Permissions []*ResourcePermission `min:"1" type:"list"`
20680
20681	// The AWS request ID for this operation.
20682	RequestId *string `type:"string"`
20683
20684	// The HTTP status of the request.
20685	Status *int64 `location:"statusCode" type:"integer"`
20686
20687	// The Amazon Resource Name (ARN) of the template.
20688	TemplateArn *string `type:"string"`
20689
20690	// The ID for the template.
20691	TemplateId *string `min:"1" type:"string"`
20692}
20693
20694// String returns the string representation
20695func (s DescribeTemplatePermissionsOutput) String() string {
20696	return awsutil.Prettify(s)
20697}
20698
20699// GoString returns the string representation
20700func (s DescribeTemplatePermissionsOutput) GoString() string {
20701	return s.String()
20702}
20703
20704// SetPermissions sets the Permissions field's value.
20705func (s *DescribeTemplatePermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeTemplatePermissionsOutput {
20706	s.Permissions = v
20707	return s
20708}
20709
20710// SetRequestId sets the RequestId field's value.
20711func (s *DescribeTemplatePermissionsOutput) SetRequestId(v string) *DescribeTemplatePermissionsOutput {
20712	s.RequestId = &v
20713	return s
20714}
20715
20716// SetStatus sets the Status field's value.
20717func (s *DescribeTemplatePermissionsOutput) SetStatus(v int64) *DescribeTemplatePermissionsOutput {
20718	s.Status = &v
20719	return s
20720}
20721
20722// SetTemplateArn sets the TemplateArn field's value.
20723func (s *DescribeTemplatePermissionsOutput) SetTemplateArn(v string) *DescribeTemplatePermissionsOutput {
20724	s.TemplateArn = &v
20725	return s
20726}
20727
20728// SetTemplateId sets the TemplateId field's value.
20729func (s *DescribeTemplatePermissionsOutput) SetTemplateId(v string) *DescribeTemplatePermissionsOutput {
20730	s.TemplateId = &v
20731	return s
20732}
20733
20734type DescribeThemeAliasInput struct {
20735	_ struct{} `type:"structure"`
20736
20737	// The name of the theme alias that you want to describe.
20738	//
20739	// AliasName is a required field
20740	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
20741
20742	// The ID of the AWS account that contains the theme alias that you're describing.
20743	//
20744	// AwsAccountId is a required field
20745	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
20746
20747	// The ID for the theme.
20748	//
20749	// ThemeId is a required field
20750	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
20751}
20752
20753// String returns the string representation
20754func (s DescribeThemeAliasInput) String() string {
20755	return awsutil.Prettify(s)
20756}
20757
20758// GoString returns the string representation
20759func (s DescribeThemeAliasInput) GoString() string {
20760	return s.String()
20761}
20762
20763// Validate inspects the fields of the type to determine if they are valid.
20764func (s *DescribeThemeAliasInput) Validate() error {
20765	invalidParams := request.ErrInvalidParams{Context: "DescribeThemeAliasInput"}
20766	if s.AliasName == nil {
20767		invalidParams.Add(request.NewErrParamRequired("AliasName"))
20768	}
20769	if s.AliasName != nil && len(*s.AliasName) < 1 {
20770		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
20771	}
20772	if s.AwsAccountId == nil {
20773		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
20774	}
20775	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
20776		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
20777	}
20778	if s.ThemeId == nil {
20779		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
20780	}
20781	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
20782		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
20783	}
20784
20785	if invalidParams.Len() > 0 {
20786		return invalidParams
20787	}
20788	return nil
20789}
20790
20791// SetAliasName sets the AliasName field's value.
20792func (s *DescribeThemeAliasInput) SetAliasName(v string) *DescribeThemeAliasInput {
20793	s.AliasName = &v
20794	return s
20795}
20796
20797// SetAwsAccountId sets the AwsAccountId field's value.
20798func (s *DescribeThemeAliasInput) SetAwsAccountId(v string) *DescribeThemeAliasInput {
20799	s.AwsAccountId = &v
20800	return s
20801}
20802
20803// SetThemeId sets the ThemeId field's value.
20804func (s *DescribeThemeAliasInput) SetThemeId(v string) *DescribeThemeAliasInput {
20805	s.ThemeId = &v
20806	return s
20807}
20808
20809type DescribeThemeAliasOutput struct {
20810	_ struct{} `type:"structure"`
20811
20812	// The AWS request ID for this operation.
20813	RequestId *string `type:"string"`
20814
20815	// The HTTP status of the request.
20816	Status *int64 `location:"statusCode" type:"integer"`
20817
20818	// Information about the theme alias.
20819	ThemeAlias *ThemeAlias `type:"structure"`
20820}
20821
20822// String returns the string representation
20823func (s DescribeThemeAliasOutput) String() string {
20824	return awsutil.Prettify(s)
20825}
20826
20827// GoString returns the string representation
20828func (s DescribeThemeAliasOutput) GoString() string {
20829	return s.String()
20830}
20831
20832// SetRequestId sets the RequestId field's value.
20833func (s *DescribeThemeAliasOutput) SetRequestId(v string) *DescribeThemeAliasOutput {
20834	s.RequestId = &v
20835	return s
20836}
20837
20838// SetStatus sets the Status field's value.
20839func (s *DescribeThemeAliasOutput) SetStatus(v int64) *DescribeThemeAliasOutput {
20840	s.Status = &v
20841	return s
20842}
20843
20844// SetThemeAlias sets the ThemeAlias field's value.
20845func (s *DescribeThemeAliasOutput) SetThemeAlias(v *ThemeAlias) *DescribeThemeAliasOutput {
20846	s.ThemeAlias = v
20847	return s
20848}
20849
20850type DescribeThemeInput struct {
20851	_ struct{} `type:"structure"`
20852
20853	// The alias of the theme that you want to describe. If you name a specific
20854	// alias, you describe the version that the alias points to. You can specify
20855	// the latest version of the theme by providing the keyword $LATEST in the AliasName
20856	// parameter. The keyword $PUBLISHED doesn't apply to themes.
20857	AliasName *string `location:"querystring" locationName:"alias-name" min:"1" type:"string"`
20858
20859	// The ID of the AWS account that contains the theme that you're describing.
20860	//
20861	// AwsAccountId is a required field
20862	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" type:"string" required:"true"`
20863
20864	// The ID for the theme.
20865	//
20866	// ThemeId is a required field
20867	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
20868
20869	// The version number for the version to describe. If a VersionNumber parameter
20870	// value isn't provided, the latest version of the theme is described.
20871	VersionNumber *int64 `location:"querystring" locationName:"version-number" min:"1" type:"long"`
20872}
20873
20874// String returns the string representation
20875func (s DescribeThemeInput) String() string {
20876	return awsutil.Prettify(s)
20877}
20878
20879// GoString returns the string representation
20880func (s DescribeThemeInput) GoString() string {
20881	return s.String()
20882}
20883
20884// Validate inspects the fields of the type to determine if they are valid.
20885func (s *DescribeThemeInput) Validate() error {
20886	invalidParams := request.ErrInvalidParams{Context: "DescribeThemeInput"}
20887	if s.AliasName != nil && len(*s.AliasName) < 1 {
20888		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
20889	}
20890	if s.AwsAccountId == nil {
20891		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
20892	}
20893	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 1 {
20894		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 1))
20895	}
20896	if s.ThemeId == nil {
20897		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
20898	}
20899	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
20900		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
20901	}
20902	if s.VersionNumber != nil && *s.VersionNumber < 1 {
20903		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
20904	}
20905
20906	if invalidParams.Len() > 0 {
20907		return invalidParams
20908	}
20909	return nil
20910}
20911
20912// SetAliasName sets the AliasName field's value.
20913func (s *DescribeThemeInput) SetAliasName(v string) *DescribeThemeInput {
20914	s.AliasName = &v
20915	return s
20916}
20917
20918// SetAwsAccountId sets the AwsAccountId field's value.
20919func (s *DescribeThemeInput) SetAwsAccountId(v string) *DescribeThemeInput {
20920	s.AwsAccountId = &v
20921	return s
20922}
20923
20924// SetThemeId sets the ThemeId field's value.
20925func (s *DescribeThemeInput) SetThemeId(v string) *DescribeThemeInput {
20926	s.ThemeId = &v
20927	return s
20928}
20929
20930// SetVersionNumber sets the VersionNumber field's value.
20931func (s *DescribeThemeInput) SetVersionNumber(v int64) *DescribeThemeInput {
20932	s.VersionNumber = &v
20933	return s
20934}
20935
20936type DescribeThemeOutput struct {
20937	_ struct{} `type:"structure"`
20938
20939	// The AWS request ID for this operation.
20940	RequestId *string `type:"string"`
20941
20942	// The HTTP status of the request.
20943	Status *int64 `location:"statusCode" type:"integer"`
20944
20945	// The information about the theme that you are describing.
20946	Theme *Theme `type:"structure"`
20947}
20948
20949// String returns the string representation
20950func (s DescribeThemeOutput) String() string {
20951	return awsutil.Prettify(s)
20952}
20953
20954// GoString returns the string representation
20955func (s DescribeThemeOutput) GoString() string {
20956	return s.String()
20957}
20958
20959// SetRequestId sets the RequestId field's value.
20960func (s *DescribeThemeOutput) SetRequestId(v string) *DescribeThemeOutput {
20961	s.RequestId = &v
20962	return s
20963}
20964
20965// SetStatus sets the Status field's value.
20966func (s *DescribeThemeOutput) SetStatus(v int64) *DescribeThemeOutput {
20967	s.Status = &v
20968	return s
20969}
20970
20971// SetTheme sets the Theme field's value.
20972func (s *DescribeThemeOutput) SetTheme(v *Theme) *DescribeThemeOutput {
20973	s.Theme = v
20974	return s
20975}
20976
20977type DescribeThemePermissionsInput struct {
20978	_ struct{} `type:"structure"`
20979
20980	// The ID of the AWS account that contains the theme that you're describing.
20981	//
20982	// AwsAccountId is a required field
20983	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
20984
20985	// The ID for the theme that you want to describe permissions for.
20986	//
20987	// ThemeId is a required field
20988	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
20989}
20990
20991// String returns the string representation
20992func (s DescribeThemePermissionsInput) String() string {
20993	return awsutil.Prettify(s)
20994}
20995
20996// GoString returns the string representation
20997func (s DescribeThemePermissionsInput) GoString() string {
20998	return s.String()
20999}
21000
21001// Validate inspects the fields of the type to determine if they are valid.
21002func (s *DescribeThemePermissionsInput) Validate() error {
21003	invalidParams := request.ErrInvalidParams{Context: "DescribeThemePermissionsInput"}
21004	if s.AwsAccountId == nil {
21005		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
21006	}
21007	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
21008		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
21009	}
21010	if s.ThemeId == nil {
21011		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
21012	}
21013	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
21014		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
21015	}
21016
21017	if invalidParams.Len() > 0 {
21018		return invalidParams
21019	}
21020	return nil
21021}
21022
21023// SetAwsAccountId sets the AwsAccountId field's value.
21024func (s *DescribeThemePermissionsInput) SetAwsAccountId(v string) *DescribeThemePermissionsInput {
21025	s.AwsAccountId = &v
21026	return s
21027}
21028
21029// SetThemeId sets the ThemeId field's value.
21030func (s *DescribeThemePermissionsInput) SetThemeId(v string) *DescribeThemePermissionsInput {
21031	s.ThemeId = &v
21032	return s
21033}
21034
21035type DescribeThemePermissionsOutput struct {
21036	_ struct{} `type:"structure"`
21037
21038	// A list of resource permissions set on the theme.
21039	Permissions []*ResourcePermission `min:"1" type:"list"`
21040
21041	// The AWS request ID for this operation.
21042	RequestId *string `type:"string"`
21043
21044	// The HTTP status of the request.
21045	Status *int64 `location:"statusCode" type:"integer"`
21046
21047	// The Amazon Resource Name (ARN) of the theme.
21048	ThemeArn *string `type:"string"`
21049
21050	// The ID for the theme.
21051	ThemeId *string `min:"1" type:"string"`
21052}
21053
21054// String returns the string representation
21055func (s DescribeThemePermissionsOutput) String() string {
21056	return awsutil.Prettify(s)
21057}
21058
21059// GoString returns the string representation
21060func (s DescribeThemePermissionsOutput) GoString() string {
21061	return s.String()
21062}
21063
21064// SetPermissions sets the Permissions field's value.
21065func (s *DescribeThemePermissionsOutput) SetPermissions(v []*ResourcePermission) *DescribeThemePermissionsOutput {
21066	s.Permissions = v
21067	return s
21068}
21069
21070// SetRequestId sets the RequestId field's value.
21071func (s *DescribeThemePermissionsOutput) SetRequestId(v string) *DescribeThemePermissionsOutput {
21072	s.RequestId = &v
21073	return s
21074}
21075
21076// SetStatus sets the Status field's value.
21077func (s *DescribeThemePermissionsOutput) SetStatus(v int64) *DescribeThemePermissionsOutput {
21078	s.Status = &v
21079	return s
21080}
21081
21082// SetThemeArn sets the ThemeArn field's value.
21083func (s *DescribeThemePermissionsOutput) SetThemeArn(v string) *DescribeThemePermissionsOutput {
21084	s.ThemeArn = &v
21085	return s
21086}
21087
21088// SetThemeId sets the ThemeId field's value.
21089func (s *DescribeThemePermissionsOutput) SetThemeId(v string) *DescribeThemePermissionsOutput {
21090	s.ThemeId = &v
21091	return s
21092}
21093
21094type DescribeUserInput struct {
21095	_ struct{} `type:"structure"`
21096
21097	// The ID for the AWS account that the user is in. Currently, you use the ID
21098	// for the AWS account that contains your Amazon QuickSight account.
21099	//
21100	// AwsAccountId is a required field
21101	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
21102
21103	// The namespace. Currently, you should set this to default.
21104	//
21105	// Namespace is a required field
21106	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
21107
21108	// The name of the user that you want to describe.
21109	//
21110	// UserName is a required field
21111	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
21112}
21113
21114// String returns the string representation
21115func (s DescribeUserInput) String() string {
21116	return awsutil.Prettify(s)
21117}
21118
21119// GoString returns the string representation
21120func (s DescribeUserInput) GoString() string {
21121	return s.String()
21122}
21123
21124// Validate inspects the fields of the type to determine if they are valid.
21125func (s *DescribeUserInput) Validate() error {
21126	invalidParams := request.ErrInvalidParams{Context: "DescribeUserInput"}
21127	if s.AwsAccountId == nil {
21128		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
21129	}
21130	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
21131		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
21132	}
21133	if s.Namespace == nil {
21134		invalidParams.Add(request.NewErrParamRequired("Namespace"))
21135	}
21136	if s.Namespace != nil && len(*s.Namespace) < 1 {
21137		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
21138	}
21139	if s.UserName == nil {
21140		invalidParams.Add(request.NewErrParamRequired("UserName"))
21141	}
21142	if s.UserName != nil && len(*s.UserName) < 1 {
21143		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
21144	}
21145
21146	if invalidParams.Len() > 0 {
21147		return invalidParams
21148	}
21149	return nil
21150}
21151
21152// SetAwsAccountId sets the AwsAccountId field's value.
21153func (s *DescribeUserInput) SetAwsAccountId(v string) *DescribeUserInput {
21154	s.AwsAccountId = &v
21155	return s
21156}
21157
21158// SetNamespace sets the Namespace field's value.
21159func (s *DescribeUserInput) SetNamespace(v string) *DescribeUserInput {
21160	s.Namespace = &v
21161	return s
21162}
21163
21164// SetUserName sets the UserName field's value.
21165func (s *DescribeUserInput) SetUserName(v string) *DescribeUserInput {
21166	s.UserName = &v
21167	return s
21168}
21169
21170type DescribeUserOutput struct {
21171	_ struct{} `type:"structure"`
21172
21173	// The AWS request ID for this operation.
21174	RequestId *string `type:"string"`
21175
21176	// The HTTP status of the request.
21177	Status *int64 `location:"statusCode" type:"integer"`
21178
21179	// The user name.
21180	User *User `type:"structure"`
21181}
21182
21183// String returns the string representation
21184func (s DescribeUserOutput) String() string {
21185	return awsutil.Prettify(s)
21186}
21187
21188// GoString returns the string representation
21189func (s DescribeUserOutput) GoString() string {
21190	return s.String()
21191}
21192
21193// SetRequestId sets the RequestId field's value.
21194func (s *DescribeUserOutput) SetRequestId(v string) *DescribeUserOutput {
21195	s.RequestId = &v
21196	return s
21197}
21198
21199// SetStatus sets the Status field's value.
21200func (s *DescribeUserOutput) SetStatus(v int64) *DescribeUserOutput {
21201	s.Status = &v
21202	return s
21203}
21204
21205// SetUser sets the User field's value.
21206func (s *DescribeUserOutput) SetUser(v *User) *DescribeUserOutput {
21207	s.User = v
21208	return s
21209}
21210
21211// The domain specified isn't on the allow list. All domains for embedded dashboards
21212// must be added to the approved list by an Amazon QuickSight admin.
21213type DomainNotWhitelistedException struct {
21214	_            struct{}                  `type:"structure"`
21215	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
21216
21217	Message_ *string `locationName:"Message" type:"string"`
21218
21219	// The AWS request ID for this request.
21220	RequestId *string `type:"string"`
21221}
21222
21223// String returns the string representation
21224func (s DomainNotWhitelistedException) String() string {
21225	return awsutil.Prettify(s)
21226}
21227
21228// GoString returns the string representation
21229func (s DomainNotWhitelistedException) GoString() string {
21230	return s.String()
21231}
21232
21233func newErrorDomainNotWhitelistedException(v protocol.ResponseMetadata) error {
21234	return &DomainNotWhitelistedException{
21235		RespMetadata: v,
21236	}
21237}
21238
21239// Code returns the exception type name.
21240func (s *DomainNotWhitelistedException) Code() string {
21241	return "DomainNotWhitelistedException"
21242}
21243
21244// Message returns the exception's message.
21245func (s *DomainNotWhitelistedException) Message() string {
21246	if s.Message_ != nil {
21247		return *s.Message_
21248	}
21249	return ""
21250}
21251
21252// OrigErr always returns nil, satisfies awserr.Error interface.
21253func (s *DomainNotWhitelistedException) OrigErr() error {
21254	return nil
21255}
21256
21257func (s *DomainNotWhitelistedException) Error() string {
21258	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
21259}
21260
21261// Status code returns the HTTP status code for the request's response error.
21262func (s *DomainNotWhitelistedException) StatusCode() int {
21263	return s.RespMetadata.StatusCode
21264}
21265
21266// RequestID returns the service's response RequestID for request.
21267func (s *DomainNotWhitelistedException) RequestID() string {
21268	return s.RespMetadata.RequestID
21269}
21270
21271// Error information for the SPICE ingestion of a dataset.
21272type ErrorInfo struct {
21273	_ struct{} `type:"structure"`
21274
21275	// Error message.
21276	Message *string `type:"string"`
21277
21278	// Error type.
21279	Type *string `type:"string" enum:"IngestionErrorType"`
21280}
21281
21282// String returns the string representation
21283func (s ErrorInfo) String() string {
21284	return awsutil.Prettify(s)
21285}
21286
21287// GoString returns the string representation
21288func (s ErrorInfo) GoString() string {
21289	return s.String()
21290}
21291
21292// SetMessage sets the Message field's value.
21293func (s *ErrorInfo) SetMessage(v string) *ErrorInfo {
21294	s.Message = &v
21295	return s
21296}
21297
21298// SetType sets the Type field's value.
21299func (s *ErrorInfo) SetType(v string) *ErrorInfo {
21300	s.Type = &v
21301	return s
21302}
21303
21304// Export to .csv option.
21305type ExportToCSVOption struct {
21306	_ struct{} `type:"structure"`
21307
21308	// Availability status.
21309	AvailabilityStatus *string `type:"string" enum:"DashboardBehavior"`
21310}
21311
21312// String returns the string representation
21313func (s ExportToCSVOption) String() string {
21314	return awsutil.Prettify(s)
21315}
21316
21317// GoString returns the string representation
21318func (s ExportToCSVOption) GoString() string {
21319	return s.String()
21320}
21321
21322// SetAvailabilityStatus sets the AvailabilityStatus field's value.
21323func (s *ExportToCSVOption) SetAvailabilityStatus(v string) *ExportToCSVOption {
21324	s.AvailabilityStatus = &v
21325	return s
21326}
21327
21328// A FieldFolder element is a folder that contains fields and nested subfolders.
21329type FieldFolder struct {
21330	_ struct{} `type:"structure"`
21331
21332	// A folder has a list of columns. A column can only be in one folder.
21333	Columns []*string `locationName:"columns" type:"list"`
21334
21335	// The description for a field folder.
21336	Description *string `locationName:"description" type:"string"`
21337}
21338
21339// String returns the string representation
21340func (s FieldFolder) String() string {
21341	return awsutil.Prettify(s)
21342}
21343
21344// GoString returns the string representation
21345func (s FieldFolder) GoString() string {
21346	return s.String()
21347}
21348
21349// SetColumns sets the Columns field's value.
21350func (s *FieldFolder) SetColumns(v []*string) *FieldFolder {
21351	s.Columns = v
21352	return s
21353}
21354
21355// SetDescription sets the Description field's value.
21356func (s *FieldFolder) SetDescription(v string) *FieldFolder {
21357	s.Description = &v
21358	return s
21359}
21360
21361// A transform operation that filters rows based on a condition.
21362type FilterOperation struct {
21363	_ struct{} `type:"structure"`
21364
21365	// An expression that must evaluate to a Boolean value. Rows for which the expression
21366	// evaluates to true are kept in the dataset.
21367	//
21368	// ConditionExpression is a required field
21369	ConditionExpression *string `min:"1" type:"string" required:"true"`
21370}
21371
21372// String returns the string representation
21373func (s FilterOperation) String() string {
21374	return awsutil.Prettify(s)
21375}
21376
21377// GoString returns the string representation
21378func (s FilterOperation) GoString() string {
21379	return s.String()
21380}
21381
21382// Validate inspects the fields of the type to determine if they are valid.
21383func (s *FilterOperation) Validate() error {
21384	invalidParams := request.ErrInvalidParams{Context: "FilterOperation"}
21385	if s.ConditionExpression == nil {
21386		invalidParams.Add(request.NewErrParamRequired("ConditionExpression"))
21387	}
21388	if s.ConditionExpression != nil && len(*s.ConditionExpression) < 1 {
21389		invalidParams.Add(request.NewErrParamMinLen("ConditionExpression", 1))
21390	}
21391
21392	if invalidParams.Len() > 0 {
21393		return invalidParams
21394	}
21395	return nil
21396}
21397
21398// SetConditionExpression sets the ConditionExpression field's value.
21399func (s *FilterOperation) SetConditionExpression(v string) *FilterOperation {
21400	s.ConditionExpression = &v
21401	return s
21402}
21403
21404// Geospatial column group that denotes a hierarchy.
21405type GeoSpatialColumnGroup struct {
21406	_ struct{} `type:"structure"`
21407
21408	// Columns in this hierarchy.
21409	//
21410	// Columns is a required field
21411	Columns []*string `min:"1" type:"list" required:"true"`
21412
21413	// Country code.
21414	//
21415	// CountryCode is a required field
21416	CountryCode *string `type:"string" required:"true" enum:"GeoSpatialCountryCode"`
21417
21418	// A display name for the hierarchy.
21419	//
21420	// Name is a required field
21421	Name *string `min:"1" type:"string" required:"true"`
21422}
21423
21424// String returns the string representation
21425func (s GeoSpatialColumnGroup) String() string {
21426	return awsutil.Prettify(s)
21427}
21428
21429// GoString returns the string representation
21430func (s GeoSpatialColumnGroup) GoString() string {
21431	return s.String()
21432}
21433
21434// Validate inspects the fields of the type to determine if they are valid.
21435func (s *GeoSpatialColumnGroup) Validate() error {
21436	invalidParams := request.ErrInvalidParams{Context: "GeoSpatialColumnGroup"}
21437	if s.Columns == nil {
21438		invalidParams.Add(request.NewErrParamRequired("Columns"))
21439	}
21440	if s.Columns != nil && len(s.Columns) < 1 {
21441		invalidParams.Add(request.NewErrParamMinLen("Columns", 1))
21442	}
21443	if s.CountryCode == nil {
21444		invalidParams.Add(request.NewErrParamRequired("CountryCode"))
21445	}
21446	if s.Name == nil {
21447		invalidParams.Add(request.NewErrParamRequired("Name"))
21448	}
21449	if s.Name != nil && len(*s.Name) < 1 {
21450		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
21451	}
21452
21453	if invalidParams.Len() > 0 {
21454		return invalidParams
21455	}
21456	return nil
21457}
21458
21459// SetColumns sets the Columns field's value.
21460func (s *GeoSpatialColumnGroup) SetColumns(v []*string) *GeoSpatialColumnGroup {
21461	s.Columns = v
21462	return s
21463}
21464
21465// SetCountryCode sets the CountryCode field's value.
21466func (s *GeoSpatialColumnGroup) SetCountryCode(v string) *GeoSpatialColumnGroup {
21467	s.CountryCode = &v
21468	return s
21469}
21470
21471// SetName sets the Name field's value.
21472func (s *GeoSpatialColumnGroup) SetName(v string) *GeoSpatialColumnGroup {
21473	s.Name = &v
21474	return s
21475}
21476
21477type GetDashboardEmbedUrlInput struct {
21478	_ struct{} `type:"structure"`
21479
21480	// A list of one or more dashboard IDs that you want to add to a session that
21481	// includes anonymous users. The IdentityType parameter must be set to ANONYMOUS
21482	// for this to work, because other identity types authenticate as QuickSight
21483	// or IAM users. For example, if you set "--dashboard-id dash_id1 --dashboard-id
21484	// dash_id2 dash_id3 identity-type ANONYMOUS", the session can access all three
21485	// dashboards.
21486	AdditionalDashboardIds []*string `location:"querystring" locationName:"additional-dashboard-ids" min:"1" type:"list"`
21487
21488	// The ID for the AWS account that contains the dashboard that you're embedding.
21489	//
21490	// AwsAccountId is a required field
21491	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
21492
21493	// The ID for the dashboard, also added to the AWS Identity and Access Management
21494	// (IAM) policy.
21495	//
21496	// DashboardId is a required field
21497	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
21498
21499	// The authentication method that the user uses to sign in.
21500	//
21501	// IdentityType is a required field
21502	IdentityType *string `location:"querystring" locationName:"creds-type" type:"string" required:"true" enum:"EmbeddingIdentityType"`
21503
21504	// The QuickSight namespace that contains the dashboard IDs in this request.
21505	// If you're not using a custom namespace, set this to "default".
21506	Namespace *string `location:"querystring" locationName:"namespace" type:"string"`
21507
21508	// Remove the reset button on the embedded dashboard. The default is FALSE,
21509	// which enables the reset button.
21510	ResetDisabled *bool `location:"querystring" locationName:"reset-disabled" type:"boolean"`
21511
21512	// How many minutes the session is valid. The session lifetime must be 15-600
21513	// minutes.
21514	SessionLifetimeInMinutes *int64 `location:"querystring" locationName:"session-lifetime" min:"15" type:"long"`
21515
21516	// Adds persistence of state for the user session in an embedded dashboard.
21517	// Persistence applies to the sheet and the parameter settings. These are control
21518	// settings that the dashboard subscriber (QuickSight reader) chooses while
21519	// viewing the dashboard. If this is set to TRUE, the settings are the same
21520	// when the subscriber reopens the same dashboard URL. The state is stored in
21521	// QuickSight, not in a browser cookie. If this is set to FALSE, the state of
21522	// the user session is not persisted. The default is FALSE.
21523	StatePersistenceEnabled *bool `location:"querystring" locationName:"state-persistence-enabled" type:"boolean"`
21524
21525	// Remove the undo/redo button on the embedded dashboard. The default is FALSE,
21526	// which enables the undo/redo button.
21527	UndoRedoDisabled *bool `location:"querystring" locationName:"undo-redo-disabled" type:"boolean"`
21528
21529	// The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT
21530	// identity type. You can use this for any Amazon QuickSight users in your account
21531	// (readers, authors, or admins) authenticated as one of the following:
21532	//
21533	//    * Active Directory (AD) users or group members
21534	//
21535	//    * Invited nonfederated users
21536	//
21537	//    * IAM users and IAM role-based sessions authenticated through Federated
21538	//    Single Sign-On using SAML, OpenID Connect, or IAM federation.
21539	//
21540	// Omit this parameter for users in the third group – IAM users and IAM role-based
21541	// sessions.
21542	UserArn *string `location:"querystring" locationName:"user-arn" type:"string"`
21543}
21544
21545// String returns the string representation
21546func (s GetDashboardEmbedUrlInput) String() string {
21547	return awsutil.Prettify(s)
21548}
21549
21550// GoString returns the string representation
21551func (s GetDashboardEmbedUrlInput) GoString() string {
21552	return s.String()
21553}
21554
21555// Validate inspects the fields of the type to determine if they are valid.
21556func (s *GetDashboardEmbedUrlInput) Validate() error {
21557	invalidParams := request.ErrInvalidParams{Context: "GetDashboardEmbedUrlInput"}
21558	if s.AdditionalDashboardIds != nil && len(s.AdditionalDashboardIds) < 1 {
21559		invalidParams.Add(request.NewErrParamMinLen("AdditionalDashboardIds", 1))
21560	}
21561	if s.AwsAccountId == nil {
21562		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
21563	}
21564	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
21565		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
21566	}
21567	if s.DashboardId == nil {
21568		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
21569	}
21570	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
21571		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
21572	}
21573	if s.IdentityType == nil {
21574		invalidParams.Add(request.NewErrParamRequired("IdentityType"))
21575	}
21576	if s.SessionLifetimeInMinutes != nil && *s.SessionLifetimeInMinutes < 15 {
21577		invalidParams.Add(request.NewErrParamMinValue("SessionLifetimeInMinutes", 15))
21578	}
21579
21580	if invalidParams.Len() > 0 {
21581		return invalidParams
21582	}
21583	return nil
21584}
21585
21586// SetAdditionalDashboardIds sets the AdditionalDashboardIds field's value.
21587func (s *GetDashboardEmbedUrlInput) SetAdditionalDashboardIds(v []*string) *GetDashboardEmbedUrlInput {
21588	s.AdditionalDashboardIds = v
21589	return s
21590}
21591
21592// SetAwsAccountId sets the AwsAccountId field's value.
21593func (s *GetDashboardEmbedUrlInput) SetAwsAccountId(v string) *GetDashboardEmbedUrlInput {
21594	s.AwsAccountId = &v
21595	return s
21596}
21597
21598// SetDashboardId sets the DashboardId field's value.
21599func (s *GetDashboardEmbedUrlInput) SetDashboardId(v string) *GetDashboardEmbedUrlInput {
21600	s.DashboardId = &v
21601	return s
21602}
21603
21604// SetIdentityType sets the IdentityType field's value.
21605func (s *GetDashboardEmbedUrlInput) SetIdentityType(v string) *GetDashboardEmbedUrlInput {
21606	s.IdentityType = &v
21607	return s
21608}
21609
21610// SetNamespace sets the Namespace field's value.
21611func (s *GetDashboardEmbedUrlInput) SetNamespace(v string) *GetDashboardEmbedUrlInput {
21612	s.Namespace = &v
21613	return s
21614}
21615
21616// SetResetDisabled sets the ResetDisabled field's value.
21617func (s *GetDashboardEmbedUrlInput) SetResetDisabled(v bool) *GetDashboardEmbedUrlInput {
21618	s.ResetDisabled = &v
21619	return s
21620}
21621
21622// SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value.
21623func (s *GetDashboardEmbedUrlInput) SetSessionLifetimeInMinutes(v int64) *GetDashboardEmbedUrlInput {
21624	s.SessionLifetimeInMinutes = &v
21625	return s
21626}
21627
21628// SetStatePersistenceEnabled sets the StatePersistenceEnabled field's value.
21629func (s *GetDashboardEmbedUrlInput) SetStatePersistenceEnabled(v bool) *GetDashboardEmbedUrlInput {
21630	s.StatePersistenceEnabled = &v
21631	return s
21632}
21633
21634// SetUndoRedoDisabled sets the UndoRedoDisabled field's value.
21635func (s *GetDashboardEmbedUrlInput) SetUndoRedoDisabled(v bool) *GetDashboardEmbedUrlInput {
21636	s.UndoRedoDisabled = &v
21637	return s
21638}
21639
21640// SetUserArn sets the UserArn field's value.
21641func (s *GetDashboardEmbedUrlInput) SetUserArn(v string) *GetDashboardEmbedUrlInput {
21642	s.UserArn = &v
21643	return s
21644}
21645
21646// Output returned from the GetDashboardEmbedUrl operation.
21647type GetDashboardEmbedUrlOutput struct {
21648	_ struct{} `type:"structure"`
21649
21650	// A single-use URL that you can put into your server-side webpage to embed
21651	// your dashboard. This URL is valid for 5 minutes. The API operation provides
21652	// the URL with an auth_code value that enables one (and only one) sign-on to
21653	// a user session that is valid for 10 hours.
21654	EmbedUrl *string `type:"string" sensitive:"true"`
21655
21656	// The AWS request ID for this operation.
21657	RequestId *string `type:"string"`
21658
21659	// The HTTP status of the request.
21660	Status *int64 `location:"statusCode" type:"integer"`
21661}
21662
21663// String returns the string representation
21664func (s GetDashboardEmbedUrlOutput) String() string {
21665	return awsutil.Prettify(s)
21666}
21667
21668// GoString returns the string representation
21669func (s GetDashboardEmbedUrlOutput) GoString() string {
21670	return s.String()
21671}
21672
21673// SetEmbedUrl sets the EmbedUrl field's value.
21674func (s *GetDashboardEmbedUrlOutput) SetEmbedUrl(v string) *GetDashboardEmbedUrlOutput {
21675	s.EmbedUrl = &v
21676	return s
21677}
21678
21679// SetRequestId sets the RequestId field's value.
21680func (s *GetDashboardEmbedUrlOutput) SetRequestId(v string) *GetDashboardEmbedUrlOutput {
21681	s.RequestId = &v
21682	return s
21683}
21684
21685// SetStatus sets the Status field's value.
21686func (s *GetDashboardEmbedUrlOutput) SetStatus(v int64) *GetDashboardEmbedUrlOutput {
21687	s.Status = &v
21688	return s
21689}
21690
21691type GetSessionEmbedUrlInput struct {
21692	_ struct{} `type:"structure"`
21693
21694	// The ID for the AWS account associated with your QuickSight subscription.
21695	//
21696	// AwsAccountId is a required field
21697	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
21698
21699	// The URL you use to access the embedded session. The entry point URL is constrained
21700	// to the following paths:
21701	//
21702	//    * /start
21703	//
21704	//    * /start/analyses
21705	//
21706	//    * /start/dashboards
21707	//
21708	//    * /start/favorites
21709	//
21710	//    * /dashboards/DashboardId - where DashboardId is the actual ID key from
21711	//    the QuickSight console URL of the dashboard
21712	//
21713	//    * /analyses/AnalysisId - where AnalysisId is the actual ID key from the
21714	//    QuickSight console URL of the analysis
21715	EntryPoint *string `location:"querystring" locationName:"entry-point" min:"1" type:"string"`
21716
21717	// How many minutes the session is valid. The session lifetime must be 15-600
21718	// minutes.
21719	SessionLifetimeInMinutes *int64 `location:"querystring" locationName:"session-lifetime" min:"15" type:"long"`
21720
21721	// The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT
21722	// identity type. You can use this for any type of Amazon QuickSight users in
21723	// your account (readers, authors, or admins). They need to be authenticated
21724	// as one of the following:
21725	//
21726	// Active Directory (AD) users or group members
21727	//
21728	// Invited nonfederated users
21729	//
21730	// AWS Identity and Access Management (IAM) users and IAM role-based sessions
21731	// authenticated through Federated Single Sign-On using SAML, OpenID Connect,
21732	// or IAM federation
21733	//
21734	// Omit this parameter for users in the third group, IAM users and IAM role-based
21735	// sessions.
21736	UserArn *string `location:"querystring" locationName:"user-arn" type:"string"`
21737}
21738
21739// String returns the string representation
21740func (s GetSessionEmbedUrlInput) String() string {
21741	return awsutil.Prettify(s)
21742}
21743
21744// GoString returns the string representation
21745func (s GetSessionEmbedUrlInput) GoString() string {
21746	return s.String()
21747}
21748
21749// Validate inspects the fields of the type to determine if they are valid.
21750func (s *GetSessionEmbedUrlInput) Validate() error {
21751	invalidParams := request.ErrInvalidParams{Context: "GetSessionEmbedUrlInput"}
21752	if s.AwsAccountId == nil {
21753		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
21754	}
21755	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
21756		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
21757	}
21758	if s.EntryPoint != nil && len(*s.EntryPoint) < 1 {
21759		invalidParams.Add(request.NewErrParamMinLen("EntryPoint", 1))
21760	}
21761	if s.SessionLifetimeInMinutes != nil && *s.SessionLifetimeInMinutes < 15 {
21762		invalidParams.Add(request.NewErrParamMinValue("SessionLifetimeInMinutes", 15))
21763	}
21764
21765	if invalidParams.Len() > 0 {
21766		return invalidParams
21767	}
21768	return nil
21769}
21770
21771// SetAwsAccountId sets the AwsAccountId field's value.
21772func (s *GetSessionEmbedUrlInput) SetAwsAccountId(v string) *GetSessionEmbedUrlInput {
21773	s.AwsAccountId = &v
21774	return s
21775}
21776
21777// SetEntryPoint sets the EntryPoint field's value.
21778func (s *GetSessionEmbedUrlInput) SetEntryPoint(v string) *GetSessionEmbedUrlInput {
21779	s.EntryPoint = &v
21780	return s
21781}
21782
21783// SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value.
21784func (s *GetSessionEmbedUrlInput) SetSessionLifetimeInMinutes(v int64) *GetSessionEmbedUrlInput {
21785	s.SessionLifetimeInMinutes = &v
21786	return s
21787}
21788
21789// SetUserArn sets the UserArn field's value.
21790func (s *GetSessionEmbedUrlInput) SetUserArn(v string) *GetSessionEmbedUrlInput {
21791	s.UserArn = &v
21792	return s
21793}
21794
21795type GetSessionEmbedUrlOutput struct {
21796	_ struct{} `type:"structure"`
21797
21798	// A single-use URL that you can put into your server-side web page to embed
21799	// your QuickSight session. This URL is valid for 5 minutes. The API operation
21800	// provides the URL with an auth_code value that enables one (and only one)
21801	// sign-on to a user session that is valid for 10 hours.
21802	EmbedUrl *string `type:"string" sensitive:"true"`
21803
21804	// The AWS request ID for this operation.
21805	RequestId *string `type:"string"`
21806
21807	// The HTTP status of the request.
21808	Status *int64 `location:"statusCode" type:"integer"`
21809}
21810
21811// String returns the string representation
21812func (s GetSessionEmbedUrlOutput) String() string {
21813	return awsutil.Prettify(s)
21814}
21815
21816// GoString returns the string representation
21817func (s GetSessionEmbedUrlOutput) GoString() string {
21818	return s.String()
21819}
21820
21821// SetEmbedUrl sets the EmbedUrl field's value.
21822func (s *GetSessionEmbedUrlOutput) SetEmbedUrl(v string) *GetSessionEmbedUrlOutput {
21823	s.EmbedUrl = &v
21824	return s
21825}
21826
21827// SetRequestId sets the RequestId field's value.
21828func (s *GetSessionEmbedUrlOutput) SetRequestId(v string) *GetSessionEmbedUrlOutput {
21829	s.RequestId = &v
21830	return s
21831}
21832
21833// SetStatus sets the Status field's value.
21834func (s *GetSessionEmbedUrlOutput) SetStatus(v int64) *GetSessionEmbedUrlOutput {
21835	s.Status = &v
21836	return s
21837}
21838
21839// A group in Amazon QuickSight consists of a set of users. You can use groups
21840// to make it easier to manage access and security.
21841type Group struct {
21842	_ struct{} `type:"structure"`
21843
21844	// The Amazon Resource Name (ARN) for the group.
21845	Arn *string `type:"string"`
21846
21847	// The group description.
21848	Description *string `min:"1" type:"string"`
21849
21850	// The name of the group.
21851	GroupName *string `min:"1" type:"string"`
21852
21853	// The principal ID of the group.
21854	PrincipalId *string `type:"string"`
21855}
21856
21857// String returns the string representation
21858func (s Group) String() string {
21859	return awsutil.Prettify(s)
21860}
21861
21862// GoString returns the string representation
21863func (s Group) GoString() string {
21864	return s.String()
21865}
21866
21867// SetArn sets the Arn field's value.
21868func (s *Group) SetArn(v string) *Group {
21869	s.Arn = &v
21870	return s
21871}
21872
21873// SetDescription sets the Description field's value.
21874func (s *Group) SetDescription(v string) *Group {
21875	s.Description = &v
21876	return s
21877}
21878
21879// SetGroupName sets the GroupName field's value.
21880func (s *Group) SetGroupName(v string) *Group {
21881	s.GroupName = &v
21882	return s
21883}
21884
21885// SetPrincipalId sets the PrincipalId field's value.
21886func (s *Group) SetPrincipalId(v string) *Group {
21887	s.PrincipalId = &v
21888	return s
21889}
21890
21891// A member of an Amazon QuickSight group. Currently, group members must be
21892// users. Groups can't be members of another group. .
21893type GroupMember struct {
21894	_ struct{} `type:"structure"`
21895
21896	// The Amazon Resource Name (ARN) for the group member (user).
21897	Arn *string `type:"string"`
21898
21899	// The name of the group member (user).
21900	MemberName *string `min:"1" type:"string"`
21901}
21902
21903// String returns the string representation
21904func (s GroupMember) String() string {
21905	return awsutil.Prettify(s)
21906}
21907
21908// GoString returns the string representation
21909func (s GroupMember) GoString() string {
21910	return s.String()
21911}
21912
21913// SetArn sets the Arn field's value.
21914func (s *GroupMember) SetArn(v string) *GroupMember {
21915	s.Arn = &v
21916	return s
21917}
21918
21919// SetMemberName sets the MemberName field's value.
21920func (s *GroupMember) SetMemberName(v string) *GroupMember {
21921	s.MemberName = &v
21922	return s
21923}
21924
21925// The display options for gutter spacing between tiles on a sheet.
21926type GutterStyle struct {
21927	_ struct{} `type:"structure"`
21928
21929	// This Boolean value controls whether to display a gutter space between sheet
21930	// tiles.
21931	Show *bool `type:"boolean"`
21932}
21933
21934// String returns the string representation
21935func (s GutterStyle) String() string {
21936	return awsutil.Prettify(s)
21937}
21938
21939// GoString returns the string representation
21940func (s GutterStyle) GoString() string {
21941	return s.String()
21942}
21943
21944// SetShow sets the Show field's value.
21945func (s *GutterStyle) SetShow(v bool) *GutterStyle {
21946	s.Show = &v
21947	return s
21948}
21949
21950// An AWS Identity and Access Management (IAM) policy assignment.
21951type IAMPolicyAssignment struct {
21952	_ struct{} `type:"structure"`
21953
21954	// Assignment ID.
21955	AssignmentId *string `type:"string"`
21956
21957	// Assignment name.
21958	AssignmentName *string `min:"1" type:"string"`
21959
21960	// Assignment status.
21961	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
21962
21963	// The AWS account ID.
21964	AwsAccountId *string `min:"12" type:"string"`
21965
21966	// Identities.
21967	Identities map[string][]*string `type:"map"`
21968
21969	// The Amazon Resource Name (ARN) for the IAM policy.
21970	PolicyArn *string `type:"string"`
21971}
21972
21973// String returns the string representation
21974func (s IAMPolicyAssignment) String() string {
21975	return awsutil.Prettify(s)
21976}
21977
21978// GoString returns the string representation
21979func (s IAMPolicyAssignment) GoString() string {
21980	return s.String()
21981}
21982
21983// SetAssignmentId sets the AssignmentId field's value.
21984func (s *IAMPolicyAssignment) SetAssignmentId(v string) *IAMPolicyAssignment {
21985	s.AssignmentId = &v
21986	return s
21987}
21988
21989// SetAssignmentName sets the AssignmentName field's value.
21990func (s *IAMPolicyAssignment) SetAssignmentName(v string) *IAMPolicyAssignment {
21991	s.AssignmentName = &v
21992	return s
21993}
21994
21995// SetAssignmentStatus sets the AssignmentStatus field's value.
21996func (s *IAMPolicyAssignment) SetAssignmentStatus(v string) *IAMPolicyAssignment {
21997	s.AssignmentStatus = &v
21998	return s
21999}
22000
22001// SetAwsAccountId sets the AwsAccountId field's value.
22002func (s *IAMPolicyAssignment) SetAwsAccountId(v string) *IAMPolicyAssignment {
22003	s.AwsAccountId = &v
22004	return s
22005}
22006
22007// SetIdentities sets the Identities field's value.
22008func (s *IAMPolicyAssignment) SetIdentities(v map[string][]*string) *IAMPolicyAssignment {
22009	s.Identities = v
22010	return s
22011}
22012
22013// SetPolicyArn sets the PolicyArn field's value.
22014func (s *IAMPolicyAssignment) SetPolicyArn(v string) *IAMPolicyAssignment {
22015	s.PolicyArn = &v
22016	return s
22017}
22018
22019// IAM policy assignment summary.
22020type IAMPolicyAssignmentSummary struct {
22021	_ struct{} `type:"structure"`
22022
22023	// Assignment name.
22024	AssignmentName *string `min:"1" type:"string"`
22025
22026	// Assignment status.
22027	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
22028}
22029
22030// String returns the string representation
22031func (s IAMPolicyAssignmentSummary) String() string {
22032	return awsutil.Prettify(s)
22033}
22034
22035// GoString returns the string representation
22036func (s IAMPolicyAssignmentSummary) GoString() string {
22037	return s.String()
22038}
22039
22040// SetAssignmentName sets the AssignmentName field's value.
22041func (s *IAMPolicyAssignmentSummary) SetAssignmentName(v string) *IAMPolicyAssignmentSummary {
22042	s.AssignmentName = &v
22043	return s
22044}
22045
22046// SetAssignmentStatus sets the AssignmentStatus field's value.
22047func (s *IAMPolicyAssignmentSummary) SetAssignmentStatus(v string) *IAMPolicyAssignmentSummary {
22048	s.AssignmentStatus = &v
22049	return s
22050}
22051
22052// The identity type specified isn't supported. Supported identity types include
22053// IAM and QUICKSIGHT.
22054type IdentityTypeNotSupportedException struct {
22055	_            struct{}                  `type:"structure"`
22056	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
22057
22058	Message_ *string `locationName:"Message" type:"string"`
22059
22060	// The AWS request ID for this request.
22061	RequestId *string `type:"string"`
22062}
22063
22064// String returns the string representation
22065func (s IdentityTypeNotSupportedException) String() string {
22066	return awsutil.Prettify(s)
22067}
22068
22069// GoString returns the string representation
22070func (s IdentityTypeNotSupportedException) GoString() string {
22071	return s.String()
22072}
22073
22074func newErrorIdentityTypeNotSupportedException(v protocol.ResponseMetadata) error {
22075	return &IdentityTypeNotSupportedException{
22076		RespMetadata: v,
22077	}
22078}
22079
22080// Code returns the exception type name.
22081func (s *IdentityTypeNotSupportedException) Code() string {
22082	return "IdentityTypeNotSupportedException"
22083}
22084
22085// Message returns the exception's message.
22086func (s *IdentityTypeNotSupportedException) Message() string {
22087	if s.Message_ != nil {
22088		return *s.Message_
22089	}
22090	return ""
22091}
22092
22093// OrigErr always returns nil, satisfies awserr.Error interface.
22094func (s *IdentityTypeNotSupportedException) OrigErr() error {
22095	return nil
22096}
22097
22098func (s *IdentityTypeNotSupportedException) Error() string {
22099	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
22100}
22101
22102// Status code returns the HTTP status code for the request's response error.
22103func (s *IdentityTypeNotSupportedException) StatusCode() int {
22104	return s.RespMetadata.StatusCode
22105}
22106
22107// RequestID returns the service's response RequestID for request.
22108func (s *IdentityTypeNotSupportedException) RequestID() string {
22109	return s.RespMetadata.RequestID
22110}
22111
22112// Information about the SPICE ingestion for a dataset.
22113type Ingestion struct {
22114	_ struct{} `type:"structure"`
22115
22116	// The Amazon Resource Name (ARN) of the resource.
22117	//
22118	// Arn is a required field
22119	Arn *string `type:"string" required:"true"`
22120
22121	// The time that this ingestion started.
22122	//
22123	// CreatedTime is a required field
22124	CreatedTime *time.Time `type:"timestamp" required:"true"`
22125
22126	// Error information for this ingestion.
22127	ErrorInfo *ErrorInfo `type:"structure"`
22128
22129	// Ingestion ID.
22130	IngestionId *string `min:"1" type:"string"`
22131
22132	// The size of the data ingested, in bytes.
22133	IngestionSizeInBytes *int64 `type:"long"`
22134
22135	// Ingestion status.
22136	//
22137	// IngestionStatus is a required field
22138	IngestionStatus *string `type:"string" required:"true" enum:"IngestionStatus"`
22139
22140	// The time that this ingestion took, measured in seconds.
22141	IngestionTimeInSeconds *int64 `type:"long"`
22142
22143	// Information about a queued dataset SPICE ingestion.
22144	QueueInfo *QueueInfo `type:"structure"`
22145
22146	// Event source for this ingestion.
22147	RequestSource *string `type:"string" enum:"IngestionRequestSource"`
22148
22149	// Type of this ingestion.
22150	RequestType *string `type:"string" enum:"IngestionRequestType"`
22151
22152	// Information about rows for a data set SPICE ingestion.
22153	RowInfo *RowInfo `type:"structure"`
22154}
22155
22156// String returns the string representation
22157func (s Ingestion) String() string {
22158	return awsutil.Prettify(s)
22159}
22160
22161// GoString returns the string representation
22162func (s Ingestion) GoString() string {
22163	return s.String()
22164}
22165
22166// SetArn sets the Arn field's value.
22167func (s *Ingestion) SetArn(v string) *Ingestion {
22168	s.Arn = &v
22169	return s
22170}
22171
22172// SetCreatedTime sets the CreatedTime field's value.
22173func (s *Ingestion) SetCreatedTime(v time.Time) *Ingestion {
22174	s.CreatedTime = &v
22175	return s
22176}
22177
22178// SetErrorInfo sets the ErrorInfo field's value.
22179func (s *Ingestion) SetErrorInfo(v *ErrorInfo) *Ingestion {
22180	s.ErrorInfo = v
22181	return s
22182}
22183
22184// SetIngestionId sets the IngestionId field's value.
22185func (s *Ingestion) SetIngestionId(v string) *Ingestion {
22186	s.IngestionId = &v
22187	return s
22188}
22189
22190// SetIngestionSizeInBytes sets the IngestionSizeInBytes field's value.
22191func (s *Ingestion) SetIngestionSizeInBytes(v int64) *Ingestion {
22192	s.IngestionSizeInBytes = &v
22193	return s
22194}
22195
22196// SetIngestionStatus sets the IngestionStatus field's value.
22197func (s *Ingestion) SetIngestionStatus(v string) *Ingestion {
22198	s.IngestionStatus = &v
22199	return s
22200}
22201
22202// SetIngestionTimeInSeconds sets the IngestionTimeInSeconds field's value.
22203func (s *Ingestion) SetIngestionTimeInSeconds(v int64) *Ingestion {
22204	s.IngestionTimeInSeconds = &v
22205	return s
22206}
22207
22208// SetQueueInfo sets the QueueInfo field's value.
22209func (s *Ingestion) SetQueueInfo(v *QueueInfo) *Ingestion {
22210	s.QueueInfo = v
22211	return s
22212}
22213
22214// SetRequestSource sets the RequestSource field's value.
22215func (s *Ingestion) SetRequestSource(v string) *Ingestion {
22216	s.RequestSource = &v
22217	return s
22218}
22219
22220// SetRequestType sets the RequestType field's value.
22221func (s *Ingestion) SetRequestType(v string) *Ingestion {
22222	s.RequestType = &v
22223	return s
22224}
22225
22226// SetRowInfo sets the RowInfo field's value.
22227func (s *Ingestion) SetRowInfo(v *RowInfo) *Ingestion {
22228	s.RowInfo = v
22229	return s
22230}
22231
22232// Metadata for a column that is used as the input of a transform operation.
22233type InputColumn struct {
22234	_ struct{} `type:"structure"`
22235
22236	// The name of this column in the underlying data source.
22237	//
22238	// Name is a required field
22239	Name *string `min:"1" type:"string" required:"true"`
22240
22241	// The data type of the column.
22242	//
22243	// Type is a required field
22244	Type *string `type:"string" required:"true" enum:"InputColumnDataType"`
22245}
22246
22247// String returns the string representation
22248func (s InputColumn) String() string {
22249	return awsutil.Prettify(s)
22250}
22251
22252// GoString returns the string representation
22253func (s InputColumn) GoString() string {
22254	return s.String()
22255}
22256
22257// Validate inspects the fields of the type to determine if they are valid.
22258func (s *InputColumn) Validate() error {
22259	invalidParams := request.ErrInvalidParams{Context: "InputColumn"}
22260	if s.Name == nil {
22261		invalidParams.Add(request.NewErrParamRequired("Name"))
22262	}
22263	if s.Name != nil && len(*s.Name) < 1 {
22264		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
22265	}
22266	if s.Type == nil {
22267		invalidParams.Add(request.NewErrParamRequired("Type"))
22268	}
22269
22270	if invalidParams.Len() > 0 {
22271		return invalidParams
22272	}
22273	return nil
22274}
22275
22276// SetName sets the Name field's value.
22277func (s *InputColumn) SetName(v string) *InputColumn {
22278	s.Name = &v
22279	return s
22280}
22281
22282// SetType sets the Type field's value.
22283func (s *InputColumn) SetType(v string) *InputColumn {
22284	s.Type = &v
22285	return s
22286}
22287
22288// An integer parameter.
22289type IntegerParameter struct {
22290	_ struct{} `type:"structure"`
22291
22292	// The name of the integer parameter.
22293	//
22294	// Name is a required field
22295	Name *string `type:"string" required:"true"`
22296
22297	// The values for the integer parameter.
22298	//
22299	// Values is a required field
22300	Values []*int64 `type:"list" required:"true"`
22301}
22302
22303// String returns the string representation
22304func (s IntegerParameter) String() string {
22305	return awsutil.Prettify(s)
22306}
22307
22308// GoString returns the string representation
22309func (s IntegerParameter) GoString() string {
22310	return s.String()
22311}
22312
22313// Validate inspects the fields of the type to determine if they are valid.
22314func (s *IntegerParameter) Validate() error {
22315	invalidParams := request.ErrInvalidParams{Context: "IntegerParameter"}
22316	if s.Name == nil {
22317		invalidParams.Add(request.NewErrParamRequired("Name"))
22318	}
22319	if s.Values == nil {
22320		invalidParams.Add(request.NewErrParamRequired("Values"))
22321	}
22322
22323	if invalidParams.Len() > 0 {
22324		return invalidParams
22325	}
22326	return nil
22327}
22328
22329// SetName sets the Name field's value.
22330func (s *IntegerParameter) SetName(v string) *IntegerParameter {
22331	s.Name = &v
22332	return s
22333}
22334
22335// SetValues sets the Values field's value.
22336func (s *IntegerParameter) SetValues(v []*int64) *IntegerParameter {
22337	s.Values = v
22338	return s
22339}
22340
22341// An internal failure occurred.
22342type InternalFailureException struct {
22343	_            struct{}                  `type:"structure"`
22344	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
22345
22346	Message_ *string `locationName:"Message" type:"string"`
22347
22348	// The AWS request ID for this request.
22349	RequestId *string `type:"string"`
22350}
22351
22352// String returns the string representation
22353func (s InternalFailureException) String() string {
22354	return awsutil.Prettify(s)
22355}
22356
22357// GoString returns the string representation
22358func (s InternalFailureException) GoString() string {
22359	return s.String()
22360}
22361
22362func newErrorInternalFailureException(v protocol.ResponseMetadata) error {
22363	return &InternalFailureException{
22364		RespMetadata: v,
22365	}
22366}
22367
22368// Code returns the exception type name.
22369func (s *InternalFailureException) Code() string {
22370	return "InternalFailureException"
22371}
22372
22373// Message returns the exception's message.
22374func (s *InternalFailureException) Message() string {
22375	if s.Message_ != nil {
22376		return *s.Message_
22377	}
22378	return ""
22379}
22380
22381// OrigErr always returns nil, satisfies awserr.Error interface.
22382func (s *InternalFailureException) OrigErr() error {
22383	return nil
22384}
22385
22386func (s *InternalFailureException) Error() string {
22387	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
22388}
22389
22390// Status code returns the HTTP status code for the request's response error.
22391func (s *InternalFailureException) StatusCode() int {
22392	return s.RespMetadata.StatusCode
22393}
22394
22395// RequestID returns the service's response RequestID for request.
22396func (s *InternalFailureException) RequestID() string {
22397	return s.RespMetadata.RequestID
22398}
22399
22400// The NextToken value isn't valid.
22401type InvalidNextTokenException struct {
22402	_            struct{}                  `type:"structure"`
22403	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
22404
22405	Message_ *string `locationName:"Message" type:"string"`
22406
22407	// The AWS request ID for this request.
22408	RequestId *string `type:"string"`
22409}
22410
22411// String returns the string representation
22412func (s InvalidNextTokenException) String() string {
22413	return awsutil.Prettify(s)
22414}
22415
22416// GoString returns the string representation
22417func (s InvalidNextTokenException) GoString() string {
22418	return s.String()
22419}
22420
22421func newErrorInvalidNextTokenException(v protocol.ResponseMetadata) error {
22422	return &InvalidNextTokenException{
22423		RespMetadata: v,
22424	}
22425}
22426
22427// Code returns the exception type name.
22428func (s *InvalidNextTokenException) Code() string {
22429	return "InvalidNextTokenException"
22430}
22431
22432// Message returns the exception's message.
22433func (s *InvalidNextTokenException) Message() string {
22434	if s.Message_ != nil {
22435		return *s.Message_
22436	}
22437	return ""
22438}
22439
22440// OrigErr always returns nil, satisfies awserr.Error interface.
22441func (s *InvalidNextTokenException) OrigErr() error {
22442	return nil
22443}
22444
22445func (s *InvalidNextTokenException) Error() string {
22446	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
22447}
22448
22449// Status code returns the HTTP status code for the request's response error.
22450func (s *InvalidNextTokenException) StatusCode() int {
22451	return s.RespMetadata.StatusCode
22452}
22453
22454// RequestID returns the service's response RequestID for request.
22455func (s *InvalidNextTokenException) RequestID() string {
22456	return s.RespMetadata.RequestID
22457}
22458
22459// One or more parameters has a value that isn't valid.
22460type InvalidParameterValueException struct {
22461	_            struct{}                  `type:"structure"`
22462	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
22463
22464	Message_ *string `locationName:"Message" type:"string"`
22465
22466	// The AWS request ID for this request.
22467	RequestId *string `type:"string"`
22468}
22469
22470// String returns the string representation
22471func (s InvalidParameterValueException) String() string {
22472	return awsutil.Prettify(s)
22473}
22474
22475// GoString returns the string representation
22476func (s InvalidParameterValueException) GoString() string {
22477	return s.String()
22478}
22479
22480func newErrorInvalidParameterValueException(v protocol.ResponseMetadata) error {
22481	return &InvalidParameterValueException{
22482		RespMetadata: v,
22483	}
22484}
22485
22486// Code returns the exception type name.
22487func (s *InvalidParameterValueException) Code() string {
22488	return "InvalidParameterValueException"
22489}
22490
22491// Message returns the exception's message.
22492func (s *InvalidParameterValueException) Message() string {
22493	if s.Message_ != nil {
22494		return *s.Message_
22495	}
22496	return ""
22497}
22498
22499// OrigErr always returns nil, satisfies awserr.Error interface.
22500func (s *InvalidParameterValueException) OrigErr() error {
22501	return nil
22502}
22503
22504func (s *InvalidParameterValueException) Error() string {
22505	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
22506}
22507
22508// Status code returns the HTTP status code for the request's response error.
22509func (s *InvalidParameterValueException) StatusCode() int {
22510	return s.RespMetadata.StatusCode
22511}
22512
22513// RequestID returns the service's response RequestID for request.
22514func (s *InvalidParameterValueException) RequestID() string {
22515	return s.RespMetadata.RequestID
22516}
22517
22518// Jira parameters.
22519type JiraParameters struct {
22520	_ struct{} `type:"structure"`
22521
22522	// The base URL of the Jira site.
22523	//
22524	// SiteBaseUrl is a required field
22525	SiteBaseUrl *string `min:"1" type:"string" required:"true"`
22526}
22527
22528// String returns the string representation
22529func (s JiraParameters) String() string {
22530	return awsutil.Prettify(s)
22531}
22532
22533// GoString returns the string representation
22534func (s JiraParameters) GoString() string {
22535	return s.String()
22536}
22537
22538// Validate inspects the fields of the type to determine if they are valid.
22539func (s *JiraParameters) Validate() error {
22540	invalidParams := request.ErrInvalidParams{Context: "JiraParameters"}
22541	if s.SiteBaseUrl == nil {
22542		invalidParams.Add(request.NewErrParamRequired("SiteBaseUrl"))
22543	}
22544	if s.SiteBaseUrl != nil && len(*s.SiteBaseUrl) < 1 {
22545		invalidParams.Add(request.NewErrParamMinLen("SiteBaseUrl", 1))
22546	}
22547
22548	if invalidParams.Len() > 0 {
22549		return invalidParams
22550	}
22551	return nil
22552}
22553
22554// SetSiteBaseUrl sets the SiteBaseUrl field's value.
22555func (s *JiraParameters) SetSiteBaseUrl(v string) *JiraParameters {
22556	s.SiteBaseUrl = &v
22557	return s
22558}
22559
22560// The instructions associated with a join.
22561type JoinInstruction struct {
22562	_ struct{} `type:"structure"`
22563
22564	// Join key properties of the left operand.
22565	LeftJoinKeyProperties *JoinKeyProperties `type:"structure"`
22566
22567	// The operand on the left side of a join.
22568	//
22569	// LeftOperand is a required field
22570	LeftOperand *string `min:"1" type:"string" required:"true"`
22571
22572	// The join instructions provided in the ON clause of a join.
22573	//
22574	// OnClause is a required field
22575	OnClause *string `min:"1" type:"string" required:"true"`
22576
22577	// Join key properties of the right operand.
22578	RightJoinKeyProperties *JoinKeyProperties `type:"structure"`
22579
22580	// The operand on the right side of a join.
22581	//
22582	// RightOperand is a required field
22583	RightOperand *string `min:"1" type:"string" required:"true"`
22584
22585	// The type of join that it is.
22586	//
22587	// Type is a required field
22588	Type *string `type:"string" required:"true" enum:"JoinType"`
22589}
22590
22591// String returns the string representation
22592func (s JoinInstruction) String() string {
22593	return awsutil.Prettify(s)
22594}
22595
22596// GoString returns the string representation
22597func (s JoinInstruction) GoString() string {
22598	return s.String()
22599}
22600
22601// Validate inspects the fields of the type to determine if they are valid.
22602func (s *JoinInstruction) Validate() error {
22603	invalidParams := request.ErrInvalidParams{Context: "JoinInstruction"}
22604	if s.LeftOperand == nil {
22605		invalidParams.Add(request.NewErrParamRequired("LeftOperand"))
22606	}
22607	if s.LeftOperand != nil && len(*s.LeftOperand) < 1 {
22608		invalidParams.Add(request.NewErrParamMinLen("LeftOperand", 1))
22609	}
22610	if s.OnClause == nil {
22611		invalidParams.Add(request.NewErrParamRequired("OnClause"))
22612	}
22613	if s.OnClause != nil && len(*s.OnClause) < 1 {
22614		invalidParams.Add(request.NewErrParamMinLen("OnClause", 1))
22615	}
22616	if s.RightOperand == nil {
22617		invalidParams.Add(request.NewErrParamRequired("RightOperand"))
22618	}
22619	if s.RightOperand != nil && len(*s.RightOperand) < 1 {
22620		invalidParams.Add(request.NewErrParamMinLen("RightOperand", 1))
22621	}
22622	if s.Type == nil {
22623		invalidParams.Add(request.NewErrParamRequired("Type"))
22624	}
22625
22626	if invalidParams.Len() > 0 {
22627		return invalidParams
22628	}
22629	return nil
22630}
22631
22632// SetLeftJoinKeyProperties sets the LeftJoinKeyProperties field's value.
22633func (s *JoinInstruction) SetLeftJoinKeyProperties(v *JoinKeyProperties) *JoinInstruction {
22634	s.LeftJoinKeyProperties = v
22635	return s
22636}
22637
22638// SetLeftOperand sets the LeftOperand field's value.
22639func (s *JoinInstruction) SetLeftOperand(v string) *JoinInstruction {
22640	s.LeftOperand = &v
22641	return s
22642}
22643
22644// SetOnClause sets the OnClause field's value.
22645func (s *JoinInstruction) SetOnClause(v string) *JoinInstruction {
22646	s.OnClause = &v
22647	return s
22648}
22649
22650// SetRightJoinKeyProperties sets the RightJoinKeyProperties field's value.
22651func (s *JoinInstruction) SetRightJoinKeyProperties(v *JoinKeyProperties) *JoinInstruction {
22652	s.RightJoinKeyProperties = v
22653	return s
22654}
22655
22656// SetRightOperand sets the RightOperand field's value.
22657func (s *JoinInstruction) SetRightOperand(v string) *JoinInstruction {
22658	s.RightOperand = &v
22659	return s
22660}
22661
22662// SetType sets the Type field's value.
22663func (s *JoinInstruction) SetType(v string) *JoinInstruction {
22664	s.Type = &v
22665	return s
22666}
22667
22668// Properties associated with the columns participating in a join.
22669type JoinKeyProperties struct {
22670	_ struct{} `type:"structure"`
22671
22672	// A value that indicates that a row in a table is uniquely identified by the
22673	// columns in a join key. This is used by QuickSight to optimize query performance.
22674	UniqueKey *bool `type:"boolean"`
22675}
22676
22677// String returns the string representation
22678func (s JoinKeyProperties) String() string {
22679	return awsutil.Prettify(s)
22680}
22681
22682// GoString returns the string representation
22683func (s JoinKeyProperties) GoString() string {
22684	return s.String()
22685}
22686
22687// SetUniqueKey sets the UniqueKey field's value.
22688func (s *JoinKeyProperties) SetUniqueKey(v bool) *JoinKeyProperties {
22689	s.UniqueKey = &v
22690	return s
22691}
22692
22693// A limit is exceeded.
22694type LimitExceededException struct {
22695	_            struct{}                  `type:"structure"`
22696	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
22697
22698	Message_ *string `locationName:"Message" type:"string"`
22699
22700	// The AWS request ID for this request.
22701	RequestId *string `type:"string"`
22702
22703	// Limit exceeded.
22704	ResourceType *string `type:"string" enum:"ExceptionResourceType"`
22705}
22706
22707// String returns the string representation
22708func (s LimitExceededException) String() string {
22709	return awsutil.Prettify(s)
22710}
22711
22712// GoString returns the string representation
22713func (s LimitExceededException) GoString() string {
22714	return s.String()
22715}
22716
22717func newErrorLimitExceededException(v protocol.ResponseMetadata) error {
22718	return &LimitExceededException{
22719		RespMetadata: v,
22720	}
22721}
22722
22723// Code returns the exception type name.
22724func (s *LimitExceededException) Code() string {
22725	return "LimitExceededException"
22726}
22727
22728// Message returns the exception's message.
22729func (s *LimitExceededException) Message() string {
22730	if s.Message_ != nil {
22731		return *s.Message_
22732	}
22733	return ""
22734}
22735
22736// OrigErr always returns nil, satisfies awserr.Error interface.
22737func (s *LimitExceededException) OrigErr() error {
22738	return nil
22739}
22740
22741func (s *LimitExceededException) Error() string {
22742	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
22743}
22744
22745// Status code returns the HTTP status code for the request's response error.
22746func (s *LimitExceededException) StatusCode() int {
22747	return s.RespMetadata.StatusCode
22748}
22749
22750// RequestID returns the service's response RequestID for request.
22751func (s *LimitExceededException) RequestID() string {
22752	return s.RespMetadata.RequestID
22753}
22754
22755type ListAnalysesInput struct {
22756	_ struct{} `type:"structure"`
22757
22758	// The ID of the AWS account that contains the analyses.
22759	//
22760	// AwsAccountId is a required field
22761	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
22762
22763	// The maximum number of results to return.
22764	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
22765
22766	// A pagination token that can be used in a subsequent request.
22767	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
22768}
22769
22770// String returns the string representation
22771func (s ListAnalysesInput) String() string {
22772	return awsutil.Prettify(s)
22773}
22774
22775// GoString returns the string representation
22776func (s ListAnalysesInput) GoString() string {
22777	return s.String()
22778}
22779
22780// Validate inspects the fields of the type to determine if they are valid.
22781func (s *ListAnalysesInput) Validate() error {
22782	invalidParams := request.ErrInvalidParams{Context: "ListAnalysesInput"}
22783	if s.AwsAccountId == nil {
22784		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
22785	}
22786	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
22787		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
22788	}
22789	if s.MaxResults != nil && *s.MaxResults < 1 {
22790		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
22791	}
22792
22793	if invalidParams.Len() > 0 {
22794		return invalidParams
22795	}
22796	return nil
22797}
22798
22799// SetAwsAccountId sets the AwsAccountId field's value.
22800func (s *ListAnalysesInput) SetAwsAccountId(v string) *ListAnalysesInput {
22801	s.AwsAccountId = &v
22802	return s
22803}
22804
22805// SetMaxResults sets the MaxResults field's value.
22806func (s *ListAnalysesInput) SetMaxResults(v int64) *ListAnalysesInput {
22807	s.MaxResults = &v
22808	return s
22809}
22810
22811// SetNextToken sets the NextToken field's value.
22812func (s *ListAnalysesInput) SetNextToken(v string) *ListAnalysesInput {
22813	s.NextToken = &v
22814	return s
22815}
22816
22817type ListAnalysesOutput struct {
22818	_ struct{} `type:"structure"`
22819
22820	// Metadata describing each of the analyses that are listed.
22821	AnalysisSummaryList []*AnalysisSummary `type:"list"`
22822
22823	// A pagination token that can be used in a subsequent request.
22824	NextToken *string `type:"string"`
22825
22826	// The AWS request ID for this operation.
22827	RequestId *string `type:"string"`
22828
22829	// The HTTP status of the request.
22830	Status *int64 `location:"statusCode" type:"integer"`
22831}
22832
22833// String returns the string representation
22834func (s ListAnalysesOutput) String() string {
22835	return awsutil.Prettify(s)
22836}
22837
22838// GoString returns the string representation
22839func (s ListAnalysesOutput) GoString() string {
22840	return s.String()
22841}
22842
22843// SetAnalysisSummaryList sets the AnalysisSummaryList field's value.
22844func (s *ListAnalysesOutput) SetAnalysisSummaryList(v []*AnalysisSummary) *ListAnalysesOutput {
22845	s.AnalysisSummaryList = v
22846	return s
22847}
22848
22849// SetNextToken sets the NextToken field's value.
22850func (s *ListAnalysesOutput) SetNextToken(v string) *ListAnalysesOutput {
22851	s.NextToken = &v
22852	return s
22853}
22854
22855// SetRequestId sets the RequestId field's value.
22856func (s *ListAnalysesOutput) SetRequestId(v string) *ListAnalysesOutput {
22857	s.RequestId = &v
22858	return s
22859}
22860
22861// SetStatus sets the Status field's value.
22862func (s *ListAnalysesOutput) SetStatus(v int64) *ListAnalysesOutput {
22863	s.Status = &v
22864	return s
22865}
22866
22867type ListDashboardVersionsInput struct {
22868	_ struct{} `type:"structure"`
22869
22870	// The ID of the AWS account that contains the dashboard that you're listing
22871	// versions for.
22872	//
22873	// AwsAccountId is a required field
22874	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
22875
22876	// The ID for the dashboard.
22877	//
22878	// DashboardId is a required field
22879	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
22880
22881	// The maximum number of results to be returned per request.
22882	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
22883
22884	// The token for the next set of results, or null if there are no more results.
22885	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
22886}
22887
22888// String returns the string representation
22889func (s ListDashboardVersionsInput) String() string {
22890	return awsutil.Prettify(s)
22891}
22892
22893// GoString returns the string representation
22894func (s ListDashboardVersionsInput) GoString() string {
22895	return s.String()
22896}
22897
22898// Validate inspects the fields of the type to determine if they are valid.
22899func (s *ListDashboardVersionsInput) Validate() error {
22900	invalidParams := request.ErrInvalidParams{Context: "ListDashboardVersionsInput"}
22901	if s.AwsAccountId == nil {
22902		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
22903	}
22904	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
22905		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
22906	}
22907	if s.DashboardId == nil {
22908		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
22909	}
22910	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
22911		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
22912	}
22913	if s.MaxResults != nil && *s.MaxResults < 1 {
22914		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
22915	}
22916
22917	if invalidParams.Len() > 0 {
22918		return invalidParams
22919	}
22920	return nil
22921}
22922
22923// SetAwsAccountId sets the AwsAccountId field's value.
22924func (s *ListDashboardVersionsInput) SetAwsAccountId(v string) *ListDashboardVersionsInput {
22925	s.AwsAccountId = &v
22926	return s
22927}
22928
22929// SetDashboardId sets the DashboardId field's value.
22930func (s *ListDashboardVersionsInput) SetDashboardId(v string) *ListDashboardVersionsInput {
22931	s.DashboardId = &v
22932	return s
22933}
22934
22935// SetMaxResults sets the MaxResults field's value.
22936func (s *ListDashboardVersionsInput) SetMaxResults(v int64) *ListDashboardVersionsInput {
22937	s.MaxResults = &v
22938	return s
22939}
22940
22941// SetNextToken sets the NextToken field's value.
22942func (s *ListDashboardVersionsInput) SetNextToken(v string) *ListDashboardVersionsInput {
22943	s.NextToken = &v
22944	return s
22945}
22946
22947type ListDashboardVersionsOutput struct {
22948	_ struct{} `type:"structure"`
22949
22950	// A structure that contains information about each version of the dashboard.
22951	DashboardVersionSummaryList []*DashboardVersionSummary `type:"list"`
22952
22953	// The token for the next set of results, or null if there are no more results.
22954	NextToken *string `type:"string"`
22955
22956	// The AWS request ID for this operation.
22957	RequestId *string `type:"string"`
22958
22959	// The HTTP status of the request.
22960	Status *int64 `location:"statusCode" type:"integer"`
22961}
22962
22963// String returns the string representation
22964func (s ListDashboardVersionsOutput) String() string {
22965	return awsutil.Prettify(s)
22966}
22967
22968// GoString returns the string representation
22969func (s ListDashboardVersionsOutput) GoString() string {
22970	return s.String()
22971}
22972
22973// SetDashboardVersionSummaryList sets the DashboardVersionSummaryList field's value.
22974func (s *ListDashboardVersionsOutput) SetDashboardVersionSummaryList(v []*DashboardVersionSummary) *ListDashboardVersionsOutput {
22975	s.DashboardVersionSummaryList = v
22976	return s
22977}
22978
22979// SetNextToken sets the NextToken field's value.
22980func (s *ListDashboardVersionsOutput) SetNextToken(v string) *ListDashboardVersionsOutput {
22981	s.NextToken = &v
22982	return s
22983}
22984
22985// SetRequestId sets the RequestId field's value.
22986func (s *ListDashboardVersionsOutput) SetRequestId(v string) *ListDashboardVersionsOutput {
22987	s.RequestId = &v
22988	return s
22989}
22990
22991// SetStatus sets the Status field's value.
22992func (s *ListDashboardVersionsOutput) SetStatus(v int64) *ListDashboardVersionsOutput {
22993	s.Status = &v
22994	return s
22995}
22996
22997type ListDashboardsInput struct {
22998	_ struct{} `type:"structure"`
22999
23000	// The ID of the AWS account that contains the dashboards that you're listing.
23001	//
23002	// AwsAccountId is a required field
23003	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
23004
23005	// The maximum number of results to be returned per request.
23006	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
23007
23008	// The token for the next set of results, or null if there are no more results.
23009	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
23010}
23011
23012// String returns the string representation
23013func (s ListDashboardsInput) String() string {
23014	return awsutil.Prettify(s)
23015}
23016
23017// GoString returns the string representation
23018func (s ListDashboardsInput) GoString() string {
23019	return s.String()
23020}
23021
23022// Validate inspects the fields of the type to determine if they are valid.
23023func (s *ListDashboardsInput) Validate() error {
23024	invalidParams := request.ErrInvalidParams{Context: "ListDashboardsInput"}
23025	if s.AwsAccountId == nil {
23026		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
23027	}
23028	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
23029		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
23030	}
23031	if s.MaxResults != nil && *s.MaxResults < 1 {
23032		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
23033	}
23034
23035	if invalidParams.Len() > 0 {
23036		return invalidParams
23037	}
23038	return nil
23039}
23040
23041// SetAwsAccountId sets the AwsAccountId field's value.
23042func (s *ListDashboardsInput) SetAwsAccountId(v string) *ListDashboardsInput {
23043	s.AwsAccountId = &v
23044	return s
23045}
23046
23047// SetMaxResults sets the MaxResults field's value.
23048func (s *ListDashboardsInput) SetMaxResults(v int64) *ListDashboardsInput {
23049	s.MaxResults = &v
23050	return s
23051}
23052
23053// SetNextToken sets the NextToken field's value.
23054func (s *ListDashboardsInput) SetNextToken(v string) *ListDashboardsInput {
23055	s.NextToken = &v
23056	return s
23057}
23058
23059type ListDashboardsOutput struct {
23060	_ struct{} `type:"structure"`
23061
23062	// A structure that contains all of the dashboards in your AWS account. This
23063	// structure provides basic information about the dashboards.
23064	DashboardSummaryList []*DashboardSummary `type:"list"`
23065
23066	// The token for the next set of results, or null if there are no more results.
23067	NextToken *string `type:"string"`
23068
23069	// The AWS request ID for this operation.
23070	RequestId *string `type:"string"`
23071
23072	// The HTTP status of the request.
23073	Status *int64 `location:"statusCode" type:"integer"`
23074}
23075
23076// String returns the string representation
23077func (s ListDashboardsOutput) String() string {
23078	return awsutil.Prettify(s)
23079}
23080
23081// GoString returns the string representation
23082func (s ListDashboardsOutput) GoString() string {
23083	return s.String()
23084}
23085
23086// SetDashboardSummaryList sets the DashboardSummaryList field's value.
23087func (s *ListDashboardsOutput) SetDashboardSummaryList(v []*DashboardSummary) *ListDashboardsOutput {
23088	s.DashboardSummaryList = v
23089	return s
23090}
23091
23092// SetNextToken sets the NextToken field's value.
23093func (s *ListDashboardsOutput) SetNextToken(v string) *ListDashboardsOutput {
23094	s.NextToken = &v
23095	return s
23096}
23097
23098// SetRequestId sets the RequestId field's value.
23099func (s *ListDashboardsOutput) SetRequestId(v string) *ListDashboardsOutput {
23100	s.RequestId = &v
23101	return s
23102}
23103
23104// SetStatus sets the Status field's value.
23105func (s *ListDashboardsOutput) SetStatus(v int64) *ListDashboardsOutput {
23106	s.Status = &v
23107	return s
23108}
23109
23110type ListDataSetsInput struct {
23111	_ struct{} `type:"structure"`
23112
23113	// The AWS account ID.
23114	//
23115	// AwsAccountId is a required field
23116	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
23117
23118	// The maximum number of results to be returned per request.
23119	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
23120
23121	// The token for the next set of results, or null if there are no more results.
23122	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
23123}
23124
23125// String returns the string representation
23126func (s ListDataSetsInput) String() string {
23127	return awsutil.Prettify(s)
23128}
23129
23130// GoString returns the string representation
23131func (s ListDataSetsInput) GoString() string {
23132	return s.String()
23133}
23134
23135// Validate inspects the fields of the type to determine if they are valid.
23136func (s *ListDataSetsInput) Validate() error {
23137	invalidParams := request.ErrInvalidParams{Context: "ListDataSetsInput"}
23138	if s.AwsAccountId == nil {
23139		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
23140	}
23141	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
23142		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
23143	}
23144	if s.MaxResults != nil && *s.MaxResults < 1 {
23145		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
23146	}
23147
23148	if invalidParams.Len() > 0 {
23149		return invalidParams
23150	}
23151	return nil
23152}
23153
23154// SetAwsAccountId sets the AwsAccountId field's value.
23155func (s *ListDataSetsInput) SetAwsAccountId(v string) *ListDataSetsInput {
23156	s.AwsAccountId = &v
23157	return s
23158}
23159
23160// SetMaxResults sets the MaxResults field's value.
23161func (s *ListDataSetsInput) SetMaxResults(v int64) *ListDataSetsInput {
23162	s.MaxResults = &v
23163	return s
23164}
23165
23166// SetNextToken sets the NextToken field's value.
23167func (s *ListDataSetsInput) SetNextToken(v string) *ListDataSetsInput {
23168	s.NextToken = &v
23169	return s
23170}
23171
23172type ListDataSetsOutput struct {
23173	_ struct{} `type:"structure"`
23174
23175	// The list of dataset summaries.
23176	DataSetSummaries []*DataSetSummary `type:"list"`
23177
23178	// The token for the next set of results, or null if there are no more results.
23179	NextToken *string `type:"string"`
23180
23181	// The AWS request ID for this operation.
23182	RequestId *string `type:"string"`
23183
23184	// The HTTP status of the request.
23185	Status *int64 `location:"statusCode" type:"integer"`
23186}
23187
23188// String returns the string representation
23189func (s ListDataSetsOutput) String() string {
23190	return awsutil.Prettify(s)
23191}
23192
23193// GoString returns the string representation
23194func (s ListDataSetsOutput) GoString() string {
23195	return s.String()
23196}
23197
23198// SetDataSetSummaries sets the DataSetSummaries field's value.
23199func (s *ListDataSetsOutput) SetDataSetSummaries(v []*DataSetSummary) *ListDataSetsOutput {
23200	s.DataSetSummaries = v
23201	return s
23202}
23203
23204// SetNextToken sets the NextToken field's value.
23205func (s *ListDataSetsOutput) SetNextToken(v string) *ListDataSetsOutput {
23206	s.NextToken = &v
23207	return s
23208}
23209
23210// SetRequestId sets the RequestId field's value.
23211func (s *ListDataSetsOutput) SetRequestId(v string) *ListDataSetsOutput {
23212	s.RequestId = &v
23213	return s
23214}
23215
23216// SetStatus sets the Status field's value.
23217func (s *ListDataSetsOutput) SetStatus(v int64) *ListDataSetsOutput {
23218	s.Status = &v
23219	return s
23220}
23221
23222type ListDataSourcesInput struct {
23223	_ struct{} `type:"structure"`
23224
23225	// The AWS account ID.
23226	//
23227	// AwsAccountId is a required field
23228	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
23229
23230	// The maximum number of results to be returned per request.
23231	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
23232
23233	// The token for the next set of results, or null if there are no more results.
23234	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
23235}
23236
23237// String returns the string representation
23238func (s ListDataSourcesInput) String() string {
23239	return awsutil.Prettify(s)
23240}
23241
23242// GoString returns the string representation
23243func (s ListDataSourcesInput) GoString() string {
23244	return s.String()
23245}
23246
23247// Validate inspects the fields of the type to determine if they are valid.
23248func (s *ListDataSourcesInput) Validate() error {
23249	invalidParams := request.ErrInvalidParams{Context: "ListDataSourcesInput"}
23250	if s.AwsAccountId == nil {
23251		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
23252	}
23253	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
23254		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
23255	}
23256	if s.MaxResults != nil && *s.MaxResults < 1 {
23257		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
23258	}
23259
23260	if invalidParams.Len() > 0 {
23261		return invalidParams
23262	}
23263	return nil
23264}
23265
23266// SetAwsAccountId sets the AwsAccountId field's value.
23267func (s *ListDataSourcesInput) SetAwsAccountId(v string) *ListDataSourcesInput {
23268	s.AwsAccountId = &v
23269	return s
23270}
23271
23272// SetMaxResults sets the MaxResults field's value.
23273func (s *ListDataSourcesInput) SetMaxResults(v int64) *ListDataSourcesInput {
23274	s.MaxResults = &v
23275	return s
23276}
23277
23278// SetNextToken sets the NextToken field's value.
23279func (s *ListDataSourcesInput) SetNextToken(v string) *ListDataSourcesInput {
23280	s.NextToken = &v
23281	return s
23282}
23283
23284type ListDataSourcesOutput struct {
23285	_ struct{} `type:"structure"`
23286
23287	// A list of data sources.
23288	DataSources []*DataSource `type:"list"`
23289
23290	// The token for the next set of results, or null if there are no more results.
23291	NextToken *string `type:"string"`
23292
23293	// The AWS request ID for this operation.
23294	RequestId *string `type:"string"`
23295
23296	// The HTTP status of the request.
23297	Status *int64 `location:"statusCode" type:"integer"`
23298}
23299
23300// String returns the string representation
23301func (s ListDataSourcesOutput) String() string {
23302	return awsutil.Prettify(s)
23303}
23304
23305// GoString returns the string representation
23306func (s ListDataSourcesOutput) GoString() string {
23307	return s.String()
23308}
23309
23310// SetDataSources sets the DataSources field's value.
23311func (s *ListDataSourcesOutput) SetDataSources(v []*DataSource) *ListDataSourcesOutput {
23312	s.DataSources = v
23313	return s
23314}
23315
23316// SetNextToken sets the NextToken field's value.
23317func (s *ListDataSourcesOutput) SetNextToken(v string) *ListDataSourcesOutput {
23318	s.NextToken = &v
23319	return s
23320}
23321
23322// SetRequestId sets the RequestId field's value.
23323func (s *ListDataSourcesOutput) SetRequestId(v string) *ListDataSourcesOutput {
23324	s.RequestId = &v
23325	return s
23326}
23327
23328// SetStatus sets the Status field's value.
23329func (s *ListDataSourcesOutput) SetStatus(v int64) *ListDataSourcesOutput {
23330	s.Status = &v
23331	return s
23332}
23333
23334type ListGroupMembershipsInput struct {
23335	_ struct{} `type:"structure"`
23336
23337	// The ID for the AWS account that the group is in. Currently, you use the ID
23338	// for the AWS account that contains your Amazon QuickSight account.
23339	//
23340	// AwsAccountId is a required field
23341	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
23342
23343	// The name of the group that you want to see a membership list of.
23344	//
23345	// GroupName is a required field
23346	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
23347
23348	// The maximum number of results to return from this request.
23349	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
23350
23351	// The namespace. Currently, you should set this to default.
23352	//
23353	// Namespace is a required field
23354	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
23355
23356	// A pagination token that can be used in a subsequent request.
23357	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
23358}
23359
23360// String returns the string representation
23361func (s ListGroupMembershipsInput) String() string {
23362	return awsutil.Prettify(s)
23363}
23364
23365// GoString returns the string representation
23366func (s ListGroupMembershipsInput) GoString() string {
23367	return s.String()
23368}
23369
23370// Validate inspects the fields of the type to determine if they are valid.
23371func (s *ListGroupMembershipsInput) Validate() error {
23372	invalidParams := request.ErrInvalidParams{Context: "ListGroupMembershipsInput"}
23373	if s.AwsAccountId == nil {
23374		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
23375	}
23376	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
23377		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
23378	}
23379	if s.GroupName == nil {
23380		invalidParams.Add(request.NewErrParamRequired("GroupName"))
23381	}
23382	if s.GroupName != nil && len(*s.GroupName) < 1 {
23383		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
23384	}
23385	if s.MaxResults != nil && *s.MaxResults < 1 {
23386		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
23387	}
23388	if s.Namespace == nil {
23389		invalidParams.Add(request.NewErrParamRequired("Namespace"))
23390	}
23391	if s.Namespace != nil && len(*s.Namespace) < 1 {
23392		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
23393	}
23394
23395	if invalidParams.Len() > 0 {
23396		return invalidParams
23397	}
23398	return nil
23399}
23400
23401// SetAwsAccountId sets the AwsAccountId field's value.
23402func (s *ListGroupMembershipsInput) SetAwsAccountId(v string) *ListGroupMembershipsInput {
23403	s.AwsAccountId = &v
23404	return s
23405}
23406
23407// SetGroupName sets the GroupName field's value.
23408func (s *ListGroupMembershipsInput) SetGroupName(v string) *ListGroupMembershipsInput {
23409	s.GroupName = &v
23410	return s
23411}
23412
23413// SetMaxResults sets the MaxResults field's value.
23414func (s *ListGroupMembershipsInput) SetMaxResults(v int64) *ListGroupMembershipsInput {
23415	s.MaxResults = &v
23416	return s
23417}
23418
23419// SetNamespace sets the Namespace field's value.
23420func (s *ListGroupMembershipsInput) SetNamespace(v string) *ListGroupMembershipsInput {
23421	s.Namespace = &v
23422	return s
23423}
23424
23425// SetNextToken sets the NextToken field's value.
23426func (s *ListGroupMembershipsInput) SetNextToken(v string) *ListGroupMembershipsInput {
23427	s.NextToken = &v
23428	return s
23429}
23430
23431type ListGroupMembershipsOutput struct {
23432	_ struct{} `type:"structure"`
23433
23434	// The list of the members of the group.
23435	GroupMemberList []*GroupMember `type:"list"`
23436
23437	// A pagination token that can be used in a subsequent request.
23438	NextToken *string `type:"string"`
23439
23440	// The AWS request ID for this operation.
23441	RequestId *string `type:"string"`
23442
23443	// The HTTP status of the request.
23444	Status *int64 `location:"statusCode" type:"integer"`
23445}
23446
23447// String returns the string representation
23448func (s ListGroupMembershipsOutput) String() string {
23449	return awsutil.Prettify(s)
23450}
23451
23452// GoString returns the string representation
23453func (s ListGroupMembershipsOutput) GoString() string {
23454	return s.String()
23455}
23456
23457// SetGroupMemberList sets the GroupMemberList field's value.
23458func (s *ListGroupMembershipsOutput) SetGroupMemberList(v []*GroupMember) *ListGroupMembershipsOutput {
23459	s.GroupMemberList = v
23460	return s
23461}
23462
23463// SetNextToken sets the NextToken field's value.
23464func (s *ListGroupMembershipsOutput) SetNextToken(v string) *ListGroupMembershipsOutput {
23465	s.NextToken = &v
23466	return s
23467}
23468
23469// SetRequestId sets the RequestId field's value.
23470func (s *ListGroupMembershipsOutput) SetRequestId(v string) *ListGroupMembershipsOutput {
23471	s.RequestId = &v
23472	return s
23473}
23474
23475// SetStatus sets the Status field's value.
23476func (s *ListGroupMembershipsOutput) SetStatus(v int64) *ListGroupMembershipsOutput {
23477	s.Status = &v
23478	return s
23479}
23480
23481type ListGroupsInput struct {
23482	_ struct{} `type:"structure"`
23483
23484	// The ID for the AWS account that the group is in. Currently, you use the ID
23485	// for the AWS account that contains your Amazon QuickSight account.
23486	//
23487	// AwsAccountId is a required field
23488	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
23489
23490	// The maximum number of results to return.
23491	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
23492
23493	// The namespace. Currently, you should set this to default.
23494	//
23495	// Namespace is a required field
23496	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
23497
23498	// A pagination token that can be used in a subsequent request.
23499	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
23500}
23501
23502// String returns the string representation
23503func (s ListGroupsInput) String() string {
23504	return awsutil.Prettify(s)
23505}
23506
23507// GoString returns the string representation
23508func (s ListGroupsInput) GoString() string {
23509	return s.String()
23510}
23511
23512// Validate inspects the fields of the type to determine if they are valid.
23513func (s *ListGroupsInput) Validate() error {
23514	invalidParams := request.ErrInvalidParams{Context: "ListGroupsInput"}
23515	if s.AwsAccountId == nil {
23516		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
23517	}
23518	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
23519		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
23520	}
23521	if s.MaxResults != nil && *s.MaxResults < 1 {
23522		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
23523	}
23524	if s.Namespace == nil {
23525		invalidParams.Add(request.NewErrParamRequired("Namespace"))
23526	}
23527	if s.Namespace != nil && len(*s.Namespace) < 1 {
23528		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
23529	}
23530
23531	if invalidParams.Len() > 0 {
23532		return invalidParams
23533	}
23534	return nil
23535}
23536
23537// SetAwsAccountId sets the AwsAccountId field's value.
23538func (s *ListGroupsInput) SetAwsAccountId(v string) *ListGroupsInput {
23539	s.AwsAccountId = &v
23540	return s
23541}
23542
23543// SetMaxResults sets the MaxResults field's value.
23544func (s *ListGroupsInput) SetMaxResults(v int64) *ListGroupsInput {
23545	s.MaxResults = &v
23546	return s
23547}
23548
23549// SetNamespace sets the Namespace field's value.
23550func (s *ListGroupsInput) SetNamespace(v string) *ListGroupsInput {
23551	s.Namespace = &v
23552	return s
23553}
23554
23555// SetNextToken sets the NextToken field's value.
23556func (s *ListGroupsInput) SetNextToken(v string) *ListGroupsInput {
23557	s.NextToken = &v
23558	return s
23559}
23560
23561type ListGroupsOutput struct {
23562	_ struct{} `type:"structure"`
23563
23564	// The list of the groups.
23565	GroupList []*Group `type:"list"`
23566
23567	// A pagination token that can be used in a subsequent request.
23568	NextToken *string `type:"string"`
23569
23570	// The AWS request ID for this operation.
23571	RequestId *string `type:"string"`
23572
23573	// The HTTP status of the request.
23574	Status *int64 `location:"statusCode" type:"integer"`
23575}
23576
23577// String returns the string representation
23578func (s ListGroupsOutput) String() string {
23579	return awsutil.Prettify(s)
23580}
23581
23582// GoString returns the string representation
23583func (s ListGroupsOutput) GoString() string {
23584	return s.String()
23585}
23586
23587// SetGroupList sets the GroupList field's value.
23588func (s *ListGroupsOutput) SetGroupList(v []*Group) *ListGroupsOutput {
23589	s.GroupList = v
23590	return s
23591}
23592
23593// SetNextToken sets the NextToken field's value.
23594func (s *ListGroupsOutput) SetNextToken(v string) *ListGroupsOutput {
23595	s.NextToken = &v
23596	return s
23597}
23598
23599// SetRequestId sets the RequestId field's value.
23600func (s *ListGroupsOutput) SetRequestId(v string) *ListGroupsOutput {
23601	s.RequestId = &v
23602	return s
23603}
23604
23605// SetStatus sets the Status field's value.
23606func (s *ListGroupsOutput) SetStatus(v int64) *ListGroupsOutput {
23607	s.Status = &v
23608	return s
23609}
23610
23611type ListIAMPolicyAssignmentsForUserInput struct {
23612	_ struct{} `type:"structure"`
23613
23614	// The ID of the AWS account that contains the assignments.
23615	//
23616	// AwsAccountId is a required field
23617	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
23618
23619	// The maximum number of results to be returned per request.
23620	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
23621
23622	// The namespace of the assignment.
23623	//
23624	// Namespace is a required field
23625	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
23626
23627	// The token for the next set of results, or null if there are no more results.
23628	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
23629
23630	// The name of the user.
23631	//
23632	// UserName is a required field
23633	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
23634}
23635
23636// String returns the string representation
23637func (s ListIAMPolicyAssignmentsForUserInput) String() string {
23638	return awsutil.Prettify(s)
23639}
23640
23641// GoString returns the string representation
23642func (s ListIAMPolicyAssignmentsForUserInput) GoString() string {
23643	return s.String()
23644}
23645
23646// Validate inspects the fields of the type to determine if they are valid.
23647func (s *ListIAMPolicyAssignmentsForUserInput) Validate() error {
23648	invalidParams := request.ErrInvalidParams{Context: "ListIAMPolicyAssignmentsForUserInput"}
23649	if s.AwsAccountId == nil {
23650		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
23651	}
23652	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
23653		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
23654	}
23655	if s.MaxResults != nil && *s.MaxResults < 1 {
23656		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
23657	}
23658	if s.Namespace == nil {
23659		invalidParams.Add(request.NewErrParamRequired("Namespace"))
23660	}
23661	if s.Namespace != nil && len(*s.Namespace) < 1 {
23662		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
23663	}
23664	if s.UserName == nil {
23665		invalidParams.Add(request.NewErrParamRequired("UserName"))
23666	}
23667	if s.UserName != nil && len(*s.UserName) < 1 {
23668		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
23669	}
23670
23671	if invalidParams.Len() > 0 {
23672		return invalidParams
23673	}
23674	return nil
23675}
23676
23677// SetAwsAccountId sets the AwsAccountId field's value.
23678func (s *ListIAMPolicyAssignmentsForUserInput) SetAwsAccountId(v string) *ListIAMPolicyAssignmentsForUserInput {
23679	s.AwsAccountId = &v
23680	return s
23681}
23682
23683// SetMaxResults sets the MaxResults field's value.
23684func (s *ListIAMPolicyAssignmentsForUserInput) SetMaxResults(v int64) *ListIAMPolicyAssignmentsForUserInput {
23685	s.MaxResults = &v
23686	return s
23687}
23688
23689// SetNamespace sets the Namespace field's value.
23690func (s *ListIAMPolicyAssignmentsForUserInput) SetNamespace(v string) *ListIAMPolicyAssignmentsForUserInput {
23691	s.Namespace = &v
23692	return s
23693}
23694
23695// SetNextToken sets the NextToken field's value.
23696func (s *ListIAMPolicyAssignmentsForUserInput) SetNextToken(v string) *ListIAMPolicyAssignmentsForUserInput {
23697	s.NextToken = &v
23698	return s
23699}
23700
23701// SetUserName sets the UserName field's value.
23702func (s *ListIAMPolicyAssignmentsForUserInput) SetUserName(v string) *ListIAMPolicyAssignmentsForUserInput {
23703	s.UserName = &v
23704	return s
23705}
23706
23707type ListIAMPolicyAssignmentsForUserOutput struct {
23708	_ struct{} `type:"structure"`
23709
23710	// The active assignments for this user.
23711	ActiveAssignments []*ActiveIAMPolicyAssignment `type:"list"`
23712
23713	// The token for the next set of results, or null if there are no more results.
23714	NextToken *string `type:"string"`
23715
23716	// The AWS request ID for this operation.
23717	RequestId *string `type:"string"`
23718
23719	// The HTTP status of the request.
23720	Status *int64 `location:"statusCode" type:"integer"`
23721}
23722
23723// String returns the string representation
23724func (s ListIAMPolicyAssignmentsForUserOutput) String() string {
23725	return awsutil.Prettify(s)
23726}
23727
23728// GoString returns the string representation
23729func (s ListIAMPolicyAssignmentsForUserOutput) GoString() string {
23730	return s.String()
23731}
23732
23733// SetActiveAssignments sets the ActiveAssignments field's value.
23734func (s *ListIAMPolicyAssignmentsForUserOutput) SetActiveAssignments(v []*ActiveIAMPolicyAssignment) *ListIAMPolicyAssignmentsForUserOutput {
23735	s.ActiveAssignments = v
23736	return s
23737}
23738
23739// SetNextToken sets the NextToken field's value.
23740func (s *ListIAMPolicyAssignmentsForUserOutput) SetNextToken(v string) *ListIAMPolicyAssignmentsForUserOutput {
23741	s.NextToken = &v
23742	return s
23743}
23744
23745// SetRequestId sets the RequestId field's value.
23746func (s *ListIAMPolicyAssignmentsForUserOutput) SetRequestId(v string) *ListIAMPolicyAssignmentsForUserOutput {
23747	s.RequestId = &v
23748	return s
23749}
23750
23751// SetStatus sets the Status field's value.
23752func (s *ListIAMPolicyAssignmentsForUserOutput) SetStatus(v int64) *ListIAMPolicyAssignmentsForUserOutput {
23753	s.Status = &v
23754	return s
23755}
23756
23757type ListIAMPolicyAssignmentsInput struct {
23758	_ struct{} `type:"structure"`
23759
23760	// The status of the assignments.
23761	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
23762
23763	// The ID of the AWS account that contains these IAM policy assignments.
23764	//
23765	// AwsAccountId is a required field
23766	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
23767
23768	// The maximum number of results to be returned per request.
23769	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
23770
23771	// The namespace for the assignments.
23772	//
23773	// Namespace is a required field
23774	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
23775
23776	// The token for the next set of results, or null if there are no more results.
23777	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
23778}
23779
23780// String returns the string representation
23781func (s ListIAMPolicyAssignmentsInput) String() string {
23782	return awsutil.Prettify(s)
23783}
23784
23785// GoString returns the string representation
23786func (s ListIAMPolicyAssignmentsInput) GoString() string {
23787	return s.String()
23788}
23789
23790// Validate inspects the fields of the type to determine if they are valid.
23791func (s *ListIAMPolicyAssignmentsInput) Validate() error {
23792	invalidParams := request.ErrInvalidParams{Context: "ListIAMPolicyAssignmentsInput"}
23793	if s.AwsAccountId == nil {
23794		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
23795	}
23796	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
23797		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
23798	}
23799	if s.MaxResults != nil && *s.MaxResults < 1 {
23800		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
23801	}
23802	if s.Namespace == nil {
23803		invalidParams.Add(request.NewErrParamRequired("Namespace"))
23804	}
23805	if s.Namespace != nil && len(*s.Namespace) < 1 {
23806		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
23807	}
23808
23809	if invalidParams.Len() > 0 {
23810		return invalidParams
23811	}
23812	return nil
23813}
23814
23815// SetAssignmentStatus sets the AssignmentStatus field's value.
23816func (s *ListIAMPolicyAssignmentsInput) SetAssignmentStatus(v string) *ListIAMPolicyAssignmentsInput {
23817	s.AssignmentStatus = &v
23818	return s
23819}
23820
23821// SetAwsAccountId sets the AwsAccountId field's value.
23822func (s *ListIAMPolicyAssignmentsInput) SetAwsAccountId(v string) *ListIAMPolicyAssignmentsInput {
23823	s.AwsAccountId = &v
23824	return s
23825}
23826
23827// SetMaxResults sets the MaxResults field's value.
23828func (s *ListIAMPolicyAssignmentsInput) SetMaxResults(v int64) *ListIAMPolicyAssignmentsInput {
23829	s.MaxResults = &v
23830	return s
23831}
23832
23833// SetNamespace sets the Namespace field's value.
23834func (s *ListIAMPolicyAssignmentsInput) SetNamespace(v string) *ListIAMPolicyAssignmentsInput {
23835	s.Namespace = &v
23836	return s
23837}
23838
23839// SetNextToken sets the NextToken field's value.
23840func (s *ListIAMPolicyAssignmentsInput) SetNextToken(v string) *ListIAMPolicyAssignmentsInput {
23841	s.NextToken = &v
23842	return s
23843}
23844
23845type ListIAMPolicyAssignmentsOutput struct {
23846	_ struct{} `type:"structure"`
23847
23848	// Information describing the IAM policy assignments.
23849	IAMPolicyAssignments []*IAMPolicyAssignmentSummary `type:"list"`
23850
23851	// The token for the next set of results, or null if there are no more results.
23852	NextToken *string `type:"string"`
23853
23854	// The AWS request ID for this operation.
23855	RequestId *string `type:"string"`
23856
23857	// The HTTP status of the request.
23858	Status *int64 `location:"statusCode" type:"integer"`
23859}
23860
23861// String returns the string representation
23862func (s ListIAMPolicyAssignmentsOutput) String() string {
23863	return awsutil.Prettify(s)
23864}
23865
23866// GoString returns the string representation
23867func (s ListIAMPolicyAssignmentsOutput) GoString() string {
23868	return s.String()
23869}
23870
23871// SetIAMPolicyAssignments sets the IAMPolicyAssignments field's value.
23872func (s *ListIAMPolicyAssignmentsOutput) SetIAMPolicyAssignments(v []*IAMPolicyAssignmentSummary) *ListIAMPolicyAssignmentsOutput {
23873	s.IAMPolicyAssignments = v
23874	return s
23875}
23876
23877// SetNextToken sets the NextToken field's value.
23878func (s *ListIAMPolicyAssignmentsOutput) SetNextToken(v string) *ListIAMPolicyAssignmentsOutput {
23879	s.NextToken = &v
23880	return s
23881}
23882
23883// SetRequestId sets the RequestId field's value.
23884func (s *ListIAMPolicyAssignmentsOutput) SetRequestId(v string) *ListIAMPolicyAssignmentsOutput {
23885	s.RequestId = &v
23886	return s
23887}
23888
23889// SetStatus sets the Status field's value.
23890func (s *ListIAMPolicyAssignmentsOutput) SetStatus(v int64) *ListIAMPolicyAssignmentsOutput {
23891	s.Status = &v
23892	return s
23893}
23894
23895type ListIngestionsInput struct {
23896	_ struct{} `type:"structure"`
23897
23898	// The AWS account ID.
23899	//
23900	// AwsAccountId is a required field
23901	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
23902
23903	// The ID of the dataset used in the ingestion.
23904	//
23905	// DataSetId is a required field
23906	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
23907
23908	// The maximum number of results to be returned per request.
23909	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
23910
23911	// The token for the next set of results, or null if there are no more results.
23912	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
23913}
23914
23915// String returns the string representation
23916func (s ListIngestionsInput) String() string {
23917	return awsutil.Prettify(s)
23918}
23919
23920// GoString returns the string representation
23921func (s ListIngestionsInput) GoString() string {
23922	return s.String()
23923}
23924
23925// Validate inspects the fields of the type to determine if they are valid.
23926func (s *ListIngestionsInput) Validate() error {
23927	invalidParams := request.ErrInvalidParams{Context: "ListIngestionsInput"}
23928	if s.AwsAccountId == nil {
23929		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
23930	}
23931	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
23932		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
23933	}
23934	if s.DataSetId == nil {
23935		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
23936	}
23937	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
23938		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
23939	}
23940	if s.MaxResults != nil && *s.MaxResults < 1 {
23941		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
23942	}
23943
23944	if invalidParams.Len() > 0 {
23945		return invalidParams
23946	}
23947	return nil
23948}
23949
23950// SetAwsAccountId sets the AwsAccountId field's value.
23951func (s *ListIngestionsInput) SetAwsAccountId(v string) *ListIngestionsInput {
23952	s.AwsAccountId = &v
23953	return s
23954}
23955
23956// SetDataSetId sets the DataSetId field's value.
23957func (s *ListIngestionsInput) SetDataSetId(v string) *ListIngestionsInput {
23958	s.DataSetId = &v
23959	return s
23960}
23961
23962// SetMaxResults sets the MaxResults field's value.
23963func (s *ListIngestionsInput) SetMaxResults(v int64) *ListIngestionsInput {
23964	s.MaxResults = &v
23965	return s
23966}
23967
23968// SetNextToken sets the NextToken field's value.
23969func (s *ListIngestionsInput) SetNextToken(v string) *ListIngestionsInput {
23970	s.NextToken = &v
23971	return s
23972}
23973
23974type ListIngestionsOutput struct {
23975	_ struct{} `type:"structure"`
23976
23977	// A list of the ingestions.
23978	Ingestions []*Ingestion `type:"list"`
23979
23980	// The token for the next set of results, or null if there are no more results.
23981	NextToken *string `type:"string"`
23982
23983	// The AWS request ID for this operation.
23984	RequestId *string `type:"string"`
23985
23986	// The HTTP status of the request.
23987	Status *int64 `location:"statusCode" type:"integer"`
23988}
23989
23990// String returns the string representation
23991func (s ListIngestionsOutput) String() string {
23992	return awsutil.Prettify(s)
23993}
23994
23995// GoString returns the string representation
23996func (s ListIngestionsOutput) GoString() string {
23997	return s.String()
23998}
23999
24000// SetIngestions sets the Ingestions field's value.
24001func (s *ListIngestionsOutput) SetIngestions(v []*Ingestion) *ListIngestionsOutput {
24002	s.Ingestions = v
24003	return s
24004}
24005
24006// SetNextToken sets the NextToken field's value.
24007func (s *ListIngestionsOutput) SetNextToken(v string) *ListIngestionsOutput {
24008	s.NextToken = &v
24009	return s
24010}
24011
24012// SetRequestId sets the RequestId field's value.
24013func (s *ListIngestionsOutput) SetRequestId(v string) *ListIngestionsOutput {
24014	s.RequestId = &v
24015	return s
24016}
24017
24018// SetStatus sets the Status field's value.
24019func (s *ListIngestionsOutput) SetStatus(v int64) *ListIngestionsOutput {
24020	s.Status = &v
24021	return s
24022}
24023
24024type ListNamespacesInput struct {
24025	_ struct{} `type:"structure"`
24026
24027	// The ID for the AWS account that contains the QuickSight namespaces that you
24028	// want to list.
24029	//
24030	// AwsAccountId is a required field
24031	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
24032
24033	// The maximum number of results to return.
24034	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
24035
24036	// A pagination token that can be used in a subsequent request.
24037	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
24038}
24039
24040// String returns the string representation
24041func (s ListNamespacesInput) String() string {
24042	return awsutil.Prettify(s)
24043}
24044
24045// GoString returns the string representation
24046func (s ListNamespacesInput) GoString() string {
24047	return s.String()
24048}
24049
24050// Validate inspects the fields of the type to determine if they are valid.
24051func (s *ListNamespacesInput) Validate() error {
24052	invalidParams := request.ErrInvalidParams{Context: "ListNamespacesInput"}
24053	if s.AwsAccountId == nil {
24054		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
24055	}
24056	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
24057		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
24058	}
24059	if s.MaxResults != nil && *s.MaxResults < 1 {
24060		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
24061	}
24062
24063	if invalidParams.Len() > 0 {
24064		return invalidParams
24065	}
24066	return nil
24067}
24068
24069// SetAwsAccountId sets the AwsAccountId field's value.
24070func (s *ListNamespacesInput) SetAwsAccountId(v string) *ListNamespacesInput {
24071	s.AwsAccountId = &v
24072	return s
24073}
24074
24075// SetMaxResults sets the MaxResults field's value.
24076func (s *ListNamespacesInput) SetMaxResults(v int64) *ListNamespacesInput {
24077	s.MaxResults = &v
24078	return s
24079}
24080
24081// SetNextToken sets the NextToken field's value.
24082func (s *ListNamespacesInput) SetNextToken(v string) *ListNamespacesInput {
24083	s.NextToken = &v
24084	return s
24085}
24086
24087type ListNamespacesOutput struct {
24088	_ struct{} `type:"structure"`
24089
24090	// The information about the namespaces in this AWS account. The response includes
24091	// the namespace ARN, name, AWS Region, notification email address, creation
24092	// status, and identity store.
24093	Namespaces []*NamespaceInfoV2 `type:"list"`
24094
24095	// A pagination token that can be used in a subsequent request.
24096	NextToken *string `type:"string"`
24097
24098	// The AWS request ID for this operation.
24099	RequestId *string `type:"string"`
24100
24101	// The HTTP status of the request.
24102	Status *int64 `location:"statusCode" type:"integer"`
24103}
24104
24105// String returns the string representation
24106func (s ListNamespacesOutput) String() string {
24107	return awsutil.Prettify(s)
24108}
24109
24110// GoString returns the string representation
24111func (s ListNamespacesOutput) GoString() string {
24112	return s.String()
24113}
24114
24115// SetNamespaces sets the Namespaces field's value.
24116func (s *ListNamespacesOutput) SetNamespaces(v []*NamespaceInfoV2) *ListNamespacesOutput {
24117	s.Namespaces = v
24118	return s
24119}
24120
24121// SetNextToken sets the NextToken field's value.
24122func (s *ListNamespacesOutput) SetNextToken(v string) *ListNamespacesOutput {
24123	s.NextToken = &v
24124	return s
24125}
24126
24127// SetRequestId sets the RequestId field's value.
24128func (s *ListNamespacesOutput) SetRequestId(v string) *ListNamespacesOutput {
24129	s.RequestId = &v
24130	return s
24131}
24132
24133// SetStatus sets the Status field's value.
24134func (s *ListNamespacesOutput) SetStatus(v int64) *ListNamespacesOutput {
24135	s.Status = &v
24136	return s
24137}
24138
24139type ListTagsForResourceInput struct {
24140	_ struct{} `type:"structure"`
24141
24142	// The Amazon Resource Name (ARN) of the resource that you want a list of tags
24143	// for.
24144	//
24145	// ResourceArn is a required field
24146	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
24147}
24148
24149// String returns the string representation
24150func (s ListTagsForResourceInput) String() string {
24151	return awsutil.Prettify(s)
24152}
24153
24154// GoString returns the string representation
24155func (s ListTagsForResourceInput) GoString() string {
24156	return s.String()
24157}
24158
24159// Validate inspects the fields of the type to determine if they are valid.
24160func (s *ListTagsForResourceInput) Validate() error {
24161	invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
24162	if s.ResourceArn == nil {
24163		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
24164	}
24165	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
24166		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
24167	}
24168
24169	if invalidParams.Len() > 0 {
24170		return invalidParams
24171	}
24172	return nil
24173}
24174
24175// SetResourceArn sets the ResourceArn field's value.
24176func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
24177	s.ResourceArn = &v
24178	return s
24179}
24180
24181type ListTagsForResourceOutput struct {
24182	_ struct{} `type:"structure"`
24183
24184	// The AWS request ID for this operation.
24185	RequestId *string `type:"string"`
24186
24187	// The HTTP status of the request.
24188	Status *int64 `location:"statusCode" type:"integer"`
24189
24190	// Contains a map of the key-value pairs for the resource tag or tags assigned
24191	// to the resource.
24192	Tags []*Tag `min:"1" type:"list"`
24193}
24194
24195// String returns the string representation
24196func (s ListTagsForResourceOutput) String() string {
24197	return awsutil.Prettify(s)
24198}
24199
24200// GoString returns the string representation
24201func (s ListTagsForResourceOutput) GoString() string {
24202	return s.String()
24203}
24204
24205// SetRequestId sets the RequestId field's value.
24206func (s *ListTagsForResourceOutput) SetRequestId(v string) *ListTagsForResourceOutput {
24207	s.RequestId = &v
24208	return s
24209}
24210
24211// SetStatus sets the Status field's value.
24212func (s *ListTagsForResourceOutput) SetStatus(v int64) *ListTagsForResourceOutput {
24213	s.Status = &v
24214	return s
24215}
24216
24217// SetTags sets the Tags field's value.
24218func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput {
24219	s.Tags = v
24220	return s
24221}
24222
24223type ListTemplateAliasesInput struct {
24224	_ struct{} `type:"structure"`
24225
24226	// The ID of the AWS account that contains the template aliases that you're
24227	// listing.
24228	//
24229	// AwsAccountId is a required field
24230	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
24231
24232	// The maximum number of results to be returned per request.
24233	MaxResults *int64 `location:"querystring" locationName:"max-result" min:"1" type:"integer"`
24234
24235	// The token for the next set of results, or null if there are no more results.
24236	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
24237
24238	// The ID for the template.
24239	//
24240	// TemplateId is a required field
24241	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
24242}
24243
24244// String returns the string representation
24245func (s ListTemplateAliasesInput) String() string {
24246	return awsutil.Prettify(s)
24247}
24248
24249// GoString returns the string representation
24250func (s ListTemplateAliasesInput) GoString() string {
24251	return s.String()
24252}
24253
24254// Validate inspects the fields of the type to determine if they are valid.
24255func (s *ListTemplateAliasesInput) Validate() error {
24256	invalidParams := request.ErrInvalidParams{Context: "ListTemplateAliasesInput"}
24257	if s.AwsAccountId == nil {
24258		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
24259	}
24260	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
24261		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
24262	}
24263	if s.MaxResults != nil && *s.MaxResults < 1 {
24264		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
24265	}
24266	if s.TemplateId == nil {
24267		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
24268	}
24269	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
24270		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
24271	}
24272
24273	if invalidParams.Len() > 0 {
24274		return invalidParams
24275	}
24276	return nil
24277}
24278
24279// SetAwsAccountId sets the AwsAccountId field's value.
24280func (s *ListTemplateAliasesInput) SetAwsAccountId(v string) *ListTemplateAliasesInput {
24281	s.AwsAccountId = &v
24282	return s
24283}
24284
24285// SetMaxResults sets the MaxResults field's value.
24286func (s *ListTemplateAliasesInput) SetMaxResults(v int64) *ListTemplateAliasesInput {
24287	s.MaxResults = &v
24288	return s
24289}
24290
24291// SetNextToken sets the NextToken field's value.
24292func (s *ListTemplateAliasesInput) SetNextToken(v string) *ListTemplateAliasesInput {
24293	s.NextToken = &v
24294	return s
24295}
24296
24297// SetTemplateId sets the TemplateId field's value.
24298func (s *ListTemplateAliasesInput) SetTemplateId(v string) *ListTemplateAliasesInput {
24299	s.TemplateId = &v
24300	return s
24301}
24302
24303type ListTemplateAliasesOutput struct {
24304	_ struct{} `type:"structure"`
24305
24306	// The token for the next set of results, or null if there are no more results.
24307	NextToken *string `type:"string"`
24308
24309	// The AWS request ID for this operation.
24310	RequestId *string `type:"string"`
24311
24312	// The HTTP status of the request.
24313	Status *int64 `location:"statusCode" type:"integer"`
24314
24315	// A structure containing the list of the template's aliases.
24316	TemplateAliasList []*TemplateAlias `type:"list"`
24317}
24318
24319// String returns the string representation
24320func (s ListTemplateAliasesOutput) String() string {
24321	return awsutil.Prettify(s)
24322}
24323
24324// GoString returns the string representation
24325func (s ListTemplateAliasesOutput) GoString() string {
24326	return s.String()
24327}
24328
24329// SetNextToken sets the NextToken field's value.
24330func (s *ListTemplateAliasesOutput) SetNextToken(v string) *ListTemplateAliasesOutput {
24331	s.NextToken = &v
24332	return s
24333}
24334
24335// SetRequestId sets the RequestId field's value.
24336func (s *ListTemplateAliasesOutput) SetRequestId(v string) *ListTemplateAliasesOutput {
24337	s.RequestId = &v
24338	return s
24339}
24340
24341// SetStatus sets the Status field's value.
24342func (s *ListTemplateAliasesOutput) SetStatus(v int64) *ListTemplateAliasesOutput {
24343	s.Status = &v
24344	return s
24345}
24346
24347// SetTemplateAliasList sets the TemplateAliasList field's value.
24348func (s *ListTemplateAliasesOutput) SetTemplateAliasList(v []*TemplateAlias) *ListTemplateAliasesOutput {
24349	s.TemplateAliasList = v
24350	return s
24351}
24352
24353type ListTemplateVersionsInput struct {
24354	_ struct{} `type:"structure"`
24355
24356	// The ID of the AWS account that contains the templates that you're listing.
24357	//
24358	// AwsAccountId is a required field
24359	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
24360
24361	// The maximum number of results to be returned per request.
24362	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
24363
24364	// The token for the next set of results, or null if there are no more results.
24365	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
24366
24367	// The ID for the template.
24368	//
24369	// TemplateId is a required field
24370	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
24371}
24372
24373// String returns the string representation
24374func (s ListTemplateVersionsInput) String() string {
24375	return awsutil.Prettify(s)
24376}
24377
24378// GoString returns the string representation
24379func (s ListTemplateVersionsInput) GoString() string {
24380	return s.String()
24381}
24382
24383// Validate inspects the fields of the type to determine if they are valid.
24384func (s *ListTemplateVersionsInput) Validate() error {
24385	invalidParams := request.ErrInvalidParams{Context: "ListTemplateVersionsInput"}
24386	if s.AwsAccountId == nil {
24387		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
24388	}
24389	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
24390		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
24391	}
24392	if s.MaxResults != nil && *s.MaxResults < 1 {
24393		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
24394	}
24395	if s.TemplateId == nil {
24396		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
24397	}
24398	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
24399		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
24400	}
24401
24402	if invalidParams.Len() > 0 {
24403		return invalidParams
24404	}
24405	return nil
24406}
24407
24408// SetAwsAccountId sets the AwsAccountId field's value.
24409func (s *ListTemplateVersionsInput) SetAwsAccountId(v string) *ListTemplateVersionsInput {
24410	s.AwsAccountId = &v
24411	return s
24412}
24413
24414// SetMaxResults sets the MaxResults field's value.
24415func (s *ListTemplateVersionsInput) SetMaxResults(v int64) *ListTemplateVersionsInput {
24416	s.MaxResults = &v
24417	return s
24418}
24419
24420// SetNextToken sets the NextToken field's value.
24421func (s *ListTemplateVersionsInput) SetNextToken(v string) *ListTemplateVersionsInput {
24422	s.NextToken = &v
24423	return s
24424}
24425
24426// SetTemplateId sets the TemplateId field's value.
24427func (s *ListTemplateVersionsInput) SetTemplateId(v string) *ListTemplateVersionsInput {
24428	s.TemplateId = &v
24429	return s
24430}
24431
24432type ListTemplateVersionsOutput struct {
24433	_ struct{} `type:"structure"`
24434
24435	// The token for the next set of results, or null if there are no more results.
24436	NextToken *string `type:"string"`
24437
24438	// The AWS request ID for this operation.
24439	RequestId *string `type:"string"`
24440
24441	// The HTTP status of the request.
24442	Status *int64 `location:"statusCode" type:"integer"`
24443
24444	// A structure containing a list of all the versions of the specified template.
24445	TemplateVersionSummaryList []*TemplateVersionSummary `type:"list"`
24446}
24447
24448// String returns the string representation
24449func (s ListTemplateVersionsOutput) String() string {
24450	return awsutil.Prettify(s)
24451}
24452
24453// GoString returns the string representation
24454func (s ListTemplateVersionsOutput) GoString() string {
24455	return s.String()
24456}
24457
24458// SetNextToken sets the NextToken field's value.
24459func (s *ListTemplateVersionsOutput) SetNextToken(v string) *ListTemplateVersionsOutput {
24460	s.NextToken = &v
24461	return s
24462}
24463
24464// SetRequestId sets the RequestId field's value.
24465func (s *ListTemplateVersionsOutput) SetRequestId(v string) *ListTemplateVersionsOutput {
24466	s.RequestId = &v
24467	return s
24468}
24469
24470// SetStatus sets the Status field's value.
24471func (s *ListTemplateVersionsOutput) SetStatus(v int64) *ListTemplateVersionsOutput {
24472	s.Status = &v
24473	return s
24474}
24475
24476// SetTemplateVersionSummaryList sets the TemplateVersionSummaryList field's value.
24477func (s *ListTemplateVersionsOutput) SetTemplateVersionSummaryList(v []*TemplateVersionSummary) *ListTemplateVersionsOutput {
24478	s.TemplateVersionSummaryList = v
24479	return s
24480}
24481
24482type ListTemplatesInput struct {
24483	_ struct{} `type:"structure"`
24484
24485	// The ID of the AWS account that contains the templates that you're listing.
24486	//
24487	// AwsAccountId is a required field
24488	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
24489
24490	// The maximum number of results to be returned per request.
24491	MaxResults *int64 `location:"querystring" locationName:"max-result" min:"1" type:"integer"`
24492
24493	// The token for the next set of results, or null if there are no more results.
24494	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
24495}
24496
24497// String returns the string representation
24498func (s ListTemplatesInput) String() string {
24499	return awsutil.Prettify(s)
24500}
24501
24502// GoString returns the string representation
24503func (s ListTemplatesInput) GoString() string {
24504	return s.String()
24505}
24506
24507// Validate inspects the fields of the type to determine if they are valid.
24508func (s *ListTemplatesInput) Validate() error {
24509	invalidParams := request.ErrInvalidParams{Context: "ListTemplatesInput"}
24510	if s.AwsAccountId == nil {
24511		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
24512	}
24513	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
24514		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
24515	}
24516	if s.MaxResults != nil && *s.MaxResults < 1 {
24517		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
24518	}
24519
24520	if invalidParams.Len() > 0 {
24521		return invalidParams
24522	}
24523	return nil
24524}
24525
24526// SetAwsAccountId sets the AwsAccountId field's value.
24527func (s *ListTemplatesInput) SetAwsAccountId(v string) *ListTemplatesInput {
24528	s.AwsAccountId = &v
24529	return s
24530}
24531
24532// SetMaxResults sets the MaxResults field's value.
24533func (s *ListTemplatesInput) SetMaxResults(v int64) *ListTemplatesInput {
24534	s.MaxResults = &v
24535	return s
24536}
24537
24538// SetNextToken sets the NextToken field's value.
24539func (s *ListTemplatesInput) SetNextToken(v string) *ListTemplatesInput {
24540	s.NextToken = &v
24541	return s
24542}
24543
24544type ListTemplatesOutput struct {
24545	_ struct{} `type:"structure"`
24546
24547	// The token for the next set of results, or null if there are no more results.
24548	NextToken *string `type:"string"`
24549
24550	// The AWS request ID for this operation.
24551	RequestId *string `type:"string"`
24552
24553	// The HTTP status of the request.
24554	Status *int64 `location:"statusCode" type:"integer"`
24555
24556	// A structure containing information about the templates in the list.
24557	TemplateSummaryList []*TemplateSummary `type:"list"`
24558}
24559
24560// String returns the string representation
24561func (s ListTemplatesOutput) String() string {
24562	return awsutil.Prettify(s)
24563}
24564
24565// GoString returns the string representation
24566func (s ListTemplatesOutput) GoString() string {
24567	return s.String()
24568}
24569
24570// SetNextToken sets the NextToken field's value.
24571func (s *ListTemplatesOutput) SetNextToken(v string) *ListTemplatesOutput {
24572	s.NextToken = &v
24573	return s
24574}
24575
24576// SetRequestId sets the RequestId field's value.
24577func (s *ListTemplatesOutput) SetRequestId(v string) *ListTemplatesOutput {
24578	s.RequestId = &v
24579	return s
24580}
24581
24582// SetStatus sets the Status field's value.
24583func (s *ListTemplatesOutput) SetStatus(v int64) *ListTemplatesOutput {
24584	s.Status = &v
24585	return s
24586}
24587
24588// SetTemplateSummaryList sets the TemplateSummaryList field's value.
24589func (s *ListTemplatesOutput) SetTemplateSummaryList(v []*TemplateSummary) *ListTemplatesOutput {
24590	s.TemplateSummaryList = v
24591	return s
24592}
24593
24594type ListThemeAliasesInput struct {
24595	_ struct{} `type:"structure"`
24596
24597	// The ID of the AWS account that contains the theme aliases that you're listing.
24598	//
24599	// AwsAccountId is a required field
24600	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
24601
24602	// The maximum number of results to be returned per request.
24603	MaxResults *int64 `location:"querystring" locationName:"max-result" min:"1" type:"integer"`
24604
24605	// The token for the next set of results, or null if there are no more results.
24606	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
24607
24608	// The ID for the theme.
24609	//
24610	// ThemeId is a required field
24611	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
24612}
24613
24614// String returns the string representation
24615func (s ListThemeAliasesInput) String() string {
24616	return awsutil.Prettify(s)
24617}
24618
24619// GoString returns the string representation
24620func (s ListThemeAliasesInput) GoString() string {
24621	return s.String()
24622}
24623
24624// Validate inspects the fields of the type to determine if they are valid.
24625func (s *ListThemeAliasesInput) Validate() error {
24626	invalidParams := request.ErrInvalidParams{Context: "ListThemeAliasesInput"}
24627	if s.AwsAccountId == nil {
24628		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
24629	}
24630	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
24631		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
24632	}
24633	if s.MaxResults != nil && *s.MaxResults < 1 {
24634		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
24635	}
24636	if s.ThemeId == nil {
24637		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
24638	}
24639	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
24640		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
24641	}
24642
24643	if invalidParams.Len() > 0 {
24644		return invalidParams
24645	}
24646	return nil
24647}
24648
24649// SetAwsAccountId sets the AwsAccountId field's value.
24650func (s *ListThemeAliasesInput) SetAwsAccountId(v string) *ListThemeAliasesInput {
24651	s.AwsAccountId = &v
24652	return s
24653}
24654
24655// SetMaxResults sets the MaxResults field's value.
24656func (s *ListThemeAliasesInput) SetMaxResults(v int64) *ListThemeAliasesInput {
24657	s.MaxResults = &v
24658	return s
24659}
24660
24661// SetNextToken sets the NextToken field's value.
24662func (s *ListThemeAliasesInput) SetNextToken(v string) *ListThemeAliasesInput {
24663	s.NextToken = &v
24664	return s
24665}
24666
24667// SetThemeId sets the ThemeId field's value.
24668func (s *ListThemeAliasesInput) SetThemeId(v string) *ListThemeAliasesInput {
24669	s.ThemeId = &v
24670	return s
24671}
24672
24673type ListThemeAliasesOutput struct {
24674	_ struct{} `type:"structure"`
24675
24676	// The token for the next set of results, or null if there are no more results.
24677	NextToken *string `type:"string"`
24678
24679	// The AWS request ID for this operation.
24680	RequestId *string `type:"string"`
24681
24682	// The HTTP status of the request.
24683	Status *int64 `location:"statusCode" type:"integer"`
24684
24685	// A structure containing the list of the theme's aliases.
24686	ThemeAliasList []*ThemeAlias `type:"list"`
24687}
24688
24689// String returns the string representation
24690func (s ListThemeAliasesOutput) String() string {
24691	return awsutil.Prettify(s)
24692}
24693
24694// GoString returns the string representation
24695func (s ListThemeAliasesOutput) GoString() string {
24696	return s.String()
24697}
24698
24699// SetNextToken sets the NextToken field's value.
24700func (s *ListThemeAliasesOutput) SetNextToken(v string) *ListThemeAliasesOutput {
24701	s.NextToken = &v
24702	return s
24703}
24704
24705// SetRequestId sets the RequestId field's value.
24706func (s *ListThemeAliasesOutput) SetRequestId(v string) *ListThemeAliasesOutput {
24707	s.RequestId = &v
24708	return s
24709}
24710
24711// SetStatus sets the Status field's value.
24712func (s *ListThemeAliasesOutput) SetStatus(v int64) *ListThemeAliasesOutput {
24713	s.Status = &v
24714	return s
24715}
24716
24717// SetThemeAliasList sets the ThemeAliasList field's value.
24718func (s *ListThemeAliasesOutput) SetThemeAliasList(v []*ThemeAlias) *ListThemeAliasesOutput {
24719	s.ThemeAliasList = v
24720	return s
24721}
24722
24723type ListThemeVersionsInput struct {
24724	_ struct{} `type:"structure"`
24725
24726	// The ID of the AWS account that contains the themes that you're listing.
24727	//
24728	// AwsAccountId is a required field
24729	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
24730
24731	// The maximum number of results to be returned per request.
24732	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
24733
24734	// The token for the next set of results, or null if there are no more results.
24735	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
24736
24737	// The ID for the theme.
24738	//
24739	// ThemeId is a required field
24740	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
24741}
24742
24743// String returns the string representation
24744func (s ListThemeVersionsInput) String() string {
24745	return awsutil.Prettify(s)
24746}
24747
24748// GoString returns the string representation
24749func (s ListThemeVersionsInput) GoString() string {
24750	return s.String()
24751}
24752
24753// Validate inspects the fields of the type to determine if they are valid.
24754func (s *ListThemeVersionsInput) Validate() error {
24755	invalidParams := request.ErrInvalidParams{Context: "ListThemeVersionsInput"}
24756	if s.AwsAccountId == nil {
24757		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
24758	}
24759	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
24760		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
24761	}
24762	if s.MaxResults != nil && *s.MaxResults < 1 {
24763		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
24764	}
24765	if s.ThemeId == nil {
24766		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
24767	}
24768	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
24769		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
24770	}
24771
24772	if invalidParams.Len() > 0 {
24773		return invalidParams
24774	}
24775	return nil
24776}
24777
24778// SetAwsAccountId sets the AwsAccountId field's value.
24779func (s *ListThemeVersionsInput) SetAwsAccountId(v string) *ListThemeVersionsInput {
24780	s.AwsAccountId = &v
24781	return s
24782}
24783
24784// SetMaxResults sets the MaxResults field's value.
24785func (s *ListThemeVersionsInput) SetMaxResults(v int64) *ListThemeVersionsInput {
24786	s.MaxResults = &v
24787	return s
24788}
24789
24790// SetNextToken sets the NextToken field's value.
24791func (s *ListThemeVersionsInput) SetNextToken(v string) *ListThemeVersionsInput {
24792	s.NextToken = &v
24793	return s
24794}
24795
24796// SetThemeId sets the ThemeId field's value.
24797func (s *ListThemeVersionsInput) SetThemeId(v string) *ListThemeVersionsInput {
24798	s.ThemeId = &v
24799	return s
24800}
24801
24802type ListThemeVersionsOutput struct {
24803	_ struct{} `type:"structure"`
24804
24805	// The token for the next set of results, or null if there are no more results.
24806	NextToken *string `type:"string"`
24807
24808	// The AWS request ID for this operation.
24809	RequestId *string `type:"string"`
24810
24811	// The HTTP status of the request.
24812	Status *int64 `location:"statusCode" type:"integer"`
24813
24814	// A structure containing a list of all the versions of the specified theme.
24815	ThemeVersionSummaryList []*ThemeVersionSummary `type:"list"`
24816}
24817
24818// String returns the string representation
24819func (s ListThemeVersionsOutput) String() string {
24820	return awsutil.Prettify(s)
24821}
24822
24823// GoString returns the string representation
24824func (s ListThemeVersionsOutput) GoString() string {
24825	return s.String()
24826}
24827
24828// SetNextToken sets the NextToken field's value.
24829func (s *ListThemeVersionsOutput) SetNextToken(v string) *ListThemeVersionsOutput {
24830	s.NextToken = &v
24831	return s
24832}
24833
24834// SetRequestId sets the RequestId field's value.
24835func (s *ListThemeVersionsOutput) SetRequestId(v string) *ListThemeVersionsOutput {
24836	s.RequestId = &v
24837	return s
24838}
24839
24840// SetStatus sets the Status field's value.
24841func (s *ListThemeVersionsOutput) SetStatus(v int64) *ListThemeVersionsOutput {
24842	s.Status = &v
24843	return s
24844}
24845
24846// SetThemeVersionSummaryList sets the ThemeVersionSummaryList field's value.
24847func (s *ListThemeVersionsOutput) SetThemeVersionSummaryList(v []*ThemeVersionSummary) *ListThemeVersionsOutput {
24848	s.ThemeVersionSummaryList = v
24849	return s
24850}
24851
24852type ListThemesInput struct {
24853	_ struct{} `type:"structure"`
24854
24855	// The ID of the AWS account that contains the themes that you're listing.
24856	//
24857	// AwsAccountId is a required field
24858	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
24859
24860	// The maximum number of results to be returned per request.
24861	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
24862
24863	// The token for the next set of results, or null if there are no more results.
24864	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
24865
24866	// The type of themes that you want to list. Valid options include the following:
24867	//
24868	//    * ALL (default)- Display all existing themes.
24869	//
24870	//    * CUSTOM - Display only the themes created by people using Amazon QuickSight.
24871	//
24872	//    * QUICKSIGHT - Display only the starting themes defined by QuickSight.
24873	Type *string `location:"querystring" locationName:"type" type:"string" enum:"ThemeType"`
24874}
24875
24876// String returns the string representation
24877func (s ListThemesInput) String() string {
24878	return awsutil.Prettify(s)
24879}
24880
24881// GoString returns the string representation
24882func (s ListThemesInput) GoString() string {
24883	return s.String()
24884}
24885
24886// Validate inspects the fields of the type to determine if they are valid.
24887func (s *ListThemesInput) Validate() error {
24888	invalidParams := request.ErrInvalidParams{Context: "ListThemesInput"}
24889	if s.AwsAccountId == nil {
24890		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
24891	}
24892	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
24893		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
24894	}
24895	if s.MaxResults != nil && *s.MaxResults < 1 {
24896		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
24897	}
24898
24899	if invalidParams.Len() > 0 {
24900		return invalidParams
24901	}
24902	return nil
24903}
24904
24905// SetAwsAccountId sets the AwsAccountId field's value.
24906func (s *ListThemesInput) SetAwsAccountId(v string) *ListThemesInput {
24907	s.AwsAccountId = &v
24908	return s
24909}
24910
24911// SetMaxResults sets the MaxResults field's value.
24912func (s *ListThemesInput) SetMaxResults(v int64) *ListThemesInput {
24913	s.MaxResults = &v
24914	return s
24915}
24916
24917// SetNextToken sets the NextToken field's value.
24918func (s *ListThemesInput) SetNextToken(v string) *ListThemesInput {
24919	s.NextToken = &v
24920	return s
24921}
24922
24923// SetType sets the Type field's value.
24924func (s *ListThemesInput) SetType(v string) *ListThemesInput {
24925	s.Type = &v
24926	return s
24927}
24928
24929type ListThemesOutput struct {
24930	_ struct{} `type:"structure"`
24931
24932	// The token for the next set of results, or null if there are no more results.
24933	NextToken *string `type:"string"`
24934
24935	// The AWS request ID for this operation.
24936	RequestId *string `type:"string"`
24937
24938	// The HTTP status of the request.
24939	Status *int64 `location:"statusCode" type:"integer"`
24940
24941	// Information about the themes in the list.
24942	ThemeSummaryList []*ThemeSummary `type:"list"`
24943}
24944
24945// String returns the string representation
24946func (s ListThemesOutput) String() string {
24947	return awsutil.Prettify(s)
24948}
24949
24950// GoString returns the string representation
24951func (s ListThemesOutput) GoString() string {
24952	return s.String()
24953}
24954
24955// SetNextToken sets the NextToken field's value.
24956func (s *ListThemesOutput) SetNextToken(v string) *ListThemesOutput {
24957	s.NextToken = &v
24958	return s
24959}
24960
24961// SetRequestId sets the RequestId field's value.
24962func (s *ListThemesOutput) SetRequestId(v string) *ListThemesOutput {
24963	s.RequestId = &v
24964	return s
24965}
24966
24967// SetStatus sets the Status field's value.
24968func (s *ListThemesOutput) SetStatus(v int64) *ListThemesOutput {
24969	s.Status = &v
24970	return s
24971}
24972
24973// SetThemeSummaryList sets the ThemeSummaryList field's value.
24974func (s *ListThemesOutput) SetThemeSummaryList(v []*ThemeSummary) *ListThemesOutput {
24975	s.ThemeSummaryList = v
24976	return s
24977}
24978
24979type ListUserGroupsInput struct {
24980	_ struct{} `type:"structure"`
24981
24982	// The AWS account ID that the user is in. Currently, you use the ID for the
24983	// AWS account that contains your Amazon QuickSight account.
24984	//
24985	// AwsAccountId is a required field
24986	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
24987
24988	// The maximum number of results to return from this request.
24989	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
24990
24991	// The namespace. Currently, you should set this to default.
24992	//
24993	// Namespace is a required field
24994	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
24995
24996	// A pagination token that can be used in a subsequent request.
24997	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
24998
24999	// The Amazon QuickSight user name that you want to list group memberships for.
25000	//
25001	// UserName is a required field
25002	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
25003}
25004
25005// String returns the string representation
25006func (s ListUserGroupsInput) String() string {
25007	return awsutil.Prettify(s)
25008}
25009
25010// GoString returns the string representation
25011func (s ListUserGroupsInput) GoString() string {
25012	return s.String()
25013}
25014
25015// Validate inspects the fields of the type to determine if they are valid.
25016func (s *ListUserGroupsInput) Validate() error {
25017	invalidParams := request.ErrInvalidParams{Context: "ListUserGroupsInput"}
25018	if s.AwsAccountId == nil {
25019		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
25020	}
25021	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
25022		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
25023	}
25024	if s.MaxResults != nil && *s.MaxResults < 1 {
25025		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
25026	}
25027	if s.Namespace == nil {
25028		invalidParams.Add(request.NewErrParamRequired("Namespace"))
25029	}
25030	if s.Namespace != nil && len(*s.Namespace) < 1 {
25031		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
25032	}
25033	if s.UserName == nil {
25034		invalidParams.Add(request.NewErrParamRequired("UserName"))
25035	}
25036	if s.UserName != nil && len(*s.UserName) < 1 {
25037		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
25038	}
25039
25040	if invalidParams.Len() > 0 {
25041		return invalidParams
25042	}
25043	return nil
25044}
25045
25046// SetAwsAccountId sets the AwsAccountId field's value.
25047func (s *ListUserGroupsInput) SetAwsAccountId(v string) *ListUserGroupsInput {
25048	s.AwsAccountId = &v
25049	return s
25050}
25051
25052// SetMaxResults sets the MaxResults field's value.
25053func (s *ListUserGroupsInput) SetMaxResults(v int64) *ListUserGroupsInput {
25054	s.MaxResults = &v
25055	return s
25056}
25057
25058// SetNamespace sets the Namespace field's value.
25059func (s *ListUserGroupsInput) SetNamespace(v string) *ListUserGroupsInput {
25060	s.Namespace = &v
25061	return s
25062}
25063
25064// SetNextToken sets the NextToken field's value.
25065func (s *ListUserGroupsInput) SetNextToken(v string) *ListUserGroupsInput {
25066	s.NextToken = &v
25067	return s
25068}
25069
25070// SetUserName sets the UserName field's value.
25071func (s *ListUserGroupsInput) SetUserName(v string) *ListUserGroupsInput {
25072	s.UserName = &v
25073	return s
25074}
25075
25076type ListUserGroupsOutput struct {
25077	_ struct{} `type:"structure"`
25078
25079	// The list of groups the user is a member of.
25080	GroupList []*Group `type:"list"`
25081
25082	// A pagination token that can be used in a subsequent request.
25083	NextToken *string `type:"string"`
25084
25085	// The AWS request ID for this operation.
25086	RequestId *string `type:"string"`
25087
25088	// The HTTP status of the request.
25089	Status *int64 `location:"statusCode" type:"integer"`
25090}
25091
25092// String returns the string representation
25093func (s ListUserGroupsOutput) String() string {
25094	return awsutil.Prettify(s)
25095}
25096
25097// GoString returns the string representation
25098func (s ListUserGroupsOutput) GoString() string {
25099	return s.String()
25100}
25101
25102// SetGroupList sets the GroupList field's value.
25103func (s *ListUserGroupsOutput) SetGroupList(v []*Group) *ListUserGroupsOutput {
25104	s.GroupList = v
25105	return s
25106}
25107
25108// SetNextToken sets the NextToken field's value.
25109func (s *ListUserGroupsOutput) SetNextToken(v string) *ListUserGroupsOutput {
25110	s.NextToken = &v
25111	return s
25112}
25113
25114// SetRequestId sets the RequestId field's value.
25115func (s *ListUserGroupsOutput) SetRequestId(v string) *ListUserGroupsOutput {
25116	s.RequestId = &v
25117	return s
25118}
25119
25120// SetStatus sets the Status field's value.
25121func (s *ListUserGroupsOutput) SetStatus(v int64) *ListUserGroupsOutput {
25122	s.Status = &v
25123	return s
25124}
25125
25126type ListUsersInput struct {
25127	_ struct{} `type:"structure"`
25128
25129	// The ID for the AWS account that the user is in. Currently, you use the ID
25130	// for the AWS account that contains your Amazon QuickSight account.
25131	//
25132	// AwsAccountId is a required field
25133	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
25134
25135	// The maximum number of results to return from this request.
25136	MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"`
25137
25138	// The namespace. Currently, you should set this to default.
25139	//
25140	// Namespace is a required field
25141	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
25142
25143	// A pagination token that can be used in a subsequent request.
25144	NextToken *string `location:"querystring" locationName:"next-token" type:"string"`
25145}
25146
25147// String returns the string representation
25148func (s ListUsersInput) String() string {
25149	return awsutil.Prettify(s)
25150}
25151
25152// GoString returns the string representation
25153func (s ListUsersInput) GoString() string {
25154	return s.String()
25155}
25156
25157// Validate inspects the fields of the type to determine if they are valid.
25158func (s *ListUsersInput) Validate() error {
25159	invalidParams := request.ErrInvalidParams{Context: "ListUsersInput"}
25160	if s.AwsAccountId == nil {
25161		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
25162	}
25163	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
25164		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
25165	}
25166	if s.MaxResults != nil && *s.MaxResults < 1 {
25167		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
25168	}
25169	if s.Namespace == nil {
25170		invalidParams.Add(request.NewErrParamRequired("Namespace"))
25171	}
25172	if s.Namespace != nil && len(*s.Namespace) < 1 {
25173		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
25174	}
25175
25176	if invalidParams.Len() > 0 {
25177		return invalidParams
25178	}
25179	return nil
25180}
25181
25182// SetAwsAccountId sets the AwsAccountId field's value.
25183func (s *ListUsersInput) SetAwsAccountId(v string) *ListUsersInput {
25184	s.AwsAccountId = &v
25185	return s
25186}
25187
25188// SetMaxResults sets the MaxResults field's value.
25189func (s *ListUsersInput) SetMaxResults(v int64) *ListUsersInput {
25190	s.MaxResults = &v
25191	return s
25192}
25193
25194// SetNamespace sets the Namespace field's value.
25195func (s *ListUsersInput) SetNamespace(v string) *ListUsersInput {
25196	s.Namespace = &v
25197	return s
25198}
25199
25200// SetNextToken sets the NextToken field's value.
25201func (s *ListUsersInput) SetNextToken(v string) *ListUsersInput {
25202	s.NextToken = &v
25203	return s
25204}
25205
25206type ListUsersOutput struct {
25207	_ struct{} `type:"structure"`
25208
25209	// A pagination token that can be used in a subsequent request.
25210	NextToken *string `type:"string"`
25211
25212	// The AWS request ID for this operation.
25213	RequestId *string `type:"string"`
25214
25215	// The HTTP status of the request.
25216	Status *int64 `location:"statusCode" type:"integer"`
25217
25218	// The list of users.
25219	UserList []*User `type:"list"`
25220}
25221
25222// String returns the string representation
25223func (s ListUsersOutput) String() string {
25224	return awsutil.Prettify(s)
25225}
25226
25227// GoString returns the string representation
25228func (s ListUsersOutput) GoString() string {
25229	return s.String()
25230}
25231
25232// SetNextToken sets the NextToken field's value.
25233func (s *ListUsersOutput) SetNextToken(v string) *ListUsersOutput {
25234	s.NextToken = &v
25235	return s
25236}
25237
25238// SetRequestId sets the RequestId field's value.
25239func (s *ListUsersOutput) SetRequestId(v string) *ListUsersOutput {
25240	s.RequestId = &v
25241	return s
25242}
25243
25244// SetStatus sets the Status field's value.
25245func (s *ListUsersOutput) SetStatus(v int64) *ListUsersOutput {
25246	s.Status = &v
25247	return s
25248}
25249
25250// SetUserList sets the UserList field's value.
25251func (s *ListUsersOutput) SetUserList(v []*User) *ListUsersOutput {
25252	s.UserList = v
25253	return s
25254}
25255
25256// A logical table is a unit that joins and that data transformations operate
25257// on. A logical table has a source, which can be either a physical table or
25258// result of a join. When a logical table points to a physical table, the logical
25259// table acts as a mutable copy of that physical table through transform operations.
25260type LogicalTable struct {
25261	_ struct{} `type:"structure"`
25262
25263	// A display name for the logical table.
25264	//
25265	// Alias is a required field
25266	Alias *string `min:"1" type:"string" required:"true"`
25267
25268	// Transform operations that act on this logical table.
25269	DataTransforms []*TransformOperation `min:"1" type:"list"`
25270
25271	// Source of this logical table.
25272	//
25273	// Source is a required field
25274	Source *LogicalTableSource `type:"structure" required:"true"`
25275}
25276
25277// String returns the string representation
25278func (s LogicalTable) String() string {
25279	return awsutil.Prettify(s)
25280}
25281
25282// GoString returns the string representation
25283func (s LogicalTable) GoString() string {
25284	return s.String()
25285}
25286
25287// Validate inspects the fields of the type to determine if they are valid.
25288func (s *LogicalTable) Validate() error {
25289	invalidParams := request.ErrInvalidParams{Context: "LogicalTable"}
25290	if s.Alias == nil {
25291		invalidParams.Add(request.NewErrParamRequired("Alias"))
25292	}
25293	if s.Alias != nil && len(*s.Alias) < 1 {
25294		invalidParams.Add(request.NewErrParamMinLen("Alias", 1))
25295	}
25296	if s.DataTransforms != nil && len(s.DataTransforms) < 1 {
25297		invalidParams.Add(request.NewErrParamMinLen("DataTransforms", 1))
25298	}
25299	if s.Source == nil {
25300		invalidParams.Add(request.NewErrParamRequired("Source"))
25301	}
25302	if s.DataTransforms != nil {
25303		for i, v := range s.DataTransforms {
25304			if v == nil {
25305				continue
25306			}
25307			if err := v.Validate(); err != nil {
25308				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataTransforms", i), err.(request.ErrInvalidParams))
25309			}
25310		}
25311	}
25312	if s.Source != nil {
25313		if err := s.Source.Validate(); err != nil {
25314			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
25315		}
25316	}
25317
25318	if invalidParams.Len() > 0 {
25319		return invalidParams
25320	}
25321	return nil
25322}
25323
25324// SetAlias sets the Alias field's value.
25325func (s *LogicalTable) SetAlias(v string) *LogicalTable {
25326	s.Alias = &v
25327	return s
25328}
25329
25330// SetDataTransforms sets the DataTransforms field's value.
25331func (s *LogicalTable) SetDataTransforms(v []*TransformOperation) *LogicalTable {
25332	s.DataTransforms = v
25333	return s
25334}
25335
25336// SetSource sets the Source field's value.
25337func (s *LogicalTable) SetSource(v *LogicalTableSource) *LogicalTable {
25338	s.Source = v
25339	return s
25340}
25341
25342// Information about the source of a logical table. This is a variant type structure.
25343// For this structure to be valid, only one of the attributes can be non-null.
25344type LogicalTableSource struct {
25345	_ struct{} `type:"structure"`
25346
25347	// Specifies the result of a join of two logical tables.
25348	JoinInstruction *JoinInstruction `type:"structure"`
25349
25350	// Physical table ID.
25351	PhysicalTableId *string `min:"1" type:"string"`
25352}
25353
25354// String returns the string representation
25355func (s LogicalTableSource) String() string {
25356	return awsutil.Prettify(s)
25357}
25358
25359// GoString returns the string representation
25360func (s LogicalTableSource) GoString() string {
25361	return s.String()
25362}
25363
25364// Validate inspects the fields of the type to determine if they are valid.
25365func (s *LogicalTableSource) Validate() error {
25366	invalidParams := request.ErrInvalidParams{Context: "LogicalTableSource"}
25367	if s.PhysicalTableId != nil && len(*s.PhysicalTableId) < 1 {
25368		invalidParams.Add(request.NewErrParamMinLen("PhysicalTableId", 1))
25369	}
25370	if s.JoinInstruction != nil {
25371		if err := s.JoinInstruction.Validate(); err != nil {
25372			invalidParams.AddNested("JoinInstruction", err.(request.ErrInvalidParams))
25373		}
25374	}
25375
25376	if invalidParams.Len() > 0 {
25377		return invalidParams
25378	}
25379	return nil
25380}
25381
25382// SetJoinInstruction sets the JoinInstruction field's value.
25383func (s *LogicalTableSource) SetJoinInstruction(v *JoinInstruction) *LogicalTableSource {
25384	s.JoinInstruction = v
25385	return s
25386}
25387
25388// SetPhysicalTableId sets the PhysicalTableId field's value.
25389func (s *LogicalTableSource) SetPhysicalTableId(v string) *LogicalTableSource {
25390	s.PhysicalTableId = &v
25391	return s
25392}
25393
25394// Amazon S3 manifest file location.
25395type ManifestFileLocation struct {
25396	_ struct{} `type:"structure"`
25397
25398	// Amazon S3 bucket.
25399	//
25400	// Bucket is a required field
25401	Bucket *string `min:"1" type:"string" required:"true"`
25402
25403	// Amazon S3 key that identifies an object.
25404	//
25405	// Key is a required field
25406	Key *string `min:"1" type:"string" required:"true"`
25407}
25408
25409// String returns the string representation
25410func (s ManifestFileLocation) String() string {
25411	return awsutil.Prettify(s)
25412}
25413
25414// GoString returns the string representation
25415func (s ManifestFileLocation) GoString() string {
25416	return s.String()
25417}
25418
25419// Validate inspects the fields of the type to determine if they are valid.
25420func (s *ManifestFileLocation) Validate() error {
25421	invalidParams := request.ErrInvalidParams{Context: "ManifestFileLocation"}
25422	if s.Bucket == nil {
25423		invalidParams.Add(request.NewErrParamRequired("Bucket"))
25424	}
25425	if s.Bucket != nil && len(*s.Bucket) < 1 {
25426		invalidParams.Add(request.NewErrParamMinLen("Bucket", 1))
25427	}
25428	if s.Key == nil {
25429		invalidParams.Add(request.NewErrParamRequired("Key"))
25430	}
25431	if s.Key != nil && len(*s.Key) < 1 {
25432		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
25433	}
25434
25435	if invalidParams.Len() > 0 {
25436		return invalidParams
25437	}
25438	return nil
25439}
25440
25441// SetBucket sets the Bucket field's value.
25442func (s *ManifestFileLocation) SetBucket(v string) *ManifestFileLocation {
25443	s.Bucket = &v
25444	return s
25445}
25446
25447// SetKey sets the Key field's value.
25448func (s *ManifestFileLocation) SetKey(v string) *ManifestFileLocation {
25449	s.Key = &v
25450	return s
25451}
25452
25453// The display options for margins around the outside edge of sheets.
25454type MarginStyle struct {
25455	_ struct{} `type:"structure"`
25456
25457	// This Boolean value controls whether to display sheet margins.
25458	Show *bool `type:"boolean"`
25459}
25460
25461// String returns the string representation
25462func (s MarginStyle) String() string {
25463	return awsutil.Prettify(s)
25464}
25465
25466// GoString returns the string representation
25467func (s MarginStyle) GoString() string {
25468	return s.String()
25469}
25470
25471// SetShow sets the Show field's value.
25472func (s *MarginStyle) SetShow(v bool) *MarginStyle {
25473	s.Show = &v
25474	return s
25475}
25476
25477// MariaDB parameters.
25478type MariaDbParameters struct {
25479	_ struct{} `type:"structure"`
25480
25481	// Database.
25482	//
25483	// Database is a required field
25484	Database *string `min:"1" type:"string" required:"true"`
25485
25486	// Host.
25487	//
25488	// Host is a required field
25489	Host *string `min:"1" type:"string" required:"true"`
25490
25491	// Port.
25492	//
25493	// Port is a required field
25494	Port *int64 `min:"1" type:"integer" required:"true"`
25495}
25496
25497// String returns the string representation
25498func (s MariaDbParameters) String() string {
25499	return awsutil.Prettify(s)
25500}
25501
25502// GoString returns the string representation
25503func (s MariaDbParameters) GoString() string {
25504	return s.String()
25505}
25506
25507// Validate inspects the fields of the type to determine if they are valid.
25508func (s *MariaDbParameters) Validate() error {
25509	invalidParams := request.ErrInvalidParams{Context: "MariaDbParameters"}
25510	if s.Database == nil {
25511		invalidParams.Add(request.NewErrParamRequired("Database"))
25512	}
25513	if s.Database != nil && len(*s.Database) < 1 {
25514		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
25515	}
25516	if s.Host == nil {
25517		invalidParams.Add(request.NewErrParamRequired("Host"))
25518	}
25519	if s.Host != nil && len(*s.Host) < 1 {
25520		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
25521	}
25522	if s.Port == nil {
25523		invalidParams.Add(request.NewErrParamRequired("Port"))
25524	}
25525	if s.Port != nil && *s.Port < 1 {
25526		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
25527	}
25528
25529	if invalidParams.Len() > 0 {
25530		return invalidParams
25531	}
25532	return nil
25533}
25534
25535// SetDatabase sets the Database field's value.
25536func (s *MariaDbParameters) SetDatabase(v string) *MariaDbParameters {
25537	s.Database = &v
25538	return s
25539}
25540
25541// SetHost sets the Host field's value.
25542func (s *MariaDbParameters) SetHost(v string) *MariaDbParameters {
25543	s.Host = &v
25544	return s
25545}
25546
25547// SetPort sets the Port field's value.
25548func (s *MariaDbParameters) SetPort(v int64) *MariaDbParameters {
25549	s.Port = &v
25550	return s
25551}
25552
25553// MySQL parameters.
25554type MySqlParameters struct {
25555	_ struct{} `type:"structure"`
25556
25557	// Database.
25558	//
25559	// Database is a required field
25560	Database *string `min:"1" type:"string" required:"true"`
25561
25562	// Host.
25563	//
25564	// Host is a required field
25565	Host *string `min:"1" type:"string" required:"true"`
25566
25567	// Port.
25568	//
25569	// Port is a required field
25570	Port *int64 `min:"1" type:"integer" required:"true"`
25571}
25572
25573// String returns the string representation
25574func (s MySqlParameters) String() string {
25575	return awsutil.Prettify(s)
25576}
25577
25578// GoString returns the string representation
25579func (s MySqlParameters) GoString() string {
25580	return s.String()
25581}
25582
25583// Validate inspects the fields of the type to determine if they are valid.
25584func (s *MySqlParameters) Validate() error {
25585	invalidParams := request.ErrInvalidParams{Context: "MySqlParameters"}
25586	if s.Database == nil {
25587		invalidParams.Add(request.NewErrParamRequired("Database"))
25588	}
25589	if s.Database != nil && len(*s.Database) < 1 {
25590		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
25591	}
25592	if s.Host == nil {
25593		invalidParams.Add(request.NewErrParamRequired("Host"))
25594	}
25595	if s.Host != nil && len(*s.Host) < 1 {
25596		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
25597	}
25598	if s.Port == nil {
25599		invalidParams.Add(request.NewErrParamRequired("Port"))
25600	}
25601	if s.Port != nil && *s.Port < 1 {
25602		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
25603	}
25604
25605	if invalidParams.Len() > 0 {
25606		return invalidParams
25607	}
25608	return nil
25609}
25610
25611// SetDatabase sets the Database field's value.
25612func (s *MySqlParameters) SetDatabase(v string) *MySqlParameters {
25613	s.Database = &v
25614	return s
25615}
25616
25617// SetHost sets the Host field's value.
25618func (s *MySqlParameters) SetHost(v string) *MySqlParameters {
25619	s.Host = &v
25620	return s
25621}
25622
25623// SetPort sets the Port field's value.
25624func (s *MySqlParameters) SetPort(v int64) *MySqlParameters {
25625	s.Port = &v
25626	return s
25627}
25628
25629// Errors that occur during namespace creation.
25630type NamespaceError struct {
25631	_ struct{} `type:"structure"`
25632
25633	// The message for the error.
25634	Message *string `type:"string"`
25635
25636	// The error type.
25637	Type *string `type:"string" enum:"NamespaceErrorType"`
25638}
25639
25640// String returns the string representation
25641func (s NamespaceError) String() string {
25642	return awsutil.Prettify(s)
25643}
25644
25645// GoString returns the string representation
25646func (s NamespaceError) GoString() string {
25647	return s.String()
25648}
25649
25650// SetMessage sets the Message field's value.
25651func (s *NamespaceError) SetMessage(v string) *NamespaceError {
25652	s.Message = &v
25653	return s
25654}
25655
25656// SetType sets the Type field's value.
25657func (s *NamespaceError) SetType(v string) *NamespaceError {
25658	s.Type = &v
25659	return s
25660}
25661
25662// The error type.
25663type NamespaceInfoV2 struct {
25664	_ struct{} `type:"structure"`
25665
25666	// The namespace ARN.
25667	Arn *string `type:"string"`
25668
25669	// The namespace AWS Region.
25670	CapacityRegion *string `type:"string"`
25671
25672	// The creation status of a namespace that is not yet completely created.
25673	CreationStatus *string `type:"string" enum:"NamespaceStatus"`
25674
25675	// The identity store used for the namespace.
25676	IdentityStore *string `type:"string" enum:"IdentityStore"`
25677
25678	// The name of the error.
25679	Name *string `type:"string"`
25680
25681	// An error that occurred when the namespace was created.
25682	NamespaceError *NamespaceError `type:"structure"`
25683}
25684
25685// String returns the string representation
25686func (s NamespaceInfoV2) String() string {
25687	return awsutil.Prettify(s)
25688}
25689
25690// GoString returns the string representation
25691func (s NamespaceInfoV2) GoString() string {
25692	return s.String()
25693}
25694
25695// SetArn sets the Arn field's value.
25696func (s *NamespaceInfoV2) SetArn(v string) *NamespaceInfoV2 {
25697	s.Arn = &v
25698	return s
25699}
25700
25701// SetCapacityRegion sets the CapacityRegion field's value.
25702func (s *NamespaceInfoV2) SetCapacityRegion(v string) *NamespaceInfoV2 {
25703	s.CapacityRegion = &v
25704	return s
25705}
25706
25707// SetCreationStatus sets the CreationStatus field's value.
25708func (s *NamespaceInfoV2) SetCreationStatus(v string) *NamespaceInfoV2 {
25709	s.CreationStatus = &v
25710	return s
25711}
25712
25713// SetIdentityStore sets the IdentityStore field's value.
25714func (s *NamespaceInfoV2) SetIdentityStore(v string) *NamespaceInfoV2 {
25715	s.IdentityStore = &v
25716	return s
25717}
25718
25719// SetName sets the Name field's value.
25720func (s *NamespaceInfoV2) SetName(v string) *NamespaceInfoV2 {
25721	s.Name = &v
25722	return s
25723}
25724
25725// SetNamespaceError sets the NamespaceError field's value.
25726func (s *NamespaceInfoV2) SetNamespaceError(v *NamespaceError) *NamespaceInfoV2 {
25727	s.NamespaceError = v
25728	return s
25729}
25730
25731// Oracle parameters.
25732type OracleParameters struct {
25733	_ struct{} `type:"structure"`
25734
25735	// Database.
25736	//
25737	// Database is a required field
25738	Database *string `min:"1" type:"string" required:"true"`
25739
25740	// An Oracle host.
25741	//
25742	// Host is a required field
25743	Host *string `min:"1" type:"string" required:"true"`
25744
25745	// Port.
25746	//
25747	// Port is a required field
25748	Port *int64 `min:"1" type:"integer" required:"true"`
25749}
25750
25751// String returns the string representation
25752func (s OracleParameters) String() string {
25753	return awsutil.Prettify(s)
25754}
25755
25756// GoString returns the string representation
25757func (s OracleParameters) GoString() string {
25758	return s.String()
25759}
25760
25761// Validate inspects the fields of the type to determine if they are valid.
25762func (s *OracleParameters) Validate() error {
25763	invalidParams := request.ErrInvalidParams{Context: "OracleParameters"}
25764	if s.Database == nil {
25765		invalidParams.Add(request.NewErrParamRequired("Database"))
25766	}
25767	if s.Database != nil && len(*s.Database) < 1 {
25768		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
25769	}
25770	if s.Host == nil {
25771		invalidParams.Add(request.NewErrParamRequired("Host"))
25772	}
25773	if s.Host != nil && len(*s.Host) < 1 {
25774		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
25775	}
25776	if s.Port == nil {
25777		invalidParams.Add(request.NewErrParamRequired("Port"))
25778	}
25779	if s.Port != nil && *s.Port < 1 {
25780		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
25781	}
25782
25783	if invalidParams.Len() > 0 {
25784		return invalidParams
25785	}
25786	return nil
25787}
25788
25789// SetDatabase sets the Database field's value.
25790func (s *OracleParameters) SetDatabase(v string) *OracleParameters {
25791	s.Database = &v
25792	return s
25793}
25794
25795// SetHost sets the Host field's value.
25796func (s *OracleParameters) SetHost(v string) *OracleParameters {
25797	s.Host = &v
25798	return s
25799}
25800
25801// SetPort sets the Port field's value.
25802func (s *OracleParameters) SetPort(v int64) *OracleParameters {
25803	s.Port = &v
25804	return s
25805}
25806
25807// Output column.
25808type OutputColumn struct {
25809	_ struct{} `type:"structure"`
25810
25811	// A description for a column.
25812	Description *string `type:"string"`
25813
25814	// A display name for the dataset.
25815	Name *string `min:"1" type:"string"`
25816
25817	// Type.
25818	Type *string `type:"string" enum:"ColumnDataType"`
25819}
25820
25821// String returns the string representation
25822func (s OutputColumn) String() string {
25823	return awsutil.Prettify(s)
25824}
25825
25826// GoString returns the string representation
25827func (s OutputColumn) GoString() string {
25828	return s.String()
25829}
25830
25831// SetDescription sets the Description field's value.
25832func (s *OutputColumn) SetDescription(v string) *OutputColumn {
25833	s.Description = &v
25834	return s
25835}
25836
25837// SetName sets the Name field's value.
25838func (s *OutputColumn) SetName(v string) *OutputColumn {
25839	s.Name = &v
25840	return s
25841}
25842
25843// SetType sets the Type field's value.
25844func (s *OutputColumn) SetType(v string) *OutputColumn {
25845	s.Type = &v
25846	return s
25847}
25848
25849// A list of QuickSight parameters and the list's override values.
25850type Parameters struct {
25851	_ struct{} `type:"structure"`
25852
25853	// Date-time parameters.
25854	DateTimeParameters []*DateTimeParameter `type:"list"`
25855
25856	// Decimal parameters.
25857	DecimalParameters []*DecimalParameter `type:"list"`
25858
25859	// Integer parameters.
25860	IntegerParameters []*IntegerParameter `type:"list"`
25861
25862	// String parameters.
25863	StringParameters []*StringParameter `type:"list"`
25864}
25865
25866// String returns the string representation
25867func (s Parameters) String() string {
25868	return awsutil.Prettify(s)
25869}
25870
25871// GoString returns the string representation
25872func (s Parameters) GoString() string {
25873	return s.String()
25874}
25875
25876// Validate inspects the fields of the type to determine if they are valid.
25877func (s *Parameters) Validate() error {
25878	invalidParams := request.ErrInvalidParams{Context: "Parameters"}
25879	if s.DateTimeParameters != nil {
25880		for i, v := range s.DateTimeParameters {
25881			if v == nil {
25882				continue
25883			}
25884			if err := v.Validate(); err != nil {
25885				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DateTimeParameters", i), err.(request.ErrInvalidParams))
25886			}
25887		}
25888	}
25889	if s.DecimalParameters != nil {
25890		for i, v := range s.DecimalParameters {
25891			if v == nil {
25892				continue
25893			}
25894			if err := v.Validate(); err != nil {
25895				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DecimalParameters", i), err.(request.ErrInvalidParams))
25896			}
25897		}
25898	}
25899	if s.IntegerParameters != nil {
25900		for i, v := range s.IntegerParameters {
25901			if v == nil {
25902				continue
25903			}
25904			if err := v.Validate(); err != nil {
25905				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "IntegerParameters", i), err.(request.ErrInvalidParams))
25906			}
25907		}
25908	}
25909	if s.StringParameters != nil {
25910		for i, v := range s.StringParameters {
25911			if v == nil {
25912				continue
25913			}
25914			if err := v.Validate(); err != nil {
25915				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "StringParameters", i), err.(request.ErrInvalidParams))
25916			}
25917		}
25918	}
25919
25920	if invalidParams.Len() > 0 {
25921		return invalidParams
25922	}
25923	return nil
25924}
25925
25926// SetDateTimeParameters sets the DateTimeParameters field's value.
25927func (s *Parameters) SetDateTimeParameters(v []*DateTimeParameter) *Parameters {
25928	s.DateTimeParameters = v
25929	return s
25930}
25931
25932// SetDecimalParameters sets the DecimalParameters field's value.
25933func (s *Parameters) SetDecimalParameters(v []*DecimalParameter) *Parameters {
25934	s.DecimalParameters = v
25935	return s
25936}
25937
25938// SetIntegerParameters sets the IntegerParameters field's value.
25939func (s *Parameters) SetIntegerParameters(v []*IntegerParameter) *Parameters {
25940	s.IntegerParameters = v
25941	return s
25942}
25943
25944// SetStringParameters sets the StringParameters field's value.
25945func (s *Parameters) SetStringParameters(v []*StringParameter) *Parameters {
25946	s.StringParameters = v
25947	return s
25948}
25949
25950// A view of a data source that contains information about the shape of the
25951// data in the underlying source. This is a variant type structure. For this
25952// structure to be valid, only one of the attributes can be non-null.
25953type PhysicalTable struct {
25954	_ struct{} `type:"structure"`
25955
25956	// A physical table type built from the results of the custom SQL query.
25957	CustomSql *CustomSql `type:"structure"`
25958
25959	// A physical table type for relational data sources.
25960	RelationalTable *RelationalTable `type:"structure"`
25961
25962	// A physical table type for as S3 data source.
25963	S3Source *S3Source `type:"structure"`
25964}
25965
25966// String returns the string representation
25967func (s PhysicalTable) String() string {
25968	return awsutil.Prettify(s)
25969}
25970
25971// GoString returns the string representation
25972func (s PhysicalTable) GoString() string {
25973	return s.String()
25974}
25975
25976// Validate inspects the fields of the type to determine if they are valid.
25977func (s *PhysicalTable) Validate() error {
25978	invalidParams := request.ErrInvalidParams{Context: "PhysicalTable"}
25979	if s.CustomSql != nil {
25980		if err := s.CustomSql.Validate(); err != nil {
25981			invalidParams.AddNested("CustomSql", err.(request.ErrInvalidParams))
25982		}
25983	}
25984	if s.RelationalTable != nil {
25985		if err := s.RelationalTable.Validate(); err != nil {
25986			invalidParams.AddNested("RelationalTable", err.(request.ErrInvalidParams))
25987		}
25988	}
25989	if s.S3Source != nil {
25990		if err := s.S3Source.Validate(); err != nil {
25991			invalidParams.AddNested("S3Source", err.(request.ErrInvalidParams))
25992		}
25993	}
25994
25995	if invalidParams.Len() > 0 {
25996		return invalidParams
25997	}
25998	return nil
25999}
26000
26001// SetCustomSql sets the CustomSql field's value.
26002func (s *PhysicalTable) SetCustomSql(v *CustomSql) *PhysicalTable {
26003	s.CustomSql = v
26004	return s
26005}
26006
26007// SetRelationalTable sets the RelationalTable field's value.
26008func (s *PhysicalTable) SetRelationalTable(v *RelationalTable) *PhysicalTable {
26009	s.RelationalTable = v
26010	return s
26011}
26012
26013// SetS3Source sets the S3Source field's value.
26014func (s *PhysicalTable) SetS3Source(v *S3Source) *PhysicalTable {
26015	s.S3Source = v
26016	return s
26017}
26018
26019// PostgreSQL parameters.
26020type PostgreSqlParameters struct {
26021	_ struct{} `type:"structure"`
26022
26023	// Database.
26024	//
26025	// Database is a required field
26026	Database *string `min:"1" type:"string" required:"true"`
26027
26028	// Host.
26029	//
26030	// Host is a required field
26031	Host *string `min:"1" type:"string" required:"true"`
26032
26033	// Port.
26034	//
26035	// Port is a required field
26036	Port *int64 `min:"1" type:"integer" required:"true"`
26037}
26038
26039// String returns the string representation
26040func (s PostgreSqlParameters) String() string {
26041	return awsutil.Prettify(s)
26042}
26043
26044// GoString returns the string representation
26045func (s PostgreSqlParameters) GoString() string {
26046	return s.String()
26047}
26048
26049// Validate inspects the fields of the type to determine if they are valid.
26050func (s *PostgreSqlParameters) Validate() error {
26051	invalidParams := request.ErrInvalidParams{Context: "PostgreSqlParameters"}
26052	if s.Database == nil {
26053		invalidParams.Add(request.NewErrParamRequired("Database"))
26054	}
26055	if s.Database != nil && len(*s.Database) < 1 {
26056		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
26057	}
26058	if s.Host == nil {
26059		invalidParams.Add(request.NewErrParamRequired("Host"))
26060	}
26061	if s.Host != nil && len(*s.Host) < 1 {
26062		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
26063	}
26064	if s.Port == nil {
26065		invalidParams.Add(request.NewErrParamRequired("Port"))
26066	}
26067	if s.Port != nil && *s.Port < 1 {
26068		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
26069	}
26070
26071	if invalidParams.Len() > 0 {
26072		return invalidParams
26073	}
26074	return nil
26075}
26076
26077// SetDatabase sets the Database field's value.
26078func (s *PostgreSqlParameters) SetDatabase(v string) *PostgreSqlParameters {
26079	s.Database = &v
26080	return s
26081}
26082
26083// SetHost sets the Host field's value.
26084func (s *PostgreSqlParameters) SetHost(v string) *PostgreSqlParameters {
26085	s.Host = &v
26086	return s
26087}
26088
26089// SetPort sets the Port field's value.
26090func (s *PostgreSqlParameters) SetPort(v int64) *PostgreSqlParameters {
26091	s.Port = &v
26092	return s
26093}
26094
26095// One or more preconditions aren't met.
26096type PreconditionNotMetException struct {
26097	_            struct{}                  `type:"structure"`
26098	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
26099
26100	Message_ *string `locationName:"Message" type:"string"`
26101
26102	// The AWS request ID for this request.
26103	RequestId *string `type:"string"`
26104}
26105
26106// String returns the string representation
26107func (s PreconditionNotMetException) String() string {
26108	return awsutil.Prettify(s)
26109}
26110
26111// GoString returns the string representation
26112func (s PreconditionNotMetException) GoString() string {
26113	return s.String()
26114}
26115
26116func newErrorPreconditionNotMetException(v protocol.ResponseMetadata) error {
26117	return &PreconditionNotMetException{
26118		RespMetadata: v,
26119	}
26120}
26121
26122// Code returns the exception type name.
26123func (s *PreconditionNotMetException) Code() string {
26124	return "PreconditionNotMetException"
26125}
26126
26127// Message returns the exception's message.
26128func (s *PreconditionNotMetException) Message() string {
26129	if s.Message_ != nil {
26130		return *s.Message_
26131	}
26132	return ""
26133}
26134
26135// OrigErr always returns nil, satisfies awserr.Error interface.
26136func (s *PreconditionNotMetException) OrigErr() error {
26137	return nil
26138}
26139
26140func (s *PreconditionNotMetException) Error() string {
26141	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
26142}
26143
26144// Status code returns the HTTP status code for the request's response error.
26145func (s *PreconditionNotMetException) StatusCode() int {
26146	return s.RespMetadata.StatusCode
26147}
26148
26149// RequestID returns the service's response RequestID for request.
26150func (s *PreconditionNotMetException) RequestID() string {
26151	return s.RespMetadata.RequestID
26152}
26153
26154// Presto parameters.
26155type PrestoParameters struct {
26156	_ struct{} `type:"structure"`
26157
26158	// Catalog.
26159	//
26160	// Catalog is a required field
26161	Catalog *string `type:"string" required:"true"`
26162
26163	// Host.
26164	//
26165	// Host is a required field
26166	Host *string `min:"1" type:"string" required:"true"`
26167
26168	// Port.
26169	//
26170	// Port is a required field
26171	Port *int64 `min:"1" type:"integer" required:"true"`
26172}
26173
26174// String returns the string representation
26175func (s PrestoParameters) String() string {
26176	return awsutil.Prettify(s)
26177}
26178
26179// GoString returns the string representation
26180func (s PrestoParameters) GoString() string {
26181	return s.String()
26182}
26183
26184// Validate inspects the fields of the type to determine if they are valid.
26185func (s *PrestoParameters) Validate() error {
26186	invalidParams := request.ErrInvalidParams{Context: "PrestoParameters"}
26187	if s.Catalog == nil {
26188		invalidParams.Add(request.NewErrParamRequired("Catalog"))
26189	}
26190	if s.Host == nil {
26191		invalidParams.Add(request.NewErrParamRequired("Host"))
26192	}
26193	if s.Host != nil && len(*s.Host) < 1 {
26194		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
26195	}
26196	if s.Port == nil {
26197		invalidParams.Add(request.NewErrParamRequired("Port"))
26198	}
26199	if s.Port != nil && *s.Port < 1 {
26200		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
26201	}
26202
26203	if invalidParams.Len() > 0 {
26204		return invalidParams
26205	}
26206	return nil
26207}
26208
26209// SetCatalog sets the Catalog field's value.
26210func (s *PrestoParameters) SetCatalog(v string) *PrestoParameters {
26211	s.Catalog = &v
26212	return s
26213}
26214
26215// SetHost sets the Host field's value.
26216func (s *PrestoParameters) SetHost(v string) *PrestoParameters {
26217	s.Host = &v
26218	return s
26219}
26220
26221// SetPort sets the Port field's value.
26222func (s *PrestoParameters) SetPort(v int64) *PrestoParameters {
26223	s.Port = &v
26224	return s
26225}
26226
26227// A transform operation that projects columns. Operations that come after a
26228// projection can only refer to projected columns.
26229type ProjectOperation struct {
26230	_ struct{} `type:"structure"`
26231
26232	// Projected columns.
26233	//
26234	// ProjectedColumns is a required field
26235	ProjectedColumns []*string `min:"1" type:"list" required:"true"`
26236}
26237
26238// String returns the string representation
26239func (s ProjectOperation) String() string {
26240	return awsutil.Prettify(s)
26241}
26242
26243// GoString returns the string representation
26244func (s ProjectOperation) GoString() string {
26245	return s.String()
26246}
26247
26248// Validate inspects the fields of the type to determine if they are valid.
26249func (s *ProjectOperation) Validate() error {
26250	invalidParams := request.ErrInvalidParams{Context: "ProjectOperation"}
26251	if s.ProjectedColumns == nil {
26252		invalidParams.Add(request.NewErrParamRequired("ProjectedColumns"))
26253	}
26254	if s.ProjectedColumns != nil && len(s.ProjectedColumns) < 1 {
26255		invalidParams.Add(request.NewErrParamMinLen("ProjectedColumns", 1))
26256	}
26257
26258	if invalidParams.Len() > 0 {
26259		return invalidParams
26260	}
26261	return nil
26262}
26263
26264// SetProjectedColumns sets the ProjectedColumns field's value.
26265func (s *ProjectOperation) SetProjectedColumns(v []*string) *ProjectOperation {
26266	s.ProjectedColumns = v
26267	return s
26268}
26269
26270// Information about a queued dataset SPICE ingestion.
26271type QueueInfo struct {
26272	_ struct{} `type:"structure"`
26273
26274	// The ID of the ongoing ingestion. The queued ingestion is waiting for the
26275	// ongoing ingestion to complete.
26276	//
26277	// QueuedIngestion is a required field
26278	QueuedIngestion *string `type:"string" required:"true"`
26279
26280	// The ID of the queued ingestion.
26281	//
26282	// WaitingOnIngestion is a required field
26283	WaitingOnIngestion *string `type:"string" required:"true"`
26284}
26285
26286// String returns the string representation
26287func (s QueueInfo) String() string {
26288	return awsutil.Prettify(s)
26289}
26290
26291// GoString returns the string representation
26292func (s QueueInfo) GoString() string {
26293	return s.String()
26294}
26295
26296// SetQueuedIngestion sets the QueuedIngestion field's value.
26297func (s *QueueInfo) SetQueuedIngestion(v string) *QueueInfo {
26298	s.QueuedIngestion = &v
26299	return s
26300}
26301
26302// SetWaitingOnIngestion sets the WaitingOnIngestion field's value.
26303func (s *QueueInfo) SetWaitingOnIngestion(v string) *QueueInfo {
26304	s.WaitingOnIngestion = &v
26305	return s
26306}
26307
26308// Amazon RDS parameters.
26309type RdsParameters struct {
26310	_ struct{} `type:"structure"`
26311
26312	// Database.
26313	//
26314	// Database is a required field
26315	Database *string `min:"1" type:"string" required:"true"`
26316
26317	// Instance ID.
26318	//
26319	// InstanceId is a required field
26320	InstanceId *string `min:"1" type:"string" required:"true"`
26321}
26322
26323// String returns the string representation
26324func (s RdsParameters) String() string {
26325	return awsutil.Prettify(s)
26326}
26327
26328// GoString returns the string representation
26329func (s RdsParameters) GoString() string {
26330	return s.String()
26331}
26332
26333// Validate inspects the fields of the type to determine if they are valid.
26334func (s *RdsParameters) Validate() error {
26335	invalidParams := request.ErrInvalidParams{Context: "RdsParameters"}
26336	if s.Database == nil {
26337		invalidParams.Add(request.NewErrParamRequired("Database"))
26338	}
26339	if s.Database != nil && len(*s.Database) < 1 {
26340		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
26341	}
26342	if s.InstanceId == nil {
26343		invalidParams.Add(request.NewErrParamRequired("InstanceId"))
26344	}
26345	if s.InstanceId != nil && len(*s.InstanceId) < 1 {
26346		invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1))
26347	}
26348
26349	if invalidParams.Len() > 0 {
26350		return invalidParams
26351	}
26352	return nil
26353}
26354
26355// SetDatabase sets the Database field's value.
26356func (s *RdsParameters) SetDatabase(v string) *RdsParameters {
26357	s.Database = &v
26358	return s
26359}
26360
26361// SetInstanceId sets the InstanceId field's value.
26362func (s *RdsParameters) SetInstanceId(v string) *RdsParameters {
26363	s.InstanceId = &v
26364	return s
26365}
26366
26367// Amazon Redshift parameters. The ClusterId field can be blank if Host and
26368// Port are both set. The Host and Port fields can be blank if the ClusterId
26369// field is set.
26370type RedshiftParameters struct {
26371	_ struct{} `type:"structure"`
26372
26373	// Cluster ID. This field can be blank if the Host and Port are provided.
26374	ClusterId *string `min:"1" type:"string"`
26375
26376	// Database.
26377	//
26378	// Database is a required field
26379	Database *string `min:"1" type:"string" required:"true"`
26380
26381	// Host. This field can be blank if ClusterId is provided.
26382	Host *string `min:"1" type:"string"`
26383
26384	// Port. This field can be blank if the ClusterId is provided.
26385	Port *int64 `type:"integer"`
26386}
26387
26388// String returns the string representation
26389func (s RedshiftParameters) String() string {
26390	return awsutil.Prettify(s)
26391}
26392
26393// GoString returns the string representation
26394func (s RedshiftParameters) GoString() string {
26395	return s.String()
26396}
26397
26398// Validate inspects the fields of the type to determine if they are valid.
26399func (s *RedshiftParameters) Validate() error {
26400	invalidParams := request.ErrInvalidParams{Context: "RedshiftParameters"}
26401	if s.ClusterId != nil && len(*s.ClusterId) < 1 {
26402		invalidParams.Add(request.NewErrParamMinLen("ClusterId", 1))
26403	}
26404	if s.Database == nil {
26405		invalidParams.Add(request.NewErrParamRequired("Database"))
26406	}
26407	if s.Database != nil && len(*s.Database) < 1 {
26408		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
26409	}
26410	if s.Host != nil && len(*s.Host) < 1 {
26411		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
26412	}
26413
26414	if invalidParams.Len() > 0 {
26415		return invalidParams
26416	}
26417	return nil
26418}
26419
26420// SetClusterId sets the ClusterId field's value.
26421func (s *RedshiftParameters) SetClusterId(v string) *RedshiftParameters {
26422	s.ClusterId = &v
26423	return s
26424}
26425
26426// SetDatabase sets the Database field's value.
26427func (s *RedshiftParameters) SetDatabase(v string) *RedshiftParameters {
26428	s.Database = &v
26429	return s
26430}
26431
26432// SetHost sets the Host field's value.
26433func (s *RedshiftParameters) SetHost(v string) *RedshiftParameters {
26434	s.Host = &v
26435	return s
26436}
26437
26438// SetPort sets the Port field's value.
26439func (s *RedshiftParameters) SetPort(v int64) *RedshiftParameters {
26440	s.Port = &v
26441	return s
26442}
26443
26444type RegisterUserInput struct {
26445	_ struct{} `type:"structure"`
26446
26447	// The ID for the AWS account that the user is in. Currently, you use the ID
26448	// for the AWS account that contains your Amazon QuickSight account.
26449	//
26450	// AwsAccountId is a required field
26451	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
26452
26453	// (Enterprise edition only) The name of the custom permissions profile that
26454	// you want to assign to this user. Customized permissions allows you to control
26455	// a user's access by restricting access the following operations:
26456	//
26457	//    * Create and update data sources
26458	//
26459	//    * Create and update datasets
26460	//
26461	//    * Create and update email reports
26462	//
26463	//    * Subscribe to email reports
26464	//
26465	// To add custom permissions to an existing user, use UpdateUser instead.
26466	//
26467	// A set of custom permissions includes any combination of these restrictions.
26468	// Currently, you need to create the profile names for custom permission sets
26469	// by using the QuickSight console. Then, you use the RegisterUser API operation
26470	// to assign the named set of permissions to a QuickSight user.
26471	//
26472	// QuickSight custom permissions are applied through IAM policies. Therefore,
26473	// they override the permissions typically granted by assigning QuickSight users
26474	// to one of the default security cohorts in QuickSight (admin, author, reader).
26475	//
26476	// This feature is available only to QuickSight Enterprise edition subscriptions
26477	// that use SAML 2.0-Based Federation for Single Sign-On (SSO).
26478	CustomPermissionsName *string `min:"1" type:"string"`
26479
26480	// The email address of the user that you want to register.
26481	//
26482	// Email is a required field
26483	Email *string `type:"string" required:"true"`
26484
26485	// The ARN of the IAM user or role that you are registering with Amazon QuickSight.
26486	IamArn *string `type:"string"`
26487
26488	// Amazon QuickSight supports several ways of managing the identity of users.
26489	// This parameter accepts two values:
26490	//
26491	//    * IAM: A user whose identity maps to an existing IAM user or role.
26492	//
26493	//    * QUICKSIGHT: A user whose identity is owned and managed internally by
26494	//    Amazon QuickSight.
26495	//
26496	// IdentityType is a required field
26497	IdentityType *string `type:"string" required:"true" enum:"IdentityType"`
26498
26499	// The namespace. Currently, you should set this to default.
26500	//
26501	// Namespace is a required field
26502	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
26503
26504	// You need to use this parameter only when you register one or more users using
26505	// an assumed IAM role. You don't need to provide the session name for other
26506	// scenarios, for example when you are registering an IAM user or an Amazon
26507	// QuickSight user. You can register multiple users using the same IAM role
26508	// if each user has a different session name. For more information on assuming
26509	// IAM roles, see assume-role (https://docs.aws.amazon.com/cli/latest/reference/sts/assume-role.html)
26510	// in the AWS CLI Reference.
26511	SessionName *string `min:"2" type:"string"`
26512
26513	// The Amazon QuickSight user name that you want to create for the user you
26514	// are registering.
26515	UserName *string `min:"1" type:"string"`
26516
26517	// The Amazon QuickSight role for the user. The user role can be one of the
26518	// following:
26519	//
26520	//    * READER: A user who has read-only access to dashboards.
26521	//
26522	//    * AUTHOR: A user who can create data sources, datasets, analyses, and
26523	//    dashboards.
26524	//
26525	//    * ADMIN: A user who is an author, who can also manage Amazon QuickSight
26526	//    settings.
26527	//
26528	//    * RESTRICTED_READER: This role isn't currently available for use.
26529	//
26530	//    * RESTRICTED_AUTHOR: This role isn't currently available for use.
26531	//
26532	// UserRole is a required field
26533	UserRole *string `type:"string" required:"true" enum:"UserRole"`
26534}
26535
26536// String returns the string representation
26537func (s RegisterUserInput) String() string {
26538	return awsutil.Prettify(s)
26539}
26540
26541// GoString returns the string representation
26542func (s RegisterUserInput) GoString() string {
26543	return s.String()
26544}
26545
26546// Validate inspects the fields of the type to determine if they are valid.
26547func (s *RegisterUserInput) Validate() error {
26548	invalidParams := request.ErrInvalidParams{Context: "RegisterUserInput"}
26549	if s.AwsAccountId == nil {
26550		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
26551	}
26552	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
26553		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
26554	}
26555	if s.CustomPermissionsName != nil && len(*s.CustomPermissionsName) < 1 {
26556		invalidParams.Add(request.NewErrParamMinLen("CustomPermissionsName", 1))
26557	}
26558	if s.Email == nil {
26559		invalidParams.Add(request.NewErrParamRequired("Email"))
26560	}
26561	if s.IdentityType == nil {
26562		invalidParams.Add(request.NewErrParamRequired("IdentityType"))
26563	}
26564	if s.Namespace == nil {
26565		invalidParams.Add(request.NewErrParamRequired("Namespace"))
26566	}
26567	if s.Namespace != nil && len(*s.Namespace) < 1 {
26568		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
26569	}
26570	if s.SessionName != nil && len(*s.SessionName) < 2 {
26571		invalidParams.Add(request.NewErrParamMinLen("SessionName", 2))
26572	}
26573	if s.UserName != nil && len(*s.UserName) < 1 {
26574		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
26575	}
26576	if s.UserRole == nil {
26577		invalidParams.Add(request.NewErrParamRequired("UserRole"))
26578	}
26579
26580	if invalidParams.Len() > 0 {
26581		return invalidParams
26582	}
26583	return nil
26584}
26585
26586// SetAwsAccountId sets the AwsAccountId field's value.
26587func (s *RegisterUserInput) SetAwsAccountId(v string) *RegisterUserInput {
26588	s.AwsAccountId = &v
26589	return s
26590}
26591
26592// SetCustomPermissionsName sets the CustomPermissionsName field's value.
26593func (s *RegisterUserInput) SetCustomPermissionsName(v string) *RegisterUserInput {
26594	s.CustomPermissionsName = &v
26595	return s
26596}
26597
26598// SetEmail sets the Email field's value.
26599func (s *RegisterUserInput) SetEmail(v string) *RegisterUserInput {
26600	s.Email = &v
26601	return s
26602}
26603
26604// SetIamArn sets the IamArn field's value.
26605func (s *RegisterUserInput) SetIamArn(v string) *RegisterUserInput {
26606	s.IamArn = &v
26607	return s
26608}
26609
26610// SetIdentityType sets the IdentityType field's value.
26611func (s *RegisterUserInput) SetIdentityType(v string) *RegisterUserInput {
26612	s.IdentityType = &v
26613	return s
26614}
26615
26616// SetNamespace sets the Namespace field's value.
26617func (s *RegisterUserInput) SetNamespace(v string) *RegisterUserInput {
26618	s.Namespace = &v
26619	return s
26620}
26621
26622// SetSessionName sets the SessionName field's value.
26623func (s *RegisterUserInput) SetSessionName(v string) *RegisterUserInput {
26624	s.SessionName = &v
26625	return s
26626}
26627
26628// SetUserName sets the UserName field's value.
26629func (s *RegisterUserInput) SetUserName(v string) *RegisterUserInput {
26630	s.UserName = &v
26631	return s
26632}
26633
26634// SetUserRole sets the UserRole field's value.
26635func (s *RegisterUserInput) SetUserRole(v string) *RegisterUserInput {
26636	s.UserRole = &v
26637	return s
26638}
26639
26640type RegisterUserOutput struct {
26641	_ struct{} `type:"structure"`
26642
26643	// The AWS request ID for this operation.
26644	RequestId *string `type:"string"`
26645
26646	// The HTTP status of the request.
26647	Status *int64 `location:"statusCode" type:"integer"`
26648
26649	// The user's user name.
26650	User *User `type:"structure"`
26651
26652	// The URL the user visits to complete registration and provide a password.
26653	// This is returned only for users with an identity type of QUICKSIGHT.
26654	UserInvitationUrl *string `type:"string"`
26655}
26656
26657// String returns the string representation
26658func (s RegisterUserOutput) String() string {
26659	return awsutil.Prettify(s)
26660}
26661
26662// GoString returns the string representation
26663func (s RegisterUserOutput) GoString() string {
26664	return s.String()
26665}
26666
26667// SetRequestId sets the RequestId field's value.
26668func (s *RegisterUserOutput) SetRequestId(v string) *RegisterUserOutput {
26669	s.RequestId = &v
26670	return s
26671}
26672
26673// SetStatus sets the Status field's value.
26674func (s *RegisterUserOutput) SetStatus(v int64) *RegisterUserOutput {
26675	s.Status = &v
26676	return s
26677}
26678
26679// SetUser sets the User field's value.
26680func (s *RegisterUserOutput) SetUser(v *User) *RegisterUserOutput {
26681	s.User = v
26682	return s
26683}
26684
26685// SetUserInvitationUrl sets the UserInvitationUrl field's value.
26686func (s *RegisterUserOutput) SetUserInvitationUrl(v string) *RegisterUserOutput {
26687	s.UserInvitationUrl = &v
26688	return s
26689}
26690
26691// A physical table type for relational data sources.
26692type RelationalTable struct {
26693	_ struct{} `type:"structure"`
26694
26695	// The catalog associated with a table.
26696	Catalog *string `type:"string"`
26697
26698	// The Amazon Resource Name (ARN) for the data source.
26699	//
26700	// DataSourceArn is a required field
26701	DataSourceArn *string `type:"string" required:"true"`
26702
26703	// The column schema of the table.
26704	//
26705	// InputColumns is a required field
26706	InputColumns []*InputColumn `min:"1" type:"list" required:"true"`
26707
26708	// The name of the relational table.
26709	//
26710	// Name is a required field
26711	Name *string `min:"1" type:"string" required:"true"`
26712
26713	// The schema name. This name applies to certain relational database engines.
26714	Schema *string `type:"string"`
26715}
26716
26717// String returns the string representation
26718func (s RelationalTable) String() string {
26719	return awsutil.Prettify(s)
26720}
26721
26722// GoString returns the string representation
26723func (s RelationalTable) GoString() string {
26724	return s.String()
26725}
26726
26727// Validate inspects the fields of the type to determine if they are valid.
26728func (s *RelationalTable) Validate() error {
26729	invalidParams := request.ErrInvalidParams{Context: "RelationalTable"}
26730	if s.DataSourceArn == nil {
26731		invalidParams.Add(request.NewErrParamRequired("DataSourceArn"))
26732	}
26733	if s.InputColumns == nil {
26734		invalidParams.Add(request.NewErrParamRequired("InputColumns"))
26735	}
26736	if s.InputColumns != nil && len(s.InputColumns) < 1 {
26737		invalidParams.Add(request.NewErrParamMinLen("InputColumns", 1))
26738	}
26739	if s.Name == nil {
26740		invalidParams.Add(request.NewErrParamRequired("Name"))
26741	}
26742	if s.Name != nil && len(*s.Name) < 1 {
26743		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
26744	}
26745	if s.InputColumns != nil {
26746		for i, v := range s.InputColumns {
26747			if v == nil {
26748				continue
26749			}
26750			if err := v.Validate(); err != nil {
26751				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputColumns", i), err.(request.ErrInvalidParams))
26752			}
26753		}
26754	}
26755
26756	if invalidParams.Len() > 0 {
26757		return invalidParams
26758	}
26759	return nil
26760}
26761
26762// SetCatalog sets the Catalog field's value.
26763func (s *RelationalTable) SetCatalog(v string) *RelationalTable {
26764	s.Catalog = &v
26765	return s
26766}
26767
26768// SetDataSourceArn sets the DataSourceArn field's value.
26769func (s *RelationalTable) SetDataSourceArn(v string) *RelationalTable {
26770	s.DataSourceArn = &v
26771	return s
26772}
26773
26774// SetInputColumns sets the InputColumns field's value.
26775func (s *RelationalTable) SetInputColumns(v []*InputColumn) *RelationalTable {
26776	s.InputColumns = v
26777	return s
26778}
26779
26780// SetName sets the Name field's value.
26781func (s *RelationalTable) SetName(v string) *RelationalTable {
26782	s.Name = &v
26783	return s
26784}
26785
26786// SetSchema sets the Schema field's value.
26787func (s *RelationalTable) SetSchema(v string) *RelationalTable {
26788	s.Schema = &v
26789	return s
26790}
26791
26792// A transform operation that renames a column.
26793type RenameColumnOperation struct {
26794	_ struct{} `type:"structure"`
26795
26796	// The name of the column to be renamed.
26797	//
26798	// ColumnName is a required field
26799	ColumnName *string `min:"1" type:"string" required:"true"`
26800
26801	// The new name for the column.
26802	//
26803	// NewColumnName is a required field
26804	NewColumnName *string `min:"1" type:"string" required:"true"`
26805}
26806
26807// String returns the string representation
26808func (s RenameColumnOperation) String() string {
26809	return awsutil.Prettify(s)
26810}
26811
26812// GoString returns the string representation
26813func (s RenameColumnOperation) GoString() string {
26814	return s.String()
26815}
26816
26817// Validate inspects the fields of the type to determine if they are valid.
26818func (s *RenameColumnOperation) Validate() error {
26819	invalidParams := request.ErrInvalidParams{Context: "RenameColumnOperation"}
26820	if s.ColumnName == nil {
26821		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
26822	}
26823	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
26824		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
26825	}
26826	if s.NewColumnName == nil {
26827		invalidParams.Add(request.NewErrParamRequired("NewColumnName"))
26828	}
26829	if s.NewColumnName != nil && len(*s.NewColumnName) < 1 {
26830		invalidParams.Add(request.NewErrParamMinLen("NewColumnName", 1))
26831	}
26832
26833	if invalidParams.Len() > 0 {
26834		return invalidParams
26835	}
26836	return nil
26837}
26838
26839// SetColumnName sets the ColumnName field's value.
26840func (s *RenameColumnOperation) SetColumnName(v string) *RenameColumnOperation {
26841	s.ColumnName = &v
26842	return s
26843}
26844
26845// SetNewColumnName sets the NewColumnName field's value.
26846func (s *RenameColumnOperation) SetNewColumnName(v string) *RenameColumnOperation {
26847	s.NewColumnName = &v
26848	return s
26849}
26850
26851// The resource specified already exists.
26852type ResourceExistsException struct {
26853	_            struct{}                  `type:"structure"`
26854	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
26855
26856	Message_ *string `locationName:"Message" type:"string"`
26857
26858	// The AWS request ID for this request.
26859	RequestId *string `type:"string"`
26860
26861	// The resource type for this request.
26862	ResourceType *string `type:"string" enum:"ExceptionResourceType"`
26863}
26864
26865// String returns the string representation
26866func (s ResourceExistsException) String() string {
26867	return awsutil.Prettify(s)
26868}
26869
26870// GoString returns the string representation
26871func (s ResourceExistsException) GoString() string {
26872	return s.String()
26873}
26874
26875func newErrorResourceExistsException(v protocol.ResponseMetadata) error {
26876	return &ResourceExistsException{
26877		RespMetadata: v,
26878	}
26879}
26880
26881// Code returns the exception type name.
26882func (s *ResourceExistsException) Code() string {
26883	return "ResourceExistsException"
26884}
26885
26886// Message returns the exception's message.
26887func (s *ResourceExistsException) Message() string {
26888	if s.Message_ != nil {
26889		return *s.Message_
26890	}
26891	return ""
26892}
26893
26894// OrigErr always returns nil, satisfies awserr.Error interface.
26895func (s *ResourceExistsException) OrigErr() error {
26896	return nil
26897}
26898
26899func (s *ResourceExistsException) Error() string {
26900	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
26901}
26902
26903// Status code returns the HTTP status code for the request's response error.
26904func (s *ResourceExistsException) StatusCode() int {
26905	return s.RespMetadata.StatusCode
26906}
26907
26908// RequestID returns the service's response RequestID for request.
26909func (s *ResourceExistsException) RequestID() string {
26910	return s.RespMetadata.RequestID
26911}
26912
26913// One or more resources can't be found.
26914type ResourceNotFoundException struct {
26915	_            struct{}                  `type:"structure"`
26916	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
26917
26918	Message_ *string `locationName:"Message" type:"string"`
26919
26920	// The AWS request ID for this request.
26921	RequestId *string `type:"string"`
26922
26923	// The resource type for this request.
26924	ResourceType *string `type:"string" enum:"ExceptionResourceType"`
26925}
26926
26927// String returns the string representation
26928func (s ResourceNotFoundException) String() string {
26929	return awsutil.Prettify(s)
26930}
26931
26932// GoString returns the string representation
26933func (s ResourceNotFoundException) GoString() string {
26934	return s.String()
26935}
26936
26937func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
26938	return &ResourceNotFoundException{
26939		RespMetadata: v,
26940	}
26941}
26942
26943// Code returns the exception type name.
26944func (s *ResourceNotFoundException) Code() string {
26945	return "ResourceNotFoundException"
26946}
26947
26948// Message returns the exception's message.
26949func (s *ResourceNotFoundException) Message() string {
26950	if s.Message_ != nil {
26951		return *s.Message_
26952	}
26953	return ""
26954}
26955
26956// OrigErr always returns nil, satisfies awserr.Error interface.
26957func (s *ResourceNotFoundException) OrigErr() error {
26958	return nil
26959}
26960
26961func (s *ResourceNotFoundException) Error() string {
26962	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
26963}
26964
26965// Status code returns the HTTP status code for the request's response error.
26966func (s *ResourceNotFoundException) StatusCode() int {
26967	return s.RespMetadata.StatusCode
26968}
26969
26970// RequestID returns the service's response RequestID for request.
26971func (s *ResourceNotFoundException) RequestID() string {
26972	return s.RespMetadata.RequestID
26973}
26974
26975// Permission for the resource.
26976type ResourcePermission struct {
26977	_ struct{} `type:"structure"`
26978
26979	// The IAM action to grant or revoke permissions on.
26980	//
26981	// Actions is a required field
26982	Actions []*string `min:"1" type:"list" required:"true"`
26983
26984	// The Amazon Resource Name (ARN) of the principal. This can be one of the following:
26985	//
26986	//    * The ARN of an Amazon QuickSight user or group associated with a data
26987	//    source or dataset. (This is common.)
26988	//
26989	//    * The ARN of an Amazon QuickSight user, group, or namespace associated
26990	//    with an analysis, dashboard, template, or theme. (This is common.)
26991	//
26992	//    * The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight
26993	//    ARN. Use this option only to share resources (templates) across AWS accounts.
26994	//    (This is less common.)
26995	//
26996	// Principal is a required field
26997	Principal *string `min:"1" type:"string" required:"true"`
26998}
26999
27000// String returns the string representation
27001func (s ResourcePermission) String() string {
27002	return awsutil.Prettify(s)
27003}
27004
27005// GoString returns the string representation
27006func (s ResourcePermission) GoString() string {
27007	return s.String()
27008}
27009
27010// Validate inspects the fields of the type to determine if they are valid.
27011func (s *ResourcePermission) Validate() error {
27012	invalidParams := request.ErrInvalidParams{Context: "ResourcePermission"}
27013	if s.Actions == nil {
27014		invalidParams.Add(request.NewErrParamRequired("Actions"))
27015	}
27016	if s.Actions != nil && len(s.Actions) < 1 {
27017		invalidParams.Add(request.NewErrParamMinLen("Actions", 1))
27018	}
27019	if s.Principal == nil {
27020		invalidParams.Add(request.NewErrParamRequired("Principal"))
27021	}
27022	if s.Principal != nil && len(*s.Principal) < 1 {
27023		invalidParams.Add(request.NewErrParamMinLen("Principal", 1))
27024	}
27025
27026	if invalidParams.Len() > 0 {
27027		return invalidParams
27028	}
27029	return nil
27030}
27031
27032// SetActions sets the Actions field's value.
27033func (s *ResourcePermission) SetActions(v []*string) *ResourcePermission {
27034	s.Actions = v
27035	return s
27036}
27037
27038// SetPrincipal sets the Principal field's value.
27039func (s *ResourcePermission) SetPrincipal(v string) *ResourcePermission {
27040	s.Principal = &v
27041	return s
27042}
27043
27044// This resource is currently unavailable.
27045type ResourceUnavailableException struct {
27046	_            struct{}                  `type:"structure"`
27047	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
27048
27049	Message_ *string `locationName:"Message" type:"string"`
27050
27051	// The AWS request ID for this request.
27052	RequestId *string `type:"string"`
27053
27054	// The resource type for this request.
27055	ResourceType *string `type:"string" enum:"ExceptionResourceType"`
27056}
27057
27058// String returns the string representation
27059func (s ResourceUnavailableException) String() string {
27060	return awsutil.Prettify(s)
27061}
27062
27063// GoString returns the string representation
27064func (s ResourceUnavailableException) GoString() string {
27065	return s.String()
27066}
27067
27068func newErrorResourceUnavailableException(v protocol.ResponseMetadata) error {
27069	return &ResourceUnavailableException{
27070		RespMetadata: v,
27071	}
27072}
27073
27074// Code returns the exception type name.
27075func (s *ResourceUnavailableException) Code() string {
27076	return "ResourceUnavailableException"
27077}
27078
27079// Message returns the exception's message.
27080func (s *ResourceUnavailableException) Message() string {
27081	if s.Message_ != nil {
27082		return *s.Message_
27083	}
27084	return ""
27085}
27086
27087// OrigErr always returns nil, satisfies awserr.Error interface.
27088func (s *ResourceUnavailableException) OrigErr() error {
27089	return nil
27090}
27091
27092func (s *ResourceUnavailableException) Error() string {
27093	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
27094}
27095
27096// Status code returns the HTTP status code for the request's response error.
27097func (s *ResourceUnavailableException) StatusCode() int {
27098	return s.RespMetadata.StatusCode
27099}
27100
27101// RequestID returns the service's response RequestID for request.
27102func (s *ResourceUnavailableException) RequestID() string {
27103	return s.RespMetadata.RequestID
27104}
27105
27106type RestoreAnalysisInput struct {
27107	_ struct{} `type:"structure"`
27108
27109	// The ID of the analysis that you're restoring.
27110	//
27111	// AnalysisId is a required field
27112	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
27113
27114	// The ID of the AWS account that contains the analysis.
27115	//
27116	// AwsAccountId is a required field
27117	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
27118}
27119
27120// String returns the string representation
27121func (s RestoreAnalysisInput) String() string {
27122	return awsutil.Prettify(s)
27123}
27124
27125// GoString returns the string representation
27126func (s RestoreAnalysisInput) GoString() string {
27127	return s.String()
27128}
27129
27130// Validate inspects the fields of the type to determine if they are valid.
27131func (s *RestoreAnalysisInput) Validate() error {
27132	invalidParams := request.ErrInvalidParams{Context: "RestoreAnalysisInput"}
27133	if s.AnalysisId == nil {
27134		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
27135	}
27136	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
27137		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
27138	}
27139	if s.AwsAccountId == nil {
27140		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
27141	}
27142	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
27143		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
27144	}
27145
27146	if invalidParams.Len() > 0 {
27147		return invalidParams
27148	}
27149	return nil
27150}
27151
27152// SetAnalysisId sets the AnalysisId field's value.
27153func (s *RestoreAnalysisInput) SetAnalysisId(v string) *RestoreAnalysisInput {
27154	s.AnalysisId = &v
27155	return s
27156}
27157
27158// SetAwsAccountId sets the AwsAccountId field's value.
27159func (s *RestoreAnalysisInput) SetAwsAccountId(v string) *RestoreAnalysisInput {
27160	s.AwsAccountId = &v
27161	return s
27162}
27163
27164type RestoreAnalysisOutput struct {
27165	_ struct{} `type:"structure"`
27166
27167	// The ID of the analysis that you're restoring.
27168	AnalysisId *string `min:"1" type:"string"`
27169
27170	// The Amazon Resource Name (ARN) of the analysis that you're restoring.
27171	Arn *string `type:"string"`
27172
27173	// The AWS request ID for this operation.
27174	RequestId *string `type:"string"`
27175
27176	// The HTTP status of the request.
27177	Status *int64 `location:"statusCode" type:"integer"`
27178}
27179
27180// String returns the string representation
27181func (s RestoreAnalysisOutput) String() string {
27182	return awsutil.Prettify(s)
27183}
27184
27185// GoString returns the string representation
27186func (s RestoreAnalysisOutput) GoString() string {
27187	return s.String()
27188}
27189
27190// SetAnalysisId sets the AnalysisId field's value.
27191func (s *RestoreAnalysisOutput) SetAnalysisId(v string) *RestoreAnalysisOutput {
27192	s.AnalysisId = &v
27193	return s
27194}
27195
27196// SetArn sets the Arn field's value.
27197func (s *RestoreAnalysisOutput) SetArn(v string) *RestoreAnalysisOutput {
27198	s.Arn = &v
27199	return s
27200}
27201
27202// SetRequestId sets the RequestId field's value.
27203func (s *RestoreAnalysisOutput) SetRequestId(v string) *RestoreAnalysisOutput {
27204	s.RequestId = &v
27205	return s
27206}
27207
27208// SetStatus sets the Status field's value.
27209func (s *RestoreAnalysisOutput) SetStatus(v int64) *RestoreAnalysisOutput {
27210	s.Status = &v
27211	return s
27212}
27213
27214// Information about rows for a data set SPICE ingestion.
27215type RowInfo struct {
27216	_ struct{} `type:"structure"`
27217
27218	// The number of rows that were not ingested.
27219	RowsDropped *int64 `type:"long"`
27220
27221	// The number of rows that were ingested.
27222	RowsIngested *int64 `type:"long"`
27223}
27224
27225// String returns the string representation
27226func (s RowInfo) String() string {
27227	return awsutil.Prettify(s)
27228}
27229
27230// GoString returns the string representation
27231func (s RowInfo) GoString() string {
27232	return s.String()
27233}
27234
27235// SetRowsDropped sets the RowsDropped field's value.
27236func (s *RowInfo) SetRowsDropped(v int64) *RowInfo {
27237	s.RowsDropped = &v
27238	return s
27239}
27240
27241// SetRowsIngested sets the RowsIngested field's value.
27242func (s *RowInfo) SetRowsIngested(v int64) *RowInfo {
27243	s.RowsIngested = &v
27244	return s
27245}
27246
27247// Information about a dataset that contains permissions for row-level security
27248// (RLS). The permissions dataset maps fields to users or groups. For more information,
27249// 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)
27250// in the Amazon QuickSight User Guide.
27251//
27252// The option to deny permissions by setting PermissionPolicy to DENY_ACCESS
27253// is not supported for new RLS datasets.
27254type RowLevelPermissionDataSet struct {
27255	_ struct{} `type:"structure"`
27256
27257	// The Amazon Resource Name (ARN) of the dataset that contains permissions for
27258	// RLS.
27259	//
27260	// Arn is a required field
27261	Arn *string `type:"string" required:"true"`
27262
27263	// The namespace associated with the dataset that contains permissions for RLS.
27264	Namespace *string `type:"string"`
27265
27266	// The type of permissions to use when interpretting the permissions for RLS.
27267	// DENY_ACCESS is included for backward compatibility only.
27268	//
27269	// PermissionPolicy is a required field
27270	PermissionPolicy *string `type:"string" required:"true" enum:"RowLevelPermissionPolicy"`
27271}
27272
27273// String returns the string representation
27274func (s RowLevelPermissionDataSet) String() string {
27275	return awsutil.Prettify(s)
27276}
27277
27278// GoString returns the string representation
27279func (s RowLevelPermissionDataSet) GoString() string {
27280	return s.String()
27281}
27282
27283// Validate inspects the fields of the type to determine if they are valid.
27284func (s *RowLevelPermissionDataSet) Validate() error {
27285	invalidParams := request.ErrInvalidParams{Context: "RowLevelPermissionDataSet"}
27286	if s.Arn == nil {
27287		invalidParams.Add(request.NewErrParamRequired("Arn"))
27288	}
27289	if s.PermissionPolicy == nil {
27290		invalidParams.Add(request.NewErrParamRequired("PermissionPolicy"))
27291	}
27292
27293	if invalidParams.Len() > 0 {
27294		return invalidParams
27295	}
27296	return nil
27297}
27298
27299// SetArn sets the Arn field's value.
27300func (s *RowLevelPermissionDataSet) SetArn(v string) *RowLevelPermissionDataSet {
27301	s.Arn = &v
27302	return s
27303}
27304
27305// SetNamespace sets the Namespace field's value.
27306func (s *RowLevelPermissionDataSet) SetNamespace(v string) *RowLevelPermissionDataSet {
27307	s.Namespace = &v
27308	return s
27309}
27310
27311// SetPermissionPolicy sets the PermissionPolicy field's value.
27312func (s *RowLevelPermissionDataSet) SetPermissionPolicy(v string) *RowLevelPermissionDataSet {
27313	s.PermissionPolicy = &v
27314	return s
27315}
27316
27317// S3 parameters.
27318type S3Parameters struct {
27319	_ struct{} `type:"structure"`
27320
27321	// Location of the Amazon S3 manifest file. This is NULL if the manifest file
27322	// was uploaded in the console.
27323	//
27324	// ManifestFileLocation is a required field
27325	ManifestFileLocation *ManifestFileLocation `type:"structure" required:"true"`
27326}
27327
27328// String returns the string representation
27329func (s S3Parameters) String() string {
27330	return awsutil.Prettify(s)
27331}
27332
27333// GoString returns the string representation
27334func (s S3Parameters) GoString() string {
27335	return s.String()
27336}
27337
27338// Validate inspects the fields of the type to determine if they are valid.
27339func (s *S3Parameters) Validate() error {
27340	invalidParams := request.ErrInvalidParams{Context: "S3Parameters"}
27341	if s.ManifestFileLocation == nil {
27342		invalidParams.Add(request.NewErrParamRequired("ManifestFileLocation"))
27343	}
27344	if s.ManifestFileLocation != nil {
27345		if err := s.ManifestFileLocation.Validate(); err != nil {
27346			invalidParams.AddNested("ManifestFileLocation", err.(request.ErrInvalidParams))
27347		}
27348	}
27349
27350	if invalidParams.Len() > 0 {
27351		return invalidParams
27352	}
27353	return nil
27354}
27355
27356// SetManifestFileLocation sets the ManifestFileLocation field's value.
27357func (s *S3Parameters) SetManifestFileLocation(v *ManifestFileLocation) *S3Parameters {
27358	s.ManifestFileLocation = v
27359	return s
27360}
27361
27362// A physical table type for as S3 data source.
27363type S3Source struct {
27364	_ struct{} `type:"structure"`
27365
27366	// The Amazon Resource Name (ARN) for the data source.
27367	//
27368	// DataSourceArn is a required field
27369	DataSourceArn *string `type:"string" required:"true"`
27370
27371	// A physical table type for as S3 data source.
27372	//
27373	// InputColumns is a required field
27374	InputColumns []*InputColumn `min:"1" type:"list" required:"true"`
27375
27376	// Information about the format for the S3 source file or files.
27377	UploadSettings *UploadSettings `type:"structure"`
27378}
27379
27380// String returns the string representation
27381func (s S3Source) String() string {
27382	return awsutil.Prettify(s)
27383}
27384
27385// GoString returns the string representation
27386func (s S3Source) GoString() string {
27387	return s.String()
27388}
27389
27390// Validate inspects the fields of the type to determine if they are valid.
27391func (s *S3Source) Validate() error {
27392	invalidParams := request.ErrInvalidParams{Context: "S3Source"}
27393	if s.DataSourceArn == nil {
27394		invalidParams.Add(request.NewErrParamRequired("DataSourceArn"))
27395	}
27396	if s.InputColumns == nil {
27397		invalidParams.Add(request.NewErrParamRequired("InputColumns"))
27398	}
27399	if s.InputColumns != nil && len(s.InputColumns) < 1 {
27400		invalidParams.Add(request.NewErrParamMinLen("InputColumns", 1))
27401	}
27402	if s.InputColumns != nil {
27403		for i, v := range s.InputColumns {
27404			if v == nil {
27405				continue
27406			}
27407			if err := v.Validate(); err != nil {
27408				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputColumns", i), err.(request.ErrInvalidParams))
27409			}
27410		}
27411	}
27412	if s.UploadSettings != nil {
27413		if err := s.UploadSettings.Validate(); err != nil {
27414			invalidParams.AddNested("UploadSettings", err.(request.ErrInvalidParams))
27415		}
27416	}
27417
27418	if invalidParams.Len() > 0 {
27419		return invalidParams
27420	}
27421	return nil
27422}
27423
27424// SetDataSourceArn sets the DataSourceArn field's value.
27425func (s *S3Source) SetDataSourceArn(v string) *S3Source {
27426	s.DataSourceArn = &v
27427	return s
27428}
27429
27430// SetInputColumns sets the InputColumns field's value.
27431func (s *S3Source) SetInputColumns(v []*InputColumn) *S3Source {
27432	s.InputColumns = v
27433	return s
27434}
27435
27436// SetUploadSettings sets the UploadSettings field's value.
27437func (s *S3Source) SetUploadSettings(v *UploadSettings) *S3Source {
27438	s.UploadSettings = v
27439	return s
27440}
27441
27442type SearchAnalysesInput struct {
27443	_ struct{} `type:"structure"`
27444
27445	// The ID of the AWS account that contains the analyses that you're searching
27446	// for.
27447	//
27448	// AwsAccountId is a required field
27449	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
27450
27451	// The structure for the search filters that you want to apply to your search.
27452	//
27453	// Filters is a required field
27454	Filters []*AnalysisSearchFilter `min:"1" type:"list" required:"true"`
27455
27456	// The maximum number of results to return.
27457	MaxResults *int64 `min:"1" type:"integer"`
27458
27459	// A pagination token that can be used in a subsequent request.
27460	NextToken *string `type:"string"`
27461}
27462
27463// String returns the string representation
27464func (s SearchAnalysesInput) String() string {
27465	return awsutil.Prettify(s)
27466}
27467
27468// GoString returns the string representation
27469func (s SearchAnalysesInput) GoString() string {
27470	return s.String()
27471}
27472
27473// Validate inspects the fields of the type to determine if they are valid.
27474func (s *SearchAnalysesInput) Validate() error {
27475	invalidParams := request.ErrInvalidParams{Context: "SearchAnalysesInput"}
27476	if s.AwsAccountId == nil {
27477		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
27478	}
27479	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
27480		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
27481	}
27482	if s.Filters == nil {
27483		invalidParams.Add(request.NewErrParamRequired("Filters"))
27484	}
27485	if s.Filters != nil && len(s.Filters) < 1 {
27486		invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
27487	}
27488	if s.MaxResults != nil && *s.MaxResults < 1 {
27489		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
27490	}
27491
27492	if invalidParams.Len() > 0 {
27493		return invalidParams
27494	}
27495	return nil
27496}
27497
27498// SetAwsAccountId sets the AwsAccountId field's value.
27499func (s *SearchAnalysesInput) SetAwsAccountId(v string) *SearchAnalysesInput {
27500	s.AwsAccountId = &v
27501	return s
27502}
27503
27504// SetFilters sets the Filters field's value.
27505func (s *SearchAnalysesInput) SetFilters(v []*AnalysisSearchFilter) *SearchAnalysesInput {
27506	s.Filters = v
27507	return s
27508}
27509
27510// SetMaxResults sets the MaxResults field's value.
27511func (s *SearchAnalysesInput) SetMaxResults(v int64) *SearchAnalysesInput {
27512	s.MaxResults = &v
27513	return s
27514}
27515
27516// SetNextToken sets the NextToken field's value.
27517func (s *SearchAnalysesInput) SetNextToken(v string) *SearchAnalysesInput {
27518	s.NextToken = &v
27519	return s
27520}
27521
27522type SearchAnalysesOutput struct {
27523	_ struct{} `type:"structure"`
27524
27525	// Metadata describing the analyses that you searched for.
27526	AnalysisSummaryList []*AnalysisSummary `type:"list"`
27527
27528	// A pagination token that can be used in a subsequent request.
27529	NextToken *string `type:"string"`
27530
27531	// The AWS request ID for this operation.
27532	RequestId *string `type:"string"`
27533
27534	// The HTTP status of the request.
27535	Status *int64 `location:"statusCode" type:"integer"`
27536}
27537
27538// String returns the string representation
27539func (s SearchAnalysesOutput) String() string {
27540	return awsutil.Prettify(s)
27541}
27542
27543// GoString returns the string representation
27544func (s SearchAnalysesOutput) GoString() string {
27545	return s.String()
27546}
27547
27548// SetAnalysisSummaryList sets the AnalysisSummaryList field's value.
27549func (s *SearchAnalysesOutput) SetAnalysisSummaryList(v []*AnalysisSummary) *SearchAnalysesOutput {
27550	s.AnalysisSummaryList = v
27551	return s
27552}
27553
27554// SetNextToken sets the NextToken field's value.
27555func (s *SearchAnalysesOutput) SetNextToken(v string) *SearchAnalysesOutput {
27556	s.NextToken = &v
27557	return s
27558}
27559
27560// SetRequestId sets the RequestId field's value.
27561func (s *SearchAnalysesOutput) SetRequestId(v string) *SearchAnalysesOutput {
27562	s.RequestId = &v
27563	return s
27564}
27565
27566// SetStatus sets the Status field's value.
27567func (s *SearchAnalysesOutput) SetStatus(v int64) *SearchAnalysesOutput {
27568	s.Status = &v
27569	return s
27570}
27571
27572type SearchDashboardsInput struct {
27573	_ struct{} `type:"structure"`
27574
27575	// The ID of the AWS account that contains the user whose dashboards you're
27576	// searching for.
27577	//
27578	// AwsAccountId is a required field
27579	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
27580
27581	// The filters to apply to the search. Currently, you can search only by user
27582	// name, for example, "Filters": [ { "Name": "QUICKSIGHT_USER", "Operator":
27583	// "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1"
27584	// } ]
27585	//
27586	// Filters is a required field
27587	Filters []*DashboardSearchFilter `min:"1" type:"list" required:"true"`
27588
27589	// The maximum number of results to be returned per request.
27590	MaxResults *int64 `min:"1" type:"integer"`
27591
27592	// The token for the next set of results, or null if there are no more results.
27593	NextToken *string `type:"string"`
27594}
27595
27596// String returns the string representation
27597func (s SearchDashboardsInput) String() string {
27598	return awsutil.Prettify(s)
27599}
27600
27601// GoString returns the string representation
27602func (s SearchDashboardsInput) GoString() string {
27603	return s.String()
27604}
27605
27606// Validate inspects the fields of the type to determine if they are valid.
27607func (s *SearchDashboardsInput) Validate() error {
27608	invalidParams := request.ErrInvalidParams{Context: "SearchDashboardsInput"}
27609	if s.AwsAccountId == nil {
27610		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
27611	}
27612	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
27613		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
27614	}
27615	if s.Filters == nil {
27616		invalidParams.Add(request.NewErrParamRequired("Filters"))
27617	}
27618	if s.Filters != nil && len(s.Filters) < 1 {
27619		invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
27620	}
27621	if s.MaxResults != nil && *s.MaxResults < 1 {
27622		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
27623	}
27624	if s.Filters != nil {
27625		for i, v := range s.Filters {
27626			if v == nil {
27627				continue
27628			}
27629			if err := v.Validate(); err != nil {
27630				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
27631			}
27632		}
27633	}
27634
27635	if invalidParams.Len() > 0 {
27636		return invalidParams
27637	}
27638	return nil
27639}
27640
27641// SetAwsAccountId sets the AwsAccountId field's value.
27642func (s *SearchDashboardsInput) SetAwsAccountId(v string) *SearchDashboardsInput {
27643	s.AwsAccountId = &v
27644	return s
27645}
27646
27647// SetFilters sets the Filters field's value.
27648func (s *SearchDashboardsInput) SetFilters(v []*DashboardSearchFilter) *SearchDashboardsInput {
27649	s.Filters = v
27650	return s
27651}
27652
27653// SetMaxResults sets the MaxResults field's value.
27654func (s *SearchDashboardsInput) SetMaxResults(v int64) *SearchDashboardsInput {
27655	s.MaxResults = &v
27656	return s
27657}
27658
27659// SetNextToken sets the NextToken field's value.
27660func (s *SearchDashboardsInput) SetNextToken(v string) *SearchDashboardsInput {
27661	s.NextToken = &v
27662	return s
27663}
27664
27665type SearchDashboardsOutput struct {
27666	_ struct{} `type:"structure"`
27667
27668	// The list of dashboards owned by the user specified in Filters in your request.
27669	DashboardSummaryList []*DashboardSummary `type:"list"`
27670
27671	// The token for the next set of results, or null if there are no more results.
27672	NextToken *string `type:"string"`
27673
27674	// The AWS request ID for this operation.
27675	RequestId *string `type:"string"`
27676
27677	// The HTTP status of the request.
27678	Status *int64 `location:"statusCode" type:"integer"`
27679}
27680
27681// String returns the string representation
27682func (s SearchDashboardsOutput) String() string {
27683	return awsutil.Prettify(s)
27684}
27685
27686// GoString returns the string representation
27687func (s SearchDashboardsOutput) GoString() string {
27688	return s.String()
27689}
27690
27691// SetDashboardSummaryList sets the DashboardSummaryList field's value.
27692func (s *SearchDashboardsOutput) SetDashboardSummaryList(v []*DashboardSummary) *SearchDashboardsOutput {
27693	s.DashboardSummaryList = v
27694	return s
27695}
27696
27697// SetNextToken sets the NextToken field's value.
27698func (s *SearchDashboardsOutput) SetNextToken(v string) *SearchDashboardsOutput {
27699	s.NextToken = &v
27700	return s
27701}
27702
27703// SetRequestId sets the RequestId field's value.
27704func (s *SearchDashboardsOutput) SetRequestId(v string) *SearchDashboardsOutput {
27705	s.RequestId = &v
27706	return s
27707}
27708
27709// SetStatus sets the Status field's value.
27710func (s *SearchDashboardsOutput) SetStatus(v int64) *SearchDashboardsOutput {
27711	s.Status = &v
27712	return s
27713}
27714
27715// ServiceNow parameters.
27716type ServiceNowParameters struct {
27717	_ struct{} `type:"structure"`
27718
27719	// URL of the base site.
27720	//
27721	// SiteBaseUrl is a required field
27722	SiteBaseUrl *string `min:"1" type:"string" required:"true"`
27723}
27724
27725// String returns the string representation
27726func (s ServiceNowParameters) String() string {
27727	return awsutil.Prettify(s)
27728}
27729
27730// GoString returns the string representation
27731func (s ServiceNowParameters) GoString() string {
27732	return s.String()
27733}
27734
27735// Validate inspects the fields of the type to determine if they are valid.
27736func (s *ServiceNowParameters) Validate() error {
27737	invalidParams := request.ErrInvalidParams{Context: "ServiceNowParameters"}
27738	if s.SiteBaseUrl == nil {
27739		invalidParams.Add(request.NewErrParamRequired("SiteBaseUrl"))
27740	}
27741	if s.SiteBaseUrl != nil && len(*s.SiteBaseUrl) < 1 {
27742		invalidParams.Add(request.NewErrParamMinLen("SiteBaseUrl", 1))
27743	}
27744
27745	if invalidParams.Len() > 0 {
27746		return invalidParams
27747	}
27748	return nil
27749}
27750
27751// SetSiteBaseUrl sets the SiteBaseUrl field's value.
27752func (s *ServiceNowParameters) SetSiteBaseUrl(v string) *ServiceNowParameters {
27753	s.SiteBaseUrl = &v
27754	return s
27755}
27756
27757// The number of minutes specified for the lifetime of a session isn't valid.
27758// The session lifetime must be 15-600 minutes.
27759type SessionLifetimeInMinutesInvalidException struct {
27760	_            struct{}                  `type:"structure"`
27761	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
27762
27763	Message_ *string `locationName:"Message" type:"string"`
27764
27765	// The AWS request ID for this request.
27766	RequestId *string `type:"string"`
27767}
27768
27769// String returns the string representation
27770func (s SessionLifetimeInMinutesInvalidException) String() string {
27771	return awsutil.Prettify(s)
27772}
27773
27774// GoString returns the string representation
27775func (s SessionLifetimeInMinutesInvalidException) GoString() string {
27776	return s.String()
27777}
27778
27779func newErrorSessionLifetimeInMinutesInvalidException(v protocol.ResponseMetadata) error {
27780	return &SessionLifetimeInMinutesInvalidException{
27781		RespMetadata: v,
27782	}
27783}
27784
27785// Code returns the exception type name.
27786func (s *SessionLifetimeInMinutesInvalidException) Code() string {
27787	return "SessionLifetimeInMinutesInvalidException"
27788}
27789
27790// Message returns the exception's message.
27791func (s *SessionLifetimeInMinutesInvalidException) Message() string {
27792	if s.Message_ != nil {
27793		return *s.Message_
27794	}
27795	return ""
27796}
27797
27798// OrigErr always returns nil, satisfies awserr.Error interface.
27799func (s *SessionLifetimeInMinutesInvalidException) OrigErr() error {
27800	return nil
27801}
27802
27803func (s *SessionLifetimeInMinutesInvalidException) Error() string {
27804	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
27805}
27806
27807// Status code returns the HTTP status code for the request's response error.
27808func (s *SessionLifetimeInMinutesInvalidException) StatusCode() int {
27809	return s.RespMetadata.StatusCode
27810}
27811
27812// RequestID returns the service's response RequestID for request.
27813func (s *SessionLifetimeInMinutesInvalidException) RequestID() string {
27814	return s.RespMetadata.RequestID
27815}
27816
27817// A sheet, which is an object that contains a set of visuals that are viewed
27818// together on one page in the Amazon QuickSight console. Every analysis and
27819// dashboard contains at least one sheet. Each sheet contains at least one visualization
27820// widget, for example a chart, pivot table, or narrative insight. Sheets can
27821// be associated with other components, such as controls, filters, and so on.
27822type Sheet struct {
27823	_ struct{} `type:"structure"`
27824
27825	// The name of a sheet. This name is displayed on the sheet's tab in the QuickSight
27826	// console.
27827	Name *string `type:"string"`
27828
27829	// The unique identifier associated with a sheet.
27830	SheetId *string `min:"1" type:"string"`
27831}
27832
27833// String returns the string representation
27834func (s Sheet) String() string {
27835	return awsutil.Prettify(s)
27836}
27837
27838// GoString returns the string representation
27839func (s Sheet) GoString() string {
27840	return s.String()
27841}
27842
27843// SetName sets the Name field's value.
27844func (s *Sheet) SetName(v string) *Sheet {
27845	s.Name = &v
27846	return s
27847}
27848
27849// SetSheetId sets the SheetId field's value.
27850func (s *Sheet) SetSheetId(v string) *Sheet {
27851	s.SheetId = &v
27852	return s
27853}
27854
27855// Sheet controls option.
27856type SheetControlsOption struct {
27857	_ struct{} `type:"structure"`
27858
27859	// Visibility state.
27860	VisibilityState *string `type:"string" enum:"DashboardUIState"`
27861}
27862
27863// String returns the string representation
27864func (s SheetControlsOption) String() string {
27865	return awsutil.Prettify(s)
27866}
27867
27868// GoString returns the string representation
27869func (s SheetControlsOption) GoString() string {
27870	return s.String()
27871}
27872
27873// SetVisibilityState sets the VisibilityState field's value.
27874func (s *SheetControlsOption) SetVisibilityState(v string) *SheetControlsOption {
27875	s.VisibilityState = &v
27876	return s
27877}
27878
27879// The theme display options for sheets.
27880type SheetStyle struct {
27881	_ struct{} `type:"structure"`
27882
27883	// The display options for tiles.
27884	Tile *TileStyle `type:"structure"`
27885
27886	// The layout options for tiles.
27887	TileLayout *TileLayoutStyle `type:"structure"`
27888}
27889
27890// String returns the string representation
27891func (s SheetStyle) String() string {
27892	return awsutil.Prettify(s)
27893}
27894
27895// GoString returns the string representation
27896func (s SheetStyle) GoString() string {
27897	return s.String()
27898}
27899
27900// SetTile sets the Tile field's value.
27901func (s *SheetStyle) SetTile(v *TileStyle) *SheetStyle {
27902	s.Tile = v
27903	return s
27904}
27905
27906// SetTileLayout sets the TileLayout field's value.
27907func (s *SheetStyle) SetTileLayout(v *TileLayoutStyle) *SheetStyle {
27908	s.TileLayout = v
27909	return s
27910}
27911
27912// Snowflake parameters.
27913type SnowflakeParameters struct {
27914	_ struct{} `type:"structure"`
27915
27916	// Database.
27917	//
27918	// Database is a required field
27919	Database *string `min:"1" type:"string" required:"true"`
27920
27921	// Host.
27922	//
27923	// Host is a required field
27924	Host *string `min:"1" type:"string" required:"true"`
27925
27926	// Warehouse.
27927	//
27928	// Warehouse is a required field
27929	Warehouse *string `type:"string" required:"true"`
27930}
27931
27932// String returns the string representation
27933func (s SnowflakeParameters) String() string {
27934	return awsutil.Prettify(s)
27935}
27936
27937// GoString returns the string representation
27938func (s SnowflakeParameters) GoString() string {
27939	return s.String()
27940}
27941
27942// Validate inspects the fields of the type to determine if they are valid.
27943func (s *SnowflakeParameters) Validate() error {
27944	invalidParams := request.ErrInvalidParams{Context: "SnowflakeParameters"}
27945	if s.Database == nil {
27946		invalidParams.Add(request.NewErrParamRequired("Database"))
27947	}
27948	if s.Database != nil && len(*s.Database) < 1 {
27949		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
27950	}
27951	if s.Host == nil {
27952		invalidParams.Add(request.NewErrParamRequired("Host"))
27953	}
27954	if s.Host != nil && len(*s.Host) < 1 {
27955		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
27956	}
27957	if s.Warehouse == nil {
27958		invalidParams.Add(request.NewErrParamRequired("Warehouse"))
27959	}
27960
27961	if invalidParams.Len() > 0 {
27962		return invalidParams
27963	}
27964	return nil
27965}
27966
27967// SetDatabase sets the Database field's value.
27968func (s *SnowflakeParameters) SetDatabase(v string) *SnowflakeParameters {
27969	s.Database = &v
27970	return s
27971}
27972
27973// SetHost sets the Host field's value.
27974func (s *SnowflakeParameters) SetHost(v string) *SnowflakeParameters {
27975	s.Host = &v
27976	return s
27977}
27978
27979// SetWarehouse sets the Warehouse field's value.
27980func (s *SnowflakeParameters) SetWarehouse(v string) *SnowflakeParameters {
27981	s.Warehouse = &v
27982	return s
27983}
27984
27985// Spark parameters.
27986type SparkParameters struct {
27987	_ struct{} `type:"structure"`
27988
27989	// Host.
27990	//
27991	// Host is a required field
27992	Host *string `min:"1" type:"string" required:"true"`
27993
27994	// Port.
27995	//
27996	// Port is a required field
27997	Port *int64 `min:"1" type:"integer" required:"true"`
27998}
27999
28000// String returns the string representation
28001func (s SparkParameters) String() string {
28002	return awsutil.Prettify(s)
28003}
28004
28005// GoString returns the string representation
28006func (s SparkParameters) GoString() string {
28007	return s.String()
28008}
28009
28010// Validate inspects the fields of the type to determine if they are valid.
28011func (s *SparkParameters) Validate() error {
28012	invalidParams := request.ErrInvalidParams{Context: "SparkParameters"}
28013	if s.Host == nil {
28014		invalidParams.Add(request.NewErrParamRequired("Host"))
28015	}
28016	if s.Host != nil && len(*s.Host) < 1 {
28017		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
28018	}
28019	if s.Port == nil {
28020		invalidParams.Add(request.NewErrParamRequired("Port"))
28021	}
28022	if s.Port != nil && *s.Port < 1 {
28023		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
28024	}
28025
28026	if invalidParams.Len() > 0 {
28027		return invalidParams
28028	}
28029	return nil
28030}
28031
28032// SetHost sets the Host field's value.
28033func (s *SparkParameters) SetHost(v string) *SparkParameters {
28034	s.Host = &v
28035	return s
28036}
28037
28038// SetPort sets the Port field's value.
28039func (s *SparkParameters) SetPort(v int64) *SparkParameters {
28040	s.Port = &v
28041	return s
28042}
28043
28044// SQL Server parameters.
28045type SqlServerParameters struct {
28046	_ struct{} `type:"structure"`
28047
28048	// Database.
28049	//
28050	// Database is a required field
28051	Database *string `min:"1" type:"string" required:"true"`
28052
28053	// Host.
28054	//
28055	// Host is a required field
28056	Host *string `min:"1" type:"string" required:"true"`
28057
28058	// Port.
28059	//
28060	// Port is a required field
28061	Port *int64 `min:"1" type:"integer" required:"true"`
28062}
28063
28064// String returns the string representation
28065func (s SqlServerParameters) String() string {
28066	return awsutil.Prettify(s)
28067}
28068
28069// GoString returns the string representation
28070func (s SqlServerParameters) GoString() string {
28071	return s.String()
28072}
28073
28074// Validate inspects the fields of the type to determine if they are valid.
28075func (s *SqlServerParameters) Validate() error {
28076	invalidParams := request.ErrInvalidParams{Context: "SqlServerParameters"}
28077	if s.Database == nil {
28078		invalidParams.Add(request.NewErrParamRequired("Database"))
28079	}
28080	if s.Database != nil && len(*s.Database) < 1 {
28081		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
28082	}
28083	if s.Host == nil {
28084		invalidParams.Add(request.NewErrParamRequired("Host"))
28085	}
28086	if s.Host != nil && len(*s.Host) < 1 {
28087		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
28088	}
28089	if s.Port == nil {
28090		invalidParams.Add(request.NewErrParamRequired("Port"))
28091	}
28092	if s.Port != nil && *s.Port < 1 {
28093		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
28094	}
28095
28096	if invalidParams.Len() > 0 {
28097		return invalidParams
28098	}
28099	return nil
28100}
28101
28102// SetDatabase sets the Database field's value.
28103func (s *SqlServerParameters) SetDatabase(v string) *SqlServerParameters {
28104	s.Database = &v
28105	return s
28106}
28107
28108// SetHost sets the Host field's value.
28109func (s *SqlServerParameters) SetHost(v string) *SqlServerParameters {
28110	s.Host = &v
28111	return s
28112}
28113
28114// SetPort sets the Port field's value.
28115func (s *SqlServerParameters) SetPort(v int64) *SqlServerParameters {
28116	s.Port = &v
28117	return s
28118}
28119
28120// Secure Socket Layer (SSL) properties that apply when QuickSight connects
28121// to your underlying data source.
28122type SslProperties struct {
28123	_ struct{} `type:"structure"`
28124
28125	// A Boolean option to control whether SSL should be disabled.
28126	DisableSsl *bool `type:"boolean"`
28127}
28128
28129// String returns the string representation
28130func (s SslProperties) String() string {
28131	return awsutil.Prettify(s)
28132}
28133
28134// GoString returns the string representation
28135func (s SslProperties) GoString() string {
28136	return s.String()
28137}
28138
28139// SetDisableSsl sets the DisableSsl field's value.
28140func (s *SslProperties) SetDisableSsl(v bool) *SslProperties {
28141	s.DisableSsl = &v
28142	return s
28143}
28144
28145// A string parameter.
28146type StringParameter struct {
28147	_ struct{} `type:"structure"`
28148
28149	// A display name for a string parameter.
28150	//
28151	// Name is a required field
28152	Name *string `type:"string" required:"true"`
28153
28154	// The values of a string parameter.
28155	//
28156	// Values is a required field
28157	Values []*string `type:"list" required:"true"`
28158}
28159
28160// String returns the string representation
28161func (s StringParameter) String() string {
28162	return awsutil.Prettify(s)
28163}
28164
28165// GoString returns the string representation
28166func (s StringParameter) GoString() string {
28167	return s.String()
28168}
28169
28170// Validate inspects the fields of the type to determine if they are valid.
28171func (s *StringParameter) Validate() error {
28172	invalidParams := request.ErrInvalidParams{Context: "StringParameter"}
28173	if s.Name == nil {
28174		invalidParams.Add(request.NewErrParamRequired("Name"))
28175	}
28176	if s.Values == nil {
28177		invalidParams.Add(request.NewErrParamRequired("Values"))
28178	}
28179
28180	if invalidParams.Len() > 0 {
28181		return invalidParams
28182	}
28183	return nil
28184}
28185
28186// SetName sets the Name field's value.
28187func (s *StringParameter) SetName(v string) *StringParameter {
28188	s.Name = &v
28189	return s
28190}
28191
28192// SetValues sets the Values field's value.
28193func (s *StringParameter) SetValues(v []*string) *StringParameter {
28194	s.Values = v
28195	return s
28196}
28197
28198// The key or keys of the key-value pairs for the resource tag or tags assigned
28199// to the resource.
28200type Tag struct {
28201	_ struct{} `type:"structure"`
28202
28203	// Tag key.
28204	//
28205	// Key is a required field
28206	Key *string `min:"1" type:"string" required:"true"`
28207
28208	// Tag value.
28209	//
28210	// Value is a required field
28211	Value *string `min:"1" type:"string" required:"true"`
28212}
28213
28214// String returns the string representation
28215func (s Tag) String() string {
28216	return awsutil.Prettify(s)
28217}
28218
28219// GoString returns the string representation
28220func (s Tag) GoString() string {
28221	return s.String()
28222}
28223
28224// Validate inspects the fields of the type to determine if they are valid.
28225func (s *Tag) Validate() error {
28226	invalidParams := request.ErrInvalidParams{Context: "Tag"}
28227	if s.Key == nil {
28228		invalidParams.Add(request.NewErrParamRequired("Key"))
28229	}
28230	if s.Key != nil && len(*s.Key) < 1 {
28231		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
28232	}
28233	if s.Value == nil {
28234		invalidParams.Add(request.NewErrParamRequired("Value"))
28235	}
28236	if s.Value != nil && len(*s.Value) < 1 {
28237		invalidParams.Add(request.NewErrParamMinLen("Value", 1))
28238	}
28239
28240	if invalidParams.Len() > 0 {
28241		return invalidParams
28242	}
28243	return nil
28244}
28245
28246// SetKey sets the Key field's value.
28247func (s *Tag) SetKey(v string) *Tag {
28248	s.Key = &v
28249	return s
28250}
28251
28252// SetValue sets the Value field's value.
28253func (s *Tag) SetValue(v string) *Tag {
28254	s.Value = &v
28255	return s
28256}
28257
28258// A transform operation that tags a column with additional information.
28259type TagColumnOperation struct {
28260	_ struct{} `type:"structure"`
28261
28262	// The column that this operation acts on.
28263	//
28264	// ColumnName is a required field
28265	ColumnName *string `min:"1" type:"string" required:"true"`
28266
28267	// The dataset column tag, currently only used for geospatial type tagging. .
28268	//
28269	// This is not tags for the AWS tagging feature. .
28270	//
28271	// Tags is a required field
28272	Tags []*ColumnTag `min:"1" type:"list" required:"true"`
28273}
28274
28275// String returns the string representation
28276func (s TagColumnOperation) String() string {
28277	return awsutil.Prettify(s)
28278}
28279
28280// GoString returns the string representation
28281func (s TagColumnOperation) GoString() string {
28282	return s.String()
28283}
28284
28285// Validate inspects the fields of the type to determine if they are valid.
28286func (s *TagColumnOperation) Validate() error {
28287	invalidParams := request.ErrInvalidParams{Context: "TagColumnOperation"}
28288	if s.ColumnName == nil {
28289		invalidParams.Add(request.NewErrParamRequired("ColumnName"))
28290	}
28291	if s.ColumnName != nil && len(*s.ColumnName) < 1 {
28292		invalidParams.Add(request.NewErrParamMinLen("ColumnName", 1))
28293	}
28294	if s.Tags == nil {
28295		invalidParams.Add(request.NewErrParamRequired("Tags"))
28296	}
28297	if s.Tags != nil && len(s.Tags) < 1 {
28298		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
28299	}
28300
28301	if invalidParams.Len() > 0 {
28302		return invalidParams
28303	}
28304	return nil
28305}
28306
28307// SetColumnName sets the ColumnName field's value.
28308func (s *TagColumnOperation) SetColumnName(v string) *TagColumnOperation {
28309	s.ColumnName = &v
28310	return s
28311}
28312
28313// SetTags sets the Tags field's value.
28314func (s *TagColumnOperation) SetTags(v []*ColumnTag) *TagColumnOperation {
28315	s.Tags = v
28316	return s
28317}
28318
28319type TagResourceInput struct {
28320	_ struct{} `type:"structure"`
28321
28322	// The Amazon Resource Name (ARN) of the resource that you want to tag.
28323	//
28324	// ResourceArn is a required field
28325	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
28326
28327	// Contains a map of the key-value pairs for the resource tag or tags assigned
28328	// to the resource.
28329	//
28330	// Tags is a required field
28331	Tags []*Tag `min:"1" type:"list" required:"true"`
28332}
28333
28334// String returns the string representation
28335func (s TagResourceInput) String() string {
28336	return awsutil.Prettify(s)
28337}
28338
28339// GoString returns the string representation
28340func (s TagResourceInput) GoString() string {
28341	return s.String()
28342}
28343
28344// Validate inspects the fields of the type to determine if they are valid.
28345func (s *TagResourceInput) Validate() error {
28346	invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
28347	if s.ResourceArn == nil {
28348		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
28349	}
28350	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
28351		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
28352	}
28353	if s.Tags == nil {
28354		invalidParams.Add(request.NewErrParamRequired("Tags"))
28355	}
28356	if s.Tags != nil && len(s.Tags) < 1 {
28357		invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
28358	}
28359	if s.Tags != nil {
28360		for i, v := range s.Tags {
28361			if v == nil {
28362				continue
28363			}
28364			if err := v.Validate(); err != nil {
28365				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
28366			}
28367		}
28368	}
28369
28370	if invalidParams.Len() > 0 {
28371		return invalidParams
28372	}
28373	return nil
28374}
28375
28376// SetResourceArn sets the ResourceArn field's value.
28377func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
28378	s.ResourceArn = &v
28379	return s
28380}
28381
28382// SetTags sets the Tags field's value.
28383func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput {
28384	s.Tags = v
28385	return s
28386}
28387
28388type TagResourceOutput struct {
28389	_ struct{} `type:"structure"`
28390
28391	// The AWS request ID for this operation.
28392	RequestId *string `type:"string"`
28393
28394	// The HTTP status of the request.
28395	Status *int64 `location:"statusCode" type:"integer"`
28396}
28397
28398// String returns the string representation
28399func (s TagResourceOutput) String() string {
28400	return awsutil.Prettify(s)
28401}
28402
28403// GoString returns the string representation
28404func (s TagResourceOutput) GoString() string {
28405	return s.String()
28406}
28407
28408// SetRequestId sets the RequestId field's value.
28409func (s *TagResourceOutput) SetRequestId(v string) *TagResourceOutput {
28410	s.RequestId = &v
28411	return s
28412}
28413
28414// SetStatus sets the Status field's value.
28415func (s *TagResourceOutput) SetStatus(v int64) *TagResourceOutput {
28416	s.Status = &v
28417	return s
28418}
28419
28420// A template object. A template is an entity in QuickSight that encapsulates
28421// the metadata required to create an analysis and that you can use to create
28422// a dashboard. A template adds a layer of abstraction by using placeholders
28423// to replace the dataset associated with an analysis. You can use templates
28424// to create dashboards by replacing dataset placeholders with datasets that
28425// follow the same schema that was used to create the source analysis and template.
28426//
28427// You can share templates across AWS accounts by allowing users in other AWS
28428// accounts to create a template or a dashboard from an existing template.
28429type Template struct {
28430	_ struct{} `type:"structure"`
28431
28432	// The Amazon Resource Name (ARN) of the template.
28433	Arn *string `type:"string"`
28434
28435	// Time when this was created.
28436	CreatedTime *time.Time `type:"timestamp"`
28437
28438	// Time when this was last updated.
28439	LastUpdatedTime *time.Time `type:"timestamp"`
28440
28441	// The display name of the template.
28442	Name *string `min:"1" type:"string"`
28443
28444	// The ID for the template. This is unique per AWS Region for each AWS account.
28445	TemplateId *string `min:"1" type:"string"`
28446
28447	// A structure describing the versions of the template.
28448	Version *TemplateVersion `type:"structure"`
28449}
28450
28451// String returns the string representation
28452func (s Template) String() string {
28453	return awsutil.Prettify(s)
28454}
28455
28456// GoString returns the string representation
28457func (s Template) GoString() string {
28458	return s.String()
28459}
28460
28461// SetArn sets the Arn field's value.
28462func (s *Template) SetArn(v string) *Template {
28463	s.Arn = &v
28464	return s
28465}
28466
28467// SetCreatedTime sets the CreatedTime field's value.
28468func (s *Template) SetCreatedTime(v time.Time) *Template {
28469	s.CreatedTime = &v
28470	return s
28471}
28472
28473// SetLastUpdatedTime sets the LastUpdatedTime field's value.
28474func (s *Template) SetLastUpdatedTime(v time.Time) *Template {
28475	s.LastUpdatedTime = &v
28476	return s
28477}
28478
28479// SetName sets the Name field's value.
28480func (s *Template) SetName(v string) *Template {
28481	s.Name = &v
28482	return s
28483}
28484
28485// SetTemplateId sets the TemplateId field's value.
28486func (s *Template) SetTemplateId(v string) *Template {
28487	s.TemplateId = &v
28488	return s
28489}
28490
28491// SetVersion sets the Version field's value.
28492func (s *Template) SetVersion(v *TemplateVersion) *Template {
28493	s.Version = v
28494	return s
28495}
28496
28497// The template alias.
28498type TemplateAlias struct {
28499	_ struct{} `type:"structure"`
28500
28501	// The display name of the template alias.
28502	AliasName *string `min:"1" type:"string"`
28503
28504	// The Amazon Resource Name (ARN) of the template alias.
28505	Arn *string `type:"string"`
28506
28507	// The version number of the template alias.
28508	TemplateVersionNumber *int64 `min:"1" type:"long"`
28509}
28510
28511// String returns the string representation
28512func (s TemplateAlias) String() string {
28513	return awsutil.Prettify(s)
28514}
28515
28516// GoString returns the string representation
28517func (s TemplateAlias) GoString() string {
28518	return s.String()
28519}
28520
28521// SetAliasName sets the AliasName field's value.
28522func (s *TemplateAlias) SetAliasName(v string) *TemplateAlias {
28523	s.AliasName = &v
28524	return s
28525}
28526
28527// SetArn sets the Arn field's value.
28528func (s *TemplateAlias) SetArn(v string) *TemplateAlias {
28529	s.Arn = &v
28530	return s
28531}
28532
28533// SetTemplateVersionNumber sets the TemplateVersionNumber field's value.
28534func (s *TemplateAlias) SetTemplateVersionNumber(v int64) *TemplateAlias {
28535	s.TemplateVersionNumber = &v
28536	return s
28537}
28538
28539// List of errors that occurred when the template version creation failed.
28540type TemplateError struct {
28541	_ struct{} `type:"structure"`
28542
28543	// Description of the error type.
28544	Message *string `type:"string"`
28545
28546	// Type of error.
28547	Type *string `type:"string" enum:"TemplateErrorType"`
28548}
28549
28550// String returns the string representation
28551func (s TemplateError) String() string {
28552	return awsutil.Prettify(s)
28553}
28554
28555// GoString returns the string representation
28556func (s TemplateError) GoString() string {
28557	return s.String()
28558}
28559
28560// SetMessage sets the Message field's value.
28561func (s *TemplateError) SetMessage(v string) *TemplateError {
28562	s.Message = &v
28563	return s
28564}
28565
28566// SetType sets the Type field's value.
28567func (s *TemplateError) SetType(v string) *TemplateError {
28568	s.Type = &v
28569	return s
28570}
28571
28572// The source analysis of the template.
28573type TemplateSourceAnalysis struct {
28574	_ struct{} `type:"structure"`
28575
28576	// The Amazon Resource Name (ARN) of the resource.
28577	//
28578	// Arn is a required field
28579	Arn *string `type:"string" required:"true"`
28580
28581	// A structure containing information about the dataset references used as placeholders
28582	// in the template.
28583	//
28584	// DataSetReferences is a required field
28585	DataSetReferences []*DataSetReference `min:"1" type:"list" required:"true"`
28586}
28587
28588// String returns the string representation
28589func (s TemplateSourceAnalysis) String() string {
28590	return awsutil.Prettify(s)
28591}
28592
28593// GoString returns the string representation
28594func (s TemplateSourceAnalysis) GoString() string {
28595	return s.String()
28596}
28597
28598// Validate inspects the fields of the type to determine if they are valid.
28599func (s *TemplateSourceAnalysis) Validate() error {
28600	invalidParams := request.ErrInvalidParams{Context: "TemplateSourceAnalysis"}
28601	if s.Arn == nil {
28602		invalidParams.Add(request.NewErrParamRequired("Arn"))
28603	}
28604	if s.DataSetReferences == nil {
28605		invalidParams.Add(request.NewErrParamRequired("DataSetReferences"))
28606	}
28607	if s.DataSetReferences != nil && len(s.DataSetReferences) < 1 {
28608		invalidParams.Add(request.NewErrParamMinLen("DataSetReferences", 1))
28609	}
28610	if s.DataSetReferences != nil {
28611		for i, v := range s.DataSetReferences {
28612			if v == nil {
28613				continue
28614			}
28615			if err := v.Validate(); err != nil {
28616				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DataSetReferences", i), err.(request.ErrInvalidParams))
28617			}
28618		}
28619	}
28620
28621	if invalidParams.Len() > 0 {
28622		return invalidParams
28623	}
28624	return nil
28625}
28626
28627// SetArn sets the Arn field's value.
28628func (s *TemplateSourceAnalysis) SetArn(v string) *TemplateSourceAnalysis {
28629	s.Arn = &v
28630	return s
28631}
28632
28633// SetDataSetReferences sets the DataSetReferences field's value.
28634func (s *TemplateSourceAnalysis) SetDataSetReferences(v []*DataSetReference) *TemplateSourceAnalysis {
28635	s.DataSetReferences = v
28636	return s
28637}
28638
28639// The source entity of the template.
28640type TemplateSourceEntity struct {
28641	_ struct{} `type:"structure"`
28642
28643	// The source analysis, if it is based on an analysis.
28644	SourceAnalysis *TemplateSourceAnalysis `type:"structure"`
28645
28646	// The source template, if it is based on an template.
28647	SourceTemplate *TemplateSourceTemplate `type:"structure"`
28648}
28649
28650// String returns the string representation
28651func (s TemplateSourceEntity) String() string {
28652	return awsutil.Prettify(s)
28653}
28654
28655// GoString returns the string representation
28656func (s TemplateSourceEntity) GoString() string {
28657	return s.String()
28658}
28659
28660// Validate inspects the fields of the type to determine if they are valid.
28661func (s *TemplateSourceEntity) Validate() error {
28662	invalidParams := request.ErrInvalidParams{Context: "TemplateSourceEntity"}
28663	if s.SourceAnalysis != nil {
28664		if err := s.SourceAnalysis.Validate(); err != nil {
28665			invalidParams.AddNested("SourceAnalysis", err.(request.ErrInvalidParams))
28666		}
28667	}
28668	if s.SourceTemplate != nil {
28669		if err := s.SourceTemplate.Validate(); err != nil {
28670			invalidParams.AddNested("SourceTemplate", err.(request.ErrInvalidParams))
28671		}
28672	}
28673
28674	if invalidParams.Len() > 0 {
28675		return invalidParams
28676	}
28677	return nil
28678}
28679
28680// SetSourceAnalysis sets the SourceAnalysis field's value.
28681func (s *TemplateSourceEntity) SetSourceAnalysis(v *TemplateSourceAnalysis) *TemplateSourceEntity {
28682	s.SourceAnalysis = v
28683	return s
28684}
28685
28686// SetSourceTemplate sets the SourceTemplate field's value.
28687func (s *TemplateSourceEntity) SetSourceTemplate(v *TemplateSourceTemplate) *TemplateSourceEntity {
28688	s.SourceTemplate = v
28689	return s
28690}
28691
28692// The source template of the template.
28693type TemplateSourceTemplate struct {
28694	_ struct{} `type:"structure"`
28695
28696	// The Amazon Resource Name (ARN) of the resource.
28697	//
28698	// Arn is a required field
28699	Arn *string `type:"string" required:"true"`
28700}
28701
28702// String returns the string representation
28703func (s TemplateSourceTemplate) String() string {
28704	return awsutil.Prettify(s)
28705}
28706
28707// GoString returns the string representation
28708func (s TemplateSourceTemplate) GoString() string {
28709	return s.String()
28710}
28711
28712// Validate inspects the fields of the type to determine if they are valid.
28713func (s *TemplateSourceTemplate) Validate() error {
28714	invalidParams := request.ErrInvalidParams{Context: "TemplateSourceTemplate"}
28715	if s.Arn == nil {
28716		invalidParams.Add(request.NewErrParamRequired("Arn"))
28717	}
28718
28719	if invalidParams.Len() > 0 {
28720		return invalidParams
28721	}
28722	return nil
28723}
28724
28725// SetArn sets the Arn field's value.
28726func (s *TemplateSourceTemplate) SetArn(v string) *TemplateSourceTemplate {
28727	s.Arn = &v
28728	return s
28729}
28730
28731// The template summary.
28732type TemplateSummary struct {
28733	_ struct{} `type:"structure"`
28734
28735	// A summary of a template.
28736	Arn *string `type:"string"`
28737
28738	// The last time that this template was created.
28739	CreatedTime *time.Time `type:"timestamp"`
28740
28741	// The last time that this template was updated.
28742	LastUpdatedTime *time.Time `type:"timestamp"`
28743
28744	// A structure containing a list of version numbers for the template summary.
28745	LatestVersionNumber *int64 `min:"1" type:"long"`
28746
28747	// A display name for the template.
28748	Name *string `min:"1" type:"string"`
28749
28750	// The ID of the template. This ID is unique per AWS Region for each AWS account.
28751	TemplateId *string `min:"1" type:"string"`
28752}
28753
28754// String returns the string representation
28755func (s TemplateSummary) String() string {
28756	return awsutil.Prettify(s)
28757}
28758
28759// GoString returns the string representation
28760func (s TemplateSummary) GoString() string {
28761	return s.String()
28762}
28763
28764// SetArn sets the Arn field's value.
28765func (s *TemplateSummary) SetArn(v string) *TemplateSummary {
28766	s.Arn = &v
28767	return s
28768}
28769
28770// SetCreatedTime sets the CreatedTime field's value.
28771func (s *TemplateSummary) SetCreatedTime(v time.Time) *TemplateSummary {
28772	s.CreatedTime = &v
28773	return s
28774}
28775
28776// SetLastUpdatedTime sets the LastUpdatedTime field's value.
28777func (s *TemplateSummary) SetLastUpdatedTime(v time.Time) *TemplateSummary {
28778	s.LastUpdatedTime = &v
28779	return s
28780}
28781
28782// SetLatestVersionNumber sets the LatestVersionNumber field's value.
28783func (s *TemplateSummary) SetLatestVersionNumber(v int64) *TemplateSummary {
28784	s.LatestVersionNumber = &v
28785	return s
28786}
28787
28788// SetName sets the Name field's value.
28789func (s *TemplateSummary) SetName(v string) *TemplateSummary {
28790	s.Name = &v
28791	return s
28792}
28793
28794// SetTemplateId sets the TemplateId field's value.
28795func (s *TemplateSummary) SetTemplateId(v string) *TemplateSummary {
28796	s.TemplateId = &v
28797	return s
28798}
28799
28800// A version of a template.
28801type TemplateVersion struct {
28802	_ struct{} `type:"structure"`
28803
28804	// The time that this template version was created.
28805	CreatedTime *time.Time `type:"timestamp"`
28806
28807	// Schema of the dataset identified by the placeholder. Any dashboard created
28808	// from this template should be bound to new datasets matching the same schema
28809	// described through this API operation.
28810	DataSetConfigurations []*DataSetConfiguration `type:"list"`
28811
28812	// The description of the template.
28813	Description *string `min:"1" type:"string"`
28814
28815	// Errors associated with this template version.
28816	Errors []*TemplateError `min:"1" type:"list"`
28817
28818	// A list of the associated sheets with the unique identifier and name of each
28819	// sheet.
28820	Sheets []*Sheet `type:"list"`
28821
28822	// The Amazon Resource Name (ARN) of an analysis or template that was used to
28823	// create this template.
28824	SourceEntityArn *string `type:"string"`
28825
28826	// The HTTP status of the request.
28827	Status *string `type:"string" enum:"ResourceStatus"`
28828
28829	// The ARN of the theme associated with this version of the template.
28830	ThemeArn *string `type:"string"`
28831
28832	// The version number of the template version.
28833	VersionNumber *int64 `min:"1" type:"long"`
28834}
28835
28836// String returns the string representation
28837func (s TemplateVersion) String() string {
28838	return awsutil.Prettify(s)
28839}
28840
28841// GoString returns the string representation
28842func (s TemplateVersion) GoString() string {
28843	return s.String()
28844}
28845
28846// SetCreatedTime sets the CreatedTime field's value.
28847func (s *TemplateVersion) SetCreatedTime(v time.Time) *TemplateVersion {
28848	s.CreatedTime = &v
28849	return s
28850}
28851
28852// SetDataSetConfigurations sets the DataSetConfigurations field's value.
28853func (s *TemplateVersion) SetDataSetConfigurations(v []*DataSetConfiguration) *TemplateVersion {
28854	s.DataSetConfigurations = v
28855	return s
28856}
28857
28858// SetDescription sets the Description field's value.
28859func (s *TemplateVersion) SetDescription(v string) *TemplateVersion {
28860	s.Description = &v
28861	return s
28862}
28863
28864// SetErrors sets the Errors field's value.
28865func (s *TemplateVersion) SetErrors(v []*TemplateError) *TemplateVersion {
28866	s.Errors = v
28867	return s
28868}
28869
28870// SetSheets sets the Sheets field's value.
28871func (s *TemplateVersion) SetSheets(v []*Sheet) *TemplateVersion {
28872	s.Sheets = v
28873	return s
28874}
28875
28876// SetSourceEntityArn sets the SourceEntityArn field's value.
28877func (s *TemplateVersion) SetSourceEntityArn(v string) *TemplateVersion {
28878	s.SourceEntityArn = &v
28879	return s
28880}
28881
28882// SetStatus sets the Status field's value.
28883func (s *TemplateVersion) SetStatus(v string) *TemplateVersion {
28884	s.Status = &v
28885	return s
28886}
28887
28888// SetThemeArn sets the ThemeArn field's value.
28889func (s *TemplateVersion) SetThemeArn(v string) *TemplateVersion {
28890	s.ThemeArn = &v
28891	return s
28892}
28893
28894// SetVersionNumber sets the VersionNumber field's value.
28895func (s *TemplateVersion) SetVersionNumber(v int64) *TemplateVersion {
28896	s.VersionNumber = &v
28897	return s
28898}
28899
28900// The template version.
28901type TemplateVersionSummary struct {
28902	_ struct{} `type:"structure"`
28903
28904	// The Amazon Resource Name (ARN) of the template version.
28905	Arn *string `type:"string"`
28906
28907	// The time that this template version was created.
28908	CreatedTime *time.Time `type:"timestamp"`
28909
28910	// The description of the template version.
28911	Description *string `min:"1" type:"string"`
28912
28913	// The status of the template version.
28914	Status *string `type:"string" enum:"ResourceStatus"`
28915
28916	// The version number of the template version.
28917	VersionNumber *int64 `min:"1" type:"long"`
28918}
28919
28920// String returns the string representation
28921func (s TemplateVersionSummary) String() string {
28922	return awsutil.Prettify(s)
28923}
28924
28925// GoString returns the string representation
28926func (s TemplateVersionSummary) GoString() string {
28927	return s.String()
28928}
28929
28930// SetArn sets the Arn field's value.
28931func (s *TemplateVersionSummary) SetArn(v string) *TemplateVersionSummary {
28932	s.Arn = &v
28933	return s
28934}
28935
28936// SetCreatedTime sets the CreatedTime field's value.
28937func (s *TemplateVersionSummary) SetCreatedTime(v time.Time) *TemplateVersionSummary {
28938	s.CreatedTime = &v
28939	return s
28940}
28941
28942// SetDescription sets the Description field's value.
28943func (s *TemplateVersionSummary) SetDescription(v string) *TemplateVersionSummary {
28944	s.Description = &v
28945	return s
28946}
28947
28948// SetStatus sets the Status field's value.
28949func (s *TemplateVersionSummary) SetStatus(v string) *TemplateVersionSummary {
28950	s.Status = &v
28951	return s
28952}
28953
28954// SetVersionNumber sets the VersionNumber field's value.
28955func (s *TemplateVersionSummary) SetVersionNumber(v int64) *TemplateVersionSummary {
28956	s.VersionNumber = &v
28957	return s
28958}
28959
28960// Teradata parameters.
28961type TeradataParameters struct {
28962	_ struct{} `type:"structure"`
28963
28964	// Database.
28965	//
28966	// Database is a required field
28967	Database *string `min:"1" type:"string" required:"true"`
28968
28969	// Host.
28970	//
28971	// Host is a required field
28972	Host *string `min:"1" type:"string" required:"true"`
28973
28974	// Port.
28975	//
28976	// Port is a required field
28977	Port *int64 `min:"1" type:"integer" required:"true"`
28978}
28979
28980// String returns the string representation
28981func (s TeradataParameters) String() string {
28982	return awsutil.Prettify(s)
28983}
28984
28985// GoString returns the string representation
28986func (s TeradataParameters) GoString() string {
28987	return s.String()
28988}
28989
28990// Validate inspects the fields of the type to determine if they are valid.
28991func (s *TeradataParameters) Validate() error {
28992	invalidParams := request.ErrInvalidParams{Context: "TeradataParameters"}
28993	if s.Database == nil {
28994		invalidParams.Add(request.NewErrParamRequired("Database"))
28995	}
28996	if s.Database != nil && len(*s.Database) < 1 {
28997		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
28998	}
28999	if s.Host == nil {
29000		invalidParams.Add(request.NewErrParamRequired("Host"))
29001	}
29002	if s.Host != nil && len(*s.Host) < 1 {
29003		invalidParams.Add(request.NewErrParamMinLen("Host", 1))
29004	}
29005	if s.Port == nil {
29006		invalidParams.Add(request.NewErrParamRequired("Port"))
29007	}
29008	if s.Port != nil && *s.Port < 1 {
29009		invalidParams.Add(request.NewErrParamMinValue("Port", 1))
29010	}
29011
29012	if invalidParams.Len() > 0 {
29013		return invalidParams
29014	}
29015	return nil
29016}
29017
29018// SetDatabase sets the Database field's value.
29019func (s *TeradataParameters) SetDatabase(v string) *TeradataParameters {
29020	s.Database = &v
29021	return s
29022}
29023
29024// SetHost sets the Host field's value.
29025func (s *TeradataParameters) SetHost(v string) *TeradataParameters {
29026	s.Host = &v
29027	return s
29028}
29029
29030// SetPort sets the Port field's value.
29031func (s *TeradataParameters) SetPort(v int64) *TeradataParameters {
29032	s.Port = &v
29033	return s
29034}
29035
29036// Summary information about a theme.
29037type Theme struct {
29038	_ struct{} `type:"structure"`
29039
29040	// The Amazon Resource Name (ARN) of the theme.
29041	Arn *string `type:"string"`
29042
29043	// The date and time that the theme was created.
29044	CreatedTime *time.Time `type:"timestamp"`
29045
29046	// The date and time that the theme was last updated.
29047	LastUpdatedTime *time.Time `type:"timestamp"`
29048
29049	// The name that the user gives to the theme.
29050	Name *string `min:"1" type:"string"`
29051
29052	// The identifier that the user gives to the theme.
29053	ThemeId *string `min:"1" type:"string"`
29054
29055	// The type of theme, based on how it was created. Valid values include: QUICKSIGHT
29056	// and CUSTOM.
29057	Type *string `type:"string" enum:"ThemeType"`
29058
29059	// A version of a theme.
29060	Version *ThemeVersion `type:"structure"`
29061}
29062
29063// String returns the string representation
29064func (s Theme) String() string {
29065	return awsutil.Prettify(s)
29066}
29067
29068// GoString returns the string representation
29069func (s Theme) GoString() string {
29070	return s.String()
29071}
29072
29073// SetArn sets the Arn field's value.
29074func (s *Theme) SetArn(v string) *Theme {
29075	s.Arn = &v
29076	return s
29077}
29078
29079// SetCreatedTime sets the CreatedTime field's value.
29080func (s *Theme) SetCreatedTime(v time.Time) *Theme {
29081	s.CreatedTime = &v
29082	return s
29083}
29084
29085// SetLastUpdatedTime sets the LastUpdatedTime field's value.
29086func (s *Theme) SetLastUpdatedTime(v time.Time) *Theme {
29087	s.LastUpdatedTime = &v
29088	return s
29089}
29090
29091// SetName sets the Name field's value.
29092func (s *Theme) SetName(v string) *Theme {
29093	s.Name = &v
29094	return s
29095}
29096
29097// SetThemeId sets the ThemeId field's value.
29098func (s *Theme) SetThemeId(v string) *Theme {
29099	s.ThemeId = &v
29100	return s
29101}
29102
29103// SetType sets the Type field's value.
29104func (s *Theme) SetType(v string) *Theme {
29105	s.Type = &v
29106	return s
29107}
29108
29109// SetVersion sets the Version field's value.
29110func (s *Theme) SetVersion(v *ThemeVersion) *Theme {
29111	s.Version = v
29112	return s
29113}
29114
29115// An alias for a theme.
29116type ThemeAlias struct {
29117	_ struct{} `type:"structure"`
29118
29119	// The display name of the theme alias.
29120	AliasName *string `min:"1" type:"string"`
29121
29122	// The Amazon Resource Name (ARN) of the theme alias.
29123	Arn *string `type:"string"`
29124
29125	// The version number of the theme alias.
29126	ThemeVersionNumber *int64 `min:"1" type:"long"`
29127}
29128
29129// String returns the string representation
29130func (s ThemeAlias) String() string {
29131	return awsutil.Prettify(s)
29132}
29133
29134// GoString returns the string representation
29135func (s ThemeAlias) GoString() string {
29136	return s.String()
29137}
29138
29139// SetAliasName sets the AliasName field's value.
29140func (s *ThemeAlias) SetAliasName(v string) *ThemeAlias {
29141	s.AliasName = &v
29142	return s
29143}
29144
29145// SetArn sets the Arn field's value.
29146func (s *ThemeAlias) SetArn(v string) *ThemeAlias {
29147	s.Arn = &v
29148	return s
29149}
29150
29151// SetThemeVersionNumber sets the ThemeVersionNumber field's value.
29152func (s *ThemeAlias) SetThemeVersionNumber(v int64) *ThemeAlias {
29153	s.ThemeVersionNumber = &v
29154	return s
29155}
29156
29157// The theme configuration. This configuration contains all of the display properties
29158// for a theme.
29159type ThemeConfiguration struct {
29160	_ struct{} `type:"structure"`
29161
29162	// Color properties that apply to chart data colors.
29163	DataColorPalette *DataColorPalette `type:"structure"`
29164
29165	// Display options related to sheets.
29166	Sheet *SheetStyle `type:"structure"`
29167
29168	// Color properties that apply to the UI and to charts, excluding the colors
29169	// that apply to data.
29170	UIColorPalette *UIColorPalette `type:"structure"`
29171}
29172
29173// String returns the string representation
29174func (s ThemeConfiguration) String() string {
29175	return awsutil.Prettify(s)
29176}
29177
29178// GoString returns the string representation
29179func (s ThemeConfiguration) GoString() string {
29180	return s.String()
29181}
29182
29183// SetDataColorPalette sets the DataColorPalette field's value.
29184func (s *ThemeConfiguration) SetDataColorPalette(v *DataColorPalette) *ThemeConfiguration {
29185	s.DataColorPalette = v
29186	return s
29187}
29188
29189// SetSheet sets the Sheet field's value.
29190func (s *ThemeConfiguration) SetSheet(v *SheetStyle) *ThemeConfiguration {
29191	s.Sheet = v
29192	return s
29193}
29194
29195// SetUIColorPalette sets the UIColorPalette field's value.
29196func (s *ThemeConfiguration) SetUIColorPalette(v *UIColorPalette) *ThemeConfiguration {
29197	s.UIColorPalette = v
29198	return s
29199}
29200
29201// Theme error.
29202type ThemeError struct {
29203	_ struct{} `type:"structure"`
29204
29205	// The error message.
29206	Message *string `type:"string"`
29207
29208	// The type of error.
29209	Type *string `type:"string" enum:"ThemeErrorType"`
29210}
29211
29212// String returns the string representation
29213func (s ThemeError) String() string {
29214	return awsutil.Prettify(s)
29215}
29216
29217// GoString returns the string representation
29218func (s ThemeError) GoString() string {
29219	return s.String()
29220}
29221
29222// SetMessage sets the Message field's value.
29223func (s *ThemeError) SetMessage(v string) *ThemeError {
29224	s.Message = &v
29225	return s
29226}
29227
29228// SetType sets the Type field's value.
29229func (s *ThemeError) SetType(v string) *ThemeError {
29230	s.Type = &v
29231	return s
29232}
29233
29234// The theme summary.
29235type ThemeSummary struct {
29236	_ struct{} `type:"structure"`
29237
29238	// The Amazon Resource Name (ARN) of the resource.
29239	Arn *string `type:"string"`
29240
29241	// The date and time that this theme was created.
29242	CreatedTime *time.Time `type:"timestamp"`
29243
29244	// The last date and time that this theme was updated.
29245	LastUpdatedTime *time.Time `type:"timestamp"`
29246
29247	// The latest version number for the theme.
29248	LatestVersionNumber *int64 `min:"1" type:"long"`
29249
29250	// the display name for the theme.
29251	Name *string `min:"1" type:"string"`
29252
29253	// The ID of the theme. This ID is unique per AWS Region for each AWS account.
29254	ThemeId *string `min:"1" type:"string"`
29255}
29256
29257// String returns the string representation
29258func (s ThemeSummary) String() string {
29259	return awsutil.Prettify(s)
29260}
29261
29262// GoString returns the string representation
29263func (s ThemeSummary) GoString() string {
29264	return s.String()
29265}
29266
29267// SetArn sets the Arn field's value.
29268func (s *ThemeSummary) SetArn(v string) *ThemeSummary {
29269	s.Arn = &v
29270	return s
29271}
29272
29273// SetCreatedTime sets the CreatedTime field's value.
29274func (s *ThemeSummary) SetCreatedTime(v time.Time) *ThemeSummary {
29275	s.CreatedTime = &v
29276	return s
29277}
29278
29279// SetLastUpdatedTime sets the LastUpdatedTime field's value.
29280func (s *ThemeSummary) SetLastUpdatedTime(v time.Time) *ThemeSummary {
29281	s.LastUpdatedTime = &v
29282	return s
29283}
29284
29285// SetLatestVersionNumber sets the LatestVersionNumber field's value.
29286func (s *ThemeSummary) SetLatestVersionNumber(v int64) *ThemeSummary {
29287	s.LatestVersionNumber = &v
29288	return s
29289}
29290
29291// SetName sets the Name field's value.
29292func (s *ThemeSummary) SetName(v string) *ThemeSummary {
29293	s.Name = &v
29294	return s
29295}
29296
29297// SetThemeId sets the ThemeId field's value.
29298func (s *ThemeSummary) SetThemeId(v string) *ThemeSummary {
29299	s.ThemeId = &v
29300	return s
29301}
29302
29303// A version of a theme.
29304type ThemeVersion struct {
29305	_ struct{} `type:"structure"`
29306
29307	// The Amazon Resource Name (ARN) of the resource.
29308	Arn *string `type:"string"`
29309
29310	// The Amazon QuickSight-defined ID of the theme that a custom theme inherits
29311	// from. All themes initially inherit from a default QuickSight theme.
29312	BaseThemeId *string `min:"1" type:"string"`
29313
29314	// The theme configuration, which contains all the theme display properties.
29315	Configuration *ThemeConfiguration `type:"structure"`
29316
29317	// The date and time that this theme version was created.
29318	CreatedTime *time.Time `type:"timestamp"`
29319
29320	// The description of the theme.
29321	Description *string `min:"1" type:"string"`
29322
29323	// Errors associated with the theme.
29324	Errors []*ThemeError `min:"1" type:"list"`
29325
29326	// The status of the theme version.
29327	Status *string `type:"string" enum:"ResourceStatus"`
29328
29329	// The version number of the theme.
29330	VersionNumber *int64 `min:"1" type:"long"`
29331}
29332
29333// String returns the string representation
29334func (s ThemeVersion) String() string {
29335	return awsutil.Prettify(s)
29336}
29337
29338// GoString returns the string representation
29339func (s ThemeVersion) GoString() string {
29340	return s.String()
29341}
29342
29343// SetArn sets the Arn field's value.
29344func (s *ThemeVersion) SetArn(v string) *ThemeVersion {
29345	s.Arn = &v
29346	return s
29347}
29348
29349// SetBaseThemeId sets the BaseThemeId field's value.
29350func (s *ThemeVersion) SetBaseThemeId(v string) *ThemeVersion {
29351	s.BaseThemeId = &v
29352	return s
29353}
29354
29355// SetConfiguration sets the Configuration field's value.
29356func (s *ThemeVersion) SetConfiguration(v *ThemeConfiguration) *ThemeVersion {
29357	s.Configuration = v
29358	return s
29359}
29360
29361// SetCreatedTime sets the CreatedTime field's value.
29362func (s *ThemeVersion) SetCreatedTime(v time.Time) *ThemeVersion {
29363	s.CreatedTime = &v
29364	return s
29365}
29366
29367// SetDescription sets the Description field's value.
29368func (s *ThemeVersion) SetDescription(v string) *ThemeVersion {
29369	s.Description = &v
29370	return s
29371}
29372
29373// SetErrors sets the Errors field's value.
29374func (s *ThemeVersion) SetErrors(v []*ThemeError) *ThemeVersion {
29375	s.Errors = v
29376	return s
29377}
29378
29379// SetStatus sets the Status field's value.
29380func (s *ThemeVersion) SetStatus(v string) *ThemeVersion {
29381	s.Status = &v
29382	return s
29383}
29384
29385// SetVersionNumber sets the VersionNumber field's value.
29386func (s *ThemeVersion) SetVersionNumber(v int64) *ThemeVersion {
29387	s.VersionNumber = &v
29388	return s
29389}
29390
29391// The theme version.
29392type ThemeVersionSummary struct {
29393	_ struct{} `type:"structure"`
29394
29395	// The Amazon Resource Name (ARN) of the theme version.
29396	Arn *string `type:"string"`
29397
29398	// The date and time that this theme version was created.
29399	CreatedTime *time.Time `type:"timestamp"`
29400
29401	// The description of the theme version.
29402	Description *string `min:"1" type:"string"`
29403
29404	// The status of the theme version.
29405	Status *string `type:"string" enum:"ResourceStatus"`
29406
29407	// The version number of the theme version.
29408	VersionNumber *int64 `min:"1" type:"long"`
29409}
29410
29411// String returns the string representation
29412func (s ThemeVersionSummary) String() string {
29413	return awsutil.Prettify(s)
29414}
29415
29416// GoString returns the string representation
29417func (s ThemeVersionSummary) GoString() string {
29418	return s.String()
29419}
29420
29421// SetArn sets the Arn field's value.
29422func (s *ThemeVersionSummary) SetArn(v string) *ThemeVersionSummary {
29423	s.Arn = &v
29424	return s
29425}
29426
29427// SetCreatedTime sets the CreatedTime field's value.
29428func (s *ThemeVersionSummary) SetCreatedTime(v time.Time) *ThemeVersionSummary {
29429	s.CreatedTime = &v
29430	return s
29431}
29432
29433// SetDescription sets the Description field's value.
29434func (s *ThemeVersionSummary) SetDescription(v string) *ThemeVersionSummary {
29435	s.Description = &v
29436	return s
29437}
29438
29439// SetStatus sets the Status field's value.
29440func (s *ThemeVersionSummary) SetStatus(v string) *ThemeVersionSummary {
29441	s.Status = &v
29442	return s
29443}
29444
29445// SetVersionNumber sets the VersionNumber field's value.
29446func (s *ThemeVersionSummary) SetVersionNumber(v int64) *ThemeVersionSummary {
29447	s.VersionNumber = &v
29448	return s
29449}
29450
29451// Access is throttled.
29452type ThrottlingException struct {
29453	_            struct{}                  `type:"structure"`
29454	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
29455
29456	Message_ *string `locationName:"Message" type:"string"`
29457
29458	// The AWS request ID for this request.
29459	RequestId *string `type:"string"`
29460}
29461
29462// String returns the string representation
29463func (s ThrottlingException) String() string {
29464	return awsutil.Prettify(s)
29465}
29466
29467// GoString returns the string representation
29468func (s ThrottlingException) GoString() string {
29469	return s.String()
29470}
29471
29472func newErrorThrottlingException(v protocol.ResponseMetadata) error {
29473	return &ThrottlingException{
29474		RespMetadata: v,
29475	}
29476}
29477
29478// Code returns the exception type name.
29479func (s *ThrottlingException) Code() string {
29480	return "ThrottlingException"
29481}
29482
29483// Message returns the exception's message.
29484func (s *ThrottlingException) Message() string {
29485	if s.Message_ != nil {
29486		return *s.Message_
29487	}
29488	return ""
29489}
29490
29491// OrigErr always returns nil, satisfies awserr.Error interface.
29492func (s *ThrottlingException) OrigErr() error {
29493	return nil
29494}
29495
29496func (s *ThrottlingException) Error() string {
29497	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
29498}
29499
29500// Status code returns the HTTP status code for the request's response error.
29501func (s *ThrottlingException) StatusCode() int {
29502	return s.RespMetadata.StatusCode
29503}
29504
29505// RequestID returns the service's response RequestID for request.
29506func (s *ThrottlingException) RequestID() string {
29507	return s.RespMetadata.RequestID
29508}
29509
29510// The display options for the layout of tiles on a sheet.
29511type TileLayoutStyle struct {
29512	_ struct{} `type:"structure"`
29513
29514	// The gutter settings that apply between tiles.
29515	Gutter *GutterStyle `type:"structure"`
29516
29517	// The margin settings that apply around the outside edge of sheets.
29518	Margin *MarginStyle `type:"structure"`
29519}
29520
29521// String returns the string representation
29522func (s TileLayoutStyle) String() string {
29523	return awsutil.Prettify(s)
29524}
29525
29526// GoString returns the string representation
29527func (s TileLayoutStyle) GoString() string {
29528	return s.String()
29529}
29530
29531// SetGutter sets the Gutter field's value.
29532func (s *TileLayoutStyle) SetGutter(v *GutterStyle) *TileLayoutStyle {
29533	s.Gutter = v
29534	return s
29535}
29536
29537// SetMargin sets the Margin field's value.
29538func (s *TileLayoutStyle) SetMargin(v *MarginStyle) *TileLayoutStyle {
29539	s.Margin = v
29540	return s
29541}
29542
29543// Display options related to tiles on a sheet.
29544type TileStyle struct {
29545	_ struct{} `type:"structure"`
29546
29547	// The border around a tile.
29548	Border *BorderStyle `type:"structure"`
29549}
29550
29551// String returns the string representation
29552func (s TileStyle) String() string {
29553	return awsutil.Prettify(s)
29554}
29555
29556// GoString returns the string representation
29557func (s TileStyle) GoString() string {
29558	return s.String()
29559}
29560
29561// SetBorder sets the Border field's value.
29562func (s *TileStyle) SetBorder(v *BorderStyle) *TileStyle {
29563	s.Border = v
29564	return s
29565}
29566
29567// A data transformation on a logical table. This is a variant type structure.
29568// For this structure to be valid, only one of the attributes can be non-null.
29569type TransformOperation struct {
29570	_ struct{} `type:"structure"`
29571
29572	// A transform operation that casts a column to a different type.
29573	CastColumnTypeOperation *CastColumnTypeOperation `type:"structure"`
29574
29575	// An operation that creates calculated columns. Columns created in one such
29576	// operation form a lexical closure.
29577	CreateColumnsOperation *CreateColumnsOperation `type:"structure"`
29578
29579	// An operation that filters rows based on some condition.
29580	FilterOperation *FilterOperation `type:"structure"`
29581
29582	// An operation that projects columns. Operations that come after a projection
29583	// can only refer to projected columns.
29584	ProjectOperation *ProjectOperation `type:"structure"`
29585
29586	// An operation that renames a column.
29587	RenameColumnOperation *RenameColumnOperation `type:"structure"`
29588
29589	// An operation that tags a column with additional information.
29590	TagColumnOperation *TagColumnOperation `type:"structure"`
29591}
29592
29593// String returns the string representation
29594func (s TransformOperation) String() string {
29595	return awsutil.Prettify(s)
29596}
29597
29598// GoString returns the string representation
29599func (s TransformOperation) GoString() string {
29600	return s.String()
29601}
29602
29603// Validate inspects the fields of the type to determine if they are valid.
29604func (s *TransformOperation) Validate() error {
29605	invalidParams := request.ErrInvalidParams{Context: "TransformOperation"}
29606	if s.CastColumnTypeOperation != nil {
29607		if err := s.CastColumnTypeOperation.Validate(); err != nil {
29608			invalidParams.AddNested("CastColumnTypeOperation", err.(request.ErrInvalidParams))
29609		}
29610	}
29611	if s.CreateColumnsOperation != nil {
29612		if err := s.CreateColumnsOperation.Validate(); err != nil {
29613			invalidParams.AddNested("CreateColumnsOperation", err.(request.ErrInvalidParams))
29614		}
29615	}
29616	if s.FilterOperation != nil {
29617		if err := s.FilterOperation.Validate(); err != nil {
29618			invalidParams.AddNested("FilterOperation", err.(request.ErrInvalidParams))
29619		}
29620	}
29621	if s.ProjectOperation != nil {
29622		if err := s.ProjectOperation.Validate(); err != nil {
29623			invalidParams.AddNested("ProjectOperation", err.(request.ErrInvalidParams))
29624		}
29625	}
29626	if s.RenameColumnOperation != nil {
29627		if err := s.RenameColumnOperation.Validate(); err != nil {
29628			invalidParams.AddNested("RenameColumnOperation", err.(request.ErrInvalidParams))
29629		}
29630	}
29631	if s.TagColumnOperation != nil {
29632		if err := s.TagColumnOperation.Validate(); err != nil {
29633			invalidParams.AddNested("TagColumnOperation", err.(request.ErrInvalidParams))
29634		}
29635	}
29636
29637	if invalidParams.Len() > 0 {
29638		return invalidParams
29639	}
29640	return nil
29641}
29642
29643// SetCastColumnTypeOperation sets the CastColumnTypeOperation field's value.
29644func (s *TransformOperation) SetCastColumnTypeOperation(v *CastColumnTypeOperation) *TransformOperation {
29645	s.CastColumnTypeOperation = v
29646	return s
29647}
29648
29649// SetCreateColumnsOperation sets the CreateColumnsOperation field's value.
29650func (s *TransformOperation) SetCreateColumnsOperation(v *CreateColumnsOperation) *TransformOperation {
29651	s.CreateColumnsOperation = v
29652	return s
29653}
29654
29655// SetFilterOperation sets the FilterOperation field's value.
29656func (s *TransformOperation) SetFilterOperation(v *FilterOperation) *TransformOperation {
29657	s.FilterOperation = v
29658	return s
29659}
29660
29661// SetProjectOperation sets the ProjectOperation field's value.
29662func (s *TransformOperation) SetProjectOperation(v *ProjectOperation) *TransformOperation {
29663	s.ProjectOperation = v
29664	return s
29665}
29666
29667// SetRenameColumnOperation sets the RenameColumnOperation field's value.
29668func (s *TransformOperation) SetRenameColumnOperation(v *RenameColumnOperation) *TransformOperation {
29669	s.RenameColumnOperation = v
29670	return s
29671}
29672
29673// SetTagColumnOperation sets the TagColumnOperation field's value.
29674func (s *TransformOperation) SetTagColumnOperation(v *TagColumnOperation) *TransformOperation {
29675	s.TagColumnOperation = v
29676	return s
29677}
29678
29679// Twitter parameters.
29680type TwitterParameters struct {
29681	_ struct{} `type:"structure"`
29682
29683	// Maximum number of rows to query Twitter.
29684	//
29685	// MaxRows is a required field
29686	MaxRows *int64 `min:"1" type:"integer" required:"true"`
29687
29688	// Twitter query string.
29689	//
29690	// Query is a required field
29691	Query *string `min:"1" type:"string" required:"true"`
29692}
29693
29694// String returns the string representation
29695func (s TwitterParameters) String() string {
29696	return awsutil.Prettify(s)
29697}
29698
29699// GoString returns the string representation
29700func (s TwitterParameters) GoString() string {
29701	return s.String()
29702}
29703
29704// Validate inspects the fields of the type to determine if they are valid.
29705func (s *TwitterParameters) Validate() error {
29706	invalidParams := request.ErrInvalidParams{Context: "TwitterParameters"}
29707	if s.MaxRows == nil {
29708		invalidParams.Add(request.NewErrParamRequired("MaxRows"))
29709	}
29710	if s.MaxRows != nil && *s.MaxRows < 1 {
29711		invalidParams.Add(request.NewErrParamMinValue("MaxRows", 1))
29712	}
29713	if s.Query == nil {
29714		invalidParams.Add(request.NewErrParamRequired("Query"))
29715	}
29716	if s.Query != nil && len(*s.Query) < 1 {
29717		invalidParams.Add(request.NewErrParamMinLen("Query", 1))
29718	}
29719
29720	if invalidParams.Len() > 0 {
29721		return invalidParams
29722	}
29723	return nil
29724}
29725
29726// SetMaxRows sets the MaxRows field's value.
29727func (s *TwitterParameters) SetMaxRows(v int64) *TwitterParameters {
29728	s.MaxRows = &v
29729	return s
29730}
29731
29732// SetQuery sets the Query field's value.
29733func (s *TwitterParameters) SetQuery(v string) *TwitterParameters {
29734	s.Query = &v
29735	return s
29736}
29737
29738// The theme colors that apply to UI and to charts, excluding data colors. The
29739// colors description is a hexadecimal color code that consists of six alphanumerical
29740// characters, prefixed with #, for example #37BFF5. For more information, see
29741// Using Themes in Amazon QuickSight (https://docs.aws.amazon.com/quicksight/latest/user/themes-in-quicksight.html)
29742// in the Amazon QuickSight User Guide.
29743type UIColorPalette struct {
29744	_ struct{} `type:"structure"`
29745
29746	// This color is that applies to selected states and buttons.
29747	Accent *string `type:"string"`
29748
29749	// The foreground color that applies to any text or other elements that appear
29750	// over the accent color.
29751	AccentForeground *string `type:"string"`
29752
29753	// The color that applies to error messages.
29754	Danger *string `type:"string"`
29755
29756	// The foreground color that applies to any text or other elements that appear
29757	// over the error color.
29758	DangerForeground *string `type:"string"`
29759
29760	// The color that applies to the names of fields that are identified as dimensions.
29761	Dimension *string `type:"string"`
29762
29763	// The foreground color that applies to any text or other elements that appear
29764	// over the dimension color.
29765	DimensionForeground *string `type:"string"`
29766
29767	// The color that applies to the names of fields that are identified as measures.
29768	Measure *string `type:"string"`
29769
29770	// The foreground color that applies to any text or other elements that appear
29771	// over the measure color.
29772	MeasureForeground *string `type:"string"`
29773
29774	// The background color that applies to visuals and other high emphasis UI.
29775	PrimaryBackground *string `type:"string"`
29776
29777	// The color of text and other foreground elements that appear over the primary
29778	// background regions, such as grid lines, borders, table banding, icons, and
29779	// so on.
29780	PrimaryForeground *string `type:"string"`
29781
29782	// The background color that applies to the sheet background and sheet controls.
29783	SecondaryBackground *string `type:"string"`
29784
29785	// The foreground color that applies to any sheet title, sheet control text,
29786	// or UI that appears over the secondary background.
29787	SecondaryForeground *string `type:"string"`
29788
29789	// The color that applies to success messages, for example the check mark for
29790	// a successful download.
29791	Success *string `type:"string"`
29792
29793	// The foreground color that applies to any text or other elements that appear
29794	// over the success color.
29795	SuccessForeground *string `type:"string"`
29796
29797	// This color that applies to warning and informational messages.
29798	Warning *string `type:"string"`
29799
29800	// The foreground color that applies to any text or other elements that appear
29801	// over the warning color.
29802	WarningForeground *string `type:"string"`
29803}
29804
29805// String returns the string representation
29806func (s UIColorPalette) String() string {
29807	return awsutil.Prettify(s)
29808}
29809
29810// GoString returns the string representation
29811func (s UIColorPalette) GoString() string {
29812	return s.String()
29813}
29814
29815// SetAccent sets the Accent field's value.
29816func (s *UIColorPalette) SetAccent(v string) *UIColorPalette {
29817	s.Accent = &v
29818	return s
29819}
29820
29821// SetAccentForeground sets the AccentForeground field's value.
29822func (s *UIColorPalette) SetAccentForeground(v string) *UIColorPalette {
29823	s.AccentForeground = &v
29824	return s
29825}
29826
29827// SetDanger sets the Danger field's value.
29828func (s *UIColorPalette) SetDanger(v string) *UIColorPalette {
29829	s.Danger = &v
29830	return s
29831}
29832
29833// SetDangerForeground sets the DangerForeground field's value.
29834func (s *UIColorPalette) SetDangerForeground(v string) *UIColorPalette {
29835	s.DangerForeground = &v
29836	return s
29837}
29838
29839// SetDimension sets the Dimension field's value.
29840func (s *UIColorPalette) SetDimension(v string) *UIColorPalette {
29841	s.Dimension = &v
29842	return s
29843}
29844
29845// SetDimensionForeground sets the DimensionForeground field's value.
29846func (s *UIColorPalette) SetDimensionForeground(v string) *UIColorPalette {
29847	s.DimensionForeground = &v
29848	return s
29849}
29850
29851// SetMeasure sets the Measure field's value.
29852func (s *UIColorPalette) SetMeasure(v string) *UIColorPalette {
29853	s.Measure = &v
29854	return s
29855}
29856
29857// SetMeasureForeground sets the MeasureForeground field's value.
29858func (s *UIColorPalette) SetMeasureForeground(v string) *UIColorPalette {
29859	s.MeasureForeground = &v
29860	return s
29861}
29862
29863// SetPrimaryBackground sets the PrimaryBackground field's value.
29864func (s *UIColorPalette) SetPrimaryBackground(v string) *UIColorPalette {
29865	s.PrimaryBackground = &v
29866	return s
29867}
29868
29869// SetPrimaryForeground sets the PrimaryForeground field's value.
29870func (s *UIColorPalette) SetPrimaryForeground(v string) *UIColorPalette {
29871	s.PrimaryForeground = &v
29872	return s
29873}
29874
29875// SetSecondaryBackground sets the SecondaryBackground field's value.
29876func (s *UIColorPalette) SetSecondaryBackground(v string) *UIColorPalette {
29877	s.SecondaryBackground = &v
29878	return s
29879}
29880
29881// SetSecondaryForeground sets the SecondaryForeground field's value.
29882func (s *UIColorPalette) SetSecondaryForeground(v string) *UIColorPalette {
29883	s.SecondaryForeground = &v
29884	return s
29885}
29886
29887// SetSuccess sets the Success field's value.
29888func (s *UIColorPalette) SetSuccess(v string) *UIColorPalette {
29889	s.Success = &v
29890	return s
29891}
29892
29893// SetSuccessForeground sets the SuccessForeground field's value.
29894func (s *UIColorPalette) SetSuccessForeground(v string) *UIColorPalette {
29895	s.SuccessForeground = &v
29896	return s
29897}
29898
29899// SetWarning sets the Warning field's value.
29900func (s *UIColorPalette) SetWarning(v string) *UIColorPalette {
29901	s.Warning = &v
29902	return s
29903}
29904
29905// SetWarningForeground sets the WarningForeground field's value.
29906func (s *UIColorPalette) SetWarningForeground(v string) *UIColorPalette {
29907	s.WarningForeground = &v
29908	return s
29909}
29910
29911// This error indicates that you are calling an embedding operation in Amazon
29912// QuickSight without the required pricing plan on your AWS account. Before
29913// you can use embedding for anonymous users, a QuickSight administrator needs
29914// to add capacity pricing to QuickSight. You can do this on the Manage QuickSight
29915// page.
29916//
29917// After capacity pricing is added, you can use the GetDashboardEmbedUrl API
29918// operation with the --identity-type ANONYMOUS option.
29919type UnsupportedPricingPlanException struct {
29920	_            struct{}                  `type:"structure"`
29921	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
29922
29923	Message_ *string `locationName:"Message" type:"string"`
29924
29925	// The AWS request ID for this request.
29926	RequestId *string `type:"string"`
29927}
29928
29929// String returns the string representation
29930func (s UnsupportedPricingPlanException) String() string {
29931	return awsutil.Prettify(s)
29932}
29933
29934// GoString returns the string representation
29935func (s UnsupportedPricingPlanException) GoString() string {
29936	return s.String()
29937}
29938
29939func newErrorUnsupportedPricingPlanException(v protocol.ResponseMetadata) error {
29940	return &UnsupportedPricingPlanException{
29941		RespMetadata: v,
29942	}
29943}
29944
29945// Code returns the exception type name.
29946func (s *UnsupportedPricingPlanException) Code() string {
29947	return "UnsupportedPricingPlanException"
29948}
29949
29950// Message returns the exception's message.
29951func (s *UnsupportedPricingPlanException) Message() string {
29952	if s.Message_ != nil {
29953		return *s.Message_
29954	}
29955	return ""
29956}
29957
29958// OrigErr always returns nil, satisfies awserr.Error interface.
29959func (s *UnsupportedPricingPlanException) OrigErr() error {
29960	return nil
29961}
29962
29963func (s *UnsupportedPricingPlanException) Error() string {
29964	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
29965}
29966
29967// Status code returns the HTTP status code for the request's response error.
29968func (s *UnsupportedPricingPlanException) StatusCode() int {
29969	return s.RespMetadata.StatusCode
29970}
29971
29972// RequestID returns the service's response RequestID for request.
29973func (s *UnsupportedPricingPlanException) RequestID() string {
29974	return s.RespMetadata.RequestID
29975}
29976
29977// This error indicates that you are calling an operation on an Amazon QuickSight
29978// subscription where the edition doesn't include support for that operation.
29979// Amazon QuickSight currently has Standard Edition and Enterprise Edition.
29980// Not every operation and capability is available in every edition.
29981type UnsupportedUserEditionException struct {
29982	_            struct{}                  `type:"structure"`
29983	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
29984
29985	Message_ *string `locationName:"Message" type:"string"`
29986
29987	// The AWS request ID for this request.
29988	RequestId *string `type:"string"`
29989}
29990
29991// String returns the string representation
29992func (s UnsupportedUserEditionException) String() string {
29993	return awsutil.Prettify(s)
29994}
29995
29996// GoString returns the string representation
29997func (s UnsupportedUserEditionException) GoString() string {
29998	return s.String()
29999}
30000
30001func newErrorUnsupportedUserEditionException(v protocol.ResponseMetadata) error {
30002	return &UnsupportedUserEditionException{
30003		RespMetadata: v,
30004	}
30005}
30006
30007// Code returns the exception type name.
30008func (s *UnsupportedUserEditionException) Code() string {
30009	return "UnsupportedUserEditionException"
30010}
30011
30012// Message returns the exception's message.
30013func (s *UnsupportedUserEditionException) Message() string {
30014	if s.Message_ != nil {
30015		return *s.Message_
30016	}
30017	return ""
30018}
30019
30020// OrigErr always returns nil, satisfies awserr.Error interface.
30021func (s *UnsupportedUserEditionException) OrigErr() error {
30022	return nil
30023}
30024
30025func (s *UnsupportedUserEditionException) Error() string {
30026	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
30027}
30028
30029// Status code returns the HTTP status code for the request's response error.
30030func (s *UnsupportedUserEditionException) StatusCode() int {
30031	return s.RespMetadata.StatusCode
30032}
30033
30034// RequestID returns the service's response RequestID for request.
30035func (s *UnsupportedUserEditionException) RequestID() string {
30036	return s.RespMetadata.RequestID
30037}
30038
30039type UntagResourceInput struct {
30040	_ struct{} `type:"structure"`
30041
30042	// The Amazon Resource Name (ARN) of the resource that you want to untag.
30043	//
30044	// ResourceArn is a required field
30045	ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"`
30046
30047	// The keys of the key-value pairs for the resource tag or tags assigned to
30048	// the resource.
30049	//
30050	// TagKeys is a required field
30051	TagKeys []*string `location:"querystring" locationName:"keys" min:"1" type:"list" required:"true"`
30052}
30053
30054// String returns the string representation
30055func (s UntagResourceInput) String() string {
30056	return awsutil.Prettify(s)
30057}
30058
30059// GoString returns the string representation
30060func (s UntagResourceInput) GoString() string {
30061	return s.String()
30062}
30063
30064// Validate inspects the fields of the type to determine if they are valid.
30065func (s *UntagResourceInput) Validate() error {
30066	invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
30067	if s.ResourceArn == nil {
30068		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
30069	}
30070	if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
30071		invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
30072	}
30073	if s.TagKeys == nil {
30074		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
30075	}
30076	if s.TagKeys != nil && len(s.TagKeys) < 1 {
30077		invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
30078	}
30079
30080	if invalidParams.Len() > 0 {
30081		return invalidParams
30082	}
30083	return nil
30084}
30085
30086// SetResourceArn sets the ResourceArn field's value.
30087func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
30088	s.ResourceArn = &v
30089	return s
30090}
30091
30092// SetTagKeys sets the TagKeys field's value.
30093func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
30094	s.TagKeys = v
30095	return s
30096}
30097
30098type UntagResourceOutput struct {
30099	_ struct{} `type:"structure"`
30100
30101	// The AWS request ID for this operation.
30102	RequestId *string `type:"string"`
30103
30104	// The HTTP status of the request.
30105	Status *int64 `location:"statusCode" type:"integer"`
30106}
30107
30108// String returns the string representation
30109func (s UntagResourceOutput) String() string {
30110	return awsutil.Prettify(s)
30111}
30112
30113// GoString returns the string representation
30114func (s UntagResourceOutput) GoString() string {
30115	return s.String()
30116}
30117
30118// SetRequestId sets the RequestId field's value.
30119func (s *UntagResourceOutput) SetRequestId(v string) *UntagResourceOutput {
30120	s.RequestId = &v
30121	return s
30122}
30123
30124// SetStatus sets the Status field's value.
30125func (s *UntagResourceOutput) SetStatus(v int64) *UntagResourceOutput {
30126	s.Status = &v
30127	return s
30128}
30129
30130type UpdateAccountCustomizationInput struct {
30131	_ struct{} `type:"structure"`
30132
30133	// The QuickSight customizations you're updating in the current AWS Region.
30134	//
30135	// AccountCustomization is a required field
30136	AccountCustomization *AccountCustomization `type:"structure" required:"true"`
30137
30138	// The ID for the AWS account that you want to update QuickSight customizations
30139	// for.
30140	//
30141	// AwsAccountId is a required field
30142	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
30143
30144	// The namespace that you want to update QuickSight customizations for.
30145	Namespace *string `location:"querystring" locationName:"namespace" type:"string"`
30146}
30147
30148// String returns the string representation
30149func (s UpdateAccountCustomizationInput) String() string {
30150	return awsutil.Prettify(s)
30151}
30152
30153// GoString returns the string representation
30154func (s UpdateAccountCustomizationInput) GoString() string {
30155	return s.String()
30156}
30157
30158// Validate inspects the fields of the type to determine if they are valid.
30159func (s *UpdateAccountCustomizationInput) Validate() error {
30160	invalidParams := request.ErrInvalidParams{Context: "UpdateAccountCustomizationInput"}
30161	if s.AccountCustomization == nil {
30162		invalidParams.Add(request.NewErrParamRequired("AccountCustomization"))
30163	}
30164	if s.AwsAccountId == nil {
30165		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
30166	}
30167	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
30168		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
30169	}
30170
30171	if invalidParams.Len() > 0 {
30172		return invalidParams
30173	}
30174	return nil
30175}
30176
30177// SetAccountCustomization sets the AccountCustomization field's value.
30178func (s *UpdateAccountCustomizationInput) SetAccountCustomization(v *AccountCustomization) *UpdateAccountCustomizationInput {
30179	s.AccountCustomization = v
30180	return s
30181}
30182
30183// SetAwsAccountId sets the AwsAccountId field's value.
30184func (s *UpdateAccountCustomizationInput) SetAwsAccountId(v string) *UpdateAccountCustomizationInput {
30185	s.AwsAccountId = &v
30186	return s
30187}
30188
30189// SetNamespace sets the Namespace field's value.
30190func (s *UpdateAccountCustomizationInput) SetNamespace(v string) *UpdateAccountCustomizationInput {
30191	s.Namespace = &v
30192	return s
30193}
30194
30195type UpdateAccountCustomizationOutput struct {
30196	_ struct{} `type:"structure"`
30197
30198	// The QuickSight customizations you're updating in the current AWS Region.
30199	AccountCustomization *AccountCustomization `type:"structure"`
30200
30201	// The Amazon Resource Name (ARN) for the updated customization for this AWS
30202	// account.
30203	Arn *string `type:"string"`
30204
30205	// The ID for the AWS account that you want to update QuickSight customizations
30206	// for.
30207	AwsAccountId *string `min:"12" type:"string"`
30208
30209	// The namespace associated with the customization that you're updating.
30210	Namespace *string `type:"string"`
30211
30212	// The AWS request ID for this operation.
30213	RequestId *string `type:"string"`
30214
30215	// The HTTP status of the request.
30216	Status *int64 `location:"statusCode" type:"integer"`
30217}
30218
30219// String returns the string representation
30220func (s UpdateAccountCustomizationOutput) String() string {
30221	return awsutil.Prettify(s)
30222}
30223
30224// GoString returns the string representation
30225func (s UpdateAccountCustomizationOutput) GoString() string {
30226	return s.String()
30227}
30228
30229// SetAccountCustomization sets the AccountCustomization field's value.
30230func (s *UpdateAccountCustomizationOutput) SetAccountCustomization(v *AccountCustomization) *UpdateAccountCustomizationOutput {
30231	s.AccountCustomization = v
30232	return s
30233}
30234
30235// SetArn sets the Arn field's value.
30236func (s *UpdateAccountCustomizationOutput) SetArn(v string) *UpdateAccountCustomizationOutput {
30237	s.Arn = &v
30238	return s
30239}
30240
30241// SetAwsAccountId sets the AwsAccountId field's value.
30242func (s *UpdateAccountCustomizationOutput) SetAwsAccountId(v string) *UpdateAccountCustomizationOutput {
30243	s.AwsAccountId = &v
30244	return s
30245}
30246
30247// SetNamespace sets the Namespace field's value.
30248func (s *UpdateAccountCustomizationOutput) SetNamespace(v string) *UpdateAccountCustomizationOutput {
30249	s.Namespace = &v
30250	return s
30251}
30252
30253// SetRequestId sets the RequestId field's value.
30254func (s *UpdateAccountCustomizationOutput) SetRequestId(v string) *UpdateAccountCustomizationOutput {
30255	s.RequestId = &v
30256	return s
30257}
30258
30259// SetStatus sets the Status field's value.
30260func (s *UpdateAccountCustomizationOutput) SetStatus(v int64) *UpdateAccountCustomizationOutput {
30261	s.Status = &v
30262	return s
30263}
30264
30265type UpdateAccountSettingsInput struct {
30266	_ struct{} `type:"structure"`
30267
30268	// The ID for the AWS account that contains the QuickSight settings that you
30269	// want to list.
30270	//
30271	// AwsAccountId is a required field
30272	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
30273
30274	// The default namespace for this AWS account. Currently, the default is default.
30275	// AWS Identity and Access Management (IAM) users that register for the first
30276	// time with QuickSight provide an email that becomes associated with the default
30277	// namespace.
30278	//
30279	// DefaultNamespace is a required field
30280	DefaultNamespace *string `type:"string" required:"true"`
30281
30282	// The email address that you want QuickSight to send notifications to regarding
30283	// your AWS account or QuickSight subscription.
30284	NotificationEmail *string `type:"string"`
30285}
30286
30287// String returns the string representation
30288func (s UpdateAccountSettingsInput) String() string {
30289	return awsutil.Prettify(s)
30290}
30291
30292// GoString returns the string representation
30293func (s UpdateAccountSettingsInput) GoString() string {
30294	return s.String()
30295}
30296
30297// Validate inspects the fields of the type to determine if they are valid.
30298func (s *UpdateAccountSettingsInput) Validate() error {
30299	invalidParams := request.ErrInvalidParams{Context: "UpdateAccountSettingsInput"}
30300	if s.AwsAccountId == nil {
30301		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
30302	}
30303	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
30304		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
30305	}
30306	if s.DefaultNamespace == nil {
30307		invalidParams.Add(request.NewErrParamRequired("DefaultNamespace"))
30308	}
30309
30310	if invalidParams.Len() > 0 {
30311		return invalidParams
30312	}
30313	return nil
30314}
30315
30316// SetAwsAccountId sets the AwsAccountId field's value.
30317func (s *UpdateAccountSettingsInput) SetAwsAccountId(v string) *UpdateAccountSettingsInput {
30318	s.AwsAccountId = &v
30319	return s
30320}
30321
30322// SetDefaultNamespace sets the DefaultNamespace field's value.
30323func (s *UpdateAccountSettingsInput) SetDefaultNamespace(v string) *UpdateAccountSettingsInput {
30324	s.DefaultNamespace = &v
30325	return s
30326}
30327
30328// SetNotificationEmail sets the NotificationEmail field's value.
30329func (s *UpdateAccountSettingsInput) SetNotificationEmail(v string) *UpdateAccountSettingsInput {
30330	s.NotificationEmail = &v
30331	return s
30332}
30333
30334type UpdateAccountSettingsOutput struct {
30335	_ struct{} `type:"structure"`
30336
30337	// The AWS request ID for this operation.
30338	RequestId *string `type:"string"`
30339
30340	// The HTTP status of the request.
30341	Status *int64 `location:"statusCode" type:"integer"`
30342}
30343
30344// String returns the string representation
30345func (s UpdateAccountSettingsOutput) String() string {
30346	return awsutil.Prettify(s)
30347}
30348
30349// GoString returns the string representation
30350func (s UpdateAccountSettingsOutput) GoString() string {
30351	return s.String()
30352}
30353
30354// SetRequestId sets the RequestId field's value.
30355func (s *UpdateAccountSettingsOutput) SetRequestId(v string) *UpdateAccountSettingsOutput {
30356	s.RequestId = &v
30357	return s
30358}
30359
30360// SetStatus sets the Status field's value.
30361func (s *UpdateAccountSettingsOutput) SetStatus(v int64) *UpdateAccountSettingsOutput {
30362	s.Status = &v
30363	return s
30364}
30365
30366type UpdateAnalysisInput struct {
30367	_ struct{} `type:"structure"`
30368
30369	// The ID for the analysis that you're updating. This ID displays in the URL
30370	// of the analysis.
30371	//
30372	// AnalysisId is a required field
30373	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
30374
30375	// The ID of the AWS account that contains the analysis that you're updating.
30376	//
30377	// AwsAccountId is a required field
30378	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
30379
30380	// A descriptive name for the analysis that you're updating. This name displays
30381	// for the analysis in the QuickSight console.
30382	//
30383	// Name is a required field
30384	Name *string `min:"1" type:"string" required:"true"`
30385
30386	// The parameter names and override values that you want to use. An analysis
30387	// can have any parameter type, and some parameters might accept multiple values.
30388	Parameters *Parameters `type:"structure"`
30389
30390	// A source entity to use for the analysis that you're updating. This metadata
30391	// structure contains details that describe a source template and one or more
30392	// datasets.
30393	//
30394	// SourceEntity is a required field
30395	SourceEntity *AnalysisSourceEntity `type:"structure" required:"true"`
30396
30397	// The Amazon Resource Name (ARN) for the theme to apply to the analysis that
30398	// you're creating. To see the theme in the QuickSight console, make sure that
30399	// you have access to it.
30400	ThemeArn *string `type:"string"`
30401}
30402
30403// String returns the string representation
30404func (s UpdateAnalysisInput) String() string {
30405	return awsutil.Prettify(s)
30406}
30407
30408// GoString returns the string representation
30409func (s UpdateAnalysisInput) GoString() string {
30410	return s.String()
30411}
30412
30413// Validate inspects the fields of the type to determine if they are valid.
30414func (s *UpdateAnalysisInput) Validate() error {
30415	invalidParams := request.ErrInvalidParams{Context: "UpdateAnalysisInput"}
30416	if s.AnalysisId == nil {
30417		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
30418	}
30419	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
30420		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
30421	}
30422	if s.AwsAccountId == nil {
30423		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
30424	}
30425	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
30426		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
30427	}
30428	if s.Name == nil {
30429		invalidParams.Add(request.NewErrParamRequired("Name"))
30430	}
30431	if s.Name != nil && len(*s.Name) < 1 {
30432		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30433	}
30434	if s.SourceEntity == nil {
30435		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
30436	}
30437	if s.Parameters != nil {
30438		if err := s.Parameters.Validate(); err != nil {
30439			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
30440		}
30441	}
30442	if s.SourceEntity != nil {
30443		if err := s.SourceEntity.Validate(); err != nil {
30444			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
30445		}
30446	}
30447
30448	if invalidParams.Len() > 0 {
30449		return invalidParams
30450	}
30451	return nil
30452}
30453
30454// SetAnalysisId sets the AnalysisId field's value.
30455func (s *UpdateAnalysisInput) SetAnalysisId(v string) *UpdateAnalysisInput {
30456	s.AnalysisId = &v
30457	return s
30458}
30459
30460// SetAwsAccountId sets the AwsAccountId field's value.
30461func (s *UpdateAnalysisInput) SetAwsAccountId(v string) *UpdateAnalysisInput {
30462	s.AwsAccountId = &v
30463	return s
30464}
30465
30466// SetName sets the Name field's value.
30467func (s *UpdateAnalysisInput) SetName(v string) *UpdateAnalysisInput {
30468	s.Name = &v
30469	return s
30470}
30471
30472// SetParameters sets the Parameters field's value.
30473func (s *UpdateAnalysisInput) SetParameters(v *Parameters) *UpdateAnalysisInput {
30474	s.Parameters = v
30475	return s
30476}
30477
30478// SetSourceEntity sets the SourceEntity field's value.
30479func (s *UpdateAnalysisInput) SetSourceEntity(v *AnalysisSourceEntity) *UpdateAnalysisInput {
30480	s.SourceEntity = v
30481	return s
30482}
30483
30484// SetThemeArn sets the ThemeArn field's value.
30485func (s *UpdateAnalysisInput) SetThemeArn(v string) *UpdateAnalysisInput {
30486	s.ThemeArn = &v
30487	return s
30488}
30489
30490type UpdateAnalysisOutput struct {
30491	_ struct{} `type:"structure"`
30492
30493	// The ID of the analysis.
30494	AnalysisId *string `min:"1" type:"string"`
30495
30496	// The ARN of the analysis that you're updating.
30497	Arn *string `type:"string"`
30498
30499	// The AWS request ID for this operation.
30500	RequestId *string `type:"string"`
30501
30502	// The HTTP status of the request.
30503	Status *int64 `location:"statusCode" type:"integer"`
30504
30505	// The update status of the last update that was made to the analysis.
30506	UpdateStatus *string `type:"string" enum:"ResourceStatus"`
30507}
30508
30509// String returns the string representation
30510func (s UpdateAnalysisOutput) String() string {
30511	return awsutil.Prettify(s)
30512}
30513
30514// GoString returns the string representation
30515func (s UpdateAnalysisOutput) GoString() string {
30516	return s.String()
30517}
30518
30519// SetAnalysisId sets the AnalysisId field's value.
30520func (s *UpdateAnalysisOutput) SetAnalysisId(v string) *UpdateAnalysisOutput {
30521	s.AnalysisId = &v
30522	return s
30523}
30524
30525// SetArn sets the Arn field's value.
30526func (s *UpdateAnalysisOutput) SetArn(v string) *UpdateAnalysisOutput {
30527	s.Arn = &v
30528	return s
30529}
30530
30531// SetRequestId sets the RequestId field's value.
30532func (s *UpdateAnalysisOutput) SetRequestId(v string) *UpdateAnalysisOutput {
30533	s.RequestId = &v
30534	return s
30535}
30536
30537// SetStatus sets the Status field's value.
30538func (s *UpdateAnalysisOutput) SetStatus(v int64) *UpdateAnalysisOutput {
30539	s.Status = &v
30540	return s
30541}
30542
30543// SetUpdateStatus sets the UpdateStatus field's value.
30544func (s *UpdateAnalysisOutput) SetUpdateStatus(v string) *UpdateAnalysisOutput {
30545	s.UpdateStatus = &v
30546	return s
30547}
30548
30549type UpdateAnalysisPermissionsInput struct {
30550	_ struct{} `type:"structure"`
30551
30552	// The ID of the analysis whose permissions you're updating. The ID is part
30553	// of the analysis URL.
30554	//
30555	// AnalysisId is a required field
30556	AnalysisId *string `location:"uri" locationName:"AnalysisId" min:"1" type:"string" required:"true"`
30557
30558	// The ID of the AWS account that contains the analysis whose permissions you're
30559	// updating. You must be using the AWS account that the analysis is in.
30560	//
30561	// AwsAccountId is a required field
30562	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
30563
30564	// A structure that describes the permissions to add and the principal to add
30565	// them to.
30566	GrantPermissions []*ResourcePermission `type:"list"`
30567
30568	// A structure that describes the permissions to remove and the principal to
30569	// remove them from.
30570	RevokePermissions []*ResourcePermission `type:"list"`
30571}
30572
30573// String returns the string representation
30574func (s UpdateAnalysisPermissionsInput) String() string {
30575	return awsutil.Prettify(s)
30576}
30577
30578// GoString returns the string representation
30579func (s UpdateAnalysisPermissionsInput) GoString() string {
30580	return s.String()
30581}
30582
30583// Validate inspects the fields of the type to determine if they are valid.
30584func (s *UpdateAnalysisPermissionsInput) Validate() error {
30585	invalidParams := request.ErrInvalidParams{Context: "UpdateAnalysisPermissionsInput"}
30586	if s.AnalysisId == nil {
30587		invalidParams.Add(request.NewErrParamRequired("AnalysisId"))
30588	}
30589	if s.AnalysisId != nil && len(*s.AnalysisId) < 1 {
30590		invalidParams.Add(request.NewErrParamMinLen("AnalysisId", 1))
30591	}
30592	if s.AwsAccountId == nil {
30593		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
30594	}
30595	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
30596		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
30597	}
30598	if s.GrantPermissions != nil {
30599		for i, v := range s.GrantPermissions {
30600			if v == nil {
30601				continue
30602			}
30603			if err := v.Validate(); err != nil {
30604				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
30605			}
30606		}
30607	}
30608	if s.RevokePermissions != nil {
30609		for i, v := range s.RevokePermissions {
30610			if v == nil {
30611				continue
30612			}
30613			if err := v.Validate(); err != nil {
30614				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
30615			}
30616		}
30617	}
30618
30619	if invalidParams.Len() > 0 {
30620		return invalidParams
30621	}
30622	return nil
30623}
30624
30625// SetAnalysisId sets the AnalysisId field's value.
30626func (s *UpdateAnalysisPermissionsInput) SetAnalysisId(v string) *UpdateAnalysisPermissionsInput {
30627	s.AnalysisId = &v
30628	return s
30629}
30630
30631// SetAwsAccountId sets the AwsAccountId field's value.
30632func (s *UpdateAnalysisPermissionsInput) SetAwsAccountId(v string) *UpdateAnalysisPermissionsInput {
30633	s.AwsAccountId = &v
30634	return s
30635}
30636
30637// SetGrantPermissions sets the GrantPermissions field's value.
30638func (s *UpdateAnalysisPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateAnalysisPermissionsInput {
30639	s.GrantPermissions = v
30640	return s
30641}
30642
30643// SetRevokePermissions sets the RevokePermissions field's value.
30644func (s *UpdateAnalysisPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateAnalysisPermissionsInput {
30645	s.RevokePermissions = v
30646	return s
30647}
30648
30649type UpdateAnalysisPermissionsOutput struct {
30650	_ struct{} `type:"structure"`
30651
30652	// The Amazon Resource Name (ARN) of the analysis that you updated.
30653	AnalysisArn *string `type:"string"`
30654
30655	// The ID of the analysis that you updated permissions for.
30656	AnalysisId *string `min:"1" type:"string"`
30657
30658	// A structure that describes the principals and the resource-level permissions
30659	// on an analysis.
30660	Permissions []*ResourcePermission `min:"1" type:"list"`
30661
30662	// The AWS request ID for this operation.
30663	RequestId *string `type:"string"`
30664
30665	// The HTTP status of the request.
30666	Status *int64 `location:"statusCode" type:"integer"`
30667}
30668
30669// String returns the string representation
30670func (s UpdateAnalysisPermissionsOutput) String() string {
30671	return awsutil.Prettify(s)
30672}
30673
30674// GoString returns the string representation
30675func (s UpdateAnalysisPermissionsOutput) GoString() string {
30676	return s.String()
30677}
30678
30679// SetAnalysisArn sets the AnalysisArn field's value.
30680func (s *UpdateAnalysisPermissionsOutput) SetAnalysisArn(v string) *UpdateAnalysisPermissionsOutput {
30681	s.AnalysisArn = &v
30682	return s
30683}
30684
30685// SetAnalysisId sets the AnalysisId field's value.
30686func (s *UpdateAnalysisPermissionsOutput) SetAnalysisId(v string) *UpdateAnalysisPermissionsOutput {
30687	s.AnalysisId = &v
30688	return s
30689}
30690
30691// SetPermissions sets the Permissions field's value.
30692func (s *UpdateAnalysisPermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateAnalysisPermissionsOutput {
30693	s.Permissions = v
30694	return s
30695}
30696
30697// SetRequestId sets the RequestId field's value.
30698func (s *UpdateAnalysisPermissionsOutput) SetRequestId(v string) *UpdateAnalysisPermissionsOutput {
30699	s.RequestId = &v
30700	return s
30701}
30702
30703// SetStatus sets the Status field's value.
30704func (s *UpdateAnalysisPermissionsOutput) SetStatus(v int64) *UpdateAnalysisPermissionsOutput {
30705	s.Status = &v
30706	return s
30707}
30708
30709type UpdateDashboardInput struct {
30710	_ struct{} `type:"structure"`
30711
30712	// The ID of the AWS account that contains the dashboard that you're updating.
30713	//
30714	// AwsAccountId is a required field
30715	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
30716
30717	// The ID for the dashboard.
30718	//
30719	// DashboardId is a required field
30720	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
30721
30722	// Options for publishing the dashboard when you create it:
30723	//
30724	//    * AvailabilityStatus for AdHocFilteringOption - This status can be either
30725	//    ENABLED or DISABLED. When this is set to DISABLED, QuickSight disables
30726	//    the left filter pane on the published dashboard, which can be used for
30727	//    ad hoc (one-time) filtering. This option is ENABLED by default.
30728	//
30729	//    * AvailabilityStatus for ExportToCSVOption - This status can be either
30730	//    ENABLED or DISABLED. The visual option to export data to .CSV format isn't
30731	//    enabled when this is set to DISABLED. This option is ENABLED by default.
30732	//
30733	//    * VisibilityState for SheetControlsOption - This visibility state can
30734	//    be either COLLAPSED or EXPANDED. This option is COLLAPSED by default.
30735	DashboardPublishOptions *DashboardPublishOptions `type:"structure"`
30736
30737	// The display name of the dashboard.
30738	//
30739	// Name is a required field
30740	Name *string `min:"1" type:"string" required:"true"`
30741
30742	// A structure that contains the parameters of the dashboard. These are parameter
30743	// overrides for a dashboard. A dashboard can have any type of parameters, and
30744	// some parameters might accept multiple values.
30745	Parameters *Parameters `type:"structure"`
30746
30747	// The entity that you are using as a source when you update the dashboard.
30748	// In SourceEntity, you specify the type of object you're using as source. You
30749	// can only update a dashboard from a template, so you use a SourceTemplate
30750	// entity. If you need to update a dashboard from an analysis, first convert
30751	// the analysis to a template by using the CreateTemplate API operation. For
30752	// SourceTemplate, specify the Amazon Resource Name (ARN) of the source template.
30753	// The SourceTemplate ARN can contain any AWS Account and any QuickSight-supported
30754	// AWS Region.
30755	//
30756	// Use the DataSetReferences entity within SourceTemplate to list the replacement
30757	// datasets for the placeholders listed in the original. The schema in each
30758	// dataset must match its placeholder.
30759	//
30760	// SourceEntity is a required field
30761	SourceEntity *DashboardSourceEntity `type:"structure" required:"true"`
30762
30763	// The Amazon Resource Name (ARN) of the theme that is being used for this dashboard.
30764	// If you add a value for this field, it overrides the value that was originally
30765	// associated with the entity. The theme ARN must exist in the same AWS account
30766	// where you create the dashboard.
30767	ThemeArn *string `type:"string"`
30768
30769	// A description for the first version of the dashboard being created.
30770	VersionDescription *string `min:"1" type:"string"`
30771}
30772
30773// String returns the string representation
30774func (s UpdateDashboardInput) String() string {
30775	return awsutil.Prettify(s)
30776}
30777
30778// GoString returns the string representation
30779func (s UpdateDashboardInput) GoString() string {
30780	return s.String()
30781}
30782
30783// Validate inspects the fields of the type to determine if they are valid.
30784func (s *UpdateDashboardInput) Validate() error {
30785	invalidParams := request.ErrInvalidParams{Context: "UpdateDashboardInput"}
30786	if s.AwsAccountId == nil {
30787		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
30788	}
30789	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
30790		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
30791	}
30792	if s.DashboardId == nil {
30793		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
30794	}
30795	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
30796		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
30797	}
30798	if s.Name == nil {
30799		invalidParams.Add(request.NewErrParamRequired("Name"))
30800	}
30801	if s.Name != nil && len(*s.Name) < 1 {
30802		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
30803	}
30804	if s.SourceEntity == nil {
30805		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
30806	}
30807	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
30808		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
30809	}
30810	if s.Parameters != nil {
30811		if err := s.Parameters.Validate(); err != nil {
30812			invalidParams.AddNested("Parameters", err.(request.ErrInvalidParams))
30813		}
30814	}
30815	if s.SourceEntity != nil {
30816		if err := s.SourceEntity.Validate(); err != nil {
30817			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
30818		}
30819	}
30820
30821	if invalidParams.Len() > 0 {
30822		return invalidParams
30823	}
30824	return nil
30825}
30826
30827// SetAwsAccountId sets the AwsAccountId field's value.
30828func (s *UpdateDashboardInput) SetAwsAccountId(v string) *UpdateDashboardInput {
30829	s.AwsAccountId = &v
30830	return s
30831}
30832
30833// SetDashboardId sets the DashboardId field's value.
30834func (s *UpdateDashboardInput) SetDashboardId(v string) *UpdateDashboardInput {
30835	s.DashboardId = &v
30836	return s
30837}
30838
30839// SetDashboardPublishOptions sets the DashboardPublishOptions field's value.
30840func (s *UpdateDashboardInput) SetDashboardPublishOptions(v *DashboardPublishOptions) *UpdateDashboardInput {
30841	s.DashboardPublishOptions = v
30842	return s
30843}
30844
30845// SetName sets the Name field's value.
30846func (s *UpdateDashboardInput) SetName(v string) *UpdateDashboardInput {
30847	s.Name = &v
30848	return s
30849}
30850
30851// SetParameters sets the Parameters field's value.
30852func (s *UpdateDashboardInput) SetParameters(v *Parameters) *UpdateDashboardInput {
30853	s.Parameters = v
30854	return s
30855}
30856
30857// SetSourceEntity sets the SourceEntity field's value.
30858func (s *UpdateDashboardInput) SetSourceEntity(v *DashboardSourceEntity) *UpdateDashboardInput {
30859	s.SourceEntity = v
30860	return s
30861}
30862
30863// SetThemeArn sets the ThemeArn field's value.
30864func (s *UpdateDashboardInput) SetThemeArn(v string) *UpdateDashboardInput {
30865	s.ThemeArn = &v
30866	return s
30867}
30868
30869// SetVersionDescription sets the VersionDescription field's value.
30870func (s *UpdateDashboardInput) SetVersionDescription(v string) *UpdateDashboardInput {
30871	s.VersionDescription = &v
30872	return s
30873}
30874
30875type UpdateDashboardOutput struct {
30876	_ struct{} `type:"structure"`
30877
30878	// The Amazon Resource Name (ARN) of the resource.
30879	Arn *string `type:"string"`
30880
30881	// The creation status of the request.
30882	CreationStatus *string `type:"string" enum:"ResourceStatus"`
30883
30884	// The ID for the dashboard.
30885	DashboardId *string `min:"1" type:"string"`
30886
30887	// The AWS request ID for this operation.
30888	RequestId *string `type:"string"`
30889
30890	// The HTTP status of the request.
30891	Status *int64 `type:"integer"`
30892
30893	// The ARN of the dashboard, including the version number.
30894	VersionArn *string `type:"string"`
30895}
30896
30897// String returns the string representation
30898func (s UpdateDashboardOutput) String() string {
30899	return awsutil.Prettify(s)
30900}
30901
30902// GoString returns the string representation
30903func (s UpdateDashboardOutput) GoString() string {
30904	return s.String()
30905}
30906
30907// SetArn sets the Arn field's value.
30908func (s *UpdateDashboardOutput) SetArn(v string) *UpdateDashboardOutput {
30909	s.Arn = &v
30910	return s
30911}
30912
30913// SetCreationStatus sets the CreationStatus field's value.
30914func (s *UpdateDashboardOutput) SetCreationStatus(v string) *UpdateDashboardOutput {
30915	s.CreationStatus = &v
30916	return s
30917}
30918
30919// SetDashboardId sets the DashboardId field's value.
30920func (s *UpdateDashboardOutput) SetDashboardId(v string) *UpdateDashboardOutput {
30921	s.DashboardId = &v
30922	return s
30923}
30924
30925// SetRequestId sets the RequestId field's value.
30926func (s *UpdateDashboardOutput) SetRequestId(v string) *UpdateDashboardOutput {
30927	s.RequestId = &v
30928	return s
30929}
30930
30931// SetStatus sets the Status field's value.
30932func (s *UpdateDashboardOutput) SetStatus(v int64) *UpdateDashboardOutput {
30933	s.Status = &v
30934	return s
30935}
30936
30937// SetVersionArn sets the VersionArn field's value.
30938func (s *UpdateDashboardOutput) SetVersionArn(v string) *UpdateDashboardOutput {
30939	s.VersionArn = &v
30940	return s
30941}
30942
30943type UpdateDashboardPermissionsInput struct {
30944	_ struct{} `type:"structure"`
30945
30946	// The ID of the AWS account that contains the dashboard whose permissions you're
30947	// updating.
30948	//
30949	// AwsAccountId is a required field
30950	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
30951
30952	// The ID for the dashboard.
30953	//
30954	// DashboardId is a required field
30955	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
30956
30957	// The permissions that you want to grant on this resource.
30958	GrantPermissions []*ResourcePermission `type:"list"`
30959
30960	// The permissions that you want to revoke from this resource.
30961	RevokePermissions []*ResourcePermission `type:"list"`
30962}
30963
30964// String returns the string representation
30965func (s UpdateDashboardPermissionsInput) String() string {
30966	return awsutil.Prettify(s)
30967}
30968
30969// GoString returns the string representation
30970func (s UpdateDashboardPermissionsInput) GoString() string {
30971	return s.String()
30972}
30973
30974// Validate inspects the fields of the type to determine if they are valid.
30975func (s *UpdateDashboardPermissionsInput) Validate() error {
30976	invalidParams := request.ErrInvalidParams{Context: "UpdateDashboardPermissionsInput"}
30977	if s.AwsAccountId == nil {
30978		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
30979	}
30980	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
30981		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
30982	}
30983	if s.DashboardId == nil {
30984		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
30985	}
30986	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
30987		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
30988	}
30989	if s.GrantPermissions != nil {
30990		for i, v := range s.GrantPermissions {
30991			if v == nil {
30992				continue
30993			}
30994			if err := v.Validate(); err != nil {
30995				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
30996			}
30997		}
30998	}
30999	if s.RevokePermissions != nil {
31000		for i, v := range s.RevokePermissions {
31001			if v == nil {
31002				continue
31003			}
31004			if err := v.Validate(); err != nil {
31005				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
31006			}
31007		}
31008	}
31009
31010	if invalidParams.Len() > 0 {
31011		return invalidParams
31012	}
31013	return nil
31014}
31015
31016// SetAwsAccountId sets the AwsAccountId field's value.
31017func (s *UpdateDashboardPermissionsInput) SetAwsAccountId(v string) *UpdateDashboardPermissionsInput {
31018	s.AwsAccountId = &v
31019	return s
31020}
31021
31022// SetDashboardId sets the DashboardId field's value.
31023func (s *UpdateDashboardPermissionsInput) SetDashboardId(v string) *UpdateDashboardPermissionsInput {
31024	s.DashboardId = &v
31025	return s
31026}
31027
31028// SetGrantPermissions sets the GrantPermissions field's value.
31029func (s *UpdateDashboardPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateDashboardPermissionsInput {
31030	s.GrantPermissions = v
31031	return s
31032}
31033
31034// SetRevokePermissions sets the RevokePermissions field's value.
31035func (s *UpdateDashboardPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateDashboardPermissionsInput {
31036	s.RevokePermissions = v
31037	return s
31038}
31039
31040type UpdateDashboardPermissionsOutput struct {
31041	_ struct{} `type:"structure"`
31042
31043	// The Amazon Resource Name (ARN) of the dashboard.
31044	DashboardArn *string `type:"string"`
31045
31046	// The ID for the dashboard.
31047	DashboardId *string `min:"1" type:"string"`
31048
31049	// Information about the permissions on the dashboard.
31050	Permissions []*ResourcePermission `min:"1" type:"list"`
31051
31052	// The AWS request ID for this operation.
31053	RequestId *string `type:"string"`
31054
31055	// The HTTP status of the request.
31056	Status *int64 `location:"statusCode" type:"integer"`
31057}
31058
31059// String returns the string representation
31060func (s UpdateDashboardPermissionsOutput) String() string {
31061	return awsutil.Prettify(s)
31062}
31063
31064// GoString returns the string representation
31065func (s UpdateDashboardPermissionsOutput) GoString() string {
31066	return s.String()
31067}
31068
31069// SetDashboardArn sets the DashboardArn field's value.
31070func (s *UpdateDashboardPermissionsOutput) SetDashboardArn(v string) *UpdateDashboardPermissionsOutput {
31071	s.DashboardArn = &v
31072	return s
31073}
31074
31075// SetDashboardId sets the DashboardId field's value.
31076func (s *UpdateDashboardPermissionsOutput) SetDashboardId(v string) *UpdateDashboardPermissionsOutput {
31077	s.DashboardId = &v
31078	return s
31079}
31080
31081// SetPermissions sets the Permissions field's value.
31082func (s *UpdateDashboardPermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateDashboardPermissionsOutput {
31083	s.Permissions = v
31084	return s
31085}
31086
31087// SetRequestId sets the RequestId field's value.
31088func (s *UpdateDashboardPermissionsOutput) SetRequestId(v string) *UpdateDashboardPermissionsOutput {
31089	s.RequestId = &v
31090	return s
31091}
31092
31093// SetStatus sets the Status field's value.
31094func (s *UpdateDashboardPermissionsOutput) SetStatus(v int64) *UpdateDashboardPermissionsOutput {
31095	s.Status = &v
31096	return s
31097}
31098
31099type UpdateDashboardPublishedVersionInput struct {
31100	_ struct{} `type:"structure"`
31101
31102	// The ID of the AWS account that contains the dashboard that you're updating.
31103	//
31104	// AwsAccountId is a required field
31105	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
31106
31107	// The ID for the dashboard.
31108	//
31109	// DashboardId is a required field
31110	DashboardId *string `location:"uri" locationName:"DashboardId" min:"1" type:"string" required:"true"`
31111
31112	// The version number of the dashboard.
31113	//
31114	// VersionNumber is a required field
31115	VersionNumber *int64 `location:"uri" locationName:"VersionNumber" min:"1" type:"long" required:"true"`
31116}
31117
31118// String returns the string representation
31119func (s UpdateDashboardPublishedVersionInput) String() string {
31120	return awsutil.Prettify(s)
31121}
31122
31123// GoString returns the string representation
31124func (s UpdateDashboardPublishedVersionInput) GoString() string {
31125	return s.String()
31126}
31127
31128// Validate inspects the fields of the type to determine if they are valid.
31129func (s *UpdateDashboardPublishedVersionInput) Validate() error {
31130	invalidParams := request.ErrInvalidParams{Context: "UpdateDashboardPublishedVersionInput"}
31131	if s.AwsAccountId == nil {
31132		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
31133	}
31134	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
31135		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
31136	}
31137	if s.DashboardId == nil {
31138		invalidParams.Add(request.NewErrParamRequired("DashboardId"))
31139	}
31140	if s.DashboardId != nil && len(*s.DashboardId) < 1 {
31141		invalidParams.Add(request.NewErrParamMinLen("DashboardId", 1))
31142	}
31143	if s.VersionNumber == nil {
31144		invalidParams.Add(request.NewErrParamRequired("VersionNumber"))
31145	}
31146	if s.VersionNumber != nil && *s.VersionNumber < 1 {
31147		invalidParams.Add(request.NewErrParamMinValue("VersionNumber", 1))
31148	}
31149
31150	if invalidParams.Len() > 0 {
31151		return invalidParams
31152	}
31153	return nil
31154}
31155
31156// SetAwsAccountId sets the AwsAccountId field's value.
31157func (s *UpdateDashboardPublishedVersionInput) SetAwsAccountId(v string) *UpdateDashboardPublishedVersionInput {
31158	s.AwsAccountId = &v
31159	return s
31160}
31161
31162// SetDashboardId sets the DashboardId field's value.
31163func (s *UpdateDashboardPublishedVersionInput) SetDashboardId(v string) *UpdateDashboardPublishedVersionInput {
31164	s.DashboardId = &v
31165	return s
31166}
31167
31168// SetVersionNumber sets the VersionNumber field's value.
31169func (s *UpdateDashboardPublishedVersionInput) SetVersionNumber(v int64) *UpdateDashboardPublishedVersionInput {
31170	s.VersionNumber = &v
31171	return s
31172}
31173
31174type UpdateDashboardPublishedVersionOutput struct {
31175	_ struct{} `type:"structure"`
31176
31177	// The Amazon Resource Name (ARN) of the dashboard.
31178	DashboardArn *string `type:"string"`
31179
31180	// The ID for the dashboard.
31181	DashboardId *string `min:"1" type:"string"`
31182
31183	// The AWS request ID for this operation.
31184	RequestId *string `type:"string"`
31185
31186	// The HTTP status of the request.
31187	Status *int64 `location:"statusCode" type:"integer"`
31188}
31189
31190// String returns the string representation
31191func (s UpdateDashboardPublishedVersionOutput) String() string {
31192	return awsutil.Prettify(s)
31193}
31194
31195// GoString returns the string representation
31196func (s UpdateDashboardPublishedVersionOutput) GoString() string {
31197	return s.String()
31198}
31199
31200// SetDashboardArn sets the DashboardArn field's value.
31201func (s *UpdateDashboardPublishedVersionOutput) SetDashboardArn(v string) *UpdateDashboardPublishedVersionOutput {
31202	s.DashboardArn = &v
31203	return s
31204}
31205
31206// SetDashboardId sets the DashboardId field's value.
31207func (s *UpdateDashboardPublishedVersionOutput) SetDashboardId(v string) *UpdateDashboardPublishedVersionOutput {
31208	s.DashboardId = &v
31209	return s
31210}
31211
31212// SetRequestId sets the RequestId field's value.
31213func (s *UpdateDashboardPublishedVersionOutput) SetRequestId(v string) *UpdateDashboardPublishedVersionOutput {
31214	s.RequestId = &v
31215	return s
31216}
31217
31218// SetStatus sets the Status field's value.
31219func (s *UpdateDashboardPublishedVersionOutput) SetStatus(v int64) *UpdateDashboardPublishedVersionOutput {
31220	s.Status = &v
31221	return s
31222}
31223
31224type UpdateDataSetInput struct {
31225	_ struct{} `type:"structure"`
31226
31227	// The AWS account ID.
31228	//
31229	// AwsAccountId is a required field
31230	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
31231
31232	// Groupings of columns that work together in certain QuickSight features. Currently,
31233	// only geospatial hierarchy is supported.
31234	ColumnGroups []*ColumnGroup `min:"1" type:"list"`
31235
31236	// A set of one or more definitions of a ColumnLevelPermissionRule .
31237	ColumnLevelPermissionRules []*ColumnLevelPermissionRule `min:"1" type:"list"`
31238
31239	// The ID for the dataset that you want to update. This ID is unique per AWS
31240	// Region for each AWS account.
31241	//
31242	// DataSetId is a required field
31243	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
31244
31245	// The folder that contains fields and nested subfolders for your dataset.
31246	FieldFolders map[string]*FieldFolder `type:"map"`
31247
31248	// Indicates whether you want to import the data into SPICE.
31249	//
31250	// ImportMode is a required field
31251	ImportMode *string `type:"string" required:"true" enum:"DataSetImportMode"`
31252
31253	// Configures the combination and transformation of the data from the physical
31254	// tables.
31255	LogicalTableMap map[string]*LogicalTable `min:"1" type:"map"`
31256
31257	// The display name for the dataset.
31258	//
31259	// Name is a required field
31260	Name *string `min:"1" type:"string" required:"true"`
31261
31262	// Declares the physical tables that are available in the underlying data sources.
31263	//
31264	// PhysicalTableMap is a required field
31265	PhysicalTableMap map[string]*PhysicalTable `min:"1" type:"map" required:"true"`
31266
31267	// The row-level security configuration for the data you want to create.
31268	RowLevelPermissionDataSet *RowLevelPermissionDataSet `type:"structure"`
31269}
31270
31271// String returns the string representation
31272func (s UpdateDataSetInput) String() string {
31273	return awsutil.Prettify(s)
31274}
31275
31276// GoString returns the string representation
31277func (s UpdateDataSetInput) GoString() string {
31278	return s.String()
31279}
31280
31281// Validate inspects the fields of the type to determine if they are valid.
31282func (s *UpdateDataSetInput) Validate() error {
31283	invalidParams := request.ErrInvalidParams{Context: "UpdateDataSetInput"}
31284	if s.AwsAccountId == nil {
31285		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
31286	}
31287	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
31288		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
31289	}
31290	if s.ColumnGroups != nil && len(s.ColumnGroups) < 1 {
31291		invalidParams.Add(request.NewErrParamMinLen("ColumnGroups", 1))
31292	}
31293	if s.ColumnLevelPermissionRules != nil && len(s.ColumnLevelPermissionRules) < 1 {
31294		invalidParams.Add(request.NewErrParamMinLen("ColumnLevelPermissionRules", 1))
31295	}
31296	if s.DataSetId == nil {
31297		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
31298	}
31299	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
31300		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
31301	}
31302	if s.ImportMode == nil {
31303		invalidParams.Add(request.NewErrParamRequired("ImportMode"))
31304	}
31305	if s.LogicalTableMap != nil && len(s.LogicalTableMap) < 1 {
31306		invalidParams.Add(request.NewErrParamMinLen("LogicalTableMap", 1))
31307	}
31308	if s.Name == nil {
31309		invalidParams.Add(request.NewErrParamRequired("Name"))
31310	}
31311	if s.Name != nil && len(*s.Name) < 1 {
31312		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
31313	}
31314	if s.PhysicalTableMap == nil {
31315		invalidParams.Add(request.NewErrParamRequired("PhysicalTableMap"))
31316	}
31317	if s.PhysicalTableMap != nil && len(s.PhysicalTableMap) < 1 {
31318		invalidParams.Add(request.NewErrParamMinLen("PhysicalTableMap", 1))
31319	}
31320	if s.ColumnGroups != nil {
31321		for i, v := range s.ColumnGroups {
31322			if v == nil {
31323				continue
31324			}
31325			if err := v.Validate(); err != nil {
31326				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnGroups", i), err.(request.ErrInvalidParams))
31327			}
31328		}
31329	}
31330	if s.ColumnLevelPermissionRules != nil {
31331		for i, v := range s.ColumnLevelPermissionRules {
31332			if v == nil {
31333				continue
31334			}
31335			if err := v.Validate(); err != nil {
31336				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ColumnLevelPermissionRules", i), err.(request.ErrInvalidParams))
31337			}
31338		}
31339	}
31340	if s.LogicalTableMap != nil {
31341		for i, v := range s.LogicalTableMap {
31342			if v == nil {
31343				continue
31344			}
31345			if err := v.Validate(); err != nil {
31346				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "LogicalTableMap", i), err.(request.ErrInvalidParams))
31347			}
31348		}
31349	}
31350	if s.PhysicalTableMap != nil {
31351		for i, v := range s.PhysicalTableMap {
31352			if v == nil {
31353				continue
31354			}
31355			if err := v.Validate(); err != nil {
31356				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PhysicalTableMap", i), err.(request.ErrInvalidParams))
31357			}
31358		}
31359	}
31360	if s.RowLevelPermissionDataSet != nil {
31361		if err := s.RowLevelPermissionDataSet.Validate(); err != nil {
31362			invalidParams.AddNested("RowLevelPermissionDataSet", err.(request.ErrInvalidParams))
31363		}
31364	}
31365
31366	if invalidParams.Len() > 0 {
31367		return invalidParams
31368	}
31369	return nil
31370}
31371
31372// SetAwsAccountId sets the AwsAccountId field's value.
31373func (s *UpdateDataSetInput) SetAwsAccountId(v string) *UpdateDataSetInput {
31374	s.AwsAccountId = &v
31375	return s
31376}
31377
31378// SetColumnGroups sets the ColumnGroups field's value.
31379func (s *UpdateDataSetInput) SetColumnGroups(v []*ColumnGroup) *UpdateDataSetInput {
31380	s.ColumnGroups = v
31381	return s
31382}
31383
31384// SetColumnLevelPermissionRules sets the ColumnLevelPermissionRules field's value.
31385func (s *UpdateDataSetInput) SetColumnLevelPermissionRules(v []*ColumnLevelPermissionRule) *UpdateDataSetInput {
31386	s.ColumnLevelPermissionRules = v
31387	return s
31388}
31389
31390// SetDataSetId sets the DataSetId field's value.
31391func (s *UpdateDataSetInput) SetDataSetId(v string) *UpdateDataSetInput {
31392	s.DataSetId = &v
31393	return s
31394}
31395
31396// SetFieldFolders sets the FieldFolders field's value.
31397func (s *UpdateDataSetInput) SetFieldFolders(v map[string]*FieldFolder) *UpdateDataSetInput {
31398	s.FieldFolders = v
31399	return s
31400}
31401
31402// SetImportMode sets the ImportMode field's value.
31403func (s *UpdateDataSetInput) SetImportMode(v string) *UpdateDataSetInput {
31404	s.ImportMode = &v
31405	return s
31406}
31407
31408// SetLogicalTableMap sets the LogicalTableMap field's value.
31409func (s *UpdateDataSetInput) SetLogicalTableMap(v map[string]*LogicalTable) *UpdateDataSetInput {
31410	s.LogicalTableMap = v
31411	return s
31412}
31413
31414// SetName sets the Name field's value.
31415func (s *UpdateDataSetInput) SetName(v string) *UpdateDataSetInput {
31416	s.Name = &v
31417	return s
31418}
31419
31420// SetPhysicalTableMap sets the PhysicalTableMap field's value.
31421func (s *UpdateDataSetInput) SetPhysicalTableMap(v map[string]*PhysicalTable) *UpdateDataSetInput {
31422	s.PhysicalTableMap = v
31423	return s
31424}
31425
31426// SetRowLevelPermissionDataSet sets the RowLevelPermissionDataSet field's value.
31427func (s *UpdateDataSetInput) SetRowLevelPermissionDataSet(v *RowLevelPermissionDataSet) *UpdateDataSetInput {
31428	s.RowLevelPermissionDataSet = v
31429	return s
31430}
31431
31432type UpdateDataSetOutput struct {
31433	_ struct{} `type:"structure"`
31434
31435	// The Amazon Resource Name (ARN) of the dataset.
31436	Arn *string `type:"string"`
31437
31438	// The ID for the dataset that you want to create. This ID is unique per AWS
31439	// Region for each AWS account.
31440	DataSetId *string `type:"string"`
31441
31442	// The ARN for the ingestion, which is triggered as a result of dataset creation
31443	// if the import mode is SPICE.
31444	IngestionArn *string `type:"string"`
31445
31446	// The ID of the ingestion, which is triggered as a result of dataset creation
31447	// if the import mode is SPICE.
31448	IngestionId *string `type:"string"`
31449
31450	// The AWS request ID for this operation.
31451	RequestId *string `type:"string"`
31452
31453	// The HTTP status of the request.
31454	Status *int64 `location:"statusCode" type:"integer"`
31455}
31456
31457// String returns the string representation
31458func (s UpdateDataSetOutput) String() string {
31459	return awsutil.Prettify(s)
31460}
31461
31462// GoString returns the string representation
31463func (s UpdateDataSetOutput) GoString() string {
31464	return s.String()
31465}
31466
31467// SetArn sets the Arn field's value.
31468func (s *UpdateDataSetOutput) SetArn(v string) *UpdateDataSetOutput {
31469	s.Arn = &v
31470	return s
31471}
31472
31473// SetDataSetId sets the DataSetId field's value.
31474func (s *UpdateDataSetOutput) SetDataSetId(v string) *UpdateDataSetOutput {
31475	s.DataSetId = &v
31476	return s
31477}
31478
31479// SetIngestionArn sets the IngestionArn field's value.
31480func (s *UpdateDataSetOutput) SetIngestionArn(v string) *UpdateDataSetOutput {
31481	s.IngestionArn = &v
31482	return s
31483}
31484
31485// SetIngestionId sets the IngestionId field's value.
31486func (s *UpdateDataSetOutput) SetIngestionId(v string) *UpdateDataSetOutput {
31487	s.IngestionId = &v
31488	return s
31489}
31490
31491// SetRequestId sets the RequestId field's value.
31492func (s *UpdateDataSetOutput) SetRequestId(v string) *UpdateDataSetOutput {
31493	s.RequestId = &v
31494	return s
31495}
31496
31497// SetStatus sets the Status field's value.
31498func (s *UpdateDataSetOutput) SetStatus(v int64) *UpdateDataSetOutput {
31499	s.Status = &v
31500	return s
31501}
31502
31503type UpdateDataSetPermissionsInput struct {
31504	_ struct{} `type:"structure"`
31505
31506	// The AWS account ID.
31507	//
31508	// AwsAccountId is a required field
31509	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
31510
31511	// The ID for the dataset whose permissions you want to update. This ID is unique
31512	// per AWS Region for each AWS account.
31513	//
31514	// DataSetId is a required field
31515	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
31516
31517	// The resource permissions that you want to grant to the dataset.
31518	GrantPermissions []*ResourcePermission `min:"1" type:"list"`
31519
31520	// The resource permissions that you want to revoke from the dataset.
31521	RevokePermissions []*ResourcePermission `min:"1" type:"list"`
31522}
31523
31524// String returns the string representation
31525func (s UpdateDataSetPermissionsInput) String() string {
31526	return awsutil.Prettify(s)
31527}
31528
31529// GoString returns the string representation
31530func (s UpdateDataSetPermissionsInput) GoString() string {
31531	return s.String()
31532}
31533
31534// Validate inspects the fields of the type to determine if they are valid.
31535func (s *UpdateDataSetPermissionsInput) Validate() error {
31536	invalidParams := request.ErrInvalidParams{Context: "UpdateDataSetPermissionsInput"}
31537	if s.AwsAccountId == nil {
31538		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
31539	}
31540	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
31541		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
31542	}
31543	if s.DataSetId == nil {
31544		invalidParams.Add(request.NewErrParamRequired("DataSetId"))
31545	}
31546	if s.DataSetId != nil && len(*s.DataSetId) < 1 {
31547		invalidParams.Add(request.NewErrParamMinLen("DataSetId", 1))
31548	}
31549	if s.GrantPermissions != nil && len(s.GrantPermissions) < 1 {
31550		invalidParams.Add(request.NewErrParamMinLen("GrantPermissions", 1))
31551	}
31552	if s.RevokePermissions != nil && len(s.RevokePermissions) < 1 {
31553		invalidParams.Add(request.NewErrParamMinLen("RevokePermissions", 1))
31554	}
31555	if s.GrantPermissions != nil {
31556		for i, v := range s.GrantPermissions {
31557			if v == nil {
31558				continue
31559			}
31560			if err := v.Validate(); err != nil {
31561				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
31562			}
31563		}
31564	}
31565	if s.RevokePermissions != nil {
31566		for i, v := range s.RevokePermissions {
31567			if v == nil {
31568				continue
31569			}
31570			if err := v.Validate(); err != nil {
31571				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
31572			}
31573		}
31574	}
31575
31576	if invalidParams.Len() > 0 {
31577		return invalidParams
31578	}
31579	return nil
31580}
31581
31582// SetAwsAccountId sets the AwsAccountId field's value.
31583func (s *UpdateDataSetPermissionsInput) SetAwsAccountId(v string) *UpdateDataSetPermissionsInput {
31584	s.AwsAccountId = &v
31585	return s
31586}
31587
31588// SetDataSetId sets the DataSetId field's value.
31589func (s *UpdateDataSetPermissionsInput) SetDataSetId(v string) *UpdateDataSetPermissionsInput {
31590	s.DataSetId = &v
31591	return s
31592}
31593
31594// SetGrantPermissions sets the GrantPermissions field's value.
31595func (s *UpdateDataSetPermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateDataSetPermissionsInput {
31596	s.GrantPermissions = v
31597	return s
31598}
31599
31600// SetRevokePermissions sets the RevokePermissions field's value.
31601func (s *UpdateDataSetPermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateDataSetPermissionsInput {
31602	s.RevokePermissions = v
31603	return s
31604}
31605
31606type UpdateDataSetPermissionsOutput struct {
31607	_ struct{} `type:"structure"`
31608
31609	// The Amazon Resource Name (ARN) of the dataset.
31610	DataSetArn *string `type:"string"`
31611
31612	// The ID for the dataset whose permissions you want to update. This ID is unique
31613	// per AWS Region for each AWS account.
31614	DataSetId *string `type:"string"`
31615
31616	// The AWS request ID for this operation.
31617	RequestId *string `type:"string"`
31618
31619	// The HTTP status of the request.
31620	Status *int64 `location:"statusCode" type:"integer"`
31621}
31622
31623// String returns the string representation
31624func (s UpdateDataSetPermissionsOutput) String() string {
31625	return awsutil.Prettify(s)
31626}
31627
31628// GoString returns the string representation
31629func (s UpdateDataSetPermissionsOutput) GoString() string {
31630	return s.String()
31631}
31632
31633// SetDataSetArn sets the DataSetArn field's value.
31634func (s *UpdateDataSetPermissionsOutput) SetDataSetArn(v string) *UpdateDataSetPermissionsOutput {
31635	s.DataSetArn = &v
31636	return s
31637}
31638
31639// SetDataSetId sets the DataSetId field's value.
31640func (s *UpdateDataSetPermissionsOutput) SetDataSetId(v string) *UpdateDataSetPermissionsOutput {
31641	s.DataSetId = &v
31642	return s
31643}
31644
31645// SetRequestId sets the RequestId field's value.
31646func (s *UpdateDataSetPermissionsOutput) SetRequestId(v string) *UpdateDataSetPermissionsOutput {
31647	s.RequestId = &v
31648	return s
31649}
31650
31651// SetStatus sets the Status field's value.
31652func (s *UpdateDataSetPermissionsOutput) SetStatus(v int64) *UpdateDataSetPermissionsOutput {
31653	s.Status = &v
31654	return s
31655}
31656
31657type UpdateDataSourceInput struct {
31658	_ struct{} `type:"structure"`
31659
31660	// The AWS account ID.
31661	//
31662	// AwsAccountId is a required field
31663	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
31664
31665	// The credentials that QuickSight that uses to connect to your underlying source.
31666	// Currently, only credentials based on user name and password are supported.
31667	Credentials *DataSourceCredentials `type:"structure" sensitive:"true"`
31668
31669	// The ID of the data source. This ID is unique per AWS Region for each AWS
31670	// account.
31671	//
31672	// DataSourceId is a required field
31673	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
31674
31675	// The parameters that QuickSight uses to connect to your underlying source.
31676	DataSourceParameters *DataSourceParameters `type:"structure"`
31677
31678	// A display name for the data source.
31679	//
31680	// Name is a required field
31681	Name *string `min:"1" type:"string" required:"true"`
31682
31683	// Secure Socket Layer (SSL) properties that apply when QuickSight connects
31684	// to your underlying source.
31685	SslProperties *SslProperties `type:"structure"`
31686
31687	// Use this parameter only when you want QuickSight to use a VPC connection
31688	// when connecting to your underlying source.
31689	VpcConnectionProperties *VpcConnectionProperties `type:"structure"`
31690}
31691
31692// String returns the string representation
31693func (s UpdateDataSourceInput) String() string {
31694	return awsutil.Prettify(s)
31695}
31696
31697// GoString returns the string representation
31698func (s UpdateDataSourceInput) GoString() string {
31699	return s.String()
31700}
31701
31702// Validate inspects the fields of the type to determine if they are valid.
31703func (s *UpdateDataSourceInput) Validate() error {
31704	invalidParams := request.ErrInvalidParams{Context: "UpdateDataSourceInput"}
31705	if s.AwsAccountId == nil {
31706		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
31707	}
31708	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
31709		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
31710	}
31711	if s.DataSourceId == nil {
31712		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
31713	}
31714	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
31715		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
31716	}
31717	if s.Name == nil {
31718		invalidParams.Add(request.NewErrParamRequired("Name"))
31719	}
31720	if s.Name != nil && len(*s.Name) < 1 {
31721		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
31722	}
31723	if s.Credentials != nil {
31724		if err := s.Credentials.Validate(); err != nil {
31725			invalidParams.AddNested("Credentials", err.(request.ErrInvalidParams))
31726		}
31727	}
31728	if s.DataSourceParameters != nil {
31729		if err := s.DataSourceParameters.Validate(); err != nil {
31730			invalidParams.AddNested("DataSourceParameters", err.(request.ErrInvalidParams))
31731		}
31732	}
31733	if s.VpcConnectionProperties != nil {
31734		if err := s.VpcConnectionProperties.Validate(); err != nil {
31735			invalidParams.AddNested("VpcConnectionProperties", err.(request.ErrInvalidParams))
31736		}
31737	}
31738
31739	if invalidParams.Len() > 0 {
31740		return invalidParams
31741	}
31742	return nil
31743}
31744
31745// SetAwsAccountId sets the AwsAccountId field's value.
31746func (s *UpdateDataSourceInput) SetAwsAccountId(v string) *UpdateDataSourceInput {
31747	s.AwsAccountId = &v
31748	return s
31749}
31750
31751// SetCredentials sets the Credentials field's value.
31752func (s *UpdateDataSourceInput) SetCredentials(v *DataSourceCredentials) *UpdateDataSourceInput {
31753	s.Credentials = v
31754	return s
31755}
31756
31757// SetDataSourceId sets the DataSourceId field's value.
31758func (s *UpdateDataSourceInput) SetDataSourceId(v string) *UpdateDataSourceInput {
31759	s.DataSourceId = &v
31760	return s
31761}
31762
31763// SetDataSourceParameters sets the DataSourceParameters field's value.
31764func (s *UpdateDataSourceInput) SetDataSourceParameters(v *DataSourceParameters) *UpdateDataSourceInput {
31765	s.DataSourceParameters = v
31766	return s
31767}
31768
31769// SetName sets the Name field's value.
31770func (s *UpdateDataSourceInput) SetName(v string) *UpdateDataSourceInput {
31771	s.Name = &v
31772	return s
31773}
31774
31775// SetSslProperties sets the SslProperties field's value.
31776func (s *UpdateDataSourceInput) SetSslProperties(v *SslProperties) *UpdateDataSourceInput {
31777	s.SslProperties = v
31778	return s
31779}
31780
31781// SetVpcConnectionProperties sets the VpcConnectionProperties field's value.
31782func (s *UpdateDataSourceInput) SetVpcConnectionProperties(v *VpcConnectionProperties) *UpdateDataSourceInput {
31783	s.VpcConnectionProperties = v
31784	return s
31785}
31786
31787type UpdateDataSourceOutput struct {
31788	_ struct{} `type:"structure"`
31789
31790	// The Amazon Resource Name (ARN) of the data source.
31791	Arn *string `type:"string"`
31792
31793	// The ID of the data source. This ID is unique per AWS Region for each AWS
31794	// account.
31795	DataSourceId *string `type:"string"`
31796
31797	// The AWS request ID for this operation.
31798	RequestId *string `type:"string"`
31799
31800	// The HTTP status of the request.
31801	Status *int64 `location:"statusCode" type:"integer"`
31802
31803	// The update status of the data source's last update.
31804	UpdateStatus *string `type:"string" enum:"ResourceStatus"`
31805}
31806
31807// String returns the string representation
31808func (s UpdateDataSourceOutput) String() string {
31809	return awsutil.Prettify(s)
31810}
31811
31812// GoString returns the string representation
31813func (s UpdateDataSourceOutput) GoString() string {
31814	return s.String()
31815}
31816
31817// SetArn sets the Arn field's value.
31818func (s *UpdateDataSourceOutput) SetArn(v string) *UpdateDataSourceOutput {
31819	s.Arn = &v
31820	return s
31821}
31822
31823// SetDataSourceId sets the DataSourceId field's value.
31824func (s *UpdateDataSourceOutput) SetDataSourceId(v string) *UpdateDataSourceOutput {
31825	s.DataSourceId = &v
31826	return s
31827}
31828
31829// SetRequestId sets the RequestId field's value.
31830func (s *UpdateDataSourceOutput) SetRequestId(v string) *UpdateDataSourceOutput {
31831	s.RequestId = &v
31832	return s
31833}
31834
31835// SetStatus sets the Status field's value.
31836func (s *UpdateDataSourceOutput) SetStatus(v int64) *UpdateDataSourceOutput {
31837	s.Status = &v
31838	return s
31839}
31840
31841// SetUpdateStatus sets the UpdateStatus field's value.
31842func (s *UpdateDataSourceOutput) SetUpdateStatus(v string) *UpdateDataSourceOutput {
31843	s.UpdateStatus = &v
31844	return s
31845}
31846
31847type UpdateDataSourcePermissionsInput struct {
31848	_ struct{} `type:"structure"`
31849
31850	// The AWS account ID.
31851	//
31852	// AwsAccountId is a required field
31853	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
31854
31855	// The ID of the data source. This ID is unique per AWS Region for each AWS
31856	// account.
31857	//
31858	// DataSourceId is a required field
31859	DataSourceId *string `location:"uri" locationName:"DataSourceId" type:"string" required:"true"`
31860
31861	// A list of resource permissions that you want to grant on the data source.
31862	GrantPermissions []*ResourcePermission `min:"1" type:"list"`
31863
31864	// A list of resource permissions that you want to revoke on the data source.
31865	RevokePermissions []*ResourcePermission `min:"1" type:"list"`
31866}
31867
31868// String returns the string representation
31869func (s UpdateDataSourcePermissionsInput) String() string {
31870	return awsutil.Prettify(s)
31871}
31872
31873// GoString returns the string representation
31874func (s UpdateDataSourcePermissionsInput) GoString() string {
31875	return s.String()
31876}
31877
31878// Validate inspects the fields of the type to determine if they are valid.
31879func (s *UpdateDataSourcePermissionsInput) Validate() error {
31880	invalidParams := request.ErrInvalidParams{Context: "UpdateDataSourcePermissionsInput"}
31881	if s.AwsAccountId == nil {
31882		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
31883	}
31884	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
31885		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
31886	}
31887	if s.DataSourceId == nil {
31888		invalidParams.Add(request.NewErrParamRequired("DataSourceId"))
31889	}
31890	if s.DataSourceId != nil && len(*s.DataSourceId) < 1 {
31891		invalidParams.Add(request.NewErrParamMinLen("DataSourceId", 1))
31892	}
31893	if s.GrantPermissions != nil && len(s.GrantPermissions) < 1 {
31894		invalidParams.Add(request.NewErrParamMinLen("GrantPermissions", 1))
31895	}
31896	if s.RevokePermissions != nil && len(s.RevokePermissions) < 1 {
31897		invalidParams.Add(request.NewErrParamMinLen("RevokePermissions", 1))
31898	}
31899	if s.GrantPermissions != nil {
31900		for i, v := range s.GrantPermissions {
31901			if v == nil {
31902				continue
31903			}
31904			if err := v.Validate(); err != nil {
31905				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
31906			}
31907		}
31908	}
31909	if s.RevokePermissions != nil {
31910		for i, v := range s.RevokePermissions {
31911			if v == nil {
31912				continue
31913			}
31914			if err := v.Validate(); err != nil {
31915				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
31916			}
31917		}
31918	}
31919
31920	if invalidParams.Len() > 0 {
31921		return invalidParams
31922	}
31923	return nil
31924}
31925
31926// SetAwsAccountId sets the AwsAccountId field's value.
31927func (s *UpdateDataSourcePermissionsInput) SetAwsAccountId(v string) *UpdateDataSourcePermissionsInput {
31928	s.AwsAccountId = &v
31929	return s
31930}
31931
31932// SetDataSourceId sets the DataSourceId field's value.
31933func (s *UpdateDataSourcePermissionsInput) SetDataSourceId(v string) *UpdateDataSourcePermissionsInput {
31934	s.DataSourceId = &v
31935	return s
31936}
31937
31938// SetGrantPermissions sets the GrantPermissions field's value.
31939func (s *UpdateDataSourcePermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateDataSourcePermissionsInput {
31940	s.GrantPermissions = v
31941	return s
31942}
31943
31944// SetRevokePermissions sets the RevokePermissions field's value.
31945func (s *UpdateDataSourcePermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateDataSourcePermissionsInput {
31946	s.RevokePermissions = v
31947	return s
31948}
31949
31950type UpdateDataSourcePermissionsOutput struct {
31951	_ struct{} `type:"structure"`
31952
31953	// The Amazon Resource Name (ARN) of the data source.
31954	DataSourceArn *string `type:"string"`
31955
31956	// The ID of the data source. This ID is unique per AWS Region for each AWS
31957	// account.
31958	DataSourceId *string `type:"string"`
31959
31960	// The AWS request ID for this operation.
31961	RequestId *string `type:"string"`
31962
31963	// The HTTP status of the request.
31964	Status *int64 `location:"statusCode" type:"integer"`
31965}
31966
31967// String returns the string representation
31968func (s UpdateDataSourcePermissionsOutput) String() string {
31969	return awsutil.Prettify(s)
31970}
31971
31972// GoString returns the string representation
31973func (s UpdateDataSourcePermissionsOutput) GoString() string {
31974	return s.String()
31975}
31976
31977// SetDataSourceArn sets the DataSourceArn field's value.
31978func (s *UpdateDataSourcePermissionsOutput) SetDataSourceArn(v string) *UpdateDataSourcePermissionsOutput {
31979	s.DataSourceArn = &v
31980	return s
31981}
31982
31983// SetDataSourceId sets the DataSourceId field's value.
31984func (s *UpdateDataSourcePermissionsOutput) SetDataSourceId(v string) *UpdateDataSourcePermissionsOutput {
31985	s.DataSourceId = &v
31986	return s
31987}
31988
31989// SetRequestId sets the RequestId field's value.
31990func (s *UpdateDataSourcePermissionsOutput) SetRequestId(v string) *UpdateDataSourcePermissionsOutput {
31991	s.RequestId = &v
31992	return s
31993}
31994
31995// SetStatus sets the Status field's value.
31996func (s *UpdateDataSourcePermissionsOutput) SetStatus(v int64) *UpdateDataSourcePermissionsOutput {
31997	s.Status = &v
31998	return s
31999}
32000
32001type UpdateGroupInput struct {
32002	_ struct{} `type:"structure"`
32003
32004	// The ID for the AWS account that the group is in. Currently, you use the ID
32005	// for the AWS account that contains your Amazon QuickSight account.
32006	//
32007	// AwsAccountId is a required field
32008	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
32009
32010	// The description for the group that you want to update.
32011	Description *string `min:"1" type:"string"`
32012
32013	// The name of the group that you want to update.
32014	//
32015	// GroupName is a required field
32016	GroupName *string `location:"uri" locationName:"GroupName" min:"1" type:"string" required:"true"`
32017
32018	// The namespace. Currently, you should set this to default.
32019	//
32020	// Namespace is a required field
32021	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
32022}
32023
32024// String returns the string representation
32025func (s UpdateGroupInput) String() string {
32026	return awsutil.Prettify(s)
32027}
32028
32029// GoString returns the string representation
32030func (s UpdateGroupInput) GoString() string {
32031	return s.String()
32032}
32033
32034// Validate inspects the fields of the type to determine if they are valid.
32035func (s *UpdateGroupInput) Validate() error {
32036	invalidParams := request.ErrInvalidParams{Context: "UpdateGroupInput"}
32037	if s.AwsAccountId == nil {
32038		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
32039	}
32040	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
32041		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
32042	}
32043	if s.Description != nil && len(*s.Description) < 1 {
32044		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
32045	}
32046	if s.GroupName == nil {
32047		invalidParams.Add(request.NewErrParamRequired("GroupName"))
32048	}
32049	if s.GroupName != nil && len(*s.GroupName) < 1 {
32050		invalidParams.Add(request.NewErrParamMinLen("GroupName", 1))
32051	}
32052	if s.Namespace == nil {
32053		invalidParams.Add(request.NewErrParamRequired("Namespace"))
32054	}
32055	if s.Namespace != nil && len(*s.Namespace) < 1 {
32056		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
32057	}
32058
32059	if invalidParams.Len() > 0 {
32060		return invalidParams
32061	}
32062	return nil
32063}
32064
32065// SetAwsAccountId sets the AwsAccountId field's value.
32066func (s *UpdateGroupInput) SetAwsAccountId(v string) *UpdateGroupInput {
32067	s.AwsAccountId = &v
32068	return s
32069}
32070
32071// SetDescription sets the Description field's value.
32072func (s *UpdateGroupInput) SetDescription(v string) *UpdateGroupInput {
32073	s.Description = &v
32074	return s
32075}
32076
32077// SetGroupName sets the GroupName field's value.
32078func (s *UpdateGroupInput) SetGroupName(v string) *UpdateGroupInput {
32079	s.GroupName = &v
32080	return s
32081}
32082
32083// SetNamespace sets the Namespace field's value.
32084func (s *UpdateGroupInput) SetNamespace(v string) *UpdateGroupInput {
32085	s.Namespace = &v
32086	return s
32087}
32088
32089type UpdateGroupOutput struct {
32090	_ struct{} `type:"structure"`
32091
32092	// The name of the group.
32093	Group *Group `type:"structure"`
32094
32095	// The AWS request ID for this operation.
32096	RequestId *string `type:"string"`
32097
32098	// The HTTP status of the request.
32099	Status *int64 `location:"statusCode" type:"integer"`
32100}
32101
32102// String returns the string representation
32103func (s UpdateGroupOutput) String() string {
32104	return awsutil.Prettify(s)
32105}
32106
32107// GoString returns the string representation
32108func (s UpdateGroupOutput) GoString() string {
32109	return s.String()
32110}
32111
32112// SetGroup sets the Group field's value.
32113func (s *UpdateGroupOutput) SetGroup(v *Group) *UpdateGroupOutput {
32114	s.Group = v
32115	return s
32116}
32117
32118// SetRequestId sets the RequestId field's value.
32119func (s *UpdateGroupOutput) SetRequestId(v string) *UpdateGroupOutput {
32120	s.RequestId = &v
32121	return s
32122}
32123
32124// SetStatus sets the Status field's value.
32125func (s *UpdateGroupOutput) SetStatus(v int64) *UpdateGroupOutput {
32126	s.Status = &v
32127	return s
32128}
32129
32130type UpdateIAMPolicyAssignmentInput struct {
32131	_ struct{} `type:"structure"`
32132
32133	// The name of the assignment, also called a rule. This name must be unique
32134	// within an AWS account.
32135	//
32136	// AssignmentName is a required field
32137	AssignmentName *string `location:"uri" locationName:"AssignmentName" min:"1" type:"string" required:"true"`
32138
32139	// The status of the assignment. Possible values are as follows:
32140	//
32141	//    * ENABLED - Anything specified in this assignment is used when creating
32142	//    the data source.
32143	//
32144	//    * DISABLED - This assignment isn't used when creating the data source.
32145	//
32146	//    * DRAFT - This assignment is an unfinished draft and isn't used when creating
32147	//    the data source.
32148	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
32149
32150	// The ID of the AWS account that contains the IAM policy assignment.
32151	//
32152	// AwsAccountId is a required field
32153	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
32154
32155	// The QuickSight users, groups, or both that you want to assign the policy
32156	// to.
32157	Identities map[string][]*string `type:"map"`
32158
32159	// The namespace of the assignment.
32160	//
32161	// Namespace is a required field
32162	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
32163
32164	// The ARN for the IAM policy to apply to the QuickSight users and groups specified
32165	// in this assignment.
32166	PolicyArn *string `type:"string"`
32167}
32168
32169// String returns the string representation
32170func (s UpdateIAMPolicyAssignmentInput) String() string {
32171	return awsutil.Prettify(s)
32172}
32173
32174// GoString returns the string representation
32175func (s UpdateIAMPolicyAssignmentInput) GoString() string {
32176	return s.String()
32177}
32178
32179// Validate inspects the fields of the type to determine if they are valid.
32180func (s *UpdateIAMPolicyAssignmentInput) Validate() error {
32181	invalidParams := request.ErrInvalidParams{Context: "UpdateIAMPolicyAssignmentInput"}
32182	if s.AssignmentName == nil {
32183		invalidParams.Add(request.NewErrParamRequired("AssignmentName"))
32184	}
32185	if s.AssignmentName != nil && len(*s.AssignmentName) < 1 {
32186		invalidParams.Add(request.NewErrParamMinLen("AssignmentName", 1))
32187	}
32188	if s.AwsAccountId == nil {
32189		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
32190	}
32191	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
32192		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
32193	}
32194	if s.Namespace == nil {
32195		invalidParams.Add(request.NewErrParamRequired("Namespace"))
32196	}
32197	if s.Namespace != nil && len(*s.Namespace) < 1 {
32198		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
32199	}
32200
32201	if invalidParams.Len() > 0 {
32202		return invalidParams
32203	}
32204	return nil
32205}
32206
32207// SetAssignmentName sets the AssignmentName field's value.
32208func (s *UpdateIAMPolicyAssignmentInput) SetAssignmentName(v string) *UpdateIAMPolicyAssignmentInput {
32209	s.AssignmentName = &v
32210	return s
32211}
32212
32213// SetAssignmentStatus sets the AssignmentStatus field's value.
32214func (s *UpdateIAMPolicyAssignmentInput) SetAssignmentStatus(v string) *UpdateIAMPolicyAssignmentInput {
32215	s.AssignmentStatus = &v
32216	return s
32217}
32218
32219// SetAwsAccountId sets the AwsAccountId field's value.
32220func (s *UpdateIAMPolicyAssignmentInput) SetAwsAccountId(v string) *UpdateIAMPolicyAssignmentInput {
32221	s.AwsAccountId = &v
32222	return s
32223}
32224
32225// SetIdentities sets the Identities field's value.
32226func (s *UpdateIAMPolicyAssignmentInput) SetIdentities(v map[string][]*string) *UpdateIAMPolicyAssignmentInput {
32227	s.Identities = v
32228	return s
32229}
32230
32231// SetNamespace sets the Namespace field's value.
32232func (s *UpdateIAMPolicyAssignmentInput) SetNamespace(v string) *UpdateIAMPolicyAssignmentInput {
32233	s.Namespace = &v
32234	return s
32235}
32236
32237// SetPolicyArn sets the PolicyArn field's value.
32238func (s *UpdateIAMPolicyAssignmentInput) SetPolicyArn(v string) *UpdateIAMPolicyAssignmentInput {
32239	s.PolicyArn = &v
32240	return s
32241}
32242
32243type UpdateIAMPolicyAssignmentOutput struct {
32244	_ struct{} `type:"structure"`
32245
32246	// The ID of the assignment.
32247	AssignmentId *string `type:"string"`
32248
32249	// The name of the assignment or rule.
32250	AssignmentName *string `min:"1" type:"string"`
32251
32252	// The status of the assignment. Possible values are as follows:
32253	//
32254	//    * ENABLED - Anything specified in this assignment is used when creating
32255	//    the data source.
32256	//
32257	//    * DISABLED - This assignment isn't used when creating the data source.
32258	//
32259	//    * DRAFT - This assignment is an unfinished draft and isn't used when creating
32260	//    the data source.
32261	AssignmentStatus *string `type:"string" enum:"AssignmentStatus"`
32262
32263	// The QuickSight users, groups, or both that the IAM policy is assigned to.
32264	Identities map[string][]*string `type:"map"`
32265
32266	// The ARN for the IAM policy applied to the QuickSight users and groups specified
32267	// in this assignment.
32268	PolicyArn *string `type:"string"`
32269
32270	// The AWS request ID for this operation.
32271	RequestId *string `type:"string"`
32272
32273	// The HTTP status of the request.
32274	Status *int64 `location:"statusCode" type:"integer"`
32275}
32276
32277// String returns the string representation
32278func (s UpdateIAMPolicyAssignmentOutput) String() string {
32279	return awsutil.Prettify(s)
32280}
32281
32282// GoString returns the string representation
32283func (s UpdateIAMPolicyAssignmentOutput) GoString() string {
32284	return s.String()
32285}
32286
32287// SetAssignmentId sets the AssignmentId field's value.
32288func (s *UpdateIAMPolicyAssignmentOutput) SetAssignmentId(v string) *UpdateIAMPolicyAssignmentOutput {
32289	s.AssignmentId = &v
32290	return s
32291}
32292
32293// SetAssignmentName sets the AssignmentName field's value.
32294func (s *UpdateIAMPolicyAssignmentOutput) SetAssignmentName(v string) *UpdateIAMPolicyAssignmentOutput {
32295	s.AssignmentName = &v
32296	return s
32297}
32298
32299// SetAssignmentStatus sets the AssignmentStatus field's value.
32300func (s *UpdateIAMPolicyAssignmentOutput) SetAssignmentStatus(v string) *UpdateIAMPolicyAssignmentOutput {
32301	s.AssignmentStatus = &v
32302	return s
32303}
32304
32305// SetIdentities sets the Identities field's value.
32306func (s *UpdateIAMPolicyAssignmentOutput) SetIdentities(v map[string][]*string) *UpdateIAMPolicyAssignmentOutput {
32307	s.Identities = v
32308	return s
32309}
32310
32311// SetPolicyArn sets the PolicyArn field's value.
32312func (s *UpdateIAMPolicyAssignmentOutput) SetPolicyArn(v string) *UpdateIAMPolicyAssignmentOutput {
32313	s.PolicyArn = &v
32314	return s
32315}
32316
32317// SetRequestId sets the RequestId field's value.
32318func (s *UpdateIAMPolicyAssignmentOutput) SetRequestId(v string) *UpdateIAMPolicyAssignmentOutput {
32319	s.RequestId = &v
32320	return s
32321}
32322
32323// SetStatus sets the Status field's value.
32324func (s *UpdateIAMPolicyAssignmentOutput) SetStatus(v int64) *UpdateIAMPolicyAssignmentOutput {
32325	s.Status = &v
32326	return s
32327}
32328
32329type UpdateTemplateAliasInput struct {
32330	_ struct{} `type:"structure"`
32331
32332	// The alias of the template that you want to update. If you name a specific
32333	// alias, you update the version that the alias points to. You can specify the
32334	// latest version of the template by providing the keyword $LATEST in the AliasName
32335	// parameter. The keyword $PUBLISHED doesn't apply to templates.
32336	//
32337	// AliasName is a required field
32338	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
32339
32340	// The ID of the AWS account that contains the template alias that you're updating.
32341	//
32342	// AwsAccountId is a required field
32343	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
32344
32345	// The ID for the template.
32346	//
32347	// TemplateId is a required field
32348	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
32349
32350	// The version number of the template.
32351	//
32352	// TemplateVersionNumber is a required field
32353	TemplateVersionNumber *int64 `min:"1" type:"long" required:"true"`
32354}
32355
32356// String returns the string representation
32357func (s UpdateTemplateAliasInput) String() string {
32358	return awsutil.Prettify(s)
32359}
32360
32361// GoString returns the string representation
32362func (s UpdateTemplateAliasInput) GoString() string {
32363	return s.String()
32364}
32365
32366// Validate inspects the fields of the type to determine if they are valid.
32367func (s *UpdateTemplateAliasInput) Validate() error {
32368	invalidParams := request.ErrInvalidParams{Context: "UpdateTemplateAliasInput"}
32369	if s.AliasName == nil {
32370		invalidParams.Add(request.NewErrParamRequired("AliasName"))
32371	}
32372	if s.AliasName != nil && len(*s.AliasName) < 1 {
32373		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
32374	}
32375	if s.AwsAccountId == nil {
32376		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
32377	}
32378	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
32379		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
32380	}
32381	if s.TemplateId == nil {
32382		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
32383	}
32384	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
32385		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
32386	}
32387	if s.TemplateVersionNumber == nil {
32388		invalidParams.Add(request.NewErrParamRequired("TemplateVersionNumber"))
32389	}
32390	if s.TemplateVersionNumber != nil && *s.TemplateVersionNumber < 1 {
32391		invalidParams.Add(request.NewErrParamMinValue("TemplateVersionNumber", 1))
32392	}
32393
32394	if invalidParams.Len() > 0 {
32395		return invalidParams
32396	}
32397	return nil
32398}
32399
32400// SetAliasName sets the AliasName field's value.
32401func (s *UpdateTemplateAliasInput) SetAliasName(v string) *UpdateTemplateAliasInput {
32402	s.AliasName = &v
32403	return s
32404}
32405
32406// SetAwsAccountId sets the AwsAccountId field's value.
32407func (s *UpdateTemplateAliasInput) SetAwsAccountId(v string) *UpdateTemplateAliasInput {
32408	s.AwsAccountId = &v
32409	return s
32410}
32411
32412// SetTemplateId sets the TemplateId field's value.
32413func (s *UpdateTemplateAliasInput) SetTemplateId(v string) *UpdateTemplateAliasInput {
32414	s.TemplateId = &v
32415	return s
32416}
32417
32418// SetTemplateVersionNumber sets the TemplateVersionNumber field's value.
32419func (s *UpdateTemplateAliasInput) SetTemplateVersionNumber(v int64) *UpdateTemplateAliasInput {
32420	s.TemplateVersionNumber = &v
32421	return s
32422}
32423
32424type UpdateTemplateAliasOutput struct {
32425	_ struct{} `type:"structure"`
32426
32427	// The AWS request ID for this operation.
32428	RequestId *string `type:"string"`
32429
32430	// The HTTP status of the request.
32431	Status *int64 `location:"statusCode" type:"integer"`
32432
32433	// The template alias.
32434	TemplateAlias *TemplateAlias `type:"structure"`
32435}
32436
32437// String returns the string representation
32438func (s UpdateTemplateAliasOutput) String() string {
32439	return awsutil.Prettify(s)
32440}
32441
32442// GoString returns the string representation
32443func (s UpdateTemplateAliasOutput) GoString() string {
32444	return s.String()
32445}
32446
32447// SetRequestId sets the RequestId field's value.
32448func (s *UpdateTemplateAliasOutput) SetRequestId(v string) *UpdateTemplateAliasOutput {
32449	s.RequestId = &v
32450	return s
32451}
32452
32453// SetStatus sets the Status field's value.
32454func (s *UpdateTemplateAliasOutput) SetStatus(v int64) *UpdateTemplateAliasOutput {
32455	s.Status = &v
32456	return s
32457}
32458
32459// SetTemplateAlias sets the TemplateAlias field's value.
32460func (s *UpdateTemplateAliasOutput) SetTemplateAlias(v *TemplateAlias) *UpdateTemplateAliasOutput {
32461	s.TemplateAlias = v
32462	return s
32463}
32464
32465type UpdateTemplateInput struct {
32466	_ struct{} `type:"structure"`
32467
32468	// The ID of the AWS account that contains the template that you're updating.
32469	//
32470	// AwsAccountId is a required field
32471	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
32472
32473	// The name for the template.
32474	Name *string `min:"1" type:"string"`
32475
32476	// The entity that you are using as a source when you update the template. In
32477	// SourceEntity, you specify the type of object you're using as source: SourceTemplate
32478	// for a template or SourceAnalysis for an analysis. Both of these require an
32479	// Amazon Resource Name (ARN). For SourceTemplate, specify the ARN of the source
32480	// template. For SourceAnalysis, specify the ARN of the source analysis. The
32481	// SourceTemplate ARN can contain any AWS Account and any QuickSight-supported
32482	// AWS Region.
32483	//
32484	// Use the DataSetReferences entity within SourceTemplate or SourceAnalysis
32485	// to list the replacement datasets for the placeholders listed in the original.
32486	// The schema in each dataset must match its placeholder.
32487	//
32488	// SourceEntity is a required field
32489	SourceEntity *TemplateSourceEntity `type:"structure" required:"true"`
32490
32491	// The ID for the template.
32492	//
32493	// TemplateId is a required field
32494	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
32495
32496	// A description of the current template version that is being updated. Every
32497	// time you call UpdateTemplate, you create a new version of the template. Each
32498	// version of the template maintains a description of the version in the VersionDescription
32499	// field.
32500	VersionDescription *string `min:"1" type:"string"`
32501}
32502
32503// String returns the string representation
32504func (s UpdateTemplateInput) String() string {
32505	return awsutil.Prettify(s)
32506}
32507
32508// GoString returns the string representation
32509func (s UpdateTemplateInput) GoString() string {
32510	return s.String()
32511}
32512
32513// Validate inspects the fields of the type to determine if they are valid.
32514func (s *UpdateTemplateInput) Validate() error {
32515	invalidParams := request.ErrInvalidParams{Context: "UpdateTemplateInput"}
32516	if s.AwsAccountId == nil {
32517		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
32518	}
32519	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
32520		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
32521	}
32522	if s.Name != nil && len(*s.Name) < 1 {
32523		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
32524	}
32525	if s.SourceEntity == nil {
32526		invalidParams.Add(request.NewErrParamRequired("SourceEntity"))
32527	}
32528	if s.TemplateId == nil {
32529		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
32530	}
32531	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
32532		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
32533	}
32534	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
32535		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
32536	}
32537	if s.SourceEntity != nil {
32538		if err := s.SourceEntity.Validate(); err != nil {
32539			invalidParams.AddNested("SourceEntity", err.(request.ErrInvalidParams))
32540		}
32541	}
32542
32543	if invalidParams.Len() > 0 {
32544		return invalidParams
32545	}
32546	return nil
32547}
32548
32549// SetAwsAccountId sets the AwsAccountId field's value.
32550func (s *UpdateTemplateInput) SetAwsAccountId(v string) *UpdateTemplateInput {
32551	s.AwsAccountId = &v
32552	return s
32553}
32554
32555// SetName sets the Name field's value.
32556func (s *UpdateTemplateInput) SetName(v string) *UpdateTemplateInput {
32557	s.Name = &v
32558	return s
32559}
32560
32561// SetSourceEntity sets the SourceEntity field's value.
32562func (s *UpdateTemplateInput) SetSourceEntity(v *TemplateSourceEntity) *UpdateTemplateInput {
32563	s.SourceEntity = v
32564	return s
32565}
32566
32567// SetTemplateId sets the TemplateId field's value.
32568func (s *UpdateTemplateInput) SetTemplateId(v string) *UpdateTemplateInput {
32569	s.TemplateId = &v
32570	return s
32571}
32572
32573// SetVersionDescription sets the VersionDescription field's value.
32574func (s *UpdateTemplateInput) SetVersionDescription(v string) *UpdateTemplateInput {
32575	s.VersionDescription = &v
32576	return s
32577}
32578
32579type UpdateTemplateOutput struct {
32580	_ struct{} `type:"structure"`
32581
32582	// The Amazon Resource Name (ARN) for the template.
32583	Arn *string `type:"string"`
32584
32585	// The creation status of the template.
32586	CreationStatus *string `type:"string" enum:"ResourceStatus"`
32587
32588	// The AWS request ID for this operation.
32589	RequestId *string `type:"string"`
32590
32591	// The HTTP status of the request.
32592	Status *int64 `location:"statusCode" type:"integer"`
32593
32594	// The ID for the template.
32595	TemplateId *string `min:"1" type:"string"`
32596
32597	// The ARN for the template, including the version information of the first
32598	// version.
32599	VersionArn *string `type:"string"`
32600}
32601
32602// String returns the string representation
32603func (s UpdateTemplateOutput) String() string {
32604	return awsutil.Prettify(s)
32605}
32606
32607// GoString returns the string representation
32608func (s UpdateTemplateOutput) GoString() string {
32609	return s.String()
32610}
32611
32612// SetArn sets the Arn field's value.
32613func (s *UpdateTemplateOutput) SetArn(v string) *UpdateTemplateOutput {
32614	s.Arn = &v
32615	return s
32616}
32617
32618// SetCreationStatus sets the CreationStatus field's value.
32619func (s *UpdateTemplateOutput) SetCreationStatus(v string) *UpdateTemplateOutput {
32620	s.CreationStatus = &v
32621	return s
32622}
32623
32624// SetRequestId sets the RequestId field's value.
32625func (s *UpdateTemplateOutput) SetRequestId(v string) *UpdateTemplateOutput {
32626	s.RequestId = &v
32627	return s
32628}
32629
32630// SetStatus sets the Status field's value.
32631func (s *UpdateTemplateOutput) SetStatus(v int64) *UpdateTemplateOutput {
32632	s.Status = &v
32633	return s
32634}
32635
32636// SetTemplateId sets the TemplateId field's value.
32637func (s *UpdateTemplateOutput) SetTemplateId(v string) *UpdateTemplateOutput {
32638	s.TemplateId = &v
32639	return s
32640}
32641
32642// SetVersionArn sets the VersionArn field's value.
32643func (s *UpdateTemplateOutput) SetVersionArn(v string) *UpdateTemplateOutput {
32644	s.VersionArn = &v
32645	return s
32646}
32647
32648type UpdateTemplatePermissionsInput struct {
32649	_ struct{} `type:"structure"`
32650
32651	// The ID of the AWS account that contains the template.
32652	//
32653	// AwsAccountId is a required field
32654	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
32655
32656	// A list of resource permissions to be granted on the template.
32657	GrantPermissions []*ResourcePermission `type:"list"`
32658
32659	// A list of resource permissions to be revoked from the template.
32660	RevokePermissions []*ResourcePermission `type:"list"`
32661
32662	// The ID for the template.
32663	//
32664	// TemplateId is a required field
32665	TemplateId *string `location:"uri" locationName:"TemplateId" min:"1" type:"string" required:"true"`
32666}
32667
32668// String returns the string representation
32669func (s UpdateTemplatePermissionsInput) String() string {
32670	return awsutil.Prettify(s)
32671}
32672
32673// GoString returns the string representation
32674func (s UpdateTemplatePermissionsInput) GoString() string {
32675	return s.String()
32676}
32677
32678// Validate inspects the fields of the type to determine if they are valid.
32679func (s *UpdateTemplatePermissionsInput) Validate() error {
32680	invalidParams := request.ErrInvalidParams{Context: "UpdateTemplatePermissionsInput"}
32681	if s.AwsAccountId == nil {
32682		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
32683	}
32684	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
32685		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
32686	}
32687	if s.TemplateId == nil {
32688		invalidParams.Add(request.NewErrParamRequired("TemplateId"))
32689	}
32690	if s.TemplateId != nil && len(*s.TemplateId) < 1 {
32691		invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1))
32692	}
32693	if s.GrantPermissions != nil {
32694		for i, v := range s.GrantPermissions {
32695			if v == nil {
32696				continue
32697			}
32698			if err := v.Validate(); err != nil {
32699				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
32700			}
32701		}
32702	}
32703	if s.RevokePermissions != nil {
32704		for i, v := range s.RevokePermissions {
32705			if v == nil {
32706				continue
32707			}
32708			if err := v.Validate(); err != nil {
32709				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
32710			}
32711		}
32712	}
32713
32714	if invalidParams.Len() > 0 {
32715		return invalidParams
32716	}
32717	return nil
32718}
32719
32720// SetAwsAccountId sets the AwsAccountId field's value.
32721func (s *UpdateTemplatePermissionsInput) SetAwsAccountId(v string) *UpdateTemplatePermissionsInput {
32722	s.AwsAccountId = &v
32723	return s
32724}
32725
32726// SetGrantPermissions sets the GrantPermissions field's value.
32727func (s *UpdateTemplatePermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateTemplatePermissionsInput {
32728	s.GrantPermissions = v
32729	return s
32730}
32731
32732// SetRevokePermissions sets the RevokePermissions field's value.
32733func (s *UpdateTemplatePermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateTemplatePermissionsInput {
32734	s.RevokePermissions = v
32735	return s
32736}
32737
32738// SetTemplateId sets the TemplateId field's value.
32739func (s *UpdateTemplatePermissionsInput) SetTemplateId(v string) *UpdateTemplatePermissionsInput {
32740	s.TemplateId = &v
32741	return s
32742}
32743
32744type UpdateTemplatePermissionsOutput struct {
32745	_ struct{} `type:"structure"`
32746
32747	// A list of resource permissions to be set on the template.
32748	Permissions []*ResourcePermission `min:"1" type:"list"`
32749
32750	// The AWS request ID for this operation.
32751	RequestId *string `type:"string"`
32752
32753	// The HTTP status of the request.
32754	Status *int64 `location:"statusCode" type:"integer"`
32755
32756	// The Amazon Resource Name (ARN) of the template.
32757	TemplateArn *string `type:"string"`
32758
32759	// The ID for the template.
32760	TemplateId *string `min:"1" type:"string"`
32761}
32762
32763// String returns the string representation
32764func (s UpdateTemplatePermissionsOutput) String() string {
32765	return awsutil.Prettify(s)
32766}
32767
32768// GoString returns the string representation
32769func (s UpdateTemplatePermissionsOutput) GoString() string {
32770	return s.String()
32771}
32772
32773// SetPermissions sets the Permissions field's value.
32774func (s *UpdateTemplatePermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateTemplatePermissionsOutput {
32775	s.Permissions = v
32776	return s
32777}
32778
32779// SetRequestId sets the RequestId field's value.
32780func (s *UpdateTemplatePermissionsOutput) SetRequestId(v string) *UpdateTemplatePermissionsOutput {
32781	s.RequestId = &v
32782	return s
32783}
32784
32785// SetStatus sets the Status field's value.
32786func (s *UpdateTemplatePermissionsOutput) SetStatus(v int64) *UpdateTemplatePermissionsOutput {
32787	s.Status = &v
32788	return s
32789}
32790
32791// SetTemplateArn sets the TemplateArn field's value.
32792func (s *UpdateTemplatePermissionsOutput) SetTemplateArn(v string) *UpdateTemplatePermissionsOutput {
32793	s.TemplateArn = &v
32794	return s
32795}
32796
32797// SetTemplateId sets the TemplateId field's value.
32798func (s *UpdateTemplatePermissionsOutput) SetTemplateId(v string) *UpdateTemplatePermissionsOutput {
32799	s.TemplateId = &v
32800	return s
32801}
32802
32803type UpdateThemeAliasInput struct {
32804	_ struct{} `type:"structure"`
32805
32806	// The name of the theme alias that you want to update.
32807	//
32808	// AliasName is a required field
32809	AliasName *string `location:"uri" locationName:"AliasName" min:"1" type:"string" required:"true"`
32810
32811	// The ID of the AWS account that contains the theme alias that you're updating.
32812	//
32813	// AwsAccountId is a required field
32814	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
32815
32816	// The ID for the theme.
32817	//
32818	// ThemeId is a required field
32819	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
32820
32821	// The version number of the theme that the alias should reference.
32822	//
32823	// ThemeVersionNumber is a required field
32824	ThemeVersionNumber *int64 `min:"1" type:"long" required:"true"`
32825}
32826
32827// String returns the string representation
32828func (s UpdateThemeAliasInput) String() string {
32829	return awsutil.Prettify(s)
32830}
32831
32832// GoString returns the string representation
32833func (s UpdateThemeAliasInput) GoString() string {
32834	return s.String()
32835}
32836
32837// Validate inspects the fields of the type to determine if they are valid.
32838func (s *UpdateThemeAliasInput) Validate() error {
32839	invalidParams := request.ErrInvalidParams{Context: "UpdateThemeAliasInput"}
32840	if s.AliasName == nil {
32841		invalidParams.Add(request.NewErrParamRequired("AliasName"))
32842	}
32843	if s.AliasName != nil && len(*s.AliasName) < 1 {
32844		invalidParams.Add(request.NewErrParamMinLen("AliasName", 1))
32845	}
32846	if s.AwsAccountId == nil {
32847		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
32848	}
32849	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
32850		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
32851	}
32852	if s.ThemeId == nil {
32853		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
32854	}
32855	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
32856		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
32857	}
32858	if s.ThemeVersionNumber == nil {
32859		invalidParams.Add(request.NewErrParamRequired("ThemeVersionNumber"))
32860	}
32861	if s.ThemeVersionNumber != nil && *s.ThemeVersionNumber < 1 {
32862		invalidParams.Add(request.NewErrParamMinValue("ThemeVersionNumber", 1))
32863	}
32864
32865	if invalidParams.Len() > 0 {
32866		return invalidParams
32867	}
32868	return nil
32869}
32870
32871// SetAliasName sets the AliasName field's value.
32872func (s *UpdateThemeAliasInput) SetAliasName(v string) *UpdateThemeAliasInput {
32873	s.AliasName = &v
32874	return s
32875}
32876
32877// SetAwsAccountId sets the AwsAccountId field's value.
32878func (s *UpdateThemeAliasInput) SetAwsAccountId(v string) *UpdateThemeAliasInput {
32879	s.AwsAccountId = &v
32880	return s
32881}
32882
32883// SetThemeId sets the ThemeId field's value.
32884func (s *UpdateThemeAliasInput) SetThemeId(v string) *UpdateThemeAliasInput {
32885	s.ThemeId = &v
32886	return s
32887}
32888
32889// SetThemeVersionNumber sets the ThemeVersionNumber field's value.
32890func (s *UpdateThemeAliasInput) SetThemeVersionNumber(v int64) *UpdateThemeAliasInput {
32891	s.ThemeVersionNumber = &v
32892	return s
32893}
32894
32895type UpdateThemeAliasOutput struct {
32896	_ struct{} `type:"structure"`
32897
32898	// The AWS request ID for this operation.
32899	RequestId *string `type:"string"`
32900
32901	// The HTTP status of the request.
32902	Status *int64 `location:"statusCode" type:"integer"`
32903
32904	// Information about the theme alias.
32905	ThemeAlias *ThemeAlias `type:"structure"`
32906}
32907
32908// String returns the string representation
32909func (s UpdateThemeAliasOutput) String() string {
32910	return awsutil.Prettify(s)
32911}
32912
32913// GoString returns the string representation
32914func (s UpdateThemeAliasOutput) GoString() string {
32915	return s.String()
32916}
32917
32918// SetRequestId sets the RequestId field's value.
32919func (s *UpdateThemeAliasOutput) SetRequestId(v string) *UpdateThemeAliasOutput {
32920	s.RequestId = &v
32921	return s
32922}
32923
32924// SetStatus sets the Status field's value.
32925func (s *UpdateThemeAliasOutput) SetStatus(v int64) *UpdateThemeAliasOutput {
32926	s.Status = &v
32927	return s
32928}
32929
32930// SetThemeAlias sets the ThemeAlias field's value.
32931func (s *UpdateThemeAliasOutput) SetThemeAlias(v *ThemeAlias) *UpdateThemeAliasOutput {
32932	s.ThemeAlias = v
32933	return s
32934}
32935
32936type UpdateThemeInput struct {
32937	_ struct{} `type:"structure"`
32938
32939	// The ID of the AWS account that contains the theme that you're updating.
32940	//
32941	// AwsAccountId is a required field
32942	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
32943
32944	// The theme ID, defined by Amazon QuickSight, that a custom theme inherits
32945	// from. All themes initially inherit from a default QuickSight theme.
32946	//
32947	// BaseThemeId is a required field
32948	BaseThemeId *string `min:"1" type:"string" required:"true"`
32949
32950	// The theme configuration, which contains the theme display properties.
32951	Configuration *ThemeConfiguration `type:"structure"`
32952
32953	// The name for the theme.
32954	Name *string `min:"1" type:"string"`
32955
32956	// The ID for the theme.
32957	//
32958	// ThemeId is a required field
32959	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
32960
32961	// A description of the theme version that you're updating Every time that you
32962	// call UpdateTheme, you create a new version of the theme. Each version of
32963	// the theme maintains a description of the version in VersionDescription.
32964	VersionDescription *string `min:"1" type:"string"`
32965}
32966
32967// String returns the string representation
32968func (s UpdateThemeInput) String() string {
32969	return awsutil.Prettify(s)
32970}
32971
32972// GoString returns the string representation
32973func (s UpdateThemeInput) GoString() string {
32974	return s.String()
32975}
32976
32977// Validate inspects the fields of the type to determine if they are valid.
32978func (s *UpdateThemeInput) Validate() error {
32979	invalidParams := request.ErrInvalidParams{Context: "UpdateThemeInput"}
32980	if s.AwsAccountId == nil {
32981		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
32982	}
32983	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
32984		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
32985	}
32986	if s.BaseThemeId == nil {
32987		invalidParams.Add(request.NewErrParamRequired("BaseThemeId"))
32988	}
32989	if s.BaseThemeId != nil && len(*s.BaseThemeId) < 1 {
32990		invalidParams.Add(request.NewErrParamMinLen("BaseThemeId", 1))
32991	}
32992	if s.Name != nil && len(*s.Name) < 1 {
32993		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
32994	}
32995	if s.ThemeId == nil {
32996		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
32997	}
32998	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
32999		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
33000	}
33001	if s.VersionDescription != nil && len(*s.VersionDescription) < 1 {
33002		invalidParams.Add(request.NewErrParamMinLen("VersionDescription", 1))
33003	}
33004
33005	if invalidParams.Len() > 0 {
33006		return invalidParams
33007	}
33008	return nil
33009}
33010
33011// SetAwsAccountId sets the AwsAccountId field's value.
33012func (s *UpdateThemeInput) SetAwsAccountId(v string) *UpdateThemeInput {
33013	s.AwsAccountId = &v
33014	return s
33015}
33016
33017// SetBaseThemeId sets the BaseThemeId field's value.
33018func (s *UpdateThemeInput) SetBaseThemeId(v string) *UpdateThemeInput {
33019	s.BaseThemeId = &v
33020	return s
33021}
33022
33023// SetConfiguration sets the Configuration field's value.
33024func (s *UpdateThemeInput) SetConfiguration(v *ThemeConfiguration) *UpdateThemeInput {
33025	s.Configuration = v
33026	return s
33027}
33028
33029// SetName sets the Name field's value.
33030func (s *UpdateThemeInput) SetName(v string) *UpdateThemeInput {
33031	s.Name = &v
33032	return s
33033}
33034
33035// SetThemeId sets the ThemeId field's value.
33036func (s *UpdateThemeInput) SetThemeId(v string) *UpdateThemeInput {
33037	s.ThemeId = &v
33038	return s
33039}
33040
33041// SetVersionDescription sets the VersionDescription field's value.
33042func (s *UpdateThemeInput) SetVersionDescription(v string) *UpdateThemeInput {
33043	s.VersionDescription = &v
33044	return s
33045}
33046
33047type UpdateThemeOutput struct {
33048	_ struct{} `type:"structure"`
33049
33050	// The Amazon Resource Name (ARN) for the theme.
33051	Arn *string `type:"string"`
33052
33053	// The creation status of the theme.
33054	CreationStatus *string `type:"string" enum:"ResourceStatus"`
33055
33056	// The AWS request ID for this operation.
33057	RequestId *string `type:"string"`
33058
33059	// The HTTP status of the request.
33060	Status *int64 `location:"statusCode" type:"integer"`
33061
33062	// The ID for the theme.
33063	ThemeId *string `min:"1" type:"string"`
33064
33065	// The Amazon Resource Name (ARN) for the new version of the theme.
33066	VersionArn *string `type:"string"`
33067}
33068
33069// String returns the string representation
33070func (s UpdateThemeOutput) String() string {
33071	return awsutil.Prettify(s)
33072}
33073
33074// GoString returns the string representation
33075func (s UpdateThemeOutput) GoString() string {
33076	return s.String()
33077}
33078
33079// SetArn sets the Arn field's value.
33080func (s *UpdateThemeOutput) SetArn(v string) *UpdateThemeOutput {
33081	s.Arn = &v
33082	return s
33083}
33084
33085// SetCreationStatus sets the CreationStatus field's value.
33086func (s *UpdateThemeOutput) SetCreationStatus(v string) *UpdateThemeOutput {
33087	s.CreationStatus = &v
33088	return s
33089}
33090
33091// SetRequestId sets the RequestId field's value.
33092func (s *UpdateThemeOutput) SetRequestId(v string) *UpdateThemeOutput {
33093	s.RequestId = &v
33094	return s
33095}
33096
33097// SetStatus sets the Status field's value.
33098func (s *UpdateThemeOutput) SetStatus(v int64) *UpdateThemeOutput {
33099	s.Status = &v
33100	return s
33101}
33102
33103// SetThemeId sets the ThemeId field's value.
33104func (s *UpdateThemeOutput) SetThemeId(v string) *UpdateThemeOutput {
33105	s.ThemeId = &v
33106	return s
33107}
33108
33109// SetVersionArn sets the VersionArn field's value.
33110func (s *UpdateThemeOutput) SetVersionArn(v string) *UpdateThemeOutput {
33111	s.VersionArn = &v
33112	return s
33113}
33114
33115type UpdateThemePermissionsInput struct {
33116	_ struct{} `type:"structure"`
33117
33118	// The ID of the AWS account that contains the theme.
33119	//
33120	// AwsAccountId is a required field
33121	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
33122
33123	// A list of resource permissions to be granted for the theme.
33124	GrantPermissions []*ResourcePermission `type:"list"`
33125
33126	// A list of resource permissions to be revoked from the theme.
33127	RevokePermissions []*ResourcePermission `type:"list"`
33128
33129	// The ID for the theme.
33130	//
33131	// ThemeId is a required field
33132	ThemeId *string `location:"uri" locationName:"ThemeId" min:"1" type:"string" required:"true"`
33133}
33134
33135// String returns the string representation
33136func (s UpdateThemePermissionsInput) String() string {
33137	return awsutil.Prettify(s)
33138}
33139
33140// GoString returns the string representation
33141func (s UpdateThemePermissionsInput) GoString() string {
33142	return s.String()
33143}
33144
33145// Validate inspects the fields of the type to determine if they are valid.
33146func (s *UpdateThemePermissionsInput) Validate() error {
33147	invalidParams := request.ErrInvalidParams{Context: "UpdateThemePermissionsInput"}
33148	if s.AwsAccountId == nil {
33149		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
33150	}
33151	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
33152		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
33153	}
33154	if s.ThemeId == nil {
33155		invalidParams.Add(request.NewErrParamRequired("ThemeId"))
33156	}
33157	if s.ThemeId != nil && len(*s.ThemeId) < 1 {
33158		invalidParams.Add(request.NewErrParamMinLen("ThemeId", 1))
33159	}
33160	if s.GrantPermissions != nil {
33161		for i, v := range s.GrantPermissions {
33162			if v == nil {
33163				continue
33164			}
33165			if err := v.Validate(); err != nil {
33166				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "GrantPermissions", i), err.(request.ErrInvalidParams))
33167			}
33168		}
33169	}
33170	if s.RevokePermissions != nil {
33171		for i, v := range s.RevokePermissions {
33172			if v == nil {
33173				continue
33174			}
33175			if err := v.Validate(); err != nil {
33176				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RevokePermissions", i), err.(request.ErrInvalidParams))
33177			}
33178		}
33179	}
33180
33181	if invalidParams.Len() > 0 {
33182		return invalidParams
33183	}
33184	return nil
33185}
33186
33187// SetAwsAccountId sets the AwsAccountId field's value.
33188func (s *UpdateThemePermissionsInput) SetAwsAccountId(v string) *UpdateThemePermissionsInput {
33189	s.AwsAccountId = &v
33190	return s
33191}
33192
33193// SetGrantPermissions sets the GrantPermissions field's value.
33194func (s *UpdateThemePermissionsInput) SetGrantPermissions(v []*ResourcePermission) *UpdateThemePermissionsInput {
33195	s.GrantPermissions = v
33196	return s
33197}
33198
33199// SetRevokePermissions sets the RevokePermissions field's value.
33200func (s *UpdateThemePermissionsInput) SetRevokePermissions(v []*ResourcePermission) *UpdateThemePermissionsInput {
33201	s.RevokePermissions = v
33202	return s
33203}
33204
33205// SetThemeId sets the ThemeId field's value.
33206func (s *UpdateThemePermissionsInput) SetThemeId(v string) *UpdateThemePermissionsInput {
33207	s.ThemeId = &v
33208	return s
33209}
33210
33211type UpdateThemePermissionsOutput struct {
33212	_ struct{} `type:"structure"`
33213
33214	// The resulting list of resource permissions for the theme.
33215	Permissions []*ResourcePermission `min:"1" type:"list"`
33216
33217	// The AWS request ID for this operation.
33218	RequestId *string `type:"string"`
33219
33220	// The HTTP status of the request.
33221	Status *int64 `location:"statusCode" type:"integer"`
33222
33223	// The Amazon Resource Name (ARN) of the theme.
33224	ThemeArn *string `type:"string"`
33225
33226	// The ID for the theme.
33227	ThemeId *string `min:"1" type:"string"`
33228}
33229
33230// String returns the string representation
33231func (s UpdateThemePermissionsOutput) String() string {
33232	return awsutil.Prettify(s)
33233}
33234
33235// GoString returns the string representation
33236func (s UpdateThemePermissionsOutput) GoString() string {
33237	return s.String()
33238}
33239
33240// SetPermissions sets the Permissions field's value.
33241func (s *UpdateThemePermissionsOutput) SetPermissions(v []*ResourcePermission) *UpdateThemePermissionsOutput {
33242	s.Permissions = v
33243	return s
33244}
33245
33246// SetRequestId sets the RequestId field's value.
33247func (s *UpdateThemePermissionsOutput) SetRequestId(v string) *UpdateThemePermissionsOutput {
33248	s.RequestId = &v
33249	return s
33250}
33251
33252// SetStatus sets the Status field's value.
33253func (s *UpdateThemePermissionsOutput) SetStatus(v int64) *UpdateThemePermissionsOutput {
33254	s.Status = &v
33255	return s
33256}
33257
33258// SetThemeArn sets the ThemeArn field's value.
33259func (s *UpdateThemePermissionsOutput) SetThemeArn(v string) *UpdateThemePermissionsOutput {
33260	s.ThemeArn = &v
33261	return s
33262}
33263
33264// SetThemeId sets the ThemeId field's value.
33265func (s *UpdateThemePermissionsOutput) SetThemeId(v string) *UpdateThemePermissionsOutput {
33266	s.ThemeId = &v
33267	return s
33268}
33269
33270type UpdateUserInput struct {
33271	_ struct{} `type:"structure"`
33272
33273	// The ID for the AWS account that the user is in. Currently, you use the ID
33274	// for the AWS account that contains your Amazon QuickSight account.
33275	//
33276	// AwsAccountId is a required field
33277	AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"`
33278
33279	// (Enterprise edition only) The name of the custom permissions profile that
33280	// you want to assign to this user. Customized permissions allows you to control
33281	// a user's access by restricting access the following operations:
33282	//
33283	//    * Create and update data sources
33284	//
33285	//    * Create and update datasets
33286	//
33287	//    * Create and update email reports
33288	//
33289	//    * Subscribe to email reports
33290	//
33291	// A set of custom permissions includes any combination of these restrictions.
33292	// Currently, you need to create the profile names for custom permission sets
33293	// by using the QuickSight console. Then, you use the RegisterUser API operation
33294	// to assign the named set of permissions to a QuickSight user.
33295	//
33296	// QuickSight custom permissions are applied through IAM policies. Therefore,
33297	// they override the permissions typically granted by assigning QuickSight users
33298	// to one of the default security cohorts in QuickSight (admin, author, reader).
33299	//
33300	// This feature is available only to QuickSight Enterprise edition subscriptions
33301	// that use SAML 2.0-Based Federation for Single Sign-On (SSO).
33302	CustomPermissionsName *string `min:"1" type:"string"`
33303
33304	// The email address of the user that you want to update.
33305	//
33306	// Email is a required field
33307	Email *string `type:"string" required:"true"`
33308
33309	// The namespace. Currently, you should set this to default.
33310	//
33311	// Namespace is a required field
33312	Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"`
33313
33314	// The Amazon QuickSight role of the user. The role can be one of the following
33315	// default security cohorts:
33316	//
33317	//    * READER: A user who has read-only access to dashboards.
33318	//
33319	//    * AUTHOR: A user who can create data sources, datasets, analyses, and
33320	//    dashboards.
33321	//
33322	//    * ADMIN: A user who is an author, who can also manage Amazon QuickSight
33323	//    settings.
33324	//
33325	// The name of the QuickSight role is invisible to the user except for the console
33326	// screens dealing with permissions.
33327	//
33328	// Role is a required field
33329	Role *string `type:"string" required:"true" enum:"UserRole"`
33330
33331	// A flag that you use to indicate that you want to remove all custom permissions
33332	// from this user. Using this parameter resets the user to the state it was
33333	// in before a custom permissions profile was applied. This parameter defaults
33334	// to NULL and it doesn't accept any other value.
33335	UnapplyCustomPermissions *bool `type:"boolean"`
33336
33337	// The Amazon QuickSight user name that you want to update.
33338	//
33339	// UserName is a required field
33340	UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"`
33341}
33342
33343// String returns the string representation
33344func (s UpdateUserInput) String() string {
33345	return awsutil.Prettify(s)
33346}
33347
33348// GoString returns the string representation
33349func (s UpdateUserInput) GoString() string {
33350	return s.String()
33351}
33352
33353// Validate inspects the fields of the type to determine if they are valid.
33354func (s *UpdateUserInput) Validate() error {
33355	invalidParams := request.ErrInvalidParams{Context: "UpdateUserInput"}
33356	if s.AwsAccountId == nil {
33357		invalidParams.Add(request.NewErrParamRequired("AwsAccountId"))
33358	}
33359	if s.AwsAccountId != nil && len(*s.AwsAccountId) < 12 {
33360		invalidParams.Add(request.NewErrParamMinLen("AwsAccountId", 12))
33361	}
33362	if s.CustomPermissionsName != nil && len(*s.CustomPermissionsName) < 1 {
33363		invalidParams.Add(request.NewErrParamMinLen("CustomPermissionsName", 1))
33364	}
33365	if s.Email == nil {
33366		invalidParams.Add(request.NewErrParamRequired("Email"))
33367	}
33368	if s.Namespace == nil {
33369		invalidParams.Add(request.NewErrParamRequired("Namespace"))
33370	}
33371	if s.Namespace != nil && len(*s.Namespace) < 1 {
33372		invalidParams.Add(request.NewErrParamMinLen("Namespace", 1))
33373	}
33374	if s.Role == nil {
33375		invalidParams.Add(request.NewErrParamRequired("Role"))
33376	}
33377	if s.UserName == nil {
33378		invalidParams.Add(request.NewErrParamRequired("UserName"))
33379	}
33380	if s.UserName != nil && len(*s.UserName) < 1 {
33381		invalidParams.Add(request.NewErrParamMinLen("UserName", 1))
33382	}
33383
33384	if invalidParams.Len() > 0 {
33385		return invalidParams
33386	}
33387	return nil
33388}
33389
33390// SetAwsAccountId sets the AwsAccountId field's value.
33391func (s *UpdateUserInput) SetAwsAccountId(v string) *UpdateUserInput {
33392	s.AwsAccountId = &v
33393	return s
33394}
33395
33396// SetCustomPermissionsName sets the CustomPermissionsName field's value.
33397func (s *UpdateUserInput) SetCustomPermissionsName(v string) *UpdateUserInput {
33398	s.CustomPermissionsName = &v
33399	return s
33400}
33401
33402// SetEmail sets the Email field's value.
33403func (s *UpdateUserInput) SetEmail(v string) *UpdateUserInput {
33404	s.Email = &v
33405	return s
33406}
33407
33408// SetNamespace sets the Namespace field's value.
33409func (s *UpdateUserInput) SetNamespace(v string) *UpdateUserInput {
33410	s.Namespace = &v
33411	return s
33412}
33413
33414// SetRole sets the Role field's value.
33415func (s *UpdateUserInput) SetRole(v string) *UpdateUserInput {
33416	s.Role = &v
33417	return s
33418}
33419
33420// SetUnapplyCustomPermissions sets the UnapplyCustomPermissions field's value.
33421func (s *UpdateUserInput) SetUnapplyCustomPermissions(v bool) *UpdateUserInput {
33422	s.UnapplyCustomPermissions = &v
33423	return s
33424}
33425
33426// SetUserName sets the UserName field's value.
33427func (s *UpdateUserInput) SetUserName(v string) *UpdateUserInput {
33428	s.UserName = &v
33429	return s
33430}
33431
33432type UpdateUserOutput struct {
33433	_ struct{} `type:"structure"`
33434
33435	// The AWS request ID for this operation.
33436	RequestId *string `type:"string"`
33437
33438	// The HTTP status of the request.
33439	Status *int64 `location:"statusCode" type:"integer"`
33440
33441	// The Amazon QuickSight user.
33442	User *User `type:"structure"`
33443}
33444
33445// String returns the string representation
33446func (s UpdateUserOutput) String() string {
33447	return awsutil.Prettify(s)
33448}
33449
33450// GoString returns the string representation
33451func (s UpdateUserOutput) GoString() string {
33452	return s.String()
33453}
33454
33455// SetRequestId sets the RequestId field's value.
33456func (s *UpdateUserOutput) SetRequestId(v string) *UpdateUserOutput {
33457	s.RequestId = &v
33458	return s
33459}
33460
33461// SetStatus sets the Status field's value.
33462func (s *UpdateUserOutput) SetStatus(v int64) *UpdateUserOutput {
33463	s.Status = &v
33464	return s
33465}
33466
33467// SetUser sets the User field's value.
33468func (s *UpdateUserOutput) SetUser(v *User) *UpdateUserOutput {
33469	s.User = v
33470	return s
33471}
33472
33473// Information about the format for a source file or files.
33474type UploadSettings struct {
33475	_ struct{} `type:"structure"`
33476
33477	// Whether the file has a header row, or the files each have a header row.
33478	ContainsHeader *bool `type:"boolean"`
33479
33480	// The delimiter between values in the file.
33481	Delimiter *string `min:"1" type:"string"`
33482
33483	// File format.
33484	Format *string `type:"string" enum:"FileFormat"`
33485
33486	// A row number to start reading data from.
33487	StartFromRow *int64 `min:"1" type:"integer"`
33488
33489	// Text qualifier.
33490	TextQualifier *string `type:"string" enum:"TextQualifier"`
33491}
33492
33493// String returns the string representation
33494func (s UploadSettings) String() string {
33495	return awsutil.Prettify(s)
33496}
33497
33498// GoString returns the string representation
33499func (s UploadSettings) GoString() string {
33500	return s.String()
33501}
33502
33503// Validate inspects the fields of the type to determine if they are valid.
33504func (s *UploadSettings) Validate() error {
33505	invalidParams := request.ErrInvalidParams{Context: "UploadSettings"}
33506	if s.Delimiter != nil && len(*s.Delimiter) < 1 {
33507		invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1))
33508	}
33509	if s.StartFromRow != nil && *s.StartFromRow < 1 {
33510		invalidParams.Add(request.NewErrParamMinValue("StartFromRow", 1))
33511	}
33512
33513	if invalidParams.Len() > 0 {
33514		return invalidParams
33515	}
33516	return nil
33517}
33518
33519// SetContainsHeader sets the ContainsHeader field's value.
33520func (s *UploadSettings) SetContainsHeader(v bool) *UploadSettings {
33521	s.ContainsHeader = &v
33522	return s
33523}
33524
33525// SetDelimiter sets the Delimiter field's value.
33526func (s *UploadSettings) SetDelimiter(v string) *UploadSettings {
33527	s.Delimiter = &v
33528	return s
33529}
33530
33531// SetFormat sets the Format field's value.
33532func (s *UploadSettings) SetFormat(v string) *UploadSettings {
33533	s.Format = &v
33534	return s
33535}
33536
33537// SetStartFromRow sets the StartFromRow field's value.
33538func (s *UploadSettings) SetStartFromRow(v int64) *UploadSettings {
33539	s.StartFromRow = &v
33540	return s
33541}
33542
33543// SetTextQualifier sets the TextQualifier field's value.
33544func (s *UploadSettings) SetTextQualifier(v string) *UploadSettings {
33545	s.TextQualifier = &v
33546	return s
33547}
33548
33549// A registered user of Amazon QuickSight.
33550type User struct {
33551	_ struct{} `type:"structure"`
33552
33553	// The active status of user. When you create an Amazon QuickSight user that’s
33554	// not an IAM user or an Active Directory user, that user is inactive until
33555	// they sign in and provide a password.
33556	Active *bool `type:"boolean"`
33557
33558	// The Amazon Resource Name (ARN) for the user.
33559	Arn *string `type:"string"`
33560
33561	// The custom permissions profile associated with this user.
33562	CustomPermissionsName *string `min:"1" type:"string"`
33563
33564	// The user's email address.
33565	Email *string `type:"string"`
33566
33567	// The type of identity authentication used by the user.
33568	IdentityType *string `type:"string" enum:"IdentityType"`
33569
33570	// The principal ID of the user.
33571	PrincipalId *string `type:"string"`
33572
33573	// The Amazon QuickSight role for the user. The user role can be one of the
33574	// following:.
33575	//
33576	//    * READER: A user who has read-only access to dashboards.
33577	//
33578	//    * AUTHOR: A user who can create data sources, datasets, analyses, and
33579	//    dashboards.
33580	//
33581	//    * ADMIN: A user who is an author, who can also manage Amazon QuickSight
33582	//    settings.
33583	//
33584	//    * RESTRICTED_READER: This role isn't currently available for use.
33585	//
33586	//    * RESTRICTED_AUTHOR: This role isn't currently available for use.
33587	Role *string `type:"string" enum:"UserRole"`
33588
33589	// The user's user name.
33590	UserName *string `min:"1" type:"string"`
33591}
33592
33593// String returns the string representation
33594func (s User) String() string {
33595	return awsutil.Prettify(s)
33596}
33597
33598// GoString returns the string representation
33599func (s User) GoString() string {
33600	return s.String()
33601}
33602
33603// SetActive sets the Active field's value.
33604func (s *User) SetActive(v bool) *User {
33605	s.Active = &v
33606	return s
33607}
33608
33609// SetArn sets the Arn field's value.
33610func (s *User) SetArn(v string) *User {
33611	s.Arn = &v
33612	return s
33613}
33614
33615// SetCustomPermissionsName sets the CustomPermissionsName field's value.
33616func (s *User) SetCustomPermissionsName(v string) *User {
33617	s.CustomPermissionsName = &v
33618	return s
33619}
33620
33621// SetEmail sets the Email field's value.
33622func (s *User) SetEmail(v string) *User {
33623	s.Email = &v
33624	return s
33625}
33626
33627// SetIdentityType sets the IdentityType field's value.
33628func (s *User) SetIdentityType(v string) *User {
33629	s.IdentityType = &v
33630	return s
33631}
33632
33633// SetPrincipalId sets the PrincipalId field's value.
33634func (s *User) SetPrincipalId(v string) *User {
33635	s.PrincipalId = &v
33636	return s
33637}
33638
33639// SetRole sets the Role field's value.
33640func (s *User) SetRole(v string) *User {
33641	s.Role = &v
33642	return s
33643}
33644
33645// SetUserName sets the UserName field's value.
33646func (s *User) SetUserName(v string) *User {
33647	s.UserName = &v
33648	return s
33649}
33650
33651// The user with the provided name isn't found. This error can happen in any
33652// operation that requires finding a user based on a provided user name, such
33653// as DeleteUser, DescribeUser, and so on.
33654type UserNotFoundException struct {
33655	_            struct{}                  `type:"structure"`
33656	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
33657
33658	Message_ *string `locationName:"Message" type:"string"`
33659
33660	// The AWS request ID for this request.
33661	RequestId *string `type:"string"`
33662}
33663
33664// String returns the string representation
33665func (s UserNotFoundException) String() string {
33666	return awsutil.Prettify(s)
33667}
33668
33669// GoString returns the string representation
33670func (s UserNotFoundException) GoString() string {
33671	return s.String()
33672}
33673
33674func newErrorUserNotFoundException(v protocol.ResponseMetadata) error {
33675	return &UserNotFoundException{
33676		RespMetadata: v,
33677	}
33678}
33679
33680// Code returns the exception type name.
33681func (s *UserNotFoundException) Code() string {
33682	return "QuickSightUserNotFoundException"
33683}
33684
33685// Message returns the exception's message.
33686func (s *UserNotFoundException) Message() string {
33687	if s.Message_ != nil {
33688		return *s.Message_
33689	}
33690	return ""
33691}
33692
33693// OrigErr always returns nil, satisfies awserr.Error interface.
33694func (s *UserNotFoundException) OrigErr() error {
33695	return nil
33696}
33697
33698func (s *UserNotFoundException) Error() string {
33699	return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
33700}
33701
33702// Status code returns the HTTP status code for the request's response error.
33703func (s *UserNotFoundException) StatusCode() int {
33704	return s.RespMetadata.StatusCode
33705}
33706
33707// RequestID returns the service's response RequestID for request.
33708func (s *UserNotFoundException) RequestID() string {
33709	return s.RespMetadata.RequestID
33710}
33711
33712// VPC connection properties.
33713type VpcConnectionProperties struct {
33714	_ struct{} `type:"structure"`
33715
33716	// The Amazon Resource Name (ARN) for the VPC connection.
33717	//
33718	// VpcConnectionArn is a required field
33719	VpcConnectionArn *string `type:"string" required:"true"`
33720}
33721
33722// String returns the string representation
33723func (s VpcConnectionProperties) String() string {
33724	return awsutil.Prettify(s)
33725}
33726
33727// GoString returns the string representation
33728func (s VpcConnectionProperties) GoString() string {
33729	return s.String()
33730}
33731
33732// Validate inspects the fields of the type to determine if they are valid.
33733func (s *VpcConnectionProperties) Validate() error {
33734	invalidParams := request.ErrInvalidParams{Context: "VpcConnectionProperties"}
33735	if s.VpcConnectionArn == nil {
33736		invalidParams.Add(request.NewErrParamRequired("VpcConnectionArn"))
33737	}
33738
33739	if invalidParams.Len() > 0 {
33740		return invalidParams
33741	}
33742	return nil
33743}
33744
33745// SetVpcConnectionArn sets the VpcConnectionArn field's value.
33746func (s *VpcConnectionProperties) SetVpcConnectionArn(v string) *VpcConnectionProperties {
33747	s.VpcConnectionArn = &v
33748	return s
33749}
33750
33751const (
33752	// AnalysisErrorTypeAccessDenied is a AnalysisErrorType enum value
33753	AnalysisErrorTypeAccessDenied = "ACCESS_DENIED"
33754
33755	// AnalysisErrorTypeSourceNotFound is a AnalysisErrorType enum value
33756	AnalysisErrorTypeSourceNotFound = "SOURCE_NOT_FOUND"
33757
33758	// AnalysisErrorTypeDataSetNotFound is a AnalysisErrorType enum value
33759	AnalysisErrorTypeDataSetNotFound = "DATA_SET_NOT_FOUND"
33760
33761	// AnalysisErrorTypeInternalFailure is a AnalysisErrorType enum value
33762	AnalysisErrorTypeInternalFailure = "INTERNAL_FAILURE"
33763
33764	// AnalysisErrorTypeParameterValueIncompatible is a AnalysisErrorType enum value
33765	AnalysisErrorTypeParameterValueIncompatible = "PARAMETER_VALUE_INCOMPATIBLE"
33766
33767	// AnalysisErrorTypeParameterTypeInvalid is a AnalysisErrorType enum value
33768	AnalysisErrorTypeParameterTypeInvalid = "PARAMETER_TYPE_INVALID"
33769
33770	// AnalysisErrorTypeParameterNotFound is a AnalysisErrorType enum value
33771	AnalysisErrorTypeParameterNotFound = "PARAMETER_NOT_FOUND"
33772
33773	// AnalysisErrorTypeColumnTypeMismatch is a AnalysisErrorType enum value
33774	AnalysisErrorTypeColumnTypeMismatch = "COLUMN_TYPE_MISMATCH"
33775
33776	// AnalysisErrorTypeColumnGeographicRoleMismatch is a AnalysisErrorType enum value
33777	AnalysisErrorTypeColumnGeographicRoleMismatch = "COLUMN_GEOGRAPHIC_ROLE_MISMATCH"
33778
33779	// AnalysisErrorTypeColumnReplacementMissing is a AnalysisErrorType enum value
33780	AnalysisErrorTypeColumnReplacementMissing = "COLUMN_REPLACEMENT_MISSING"
33781)
33782
33783// AnalysisErrorType_Values returns all elements of the AnalysisErrorType enum
33784func AnalysisErrorType_Values() []string {
33785	return []string{
33786		AnalysisErrorTypeAccessDenied,
33787		AnalysisErrorTypeSourceNotFound,
33788		AnalysisErrorTypeDataSetNotFound,
33789		AnalysisErrorTypeInternalFailure,
33790		AnalysisErrorTypeParameterValueIncompatible,
33791		AnalysisErrorTypeParameterTypeInvalid,
33792		AnalysisErrorTypeParameterNotFound,
33793		AnalysisErrorTypeColumnTypeMismatch,
33794		AnalysisErrorTypeColumnGeographicRoleMismatch,
33795		AnalysisErrorTypeColumnReplacementMissing,
33796	}
33797}
33798
33799const (
33800	// AnalysisFilterAttributeQuicksightUser is a AnalysisFilterAttribute enum value
33801	AnalysisFilterAttributeQuicksightUser = "QUICKSIGHT_USER"
33802)
33803
33804// AnalysisFilterAttribute_Values returns all elements of the AnalysisFilterAttribute enum
33805func AnalysisFilterAttribute_Values() []string {
33806	return []string{
33807		AnalysisFilterAttributeQuicksightUser,
33808	}
33809}
33810
33811const (
33812	// AssignmentStatusEnabled is a AssignmentStatus enum value
33813	AssignmentStatusEnabled = "ENABLED"
33814
33815	// AssignmentStatusDraft is a AssignmentStatus enum value
33816	AssignmentStatusDraft = "DRAFT"
33817
33818	// AssignmentStatusDisabled is a AssignmentStatus enum value
33819	AssignmentStatusDisabled = "DISABLED"
33820)
33821
33822// AssignmentStatus_Values returns all elements of the AssignmentStatus enum
33823func AssignmentStatus_Values() []string {
33824	return []string{
33825		AssignmentStatusEnabled,
33826		AssignmentStatusDraft,
33827		AssignmentStatusDisabled,
33828	}
33829}
33830
33831const (
33832	// ColumnDataTypeString is a ColumnDataType enum value
33833	ColumnDataTypeString = "STRING"
33834
33835	// ColumnDataTypeInteger is a ColumnDataType enum value
33836	ColumnDataTypeInteger = "INTEGER"
33837
33838	// ColumnDataTypeDecimal is a ColumnDataType enum value
33839	ColumnDataTypeDecimal = "DECIMAL"
33840
33841	// ColumnDataTypeDatetime is a ColumnDataType enum value
33842	ColumnDataTypeDatetime = "DATETIME"
33843)
33844
33845// ColumnDataType_Values returns all elements of the ColumnDataType enum
33846func ColumnDataType_Values() []string {
33847	return []string{
33848		ColumnDataTypeString,
33849		ColumnDataTypeInteger,
33850		ColumnDataTypeDecimal,
33851		ColumnDataTypeDatetime,
33852	}
33853}
33854
33855const (
33856	// DashboardBehaviorEnabled is a DashboardBehavior enum value
33857	DashboardBehaviorEnabled = "ENABLED"
33858
33859	// DashboardBehaviorDisabled is a DashboardBehavior enum value
33860	DashboardBehaviorDisabled = "DISABLED"
33861)
33862
33863// DashboardBehavior_Values returns all elements of the DashboardBehavior enum
33864func DashboardBehavior_Values() []string {
33865	return []string{
33866		DashboardBehaviorEnabled,
33867		DashboardBehaviorDisabled,
33868	}
33869}
33870
33871const (
33872	// DashboardErrorTypeAccessDenied is a DashboardErrorType enum value
33873	DashboardErrorTypeAccessDenied = "ACCESS_DENIED"
33874
33875	// DashboardErrorTypeSourceNotFound is a DashboardErrorType enum value
33876	DashboardErrorTypeSourceNotFound = "SOURCE_NOT_FOUND"
33877
33878	// DashboardErrorTypeDataSetNotFound is a DashboardErrorType enum value
33879	DashboardErrorTypeDataSetNotFound = "DATA_SET_NOT_FOUND"
33880
33881	// DashboardErrorTypeInternalFailure is a DashboardErrorType enum value
33882	DashboardErrorTypeInternalFailure = "INTERNAL_FAILURE"
33883
33884	// DashboardErrorTypeParameterValueIncompatible is a DashboardErrorType enum value
33885	DashboardErrorTypeParameterValueIncompatible = "PARAMETER_VALUE_INCOMPATIBLE"
33886
33887	// DashboardErrorTypeParameterTypeInvalid is a DashboardErrorType enum value
33888	DashboardErrorTypeParameterTypeInvalid = "PARAMETER_TYPE_INVALID"
33889
33890	// DashboardErrorTypeParameterNotFound is a DashboardErrorType enum value
33891	DashboardErrorTypeParameterNotFound = "PARAMETER_NOT_FOUND"
33892
33893	// DashboardErrorTypeColumnTypeMismatch is a DashboardErrorType enum value
33894	DashboardErrorTypeColumnTypeMismatch = "COLUMN_TYPE_MISMATCH"
33895
33896	// DashboardErrorTypeColumnGeographicRoleMismatch is a DashboardErrorType enum value
33897	DashboardErrorTypeColumnGeographicRoleMismatch = "COLUMN_GEOGRAPHIC_ROLE_MISMATCH"
33898
33899	// DashboardErrorTypeColumnReplacementMissing is a DashboardErrorType enum value
33900	DashboardErrorTypeColumnReplacementMissing = "COLUMN_REPLACEMENT_MISSING"
33901)
33902
33903// DashboardErrorType_Values returns all elements of the DashboardErrorType enum
33904func DashboardErrorType_Values() []string {
33905	return []string{
33906		DashboardErrorTypeAccessDenied,
33907		DashboardErrorTypeSourceNotFound,
33908		DashboardErrorTypeDataSetNotFound,
33909		DashboardErrorTypeInternalFailure,
33910		DashboardErrorTypeParameterValueIncompatible,
33911		DashboardErrorTypeParameterTypeInvalid,
33912		DashboardErrorTypeParameterNotFound,
33913		DashboardErrorTypeColumnTypeMismatch,
33914		DashboardErrorTypeColumnGeographicRoleMismatch,
33915		DashboardErrorTypeColumnReplacementMissing,
33916	}
33917}
33918
33919const (
33920	// DashboardFilterAttributeQuicksightUser is a DashboardFilterAttribute enum value
33921	DashboardFilterAttributeQuicksightUser = "QUICKSIGHT_USER"
33922)
33923
33924// DashboardFilterAttribute_Values returns all elements of the DashboardFilterAttribute enum
33925func DashboardFilterAttribute_Values() []string {
33926	return []string{
33927		DashboardFilterAttributeQuicksightUser,
33928	}
33929}
33930
33931const (
33932	// DashboardUIStateExpanded is a DashboardUIState enum value
33933	DashboardUIStateExpanded = "EXPANDED"
33934
33935	// DashboardUIStateCollapsed is a DashboardUIState enum value
33936	DashboardUIStateCollapsed = "COLLAPSED"
33937)
33938
33939// DashboardUIState_Values returns all elements of the DashboardUIState enum
33940func DashboardUIState_Values() []string {
33941	return []string{
33942		DashboardUIStateExpanded,
33943		DashboardUIStateCollapsed,
33944	}
33945}
33946
33947const (
33948	// DataSetImportModeSpice is a DataSetImportMode enum value
33949	DataSetImportModeSpice = "SPICE"
33950
33951	// DataSetImportModeDirectQuery is a DataSetImportMode enum value
33952	DataSetImportModeDirectQuery = "DIRECT_QUERY"
33953)
33954
33955// DataSetImportMode_Values returns all elements of the DataSetImportMode enum
33956func DataSetImportMode_Values() []string {
33957	return []string{
33958		DataSetImportModeSpice,
33959		DataSetImportModeDirectQuery,
33960	}
33961}
33962
33963const (
33964	// DataSourceErrorInfoTypeAccessDenied is a DataSourceErrorInfoType enum value
33965	DataSourceErrorInfoTypeAccessDenied = "ACCESS_DENIED"
33966
33967	// DataSourceErrorInfoTypeCopySourceNotFound is a DataSourceErrorInfoType enum value
33968	DataSourceErrorInfoTypeCopySourceNotFound = "COPY_SOURCE_NOT_FOUND"
33969
33970	// DataSourceErrorInfoTypeTimeout is a DataSourceErrorInfoType enum value
33971	DataSourceErrorInfoTypeTimeout = "TIMEOUT"
33972
33973	// DataSourceErrorInfoTypeEngineVersionNotSupported is a DataSourceErrorInfoType enum value
33974	DataSourceErrorInfoTypeEngineVersionNotSupported = "ENGINE_VERSION_NOT_SUPPORTED"
33975
33976	// DataSourceErrorInfoTypeUnknownHost is a DataSourceErrorInfoType enum value
33977	DataSourceErrorInfoTypeUnknownHost = "UNKNOWN_HOST"
33978
33979	// DataSourceErrorInfoTypeGenericSqlFailure is a DataSourceErrorInfoType enum value
33980	DataSourceErrorInfoTypeGenericSqlFailure = "GENERIC_SQL_FAILURE"
33981
33982	// DataSourceErrorInfoTypeConflict is a DataSourceErrorInfoType enum value
33983	DataSourceErrorInfoTypeConflict = "CONFLICT"
33984
33985	// DataSourceErrorInfoTypeUnknown is a DataSourceErrorInfoType enum value
33986	DataSourceErrorInfoTypeUnknown = "UNKNOWN"
33987)
33988
33989// DataSourceErrorInfoType_Values returns all elements of the DataSourceErrorInfoType enum
33990func DataSourceErrorInfoType_Values() []string {
33991	return []string{
33992		DataSourceErrorInfoTypeAccessDenied,
33993		DataSourceErrorInfoTypeCopySourceNotFound,
33994		DataSourceErrorInfoTypeTimeout,
33995		DataSourceErrorInfoTypeEngineVersionNotSupported,
33996		DataSourceErrorInfoTypeUnknownHost,
33997		DataSourceErrorInfoTypeGenericSqlFailure,
33998		DataSourceErrorInfoTypeConflict,
33999		DataSourceErrorInfoTypeUnknown,
34000	}
34001}
34002
34003const (
34004	// DataSourceTypeAdobeAnalytics is a DataSourceType enum value
34005	DataSourceTypeAdobeAnalytics = "ADOBE_ANALYTICS"
34006
34007	// DataSourceTypeAmazonElasticsearch is a DataSourceType enum value
34008	DataSourceTypeAmazonElasticsearch = "AMAZON_ELASTICSEARCH"
34009
34010	// DataSourceTypeAthena is a DataSourceType enum value
34011	DataSourceTypeAthena = "ATHENA"
34012
34013	// DataSourceTypeAurora is a DataSourceType enum value
34014	DataSourceTypeAurora = "AURORA"
34015
34016	// DataSourceTypeAuroraPostgresql is a DataSourceType enum value
34017	DataSourceTypeAuroraPostgresql = "AURORA_POSTGRESQL"
34018
34019	// DataSourceTypeAwsIotAnalytics is a DataSourceType enum value
34020	DataSourceTypeAwsIotAnalytics = "AWS_IOT_ANALYTICS"
34021
34022	// DataSourceTypeGithub is a DataSourceType enum value
34023	DataSourceTypeGithub = "GITHUB"
34024
34025	// DataSourceTypeJira is a DataSourceType enum value
34026	DataSourceTypeJira = "JIRA"
34027
34028	// DataSourceTypeMariadb is a DataSourceType enum value
34029	DataSourceTypeMariadb = "MARIADB"
34030
34031	// DataSourceTypeMysql is a DataSourceType enum value
34032	DataSourceTypeMysql = "MYSQL"
34033
34034	// DataSourceTypeOracle is a DataSourceType enum value
34035	DataSourceTypeOracle = "ORACLE"
34036
34037	// DataSourceTypePostgresql is a DataSourceType enum value
34038	DataSourceTypePostgresql = "POSTGRESQL"
34039
34040	// DataSourceTypePresto is a DataSourceType enum value
34041	DataSourceTypePresto = "PRESTO"
34042
34043	// DataSourceTypeRedshift is a DataSourceType enum value
34044	DataSourceTypeRedshift = "REDSHIFT"
34045
34046	// DataSourceTypeS3 is a DataSourceType enum value
34047	DataSourceTypeS3 = "S3"
34048
34049	// DataSourceTypeSalesforce is a DataSourceType enum value
34050	DataSourceTypeSalesforce = "SALESFORCE"
34051
34052	// DataSourceTypeServicenow is a DataSourceType enum value
34053	DataSourceTypeServicenow = "SERVICENOW"
34054
34055	// DataSourceTypeSnowflake is a DataSourceType enum value
34056	DataSourceTypeSnowflake = "SNOWFLAKE"
34057
34058	// DataSourceTypeSpark is a DataSourceType enum value
34059	DataSourceTypeSpark = "SPARK"
34060
34061	// DataSourceTypeSqlserver is a DataSourceType enum value
34062	DataSourceTypeSqlserver = "SQLSERVER"
34063
34064	// DataSourceTypeTeradata is a DataSourceType enum value
34065	DataSourceTypeTeradata = "TERADATA"
34066
34067	// DataSourceTypeTwitter is a DataSourceType enum value
34068	DataSourceTypeTwitter = "TWITTER"
34069
34070	// DataSourceTypeTimestream is a DataSourceType enum value
34071	DataSourceTypeTimestream = "TIMESTREAM"
34072)
34073
34074// DataSourceType_Values returns all elements of the DataSourceType enum
34075func DataSourceType_Values() []string {
34076	return []string{
34077		DataSourceTypeAdobeAnalytics,
34078		DataSourceTypeAmazonElasticsearch,
34079		DataSourceTypeAthena,
34080		DataSourceTypeAurora,
34081		DataSourceTypeAuroraPostgresql,
34082		DataSourceTypeAwsIotAnalytics,
34083		DataSourceTypeGithub,
34084		DataSourceTypeJira,
34085		DataSourceTypeMariadb,
34086		DataSourceTypeMysql,
34087		DataSourceTypeOracle,
34088		DataSourceTypePostgresql,
34089		DataSourceTypePresto,
34090		DataSourceTypeRedshift,
34091		DataSourceTypeS3,
34092		DataSourceTypeSalesforce,
34093		DataSourceTypeServicenow,
34094		DataSourceTypeSnowflake,
34095		DataSourceTypeSpark,
34096		DataSourceTypeSqlserver,
34097		DataSourceTypeTeradata,
34098		DataSourceTypeTwitter,
34099		DataSourceTypeTimestream,
34100	}
34101}
34102
34103const (
34104	// EditionStandard is a Edition enum value
34105	EditionStandard = "STANDARD"
34106
34107	// EditionEnterprise is a Edition enum value
34108	EditionEnterprise = "ENTERPRISE"
34109)
34110
34111// Edition_Values returns all elements of the Edition enum
34112func Edition_Values() []string {
34113	return []string{
34114		EditionStandard,
34115		EditionEnterprise,
34116	}
34117}
34118
34119const (
34120	// EmbeddingIdentityTypeIam is a EmbeddingIdentityType enum value
34121	EmbeddingIdentityTypeIam = "IAM"
34122
34123	// EmbeddingIdentityTypeQuicksight is a EmbeddingIdentityType enum value
34124	EmbeddingIdentityTypeQuicksight = "QUICKSIGHT"
34125
34126	// EmbeddingIdentityTypeAnonymous is a EmbeddingIdentityType enum value
34127	EmbeddingIdentityTypeAnonymous = "ANONYMOUS"
34128)
34129
34130// EmbeddingIdentityType_Values returns all elements of the EmbeddingIdentityType enum
34131func EmbeddingIdentityType_Values() []string {
34132	return []string{
34133		EmbeddingIdentityTypeIam,
34134		EmbeddingIdentityTypeQuicksight,
34135		EmbeddingIdentityTypeAnonymous,
34136	}
34137}
34138
34139const (
34140	// ExceptionResourceTypeUser is a ExceptionResourceType enum value
34141	ExceptionResourceTypeUser = "USER"
34142
34143	// ExceptionResourceTypeGroup is a ExceptionResourceType enum value
34144	ExceptionResourceTypeGroup = "GROUP"
34145
34146	// ExceptionResourceTypeNamespace is a ExceptionResourceType enum value
34147	ExceptionResourceTypeNamespace = "NAMESPACE"
34148
34149	// ExceptionResourceTypeAccountSettings is a ExceptionResourceType enum value
34150	ExceptionResourceTypeAccountSettings = "ACCOUNT_SETTINGS"
34151
34152	// ExceptionResourceTypeIampolicyAssignment is a ExceptionResourceType enum value
34153	ExceptionResourceTypeIampolicyAssignment = "IAMPOLICY_ASSIGNMENT"
34154
34155	// ExceptionResourceTypeDataSource is a ExceptionResourceType enum value
34156	ExceptionResourceTypeDataSource = "DATA_SOURCE"
34157
34158	// ExceptionResourceTypeDataSet is a ExceptionResourceType enum value
34159	ExceptionResourceTypeDataSet = "DATA_SET"
34160
34161	// ExceptionResourceTypeVpcConnection is a ExceptionResourceType enum value
34162	ExceptionResourceTypeVpcConnection = "VPC_CONNECTION"
34163
34164	// ExceptionResourceTypeIngestion is a ExceptionResourceType enum value
34165	ExceptionResourceTypeIngestion = "INGESTION"
34166)
34167
34168// ExceptionResourceType_Values returns all elements of the ExceptionResourceType enum
34169func ExceptionResourceType_Values() []string {
34170	return []string{
34171		ExceptionResourceTypeUser,
34172		ExceptionResourceTypeGroup,
34173		ExceptionResourceTypeNamespace,
34174		ExceptionResourceTypeAccountSettings,
34175		ExceptionResourceTypeIampolicyAssignment,
34176		ExceptionResourceTypeDataSource,
34177		ExceptionResourceTypeDataSet,
34178		ExceptionResourceTypeVpcConnection,
34179		ExceptionResourceTypeIngestion,
34180	}
34181}
34182
34183const (
34184	// FileFormatCsv is a FileFormat enum value
34185	FileFormatCsv = "CSV"
34186
34187	// FileFormatTsv is a FileFormat enum value
34188	FileFormatTsv = "TSV"
34189
34190	// FileFormatClf is a FileFormat enum value
34191	FileFormatClf = "CLF"
34192
34193	// FileFormatElf is a FileFormat enum value
34194	FileFormatElf = "ELF"
34195
34196	// FileFormatXlsx is a FileFormat enum value
34197	FileFormatXlsx = "XLSX"
34198
34199	// FileFormatJson is a FileFormat enum value
34200	FileFormatJson = "JSON"
34201)
34202
34203// FileFormat_Values returns all elements of the FileFormat enum
34204func FileFormat_Values() []string {
34205	return []string{
34206		FileFormatCsv,
34207		FileFormatTsv,
34208		FileFormatClf,
34209		FileFormatElf,
34210		FileFormatXlsx,
34211		FileFormatJson,
34212	}
34213}
34214
34215const (
34216	// FilterOperatorStringEquals is a FilterOperator enum value
34217	FilterOperatorStringEquals = "StringEquals"
34218)
34219
34220// FilterOperator_Values returns all elements of the FilterOperator enum
34221func FilterOperator_Values() []string {
34222	return []string{
34223		FilterOperatorStringEquals,
34224	}
34225}
34226
34227const (
34228	// GeoSpatialCountryCodeUs is a GeoSpatialCountryCode enum value
34229	GeoSpatialCountryCodeUs = "US"
34230)
34231
34232// GeoSpatialCountryCode_Values returns all elements of the GeoSpatialCountryCode enum
34233func GeoSpatialCountryCode_Values() []string {
34234	return []string{
34235		GeoSpatialCountryCodeUs,
34236	}
34237}
34238
34239const (
34240	// GeoSpatialDataRoleCountry is a GeoSpatialDataRole enum value
34241	GeoSpatialDataRoleCountry = "COUNTRY"
34242
34243	// GeoSpatialDataRoleState is a GeoSpatialDataRole enum value
34244	GeoSpatialDataRoleState = "STATE"
34245
34246	// GeoSpatialDataRoleCounty is a GeoSpatialDataRole enum value
34247	GeoSpatialDataRoleCounty = "COUNTY"
34248
34249	// GeoSpatialDataRoleCity is a GeoSpatialDataRole enum value
34250	GeoSpatialDataRoleCity = "CITY"
34251
34252	// GeoSpatialDataRolePostcode is a GeoSpatialDataRole enum value
34253	GeoSpatialDataRolePostcode = "POSTCODE"
34254
34255	// GeoSpatialDataRoleLongitude is a GeoSpatialDataRole enum value
34256	GeoSpatialDataRoleLongitude = "LONGITUDE"
34257
34258	// GeoSpatialDataRoleLatitude is a GeoSpatialDataRole enum value
34259	GeoSpatialDataRoleLatitude = "LATITUDE"
34260)
34261
34262// GeoSpatialDataRole_Values returns all elements of the GeoSpatialDataRole enum
34263func GeoSpatialDataRole_Values() []string {
34264	return []string{
34265		GeoSpatialDataRoleCountry,
34266		GeoSpatialDataRoleState,
34267		GeoSpatialDataRoleCounty,
34268		GeoSpatialDataRoleCity,
34269		GeoSpatialDataRolePostcode,
34270		GeoSpatialDataRoleLongitude,
34271		GeoSpatialDataRoleLatitude,
34272	}
34273}
34274
34275const (
34276	// IdentityStoreQuicksight is a IdentityStore enum value
34277	IdentityStoreQuicksight = "QUICKSIGHT"
34278)
34279
34280// IdentityStore_Values returns all elements of the IdentityStore enum
34281func IdentityStore_Values() []string {
34282	return []string{
34283		IdentityStoreQuicksight,
34284	}
34285}
34286
34287const (
34288	// IdentityTypeIam is a IdentityType enum value
34289	IdentityTypeIam = "IAM"
34290
34291	// IdentityTypeQuicksight is a IdentityType enum value
34292	IdentityTypeQuicksight = "QUICKSIGHT"
34293)
34294
34295// IdentityType_Values returns all elements of the IdentityType enum
34296func IdentityType_Values() []string {
34297	return []string{
34298		IdentityTypeIam,
34299		IdentityTypeQuicksight,
34300	}
34301}
34302
34303const (
34304	// IngestionErrorTypeFailureToAssumeRole is a IngestionErrorType enum value
34305	IngestionErrorTypeFailureToAssumeRole = "FAILURE_TO_ASSUME_ROLE"
34306
34307	// IngestionErrorTypeIngestionSuperseded is a IngestionErrorType enum value
34308	IngestionErrorTypeIngestionSuperseded = "INGESTION_SUPERSEDED"
34309
34310	// IngestionErrorTypeIngestionCanceled is a IngestionErrorType enum value
34311	IngestionErrorTypeIngestionCanceled = "INGESTION_CANCELED"
34312
34313	// IngestionErrorTypeDataSetDeleted is a IngestionErrorType enum value
34314	IngestionErrorTypeDataSetDeleted = "DATA_SET_DELETED"
34315
34316	// IngestionErrorTypeDataSetNotSpice is a IngestionErrorType enum value
34317	IngestionErrorTypeDataSetNotSpice = "DATA_SET_NOT_SPICE"
34318
34319	// IngestionErrorTypeS3UploadedFileDeleted is a IngestionErrorType enum value
34320	IngestionErrorTypeS3UploadedFileDeleted = "S3_UPLOADED_FILE_DELETED"
34321
34322	// IngestionErrorTypeS3ManifestError is a IngestionErrorType enum value
34323	IngestionErrorTypeS3ManifestError = "S3_MANIFEST_ERROR"
34324
34325	// IngestionErrorTypeDataToleranceException is a IngestionErrorType enum value
34326	IngestionErrorTypeDataToleranceException = "DATA_TOLERANCE_EXCEPTION"
34327
34328	// IngestionErrorTypeSpiceTableNotFound is a IngestionErrorType enum value
34329	IngestionErrorTypeSpiceTableNotFound = "SPICE_TABLE_NOT_FOUND"
34330
34331	// IngestionErrorTypeDataSetSizeLimitExceeded is a IngestionErrorType enum value
34332	IngestionErrorTypeDataSetSizeLimitExceeded = "DATA_SET_SIZE_LIMIT_EXCEEDED"
34333
34334	// IngestionErrorTypeRowSizeLimitExceeded is a IngestionErrorType enum value
34335	IngestionErrorTypeRowSizeLimitExceeded = "ROW_SIZE_LIMIT_EXCEEDED"
34336
34337	// IngestionErrorTypeAccountCapacityLimitExceeded is a IngestionErrorType enum value
34338	IngestionErrorTypeAccountCapacityLimitExceeded = "ACCOUNT_CAPACITY_LIMIT_EXCEEDED"
34339
34340	// IngestionErrorTypeCustomerError is a IngestionErrorType enum value
34341	IngestionErrorTypeCustomerError = "CUSTOMER_ERROR"
34342
34343	// IngestionErrorTypeDataSourceNotFound is a IngestionErrorType enum value
34344	IngestionErrorTypeDataSourceNotFound = "DATA_SOURCE_NOT_FOUND"
34345
34346	// IngestionErrorTypeIamRoleNotAvailable is a IngestionErrorType enum value
34347	IngestionErrorTypeIamRoleNotAvailable = "IAM_ROLE_NOT_AVAILABLE"
34348
34349	// IngestionErrorTypeConnectionFailure is a IngestionErrorType enum value
34350	IngestionErrorTypeConnectionFailure = "CONNECTION_FAILURE"
34351
34352	// IngestionErrorTypeSqlTableNotFound is a IngestionErrorType enum value
34353	IngestionErrorTypeSqlTableNotFound = "SQL_TABLE_NOT_FOUND"
34354
34355	// IngestionErrorTypePermissionDenied is a IngestionErrorType enum value
34356	IngestionErrorTypePermissionDenied = "PERMISSION_DENIED"
34357
34358	// IngestionErrorTypeSslCertificateValidationFailure is a IngestionErrorType enum value
34359	IngestionErrorTypeSslCertificateValidationFailure = "SSL_CERTIFICATE_VALIDATION_FAILURE"
34360
34361	// IngestionErrorTypeOauthTokenFailure is a IngestionErrorType enum value
34362	IngestionErrorTypeOauthTokenFailure = "OAUTH_TOKEN_FAILURE"
34363
34364	// IngestionErrorTypeSourceApiLimitExceededFailure is a IngestionErrorType enum value
34365	IngestionErrorTypeSourceApiLimitExceededFailure = "SOURCE_API_LIMIT_EXCEEDED_FAILURE"
34366
34367	// IngestionErrorTypePasswordAuthenticationFailure is a IngestionErrorType enum value
34368	IngestionErrorTypePasswordAuthenticationFailure = "PASSWORD_AUTHENTICATION_FAILURE"
34369
34370	// IngestionErrorTypeSqlSchemaMismatchError is a IngestionErrorType enum value
34371	IngestionErrorTypeSqlSchemaMismatchError = "SQL_SCHEMA_MISMATCH_ERROR"
34372
34373	// IngestionErrorTypeInvalidDateFormat is a IngestionErrorType enum value
34374	IngestionErrorTypeInvalidDateFormat = "INVALID_DATE_FORMAT"
34375
34376	// IngestionErrorTypeInvalidDataprepSyntax is a IngestionErrorType enum value
34377	IngestionErrorTypeInvalidDataprepSyntax = "INVALID_DATAPREP_SYNTAX"
34378
34379	// IngestionErrorTypeSourceResourceLimitExceeded is a IngestionErrorType enum value
34380	IngestionErrorTypeSourceResourceLimitExceeded = "SOURCE_RESOURCE_LIMIT_EXCEEDED"
34381
34382	// IngestionErrorTypeSqlInvalidParameterValue is a IngestionErrorType enum value
34383	IngestionErrorTypeSqlInvalidParameterValue = "SQL_INVALID_PARAMETER_VALUE"
34384
34385	// IngestionErrorTypeQueryTimeout is a IngestionErrorType enum value
34386	IngestionErrorTypeQueryTimeout = "QUERY_TIMEOUT"
34387
34388	// IngestionErrorTypeSqlNumericOverflow is a IngestionErrorType enum value
34389	IngestionErrorTypeSqlNumericOverflow = "SQL_NUMERIC_OVERFLOW"
34390
34391	// IngestionErrorTypeUnresolvableHost is a IngestionErrorType enum value
34392	IngestionErrorTypeUnresolvableHost = "UNRESOLVABLE_HOST"
34393
34394	// IngestionErrorTypeUnroutableHost is a IngestionErrorType enum value
34395	IngestionErrorTypeUnroutableHost = "UNROUTABLE_HOST"
34396
34397	// IngestionErrorTypeSqlException is a IngestionErrorType enum value
34398	IngestionErrorTypeSqlException = "SQL_EXCEPTION"
34399
34400	// IngestionErrorTypeS3FileInaccessible is a IngestionErrorType enum value
34401	IngestionErrorTypeS3FileInaccessible = "S3_FILE_INACCESSIBLE"
34402
34403	// IngestionErrorTypeIotFileNotFound is a IngestionErrorType enum value
34404	IngestionErrorTypeIotFileNotFound = "IOT_FILE_NOT_FOUND"
34405
34406	// IngestionErrorTypeIotDataSetFileEmpty is a IngestionErrorType enum value
34407	IngestionErrorTypeIotDataSetFileEmpty = "IOT_DATA_SET_FILE_EMPTY"
34408
34409	// IngestionErrorTypeInvalidDataSourceConfig is a IngestionErrorType enum value
34410	IngestionErrorTypeInvalidDataSourceConfig = "INVALID_DATA_SOURCE_CONFIG"
34411
34412	// IngestionErrorTypeDataSourceAuthFailed is a IngestionErrorType enum value
34413	IngestionErrorTypeDataSourceAuthFailed = "DATA_SOURCE_AUTH_FAILED"
34414
34415	// IngestionErrorTypeDataSourceConnectionFailed is a IngestionErrorType enum value
34416	IngestionErrorTypeDataSourceConnectionFailed = "DATA_SOURCE_CONNECTION_FAILED"
34417
34418	// IngestionErrorTypeFailureToProcessJsonFile is a IngestionErrorType enum value
34419	IngestionErrorTypeFailureToProcessJsonFile = "FAILURE_TO_PROCESS_JSON_FILE"
34420
34421	// IngestionErrorTypeInternalServiceError is a IngestionErrorType enum value
34422	IngestionErrorTypeInternalServiceError = "INTERNAL_SERVICE_ERROR"
34423)
34424
34425// IngestionErrorType_Values returns all elements of the IngestionErrorType enum
34426func IngestionErrorType_Values() []string {
34427	return []string{
34428		IngestionErrorTypeFailureToAssumeRole,
34429		IngestionErrorTypeIngestionSuperseded,
34430		IngestionErrorTypeIngestionCanceled,
34431		IngestionErrorTypeDataSetDeleted,
34432		IngestionErrorTypeDataSetNotSpice,
34433		IngestionErrorTypeS3UploadedFileDeleted,
34434		IngestionErrorTypeS3ManifestError,
34435		IngestionErrorTypeDataToleranceException,
34436		IngestionErrorTypeSpiceTableNotFound,
34437		IngestionErrorTypeDataSetSizeLimitExceeded,
34438		IngestionErrorTypeRowSizeLimitExceeded,
34439		IngestionErrorTypeAccountCapacityLimitExceeded,
34440		IngestionErrorTypeCustomerError,
34441		IngestionErrorTypeDataSourceNotFound,
34442		IngestionErrorTypeIamRoleNotAvailable,
34443		IngestionErrorTypeConnectionFailure,
34444		IngestionErrorTypeSqlTableNotFound,
34445		IngestionErrorTypePermissionDenied,
34446		IngestionErrorTypeSslCertificateValidationFailure,
34447		IngestionErrorTypeOauthTokenFailure,
34448		IngestionErrorTypeSourceApiLimitExceededFailure,
34449		IngestionErrorTypePasswordAuthenticationFailure,
34450		IngestionErrorTypeSqlSchemaMismatchError,
34451		IngestionErrorTypeInvalidDateFormat,
34452		IngestionErrorTypeInvalidDataprepSyntax,
34453		IngestionErrorTypeSourceResourceLimitExceeded,
34454		IngestionErrorTypeSqlInvalidParameterValue,
34455		IngestionErrorTypeQueryTimeout,
34456		IngestionErrorTypeSqlNumericOverflow,
34457		IngestionErrorTypeUnresolvableHost,
34458		IngestionErrorTypeUnroutableHost,
34459		IngestionErrorTypeSqlException,
34460		IngestionErrorTypeS3FileInaccessible,
34461		IngestionErrorTypeIotFileNotFound,
34462		IngestionErrorTypeIotDataSetFileEmpty,
34463		IngestionErrorTypeInvalidDataSourceConfig,
34464		IngestionErrorTypeDataSourceAuthFailed,
34465		IngestionErrorTypeDataSourceConnectionFailed,
34466		IngestionErrorTypeFailureToProcessJsonFile,
34467		IngestionErrorTypeInternalServiceError,
34468	}
34469}
34470
34471const (
34472	// IngestionRequestSourceManual is a IngestionRequestSource enum value
34473	IngestionRequestSourceManual = "MANUAL"
34474
34475	// IngestionRequestSourceScheduled is a IngestionRequestSource enum value
34476	IngestionRequestSourceScheduled = "SCHEDULED"
34477)
34478
34479// IngestionRequestSource_Values returns all elements of the IngestionRequestSource enum
34480func IngestionRequestSource_Values() []string {
34481	return []string{
34482		IngestionRequestSourceManual,
34483		IngestionRequestSourceScheduled,
34484	}
34485}
34486
34487const (
34488	// IngestionRequestTypeInitialIngestion is a IngestionRequestType enum value
34489	IngestionRequestTypeInitialIngestion = "INITIAL_INGESTION"
34490
34491	// IngestionRequestTypeEdit is a IngestionRequestType enum value
34492	IngestionRequestTypeEdit = "EDIT"
34493
34494	// IngestionRequestTypeIncrementalRefresh is a IngestionRequestType enum value
34495	IngestionRequestTypeIncrementalRefresh = "INCREMENTAL_REFRESH"
34496
34497	// IngestionRequestTypeFullRefresh is a IngestionRequestType enum value
34498	IngestionRequestTypeFullRefresh = "FULL_REFRESH"
34499)
34500
34501// IngestionRequestType_Values returns all elements of the IngestionRequestType enum
34502func IngestionRequestType_Values() []string {
34503	return []string{
34504		IngestionRequestTypeInitialIngestion,
34505		IngestionRequestTypeEdit,
34506		IngestionRequestTypeIncrementalRefresh,
34507		IngestionRequestTypeFullRefresh,
34508	}
34509}
34510
34511const (
34512	// IngestionStatusInitialized is a IngestionStatus enum value
34513	IngestionStatusInitialized = "INITIALIZED"
34514
34515	// IngestionStatusQueued is a IngestionStatus enum value
34516	IngestionStatusQueued = "QUEUED"
34517
34518	// IngestionStatusRunning is a IngestionStatus enum value
34519	IngestionStatusRunning = "RUNNING"
34520
34521	// IngestionStatusFailed is a IngestionStatus enum value
34522	IngestionStatusFailed = "FAILED"
34523
34524	// IngestionStatusCompleted is a IngestionStatus enum value
34525	IngestionStatusCompleted = "COMPLETED"
34526
34527	// IngestionStatusCancelled is a IngestionStatus enum value
34528	IngestionStatusCancelled = "CANCELLED"
34529)
34530
34531// IngestionStatus_Values returns all elements of the IngestionStatus enum
34532func IngestionStatus_Values() []string {
34533	return []string{
34534		IngestionStatusInitialized,
34535		IngestionStatusQueued,
34536		IngestionStatusRunning,
34537		IngestionStatusFailed,
34538		IngestionStatusCompleted,
34539		IngestionStatusCancelled,
34540	}
34541}
34542
34543const (
34544	// InputColumnDataTypeString is a InputColumnDataType enum value
34545	InputColumnDataTypeString = "STRING"
34546
34547	// InputColumnDataTypeInteger is a InputColumnDataType enum value
34548	InputColumnDataTypeInteger = "INTEGER"
34549
34550	// InputColumnDataTypeDecimal is a InputColumnDataType enum value
34551	InputColumnDataTypeDecimal = "DECIMAL"
34552
34553	// InputColumnDataTypeDatetime is a InputColumnDataType enum value
34554	InputColumnDataTypeDatetime = "DATETIME"
34555
34556	// InputColumnDataTypeBit is a InputColumnDataType enum value
34557	InputColumnDataTypeBit = "BIT"
34558
34559	// InputColumnDataTypeBoolean is a InputColumnDataType enum value
34560	InputColumnDataTypeBoolean = "BOOLEAN"
34561
34562	// InputColumnDataTypeJson is a InputColumnDataType enum value
34563	InputColumnDataTypeJson = "JSON"
34564)
34565
34566// InputColumnDataType_Values returns all elements of the InputColumnDataType enum
34567func InputColumnDataType_Values() []string {
34568	return []string{
34569		InputColumnDataTypeString,
34570		InputColumnDataTypeInteger,
34571		InputColumnDataTypeDecimal,
34572		InputColumnDataTypeDatetime,
34573		InputColumnDataTypeBit,
34574		InputColumnDataTypeBoolean,
34575		InputColumnDataTypeJson,
34576	}
34577}
34578
34579const (
34580	// JoinTypeInner is a JoinType enum value
34581	JoinTypeInner = "INNER"
34582
34583	// JoinTypeOuter is a JoinType enum value
34584	JoinTypeOuter = "OUTER"
34585
34586	// JoinTypeLeft is a JoinType enum value
34587	JoinTypeLeft = "LEFT"
34588
34589	// JoinTypeRight is a JoinType enum value
34590	JoinTypeRight = "RIGHT"
34591)
34592
34593// JoinType_Values returns all elements of the JoinType enum
34594func JoinType_Values() []string {
34595	return []string{
34596		JoinTypeInner,
34597		JoinTypeOuter,
34598		JoinTypeLeft,
34599		JoinTypeRight,
34600	}
34601}
34602
34603const (
34604	// NamespaceErrorTypePermissionDenied is a NamespaceErrorType enum value
34605	NamespaceErrorTypePermissionDenied = "PERMISSION_DENIED"
34606
34607	// NamespaceErrorTypeInternalServiceError is a NamespaceErrorType enum value
34608	NamespaceErrorTypeInternalServiceError = "INTERNAL_SERVICE_ERROR"
34609)
34610
34611// NamespaceErrorType_Values returns all elements of the NamespaceErrorType enum
34612func NamespaceErrorType_Values() []string {
34613	return []string{
34614		NamespaceErrorTypePermissionDenied,
34615		NamespaceErrorTypeInternalServiceError,
34616	}
34617}
34618
34619const (
34620	// NamespaceStatusCreated is a NamespaceStatus enum value
34621	NamespaceStatusCreated = "CREATED"
34622
34623	// NamespaceStatusCreating is a NamespaceStatus enum value
34624	NamespaceStatusCreating = "CREATING"
34625
34626	// NamespaceStatusDeleting is a NamespaceStatus enum value
34627	NamespaceStatusDeleting = "DELETING"
34628
34629	// NamespaceStatusRetryableFailure is a NamespaceStatus enum value
34630	NamespaceStatusRetryableFailure = "RETRYABLE_FAILURE"
34631
34632	// NamespaceStatusNonRetryableFailure is a NamespaceStatus enum value
34633	NamespaceStatusNonRetryableFailure = "NON_RETRYABLE_FAILURE"
34634)
34635
34636// NamespaceStatus_Values returns all elements of the NamespaceStatus enum
34637func NamespaceStatus_Values() []string {
34638	return []string{
34639		NamespaceStatusCreated,
34640		NamespaceStatusCreating,
34641		NamespaceStatusDeleting,
34642		NamespaceStatusRetryableFailure,
34643		NamespaceStatusNonRetryableFailure,
34644	}
34645}
34646
34647const (
34648	// ResourceStatusCreationInProgress is a ResourceStatus enum value
34649	ResourceStatusCreationInProgress = "CREATION_IN_PROGRESS"
34650
34651	// ResourceStatusCreationSuccessful is a ResourceStatus enum value
34652	ResourceStatusCreationSuccessful = "CREATION_SUCCESSFUL"
34653
34654	// ResourceStatusCreationFailed is a ResourceStatus enum value
34655	ResourceStatusCreationFailed = "CREATION_FAILED"
34656
34657	// ResourceStatusUpdateInProgress is a ResourceStatus enum value
34658	ResourceStatusUpdateInProgress = "UPDATE_IN_PROGRESS"
34659
34660	// ResourceStatusUpdateSuccessful is a ResourceStatus enum value
34661	ResourceStatusUpdateSuccessful = "UPDATE_SUCCESSFUL"
34662
34663	// ResourceStatusUpdateFailed is a ResourceStatus enum value
34664	ResourceStatusUpdateFailed = "UPDATE_FAILED"
34665
34666	// ResourceStatusDeleted is a ResourceStatus enum value
34667	ResourceStatusDeleted = "DELETED"
34668)
34669
34670// ResourceStatus_Values returns all elements of the ResourceStatus enum
34671func ResourceStatus_Values() []string {
34672	return []string{
34673		ResourceStatusCreationInProgress,
34674		ResourceStatusCreationSuccessful,
34675		ResourceStatusCreationFailed,
34676		ResourceStatusUpdateInProgress,
34677		ResourceStatusUpdateSuccessful,
34678		ResourceStatusUpdateFailed,
34679		ResourceStatusDeleted,
34680	}
34681}
34682
34683const (
34684	// RowLevelPermissionPolicyGrantAccess is a RowLevelPermissionPolicy enum value
34685	RowLevelPermissionPolicyGrantAccess = "GRANT_ACCESS"
34686
34687	// RowLevelPermissionPolicyDenyAccess is a RowLevelPermissionPolicy enum value
34688	RowLevelPermissionPolicyDenyAccess = "DENY_ACCESS"
34689)
34690
34691// RowLevelPermissionPolicy_Values returns all elements of the RowLevelPermissionPolicy enum
34692func RowLevelPermissionPolicy_Values() []string {
34693	return []string{
34694		RowLevelPermissionPolicyGrantAccess,
34695		RowLevelPermissionPolicyDenyAccess,
34696	}
34697}
34698
34699const (
34700	// TemplateErrorTypeSourceNotFound is a TemplateErrorType enum value
34701	TemplateErrorTypeSourceNotFound = "SOURCE_NOT_FOUND"
34702
34703	// TemplateErrorTypeDataSetNotFound is a TemplateErrorType enum value
34704	TemplateErrorTypeDataSetNotFound = "DATA_SET_NOT_FOUND"
34705
34706	// TemplateErrorTypeInternalFailure is a TemplateErrorType enum value
34707	TemplateErrorTypeInternalFailure = "INTERNAL_FAILURE"
34708
34709	// TemplateErrorTypeAccessDenied is a TemplateErrorType enum value
34710	TemplateErrorTypeAccessDenied = "ACCESS_DENIED"
34711)
34712
34713// TemplateErrorType_Values returns all elements of the TemplateErrorType enum
34714func TemplateErrorType_Values() []string {
34715	return []string{
34716		TemplateErrorTypeSourceNotFound,
34717		TemplateErrorTypeDataSetNotFound,
34718		TemplateErrorTypeInternalFailure,
34719		TemplateErrorTypeAccessDenied,
34720	}
34721}
34722
34723const (
34724	// TextQualifierDoubleQuote is a TextQualifier enum value
34725	TextQualifierDoubleQuote = "DOUBLE_QUOTE"
34726
34727	// TextQualifierSingleQuote is a TextQualifier enum value
34728	TextQualifierSingleQuote = "SINGLE_QUOTE"
34729)
34730
34731// TextQualifier_Values returns all elements of the TextQualifier enum
34732func TextQualifier_Values() []string {
34733	return []string{
34734		TextQualifierDoubleQuote,
34735		TextQualifierSingleQuote,
34736	}
34737}
34738
34739const (
34740	// ThemeErrorTypeInternalFailure is a ThemeErrorType enum value
34741	ThemeErrorTypeInternalFailure = "INTERNAL_FAILURE"
34742)
34743
34744// ThemeErrorType_Values returns all elements of the ThemeErrorType enum
34745func ThemeErrorType_Values() []string {
34746	return []string{
34747		ThemeErrorTypeInternalFailure,
34748	}
34749}
34750
34751const (
34752	// ThemeTypeQuicksight is a ThemeType enum value
34753	ThemeTypeQuicksight = "QUICKSIGHT"
34754
34755	// ThemeTypeCustom is a ThemeType enum value
34756	ThemeTypeCustom = "CUSTOM"
34757
34758	// ThemeTypeAll is a ThemeType enum value
34759	ThemeTypeAll = "ALL"
34760)
34761
34762// ThemeType_Values returns all elements of the ThemeType enum
34763func ThemeType_Values() []string {
34764	return []string{
34765		ThemeTypeQuicksight,
34766		ThemeTypeCustom,
34767		ThemeTypeAll,
34768	}
34769}
34770
34771const (
34772	// UserRoleAdmin is a UserRole enum value
34773	UserRoleAdmin = "ADMIN"
34774
34775	// UserRoleAuthor is a UserRole enum value
34776	UserRoleAuthor = "AUTHOR"
34777
34778	// UserRoleReader is a UserRole enum value
34779	UserRoleReader = "READER"
34780
34781	// UserRoleRestrictedAuthor is a UserRole enum value
34782	UserRoleRestrictedAuthor = "RESTRICTED_AUTHOR"
34783
34784	// UserRoleRestrictedReader is a UserRole enum value
34785	UserRoleRestrictedReader = "RESTRICTED_READER"
34786)
34787
34788// UserRole_Values returns all elements of the UserRole enum
34789func UserRole_Values() []string {
34790	return []string{
34791		UserRoleAdmin,
34792		UserRoleAuthor,
34793		UserRoleReader,
34794		UserRoleRestrictedAuthor,
34795		UserRoleRestrictedReader,
34796	}
34797}
34798